Legacy Documentation

Polynomial Control Systems (2014)

This is documentation for an obsolete product.
Current products and services

Previous section-----Next section

3.5.2 Simulating System Behavior

The time domain behavior of the new model objects SystemMatrix, LeftMatrixFraction, and RightMatrixFraction can be obtained using the Control System Professional functions OutputResponse, StateResponse, and SimulationPlot.

Make sure the application is loaded.

In[1]:=

This is a system matrix model of the mass-spring system of Figure 3.1, where two outputs are defined as y1= x1 (the displacement of the mass m1), and y2= x2 (the displacement of the mass m2).

In[2]:=
Out[3]=

Here is this system matrix model for a given set of parameters.

In[4]:=
Out[5]=

This is the symbolic output response of the mass-spring system for a unit step input of force.

In[6]:=
Out[7]=

This plots the step response. The solid and dotted lines represent the first and second outputs, respectively.

In[8]:=

As the mass-spring system has no damping, the displacements of the masses m1 and m2 exhibit undamped oscillatory behavior, although these are not pure sinusoids. The smaller amplitude response is that of m2, while the larger amplitude response is the behavior of m1.

Consider a multivariable system with two inputs and three outputs.

In[9]:=
Out[10]=

These are the step responses of the system. As usual, SimulationPlot applies the step signal to all inputs in turn.

In[11]:=

The steady-state values of the step responses are as expected from the elements of the corresponding transfer-function matrix.

In[12]:=
Out[13]=