FOC library for BLDC/PMSM compatible with all STM32 targets with FPU.
-
Updated
Jun 8, 2026 - C
FOC library for BLDC/PMSM compatible with all STM32 targets with FPU.
Great repository to learn PMSM control and modelling. It provides the basic tools to generate control calibrations based on the motor parameters, to tune the PID controllers within the controller, and to simulate both the controller and the plant.
Python simulation library for closed-loop field-oriented control (FOC) of PMSM traction drives, with thermal-aware gain scheduling, MTPA/field-weakening, and SVPWM modeling with dead-time compensation.
To associate your repository with the mtpa topic, visit your repo's landing page and select "manage topics."