Vous êtes sur la page 1sur 5

Journal of Space Technology, Vol 1, No.

1, June 2011

Satellite Attitude and Orbital Dynamics Simulator


Saqib Alam, Muhammad Yasir
GNC Labs, SUPARCO

Abstract— In this paper, the design of the Satellite Attitude Graphics Inc [5]. Cost of these simulation environments is
and Orbital Dynamics Simulator (SAODS) is described in very high and also it is not easy to modify the basic structure
detail, including working principle and control system. The to suit the specific requirements of a satellite mission. Further
development of SAODS is aimed to provide a facility for attitude and orbital control algorithms are mostly developed in
researchers to quickly examine satellite orbit and develop Matlab as Matlab provides lot of built-in features which could
attitude control algorithms. The attitude dynamics has been speed up the whole developmental path. Only few available
modeled in term of quaternion whereas for satellite orbital satellite simulators can be coupled with Matlab to test these
maneuvers, differential equations in inertial frame are used. AOCS algorithms but even then it is not easy to handle them
Different conservative and non-conservative perturbing forces and they increase complexity for the designers. SAODS is
have been considered in the simulation model to simulate the exclusively developed in Matlab environment to provide a
behavior of satellite in actual space environment. Models of readily available test bed to implement and test the AOCS
different actuators and sensors are also the key element of algorithms. The ease to modify makes it suitable for number
SAODS simulator. The simulation models have been of satellite missions including LEO and GEO satellite
implemented in the MATLAB/SIMULINK environment. missions.
Simulation results are compared and presented in comparison
The paper is organized in following manner. Section I briefly
with some commercially available software.
describe the reference frames used in SAODS, which is
followed by the mathematical modeling of orbit motion and
Keywords— Satellite Simulator, Attitude Simulator, Orbit perturbations, Section III discusses the dynamic and kinematic
Simulator, SAODS. modeling of rotational motion with modeled disturbance
torques and sensors while some simulation results, their
1 INTRODUCTION verification and concluding remarks are presented in last three
sections.
Modeling and simulation with increased accuracy have
become an important research topic in the field of Satellite
dynamics and control. Matching the mathematical and
2 REFERENCE FRAMES
simulation models with the real world behavior is highly To demonstrate spacecraft position and attitude several
essential for a satellite mission. Since these missions are so coordinate systems are used, which depends on mission
expensive and are operated far from the user, therefore it is not circumstances, operating conditions and standards. Following
possible to conduct testing in an actual environment. Due to reference coordinate systems are used in SAODS. Earth-
this a very accurate and authentic simulation tool with high Centered Inertial (ECI): ECI is fixed in space with Xi directed
reliability simulating the actual space environment is highly from the center of the Earth to the vernal equinox, Zi is in the
required in this industry. Earth’s orbital angular velocity direction, and Yi completes
Simulation tools are also essential in attitude and orbit control the orthonormal triad to Xi and Zi. Orbital Frame: It’s a non-
design, the available tools are too expensive and sometime inertial frame in orbit rotates with the body; Zo originates from
cannot be used directly because it is not easy to customize center of mass of body to the Earth center of mass (nadir), Yo
these commercial simulators to suit specific needs [1]. These directed reverse to the orbit normal and Xo is perpendicular to
simulation tools are not only useful for the development of Yo and Zo axis. Body Frame: Origin is fixed in the satellite; the
control algorithms but they also provide a testing bed to axes directions are the inputs from satellite engineers because
conduct various kind of testing. These tools also provide a this frame defines how a satellite is oriented with respect to an
simulation environment for the hardware in the loop testing to external frame [6]. Default body axis is defined as Xb is in
test the algorithms including physical hardware that has to be velocity direction, Zb lies in payload (cameras) direction and
used in the real flight. Yb is orthonormal to Xb and Zb.
The prime objective of this paper is to develop a powerful Variations between time frames are normally very small but
satellite simulation tool that can be used as a baseline to space object velocities are extremely high and a minute
develop, implement and analyze the attitude control difference creates large position differences. Hence it is
algorithms for satellite missions. The developed sensor and essential to use different time frames in SAODS, following
actuator models could further simplify and speed the time frames are used in this simulators[7].
development of AOCS algorithms. Further flexible MATLAB 1. Sidereal Time
based structure of this simulator facilitates customized design 2. Solar Time
which could suit a number of satellite missions.
For a spacecraft engineer, numerous satellite simulation 3. Universal Time
packages are currently available in the market like AutoCon 4. Julian Date
developed by NASA [2], SATCOS by SAIC [3], FreeFlyer by
A.I. Solutions [4], and Satellite ToolKit (STK) by Analytical 5. Modified Julian Date

