RC filtered PWM steady ripple calculator
Estimate the settled peak-to-peak ripple and mean voltage of an ideal RC filter driven by a zero-to-high PWM signal.
How to use this calculator
Estimate the settled peak-to-peak ripple and mean voltage of an ideal RC filter driven by a zero-to-high PWM signal.
- Enter PWM high level (V), High duty fraction, PWM frequency (Hz), Filter resistance (kΩ), then complete the remaining labeled fields. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
How the RC filtered PWM steady ripple calculator works
Estimate the settled peak-to-peak ripple and mean voltage of an ideal RC filter driven by a zero-to-high PWM signal.
Inputs and units
- PWM high level (V): Nonnegative PWM high voltage; the low level is assumed to be zero.
- High duty fraction: High-time duty fraction from zero to one.
- PWM frequency (Hz): Positive PWM frequency in Hz.
- Filter resistance (kΩ): Positive filter resistance in kΩ.
- Filter capacitance (µF): Positive filter capacitance in µF.
Formula and method
x=1/(fRC); a=e^(−Dx); b=e^(−(1−D)x); ripple=Vhigh(1−a)(1−b)/(1−ab); mean=Vhigh D
Worked example
At 5 V high, duty 0.4, 1,000 Hz, R=10 kΩ, and C=1 µF, x=0.1 and ripple=0.11997601 V peak-to-peak; mean=2 V.
Interpreting the result
The mean is duty-weighted voltage. Ripple describes the periodic maximum-minus-minimum after transients settle.
Assumptions and limits
Assumes an unloaded first-order RC, ideal PWM levels, and constant frequency. Output loading, finite edge times, tolerances, and startup behavior can alter the waveform.
Sources and method
- Derives exponential charging and discharging; the stated periodic ripple follows matching those responses over a PWM cycle. OpenStax: RC circuits
Frequently asked questions
Is peak-to-peak ripple the RMS ripple?
No. They describe different waveform measures; peak-to-peak is maximum minus minimum.
What happens at duty zero or one?
The settled output is constant at a supply level, so ripple is zero.
How do I use the RC filtered PWM steady ripple calculator?
Enter PWM high level (V), High duty fraction, PWM frequency (Hz), Filter resistance (kΩ), then complete the remaining labeled fields. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of RC filtered PWM steady ripple?
At 5 V high, duty 0.4, 1,000 Hz, R=10 kΩ, and C=1 µF, x=0.1 and ripple=0.11997601 V peak-to-peak; mean=2 V.
What does the RC filtered PWM steady ripple calculator calculate?
Estimate the settled peak-to-peak ripple and mean voltage of an ideal RC filter driven by a zero-to-high PWM signal.
See the calculation methodology.