Home › Builds › Real device: laptop charger, 220 V AC wall to 20 V with PFC

Real device: laptop charger, 220 V AC wall to 20 V with PFC

Bench build · Real Devices · Advanced · about 40 minutes

A 65 W laptop charger traced from the wall to the laptop: the phone charger's spine at higher power, with a boost power-factor corrector in front of the bulk capacitor.

Real device: laptop charger, 220 V AC wall to 20 V with PFC: the finished build running on the simulator's bench

Build it in the labGuided build, test sheet and fault finding, free in your browser.

Parts list

Test procedure

Each test has an expected value and a pass range, like a factory test sheet:

  1. PFC holds the bus at 390 V
  2. 20 V, 65 W at the laptop
  3. Power factor with the PFC on
  4. Power factor with the PFC off
  5. Q1 drain peak on the 390 V bus

How it works

A laptop brick is the phone charger scaled up, with one block added: power-factor correction. Without it, the bridge only conducts in short, tall spikes at the top of each mains cycle, which heats house wiring and distorts the mains for everyone. The PFC stage makes the charger draw a smooth sine wave instead. (USB-C bricks run at 20 V; older barrel bricks at 19–19.5 V. Same machine.)

A220 V AC at the wall plug.B20 V at 3.25 A (65 W) into the laptop, isolated from the mains, drawn from the wall at a power factor near 1.

The path, A to B

  1. 220 V AC wall (Mains). Point A: the wall, 220 V at 60 Hz, which peaks at 311 V. Everything on the left of the transformer and the optocoupler is at this potential.
  2. Fuse (F1). Fault safety. A slow-blow 3.15 A fuse that ignores the switch-on surge but opens if anything behind it shorts, so a failed part becomes a dead charger instead of a fire. Ceramic and sand-filled, because a short right behind the bridge can draw far more current than a glass tube can safely break.
  3. Bridge (BR1). AC to pulsing DC. Four diodes flip the negative half of every cycle up, giving 120 bumps a second that all point the same way.
  4. PFC (PFC1). Power-factor correction. A boost converter between the bridge and C1 that draws current in proportion to the instantaneous mains voltage, so the wall sees a resistor, not a spike-drawing rectifier. It also lifts the bus to a steady 390 V. Its controller turns off in the inspector to compare: watch the mains current and power factor change.
  5. Bulk cap (C1). Bulk store, now behind the PFC. It sits at a regulated 390 V whatever the mains does, so it is a 450 V part: a 400 V capacitor at 390 V would have no margin left.
  6. Switch (Q1). The switch. An 800 V MOSFET chops the bulk voltage into the transformer about 70,000 times a second. Switching that fast is what lets a transformer the size of a sugar cube do the work of a 60 Hz one ten times its weight.
  7. Transformer (T1). Step-down and isolation in one. The flyback transformer stores energy in its core while Q1 is on and hands it to the secondary when Q1 turns off. The 40 : 8 turns ratio brings ~300 V down to the output, and the insulation between the windings is what keeps the mains away from you.
  8. Rectifier (D5). Output rectifier. A dual Schottky: its low forward drop means less heat at several amps.
  9. Output cap (C9). Clean output. With C10, 1360 µF of low-ESR capacitance soaks up the transformer's pulses and leaves steady DC. Two in parallel share the ripple current, which is what wears electrolytics out.
  10. USB-C port (U2). The PD controller. It talks to the device over the cable's CC wire, agrees a voltage, then moves the output there by pulling on the TL431's divider.
  11. 20 V laptop (Laptop). Point B: the laptop. It asks for 20 V over USB-C PD; the PD controller raises the output from 5 V to 20 V by pulling on the TL431's divider. The trigger draws 1.5 A of the 3.25 A; the E-load stands in for the rest.

The loop back: C9 → U4 → U3 → U1 → Q1, exactly as in the phone charger. The PFC has its own, much slower loop: it watches the 390 V bus and adjusts how much current it draws per volt of mains, slowly enough (a few hertz) that the current keeps the mains' sine shape.

Every other part, and why

Why it lasts

On the mat: the amber line is the energy path from A to B, the dashed blue line the feedback loop. Click any part: why it is there shows at the top of the inspector. Turn the path off or on in the View menu (Real-device path & notes); the Thermal view shows where the heat goes.

Background

Active PFC spread through the 1990s and 2000s as standards (IEC 61000-3-2, then 80 PLUS for PCs) limited the harmonic current a mains appliance may draw. The boost topology with an average-current controller (UC3854, 1989) is still the classic.

More builds: real devices