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.

Failed to congure user.h

Other Parts Discussed in Thread: DRV8301, TMDSHVMTRINSPIN

Dear sir/madam,

I used the DRV8301-HC-C2-KIT EVM to spin a servo motor.  It has 8 poles motor, and the motor spec is enclosed. But I always failed to identify the motor in proj_lab02c as attachment shown.

So can you help me configure the user.h to identify the motor?

Regards,

Qian.Miao

1423.user.h 6710.SmallInertiaServo.pdf

  • #define USER_IQ_FULL_SCALE_VOLTAGE_V (200.0)
    incorrect, set to the bus voltage

    regarding datasheet:
    - is this a high voltage motor? it looks like they are 200-400W at a couple amps rated. That's 100V+ bus. DRV8301 may be able to ID this motor at about 48V bus...but it's not ideal. You should be using TMDSHVMTRINSPIN
    - #define USER_MOTOR_NUM_POLE_PAIRS (2) // this should be (4) for 8 poles
    - this is not a high speed / low inductance motor. You should be able to use proj_lab02a or 02b. You don't need to use 2c (though it should still work)


    main issue is you are trying to ID a High Voltage / Low Current motor with Low Voltage / High Current inverter.
  • Hi ChrisClearman,

      Thank you for reply.

     As you said, I changed USER_MOTOR_NUM_POLE_PAIRS (2)  to (4), and used proj_lab02b. But the kits still failed to identify the motor. Maybe I should used TMDSHVMTRINSPIN

    Regards,

    Qian.Miao

  • Change the IQ_VOLTAGE to the 24V you are using. Notice your Rs is infinite. Looks like a phase isn't connected correctly.

    This isn't the appropriate inverter for this motor though.