Advancing CubeSat Digital Twin Simulation: Industrial Liaison Forum 2025

1 minute read

Published:

The project “Designing a Generic Digital Twin for a CubeSat” focuses on developing a MATLAB-based simulation to model CubeSat dynamics. The simulation incorporates quaternion-based state propagation, disturbance torques, and initial control logic. This post outlines the current status, simulation results, and next steps in refining the CubeSat’s digital twin.


Current Simulation Features

The MATLAB simulation provides a structured approach to modeling CubeSat motion. It currently implements:

  • Quaternion-Based Attitude Representation: Ensuring numerically stable orientation tracking.
  • 3D Visualization: Real-time rendering of CubeSat orientation over time.
  • Disturbance Modeling: External torques from gravity gradient, aerodynamic drag, and residual magnetism.
  • Detumbling Control: Basic quaternion feedback controller for stabilization.

This setup establishes a foundation for integrating more advanced control and sensing capabilities.

System Diagram

ADCS_System_Flow
Figure 1: System Architecture - Overview of key modules in the simulation.

Simulation Results

Simulation Diagram

ADCSsysflow1
Figure 2: System Diagram - Outlines the system logic and data transfer between the MATLAB files.

The CubeSat’s behavior under quaternion feedback control has been analyzed, with key outputs including:

  1. Orientation Evolution (Roll, Pitch, Yaw)
    The simulation plots the CubeSat’s angular motion over time.

  2. Angular Velocity Decay
    The detumbling algorithm effectively reduces angular rates.

  3. External Disturbance Effects
    Gravity gradient and drag torques influence motion over time.

Output Plots

MEng_digicube_ilf_plot
Figure 3: Plots of the quaternion position, angular velocity, control input, and effective area over time from the simulation.

Video Demonstration

Below is a video showcasing the CubeSat’s simulated detumbling motion:

Figure 4: 3D Visualization of CubeSat Detumbling.

Next Steps

The upcoming development phases focus on enhancing the CubeSat model with:

  1. Actuator Integration: Implementing reaction wheels and magnetorquers for active control.
  2. Sensor Simulation: Modeling gyroscopes, sun sensors, and magnetometers for attitude determination.
  3. Refined Environmental Modeling: Enhancing disturbance torques with high-fidelity space environment effects.
  4. Advanced Control Laws: Testing and optimizing ADCS control strategies.

Conclusion

This milestone brings the CubeSat digital twin closer to real-world applicability. The integration of actuators, sensors, and refined environmental models will significantly enhance simulation accuracy.

For further discussions or collaborations, contact j.hubbard@se21.qmul.ac.uk. Stay tuned for more updates! 🚀