I am trying to control my 3-phase PMSM motor with lab12b. My motorware version is 14. I use an incremental encoder with 2048 pulse. But I have a problem in acceleration and deceleration, sth seems to limit my torque reference. It takes too long time for the motor to reach target speed.
Here are results of my investigation:
1) Encoder reading seems OK. I turned the motor shaft with my hand and confirmed that st_obj.vel.conv.Pos_mrev increases 1 at each 1 mechanical turn. Similarly st_obj.vel.conv.Pos_erev also increases as expected.
2) With the same inertia parameters and controller bandwidth parameter I saw that lab 5e works fine. At lab 5e, motor reaches target speed as quick as we desire.
As far as I know, the only difference between lab 5e and lab 12b is the replacement of Estimator with encoder functions. In my trials I used exactly the same control parameters for lab5e and lab12b, so why is the result different in terms of controller response?
3) According to my observation, at lab 5e when the reference speed is zero and when I try to rotate the motor shaft manually, it strictly resists my attempt and I cannot rotate the shaft. I see from the watch window that Iqref increases up to 1,5A.
On the other hand, at lab12b when I try to rotate the motor shaft manually when the reference speed is zero, it does not resist. I can easily rotate the shaft. On watch window I see that Iqref increases only up to 0.3A.
So according to my comment at lab12b sth limits Iqref. Thus, even if controller parameters, target speed and acceleration limits are the same motor rampup time lasts too much longer at lab12b.
Is this comment true? If so, how can I change the limit for Iqref?
Best regards.