2022-05-09 03:51 PM
I've implemented an FOC motor control algorithm from scratch (e.g. not using any libraries) and it works well. I'm generating sine waves to drive the MOSFETs via a lookup table.
All this works and the motor turns in an anti-clockwise direction. How do I change the algorithm to get the motor to turn in the clockwise direction?
Note: I know that reversing the wires for two of the phases will change the motor rotation direction, but I don't want to change the wiring--I want to be able to change motor rotation direction programmatically.
2022-05-10 12:25 AM
if i remember corretly you need to change the order of the FOC steps?
https://youtu.be/YPD1_rcXBIE?t=195