## International Conference on Structural Engineering Dynamics 2013

View this Special IssueResearch Article | Open Access

Luiz Carlos Gadelha de Souza, Alain G. de Souza, "Satellite Attitude Control System Design considering the Fuel Slosh Dynamics", *Shock and Vibration*, vol. 2014, Article ID 260206, 8 pages, 2014. https://doi.org/10.1155/2014/260206

# Satellite Attitude Control System Design considering the Fuel Slosh Dynamics

**Academic Editor:**Nuno Maia

#### Abstract

The design of the satellite attitude control system (ACS) becomes more complex when the satellite structure has different type of components like, flexible solar panels, antennas, mechanical manipulators, and tanks with fuel. A crucial interaction can occur between the fuel slosh motion and the satellite rigid motion during translational and/or rotational manoeuvre since these interactions can change the satellite centre of mass position damaging the ACS pointing accuracy. Although, a well-designed controller can suppress such disturbances quickly, the controller error pointing may be limited by the minimum time necessary to suppress such disturbances thus affecting the satellite attitude acquisition. As a result, the design of the satellite controller needs to explore the limits between the conflicting requirements of performance and robustness. This paper investigates the effects of the interaction between the liquid motion (slosh) and the satellite dynamics in order to predict what the damage to the controller performance and robustness is. The fuel slosh dynamics is modelled by a pendulum which parameters are identified using the Kalman filter technique. This information is used to design the satellite controller by the linear quadratic regulator (LQR) and linear quadratic Gaussian (LQG) methods to perform a planar manoeuvre assuming thrusters are actuators.

#### 1. Introduction

The problem of interaction between fluid and structure is important when one needs to study the dynamic behavior of offshore and marine structures and road and railroad containers partially filled with a fluid [1, 2]. In space missions the sloshing problem appears when the spacecraft is spinning and there is liquid inside it. An example is the damp device involving fluid as the damping material, whose motion can interact with flexible panels and/or manipulators [3]. An interesting approach to analyze a rigid container mounted on flexible springs interacting with a perfect fluid including sloshing effects has been done by Lui and Lou [4]. The success of a space mission can depend on taking into account the knowledge of the interaction between fluid motion (slosh) and structure dynamics since this interaction can damage the ACS pointing requirements. A space structure, like rockets, geosynchronous satellites, and the space station, usually contains liquid in tanks that can represent more than 40% of the initial mass of the system. As a result, the first step to design its ACS is to obtain a detailed dynamics model of the space structure. When the fuel tanks are only partially filled and suffer a transverse acceleration and/or rotational motion, large quantities of fuel move uncontrollably inside the tanks and generate the sloshing effects. Agrawal [5] has shown that the dynamics interaction between the fuel motion and the rigid and/or flexible body dynamics can result in some kind of control instability. For minimizing these effects the ACS must be designed using a robust control method in order to assure stability and good performance to achieve the attitude control system requirement [6]. When a rigid-flexible satellite with fuel tanks inside is subjected to large angle manoeuvre its dynamics is only captured by complex nonlinear mathematical model. Besides, the remaining flexible and/or liquid vibration can introduce a tracking error resulting in a minimum attitude acquisition time. Souza [7] has done a detailed investigation of the influence of the nonlinearities introduced by the panel’s flexibility into the ACS design. It was shown that system parameters variation can degrade the control system performance, indicating the necessity to improve the ACS robustness. An experimental controller robustness and performance investigation was done by Conti and Souza [8], where the estimation of the platform inertia parameters was introduced as part of the platform ACS design. The problem of designing satellite nonlinear controller for rigid satellite has been done by Souza and Gonzales [9] using the state-dependent Riccati equation (SDRE) method which is able to deal with high nonlinear plants. Due to the complexity of modeling the fluid and/or flexible dynamic of the system it is common to use mechanical systems analogies that describe this dynamic. Besides, if one needs to know some physical parameters related with the slosh or the flexibility dynamics it is common to obtain them by experimental apparatus or some kind of estimating method such as Kalman filter [10].

#### 2. Satellite with Sloshing Model

