mtpa
There are 3 repositories under mtpa topic.
davidmolony/MESC_Firmware
FOC library for BLDC/PMSM compatible with all STM32 targets with FPU.
FGP310592/PMSMControlDemo
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.
zhifei-ev/Matlab
Fitting_MTPA_Coefficient