TIDUES0E June 2019 – April 2024 TMS320F28P550SJ , TMS320F28P559SJ-Q1
In this setup, the DC source is connected to secondary side and the resistive load is connected to primary side. The design is operated with closed-current loop in the reverse direction.
Compile the project by selecting 7: Closed Loop Current 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 == 7
#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_CURRENT_MODE
#define DAB_SFRA_TYPE 1
#define DAB_SFRA_AMPLITUDE (float32_t)DAB_SFRA_INJECTION_AMPLITUDE_LEVEL1
#endif
setupdebugenv_lab7.js
in the
scripting console.DAB_enableFan
and DAB_enableRelay
.DAB_clearTrip
variable in the watch view.DAB_vPrimSensed_Volts
, DAB_iPrimSensed_Amps
,
DAB_vSecSensed_Volts
, and DAB_iSecSensed_Amps
variables are updating periodically.DAB_iPrimRef_Volts
(in this example –3 A).DAB_closeGvLoop
variable. The controller
automatically adjusts the phase shift , depending upon the operating conditions to
generate primary output current to match with that of
DAB_iPrimRef_Volts
.DAB_iPrimRef_Volts
can be increased in steps and the control
behavior can be observed.The same controller and gains as in Lab 4 are used.