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.

CCS/DRV8303: About starting drive motor on InstaSpin

Part Number: DRV8303
Other Parts Discussed in Thread: TMS320F28027F, TMS320F28027

Tool/software: Code Composer Studio

Hello,

I would like to ask about start to drive process on InstaSpin.

I'm using InstaSpin lab5b on TMS320F28027F and DRV8303 on our custom board.

When start to drive motor, for example, changing the value of "refspd" from 0 to 1k,(flag RunIdentify is already set to "1")

sometimes the fault of the Drv8303 occures.

(At first , the motor rotates to reverse direction very slowly,and then Drv8303 fault occures.)

Once could start to drive the motor, there is no problem.

The motor has 7 pole pairs.

I would like to know how to resolve this problem, for example , changing some parameter on user.h or etc.

I would appriciate if someone could reply to my question.

Hiroyasu

  • 1. Please use lab01b and lab01c to verify the h/w design, to test the signal chain integrity, to ensure if the scale current and voltage is set correctly in user.h, and if current/voltage sensing signals are clear.
    2. Please use lab02c to identify motor parameters, to look if the motor spin smoothly during the identification process. If not, that means the h/w board needs some improvement.
    3. Enable Rs recalculation to get a precise stator resistance that can improve the startup performance.
    4. Check motor current to look what happened if there is a fault from DRV8303.
  • Thank you for your reply.

    I will try to measure the signal integrity by using lab01b etc.

    And now I'm already using Rs recalculation.

    By the way,I would like to ask 2 more questions...

    1.about the parameter USER_ADC_FULL_SCALE_CURRENT_A on user.h

    If the current shunt resistance is 2.5mohm , and the amplifier gain of DRV8303 is 10V/V,

    USER_ADC_FULL_SCALE_CURRENT_A equals to 66.0A ( 1.65V / 10.0 / 0.0025) , is it right ?

    2. about the USER_ADC_FULL_SCALE_CURRENT_A ,hardware parameter,

    When I would like to use the motor , the maximum current of the motor is 50A,

    USER_ADC_FULL_SCALE_CURRENT_A = 66.0A ,

    the margin of the measuring motor current is insufficient or not ?

    Hiroyasu

  • Hello Yanming,

    Thank you for your reply.

    I'll try to check the signal integrity by using lab 1b etc.

    There was no ploblem when starts to drive the motor by using the command on the SCI communication.
    When I tried to start driving motor by CCS debugger that is connected to TMS320F28027, Drv8303 fault occured, I suppose.

    Thank you for your advice.

    Regards,
    Hiroyasu