TIDUE53J March 2018 – February 2025 TMS320F28P550SG , TMS320F28P550SJ , TMS320F28P559SG-Q1 , TMS320F28P559SJ-Q1
This lab checks the voltage and current loops for
the PFC. The variable TINV_vBusRef_pu is defined to set the
voltage at which the output DC bus voltage is to be regulated.
Figure 3-32 describes the software flow for running Lab 7.
Set the project to Lab 7 by changing the lab
number in the <tinv_settings.h> or
main.syscfg file, (this is changed by powerSUITE GUI when using
the 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. These settings can be different than the SDK default
settings. Use the verified settings here:
#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
#endifIn this check the software is run on the hardware, or the HIL platform, or both.
See the hardware test set up section for actual details of the equipment used for configuring the test. At this time, do not supply any high-voltage power to the board.
main.cfg and
select Lab 7 in the project options. The compensator style (PI compensator) and
the tuning loop (current loop) are automatically populated. Now click the run
compensation designer icon and the compensation designer tool launches,
with the model of the current loop plant with parameters specified on the
powerSUITE page.#define TINV_GI_PI_KP ((float32_t)1.8540138247))
#define TINV_GI_PI_KI ((float32_t)0.0081723506))
Figure 3-33 Compensator Design GUI
- Voltage Loop PI Coefficientslab7.js file to populate the
watch variables in the CCS window.TINV_neutralRelaySet. Make sure that the relay is turned on
immediately (within 2 seconds) after turning on the AC supply.TINV_vBusRef_pu to 0.727
pu. This corresponds to bus voltage of 800 V.TINV_fanSet
function in the CCS watch window during the debug session.TINV_startPowerStage variable, the current is now drawn
from the grid as a sinusoidal signal (with some harmonics as the current is at
low power) and boost the action seen on the vBus. The output voltage boosts from
550 V to around 800 V drawing around 200 W power from AC supply as shown in
Figure 3-34. This transition happens in around 150 ms. .cfg page, click on the SFRA icon. The SFRA GUI pops
up.
Figure 3-34 PFC SFRA Plant
Response for Voltage Loop
Figure 3-35 PFC SFRA Loop Response
for Voltage Loop