Beruflich Dokumente
Kultur Dokumente
based Inverter
Abstract— This paper presents the design and implementation of between positive and negative cycles. However, the loads are
1kW SPWM based inverter to convert the applied DC voltage becoming more sensitive to pure sine wave in last few years and
from photovoltaic array in to pure sinusoidal AC voltage thus demand of pure sine wave inverters is increasing
according to the voltage and frequency of standard grid output i- tremendously [6]. Pure Sine Wave inverter offers number of
e 220V and 50Hz. The crux of this research work is the use of an
economical and advanced 16-bit PIC microcontroller to generate
advantages over traditional inverters i-e low harmonic
the popular SPWM with very high carrier frequency (in order of distortion, clean power, reduction in electrical and audible noise
kHz) to control the inverter circuit. The high frequency pulses of in fans, cooler and quicker running of inductive loads [7]. There
SPWM results in smoothed filtration of inverter output into pure exists number of techniques in literature to generate pure sine
sine wave by using small sized capacitors and inductors as a filter. wave AC but in this research work, Sinusoidal Pulse Width
In this paper, the simulations of inverter are presented by first Modulation (SPWM) is used to control the switching of
developing code of SPWM in MPLAB and then simulating it on MOSFET full bridge and provides pure sine wave AC output
Proteus software. Finally, it is real-time implemented and tested after filtration by LC filter. Traditionally, SPWM is generated
for resistive load and the output voltage and current are displayed by comparing the sinusoidal signal of desired frequency with
on LCD
Keywords—SPWM; Pure Sine Wave; Microcontroller; Single
triangle wave of carrier frequency and this is done by using
Phase Inverter; MPLAB; Proteus number of ICs in fixed configuration and provides static
solution. The alternative approach used in this paper is to
employ a cost effective with high computational power 16-bit
I. INTRODUCTION PIC24F series microcontroller to generate SPWM at desired
In recent years, the demand in electrical energy has been frequency. The use of microcontroller provides dynamic
increased exponentially due to increase in population, economy solution for changing the frequency of SPWM and control
growth and fast depletion of non-renewable energy sources i-e algorithms without any change in hardware. In this research
fossils therefore, renewable energy sources have been getting work simulations of designed SPWM based pure sine wave
popularity word-wide and they have also no adverse effects on inverter are presented in Proteus and then it is real-time
environment [1]. Solar energy is the preferred renewable energy implemented and tested for resistive load. In section 2 SPWM
source over others due to number of reasons i-e ease of is elaborated. Section 3 presents the design and circuit
availability, less maintenance cost, reliable operation and implementation of inverter. Section 4 and 5 presents the
average person can invest in it [2]. Fortunately, Pakistan has simulation and hardware results and finally conclusion is
high potential of solar energy as sun warms the environment for summarized in section 6.
the whole year [3]. The recent development in technology to
II. SINUSOIDAL PULSE WIDTH MODULATION
efficiently harvest solar energy from sun through photovoltaic
(PV) has motivated researchers to improve electrical energy Pulse Width Modulation (PWM) is a technique used to
conversion systems and inverter as a power converter plays an control the output voltage of inverter by varying the duty cycles
important role in renewable energy integration [4]. Inverter of pulses and it has become very popular in power converters
converts the DC output of PV module to AC voltage and injects due to its simple circuit and robust control technique. In
the sinusoidal current into utility [5]. Inverters are classified on SPWM, pulses have constant amplitudes but their duty cycles
the basis of their outputs as Square wave inverter, Modified are changed in proportion to the amplitude of sine wave
Square Wave inverter and Pure Sine Wave inverter. In Pakistan, evaluated at the center of same pulse [8]. Conventionally,
Square Wave inverters are mostly used as they have simple SPWM is generated by comparing the reference sinusoidal
circuit and are cheaper but they are not suitable for most of the signal of desired frequency and carrier triangular signal of very
electrical loads and also have less efficiency due to higher high frequency through comparator. The comparator gives one
harmonics. Modified Square Wave inverter output does not get state at output when carrier signal exceeds the reference and
transition directly from positive peak to negative peak but rather gives second state when reference voltage exceeds the carrier
stay for a while at zero level and consequently gives dead spots voltage as shown in Fig. 1
/
= = 200 (5)
To complete half cycle (180 degrees) of reference signal in 200
pulses, each incremental step (Istep) of sine signal in degrees is
found by Eq. (6)
°
= = 0.9° (6)
From Eq. (6) it is very easy to generate sine look up table of 200
values and the duty cycle of PWM is set by multiplying the
value of sine look up table with total time period of PWM as
shown in Eq. (7)
= (7)
B. Hardware Design and Implementation of Inverter
In this paper the pure sine wave inverter is designed for
Fig. 1 SPWM Generation
following specifications shown in Table 1
In conventional method analog circuits are used to generate
sinusoidal and triangular signals and comparator is used to Table 1. Design Specifications
compare these generated signals and generates SPWM. Input Voltage 12V (DC)
However, the disadvantages associated with this configuration Output Voltage 220V (AC)
are lack of flexibility, more difficult closed loop control, more Max. Output Power 1 (kW)
space required and more complexity [9]. Therefore, with recent Frequency 50Hz
advancements in both digital technology and integrated circuits
The hardware of the inverter is described by the block diagram
microcontroller is getting huge attraction because of its
shown in Fig. 2
integrated peripherals i-e ADCs, Timers and PWM modules etc
[10]. In this paper, SPWM is generated by PIC24F series 16-bit
PIC microcontroller to avoid the disadvantages of analog
circuits. The designing of SPWM and algorithm development
in MPLAB are presented in next section
III. SPWM BASED INVERTER
SPWM based inverter is implemented by following a sequence
of steps given below:
1) SPWM Calculations
2) Hardware Design and Implementation of Inverter
IV. SIMULATIONS
D. Simlation Results
The simulations of pure sine wave inverter are presented in
Proteus by first developing the algorithm of SPWM in MPLAB The simulations of inverter are developed by implementing the
and then implementing the inverter in Proteus. The algorithm circuit diagram shown in Fig. 8
flow chart of SPWM and simulation results are elaborated in
following sections
C. Spwm Algorithm Flowchart
The algorithm flow chart of SPWM is shown in Fig. 7. In the
Fig. 7, initially headers files required by microcontroller are
included then interrupt service routine for timer 2 is defined in
which the sine look up table is declared and at every completion
of PWM cycle a new value of duty cycle is picked from look up
table and in this way microcontroller generates SPWM. In the
following steps timer 2, OC1CON and OC2CON registers are
initialized to generate two PWMs. In main section all the
declared functions are called and finally in while loop the duty
cycle is assigned to particular registers to generate real-time
SPWM Fig. 8 Circuit Diagram of Inverter
REFERENCES