40
Satellite Attitude and Orbital Dynamics Simulator

r = xi2 + yi2 + zi2



Where axi , ayi and azi are the components of perturbing forces
3.1 Perturbations
For getting more accurate results from simulations,
perturbations are included in the model. Perturbations are the
deviations from idealized model. In SAODS following
perturbations are included.
1. J2 gravity model
2. Atmospheric drag
3. Solar radiation pressure
4. Controlled thrust.
3.1.1 Gravity Field of the Central Body
Due to a non-homogenous or non-spherical earth, the orbiting
satellite experience variation in gravitational force, J2
Figure 1 - Earth-Centered Inertial (ECI) Frame perturbation model [9] is used in SAODS.
µ xi § 3 R 2§ zi 2 · ·
agxi = − 3¨ J 2 ( ) ¨1 − 5( ) ¸ ¸
r ©2 r © r ¹¹

µ yi § 3 R 2§ zi 2 · ·
agyi = − 3¨ J 2 ( ) ¨1 − 5( ) ¸ ¸
r ©2 r © r ¹¹

µ zi § 3 R 2§ zi 2 · ·
agzi = − 3¨ J 2 ( ) ¨ 3 − 5( ) ¸ ¸
r ©2 r © r ¹¹
3.1.2 Atmospheric Drag
The effect of drag is more prominent in low earth orbit. Drag
perturbation reduces the kinetic energy of the satellite which
in turn decreases the altitude [10]. A simple model of drag is
used in SAODS.
Figure 2 - Orbit Frames aDxi = − σρ va (vxi + yiωe )
a Dyi = − σρ va (v yi − xiωe )
aDzi = − σρ va (vzi )
3 ORBIT MODEL
C S
J. Kepler [6] gave basic laws to explain the trajectory of σ= D
satellite object in unperturbed planetary gravitational field. 2m
Kepler orbit is not absolutely accurate and the Kepler va = v − ωe × r
equations do not gives the exact behavior of the space vehicle 2 2 2
[8]. Orbit calculations have been done by using two body va = v axi + v ayi + vazi
force equation in inertial coordinate system [9]. The Where, CD is the computed drag coefficient,  is the ballistic
dynamical and kinematical equations are. coefficient and S is the cross sectional area of the satellite.
§ dvxi dt · § − µ xi r · § axi ·
3

¨ ¸ ¨ 3¸ ¨ ¸ 3.1.3 Solar-Radiation Pressure


¨ dv yi dt ¸ = ¨ − µ yi r ¸ + ¨ a yi ¸ It’s a non- conservative perturbation caused by the impact of
¨ dv dt ¸ ¨ − µ z r 3 ¸ ¨ a ¸ photon on absorbing or reflecting surface [9]. It is very small
© zi ¹ © i ¹ © zi ¹ force and mainly depends on solar-radiation pressure psr.
§ dxi dt · § vxi · asrxi = − psr kS cos σ sr cos Λ
¨ ¸ ¨ ¸
¨ dyi dt ¸ = ¨ v yi ¸ a sryi = − psr kS cos σ sr cos ε sin Λ
¨ dz dt ¸ ¨ v ¸ asrzi = − psr kS cos σ sr sin ε sin Λ
© i ¹ © zi ¹ 

41
Satellite Attitude and Orbital Dynamics Simulator

Where, sr is the angle between solar ray and normal to If the cross-section is not distributed evenly then Satellite
surface, k is the reflectivity whose value is 0.0 indicates for experience a moment from aerodynamic forces, this
translucent, 1.0 for completely absorbing body and 2.0 for an environmental disturbance moment is dominant below 400 km
absorbing and reflecting body. [8].
M d = Fd (CP − CM ) 
3.1.4 Controlled Thrust
Due to perturbations in orbit, the satellite changes its orbit Where, CP is the aerodynamic center, CM is the center of
parameters. These parameters are controlled artificially by use mass and Fd is the drag force on the spacecraft.
of propulsive force generated by onboard thrusters. This orbit
maneuver may be impulsive or continuous. 2. Magnetic Dipole
 sp
