Design a Feedback Controller for a Descriptor System

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[101]:=
Click for copyable input
In[102]:=
Click for copyable input
Out[102]=
Obtain a realization at steady state for a particular set of numeric values:
In[103]:=
Click for copyable input
Out[103]=
Because the system is of order 2, a feedback controller can assign two poles:
In[104]:=
Click for copyable input
Out[104]=
In[105]:=
Click for copyable input
Out[105]=
Obtain the closed-loop system:
In[106]:=
Click for copyable input
Out[106]=
The closed-loop system reacts considerably faster to changes than the uncompensated system:
In[107]:=
Click for copyable input
In[108]:=
Click for copyable input
Out[108]=
New to Mathematica? Find your learning path »
Have a question? Ask support »