STM32-FOC-Control
Gokasimov·STM32-FOC-Control·Hardware/Kicad_Files/deneme2.kicad_pcb
About the STM32-FOC-Control PCB
STM32-FOC-Control is an open source STM32 PCB design by Gokasimov, published on GitHub under the MIT license. It is a 4-layer board measuring 100 × 100 mm, with 118 components from 36 distinct parts.
Its main chip is the STM32G431RBT6, from the STM32 family. Other key parts include the IR2110S, TLV9062, AS5047D, MP1482DS-LF-Z and LM7812_TO220. By type, the board carries 50 resistors, 43 capacitors, 10 ICs, 6 transistors, 5 connectors and 3 diodes.
It belongs with the robotics & motion designs in this gallery.
From the project
A completely from-scratch, bare-metal implementation of Field-Oriented Control (FOC) tailored for ultra-low inductance (~3 µH) drone motors (e.g., A2212). Built on a custom-designed STM32G4 PCB, this project bypasses heavy abstraction layers (like HAL and ST MC SDK) to achieve mi
A completely from-scratch, bare-metal implementation of Field-Oriented Control (FOC) tailored for ultra-low inductance (~3 µH) drone motors (e.g., A2212). Built on a custom-designed STM32G4 PCB, this project bypasses heavy abstraction layers (like HAL and ST MC SDK) to achieve microsecond-level execution times and maximum hardware utilization.
Blistering 40 kHz Control Loop: Pushed the STM32G4 (150 MHz) to a 25 µs execution window. Extreme Execution Efficiency: Through bare-metal register manipulation, FPU caching, and eliminating heavy libraries (fmodf), the complete FOC ISR execution time…
Main components on the STM32-FOC-Control
STM32-FOC-Control bill of materials (BOM)
118 components, 36 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 3 | IR2110S | SOIC-16W_7.5x10.3mm_P1.27mm | U1, U2, U3 |
| 3 | TLV9062 | SOIC-8_3.9x4.9mm_P1.27mm | U4, U9, U10 |
| 1 | STM32G431RBT6 | LQFP-64_10x10mm_P0.5mm | U5 |
| 1 | AS5047D | TSSOP-14_4.4x5mm_P0.65mm | U6 |
| 1 | MP1482DS-LF-Z | SOIC-8_3.9x4.9mm_P1.27mm | U7 |
| 1 | LM7812_TO220 | TO-220-3_Vertical | U8 |
| 6 | SUD50N06 | TO-252-2 | Q1, Q2, Q3, Q4, Q5, Q6 |
| 1 | CONN_01X02_PIN Conn_01x02_Pin | AMASS_XT60-M_1x02_P7.20mm_Vertical | J1 |
| 3 | CONN_01X01_PIN Conn_01x01_Pin | SolderWire-2sqmm_1x01_D2mm_OD3.9mm | J2, J3, J4 |
| 1 | CONN_01X04_PIN Conn_01x04_Pin | PinHeader_1x04_P2.54mm_Vertical | J6 |
| 3 | SS14 | D_SMA | D1, D2, D3 |
| 1 | 10U 10u | L_7.3x7.3_H3.5 | L1 |
| 5 | 1UF 1uF | C_0805_2012Metric | C1, C7, C12, C20, C21 |
| 3 | 470U 470u | CP_Radial_D10.0mm_P5.00mm | C2, C4, C5 |
| 16 | 0.1UF 0.1uF | C_0805_2012Metric | C3, C6, C10, C11, C15, C16, C23, C24 +8 |
| 3 | 1n | C_0805_2012Metric | C8, C9, C13 |
| 1 | 10N 10n | C_0805_2012Metric | C14 |
| 1 | 0.1U 0.1u | C_0805_2012Metric | C19 |
| 1 | 10U 10u | C_0805_2012Metric | C22 |
| 1 | 3.3N 3.3n | C_0805_2012Metric | C27 |
Show 16 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 2 | 22U 22u | C_0805_2012Metric | C28, C29 |
| 6 | 1NF 1nF | C_0805_2012Metric | C30, C31, C32, C44, C45, C46 |
| 4 | 100N 100n | C_0805_2012Metric | C40, C41, C42, C43 |
| 6 | 10 | R_0805_2012Metric | R1, R2, R7, R8, R13, R14 |
| 8 | 24K 24k | R_0805_2012Metric | R3, R11, R23, R36, R37, R48, R49, R50 |
| 6 | 1k | R_0805_2012Metric | R4, R12, R21, R22, R34, R35 |
| 9 | 10K 10k | R_0805_2012Metric | R5, R6, R9, R10, R15, R16, R25, R29 +1 |
| 1 | 100K 100k | R_0805_2012Metric | R17 |
| 1 | 5.6K 5.6k | R_0805_2012Metric | R18 |
| 3 | 5m | R_Shunt_Vishay_WSK2512_6332Metric_T1.19mm | R19, R28, R33 |
| 1 | 12K 12k | R_0805_2012Metric | R20 |
| 1 | 26.1K 26.1k | R_0805_2012Metric | R24 |
| 3 | 270 | R_0805_2012Metric | R26, R27, R39 |
| 3 | 22 | R_0805_2012Metric | R30, R31, R38 |
| 4 | 22K | R_0805_2012Metric | R40, R42, R44, R46 |
| 4 | 3.3K | R_0805_2012Metric | R41, R43, R45, R47 |
STM32-FOC-Control design files
The KiCad project lives in the Gokasimov/STM32-FOC-Control repository on GitHub; these links point at the commit this page was built from.
STM32-FOC-Control: common questions
What microcontroller does the STM32-FOC-Control use?
The STM32-FOC-Control is built around the STM32G431RBT6, from the STM32 family.
How big is the STM32-FOC-Control PCB?
The STM32-FOC-Control measures 100 × 100 mm, has 4 copper layers and is 1.6 mm thick.
How many components are on the STM32-FOC-Control?
118 components, from 36 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 STM32-FOC-Control design files?
From the Gokasimov/STM32-FOC-Control 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 STM32-FOC-Control design in my own project?
Yes, under the terms of its MIT license, which Gokasimov chose for the repository.
Can I test firmware for the STM32-FOC-Control 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
STM32
AxxSolder
AxxAxx
39 × 82.5 mm122 parts2LGPL-3.01.7kSTM32
AIOC
skuep
21 × 31.5 mm47 parts2LMIT1.4kSTM32
Ferris
pierrechevalier83
208.8 × 86.8 mm102 parts2LSHL-2.11.3kSTM32
Module 16S
stuartpittaway
71.1 × 89.6 mm113 parts4LCC-BY-NC-4.01.1kSTM32
Djinn
tzarc
192.3 × 150.5 mm216 parts2LCERN-OHL-S-2.0988STM32
Ghoul
tzarc
228.6 × 79.4 mm163 parts2LCERN-OHL-S-2.0988