Pb = mgI Spacecraft normally contain several magnetic materials and
electronic wirings, which produce magnetic fields when they
Pb carry electric current this magnetic field interact with earth
ab =
m magnetic field and produce a disturbance dipole moment.
ai = Tib ab  Mm =m× B 
3.2 Equation of Rotational Motion Where m is magnetic dipole from different sources in satellite
Rotational dynamics are time variant attitude due to force and and B is magnetic flux density of earth [8].
torque with respect to another frame. Rotational motion has
been simulated by using following equations with the 3. Gravity Gradient Torque
assumption of rigid body and zero products of inertia [6]. This moment has much importance when passive attitude
control is used. Gravity gradient is caused by asymmetry of
§ ·
§ dωx dt · ¨ ( ( I y − I z )ω yωz + ¦ M x ) I x ¸ the body; least inertia axis tends to align with the earth gravity
¨ ¸ ¨ ¸
field direction. It is dominant in low-orbit satellites [6].
¨ dω y dt ¸ = ¨ ( ( I z − I x )ωzωx + ¦ M y ) I y ¸ 3µ
( I z − I y ) sin(2φ ) cos 2 (θ )
¨ dω dt ¸ M Gx =
© z ¹ ¨ ( ( I x − I y )ωxω y + ¦ M z ) I z ¸
3
2r
© ¹ 3µ
Where, M is the disturbance torque and  is the satellite M Gy = 3 ( I z − I x ) sin(2θ ) cos 2 (φ ) 
angular velocity about satellite body axis. In the simulation 2r
model, the quaternion technique is used to define kinematics 3µ
of rotational motion. Convenient product rule for consecutive M Gz = ( I x − I y ) sin(2θ ) sin(φ )
rotations without gimbal lock is the main advantage of 2r 3
quaternion [8]. 4. Control Torque
ª dq0 / dt º ª0 −ω x −ω y −ω z º ª q0 º
«ω For satellite attitude control, an artificial disturbance torque is
« dq / dt » 0 ωz −ω y »» «q »
« 1 »=1« x « 1» produced by different means. Three attitude control actuation
« dq2 / dt » 2 «ω y −ω z 0 ωx » « q2 » mechanisms are used in SAODS.
« » « » « » 1. Thruster
¬ dq3 / dt ¼ ¬«ω z ωy −ω x 0 ¼» ¬ q3 ¼ 2. Reaction Wheels
The elements of body to inertial transformation matrix are
3. Magneto-torquer
obtained as
ªq02 + q12 − q22 − q32 2(q1q2 + q0q3 ) 2(q3q1 − q0q2 ) º Thrusters are modeled by the following equations
« » M t = r × Ft
Lib = « 2(q1q2 − q0q3 ) q02 − q12 + q22 − q32 2(q2q3 + q0q1) »
«¬ 2(q3q1 + q0q2 ) 2(q2q3 − q0q1 ) q02 − q12 − q22 + q32 »¼ Where, Ft is the thrust force produce by a thruster and r is
the distance between thruster and center of mass. The
momentum wheel spins to transfer angular momentum to the
whole system and provide momentum bias continuous and
3.3 Disturbance Torques smooth attitude control mechanism. It also provides inertial
Satellite in real situation experiences many disturbance stabilization to the three-axis stabilized spacecraft about one
torques which may be environmental or artificial [9], of its axes. Three and four wheel based configurations are
following disturbance moment are included in SAODS. modeled in SAODS. Magnetic torquers are used widely in the
1. Aerodynamic Torque attitude control of satellite [6]. Their objective is to produce
2. Magnetic Dipole magnetic dipole moments for different applications like
attitude maneuver, active damping in gravity gradient
3. Gravity-gradient Torque stabilization and magnetic unloading of momentum exchange
4. Control Torque devices. The moment generation method by magnetic torquer
is similar as discussed in magnetic dipole section.
1. Aerodynamic Torque
42
Satellite Attitude and Orbital Dynamics Simulator

Following sensors are modeled in SAODS.


8
1. Coarse Earth Sensor Vxi

2. Coarse Sun Sensor 6 Vyi


Vzi
3. Star tracker 4

4. Magnetometer

ECI Velocity (km/s)


2

5. Gyro
0
6. GPS
-2

4 SIMULATION -4

Simulation results are presented for a Low Earth Orbit (LEO) -6


with semi major axis of 12000 km, eccentricity of 0.4 and 90°
inclination angle. The satellite with mass of 100 kg and the -8
0 5 10 15 20 25
moments of inertia are Ix=4.5 kg.m2, Iy=4.5 kg.m2 and Iz=4.5 Time (days)
kg.m2. Three reaction wheels are used for three axis
stabilization, orbit epoch date is 1 Jan 2010 and universal time Figure 4 - ECI Velocity
is 12:00:00.

