# LMIs in Control/pages/Apkarian Filter

LMIs in Control/pages/Apkarian Filter

## The System:

The number of LMI constraints needed to check quadratic stability is reduced if all the subsystems in the polytopic model has the same matrix ${\displaystyle B}$. This can be achieved by adding an Apkarian filter in the input of the system.

## The Optimization Problem:

Apkarian Filter

Let consider our TS-LIA model. This can be re written in linear form as:

${\displaystyle {\dot {x}}=A(z(t))x+B(z(t))u}$

The filter should be such that the equilibrium of the states are the input values and the dynamics should be fast, so we could assume the dynamics of the filter negligible (i.e. the input of the filter is equivalent to the input of the quadrotor). One possible filter is shown , where ${\displaystyle A_{F}}$ = −100${\displaystyle I_{4}}$, ${\displaystyle B_{F}}$ = 100${\displaystyle I_{4}}$ and ${\displaystyle I_{4}}$${\displaystyle R^{4\times 4}}$ is the identity matrix.

${\displaystyle {\dot {x_{F}}}=A_{F}x_{F}+B_{F}u_{F};y_{f}=x_{f}}$.

When applying the filter, we are imposing that the output of the filter is the new input of the TS-LIA model (i.e. ${\displaystyle u}$ = ${\displaystyle y_{F}}$ ). Then, the extended model is:

${\displaystyle {\dot {x_{c}}}={\begin{bmatrix}A(z(t))&B(z(t))\\0&A_{F}\\\end{bmatrix}}x_{c}+{\begin{bmatrix}0\\B_{F}\end{bmatrix}}u_{F}=A_{e}(z(t))x_{e}+B_{e}u_{f};x_{e}={\begin{bmatrix}x\\x_{F}\end{bmatrix}}}$

This prefiltering does not affect the procedure followed to obtain the TS-LIA model, so the premise variables, membership functions and activations functions remains the same.

State Feedback Controller Design

Let consider the state feedback control law for the extended TS-LIA model:${\displaystyle {\dot {x_{e}}}=\sum _{i=1}^{32}h_{i}(z(t))[A_{ei}x_{e}+B_{ei}u_{F}]}$, where the state feedback control laws are :${\displaystyle u_{F}=\sum _{i=1}^{32}h_{i}(z(t))K_{i}x(t)}$, we get the closed loop system  :${\displaystyle {\dot {x_{e}}}=\sum _{i=1}^{32}\sum _{j=1}^{32}h_{j}(z(t))[A_{ei}x_{e}+B_{ei}K_{j}]x_{e}}$

## The LMI:

The design of the controller is done by solving an LMI problem involving the quadratic stability constraints. In case we want D- stabilization, the following set of LMI constraints are needed:

${\displaystyle L\otimes P+M\otimes P(A_{ei}+B_{e}K_{i})+MT\otimes (A_{e}i+B_{e}K_{i})^{T}P<0}$ ∀i = 1, . . . , 32.

## Conclusion:

The LMI is feasible.

## References

• Control, A. (2016). Gain-scheduling Control of a Quadrotor Using the Takagi-Sugeno Approach.