The project is programmed to wait for input voltage to exceed approximately 75 VRMS to drive the inrush relay, and clear the trip.
Run the project by clicking the button.
Now apply an input voltage of approximately 120 V, the board comes out of the undervoltage condition and inrush relay is driven. The trip clears, and a small amount of current of approximately 0.55 A RMS is drawn. The bus voltage is close to 180 V.
Slowly increase TTPLPFC_ac_cur_ref_pu to 0.14, that is, 2.4-A input, and the bus voltage rises to 343 V. Figure 3-15 shows the voltage and current waveform.
Figure 3-15 Watch Expression, Lab 3, AC After Closed Current Loop Operation Begins
SFRA is integrated in the software of this lab to verify the designed compensator provides enough gain and phase margin by measuring on hardware. To run the SFRA keep the project running, and from the powerSUITE page, click on the SFRA icon. The SFRA GUI appears.
Select the options for the device on the SFRA GUI. For example, for F280049M select floating point. Click on Setup Connection. On the pop-up window uncheck the boot on connect option, and select an appropriate COM port. Click OK. Return to the SFRA GUI, and click Connect.
Figure 3-16 SFRA Run, PFC Closed Current Loop, Open Loop Gain
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_guiVbus_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 by clicking on .
Close CCS debug session by clicking on Terminate Debug Session (Target → Terminate all) .