In a few seconds the inrush relay clicks, the software is programmed to do so in the lab with DC. The trip clears, and a duty cycle of 0.5 is applied.
In the watch view, check if the guiVin, guiVbus, guiIi, 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 240 V. The output voltage shows a step down voltage (buck converter operation) 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 240-V DC input, TTPLPFC_ac_vol_sensed_Volts is close to 120V. This verifies the voltage sensing of the board in some manner.
Verifying the current sensing: Notice the TTPLPFC_ac_curRms_sensed_Amps for the given test condition; this value is close to 1 A.
Figure 3-32 Lab 5 Watch Expression Showing Measured Voltage and Currents
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 5 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).