Final Thesis process modeling simulation and control of multi component batch distillation
Modeling – Part of Control Design Process
Transcript of Modeling – Part of Control Design Process
![Page 1: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/1.jpg)
2009 Spring ME451 - GGZ Page 1Week 3-4: Modeling Physical Systems
Derive mathematical models for
• Electrical systems
• Mechanical systems
• Electromechanical system
Modeling Modeling –– Part of Control Design ProcessPart of Control Design Process
1. Modeling
Mathematical modelMathematical model
2. Analysis
ControllerController
3. Design/Synthesis
4. Implementation
PlantPlantOutputOutput
ActuatorActuatorControllerController
SensorSensor
InputInput
Electrical Systems:
• Kirchhoff’s voltage & current laws
Mechanical systems:
• Newton’s laws
![Page 2: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/2.jpg)
2009 Spring ME451 - GGZ Page 2Week 3-4: Modeling Physical Systems
Modeling Physical Systems Modeling Physical Systems -- OverviewOverview
• Mathematical model is used to represent the input-output
(signal) relation of a physical system
• A model is used for the analysis, design and
simulation validation of control systems.
Physical Physical
systemsystem
ModelModel
ModelingModeling
InputInput OutputOutput
Transfer function obtained Transfer function obtained
via physical lawsvia physical laws
![Page 3: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/3.jpg)
2009 Spring ME451 - GGZ Page 3Week 3-4: Modeling Physical Systems
Modeling Modeling –– RemarksRemarks
• Modeling is the most important and difficult task in
control system design.
• No mathematical model exactly represents a physical
system.
• Do not confuse models with physical systems!
• In this course, we may use the term “system” or “plant”
to mean a mathematical model.
System Physical ModelMath
System Physical ModelMath
≈
≠
![Page 4: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/4.jpg)
2009 Spring ME451 - GGZ Page 4Week 3-4: Modeling Physical Systems
Modeling Modeling –– Transfer FunctionTransfer Function
• A transfer function is defined by
• A system is assumed to be at rest. (Zero initial condition)
Laplace transform Laplace transform
of system outputof system output
Laplace transform Laplace transform
of system inputof system input
)(
)(:)(
sU
sYsG =
)(sU )(sY)(sG
![Page 5: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/5.jpg)
2009 Spring ME451 - GGZ Page 5Week 3-4: Modeling Physical Systems
Modeling Modeling –– Impulse ResponseImpulse Response
• Suppose that u(t) is the unit impulse function and system is at rest.
• The output g(t) for the unit impulse input is called
impulse response.
• Since U(s)=1, the transfer function can also be defined
as the Laplace transform of impulse response:
SystemSystem
)]([:)()(
)()( tgLsY
sU
sYsG ===
)(tg
1)( =sU
)()( ttu δ=
![Page 6: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/6.jpg)
2009 Spring ME451 - GGZ Page 6Week 3-4: Modeling Physical Systems
Modeling Modeling –– Electrical ElementsElectrical Elements
ResistanceResistance CapacitanceCapacitanceInductanceInductance
Laplace Laplace
transformtransform
)(ti )(ti )(ti
)(tv )(tv )(tvR L C
)( )( tiRtv =
RsI
sV=
)(
)(
dt
tdiLtv
)()( =
)0)0(( =i
sLsI
sV=
)(
)(
∫+=
t
dttiC
vtv0
)(1
)0()(
sCsI
sV 1
)(
)(=
)0)0(( =v
![Page 7: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/7.jpg)
2009 Spring ME451 - GGZ Page 7Week 3-4: Modeling Physical Systems
Modeling Modeling –– ImpedanceImpedance
Capacitor
Inductor
Resistance
Impedances – domaint – domainElement
)resistance effective - )(( )( )()( domain,-s In sZsIsZsV =
)(sZ)(sI )(sV
)()( tRitv =
dt
tdiLtv
)()( =
∫=
t
diC
tv0
)(1
)( ττ
)()( sRIsV =
)( )( sIsLsV =
)(1
)( sIsC
sV =
R
sL
sC
1
L++= )()()( :eries in Impedance 21 sZsZsZs eff
L++=)(
1
)(
1)( :aralell in Impedance
21 sZsZsZp eff
![Page 8: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/8.jpg)
2009 Spring ME451 - GGZ Page 8Week 3-4: Modeling Physical Systems
Modeling Modeling –– KirchhoffKirchhoff’’s Voltage & Current Lawss Voltage & Current Laws
R
LC
Sv CvRv
Ri Ci
Li
• The algebraic sum of voltage drops around any loop is zero.
• The algebraic sum of currents into any junction is zero.
Zero sum voltage:
0=++− CRS vvv
0=++− LRS vvv
Zero junction current:
0=−−LCR
iii
![Page 9: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/9.jpg)
2009 Spring ME451 - GGZ Page 9Week 3-4: Modeling Physical Systems
Modeling Modeling –– Electrical Example 1Electrical Example 1
∫++=
t
i diC
tiRRv0
21 )(1
)()( ττ
Kirchhoff voltage law (zero
initial conditions):
1R
C
iv ovRv
i
2R
∫+=
t
o diC
tiRv0
2 )(1
)( ττ
Transfer Function
)(1
)()()( 21 sIsC
sIRRsVi ++= )(1
)()( 2 sIsC
sIRsVo +=
Laplace Transformation
CsRR
CsR
sIsC
sIRR
sIsC
sIR
sV
sVsG
i
o
)(1
1
)(1
)()(
)(1
)(
)(
)()(
21
2
21
2
++
+=
++
+
==
![Page 10: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/10.jpg)
2009 Spring ME451 - GGZ Page 10Week 3-4: Modeling Physical Systems
Modeling Modeling –– Electrical Example 1 (contElectrical Example 1 (cont’’d)d)
Kirchhoff voltage law in frequency domain (zero initial
conditions) or impedance approach:
1R
Cs
1iv ov
Rv
)(sI
2R
Transfer Function
)(1
)()()( 21 sIsC
sIRRsVi ++= )(1
)()( 2 sIsC
sIRsVo +=
CsRR
CsR
sIsC
sIRR
sIsC
sIR
sV
sVsG
i
o
)(1
1
)(1
)()(
)(1
)(
)(
)()(
21
2
21
2
++
+=
++
+
==
![Page 11: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/11.jpg)
2009 Spring ME451 - GGZ Page 11Week 3-4: Modeling Physical Systems
Modeling Modeling –– Electrical Example 2 (OP Amp)Electrical Example 2 (OP Amp)
Transfer Function
)()()( sIsZsV iii = )()()( sIsZsV ooo =
)(
)(
)()(
)()(
)(
)()(
sZ
sZ
sIsZ
sIsZ
sV
sVsG
i
o
ii
oo
i
o −===
--
++ )(sVo
)(sIo
)(sZo
)(sZ i)(sV
d
)(sId)(sIi
)(sVi
OP Amp Assumptions:
Infinity gain: 0)( =sVd
Infinity input impedance:
0)( =sId
)()( sIsI oi −=
![Page 12: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/12.jpg)
2009 Spring ME451 - GGZ Page 12Week 3-4: Modeling Physical Systems
Modeling Modeling –– Electrical Example 3Electrical Example 3
Transfer Function
1)( RsZ i = )1(11
)( 22 +=+= CsRCsCs
RsZo
CsR
CsR
sZ
sZ
sV
sVsG
i
o
i
o
1
2 1
)(
)(
)(
)()(
+−=−==
--
++ )(sVo
)(sIo
)(sVd
)(sId)(sIi
)(sVi
Cs
1
2R
1R
![Page 13: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/13.jpg)
2009 Spring ME451 - GGZ Page 13Week 3-4: Modeling Physical Systems
Modeling Modeling –– Electrical Example 4Electrical Example 4
Transfer Function
1
11
1
1
11
)(
1
R
sCRsC
RsZi
+=+=
2
221
)(
1
R
sCR
sZo
+=
1
1
)(
)(
)(
)()(
22
11
1
2
+
+⋅−=−==
sCR
sCR
R
R
sZ
sZ
sV
sVsG
i
o
i
o
--
++ )(sVo
)(sIo
)(sVd
)(sId)(sI i
)(sVi
sC2
1
2R
1R
sC1
1
![Page 14: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/14.jpg)
2009 Spring ME451 - GGZ Page 14Week 3-4: Modeling Physical Systems
Modeling Modeling –– Electrical ExamplesElectrical Examples
)(sVo)(sVi
2R1R
Cs
1
--
++)(sVo)(sVi
--
++ )(sVo)(sVi
--
++ )(sVo)(sVi
RfR
iRCs
1
)(sVo)(sVi
3R2R
1R Ls
![Page 15: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/15.jpg)
2009 Spring ME451 - GGZ Page 15Week 3-4: Modeling Physical Systems
Modeling Modeling –– Summary (Electrical System) Summary (Electrical System)
• Modeling
– Modeling is an important task!
– Mathematical model
– Transfer function
– Modeling of electrical systems
• Next, modeling of mechanical systems
![Page 16: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/16.jpg)
2009 Spring ME451 - GGZ Page 16Week 3-4: Modeling Physical Systems
Modeling Modeling –– Time invariant and varying systemsTime invariant and varying systems
• A system is called time-invariant (time-varying) if system
parameters do not (do) change in time.
• Example:
• For time-invariant systems:
• This course deals with time-invariant systems.
)()()( and )()( tftxtMtftxM == &&&&
SystemSystemTime shiftTime shift Time shiftTime shift
![Page 17: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/17.jpg)
2009 Spring ME451 - GGZ Page 17Week 3-4: Modeling Physical Systems
MassMass DamperDamperSpringSpring
M KK BB
Modeling Modeling –– Mechanical ElementsMechanical Elements
)(tf )(tx
)( )( txMtf &&=
0)0(
0)0(
=
=
x
x
&
)()( 2sXMssF =
)(tx)(tf )(tx)(tf
)( )( txKtf =
)()( sKXsF =
)( )( txBtf &=
0)0( =x
)()( sBsXsF =
![Page 18: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/18.jpg)
2009 Spring ME451 - GGZ Page 18Week 3-4: Modeling Physical Systems
M
KK BB
Modeling Modeling –– SpringSpring--MassMass--Damper SystemsDamper Systems
)(tf )(tx
)()()()( tftKxtxBtxM =++ &&&
![Page 19: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/19.jpg)
2009 Spring ME451 - GGZ Page 19Week 3-4: Modeling Physical Systems
M
KK BB
Modeling Modeling –– Free Body DiagramFree Body Diagram
)(tfK )(tfB )(tfK
)()( tKxtfK = )()( txBtfB&=
)(tx )(tf
)(tfB
)(tx
xMF
tx
&& :Law sNewton' Using
position resting springfor changent displaceme therepresents )( :Note
=
)()()()()()()( txBtKxtftftftftxMBK
&&& −−=−−=
)()()()( tftxBtKxtxM =++ &&&
![Page 20: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/20.jpg)
2009 Spring ME451 - GGZ Page 20Week 3-4: Modeling Physical Systems
• Equation of motion
• By Laplace transform (with zero initial conditions),
M
KK BB
(2(2ndnd order system)order system)
Modeling Modeling –– SpringSpring--MassMass--Damper System (contDamper System (cont’’d)d)
)(tf )(tx
)()()()( tftKxtxBtxM =++ &&&
)(1
)(2
sFKBsMs
sX++
=
![Page 21: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/21.jpg)
2009 Spring ME451 - GGZ Page 21Week 3-4: Modeling Physical Systems
M2
KK11 BB
KK22
M1Vehicle BodyVehicle Body
suspensionsuspension
wheelwheel
tiretire
Modeling Modeling –– Automotive Suspension SystemAutomotive Suspension System
)(tf
)(1 tx
)(2 tx
)())()(())()(()()(
))()(())()(()(
221211222
2112111
txKtxtxKtxtxBtftxM
txtxKtxtxBtxM
−−−−−=
−−−−=
&&&&
&&&&
![Page 22: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/22.jpg)
2009 Spring ME451 - GGZ Page 22Week 3-4: Modeling Physical Systems
Laplace transform with zero ICsLaplace transform with zero ICs
G2 G1
G3
Block diagramBlock diagram
Modeling Modeling –– Automotive Suspension System Automotive Suspension System (cont(cont’’d)d)
)())()(())()(()()(
))()(())()(()(
221211222
2112111
txKtxtxKtxtxBtftxM
txtxKtxtxBtxM
−−−−−=
−−−−=
&&&&
&&&&
)())()(())()(()()(
))()(())()(()(
22121122
2
2
211211
2
1
sXKsXsXKsXsXBssFsXsM
sXsXKsXsXBssXsM
−−−−−=
−−−−=
)()(1
)(
)()(
1
)(
21
2
2
1
)(
21
2
2
2
2
)(
1
2
1
1
1
32
1
sXKKBssM
KBssF
KKBssMsX
sXKBssM
KBssX
sGsG
sG
444 3444 21444 3444 21
44 844 76
+++
++
+++=
++
+=
)(sF)(2 sX )(1 sX
![Page 23: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/23.jpg)
2009 Spring ME451 - GGZ Page 23Week 3-4: Modeling Physical Systems
Moment of inertiaMoment of inertia FrictionFrictionRotational springRotational spring
J
KKBB
torquetorque
rotation anglerotation angle
Modeling Modeling –– Rotational MechanismRotational Mechanism
)(tθ
)(tτ )(tτ )(tτ
)()()(21
ttt θθθ −= )()()(21
ttt θθθ −=
)(tτ )(tτ
)()( tJt θτ &&=
)()( 2sJssT Θ=
)()( tKt θτ =
)()( sKsT Θ=
)()( tBt θτ &=
)()( sBssT Θ=
0)0(
0)0(
=
=
θ
θ
&0)0( =θ
![Page 24: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/24.jpg)
2009 Spring ME451 - GGZ Page 24Week 3-4: Modeling Physical Systems
J
KK
BB
friction between friction between
bob and airbob and air
Modeling Modeling –– TorsionalTorsional Pendulum System Pendulum System (Ex. 2.12)(Ex. 2.12)
)(tθ
)()()()( ttKtBtJ τθθθ =++ &&&
)(tτ
![Page 25: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/25.jpg)
2009 Spring ME451 - GGZ Page 25Week 3-4: Modeling Physical Systems
Newton’s law
JKK
Modeling Modeling –– Free Body DiagramFree Body Diagram
)(tk
τ
)(tθ
)()( tKtk
θτ =
)(tb
τ
)()()()()()()( tBtKtttttJbk
θθττττθ &&& −−=−−=
BB
)(tk
τ
)(tb
τ
)(tθ
)(tτ)()( tBtb
θτ &=
)()()()( ttKtBtJ τθθθ =++ &&&
![Page 26: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/26.jpg)
2009 Spring ME451 - GGZ Page 26Week 3-4: Modeling Physical Systems
• Equation of Motion
• By Laplace transform (with zero ICs),
)(tθ
J
KK
BB
friction between friction between
bob and airbob and air
(2(2ndnd order system)order system)
Modeling Modeling –– TorsionalTorsional Pendulum System Pendulum System (cont(cont’’d)d)
)(tτ
)()()()( ttKtBtJ τθθθ =++ &&&
KBsJssT
ssG
++=
Θ=
2
1
)(
)()(
![Page 27: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/27.jpg)
2009 Spring ME451 - GGZ Page 27Week 3-4: Modeling Physical Systems
• By Newton’s law
• By Laplace transform (with zero ICs),
Modeling Modeling –– Example 4.7Example 4.7
)(tm
τ
Motor
mJ
)(tm
θm
B
K
)(tl
θ
Load
lJ
−−=
−−−=
))()(()(
))()(()()()(
ttKtJ
ttKtBttJ
mlll
lmmmm
θθθ
θθθτθ
&&
&&&
Θ−Θ−=Θ
Θ−Θ−Θ−=Θ
))()(()(
))()(()()()(2
2
ssKssJ
ssKssBsTssJ
mlll
lmmmmmm
![Page 28: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/28.jpg)
2009 Spring ME451 - GGZ Page 28Week 3-4: Modeling Physical Systems
• From second equation:
• From first equation:
G2
Block diagramBlock diagram
G1
(2(2ndnd order system)order system)
(4(4thth order system)order system)
)()(
)(
2
1
sKsJ
Ks
m
sG
l
lΘ
+=Θ
43421
Modeling Modeling –– Example 4.7 (contExample 4.7 (cont’’d)d)
)(sTm
)(sm
Θ )(sl
Θ
)())((
)(
)(
23
2
2
sTKBsJJKsJBsJJs
KsJs
m
sG
mlmlmlm
l
m
4444444 34444444 21++++
+=Θ
![Page 29: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/29.jpg)
2009 Spring ME451 - GGZ Page 29Week 3-4: Modeling Physical Systems
ThrusterThruster
Double Double
integratorintegrator
•• BroadcastingBroadcasting
•• Weather forecastWeather forecast
•• CommunicationCommunication
•• GPS, etc.GPS, etc.
)(tθ
Modeling Modeling –– Rigid Body Satellite Ex 2.13 (contRigid Body Satellite Ex 2.13 (cont’’d)d)
)(tτ)(tτ
)()( tJt θτ &&=
2
1
)(
)()(
JssT
ssG =
Θ=
![Page 30: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/30.jpg)
2009 Spring ME451 - GGZ Page 30Week 3-4: Modeling Physical Systems
• Modeling of mechanical systems
– Translational
– Rotational
• Next, modeling of electromechanical
systems (DC-motor).
Modeling Modeling –– Summary (Mechanical System) Summary (Mechanical System)
![Page 31: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/31.jpg)
2009 Spring ME451 - GGZ Page 31Week 3-4: Modeling Physical Systems
• Quarter car model: Obtain a transfer function from R(s) to Y(s).
Road surfaceRoad surface
M1
xx (t)(t)
KKss BB
KKww
M2y(ty(t))
AnswerAnswer
Modeling Modeling –– Additional Exercises Additional Exercises
![Page 32: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/32.jpg)
2009 Spring ME451 - GGZ Page 32Week 3-4: Modeling Physical Systems
What is DC motor?
An actuator, converting electrical energy into rotational An actuator, converting electrical energy into rotational
mechanical energymechanical energy
(You will see DC motor during Labs 1 and 4.)(You will see DC motor during Labs 1 and 4.)
Modeling Modeling –– Electromechanical SystemsElectromechanical Systems
![Page 33: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/33.jpg)
2009 Spring ME451 - GGZ Page 33Week 3-4: Modeling Physical Systems
• Advantages:
– high torque
– speed controllability
– portability, etc.
• Widely used in control applications: robot, tape drives,
printers, machine tool industries, radar tracking system,
etc.
• Used for moving loads when
– Rapid (microseconds) response is not required
– Relatively low power is required
Modeling Modeling –– Why DC motor?Why DC motor?
![Page 34: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/34.jpg)
2009 Spring ME451 - GGZ Page 34Week 3-4: Modeling Physical Systems
ArmatureArmature
(from Dorf and Bishop book)
Modeling Modeling –– How Does DC Motor WorkHow Does DC Motor Work
![Page 35: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/35.jpg)
2009 Spring ME451 - GGZ Page 35Week 3-4: Modeling Physical Systems
J
BBmm
Armature circuitArmature circuit Mechanical loadMechanical load
InputInput
OutputOutput
Modeling Modeling –– Model of DC MotorModel of DC Motor
)(tea )(te
m
)(tia aR aL
)(tτ
)(tlτ
)(tθ
EMFback ""
current armature:
voltageapplied:
armature":"
m
i
e
a
a
a
fricton viscous:
inertiarotor :
locityangular ve:
positionangular :
B
J
ω
θ
![Page 36: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/36.jpg)
2009 Spring ME451 - GGZ Page 36Week 3-4: Modeling Physical Systems
• Armature circuit
• Connection between mechanical/electrical parts
– Motor torque
– Back EMF
• Mechanical load
• Angular position
Load torqueLoad torque
)()(
)()( tedt
tdiLtiRte
m
a
aaaa++=
Modeling Modeling –– Model of DC Motor in Time DomainModel of DC Motor in Time Domain
)()(
)()(
tKte
tiKt
mm
a
ω
ττ
=
=
)()()()( ttBttJl
τθτθ −−= &&&
)()( tt θω &=
![Page 37: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/37.jpg)
2009 Spring ME451 - GGZ Page 37Week 3-4: Modeling Physical Systems
• Armature circuit
• Connection between mechanical/electrical parts
– Motor torque
– Back EMF
• Mechanical load
• Angular position (zero initial condition)
Modeling Modeling –– Model of DC Motor in Model of DC Motor in ““ss”” DomainDomain
))()((1
)( sEsEsLR
sIma
aa
a−
+=
)()(
)()(
sKsE
sIKsT
mm
a
Ω=
=τ
)()( sss Θ=Ω
))()((1
)( sTsTBJs
sL
−+
=Ω
![Page 38: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/38.jpg)
2009 Spring ME451 - GGZ Page 38Week 3-4: Modeling Physical Systems
Feedback systemFeedback system
Tachometer Tachometer
(Page 46)(Page 46)
Encoder Encoder
(Page 44)(Page 44)
Modeling Modeling –– DC Motor Block DiagramDC Motor Block Diagram
)(sEa
sLRaa
+
1
)(sIa
τK
)(sT
)(sTl
-
-BJs +
1 )(sΩ )(sΘ
s
1
mK
)(sEm
0)( )),()(())((
)( =Ω−++
=Ω sTsKsEBJsRsL
Ks
lma
aa
τ
0)( )),()(()(
1)( =Ω
+−−
+=Ω sEs
RsL
KKsT
BJss
a
aa
m
l
τ
![Page 39: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/39.jpg)
2009 Spring ME451 - GGZ Page 39Week 3-4: Modeling Physical Systems
22ndnd order systemorder system
Modeling Modeling –– DC Motor Transfer FunctionDC Motor Transfer Function
)(:))((
))((1
))((
)(
)(1
sGKKBJsRsL
K
BJsRsL
KK
BJsRsL
K
sE
s
maa
aa
m
aa
a
=+++
=
+++
++=
Ω
τ
τ
τ
τ
)(:))((
)(
))((1
)(
1
)(
)(2
sGKKBJsRsL
RsL
BJsRsL
KK
BJs
sT
s
maa
aa
aa
ml
=+++
+−=
+++
+−
=Ω
ττ
)()()()()(21
sTsGsEsGsla
+=Ω
))()()()((1
)(1
)(21
sTsGsEsGs
ss
sla
+=Ω=Θ
![Page 40: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/40.jpg)
2009 Spring ME451 - GGZ Page 40Week 3-4: Modeling Physical Systems
Note:Note: In many cases In many cases LLaa<< << RRaa. Then, an approximated TF is . Then, an approximated TF is
obtained by setting obtained by setting LLa a = 0.= 0.
11stst order systemorder system22ndnd order systemorder system
Modeling Modeling –– DC Motor Transfer Function (contDC Motor Transfer Function (cont’’d)d)
+=
+=
+=
++≈
+++=
Ω
ττ
τ
τ
τ
τ
τ
KKBR
JRT
KKBR
KK
Ts
K
KKBJsR
K
KKBJsRsL
K
sE
s
ma
a
ma
mamaaa
,: 1
:
)())(()(
)(
)1()(
)(
+=
Θ
Tss
K
sE
s
a
ττKKBJsR
R
KKBJsRsL
RsL
sL
s
ma
a
maa
aa
l++
−≈
+++
+−=
Ω
)())((
)(
)(
)(
![Page 41: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/41.jpg)
2009 Spring ME451 - GGZ Page 41Week 3-4: Modeling Physical Systems
Negative feedback systemNegative feedback system
Memorize this!Memorize this!
Modeling Modeling –– Feedback System Transfer FunctionFeedback System Transfer Function
)(sR )(sY)(sG
)(sH
))()()()(()( sYsHsRsGsY −= )()()())()(1( sRsGsYsHsG =+
)()(1
)(
)(1
)(
)(
)(
sHsG
sG
sL
sF
sR
sY
g
g
+=
−=
−=
=
gain Loop)()()(
gain Forward)()(
sHsGsL
sGsF
g
g
![Page 42: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/42.jpg)
2009 Spring ME451 - GGZ Page 42Week 3-4: Modeling Physical Systems
• Modeling of DC motor
– What is DC motor and how does it work?
– Derivation of a transfer function
– Block diagram with feedback
• Next
– Block Diagram
Many systems can be represented as Many systems can be represented as
transfer functionstransfer functions!!
Modeling Modeling –– Summary (DC Motor)Summary (DC Motor)
![Page 43: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/43.jpg)
2009 Spring ME451 - GGZ Page 43Week 3-4: Modeling Physical Systems
• Suppose that u(t) is a unit impulse function and system is
at rest (zero initial conditions).
• The output g(t) for the unit impulse input is called
impulse response.
• Since U(s) = 1, the transfer function can also be defined as the Laplace transform of impulse response:
SystemSystem
Modeling Modeling –– Block Diagram (impulse response)Block Diagram (impulse response)
)()( ttu δ=
1)( =sU)(tg
)]([:)( tgLsG =
![Page 44: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/44.jpg)
2009 Spring ME451 - GGZ Page 44Week 3-4: Modeling Physical Systems
Series connection
Modeling Modeling –– Basic TF Block Diagram (1)Basic TF Block Diagram (1)
)(1 sG )(2 sG)(sR )(sZ )(sY
)()(
)(1 sG
sR
sZ= )(
)(
)(2 sG
sZ
sY=
)()()(
)(12 sGsG
sR
sY=
)(sR )(sY)()( 21 sGsG
![Page 45: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/45.jpg)
2009 Spring ME451 - GGZ Page 45Week 3-4: Modeling Physical Systems
Summation
+
-
Modeling Modeling –– Basic TF Block Diagram (2)Basic TF Block Diagram (2)
)(1
sZ
)(2
sZ
)(sY
)()()(21
sZsZsY −=
![Page 46: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/46.jpg)
2009 Spring ME451 - GGZ Page 46Week 3-4: Modeling Physical Systems
Parallel connection
)(sY
Modeling Modeling –– Basic TF Block Diagram (3)Basic TF Block Diagram (3)
)(1 sZ
)(2 sZ
)(sE)(
1sG
)(2
sG
)()(
)(1
1 sGsE
sZ=
)()(
)(2
2 sGsE
sZ=
)())()(()()()( 2121 sEsGsGsZsZsY +=+=
)()()(
)(21
sGsGsE
sY+=
)(sE )(sY)()(
21sGsG +
![Page 47: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/47.jpg)
2009 Spring ME451 - GGZ Page 47Week 3-4: Modeling Physical Systems
Negative feedback system
)(sE
Modeling Modeling –– TF Feedback ConnectionTF Feedback Connection
)(sR )(sY)(sG
)(sK
)()()()()( sEsGsKsRsE −=
)()()( sEsGsY =
)()(1
1
)(
)(
sGsKsR
sE
+=
)()(1
)(
)(
)(
sGsK
sG
sR
sY
+=
![Page 48: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/48.jpg)
2009 Spring ME451 - GGZ Page 48Week 3-4: Modeling Physical Systems
• Fg(s): Forward gain from R(s) to Y(s) G(s)
• Lg(s): Loop gain: G(s)K(s)(-1)
The loop gain is the product of
all transfer functions that form the loop
)(sG
Modeling Modeling –– TF Feedback Loop FormulaTF Feedback Loop Formula
)(sK
)(sE)(sR )(sY
)()(1
)(
)(
)(
sKsG
sG
sR
sY
+=
![Page 49: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/49.jpg)
2009 Spring ME451 - GGZ Page 49Week 3-4: Modeling Physical Systems
Compute transfer functions from Compute transfer functions from RR((ss)) to to YY((ss).).
)(sR )(sY
)(sH
)(sR )(sY)(sG)(sG)(sC
)(sR )(sY)(sG
)(sH)(sH
)(sY)(sR
)(1
sG
)(1
sG
Modeling Modeling –– Derivation of transfer functionDerivation of transfer function
![Page 50: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/50.jpg)
2009 Spring ME451 - GGZ Page 50Week 3-4: Modeling Physical Systems
BBmm
InputInput
OutputOutput
Modeling Modeling –– Model of DC Motor (Example 2)Model of DC Motor (Example 2)
)(tea )(te
m
)(tia aR aL
)(tτ
)(tlτ)(tθ
mgmg
R R
θ
)(tlτ)(tθ
θτ &BtB =)(
J
J
R R
θ
θsinmgmg
)(tlτ
θsinmgR
![Page 51: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/51.jpg)
2009 Spring ME451 - GGZ Page 51Week 3-4: Modeling Physical Systems
• Armature circuit
• Connection between mechanical/electrical parts
– Motor torque
– Back EMF
• Mechanical load
• Angular position
)()(
)()( tedt
tdiLtiRte
m
a
aaaa++=
Modeling Modeling –– Model of DC Motor in Time DomainModel of DC Motor in Time Domain (2)(2)
)()(
)()(
tKte
tiKt
mm
a
ω
ττ
=
=
)()()()( ttBttJl
τθτθ −−= &&&
)()( tt θω &=
)()()(sin)()( smallfor
2tmgRttmgRttmR
llθτθτθ
θ
−≈−=&&
![Page 52: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/52.jpg)
2009 Spring ME451 - GGZ Page 52Week 3-4: Modeling Physical Systems
• Armature circuit
• Connection between mechanical/electrical parts
– Motor torque
– Back EMF
• Mechanical load
• Angular position (zero initial condition)
Modeling Modeling –– Model of DC Motor in Model of DC Motor in ““ss”” DomainDomain (2)(2)
))()((1
)( sEsEsLR
sIma
aa
a−
+=
)()(
)()(
sKsE
sIKsT
mm
a
Ω=
=τ
)()( sss Θ=Ω
)),()((1
)(2
sTsTBsJs
sL
−+
=Θ )(1
)(22
sTmgRsmR
sl
+=Θ
)()(
1)(
22sT
mgRBssmRJs
+++=Θ
![Page 53: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/53.jpg)
2009 Spring ME451 - GGZ Page 53Week 3-4: Modeling Physical Systems
Modeling Modeling –– DC Motor Block Diagram DC Motor Block Diagram (2)(2)
)(sEa
sLRaa
+
1
)(sIa
τK
)(sT
)(sTl
-
-BJs +
1 )(sΩ
)(sΘs
1
sKm
)(sEm
mgRsmR +22
)(sEa
sLRaa
+
1
)(sIa
τK
)(sT
-mgRBssmRJ +++
22 )(
1
)(sΘ
sKm
)(sEm
BsJs
mgRsmR
BsJssG
+
+
+
+=
2
22
2
1)(
1
)),()((1
)(2
sTsTBsJs
sL
−+
=Θ
)(1
)(22
sTmgRsmR
s l+
=Θ
)()(
1)(
22sT
mgRBssmRJs
+++=Θ
![Page 54: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/54.jpg)
2009 Spring ME451 - GGZ Page 54Week 3-4: Modeling Physical Systems
Modeling Modeling –– DC Motor Transfer Function DC Motor Transfer Function (2)(2)
maa
aa
m
aa
a
KsKmgRBssmRJRsL
K
mgRBssmRJRsL
KsK
mgRBssmRJRsL
K
sE
s
τ
τ
τ
τ
+++++=
+++++
++++=
Θ
)))(((
)))(((1
)))(((
)(
)(
22
22
22
maaaKKBJsRsL
K
ssE
s
m
τ
τ
+++⋅=
Θ
=
))((
1
)(
)(
attached), pendulum (no 0 If
![Page 55: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/55.jpg)
2009 Spring ME451 - GGZ Page 55Week 3-4: Modeling Physical Systems
BB
Modeling Modeling –– TorsionalTorsional Motion Modeling Motion Modeling (Example 2)(Example 2)
1K
)(tf
)(tθR R
m)(tx
JR R
J
Free Body DiagramFree Body Diagram
1kτ )(tθBτ
2kf
22 )( KRxfk θ−=
11 Kk θτ =
θτ &BB =
θθθ
ττθ
&
&&
BKRKRx
RfJBkk
−−−=
−−=
12
12
)(
RxKRKKBJ2
2
21)( =+++ θθθ &&&
2K
![Page 56: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/56.jpg)
2009 Spring ME451 - GGZ Page 56Week 3-4: Modeling Physical Systems
Modeling Modeling –– TorsionalTorsional Motion Modeling Motion Modeling (Example 2)(Example 2)
)(tf
m)(tx
Free Body DiagramFree Body Diagram
2kf22 )()()()( KRxtftftfxm k θ−−=−=&&
)()(
)(2
21
2
2 sXRKKBsJs
RKs
+++=Θ
θRKtfxKxm 22 )( +=+&&
))()((1
)(2
2
2sRKsF
KmssX Θ+
+=
![Page 57: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/57.jpg)
2009 Spring ME451 - GGZ Page 57Week 3-4: Modeling Physical Systems
)(sF
2
2
1
Kms +
)(sΘ
RK2
+
222
221
22
2
2
221
22
2
222
221
22
2
2
))()((
))()((
))()((
1)(
RKRKKBsJsKms
RK
RKKBsJsKms
RK
RKKBsJsKms
RK
sG−++++
++++
++++=
−=
Modeling Modeling –– TorsionalTorsional Motion Modeling Motion Modeling (Example 2)(Example 2)
)( 2
21
2
2
RKKBsJs
RK
+++
)()(
)(2
21
2
2 sXRKKBsJs
RKs
+++=Θ))()((
1)(
2
2
2sRKsF
KmssX Θ+
+=
212
22
212
34
2
)]([ )(
KKBsKsRKKmJKmBsmJs
RKsG
++++++=
![Page 58: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/58.jpg)
2009 Spring ME451 - GGZ Page 58Week 3-4: Modeling Physical Systems
• Block diagrams
– Elementary diagrams
– Feedback connections
• Next
– Linearization
Modeling Modeling –– Summary (Block Diagram)Summary (Block Diagram)
![Page 59: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/59.jpg)
2009 Spring ME451 - GGZ Page 59Week 3-4: Modeling Physical Systems
• A system having Principle of Superposition
A nonlinear system does not satisfy the
principle of superposition.
SystemSystem
Modeling Modeling –– What Is a Linear System?What Is a Linear System?
)(tu )(ty
ℜ∈∀
+→+⇒
→
→
21
22112211
22
11
,
)()()()()()(
)()(
αα
αααα tytytututytu
tytu
linearnot is )0( )(function affineAn ≠+= bbaxtf
![Page 60: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/60.jpg)
2009 Spring ME451 - GGZ Page 60Week 3-4: Modeling Physical Systems
• Easier to understand and obtain solutions
• Linear ordinary differential equations (ODEs),
– Homogeneous solution and particular solution
– Transient solution and steady state solution
– Solution caused by initial values, and forced solution
• Add many simple solutions to get more complex ones (use
superposition!)
• Easy to check the Stability of stationary states (Laplace Transform)
Modeling Modeling –– Why Linear System?Why Linear System?
![Page 61: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/61.jpg)
2009 Spring ME451 - GGZ Page 61Week 3-4: Modeling Physical Systems
• Actual physical systems are inherently nonlinear. (Linear
systems do not exist!) Ex. f(t)=Kx(t), u(t)=Ri(t)
• TF models are only for Linear Time-Invariant (LTI) systems.
• Many control analysis/design techniques are available only
for linear systems.
• Nonlinear systems are difficult to deal with mathematically.
• Often we linearize nonlinear systems before analysis and design. How?
Modeling Modeling –– Why LinearizationWhy Linearization
![Page 62: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/62.jpg)
2009 Spring ME451 - GGZ Page 62Week 3-4: Modeling Physical Systems
• Nonlinearity can be approximated by a linear function for
small deviations δx around an operating point x0
• Use a Taylor series expansion at x0
Linear approximation
Nonlinear function
Operating point x0
Old coordinate
New coordinate
Modeling Modeling –– How to How to LinearizeLinearize It?It?
)(0
xxf δ+
)(xf
x
xδ
![Page 63: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/63.jpg)
2009 Spring ME451 - GGZ Page 63Week 3-4: Modeling Physical Systems
• Nonlinear system:
• Let u0 be a nominal input and let the resultant state be x0
• Perturbation:
• Resultant perturb:
• Taylor series expansion:
Modeling Modeling –– LinearizationLinearization
),( uxfx =&
)()()( 0 tututu δ+=
)()()( 0 txtxtx δ+=
...),(
),(),(),(
0
00
0
0
0
0
321≈=
=
=
=
+∂
∂+
∂
∂+=
TOHuu
uxf
xx
uxfuxfuxf
uuxx
uuxx
δ
δ
![Page 64: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/64.jpg)
2009 Spring ME451 - GGZ Page 64Week 3-4: Modeling Physical Systems
Note that ; hence
L. sys.L. sys.N. sysN. sys
Modeling Modeling –– Linearization (contLinearization (cont’’d)d)
uu
uxfx
x
uxfuxfxx
uuxx
uuxx
δδδ
0
0
0
0
),(),(),(
000
=
=
=
= ∂
∂+
∂
∂+=+ &&
),(000
uxfx =&
uu
uxfx
x
uxfx
uuxx
uuxx
δδδ
0
0
0
0
),(),(
=
=
=
= ∂
∂+
∂
∂=&
u x uδ
0u
),(000
uxfx =&
xδ
0x
xxx δ+=0uuu δ+=
0
![Page 65: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/65.jpg)
2009 Spring ME451 - GGZ Page 65Week 3-4: Modeling Physical Systems
• Motion of the pendulum
• Linearize it at
• Find u0
• New coordinates:
Modeling Modeling –– Pendulum LinearizationPendulum Linearization
)()(sin)(2tutmgLtmL =+ θθ&&)(tu
)(tθ
mg
L
0)()(sin
)(
),(
2=−+
44 344 21
&&
uf
mL
tu
L
tgt
θ
θθ
πθ =0
00sin
02
0=→=−+ u
mL
u
L
g ππ&&
uuuu δδ
δθπδθθθ
+=+=
+=+=
00
0
![Page 66: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/66.jpg)
2009 Spring ME451 - GGZ Page 66Week 3-4: Modeling Physical Systems
• Taylor series expansion of at
Modeling Modeling –– Pendulum Linearization (contPendulum Linearization (cont’’d)d)
),( uf θ .0 , == uπθ
L
g
L
guf
u
−==∂
∂
==
=πθ
πθ
θ
θ
θ cos),(
0
2
0
1),(
mLu
uf
u
−=∂
∂
=
=πθ
θ
0),(),(
00
=∂
∂+
∂
∂+
=
=
=
=
uu
ufuf
uu
δθ
δθθ
θθδ
πθπθ
&&
01
2=−− u
mLL
gδδθθδ &&
![Page 67: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/67.jpg)
2009 Spring ME451 - GGZ Page 67Week 3-4: Modeling Physical Systems
• TF derivation
• The more time delay is, the more difficult to control
(Imagine that you are controlling the temperature of your shower with a very long hose. You will either get burned
or frozen!)
(Memorize this!)
Modeling Modeling –– Time Delay Transfer FunctionTime Delay Transfer Function
delay time is where),()(dd
TTtxty −=
L
sTsT dd esX
sYsXesY
−−=⇒=
)(
)( )()(
1
11)0(
)(
0
0 +=⇒+=−
∂
∂+≈
−
=
= sTesTs
s
eee
d
sT
d
s
sT
s
sTsT d
d
dd
![Page 68: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/68.jpg)
2009 Spring ME451 - GGZ Page 68Week 3-4: Modeling Physical Systems
• Step One: identify the system model’s input r(t) and output y(t).
• Step Two: express model in form
• Step Three: define equilibrium operation point r0 and y0 ,
and setting all their corresponding derivatives to zero at
equilibrium point
• Perform Taylor expansion about (r0,c0) retaining only 1st
order derivatives
• Step Five: change variables to deviations:
• Step Six: rewrite the function defined in Step 5 in standard
ODE.
Modeling Modeling –– Summary: Steps of LinearizationSummary: Steps of Linearization
0,...),,...,,( =yyrrf &&
,...).0,0,...,0,0(0000
==== yyrr &&&&&&
,...).~,~,...,~,~(000000
yyyyyyrrrrrr &&&&&& −=−=−=−=
![Page 69: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/69.jpg)
2009 Spring ME451 - GGZ Page 69Week 3-4: Modeling Physical Systems
Modeling Modeling –– 6 Step Example 16 Step Example 1
)( :output system ),( :input System ttu θ
)()(sin)(2tutmgLtmL =+ θθ&&
0)()(sin
)(
),,(
2=−+
4444 34444 21
&&
&& uf
mL
tu
L
tgt
θθ
θθ
System ODE:System ODE:
Step One (input/output):Step One (input/output):
Step Two Step Two ((f f ((……)=0):)=0):
Step Three Step Three ((θθ00, u, u00))::
,0 and ,Let 000
=== θθπθ &&&
00sin
02
0=→=−+ u
mL
u
L
g πθ&&
![Page 70: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/70.jpg)
2009 Spring ME451 - GGZ Page 70Week 3-4: Modeling Physical Systems
Modeling Modeling –– 6 Step Example 1 6 Step Example 1 (cont(cont’’d)d)
)0(1
)0()(
)0(1
)0(1)(cos
)()()( ),,(),,(
2
2
000
0
000
0
0
0
0
0
0
0
0
0
−−−+−=
−−−⋅+−=
−∂
∂+−
∂
∂+−
∂
∂+≅
=
=
=
=
=
=
=
=
=
=
umLL
g
umLL
g
uuu
fffufuf
uuuuuu
θπθ
θπθθ
θθθ
θθθ
θθθθ
πθ
θθ
θθ
θθ
θθ
θθ
θθ
&&
&&
&&&&&&43421
&&&&
&&&&&&&&&&&&
Step Four (Taylor expansion):Step Four (Taylor expansion):
Step Five Step Five ((δδθθ00, , δδuu00))::
01
),,(2
=−+≅ umLL
guf δδθθδθθ &&&&
Step Six Step Six (rewrite(rewrite))::
mLgsmLsU
su
mLL
g
+=
∆
∆Θ⇒=+
222
1
)(
)(1δδθθδ &&
![Page 71: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/71.jpg)
2009 Spring ME451 - GGZ Page 71Week 3-4: Modeling Physical Systems
Modeling Modeling –– 6 Step Example 26 Step Example 2
System ODE:System ODE:
2)( :force drag cAerodynami
)( :forcefriction Viscous
)( :input force Tractive
vKtff
vKtff
tff
add
vvv
mm
==
==
=
2vKvKffffvm
avmvdm−−=−−=&
mf
df
vf
mavfvKvKvm =++
2&
kgm
mNK
mNK
mv
a
v
1000
/sec0.1
sec/ 1.0
sec/ 30
22
0
=
−=
−=
=
![Page 72: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/72.jpg)
2009 Spring ME451 - GGZ Page 72Week 3-4: Modeling Physical Systems
Modeling Modeling –– 6 Step Example 2 6 Step Example 2 (cont(cont’’d)d)
)( :(velocity)output system ),( :force) (tractiveinput System tvtfm
Vehicle System:Vehicle System:
Step One (input/output):Step One (input/output):
Step Two Step Two ((f f ((……)=0):)=0):
Step Three Step Three ((vv00,vdot,vdot00 uu00))::
000 find and 0, and 30Let m
fvv == &
NvKvKfavm
903301301.0 22
000 =×+×=+=
mavfvKvKvm =++
2&
0
),,(
2=−++
444 3444 21&
&vvff
mav
m
fvKvKvm
![Page 73: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/73.jpg)
2009 Spring ME451 - GGZ Page 73Week 3-4: Modeling Physical Systems
Modeling Modeling –– 6 Step Example 2 6 Step Example 2 (cont(cont’’dd--1)1)
0)()()2()(10
)()()( ),,(),,(
0000
000
0
000
0
0
0
0
0
0
0
0
0
=−+−⋅++−−=
−∂
∂+−
∂
∂+−
∂
∂+≅
=
=
=
=
=
=
=
=
=
vvmvvvKKff
vvv
fvv
v
fff
f
fvvffvvff
avmm
vvvv
ff
vvvv
ffmm
vvvv
ffm
mmmmmmmm
&&
&&&4434421
&&
&&&&&&
Step Four (Taylor expansion):Step Four (Taylor expansion):
Step Five Step Five :)~
,~,~
(000
vvvvvvfffmmm
&&& −=−=−=
Step Six Step Six (rewrite(rewrite))::
0~~)2(
~
1.6030121.0
0
1000
=−⋅++
=××+
mavfvvKKvm
43421&
1.601000
1
)(
)(~~1.60~
1000+
=⇒=+ssF
sVfvv
m
m&
![Page 74: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/74.jpg)
2009 Spring ME451 - GGZ Page 74Week 3-4: Modeling Physical Systems
Modeling Modeling –– 6 Step Example 36 Step Example 3
1R
C
ivovRv
)(ti
)()()(1
)(0
0
0tvCtidi
Ctv
t
&=⇒= ∫ ττ
)()()( 3
22212tiRtiRtV
R+=
)()()()()( 0
3
22211 tvtiRtiRRtvi
+++=
)()()()()(0
3
0
3
220211tvtvCRtvCRRtv
i+++= &&
2
22211 /200 and ,1 ,1 ARRR Ω=Ω=Ω=
,1.0 FC = )()(2.0)(2.0)( 0
3
00 tvtvtvtvi
++= &&
VvVvi 5 and 10at it Linearize 0 ==
![Page 75: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/75.jpg)
2009 Spring ME451 - GGZ Page 75Week 3-4: Modeling Physical Systems
Modeling Modeling –– 6 Step Example 3 6 Step Example 3 (cont(cont’’d)d)
)( :tageoutput vol system ),( :ageinput volt System0
tvtvi
Circuit System:Circuit System:
Step One (input/output):Step One (input/output):
Step Two Step Two ((f f ((……)=0):)=0):
Step Three Step Three ((vv00,vdot,vdot00 vvii))::
00 find and 5, and 10Let vvvi
&==
solution) real(only 81.2025 00
3
0 =⇒=−+ vvv &&&
)()(2.0)(2.0)(0
3
00tvtvtvtv
i++= &&
0)()()(2.0)(2.0
),,(
0
3
00
00
=−++44444 344444 21
&&
&vvvf
i
i
tvtvtvtv
![Page 76: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/76.jpg)
2009 Spring ME451 - GGZ Page 76Week 3-4: Modeling Physical Systems
Modeling Modeling –– 6 Step Example 3 6 Step Example 3 (cont(cont’’dd--1)1)
0)81.2(938.4)5(1)10(10
)81.2()5()10( )81.2,5,10(),,(
0
6.02.0
0
0
81.2510
0
0
81.2510
0
81.2510
0
00
20
0
0
0
0
0
0
=−+−⋅+−⋅−=
−∂
∂+−
∂
∂+−
∂
∂+≅
×+
=
=
=
=
=
=
=
=
=
vvv
vv
fv
v
fv
v
ffvvvf
v
i
vvv
vvv
i
vvv
i
iiii
&321
&&4434421
&
&
&&&
Step Four (Taylor expansion):Step Four (Taylor expansion):
Step Five Step Five :)81.2~
,5~,10~(000
−=−=−= vvvvvvii
&&
Step Six Step Six (rewrite(rewrite))::
0~~~938.4
00=−+
ivvv&
1938.4
1
)(
)(~~~938.4 0
00+
=⇒=+ssV
sVvvv
i
i&
![Page 77: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/77.jpg)
2009 Spring ME451 - GGZ Page 77Week 3-4: Modeling Physical Systems
Modeling Modeling –– 6 Step Example 3 6 Step Example 3 (cont(cont’’dd--2)2)
0)0(2.0)10(1)10(10
)0()10()10( )0,10,10(),,(
00
0
01010
0
0
01010
0
01010
0
00
0
0
0
0
0
0
=−⋅+−⋅+−⋅−=
−∂
∂+−
∂
∂+−
∂
∂+≅
=
=
=
=
=
=
=
=
=
vvv
vv
fv
v
fv
v
ffvvvf
i
vvv
vvv
i
vvv
i
iiii
&
&&43421
&
&&&
Step Four (Taylor expansion):Step Four (Taylor expansion):
Step Five Step Five :)0~
,10~,10~(000
−=−=−= vvvvvvii
&&
Step Six Step Six (rewrite(rewrite))::
0~~~2.0
00=−+
ivvv&
12.0
1
)(
)(~~~2.0 0
00+
=⇒=+ssV
sVvvv
i
i&
Step Three Step Three ((vvoo==1010 vvii==1010))::
solution) real(only 00 00
3
0 =⇒=+ vvv &&&
![Page 78: Modeling – Part of Control Design Process](https://reader034.fdocuments.in/reader034/viewer/2022042519/6261bbc284179d7c7f200114/html5/thumbnails/78.jpg)
2009 Spring ME451 - GGZ Page 78Week 3-4: Modeling Physical Systems
• Modeling of
– Nonlinear systems
– Systems with time delay
• Next
– Time response of physical systems
Modeling Modeling –– Linearization SummaryLinearization Summary