5 VERIFICATION
A verification process is performed to ensure the client the
authenticity and accuracy of results from the SAODS.
Verification examines that the output of the SAODS
simulations are equivalent to accepted and verified software
package like STK and FreeFlyer. It guarantees that the results
are accurate and reliable. STK is selected as the baseline
satellite simulation software package to evaluate SAODS
4
x 10
1.5
Xi
Yi
1 Zi
Figure 5 - Ground Traks
ECI Position (km)

0.5
1

0.9
0
0.8

0.7
-0.5
0.6
Eclipse Flag

0.5
-1
0 5 10 15 20 25 0.4
Time (days)
0.3

Figure 3 - ECI Position 0.2

0.1

0
0 5 10 15 20 25
Time (days)

Figure 6 - Eclipse Flag (umbra)

43
Satellite Attitude and Orbital Dynamics Simulator

4
x 10
4
CONCLUSION
The satellite attitude and orbit dynamics simulator model with
2
its accessories is developed and presented. The SAODS
0 provides a platform to develop, implement and test attitude
and orbit control algorithms. Verification with a commercially
Sun Position Inertial (km)

-2
available software package illustrates the accuracy of the
-4 implemented mathematical equations. The simulator model is
implemented in the MATLAB/SIMULINK environment
-6
which provides flexibility to modify to suit various kinds of
-8 satellite missions. This simulator could further be used for the
hardware in the loop simulations by including real hardware in
-10
the loop.
-12

-14 REFERENCES
0 5 10 15 20 25
Time (days)

Figure 7 - Sun Position in ECI Frame


[1] Andrew J. Turner, “An Open-Source, Extensible
Spacecraft Simulation And Modeling Environment
x 10
4
Framework” Thesis Virginia Polytechnic Institute and
1
State University, September 13, 2003
0.5
[2] F. Bauer, J. Bristow, D. Folta, K. Hartman, D. Quinn, and
J. How, “Satellite Formation Flying Using an Innovative
Autonomous Control System (AUTOCON)
Earth Magnetic Field Intensity (nT)

0
Environment,” in Proceedings of the AIAA/AAS
Astrodynamics Specialist Conference, AIAA 97-3821,
-0.5 August 1997.
[3] http://www.saic.com/cover-archive/space/satcos.html
-1
[4] A.I. Solutions, “FreeFlyer User’s Guide”, v4.0. 10001
-1.5
Derekwood Lane, Suite 215, Lanham, MD 20706, March
1999.
-2 [5] J.Woodburn, K.Williams, and H. DeWitt, “The
Customization of Satellite Tool Kit For Use On The
-2.5
NEAR Mission,” in Proceedings of the 1997 Space Flight
Mechanics Conference, (Huntsville, AL), AAS 97-176,
American Astronautical Society (AAS), February 9-12
-3
0 5 10 15 20 25 1997.
Time (days) [6] Sidi, M.J. 1997. “Spacecraft Dynamics & Control – A
Practical Engineering Approach” Cambridge University
Figure 8 - Earth Magnetic Field Intensity in ECF Frame Press. 409 p. ISBN 0-521-78780-7
[7] D. A. Vallado, Fundamentals of Astrodynamics and
. Applications. New York, NY: McGraw-Hill, 1997
[8] Wertz, J.R. 1978. “Spacecraft Attitude Determination and
TABLE 1 - PERFORMANCE COMPARISON (SIMULATION TIME Control” D. Reidel Publishing Company, Dordecht,
= 24 HRS) Holland.858 p. ISBN 90-277-0959-9
[9] Xiao Ye Lun. Spacecraft Dynamics [M]. Beijing
Parameters SAODS STK FreeFlyer University of Aeronautics & Astronautics, 2005
[10] R. R. Bate, D. D. Mueller, and J. E. White, Fundamentals
Xi (km) 813.29734 813.292899 813.29198 of Astrodynamics. New York, NY: Dover Publications
Inc., 1971
Yi (km) 9186.36187 9186.35002 9186.3504
Zi (km) 13406.4991 13406.4781 13406.477
Vxi (km/s) -3.3286960 -3.328702 -3.328702
Vyi (km/s) 1.370732 1.370722 1.3707218
Vzi (km/s) -1.678007 -1.678029 -1.678029

44

Vous aimerez peut-être aussi