TIDUES0E June 2019 – April 2024 TMS320F28P550SJ , TMS320F28P559SJ-Q1
In this setup, the DC source is connected to the secondary side and the resistive load is connected to the primary side. The design is operated with closed-voltage loop in the reverse direction.
Compile the project by selecting 6: Closed Loop Voltage with Resistive Load, Sec to Prim Power Flow 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 == 6
#define DAB_CONTROL_RUNNING_ON C28X_CORE
#define DAB_POWER_FLOW DAB_POWER_FLOW_SEC_PRI
#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
setupdebugenv_lab6.js
in the scripting console.DAB_enableFan
and
DAB_enableRelay
.DAB_clearTrip
variable in the watch view.DAB_IprimSensed_Amps
,
DAB_iPrimSensed_Amps
,
DAB_vSecSensed_Volts
, and
DAB_iSecSensed_Amps
variables are updating
periodically.DAB_vPrimRef_Volts
(in this example 50
Vdc).DAB_closeGvLoop
variable. The controller automatically adjusts the phase shift ,
depending upon the operating conditions to generate primary output
voltage to match with that of DAB_vPrimRef_Volts
.DAB_vPrimRef_Volts
can be increased in
steps and the control behavior can be observed.