Aalborg Universitet Linear Time Varying Approach to ...

17
Aalborg Universitet Linear Time Varying Approach to Satellite Attitude Control Using only Electromagnetic Actuation Wisniewski, Rafal Publication date: 1997 Document Version Også kaldet Forlagets PDF Link to publication from Aalborg University Citation for published version (APA): Wisniewski, R. (1997). Linear Time Varying Approach to Satellite Attitude Control Using only Electromagnetic Actuation. General rights Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. - Users may download and print one copy of any publication from the public portal for the purpose of private study or research. - You may not further distribute the material or use it for any profit-making activity or commercial gain - You may freely distribute the URL identifying the publication in the public portal - Take down policy If you believe that this document breaches copyright please contact us at [email protected] providing details, and we will remove access to the work immediately and investigate your claim. Downloaded from vbn.aau.dk on: February 25, 2022

Transcript of Aalborg Universitet Linear Time Varying Approach to ...

Aalborg Universitet

Linear Time Varying Approach to Satellite Attitude Control Using only ElectromagneticActuation

Wisniewski, Rafal

Publication date:1997

Document VersionOgså kaldet Forlagets PDF

Link to publication from Aalborg University

Citation for published version (APA):Wisniewski, R. (1997). Linear Time Varying Approach to Satellite Attitude Control Using only ElectromagneticActuation.

General rightsCopyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright ownersand it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights.

- Users may download and print one copy of any publication from the public portal for the purpose of private study or research. - You may not further distribute the material or use it for any profit-making activity or commercial gain - You may freely distribute the URL identifying the publication in the public portal -

Take down policyIf you believe that this document breaches copyright please contact us at [email protected] providing details, and we will remove access tothe work immediately and investigate your claim.

Downloaded from vbn.aau.dk on: February 25, 2022

LINEAR TIME VARYING APPROACH TO SATELLITE ATTITUDE CONTROL USINGONLY ELECTROMAGNETIC ACTUATION

Rafał Wisniewski

Aalborg University, Department of Control Engineering,Bajers Vej 7, DK-9220 Aalborg Ø, Denmark. [email protected]

Abstract

Recently small satellite missions have gained considerable interest due to low-cost launch op-portunities and technological improvement of micro-electronics. Required pointing accuracy ofsmall, inexpensive satellites is often relatively loose, within a couple of degrees. Application ofcheap, lightweight, and power efficient actuators is therefore crucial and viable. This paper dis-cusses linear attitude control strategies for a low earth orbit satellite actuated by a set of mutuallyperpendicular electromagnetic coils. The principle is to use the interaction between the Earth’smagnetic field and the magnetic field generated by the coils. A key challenge is the fact thatthe mechanical torque can only be produced in a plane perpendicular to the local geomagneticfield vector, therefore the satellite is not controllable when considered at fixed time. Availabilityof design methods for time varying systems is limited, nevertheless, a solution of the Riccatiequation gives an excellent frame for investigations provided in this paper. An observation thatthe geomagnetic field changes approximately periodically when a satellite is on a near polarorbit is used throughout this paper. Three types of attitude controllers are proposed: an infinitehorizon, a finite horizon, and a constant gain controller. Their performance is evaluated andcompared in the simulation study of the realistic environment.

Introduction

The work is motivated by the Ørsted satellite mission. The Ørsted satellite is a 60 kg auxiliarypayload scheduled to be launched by a MD-Delta II launch vehicle in the late 1997 into a 450x 850 km orbit with a 96 degree inclination. The purpose of the Ørsted satellite is to conduct aresearch program in the discipline of the magnetic field of the Earth. When the satellite is firmlystabilized and the ground contact is established, an

���long gravity gradient boom is deployed.

The boom carries the scientific instruments that must be displaced from the electro-magneticdisturbances present in the main body of the satellite.

Stabilization of the Ørsted satellite is accomplished by active use of a set of mutually perpendic-ular coils called magnetorquers. The interaction between external magnetic field of the Earthand the magnetic field generated in the magnetorquers produces a mechanical torque, whichis used to correct the attitude. Magnetic control systems are relatively lightweight, require lowpower and are inexpensive, however they can only be applied for the satellites on relatively highinclined orbits. The Ørsted’s coils are mounted in the x, y, and z facets of the main body. Amaximum producible magnetic moment is 20 ����� . The maximum mechanical torque producedby the magnetorquers is approximately ���� ��������� � above the equator, and ����� ��������� �above the Poles.

