Part Number: TMS320F28035
Other Parts Discussed in Thread: CONTROLSUITE
Hi C2000 champion
Customer used F2837xD QEP strobe position latch function to get the motor position, but found the QPOSSLAT will change in low speed, but constant in high speed.
I used the High voltage kit, F28035, and ESTUN motor, can re-produce this issue. Detail as below:
1) source code: C:\ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.1\HVPM_Enhanced_Sensorless_2803x
2) QEP initial:
qep1.LineEncoder = 2500;
qep1.MechScaler = _IQ30(0.25/qep1.LineEncoder);
qep1.PolePairs = POLES/2;
qep1.CalibratedAngle = 0;
QEP_INIT_MACRO(1,qep1)
EQep1Regs.QEPCTL.bit.PCRM=01; // Position counter reset on the maximum position 15000
EQep1Regs.QEPCTL.bit.SEL = 01;
3) test cases:
When motor run in anti-clockwise, set speedref = IQ(0.1) (300 rpm), the QPOSSLAT will vary in 9999, 10000, 10001; But QPOSSLAT keep constant 10000 in high speed > 1000 rpm.
When motor run in clockwise, QPOSSLAT keep constant in low speed and high speed.
Please help to analysis this issue that why QPOSSLAT will vary in low speed at anti-clockwise direction.
Eric