# LMIs in Control/Applications/H2 LMI SatelliteAttitudeControl

LMIs in Control/Applications/H2 LMI SatelliteAttitudeControl

This is a **H2 LMI for Satellite Attitude Control**

Satellite attitude control is important for military, civil, and scientific activities. Attitude control of a satellite involves fast maneuvering and accurate pointing in the presence of all kinds of disturbances and parameter uncertainties.

**The System**

edit
The satellite state-space formulation is given in the LMI page for Satellite Attitude Control which is also in the applications section of this WikiBook. This section discusses the derivation of that state-space formulation based on first principles.

The attitude dynamics of a satellite in an inertial coordinate system can be described in terms of the time rate of change of its angular momentum and the sum of the external torques and moments acting on the system. That is:

where the following variables are defined as follows:

- are the flywheel torque, the gravitational torque, and the disturbance torque.
- is the total momentum/torque acting on the satellite
- is the inertia matrix/tensor for the satellite
- is the angular velocity vector of the satellite.

The time derivative of the total angular momentum in an arbitrary rotating reference frame (such as the body frame of the satellite) is given by:

which takes into the account of the angular velocity of the rotating reference frame relative to the inertial reference frame where Newton's laws are valid.

Combining equations, collecting terms and choosing the principle axes of the spacecraft so that the Inertia Tensor is diagonalized yields the following equations of motion:

Using the small angle approximation, the angular velocity of the satellite in the inertial coordinate system represented in the body coordinate system can be written as

These equations form the basis of the state-space representation used in the H-inf LMI for satellite attitude control. For clarity, they are repeated below.

**The Data**

edit
Data required for this LMI include moments of inertia of the satellite being controlled and the angular velocity of the earth. Any knowledge of the disturbance torques would also facilitate solution of the problem.

**The Optimization Problem**

edit
The optimization problem seeks to minimize the H2 norm of the transfer function from disturbance to output. Thus, we expect slightly different results than the H-inf case. Deriving the H2 control problem and setup also serves for useful setup for the mixed H-inf/H2 optimization that the book follows up with later.

- Objective: H2 norm
- Variables: Controller Gains
- Constraints: Satellite Attitude Dynamics and Kinematics. Maximum safe rotational rate of Satellite, maximum jet pulse thrust

**The LMI:** H-2 Satellite Attitude Control

edit
Duan and Yu use the following H-2 Satellite Attitude Control LMI to minimize the attenuation level from disturbance to output. Note that in the H2-case we are minimizing the integral of the magnitude of the bode plot transfer function whereas in the H-inf case the optimization is minimizing the maximum value of the bode plot magnitude.

To design an optimizing controller of the form

such that the closed-loop system is stable and the transfer function matrix

satisfies

for a minimal positive scalar .

This scalar is found from the solution of the following LMI

and the controller is given by

**Conclusion:**

edit
The LMI for H-2 Satellite Attitude Control comes up with a different attenuation value for the disturbance vs the H-inf problem which is expected. It also serves for good preparation for the mixed H2/H-inf problem that Duan and Yu cover in a later section. Though no implementation is included for the mixed H2/H-inf optimization problem it is interesting to compare the results of all three cases for the satellite attitude control problem.

**Implementation**

edit
A link to CodeOcean or other online implementation of the LMI

**Related LMIs**

edit
Links to other closely-related LMIs

## External Links

editA list of references documenting and validating the LMI.

- LMI Methods in Optimal and Robust Control - A course on LMIs in Control by Matthew Peet.
- [1] - LMIs in Control Systems: Analysis, Design, and Applications - Duan and Yu