Complete SMPS Power Supply Circuit Design with Explanation and Schematic

smps power supply circuit diagram

For a 12V to 5V switching regulator, use the LM2596 buck converter IC with an input capacitor rated at 470µF/25V, an output capacitor of 220µF/10V, and a 33µH inductor. The feedback resistors should split the output voltage at a ratio of 1.23V reference–calculate values using R1 = 1kΩ and R2 = 1.5kΩ for precise regulation. Diode selection matters: choose a Schottky 1N5822 to minimize forward voltage drop and thermal losses.

High-frequency switching demands attention to PCB traces. Route the ground plane beneath the IC, keeping the path from the inductor to the diode under 15mm to reduce radiated noise. Thermal vias under the LM2596’s exposed pad should connect to a copper pour on both top and bottom layers, sized for ≥1W dissipation. For input filtering, add a 0.1µF ceramic capacitor directly across the IC’s input pins, as close as physically possible.

Isolation in offline designs requires a flyback transformer with a turns ratio of 5:1 for 110VAC input. Wind the primary with 0.2mm enameled wire, ensuring ≥3mm creepage between windings for safety compliance. Use a UC3843 PWM controller, pairing it with a 1nF timing capacitor and a 10kΩ resistor to set a 100kHz switching frequency. Snubber components–2.2nF/1kV capacitor and 47Ω resistor–across the MOSFET drain-source clamp voltage spikes.

Efficiency hinges on component tolerance. Opt for ±5% inductors and X7R dielectric capacitors to maintain stability across temperature swings. Test load regulation with a 1A to 3A step; overshoot should stay under 50mV. For EMI suppression, add a common-mode choke on the input, followed by a 470pF Y-capacitor to earth ground.

Key Elements of a Switching-Mode Converter Layout

Select a flyback transformer core based on output load demands–ferrite ETD or EFD types offer superior flux density handling for high-frequency operations. For 50W outputs, use an ETD29 core with 3C90 material; beyond 100W, upgrade to ETD39 with air gap calculations adjusted to prevent saturation at 100kHz switching.

Implement synchronous rectification for outputs above 12V to reduce forward voltage drops. Replace Schottky diodes with MOSFETs like the IRFB4110 (100V/0.008Ω) for 5V rails, cutting conduction losses by 40%. Gate driving requires isolated signals; opt for dedicated drivers like the UCC21520, which delivers 4A peak output with 15ns propagation delay.

Component Key Specification Recommended Part
Primary MOSFET 800V/10A, RDS(on) ≤ 0.3Ω IPP60R380P6
PWM Controller 65kHz–1MHz, 1% accuracy LTC3780
Output Capacitor 105°C, ESR ≤ 5mΩ Nichicon UHE1V222MPD

Isolate feedback loops using digital isolators (e.g., Si86xx series) for noise immunity. For 24V outputs, a 1:1 optocoupler like the PC817 introduces 20μs delay–replace with faster TLP2745 (3μs) to stabilize transient response. Compensation networks must account for dominant pole at 10Hz; use a type-III network with 10kΩ, 10nF, and 1μF components for crossover at 1kHz.

Thermal management dictates PCB layout: prioritize copper pours under switching elements, with 2oz copper for currents exceeding 5A. Heatsinks for TO-220 MOSFETs should have thermal resistance ≤ 1°C/W; attach with indium solder for high-frequency vibration resistance. Snubber circuits require precision–select 1W/2kV capacitors like KEMET’s R46KN31005000K for 500V peak recovery absorbtion.

Key Components of a Switch-Mode Converter and Their Roles

Start with a high-voltage rectifier bridge (e.g., GBU4J) to convert AC mains into unregulated DC. Ensure the bridge’s current rating exceeds your load by at least 30% to handle surge transients during startup. Pair it with a surge-limiting thermistor (NTC 5D-15) to protect against inrush currents, which can reach 10–20× the steady-state draw. For 230VAC inputs, use a minimum 600V/4A bridge; below 110VAC, a 400V/6A part suffices.

