TIDUES0E June 2019 – April 2024 TMS320F28P550SJ , TMS320F28P559SJ-Q1
In the lab 2 build, the board is excited in
open-loop fashion with a specified frequency (100 kHz) and phase shift. The phase
shift can be changed through the watch window. The phase shift is controlled with
the DAB_pwmPhaseShiftPrimSec_pu
variable. This build verifies the
sensing of feedback values from the power stage, operation of the PWM gate driver,
HW protection, and makes sure there are no hardware issues. Additionally, calibrate
the input and output voltage sensing in this build. For the HW test setup see Section 4.2.
The following defines are set
in the settings.h
file for this build. The settings can be
defined by selecting Lab 2: Open Loop PWM with Protection in the
drop-down menu of Project Options from PowerSUITE GUI.
setupdebugenv_lab2.js
in the scripting console.DAB_vPrimSensed_Volts
,
DAB_iPrimSensed_Amps, DAB_vSecSensed_Volts
, and
DAB_iSecSensed_Amps
variables are updating
periodically.Relay and fan validation
DAB_enableRelay
. The typical clicking is usually
audible and the current consumption needs to increase to approximately
1.14 A.DAB_enableFan
. The fans start spinning and the
current consumption increases to 1.43 A (here two CFM6015V-154-362 fans
are used).DAB_clear
tripDAB_pwmPhaseShuftPrimSecRef_pu
By default, the
DAB_pwmPhaseShiftPrimSec_pu
variable is set to 0.02.
Vary this phase shift slowly in steps of 0.002 pu and observe the change in
voltage at the output of the converter. Make sure to not increase the phase
shift very high as the phase shift can boost the output voltage greater than
the input voltage and can lead to breakdown of MOSFETs at the maximum
applied voltage.
Before actual high-voltage and high-power testing, validate the protection features. Validation can also be done at low voltages (for example, 50-V input). The limits for overcurrent and overvoltage protection can be modified from PowerSUITE GUI, see Figure 4-9.
The previous
waveforms show PWM is shut off by the comparator subsystem during
fault events. The type of fault is displayed in the watch window
through variable DAB_tripFlag
, see Figure 4-26. The trip can be reset by selecting noTrip under the
drop-down menu and re-enabling the PWM by writing “1” to the
DAB_clearTrip
variable. Make sure the fault
condition is removed before re-enabling the PWM.
SFRA.csv
is saved in the project folder, under an
SFRA Data Folder, and is time-stamped with the time of the SFRA run.
SFRA can be run at different frequency setpoints to cover the range of
operation of the system. A compensator is designed using these measured
plots through compensator designer. Compensation designer can be opened
from the main.syscfg GUI.Inside ISR1, the SFRA injects small signal perturbations in phase and observes the sensed output voltage variations. The following lines of code inside the dab.h file perform the SFRA signal injection and collection.
SFRA.csv
. Use this file to tune the
compensator for the current loop.