# LMIs in Control/Click here to continue/Applications of Linear systems/Helicopter Inner Loop LMI

LMIs in Control/Click here to continue/Applications of Linear systems/Helicopter Inner Loop LMI
This is a Helicopter Inner Loop LMI. Optimization methods and optimal control have had difficulty gaining traction in the rotorcraft control law community. However, this LMI derived in the referenced paper attempts to address the issues with a LMI for Robust, Optimal Control.

## The System

Continuous Time:
    ${\begin{aligned}{\dot {x}}(t)&={\hat {A}}x(t)+B_{1}w(t)+{\hat {B_{2}}}u(t),\\z(t)&=C_{1}x(t)+D_{12}u(t)\\\end{aligned}}$
The Helicopter model is given by knowledge of the stability and control derivatives which populate the elements of the ${\hat {A}},{\hat {B_{2}}}$ matrices in the dynamic equations above.
The state vector is given by the typical elements of a rigid 6-DOF body model. $x={\begin{bmatrix}u,w,q,\theta ,v,p,\psi ,r\end{bmatrix}}^{T}$. The input vector is given by $u={\begin{bmatrix}\delta _{0},\delta _{1s},\delta _{1c},\delta _{T}\end{bmatrix}}^{T}$ which pertain to the main rotor collective, longitudinal/lateral cyclic and tail rotor collective blade angles in radians.
The gust disturbance is denoted by $w(t)$ and is assumed to be random in nature. The stability and control derivative matrices are modeled with uncertainty as follows:
    ${\begin{aligned}{\hat {A}}=A+\Delta A,{\hat {B_{2}}}=B_{2}+\Delta B\\\end{aligned}}$
The $\Delta$ terms represent the uncertainties in the helicopter system model.

## The Data

The Data required for this LMI are the stability and control derivatives that populate the A and B-matrices of the system above which can be obtained from linearizing non-linear models. It can also be obtained from experimental methods such as step responses and swept sines (System Identification.)

## The Control Architecture

A control architecture for the inner loop of the helicopter model mentioned above is designed using a state feedback control law.
$u=Kx(t)$
The objective for the inner loop control is to design a full state feedback law such that the closed-loop helicopter system satisfies the following 3 performance specifications.

## The Optimization Problem

Objective 1: The closed-loop system is internally stable for any admissible uncertainty.
Objective 2: Poles of the close-loop system lie within the disk $D(-q,r)$ with center $-q+j_{0}$ and radius $r,q>r>0$, for any admissible uncertainty.
Objective 3: Given gust disturbance suppression index $\gamma$, for any admissible uncertainty, the effect of the gust disturbance to selected flight states and control input is in the given level, i.e.
$\int _{0}^{\infty }\!\{x^{T}(t)Qx(t)+u^{T}(t)Ru(t)\}\ \mathrm {d} x<\gamma ^{2}\int _{0}^{\infty }\!w(t)^{T}w(t)\,\mathrm {d} t.$
where $w(t)\in L_{2}(0,\infty ).$ $Q$ and $R$ are weighting matrices with appropriate dimensions and $Q=Q^{T}\geq 0,R=R^{T}>0.$
It can be shown that the inner loop performance specifications listed in Objectives 1-3 can be met with a state feedback control law if the LMI described in the following section is true.
* Objective: Objectives listed above
* Variables: Controller Gains
* Constraints: Rotorcraft Dynamics and Modeled Actuator Limits

## The LMI: H-Inf Inner Loop D-Stabilization Optimization

The paper derives and LMI of the form below and asserts that the if there exists a constant $\epsilon$ , matrix $Z$ with appropriate dimensions and a symmetric positive matrix $P$, such that
    ${\begin{aligned}\\{\begin{bmatrix}\Psi _{11}&B_{1}&XC_{1}^{T}+Z^{T}D_{1}2^{T}&A_{\alpha }X_{+}B_{2}Z&XF_{1}^{T}+Z^{T}F_{2}^{T}&\epsilon H\\B_{1}^{T}&-\gamma ^{2}I&0&0&0&0\\C_{1}X+D_{12}Z&0&-I&0&0&0\\XA_{\alpha }^{T}+Z^{T}B_{2}^{T}&0&0&-rX&XF_{1}^{T}+Z^{T}F_{2}^{T}&0\\F_{1}X+F_{2}Z&0&0&F_{1}X+F_{2}Z&-\epsilon I&0\\\epsilon H^{T}&0&0&0&0&-\epsilon I\end{bmatrix}}<0\\\end{aligned}}$
where, $\Psi _{11}=A_{\alpha }X+XA_{\alpha }^{T}+B_{2}Z+Z^{T}B_{2}^{T},A_{\alpha }=A+\alpha I$
This LMI is shown to satisfy Objectives 1, 2,3, and the control law is given by
    ${\begin{aligned}u(t)=Kx(t)\\K=ZX^{-1}\end{aligned}}$

## Conclusion:

The LMI for Helicopter Inner Loop Control design provides an optimization-based approach towards achieving Level 1 Handling Qualities per ADS-33E. This is an interesting way to approach a very difficult problem that has usually been approached through classical control methods and with extensive piloted simulation and flight test.

## Implementation

A link to CodeOcean or other online implementation of the LMI

## Related LMIs

Links to other closely-related LMIs
* Optimal_Output_Feedback_Hinf_LMI

## External Links

A list of references documenting and validating the LMI.
* LMI Methods in Optimal and Robust Control - A course on LMIs in Control by Matthew Peet.
* - Multi-Mode Flight Control for an Unmanned Helicopter Based on Robust H∞ D-Stabilization and PI Tracking Configuration