πŸ” Inside the Device

How a Switching Power Supply Works

Tear down a phone charger to understand how switching power supplies convert AC mains to clean DC at high efficiency.

March 15, 2025
3 min read
327 words

Why Your Phone Charger is a Marvel

That tiny 20W cube that charges your phone is an incredible piece of engineering. Let's understand it!

The Problem with Linear Regulators

A simple voltage regulator (like the 7805) just burns off excess voltage as heat. For 230V β†’ 5V conversion, that means burning off 225V worth of energy β€” wildly inefficient (often less than 2%).

How Switching Converters Are Different

Instead of wasting energy as heat, switching converters rapidly turn the input on and off (at 50,000–200,000 Hz!) to control the average energy delivered.

Inside Your Phone Charger β€” Step by Step

Stage 1: EMI Filter

The mains voltage first passes through an EMI filter (inductors + capacitors) to prevent high-frequency noise from going back into the mains.

Stage 2: Rectification

A bridge rectifier (4 diodes) converts AC to pulsing DC. The large capacitor smooths this to ~325V DC.

Stage 3: Primary Switch

A MOSFET switches the 325V DC on and off at high frequency. The switching IC controls the duty cycle based on output voltage.

Stage 4: Transformer

A ferrite-core transformer steps down the high-frequency pulsing voltage. High frequency means a tiny transformer!

Stage 5: Output Rectification

Schottky diodes (fast-switching) rectify the transformer secondary output.

Stage 6: Output Filter

Final LC filter produces clean DC output.

Stage 7: Feedback

An optocoupler sends feedback from output to primary β€” maintaining tight voltage regulation while keeping isolation.

Efficiency Numbers

Type Typical Efficiency
Linear regulator < 40%
Basic switcher 80-85%
Modern GaN charger 92-96%

GaN Technology

Modern fast chargers use Gallium Nitride (GaN) MOSFETs instead of silicon. GaN can switch at higher frequencies with less heat β€” enabling the ultra-compact 65W chargers!

⚠️ Safety Warning: Never open a phone charger without proper training. Mains voltages are lethal. This teardown is for educational purposes only.

Share this article