Docsity

Engineering Physics Modelling, Exercises of Physics

Toggle sidebar
bg1
Middle East Technical University Department of Aerospace Engineering
AEE 582 Supplementary Notes Fall 2009 Dr. Ali Türker Kutay
Page 1 of 2
Spring-Mass-Damper System Example
Consider the following spring-mass system:
Motion of the mass under the applied control, spring, and damping forces is governed by the following
second order linear ordinary differential equation (ODE):
𝑚𝑦 +𝐵𝑦 +𝐾𝑦 =𝑢
(1)
Taking the Laplace transform of (2) yields the following transfer function from the input 𝑢 to the output 𝑦:
𝐺 𝑠 =𝑦 𝑠
𝑢 𝑠 =1
𝑚𝑠2+𝐵𝑠 +𝐾
(2)
Setting the denominator of the transfer function to zero yields the characteristic equation of the above
system:
𝑚𝑠2+𝐵𝑠+𝐾= 0
(3)
Roots of the characteristic equation are called the poles of the system and give important information
about the dynamic characteristics of the system. Poles of a system can be
real (imaginary part equal to zero): 𝑝1=𝑎1
𝑝2=𝑎2
or complex (nonzero imaginary part): 𝑝1=𝑎+𝑏𝑖
𝑝2=𝑎 − 𝑏𝑖
Response to Initial Conditions
Response of a second order system to nonzero initial conditions with no control input can be obtained by
solving (2) with 𝑢= 0.
For real poles the solution is
𝑦 𝑡 =𝑐1𝑒𝑎1𝑡+𝑐2𝑒𝑎2𝑡 with 𝑐1=1
𝑎2−𝑎1 𝑎2𝑦 0 − 𝑦′ 0
𝑐2=1
𝑎2−𝑎1 −𝑎1𝑦 0 +𝑦′ 0
where 𝑦 0 and 𝑦′ 0 are the initial position and velocity.
For complex poles the solution is
𝑦 𝑡 =𝑒𝑎𝑡 𝑐1cos 𝑏𝑡 +𝑐2sin𝑏𝑡 with 𝑐1=𝑦 0
𝑐2=−𝑎
𝑏𝑦 0 +1
𝑏𝑦′ 0
For the mass-spring system poles are obtained from (3) as
𝑚
𝑢
𝑦
𝑚
𝑢
𝑦
𝐾𝑦
𝐵𝑦
pf2

Partial preview of the text

Download Engineering Physics Modelling and more Exercises Physics in PDF only on Docsity!

Middle East Technical University Department of Aerospace Engineering AEE 582 Supplementary Notes Fall 2009 Dr. Ali Türker Kutay

Page 1 of 2

Spring-Mass-Damper System Example

Consider the following spring-mass system:

Motion of the mass under the applied control, spring, and damping forces is governed by the following second order linear ordinary differential equation (ODE):

𝑚𝑦 + 𝐵𝑦 + 𝐾𝑦 = 𝑢 (1)

Taking the Laplace transform of (2) yields the following transfer function from the input 𝑢 to the output 𝑦:

𝑢 𝑠 =^

𝑚𝑠^2 + 𝐵𝑠 + 𝐾

Setting the denominator of the transfer function to zero yields the characteristic equation of the above system:

𝑚𝑠^2 + 𝐵𝑠 + 𝐾 = 0 (3)

Roots of the characteristic equation are called the poles of the system and give important information about the dynamic characteristics of the system. Poles of a system can be

real (imaginary part equal to zero):

or complex (nonzero imaginary part):

Response to Initial Conditions

Response of a second order system to nonzero initial conditions with no control input can be obtained by solving (2) with 𝑢 = 0.

For real poles the solution is

𝑦 𝑡 = 𝑐 1 𝑒𝑎^1 𝑡^ + 𝑐 2 𝑒𝑎^2 𝑡^ with

𝑐 1 = 𝑎 21 −𝑎 1 𝑎 2 𝑦 0 − 𝑦′^0

𝑐 2 = 𝑎^1

2 −𝑎 1

−𝑎 1 𝑦 0 + 𝑦′^0

where 𝑦 0 and 𝑦′^0 are the initial position and velocity.

For complex poles the solution is

𝑦 𝑡 = 𝑒𝑎𝑡^ 𝑐 1 cos 𝑏𝑡 + 𝑐 2 sin 𝑏𝑡 with

𝑐 2 = − 𝑎𝑏 𝑦 0 + 1 𝑏 𝑦′^0

For the mass-spring system poles are obtained from (3) as

𝑚: mass in kg 𝑦: position in m 𝑢: control input in N 𝐾: linear spring constant in N/m 𝐵: damping coefficient in Ns/m

Middle East Technical University Department of Aerospace Engineering AEE 582 Supplementary Notes Fall 2009 Dr. Ali Türker Kutay

Page 2 of 2

−𝐵 ± 𝐵^2 − 4 𝑚𝐾

Complex poles (oscillatory response) occur for 𝐵 < 4 𝑚𝐾.

Response to Open-Loop Commands The above analysis assumed zero control command to the system. Response of the system to open-loop control inputs can be studied by solving (2) with the given 𝑢 𝑡. Another way is to insert the Laplace transform of the input signal (𝑢 𝑠 ) into (2) and get the output response in Laplace domain. The response in time domain can then be obtained by taking the inverse Laplace transform. Usually partial fraction expansion and Laplace tables are used for Laplace inversions. For simple wave forms (impulse, step, ramp, sinusoids, etc.) analytical expressions for the output response may be obtained. For more complex input signals output responses can be obtained by numerical solution.

Exercise: Study the response of the mass-spring system to various open-loop commands by using the Simulink file SpringMass.mdl. First run the initialization file SpringMassInit. Then replace the input block “u” with the following blocks and run the simulation: a) “Step” block in Simulink Library/Sources, b) “Ramp” block in Simulink Library/Sources, c) “Sine Wave” block in Simulink Library/Sources. Set the frequency of the Sine Wave to 10 rad/s.

Exercise: Important if you are not familiar with Matlab! Study the response of the mass-spring system to various initial conditions using the Matlab file SpringMassInit.m. Observe the open-loop pole locations and system response for a) Keep 𝑚 = 0. 1 and 𝐾 = 1 constant and run the file for 𝐵 = 0. 05 , 0. 1 , 0. 2 , 0. 4 , 0. 7 , 0 , − 0. 01. b) Keep 𝑚 = 0. 1 and 𝐵 = 0. 05 constant and run the file for 𝐾 = 0. 2 , 0. 5 , 1 , 2. 5 , 0 , − 0. 01.