uploaded 1 month ago
Field Oriented Control (FOC) library for PMSM/BLDC motors on ESP32 (ETM-capable targets).
-
foc_sensored_servo
A position servo uses field-oriented control of a PMSM/BLDC motor with an AS5600 magnetic encoder.
668.84 KB
-
foc_sensored_torque
Field-oriented torque control of a PMSM/BLDC motor with an AS5600 magnetic encoder on the shaft.
566.16 KB
-
foc_sensored_velocity
Field-oriented speed control of a PMSM/BLDC motor with an AS5600 magnetic encoder on the shaft.
606.38 KB
-
foc_sensorless_torque
Sensorless field-oriented torque control of a PMSM/BLDC motor using a flux observer.
532.10 KB
-
foc_sensorless_velocity
Sensorless field-oriented speed control of a PMSM/BLDC motor uses a flux observer to estimate rotor angle and speed.
582.76 KB
-
unit_test_runner
Runs Unity tests on ESP32-C6 for Q16 CORDIC trig, IIR biquad, and 2p2z PID. Tests auto-run on boot.
2.02 KB