TIDUES0E June 2019 – April 2024 TMS320F28P550SG , TMS320F28P550SJ , TMS320F28P559SJ-Q1
In Lab 3, the converter is run in secondary
voltage close-loop configuration (DAB_vSecSensed_Volts
).
This lab runs the voltage mode compensator, obtains the open-loop transfer function of plant from SFRA, and runs the design compensator for the plant in the compensator design tool.
Launch the compensation designer which prompts the selection of a valid SFRA data file. Import the SFRA data from the run in Lab 2 into the compensation designer to design a 2P2Zcompensator. Keep more margins during this iteration of the design to make sure that when the loop is closed, the system is stable. The following coefficient values are hard-coded in the software. The compensation designer GUI gives information about the stability of the loop, gain margin, phase margin, and bandwidth of the loop. The coefficients can be modified in the compensation designer GUI.
#define DAB_GV_2P2Z_A1 ((float32_t) -1.8756666)
#define DAB_GV_2P2Z_A2 ((float32_t) 0.8756666)
#define DAB_GV_2P2Z_B0 (float32_t) 1.4329852)
#define DAB_GV_2P2Z_B1 ((float32_t) -2.7994568)
#define DAB_GV_2P2Z_B2 (float32_t) 1.3664965)
Compile the project by selecting Lab 3: Closed Loop Voltage with Resistive Load in the drop-down menu of Project Options from PowerSUITE GUI. Make sure current and voltage limits are set per operating conditions.
#if DAB_LAB == 3
#define DAB_CONTROL_RUNNING_ON C28X_CORE
#define DAB_POWER_FLOW DAB_POWER_FLOW_PRIM_SEC
#define DAB_INCR_BUILD DAB_CLOSED_LOOP_BUILD
#define DAB_TEST_SETUP DAB_TEST_SETUP_RES_LOAD
#define DAB_PROTECTION DAB_PROTECTION_ENABLED
#define DAB_CONTROL_MODE DAB_VOLTAGE_MODE
#define DAB_SFRA_TYPE 2
#define DAB_SFRA_AMPLITUDE (float32_t)DAB_SFRA_INJECTION_AMPLITUDE_LEVEL2
#endif
Use the following steps to run voltage close loop:
setupdebugenv_lab3.js
in the scripting console.DAB_enableFan
and
DAB_enableRelay
.DAB_clearTrip
variable.DAB_vPrimSensed_Volts
,
DAB_iPrimSensed_Amps
,
DAB_vSecSensed_Volts
, and
DAB_iSecSensed_Amps
variables are updating
periodically.DAB_vSecRef_Volts
(in this example
50Vdc).DAB_closeGvLoop
variable. The controller automatically adjusts the phase shift ,
depending upon the operating conditions to generate secondary output
voltage to match with that of DAB_vSecRef_Volts
. DAB_vSecRef_Volts
accordingly, to reach to the required operating point.DAB_vSecRef_Volts
from 400 V to
500 V. Observe that the DAB_vSecSensed_Volts
tracks
this command reference.The additional phase shift on the primary side introduced with EPS control is seen in Figure 4-35. Here both the primary side and the secondary side are soft-switching.
The bode plot in Figure 4-36 is captured using a DF22 compensator.