DEV Community

Surendra Singh Kamboj
Surendra Singh Kamboj

Posted on AI-assisted

Full wave rectifier: why its ripple factor is always 0.48, checked in JavaScript

A full wave rectifier turns an AC sine wave into a bumpy, always-positive DC signal. "Always positive" does not mean "smooth" though — and the ripple factor is the one number that tells you exactly how bumpy it still is, no matter what peak voltage you feed in.

The formula

For a full wave rectifier fed a sine wave of peak Vm:

  • DC (average) output: V_dc = 2Vm / π
  • RMS output: V_rms = Vm / √2
  • Ripple factor: r = √((V_rms / V_dc)² − 1)

Checked in JavaScript

const ratio = Math.PI / (2 * Math.sqrt(2));   // Vrms / Vdc, general
const ripple = Math.sqrt(ratio * ratio - 1);

console.log(ratio.toFixed(4), ripple.toFixed(4));
// 1.1107  0.4834

const Vm = 10;                 // peak volts, any value works
const Vdc = 2 * Vm / Math.PI;
const Vrms = Vm / Math.sqrt(2);
console.log(Vdc.toFixed(3), Vrms.toFixed(3));
// 6.366  7.071
Enter fullscreen mode Exit fullscreen mode

The ripple factor comes out to 0.4834 regardless of Vm — 10 V peak gives Vdc = 6.366 V and Vrms = 7.071 V, but the ratio between them, and so the ripple, is exactly the same whether Vm is 10 V or 400 V. That is the whole point of the formula: ripple factor is a property of the rectifier circuit, not of the particular voltage you ran through it.

Why full wave beats half wave

A half wave rectifier only uses one half of each AC cycle, which gives Vdc = Vm/π (half the full-wave value) and a ripple factor of about 1.21 — more than twice as rough. Full wave rectification uses both halves of the cycle (by flipping the negative half upward, with two diodes or a bridge of four), so the output never actually touches zero, which is why the ripple factor drops so much.

Common mistake

Many students compute Vdc and Vrms correctly but then forget to square the ratio before subtracting 1 in the ripple-factor formula, which gives a wildly wrong number. The formula is r = √((Vrms/Vdc)² − 1), not (Vrms/Vdc) − 1.

Practise it online

PractiSci's rectifier lab lets you switch between half wave, full wave and bridge rectifier circuits and watch the output waveform and the ripple factor change together: Rectifiers lab. The practicals for Class 12 physics page has more electronics problems.

Full disclosure: I build PractiSci, a free virtual physics and chemistry lab for Class 11–12.

Top comments (0)