Initial Conditions

Keywords:Theory of Control, Matlab Simulink

Now, we do have our model in Simulink. It is easy to imagine that the mass will not move because there is no force acting on it. With no force motion is possible if the initial conditions are not zero. As the equation of motion is a second order differential equation, there are two initial conditions. Right click on the second integrator. Choose "Block Parameters".



In the pop-up window set "initial condition" to "1".



This will set the initial position of the masss to 1. Basically, it is exactly the same as the mass will be forced to stay in this position by an external force. The force vanished at moment zero. Add another scope, to visualize the velocity (the output of the first integrator).



The next step is tu run the simulation and visualize the results.

Next