# LMIs in Control/pages/Discrete Time H2 Optimal Full State Feedback Control

Discrete-Time H2-Optimal Full-State Feedback Control

A discrete time system operates on a discrete time signal input and produces a discrete time signal output. They are used in digital signal processing, such as digital filters for images or sound. The class of discrete time systems that are both linear and time invariant, known as discrete time LTI systems.

A full state feedback controller design for a Discrete Time system, to minimize the H2 norm of the closed loop system with exogenous input ${\displaystyle w_{k}}$ and performance output ${\displaystyle z_{k}}$.

## The System

Discrete-Time LTI System with state space realization ${\displaystyle (A_{d},B_{d},C_{d},D_{d})}$
{\displaystyle {\begin{aligned}x_{k+1}&=A_{d}x_{k}+B_{d1}w_{k}+B_{d2}u_{k}\\z_{k}&=C_{d1}x_{k}+D_{d12}u_{k}\\y_{k}&=x_{k}\\\end{aligned}}}

## The Data

The matrices: System ${\displaystyle (A_{d},B_{d1},B_{d2},C_{d1},D_{d12}),P,Z,F_{d}}$ .

## The Optimization Problem

The following feasibility problem should be optimized:

${\displaystyle \mu }$  is minimized while obeying the LMI constraints.

## The LMI:

Discrete-Time H2-Optimal Full-State Feedback Control

The LMI formulation

H2 norm < ${\displaystyle \mu }$

{\displaystyle {\begin{aligned}P\in {S^{n_{x}}};Z\in {S^{n_{z}}};&F_{d}\in {R^{n_{u}*n_{x}}};\mu \in {R_{>0}}\;\\&P>0\\&Z>0\\{\begin{bmatrix}P&A_{d}P+B_{d2}F_{d}&B_{d1}\\*&P&0\\*&*&I\end{bmatrix}}&>0,\\{\begin{bmatrix}Z&C_{d1}P+D_{d12}F_{d}\\*&P\end{bmatrix}}&>0,\\&trZ<\mu ^{2}\end{aligned}}}

## Conclusion:

The H2-optimal full-state feedback gain is recovered by ${\displaystyle K_{d}=F_{d}P^{-1}}$

## Implementation

A link to CodeOcean or other online implementation of the LMI
MATLAB Code

## Related LMIs

[1] - Continuous Time H2 Optimal Full State Feedback Control