TIDUE53I march 2018 – july 2023 TMS320F28P550SJ , TMS320F28P559SJ-Q1
In this build level the voltage and current loop for the PFC is checked. Here the variable TINV_vBusRef_pu is defined to set the voltage at which the output DC bus voltage is to be regulated.
Figure 3-30 describes the software flow for running Lab 7.
Set the project to Lab 7 by changing the Lab Number in the <settings.h> file, (this is changed by powerSUITE GUI when using powerSUITE project).
In the user settings.h file some additional options are available, but the following code is used for the tests documented in this user guide.
#if TINV_LAB == 7
#define TINV_TEST_SETUP TINV_TEST_SETUP_RES_LOAD
#define TINV_PROTECTION TINV_PROTECTION_ENABLED
#define TINV_SFRA_TYPE TINV_SFRA_CURRENT
#define TINV_SFRA_AMPLITUDE (float32_t)TINV_SFRA_INJECTION_AMPLITUDE_LEVEL2
#define TINV_POWERFLOW_MODE TINV_RECTIFIERER_MODE
#define TINV_DC_CHECK 0
#define TINV_SPLL_TYPE TINV_SPLL_SRF
#endif
In this check the SW is run on the hardware, or the HIL platform, or both.
Refer to the hardware test set up section for actual details of the equipment used for configuring the test. At this time, do not supply any HV power to the board.
#define TINV_GI_PI_KP ((float32_t)1.8540138247))
#define TINV_GI_PI_KI ((float32_t)0.0081723506))