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.

LAUNCHXL-F28379D: The motor is out of sync when it reached Speedref of 0.25

Part Number: LAUNCHXL-F28379D
Other Parts Discussed in Thread: LVSERVOMTR

Hello Everyone,

Good day!

Currently running the dual_axis_servo_drive_fcl_qep_f2837x project and I am in build level 4.

I am using LVSERVOMTR  motor (https://www.ti.com/tool/LVSERVOMTR?HQS=TI-null-null-digikeymode-df-pf-null-wwe&DCM=yes&distId=10).

The motor works fine when the speedref is below 0.25 but when I set it to 0.25 the motor will get out of sync. It will not run smoothly after that value of speedref.

I used the default code from code composer.

What can possible caused of the issue?

Thank for the answer in advanced.

Best Regards,

Lester

  • What's the base electrical frequency (M1_BASE_FREQ , and M2_BASE_FREQ) in the file of dual_axis_servo_drive_user.h?

    You might tune the PID controller in the file of dual_axis_servo_drive_user.c, or in the watch window in the debug perspective.

    pMotor->pid_spd.param.Kp = 0.2;
    pMotor->pid_spd.param.Ki = 0.0005;

  • Hi Lester,

    Any updates?  Just wanted to check in and see if there is any update from your side, I haven’t heard from you for about two weeks, so I’m assuming you were able to resolve your issue. Please let me know if you have any questions. We would like to close this thread if no further questions. Thanks.

  • Hello Lou,

    Sorry for the late reply. The issue was solved now. We just switch the two wires of the motor.

    Thank you for your support.

    Best Regards,

    Lester