SlideShare a Scribd company logo
1 of 9
Download to read offline
College of Engineering and Computer Science
Department of Mechanical Engineering
ME 384
Dr. C. T. Lin
Computer Project #2
Rachel Foreman
Due: 25 Nov 2015
Submitted: 25 Nov 2015
1
Introduction
A simple vehicle suspension “quarter car” model can be seen in Figure 1. The car of mass
m is initially at rest when it begins moving along a road of sinusoidal shape. Based on a given
spring constant, k, damping constant, b, and input velocity, vr(t), one can find the forces acting on
the mass as well as its motion as a function of time. The system can be more easily analyzed by
creating a block diagram and using MATLAB Simulink to simulate the behavior of the model.
Figure 1 Model of quarter car suspension
Method
Figure 2 shows the free body diagram of the quarter car suspension. In this diagram, the
inertial force in acting in the direction of the motion of the mass, while the spring and damper are
resisting the motion of the mass. Based on the initial model, xr denotes the motion applied to the
system by the sinusoidal road, while xm represents the motion of the mass.
Figure 2 Free body diagram of mass, m
2
Eqn. 1
Eqn. 2
Eqn. 3
Eqn. 4
Eqn. 5
Eqn. 6
Eqn. 7
Eqn. 8
Eqn. 9
In order to solve for the Eigen values, natural frequency, and damping ratio of the system,
the equation of motion must first be determined. This is done by applying Newton’s Law in the
direction of the motion (Eqn. 1).
∑ 𝐹 = 𝑚𝑥̈ 𝑚
−𝑘(𝑥 𝑚 − 𝑥 𝑟) − 𝑏(𝑥̇ 𝑚 − 𝑥̇ 𝑟) = 𝑚𝑥̈ 𝑚
𝑚𝑥̈ 𝑚 + 𝑏𝑥̇ 𝑚 + 𝑘𝑥 𝑚 = 𝑏𝑥̇ 𝑟 + 𝑘𝑥 𝑟
Eigen Values, Natural Frequency, and Damping Coefficient
Since the system is given to be initially at rest, the initial values of the velocities and
displacements of both the road and the mass are equal to zero when time t = 0 [sec]. By taking the
Laplace Transform of the equation of motion (Eqn. 3) and normalizing the denominator, the
system transfer function in the s domain is determined (Eqn. 4).
𝑋 𝑚(𝑠)
𝑋 𝑟(𝑠)
=
𝑏
𝑚
𝑠 +
𝑘
𝑚
𝑠2 +
𝑏
𝑚
𝑠 +
𝑘
𝑚
The denominator of the transfer function in Eqn. 4 can be called the characteristic
polynomial of the system. By setting this polynomial equal to zero, it becomes the characteristic
equation of the system (Eqn. 5).
𝑠2
+
𝑏
𝑚
𝑠 +
𝑘
𝑚
= 0
Solving the characteristic equation for s leads to the system Eigen values (Eqn. 6).
𝑠1,2 = −
𝑏
2𝑚
± 𝑗
√4𝑘𝑚 − 𝑏2
2𝑚
[𝑠𝑒𝑐−1
]
Substituting the given mass of 1.5 [kg], spring constant 39.478 [N/m], and damping constant 7.5
[N-s/m] yields the specific Eigen values 𝑠1,2 = −2.5 ± 𝑗4.480 [𝑠𝑒𝑐−1
].
By comparing the characteristic equation of the physical system (Eqn. 5) to a standard
system equation in terms of natural frequency, 𝜔 𝑛, and damping coefficient, 𝜁 (Eqn. 7), the natural
frequency of the system can be determined (Eqn. 8).
𝑠2
= 2𝜁𝜔 𝑛 𝑠 + 𝜔 𝑛
2
= 0
𝜔 𝑛 = √
𝑘
𝑚
[𝑠𝑒𝑐−1
]
Similarly, by comparison, the damping coefficient can be determined (Eqn. 9).
𝜁 =
𝑏
2√𝑘𝑚
3
Eqn. 10
For the particular m, k, and b given in this system, 𝜔 𝑛 = 5.13 [𝑠𝑒𝑐−1] and 𝜁 = 0.487.
Block Diagram and Simulink
To aid with constructing the block diagram of the system, the equation of motion was
rearranged to solve for 𝑥̈ 𝑚 (Eqn. 10).
𝑥̈ 𝑚 =
𝑏
𝑚
𝑥̇ 𝑟 −
𝑏
𝑚
𝑥̇ 𝑚 +
𝑘
𝑚
𝑥 𝑟 −
𝑘
𝑚
𝑥 𝑚
From this equation, the block diagram could be established (Fig. 3).
Figure 3 Block diagram of quarter car system
The block diagram was then used to construct the Simulink model (Fig. 4).
Figure 4 Simulink model of quarter car suspension
4
Eqn. 11
Eqn. 12
Eqn. 13
Displacement and Velocity of the Mass
Specific commands were added to the Simulink model to output desired quantities to the
MATLAB workspace. In this case, the displacement and velocity of the mass could be pulled
directly from the Simulink diagram without any additional calculations being done. By calling the
Simulink model within a MATLAB script, the displacement and velocity of the mass were plotted
versus time (Fig. 5).
Figure 5 Plot of velocity and displacement of the mass as a function of time
Inertial, Damping, and Spring Forces
In order to obtain plots of the inertial, damping, and spring forces acting on the mass,
additional branches and blocks needed to be added to the Simulink model. Per the free body
diagram (Fig. 2), the inertial, damping, and spring forces can be described by equations 11, 12,
and 13, respectively.
𝑖𝑛𝑡𝑒𝑟𝑡𝑖𝑎𝑙 𝑓𝑜𝑟𝑐𝑒 = 𝑚𝑥̈ 𝑚 [𝑁]
𝐹𝑑 = 𝑏(𝑥̇ 𝑚 − 𝑥̇ 𝑟) [𝑁]
𝐹𝑠 = 𝑘(𝑥 𝑚 − 𝑥 𝑟) [𝑁]
To define the inertial force, a branch outputting 𝑥̈ 𝑚 was multiplied by 𝑚 before being sent
to the MATLAB workspace. For the damping force, the velocity input from the road was first
subtracted from the velocity of the mass, then a gain of 𝑏 was applied to the quantity. Similarly,
the displacement input from the road was subtracted from the displacement of the mass, and the
5
Eqn. 14
resulting quantity was multiplied by 𝑘 in order to output the spring force. These outputs were
called within the MATLAB script to produce a plot of all three forces versus time (Fig. 6).
Figure 6 Plot of inertial, damping, and spring forces as functions of time
Relation Between Forces
By inspection of the free body diagram (Fig. 2), one can determine that the sum of the
inertial, damping, and spring forces should equal zero (Eqn. 14).
𝑚𝑥̈ 𝑚 + 𝐹𝑑 + 𝐹𝑠 = 0
To verify this, the plot was analyzed at a time t = 4 [sec]. At this time value on the graph, the
values of inertial, damping, and spring forces are 5.197 [N], 2.818 [N], and -8.015 [N],
respectively. When added, these three values equal zero, as predicted in Eqn. 14. By further
analysis, one can also determine that Eqn. 14 should hold true for all values of time in the plot.
6
Appendix
MATLAB Code: Plot Displacement and Velocity
%Call Simulink model
SimOut = sim('QuarterCarDiagram');
%Plot displacement and velocity
plot(t,x_m,'+',t,v_m,'-','linewidth',2)
grid
title('Displacement & Velocity of the Mass','Fontsize',20')
xlabel('t [sec]','Fontsize',14')
ylabel('x_m(t) [m], v_m(t) [m/s]','Fontsize',14')
legend('x_m(t)','v_m(t)')
7
MATLAB Code: Plot Inertial, Damping, and Spring Forces
%Call Simulink model
SimOut = sim('QuarterCarDiagram');
%Plot inertial, damping, and spring forces
plot(t,inertial,'+',t,damper,'-',t,spring,'.','linewidth',2)
grid
title('Inertial, Damping, and Spring Forces','Fontsize',20')
xlabel('t [sec]','Fontsize',14')
ylabel('mx`` [N], F_d [N], F_s [N]','Fontsize',14')
legend('mx``','F_d','F_s')
8
MATLAB Simulink Model

More Related Content

What's hot

Meeting w6 chapter 2 part 3
Meeting w6   chapter 2 part 3Meeting w6   chapter 2 part 3
Meeting w6 chapter 2 part 3
mkazree
 
Lossless image compression via by lifting scheme
Lossless image compression via by lifting schemeLossless image compression via by lifting scheme
Lossless image compression via by lifting scheme
Subhashini Subramanian
 
Seismic Analysis of Structures - II
Seismic Analysis of Structures - IISeismic Analysis of Structures - II
Seismic Analysis of Structures - II
tushardatta
 
3 modelling of physical systems
3 modelling of physical systems3 modelling of physical systems
3 modelling of physical systems
Joanna Lock
 

What's hot (20)

Response spectrum
Response spectrumResponse spectrum
Response spectrum
 
pRO
pROpRO
pRO
 
4267
42674267
4267
 
Laplace
LaplaceLaplace
Laplace
 
Very brief highlights on some key details 2
Very brief highlights on some key details 2Very brief highlights on some key details 2
Very brief highlights on some key details 2
 
[Review] contact model fusion
[Review] contact model fusion[Review] contact model fusion
[Review] contact model fusion
 
LAPLACE TRANSFORM (Differential Equation)
LAPLACE TRANSFORM (Differential Equation)LAPLACE TRANSFORM (Differential Equation)
LAPLACE TRANSFORM (Differential Equation)
 
kinematic synthesis
kinematic synthesiskinematic synthesis
kinematic synthesis
 
Programming project
Programming projectProgramming project
Programming project
 
Meeting w6 chapter 2 part 3
Meeting w6   chapter 2 part 3Meeting w6   chapter 2 part 3
Meeting w6 chapter 2 part 3
 
Laplace transform
Laplace transformLaplace transform
Laplace transform
 
Lossless image compression via by lifting scheme
Lossless image compression via by lifting schemeLossless image compression via by lifting scheme
Lossless image compression via by lifting scheme
 
Laplace Transform
Laplace TransformLaplace Transform
Laplace Transform
 
Parallel transport additional explorations part1&2 sqrd
Parallel transport additional explorations part1&2 sqrdParallel transport additional explorations part1&2 sqrd
Parallel transport additional explorations part1&2 sqrd
 
Seismic Analysis of Structures - II
Seismic Analysis of Structures - IISeismic Analysis of Structures - II
Seismic Analysis of Structures - II
 
A Numerical Integration Scheme For The Dynamic Motion Of Rigid Bodies Using T...
A Numerical Integration Scheme For The Dynamic Motion Of Rigid Bodies Using T...A Numerical Integration Scheme For The Dynamic Motion Of Rigid Bodies Using T...
A Numerical Integration Scheme For The Dynamic Motion Of Rigid Bodies Using T...
 
Module 5
Module 5Module 5
Module 5
 
3 modelling of physical systems
3 modelling of physical systems3 modelling of physical systems
3 modelling of physical systems
 
Response spectrum method
Response spectrum methodResponse spectrum method
Response spectrum method
 
Ch r ssm
Ch r ssmCh r ssm
Ch r ssm
 

Viewers also liked

Amad and thopon commercial radio
Amad and thopon commercial radioAmad and thopon commercial radio
Amad and thopon commercial radio
haverstockmedia
 

Viewers also liked (14)

Boots hair care sales promotion
Boots hair care sales promotionBoots hair care sales promotion
Boots hair care sales promotion
 
Cómo las tecnologías de la información colaboran con la enseñanza
Cómo las tecnologías de la información colaboran con la enseñanzaCómo las tecnologías de la información colaboran con la enseñanza
Cómo las tecnologías de la información colaboran con la enseñanza
 
The future of CIO 3000 Blog Posting Celebration 2016
 The future of CIO 3000 Blog Posting Celebration 2016 The future of CIO 3000 Blog Posting Celebration 2016
The future of CIO 3000 Blog Posting Celebration 2016
 
Love Your Lawyer Day
Love Your Lawyer DayLove Your Lawyer Day
Love Your Lawyer Day
 
ernst
ernsternst
ernst
 
Ciudadano Global
Ciudadano GlobalCiudadano Global
Ciudadano Global
 
Amad and thopon commercial radio
Amad and thopon commercial radioAmad and thopon commercial radio
Amad and thopon commercial radio
 
2015 Bay Current
2015 Bay Current2015 Bay Current
2015 Bay Current
 
Guia 7ª lunes 20 octubre resolución de p`roblemas (1)
Guia 7ª  lunes 20  octubre resolución de p`roblemas (1)Guia 7ª  lunes 20  octubre resolución de p`roblemas (1)
Guia 7ª lunes 20 octubre resolución de p`roblemas (1)
 
Uberisation of writing symposium, QPR April 2016
Uberisation of writing symposium, QPR April 2016Uberisation of writing symposium, QPR April 2016
Uberisation of writing symposium, QPR April 2016
 
Bioquimica revisão
Bioquimica revisãoBioquimica revisão
Bioquimica revisão
 
35036 bf3de23b3ebf67e862d63a1c4137985e
35036 bf3de23b3ebf67e862d63a1c4137985e35036 bf3de23b3ebf67e862d63a1c4137985e
35036 bf3de23b3ebf67e862d63a1c4137985e
 
Proteínas equipo3 Bioquímica
Proteínas equipo3 BioquímicaProteínas equipo3 Bioquímica
Proteínas equipo3 Bioquímica
 
CfE: Improving Learning
CfE: Improving LearningCfE: Improving Learning
CfE: Improving Learning
 

Similar to Foreman-Report2

Single Pendulum Gantry (SPG) 2013.4.17
Single Pendulum Gantry (SPG) 2013.4.17Single Pendulum Gantry (SPG) 2013.4.17
Single Pendulum Gantry (SPG) 2013.4.17
WEI WEI
 
1 Lab 3 Newton’s Second Law of Motion Introducti.docx
1 Lab 3 Newton’s Second Law of Motion  Introducti.docx1 Lab 3 Newton’s Second Law of Motion  Introducti.docx
1 Lab 3 Newton’s Second Law of Motion Introducti.docx
mercysuttle
 
2015 Recycle Rush2
2015 Recycle Rush22015 Recycle Rush2
2015 Recycle Rush2
Yongjae Kwon
 
Meeting w4 chapter 2 part 2
Meeting w4   chapter 2 part 2Meeting w4   chapter 2 part 2
Meeting w4 chapter 2 part 2
Hattori Sidek
 

Similar to Foreman-Report2 (20)

Quarter_Car_Suspension
Quarter_Car_SuspensionQuarter_Car_Suspension
Quarter_Car_Suspension
 
Design of recumbent elliptical trainer
Design of  recumbent elliptical trainerDesign of  recumbent elliptical trainer
Design of recumbent elliptical trainer
 
4267
42674267
4267
 
Wang1998
Wang1998Wang1998
Wang1998
 
Report #6
Report #6Report #6
Report #6
 
Chapter26
Chapter26Chapter26
Chapter26
 
Analysis of Automobile Suspension
Analysis of Automobile SuspensionAnalysis of Automobile Suspension
Analysis of Automobile Suspension
 
Week 10 part 3 pe 6282 mecchanical liquid and electrical
Week 10 part 3 pe 6282 mecchanical liquid and electricalWeek 10 part 3 pe 6282 mecchanical liquid and electrical
Week 10 part 3 pe 6282 mecchanical liquid and electrical
 
Lab 3
Lab 3Lab 3
Lab 3
 
Single Pendulum Gantry (SPG) 2013.4.17
Single Pendulum Gantry (SPG) 2013.4.17Single Pendulum Gantry (SPG) 2013.4.17
Single Pendulum Gantry (SPG) 2013.4.17
 
1 Lab 3 Newton’s Second Law of Motion Introducti.docx
1 Lab 3 Newton’s Second Law of Motion  Introducti.docx1 Lab 3 Newton’s Second Law of Motion  Introducti.docx
1 Lab 3 Newton’s Second Law of Motion Introducti.docx
 
Simulation of Double Pendulum
Simulation of Double PendulumSimulation of Double Pendulum
Simulation of Double Pendulum
 
03 time and motion
03 time and motion03 time and motion
03 time and motion
 
report
reportreport
report
 
Lab03
Lab03Lab03
Lab03
 
Signals and Systems Homework Help
Signals and Systems Homework HelpSignals and Systems Homework Help
Signals and Systems Homework Help
 
Base Excited Systems
Base Excited SystemsBase Excited Systems
Base Excited Systems
 
2015 Recycle Rush2
2015 Recycle Rush22015 Recycle Rush2
2015 Recycle Rush2
 
Meeting w4 chapter 2 part 2
Meeting w4   chapter 2 part 2Meeting w4   chapter 2 part 2
Meeting w4 chapter 2 part 2
 
case study of curve fitting
case study of curve fittingcase study of curve fitting
case study of curve fitting
 

Foreman-Report2

  • 1. College of Engineering and Computer Science Department of Mechanical Engineering ME 384 Dr. C. T. Lin Computer Project #2 Rachel Foreman Due: 25 Nov 2015 Submitted: 25 Nov 2015
  • 2. 1 Introduction A simple vehicle suspension “quarter car” model can be seen in Figure 1. The car of mass m is initially at rest when it begins moving along a road of sinusoidal shape. Based on a given spring constant, k, damping constant, b, and input velocity, vr(t), one can find the forces acting on the mass as well as its motion as a function of time. The system can be more easily analyzed by creating a block diagram and using MATLAB Simulink to simulate the behavior of the model. Figure 1 Model of quarter car suspension Method Figure 2 shows the free body diagram of the quarter car suspension. In this diagram, the inertial force in acting in the direction of the motion of the mass, while the spring and damper are resisting the motion of the mass. Based on the initial model, xr denotes the motion applied to the system by the sinusoidal road, while xm represents the motion of the mass. Figure 2 Free body diagram of mass, m
  • 3. 2 Eqn. 1 Eqn. 2 Eqn. 3 Eqn. 4 Eqn. 5 Eqn. 6 Eqn. 7 Eqn. 8 Eqn. 9 In order to solve for the Eigen values, natural frequency, and damping ratio of the system, the equation of motion must first be determined. This is done by applying Newton’s Law in the direction of the motion (Eqn. 1). ∑ 𝐹 = 𝑚𝑥̈ 𝑚 −𝑘(𝑥 𝑚 − 𝑥 𝑟) − 𝑏(𝑥̇ 𝑚 − 𝑥̇ 𝑟) = 𝑚𝑥̈ 𝑚 𝑚𝑥̈ 𝑚 + 𝑏𝑥̇ 𝑚 + 𝑘𝑥 𝑚 = 𝑏𝑥̇ 𝑟 + 𝑘𝑥 𝑟 Eigen Values, Natural Frequency, and Damping Coefficient Since the system is given to be initially at rest, the initial values of the velocities and displacements of both the road and the mass are equal to zero when time t = 0 [sec]. By taking the Laplace Transform of the equation of motion (Eqn. 3) and normalizing the denominator, the system transfer function in the s domain is determined (Eqn. 4). 𝑋 𝑚(𝑠) 𝑋 𝑟(𝑠) = 𝑏 𝑚 𝑠 + 𝑘 𝑚 𝑠2 + 𝑏 𝑚 𝑠 + 𝑘 𝑚 The denominator of the transfer function in Eqn. 4 can be called the characteristic polynomial of the system. By setting this polynomial equal to zero, it becomes the characteristic equation of the system (Eqn. 5). 𝑠2 + 𝑏 𝑚 𝑠 + 𝑘 𝑚 = 0 Solving the characteristic equation for s leads to the system Eigen values (Eqn. 6). 𝑠1,2 = − 𝑏 2𝑚 ± 𝑗 √4𝑘𝑚 − 𝑏2 2𝑚 [𝑠𝑒𝑐−1 ] Substituting the given mass of 1.5 [kg], spring constant 39.478 [N/m], and damping constant 7.5 [N-s/m] yields the specific Eigen values 𝑠1,2 = −2.5 ± 𝑗4.480 [𝑠𝑒𝑐−1 ]. By comparing the characteristic equation of the physical system (Eqn. 5) to a standard system equation in terms of natural frequency, 𝜔 𝑛, and damping coefficient, 𝜁 (Eqn. 7), the natural frequency of the system can be determined (Eqn. 8). 𝑠2 = 2𝜁𝜔 𝑛 𝑠 + 𝜔 𝑛 2 = 0 𝜔 𝑛 = √ 𝑘 𝑚 [𝑠𝑒𝑐−1 ] Similarly, by comparison, the damping coefficient can be determined (Eqn. 9). 𝜁 = 𝑏 2√𝑘𝑚
  • 4. 3 Eqn. 10 For the particular m, k, and b given in this system, 𝜔 𝑛 = 5.13 [𝑠𝑒𝑐−1] and 𝜁 = 0.487. Block Diagram and Simulink To aid with constructing the block diagram of the system, the equation of motion was rearranged to solve for 𝑥̈ 𝑚 (Eqn. 10). 𝑥̈ 𝑚 = 𝑏 𝑚 𝑥̇ 𝑟 − 𝑏 𝑚 𝑥̇ 𝑚 + 𝑘 𝑚 𝑥 𝑟 − 𝑘 𝑚 𝑥 𝑚 From this equation, the block diagram could be established (Fig. 3). Figure 3 Block diagram of quarter car system The block diagram was then used to construct the Simulink model (Fig. 4). Figure 4 Simulink model of quarter car suspension
  • 5. 4 Eqn. 11 Eqn. 12 Eqn. 13 Displacement and Velocity of the Mass Specific commands were added to the Simulink model to output desired quantities to the MATLAB workspace. In this case, the displacement and velocity of the mass could be pulled directly from the Simulink diagram without any additional calculations being done. By calling the Simulink model within a MATLAB script, the displacement and velocity of the mass were plotted versus time (Fig. 5). Figure 5 Plot of velocity and displacement of the mass as a function of time Inertial, Damping, and Spring Forces In order to obtain plots of the inertial, damping, and spring forces acting on the mass, additional branches and blocks needed to be added to the Simulink model. Per the free body diagram (Fig. 2), the inertial, damping, and spring forces can be described by equations 11, 12, and 13, respectively. 𝑖𝑛𝑡𝑒𝑟𝑡𝑖𝑎𝑙 𝑓𝑜𝑟𝑐𝑒 = 𝑚𝑥̈ 𝑚 [𝑁] 𝐹𝑑 = 𝑏(𝑥̇ 𝑚 − 𝑥̇ 𝑟) [𝑁] 𝐹𝑠 = 𝑘(𝑥 𝑚 − 𝑥 𝑟) [𝑁] To define the inertial force, a branch outputting 𝑥̈ 𝑚 was multiplied by 𝑚 before being sent to the MATLAB workspace. For the damping force, the velocity input from the road was first subtracted from the velocity of the mass, then a gain of 𝑏 was applied to the quantity. Similarly, the displacement input from the road was subtracted from the displacement of the mass, and the
  • 6. 5 Eqn. 14 resulting quantity was multiplied by 𝑘 in order to output the spring force. These outputs were called within the MATLAB script to produce a plot of all three forces versus time (Fig. 6). Figure 6 Plot of inertial, damping, and spring forces as functions of time Relation Between Forces By inspection of the free body diagram (Fig. 2), one can determine that the sum of the inertial, damping, and spring forces should equal zero (Eqn. 14). 𝑚𝑥̈ 𝑚 + 𝐹𝑑 + 𝐹𝑠 = 0 To verify this, the plot was analyzed at a time t = 4 [sec]. At this time value on the graph, the values of inertial, damping, and spring forces are 5.197 [N], 2.818 [N], and -8.015 [N], respectively. When added, these three values equal zero, as predicted in Eqn. 14. By further analysis, one can also determine that Eqn. 14 should hold true for all values of time in the plot.
  • 7. 6 Appendix MATLAB Code: Plot Displacement and Velocity %Call Simulink model SimOut = sim('QuarterCarDiagram'); %Plot displacement and velocity plot(t,x_m,'+',t,v_m,'-','linewidth',2) grid title('Displacement & Velocity of the Mass','Fontsize',20') xlabel('t [sec]','Fontsize',14') ylabel('x_m(t) [m], v_m(t) [m/s]','Fontsize',14') legend('x_m(t)','v_m(t)')
  • 8. 7 MATLAB Code: Plot Inertial, Damping, and Spring Forces %Call Simulink model SimOut = sim('QuarterCarDiagram'); %Plot inertial, damping, and spring forces plot(t,inertial,'+',t,damper,'-',t,spring,'.','linewidth',2) grid title('Inertial, Damping, and Spring Forces','Fontsize',20') xlabel('t [sec]','Fontsize',14') ylabel('mx`` [N], F_d [N], F_s [N]','Fontsize',14') legend('mx``','F_d','F_s')