# Lesson 1: Diodes and rectifiers

A rectifier is the first power converter most students meet, and it already holds the ideas the rest of the course needs: a switch that decides for itself when to conduct, an average that differs from the textbook shortcut, and a capacitor that trades ripple for peak current. In this lesson you predict each of those numbers by hand, then let Voltecx show you whether you were right.

**Time:** about 30 minutes. **You need:** Voltecx on your computer ([how students install](https://voltecx-web.nguyenvanqui291.workers.dev/course/for-instructors#how-students-install)) and the idea of an RMS and an average value.

## Open it in Voltecx

Click **Guided Lessons** in the activity bar on the left and choose **Course 1 · Diodes and rectifiers**. The lesson opens each circuit for you and checks every exercise against your own run: **Next** stays locked until the numbers are right.

You can also open the two circuits yourself from **File › Open Example › Rectifiers**: **Half-wave rectifier** and **Bridge rectifier with a capacitor**.

## The half-wave rectifier

![The half-wave rectifier: a 10 V, 50 Hz source, diode D1 and a 100 Ω load](https://voltecx-web.nguyenvanqui291.workers.dev/media/course/diodes-and-rectifiers/half-wave-schematic.svg)

A diode conducts when its anode is above its cathode by the forward drop $V_F$, here 0.7 V, and blocks otherwise. With a 10 V peak source the output follows the source, one drop lower, during the positive half cycle and sits at zero during the negative one. So the peak is $V_p - V_F = 9.3$ V.

The quick estimate of the mean treats the output as a half sine of amplitude $V_p - V_F$:

$$\bar v_{out} \approx \frac{V_p - V_F}{\pi} = 2.96\ \text{V}.$$

It is a little high. The diode only starts to conduct once the source reaches 0.7 V, at the angle $\alpha = \arcsin(V_F / V_p) = 4.0°$, and stops at $\pi - \alpha$. Averaging the real output over that conduction angle gives

$$\bar v_{out} = \frac{1}{2\pi}\Big[2 V_p \cos\alpha - V_F\,(\pi - 2\alpha)\Big] = 2.84\ \text{V},$$

which is what the simulation reports.

![The source and the output of the half-wave rectifier over two cycles](https://voltecx-web.nguyenvanqui291.workers.dev/media/course/diodes-and-rectifiers/half-wave.svg)

## Adding a capacitor

A capacitor across the load charges to the peak while the diode conducts and supplies the load while it does not. The output now sags between peaks by about

$$\Delta V \approx \frac{I_{load}\,T}{C},$$

where $T$ is the time between charging pulses: one line period, 20 ms, for a half-wave rectifier. With $I_{load} \approx 9.3\ \text{V} / 100\ \Omega$ and 1000 µF this gives 1.86 V. The run gives 1.54 V around a mean of 8.53 V: the estimate is pessimistic because the output, and so the load current, falls during the sag, and because the capacitor recharges a little before the next peak.

The price is the diode current. The capacitor is refilled in a short pulse near each crest: the diode carries 0.085 A on average, but peaks at 1.75 A, twenty times more.

![The capacitor-filtered output and the diode current over two cycles in steady state](https://voltecx-web.nguyenvanqui291.workers.dev/media/course/diodes-and-rectifiers/capacitor-filter.svg)

## The bridge rectifier

![The bridge rectifier: a 17 V peak winding with 0.5 Ω, four diodes, a 2200 µF capacitor and a 22 Ω load](https://voltecx-web.nguyenvanqui291.workers.dev/media/course/diodes-and-rectifiers/bridge.svg)

Four diodes let both half cycles charge the capacitor. When the left end of the winding is positive, D1 and D4 conduct; on the other half, D2 and D3. Two drops are always in the path, so the output peaks at about $17 - 2 \times 0.7$ V less the drop in the winding's 0.5 Ω, 14.67 V in the run. The capacitor is now recharged twice per line period, so the ripple is at 100 Hz and the sag time halves:

$$\Delta V \approx \frac{I_{load}}{2 f_{line} C}.$$

The run gives a mean of 13.66 V, 0.62 A into the 22 Ω load and 2.02 V of ripple. The winding delivers its current in pulses of 3.18 A, five times the DC current. A load like this draws a very non-sinusoidal current from the line: that is the problem power factor correction solves later in the course.

![The DC output and the winding current from switch-on: the inrush pulse, then the 100 Hz ripple and the current pulses](https://voltecx-web.nguyenvanqui291.workers.dev/media/course/diodes-and-rectifiers/bridge-waveforms.svg)

Look at the first cycle too. The capacitor starts empty, so the first pulse is limited only by the winding resistance and the diodes: 8.6 A, almost three times the steady pulse. This inrush is why real rectifiers have a soft-start or an NTC thermistor in series.

## Exercises

The in-app lesson checks each answer against your run. Work the number by hand before you run.

1. **Half-wave output.** Predict the peak and the mean of `v(out)` for the half-wave rectifier, first with the quick estimate, then with the conduction angle. Run it and compare. *(Checked: peak 9.2 to 9.4 V, mean 2.75 to 2.95 V.)*
2. **Filter capacitor.** Place a 1000 µF capacitor from `out` to ground, set the End time to 100 ms and predict the ripple with $I\,T/C$. Run it. Is your estimate high or low, and why? *(Checked over the last cycle: mean 8.3 to 8.8 V, ripple 1.3 to 1.8 V.)*
3. **Bridge rectifier.** For the bridge, predict the output peak, the ripple frequency and the ripple. Which two diodes conduct when the left end of the winding is positive? *(Checked: peak 14.4 to 14.9 V, ripple 1.8 to 2.3 V, winding pulses above 2.5 A.)*
4. **Halve the ripple.** Double C1 to 4.4 mF. Predict what happens to the ripple, the output peak and the current pulses, then run it. *(Checked: ripple 0.9 to 1.2 V.)*

## Answers

1. Peak 9.30 V. Mean: 2.96 V by the quick estimate, 2.84 V with the conduction angle; the run gives 2.84 V.
2. $I\,T/C$ = 1.86 V. The run gives 1.54 V around 8.53 V: the load current falls as the output sags, and the capacitor starts recharging before the crest, so the estimate is high.
3. Peak 14.67 V, ripple 2.02 V at 100 Hz, mean 13.66 V. D1 and D4 conduct when the left end is positive.
4. The ripple halves to 1.03 V. The peak falls to 14.34 V and the pulses rise to 3.26 A: the capacitor sags less, so it is refilled in a shorter, taller pulse, which drops more in the winding and the diodes. The first-cycle inrush rises from 8.6 A to 13.3 A.

## Lab handout

**Objective.** Measure how the diode drop, the conduction angle and the filter capacitor set the output of a rectifier, and how the capacitor shapes the line current.

**Before the lab.** For the half-wave rectifier (10 V peak, 0.7 V drop, 100 Ω) and the bridge (17 V peak, 0.5 Ω winding, 0.7 V drops, 22 Ω), compute the quantities in the table below.

**Procedure.**

1. Open **Course 1 · Diodes and rectifiers** in Guided Lessons and complete its steps.
2. After each run, read the values in the table from the scope's measurements.
3. For the bridge, run once with 2200 µF and once with 4.4 mF, and export both scope views as SVG for your report.

| Quantity | Predicted | Simulated | Difference |
|---|---|---|---|
| Half-wave peak, V | | | |
| Half-wave mean, V | | | |
| Ripple with 1000 µF, V | | | |
| Bridge peak, V | | | |
| Bridge ripple with 2200 µF, V | | | |
| Bridge ripple with 4.4 mF, V | | | |
| Winding current pulse with 2200 µF, A | | | |

**Report questions.**

1. Why does a larger capacitor lower the output peak while it lowers the ripple?
2. Estimate the power factor of the bridge load from the RMS of the winding current and the DC power. What limits it?
3. Propose one way to limit the switch-on inrush, and say what it costs at full load.

## References

The theory in this lesson is covered in any introductory power electronics text, for example the chapters on line-frequency diode rectifiers in N. Mohan, T. M. Undeland and W. P. Robbins, *Power Electronics: Converters, Applications, and Design*, 3rd ed., Wiley, 2003, and in D. W. Hart, *Power Electronics*, McGraw-Hill, 2011. The exercises and numbers here are Voltecx's own.

**Next:** [Lesson 2: The buck converter](https://voltecx-web.nguyenvanqui291.workers.dev/course/buck-converter).
