Blog
Power Electronics: Rectifiers and Inverters
A relay cannot switch thousands of times a second; a semiconductor can. Here is how diodes make rectifiers (AC to DC), how IGBTs and pulse-width modulation make inverters (DC to any-frequency AC), and why a variable speed drive lets a fan run at 80% speed on about half the power.

Part 15 of 24 in Cobler's Electricity Fundamentals course. New here? Start with the course map.
Think of a laptop charger, or the drive on an air handling unit's fan from Part 14. Each one reshapes the sine wave from TNB (Tenaga Nasional Berhad) instead of taking it as it comes.
To do that, it needs a switch that flips on and off thousands of times a second, with no contacts to wear out. That switch is what rectifiers and inverters are built from.
So could we just use the switch from Part 4 or the relay from Part 6? Well, let's check. The small Omron relay in Part 6 takes up to 20 ms to change over and is rated for at most five operations a second.
And every time it opens under load it draws a small arc that eats the contacts. So they're only rated for about 200,000 to 500,000 operations at full load, depending on the model (Omron MY datasheet).
Switched 5,000 times a second, they'd be used up in under two minutes. So we need a switch where nothing moves.
Diodes
So how do we control a current with no moving parts? Well, the trick is to control where the free charges are. In Part 1 we split materials into conductors, full of free electrons, and insulators, with almost none. Pure silicon kind of sits in between.
Now what if we add a trace of something else to it? Add a trace of phosphorus and the silicon gains spare free electrons, and we call that n-type silicon.
Add a trace of boron instead and it gains "holes", which are missing electrons that behave like positive charges, and we call that p-type. Adding that trace is what's called doping.
So what happens where the two meet? The electrons fill the nearby holes and leave a thin zone with no free charge at all, and that zone acts as a barrier. If we push on the junction, there are three cases:
- Forward by more than about 0.7 V (positive on the p side): the barrier collapses and current flows.
- Forward by less than that: the barrier mostly holds, and little flows.
- Backwards: the barrier widens, and almost nothing flows.
So current can only cross one way, kind of like a check valve in a water pipe, except there's no flap to wear out. And that's what we call a diode.
Rectifiers
Now if we put four diodes in a bridge, they steer both halves of the AC (alternating current) wave the same way. What comes out flows one way, in humps, 100 a second on a 50 Hz supply.
Then we add a capacitor, the part that lent motors their reactive power in Part 12, except here it stores charge. It fills near the top of each hump and feeds the load as the hump falls, so the output is nearly steady DC (direct current).
So we put AC in and get DC out, and that's what we call a rectifier. It's actually what turned AC into DC inside the laptop charger in Part 8.

A bridge of diodes turns both halves of the AC wave into humps in one direction, and a capacitor fills the dips to give nearly steady DC.
On a three-phase supply, six diodes do the same job. From 400 V AC, the DC settles at about 540 to 560 V, just under the line voltage's 565 V peak (400 × 1.414).
That's because the capacitor charges towards the peaks of the wave. It's the same peak-versus-RMS (root mean square) step that took 230 V to 325 V in Part 8.
Transistors
So a diode lets current through one way, but we still can't turn it on and off when we want. How do we go from a one-way valve to a switch?
Well, what if we add a third terminal? A small voltage on that terminal, which we call the gate, creates or removes a conducting path through the silicon. So the device turns on and off with nothing moving, and that's a transistor.
This is really the relay's idea from Part 6, a small signal controlling a big circuit, done in silicon.
The power transistor in most motor drives is the IGBT (insulated-gate bipolar transistor). A gate signal of about 15 V turns it on (Texas Instruments), and it switches hundreds of amps at several hundred volts.
Nothing moves and nothing arcs, so it can do this thousands of times a second, for years. It's a thousand times faster than the relay, and it doesn't wear out.
To put that in numbers, at 5,000 times a second through an 11-hour office day, one switch flips about 200 million times. That's hundreds of the Omron relay's full-load lifetimes.
It's not perfect, though. While it's on, a small voltage sits across it, and each switching event wastes a little energy. That heat is why drives carry heatsinks and fans.
Worth knowing: millions of tiny transistors, wired to each other instead of to a motor, do the AND and OR logic of Part 6's relays. The same on-off switch comes back as the bit in Part 20, and in Part 21 we wire it into a processor.
Inverters
So we can now turn AC into steady DC, and we have a switch that flips thousands of times a second. So far only Part 7's spinning generator has made AC, at a frequency set by its speed.
How do we go from DC back to AC, at any frequency we like? Well, what if the IGBTs connected the motor to the DC in pulses, and we made their widths follow the sine wave we want?
- Where the wave should be high, the IGBTs stay on longer (wide pulses).
- Where it should be low, they stay on only briefly (narrow pulses).
- For the negative half, other IGBTs connect the DC the other way round.
The motor's own coils smooth the pulses into a near-sine current. This method is what we call pulse-width modulation (PWM), and the box that does it is an inverter, with DC in and AC out.

