Suspension simulation guide

From GTMS
Revision as of 16:31, 23 September 2025 by JosephBamert (talk | contribs) (Coding)
Quarter car freebody diagram

This is general suspension simulation guide. The force of springs is Fs=-kx. The force of dampers is Fd=-cv. We will be using dot notion to represent derivatives. For example, if x denotes position of a object, ẋ (x-dot) is the velocity of the object, and (x-double-dot) is the acceleration of the object.

Quarter Car

The simplest form to explain the physics of suspension simulation is the quarter car. A quarter car model contains the sprung mass (chassis), coilover spring, the damper (dashpot), unsprung mass, and the tire spring. The tire spring exist because... the tire is a spring and has a stiffness. The sprung mass is supported by the coilover spring and the damper which are connected to the unsprung mass. The unsprung mass is supported by the tire spring.

Coding

All MATLAB files can be found on our Github under the vehicle_sim repository.

Toolboxes

Go to Home -> Environment -> Add-Ons -> Get Add-Ons. Search for and install the following toolboxes:

  • Control System Toolbox
  • DSP System Toolbox
  • Model Predictive Control Toolbox
  • RF Toolbox
  • Signal Processing Toolbox
  • Communications Toolbox

Important MATLAB functions

  • Transfer Function (tf): a transfer function takes the input of the road displacement and outputs the displacement of the sprung or unsprung mass.
  • Step Function (step): computes the step response y of dynamic system sys. step automatically determines the time steps and duration of the simulation based on the system dynamics

Quarter car

We will first explore the quarter car code.