TIDUE53J March 2018 – February 2025 TMS320F28P550SG , TMS320F28P550SJ , TMS320F28P559SG-Q1 , TMS320F28P559SJ-Q1
In this lab, the power stage is run in a closed loop with grid connection on HIL platform. Figure 3-14 shows the software diagram.
Set the project to Lab 4 by changing the Lab
Number in the <tinv_settings.h> or main.syscfg
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 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
#endifIn this check, the software 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.
TINV_fanSet function in the CCS watch window
during the debug session.TINV_startPowerStage variable and ramp the AC voltage of
the grid to 230VRMS, L-N; that is, 400 VL-L.TINV_neutralRelaySet as
soon as the voltage reaches 230 VRMS as the inrush current limit
resistors can get heated and burn out. The current is now supposed to be fed
into the grid.TINV_idRef_pu variable to be 0.6 pu, at this point the per
phase power is approximately 1.9 kW. 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.
Figure 3-15 Inverter SFRA Plant Response Measured on HIL
Figure 3-16 Inverter SFRA Loop Response Measured on HIL