Skip to the content
4 layers52.8 × 49.6 mmSynch buck digital, the printed circuit board in 3D

12 V to 6 V, 10 A synchronous buck converter with closed-loop digital control on an STM32G474RET6. Custom 4-layer board in KiCad.

Size
52.8 × 49.6 mm
Copper layers
4
Thickness
1.6 mm
Parts
49
Nets
25
Pads
159
Tracks, vias
171, 114
Pours
94
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
21 Apr 2026
Updated
24 Sep 2026

Overview

Synch buck digital is an open-source printed circuit board by BenjaminMeyerEE, from the BenjaminMeyerEE/Digital-Synchronous-Buck-Converter repository on GitHub. It is a 4-layer board of 52.8 × 49.6 mm with 49 parts on 25 nets, routed with 171 tracks and 114 vias.

It is built around the UCC27211D, BSC066N06NSATMA1 and TLV3603DCKR-ET. Its parts include 5 resistors, 3 ICs, 1 diode and 1 inductor. It belongs with the power boards of this library.

Main components

3

README

README.md

Digital Synchronous Buck Converter

12 V to 6 V, 10 A synchronous buck converter with closed-loop digital control on an STM32G474RET6. Custom 4-layer board in KiCad. The firmware runs a 400 kHz PI voltage loop with hardware-enforced dead-time and a comparator overcurrent trip that doesn't depend on the CPU.

Assembled board render

Specifications

ParameterValue
Input / output12 V → 6 V, 10 A
Board53.1 × 50.0 mm, 4-layer
ControllerSTM32G474RET6 (Nucleo-G474RE)
Switching frequency400 kHz (TIM1 at 170 MHz, ARR = 424)
Control loopVoltage-mode PI, one update per switching period (2.5 µs)
Dead-time100 ns, hardware-enforced (TIM1 DTG = 17)
Current senseINA241A3, 50 V/V into a 5 mΩ shunt, so 0.25 V/A
Feedback divider0.4047619 (ADC sees V_out × gain)
SamplingDual-simultaneous 12-bit ADC, TIM1 TRGO triggered, DMA
Overcurrent protectionTLV3603 comparator into TIM1 BKIN2
Gate driverUCC27211D half-bridge

Status

The power stage works. I've driven it from a function generator and from the test firmware in test-firmware/.

Still open: the main control firmware in firmware/ hasn't run on hardware yet, so the closed loop is unproven. The board also hasn't been characterized, so there are no efficiency, regulation, ripple or thermal numbers. Both are waiting on lab access, which was shut through August 2026.

Repository layout

PathContents
hardware/KiCad 10 project: schematic, PCB, design rules, library tables
firmware/Main control firmware (CubeMX + EWARM)
test-firmware/Standalone open-loop PWM bring-up project
fabrication/Gerbers, BOM, pick-and-place, interactive BOM

Hardware

4-layer stackup with a solid internal ground plane. All four copper layers are plotted from the top and unmirrored so they line up with each other.

F.Cu — top signal + powerIn1.Cu — ground plane
F.CuIn1.Cu
In2.Cu — power / signalB.Cu — bottom signal + ground
In2.CuB.Cu

B.Cu is meant to stay as close to unbroken ground as I could keep it. It only carries routing where a connection couldn't be finished on another layer.

Schematic: docs/schematic.pdf. Top-down render: docs/board-top.png.

27 BOM lines across 49 placements. Everything in fabrication/ comes out of the KiCad fabrication toolkit: gerbers, a JLCPCB-format BOM and centroid file, and an interactive HTML BOM at fabrication/bom/ibom.html.

Firmware

Control

Buck_CtrlLoopISR() runs at 400 kHz. It's called from a lean direct-register DMA handler rather than going through HAL dispatch, which keeps it inside the 2.5 µs budget. V_FB and current sense are sampled at the same instant by the dual ADC and come back as a single 32-bit DMA word.

PI with anti-windup. Integrator and duty are both clamped to [0, duty_limit], and the clamps reject NaN so a bad value written at runtime can't reach the duty cycle. Analog scaling uses precomputed reciprocals to keep division out of the ISR.

Gains, setpoints and the overcurrent trip level are tunable at runtime over SWD with STM32CubeMonitor. Monitoring variables are read-only.

Protection

Overcurrent shutdown is pure hardware: the TLV3603 comparator drives TIM1 BKIN2 directly and kills the gates in under 100 ns. It still works with the CPU halted or hung. The software break callback only does bookkeeping, forcing MOE off, masking the break IRQ so it can't storm, and latching the fault.

IWDG is set to 2 s, and the main loop only refreshes it while the control ISR heartbeat is advancing. A stalled ADC or DMA path resets the board to idle instead of leaving the half-bridge running open-loop.

TIM3 dual-edge input capture timestamps the gate edges in hardware, so the dead-time at the power stage is measured rather than assumed.

Test firmware

test-firmware/ is a separate project for bringing the power stage up before closing the loop. Open-loop complementary PWM at 400 kHz with the same 100 ns hardware dead-time. It holds everything off for 500 ms after reset so the rails settle and the debugger can attach, then soft-starts by walking CCR up 4 counts every 2 ms, roughly 106 ms from 0 to 50 % duty. Kept separate so the gate drive can be checked on its own.

Toolchain

The CubeMX project targets EWARM V8.50. It also builds clean under arm-none-eabi-gcc 14.3 (the one bundled with STM32CubeIDE 2.1.1) at -O2 -Wall -Wextra with no warnings, using about 64 KB of flash and 2.4 KB of RAM.

Flash over ST-Link with STM32CubeProgrammer. CubeMonitor needs the exact .out ELF matching what's on the chip, otherwise the symbol addresses won't line up.

