TIDUF18A October 2022 – February 2024
The project is programmed to wait for input voltage to excel at approximately 70 Vrms to drive the in rush relay and clear the trip.
Run the project by clicking .
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 the output rises to 380-V DC. A sinusoidal current is drawn from the AC input. Figure 5-43 shows the watch window when the program is running at this stage.
SFRA is integrated in the software of this build to verify the designed compensator provides enough gain and phase margin by measuring on hardware. To run the SFRA, keep the project running, and navigate to <Install directory >\C2000Ware_DigitalPower_SDK_<version>\libraries\sfra\gui\SFRA_GUI.exe. The SFRA GUI appears.
Select the options for the device on the SFRA GUI. For example, for F28003x, select floating point. Click on Setup Connection, and on the pop-up window, deselect the boot on connect option and select an appropriate COM port. Click OK. Return to the SFRA GUI, and click Connect.
The SFRA GUI connects to the device. An SFRA sweep can now be started by clicking Start Sweep. The complete SFRA sweep takes a few minutes to finish. Activity can be monitored by seeing the progress bar on the SFRA GUI and checking the flashing of blue LED on the back on the control card that indicates UART activity. Once complete, a graph with the open loop plot appears, as seen in Figure 5-44. This action verifies that the designed compensator is indeed stable.
Alternately, re-open Compensation Designer, and choose SFRA Data for plant option on the GUI. This option uses the measured plant information to design the compensator, and can be used to fine tune the compensation. By default, the Compensation Designer points to the latest SFRA run. If a previous SFRA run plant information must be used, select the SFRAData.csv file by browsing to it by clicking on Browse SFRA Data. Close the Compensation Designer, This verifies the voltage compensator design.
To bring the system to a safe stop, bring the input AC voltage down to zero. Ensure that the guiVBus 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 CCS debug session by clicking on Terminate Debug Session (Target → Terminate all).