drives using simulink

87
Programming, Analysis and Simulation using Matlab- For Electrical Engineering 17-19 January,2008 G.H. Patel College of Engineering and Technology Electrical Drives using Simulink toolbox of Matlab Presented by: P.R.Mankad Electrical Engineering Department, ri S’ad Vidya Mandal Institute of Technology, Bharu

Upload: mitalipm

Post on 18-Nov-2014

1.760 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 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

Page 2: Drives Using Simulink

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.

Page 3: Drives Using Simulink

3

Simulink

Page 4: Drives Using 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.

Page 5: Drives Using Simulink

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.

Page 6: Drives Using Simulink

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.

Page 7: Drives Using Simulink

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

Page 8: Drives Using Simulink

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

Page 9: Drives Using Simulink

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

Page 10: Drives Using Simulink

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.

Page 11: Drives Using Simulink

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.

Page 12: Drives Using Simulink

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.

Page 13: Drives Using Simulink

13

How to build simple model To create a new

model on Windows, select the New Model button on the Library Browser's toolbar

Page 14: Drives Using Simulink

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)

Page 15: Drives Using Simulink

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.

Page 16: Drives Using Simulink

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

Page 17: Drives Using Simulink

17

How to bulild simple model To simulate the

model, click on ‘start’ from the simulation menu.

See the results on scope.

Page 18: Drives Using Simulink

18

The Library Blocks The Continuous

library

It contains blocks that model linear functions

Page 19: Drives Using Simulink

19

Discontinuities The Discontinuities

library contains blocks whose outputs are discontinuous functions of their inputs.

Page 20: Drives Using Simulink

20

Discrete The Discrete library

contains blocks that represent discrete-time functions.

Page 21: Drives Using Simulink

21

Math Operations The Math

Operations library contains blocks that model general mathematical functions.

Page 22: Drives Using Simulink

22

Math Operations More math

functions.

Page 23: Drives Using Simulink

23

Signal Routing The Signal Routing

library contains blocks that route signals from one point in a block diagram to another.

Page 24: Drives Using Simulink

24

Sink The Sinks library

contains blocks that display or write block output.

Page 25: Drives Using Simulink

25

Sources The Sources

library contains blocks that generate signals.

Page 26: Drives Using Simulink

26

SimPowerSystems Blockset It is library of

specialized blocks pertaining to Electrical Engineering.

Page 27: Drives Using Simulink

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.

Page 28: Drives Using 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.

Page 29: Drives Using Simulink

29

D.C.Machines Machine data to be

entered is shown here.

Page 30: Drives Using Simulink

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’

Page 31: Drives Using Simulink

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

Page 32: Drives Using Simulink

32

D.C. Shunt Motor Drive

Fig. above shows D.C.Shunt motor drive with constant load.

Page 33: Drives Using Simulink

33

Transient response.

Page 34: Drives Using Simulink

34

D.C.Series Motor Drive

Fig. above shows D.C.Series motor drive with constant load.

Page 35: Drives Using Simulink

35

Transient response.

Page 36: Drives Using Simulink

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).

Page 37: Drives Using Simulink

37

(2)Asynchronous Machines (Induction Machines) The parameters to

be entered are shown here.

Page 38: Drives Using Simulink

38

Induction Machines Measurements are

available through Machine Measurement Demux block located in ‘Machines’ library of SimPowerSystems Blockset.

Page 39: Drives Using Simulink

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.

Page 40: Drives Using Simulink

40

Induction Machines Drive

Fig. above shows an Induction motor with constant load

Page 41: Drives Using Simulink

41

Induction Machines Drive

Transient response

Page 42: Drives Using Simulink

42

Types of Loads

Page 43: Drives Using Simulink

43

Fig. above shows D.C.Series motor drive with Load torque proportional to speed.

LT

Page 44: Drives Using Simulink

44

Transient response.

TL

TM

LT

Page 45: Drives Using Simulink

45

Fig. above shows D.C.Series motor drive with Load torque proportional to square of speed.

2LT

Page 46: Drives Using Simulink

46

TL

