Loading files…
Goal: Build a multi-phase, MCU-controlled high-power buck converter to act as a current amplifier for a linear lab power supply (30V/5A) at lower voltages.
Project Scope:
The system is split into two primary domains: the digital control stage, centered around the STM32G474's advanced power-control peripherals, and the power stage, featuring dedicated gate drivers and power MOSFETs.
The power stage consists of two identical, interleaved synchronous buck topologies:
Great care was taken during the PCB routing phase to minimize radiated and conducted emissions:
The control circuitry relies heavily on the STM32G474's internal mixed-signal capabilities. Additionally, the system features a local user interface: a rotary encoder is connected to a hardware timer in encoder mode, allowing the user to adjust voltage and current setpoints on the fly, which are displayed on an integrated 16x2 LCD.
The core of the project is its dual-loop control scheme, leveraging the specific hardware accelerators of the STM32G4 family:
WDATA register, where a Proportional (P) control algorithm is calculated in hardware.RDATA register, it generates an interrupt. The MCU core wakes up, applies corrections for phase current mismatch, and writes the new duty cycle to the HRTIM CMP1xR register.Testing was conducted in progressive stages to ensure system stability and safety:
1. Controller Verification (No Power Stage): Feedback voltages were injected directly into the digital section to validate the software. Interleaving, dead-time insertion, duty cycle adjustment, soft start, current balancing, and overcurrent protection were all verified before high voltage was applied.
2. Real-World Ripple Testing: With the power stage assembled and hooked to a 25V lab supply, the output voltage ripple was measured at no load.
The dual-phase interleaved topology yielded a voltage ripple of just 7mVp-p. Compared to single-phase operation (which measured 35mVp-p), interleaving provided an 80% reduction in ripple purely through topology.
3. Efficiency Analysis: The converter was tested across its full operating range using an electronic DC load.
| Input Volts (V) | Input Current (A) | Output Volts (V) | Output Current (A) | Efficiency (%) |
|---|---|---|---|---|
| 25.12 | 0.077 | 12.03 | 0.000 | 0.00 |
| 25.12 | 0.218 | 11.91 | 0.299 | 64.82 |
| 24.98 | 0.538 | 11.16 | 0.999 | 82.97 |
| 24.96 | 0.989 | 11.07 | 2.000 | 89.71 |
| 24.90 | 2.110 | 10.92 | 4.500 | 93.60 |
| 24.64 | 3.229 | 10.70 | 7.000 | 94.19 |
| 24.60 | 3.677 | 10.65 | 8.000 | 94.21 |
| 24.56 | 4.573 | 10.55 | 10.000 | 93.95 |
Test conditions note: Testing was capped at 25V input (instead of 30V) due to observed ringing at the switching node, which threatened to exceed the transistor voltage ratings.
While the current revision serves as a highly successful proof of concept, several areas are targeted for future improvement:
Comprehensive project documentation is available in the repository (written in Polish, prepared for university coursework in Power Electronics and Digital Signal Controllers):
No comments yet. Be the first to ask about this board.