Okay, let's break down how a modern computer Power Supply Unit (PSU) works. The primary job of a PSU is to convert the alternating current (AC) from your wall outlet into the stable, lower-voltage direct current (DC) voltages that your computer components need.
Modern PSUs are almost universally Switch-Mode Power Supplies (SMPS), which are efficient, relatively small, and provide good voltage regulation. Here's a step-by-step look at the process inside an SMPS PSU:
-
Input Filtering and Surge Protection:
- The AC power cord plugs into the PSU.
- Immediately inside, there's a filter circuit (using capacitors and inductors, often called chokes) to suppress electromagnetic interference (EMI) and radio frequency interference (RFI), both coming from the PSU and going into it from the mains power line.
- A varistor or similar component might be included for basic surge protection against voltage spikes.
- The main power switch (usually rocker-style) is located here.
-
Rectification (AC to DC):
- The incoming AC voltage (e.g., 110V or 230V, alternating 50/60 times per second) needs to be converted to DC.
- This is done using a bridge rectifier, typically made of four diodes. Diodes only allow current to flow in one direction. The bridge rectifier configuration effectively "folds" the negative half of the AC wave onto the positive half, resulting in pulsating DC (a DC voltage that rises and falls but never goes negative).
-
Primary Smoothing / Bulk Capacitor:
- The pulsating DC from the rectifier is still quite "bumpy."
- A large capacitor (the "bulk capacitor") is used to smooth out these pulsations, storing energy when the voltage peaks and releasing it when the voltage drops. This creates a much smoother, but still relatively high-voltage DC.
-
Switching Stage (The "Switch Mode" Part):
- This is the core of the SMPS. Instead of using a large, heavy, inefficient transformer to step down the AC voltage before rectification (like older linear power supplies), the SMPS uses a small, high-frequency transformer.
- To make this work, the smoothed, high-voltage DC from the bulk capacitor is "chopped" into high-frequency AC pulses by power transistors (like MOSFETs).
- These transistors are switched on and off very rapidly (tens to hundreds of kilohertz) by a Pulse Width Modulation (PWM) controller IC.
- The PWM controller adjusts the width of these pulses (the duty cycle – the ratio of 'on' time to total cycle time). This is how the output voltage will eventually be controlled.
-
Transformation (Voltage Stepping Down):
- This high-frequency AC "chopped" power is fed into the primary winding of a small, lightweight high-frequency transformer.
- The transformer steps the voltage down to the desired lower levels (e.g., voltages slightly above the final target voltages like 12V, 5V, 3.3V). Using high frequency allows the transformer and associated filtering components to be much smaller and lighter than they would need to be for mains frequency AC.
-
Secondary Rectification and Filtering:
- The stepped-down, high-frequency AC coming from the transformer's secondary winding is then rectified again, typically using fast-switching diodes (like Schottky diodes) or synchronous rectification (using MOSFETs for even higher efficiency).
- This high-frequency AC is converted back into DC.
- Another set of filters (inductors and capacitors, often called LC filters) smooths out the high-frequency ripples, producing stable DC outputs.
-
Feedback and Regulation:
- To ensure the output voltages (+12V, +5V, +3.3V, etc.) remain stable under different loads (when the computer is idle vs. under heavy load), a feedback circuit is essential.
- A small portion of the output voltage is sampled, often after being converted back down to a safe low voltage using an optocoupler (which also provides electrical isolation between the high-voltage primary side and the low-voltage secondary side for safety).
- This sampled voltage is fed back to the PWM controller IC on the primary side.
- The PWM controller compares the feedback voltage to a stable internal reference voltage. If the output voltage is too low, it widens the pulses (increases duty cycle); if it's too high, it narrows the pulses (decreases duty cycle). This constant adjustment keeps the output voltages precisely regulated.
-
Output Voltages and Connectors:
- The PSU provides several different DC voltage rails:
- +12V: Powers the CPU, GPU, hard drives, fans, etc. (The most critical rail).
- +5V: Powers some motherboard components, USB ports, older optical drives.
- +3.3V: Powers RAM, some chipsets, and other specific components.
- -12V: Used for legacy serial ports (rarely used now).
- +5VSB (Standby Voltage): A low-power voltage always present when the PSU is plugged in, even when the computer is "off." It powers circuits needed to turn the computer on (like the power button circuitry) and allows features like Wake-on-LAN.
- These regulated DC voltages are delivered to the computer components via various connectors (24-pin ATX, 8-pin EPS, PCIe, SATA, Molex, etc.).
-
Protection Circuits:
- PSUs include various protection circuits to prevent damage to the PSU itself and the computer components:
- OVP (Over Voltage Protection): Shuts down if output voltages exceed safe limits.
- UVP (Under Voltage Protection): Shuts down if output voltages drop too low.
- OCP (Over Current Protection): Shuts down if too much current is drawn on a specific rail.
- OPP (Over Power Protection): Shuts down if the total power output exceeds the PSU's rating.
- SCP (Short Circuit Protection): Shuts down if a short circuit occurs on an output.
- OTP (Over Temperature Protection): Shuts down if the PSU overheats.
In essence, a PSU takes noisy AC, cleans it, rectifies it, chops it up at high frequency, efficiently transforms it to lower voltages, rectifies and filters it again, and then uses a feedback loop to precisely regulate those final DC voltages for the computer's sensitive components, all while protecting against various electrical faults.