Microcontroller Implementation of Single Phase Inverter Switching Strategies
Microcontroller Implementation of Single Phase Inverter Switching Strategies
Abstract
This paper presents the practical microcontroller
implementation of single phase inverter switching
strategies. The attractiveness of this configuration is the
used of a microcontroller to generate sinusoidal pulse
width modulation (SPWM) pulses. The difference
amplitude modulation ratio ma starting from 0.3 until
over modulation with 2 KHz switching frequency was
implemented and tested. Selected results from the
experimental prototype will be presented. The result
shows the relationship between amplitude modulation
ratio with total harmonic distortion (THD) and dead
time period.
1. Introduction
SPWM or sinusoidal pulse width modulation is
widely used in power electronics to digitize the power
so that a sequence of voltage pulses can be generated by
the on and off of the power switches. The pulse width
modulation inverter has been the main choice in power
electronic for decades, because of its circuit simplicity
and rugged control scheme [1]. SPWM switching
technique is commonly used in industrial applications.
SPWM techniques are characterized by constant
amplitude pulses with different duty cycle for each
period. The width of this pulses are modulated to obtain
inverter output voltage control and to reduce its
harmonic content [2]. Sinusoidal pulse width
modulation or SPWM is the mostly used method in
motor control and inverter application. In this
development a unipolar SPWM voltage modulation
type [3]-[4] is selected because this method offers the
advantage of effectively doubling the switching
frequency of the inverter voltage, thus making the
output filter smaller, cheaper and easier to implement.
Conventionally, to generate this signal, triangle wave as
mf =
fcarrier
freference
ftri
f sin
(1)
104
ma =
Vm, reference
Vm, sin
=
Vm, carrier
Vm, carrier
(2)
105
(a)
(f)
(b)
(g)
(c)
(h)
(i)
(d)
(j)
(e)
Figure 4: Switching signal for difference amplitude modulation ratio
(a)
ma =0.3, (b) ma =0.4, (c) ma =0.5, (d) ma =0.6, (e) ma =0.7, (f) ma =0.8, (g) ma =0.9, (h) ma =1.0,
( i ) ma =1.3, ( j ) ma =1.5
X-axis: 1div= 1ms, Y-axis: 1div=2V
106
5. Conclusion
The main task in this work is to find the best
switching pulses generated by microcontroller with
difference amplitude modulation ratio. Amplitude
modulation ratio, ma =1.3 produced good total
harmonic distortion for both voltage and current. THD
produced by that signal is less than 3% (after filter).
The implementation of the single phase SPWM
switching signal using microcontroller is placed on
minimization of the hardware requirement, with as
many functions as possible being performed in the
software. Using microcontroller unit, the amplitude
modulation ratio and duty cycle can be easily change
through programming without further hardware
changes.
6. References
[1] B. Ismail, S.Taib, A.R Mohd Saad, M.Isa, I.Daut.
Development of Control Circuit for Single Phase
Inverter Using Atmel Microcontroller, Proc. Of the
International Conference of Man-Manchine System,
Langkawi, 2006.
[2] B. Ismail, S.Taib, A.R Mohd Saad, M.Isa, C.M
Hadzer. Development of a Single Phase SPWM
Microcontroller-Based Inverter, Proc.of the First
International Power and Energy Conference, PECon
2006, Putrajaya, pp 437-440.
[3] L. Mihalache. DSP Control Method of Single
Phase Inverters for UPS Applications. IEEE Trans. On
Industry Application. 2002, pp 590-595.
[4] N. Mohan, T.M.Undeland, W.P.Robbins, Power
Electronic-Converters, Applications and Design,
Second edition, John Wiley & Sons Inc., 1995.
107