This calculator determines the RMS value of a trapezoidal waveform. Figure 1 shows the waveform and its parameters. All you need to do is to input the time values t1, t2, t3, the signal period T and the signal amplitude Vp. Each time has to have the same units. If you set t1 in microseconds, as an example, all the other time values, t2, t3 and T have to have the same units, microseconds. Vp is a voltage level, in Volts, but the calculator can also be used for currents.

# waveform

## How to Derive the RMS Value of a Sine Wave with a DC Offset

I noticed a question posted on one of Yahoo’s Q&A sites, asking what is the RMS value of a sine wave with a DC offset. The chosen answer as being “the best” was actually wrong. The next comment, which was trying to correct “the best” answer, was wrong too. I am not going to post the Yahoo link here. What I can do, is to show how to derive the RMS value of such waveform.

### Let’s derive first the RMS value of a sine wave with no DC offset

Let’s start with the RMS value of a sine wave, with no DC offset, which is shown in Figure 1. It is well known that the RMS value of a sine wave is 0.707 times the signal peak level, but how can you prove this?

As shown in this article, MasteringElectronicsDesign.com: How to Derive the RMS Value of a Trapezoidal Waveform, or other RMS articles in this website , let’s start with the RMS definition.

## The RMS Value of a Trapezoidal Waveform – Part 2

In a previous article, MasteringElectronicsDesign.com:How to Derive the RMS Value of A Trapezoidal Waveform – Part 1, I showed how to derive the RMS value of a trapezoidal signal with a flat plateau and different rise/fall time values. In some applications, the trapezoidal signal plateau is not flat, but rather a ramp, as shown in Figure 1. A typical example is a DC-DC converter, where the transformer winding current might look like the signal in Figure 1. Of course, in the DC-DC converter example, the amplitude is current and not voltage. No matter, the calculations are the same.

This waveform is still considered a trapezoidal waveform. Let’s calculate its RMS value.

## Using the Summing Amplifier as an Average Amplifier

Sometimes people ask how can one use a summing amplifier as an average amplifier. The answer is simple, provided that one knows what kind of average one needs.

The summing amplifier can output the average of two, three or more signals. This is different than a signal average. The summing amplifier cannot, for example, output the average of a triangle signal. For that, you need an integrator to perform the average in the analog realm, or you need to sample the signal and calculate the average with a microcontroller. This type of average is the signal average in the time domain. I will write an article about the average of a signal in a near future.

In this post I will show you how to average two or more signals with a summing amplifier. In How to Derive the Summing Amplifier Transfer Function I wrote that the summing amplifier shown in Figure 1

## How to Derive the RMS Value of Pulse and Square Waveforms

The RMS value of a pulse waveform can be easily calculated starting with the RMS definition. The pulse waveform is shown in Figure 1. The ratio t1/T is the pulse signal duty-cycle. As shown in other articles in this website (MasteringElectronicsDesign.com:How to Derive the RMS Value of a Trapezoidal Waveform and MasteringElectronicsDesign.com:How to Derive the RMS Value of a Triangle Waveform), the RMS definition is an integral over the signal period as in equation (1).

## How to Derive the RMS Value of a Triangle Waveform

What is the RMS value of a periodic signal? When a periodic signal is generated by a source connected to a load, a resistor for example, the RMS value is the continuous signal, the DC value which would deliver the same power to the load as the periodic signal.

This article shows how to derive the RMS value of triangle waveforms with different shapes and duty cycles.

The triangle waveform in Figure 1 has a slower rise time than the fall time. In this case, the fall time is small so that it can be considered zero. If it is not zero, read further on deriving the RMS value of a triangle with comparable rise and fall times.

## How to Derive the RMS Value of a Trapezoidal Waveform – Part 1

In this article I will show you how to calculate the RMS value of a trapezoidal waveform. This periodic waveform is shown in Figure 1. It has a rise time from 0 to t1 and a fall time from t2 to t3. The plateau is between t1 and t2, and the signal is periodic with the period T. If you know this, then you can derive the RMS value of a triangle, square and pulse waveform as well. Go to How to Derive the RMS Value of a Triangle Waveform and How to Derive the RMS Value of Pulse and Square Waveforms for further reading.