Skip to content

Bespi123/Satellite_Attitude_Control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

228 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Non-Linear Control Strategies for Attitude Maneuvers in a CubeSat

This repository contains the MATLAB simulation and related resources for the paper titled "Non-Linear Control Strategies for Attitude Maneuvers in a CubeSat with Three Reaction Wheels". The study, published in International Journal of Advanced Computer Science and Applications with DOI: 10.14569/IJACSA.2020.0111189, evaluates and compares different robust control strategies for CubeSat attitude maneuvers.

Table of Contents

Introduction

This research focuses on controlling the attitude of a CubeSat subjected to various disturbances, including gravity gradient and reaction wheel misalignment. The CubeSat model is simulated using three reaction wheels, and different control strategies are implemented, namely Boskovic's robust control, Dando's adaptive control, Chen's robust control, and Schaub's quaternion feedback control.

The study compares these control laws based on several metrics:

  • Steady-state error
  • Error Euler Angle Integration (EULERINT)
  • Average of Square of the Commanded Control Torque (ASCCT)
  • Settlement time
  • Computational cost

Features

  • Simulates CubeSat attitude maneuvers under different control strategies.
  • Implements kinematic and dynamic equations for a CubeSat with three reaction wheels.
  • Evaluates control performance under disturbances (gravity gradient, misalignment).
  • Uses quaternion-based attitude representation.

Installation

  1. Clone this repository:
    git clone https://github.com/Bespi123/Satellite_Attitude_Control.git
  2. Open MATLAB and navigate to the project directory.

Usage

Scripts

To run the simulations for regulation attitude maneuvers, execute the MATLAB script without adding the folder called Simulink into the MATLAB path:

run('Simulacion_regulation.m')

To run the simulations for tracking attitude maneuvers, execute the MATLAB script without adding the folder called Simulink into the MATLAB path:

run('Simulation_tracking.m')

This will perform attitude control simulations using the different control laws and generate performance plots.

Simulink

To run the simulations, execute the 'eqestate.slx' file without adding the Scrips folder into the MATLAB path.

Comparisson between Linear and non-linear model

The graphs presented in the article 'Low-cost Test System for 1U CubeSat Attitude Control with Reaction Wheels' with DOI: 10.1109/ARGENCON55245.2022.9940099. Specifically on Fig. 3 can be obtained by running 'Simulink\Linear_model\comparison\Comparison.slx'.

Control Laws

The following control laws are implemented and compared in this study:

  • Quaternion Feedback Controller: A basic feedback controller using quaternions.
  • Boskovic Robust Controller: A robust control law based on the variable structure approach, accounting for input constraints.
  • Dando Adaptive Controller: An adaptive control law that estimates the error of the inertia tensor.
  • Chen Robust Controller: A robust finite-time control law using Fast Non-Singular Terminal Sliding Mode Surface (FNTSMS) methods.

Simulations

The simulations include the following disturbances and configurations:

  • Gravity Gradient Torque: The primary external disturbance affecting CubeSats in low Earth orbit.
  • Reaction Wheel Misalignment: Disturbances introduced by slight misalignments of the reaction wheels.

Performance Metrics:

  1. Steady-state error (ess): The final error between the desired and achieved orientation.
  2. Error Euler Angle Integration (EULERINT): Integration of the angle error about the Euler axis.
  3. Average of Square of the Commanded Control Torque (ASCCT): Measure of the control effort.
  4. Settlement Time (ts): Time taken for the system to reach a stable state within 5% of the desired orientation.

More information:

For additional information please refer to report.pdf and report1.pdf.

Results

The simulation results will output performance graphs for each control law, including:

  • Euler angles (roll, pitch, yaw)
  • Angular rates
  • Control torque
  • Reaction wheel rates

The results are also compared based on the above metrics to identify the best control strategy for CubeSat attitude maneuvers.

Contact

For any questions or contributions, feel free to contact:

  • B. Espinoza-Garcia at bespinozag@unsa.edu.pe
  • P.R. Yanyachi at raulpab@unsa.edu.pe

This project was developed at the Instituto de Investigación Astronómico y Aeroespacial Pedro Paulet, Universidad Nacional de San Agustín de Arequipa.

About

This repository contains the MATLAB simulation and related resources for the paper titled "Non-Linear Control Strategies for Attitude Maneuvers in a CubeSat with Three Reaction Wheels"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages