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.

TMS320F28069M: Question about lab13b

Genius 3095 points
Part Number: TMS320F28069M


Dear team:

In the "ST_runPosMove" function, Occasionally, "STPOSMOVE_getStatus(stObj->posMoveHandle)" will be in "St move bus" state for a long time, At this time, the motor does not rotate, but the motor has self-locking.

I would like to know what cause this and how do I deal with it?

Best regards

  • 1. Did you use lab02 to identify the motor parameters? and use lab12a to identify the inertia of the motor?

    2. What change did you do in the original example lab?

    3. What load was added on the motor?

    Please provide more detailed information about your question that will help us to understand your questions. Thanks!

  • Hi Yanming:

    I have used lab02 to identify the motor parameters, My motor power is 100 w, Below is the parameters:

    #define USER_MOTOR_MAGNETIZING_CURRENT (NULL)
    #define USER_MOTOR_RES_EST_CURRENT (4.0)
    #define USER_MOTOR_IND_EST_CURRENT (-4.0)
    #define USER_MOTOR_MAX_CURRENT (5.0)
    #define USER_MOTOR_FLUX_EST_FREQ_Hz (40.0)
    #define USER_MOTOR_ENCODER_LINES (1000.0)

  • I have used lab12a to identify the inertia, And the original program has only been modified in terms of application function

  • Well, please follow the instaSPIN lab guide to run the related project and don't change anything before you are familiar with the project. You may take a look at the InstaSPIN user's guide (spruhj1h) if you want to understand more about the knowledge of InstaSPIN-Motion.