TIDUAY6E November   2015  – March 2020

 

  1.   Revision History

Running the Code

  1. Run the project by clicking on TIDM-HV-1PH-DCAC Button_2_TIDUAY6.png.
  2. Clear the inverter trip by setting the clearInvTrip variable to 1.
  3. Set rlyConnect to 1 to connect the relay.
  4. Set a small current command of 0.02 for invVoRef.
  5. Slowly raise the DC bus.
  6. Observe that the invVoRef will appear square in shape to begin with, and as the DC bus is raised, it will take a clean AC waveform shape. Raise the DC bus slowly up to 50 V.
  7. If the clean AC waveform shape does not appear, revisit the compensation design for the voltage loop.
  8. A quick verification of the closed loop operation can be done by increasing the DC Bus further, but the output voltage AC will regulate at a fixed voltage set at 0.02 by invVoRef. Because this is an AC Build, the expressions window values will constantly change and hence cannot be used to infer on a closed loop operation.

  9. Once the closed loop operation is verified, raise the DC bus to the operating voltage to approximately 380 V.
  10. Increase the invVoRef to 0.25 gradually in steps of 0.05.
  11. Observe a regulated voltage at the output, which will be similar to as shown in Figure 34.
  12. Note in Figure 34 the output is being regulated at full power for this design, and this is not be the exact power level one will reach following the previous steps. Figure 34 is shown as an illustration of full power operation which is at maximum power level.

    VAC = 110 VRMS, POUT = 589 W, THD = 0.36%, and efficiency = 96.9% (blue is voltage, red is current).

    TIDM-HV-1PH-DCAC Wvfrm_1_TIDUAY6.pngFigure 34. Output Voltage Regulated With Linear Load in Build 3
  13. The voltage compensator design is verified.
  14. Set the invVoRef to zero.
  15. Reduce the DC bus to zero.
  16. Set rylConnect to zero to disconnect the relay.
  17. Fully halting the MCU when in real-time mode is a two-step process.
  18. Halt the processor and clicking the halt button TIDM-HV-1PH-DCAC Button_3_TIDUAY6.pngon the toolbar, or by using Target → Halt.
  19. Take the MCU out of real-time mode by clicking the clock button TIDM-HV-1PH-DCAC Button_4_TIDUAY6.png.
  20. Reset the MCU by clicking TIDM-HV-1PH-DCAC Button_5_TIDUAY6.png.
  21. Close the CCS debug session by clicking Terminate Debug SessionTIDM-HV-1PH-DCAC Button_6_TIDUAY6.png, or by using Target → Terminate all.
  22. The steps above may be repeated by connecting a non-linear load to the output of the inverter.