Lecture #9 Control Engineering REVIEW SLIDES Reference: Textbook by Phillips and Habor

35
Lecture #9 Control Engineering REVIEW SLIDES Reference: Textbook by Phillips and Habor

description

Lecture #9 Control Engineering REVIEW SLIDES Reference: Textbook by Phillips and Habor. Mathematical Modeling. Models of Electrical Systems. R-L-C series circuit, impulse voltage source:. Model of an RLC parallel circuit:. Kirchhoff’ s voltage law: - PowerPoint PPT Presentation

Transcript of Lecture #9 Control Engineering REVIEW SLIDES Reference: Textbook by Phillips and Habor

Page 1: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

Lecture #9Control EngineeringREVIEW SLIDES

Reference: Textbook by Phillips and Habor

Page 2: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

Mathematical Modeling

Page 3: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

Models of Electrical Systems

R-L-C series circuit, impulse voltage source:R-L-C series circuit, impulse voltage source:

Page 4: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

Model of an RLC parallel circuit:Model of an RLC parallel circuit:

Page 5: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

Kirchhoff’ s voltage law:Kirchhoff’ s voltage law:

The algebraic sum of voltages around any closed loop in The algebraic sum of voltages around any closed loop in an electrical circuit is zero.an electrical circuit is zero.

Kirchhoff’ s current law:Kirchhoff’ s current law:

The algebraic sum of currents into any junction in an The algebraic sum of currents into any junction in an electrical circuit is zero.electrical circuit is zero.

Page 6: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

Models of Mechanical Systems

Mechanical translational systems.Mechanical translational systems. Newton’s second law:Newton’s second law:

Device with friction (shock absorber):Device with friction (shock absorber): BB is damping coefficient. is damping coefficient. Translational system to be defined is a spring (Hooke’s law):Translational system to be defined is a spring (Hooke’s law): KK is spring coefficient is spring coefficient

Page 7: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

Model of a mass-spring-damper system:Model of a mass-spring-damper system:

Note that linear physical systems are modeled by linear Note that linear physical systems are modeled by linear differential equations for which linear components can be differential equations for which linear components can be added together. See example of a mass-spring-damper added together. See example of a mass-spring-damper system.system.

Page 8: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

Simplified automobile suspension system:Simplified automobile suspension system:

Page 9: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

Mechanical rotational systemsMechanical rotational systems.. Moment of inertia:Moment of inertia:

Viscous friction:Viscous friction:

Torsion:Torsion:

Page 10: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

Model of a torsional pendulum (pendulum in clocks insideModel of a torsional pendulum (pendulum in clocks inside

glass dome);glass dome);

Moment of inertia of pendulum bob denoted by Moment of inertia of pendulum bob denoted by JJ

Friction between the bob and air by Friction between the bob and air by BB

Elastance of the brass suspension strip by Elastance of the brass suspension strip by KK

Page 11: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

Differential equations as mathematical models of physical Differential equations as mathematical models of physical systems: similarity between mathematical models of systems: similarity between mathematical models of electrical circuits and models of simple mechanical electrical circuits and models of simple mechanical systems (see model of an RCL circuit and model of the systems (see model of an RCL circuit and model of the mass-spring-damper system).mass-spring-damper system).

Page 12: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

Laplace Transform

Page 13: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

NameName Time function f(t)Time function f(t) Laplace TransformLaplace Transform

Unit ImpulseUnit Impulse (t)(t) 11

Unit StepUnit Step u(t)u(t) 1/s1/s

Unit rampUnit ramp tt 1/s1/s22

nth-Order rampnth-Order ramp t t nn n!/sn!/sn+1n+1

ExponentialExponential ee-at-at 1/(s+a)1/(s+a)nth-Order exponentialnth-Order exponential t t nn e e-at-at n!/(s+a)n!/(s+a)n+1n+1

SineSine sin(sin(bt)bt) b/(sb/(s22+b+b22))

CosineCosine cos(cos(btbt)) s/(ss/(s22+b+b22))

Damped sineDamped sine ee-at -at sin(sin(bt)bt) b/((s+a)b/((s+a)22+b+b22))

Damped cosineDamped cosine ee-at -at cos(cos(bt)bt) (s+a)/((s+a)(s+a)/((s+a)22+b+b22))

Diverging sineDiverging sine tt sin( sin(bt)bt) 2bs/(s2bs/(s22+b+b22))22

Diverging cosineDiverging cosine tt cos( cos(bt)bt) (s(s22-b-b22)) /(s/(s22+b+b22))22

