This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

QEP problems F2812

hello this is my first post in the forum. I would like to make a question about a problem i have. I am trying to make a drive for a PMSM using the f2812. I have made a code using Matlab simulink and i 've ran it on board.

At the beginning it was working and everything was fine... until i tried to lower the speed. While driving the motor in very slow speed the inverter seemed to lose the motor's position and suddenly the motor was stopping (or slowing down) and then started moving to the opposite direction.

The control i am using is a bit strange. It's a closed loop V/f. Actually it's like a V/f with a lookup table and i use an encoder for the position and the speed of the wheel. what i think happens is that the inverter has a problem with the encoders signals and the fields angle change until it changes moving direction. In case you stop it from moving and try to start again, most of the times it doesn't start at all. You have to move it by hand to get an index signal so that it can start again. If i turn the wheel in high speed it doesn't have any problem... the problem comes only in very very low speed!

Do you have any ideas about what's happening? If yes could you suggest any solution?