Mobile Charger Circuit Diagram: SMPS 5V USB Design

Mobile Charger Circuit Diagram — circuit diagram showing component connectionsAC MainsStep-down TransformerD1D2Filter CapREGRegulator+-BatteryBattery Charger Circuit
Mobile Charger Circuit Diagram: SMPS 5V USB Design — interactive diagram. Open it in the editor to customise components and wiring.

This is a free printable mobile charger circuit diagram: download the diagram as SVG or open it and print to paper or PDF.

A mobile charger circuit diagram shows the switched-mode power supply (SMPS) stages — rectifier, high-frequency transformer, secondary rectifier, and voltage regulator — that convert mains AC to 5 V DC USB output.

A mains-to-USB mobile phone charger is a compact switched-mode power supply (SMPS), specifically a flyback converter topology. It is not a simple transformer-and-regulator design. Understanding the actual circuit stages explains both how it works and why cheap, uncertified chargers are dangerous.

Stage 1 — EMI filter: A small inductor and capacitor network at the mains input suppresses conducted radio-frequency interference generated by the switching circuit from feeding back into the mains wiring. Many budget chargers omit this stage.

Stage 2 — Mains rectifier and bulk capacitor: The 230 V (or 120 V) AC mains is rectified by a bridge rectifier (four diodes) to produce pulsating DC. A large electrolytic capacitor (the bulk capacitor) smooths this to approximately 325 V DC (for 230 V AC input) or 170 V DC (for 120 V AC input). This high-voltage DC rail is at full mains potential and is lethal — it remains charged for several seconds after the charger is unplugged.

Stage 3 — Switching transistor (MOSFET or BJT): A high-voltage transistor switches the primary winding of the transformer on and off at a frequency of typically 50–200 kHz, controlled by a PWM controller IC. The high switching frequency allows a very small transformer — this is why modern chargers are so compact compared to 50/60 Hz mains transformers.

Stage 4 — Flyback transformer: An isolated transformer stores energy during the on phase of the switch and delivers it to the secondary during the off phase (flyback). The transformer provides galvanic isolation between mains and the USB output — this isolation is the critical safety barrier and the reason the USB connector is safe to touch.

Stage 5 — Secondary rectifier and filter: A fast-recovery diode and output capacitor rectify the secondary voltage to produce DC. The output LC filter smooths this.

Stage 6 — Voltage regulation and feedback: A feedback circuit (optocoupler or secondary-side regulation IC) monitors the output voltage and adjusts the PWM duty cycle to maintain 5 V output regardless of load variation. Modern chargers also implement current limiting and over-voltage protection.

USB power delivery (USB PD): Higher-power chargers negotiate voltage (5 V, 9 V, 12 V, 15 V, 20 V) and current with the device using a data protocol on the USB CC pins.

How to wire mobile charger circuit diagram

  1. Identify the converter topology from the circuit diagram Most mobile chargers use a flyback converter topology. Confirm this by identifying the primary-side switching transistor (MOSFET or BJT), the flyback transformer (indicated by coupled inductors with a dot notation showing winding phase), and the secondary-side fast-recovery diode. A flyback converter has no output LC filter inductor — just a diode, capacitor, and possibly a ferrite bead.
  2. Trace the mains input path From the mains input pins, trace through the fuse (F1), EMI filter components (common-mode choke and X/Y capacitors), the bridge rectifier (four diodes or a bridge rectifier package), and into the bulk capacitor. Note the voltage rating of the bulk capacitor — it must exceed the peak mains voltage: at least 400 V for 230 V AC markets, 200 V for 120 V AC markets. A 400 V capacitor used on a 230 V AC input has only 75 V margin — borderline acceptable; 450 V is preferable.
  3. Identify the PWM controller IC and switching transistor Locate the primary-side controller IC — often a dedicated flyback controller (various manufacturers produce these). The controller drives the gate or base of the high-voltage switching transistor. Note the oscillator frequency components (resistor and capacitor setting the switching frequency), the current sensing resistor in the transistor source/emitter circuit, and the feedback input pin.
  4. Trace the transformer primary and secondary windings The flyback transformer is the most critical safety component. The primary winding connects to the high-voltage rail and the switching transistor. The secondary winding is galvanically isolated from the primary — the creepage distance (physical gap) between primary and secondary windings and between their PCB traces must meet the safety standard for the input voltage. On a certified charger, this distance is marked or verifiable against the transformer specification.
  5. Trace the secondary output circuit From the secondary winding, a fast-recovery rectifier diode conducts the flyback energy pulse into the output capacitor. A secondary-side regulation IC or resistor divider on the optocoupler feedback circuit monitors the output voltage. The output is filtered by the capacitor and, in better-quality designs, a small ferrite bead or inductor before the USB connector.
  6. Identify protection circuits Locate over-voltage protection (OVP) — typically a Zener diode or secondary-side IC that shuts down the charger if output voltage exceeds a threshold. Locate over-current or short-circuit protection — typically a current sense resistor and comparator in the primary circuit. Verify the fuse rating matches the input power (a 5 W charger at 230 V draws about 22 mA — a 250 mA fast fuse is appropriate; a 1 A fuse provides insufficient protection).

