TIDUE53J March 2018 – February 2025 TMS320F28P550SG , TMS320F28P550SJ , TMS320F28P559SG-Q1 , TMS320F28P559SJ-Q1
In this lab, the power stage is run in an open loop on the hardware or HIL platform. Figure 3-5 shows lab setup of the actual hardware.
Figure 3-6 shows the software diagram.
See also the hardware test setup
section for actual details of the equipment used for configuring the test. Set the
project to Lab 2 by changing the Lab Number in the
<tinv_settings.h> or main.syscfg file,
(this is changed by powerSUITE GUI when using powerSUITE project).
In the
user-settings.h file, some additional options are available,
but the following are used for the tests documented in this user guide.
//
// Option to use SDFM based grid sensing for the current loop
// with this option the inv current from hall sensor is overwritten by the grid current from SDFM
// On Revision 5 of the hardware the only option supported is the SDFM sensing
//
#define TINV_SDFM 1
#define TINV_ADC 2
#define TINV_CURRENT_LOOP_SENSE_OPTION TINV_ADC
....
#if TINV_LAB == 2
#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_INVERTER_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.
Set up an appropriate resistive load around 500 Ω
(confirm appropriate power rating for your test) for the star connected load to
start with, although the inverter mode can be started at no load as well. Enable the
12 V auxiliary supply. Build and load the code, use the lab2.js
file to populate the watch variables in the CCS window.
TINV_fanSet
function in the CCS watch window during the debug session.TINV_neutralRelaySet. The auxiliary power
supply draws close to 600 mA.TINV_clearPWMTrip = 1,
to clear the PWM trip signal. Now the switching action begins and sinusoidal
voltages start appearing at the output. At this point, the auxiliary power
supply draws close to 800 mA. With fans enabled, the total auxiliary supply
current is around 1.4 A.TINV_vdInvRef_pu (default value
is 0.835) is the modulation index that can be used to vary the AC output of the
inverter in open-loop fashion.#ifndef __TMS320C28XX_CLA__
TINV_dVal1 = TINV_iGrid_A_sensed_pu;
TINV_dVal2 = TINV_iGrid_B_sensed_pu;
TINV_dVal3 = TINV_iGrid_C_sensed_pu;
TINV_dVal4 = TINV_rgen.out;
DLOG_4CH_run(&TINV_dLog1);
#endif
Figure 3-7 Sensed Grid CurrentsFigure 3-8 shows the three grid voltages monitored from the CCS graph window. The scale is shown in per unit (pu).
Figure 3-8 Sensed Grid VoltageFigure 3-9 shows the captured voltage and current waveform of the inverter operating in open loop at 173 VAC and 0.88 kW.