ZhuYanzhen1/miniFOC
你还在为有刷电机的高噪声、低响应速度和低寿命而烦恼吗?这个项目是一个20块钱就能搞定的FOC无刷电机控制方案!This project is a FOC (Field Oriented Control) BLDC Motor control scheme that can be done for 3$! observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1846
- days_rel: n/a
- days_push: 1020
- n_releases_24m: 0
Adoption not part of the score
1085 stars · 276 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
miniFOC is an open-source Field Oriented Control (FOC) firmware and hardware scheme for brushless DC (BLDC) motors, designed to run on very cheap Chinese-made microcontrollers (GD32) for around $3 in parts. It provides a torque closed-loop controller controllable over a 3-wire UART port, with SVPWM modulation and support for torque, speed, and position control.
Use cases
- control a brushless motor with FOC on a $3 budget
- replace noisy brushed motor drivers with quiet BLDC control
- drive a BLDC motor via UART commands
- implement torque closed-loop control for a gimbal or robot motor
- learn how field oriented control works on embedded hardware
- build low-cost motor controllers for robotics projects
When to choose
- you need extremely low-cost FOC motor control hardware and firmware
- you want quiet, efficient BLDC control instead of brushed motors or ESCs
- you are working with GD32/STM32-class MCUs and UART-based motor control
- you want an open-source (AGPL-3.0) alternative to SimpleFOC or ODrive for simple torque control
When to avoid
- you need sensorless FOC or current-loop control today (V2 is still in development)
- you need a mature, production-grade controller like ODrive with extensive community support
- your project requires position/speed closed-loop out of the box without additional tuning
- AGPL-3.0 licensing is incompatible with your product
Facets
library · maturity active
embedded robotics embedded-systems hardware embedded c cpp foc bldc motor-control gd32 svpwm low-cost firmware control
2 sources
- readme: https://github.com/ZhuYanzhen1/miniFOC · fetched 2026-08-28 · f8b8f125c304
- homepage: https://zhuyanzhen1.github.io/miniFOC/ · fetched 2026-08-29 · 9e28490d3d66
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ZhuYanzhen1/miniFOC | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="ZhuYanzhen1/miniFOC")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem