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.

Starterware/DRV8312: varying inductor values with InstaSpin identify

Part Number: DRV8312

Tool/software: Starterware

Hi Folks,

I've been having a little play with the instaspin identify primarily as part of the instaspin-FOC lab2b.  When I run the lab I can get a motor spinning and change velocity etc, but I noticed that when I repeat the identify process i get wildly varying Lsq vals.  They range from 4.98x10^-10 to 0.0038.  This doesn't seem quite right to me, especially given that the winding resistance comes out at a constant 13ohms.

I do have some motor data and the terminal resistance and terminal inductance for the motor in question but I am uncertain if this is of any use in this situation as the terminal resistance does not seem to match the value measured by the identify process.  The vals being R = 2.8ohm, and L = 0.92mH.

Little bit puzzled, could anybody suggest why this might be?

Thanks

  • Hello David,

    Our experts have been notified and should reply soon.
  • David,
    Your post is being moved to the InstaSPIN Motor Solution Forum for better support. Thanks.
  • Set right below motor parameters in user.h based on your motor.

    #define USER_MOTOR_TYPE                 MOTOR_Type_Pm
    #define USER_MOTOR_NUM_POLE_PAIRS               (4)
    #define USER_MOTOR_MAGNETIZING_CURRENT  (NULL)
    #define USER_MOTOR_RES_EST_CURRENT           (1.0)
    #define USER_MOTOR_IND_EST_CURRENT            (-1.0)
    #define USER_MOTOR_MAX_CURRENT                    (5.0)
    #define USER_MOTOR_FLUX_EST_FREQ_Hz           (20.0)

    Check Rs identification is correct first, if yes, go to next step, if no, check your h/w and s/w configuration for ADC and PWM.

    If you are using yourself h/w board, need to set USER_ADC_FULL_SCALE_VOLTAGE_V, USER_ADC_FULL_SCALE_CURRENT_A and USER_VOLTAGE_FILTER_POLE_Hz in user.h based on your h/w board also.