« View all new features in Mathematica 9  previous  |  next 
New in Mathematica 9Enhanced Control Systems

Design a Feedback Controller for a Mixing Tank 

The equations for a chemical's concentration in a mixing tank with two inflows and one outflow are Taylor linearized about an operating point to produce a descriptor state-space model.

In[1]:=
Click for copyable input
X
In[2]:=
Click for copyable input
X
Out[2]=

Because the system is of order 2, a feedback controller can assign two poles.

In[3]:=
Click for copyable input
X
Out[3]=
In[4]:=
Click for copyable input
X
Out[4]=

Obtain the closed-loop system.

In[5]:=
Click for copyable input
X
Out[5]=

The closed-loop system reacts considerably faster to changes than the uncompensated system.

In[6]:=
Click for copyable input
X
In[7]:=
Click for copyable input
X
Out[7]=