SE201: Introduction to Systems Engineering Mathematical Modeling.

46
SE201: Introduction to Systems Engineering Mathematical Modeling

Transcript of SE201: Introduction to Systems Engineering Mathematical Modeling.

Page 1: SE201: Introduction to Systems Engineering Mathematical Modeling.

SE201: Introduction to Systems Engineering

Mathematical Modeling

Page 2: SE201: Introduction to Systems Engineering Mathematical Modeling.

Mathematical Models

A mathematical model is a set of equations that relates different variables of the system

Mathematical models are essential for the analysis and design of control systems

Page 3: SE201: Introduction to Systems Engineering Mathematical Modeling.

Falling Ball Example A ball falling from a height of 100 meters

We need to determine a mathematical model that describes the behavior of the falling ball.

Objectives of the model: answer these questions:

1. When does the ball reach ground?

2. What is the impact speed?

Different assumptions results in different models

Page 4: SE201: Introduction to Systems Engineering Mathematical Modeling.

Falling Ball Example

Can you list some of the assumptions?

Page 5: SE201: Introduction to Systems Engineering Mathematical Modeling.

Falling Ball Example Assumptions for Model 1

1. Initial position = 100 x(0) = 100

2. Initial speed = 0 v(0) = 0

3. Location: near sea level

4. The only force acting on the ball is the gravitational force (no air resistance)

ttv

ttx

Solution

