When a CubeSat class satellite is launched from a P-Pod launch container, the satellite is exposed to initial speeds and rotations that need to be evaluated and stabilized. Magnetic coils located on the satellite are used for this stabilization. The moment a current passes through the magnetic coils, it creates a magnetic field, which then reacts to Earth's magnetic field. This reaction of the coil's magnetic field and the Earth's magnetic field results in the creation of a torque that allows to reduce the initial angular velocity and thus stabilize the satellite. We will simulate this stabilization in the MATLAB environment. Subsequently, a neural network will be created, which will also try to simulate this issue.
To run this code, it is neccesary to download and add https://www.mathworks.com/matlabcentral/fileexchange/34388-international-geomagnetic-reference-field-igrf-model to folder with program.
Program was inspired by Carlos José Montalvo
Lukas Matusik (2021). Stabilization of miniature satellit (https://www.mathworks.com/matlabcentral/fileexchange/92085-stabilization-of-miniature-satellit), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!