In pulse-width modulation, wide pulses where the wave should be high and narrow pulses where it should be low average out to a smooth AC wave.
So why does a train of square pulses become a smooth current? Well, it's the coil from Part 12 again, because a motor winding fights every change in its own current.
It's like Part 12's loaded trolley. If you shove it in short bursts, it still rolls at a steady speed. So the current can't follow each sharp pulse, and it follows their average instead, which traces a sine wave.
The big gain is that frequency becomes a choice. If we repeat the pattern 50 times a second, the output is 50 Hz, and if we repeat it 40 times, it's 40 Hz. The drive also lowers the voltage in step with the frequency, so the motor's magnetising current stays about right.
So a generator (Part 7) makes AC by spinning, and an inverter makes it by switching, at whatever frequency the job needs.
Rectifiers and inverters in a drive
Now what if we put a rectifier and an inverter back to back, with capacitors holding the DC between them? It turns the 50 Hz supply into DC, holds it in the capacitors, then rebuilds AC at the frequency the motor needs.
That box is what we call a variable speed drive (VSD), also called a variable frequency drive (VFD). The DC in the middle is the DC link.

A variable frequency drive contains a rectifier and an inverter back to back, with a DC link between them.
At this point you might be wondering why anyone would turn AC into DC only to turn it straight back into AC. To be honest, it looks like a round trip for nothing.
But the difference is the frequency. The AC going in is fixed at 50 Hz, and the AC coming out is whatever the motor needs.
We know from Part 11 that a motor follows its rotating field, and the field follows the supply frequency. A four-pole motor's field turns at 1,500 rpm at 50 Hz and at 1,200 rpm at 40 Hz. So if we change the frequency, we change the speed, smoothly, with no gears.
For fans and pumps, the saving follows what are called the affinity laws. If we slow a fan down, two things fall together:
- It moves less air, in proportion to its speed.
- It gives each cubic metre of air a smaller push, in proportion to its speed squared.
Power is flow times pressure, so power falls with the cube of the speed:
$$\frac{P_{\text{new}}}{P_{\text{old}}} = \left(\frac{N_{\text{new}}}{N_{\text{old}}}\right)^3$$
Here \(P\) is power and \(N\) is speed. So at 80% speed, 0.8 × 0.8 × 0.8 = 0.512, and the fan needs about 51% of its full-speed power, only about half.
That one fact is behind some of the biggest energy savings in a plant room. The old way to cut airflow was a damper. The fan ran at full speed while a blade in the duct choked the flow, which throws most of that saving away.
And you'll find the same building blocks all over a building:
- Chargers and LED (light-emitting diode) drivers rectify 230 V AC. Then they switch the DC tens of thousands of times a second or faster through a tiny transformer, and rectify again to a few volts. At that frequency the transformer from Part 9 can be small and light.
- UPS (uninterruptible power supply) units rectify AC to charge batteries and invert DC back to AC when the mains fails.
- Solar inverters turn the DC from panels into AC in step with the grid.
- EV (electric vehicle) chargers and inverter air conditioners use the same chain.
A drive on the AHU-12A supply fan
So what does a drive do on a real fan? It lets the BMS (building management system) run the fan only as fast as the building needs. On an office air handling unit (AHU), that can cut the fan's energy by a third to a half. Let's work it out.
Take the office tower's AHU-12A supply fan (all figures illustrative). Its 11 kW motor is the same size as the level-3 fan in Part 11, and it draws about 12.0 kW at full speed. It runs 11 hours a weekday, 22 days a month, which comes to 242 hours.
- Fixed speed: 12.0 kW × 242 h ≈ 2,904 kWh a month.
- On a drive at 80% speed for most of the day: 12.0 × 0.512 ≈ 6.1 kW. Add about 3% lost in the drive, and that's about 6.3 kW. Over 242 hours, that's about 1,530 kWh.
So that saves about 1,370 kWh a month from one fan. The cube law is the best case, though.
In a variable air volume (VAV) system the BMS holds a minimum duct pressure so the furthest rooms still get air. So real savings land between the square and the cube of the speed. At the square, the fan would draw about 7.9 kW and save about 990 kWh a month.
Worth knowing: how the BMS picks the speed is covered in How a BMS Runs the Air Side.
Try it
There's also one safety point that comes from the DC link. Its capacitors can stay charged for minutes after the drive is switched off. So opening a drive is work for a competent person, who follows the manufacturer's waiting time and checks the DC link is discharged.
Current that is no longer a sine
But chopping current like this does come at a price. The plain diode rectifier at the front of most drives, chargers and LED drivers only takes current when the supply rises above its capacitor's voltage.
That only happens near the top of each wave. So instead of a smooth sine, it draws short, tall bursts of current near each peak.
With one drive, that barely matters. But a building with dozens of drives and thousands of LED drivers and chargers is different. The current in its cables, transformers and neutrals is no longer a clean sine.
So what does that do to the building? Part 16 follows the consequences.
Go deeper (optional)
"Variable Frequency Drives Explained - VFD Basics IGBT inverter" by The Engineering Mindset
- How Solar Panels Make Electricity: No Spinning Needed, the DC source a solar inverter serves
- The War of the Currents, the AC-versus-DC fight that power electronics reopened with high-voltage DC links
This is Part 15 of 24 in Cobler's Electricity Fundamentals course. Previous: Earthing and RCDs. Next: Electrical Harmonics and Power Quality.
Cobler builds CobiNeural, which meters each fan and pump feeder as live kW and kWh. So the saving from a drive is measured rather than assumed. To see it on your site, request a demo.
FAQ
Frequently asked questions
A rectifier turns AC into DC, and an inverter turns DC into AC. A rectifier uses diodes, which let current through in one direction only, and a capacitor to smooth the result. An inverter uses transistors switched on and off thousands of times a second to build pulses that average out to a smooth AC wave. Together they let a building's AC supply run DC electronics and let DC sources such as solar panels and batteries supply AC. They also let a drive run a motor at any speed.
A diode lets current through in one direction only. The junction between its two kinds of treated silicon forms a barrier. A forward push of about 0.7 V collapses the barrier, and a reverse one widens it. Four diodes arranged as a bridge steer both halves of the AC wave so the current always flows the same way. It comes in humps, 100 times a second on a 50 Hz supply. A smoothing capacitor charges near the top of each hump and releases charge as it falls, giving nearly steady DC.
It uses transistors, usually IGBTs (insulated-gate bipolar transistors) in motor drives, as switches. They connect the load to the DC supply thousands of times a second. The pulses are wide where the AC wave should be high and narrow where it should be low. For the negative half, the connection reverses. The load's own coils smooth the pulses into a near-sine current. This is pulse-width modulation (PWM), and repeating the pattern faster or slower sets the output frequency.
A charger first rectifies the 230 V AC into DC at a few hundred volts. It then switches that DC on and off tens of thousands of times a second or faster. A tiny transformer lowers the voltage, and the charger rectifies it again into the few volts of DC the phone needs. A transformer only works with a changing current, and at this high frequency it can be far smaller and lighter than a 50 Hz transformer. That is why modern chargers are so small.
A drive is a rectifier and an inverter back to back, so it can slow a motor by lowering the frequency. A fan's power falls with about the cube of its speed. So at 80% speed it needs about 0.8 × 0.8 × 0.8 = 51% of its full-speed power. In real systems that hold a minimum duct pressure, savings fall between the square and the cube of the speed. For an office air handling unit (AHU) fan slowed to 80%, that can still mean saving a third to a half of its energy.
Every conversion loses some energy as heat in the diodes and switches, which is why chargers get warm and drives need heatsinks and fans. Rectifiers also draw current in short bursts near each voltage peak rather than smoothly, which creates harmonics in the building's wiring. And the capacitors in a drive's DC link can stay charged for minutes after switch-off, so only a competent person should open one.
Ask us about this topic
Something in this article you want to dig into — or a situation in your own building it doesn't quite cover? Send us your question. We don't run public comments; the team replies to you directly by email.


