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.

BOOSTXL-DRV8305EVM: Trouble Identifying Motor using Proj_lab02b - all parameters identified but doesn't run

Part Number: BOOSTXL-DRV8305EVM
Other Parts Discussed in Thread: DRV8305, MOTORWARE

Hello,

I Originally got my motor running using Proj_lab02b but for a number of reasons I had to reinstall everything.  Now I am trying to get back to where I left off.

I am able to have the motor spin while the code is identifying the motor, but after calibration the software does not change the gMotorVars.Flag_enableSys from 1 to 0.  I have tried changing the parameters in the user.h file, including increasing the USER_MOTOR_RES_EST_CURRENT and IND_EST_CURRENT to 3 and -3.  And also tried increasing the USER_MOTOR_FLUX_EST_FREQ_Hz from 20 up to 80 Hz.  Even when the  gMotorVars.Flag_enableSys does get changed to 0 after identification when I change it back to 1 the motor does not ramp up to the set point of 0.100 krpm.

Here are the identification numbers

Rs=0.078

Lsd_H=Lsq_H=.0004156 but varies wildly from .0022 to 0.0

Flux = .032

The motor I am using is actually an alternator which I am exciting the field to create essentially a permanent magnet motor.  it has 12 poles (2 pole pars)  My measured stator inductance is .088mH. Maximum current 30A, running at a bus of 15 V right now. on a DRV8305 Boostxl.  Motorware.17, CCS 7.0.   I also tried running proj_lab02c for low inductance but this did not work either.

Very strange that the system can spin the motor (ramping up to 1000 rpm) during identification and then does not run in normal mode.

Any help is much appreciated.

  • Hi Kevin,

    Our algorithm experts have been contacted and should reply soon.
  • Use lab02b to identify the motor parameters, to set the identified parameters in user.h, and then use lab05b or lab10a to run motor with speed close loop, not use lab02b to run motor normally.
  • Thanks Rick,
    I look forward to what the algorithm team suggests.

    I thought I would add -- I've been using a separate MSP430 MSU to drive the field voltage PWM. On checking the voltage applied to the field coil it varies slightly 2.5 +/- .15 V. The PWM signal from the MSP430 is not constant. Perhaps this is causing problems with the flux identification.

    I am in middle of trying to add a user_PWM channel using the motorware HAL tutorial manual. Unfortunately there is no ePWM channels available. ePWM4A and ePWM4B are used for gate enable and wake functions (do these functions need PWM?). Is it possible to create a PWM signal with a GPIO, there are two available GPIO12 and GPIO34?

    Regards,
    Kevin