{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "## A quarter car suspension\n", "\n", "### Question: \n", "\n", "Simulate the time response of the quarter car suspension model equations descibed below. \n", "\n", "### Mathematical model:\n", "\n", "\n", "\n", "The figure show above shows a vehicle suspension system. The equations of motion for the vehicle and wheel motion assuming one-dimensional vertical motion of one quarter of the car mass above one wheel. \n", "\n", "The system can be approximated by the simplified system shown in the figure below. The coordinates of the two masses, x and y, with the reference directions as shown, are the displacements of the masses from their equilibrium conditions. The equilibrium positions are offsets from the springs’ unstretched positions because of the force of gravity. The shock absorber is represented in the schematic diagram by a dash-pot symbol with friction constant b. The magnitude of the force from the shock absorber is assumed to be proportional to the rate of change of the relative displacement of\n", "the two masses-that is, the force= $b(\\dot y − \\dot x)$. The force of gravity could be included in the free body diagram; however, its effect is to produce a constant offset of x and y. By defining x and y to be the distance from the equilibrium position, the need to include the gravity forces is eliminated.\n", "\n", "\n", "\n", "The force from the car suspension acts on both masses in proportion to their relative displacement with spring constant $K_s$. The lower spring $k_w$ represents the tire compressibility, for which there is insufficient damping (velocity-dependent force) to warrant including a dashpot in the model. The force from this spring is proportional to the distance the tire is compressed and the nominal equilibrium force would be that required to support $m_1$ and $m_2$ against gravity. By defining x to be the distance from equilibrium, a force will result if either the road surface has a bump (r(t) changes from its equilibrium value of zero) or the wheel bounces (x changes). The motion of the simplified car over a bumpy road will result in a value of r(t) that is not constant.\n", "\n", "\n", "\n", "The figure above shows the free-body diagram of each mass. Applying the second law of Newton to each mass and noting that some forces on each mass are in the negative (down) direction yields the system of equations\n", "\n", "\\begin{eqnarray}\n", " b(\\dot y-\\dot x) + k_s(y-x) - k_w(x-r) &=& m_1 \\ddot x, \\\\\n", " - k_s(y-x) -b (\\dot y - \\dot x) &=& m_2 \\ddot y. \n", "\\end{eqnarray}\n", "\n", "**Python based simulation methods**:\n", "\n", "- [ODE simulation](Quarter_car_suspension_ODE.ipynb)\n", "- [Transfer function simulation](Quarter_car_suspension_TF.ipynb)\n", "- [State space simulation](Quarter_car_suspension_SS.ipynb)\n" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.10" } }, "nbformat": 4, "nbformat_minor": 4 }