Specifications

Input voltage range (universal charger)100–240 V AC, 50/60 Hz
Output voltage (standard USB)5 V DC ± 5% (4.75–5.25 V)
Output current (typical wall charger)1 A, 2 A, or 3 A depending on model
Switching frequency (flyback converter)50–200 kHz (varies by controller design)
Primary bulk capacitor voltage (230 V AC input)~325 V DC peak (230 × √2)
USB PD output voltage levels5 V, 9 V, 12 V, 15 V, 20 V (negotiated via USB CC pins)
Efficiency (typical certified charger)> 75% at full load; > 85% for higher-quality designs
Applicable safety standardsIEC 62368-1 (superseding IEC 60950-1), CE (EU), UL 60950 / UL 62368 (North America), RCM (Australia/NZ)

Safety warnings

Tools needed

Common mistakes

Troubleshooting

Charger outputs 0 V with no output
Cause: Blown input fuse, failed primary switching transistor, failed controller IC startup circuit, or absent controller supply voltage from the auxiliary winding Fix: Check the input fuse first — it is the most commonly replaced component and is accessible without deep circuit diagnosis. If the fuse is intact, measure the bulk capacitor voltage (safely, with an insulated probe): if it charges to approximately 325 V (230 V AC input) on mains connection, the rectifier is working. Absent bulk voltage points to the rectifier or fuse. Present bulk voltage with no output points to the primary switching or controller circuit.
Output voltage is correct at no load but drops significantly under USB load
Cause: Failed or weak output filter capacitor (high ESR), inadequate feedback regulation, or secondary rectifier diode with high forward voltage drop under load Fix: Measure output capacitor ESR with an ESR meter — values significantly above the capacitor's rated ESR indicate ageing or damage. Test the output voltage at defined load steps (0.5 A, 1 A, 2 A) to characterise the regulation. Replace the output capacitor with an equivalent low-ESR type if ESR is high.
USB-connected device shows a 'not charging' or 'slow charging' indication
Cause: The charger is not providing the correct voltage or signalling on the USB D+ and D- pins to negotiate the charging current. Apple devices require a specific voltage divider on D+ and D- to indicate charger type; devices supporting USB Battery Charging (BC 1.2) or USB PD require specific signalling Fix: Verify the D+ and D- voltage levels on the charger output against the relevant USB charging specification. A charger providing only 5 V with no D+/D- signalling will be treated by most devices as a 500 mA USB port (standard host limit), not as a wall charger capable of higher current.

Frequently asked questions

Why is a cheap unbranded mobile charger dangerous even if it works?

A charger without proper certification may omit the EMI filter (causing interference), use underrated bulk capacitors (which can rupture explosively), use inadequate transformer isolation (reducing creepage distance between primary and secondary, risking mains voltage appearing on the USB output), and lack over-voltage or short-circuit protection. The USB output may appear normal at low load but become unsafe under fault conditions. Always use chargers certified to the relevant safety standard.

Why does the bulk capacitor stay charged after the charger is unplugged?

The bulk capacitor stores charge at 325 V DC (for 230 V AC input) and discharges through the circuit load. With the charger unplugged and no load on the USB output, the discharge path has very high resistance — the capacitor can remain at dangerous voltage for several seconds to minutes depending on circuit design. Certified chargers include a bleed resistor to discharge this capacitor within a safe time, but very cheap designs may omit it.

What is the difference between a constant-voltage and a constant-current charger?

A constant-voltage charger maintains a fixed output voltage (e.g. 5 V) while allowing current to vary with load — used for USB charging where the device's own battery management IC controls the charge rate. A constant-current charger maintains fixed current regardless of voltage — used in the CC phase of lithium battery charging. Most USB wall chargers are constant-voltage with current limiting; dedicated battery chargers implement both CC (constant current) and CV (constant voltage) phases.

What does USB Power Delivery (USB PD) change about the charger circuit?

USB PD chargers must be capable of delivering multiple output voltages (5 V, 9 V, 12 V, 15 V, 20 V) under control of a PD protocol IC that communicates with the device over the USB CC pins. This requires either a more sophisticated feedback loop capable of changing output voltage on demand, or multiple secondary windings. The fundamental SMPS topology (usually flyback) remains the same, but the regulation and negotiation circuitry is more complex.

Can I repair a faulty mobile phone charger?

Technically yes, but it requires electronics knowledge and appropriate test equipment (oscilloscope, high-voltage safety precautions). The most common failures are: blown input fuse, failed bulk capacitor (visually bulging or leaked electrolyte), failed primary-side switching transistor, and failed output rectifier diode. However, the primary side of the circuit operates at 325 V DC — working inside an unplugged charger with a charged capacitor carries a serious risk of electric shock. Replacement chargers are inexpensive; repair is rarely cost-effective.

Related diagrams

Free electrical calculators

Edit this diagram free in the online editor