Rectifiers and Inverters: Electricity's Translators
The grid speaks AC; solar panels, batteries, LEDs and every chip speak DC. Rectifiers and inverters are the translators between them, and a modern building is quietly full of both. Here is how they work.

Part 21 of 23 in Cobler's Electricity Fundamentals series. New here? Start with the course map.
Twenty parts into this series, one phrase keeps getting waved past: "an inverter converts it." The solar panel makes DC, an inverter converts it. The battery stores DC, an inverter converts it. This article finally opens the box on rectifiers and inverters, the machines that let the modern electrical world talk to itself.
Here is the problem they solve. The grid speaks AC: in Malaysia the current reverses direction 100 times a second, the better to travel at high voltage down a transmission line (that is Part 9). But solar panels, batteries, LEDs, phone chips, EV drives and every processor in the building speak DC, one steady direction only. Two incompatible languages running the same electrons. They are the translators between them, and a modern building is quietly stuffed with both.
What does a rectifier do, and how?
A rectifier turns AC into DC. The trick starts with a single cheap component: the diode.
A diode is a one-way valve for current. It lets current through in one direction and blocks it cold in the other, the electrical equivalent of a turnstile or a check valve in a pipe. On its own, one diode chops off half the AC wave: the forward halves pass, the backward halves are blocked, and you get a lumpy, gap-toothed one-way flow. Useful, but wasteful, because you have thrown half the wave away.
Arrange four diodes as a bridge and you do better. The bridge catches the backward halves of the wave and flips them forward, so every hump of the AC, up or down, comes out pointing the same way. Now current always flows one direction, but it still pulses: a train of bumps, a hundred humps a second, not the flat line electronics want.
That is where the capacitor earns its keep. A smoothing capacitor sits across the output like a small surge tank. It charges on each peak and drains slowly into the load through the gap before the next one, filling the valleys. The lumps flatten into nearly steady DC. Rectifier plus capacitor, and the wall's alternating current has become the calm one-way supply a laptop runs on. That is what the warm brick on your charger cable is doing.
How does an inverter turn DC back into AC?
An inverter is the harder trick, and the cleverer one: it builds AC out of DC with no moving parts, using nothing but very fast, very precise switching.
You cannot flip DC into a smooth sine wave directly. So an inverter does something that sounds crude and works beautifully. It uses transistors as switches, snapping the DC on and off thousands of times a second, and it varies how long each pulse stays on. Wider pulses where the target sine should be tall, narrow pulses where it should be low. Averaged out, that machine-gun train of pulses traces the shape of a smooth 50 Hz wave. Run it through a simple filter, often just the motor's own coils, and the chopping disappears, leaving clean AC.
The name for this is pulse-width modulation, but the idea is simpler than the acronym: thousands of tiny on-off decisions every second, each one nudging the average toward the sine wave you want. No spinning magnet, no dynamo, just switching. A generator makes AC by turning iron inside a magnetic field; an inverter makes it by turning silicon on and off. Same waveform out, utterly different machine.
Why did all this only get cheap recently?
Because the switch at the heart of it, the power transistor, is a recent device.
A diode only blocks or passes; it has no say in the matter. A transistor can be commanded on and off, millions of times, by a control signal. The workhorses are the IGBT (insulated-gate bipolar transistor), which handles the high voltages and currents inside drives, UPS units and EV inverters, and the MOSFET, faster and lower-voltage, which lives in chargers and LED drivers. These are semiconductor devices, children of the same silicon revolution that gave us the microchip. Fast, reliable, cheap power switching simply did not exist for most of the 20th century, which is why the flood of solar inverters, drives and pocket chargers is a phenomenon of recent decades, not the 1950s. Newer materials, silicon carbide and gallium nitride, now push efficiency higher and shrink the hardware further, which is how a modern charger the size of a matchbox out-muscles the heavy brick it replaced.
Where do rectifiers and inverters hide in your building?
Everywhere. Once you know the shape of them, you cannot stop finding them.
- Every phone charger and LED driver. Each is a small rectifier feeding a switching converter, turning 230 V AC into a few volts of DC.
- The front AND back of every VFD. A variable frequency drive rectifies incoming AC to DC, then inverts that DC back to fresh AC at whatever frequency the motor needs. Two translators in one box, back to back.
- The solar string inverter on the roof. It turns the panels' DC into grid-synchronised AC at very high efficiency, up in the high-90s percent, the best modern units near 99%.
- The UPS (uninterruptible power supply). An online UPS runs AC to DC to AC continuously, so the load always draws from the clean inverter output and the battery covers a mains dropout without a flicker.
- The battery system's power stage. A battery is DC inside (that is Part 22); its power conversion system inverts to AC to discharge and rectifies to charge, working both ways.
- The EV charger in the car park, converting AC into the DC the car's battery demands.
And at the top of the scale sits the HVDC (high-voltage direct current) converter station: the largest power electronics on Earth, converting bulk AC to DC and back to move gigawatts down the longest lines. That is a quiet irony. AC won the war of the currents in the 1890s precisely because DC could not be pushed far. A century later, cheap switching silicon lets DC do exactly that, and the longest links on the planet now run on it. AC won the war; DC is winning back the peace on the longest wires.
What does translation cost you?
Two things, and both land on a facility bill.
The first is heat. Every conversion loses a slice of energy in the switches, which is why chargers get warm, why inverters need heatsinks and fans, and why the last percent of efficiency is worth paying for across a fleet of drives. Whatever does not come out as useful power comes out as heat you then pay to cool.
The second is harmonics. A rectifier does not sip current smoothly across the AC wave; it drinks in gulps, grabbing a slug of current near each voltage peak to top up its capacitor. Multiply that across every drive, charger and UPS in a building and those gulps ripple back onto the supply as distortion, the subject of Part 18. The translation is not free; it leaves a signature on the power quality of the whole site.
None of this is an argument against power electronics. It is what makes rooftop solar, EVs, variable-speed chillers and battery storage possible at all. But it explains where the modern grid is drifting. So much of what a building runs is natively DC that the endless AC-to-DC-to-AC shuffle starts to look wasteful, and cheap silicon is quietly bringing DC back inside the walls. The grid of the next few decades is a negotiation between two ways of handling power: Faraday's spinning iron, and switching silicon that fakes the same waveform better than it has any right to.
This is Part 21 of 23 in Cobler's Electricity Fundamentals series. Previous: Earthing and RCDs: Why Birds Don't Get Shocked. Next: How Batteries Store Energy (and Why It Is All DC).
Every VFD in your plant is two of these translators back to back, saving energy at one end and injecting harmonics at the other. CobiNeural meters both sides, so you can prove a slower-running motor cut your demand charge without quietly dirtying your supply.