After boom deployment the nominal operation phase controller is activated. The satellite shall

1

be three axis stabilized with its boom pointing outwards. Formally, a coordinate system fixedin the satellite structure shall coincide with a reference coordinate system fixed in orbit. Thepointing accuracy is required to be within 10 degrees in pitch, roll, and 20 degrees in yaw.

There is extensive literature covering satellite attitude control design. Most of the algorithmsassume application of reaction wheels and/or thrusters for three axis stabilization, though. Atti-tude control with sole use of magnetorquers has the significant challenge that the system is onlycontrollable in two axes at any time with the axes being perpendicular to the local geomagneticfield vector.

The number of internationally published papers on magnetic attitude control is still rather small.Most of them deal with momentum desaturation of reaction wheel systems. The available lit-erature on magnetorquing for three axis stabilization of satellites includes Ref.1, where a con-figuration with two magnetic coils and a reaction wheel were analyzed. The problem of threeaxis control using only electromagnetic coils was addressed in Ref.2, where the linearized timevarying satellite motion model was approximated by a linear time invariant counterpart. An-other linear approach was given in Ref.3. The desired control torque was defined first and thenthe actual magnetic generated control torque was derived. Three-axis stabilization with use ofmagnetic torquing of a satellite without appendages was treated in Ref.4, where sliding controllaw stabilizing a tumbling satellite was proposed. An approach for three-axis magnetic sta-bilization of a low earth near polar orbit satellite based on Lyapunov theory was presented inRef.5. Last but not least, a rule-based fuzzy controller was presented in Ref.6

The first part of this study addresses linearization technique for a LEO satellite motion. Itis shown that a satellite on a near polar orbit actuated by a set of perpendicular magnetorquersmay be considered as a periodic system. In the subsequent sections three types of controllers aredesign: an infinite horizon, a finite horizon, and a constant gain controller. Their performanceis evaluated in the simulation study of the realistic environment.

Satellite Linear Model

The satellite considered in this study is modeled as a rigid body in the Earth gravitational fieldinfluenced by the aerodynamic drag torque and the control torque generated by the magnetor-quers. The attitude is parameterized by the unit quaternion providing a singularity free repre-sentation of the kinematics. The details about mathematical modeling of a LEO satellite can befound in Ref.7. In this article only a satellite linear model will be investigated.

It has been already mentioned that the control torque, �����! #" , of the magnetic actuated satellitealways lies perpendicular to the geomagnetic field vector, $ , furthermore a magnetic moment,% , generated in the direction parallel to the local geomagnetic field has no influence on thesatellite motion. This can be explained by the following equality�&���! #"('*) %,+.-,%0/2143 $5' %0/63 $87 (1)

where %,+ is the component of the magnetic moment, % , parallel to $ , whereas %9/ is perpen-dicular to the local geomagnetic field.

Concluding, the necessary condition for power optimality of a control law is that the magneticmoment lies on a 2-dimensional manifold perpendicular to the geomagnetic field vector.

Consider the following mapping :%<;= % >?% ' :% 3 $@ $ @ 7 (2)

2

where:% represents a new control signal for the satellite. Now, the magnetic moment, % , is

exactly perpendicular to the local geomagnetic field vector and the control theory for a systemwith unconstrained input

:% can be applied. The direction of the signal vector:% (contrary to% ) can be chosen arbitrary by the controller. From practical point of view, the mapping (2)

selects the component of:% which is perpendicular to the local geomagnetic field vector.

The linear model of the satellite motion is given in terms of the angular velocity and the firstthree components of the attitude quaternion. Linearization of the angular velocity is common-place and based on the first order extension of the Taylor series. Linearization of the attitudequaternion is quite different due to the multiplicative transformation is needed to describe suc-cessive rotations. Consider two rotations, the first one from an orbit fixed coordinate system(OCS) to a reference coordinate system (RCS) A , the second from RCS to a satellite fixed coor-dinate system (SCS) BCED 'GFCED�BF D 7 (3)

whereBF D , FC D ,

BC Dmean the quaternion mapping from RCS to SCS, the quaternion OCS to

RCS, and the quaternion transforming OCS to SCS, respectively.BF D can be considered as a

