8 Min Read • Updated May 2026

What Happens Inside a Power Supply: AC to DC Conversion

Every electronic device needs power, but the electricity coming from your wall socket is completely incompatible with delicate microchips. Learn exactly what happens inside a computer power supply (PSU), from AC input filtering and switching to DC voltage regulation.

Detailed view inside a computer ATX power supply unit
Primary Function

AC to DC Conversion

Common Types

ATX, SFX, TFX (Computers)

Input Voltage

110V - 240V AC

Output Voltages

+12V, +5V, +3.3V DC

Efficiency Rating

80 PLUS (White to Titanium)

Key Components

Transformers, Capacitors, Rectifiers

The Need for Power Conversion

Every electronic device needs power, but the electricity coming from your wall socket is completely incompatible with delicate microchips. The wall provides high-voltage Alternating Current (AC), while your computer needs low-voltage Direct Current (DC).

Understanding how power supplies work demystifies the heavy metal box sitting in your PC case. In this breakdown, we will trace the path of electricity as it enters an ATX power supply and gets transformed, filtered, and regulated.

⚠️ Warning: Never open a computer power supply unless you are a trained professional. The large primary capacitors inside can hold a lethal electrical charge (over 300 volts) for days after being unplugged.

Stage 1: Input Filtering and Rectification

When 120V or 240V AC enters the power supply, it first hits a transient filtering stage (using coils, X capacitors, and Y capacitors) to block electromagnetic interference (EMI) from the wall and prevent the power supply from sending noise back into the grid.

Next, it hits the bridge rectifier. AC voltage swings between positive and negative 60 times a second. The rectifier consists of four diodes arranged in a bridge to flip the negative swings upward. The result is no longer AC, but it's a rough, pulsating direct current (DC) that looks like a series of hills.

Stage 2: Smoothing and Switching

That bumpy DC voltage is fed into massive primary capacitors. These act like water towers, storing energy at the peaks and releasing it in the valleys, smoothing the bumps into a high-voltage DC line (around 340V to 400V).

This is where the "Switch Mode" in Switched-Mode Power Supply (SMPS) comes in. Massive transistors chop this high-voltage DC into incredibly fast pulses (thousands of times a second). Why? Because high-frequency pulses can be stepped down by a very small, lightweight transformer. If it ran at the wall's 60Hz, the transformer would have to be the size of a brick.

Stage 3: Transformation and Output Regulation

The high-frequency pulses pass through the main transformer, dropping the voltage from ~400V down to the 12V, 5V, and 3.3V levels your motherboard needs.

On the secondary side, more rectifiers and output capacitors smooth the voltage one final time. A feedback circuit watches these output voltages constantly. If your GPU suddenly draws 200 watts to render a game, the voltage starts to sag. The feedback loop instantly tells the primary transistors to widen their pulses (Pulse Width Modulation), pumping more energy through to keep the voltage perfectly stable at 12V.

Frequently Asked Questions

What is a Switching Power Supply (SMPS)?

An SMPS is a power supply that rapidly switches a transistor on and off to regulate output voltage. This method is much more efficient and requires a smaller transformer compared to older linear power supplies.

What does a bridge rectifier do?

A bridge rectifier takes the alternating current (AC) from your wall and flips the negative half of the wave upward, converting it into a rough, pulsating direct current (DC).

Why do power supplies have large capacitors?

Large capacitors act as energy reservoirs. They smooth out the rippling DC voltage created by the rectifier, ensuring a steady, flat stream of power for the sensitive microchips.

Why is it dangerous to open a power supply?

The large primary capacitors inside a power supply can hold a lethal electrical charge (over 300 volts) for hours or even days after the unit has been unplugged from the wall.

Conclusion

Modern computer power supplies are miracles of high-frequency switching technology, efficiently converting wall AC into incredibly clean DC power. To learn more about how to use low voltage DC in your own electronics, check out our beginner projects.

📚 References & Sources

Related Resources