Control

Inertial Measurement Unit (IMU)

An IMU (Inertial Measurement Unit) is a measurement unit consisting of multiple inertial sensors, usually accelerometers, gyroscopes, and magnetometers. Since we live in a 3D space, there are three degrees of freedom (DOF) per dimension. A typical IMU provides 9 DOF: 3 axes of acceleration, 3 axes of gyroscopic rotation, and 3 axes of magnetic field measurement.

It is used to determine the position of an object (e.g., an airplane) in space relative to a reference system. Modern IMUs often rely on MEMS (Micro-electromechanical systems) technology, utilizing mechanisms like vibrating structures and capacitive sensing to detect motion.

Coordinate Systems

To successfully navigate, it is crucial to distinguish between two reference frames:

The Challenge: Sensors measure acceleration in the Body Frame. If the satellite rotates (e.g., spins while falling), the direction of "down" or "forward" changes relative to the sensors. [cite_start]To perform Dead-Reckoning, we must transform these measurements into the Inertial Frame using a rotation matrix derived from the Attitude Estimation[cite: 526, 551].

Attitude algorithm

Describe Orientations

To estimate displacement accurately in a 3D space, it is necessary to track the rotation of the object. This allows for the transformation of acceleration from the body frame (attached to the rotating object) to the inertial frame (fixed reference).

Euler Angles

Euler angles describe the orientation of a rotating object in 3D space using three angles: roll (ϕ), pitch (θ), and yaw (ψ). These angles define the sequence of rotations around the object's axes to reach a particular orientation:

However, Euler angles suffer from Gimbal Lock, a loss of one degree of rotational freedom that occurs when two rotation axes become aligned. In this state, the system can no longer distinguish rotation about one axis from the other, leading to unpredictable behavior.

Quaternions

Quaternions are an extension of complex numbers to 3D space, used to handle 3D rotations. A quaternion q is written as:

q=w+xi+yj+zk

where w is the real part, and x,y,z are the imaginary components.

Advantages over Euler Angles:

Madgwick

The Madgwick filter is a computationally efficient sensor fusion algorithm designed for IMUs and MARG (Magnetic, Angular Rate, and Gravity) sensor arrays. It fuses data from the gyroscope, accelerometer, and magnetometer to compute an absolute orientation quaternion.

Mahony

The Mahony filter is a complementary filter implemented on the Special Orthogonal group SO(3). It focuses on correcting the gyroscope bias to prevent drift.

Positioning algorithm

Dead-Reckoning

Dead-reckoning is the technique of estimating velocity, direction, and distance traveled from a last known position without external aiding (like GNSS).

Process:

  1. Acceleration Measurement: Measure acceleration in all three spatial dimensions (x,y,z) in the body frame.
  2. Coordinate Transformation: Convert acceleration from the body frame to the inertial frame using a rotation matrix R(t) derived from the attitude estimation.ainertial(t)=R(t)abody(t)
  3. Double Integration:
    • Integrate the transformed acceleration once to obtain velocity: v=adt.
    • Integrate the resulting velocity to calculate displacement: y=vdt.

Challenges:

Kalman filter

The Kalman filter is an optimal estimation algorithm used to fuse noisy sensor data and estimate the state of a system (such as position and velocity). It is particularly useful for correcting the drift inherent in dead-reckoning.

Concept:
It operates in a two-step cycle:

  1. Predict: Estimates the current state variables (e.g., position, velocity) and their uncertainties based on the physical laws of motion (system dynamic model).
  2. Update: Corrects the predicted state using new noisy measurements (e.g., from GPS, Barometer, or Accelerometer).

In the context of the slides, a Kalman filter is shown to estimate vertical velocity and position by fusing IMU data with barometer data, providing a trajectory solution that is more stable than raw sensor integration.