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.

TMS320F28068M: How do we get the InstaSPIN-Motion parameters in our cam mechanism?

Part Number: TMS320F28068M


We are trying to acquire InstaSPIN-Motion parameters with the camshaft mechanism as shown below.

-The parameters of FOC have already been acquired for the original motor without the cam mechanism.

-So far, it was only CW rotation.

We changed various values when acquiring parameters with lab05c. But we could not be rotated 360 degrees during the InstaSPIN-Motion parameter acquisition at this mechanism.

We had to choose the place where the most mechanical force is applied, as it could only be rotated in a very short time during lab05c identification.

Q1: Please let me know how to make one turn and acquire the parameter at lab05c with this mechanism.

This time, not only this CW operation but also CCW operation will be performed.

The Motion parameters are considered to be different during CW operation and CCW operation on our mechanism.

Q2: Please tell me how to get motion parameters in not only CW but also CCW.

We are considering the following scenario.

1. Get motion parameters on CW rotation.
During CW operation at lab05c, set #define USER_MOTOR_MAX_SPEED_KRPM (6.0) to obtain Motion parameters,

After that,

2. Get InstaSPIN-Motion parameters on CCW rotation.
During CCW operation at lab05c, after changing #define USER_MOTOR_MAX_SPEED_KRPM to (-6.0), we get CCW Motion parameters.

Best regards,


  • What parameters do you want to get?

    Q1: Lab05c is for inertia identification, you may use lab05d to implement CW rotation by setting the gMotorVars.SpeedRef_krpm to a positive value, and CCW rotation by setting gMotorVars.SpeedRef_krpm to a negative value.

    Q2: As replied above.

    Btw, you should use the position control if you want to get the precise rotation position, you might refer to lab13b, but the lab must have the position sensor, encoder.

  • I haven’t heard back from you for a week, I’m assuming you were able to resolve your issue. If not, just post a reply below, or create a new thread if the thread has locked due to time-out. Thanks.