csl2 16 j15

26
ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION Control Systems Lecture 2

Upload: kodam2512

Post on 18-Aug-2015

39 views

Category:

Engineering


0 download

TRANSCRIPT

Page 1: Csl2 16 j15

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION

Control Systems

Lecture 2

Page 2: Csl2 16 j15

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION

Today’s class

• System• Transfer Function • Laplace transform• Differential equations• Modelling mechanical systems

Page 3: Csl2 16 j15

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION

System

SystemInputx(t)

Output (response)y(t)

Rules of operations

By writing the rules of operation, we get a differential equation as a combination of inputs and outputs

dn y𝑑𝑡𝑛

+𝑎𝑛−1dn− 1 y𝑑𝑡𝑛− 1 +…+𝑎0 y=𝑏𝑚

dmx𝑑𝑡𝑚

+…+𝑏0 x

Page 4: Csl2 16 j15

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION

CLASSIFICATION OF SYSTEMS

• Linear and Non-linear – Linear - Having properties of Additivity and

scalability• Time invariant and time varying

– Time invariant – system parameters do not change with time.

• Networks with RLC components

– Time varying – system parameters vary with time• Space shuttle losing mass due to fuel

Page 5: Csl2 16 j15

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION

CLASSIFICATION OF SYSTEMS• Controls are classified with respect to

– technique involved to perform control (i.e. human/machines): manual/automatic control

– Time dependence of output variable (i.e. constant/changing): regulator/servo,

(also known as regulating/tracking control)– fundamental structure of the control (i.e. the information used

for computing the control): Open-loop/feedback control,

(also known as open-loop/closed-loop control)

Page 6: Csl2 16 j15

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION

Mathematical Modelling of physical systems

Page 7: Csl2 16 j15

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION

Transfer function

System g(t)Inputx(t)

Output (response)y(t)

𝑌 (𝑠)𝑋 (𝑠)

=𝐺(𝑠)Transfer function

How to write the transfer function?

Page 8: Csl2 16 j15

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION

Fundamentals to transfer function

• Laplace TransformA technique to solve differential equation

Transforming time domain function to frequency domain function

Laplace Transform Definition

0

)()( dtetfsF stSolving differential equation is easy that is through algebra. No need to carry out differentiation or integration.

Page 9: Csl2 16 j15

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION

Example of Laplace Transform technique

atatadtty

adt

dy

tt

0

0)(

condition initial zero

Integral Approach

Page 10: Csl2 16 j15

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION

Example of Laplace Transform technique

2)(

)(

][

Transform Laplace Taking

condition initial zerowith

s

asY

s

assY

aLdt

dyL

adt

dy

Laplace Transform Approach

atty

s

aLsYL

)(

)]([

Transform Laplace Inverse Taking

211

Page 11: Csl2 16 j15

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION

Partial Fraction Expansion

A mathematical technique to help taking Inverse Laplace Transform

Page 12: Csl2 16 j15

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION

Partial Fraction Expansion

tt eKeKtfsFL

s

K

s

KsF

sssF

221

1

21

)()]([

21)(

Expansion,Fraction PartialBy

)2)(1(

2)(

Solve

Page 13: Csl2 16 j15

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION

Partial Fraction Expansion

Three cases:1.Roots of the denominator of F(s) are

real number and distinct2.Roots of the denominator of F(s) are

real number and repeated 3.Roots of the denominator of F(s) are

complex or imaginary

Page 14: Csl2 16 j15

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION

Partial Fraction Expansion – Case 1: Real and distinct roots

5)5(

)2()(

s

B

s

A

ss

ssY

5

2

)5(

)2(

0

ss

sA

5

3

)(

)2(

5

ss

sB

55

35

2)(

ss

sY

Page 15: Csl2 16 j15

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION

Partial Fraction Expansion – Case 1: Real and distinct roots

55

35

2)(

ss

sY

ttt eeety 550

5

3

5

2

5

3

5

2)(

Taking Inverse Laplace Transform

Page 16: Csl2 16 j15

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION

Partial Fraction Expansion - MATLAB

2)2)(1(

2)(

sssY

)52(

3)(

2

ssssY

Real and repeated roots

Imaginary and complex roots

Page 17: Csl2 16 j15

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION

What is Transfer Function?

Mathematical model that separates input from output

)()(2)(

trtcdt

tdc

2

1

)(

)(

ssR

sC

Page 18: Csl2 16 j15

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION

What is Transfer Function?

2

1

)(

)(

)()(2)(

)()(2)(

ssR

sC

sRsCssC

trtcdt

tdc

Page 19: Csl2 16 j15

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION

Mathematical modelling of physical systems

• Systems to be modelled– Mechanical– Electrical – Electro mechanical– Pneumatic– Thermal– Hydraulic

Page 20: Csl2 16 j15

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION

Mechanical system modelling

• Translational• RotationalExample

Automobile suspension systemAlong the road1. The vertical displacements at the tires act as the motion

excitation to the automobile suspension system2. Motion consists of a translational motion of the center of

mass3. Rotational motion about the center of mass

Page 21: Csl2 16 j15

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION

Translational system

Example 1

Page 22: Csl2 16 j15

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION

Element Law Expression Laplace

Spring Spring Force α change in length

F(t) = K x(t)K – Stiffness constant in N/m

F(s) = K X(s)

Viscous Damper or Dashpot

Force α velocity F(t) = fv v(t)F(t) =fv dx/dt fv - Friction or damping coefficient ,Ns/m

F(s) = fvsX(s)

Mass Newton’s second lawForce α acceleration

F(t) = M d2x/dt2

F(s) = Ms2X(s)

Translational system

Page 23: Csl2 16 j15

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION

Step 1: Decide input and output

Input variable:

)(tf

Output variable:

)(txMass position

)(txMass velocity

)(txMass acceleration

Applied force

Page 24: Csl2 16 j15

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION

Translational systems

Newton’s second law

Page 25: Csl2 16 j15

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION

Step 2: The Time and frequency response representation

dt

tdxftkxtf

dt

txdM v

)()()(

)(2

2

Taking Laplace Transform

Page 26: Csl2 16 j15

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION

Example 2

F(t)

x1(t) x2(t)

x3(t)