Description

The Magnetic Field Centered Dipole model is a generic magnetic field model that can be parameterized to be centered about any object with an aligned vector. The centered dipole model is a first-order result of the more complex spherical harmonic modelling of the planet’s magnetic field. The model can be used to provide magnetic field estimates of the spacecraft orbiting the Earth or any other body configured with a magnetic field. By adjusting the parameters, the magnetic field can be added to another planet.


Example Use Cases

  • Simulate magnetorquers for desaturation of reaction wheels.
  • Determine the magnetic field vector at unique locations in the orbit.
  • Using a magnetometer for attitude control across a low-Earth orbit.

Module Implementation

The spacecraft’s location relative to the planet frame is required. Let be the spacecraft position vector relative to the planet centre. In the simulation, the spacecraft location is given relative to an inertial frame origin . The planet-centric position vector is computed using

If no planet ephemeris message is specified, then the planet position vector is set to zero. Let [] be the direction cosine matrix that relates the rotating planet-fixed frame relative to an inertial frame . The simulation provides the spacecraft position vector in inertial frame components. The planet-centric position vector is then written in Earth-fixed frame components using

The centrered dipole model is a first-order result of the more complex spherical harmonic modelling of the planet’s magnetic field. There are several solutions that provide an answer in the local North-Earth-Down or NED frame, or in the local spherical coordinates. Let m be the magnetic dipole vector which is then defined as

with the dipole vector being defined in Earth fixed frame coordinates as

The magnetic field vector B is expressed at the spacecraft location as

where

The above vector equation is evaluated in E-frame components, while the output is mapped into -frame components by returning


Assumptions / Limitations

  • The field, unless specified, will assume to exist everywhere in space with some value
  • All spacecraft within the simulation will be affected by all fields that have been added.

References

[1] Hanspeter Schaub and John L. Junkins. Analytical Mechanics of Space Systems. AIAA Education Series, Reston, VA, 4th edition, 2018. [2] F. Landis Markley and John L. Crassidis. Fundamentals of Spacecraft Attitude Determination and Control. Springer, New York, 2014. [3] Michael D. Grifin and James R. French. Space Vehicle Design. AIAA Education Series, Reston, VA, 2005.