Complete SMPS Charger Schematic and Circuit Explanation Guide

For a reliable 5V/2A switched-mode adapter feeding Li-ion cells, build around the TNY268PN controller. This integrated IC combines a 700V MOSFET, oscillator, and feedback regulation in a single SO-8 package, reducing external components to under 15. Place primary-side electrolytic caps (47µF/400V) no farther than 10mm from the controller’s DRAIN pin to suppress ripple currents above 120kHz.
On the secondary, use a MBR20100CT Schottky pair for output rectification–its 100V/20A rating leaves headroom for transient loads. Add a 10µF/25V X7R ceramic directly across the output terminals; its low ESR (8mΩ) keeps voltage drop under 50mV during 2A pulses. A 470µF/16V polymer capacitor handles bulk storage, but avoid exceeding 105°C ratings–thermal runaway begins at 110°C.
Optical isolation between primary and secondary sides mandates a PC817 optocoupler. Maintain a 1:1 current transfer ratio; excessive LED drive current (>5mA) will saturate the internal phototransistor, causing output overshoot. Feedback resistors (51kΩ + 2.2kΩ) set the output to 5.05V ±1%, compensating for diode forward drops at room temperature.
For EMI suppression, wind the transformer primary and secondary on separate bobbins; interleaving layers increases capacitance between windings, amplifying common-mode noise above 5MHz. A 2.2nF/250V Y-capacitor tied between primary ground and secondary ground attenuates radiated emissions by 18dB. Incorporate a 1mH common-mode choke on the AC input–the WE-CMB1270 handles 2.8A RMS current, meeting Class B limits without saturation.
Thermal design: Mount the TNY268PN on a 1.2mm FR-4 copper pad (minimum 600mm²) ; neglecting this causes junction overheating at 1.2A continuous load. Insert a 5Ω/1W fusible resistor in series with the primary winding–it acts as a sacrificial element under short-circuit, blowing within 30ms at 3x rated current.
Step-by-Step Power Supply Design Blueprint for Device Recharging

Select a flyback topology for low-to-medium power applications (under 100W), as it simplifies isolation and reduces component count. Begin with a 50-100 kHz switching frequency to balance efficiency and magnetic core losses. Use an offline regulator IC like the UC3843 or TOP258PN–these integrate protection features without requiring external feedback loops. Ensure the input capacitor (typically 47–220 µF, 400V) handles the peak inrush current; calculate its ripple rating at 2–5% of nominal voltage.
Design the transformer with a turns ratio targeting 5–15V output for standard USB or barrel-jack rechargeables. Use ETD or EFD cores (e.g., ETD29) with 3C90 or 3F3 ferrite material for minimal hysteresis loss. Wind the primary with 0.3–0.5 mm wire, ensuring spacing between layers to prevent arcing at 2 kV isolation standards. The secondary should use litz wire (10–20 strands, 0.1 mm each) if the output exceeds 3A to reduce skin-effect losses.
Implement a two-stage EMI filter at the input: first, a common-mode choke (e.g., 2x 10 mH) followed by X2/Y2 capacitors (470 pF for Y-cap, 0.1 µF for X-cap). Place a TVS diode (P6KE200A) across the rectifier bridge to clamp voltage spikes during load transients. For feedback, use an optocoupler (PC817) with a 4.7 kΩ pull-up resistor on the isolated side; this maintains regulation while meeting UL 60950 isolation requirements.
Choose a Schottky rectifier (SB560) for the output to minimize forward voltage drop (~0.3V at 5A). Add a π-filter (2x 100 µF low-ESR capacitors + 10 µH inductor) to suppress high-frequency noise below 50 mV peak-to-peak. Program the output voltage via a precision resistor divider (1% tolerance); a 10 kΩ (top) + 3.3 kΩ (bottom) ratio targets 5.0V with a 2.5V reference IC.
Incorporate overcurrent protection by adding a current-sense resistor (0.05 Ω, 1W) in series with the primary ground. Set the UC3843’s internal comparator to trip at 120% of nominal load (e.g., 6A for a 5A design). Add a soft-start circuit (10 µF capacitor + 100 kΩ resistor) to limit inrush current to 2x steady-state, protecting both the input fuse (250V, 3A slow-blow) and downstream components.
For thermal management, mount the switching MOSFET (IRF840) and Schottky diode on a heatsink achieving 10°C/W thermal resistance. Use thermal vias (minimum 10 vias, 0.5 mm diameter) under the MOSFET’s pad to transfer heat to an internal ground plane. Finalize the layout by keeping high-current paths (<1 Ω trace impedance) short and wide (2 mm per ampere), separating noisy traces (e.g., gate drive) from sensitive analog signals (2 mm clearance). Validate performance with a load-step test (0–100% load) to ensure ±5% regulation and <20 ms recovery time.
Critical Elements of a High-Frequency Power Converter Design
Start with a flyback transformer rated for at least 30% above your target output wattage to prevent core saturation and reduce audible noise. For a 60W output, select a ferrite core with an AL value between 2000-3000 nH/T², such as TDK’s PC44 or EPCOS’ N87 material, ensuring minimal hysteresis loss at 100kHz+ switching frequencies. Pair it with 105°C-rated magnet wire (minimum 22 AWG for primary, 26 AWG for secondaries) to handle peak currents without overheating. Isolate windings with three layers of 0.05mm polyester tape per safety standard IEC 60950, maintaining ≥3mm creepage for 240VAC inputs.
Use a PWM controller IC with built-in overcurrent protection–Texas Instruments’ UCC28C40 or On Semiconductor’s NCP1251A are optimal for battery-fed applications. Configure the feedback loop with a precision 0.1% tolerance shunt regulator (e.g., TL431) and a type-3 compensation network (two poles, one zero) to stabilize output under varying loads. For input filtering, combine a 4.7μF X2-class capacitor with a common-mode choke (≥15mH inductance) to suppress conducted EMI below CISPR 22 Class B limits. Heat management requires a TO-220 package FET (e.g., Infineon’s IPW60R041C6) mounted on a min. 20cm²/side heatsink for 2W power dissipation, assuming 25°C ambient.
Step-by-Step Assembly of a Switching Power Supply Board Layout

