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.

TIDM-HV-1PH-DCAC: How to run the TIDM-HV-1PH-DCAC demo

Part Number: TIDM-HV-1PH-DCAC
Other Parts Discussed in Thread: C2000WARE

Hello Team,

Following the user guide, we found the clearlnvTrip cannot be set to 1 (for unknow reason) and EPwm1Regs was not set to 0 (for unknown reason but is displayed on the gui in red color too) by step4.

Please refer to the screenshot below.

May I have your help to provide the suggestion on the problem?

thanks 

 

BRs

C.S

  • Hi,

    Are you can not run the power stage or just check the clearInvTrip and ePWM trip  flag? 

    clearInvTrip will be set to zero once all the pwm trips are cleared. Please check the code below.

    static inline void detectZeroCrossingClearPWMTrip(uint32_t base1,
                                                      uint32_t base2)
    {
        if((invSinePrev <= (float32_t)(0.00)) && (invSine > (float32_t)(0.00)))
        {
            zeroCrossDetectFlag = 1;
        }
        else
        {
            zeroCrossDetectFlag = 0;
        }
        if(clearInvTrip == 1 && zeroCrossDetectFlag == 1)
        {
            //
            // clear all the configured trip sources for the PWM module
            EALLOW;
            EPWM_clearTripZoneFlag(base1, EPWM_TZ_FLAG_OST);
            EPWM_clearTripZoneFlag(base2, EPWM_TZ_FLAG_OST);
            EPWM_clearTripZoneFlag(base1, EPWM_TZ_FLAG_CBC);
            EPWM_clearTripZoneFlag(base2, EPWM_TZ_FLAG_CBC);
            EPWM_clearTripZoneFlag(base1, EPWM_TZ_FLAG_DCAEVT1);
            EPWM_clearTripZoneFlag(base2, EPWM_TZ_FLAG_DCAEVT1);
            EDIS;
    
            clearInvTrip = 0;
            closeILoopInv = 1;
        }
    
        if(invSinePrev < -0.95f && invSine > -0.95f)
        {
            if(rlyConnect == 1)
            {
                closeRelay();
            }
        }
    
        if(rlyConnect == 0)
        {
            openRelay();
            invVoRef = 0;
            invIiRef = 0;
        }
    
        invSinePrev = invSine;
    }

  • Hi John,

    Our team is currently evaluating your Evaluation Board TIEVM-HV-IPH-DCAC. However, our team cannot perform "4. Set the clearInTrip variable to 1.

    Since Step 4 cannot be done and for us to proceed with the evaluation, we skipped Steps 4 to 7 and performed Step 8 but our team found that F2 (fuse) blew.

    Can you help our team understand why we cannot set clearInTrip variable to 1 at first and any idea why F2 blew?

    Thanks for you help.

    Regards,

    Joan

  • Even if you set it to 1, it will be set to 0 once the trip clearing function is called as shown in Line 25  below.

    Best,

    John

  • Hi John,

    Thank you for your response.

    Noted on this however if the variable will never be set to 1 in our case (this is my understanding to your reply), the team is wondering why this step 4 is added to your Manual if its not achievable. May our team know how to proceed then? Thank you.

    Another thing is that F2 blew up maybe because we jump from step 3 to 8 skipping steps 4-7? If  clearInTrip variable cannot be set to 1 can you please advise what is the next step to avoid F2 blowing up? Thank you very much.

    Regards,

    Joan

  • Are you using this in voltage source inverter mode? 

  • Hi Manish,

    Yes, the team is using in voltage source inverter mode.

    Regards,

    Joan

  • Hi Manish, is there any inputs from TI for the following questions from Joan?

    "Noted on this however if the variable will never be set to 1 in our case (this is my understanding to your reply), the team is wondering why this step 4 is added to your Manual if its not achievable. May our team know how to proceed then? Thank you.

    Another thing is that F2 blew up maybe because we jump from step 3 to 8 skipping steps 4-7? If  clearInTrip variable cannot be set to 1 can you please advise what is the next step to avoid F2 blowing up?"

  • Cleto, 

    What version of this software are you using? Which device are you using? Are you running SDFM or ADC based sensing? Do note that when setting the clearInvTrip variable to 1 you should see the EPWM TZFLG register status switch from 0x4 to 0x0. At this point, you should see accurate values for guiVbus, guiVrms, etc updating in the watch expressions window. I would strongly advise against proceeding forward as long as the  EPWM TZFLAG is not cleared and the boardStatus is boardStatus_Idle, boardStatus_OverCurrentTrip or any other status that is not boardStatus_NoFault.

    Regards,

    Ozino

  • Hi Ozino,

    Thank you very much for your reply. Below are the answers to your questions:

    The source code is from C2000Ware_DigitalPower_SDK Package version 3.02.00.00 (hv1phdcac_board.c has is date stamped as 2/3/2016).

    EB is "TIEVM-HV-IPH-DCAC" with the plugin board "F2837x controlCARD R1.3" which has the TMS320 F28379 MCU.

    The team is running SDFM based sensing.

    The team tried to redo the steps and we can observe the details you mentioned that EPWM TZFLG becomes 0 (from 0x4 value) when clearInvTrip variable is set to 1 however we cannot see updating values for guiVrms and other variables even when Vin is set to 50Vdc. The team only sees guiVbus updating as the input voltage but all other variables have ~0 value. Also, there is no waveform displayed using the graph1.GraphProp.

    The team also tried to use a real oscilloscope to monitor the output voltage but there is no waveform also. Please be informed that F2 blew up during our 1st power up.

    Please help.

    Regards,

    Joan

  • Which lab level are you running ? If this is Lab 1 , that is in open loop and is the recommended mode. The GuiVRMS has a min threshold that it will be computed after.. 

  • Hi Manish,

    We are running Build Level 1 - Open Loop. We probed at Q4 to monitor the signal using oscilloscope, however I only see a full wave signal one time only. The signal becomes half wave later and or 0. Although we follow steps 1 to 7, and step 8 but with Vin= 50Vdc only. We don't have the confidence to make it 380V since the signal we are monitoring doesn't show consistency.

    Regards,

    Joan

  • Resolved , was a build / compile disconnection between test and code. 

  • Hi Manish,

    Thank you very much for the help.

    Regards,

    Joan