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.

DRV10983: drv10983

Part Number: DRV10983

The motor doesn't start smoothly and sometimes stops

my code ,  st mcu

void drv10983_config()
{
drv10983_write_reg(EE_CTRL, SLEEPDIS|EE_DATA_1); //0x03,0x80|0x40=1100 0000

drv10983_write_reg(MotorParam1, DoubleFreq_0|Rm_079); //Write Phase Resistance 0x20,0x00|0x4b µç×è

drv10983_write_reg(MotorParam2, AdjMode_0|Kt_27); //Write Kt 0x21,0x00|0x0b ·´µç¶¯ÊÆ

// drv10983_write_reg(MotorParam3, CtrlAdvMd_1|TCtrlAdv_200us);

drv10983_write_reg(SysOpt2, OpenLCurr_1A6|OpLCurrRt_6|BrkDoneThr_No); //0x24,0xc0|0x00|0x00

drv10983_write_reg(SysOpt3, CtrlCoef_1|StAccel2_69|StAccel_45); //Write Control and Start-up accelerate //0x25,0xC0|0x18|0x04

drv10983_write_reg(SysOpt5, 0xE4); //0x27,

drv10983_write_reg(SysOpt6, 0xFE); //0x28,

drv10983_write_reg(SysOpt7, LockEn5_En|ClsLpAccel_Inf|DeadTime_360s); //0x29,0x80|0x00|0x09=1000 0000 1001

drv10983_write_reg(SysOpt9, 0x0E); //0x2B,

//drv10983_write_reg(SpeedCtrl2, OverRide|SpeedCtrl2Data); //0x01,0x80|0x00
drv10983_write_reg(SpeedCtrl2, 0x00); //0x01,0x80|0x00
drv10983_write_reg(SpeedCtrl1, 0x00); //0x00,0x90
}

  • Hi Jay,

    Thanks for the question. I plugged in the register values you provided into the DRV10983EVM GUI. Can you confirm if the below data is correct? Also, can you share your motor parameters to make sure the registers are configured correctly? The two images that you shared are broken. Can you re-upload them?

    Regards,

    Vishnu.

  • Hi Jay,

    Thanks for sharing the datasheet. From the datasheet I see that the nominal voltage of the motor is 6V but the min motor voltage that is recommended in DRV10983 is 8V. I still think we can give it a shot. Can you check the GUI screenshots in my previous post to make sure the configuration looks right? I see that open to closed loop threshold is not configured. From the datasheet, Rm (phase to center tap) = 1.1 ohms and Kt = 8.9 mV/Hz. Can you configure open to closed loop threshold to 90 Hz and Rm and Kt to the datasheet values and try again?

    Regards,

    Vishnu

  • We've closed the loop. We can start it all at once.However, when starting, there is a phase seeking operation for the motor, which will cause the motor to reverse or shake a little, which problem should be adjusted?

  • Hi Jay,

    Good to know that you are now able to spin the motor in closed loop. The motor shakes during startup because we are using "Align" as the startup method. For applications where a reverse spin is not acceptable, we recommend to use Initial Position Detect (IPD) function as an alternative way to initialize the motor. You may use the below IPD settings to get started. Please refer to the tuning guide section 7.1 for more details on tuning IPD. 

    Regards,

    Vishnu.