Begin by verifying the PCB footprint matches component datasheets–tolerance for high-voltage capacitors (X2/Y2 class, 400V+) must align with trace spacing of ≥2.5mm for 230VAC inputs. Position the primary MOSFET (e.g., STF20N60M2) and flyback diode (UF4007) first, ensuring thermal vias (0.5mm diameter, 6+ per pad) connect directly to an internal ground plane to dissipate ≥5W. Use a 2oz copper layer for primary traces handling >1A; secondary outputs (5V/12V) may suffice with 1oz copper but require solder mask-defined pads for SMD resistors (0805 or smaller) to prevent bridging.
Critical Trace Routing and Component Placement

| Stage | Component | Trace Width (mm) | Spacing (mm) | Notes |
|---|---|---|---|---|
| AC Input | MOV (10D471K) | ≥2.0 | ≥3.0 | Place immediately after fuse; avoid sharp corners. |
| Primary | Flyback transformer | ≥3.5 | ≥2.5 | Keep traces symmetrical; use kelvin sensing for feedback. |
| Secondary | Schottky diode (10A/40V) | ≥4.0 | ≥2.0 | Mount on thermal pad with 4 vias for ≤30°C/W. |
| Feedback | TL431/Opto (PC817) | ≥0.5 | ≥0.8 | Route away from switching nodes; shield with ground polygon. |
Stencil a 0.1mm-thick solder paste layer for ICs (e.g., UC3843); hand-soldering risks tombstoning on 0402 resistors (≤1% tolerance for current sensing). Test continuity with a 10x oscilloscope probe–expect
Common Troubleshooting Issues in Power Supply Adapters
Check for blown fuses first–this often indicates an overload or short. Use a multimeter in continuity mode to verify. If the fuse is intact but the unit fails to power on, inspect the input rectifier diodes (typically a bridge configuration). False triggers in inrush current limiters or thermistors can also cause silent failures; test resistance values against the datasheet specs.
Voltage Regulation Failures

Measure output rails at no load and full load. A drop exceeding 5% suggests faulty feedback components. The optocoupler (e.g., PC817, SFH6156) commonly degrades–replace if forward voltage exceeds 1.2V. Check the TL431 shunt regulator: its reference pin should read 2.5V ±2%. Cold solder joints on the primary controller IC (like UC384x, VIPER series) often mimic regulation issues–reflow suspect pads.
- Output capacitors (usually low-ESR types): bulging, leaking, or ESR >0.5Ω warrants replacement.
- Snubber networks (RCD clamps): failed R values cause spikes damaging MOSFETs.
- Gate drive resistors: open circuits stop switching; values typically 10–47Ω.
Overheating and Noise Problems
Thermal shutdown usually points to inadequate cooling or failed heatsinks. Verify MOSFET case temperatures stay below 85°C (IRFZ44N, IRFP460). Excessive ripple (>200mVpp) often stems from failed output capacitors–swap with same-value, low-ESR types. Audible whining indicates flux leakage; shield transformer gaps with copper tape grounded to the chassis.
- Check EMI filters: common-mode chokes should measure 0.1–10mH.
- Verify switching frequency: drift >±10% typically means faulty timing resistors.
- Inspect solder masks: carbonized tracks conduct leakage currents.
False short-circuit protection trips may stem from incorrect sense resistor values. For a 2A supply, use a 0.2Ω resistor ±1%. Replace any visibly discolored resistors immediately. If the supply operates intermittently, suspect dry joints on filter inductors–reflow and add strain relief. Always confirm secondary rectifier diodes (e.g., SB560, SF24) aren’t leaking; reverse leakage should not exceed 1mA at rated voltage.