Power Electronics Waveforms: RMS, Average, Peak & PWM
Learn how to interpret power electronics waveforms and distinguish instantaneous, average, RMS, peak, and peak-to-peak values. The article explains PWM, power, ripple, and measurement techniques through calculations, graphs, circuits, and practical examples.
In power electronics, a single waveform can be described by several different numbers, and all of them may be correct at the same time.
A PWM signal, for example, may have an average value of 3 V, an RMS value of 6 V, a peak value of 12 V, and a peak-to-peak value of 12 V. Therefore, the right question is not simply “what is the voltage?”, but rather:
which waveform quantity answers the engineering problem I am trying to solve?
This distinction is fundamental when sizing resistors, MOSFETs, diodes, inductors, capacitors, PCB traces, cables, and measurement instruments. Using the average value when heating depends on RMS, or ignoring a voltage peak because the average is low, can turn an apparently correct design into a thermal or electrical failure.
In this lesson, we will build a systematic method for interpreting periodic signals, relating each metric to its physical meaning and practical use in power electronics.
1. A waveform can have several “voltages” at the same time
Consider a PWM waveform that switches between 0 V and 12 V, remains ON for 25% of the period, and OFF for the remaining 75%.
For this same signal, we can obtain:
- average value: 3 V;
- RMS value: 6 V;
- peak value: 12 V;
- peak-to-peak value: 12 V.
None of these values invalidates the others. Each one answers a different question:
Quantity | Engineering question |
|---|---|
Instantaneous value | What is the signal value at this exact instant? |
Average value | What is the DC component or algebraic balance of the signal? |
RMS value | What DC value would produce the same resistive heating? |
Peak value | What is the maximum instantaneous electrical stress? |
Peak-to-peak value | What is the total excursion between the minimum and maximum values? |
A good waveform-reading procedure follows a logical sequence:
flowchart TD; A["Define signal and reference"] --> B["Choose observation window"]; B --> C["Identify period and frequency"]; C --> D["Measure maximum, minimum, and peak-to-peak"]; D --> E["Calculate average and RMS"]; E --> F["Relate the metric to its physical effect"]; F --> G["Validate against power and component limits"];2. First read the time axis: period, frequency, and duty cycle
A periodic waveform repeats after a time interval T, called the period.
Frequency indicates how many repetitions occur per second:
If a PWM signal operates at 1 kHz:
then its period is:
The duty cycle represents the fraction of the period during which the signal remains in its active state:
For a duty cycle of 25%:
and, for a 1 ms period:
The timing behavior can be visualized directly:
Frequency tells us how often the pattern repeats; duty cycle tells us how long the switch remains active within each repetition.
3. Instantaneous value: a snapshot of the signal
The instantaneous value is simply the voltage or current value at a specific instant.
For a voltage:
is the voltage at instant t0.
On an oscilloscope, each point on the trace represents a sample of the signal at that instant. This information is essential for observing:
- rise time;
- fall time;
- overshoot;
- undershoot;
- ringing;
- delays between voltage and current;
- switching sequence.
However, a single instantaneous value does not describe the energy behavior of the signal over an entire cycle.
4. Maximum, minimum, peak, and peak-to-peak values
Within an observation window, we can define:
The absolute peak is the largest magnitude reached:
The peak-to-peak value is the distance between maximum and minimum:
For a 0-to-12 V PWM waveform:
For a symmetrical sine wave between +12 V and -12 V:
This distinction is important: peak and peak-to-peak are not synonyms.
5. Average value: the DC component of the signal
The average value represents the algebraic balance of the waveform over the observation window.
It can be understood as the height of a rectangle having the same algebraic area as the waveform over one period.
For a periodic signal:
For a sine wave perfectly symmetrical about zero, the positive area cancels the negative area. Therefore:
This does not mean that there is no voltage, current, or heating. It only means that the algebraic balance over the period is zero.
Average value answers the question “what is the DC component?”, not “how much does it heat?”.
6. RMS: the value that connects the waveform to heating
RMS means root mean square.
Its physical meaning becomes especially clear when we analyze a resistor.
The instantaneous power dissipated by a resistance is:
The average power is:
Because R is constant:
We then define an equivalent DC current that produces exactly the same heating:
This leads to:
For voltage:
For a purely resistive load:
The key point is that squaring removes polarity. A current of -2 A produces the same resistive heating as +2 A.
7. A circuit that physically demonstrates the meaning of RMS
Consider two identical 12 Ω resistors.
In the first circuit, we apply a 0-to-12 V PWM waveform with a 25% duty cycle. In the second, we continuously apply 6 V DC.
In the PWM circuit, when the switch is ON:
and the instantaneous power in the resistor is:
Because this occurs during only 25% of the period:
In the DC circuit:
Therefore, the PWM waveform produces the same heating as a 6 V DC signal. This is exactly why we say:
8. Deriving the average and RMS values of a PWM waveform
Consider a unipolar PWM waveform defined by:
The waveform repeats every period T.
Average value
RMS value
For 0 < D < 1:
and therefore:
The graph makes this difference very clear:
9. Complete example: 24 V PWM across an 8 Ω load
Now consider an 8 Ω resistive load supplied by an ideal PWM waveform between 0 and 24 V, with:
Period
ON time
Average voltage
RMS voltage
Peak and peak-to-peak voltage
Peak current
Average current
RMS current
Average power
The same answer is obtained using RMS voltage:
or directly from the switching states:
Three different methods lead to the same result. This agreement is an excellent validation tool.
10. Why can multiplying average voltage by average current give the wrong answer?
In the previous example:
If we multiply the averages:
But we have just shown that the actual average power is 25.92 W.
The error occurs because power must be formed before averaging:
In general:
In a resistive PWM load, voltage and current rise and fall together. Multiplying their separate averages loses this time correlation.
flowchart LR; A["Measure v(t)"] --> C["Multiply point by point"]; B["Measure i(t)"] --> C; C --> D["p(t) = v(t)i(t)"]; D --> E["Calculate the average of p(t)"]; E --> F["Average power P"];11. Energy per cycle: another way to verify the result
For the 24 V, 8 Ω, 36% duty-cycle, 20 kHz example, the power during the ON interval is:
The ON time is 18 μs. Therefore, the energy dissipated during one cycle is:
Because the period is 50 μs:
Again, the result matches the RMS-based calculation.
12. Common waveforms and their characteristic values
For a sine wave:
with:
over one complete period:
Waveform | Average value | RMS value | Peak-to-peak |
|---|---|---|---|
Constant DC X0 | X0 | |X0| | 0 |
Unipolar PWM 0/Xpk | DXpk | Xpk√D | Xpk |
Bipolar square wave ±Xpk | 0 | Xpk | 2Xpk |
Sine wave Xpksin(ωt) | 0 | Xpk/√2 | 2Xpk |
Full-wave rectified sine wave | 2Xpk/π | Xpk/√2 | Xpk |
13. DC component and ripple
In switched-mode power supplies, the output is rarely a perfectly flat line. It usually contains a desired DC component and a smaller varying component called ripple.
We can write:
By definition, the ripple has zero average over the analyzed period:
The relationship between total RMS, average component, and ripple RMS is:
Therefore:
This equation is especially important for capacitors, because RMS ripple current contributes directly to their internal losses.
Peak-to-peak ripple and RMS ripple are different quantities. A fixed conversion factor exists only when the ripple waveform shape is known.
14. Crest factor: why narrow pulses are difficult to measure
Crest factor compares the largest peak with the RMS value:
For a unipolar PWM waveform:
As duty cycle decreases, the waveform can have a high peak but a relatively low RMS value. For example, at 1%:
The graph shows how crest factor increases rapidly for narrow pulses:
This is one reason why a true RMS multimeter can still produce errors with highly pulsed signals: in addition to voltage range, its crest-factor limit and bandwidth must also be respected.
15. The measurement window is part of the answer
Average and RMS values always belong to a time window.
For periodic signals in steady state, the ideal approach is to calculate over:
- one complete period; or
- an integer number of periods.
If the window starts in the middle of a pulse and ends before an integer number of cycles is completed, the calculated average may change.
The correct measurement workflow can be summarized as follows:
flowchart TD; A["Define a safe GND reference"] --> B["Configure scale and probe attenuation"]; B --> C["Stabilize the trigger"]; C --> D["Capture complete cycles"]; D --> E["Measure Vmax, Vmin, and Vpp"]; E --> F["Measure average and RMS"]; F --> G["Compare with the theoretical calculation"];16. Bandwidth: looking only at the PWM frequency is not enough
A 1 kHz PWM signal may appear to be “slow,” but its edges may occur within tens of nanoseconds.
A commonly used first-order estimate is:
If the rise time is 20 ns:
This shows why choosing an oscilloscope based only on the PWM repetition frequency is inadequate. The spectral content of the edges may extend many orders of magnitude above the fundamental frequency.
17. Parasitics can change exactly the values that matter most: the peaks
In power electronics, wires, PCB traces, and component terminals have parasitic inductance.
When current changes rapidly:
Parasitic capacitances also conduct current when voltage changes rapidly:
These effects can produce:
- overshoot;
- undershoot;
- ringing;
- ground bounce;
- EMI.
This problem is particularly important because average and RMS values may change only slightly while the peak can exceed the component's absolute maximum rating.
The power loop and the measurement loop must be treated separately:
flowchart LR; A["Source"] --> B["Switch"]; B --> C["Load"]; C --> D["Power return"]; D --> A; C --> E["Oscilloscope probe"]; E --> F["Ground clip"]; F --> D;18. Safe experiment: 0–5 V, 1 kHz, and a 1 kΩ resistor
A simple experiment allows us to observe all of these quantities without working at high power.
Materials
- bench function generator;
- 1 kΩ / 0.25 W resistor;
- oscilloscope;
- 10× passive probe;
- digital multimeter;
- breadboard and short wires.
Configuration
- waveform: 0–5 V pulse;
- frequency: 1 kHz;
- initial duty cycle: 25%;
- function-generator output: High-Z mode.
The expected average value is:
The expected total RMS value is:
The peak current is:
And the average power is:
19. What should the multimeter and oscilloscope display?
On the oscilloscope, with DC coupling, you should observe approximately:
- Vmax = 5 V;
- Vmin = 0 V;
- Vpp = 5 V;
- period = 1 ms;
- high time = 250 μs;
- average = 1.25 V;
- total RMS = 2.5 V.
In DC voltage mode, the multimeter will tend to indicate approximately the average component: 1.25 V.
In AC voltage mode, the behavior depends on the instrument design. Many multimeters remove the DC component and measure only the alternating component.
If we know the total RMS value and the average value, we can calculate the RMS ripple:
Therefore, directly comparing an AC multimeter reading with the oscilloscope's total RMS value may mean comparing two different quantities.
20. Variation with duty cycle: 25%, 50%, and 75%
Keeping the PWM amplitude at 0–5 V:
Duty cycle | Average voltage | RMS voltage | Peak voltage | Power in 1 kΩ |
|---|---|---|---|---|
25% | 1.25 V | 2.50 V | 5 V | 6.25 mW |
50% | 2.50 V | 3.54 V | 5 V | 12.50 mW |
75% | 3.75 V | 4.33 V | 5 V | 18.75 mW |
Graphically:
Notice that, for a resistive load with fixed amplitude, average power is proportional to duty cycle, while RMS voltage increases with √D.
21. How to configure the oscilloscope
For the 0–5 V experiment:
- probe tip: upper terminal of the resistor;
- ground clip: GND of the isolated circuit;
- coupling: DC;
- probe: 10×;
- channel: also configured for 10× attenuation;
- initial vertical scale: approximately 1 V/div;
- time base: approximately 200 μs/div;
- trigger: rising edge, near 2.5 V.
Measure:
- Vmax;
- Vmin;
- Vpp;
- average;
- RMS;
- period;
- frequency;
- duty cycle.
Then, if you want to observe only the varying component, temporarily switch to AC coupling. To record the complete waveform, return to DC coupling.
22. Pay attention to High-Z and 50 Ω function-generator settings
Many function generators calculate the displayed amplitude assuming that the output is terminated in 50 Ω.
If the generator is configured for 50 Ω but connected to a high-impedance load, the measured voltage may be approximately twice the expected value.
Therefore, before performing any calculation:
- confirm the load setting on the function generator;
- measure Vmax and Vmin on the oscilloscope;
- use the actual measured values in your calculations.
23. Suggested SPICE simulation
The same experiment can be reproduced in LTspice, ngspice, PSpice, or QSPICE:
* Lesson 002 - 0 to 5 V PWM across a resistive load
V1 out 0 PULSE(0 5 0 100n 100n 250u 1m)
R1 out 0 1k
.tran 0 5m 0 1u
.meas tran VAVG AVG V(out) FROM 1m TO 5m
.meas tran VRMS RMS V(out) FROM 1m TO 5m
.meas tran VMAX MAX V(out) FROM 1m TO 5m
.meas tran VMIN MIN V(out) FROM 1m TO 5m
.meas tran PAVG AVG V(out)*V(out)/1000 FROM 1m TO 5m
.end
Expected results:
- VAVG ≈ 1.25 V;
- VRMS ≈ 2.50 V;
- VMAX ≈ 5 V;
- VMIN ≈ 0 V;
- PAVG ≈ 6.25 mW.
24. What can go wrong during measurement?
Symptom | Likely cause | Correction |
|---|---|---|
Amplitude appears doubled | Generator configured for 50 Ω while driving a High-Z load | Select High-Z or use the proper termination |
Oscilloscope shows 0.5 V instead of 5 V | 10× probe with channel configured as 1× | Match the attenuation setting on the channel and probe |
Average changes when the acquisition window is shifted | Window does not contain complete cycles | Measure over an integer number of periods |
Multimeter RMS differs from oscilloscope RMS | AC mode removes DC or the instrument has limited bandwidth | Check the manual and the exact measurement definition |
Ringing changes when the ground clip is moved | Measurement loop is excessively large | Use a short ground connection |
Waveform looks rounded | Insufficient bandwidth or sampling rate | Review bandwidth, sample rate, and active filters |
Resistor heats more than expected | Power was calculated using average current | Recalculate the loss using RMS current |
25. How do you choose which metric to use in a design?
Engineering problem | Primary metric |
|---|---|
Resistor heating | RMS current or RMS voltage |
Ohmic loss in a winding | RMS current |
DC output component | Average value |
Maximum MOSFET voltage | Peak value including overshoot |
Maximum semiconductor current | Peak and RMS, depending on the limit being analyzed |
Output ripple | Peak-to-peak and/or RMS |
Capacitor ESR loss | RMS ripple current |
Arbitrary average power | Average of v(t)i(t) |
26. Exercises
Exercise 1 — DC source
A constant 9 V source supplies an 18 Ω resistor. Determine:
- average voltage;
- RMS voltage;
- peak-to-peak voltage;
- current;
- power.
Exercise 2 — unipolar PWM
A PWM waveform switches from 0 to 20 V with a 25% duty cycle across a 10 Ω load. Determine:
- average voltage;
- RMS voltage;
- peak current;
- average current;
- RMS current;
- average power.
Exercise 3 — bipolar square wave
A waveform alternates between +15 V and -15 V, remaining at each level for half the period, across a 30 Ω resistor. Determine average voltage, RMS voltage, peak-to-peak voltage, and average power.
Exercise 4 — PWM load design
Approximately 30 W of average power is required in a resistive load driven by a 0–24 V PWM waveform with D = 60%. Determine the ideal resistance and compare the standard values of 12 Ω and 15 Ω.
27. Exercise answers
Exercise 1
Because the signal is constant DC:
Exercise 2
Exercise 3
Exercise 4
From:
we obtain:
The 12 Ω standard value is the closest option:
With 15 Ω:
For 12 Ω:
The resistor power rating must be selected with margin and then validated against the manufacturer's derating curve, ambient temperature, and mounting method.
28. What you should remember from this lesson
- Instantaneous value describes the signal at one instant.
- Average value represents the DC component or algebraic balance.
- RMS value connects the waveform to equivalent resistive heating.
- Peak value describes the largest instantaneous magnitude.
- Peak-to-peak value is the excursion between maximum and minimum.
- For a 0–Vpk PWM waveform, V average = DVpk.
- For a 0–Vpk PWM waveform, V RMS = Vpk√D.
- Average power is the average of the instantaneous product v(t)i(t).
- In general, average voltage × average current is not average power.
- For a fixed resistance, heating depends on I RMS²R.
- The observation window, bandwidth, probe attenuation, and instrument mode are part of the measurement.
A waveform does not have one single “true” number. It has several quantities, and each one describes a different physical property.
29. Next lesson
In Lesson 003, we will apply these concepts directly to the study of resistance and power dissipation.
The central relationship will be:
From this relationship, we will study:
- Joule heating;
- power rating;
- tolerance;
- temperature coefficient;
- power pulses;
- derating;
- thermal failures;
- practical resistor sizing in power circuits.
References
- ERICKSON, Robert W.; MAKSIMOVIĆ, Dragan. Fundamentals of Power Electronics. 2nd ed. Kluwer Academic Publishers, 2001.
- MOHAN, Ned; UNDELAND, Tore M.; ROBBINS, William P. Power Electronics: Converters, Applications, and Design. 3rd ed. John Wiley & Sons, 2003.
- HURLEY, W. G.; WÖLFLE, W. H. Transformers and Inductors for Power Electronics: Theory, Design and Applications. Wiley, 2013.
- Also consult the specific manuals for the oscilloscope, probe, and multimeter used in the laboratory for voltage limits, bandwidth, sampling, RMS measurement, and crest-factor specifications.