TIDUCJ0G November   2016  – April 2020

 

  1.   Revision History

Running Code (Build 1)

  1. Run the project by clicking on TIDM-1000 Run.png.
  2. In the watch view, periodically check if theguiVbus(VIENNA_guiVbus_Volts in the expression window) variable is updating. If there is no change in the value then make sure the real-time mode is enabled, and the HW is setup correctly. Do not proceed further unless the update is verified.
    • Note: As no power is applied right now, this value will be close to zero.
  3. Now slowly increase the input AC voltage from 0 to 120-Vrms L-N.
  4. Verifying the voltage sensing: Make sure guiVbus, guiVbusPM, and guiVbusMN display the correct values. For the 120-Vrms L-NguiVbus will be close to 320 V, and the guiVbusPM/MN will be close to 160 V each. The code runs a sine analyzer module, which computes the RMS value of the voltage and current. Notice the value of guiVrms1/2/3 will be close to the input value, that is, 120Vrms. This verifies the voltage sensing of the board.
  5. Verifying the current sensing: Notice theguiIrms1/2/3, for the given test condition this value will be close to 0.92 Amps. Additionally, the graphs must be seen to verify the current measurement. Below the test condition they will look as shown in Figure 23.
  6. Figure 23. Build Level 1: Graph1.GraphProp and Graph2.GraphProp Files Showing Measured Voltage and CurrentsTIDM-1000 buildLevel1GraphPopulated.png
  7. The scope capture of the input voltage and currents is shown in Figure 24.
  8. Figure 24. Build Level 1: Scope Capture IL1, IL2, IL3 and V1 (120Vrms L-N) With PWM TrippedTIDM-1000 build1_noduty.png
  9. Next to verify the PWM action, first reduce the input voltage to zero and wait for all the voltages to go down to zero.
  10. Now set the dutyPU_DC to 0.5 in the expressions view.
  11. Next clear the PWM trip by writing a 1 to clearTrip.
  12. Slowly increase the input voltage, and keep watch on the input current. The duty cycle will impart a boost action. For example, when Vac is 30 Vrms without switching enabled, the guiVbus will be ~84 V; with switching, the guiVbus will rise up to 140 V. Thus, guiVbusPM/MN will also be higher than the input voltage maximum.
  13. Below the test conditions described in this build, the guiVbus will rise to about 600 V and guiVbusPM/MN will be close to 300 V each, and the current will be close to 2.8 Vrms when the input voltage reached 120 Vrms L-N. Expressions view will appear as shown in Figure 25. Make sure all the variables are accurate, that is, guiVrms1/2/3, guiIrms1/2/3, guiPF1/2/3. If any variable is not in line with as shown in Figure 25, it points to a hardware issue with the sensing circuit. The scope capture is shown in Figure 26.
  14. Figure 25. Build Level 1: Expressions View With Power MeasurementTIDM-1000 tidm-1000-expressions-view-with-power-measurement.png
    Figure 26. Build Level 1: Scope Capture IL1, IL2, IL3 and V1 (120-Vrms L-N) With Duty Cycle 0.5TIDM-1000 build1_duty0_5.png
  15. This check verifies at a basic level the PWM driver and connection on hardware.
  16. Reduce the input voltage to zero, and watch for the bus voltages to reduce down to zero.
  17. This completes the check for this build, the following items are verified on successful completion of this build:
    1. Sensing of voltages and currents and scaling to be correct
    2. Interrupt generation and execution of the build 1 code in the controlISR and tenkHzISR()
    3. PWM driver and switching
    If any issue is observed a careful inspection of the hardware may be required to eliminate any build issues and so forth.
  18. The controller can now be halted, and the debug connection terminated.
  19. Fully halting the MCU when in real-time mode is a two-step process. First halt the processor by using the Halt button on the toolbar (TIDM-1000 halt.png) or by using Target > Halt. Then take the MCU out of real-time mode by clicking on TIDM-1000 RealTimeEnable.png. Finally, reset the MCU by clicking on TIDM-1000 Reset.png.
  20. Close CCS debug session by clicking on Terminate Debug Session (Target > Terminate all).
    TIDM-1000 TerminateAll.png