cancel
Showing results for 
Search instead for 
Did you mean: 

FOC Motor Direction Control

jerry2
Senior

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.

1 REPLY 1
Javier1
Principal

if i remember corretly you need to change the order of the FOC steps?

0693W00000Npg0MQAR.png 

https://youtu.be/YPD1_rcXBIE?t=195

we dont need to firmware by ourselves, lets talk