Simulation of Spacecraft Attitude and Orbit Dynamics
Simulation of Spacecraft Attitude and Orbit Dynamics
Simulation of Spacecraft Attitude and Orbit Dynamics
INTRODUCTION
During the last decades modeling, simulation, and wider
computational science and engineering have become
more and more important tools in the research and
development projects. The design phase has to be
reduced in time and cost when the use of new ideas and
tools becomes possible. This is also the trend in space
application in which the real tests are not possible or at
least they are expensive. New demands on the aerospace
and control engineering have become up and they have
Figures 1. Spacecraft simulation model structure.
to be able to answer to requirements.
Coordinate Systems
Spacecraft simulators or simulators in general, are
software tools that can be used by researchers, Three different coordinate systems are defined in the
engineers, students or everybody to analyze and assess simulator:
system operations, behaviors, and to answer to the 1. Inertial Coordinate System (ICS),
questions regarding phenomenon or product. The 2. Orbit Coordinate System (OCS), and
simulations are essential tools in the mission and 3. Body Coordinate System (BCS).
spacecraft control design. For example, the scientific
missions are unique and the instrumentation of a The inertial coordinate system is usually defined such
spacecraft is designed only for this specific mission. that the center of mass of the Earth (cm) acts as origin
There are not any ready-to-use platforms that can be and the direction of the axes are fixed to the solar
used. Hence, it is not possible to verify the operation of system. This kind of coordinate system is not exactly
control algorithms and strategies in real process but the inertial but it is enough for all engineering purposes
simulation environments can be used. (Sidi 1997). The Z-axis of the ICS is the rotation axis of
the Earth in a positive direction and the X-Y plane is the
There are plenty of companies that offer their simulation equatorial plane of the Earth, which is perpendicular to
services to the research institutes and space companies. the Earth’s rotation axis. The vernal equinox vector ϒ is
selected to be the X-axis of the ICS. Finally, the Y-axis
q = q4 + q1i + q2 j + q3k µ
(1) r+
r=0 (4)
r3
i 2 = j2 = k 2 = ijk = −1 In general, if a particle P moves in a force field F, the
ij = − ji = k momentum of the force F about origin O is
(2)
jk = −kj = i
M=r×F
ki = −ik = j
where r is the position vector of the particle P. The
When the Euler axis e of the rotation is known the angular momentum about origin is
connection between quaternion and the rotation Euler
axis is h=m(r×v)= r×p
The main sources of the environmental torques are dTi = ri × dfi = ( ȡ + r 'i ) × dfi
represented in the Table 3.
Table 3. The main environmental torques (Wertz 1978). where ρ is the vector from the geometric center to the
Source Dependence Dominant cm and ri’ from cm to the mass element dmi. Assuming
that the cm and the geometric center of the s/c lie in the
Aerodynamic e-αr below ~ 500 km
Magnetic 1/r3 ~ 500 - 35 000 km
same point the gravity-gradient is
Gravity Gradient 1/r3 ~ 500 - 35 000 km
Solar Radiation Independent Interplanetary space 3µ ˆ ˆ º
Tgg = ªR s × I s R
Rs3 ¬
above synchronous s¼
altitude
Micrometeorites independent Normally negligible
where Rˆ s is a unit vector along R s and Is is the
The aerodynamic drag is one of the main environmental spacecraft inertial matrix. (Wertz 1978)
torques for the spacecraft in low orbit. The aerodynamic
drag model has been explained extensively, for A SIMULATION CASE
example, in the book (Wertz 1978). In this section, some simulation results obtained by the
above-described simulation model are presented. The
The force dfa on the surface elements dA is given by simulation case is simple and fancied.
equation (14) where N̂ is a outward normal of the
surface element dA, V̂ a unit vector of the translational The orbit of the simulation case is circular with an
velocity, ρ is the air density and CD is the drag altitude of 450 km and inclination 87°. The moments of
coefficient of the surface. In real terms, the drag inertia of the satellite are Ixx=36, Iyy=17, Izz=26, and Ixy=
coefficient CD is a function of the surface structure and Ixy= Ixz = Iyz =0 kgm2. The aim is that the attitude control
the local angle of attachment and its value is usually system shall ensure a three-axis stabilization of the
between 1 and 2. For all practical applications, the value satellite. The satellite attitude is measured by GPS
CD=2 can be used. (Wertz 1978) sensor and only three reaction wheels are used in the
control. The reaction wheels are mounted orthogonally
such that the rotation axes are along X, Y and Z-axis of
1
df aero = − CD ρV0 2 N
2
(
ˆ ⋅V
ˆ V
ˆ dA ) (14) the satellite body. Three PID-controllers are used to
calculate the control torques. The simulation results
In the simulation model, the satellite structure has been have been represented in Figures 4-8.
approximated by a collection of simple geometrical 5
Roll angle, [deg]
spacecraft. -5
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
5
Yaw angle, [deg]
Taero = ¦ ri × fi
i 0
=
1
2
CD ρV0 2 ¦ Ai N
i
(
ˆ ⋅V
i
ˆ V
ˆ ×r)
i
-5
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
5
Pitch angle, [deg]
0 q3
-1 0.4 q4
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
-3
0.2
x 10
1
0
qi
0
ωy
-1
-2 -0.2
-3
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 -0.4
-3
x 10
-0.6
5
0
ωz
-5 -0.8
-10
-15 0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 Time, [s]
Time, [s]
Figures 8. The attitude quaternions.
Figures 5. The satellite angular rates.
6
x 10 REFERENCES
6.97
6.96
Naasz, B.J. 2002. “Classical Element Feedback Control for
a
0.1
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
Spacecraft Orbit Maneuvers” Thesis, Master of Science.
Virginian Polytechnic Institute and State University,
e
0.0998
2.5664
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
Aerospace Engineering. 90 p.
2.5664
Sidi, M.J. 1997. “Spacecraft Dynamics & Control – A
i
2.5664
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 Practical Engineering Approach” Cambridge University
4
3.8
3.6 Press. 409 p. ISBN 0-521-78780-7
Ω
3.4
3.2
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 We, B. Roithmayr, C.M. 2001. “Integrated Orbit, Attitude,
3.142
3.14 and Structural Control Systems Design for Space Solar
ω
3.138
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 Power Satellites” NASA/TM-2001-210854. [10.3.2005]
2
0
http://techreports.larc.nasa.gov/ltrs/PDF/2001/tm/NASA-
M
-2 2001-tm210854.pdf
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
Time, [s] Wertz, J.R. 1978. “Spacecraft Attitude Determination and
Figures 6. The classical orbital elements in simulation. Control” D. Reidel Publishing Company, Dordecht,
Holland.858 p. ISBN 90-277-0959-9
CONCLUSION Wis´niewski, R. 1996. “Satellite Attitude Control Using Only
Electromagnetic Actuation” Ph. D. Thesis. Denmark,
The satellite attitude and orbit simulation model with Aalborg University, Department of Control Engineering.
the most common actuators and sensors have been 175 p.
introduced in this paper. The simulation model can be
utilized both in the control algorithm designs and in the AUTHOR BIBLIOGRAPHIES
development of FDIR methods.
PASI RIIHIMÄKI was born in Ähtäri,
The simulation models have been implemented in the Finland and went to Helsinki
MATLAB/SIMULINK environment. University of Technology, where he
received a master’s degree in
30 automation and system science.
20 Nowadays, he is a postgraduate student
10 in the Control Engineering Laboratory in Helsinki
0 University of Technology.
-10
-20
JEAN-PETER YLÉN was born in
ωw
-30
Helsinki, Finland and went to Helsinki
-40
University of Technology, where he
received a master’s degree in chemical
-50
ω1
engineering and a doctor’s degree in
-60 ω2
automation and system science.
-70 ω3
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
Time, [s]