Beruflich Dokumente
Kultur Dokumente
S1
VDC / 2
S3
L
C
S2
S4
S1 S4
INTRODUCTION
DSPWM
Vsin
-Vsin
DSP TMS320F2812
II.
Tx
VDC / 2
I.
III.
RULE OF SPWM
Sinusoidal PWM is obtained by comparing a highfrequency carrier with a low-frequency sinusoid, which is the
modulating or reference signal [3]. The carrier has a constant
period; therefore, the switches have constant switching
frequency. The switching instant is determined from the
1129
(1)
(2)
(9)
(10)
(11)
and similarly,
(3)
and
during the two
Consider first the average voltages
halves of the modulating pulse
(4)
where
(5)
(6)
and, similarly
where
(7)
(12)
(13)
(14)
and similarly,
(8)
1130
(15)
(16)
GP Timer
(17)
TxPR
Period Register
and, similarly,
(18)
TxCMPR
Compare Register
(19)
Compare
Logic
Carrier Signal
Generator
TxPWM
PWM Signal
TxCNT
GPTimer Counter
(20)
(21)
IV.
There are two general purpose (GP) timers that can work
independently from each other. GP Timer 1 and 2 are
controlled by EVA while GP Timer 3 and 4 are controlled by
EVB. These timers are used to provide a time base for the
operation of compare units and associated PWM circuits to
generate the PWM outputs [5]. Each GP Timer has updown
1131
B. SPWM Generation
In this work, the single-phase PWM inverter controller
model is developed in SIMULINK and experiments are
performed by using eZdsp TMS320F2812 board. A
SIMULINK model is constructed from blocks of the C2000
Embedded target Library which are used to represent
algorithms and peripherals specific to the C2800 DSP family.
A target preference block has to be added to the model, in this
case the F2812 eZdsp block. It is not connected to any other
blocks, but stands alone to set the target preferences for the
model. However, it allows control build options for the
compiler, assembler and linker which will be invoked to
generate the executable image file for download to the DSP
Texas Instruments.
The switching scheme implemented in this work is unipolar
switching scheme. In this switching scheme, the switches in
two legs of the full bridge inverter of Fig. 1 are not switched
simultaneously. Leg A of the inverter turned on and off based
on the comparison of modulating signal, with the carrier
signal while the turned on and off of leg B is based on
comparison of the inverse modulating signal, with same
carrier signal. Fig. 9 illustrates the SIMULINK model for
PWM inverter controller. The model consists of two sine wave
blocks, two data type conversion units, C28x PWM and F2812
eZdsp board. The sine wave block provides a sine reference
signal of the same frequency, amplitude and phase as that of
the signal of interest. The sine wave generates signal in double
data type and data type conversion is needed due to F2812
eZdsp works with uint16 (unsigned integer 16) data type.
The period and frequency of the carrier signal are defined as:
(22)
Figure 9. SIMULINK model.
(23)
1132
V.
SIMULATION RESULTS
VI.
EXPERIMENTAL RESULTS
1133
VII. CONCLUSION
This paper presents implementation of a Digital Signal
Processor (DSP) based Sinusoidal Pulse Width Modulation
(SPWM) for single phase inverter. It utilizes two sinusoidal
reference signals and a carrier signal to generate PWM
switching signals. The theoretical and experimental aspects
related to generation of the DSP based SPWM, modulation
law, and operational principle of the inverter were analyzed in
detail. A digital sinusoidal pulse width modulation (DSPWM)
algorithm is implemented in DSP TMS320F2812 using
SIMULINK model constructed from blocks of the C2000
Embedded target Library which are used to represent
algorithms and peripherals specific to the C2800 DSP family.
Experimental results indicate that the THD of the inverter low
and the efficiency of the inverter is around 88%.
Figure 15. SPWM1 and SPWM2 waveform generated by DSP (2V/div).
REFERENCES
[1]
[2]
[3]
[4]
[5]
Figure 16. Output voltage (50V/div) and current (200mA/div) waveform of
single phase inverter before filter.
.
Figure 17. Output voltage (100V/div) and current (1A/div) waveform with
resistive load.
1134
H.J. Jiang, Y. Qin, S.S. Du, Z.Y. Yu and S. Choudhury, DSP Based
Implementation of a Digitally-Controlled Single Phase PWM Inverter
for UPS, Telecommunications Energy Conference, pp. 221 224,
INTELEC Twentieth International 4-8 Oct. 1998.
O. Pop, G. Chindris and A. Dulf, Using DSP Technology for True Sine
PWM Generators for Power Inverters, Electronics Technology:
Meeting the Challenges of Electronics Technology Progress, pp. 141 146 vol.1, 27th International Spring Seminar on Volume 1, 13-16 May
2004.
J. Selvaraj and N. A. Rahim, Multilevel Inverter For Grid-Connected
PV System Employing Digital PI Controller, IEEE Transactions On
Industrial Electronics, Vol. 56, No. 1, January 2009.
L. Mihalache. "DSP Control Method of Single -Phase Inverters for UPS
Applications ". IEEE Trans. On Industry Application. 2002, pp 590-595.
eZdsp 282 Technical Reference, DSP Development Systems, Available
Online at http://www.ti.com, 2002.