Project Report On Matlab Pulse Width Modulation
Project Report On Matlab Pulse Width Modulation
CONTENTS
Acknowledgement
Certificate
Contents
List of Figures
Abstract
1. Introduction
2. Methodology and procedure identification
3. Insulated Gate Bipolar Transistor (IGBT)
3.1 Advantages & disadvantages of IGBT
3.1.1 Advantages
3.1.2 Disadvantages
3.3 Working Principle
3.2 Latch-up in IGBT
3.4 IGBT characteristics
3.4.1 Static I-V characteristics
3.4.2 Transfer characteristics
3.4.3 Switching characteristics
4. PWM
4.1 Introduction
4.2 Objective
4.3 PWM methods
4.4 Sine PWM
4.5 Three phase PWM
Page
1
2
3
5
6
7
8
9
9
9
9
10
10
11
11
12
12
5. Simulation
5.1 Introduction
5.2SIMULINK as a tool for system simulation
5.3Simulation setup
5.4Simulation Results
6. PCI 1710
6.1 Introduction
6.2 Main features
6.3 Specification
6.3.1 Analog input
6.3.2 Analog output
6.3.3 Digital input
6.4 Image
6.5 Pin diagram
7. IR 2110
7.1Introduction
Department of EEE, GEC. Thrissur
2
7.2Features
7.3Pin diagram
7.4Typical connection
6. Experimental setup
6.1 Introduction
6.2 Inverter design
6.3 Power circuit
6.4 Driver circuit
6.5 Power supply
6.6 Conclusion and future scope
6.7 Experimental setup picture
Conclusion 38
References 40
LIST OF FIGURES
Figure
Page
10
11
12
13
15
16
16
19
19
20
21
22
22
24
25
26
28
29
30
31
32
34
37
ABSTRACT
Pulse Width Modulation (PWM) technique is proven to be an effective way of
controlling speed of induction motor. This paper presents the development of the
algorithm to perform the PWM operation using Matlab Simulink, which then was
interfaced with the actual induction motor using the Matlab/Real time workshop. The
speed of induction motor was controlled through the I/O interface circuit and
Simulink; hence allowing the real time control. The control algorithm was also
developed to enable the rotational direction switching. These functions are
successfully carried out in Matlab simulation and in actual model. This method
provides a means to control speed of induction motor remotely using a host PC,
which may be connected through local area network or wireless network.
1. INTRODUCTION
Pulse Width Modulation (PWM) technique is an effective way of
controlling the speed of induction motor, and thus allowing the motor to be applied in
the area requiring speed control. Available techniques to control the speed of
induction motor are: varying the slip by changing rotor resistance or terminal voltage
and varying synchronous speed by changing number of poles or supply frequency.
Changing rotor resistance requires wound-rotor induction motor and any resistances
inserted to the rotor circuit will reduce the efficiency of the machines. Changing
terminal voltage has limited range of speed control. Changing the number of poles
requires a motor with special stator windings. The best method is to change the
electrical frequency because it is applicable to any types of induction motor. The
speed of induction motor depends on the rate of rotation of its magnetic fields or the
synchronous speed, which is directly proportional to any change of electrical
frequency . PWM technique is used to control the electrical frequency of the 3-phase
voltage supplied to the motor from the Insulated Gate Bipolar Transistors (IGBTs)
inverter circuit, hence allowing the speed to be varied with respect to the frequency of
the reference signal, input to the PWM signal generator. The Real time workshop
from Math Works is an industrial PC for use in performing real-time analysis,
simulation, and testing of control systems and digital signal processing (DSP)
systems. The box works with Real time workshop software, a host-target environment
that lets users connect models created in Math Works design tools such as Simulink,
Matlab, and Real-Time Workshop, to physical systems, and execute them in real
time . The Matlab/Real time workshop was used in some application other than
induction motor speed control .This paper presents the development of the algorithm
to perform the PWM operation using Matlab Simulink. Then the Matlab/Real time
workshop was used to interface with the actual induction motor, finally through the
I/O interface circuit and simulink slider gain, the speed of induction motor was
controlled. The control algorithm also developed to switch the rotational direction of
the motor, i.e. forward or reverse direction.
ADVANTAGES
DISADVANTAGES
For a similar motor cable length as the BJT drive, the faster output voltage rise
time of the IGBT drive may increase the dielectric voltage stress on the motor and
cable due to a phenomenon called reflected wave.
Faster output dV/dt transitions of IGBT drives also increase the possibility for
phenomenon such as increased common mode electrical noise.
Electromagnetic interference (EMI) problems and increased capacitive cable
charging current problems.
Any pulse width modulated (PWM) drive with a steep fronted output voltage
wave form may increase motor shaft voltage and lead to a bearing current
phenomenon known as fluting.
WORKING PRINCIPLE
When collector is made positive with respect to emitter, IGBT gets forward biased.
With no voltage between gate and emitter, the two junctions J 2 between n- and p is
reverse biased. So noncurrent flows from collector to emitter. When gate is made
positive with respect to emitter by a voltage more than the threshold voltage of IGBT,
an n-channel or inversion layer is formed in upper part of p-region just below the
gate. This n-channel short-circuits the n- and n+ regions. So electrons from n+ region
flow into n- region. p+ is already injecting holes into n- region. So the conductivity of
n- region increases considerably. IGBT gets turned on and starts conducting forward
current IC .
3.3
LATCH-UP IN IGBT
When IGBT is on, hole current flows through transistor p+n-p and p-body resistance
Rby. If load current is large, then drop through resistance Rby will be large. This drop
will forward bias npn+ transistor. This further facilitates the turn on of p+n-p transistor.
Department of EEE, GEC. Thrissur
9
This can be a regenerative process. With parasitic thyristor on, IGBT latches up and
after this collector current is no longer under the control of gate terminal. The only
way now to turn off the latched-up IGBT is by forced commutation of current. If this
latch-up isnt aborted quickly, excessive power dissipation may destroy the IGBT.
Hence to avoid this latch-up, collector current mustnt exceed a certain critical value
which must be specified by the manufacturer.
3.4
IGBT CHARACTERISTICS
a)
b)
c)
Fig. 4.1: The ac output voltage produced by the VSI of a standard ASD
a) The electrical power conversion topology;
b) The ideal input (ac mains) and output (load) waveforms; and
c) The actual input (ac mains) and output (load) waveforms.
Department of EEE, GEC. Thrissur
14
,
vtri
Vdc / 2
where,
component
of
VA0
6. SIMULATION
6.1 INTRODUCTION
Use of simulation studies as a valid tool for testing new ideas and schemes has now
come of age. Simulation studies offer a number of other advantages. They help on
determining optimal parameters. Destructive tests that could not have been done in
the laboratory can be easily simulated and responses to fault and abnormal conditions
can be analyzed. Simulated waveforms at different places, not really accessible from
outside can be easily monitored. Component ratings are not needed before hand
during simulation.
A number of simulation packages are available which enable us to develop simulation
programs for electric drive system. Basically there are two types of simulators,
namely, circuit based simulators and equation based simulators. In the former case of
simulators power electronics circuits can be simulated, taking into account, the real
dynamics of switching processes the disadvantage with such simulators is that they
need machines also to be represented by their equivalent circuits. The accuracy of
simulation in this case may not be to desired level. On the other hand , the latter type
of simulators are basically equation solvers. semiconductor devices can either be
represented as ideal switches or can be represented using the corresponding dynamic
equations during switching. Machines can be accurately represented as a number of
differential equation in the state space form. MATLAB/SIMULINK is such a
powerful equation based simulator which can meet the requirements of simulation of
electric drive system.
the users disposal e.g. integration algorithm like Runge-kutta, Dormand Prince, and
Euler. The appropriate choice of method and careful selection of simulation
parameters are important considerations for obtaining accurate results.
7. Implementation
DC Bus
Voltage
FET Hex
Bridge
Induction
Motor
Gate Drive
Speed
Command
Switching
Signals
8. PCI 1710
8.1INTRODUCTION
The Advantech PCI-1710is a powerful data acquisition (DAS) card for the PCI bus. It
features a unique circuit design and complete functions for data acquisition and
control, including A/D conversion, D/A conversion, digital input, digital output, and
counter/timer. The PCI-1710 is a multi-function data acquisition card for the PCI bus.
This card provides multiple measurement and control functions.
Model PCI-1710 offers 16 12-bit single ended channels of A/D input, 16 channels of
digital inputs, 16 channels of digital outputs, two 12-bit channels of analog output,
and one 16-bit timer/counter with a time base of 10 MHz. Model PCI-1710 also
allows the user to configure the A/D inputs as differential analog inputs.
This card provides an on-board FIFO (First In First Out) memory buffer that can store
up to 4K A/D samples.
The card provides a programmable counter for generating a pacer trigger for the A/D
conversion. The counter chip is an 82C54 or equivalent, which includes three 16-bit
counters on a 10 MHz clock. One counter is used as an event counter for counting
events coming from the input channels. The other two are cascaded together to make
a 32-bit timer for a pacer trigger.
8.2MAIN FEATURES
Programmable gain
BoardID switch
8.3SPECIFICATION
8.3.1ANALOG INPUT
Resolution 12-bit
Conversion Time 8 ms
Input Impedance 1 G
8.3.2ANALOG OUTPUT
Channels 2
Driving Capability 10 mA
8.3.3DIGITAL INPUT
Channels 16
9. IR2110
9.1INTRODUCTION
Department of EEE, GEC. Thrissur
31
The IR2110/IR2113 are high voltage, high speed power MOSFET and IGBT drivers
with independent high and low side referenced output channels. Proprietary HVIC
and latch immune CMOS technologies enable ruggedized monolithic construction.
Logic inputs are compatible with standard CMOS or LSTTL output, down to 3.3V
logic. The output drivers feature a high pulse current buffer stage designed for
minimum driver cross-conduction. Propagation delays are matched to simplify use in
high frequency applications. The floating channel can be used to drive an N-channel
power MOSFET or IGBT in the high side configuration which operates up to 500 or
600 volts.
9.2FEATURES
Floating channel designed for bootstrap operation
Fully operational to +500V or +600V
Tolerant to negative transient voltage dV/dt immune
Gate drive supply range from 10 to 20V
Under voltage lockout for both channels
3.3V logic compatible
Separate logic supply range from 3.3V to 20V
Logic and power ground 5V offset
CMOS Schmitt-triggered inputs with pull-down
Cycle by cycle edge-triggered shutdown logic
Matched propagation delay for both channels
Outputs in phase with inputs
9.3PIN DIAGRAM
FET Hex
Bridge
Induction
Motor
Gate Drive
Speed
Command
Switching
Signals
Since the voltage that is impressed in the present case is around 400 V and
considering a factor of 2 , the voltage rating of the device is selected as 900 V. the
allowable current that must handle is around 5 A and hence considering a factor of 3,
the device with a current rating of 15 A is selected. Due to unavailability of the device
with this current rating, a device with 60 A is considered. Switching frequency of
inverter is taken as 5 KHz.
10.6 WORKING
The SIMULINK file is converted into C code using Real Time Workshop. The
simulation mode is changed to external. The simulation stop time is made infinite.
After successful completion of Real-Time Workshop build procedure for model, the
SIMULINK model is connected to the target. By varying the slider gain the speed can
be controlled by keeping V/F ratio constant.
11. RESULTS
11.1Matlab Simulink Simulation Results
Referring to Figure 5, the speed increased gradually until it reached required speed
with respect to the input frequency. For instance, when the input frequency was set to
30Hz, the speed increased gradually until it reached and maintained constant at 900
rpm. When the input frequency was changed to a higher value, 70Hz, the speed
increased steadily to 2100rpm. The speed decreased from 2900 rpm to 1500 rpm
when the frequency was reduced to 50 Hz from 100 Hz. If the acceleration and
deceleration ramp function were not included the speed of the motor will increases
very rapidly, which will destroy the motor. Figure 6 shows that the motor was
operated in reverse direction and the motor speed can also be varied with respect to
the input frequency supplied. In the figure RPM positive indicates rotation in forward
direction and RPM negative indicates rotation in reversed direction while frequency
positive indicates the phase sequence is [0o, 120o, -120o] and frequency negative
indicates the phase sequence is [0o, -120o, -120o]. The frequency itself is not
negative.
When the PWM algorithm was applied to the actual IGBT module and actual
induction motor, it was observed that the motor started to rotate slowly to its desired
speed depending on the reference frequency provided. The speed of the motor
increased steadily based on the frequency supplied by the control signal until it
reached the desired speed and remained constant at the speed. The speed of the motor
was captured using a small tachogenerator attached to the rotor. A speed sensor or
tachometer was connected to the tachogenerator to observe the speed of the motor.
Table 1 shows the speed of the motor for each frequency input, based on the
measured voltage. It was also discovered that the speed of the motor with respect to
the input frequency in the real application was lower than that in the Matlab Simulink
model simulation. This was due to the friction and windage losses in the actual model
that was ignored in the Simulink model.
12. CONCLUSION
The development of the algorithm to perform the PWM operation using Matlab
Simulink, and implementation to actual model using the Matlab/Real time
workshopto control the speed of induction motor was successfully discussed. The
acceleration and deceleration ramps as well as rotational direction switching functions
were also functioning, proven by both Matlab simulation and implementation to the
actual model. This method provides a means to control speed of induction motor
remotely using a host PC, which may be connected through local area network or
wireless network connection of the actual motor, IGBTs and keypad to the host PC.
III. REFERENCES
[1] N. Mohan, W. P. Robbin, and T. Undeland, Power Electronics: Converters,
Applications, and Design, 2nd ed. New York: Wiley, 1995.
[2] B. K. Bose, Power Electronics and Variable Frequency Drives: Technology
and Applications. IEEE Press, 1997.
[3] H.W. van der Broeck, H.-C. Skudelny, and G.V. Stanke, Analysis and
realization of a pulse width modulator based on voltage space vectors,
IEEE Transactions on Industry Applications, vol.24, pp. 142-150, 1988.