TIDA-010938: TIDI-010938 PWM

Part Number: TIDA-010938

Tool/software:

in the design program file run lab 1 but if not "(stringINV_clearPWMTripBoost == 1U) " not show open loop and closed loop PWM in any LAB so, these variables not set in any placed so its reset or set to 1, and if set to 1 so PWM is show in LAB 1 and the Labs.
Project Gride tie Inverter - TIDI-010938 
    if(stringINV_clearPWMTrip == 1U)
    {
        stringINV_clearPWMTrip = 0;
        stringINV_updateDuty=1;
        EPWM_clearTripZoneFlag(BOOST_BASE, EPWM_TZ_INTERRUPT |EPWM_TZ_FLAG_OST);
        EPWM_clearTripZoneFlag(Bidirectional1_BASE, EPWM_TZ_INTERRUPT |EPWM_TZ_FLAG_OST);
        EPWM_clearTripZoneFlag(Bidirectional2_BASE, EPWM_TZ_INTERRUPT |EPWM_TZ_FLAG_OST);
        EPWM_clearTripZoneFlag(DCAC1_BASE, EPWM_TZ_INTERRUPT |EPWM_TZ_FLAG_OST);
        EPWM_clearTripZoneFlag(DCAC2_BASE, EPWM_TZ_INTERRUPT |EPWM_TZ_FLAG_OST);
    }
  • Hi Khamir,

    If I understand your question correctly, are you asking about the clearPWMTrip variable in Lab 1 and why it is different in other labs (like stringINV_clearPWMTripBoost/ DCAC etc)?

    So Lab 1 is more to check the PWMs for the different power conversion stages and can be checked on hardware or docking station. There is a single stringINV_clearPWMTrip which clears the trip zone flag for all the conversion stages. 

    For all the other labs, we only focus on individual converter stages to perform actual power transfer, so we clear individual trip zone flags. 

    Please let me know if I have answered your question. 

    Thanks, 

    Veda

  • if i run the program its manually set like "stringINV_clearPWMTrip == 1U " or not. in the whole program not set these variable

  • Hi Khamir, 

    Everytime you run the code, you will need to enter the variables like stringINV_clearPWMTrip to 1 manually in the Expressions window. Please find more information on running the labs in the Software User Guide available. This will guide you through the steps required to run through each of the labs. 

    Thanks,

    Veda

  • Thank you for your help. but there are one issue in my design in design run at PWM but not run boost PWM if duty applied and test all settings