The phenomenon of sloshing is due to the movement of a free surface of a liquid that partially fills a compartment and this movement is oscillating. It depends on the shape of the tank, the acceleration of the gravity, and on the axial/rotational acceleration of the tank. As a representative of the behavior of the total weight of the system it is accepted that when the mass of the liquid oscillates the mass center of the rigid body also oscillates, thereby disturbing the rigid-flexible part of the vehicle under consideration. As an oscillating movement it is natural to consider the wave generated by the movement of the liquid as a stationary wave in all oscillation modes. Each mode of oscillation has a special feature of this phenomenon under study and one observes, in a quantitative sense, how much mass is displaced. Among all the modes that cause the greatest disruption in the system are the first and the second modes. Despite the fact that oscillation has lower frequency it is capable of resulting in violent shifting of the center of mass of the liquid creating an oscillation in the system as a role. The other oscillation modes act as a less aggressive and it may not even vary the position of its center of mass due to the symmetry of the wave which on average causes no displacement. Due to its complexity, the sloshing dynamics is usually represented by mechanical equivalents that describe and reproduce faithfully the actions and reactions due to forces and torques acting on the system. The main advantage of replacing the fluid model with an equivalent oscillating model [11] is simplifying the analysis of motion in the rigid body dynamics compared to the fluid dynamics equations. Due to the complexity of establishing an analytical model for the fluid moving freely within a closed tank, a simplified system is used, taking into account the following criteria [6]: (a) small displacements, (b) a rigid tank, and (c) no viscous, incompressible, and homogeneous liquid. Under these conditions the dynamics of the sloshing can be approximated by mechanical system consisting of a mass-spring or pendulum. Consider a rigid spacecraft moving in a fixed plane with a spherical fuel tank and including the lowest frequency slosh mode. Based on the Lagrange equation and the Rayleigh dissipation function one can model systems using the mechanical mass-spring and pendulum type system, respectively. Figure 1 shows a satellite model where slosh dynamics is represented by its pendulum analogous mechanical system, where the mass of the satellite and the moment of inertia, regardless of the fuel, are given by and , respectively, and the mass equivalent of fuel and its inertia moment are given by and , respectively. The attitude control of the spacecraft is done by the force and by the pitch moment . The constant thrust is responsible for the orbital transfer of the spacecraft with respect to the inertial reference system and it acts on the center of mass of spacecraft in the longitudinal axis. Also it is given the velocity of the center of the fuel tank and the attitude angle of the spacecraft with respect to a fixed reference . Besides, represents the linear velocity and represents the angular velocity of the rigid body. The length of the pendulum is , the distance from satellite center of mass to the pendulum connected point is , and the angle of the pendulum with respect to the spacecraft longitudinal axis is , which is assumed in the equilibrium position about the reference axis .

#### 3. The Satellite Equations of Motion

The satellite equations of motion can be derived using the Lagrange equations [10] given by Details of the equations of motion derivation can be found in [12], where is the Lagrangian of the system, the generalized coordinates are and , is the Rayleigh dissipation function, is the internal torque, and is the external torque. Assume that are given by The position vector of the satellite mass center with respect to the inertial reference system (see Figure 1) is Assuming the relations and the satellite velocity is given by The position of the mass of fuel with respect to the inertial reference system (see Figure 1) is given by As a result, the mass of the fuel velocity is The Lagrangian of the entire system is given by Substituting (4) and (6) into (7), using the relations given by (2), and performing the derivations of (1), one obtains the satellite equations of motion given by Assuming the relations , and substituting them into (8) and (9), one can isolate and obtain the satellite accelerations given by All equations derived previously are nonlinear. However, in order to design LQR and LQG controllers and estimate the sloshing parameters using the Kaman filter technique one has to get the linear set of equations of motion, which is obtained assuming that the system makes small movements around the point of equilibrium very close to zero; that is, .

Now, substituting (12) into (10) and (11) and assuming the linearization conditions, one has the satellite equation of motion given by where , , and .

#### 4. Kalman Filter (KF)

The Kalman filter estimates the instantaneous state of a dynamic system from the reading of measurements. In other words the Kalman filter is the optimal solution of minimum variance, which means that the equations of the Kalman filter can be deduced from this premise [7]. The Kalman filtering can be divided into two steps: time update and measurement update.