Energy Storage and Regulation

  • Primary bulk capacitor (e.g., 220µF/450V): Select based on hold-up time (typically 20ms) and ripple current (
  • Switching element: For ds(on) DS >600V is optimal. Above 300W, use an IGBT (e.g., IKW40N120T2) with lower conduction losses.
  • PWM controller (NCP1253): Set switching frequency between 65–150kHz–higher frequencies reduce magnetics size but increase MOSFET losses. Include soft-start (

Add a flyback diode (UF4007) across the switching element to clamp inductive kickback; its 1A/1000V rating is adequate for snubber network (27Ω + 2.2nF/1kV) to suppress voltage spikes (>150V/µs) that exceed the diode’s reverse recovery.

For feedback, use an optocoupler (PC817) with a TL431 reference to regulate output within ±5%. Isolate high-voltage (HV) and low-voltage (LV) grounds with a >2kV-rated optocoupler. On the LV side, a pi filter (inductor: 10µH/5A + capacitors: 470µF/25V) reduces ripple to pp for sensitive loads (e.g., MCU).

Step-by-Step Winding Guide for a Flyback Converter Transformer

smps power supply circuit diagram

Begin by securing a toroidal or EE/EI core rated for your target voltage and frequency–typically 50–150 kHz for narrow-profile designs. Select magnet wire with enamel insulation compatible with your temperature class (e.g., Class F for 155°C). Verify the wire gauge using the awg-to-mm² conversion chart: 22 awg (~0.326 mm²) handles 1 A with 40% margin for 10 W outputs.

Primary Winding

Calculate turns using Np = (Vin × 10⁶) / (4 × f × Bmax × Ae), where:

  • Vin: Minimum input voltage (e.g., 90 VAC rectified)
  • f: Switching frequency (e.g., 100 kHz)
  • Bmax: Core saturation limit (0.3 T for ferrite)
  • Ae: Effective cross-sectional area in mm² (check datasheet)

Wind primary turns tightly, layer by layer, avoiding gaps. Use bifilar winding if driving synchronous rectifiers to reduce leakage inductance. Secure wire ends with high-temperature tape (Kapton) to prevent shorts.

Secondary and Auxiliary Windings

Derive secondary turns via Ns = Np × (Vout + Vd) / Vin_min, where Vd is diode forward drop (0.7 V for Si, 0.3 V for Schottky). For multiple outputs:

  1. Wind the highest-voltage secondary first, closest to the primary.
  2. Sandwich lower-voltage windings between layers to minimize coupling capacitance.
  3. Use interleaved winding for outputs >5 W to lower ripple: e.g., primary (half) → secondary → primary (remaining half).

Auxiliary windings (e.g., bias for control ICs) should be wound last with fine wire (e.g., 32 awg) and grounded shielding between layers to suppress noise.

Terminate windings on PCB pads with 3–5 mm leads, twisting pairs for differential currents. Validate winding directions: primary dot-phase must match secondary dots per schematic to ensure correct polarity. Test inductance with an LCR meter–deviations >10% indicate gaps or misalignment.

Apply a final layer of insulating varnish (e.g., polyurethane) to fix windings in place before potting. For EMI compliance, add a copper foil shield over the outermost layer, connected to the chassis ground but not routed to the main return path.

Measure leakage inductance with a short-circuit test: short secondary, pulse primary at 100 kHz, and measure primary inductance. Typical values range 1–5% of primary inductance. Excessive leakage (>8%) requires revisiting winding geometry or core gap adjustment.

Toroidal cores demand hand-winding: thread wire through the center hole, maintaining consistent tension to avoid core stress fractures. For EE/EI cores, alternate winding directions per layer to balance flux distribution. Document turns per layer for reproducibility–use a vernier caliper to ensure wire occupies

Final step: verify isolation with a hipot tester at 3 kV for 60 seconds between windings, and between all windings and the core. Record DCR (DC resistance) for each winding–primary

Calculating Input Capacitor and Output Inductor Values for Stability

Select an input capacitor (Cin) based on the RMS current ripple requirement, typically 1μF per watt for universal input ranges (85-265VAC). For a 60W converter, use 60μF minimum with X7R or X5R ceramic (voltage rating ≥ 400V) or low-ESR electrolytic (105°C). Reduce ESR by paralleling smaller capacitors if ripple exceeds 5% of nominal input voltage. The capacitor’s self-resonant frequency must exceed twice the switching frequency (e.g., 200kHz for 100kHz switching) to avoid impedance peaking.

Determine the output inductor (L) using ΔI = (Vin – Vout) * Ton / L, where ΔI is the desired ripple current (20-40% of load current for stability). For a buck converter with 12V output, 5A load, and 36V input at 100kHz, target L = 33μH (ΔI ≈ 1A). Use ferrite cores (e.g., PC40 or 3C90) with gapped core to prevent saturation at peak currents. Verify saturation margin by ensuring Bmax for ferrite; adjust turns or core size if needed.

Common PWM Controller ICs and Their Pinout Configurations

The UC3843 remains a go-to choice for fixed-frequency current-mode designs due to its simplicity and reliability. Pin 1 (Comp) adjusts error amplifier output, while Pin 2 (Vfb) accepts feedback voltage. Pin 3 (I Sense) monitors current via a shunt resistor, and Pin 4 (RT/CT) sets oscillator frequency with an external resistor-capacitor network. Pin 5 (GND) grounds the IC, Pin 6 (Output) drives the gate of the switching element, and Pin 7 (Vcc) powers the controller. Pin 8 (Vref) provides a stable 5V reference for auxiliary circuits. For best results, decouple Vcc with a 0.1µF capacitor placed as close as possible to the IC.

For synchronous designs, the TPS40200 offers versatility with its adjustable switching frequency (up to 1MHz) and built-in soft-start. Pin 1 (EN) enables or disables the IC, while Pin 2 (SS) connects to a capacitor to set the soft-start time. Pin 3 (COMP) interfaces with an error amplifier, and Pin 4 (FB) receives the feedback signal. Pin 5 (GND) serves as the ground reference, and Pin 6 (SW) connects to the switching node. Pin 7 (VO) regulates the internal LDO, and Pin 8 (VIN) accepts the input voltage. Ensure the feedback network uses precision resistors (1% tolerance) to maintain regulation accuracy.

High-performance applications often rely on the LT3748, which integrates a 100V power switch and fault protection. Pin 1 (VIN) tolerates wide input ranges (up to 100V), while Pin 2 (SHDN) enables shutdown mode. Pin 3 (RT) sets the oscillator frequency via an external resistor, and Pin 4 (SYNC) allows external clock synchronization. Pin 5 (FB) senses output voltage, and Pin 6 (ITRACK) supports multi-output tracking. Pin 7 (GND) is the reference point, and Pin 8 (SW) drives the external MOSFET. For optimal thermal management, use a 4-layer PCB with dedicated ground planes to minimize noise coupling.

The NCP1251 excels in flyback converters with its valley-switching architecture and low standby power. Pin 1 (HV) connects directly to the high-voltage input for startup, while Pin 2 (VCC) powers the IC after startup. Pin 3 (FB) monitors the output via an optocoupler, and Pin 4 (Demag) detects transformer demagnetization for valley switching. Pin 5 (GND) grounds the controller, and Pin 6 (DRV) drives the MOSFET gate. Pin 7 (RT) sets the maximum switching frequency, and Pin 8 (Skip/Latch) configures skip-cycle or latch-off protection. Keep trace lengths between Pin 4 and the transformer auxiliary winding minimal to avoid false demag detection.

For multi-phase designs, the ISL6726 supports up to 4 phases with precise current sharing. Pin 1 (VCC) requires a stable 12V input, while Pin 2 (EN) enables the IC. Pin 3 (RT) sets the switching frequency, and Pin 4 (SS) connects to a soft-start capacitor. Pin 5 (FB) interfaces with the voltage feedback loop, and Pin 6 (COMP) connects to compensation components. Pins 7-10 (CSA-CSD) handle current-sense inputs for each phase, and Pins 11-14 (GATEA-GATED) drive the external MOSFETs. Use a star-point grounding scheme to prevent ground loops between phases.

When selecting a SG3525, note its fixed 50% maximum duty cycle, making it ideal for push-pull topologies. Pin 1 (Inv Input) connects to the inverting input of the error amplifier, while Pin 2 (Non-Inv Input) connects to the reference voltage. Pin 3 (Sync) allows external clock synchronization, and Pin 4 (OSC Out) provides a clock output. Pin 5 (CT) sets the oscillator timing with a capacitor, and Pin 6 (RT) uses a resistor for frequency adjustment. Pin 7 (Discharge) connects to RT/CT for timing, while Pin 8 (Soft Start) ramps up the output voltage. Pins 9 (Comp) and 10 (Shutdown) handle compensation and shutdown, respectively. Pins 11-14 (Output A/B) drive complementary outputs with dead-time control. Always decouple the reference (Pin 16) with at least 0.1µF to minimize noise-induced errors.