Download - Drives Using Simulink
A Workshop on
Programming, Analysis and Simulation using Matlab- For
Electrical Engineering17-19 January,2008
G.H. Patel College of Engineering and Technology
Electrical Drives using Simulink toolbox of
Matlab
Presented by:
P.R.MankadElectrical Engineering Department,
Shri S’ad Vidya Mandal Institute of Technology, Bharuch
2
What is Matlab?
The name MATLAB stands for matrix laboratory.
MATLAB® is a high-performance language for technical computing.
It integrates computation, visualization, and programming in an easy-to-use environment.
3
Simulink
4
What is Simulink? Simulink is a software package that enables
you to model, simulate, and analyze systems whose outputs change over time.
Such systems are often referred to as dynamic systems.
Simulink can be used to explore the behavior of a wide range of real-world dynamic systems, including electrical circuits, shock absorbers, braking systems, and many other electrical, mechanical, and thermodynamic systems.
5
What Is Simulink? For modeling, Simulink provides a graphical
user interface (GUI) for building models as block diagrams, using click-and-drag mouse operations.
With this interface, you can draw the models just as you would with pencil and paper (or as most textbooks depict them).
Simulink includes a comprehensive block library of sinks, sources, linear and nonlinear components, and connectors. You can also customize and create your own blocks.
6
What Is Simulink? After you define a model, you can simulate it,
using a choice of integration methods
Using scopes and other display blocks, you can see the simulation results while the simulation is running.
In addition, you can change parameters and immediately see what happens, for "what if" exploration.
The simulation results can be put in the MATLAB workspace for postprocessing and visualization.
7
How Simulink Works? Simulating a dynamic system is a two-step
process with Simulink.
First, you create a graphical model of the system to be simulated, using the Simulink model editor.
The model depicts the time-dependent mathematical relationships among the system's inputs, states, and outputs
8
How Simulink Works? Second we use Simulink to simulate the
behavior of the system over a specified time span. Simulink uses information that you entered into the model to perform the simulation
9
Modeling Dynamic Systems Simulink provides a library browser that
allows you to select blocks from libraries of standard blocks and a graphical editor that allows you to draw lines connecting the blocks.
You can model virtually any real-world dynamic system by selecting and interconnecting the appropriate Simulink blocks. Skip
10
Block Diagrams A Simulink block diagram is a pictorial model
of a dynamic system. It consists of a set of symbols, called blocks,
interconnected by lines.
Each block represents an elementary dynamic system that produces an output either continuously (a continuous block) or at specific points in time (a discrete block).
The lines represent connections of block inputs to block outputs.
11
Example-1: This example shows
you how to build a model.
The model integrates a sine wave and displays the result along with the sine wave.
The block diagram of the model looks like this.
12
How to bulild simple model To create the model,
first enter ‘simulink’ in the MATLAB command window.
On Microsoft Windows, the Simulink Library Browser appears as shown.
13
How to build simple model To create a new
model on Windows, select the New Model button on the Library Browser's toolbar
14
How to bulild simple model
To create this model, you need to copy blocks into the model from the following Simulink block libraries:
Sources library (the Sine Wave block) Sinks library (the Scope block) Continuous library (the Integrator block) Signals & Systems library (the Mux block)
15
How to bulild simple model You can copy a Sine Wave
block from the Sources library, using the Library Browser.
To copy the Sine Wave block from the Library Browser, click the Sine Wave node to select the Sine Wave block and drag it to new model window.
16
How to bulild simple model Similarly copy
integrator bloack from continuous library, mux from signals and systems library block and scope from sink.
Connect sine wave block to other two items using mouse.
Connect output of mux to a scope
17
How to bulild simple model To simulate the
model, click on ‘start’ from the simulation menu.
See the results on scope.
18
The Library Blocks The Continuous
library
It contains blocks that model linear functions
19
Discontinuities The Discontinuities
library contains blocks whose outputs are discontinuous functions of their inputs.
20
Discrete The Discrete library
contains blocks that represent discrete-time functions.
21
Math Operations The Math
Operations library contains blocks that model general mathematical functions.
22
Math Operations More math
functions.
23
Signal Routing The Signal Routing
library contains blocks that route signals from one point in a block diagram to another.
24
Sink The Sinks library
contains blocks that display or write block output.
25
Sources The Sources
library contains blocks that generate signals.
26
SimPowerSystems Blockset It is library of
specialized blocks pertaining to Electrical Engineering.
27
Electrical Drives using Simulink Electrical Machines:
(1)D.C.Machines(2)Asynchronous Machines(3) Synchronous Machines
and (4)Transformers models are available in
SimPowerSystems Blockset of Simulink.
28
(1)D.C.Machines This block implements a
separately excited DC machine. An access is provided to the field
terminals (F+, F-) so that the machine model can be used as a shunt-connected or a series-connected DC machine.
The armature circuit (A+, A-) consist of an inductor La and resistor Ra in series with a counter-electromotive force (CEMF) E.
29
D.C.Machines Machine data to be
entered is shown here.
30
D.C.Machines Measurements are available through
demultiplexer. Four internal signals are multiplexed on the
Simulink measurement output vector returning
Rotor speed in rad/sec. Armature current in ‘A’ Field current in ‘A’ Electromechanical torque in ‘N.m’
31
D.C.Machines Source D.C.Voltage source
Load Torque in (N-m). Constant Load can be implemented
by constant block of sources library
32
D.C. Shunt Motor Drive
Fig. above shows D.C.Shunt motor drive with constant load.
33
Transient response.
34
D.C.Series Motor Drive
Fig. above shows D.C.Series motor drive with constant load.
35
Transient response.
36
(2)Asynchronous Machines (Induction Machines) This block implements an
Induction machine. The Asynchronous Machine
block operates in either generating or motoring mode.
The mode of operation is dictated by the sign of the mechanical torque (positive for motoring, negative for generating).
37
(2)Asynchronous Machines (Induction Machines) The parameters to
be entered are shown here.
38
Induction Machines Measurements are
available through Machine Measurement Demux block located in ‘Machines’ library of SimPowerSystems Blockset.
39
Induction Machines
AC voltage source
Single phase and three phase AC sources are available, voltage and frequency of which can be adjusted as per requirement.
40
Induction Machines Drive
Fig. above shows an Induction motor with constant load
41
Induction Machines Drive
Transient response
42
Types of Loads
43
Fig. above shows D.C.Series motor drive with Load torque proportional to speed.
LT
44
Transient response.
TL
TM
LT
45
Fig. above shows D.C.Series motor drive with Load torque proportional to square of speed.
2LT
46
TL
2LT
47
Speed Control
48
DC Shunt Motor
Armature voltage control method
49
DC Shunt Motor
50
DC Shunt Motor
Field flux control method
51
DC Shunt Motor
52
DC Series Motor
Field diverter method
53
DC Series Motor
54
Induction Motor
Stator voltage control method
55
Induction Motor
56
Induction Motor
Stator supply frequency control method
57
Braking of Motors
58
DC Shunt Motor
Regenerative braking of dc shunt motor
59
DC Shunt Motor
60
DC Shunt Motor
Regenerative braking of dc shunt motor
61
Induction Motor
Regenerative braking of Induction motor
62
Induction Motor
63
Induction Motor
Regenerative braking of Induction motor
64
Power Modulators
65
Block diagram of an electric drive
Source Powermodulator
Motor Load
Sensingunit
Controlunit
Input command
66
Power Modulator
Power modulator performs following four functions
Modulated flow of power from source to motor
Restricts source and motor currents within limits
Converts source energy suitable to motor Selects mode of operation i.e motoring or
braking
67
AC to DC converters
Fixed voltage1ph or 3-ph
ac
Fixed voltagedc
Diode rectifier
68
AC to DC converters
Single phase Diode rectifier using universal bridge
2 mdc
VV
69
AC-DC converters
Single phase diode rectifier wave forms
70
DC Shunt Motor fed with 1ph-diode rectifier
71
AC to DC converters
Fixed voltage1ph or 3-ph
ac
Variable voltagedc
Fully controlled thyristor rectifier
72
AC to DC converters
Fully controlled thyristor rectifier using universal bridge
2cosm
dc
VV
73
AC-DC converters
Fully controlled thyristor rectifier wave forms
74
DC Shunt Motor fed with 1ph-controlled rectifier
75
Triggering of 1ph-controlled rectifier
76
AC Voltage Controllers
Fixed voltage1ph or 3-ph
acDiode rectifier
Fixed voltage1ph or 3-ph
ac
Variable voltageac
Thyristor voltage controller
(Soft starters)
77
Soft starter
78(Available as demo)
Soft starter
79
Soft started Induction motor drive
80
DC-DC converters (Choppers)
Diode rectifier
Fixed voltagedc
Variable voltagedc
Semiconductorchopper
81
Chopper fed DC drive
(Available as demo)
82
AC Voltage Controllers
Fixed voltagedc
Diode rectifier
Variable frequencyFixed voltage
acStepped waveSemiconductor
inverter
(Soft starters)Diode rectifierPWM semiconductorinverter
Fixed voltagedc
Variable frequencyVariable voltage
ac
(a)
(b)
83
PWM inverter
PWM inverter using universal bridge
2 2dc
ac
VV m
84
Induction Motor drive usingPWM inverter
PWM inverter using universal bridge
85
Generation of PWM pulses
PWM inverter using universal bridge
86
Generation of PWM pulses
PWM pulses to inverter
87
Output voltage of PWM inverter
PWM inverter using universal bridge