
the mass and are, therefore, shown in the negative X-direction. Note also
that corresponds to the position of the mass when the spring is upstretched.
Now we proceed by summing the forces and applying Newton’s second law,
Equation (1), in each direction. In this case, there are no forces acting in the Y-
direction; however, in the X-direction we have:
(2)
This equation, known as the governing equation, completely characterizes the
dynamic state of the system. Later, we will see how to use this to calculate the
response of the system to any external input , as well as to analyze system
properties such as stability and performance.
Building the model with Simulink
To build the simulation model, open Simulink and open a new model window. Then
follow the steps listed below.
1. Insert an Integrator block from the Simulink/Continuous library and draw lines
to and from its input and output terminals.
2. Label the input line "Xddot" and the output line "Xdot". To add such a label,
double-click in the empty space just below the line.
3. Insert another Integrator block above the previous one and draw lines to and
from its input and output terminals.
4. Etc…
For the Second Order Differential Equation (Single Degree of Freedom System-
SDOF) model the initial conditions for both integrator blocks should be set to zero. As
for the gain blocks, use the following values m = 2, b = 2, and k = 4.