TIDUCJ0G November   2016  – April 2020

 

  1.   Revision History

Running Code (Build 4)

  1. Run the project by clicking.
  2. Raise the AC input to 120-Vrms VL-L and 208-Vrms VL-L, 60 Hz. A rectified current is going to be drawn from the input with PF close to 0.7 as shown in Figure 46.
  3. Figure 46. Build Level 4: Scope Capture IL1, IL2, IL3 and V1 (120Vrms L-N) with PWM TrippedTIDM-1000 build4_noduty.png
  4. Bus voltage is set by the variable vBusRef and is set at 1.32 which corresponds to 600 V for this design.
  5. Start the PFC action by writing a 1 to clearTrip variable
  6. The board will now draw sinusoidal current and the PF will be close to 0.99 and THD will be around 2.5%. The scope capture will look as shown in Figure 47.
  7. Figure 47. Build Level 4: Scope Capture IL1, IL2, IL3 and V1 (120-Vrms L-N) With Full PFC BuildTIDM-1000 build4_closedLoop.png
  8. The DC bus voltages will also be balanced, that is, guiVbusPM and guiVbusMN will be almost equal, which shows that the closed loop balance controller is working.
  9. 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 from the syscfg page, click on the SFRA icon. SFRA GUI will pop-up.
  10. Select the options for the device on the SFRA GUI. For example for F28379D, select floating point. Click setup connection, and on the pop-up window ,uncheck the boot on connect option and select an appropriate COM port and Click OK. Return to the SFRA GUI and Click Connect.
  11. The SFRA GUI will connect to the device. A SFRA sweep can now be started by clicking Start Sweep. The complete SFRA sweep will take a few minutes to finish. Activity can be monitored by seeing the progress bar on the SFRA GUI and also by checking the flashing of blue LED on the back on the control card that indicate UART activity. When complete a graph with the open loop plot will appear, as shown in Figure 48. This graph verifies that the designed compensator is indeed stable.
  12. Figure 48. SFRA Run on Balance Voltage LoopTIDM-1000 SFRA_BalanceLoop.png
  13. The balance loop open loop gain is controlled by the variable Gs_GainKp and can be adjusted in case the BW is not enough. Though, for the balance loop, the bandwidth needs to be lower than the outer voltage loop and only 1 to 2 Hz of bandwidth is sufficient.
  14. 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 MCUTIDM-1000 Reset.png .
  15. Close CCS debug session by clicking on Terminate Debug Session (Target > Terminate all).
    TIDM-1000 TerminateAll.png.