Other Parts Discussed in Thread: DRV8301
Hi Champs,
I port PM_sensorless to F28027 platform. I tested level7 and current loop ran good. However, when I set lsw = 2, motor can't spin smoothly. I captured current waveform and smo1.theta. I found out that smo didn't output correct theta after change to speed loop. I changed SpeedRef to 0.3 pu. However, still failed in speed loop. Please see below picture for more detail. I checked speed3 module which estimated RPM is right in current. I though that mean smo is good. However, It still failed to change in speed loop. Could you please tell me which variable should I tune ? I used Anaheim motor which is TI provide. thanks for your reply in advance.
ch3 is GPIO28 which set high when park1.Angle = smo1.Theta;
Ch4 is smo1.theta.
ch1 is current
1.SMO generated another direction angle.
2. SMO output wrong theta.



