Visualizing CubeSat Dynamics: Progress on My MEng Project
Published:
As part of my ongoing MEng project, “Designing a Generic Digital Twin for a Cubesat”, I’ve developed an initial MATLAB-based simulation to visualize the dynamics of a CubeSat undergoing detumbling - representing significant progress in my role as the ADCS lead. This post outlines the current progress, simulation results, and the next steps to refine the model.
Current Simulation Features
The simulation focuses on visualizing the CubeSat’s motion in 3D space. While it doesn’t yet model actuators, sensors, or dynamic external torques, it provides simple control algorithms as a foundation to develop upon across the project. Here’s what the model achieves so far:
- 3D Visualization: Simulates CubeSat orientation changes over time based on given angular velocity inputs.
- Orientation Analysis: Plots of roll, pitch, and yaw angles to study CubeSat motion.
- Foundational Model: A starting point for integrating actuators, sensors, and external torques.
The system runs in MATLAB following the logic outlined in the diagram below:
System Diagram
Simulation Results
The current model outputs the following:
Orientation Angles (Roll, Pitch, Yaw)
The CubeSat’s orientation over time is captured in a 3D animation and plotted.Angular Velocities
Plots display how the angular velocity components evolve as the CubeSat detumbles.Control Inputs
While control inputs are placeholders for now, they will be part of the actuator integration in future iterations.
Below are output plots when running the simulation:
Orientation Angles Plot
Angular Velocities Plot
Control Inputs Plot
Video Demonstration
To make the simulation more accessible, I’ve created a video showcasing the 3D visualization of the CubeSat’s passive detumbling motion:
Next Steps
- Integrating Actuators: Model actuators to actively control the CubeSat’s motion.
- Adding Sensors: Simulate sensor data for real-time orientation and angular velocity estimation.
- External Torques: Incorporate dynamic external torques, such as gravity gradient and aerodynamic drag.
- Testing Control Algorithms: Implement and validate more advanced control laws for alternate control modes.
Conclusion
This is an exciting step in my MEng project, and I’m looking forward to refining the model further. The addition of actuators, sensors, and external torques will significantly enhance the simulation’s accuracy and applicability to real-world scenarios.
If you’re interested in learning more or collaborating, feel free to contact me at j.hubbard@se21.qmul.ac.uk. Stay tuned for updates! 🚀