JAJU510H March 2018 – December 2022
In this lab the power stage is run in a closed loop with grid connection on HIL platform. Figure 3-14 shows the SW diagram.
Set the project to Lab 4 by changing the Lab Number in the <settings.h> file, (this will be changed by powerSUITE GUI when using powerSUITE project).
In the user settings.h file some additional options are available, but the following are used for the tests documented in this user guide.
#if TINV_LAB == 4
#define TINV_TEST_SETUP TINV_TEST_SETUP_GRID_CONNECTED
#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_INVERTER_MODE
#define TINV_DC_CHECK 0
#define TINV_SPLL_TYPE TINV_SPLL_SRF
#endif
Lab 4
In this check, the SW is run on the HIL platform.
Build and load the code, use the lab4.js file to populate the watch variables in the CCS window.
Measure the current loop bandwidth using SFRA. Figure 3-15 and Figure 3-16 show plant response and loop response of inverter operating in current mode measured on the HIL platform.