##### 4.1. Time Update

This step propagates the states and the covariance of the time to . For this it just integrates the following equations, with the boundary conditions and . Herein is the covariance matrix and is the vector state: where is a nonlinear vector function of the state and time . Consider where is a matrix that adds noise to the system dynamic, is the process noise covariance, and is the Jacobian matrix of .

##### 4.2. Measurement Update

This step updates the state and covariance to the time due to the measurement . Consider the following: where is the filter gain, is the Jacobian matrix of which in turn is a vectorial nonlinear function of the state, and is the measurement vector.

#### 5. Linear Quadratic Gaussian LQG

This method is, basically, the union with the LQR [13] and the Kalman filter. In the LQR method one assumes that all states are available to be feedback but in reality that is not true. Therefore, when there is any state that is not available one has to use the Kalman filter to estimate it in order to be a feedback. The separation principle ensures that each step of this process can be made independently of each other; one may first solve the LQR problem and then design the optimal estimator (Kalman filter), or vice versa, so that the global solution is always the same.

Assume a plant described by the linear state equations given by where represents the state vector, the matrix is the state matrix, is the input matrix, is the output vector, is the output matrix, and are white noise, and is the control law. In the LQG method [14] the control law gain is obtained by the LQR method and it is given by where is real symmetric positive definite matrix and is the symmetrical solution of the LQR Riccati equation given by

Similarly the Kalman filter gain now is given by where is real symmetric positive definite matrix and is the symmetrical solution matrix of the KF Riccati equation given by where and and , and are weight matrices which can be regarded as setting parameters (tuning) that must be manipulated until they find one acceptable response to the system.

A necessary and sufficient condition to guarantee the existence of the and is if the system is completely controllable and observable. The LQG method is more realistic than the LQR method, since the states are not always available to be feedback or need to be measurable with the aid of sensors. The inclusion of the noise in the model which represents imperfections of the system is also one advantage of the LQG method.

#### 6. Simulations and Results

The first simulation is the design of the control law using the LQR and LQG control theories, for the spacecraft with a partially filled tank, to account for the sloshing dynamics by the mechanically analog pendulum type. The pendulum physical parameters used in the simulations are as follows: kg, kg, kg/m^{2}, kg/m^{2}, m, m, N, and kg m^{2}/s. The equations of motion that describe the dynamics of the system are given by (13) which need to be put in state space form. These equations describe the angular displacement of the spacecraft and the angular displacement of the pendulum and the initial conditions used are , , , and .

Figures 2 and 3 show that the LQR control law performance is better than the LQG and the reason is because the first one considers that the sloshing variables are available to be feedback which is not true.

**(a)**

**(b)**

**(c)**

**(d)**

**(a)**

**(b)**

**(c)**

**(d)**

The performance of the LQG control law is damaged because the sloshing motion is controlled indirectly and the sloshing state variables are not available to be feedback and they need to be estimated by the Kalman filter.

Now one uses the Kalman filter to estimate the rod length of the pendulum using a database containing the time evolution of the variables and . The rod length is now considered as state variable so one has a system with five state variables which can be estimated. Using the same control LQR law, it is possible to analyze the control system performance during the estimation of the rod length. Besides, one inserts a white noise in the measurements and , given by the noise process .

Figure 4 shows that the estimated value of the rod length is m, remembering that the “actual” value of the rod is m. Figure 5 shows that plant of the system depends on the estimation of the rod, since at the time that the rod length is varying the position of the poles also moves.

**(a)**

**(b)**

Figures 6 and 7 show the LQR and the LQG controllers during the rod length estimation. One observes that the system is controlled in less than approximately 15 seconds and that the slosh motion is more oscillatory with the LQG controller. This is because the sloshing motion is controlled indirectly and the sloshing state variables are being estimated by the Kalman filter.

**(a)**

**(b)**

**(c)**

**(d)**

**(a)**

**(b)**

**(c)**

**(d)**

#### 7. Conclusions

