Mobile Charger Circuit Diagram: SMPS 5V USB Design
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
- 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.
- 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.
- 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.
- 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.
- 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.
- 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 levels | 5 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 standards | IEC 62368-1 (superseding IEC 60950-1), CE (EU), UL 60950 / UL 62368 (North America), RCM (Australia/NZ) |
Safety warnings
- This diagram is for reference and educational purposes only. Mobile charger circuits contain lethal voltages on the primary side: the bulk capacitor charges to approximately 325 V DC (230 V AC markets) or 170 V DC (120 V AC markets) and retains this charge for several seconds to minutes after the charger is unplugged. Never open or probe a mains-connected or recently disconnected charger without appropriate training, test equipment, and safety precautions.
- Only use mobile chargers that carry the relevant safety certification mark for your market: CE (Europe), UKCA (UK), UL or ETL (North America), SAA/RCM (Australia), or equivalent. Uncertified chargers may omit critical safety features including isolation barriers, surge protection, and fuse protection. A charger with insufficient primary-to-secondary isolation can apply full mains voltage to the USB connector and the connected device — and to the person holding it.
- Do not attempt to repair a failed mains charger unless you have professional-level electronics knowledge and are using insulated probes, isolation transformers, and a current-limiting bench supply. The primary side of the circuit is not isolated from mains even when working from a laptop charger or USB power bank — only a mains-input charger has a lethal primary rail.
- Y-class capacitors in the EMI filter bridge the primary and secondary sides of the circuit with a small capacitance for common-mode noise filtering. A failed Y capacitor can apply mains voltage to the secondary (USB output). A tingling sensation when using a device connected to a charger may indicate a failed Y capacitor — disconnect immediately and replace the charger.
- Design and manufacture of mains-connected consumer electronics for sale requires compliance with safety standards (IEC 60950-1 or IEC 62368-1 in most markets) and mandatory certification. This reference is for understanding existing circuit designs, not for designing chargers for sale or supply.
Tools needed
- Oscilloscope (minimum 100 MHz bandwidth) for waveform analysis on the secondary output
- Isolated probe or differential probe set for safe primary-side measurements
- Bench multimeter (true-RMS, for output ripple measurement and DC output accuracy)
- Variable AC bench supply or variac (for safe reduced-voltage initial testing during repair)
- Current-limiting bench supply (prevents destructive fault currents during diagnosis)
- USB load tester or electronic load (for output voltage and regulation testing under defined load)
- ESD-safe anti-static work mat and wrist strap
- Soldering iron (temperature-controlled, fine tip) for component replacement
Common mistakes
- Replacing the bulk capacitor with one rated at the same capacitance but lower voltage than the original — a 400 V capacitor replaced by a 250 V capacitor will fail destructively on a 230 V AC input circuit.
- Assuming the secondary output is safe to probe without verifying the primary is discharged — some charger designs allow the secondary to hold voltage for several seconds after unplugging, and fault conditions can present higher voltages at the output than the rated 5 V.
- Using the wrong fuse rating — replacing a 250 mA fast-blow fuse with a 2 A slow-blow fuse removes a critical protection mechanism and can allow catastrophic primary failure to cause a fire.
- Assuming that a charger which outputs 5 V on a multimeter is safe — a charger may output correct voltage under no-load but have inadequate isolation, ripple suppression, or over-voltage protection that only manifests under fault conditions.
- Selecting a secondary rectifier diode with insufficient reverse voltage rating — in a flyback converter, the secondary diode must withstand the secondary open-circuit peak voltage plus the reflected primary voltage, which can be significantly higher than the output voltage.
- Omitting or bypassing the optocoupler feedback circuit during repair, which eliminates output regulation and allows the output voltage to climb until the over-voltage protection triggers — or, if that is also absent, until components fail.
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
- automatic battery charger circuit diagram
- battery charger circuit diagram
- charger circuit diagram
- ev charger circuit diagram
- 1 to 4 demultiplexer circuit diagram
- 12v bms circuit diagram