Clear Filters
Clear Filters

How does the Spacecraft Dynamics block work?

51 views (last 30 days)
Andrew Sol
Andrew Sol on 17 Jul 2024 at 11:21
Commented: Andrew Sol on 19 Jul 2024 at 5:03
In Simulink (Aerospace Blockset) there is a Spacecraft Dynamics block. How does he work? I can’t look inside it (Look Under Mask option is inactive). The description page shows the equations that are used in the block, but the numbers given are clearly not given in full (it seems to me). https://www.mathworks.com/help/aeroblks/getting-started-with-the-spacecraft-dynamics-block.html
In addition, the equations themselves raise some questions, for example, the PDEs are given. Simulink can now solve PDEs in real time?
I want to understand how this block works in order to learn how to write my own to suit my own needs.

Accepted Answer

Sam Chak
Sam Chak on 17 Jul 2024 at 13:16
Edited: Sam Chak on 17 Jul 2024 at 22:31
Hi Andrew,
The Spacecraft Dynamics block simultaneously models both the Orbital (translational) and Attitude (rotational) dynamics of an orbiting satellite.
This block offers a relatively realistic set of equations of motion for a two-body system, yet it is technically sophisticated enough to include the following features:
  • Mass flow rate,
  • Rate of change of inertia tensor matrix,
  • Six Keplerian orbital elements
  • Effect of Oblate ellipsoid ()
  • Julian date
  • G.A.M.S. Disturbance torques (Gravity gradient , Atmospheric drag , Magnetic field , & Solar radiation pressure )
  • Optional Third Body Gravity Effects
I have seen some students struggling to design satisfactory model-based controllers to stabilize the satellite because of the Spacecraft's equations of motion are not directly given. The control designer has to assume that the user-derived model is the exactly same as the internal model of the Spacecraft Dynamics block.
  5 Comments
Sam Chak
Sam Chak on 18 Jul 2024 at 14:33
I understand that you are an experienced user and believe you are ready to utilize the Spacecraft Dynamics block. This block is designed to alleviate the user's burden of researching and modeling the underlying dynamics from scratch. The primary purpose of the Spacecraft Dynamics block is to allow users to simply enter the desired numeric values in the corresponding parameter fields, without the need to manually derive the complex dynamics.
There are numerous books available on Astrodynamics and Spacecraft Dynamics. However, there is no single comprehensive text that is universally considered the "best." Some books may provide the governing equations, but may lack standardized reference tables, such as those detailing Atmospheric density versus Altitude or Magnetic field versus Altitude. This type of supplementary data is often found in dedicated Spacecraft Engineering or Aerospace Engineering Handbooks.
Andrew Sol
Andrew Sol on 19 Jul 2024 at 5:03
Thank you! I think I've collected some information and will look into it.

Sign in to comment.

More Answers (0)

Categories

Find more on Aerospace Applications in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!