















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
These lecture slides are delivered at The LNM Institute of Information Technology by Dr. Sham Thakur for subject of Mathematical Modeling and Simulation. Its main points are: Second, Order, Linear, Homogeneous, Models, Physics, Homogeneous, MATLAB, Simulink, Characteristic
Typology: Slides
1 / 23
This page cannot be seen from the preview
Don't miss anything!
Lecture: Second Order Linear & Homogeneous Models
Models : Physics models on Spring-mass Systems
Second Order Linear Homogeneous Models
equations have the following general form:
Otherwise the equation is nonhomogeneous.
P( t )yQ(t)yR(t)y G(t)
Let us consider Models with Constant Coefficients
y^ y 0
t t y t e y t e
1 (^ ) ^ , 2 ( )^
t t y t ce c e
( ) 1 2
0
2 y ^ woy
So we have a second order linear ODE based model:
Let us choose m = k = 1 and then we get wo =
Example 1: second order homogeneous model
y^ y 0 , y( 0 ) 3 , y( 0 ) 1
t t
Example 1: second order homogeneous model
this system.
graph on the right suggests that both initial conditions are satisfied.
0.0 0.2 0.4 0.6 0.8 1.
0
1
2
3
4
5
6
y(t)
time
ode45 solver in simulink was used.
t t y(t ) e e
y y , y( ) , y( )
2
0 0 3 0 1
simout To Workspace
Scope
1/s
Integrator
1/s
Integrator
0 1 2 3 4 5
0
50
100
150
200
250
300
y(t)
time
ode45 solver in simulink was used.
Short time behavior
long time behavior
Example 1: second order homogeneous model
To solve the 2nd^ order equation with constant coefficients,
ay^ bycy 0 ,
we begin by assuming a solution of the form:
y = exp (r t).
we obtain two solutions, r 1 and r 2.
Here in first case, we will assume r 1 , r 2 are real and r 1 r 2.
Then the general solution has the form:
2 ar brc
r t r t
1 2
a
b b ac r 2
4
2
nd
we use the general solution
together with the initial conditions to find c 1 and c 2. That
is,
of the form y = ert^ to the above initial value problem will
always exist, for any set of initial conditions.
10 2 0 1 0 2 0
1 0 2 0
1 2
0 1 0 2 1 2
0 0 2 1 11 2 2 0
1 2 0 ,
rt r t rt r t
rt r t
e r r
y r y e c r r
y y r c c re c r e y
c e c e y
r t r t y t ce c e
1 2 ( ) 1 2
y^ 5 y 6 y 0 , y 0 2 , y 0 3
m
k wo
2
m
C damping coefficient
Let us put k = 6, m = 1 and C = 5 for a particular system. Then
The mathematical model is
Let us also assume initial conditions as y(0) = 2 , y’(0) = 3.
Then model becomes
0
2 y ^ ywoy
y^ 5 y 6 y 0 , y 0 2 , y 0 3
( ) 5 6 0 2 3 0
2 y t e r r r r
rt
t t y t ce c e
3 2
2 ( ) 1
9 , 7 2 3 3
2 1 2 1 2
1 2
c c c c
c c
t t y t e e
2 3 ( ) 9 7
Let us also now find the maximum value attained by the solution.
2 3
2 3
2 3
t
t t
set t t
t t
0 1 2 3 4 5
0.
0.
0.
1.
1.
2.
2.
y(t)
time
ode45 solver in simulink was used.
2 nd^ Order Models: Complex Roots of Characteristic Equation
where a , b and c are constants.
ay^ bycy 0
2 y t e ar brc
rt
a
b b ac r 2
4
2
i t i t
equation has real coefficients.
solutions:
y t e t ie t
y t e t ie t
t t
t t
( ) cos sin
( ) cos sin
2
1
y t y t ie t
y t y t e t
t
t
( ) ( ) 2 sin
( ) ( ) 2 cos
1 2
1 2
y t e t y t e t
t t
3 (^ ) cos , 4 ( ) sin
2nd Order Models: Complex Roots of Characteristic Equation
when force is applied and its displacement is proportional to the applied force but opposite in direction. The proportionality constant (k) is 1 for this system.
force is proportional to the velocity of the mass. The proportionality constant is 0.1.
force y force ky
dt
dy damping force C
dt
dy ky C dt
d y Net force m 2
2