Page 14: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

Find the inverse Laplace transform of F(s)=5/(s2+3s+2).

Solution:Solution:

Page 15: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

Find inverse Laplace Transform of

Page 16: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

Find the inverse Laplace transform of F(s)=(2s+3)/(s3+2s2+s). Solution:Solution:

Page 17: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

Laplace Transform Theorems

Page 18: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

Transfer Function

Page 19: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

Transfer Function

After Laplace transform we have After Laplace transform we have X(s)=G(s)F(s)X(s)=G(s)F(s)

We call We call G(s)G(s) the the transfer functiontransfer function..

Page 20: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

System interconnectionsSystem interconnections Series interconnectionSeries interconnection

Y(s)=H(s)U(s)Y(s)=H(s)U(s) where where H(s)=HH(s)=H11(s)H(s)H22(s).(s).

Parallel interconnectionParallel interconnection

Y(s)=H(s)U(s)Y(s)=H(s)U(s) where where H(s)=HH(s)=H11(s)+H(s)+H22(s).(s).

Page 21: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

Feedback interconnectionFeedback interconnection

Page 22: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

Transfer function of a servo motor:Transfer function of a servo motor:

Page 23: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

Mason’s Gain Formula

This gives a procedure that allows us to find This gives a procedure that allows us to find the transfer function, by inspection of either the transfer function, by inspection of either a block diagram or a signal flow graph.a block diagram or a signal flow graph.

Source NodeSource Node: signals flow away from the : signals flow away from the node.node.

Sink nodeSink node: signals flow only toward the : signals flow only toward the node.node.

PathPath: continuous connection of branches : continuous connection of branches from one node to another with all arrows in from one node to another with all arrows in the same direction.the same direction.

Page 24: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

LoopLoop: a closed path in which no node is : a closed path in which no node is encountered more than once. Source node encountered more than once. Source node cannot be part of a loop.cannot be part of a loop.

Path gainPath gain: product of the transfer functions : product of the transfer functions of all branches that form the loop.of all branches that form the loop.

Loop gainLoop gain: products of the transfer : products of the transfer functions of all branches that form the loop.functions of all branches that form the loop.

NontouchingNontouching: two loops are non-touching : two loops are non-touching if these loops have no nodes in common.if these loops have no nodes in common.

Page 25: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor
Page 26: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

An Example

Loop 1 Loop 1 (-G(-G22HH11) and loop 2 (-) and loop 2 (-GG44HH22) are not ) are not touching.touching.

Two forward paths:Two forward paths:

Page 27: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor
Page 28: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

State Variable System:

Page 29: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

Solutions of state equationsSolutions of state equations::

Page 30: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

Responses

Page 31: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

System Responses (Time Domain)

First order systems:First order systems:

Transient responseTransient response

Steady state responseSteady state response Step responseStep response Ramp responseRamp response Impulse responseImpulse response

Second order systemsSecond order systems Transient responseTransient response

Steady state responseSteady state response Step responseStep response Ramp responseRamp response Impulse responseImpulse response

Page 32: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

Time Responses of first order systemsThe T.F. for first order system:The T.F. for first order system:

)()/1(

)/(

)/1()(

:condition initial with general,In

below.clear be will and of meaning the//1

1)(

)()(

0

0

00

0

0

sRs

K

s

ysY

y

KKba

s

K

as

b

sR

sYsG

0),1()(

)/1()]/1([

)/()(

/

teKty

s

K

s

K

ss

KsY

t

ssR /1)( :response stepUnit

Page 33: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

T.F.) theof pole the

from (originate response ent)(or transi natural termSecond

R(s)).input of pole the(from response state-steady First term

)()1()( /

tueKty t

Page 34: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

is called the is called the time constanttime constant

Ex. Position control of the pen of a plotter forEx. Position control of the pen of a plotter for a a digital computer: is too slow, digital computer: is too slow, is faster. is faster.

sec1

sec1.0

T.F.order first generalfor

constant time and

response state-steady

)(lim)(lim 0

K

KssYty st

Page 35: Lecture #9 Control Engineering REVIEW  SLIDES Reference: Textbook by Phillips and Habor

System DC GainSystem DC Gain In general: In general:

gain. DC thecalled is G(0) Hence system. theof

order theoft independen true,is This input. step)(unit

constant for gain state-steady theis )0( Therefore

).0()(lim)(lim

/1R(s) :input stepunit For

)()(lim)(lim)(lim

0

00

G

GsGty

s

sRssGssYty

st

sst