TIM1 and IWDG are both frozen on core halt via DBGMCU, so halting in the debugger is safe. A halt does leave the gates frozen wherever they were. The BKIN2 kill still works while halted, but don't halt under load with the OC comparator disarmed.

Parts

49
QtyValueFootprintReferences
8TestPointTestPoint:TestPoint_Pad_2.0x2.0mmTP1, TP2, TP3, TP4, TP5, TP6, TP7, TP8
4100pFCapacitor_SMD:C_0805_2012MetricC_DT_100P1, C_INA_FILT2, C_INA_FILT3, C_OC_100P1
31uFCapacitor_SMD:C_0805_2012MetricC_DT_1U1, C_OC_1U1, C_UCC_VDD_HF1
2100nFCapacitor_SMD:C_0603_1608MetricC_INA_VCC1, C_UCC_VDD_LF1
210RResistor_SMD:R_0402_1005MetricR_FILT_N1, R_FILT_P1
210RCapacitor_SMD:C_0805_2012MetricR_GATE_1, R_GATE_2
210nFCapacitor_SMD:C_0402_1005MetricC_DT_10N1, C_OC_10N1
210uFCapacitor_SMD:C_1210_3225MetricC_IN_HF1, C_OUT_HF1
247uFCapacitor_SMD:CP_Elec_8x10C_IN_LF1, C_OUT_LF1
275KRResistor_SMD:R_0603_1608MetricR_HYS1, R_HYS2
2BSC066N06NSATMA1Package_SON:Infineon_PG-TDSON-8_6.15x5.15mmU1, U2
2Conn_01x02TerminalBlock:TerminalBlock_MaiXu_MX126-5.0-02P_1x02_P5.00mmJ_IN1, J_OUT1
2TLV3603DCKR-ETTLV3603:SC70_DCK_TEXU_DT1, U_OC1
10RResistor_SMD:R_0603_1608MetricR1
110KRResistor_SMD:R_0603_1608MetricR2_VFB1
11KRResistor_SMD:R_0603_1608MetricR2_DT1
11nFCapacitor_SMD:C_0402_1005MetricC_INA_FILT1
11nFCapacitor_SMD:C_0603_1608MetricC_VFB_FILT1
13.3VDiode_SMD:D_SOD-123D1
13.9KRResistor_SMD:R_0603_1608MetricR1_DT1
147nFCapacitor_SMD:C_0805_2012MetricCB1
15mRKRL2012_5mR_Shunt:RES_2012_SUSR_SHUNT1
16.8KRResistor_SMD:R_0603_1608MetricR1_VFB1
16.8uHInductor_SMD:L_Coilcraft_XAL1010-XXXL1
1Conn_01x13Connector_PinHeader_2.54mm:PinHeader_1x13_P2.54mm_VerticalJ_STM1
1INA241A3IDDFRINA241A3:SOT23-8_DDF_TEXU3
1UCC27211DUC27211D:SOIC127P599X175-8NU_UCC1

Similar boards

  • 2 layers49 × 75 mmDuoDrive, the printed circuit board in 3D

    DuoDrive

    ManhTi3012/DuoDrive

    Duo closed-loop brushed motor driver

    115 parts10
  • 4 layers82 × 60 mmP1 tx, the printed circuit board in 3D

    P1 tx

    Deco025/resonare

    Resonare: open-source 120 W LCC-S resonant wireless charger, transmitter and receiver boards (KiCad 10, 4-layer)

    92 parts4CERN-OHL-S-2.0
  • 4 layers76 × 74.3 mmMCU PSU, the printed circuit board in 3D

    MCU PSU

    Blaze-Pascal/EKA-PiF-MCU_PSU

    2-phase synchronous digitally controlled buck converter (30V in, up to 10A out). Features a 4-layer custom KiCad PCB optimized for EMI.

    119 partsGPL-3.0
  • 4 layers50 × 70 mmFOC2, the printed circuit board in 3D

    FOC2

    IpinZhu/foc-esc

    这是一个基于 STM32G473RC 的实验性三相 PMSM/BLDC 电机控制平台。仓库包含驱动板设计,以及使用 Rust 2024 + Embassy 实现的电流控制型磁场定向控制(FOC)固件。

    124 partsMIT
  • 2 layers58.5 × 43.1 mmTorqController, the printed circuit board in 3D

    TorqController

    JoaoWMHentz/Kinematech_Torq

    135 parts
  • 2 layers54 × 40 mmSync buck, the printed circuit board in 3D

    Sync buck

    shonzinger-spec/ee-portfolio

    Electrical engineering portfolio: simulated and verified EE projects (firmware, SPICE, KiCad, Wokwi) by Shon Zinger

    37 partsMIT
  • 2 layers17 × 50 mmFMDP-1-B, the printed circuit board in 3D

    FMDP-1-B

    apachecn/fm01

    胖蚊子 1 号 (fat mosquito) 3 寸 4 旋翼小飞机.

    62 parts
  • 2 layersP14, the printed circuit board in 3D

    P14

    chainstart/makerai-lab

    MakerAI hardware-agent research, whitepaper, lab artifacts, and MVP pipeline

    8 parts

Questions

How big is the Synch buck digital PCB?

It measures 52.8 × 49.6 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Synch buck digital use?

49 parts, built around the UCC27211D, BSC066N06NSATMA1 and TLV3603DCKR-ET. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Synch buck digital KiCad files?

From the BenjaminMeyerEE/Digital-Synchronous-Buck-Converter repository on GitHub, at the commit this page was made from: the board is hardware/synch_buck_digital.kicad_pcb and its schematic hardware/synch_buck_digital.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Synch buck digital design in my own project?

Its repository states no licence, so its author keeps all rights: ask BenjaminMeyerEE before reusing the design.