PWM Low-Pass Filter Calculator

PWM Low-Pass Filter Calculator

animation
electronics
Try Set PWM Frequency (Hz) to 1000, Resistance R (ohms) to 10000 and Capacitance C (uF) to 0.22; then increase capacitance.
Observe The default filter shows 72.3 Hz cutoff, 11.0 ms settling and about 11.3% ripple despite the favorable frequency-ratio message.
Explain Resistance R (ohms) times capacitance sets the time constant; cutoff is the reciprocal of the product of two pi and that constant, and settling takes five time constants.

Technical boundaries. The ripple model assumes an unloaded RC circuit driven at 50% duty and reports peak-to-peak ripple relative to the PWM high voltage. It uses 100 × tanh(π / (2 × frequency ratio)); the 10-times-cutoff message is a heuristic rather than a ripple or settling specification.

TipPWM Low-Pass Filter Calculator

The calculator models an unloaded RC filter at 50% duty and reports peak-to-peak ripple as a percentage of the high supply voltage. For 1 kHz PWM, 10 kΩ and 0.22 µF give about 72 Hz cutoff, 11 ms for 5 RC settling, and 11.3% peak-to-peak ripple. If the budget is at most 5% ripple and 20 ms settling, this choice fails ripple; a larger RC may reduce ripple but can exceed the time budget. The displayed 10-to-1 message is a heuristic, not a pass criterion. Check the actual duty, load, and measurements.

Back to the chapter