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.

TMDSHVMTRPFCKIT Flashing LD1 and LD2 on [Main]

Good Day, 

I am running the HVACI Sensorless Project. Using the Manual for Sensorless FOC of ACI guides for the Builds of the project. Build 1C asked to vary the AC supply with a Variac, however I don't have any those and I decided to plug 110VAC directly into the board while it's running the Build 1. However, when I did this LD1 and LD2 began flashing on the [Main]  part of the board. I am trying to find out what those flashing LEDs mean. Help please! 

Regards
Greg. 

  • Hi Greg,

    If you look at the HVACI_Sensorless.c file, you will see the following around line 506:

    //----------------------------------------
    void C1(void)   
    //----------------------------------------
    {

        if(EPwm1Regs.TZFLG.bit.OST==0x1)            // TripZ for PWMs is low (fault trip)
          { TripFlagDMC=1;                         
          GpioDataRegs.GPBTOGGLE.bit.GPIO42 = 1;
          }    
        
        if(GpioDataRegs.GPADAT.bit.GPIO15 == 1)        // Over Current Prot. for Integrated Power Module is high (fault trip)
          { TripFlagDMC=1;                         
          GpioDataRegs.GPBTOGGLE.bit.GPIO44 = 1;
          }        
               
        GpioDataRegs.GPBTOGGLE.bit.GPIO34 = 1;       // Turn on/off LD3 on the controlCARD


    C1 is a function run about every 150ms.  Here you can see that, if the C2000 device has sensed a trip (EPwm1's OST has tripped) or if the IPM has sensed a fault, the GPIOs which control the LEDs (GPIO42 and GPIO44, respectively) will toggle.  Both are safety measures to protect the board from damage.  The OST is a configurable safety measure. 

    By plugging the power in suddenly, you are likely creating inrush current that is unexpected by the kit (and may be more current than some of the components of the kit are rated, can safely handle and may have blown up had the tripping mechanisms not been in place). 

    It would create less stress for the board to be plugged into the AC mains prior to the code running.  For safer evaluation, it would be better to have a variac.  It would be even better to input DC bus voltage into the inverter at BS5/BS6 via a DC source which has current limit capabilities.


    Thank you,
    Brett

  • Hi Brett

    This advise was great help, as it help me to deduced the real problem which was simply the motor I was previously using had a very low stator resistance value and therefore causing the protective circuit to engage. This stopped when I used another motor with higher resistance and it's working fine. Thank you for your help!

    Greg