Lecture 2

.pdf
School
McMaster University**We aren't endorsed by this school
Course
ENG TECH 4CT3
Subject
Mechanical Engineering
Date
Jan 10, 2025
Pages
30
Uploaded by BailiffDangerWalrus49
Lecture 2First & Second Order SystemsTime Domain Performance Measures14CT3 Fall 2024 Lec2 Dr. C. Tang
Background image
Recap: Mass-Spring Systemm=1.0 KgSpring constant k=2 N/mDamping constant b=3 N/(m/s)Input force f(t) = 1.0 N = u(t)Output= mass location x(t)4CT3 Fall 2024 Lec2 Dr. C. Tang2??2𝑥(?)??2+ ??𝑥(?)??+ ?𝑥?= ?(?)?2𝑥(?)??2+ 3?𝑥(?)??+ ?𝑥?= ?(?)[?2𝑋?− ?𝑥0 − 𝑥0 ] + 3?𝑋?− 𝑥0+ ?𝑋?= ?(?)DifferentialequationLaplaceTransform
Background image
Solve for x(t), given f(t)=u(t), x(0)=x’(0)=04CT3 Fall 2024 Lec2 Dr. C. Tang3[?𝑋?− ?𝑥0 − 𝑥0 ] + 3?𝑋?− 𝑥0+ 2𝑋?= ?(?)?2𝑋?+ 3?𝑋(?) + 2𝑋?= ?(?)𝑋??2+ 3? + 2 = ?(?)𝑋?=?(?)?2+ 3? + 2??=1?𝑋?=1?2+ 3? + 2×1?=1?(?2+ 3? + 2)𝑋?=1/2?1? + 1+1/2? + 2𝑥?=12− ?−?+12?−2?(Laplace Transform)Solve for X(s)Laplace transform of the unit step function
Background image
4CT3 Fall 2024 Lec2 Dr. C. Tang4Displacement x(t) [m]Time(sec)Final solution:
Background image
4CT3 Fall 2024 Lec2 Dr. C. Tang5Time(sec)Displacement x(t) [m]b=3b=2b=1For different values of the damping constant b’:
Background image
Transfer Function, Input, Output, Block Diagram4CT3 Fall 2024 Lec2 Dr. C. Tang6
Background image
System Transfer Function TF(s)In general, a system transfer function TF(s) relates output Laplace transform C(s) to input Laplace transform R(s):4CT3 Fall 2024 Lec2 Dr. C. Tang7C(s)R(s)?𝒙?+ ?𝒙 + ?C(s)/R(s) = TF(s)C(s) = TF(s) x R(s)i.e., Output = Input * System transfer function
Background image
Poles and Zeros of Transfer FunctionsGiven a transfer function:TF?=?+2(?+1)(?+5)The zerosare the values of sthat make the transfer function to become 0 (s=-2) The polesare the values of sthat make the transfer function to become infinite. (s=-1 and s=-5)4CT3 Fall 2024 Lec2 Dr. C. Tang8poleszero
Background image
Other Typical Input FunctionsInput FunctionUnit impulse function δ(t)Unit step function u(t)=1Unit ramp function r(t)=tLaplace TransformD(s)=1U(s)=1/sR(s)=1/s24CT3 Fall 2024 Lec2 Dr. C. Tang9
Background image
First Order System: RL CircuitInput = source voltage E(s)Output = circuit current I(s)4CT3 Fall 2024 Lec2 Dr. C. Tang10Input = e(t)Output = i(t)
Background image
Transient Response of Output i(t)4CT3 Fall 2024 Lec2 Dr. C. Tang11Time (s)Current [A]
Background image
For different values of System Parameters4CT3 Fall 2024 Lec2 Dr. C. Tang12Increasing L
Background image
First Order System Performance(Time Constant, Rise Time, Settling Time)The transfer function of a first order system is TF?=??+?Its step response (output=c(t)) is: 𝐶?=??+? ?in s-domain??= 1 − ?−??in time domainDefine time constant as τ= 1/aNote that after 1 τ, c(t) rises to 63% of its final value.Rise time (Tr) is the time for the output to go from 0.1 to 0.9 of its final value. Tr=2.2/aSettling time (Ts) is the time for the output to reach and stay within 2% of its final value, i.e., 2% settling time. Ts=4/a4CT3 Fall 2024 Lec2 Dr. C. Tang13
Background image
Example L2-1Given the step response of a first order system: ??= 1 − ?−??, show that:(a) Tr = 2.2/a(b) Ts = 4/a4CT3 Fall 2024 Lec2 Dr. C. Tang14
Background image
Second Order SystemConsider a general second order system TF?=??2+??+?and its unit step response c(t)4CT3 Fall 2024 Lec2 Dr. C. Tang15R(s)=1/sC(s)The transient response c(t) is determined by the poles of the system transfer function.
Background image
Case 1: Overdamped𝑮𝒔=𝟗𝒔?+ 𝟗𝒔 + 𝟗2 unequal real poles4CT3 Fall 2024 Lec2 Dr. C. Tang16s-planeTime domainxx
Background image
Case 2: Critically damped𝑮𝒔=𝟗𝒔?+ 𝟔𝒔 + 𝟗2 equal real poles4CT3 Fall 2024 Lec2 Dr. C. Tang17s-planeTime domainxx
Background image
Case 3: Underdamped𝑮𝒔=𝟗𝒔?+ ?𝒔 + 𝟗A pair of complex conjugate poles4CT3 Fall 2024 Lec2 Dr. C. Tang18xx
Background image
Unit Step Response of 2ndOrder SystemBy partial fractions, 4CT3 Fall 2024 Lec2 Dr. C. Tang19φ = ???−1ξ1 − ξ2where
Background image
Case 4: Undamped𝑮𝒔=𝟗𝒔?+ 𝟗Pair of complex conjugate poles on imaginary axis4CT3 Fall 2024 Lec2 Dr. C. Tang20xx
Background image
Case 5: Negatively damped𝑮𝒔=𝟗𝒔?− ?𝒔 + 𝟗Pair of complex conjugate poles in the right half plane4CT3 Fall 2024 Lec2 Dr. C. Tang21xxpoles
Background image
Second Order System first 4 cases4CT3 Fall 2024 Lec2 Dr. C. Tang22undampedunderdampedoverdampedCritically damped
Background image
Second Order System Poles??=ω𝑛2?2+2ξω𝑛𝑛2ωn= undamped natural frequencyξ= damping ratioPoles are: ? = −ξω?± ω?1 − ξ2= σ + ?ωdωd= ωn1 − ξ2damped natural frequencyσ = damping constant4CT3 Fall 2024 Lec2 Dr. C. Tang23
Background image
Damping Ratio ξξ= 0 undamped case0 < ξ< 1 underdamped caseξ= 1 critically damped caseξ> 1 overdamped caseξ< 1 unstable case4CT3 Fall 2024 Lec2 Dr. C. Tang24
Background image
Control System Design Specs4CT3 Fall 2024 Lec2 Dr. C. Tang25(e.g. 2%)
Background image
Peak Time (Tp) and %Overshoot (OS)4CT3 Fall 2024 Lec2 Dr. C. Tang26
Background image
%OS vs Damping Ratio ζ4CT3 Fall 2024 Lec2 Dr. C. Tang27The higher the damping ratio, the lower the %OS.
Background image
Rise Time (Tr)4CT3 Fall 2024 Lec2 Dr. C. Tang28Rise time is the time it takes to go from 10% of the final value to 90% of the final value.ω𝑛𝑇?= 1.76𝜉3− 0.417𝜉2+ 1.039𝜉 + 1Approximately,
Background image
Settling Time (Ts)4CT3 Fall 2024 Lec2 Dr. C. Tang29Ts is the time it takes for c(t) to settle within +/- 2% of the steady state value.
Background image
Example L2-2 [Textbook Ex4.5]Given the transfer function of a 2ndorder system??=100?2+15?+100find Tp, %OS, Ts, Trof a unit step response.[Ans: Tp=0.475s, %OS=2.838, Ts=0.533s, Tr=0.23s]4CT3 Fall 2024 Lec2 Dr. C. Tang30
Background image