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/LAUNCHXL-F28379D: Run dual_axis_servo_drive_fc_qep_f2837x but always having PWM trip due to over current

Part Number: LAUNCHXL-F28379D
Other Parts Discussed in Thread: C2000WARE, BOOSTXL-3PHGANINV

Tool/software: Code Composer Studio

Good day everyone,

I am new to TI platform, I am trying to run the dual_axis_servo_drive_fcl_qep_f2837x project under the C2000Ware_MotorControl SDK. I am still in Build Level 1 and I am stuck because it will not

produce PWM output. It always hit the PWM Trip due to over current this part:

// Check for PWM trip due to over current
    if((EPWM_getTripZoneFlagStatus(obj->pwmHandle[0]) & EPWM_TZ_FLAG_OST) ||
       (EPWM_getTripZoneFlagStatus(obj->pwmHandle[1]) & EPWM_TZ_FLAG_OST) ||
       (EPWM_getTripZoneFlagStatus(obj->pwmHandle[2]) & EPWM_TZ_FLAG_OST))
    {
        
        // if any EPwm's OST is set, force OST on all three to DISABLE inverter
        EPWM_forceTripZoneEvent(obj->pwmHandle[0], EPWM_TZ_FORCE_EVENT_OST);
        EPWM_forceTripZoneEvent(obj->pwmHandle[1], EPWM_TZ_FORCE_EVENT_OST);
        EPWM_forceTripZoneEvent(obj->pwmHandle[2], EPWM_TZ_FORCE_EVENT_OST);

        pMotor->tripFlagDMC = 1;      // Trip on DMC (halt and IPM fault trip )
        pMotor->runMotor = MOTOR_STOP;

        GPIO_writePin(enableDriveGPIO, 1);
    }

Is it a hardware issue? or software?

The Launchpad has also BOOSTXL-3PhGaNInv on top of it.

Hopefully, someone can help me.

Best Regards,

Lester

  • It is a dual motor setup, if you dont have both booster packs mounted, then it may run in to this problem. If the current feedback signal received by the ADC is not within 1.65+/- 1V(approx), then this problem will show up. If you had indeed mounted both, then it is a good idea to check the voltages at the ADC inputs corresponding to phase current sensing. That can give some clue. 

  • Hello Ramesh,

    Thank you for your answer. You are right we are lacking 1 booster packs. I disabled the 2nd booster packs in the code and it works now.

    Again thank you very much.

    Regards,

    Lester