Complete SMPS Mobile Charger Circuit Schematic with Step-by-Step Explanation

smps mobile charger circuit diagram

Begin with a flyback topology for low-power adapters–it simplifies isolation and minimizes component count. Use an N-channel MOSFET (e.g., IRF740) rated for at least 600V to handle transient spikes during switching. A 100kHz–200kHz PWM controller like the TNY268 or OB2269 balances efficiency and cost, reducing core losses in the transformer.

Select a ferrite core (e.g., EE16 or EI19) with a primary inductance of 500–800µH for optimal energy transfer. Wind the primary with 28–30 AWG wire, ensuring a turns ratio of 1:10 to 1:12 for 5V output. Secondary winding demands thicker wire (22–24 AWG) due to higher current–0.5A to 1.5A depending on load.

Critical feedback components include a TL431 shunt regulator and an optocoupler (PC817) for galvanic isolation. Place a 10µF X5R/X7R ceramic capacitor near the output to stabilize voltage under dynamic loads. Snubber circuits (an RC network across the MOSFET) suppress ringing–typical values are 470Ω and 220pF.

Avoid omitting input filtering: a 10µF electrolytic capacitor (400V) and a 100nF film capacitor in parallel absorb EMI. Use a fast-recovery diode (UF4007) on the secondary–schottky diodes (SB560) introduce excessive leakage at higher temperatures. Test with a variable load (0–2A) to validate efficiency above 75% across the range.

Layout prioritizes short, wide traces for ground and high-current paths. Keep the feedback loop away from switching nodes to prevent noise coupling. Thermal pads for the MOSFET and diodes must connect to a copper pour (50mm² minimum) on the PCB to dissipate heat passively.

Designing a High-Efficiency Power Adapter for Compact Devices

Select a flyback topology for your adapter design if output power demands stay under 30W, as it simplifies isolation requirements while maintaining efficiency above 85%. Pair an STMicroelectronics VIPer22A or Power Integrations TNY268 controller with a high-voltage MOSFET rated for 700V to handle input surges; this combination delivers stable performance across 90-264VAC input ranges without additional PFC components.

Use a 0.5Ω current-sense resistor on the MOSFET source to limit peak currents to 1.2A, preventing transformer saturation during transient loads. The primary winding should consist of 42 turns of 0.25mm enameled wire on an EF16 core, while secondary windings require 5 turns of 0.4mm wire for 5V output. Add a tertiary winding with 8 turns to power the controller, ensuring it maintains regulation even under no-load conditions.

Implement output filtering with a 470μF low-ESR capacitor and a 1N5819 Schottky diode, which reduces voltage drop to less than 0.3V during 1A load currents. Place a 1kΩ resistor in series with the optocoupler LED (PC817) to improve feedback stability; this prevents overshoot during power-on sequences. Add a varistor across the input terminals, specified for 275VAC clamping voltage, to suppress spikes exceeding 1.5kV.

  • Adjustable output voltage: Replace fixed feedback resistors with a 10kΩ potentiometer to support 3.3V-12V outputs, enabling compatibility with multiple battery chemistries.
  • Over-temperature protection: Mount a 10kΩ NTC thermistor near the transformer to shut down the controller if temperatures exceed 110°C.
  • EMI compliance: Use a common-mode choke (2x10mH) and X2-class capacitor (0.1μF) to meet CISPR 22 Class B limits without shielded enclosures.

For layout optimization, keep high-current paths shorter than 10mm and separate analog feedback traces from switching nodes by at least 2mm to minimize noise coupling. Use a 2-layer PCB with 2oz copper thickness for the primary side, reducing conduction losses by 18% compared to standard 1oz designs. Verify the snubber circuit (1kΩ resistor + 2.2nF capacitor) across the MOSFET drain-source to dampen ringing at 1.2MHz, which improves efficiency by 3%.

Test load regulation under pulsed currents (0.2A to 2A at 1kHz) using an oscilloscope with differential probes; expect transient response times below 200μs with less than 50mV deviation. For production variants, replace the TNY268 with the TNY280 for integrated line-sensing, reducing external component count by 20%. Ensure creepage distances meet IEC 60950 standards by maintaining 4mm clearance between primary and secondary circuits.

Key Components Required for a 5V Switching Power Adapter

Start with a flyback transformer (EE16 core or similar) rated for 1.5-2 A output, ensuring primary inductance between 600-900 µH at 100 kHz switching. Pair it with a controller IC like the OB2269 or TNY268PN, which integrates MOSFET, feedback regulation, and overcurrent protection. For input rectification, use a bridge rectifier (e.g., DB107) with 1 A/1000 V rating, followed by a 22 µF/400 V electrolytic capacitor to smooth AC ripples. Add a 1N4007 diode on the secondary for output rectification, supplemented by a 220 µF/10 V low-ESR capacitor to minimize voltage spikes.

