STM32G431 FOC Motor Drive Board | BLDC PMSM 12-48V Controller
STM32G431 FOC Motor Drive Board — BLDC/PMSM Three-Phase Servo Controller
Take your motor control projects to the next level with this compact, feature-packed DC 12–48V FOC (Field-Oriented Control) Motor Driver Board. Built around the powerful STM32G431CBU6 microcontroller, this development module supports BLDC, PMSM, and servo motors and is ideal for engineers, makers, and robotics developers who need precise speed and position control with clean, well-structured source code for easy secondary development.
Made in Mainland China.
Key Specifications
- Input Voltage: 12–48V DC
- Rated Current: 10A continuous | Peak: 30A (built-in fuse protection)
- Compact Dimensions: 42mm × 67mm × 20mm
- Main Controller: STM32G431CBU6 (HAL library, self-implemented vector control algorithm — no ST motor library dependency)
- PWM Frequency: 16 kHz
- Current Loop Control: 16 kHz | Speed Loop: 4 kHz | Position Loop: 1 kHz
Communication & Interface Highlights
- 1× Communication encoder interface (compatible with single-turn absolute encoders)
- 1× ABZ incremental encoder interface (TTL level signal)
- 1× RS-485 port with MODBUS protocol support for receiving control commands
- 1× CAN communication interface for receiving control commands
- 1× Serial UART TTL for upper-computer connectivity
- 1× 4-wire SPI interface for future expansion and upgrades
- SWD debugging interface for streamlined program development
Control Modes (Source Code Included)
Full source code is provided (Keil MDK5.25+, HAL library, non-ST motor library). Three ready-to-use control modes are implemented:
- Open-Loop Vector Control: No Hall sensor required — connect motor phases U, V, W directly and achieve 0–500 RPM low-speed operation.
- Servo Speed Closed-Loop: Requires a compatible single-turn absolute encoder motor (e.g. 36ST79, 57ST70). Achieves 0–3000 RPM with PID speed closed-loop and automatic current adjustment based on load.
- Servo Position Closed-Loop: Requires a compatible single-turn absolute encoder motor. Delivers accurate position control (encoder resolution ±1) with PID speed and position closed-loop and dynamic current adjustment.
What's in the Box?
- 1× Motor Driver Board
- PDF schematic documentation
- Matching program source code
Important Notes
- Colors may vary slightly due to lighting and screen differences.
- Please allow ±1–10mm dimensional variance due to manual measurement.
For general electrical safety guidelines for control electronics and motor drivers, refer to OSHA Electrical Safety Standards.
Frequently Asked Questions
Q: What motor types are compatible with this STM32G431 FOC motor drive board?
A: This FOC motor drive board is compatible with BLDC (brushless DC), PMSM (permanent magnet synchronous), and servo motors operating within a 12–48V DC input range. For closed-loop servo speed and position control modes, you will need a motor equipped with a single-turn absolute encoder (e.g. 36ST79 or 57ST70 series).
Q: Do I need the ST motor control library to use the provided source code?
A: No. The motor control algorithm is entirely self-implemented and does not depend on ST's motor control library. The code is developed using the HAL library in Keil MDK5.25 or above, with a clear, modular structure designed for easy secondary development and customization.
Q: Which communication protocols does this motor driver board support?
A: The board supports MODBUS over RS-485 and serial UART TTL (232 TTL), as well as CAN communication for issuing control commands. An SPI interface is also available for future expansion, and an SWD interface is included for direct program debugging.
Q: What is the peak current capacity and is there overload protection?
A: The board supports a rated continuous current of 10A and a peak current of 30A. A built-in fuse is included to provide overload protection for your motor and connected circuitry.