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/MOTORWARE: Motor pulling high current when executing lab2a motor identification

Part Number: MOTORWARE

Tool/software: Code Composer Studio

Dear Motorware team,

We are trying to identify motor parameters using project lab2a,we have 20KW PMSM motor.We made a custom inverter board which have 3 phase voltage sensing,dc bus voltage sensing and 3 phase inline current sensing.We are using hall effect current sensor for measuring current.The hall effect current sensor output will give 1.62V for 0A and 3.3V for 600A.

we are using c2000 f28069M launchpad.

we changed the parameters in user.h file according to our custom board.

When we are trying to execute the motor identification the motor pulls 250A current,because of that one of the mosfet burns.

is it because of incorrect current measurement?

we know that the controller will consider 1.65V as 0A  from current feedback,how we can define the offset inside the controller if the voltage is something like 1.6v for 0A?

Could you please guide me to resolve this problem.

Many thanks,

shameer

  • InstaSPIN will run offset estimation when the CtrlState is "CTRL_State_OnLine" during every startup. You can check hal.adcBias.I.value[n] to confirm the offset is correct, you can disconnect the motor to do this.

    Btw, please check below items.
    1. Set correct USER_ADC_FULL_SCALE_VOLTAGE_V, USER_ADC_FULL_SCALE_CURRENT_A and USER_VOLTAGE_FILTER_POLE_Hz based on hardware board.
    2. Confirm reading ADC result in HAL_readAdcData() is right for the input polarity of amplifier, refer to chapter 5.2.1 of spruhj1g.pdf, the adc channel and sequence setting is right for motor current and voltage in HAL_setupAdcs().

  • hi Yanming thank you for your help and support.

    i corrected the current feedback.Now the motor is running in the closed loop,but the speed feed back in the debugging window shows negative values.what can be the problem?
    Also how we can add the 3 phase voltage and phase currents in to the debugging watch window so that i can verify the feedback

    Regards
    shameer