where the state-vector x(t), output-vector
y(t), control-vector
u(t), as well as
B, are all vectors, and
A,
C, and
D are matrices. Furthermore, in time-invariant state-space models,
A,
B,
C, and
D are time invariant. In the case where
D = 0 the system can easily be controlled by letting
u(t) = −Lx(t) be a scalar input-variable, where
L is a vector of compatible dimension. If the system is controllable, the poles of the closed-loop system can be placed at a desired location in the left half of the complex plane. Since the pole locations correspond directly to the behavior of the system, placing them can be of great interest.
You can use the State-Space Controller to place the poles of any system which is controllable, by defining the matrices A and
C, the vector
B, as well as initial conditions to the system, and where to place the poles. The add-in is imported from the COMSOL Multiphysics Add-in Library, and added to the model from the
Add-ins menu on the
Developer tab.
Once you have defined all parameters, click the Create button (

) to add a 0D component that implements the controller using global equations. When the creation of the State-Space controller is successful, you get a message about the available output variables.
Before applying the State-Space controller you must define the matrices A and
C, the vector
B, as well as initial conditions to the system, and decide where to place the poles.