small perturbation from the reference HI�J���K�MLON . According to Ref.8BF D 'PQQQQR SUTWV�XZY\[^]�S � V�XZY\[^]�S � V�XZY\[^]�_M`UV�[^]�

acbbbbd 7 (4)

thus for small e BF DgfPQQQR hji Thji �hji ��

acbbbdgk l h D�nm (5)

As the result, the linearized equation of motion isoo�p l hrqh D m 'ts l hrqh D m -,u ) p 1 � :% 7 (6)

where

sv'PQQQQQQQQR� � � w��jxzy|{�} � �� � x~yW{�� � ��x~yW{�� �� x~y|{(� � � � �T� � � � � �� T� � � � xzy� � T� � w�x~y �

acbbbbbbbbd 7{�}J'n� ��w � �� } 7z{���'n� �8w � }� � 7z{(��'n� }�w � �� � 7

u 'PQQQQQQQQR�^�r������ PQR w����� w����� ��}j��� ��}������}���� w����} w����� ���������}���� ������� w�� �} w�� ��

acbdPQR � � �� � �� � �a bd

acbbbbbbbbd 7�This transformation is used for the yaw reference

3

Bx

By

Bz

0 5 10 15−6

−4

−2

0

2

4

6x 10

−5

Orbits

Geomagnetic field [T]

Figure 1: The geomagnetic field vector in RCS propagated by a 10th order spherical harmonicmodel during 24 h in May 1997.

where xzy is the orbital rate, and � }�7 � ��7 � � are components on the diagonal of the inertia tensor�(the principal moments of inertia). The matrix u ) p 1 comes from the double cross product

operation w�$\) p 1�3 )�$4) p 1U3�1 .Based on the mathematical model provided in this section linear attitude control concepts willbe developed. Three controllers will be proposed: an infinite horizon, a finite horizon, and aconstant gain controller.

INFINITE HORIZON PERIODIC CONTROLLER