8.9)(

)8.9(5.0100)(

:2

0)0(;100)0(

)(;8.9

:

vx

tvdt

dx

dt

dv

Model

Page 6: SE201: Introduction to Systems Engineering Mathematical Modeling.

Falling Ball Example More models

Other mathematical models are possible. One such model includes the effect of air resistance. Here the drag force is assumed to be proportional to the square of the velocity.

0)0(;100)0(

)(;8.9

:2

coeffient drag theis , resistanceair

2

2

vx

tvdt

dxv

m

c

dt

dv

Model

cwherecv

Page 7: SE201: Introduction to Systems Engineering Mathematical Modeling.

How far can this stunt driver jump?

List some assumptions for solving this problem

Page 8: SE201: Introduction to Systems Engineering Mathematical Modeling.

Stunt driver

Assumptions: Point mass Mass of car+driver =M Initial speed = v0

Angle of inclination =a No drag force

Model can be obtained to give the distance covered by the jump in terms of M,a, v0,…

Page 9: SE201: Introduction to Systems Engineering Mathematical Modeling.

Classification of Models

Static models: Models involve algebraic equations only

Dynamic models involves differential equations

Linear models: includes linear algebraic and/or differential equations

Other types of Models

(nonlinear, distributed, discrete-time, hybrid,…)

Page 10: SE201: Introduction to Systems Engineering Mathematical Modeling.

Transfer functions

A transfer function is used to describe the relationship between the input and output of a system or a subsystem

Transfer function is defined for systems described by linear algebraic and/or linear differential equations

Transfer function G

Input U Output Y

Y = G U

Page 11: SE201: Introduction to Systems Engineering Mathematical Modeling.

Static Models

The relationship between steady state values of input and output of a linear system is described by a linear static model

Uof valuestatesteady

Yof valuestatesteady G

Transfer function G

Input U Output Y

Page 12: SE201: Introduction to Systems Engineering Mathematical Modeling.

ExampleElectric Motor

Input (voltage supplied to motor) Volts Output (Motor speed ) revolution /min The transfer function represents the ratio of

steady state value of output over steady state value of input

Motor G

U (volts) Y (rev/min)

Uof valuestatesteady

Yof valuestatesteady G

Page 13: SE201: Introduction to Systems Engineering Mathematical Modeling.

ExampleElectric Motor

steady state value of input 12 Volts transfer function G= 500 revolution /min/volt What is the steady state value of output?

Motor G

U (volts) Y (rev/min)

/minrevolution 600012*500

Uof valuestatesteady Yof valuestatesteady

G

Page 14: SE201: Introduction to Systems Engineering Mathematical Modeling.

Block Diagrams Reductions

Page 15: SE201: Introduction to Systems Engineering Mathematical Modeling.

Objectives

• To understand the concept of Block diagrams and their assumptions

• To be able to reduce complex block diagrams to a simple (one block) diagram

Page 16: SE201: Introduction to Systems Engineering Mathematical Modeling.

Block diagrams

A block diagram is used to represent linear relationship between the input and the output of a subsystem.

Let the input and the output be U and Y,

the relationship between U and Y is represented by a rectangular block having a transfer function G

GU Y = G U

Page 17: SE201: Introduction to Systems Engineering Mathematical Modeling.

Block diagrams

A block diagram is pictorial representation of systems.

It shows different components (or subsystems) that make a system and shows their interactions

Each rectangular block represents a subsystem Inputs are represented by arrows entering the block Outputs are represented by arrows leaving the block

G

X Y

H

G

Page 18: SE201: Introduction to Systems Engineering Mathematical Modeling.

Voltage Divider

21

1

RR

RG

eGeo

+

e

−,

21

1 eRR

Reo

1R

2R

oe

e

input output

Page 19: SE201: Introduction to Systems Engineering Mathematical Modeling.

Two-input-two-output systems

2221

1211

gg

ggG

11g21g

12g

22g

1u

1u

2u

2u

1y

1y

2y

2y

inputs outputs

Page 20: SE201: Introduction to Systems Engineering Mathematical Modeling.

Block diagram manipulation

HG H G

H

GH + G

H

G

G . 1+H G

_

Page 21: SE201: Introduction to Systems Engineering Mathematical Modeling.

Block diagram manipulation 2

G

X

Y G

X

Y

G

G

X

Y G

X

Y

G

V

Page 22: SE201: Introduction to Systems Engineering Mathematical Modeling.

Block Diagrams transformationsBlocks in cascade

GVX HG

YH

X Y

Two blocks in cascade are replaced by a single block whose transfer function is the product of transfer functions

Page 23: SE201: Introduction to Systems Engineering Mathematical Modeling.

Block Diagrams transformationsParallel Combination

G+H

YGX Y

H

X

Two blocks are in parallel they can be replaced by a single block whose transfer function is the sum of transfer functions

Page 24: SE201: Introduction to Systems Engineering Mathematical Modeling.

Block Diagrams transformationsMoving a summing point

G

X Y

GX

Y

G─1

U

U

Page 25: SE201: Introduction to Systems Engineering Mathematical Modeling.

Block Diagrams transformationsMoving a summing point

G

X Y

GX

Y

GUU

Page 26: SE201: Introduction to Systems Engineering Mathematical Modeling.

Block Diagrams transformationsMoving a pickoff point (#1)

G

V

Y G

V

Y

G

V

V

Page 27: SE201: Introduction to Systems Engineering Mathematical Modeling.

Block Diagrams transformationsMoving a pickoff point (#2)

G

X

Y G

X

Y

G─1

XX

Page 28: SE201: Introduction to Systems Engineering Mathematical Modeling.

Block Diagrams transformationsMoving a summing point

G

X Y

GX

Y

G─1

U

U

Page 29: SE201: Introduction to Systems Engineering Mathematical Modeling.

Block Diagrams transformationsEliminating a Feedback Loop

XG

X Y

HGH

G

1

Y

Page 30: SE201: Introduction to Systems Engineering Mathematical Modeling.

Exercise

Find the transfer function relating X and Y

GX

Y

H

M

K

Page 31: SE201: Introduction to Systems Engineering Mathematical Modeling.

BD transformationsAn example

Page 32: SE201: Introduction to Systems Engineering Mathematical Modeling.

BD transformationsAn example

Page 33: SE201: Introduction to Systems Engineering Mathematical Modeling.

BD transformationsAn example

Page 34: SE201: Introduction to Systems Engineering Mathematical Modeling.
Page 35: SE201: Introduction to Systems Engineering Mathematical Modeling.

BD transformationsAn example

Page 36: SE201: Introduction to Systems Engineering Mathematical Modeling.

BD transformationsAn example

Page 37: SE201: Introduction to Systems Engineering Mathematical Modeling.

Keywords

• Summing point• Pickoff point• Transfer function• Cascade combination• Parallel combination• Feedback combination• Block diagram• Block diagram reduction

Page 38: SE201: Introduction to Systems Engineering Mathematical Modeling.

Example

Find the transfer function of the following system

G H K

?

Page 39: SE201: Introduction to Systems Engineering Mathematical Modeling.

Example

Find the transfer function of the following system

G H K

KHG

The transfer function of three blocks in series is the product of the three transfer functions

U VW Y

Y = KW = K (HV) = K H (GU) = KHG U

Page 40: SE201: Introduction to Systems Engineering Mathematical Modeling.

ExamplePressure Measurement System

The pressure measurement system consists of A pressure sensor Signal conditioner

Pressure SensorGenerate electric

current proportionalTo the pressure

G=0.1 mA/Pa

Signal Conditioner

)Amplifier(K=20

U Y

Page 41: SE201: Introduction to Systems Engineering Mathematical Modeling.

ExamplePressure Measurement System

Pressure SensorGenerate electric

current proportionalTo the pressure

G=0.1 mA/Pa

Signal Conditioner

)Amplifier(K=20

P V

T.F=20*0.1=2mA/PaVP

Page 42: SE201: Introduction to Systems Engineering Mathematical Modeling.

Example

Find the transfer function of the following system

G H

K

?

Page 43: SE201: Introduction to Systems Engineering Mathematical Modeling.

Example

Find the transfer function of the following system

G H

K

GHK

GH

1

Page 44: SE201: Introduction to Systems Engineering Mathematical Modeling.

ExampleMotor with Speed Control

Find the transfer function of the following system

Amplifier + relay + motorG=600 rev/min/volt

Tachometer(speed sensor)K=3mvolt/rev/min

214600*003.01

600

1

GKG

Page 45: SE201: Introduction to Systems Engineering Mathematical Modeling.
Page 46: SE201: Introduction to Systems Engineering Mathematical Modeling.