Home / Projects / Buck-Boost Bench Supply

Buck-Boost Bench Supply

A 0–30V adjustable bench supply with active current limiting, built around a buck-boost stage so it can regulate above or below the input rail.

Overview

A simple buck converter can only step voltage down, and a boost converter can only step it up. A buck-boost stage does both from the same unregulated input rail, which is what lets this supply sweep the full 0–30V range from a single 24–36V input instead of needing multiple supply rails.

Two feedback loops run at once: a voltage loop that holds the output at the set point, and a current loop that clamps output current the moment it hits the user-set limit, switching the converter from constant-voltage to constant-current mode automatically — the same behaviour you'd expect from a commercial bench supply.

Block Diagram

DC IN24-36V U1 LTC3789buck-boost ctrlQ1–Q4 IRF540NL1 47µH 10A R1 5mΩshunt, 2W U2 INA219I2C monitor OUTPUTC2,C3 330µF U3 ATmega328P+ U4 OLED

Key Components

  • Power MOSFETs rated for the switching frequency and current used
  • Inductor sized for the ripple current target
  • Output capacitor bank for ripple filtering
  • Precision current-sense resistor with an instrumentation amplifier
  • PWM controller / MCU running the voltage and current loops
  • Rotary encoders and an OLED display for set-point control
  • Heatsink and airflow for the switching devices

Bill of Materials

RefPart / ValueRatingPackage
U1LTC3789 — synchronous buck-boost controller4.5–38V inputQFN-32
Q1–Q4IRF540N — power MOSFET100V, 33ATO-220
L1Power inductor, 47µH10A saturationShielded, 12×12mm
C1Input capacitor, 220µF electrolytic50VRadial, ⌀10×20mm
C2, C3Output capacitor, 330µF electrolytic50VRadial, ⌀10×25mm
R1Current-sense shunt, 5mΩ2W2512
U2INA219 — current/power monitor, I2C0–26V busSOT23-8
U3ATmega328P — control loop MCU1.8–5.5V, 20MHzTQFP-32
U4SSD1306 — 0.96" OLED displayI2C, 3.3VModule

Build Requirements

  • Working knowledge of switching converter topologies and loop compensation
  • A PCB layout with proper copper pour and thermal relief for the power stage
  • A calibrated multimeter and electronic load for tuning and verifying regulation
  • An isolated bench supply or transformer/rectifier front end to feed the DC input

Input / Output

InputUnregulated 24–36V DC input rail
Output0–30V DC adjustable, 0–3A adjustable current limit, switches automatically between CV and CC mode
Back to Projects