In this paper one described briefly the concepts of the sloshing phenomenon which is associated with the dynamics of a liquid moving into at partially fills reservoir. Deriving the equation of motion of a spacecraft with liquid inside the sloshing phenomenon is represented by its mechanical analog of a pendulum type. One uses the Kalman filter technique to estimate the pendulum length. One shows that the performance of the LQR control is better than the LQG control during the estimation process. The reason the LQG control degraded is because the sloshing states need to be estimated by the filter. This degradation was expected, because as it has been demonstrated by [15] the introduction of the Kalman filter degrades the stability margin of the LQG. One way to improve the performance of LQG is to make the dynamics of the filter faster than the dynamics of LQR. However, this must be done carefully since this time will depend on the on-board computer capacity. These results show that control of spacecraft with sloshing and flexibility is not an easy task and needs to be investigated better. One has also observed that the estimation of the rod length alters the plant of the system causing the poles to walk to and from the imaginary system, leaving in the end the plant more stable.

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### References

- R. Barron and S. W. R. Chng, “Dynamic analysis and measurement of sloshing of fluid in containers,”
*Journal of Dynamic Systems, Measurement and Control*, vol. 111, no. 1, pp. 83–90, 1989. View at: Google Scholar - S. K. Chakrabarti, “Internal waves in a large offshore storage tank,”
*Journal of Energy Resources Technology*, vol. 115, no. 2, pp. 133–141, 1993. View at: Google Scholar - D. E. Hill and J. R. Baumgarten, “Control of spin-stabilized spacecraft with sloshing fluid stores,”
*Journal of Dynamic Systems, Measurement and Control*, vol. 114, no. 4, pp. 728–731, 1992. View at: Google Scholar - A. P. C. Lui and J. Y. K. Lou, “Dynamic coupling of a liquid-tank system under transient excitations,”
*Ocean Engineering*, vol. 17, no. 3, pp. 263–277, 1990. View at: Google Scholar - B. N. Agrawal, “Dynamic characteristics of liquid motion in partially filled tanks of a spinning spacecraft,”
*Journal of Guidance, Control, and Dynamics*, vol. 16, no. 4, pp. 636–640, 1993. View at: Google Scholar - M. J. Sidi,
*Spacecraft Dynamics and Control*, Cambridge University Press, New York, NY, USA, 1997. - L. C. G. Souza, “Robust controllers design for flexible space system using a combination of LQG/LTR and PRLQG methods,” in
*Dynamics and Control of Structure in Space III*, C. L. Kirk and D. J. Inman, Eds., pp. 151–166, Computational Mechanics, 1996. View at: Google Scholar - G. T. Conti and L. C. G. Souza, “Satellite attitude control system simulator,”
*Shock and Vibration*, vol. 15, no. 3-4, pp. 395–402, 2008. View at: Google Scholar - L. C. G. Souza and R. G. Gonzales, “Satellite simulator control system design using SDRE method,”
*Journal of Mechanics Engineering and Automation*, vol. 1, pp. 123–132, 2011. View at: Google Scholar - L. C. G. Souza, “Inertia parameters estimation of a satellite simulator,” in
*Advances in Astronautical Sciences*, vol. 1304, pp. 969–979, 2008. View at: Google Scholar - R. A. Ibrahim,
*Liquid Sloshing Dynamics, Theory and Applications*, Cambridge University Press, New York, NY, USA, 2005. - A. G. Souza,
*Study of the effects of liquid movement and flexibility in performance and robustness of the attitude control system of an artificial satellite [Master of Space Mechanics and Control]*, National Institute for Space Research (INPE), São José dos Campos, Brazil, 2013, http://urlib.net/8JMKD3MGP7W/3DG55TB. - D. E. Kirk,
*Optimal Control Theory: An Introduction*, Dover, Mineola, NY, USA, 1998. - L. C. G. de Souza and X. C. Méndez Cubillos, “Using of H-infinity control method in attitude control system of rigid-flexible satellite,”
*Mathematical Problems in Engineering*, vol. 2009, Article ID 173145, 9 pages, 2009. View at: Publisher Site | Google Scholar - J. C. Doyle, “Guaranteed margins for LQG regulator,”
*IEEE Transactions on Automatic Control*, vol. 23, no. 4, pp. 756–757, 1978. View at: Publisher Site | Google Scholar

#### Copyright

Copyright © 2014 Luiz Carlos Gadelha de Souza and Alain G. de Souza. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.