The geomagnetic field is essentially that of a magnetic dipole with the largest anomalies overBrazil and Siberia. The geomagnetic field in RCS, has large y and z components, while the xcomponent is comparatively small. The rotation of the Earth is visible via fluctuations of thegeomagnetic field vector’s x component with the frequency �����U������� `����rV , see Figure 1. Thefollowing observation is used for the design of an attitude controller: the geomagnetic field ona near polar orbit is approximately periodic with a period ��'������jx8  .Due to periodic nature of the geomagnetic field, seen from RCS, the linearized model of thesatellite can be considered as periodic. It is though necessary to find an ideally periodic coun-terpart of the real magnetic field of the Earth. This is done by averaging the geomagnetic fieldover a time interval corresponding to a common period for the satellite revolution about theEarth and the Earth’s own rotation. This interval for the Ørsted satellite conforms to �¡'¢�����orbits.

Furthermore, the geomagnetic field is parameterized by the mean anomaly £ , since the geo-magnetic field and the mean anomaly have the common period �$�¤¦¥W§�)^£ 1 ' �� ¨©ª¬« T $\)^£ - X2­ � 1 (7)

An averaged B-field vector $®¤¦¥¯§j)^£°) p 1|1 is depicted in Figure 2.

4

Bx

By

Bz

0 5 10 15−6

−4

−2

0

2

4

6x 10

−5

Orbits

Averaged geomagnetic field [T]

Figure 2: An averaged B-field vector in RCS. Compare with the realistic magnetic field of theEarth in Figure 1 .

The resultant linear periodic system isoo�p l hUqh D m '±s l hUqh D m -¡²u )^£ 1 :% 7 (8)

where ²u )^£ 1 is given in Eq. (8) after substituting the symbol u ) p 1 for ²u )Z£ 1 , and the compo-nents of the vector $\) p 1 for the components of $³¤¦¥W§�)^£ 1 .The difference between the time varying matrix u ) p 1 and the ideal periodic counterpart ²u )^£°) p 1|1used for the controller design is considered an additional external disturbance torque acting onthe satellite.

The controller gain is calculated from the steady state solution of the Riccati equation. Accord-ing to Theorem 6.3 in Ref.9, if the pair )Zs´7 ²u )^£ 1W1 is stabilizable then there exists a stabilizingsymmetric periodic solution µ·¶³) p 1 of the Riccati equationwt¸µ�¶³) p 1 ' µ�¶³) p 1 s - s N µ�¶³) p 1 (9)w µ�¶³) p 1.²u )^£ 1E²u N )^£ 1 µK¶®) p 1E-�¹ 7where ¹ is a positive definite matrix. The periodic solution of the Riccati equation, µ�¶®) p 1 iscomputed from the periodic extension of the steady state solution µ»º·) p 1²µ�) p 1 'n¼ µ�º½) p 1 if �½¾ p4¿ �À

otherwise(10)

µ�¶³) p 1 ' º©Á «   ²µ�) p wÃÂÄ� 1 (11)

The solution µ�º·) p 1 is calculated using backward integration of the Riccati equation for anarbitrary positive definite final condition. This solution converges to the periodic solution. Thematrix function µ�º·) p 1 corresponding to one orbital passage is stored in the computer memory,and then used for the subsequent orbits.

5

0 0.5 1 1.5 2 2.5 3 3.5 4 4.51.35

1.4

1.45

1.5

1.55

1.6

1.65

1.7x 10

9

Orbits

P_p

lus

(1,1

) [A

m^2

s/T

/rad

]

Figure 3: The time history of the (1,1) component of µ½¶ . Notice that µ�¶ has a period equivalentto the orbit period.

An example of the periodic matrix function µ½¶³) p 1 is illustrated in Figure 3. µ·¶³) p   1 at fixedtime

p   is a 6 x 6 positive definite matrix. The figure depicts the time history of Å�¶®)¯�r7�� 1 , whichis typical for the diagonal components. Off-diagonal components change their amplitudes be-tween positive and negative values.

Again, the mean anomaly £ can be used for parameterization of µÆ¶³)Z£ 1 , since both µK¶®) p 1 and£°) p 1 are T-periodic. Furthermore, the controller gain matrix is also T-periodic and parameter-ized with respect to M Ç ¶®)^£ 1 'Èw u )^£ 1 µK¶®)^£ 1 (12)

Implementation

The mean anomaly dependent control gain matrixÇ ¶®)^£ 1 is computed off-line and stored in

the computer memory. The control signal � :% ) p 1 is then calculated according to:% ) p 1 ' Ç ¶³)Z£ 1 l q B F ) p 1D ) p 1 m 7 (13)

wehereq B F is the angular velocity of the satellite relative to RCS,

D ) p 1 is the vector part of theBF D ) p 1 . Finally, the magnetic moment, % ) p 1 is obtained by% ) p 1 ' :% ) p 143 $4) p 1@ $\) p 1 @ (14)

Another option is to representÇ ¶³)^£ 1 in terms of the Fourier coefficients, benefiting in a reduc-

tion of the data stored. A satisfactory approximation of the gain matrixÇ ¶ has been obtained

with 16th order Fourier series, see Figure 4. The required capacity of computer memory givenin floating point numbers isÉ9Ê�˽ÌÎÍÎÏ?ÐtÑ�Ò�Ó Ì §Z"�§ÕÔ~ÖM�Ø× ª ÖÚÙ³Û ÒzÜ Í�ÝrÊ�ÍßÞ y^à� ª §Z á×Õ§Z ª §^×â.ã ËJäæåèç�é�ê\ë^ç�ËÆÊ ì

6

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 11500

2000

2500

3000

3500

Orbit

Fourier series approximation of the (1,1) component of the gain matrix [Am^2 s/rad]

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1−40

−20

0

20

40

60

Orbit

Approximation error [Am^2 s/rad]

Figure 4: An approximation of the (1,1) component of the gain matrixÇ ¶ by 16th order Fourier

series. The discrepancy betweenÇ ¶ and its Fourier approximation reaches 1.5 per cents at

most.

q1

q2

q3

0 1 2 3 4 5 6 7 8−0.3

−0.2

−0.1

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

Orbits

Figure 5: Performance of the infinite horizon controller for a satellite modeled as a linear object.The simulation is carried out for “ideally periodic” geomagnetic field. The initial attitude is��� o SÎí pitch, w���� o SÎí roll and

� � o SÎí yaw.

7

q1

q2

q3

q40 1 2 3 4 5 6 7 8

−1

−0.5

0

0.5

1

Orbits

6 7 8−0.2

−0.1

0

0.1

0.2

0.3

Orbits

pitch [deg]

6 7 8−1.5

−1

−0.5

0

0.5

1

Orbits

roll [deg]

6 7 8−1

−0.5

0

0.5

1

Orbits

yaw [deg]

Figure 6: Performance of the infinite horizon controller for the Ørsted satellite on a circularorbit. The initial attitude is the same as in Figure 5. The steady state attitude error is below� o SÎí .

q1

q2

q3

q40 1 2 3 4 5 6 7 8

−1

−0.5

0

0.5

1

Orbits

6 7 8−2

−1

0

1

2

3

Orbits

pitch [deg]

6 7 8−1

−0.5

0

0.5

1

Orbits

roll [deg]

6 7 8−6

−4

−2

0

2

4

6

Orbits

yaw [deg]

Figure 7: Performance of the infinite horizon controller for the Ørsted satellite on its elliptic or-bit. The initial attitude is the same as in Figure 5. The satellite is influenced by the aerodynamicdrag for normal solar activity. The attitude error is below î o SÎí of pitch and roll. Yaw varieswithin � o SÎí .

8

For example with a sampling time of 10 sec and the orbital period 6000 sec , then 172800floating point memory is required.

Simulation results of the infinite horizon attitude control are presented in Figure 5, 6 and 7.Figure 5 illustrates performance of the attitude controller for the linear model of the satellitemotion with an ideally periodic geomagnetic field simulator. Figure 6 depicts performanceof the infinite horizon attitude controller for the Ørsted satellite in a circular orbit. In Figure7, the Ørsted satellite is simulated in its elliptic orbit. The satellite motion is affected by theaerodynamic drag for normal solar activity. Additionally, the realistic geomagnetic field isapplied in both Figs. 6 and 7.

Disturbances due to eccentricity of the orbit and the aerodynamic drag torque act in the pitchdirection. Therefore, both the first component of the quaternion and the first component of theangular velocity, which for small angles correspond to the pitch and pitch rate, are punishedslightly more than the remaining components of the state. A diagonal weight matrix ¹ withthe diagonal H¬�������������J�UL N has been implemented for both linear and nonlinear models of thesatellite. Initial values of the attitude are the same in both examples corresponding to ��� o SÎípitch, w���� o SÎí roll, and

� � o SÎí yaw.

The simulations show that the controller is stable for a wide range of operating points, also verymuch outside the reference. The result of the disturbance torque due to a difference betweenthe geomagnetic field and its periodic counterpart implemented in the attitude controller is thesteady state attitude error seen in Figure 6. Performance of the infinite horizon attitude con-troller for the Ørsted satellite affected by the aerodynamic torque is illustrated in Figure 7. Theattitude error is î o SÎí of pitch and roll, whereas yaw angle varies within � o SÎí . The satellite mo-tion is influenced here by a moderate aerodynamic drag torque corresponding to normal solaractivity. The aerodynamic drag is equal ��ïð��� ��ñ � � at perigee.

A computational expense for the infinite horizon controller lies in the off-line numeric solu-tion to the Riccati equation, but relatively large computer memory is required for keeping thegain data for one orbit. The controller gives a nonzero steady state error also for simulationswithout external disturbance torques. It is concluded that the infinite horizon magnetic con-troller is applicable for missions with low pointing requirements. The steady state performancecould be improved by the finite horizon controller, which incorporates a realistic model of thegeomagnetic field. This type of a control law is discussed in the next section.

Finite Horizon Periodic Controller

The linearized model of the satellite motion is only approximately periodic. There is a certaindifference between the ideal periodic model of the geomagnetic field developed in the previoussection, and the real magnetic field of the Earth. The controller performance could be improvedby incorporating the time history of the real geomagnetic field into the controller structure. Anew attitude controller based on a transient solution of the Riccati equation is therefore investi-gated.

The control algorithm is summarized as:

Procedure 1 1. Calculate the time varying solution of the Riccati differential equation inthe time interval

p\ò )�óÆw0�ô7|óæLw ¸µ�) p 1 '±s N µ�) p 1.- µ�) p 1 snwõµ�) p 1¯u ) p 1¯u N ) p 1 µ�) p 1E-�¹ ) p 1 (15)

9

Controller Satellite

State Observer

Buffer with Control Gains

RiccatiEquation

Satellite Model

FinalConditionT

GeomagneticField Model

OrbitModel

clock

mean anomaly

magnetic moment

state

Figure 8: Attitude control system based on finite horizon control.

with the final condition µ�)�ó 1 'öµK÷� (16)

2. Implement controller :% ) p 1 '*w u N ) p 1 µ�) p 1 l q B FD m (17)

forp�ò )�ó½w0�ô7|óæL^

3. Calculate magnetic moment from the equation% ) p 1 ' :% ) p 143 $\) p 1@ $\) p 1 @ 4. ó becomes ó - � .

5. go to 1.

It was stated in Ref.7 that if the difference ø°'ùµ�÷úw9µ�)�óûwüÂ�� 1 is positive semidefinite forÂ&ýt� then the procedure given above provides a stable control law (Theorem 3.4.2). The finalcondition, µ�÷ is chosen sufficiently large such that ø is positive semidefinite independently onthe deviation of the geomagnetic field from its periodic model. It should be noted that the largerµK÷ , the larger is the control torque. The controller shall comply with the power constraintsimposed on the attitude control system, therefore the maximum value of the final conditionshall be confined. The final condition is considered as a design parameter, that can be iteratedby means of computer simulation.

The attitude control system based on the final horizon control is illustrated in Figure 8.

The orbit model provides position of the satellite in orbit in terms of longitude, latitude andaltitude. This information is used by the on board geomagnetic field model (here 10th orderspherical harmonic model). The Riccati equation is computed for the subsequent orbit. Thecontroller gain is computed and parameterized by the mean anomaly. The controller gain is

10

q1

q2

q3

q4

6 7 8−0.015

−0.01

−0.005

0

0.005

0.01

0.015

Orbits

pitch [deg]

6 7 8−0.1

−0.05

0

0.05

Orbits

roll [deg]

6 7 8−0.06

−0.04

−0.02

0

0.02

0.04

Orbits

yaw [deg]

0 1 2 3 4 5 6 7 8−1

−0.5

0

0.5

1

Orbits

Figure 9: Performance of the quasi periodic receding horizon controller for the Ørsted satelliteon circular orbit. The attitude converges asymptotically to the reference, i.e.

BF D = HI�J�����ÎL N .

stored in a buffer. This procedure is activated once per orbit. The control gain matrix is takenfrom the buffer on the basis of the mean anomaly associated with position of the satellite inorbit. The controller gain is updated every sampling cycle, and is implemented in the controlloop.

Implementation

The quasi periodic receding horizon controller has been validated through computer simulation.The results are depicted in Figures 9 and 10. Control parameters have been found empirically.Weight matrix ¹ has been set to ����þ?ÿ��rÿ � , and the final condition µ·÷ has been calculated fromthe steady state solution: µ·÷?'�µ�)�ó 1 'È��µKº·)�ó 1 . Initial values of the attitude have again beenassigned to ��� o SÎí pitch, w���� o SÎí roll and

� � o SÎí yaw.

Figure 9 depicts the Ørsted satellite motion on a circular orbit, i.e. there are no external dis-turbances. The satellite attitude is seen to converge asymptotically to the reference. The per-formance of the quasi periodic receding horizon controller for the satellite disturbed by theaerodynamic torque is comparable with the performance of the infinite horizon controller, seeFigures. 10 and 7. This is due to the impact of the aerodynamic torque is seen to be much largerthan the influence of the torque due to the discrepancy between the geomagnetic field and itsperiodic counterpart.

The steady state performance of the infinite horizon controller on a circular orbit is much betterthan infinite horizon, however they are seen to have the same performance for a satellite in anelliptic orbit effected by the aerodynamic drag. The computational burden for the finite horizoncontroller is heavy due to the Riccati equation shall be solved on board (alternatively uploadedto the on board computer during every ground station passage). Therefore, the infinite horizoncontroller is preferable for the missions like Ørsted with low pointing accuracy. The necessary��������

is the �� unit matrix

11

q1

q2

q3

q4

6 7 8−10

−5

0

5

Orbits

pitch [deg]

6 7 8−1.5

−1

−0.5

0

0.5

1

1.5

Orbits

roll [deg]

6 7 8−4

−2

0

2

4

Orbits

yaw [deg]

0 1 2 3 4 5 6 7 8−1

−0.5

0

0.5

1

Orbits

Figure 10: Performance of the quasi periodic receding horizon controller for the Ørsted satelliteon the elliptic orbit. The satellite is influenced by the aerodynamic torque. Efficiency of thereceding horizon is comparable with and the infinite horizon attitude controller in Figure 7 iscomparable.

computer power could be additionally limited if the constant controller was implemented, andhad the same performance as the time varying controllers. This issue is addressed in the nextsection.

Constant Gain Control

Computation of the infinite and finite horizon attitude controllers are tedious and difficult toimplement on a real-time platform. A simple constant gain attitude controller could be analternative. This type of controller is investigated in this section.

The design algorithm consists of replacing the time varying parameters of the satellite by itsaveraged values evaluated over a period of one orbit. This concept was first presented in Ref.2.The theoretical basis of the method was given in Ref.7.

The time invariant counterpart of the time varying linearized satellite motion wasoo�p l hUqh D m 'ts l hUqh D m -9u :% 7 (18)

where u ' �� � Ny ²u )^£°) p 1|1 o�p 7 (19)

and � is the orbit period, and ²u )Z£ 1 is the control matrix in Eq. (8).

A linear quadratic regulator (LQR) is used for the constant gain controller design. The systemis linear, time invariant and controllable thus a control law can be based on the solution of the

12

−0.4 −0.2 0 0.2 0.4 0.6 0.8 1 1.2−1

−0.8

−0.6

−0.4

−0.2

0

0.2

0.4

0.6

0.8

1

real part

imag

inar

y pa

rt

Figure 11: Locus of the characteristic multipliers ��)�� 1 for � changing from � to� � is evaluated

for the closed loop system in Eq. (22).The satellite becomes unstable for �\'���� , for �\'� � thelargest characteristic multiplier is closest to the origin.

steady state Riccati equation, see Ref.10. The optimal control is given by:% 'Èw u N µ l hUqh D m 7 (20)

where µ satisfies the Riccati algebraic equationµ4s - s N µ�w µ u·u N µ -�¹ ' À (21)

Once the control vector:% in Eq. (20) is calculated, the magnetic moment, % is computed

according to Eq. (2).

Stability of the control law in Eqs. (20) and (2) for the time varying linear model of the satellitein Eq. (6) is determined using Floquet theory, see Ref.11. This check is necessary, since sta-bility of the time varying system and its time invariant counterpart are not equivalent. The timeinvariant system is only the first order approximation of the time varying one, Ref.7. Further-more, the sensitivities of those systems are not equivalent neither, e.g. the disturbance torqueacting on the satellite in the direction of yaw in a zone near the North nor South poles remainsunaffected by the attitude controller (due to lack of controllability), whereas it can be arbitrarilydamped by an LQ controller for the time invariant counterpart.

The following closed-loop system is considered for the Floquet analysisoo�p l hUqh D m ' )Õsnw ²u N )Z£°) p 1W1 µ 1 l hrqh D m (22)

As seen from Eqs. (21) and (22) stability of the closed-loop system is dependent on the weightmatrix ¹ . Figure 11 depicts locus of the characteristic multipliers for ¹ )�� 1 k �|þKÿ��rÿ , where �changes from � to

� ��� . The satellite becomes unstable for �·'���� . For �·' � � , the largestcharacteristic multiplier is closest to the origin.�

The weight matrix ������� acts on the state space !#"$!�%'&�( . !#" is provided in )�*,+-#. and !�% is given withoutunits.

13

pitch

roll

yaw

0 1 2 3 4 5 6 7 8−200

−150

−100

−50

0

50

100

150

200

Orbits

[deg

]

Figure 12: Performance of the constant gain controller for the Ørsted satellite on circular orbit,i.e. without external disturbances. The weigh matrix, ¹ has value � � þKÿ��rÿ . Large amplitude ofthe yaw oscillations is encountered. The initial attitude is ��� o SÎí pitch, w���� o SÎí roll and

� � o SÎíyaw.

Notice that the averaged geomagnetic field is implemented for the Floquet analysis. Therefore,an ultimate test is the simulation for the nonlinear model of the satellite in the realistic spaceenvironment.

Validation

The constant gain control demonstrated stability for the entire envelope of the expected satelliteinitial attitudes and angular velocities in the science observation mission phase. The controlparameter: the weight matrix, ¹ has been found empirically. Its value has been set to � � |þ�ÿ��rÿ .The simulation results for the Ørsted satellite on the circular orbit in Figure 12 show largeamplitude of yaw oscillations. A new diagonal weigh matrix with diagonal H!� � � � ï��ú� � � � ï���L Nis proposed. The amplitude of the yaw fluctuations is reduced, see Figure 13. The last Figure14 illustrates the satellite motion on impact of the aerodynamic drag and the torque due to theeccentricity of the Ørsted orbit. The performance of the constant gain controller is very muchthe same as the infinite and finite horizon attitude controllers in Figures 7 and 10. They all havelow bandwidth with time constants of the order of one orbit. The attitude error of the constantgain controller is within

� o SÎí , which complies with required bond of /·��� o SÎí of pitch and roll,�r� o SÎí of yaw. This controller is chosen for on board implementation due to its simplicity.

Conclusions

This paper presented work on the magnetic attitude control based on the steady state and thetransient solution of the Riccati equation. It was shown that a satellite on a near polar orbit actu-ated by a set of perpendicular magnetorquers could be described by a set of periodic differentialequations. Three attitude controllers were designed: the finite horizon, the infinite horizon, andthe constant gain controller. The control strategies presented were evaluated in the simulationstudy.

The performance of the designed controllers was comparable for a satellite in an elliptic orbiteffected by the aerodynamic drag. The computer expense was smallest for the constant gain

14

pitch

roll

yaw

0 1 2 3 4 5 6 7 8−60

−40

−20

0

20

40

60

80

Orbits

[deg

]

Figure 13: Performance of the constant gain controller for Ørsted satellite on circular orbit. Theinitial conditions are the same as in Figure 12. The diagonal weight matrix ¹ with diagonalH¬� � � � ïr��� � � � ï��UL N is implemented. The amplitude of the yaw oscillation is reduced comparingwith. Figure 12.

q1

q2

q3

q4

6 7 8−10

−5

0

5

10

Orbits

pitch [deg]

6 7 8−1

−0.5

0

0.5

Orbits

roll [deg]

0 1 2 3 4 5 6 7 8−1

−0.5

0

0.5

1

Orbits

6 7 8−2

0

2

4

6

Orbits

yaw [deg]

Figure 14: Performance of the constant gain controller for the Ørsted satellite on the ellipticorbit influenced by the aerodynamic drag. The initial conditions are as in Figure 12. Theresultant attitude is within

� o SÎí .

15

controller, therefore it was chosen for on board implementation in the Ørsted satellite. Thiscontroller was seen to be stable for a wide envelope of initial values of the attitude, though ithad inherently low bandwidth, with time constants on the order of one orbit.

This work is believed to contribute to application of the theory of periodic linear systems tomagnetic attitude control problem. It provides solution useful for small satellites with looserequirements on pointing accuracy.

Acknowledgement

The support of this work by the Danish Ørsted Satellite Project and by the Faculty of Technol-ogy and Science at Aalborg University is greatly appreciated.

References

[1] Cavallo A & al 1993, A sliding manifold approach to satellite attitude control, in 12thWorld Congress IFAC, Sidney, pp. 177–184.

[2] Martel F & al Sep. 1988, Active magnetic control system for gravity gradient stabilizedspacecraft, in Annual AIAA/Utah State University Conference on Small Satellites.

[3] Arduini C & P Baiocco 1997, Active magnetic damping attitude control for gravity gradi-ent stabilized spacecraft, Journal of Guidance, Control, and Dynamics, 20(1), 117–122.

[4] Wisniewski R 1994, Nonlinear control for satellite detumbling based on magnetictorquing, in Joint Services Data Exchange for Guidance, Navigation, and Control, Ari-zona.

[5] Wisniewski R & M Blanke Jun. 1996, Three-axis satellite attitude control based on mag-netic torquing, in 13th IFAC World Congress, San Francisco, California, pp. 291–297.

[6] Steyn W 1994, Comparison of low-erth orbitting satellite attitude controllers submitted tocontrollabilitty constraints, Journal of Guidance, Control, and Dynamics, 17(4), 795–804.

[7] Wisniewski R Dec. 1996, Satellite Attitude Control Using Only Electromagnetic Actua-tion, Ph.D. thesis, Aalborg University.

[8] Wertz J 1990, Spacecraft Attitude Determination and Control, Kluwer Academic Publish-ers.

[9] Bittanti S, editor 1991, The Riccati Equation, Springer Verlag.

[10] Kwakernaak H & R Sivan 1972, Linear Optimal Control Systems, Wiley.

[11] Mohler R 1991, Nonlinear Systems, vol. Dynamics and Control, Prentice Hall.

16