For feedback stability, incorporate an optocoupler (PC817) and a TL431 shunt regulator with precise 2.5 V reference. Include a 47 kΩ resistor between TL431’s cathode and output to set voltage, and a 1 kΩ resistor on the feedback pin to dampen oscillations. Protect the primary MOSFET with a 10 Ω/1 W resistor in series with its drain and a 100 nF/1 kV snubber capacitor across it to absorb spikes. Ensure thermal stability by mounting the controller IC and MOSFET on a 10-15 cm² heatsink if ambient exceeds 50°C.

Building a Compact Power Supply Unit Without Magnetic Cores

Select a high-voltage capacitor (e.g., 2.2 μF/400V) as the primary energy storage element for the input stage. Connect its terminals across the AC mains input, ensuring polarity is irrelevant but voltage rating exceeds peak mains voltage (311V for 220V AC). Place a 1MΩ resistor in parallel to safely discharge residual charge when disconnected.

Voltage Regulation and Clamping

Insert a zener diode (12V/1W) between the capacitor’s output and ground to clamp the voltage. For precision, opt for a TL431 adjustable shunt regulator instead, configuring it to 5.1V with a 2.2kΩ resistor from cathode to reference and a 4.7kΩ resistor from reference to anode. This replaces the zener with tighter tolerance.

Add a 1N4007 rectifier diode after the energy storage component to convert AC ripple to DC. Position it in series with the output line, anode facing the capacitor. For faster switching, use a 1N5819 Schottky diode (40V/1A), reducing forward voltage drop to ~0.3V. Ensure the diode’s reverse voltage rating exceeds the clamped output by 20% minimum.

Combine a 100μF/25V electrolytic capacitor and a 0.1μF ceramic capacitor at the output to filter noise and stabilize voltage. Mount the ceramic directly across the load terminals to suppress high-frequency transients. Avoid exceeding the electrolytic’s ripple current rating–calculate using Iripple = Vout × 0.3 / XC (where XC = 1 / (2πfC)).

For current limiting, integrate a 1Ω/1W resistor in series with the output. Monitor voltage drop across it using a multimeter; a 0.7V drop indicates ~700mA load. Replace with a PTC thermistor (e.g., 1.1A trip current) for self-resetting overload protection. Solder components on a perfboard with 2.54mm pitch, minimizing trace lengths to reduce EMI.

Test the setup with a dummy load (e.g., 10Ω/5W resistor). Verify output voltage under load–deviations over ±5% suggest inadequate regulation. Adjust the shunt regulator’s resistors in 5% increments until stable. Enclose the assembly in a non-conductive housing, ensuring no exposed leads exceed 40V for safety compliance.

Common Mistakes to Avoid When Soldering Power Supply Boards

Always apply flux to component leads and pads before soldering. Skipping this step leads to weak joints and cold solder connections, which fail under thermal stress or vibration. Use no-clean rosin flux for general purposes, but switch to water-soluble flux for high-reliability assemblies that require post-solder cleaning. Ensure flux coverage is uniform; visible gaps increase the risk of oxidation during heating.

Control soldering iron temperature between 320°C and 380°C. Excessive heat–above 400°C–damages semiconductors, capacitors, and PCB traces, while temperatures below 300°C result in insufficient wetting. For lead-free solder (Sn96.5/Ag3/Cu0.5), aim for 350°C ±10°C. Use a calibrated temperature-controlled iron, not a fixed-power unit, and perform a test joint on scrap PCB to verify settings before proceeding.

  • Wrong solder alloy: Lead-based (Sn63/Pb37) melts at 183°C but degrades at sustained high temps; lead-free requires precise heat control to prevent embrittlement.
  • Incorrect tip size: A 0.8mm chisel tip suffices for 0603 passives; a 1.2mm tip overheats fine-pitch ICs (0.5mm pitch).
  • No preheating for large ground planes: Preheat the board to 120°C–150°C for 30 seconds to avoid thermal shock and ensure even flow.

Misaligned components cause bridging and electrical shorts. Hold SMD parts with tweezers against the pads, then tack one end with the iron while applying minimal solder. Verify alignment under 10x magnification before soldering the remaining joints. For through-hole parts, secure the component with masking tape on the reverse side before soldering to prevent misplacement during cooling.

Neglecting post-solder inspection leads to latent defects. Use a multimeter in continuity mode to check for bridges between adjacent pins (≤0.2Ω indicates a short). Inspect joints under magnification: dull gray appearance or sharp peaks suggest cold joints or insufficient wetting. Clean flux residues with isopropyl alcohol (≥90%) within 1 hour to prevent conductive corrosion, especially in high-impedance feedback loops.

Store PCBs in a low-humidity environment (≤10% RH) before soldering. Boards exposed to >30% RH absorb moisture, causing delamination or popcorning during reflow. For pre-assembled boards, bake at 125°C for 2–4 hours to remove absorbed moisture before any soldering work. Keep desiccant packs inside storage containers–silica gel turns pink at 40% RH, indicating saturation.