simplefoc / Arduino-FOC

Arduino FOC for BLDC and Stepper motors - Arduino Based Field Oriented Control Algorithm Library
https://docs.simplefoc.com
MIT License
1.94k stars 510 forks source link

Add a MotionControlMode::angle_nocascade which uses a single PID for angle control #384

Open runger1101001 opened 4 months ago

runger1101001 commented 4 months ago

As discussed here: https://community.simplefoc.com/t/motor-oscillates-when-in-cascaded-position-velocity-control-loop/4194

I've tested this and it works quite nicely. I imagine some people might find it useful.