The project is programmed to wait for dc bus voltage to exceed approximately 110V to drive the in rush relay, and clear the trip.
Run the project by clicking .
Now apply an input voltage of approximately 120 V, the board comes out of the undervoltage condition and inrush relay is driven and change TTPLPFC_pwmSwState from pwmSwState_defaultState to pwmSwState_normalOperation to enable pwm output. The pwm output is turned off by default and the inverter does not work without selecting this option.
Slowly increase the bus voltage to 240 V and set TTPLPFC_ac_cur_ref = -0.05. The watch window looks similar to Figure 3-22. The RMS value of inverter output voltage and current are close to 100 V and 0.8 A respectively.
Figure 3-38 Watch Expression, Lab 8, AC After Closed Current Loop
To bring the system to a safe stop, switch off the output from the AC power supply thus bring the input AC voltage down to zero, observe the TTPLPFC_ac_volRms_sensed_Volts comes down to zero as well.
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 () or by using Target → Halt. Then take the MCU out of real-time mode by clicking on . Finally, reset the MCU () .
Close the CCS debug session by clicking on Terminate Debug Session (Target → Terminate all).