Professional Documents
Culture Documents
Computer Modelling
A computer model of a half car suspension model using Simulink in Matlab Robert Tallent Thomas Byrne Fintan Monahan 12/1/2009
Table of Contents
TABLE OF CONTENTS........................................................................................................................................ 2 1. INTRODUCTION ...................................................................................................................................... 3 1.1. 1.2. 1.3. 1.4. 2. HISTORY ................................................................................................................................................. 3 PROPERTIES ............................................................................................................................................. 3 REQUIREMENTS........................................................................................................................................ 4 INDUSTRY................................................................................................................................................ 4
EQUATIONS AND MODEL ........................................................................................................................ 5 2.1. 2.2. 2.3. CAR MODEL ......................................................................................................................................... 5 CAR MODEL ......................................................................................................................................... 6 ANGLE AND RATE OF CHANGE OF PITCH ......................................................................................................... 8
3.
MAIN SYSTEM AND SUBSYSTEMS ........................................................................................................... 9 3.1. 3.2. 3.3. 3.4. 3.5. 3.6. FRONT SPRING MASS DAMPER SYSTEM: ....................................................................................................... 9 REAR SPRING MASS DAMPER SYSTEM ........................................................................................................ 10 PITCH ANGLE OUTPUTS ........................................................................................................................... 10 RELATIVE POSITION OUTPUT..................................................................................................................... 11 ROAD HEIGHT INPUT ............................................................................................................................... 11 COMPLETE SYSTEM ................................................................................................................................. 12
4.
OUTPUTS .............................................................................................................................................. 13 4.1. 4.2. 4.3. 4.4. 4.5. 4.6. ROAD HEIGHT ........................................................................................................................................ 13 PITCH ANGLE ......................................................................................................................................... 13 HEIGHT AT FRONT AXLE ........................................................................................................................... 14 HEIGHT AT REAR AXLE ............................................................................................................................. 14 FORCE ON REAR SUSPENSION ................................................................................................................... 15 FORCE ON FRONT SUSPENSION ................................................................................................................. 15
Page 2 of 15
1. Introduction
1.1. History
Computer modelling was originally used during World War II to simulate various battle scenarios and since then its growth and development has evolved hand in hand with the computer. Two particular spurts in its development could be noted during the 1980s with the introduction of the personal computer, where people who were up till then without access to a computer, could own one and write code. Secondly, the development of computer generated images for the film and game industries has contributed massively to the ability of a computer model to be represented graphically, making it much easier for the user to input data and interpret results.
1.2. Properties
The system we are observing is that of a half car suspension model including independent front and rear vertical suspension. This is achieved by modelling each suspension component as a spring mass damper system. The system in question can be said to display the following properties: Deterministic: This means the behaviour of the system is predictable and not random, meaning that given a particular set of inputs, the output will always be the same. Continuous: This describes the fact that a change in the input results in a change in the output and the proportionality of the input and output is quantifiable by some mathematical function. Dynamic: This describes the time dependence of a point in the models position in its ambient space formalised mathematically Local: Given the specifications of a modern computer, it would be more than capable of performing this calculation in an acceptable time locally, without the requirement of a networked system of computers
Page 3 of 15
1.3. Requirements
A good car suspension system should have satisfactory road holding ability, while still providing comfort when riding over bumps and holes in the road. When the car is experiencing any road disturbance (i.e. pot holes, cracks, and uneven pavement), the car body should not have large oscillations, and the oscillations should dissipate quickly. This can be achieved by investigating comfort vs. performance by changing the damping values for a given step input (for example a car coming out of a pothole). In general, sports and racing cars would adopt a stiffer suspension to increase overall car performance, whereas commercial vehicles would have a softer more oscillatory response to provide comfort for the driver.
1.4. Industry
Performance of an accurate model of this system allows us to test various parameters of the suspension and alter them as necessary in order achieve the above requirements. Building a computer model of this system to obtain required results would take a fraction of the time necessary to carry out the mathematical calculations by hand, which outlines its vital importance in industry, and in particular the automotive industry, due to the large amount of control systems integrated in a modern vehicle. Preparing computer models of each of these control systems allows engineers to make sure all components of a given system will work in synergy before the physical building of the vehicle takes place. This leads to a large improvement in the performance of a vehicle, without a large increase in its cost.
Page 4 of 15
is the rate
Where K is the spring constant and For the purposes of simplicity let
is the distance
Page 5 of 15
For a half car model is more complex as the model now has two spring mass damper systems and are connected by a beam which adds elements to the model (Inertia Angle & Rate of Change of Pitch Angle ) , Pitch
In order to calculate the Pitch Angle and Rate of Change of Pitch Angle the mass of the system is not required rather the moment of inertia is used; therefore the equation above to model a car suspension system cannot be used. For a car suspension model the centre of gravity of the beam (of length L) is located at a point x from the front suspension. In order to calculate the upward force acting on the front suspension the pitch angle and rate of change of pitch angle must be taken into account. As the pitch angle increases and rate of change of pitch angle increases so too does the height z and the rate of change of height . ( Inversely for the rear suspension the as )
Page 6 of 15
To calculate the height of the beam from the road and the rate of change of height From Newtons 2nd Law of Motion
Therefore: Subbing in Equations for the forces acting upward on both the front and rear suspension and taking into account the weight of the car Where is the acceleration Manipulating to get An Integrator is then applied to get the rate of change of height
A second Integrator is applied to get the height of the beam from the road
Page 7 of 15
Subbing into Newtons 2nd Law of Motion for rotation Manipulating to get
Page 8 of 15
Figure 3.1
Page 9 of 15
Figure 3.2
Figure 3.3
This is quite a simple system, the only variable being the Body Inertia. From this we can then use the integrator functions Theta and Delta Theta to turn these values into the outputs we require. These outputs are then looped back and used as one of the inputs for our front and rear suspension systems. Our other system is the bounce and change in bounce values. The output here will once again be looped back to be used as our input for our initial suspension systems. This subsystem is illustrated below in Figure 3.4, it can be seen here that this subsystem is dependant on body mass, acceleration due to gravity and the road height.
Page 10 of 15
This variable road height makes up our final subsystem. As shown in Figure 3.5, we have combined two step inputs to simulate the bump in the road. A sine wave is then fed into the resulting input to give the signal. Finally a transport delay is introduced, brought in to give the delay between the front and rear. As well as determining the road height, it is here that we can vary the speed of the car by adjusting the time delay. When all our subsystems are combined with the appropriate addition and subtraction links we find our final overall system, Figure 3.6. Through scopes we can then assess the desired outputs as discussed earlier and in our Results and Conclusions below.
Figure 3.4
Figure 3.5
Page 11 of 15
Figure 3.6
Page 12 of 15
4. Outputs
4.1. Road Height
Page 13 of 15
Page 14 of 15
Page 15 of 15