functiondesignAssignPolesMIMO
Example for pole placing
Extends from Modelica.Icons.Function (Icon for functions).
Information
Computes the gain vector k for the state space system
ss = StateSpace(A=[-1,1;0,-2],B=[0, 1],C=[1,0; 0, 1],D=[0; 0])
such that for the state feedback
u = -k*y = -k*x
the closed-loop poles are placed at
p = {-3,-4}.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica_LinearSystems2.StateSpace | ss | Modelica_LinearSystems2.StateSpace(A = [-1, 1; 0, -2], B = [0; 1], C = [1, 0; 0, 1], D = [0; 0]) | |
| Modelica_LinearSystems2.Math.Complex[:] | p | {Modelica_LinearSystems2.Math.Complex(-3, 0), Modelica_LinearSystems2.Math.Complex(-4, 0)} |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[:,:] | K | Gain vector | |
| Real[:,:] | S |