Bldc

kobertkirk·bldc·hardware/kicad/bldc48.kicad_pcb

Bldc PCB layout, top view — open source STM32 board by kobertkirk

About the Bldc PCB

Bldc is an open source STM32 PCB design by kobertkirk, published on GitHub. It is a 4-layer board measuring 190 × 120 mm, with 163 components from 58 distinct parts.

Its main chip is the STM32G431CBT6, from the STM32 family. Other key parts include the LM5164DDA, AP2112K-3.3, LM5109BMA and INA240A2D. By type, the board carries 64 resistors, 59 capacitors, 11 diodes, 10 ICs, 8 transistors and 7 connectors.

It belongs with the robotics & motion and sensors designs in this gallery.

From the project

A KiCad hardware design plus STM32 firmware for a hall-sensored e-bike or scooter hub motor:

A KiCad hardware design plus STM32 firmware for a hall-sensored e-bike or scooter hub motor:

48 V nominal (13S Li-ion, 54.6 V full). All power parts are rated 100 V and the TVS clamps at 60 V standoff. 35 A battery current limit and 60 A phase current limit. Both are set in firmware and can be changed over UART. Field-oriented control (FOC) using the hall sensors, with angle interpolation, for quiet and smooth torque from standstill. Throttle input (standard 0.8–4.2 V hall throttle). Momentary power button. Press to switch on, hold for 2 s to switch off. Standby current is a few µA. FWD/REV…

Bldc, from the project README
From the project README

Main components on the Bldc

Bldc bill of materials (BOM)

163 components, 58 distinct parts — part numbers from the project's BOM.

QtyPartRefs
2
LM5164DDA
U1, U2
1
AP2112K-3.3
U3
3
LM5109BMA
U4, U6, U8
3
INA240A2D
U5, U7, U9
1
STM32G431CBT6
U10
1
MMBTA92
Q1
1
MMBTA42
Q2
6
IPT015N10N5
Q3, Q4, Q5, Q6, Q7, Q8
1
SWD
J6
1
HALL
J7
1
THROTTLE
J8
1
FWD/REV
J9
1
BRAKE
J10
1
POWER_BTN
J11
1
UART
J12
1
NCP18XH103F03RB
10k B3435
TH1
1
SMCJ60CA
D1
1
1N4148W
D2
1
BAT46W
D3
2
GREEN
D4, D8
Show 38 more
QtyPartRefs
3
ES1D
D5, D6, D7
1
RED
D9
2
ESDA6V1-5SC6
D10, D11
1
600R@100MHz
FB1
1
SRR1260-680M
68u
L1
1
SRR1260-330M
33u
L2
2
10N
10n
C1, C31
7
1n
C2, C35, C39, C43, C53, C54, C55
8
2.2U/100V
2.2u/100V
C3, C10, C25, C26, C27, C28, C29, C30
2
100N/100V
100n/100V
C4, C11
2
2.2N
2.2n
C5, C12
2
3.3N
3.3n
C6, C13
16
100N
100n
C7, C14, C34, C38, C42, C44, C45, C46 +8
2
22U/25V
22u/25V
C8, C9
2
22U/10V
22u/10V
C15, C16
2
1u
C17, C50
2
4.7U
4.7u
C18, C49
6
Panasonic EEU-FS2A221 (or eq. low-ESR)
220u/100V
C19, C20, C21, C22, C23, C24
3
1U/25V
1u/25V
C32, C36, C40
3
2.2U/25V
2.2u/25V
C33, C37, C41
5
100K
100k
R1, R4, R6, R9, R18
1
47K
47k
R2
22
10K
10k
R3, R5, R11, R15, R20, R21, R23, R25 +14
1
330K
330k
R7
1
27K
27k
R8
1
90.9K
90.9k
R10
1
365K
365k
R12
1
41.2K
41.2k
R13
1
31.6K
31.6k
R14
1
178K
178k
R16
4
2.2K
2.2k
R17, R48, R50, R52
1
5.6K
5.6k
R19
6
10R
R22, R24, R30, R32, R38, R40
3
Bourns CRA2512-FZ-R500ELF (3 W)
0.5m
R26, R34, R42
5
100R
R27, R35, R43, R62, R63
8
1k
R46, R47, R49, R51, R53, R55, R59, R61
1
12K
12k
R56
1
22K
22k
R57

Bldc design files

The KiCad project lives in the kobertkirk/bldc repository on GitHub; these links point at the commit this page was built from.

Bldc: common questions

What microcontroller does the Bldc use?

The Bldc is built around the STM32G431CBT6, from the STM32 family.

How big is the Bldc PCB?

The Bldc measures 190 × 120 mm, has 4 copper layers and is 1.6 mm thick.

How many components are on the Bldc?

163 components, from 58 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.

Where can I download the Bldc design files?

From the kobertkirk/bldc repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.

Can I use the Bldc design in my own project?

The repository has no license, so all rights stay with kobertkirk. Use it as a reference, and ask the author before reusing the design.

Can I test firmware for the Bldc without the hardware?

Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug STM32 firmware against it before you order a PCB.

Similar boards