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_ac_vol_sensed_Volts, TTPLPFC_vBus_sensed_Volts, TTPLPFC_ac_cur_sensed_Amps, variables are updating, periodically.
Note: As no power is applied right now, this value is close to zero.
Now 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_ac_vol_sensed_Volts and TTPLPFC_vBus_sensed_Volts display the correct values, for 120-V DC input, TTPLPFC_vBus_sensed_Volts is close to 240V. This verifies the voltage sensing of the board in some manner.
Verifying the current sensing: Notice the TTPLPFC_ac_cur_sensed_Amps for the given test condition; this value is close to 1 A.
Figure 3-12 Lab 1: Watch Expression Showing Measured Voltage and Currents
This verifies at a basic level the PWM driver and connection of hardware, 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).