You are here

Problem with motor spin in Foc with encoder mode

2 posts / 0 new
Last post
kdomanski
Offline
Last seen: 1 year 3 months ago
Joined: 2019-04-16 22:22
Posts: 5
Problem with motor spin in Foc with encoder mode

Hi,
I have a problem with my motor when it runs with encoder. Despite the controlled value (duty cycle, current, rpm) the motor always turns to one position and hold it. The problem is not present when I switch mode to sensorless. The encoder real-time readings seem to be fine and I have a second exactly same setup which works perfectly fine. Do you have any idea what can be wrong?

kdomanski
Offline
Last seen: 1 year 3 months ago
Joined: 2019-04-16 22:22
Posts: 5

I found the problem, the encoder was a little bit askew in respect to the magnet mounted on the motor. it caused that the encoders reading was nonlinear and the whole can't work properly.