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.

trapezoidal-waveform-2Figure 1

The signal is linear between 0 and t1. Its expression as a function of time can be easily derived by first writing down the slope of the signal. Its slope is (V2-V1)/t1. Also, at origin, the signal value is V1. Therefore, by using simple algebra, the signal function is at follows:

trapezoidal-function (1)

For simplicity, let’s denote the slope with k = (V2-V1)/t1.

A periodic signal RMS definition is

rms-definition (2)

and here is how to calculate the integral.

trapezoidal-rms-calculation-1 (3)

Now let’s replace k with dV/t1, where dV is the difference V2-V1.

trapezoidal-rms-calculation-2 (4)

Therefore the RMS value of the trapezoidal signal in Figure 1 is

trapezoidal-waveform-rms-value (5)

14 thoughts on “The RMS Value of a Trapezoidal Waveform – Part 2”

  1. The slope on the waveform above V1 is positive; consequently u(t) looks stated incorrectly as:
    u(t) = (V1-V2)/t1 *t +V1

    should be u(t) = (V2-V1)/t1 *t + V1

    The article howerever does indicate slope k positive as (V2-V1)/t1

    Just wanted to note a minor inconsistency

    Reply
  2. How would you calculate the RMS value of an AC – Coupled Square wave under a load.
    (basically a differentiator)

    I thought it was:

    VRMS = Vp * ?RC/(1+(?^2*R^2*C^2))

    where:
    ? = 2?f (angular frequency)
    C = ac coupled CAP value in Farads
    R = Load in ohms

    but the numbers don’t match my results under different “R” loads

    Reply
    • You have a few question marks that most likely stand for characters that HTML did not understand. Write another post and replace characters like omega or pi with the word “omega” or “pi”, so that I could understand your equations.

      Here is a quick method to calculate the RMS when a pulse goes through a capacitor C with a load R. The signal will spike up and then decay exponentially to zero with a time constant of tau = RC. Then repeats for the next pulse. Such a decaying function is

      u(t) = Vp*exp(-t/tau), where tau is RC

      Calculate this signal RMS by calculating the integral of u(t)^2. The result is

      Vp*(-(1/2T)*tau*exp(-2*t/tau))^2, where Vp is the signal peak and T is the period.

      Reply
  3. Can we think of that trapezoidal wave from as off set trapezoidal waveform? If i find rms values of dc and trapezium (triangle + square of amplitude -v1 from time t2 to T) , there by calaculating resultant rms. Will I get the same result?? Tried Tried , almost tired to get the answer. plz help me out

    Reply
  4. Adrian,

    Minor edit – the “squared” symbol is missing in the second equation between equations 2 and 3.

    Nice website!
    Phil

    Reply
  5. Hi Adrian,

    Thanks for the awesome material, I have a question, I tried to split the shape into a small triangle on the top with a square wave on the bottom, so my equation is like this

    (V2-V1)*sqrt(t1/3T) + V1*sqrt(t1/T)

    but I can’t seem to get the same results as in equation(5), can you tell me what I did wrong?

    Thanks

    Reply

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Show Buttons
Hide Buttons
'