Skip to main content
jerry2
Associate III
May 9, 2022
Question

FOC Motor Direction Control

  • May 9, 2022
  • 1 reply
  • 1145 views

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.

This topic has been closed for replies.

1 reply

Javier1
Principal
May 10, 2022

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

0693W00000Npg0MQAR.png 

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

hit me up in https://www.linkedin.com/in/javiermuñoz/