In a few seconds the inrush relay clicks, the software is programmed to do so in the lab1. The trip clears, and a duty cycle of 0.5 is applied.
In the watch view, check if the TTPLPFC_guiVin_Volts, TTPLPFC_guiVbus_Volts, TTPLPFC_guiiL_Amps, variables are updating, periodically.
Note: As no power is applied right now, this value is close to zero.
Slowly increase the input DC voltage from zero to 120 V. The output voltage shows a boosted voltage as a steady duty cycle of 0.5 PU is applied as default setting. If a high current is drawn, verify if the voltage terminals are swapped. If true, reduce the voltage to zero first and correct the issue before resuming the test.
Verifying the voltage sensing: Make sure TTPLPFC_guiVin_Volts and TTPLPFC_guiVbus_Volts display the correct values. This verifies the voltage sensing of the board in some manner.
Verifying the current sensing: Notice the TTPLPFC_guiiL_Amps for the given test condition.
Figure 3-9 PFC Lab 1: Watch Expression Showing Measured Voltage and Currents
This verifies at a basic level the PWM driver and connection of hardware, the user can change the dutyPU_DC variable to see operation under various boost conditions.
Once finished, reduce the input voltage to zero and watch for the bus voltages to reduce down to zero.
This completes the check for this build, the following items are verified on successful completion of this build:
Sensing of voltages and currents and scaling to be correct
Interrupt generation and execution of the Lab 1 code in the current loop ISR and Voltage Loop Instrumentation ISR
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.
The controller can now be halted, and the debug connection terminated.
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) .