2LT

Page 47: Drives Using Simulink

47

Speed Control

Page 48: Drives Using Simulink

48

DC Shunt Motor

Armature voltage control method

Page 49: Drives Using Simulink

49

DC Shunt Motor

Page 50: Drives Using Simulink

50

DC Shunt Motor

Field flux control method

Page 51: Drives Using Simulink

51

DC Shunt Motor

Page 52: Drives Using Simulink

52

DC Series Motor

Field diverter method

Page 53: Drives Using Simulink

53

DC Series Motor

Page 54: Drives Using Simulink

54

Induction Motor

Stator voltage control method

Page 55: Drives Using Simulink

55

Induction Motor

Page 56: Drives Using Simulink

56

Induction Motor

Stator supply frequency control method

Page 57: Drives Using Simulink

57

Braking of Motors

Page 58: Drives Using Simulink

58

DC Shunt Motor

Regenerative braking of dc shunt motor

Page 59: Drives Using Simulink

59

DC Shunt Motor

Page 60: Drives Using Simulink

60

DC Shunt Motor

Regenerative braking of dc shunt motor

Page 61: Drives Using Simulink

61

Induction Motor

Regenerative braking of Induction motor

Page 62: Drives Using Simulink

62

Induction Motor

Page 63: Drives Using Simulink

63

Induction Motor

Regenerative braking of Induction motor

Page 64: Drives Using Simulink

64

Power Modulators

Page 65: Drives Using Simulink

65

Block diagram of an electric drive

Source Powermodulator

Motor Load

Sensingunit

Controlunit

Input command

Page 66: Drives Using Simulink

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

Page 67: Drives Using Simulink

67

AC to DC converters

Fixed voltage1ph or 3-ph

ac

Fixed voltagedc

Diode rectifier

Page 68: Drives Using Simulink

68

AC to DC converters

Single phase Diode rectifier using universal bridge

2 mdc

VV

Page 69: Drives Using Simulink

69

AC-DC converters

Single phase diode rectifier wave forms

Page 70: Drives Using Simulink

70

DC Shunt Motor fed with 1ph-diode rectifier

Page 71: Drives Using Simulink

71

AC to DC converters

Fixed voltage1ph or 3-ph

ac

Variable voltagedc

Fully controlled thyristor rectifier

Page 72: Drives Using Simulink

72

AC to DC converters

Fully controlled thyristor rectifier using universal bridge

2cosm

dc

VV

Page 73: Drives Using Simulink

73

AC-DC converters

Fully controlled thyristor rectifier wave forms

Page 74: Drives Using Simulink

74

DC Shunt Motor fed with 1ph-controlled rectifier

Page 75: Drives Using Simulink

75

Triggering of 1ph-controlled rectifier

Page 76: Drives Using Simulink

76

AC Voltage Controllers

Fixed voltage1ph or 3-ph

acDiode rectifier

Fixed voltage1ph or 3-ph

ac

Variable voltageac

Thyristor voltage controller

(Soft starters)

Page 77: Drives Using Simulink

77

Soft starter

Page 78: Drives Using Simulink

78(Available as demo)

Soft starter

Page 79: Drives Using Simulink

79

Soft started Induction motor drive

Page 80: Drives Using Simulink

80

DC-DC converters (Choppers)

Diode rectifier

Fixed voltagedc

Variable voltagedc

Semiconductorchopper

Page 81: Drives Using Simulink

81

Chopper fed DC drive

(Available as demo)

Page 82: Drives Using Simulink

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)

Page 83: Drives Using Simulink

83

PWM inverter

PWM inverter using universal bridge

2 2dc

ac

VV m

Page 84: Drives Using Simulink

84

Induction Motor drive usingPWM inverter

PWM inverter using universal bridge

Page 85: Drives Using Simulink

85

Generation of PWM pulses

PWM inverter using universal bridge

Page 86: Drives Using Simulink

86

Generation of PWM pulses

PWM pulses to inverter

Page 87: Drives Using Simulink

87

Output voltage of PWM inverter

PWM inverter using universal bridge