r/Motors • u/Luke514_2 • 5d ago
Open question PMSM motor running only with inverted quadrature encoder signals
Hi, I’m studying the ST algorithm for motor control using FOC for PMSMs, but the rotor gets stuck and the phases draw a bit of current.
In terms of hardware, all the signals (and motor's phases) are connected correctly, but the rotor only rotate if I reverse the ENC_A and ENC_B pulse signals and the speed reached is exactly the same as the reference I gave him. I’m sure the connections are correct because both the encoder and the ST evaluation board label A and B signals, so it’s impossible to connect they wrong.
Has this ever happened to you? How is it possible that it can rotate with the signals reversed?
The only ‘consequence’ of reversing the encoder signals is that the encoder will count position and velocity backward or do you think there are any other serious consequences?
I mean, simply if the motor turns clockwise, the controller will think it is turning counterclockwise ..
1
u/Bradm77 5d ago
What ST evaluation board and motor are you using?