Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Precision Programmable Laboratory Power Supply

Русская версия

A hardware development project for a galvanically isolated, fully programmable laboratory power supply. The design combines a tracking synchronous buck preregulator with a fast linear post-regulator to provide high efficiency without giving up low output noise.

Development status: the electrical schematic is complete for the current revision. PCB layout and firmware are in development. The limits below are design targets and have not yet been fully verified on finished hardware.

Target specifications

Parameter Target / current design
Output voltage 0–50 V programmable; expected practical lower limit approximately 20–50 mV
Voltage setting increment approximately 0.84 mV; 1 mV user step
Current setting increment 1 mA in firmware
Output ripple no more than 1 mV target
Present transformer capability approximately 5–6 A continuous, 8 A peak
Power-stage design target up to 10 A after the transformer upgrade
Operating modes CV, digital CC, programmable foldback, controlled output ramps
Controller STM32G474
Voltage reference and DAC REF5025 + 16-bit DAC8830
Voltage/current monitor 20-bit INA228 with a Kelvin-connected 10 mΩ shunt

Full schematic

The schematic is an A1 sheet. Open the SVG directly for lossless zoom.

Full laboratory PSU schematic in English

Russian schematic

How it works

The mains front end is based on a modified 500 W ATX supply. Its active PFC stage creates an approximately 380 V DC bus, followed by a two-switch forward converter that provides galvanic isolation and an approximately 55 V secondary rail.

An STM32G474 controls a synchronous buck stage through HRTIM. The buck output tracks the requested output voltage while maintaining only about 2–2.5 V across the linear pass MOSFET. A damped C–L–C filter attenuates switching components before the OPA454-based linear post-regulator removes the remaining ripple.

A 16-bit DAC8830 and REF5025 establish the voltage setpoint. An INA228 measures terminal voltage and shunt current; firmware implements the programmable current limit and foldback characteristic. Fast short-circuit interception does not depend on that digital loop: the STM32 analog front end drives the hardware comparator and HRTIM break input, while firmware simultaneously clears the voltage DAC and opens the output relay.

The output stage also includes reverse-polarity detection, external-voltage detection before relay closure, overvoltage protection, backfeed supervision, a fuse, surge clamps, thermal monitoring, and an independent thermal relay interlock.

Documentation

Safety

This project contains rectified mains and an approximately 380 V DC bus. It is an engineering prototype, not a certified product. Construction and testing require appropriate isolation, current limiting, discharge procedures, protective equipment, and experience with lethal-voltage power electronics.

About

Precision 0–50 V programmable laboratory PSU with 1 mV/1 mA setting steps, hybrid synchronous-buck + linear regulation, STM32G474 control, INA228 metering, and layered hardware protection.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors