Introduction 2
Introduction 2
1. Project summary
This Project represents the software and microcontroller (PIC 18F4550) based
multimode single phase PWM inverter. The purpose of this project is to be able to
select from the three types of modes. They are the Square wave PWM, Regular
sampled PWM and Harmonic elimination PWM. It is also able to select the output
voltage, frequency and order of the harmonic through the computer interface
software. This can further be developed to Space vector modulation and to simulate
input/output waveforms. Each different mode calculates the corresponding switching
ON time (switching pattern) and is stored in the array in this software. It then sends it
to the microcontroller transmission through USB or serial peripheral interface.
Microcontroller using that switching pattern makes the final switching patterns and
dead time. The patterns are then sent to the power circuit unit through the drivers.
The advantage of using this project is to reduce the cost by reducing the
components used. It also has the added advantage of remote control through the
web.
The basic blocks diagram of the Software controlled multimode single phase inverter
DC Power Supply
Computer Interface
1
Project Proposal 2011
2.1 User Interface
Interface will use Visual Basic to design the software. According to the mode of
output signal user has to input the relevant parameters. For example for the regular
sampled mode the reference signal frequency has to be entered as a basic
parameter. However there should be a freedom for the user to select the carrier
signal frequency (r ), carrier signal amplitude (Vr) and thereby the modulation index
(m) etc.
Software control for this inverter brings advantages for the user. One Important
feature is that the hardware requirement is reduced to a great degree (memory of the
microcontroller and additional circuit for reference waveforms). Therefore, the cost is
reduced. The software simulation, calculations and comparator can replace almost
all the switching and control operations performed by hardware units. It is safe and
offers the user more options for the controlling. On the other hand remote operation
will be possible through the internet.
Fig. 2 Design Visual Basic interface software (This is still in the process of improvement)
2
Project Proposal 2011
2.1.1 Mathematical operations
Mathematical models used to calculate the pulse on/off times for each mode of
operation are illustrated as below.
2.1.1.1 Square wave PWM
Vc
Vr
Leg A
Leg B
3
Project Proposal 2011
t = t0 T t = t0 + T V 1 =V r sin( ωr t 0 )
Sinusoid (V +V )T
with peak=Vr τ= c 1
2V c
(V +V sin( ωr t 0 ))T
Vc V 1= c r
2V c
V1 T
V 1= (1+msin(ω r t 0 ))
2
t 1
τ= (1+m sin(2 πf r t 0 ))
Vc Bottom switch ON 2 pf r
This Values of and Tc at each sampling point can be saving in an array and
transmitted to the microcontroller to start switching.
m
2V d
.
bn =
nπ [1+2 ∑ (−1)k cos nα k
k =1 ]
Where a0 =0 , an =0
N+ 1
cos α 1 −cos α 2 … . … … … .. (−1 ) cos αN πVoA /4
[ cos 3 α 1
cos 5 α 1
.
.
cos 3 α 2
cos 5 α 2
.
.
… … … … . (−1 )N +1 cos 3 αN
.
.
N +1
… … … … .. (−1 ) cos 5 αN
N +1
cos( m−1) α 1 cos(m−1) α 2 … … … … … (−1 ) cos (m−1) αN
=
][ ]
0
0
.
.
0
2.2 Microcontroller
This family of devices offers the advantages of all PIC18 microcontrollers – namely,
high computational performance at an economical price – with the addition of high
endurance, Enhanced Flash program memory. This microcontroller is specially
developed for the generation of Sinusoidal PWM (SPWM) with dead time controller.
71 instructions/commands of microprocessor will have to be studied to design the
program.
5
Project Proposal 2011
6
Project Proposal 2011
7
Project Proposal 2011
The dead time controller circuit is useful to make the design simpler and more
reliable. The most important thing is to reduce the cost and the number of
components.
2.3 MOSFET driver
The IR4426/IR4427 is a low voltage, high speed power MOSFET driver. Proprietary
latch immune CMOS technologies enable ruggedized monolithic construction. Logic
inputs are compatible with standard CMOS or LSTTL outputs. The output drivers
feature a high pulse current buffer stage designed for minimum driver cross-
conduction. Propagation delays between two channels are matched.
8
Project Proposal 2011
9
Project Proposal 2011
.
As shown in Figure 2 the H-Bridge circuit consists of four switches corresponding to high
side left, high side right, low side left, and low side right. There are four possible switch
positions that can be used to obtain voltages across the load. These positions are outlined in
Table 1. Note that all other possibilities are omitted, as they would short circuit power to
ground, potentially causing damage to the device or rapidly depleting the power supply.
The switches used to implement an H-Bridge can be mechanical or built from solid
state transistors. Selection of the proper switches varies greatly. The use of P-
10
Project Proposal 2011
Channel MOSFETs on the high side and N-Channel MOSFETs on the low side is
easier, but using all N-Channel MOSFETs and a FET driver, lower “on” resistance
can be obtained resulting in reduced power loss.
Semester 1 2011
Week
Activities
1 2 3 4 5 6 7 8 9 10 11 12 13
11
Project Proposal 2011
Semester 2 2011
Activities
Week
1 2 3 4 5 6 7 8 9 10 11 12 13
Reference
12
Project Proposal 2011
[1] Koutroulis, E., Chatzakis, J., Kalaitzakis, K., and N.C.Voulgaris, “A
bidirectional, sinusoidal, high-frequency inverter design”, IEE Proc.- Electr.
Power Appl., Vol. 148, No. 4, July 2001, pp. 315-318
13
Project Proposal 2011
14