Hi, I have a problem with driving a ACIM motor using encoder.
I have connected the sensor to the direction i think i right, when i command a positive iq the speed from the encoder is positive and one mechanical revolution of the motor gives one mechanical revolution in gives spintac.
The problem I am having is that spintac calulates a way to large slip, when I command 1-2A I get 2Hz mechanical speed and 15Hz electrical speed.
I have verified on a oscilloscope that the electrical frequency is 15Hz and the mechanical frequency is 2Hz.
I have taken the code from lab12A and modified a bit.
What could the problem be that gives this large slip?