Abstract
A maintainable refueling vehicle is the future development direction of the space system. In the process of fuel filling, capture docking, and configuration transformation, the most significant factor that affects the attitude control of the system is the continuous or sudden change of the angular torque of the system. In this paper, we study the control system of the variable mass body in an on-orbit service in the process of configuration transformation. The large errors of torque of inertia may make the narrow sense TEA (torque equilibrium attitude) of the system deviate greatly from the earth-oriented attitude. In order to avoid the error caused by the partial linearization of the system model, the feedback linearization method of the nonlinear system is used to design the controller to realize the tracking of the narrow sense TEA in the process of configuration transformation. Different from the traditional attitude control method, in order to avoid the high cost of the control system caused by the change of system mass characteristics and the change of system angular torque, CMG (control moment gyroscope) angular torque is introduced into the controller. We design a joint controller of attitude control and angular torque management, which can effectively stabilize the system and reduce the angular torque saturation of the attitude control system during the on-orbit service.
1. Introduction
Low cost, high reliability, fast response, and maintainability are the development direction of the future space system. The function of on-orbit refueling may become the design requirement of future spacecraft. The on-orbit refueling mission is a part of the space service support system, which takes the on-orbit spacecraft with insufficient fuel, exhausted fuel, or propulsion system failure as the application object. By means of cabin addition, fuel filling, or module replacement, the function of the spacecraft propulsion system can be supplemented or restored, and the mission capability of spacecraft on-orbit can be improved or extended. The on-orbit refueling mission consists of two parts: the replenishment vehicle and the replenished vehicle.
The on-orbit refueling process usually includes (1) the capture and docking process of the replenishment vehicle and the replenished vehicle to realize the combination connection of the two vehicles and (2) the fuel filling and transfer process after the fuel tank connection. In the process of fuel filling, capture docking, and configuration change, the biggest influence on the attitude control of the system is the constant change or mutation of the angular torque of the system, especially when CMG is used as the actuator. The CMG needs to be unloaded by air jet. Because CMG absorbs the momentum of the system change quickly to saturation. And the control structure coupling is easily caused by the unloading of the jet during this period, which makes the control condition worse.
The variable mass control problems of spacecraft during the refueling process can be divided into three categories: the variable mass control problems of the spacecraft docking process, the variable mass control problems of the refueling process, and the variable mass control problems of the spacecraft separation process. The change of system mass in the process of fuel transfer can be regarded as continuous, while the system mass changes suddenly in the process of capture docking and separation. Taking the system configuration change whose mass change rate is between the above two as an example, the control of the variable mass body is studied.
Wu et al. [1] used the hybrid method to study the attitude stability of small satellites, in order to solve the problem of excessive output of the controller. Chu et al. [2] developed an approximate dynamic model with uncertain parameters considering the uncertainty of model parameters and proposed a robust adaptive control strategy to compensate for or reject these uncertainties, respectively. Huang and Uang [3] aimed at the problems of various disturbances and parameter changes encountered in the process of the spacecraft space mission, the sliding film control was applied to PID control, and the two were combined to complete the spacecraft attitude robust control. Qin [4] proposed a controller design method for singularly perturbed systems. Zhou and Zeng [5] proposed a new nonlinear robust H ∞ control method for spacecraft attitude maneuver problems with external disturbances and perturbed disturbances. Yuan et al. [6] proposed a decoupling control algorithm based on a robust adaptive method to solve the problem of spacecraft attitude control with disturbance and torque of inertia uncertainty. Tong and Li [7] proposed a static output feedback controller using multiobjective synthesis technology and studied the robust stability and disturbance suppression of spacecraft with parameter variation and control input saturation constraints. However, this method does not consider the uncertainties of the attachment frequency and rigid-flexible coupling matrix. Yang et al. [8] studied the orbit robust control of low earth orbit spacecraft under the condition of parameter variation during orbit transfer during rendezvous. Liang et al. [9] planned the angular trajectory of the satellite’s attitude maneuver around the Euler axis and designed a variable structure control law based on the error quaternion and error angular velocity between the actual and planned positions of the satellite. Based on the time-varying autoregressive sliding average model and the good local function fitting ability of the wavelet basis function, Lei et al. [10] used the Mexican cap wavelet function as the spatial base of the time-varying coefficients of the TARMA model and constructed a time-varying autoregressive sliding average model of the functional series based on the wavelet function. And decoupling estimation of time-varying coefficients is achieved.
In this paper, from the angle of system angular torque, the angular torque of the system is introduced into the control system, and the angular torque and attitude of the system are jointly controlled to achieve a good balance between the attitude and angular torque of the system and ensure that the system is stable in a certain equilibrium attitude, and the angular torque of the system will not be saturated due to the change of the mass characteristics of the system. The joint control of attitude and angular torque is referred to as attitude control/angular torque management (ACMM).
2. Problem Formulation
2.1. Simplified System Model
The replenishment vehicle operates the replenished vehicle with a manipulator. Taking the configuration transformation process of the resupplied aircraft from “I” configuration to “L” configuration as an example, the model is established.
Assuming that the solar panels are locked and the slow variables are ignored, the system dynamics model of the configuration transformation process is as follows:
Among them, formula (1) is the attitude dynamics equation of the central rigid body, and formula (2) is the vibration equation of the solar panel. is the expression of the instantaneous torque of inertia of the combination in the body coordinate system (). The specific expression is as follows:where is the torque of inertia of the replenishment vehicle relative to its body coordinate system. is the representation of the torque of inertia of the replenished aircraft in its reference coordinate system. Let the torque of inertia of the replenished vehicle can be expressed as in the body coordinate system, and the transformation matrix between the body coordinate system and the reference coordinate system is , and then, is the component representation of the angular rate of rotation of the system relative to the inertial frame in the body assembly coordinate system. is the component representation of the vector from the centroid of the replenishment vehicle to the centroid of the replenished vehicle in the body coordinate system of the assembly. m is the reduced mass of the two-body system. If the mass of the replenishment vehicle and the replenished vehicle is and , respectively, the reduced mass can be expressed as follows: is the rotational angular velocity of the replenished vehicle relative to the replenished vehicle, that is, the relative attitude angular velocity, which is described in the body coordinate system of the assembly. is the motion coupling coefficient of the replenishment vehicle and the replenished vehicle, which is expressed in the body assembly coordinate system. is the coupling coefficient between the solar panel and the rotational motion of the replenished vehicle, which is expressed in the system of the replenished vehicle.
are the coupling coefficient matrix of solar panel rotation and satellite rotation. represents the displacement caused by the force. is the principal vector array of system forces.
When there is no confusion, the subscript is omitted to identify the system parameter, and the coordinate system of the variable is clearly marked. Let be the angular velocity vector of a coordinate system relative to the B coordinate system. When B coordinate system is the inertial system, B is omitted. For example, is the component representation of in the B coordinate system. The torque of inertia , the angular velocity of inertia , and control torque in the centroid coordinate system of the system are abbreviated as , , and , respectively.
In the process of configuration transformation, the dynamic equation and environmental torque model of CMG are consistent with that of long-term normal on-orbit flight. The final system model for controller design is as follows [11]:
Attitude dynamics:where is the angular velocity of inertia; is the torque of inertia; is the output torque of CMG; is the gyro coupling torque; is the perturbation torque of the supplied vehicle; is the gravity gradient torque; is the atmospheric disturbance torque.
Let be the orbital coordinate system, and be the body coordinate system. The attitude kinematics model can be expressed as follows:where , , are the yaw, roll, and pitch angles of the aircraft, respectively. “s” and “c” represent “sin” and “cos” functions, respectively. , , and represent the triaxial component of the absolute angular velocity of the combination in the coordinate system , and is the orbital angular velocity. It is assumed that is constant when the assembly runs in a circular orbit.
The CMG kinetic model is as follows:where is the sum of the absolute angular torque of each CMG to its own center of mass, which is described in the body coordinate system of the combination; is the attitude control torque of CMG.
When the attitude of the system satisfies the following equation, all kinds of torques can be balanced.
If the controller is designed to make the attitude of the combination track the TEA under this condition, the configuration transformation operation can be completed without unloading the angular torque of CMG. However, due to the complexity of configuration transformation, TEA is difficult to solve. And because of the rapid change of TEA in this process, large space structures are generally not suitable for rapid maneuver. So, the attitude control strategy of tracking dynamic TEA in the configuration transformation process is not feasible.
The time of configuration transformation is shorter than that of the normal flight in orbit, and the angular torque accumulation caused by aerodynamic torque is much smaller than that caused by gravitational gradient torque and perturbation torque. Although the perturbation torque is one of the main reasons for CMG angular torque accumulation, the perturbation angular torque in different stages of the transfer process can cancel each other to a great extent after the path and velocity of the manipulator are reasonably planned. Therefore, in the preliminary design of the controller, the influence of aerodynamic torque and perturbation torque can be ignored temporarily. In this case, only the gravitational gradient torque and the orbital gyroscopic torque are considered, and the attitude satisfying the following form during configuration transformation is defined as “narrow sense TEA.”
In the process of configuration transformation, the purpose of ACMM controller design is to make the system track the narrow sense TEA. The physical meaning of TEA in the orbit system is obvious when only considering the gravitational gradient torque and the orbital gyroscopic torque. Therefore, the controller design of this part is carried out in the orbit system, which is not only convenient for the derivation of feedback linearization control law but also can further study the characteristics of TEA in the orbit system [12].
2.2. Mechanical Model
2.2.1. Attitude Dynamics Equation
The derivative of coordinate transformation matrix from body coordinate system to orbit system is as follows:where .
In the process of configuration transformation, the torque of inertia of the system changes constantly, but without confusion, the time mark is omitted. The relationship between the torque of inertia of the system in the body coordinate system and the orbit system is as follows:
The component of the absolute angular velocity of the combination in the orbit system is expressed as follows:
By deriving the time from equation (14) and using equation (10), the system dynamic equation described in the orbit system is obtained.
2.2.2. Attitude Kinematics Equation
Note that is the Euler angle from the body coordinate system to the orbit system. In the case of no confusion, omit the lower corner mark indicating the direction of rotation. Using 3-1-2 transformation order, the kinematics equation of the system in the orbit system is as follows:where .
2.2.3. CMG Kinetic Equation
The dynamic equation of CMG angular torque in the orbit system is as follows:
2.2.4. ACMM System Design Model
Equations (15)–(17) are written as state equations, and the system model for controller design is obtained as
3. Control System Design based on Adaptive Feedback Linearization
In the process of configuration transformation, the large change of torque of inertia may make the narrow sense TEA of the system deviate greatly from the earth-oriented attitude. In order to avoid the error caused by the partial linearization of the system model, the feedback linearization method of the nonlinear system is used to design the controller to realize the tracking of the narrow sense TEA. In the process of configuration transformation, the large change of torque of inertia may make the narrow sense TEA of the system deviate greatly from the earth-oriented attitude. In order to avoid the error caused by the partial linearization of the system model, the feedback linearization method of the nonlinear system is used to design the controller to realize the tracking of the narrow sense TEA in the process of configuration transformation.
The core idea of feedback linearization is to make the nonlinear system realize accurate linearization of state or input/output under certain conditions through appropriate nonlinear state transformation and feedback transformation, so as to transform the nonlinear system design problem into a linear system design problem. It is different from the traditional method of local linearization using Taylor expansion [13], which does not ignore any nonlinear term in the linearization process, so this method is not only accurate but also holistic; that is, linearization is applicable to the whole region of the transformation. The limitation of this method is that it needs accurate information of the system. When the parameters are uncertain, it is unable to carry out accurate feedback linearization.
In order to compensate for the dependence of the feedback linearization method on system parameters, an adaptive ACMM controller with online parameter identification is designed. The controller consists of two parts: online parameter identification loop and feedback linearization control loop. The structure diagram is shown in Figure 1 [14].

3.1. Feedback Linearization Analysis
Under the assumption of a small angle, the coordinate transformation matrix from to can be approximately expressed aswhere is the unit matrix and is the antisymmetric matrix of , .
The results are as follows:
Taking the system state variable as , the state equation is written as a general nonlinear systemwhere ,
The whole state of the system can be measured, and when , , is continuous and smooth.
Substituting the approximate expression equation (15) of into the expression (23) of , denote . Definition:where represents vector expansion; that is, represents subspace formed by a linear combination of , . Where [] is Lie brackets, , , can be used to test.
When , the distribution is a constant dimension in the neighborhood of .
When , the distribution is involutivity.
The distribution has dimension 9.
According to the exact feedback linearization theorem, the system can be linearized by exact feedback. Therefore, three output variables with total relative order 9 can be used to define the state transformation, and the system can be transformed into a standard canonical form. Since the total relative order of the system is equal to the state dimension of the system, all states can be observed through the input-output relationship.
3.2. State Transition
The state transformation is defined by the Lie derivative of the output variable. For the ACMM system, in order to avoid angular torque accumulation effectively under the premise of attitude stability, CMG angular torque and attitude stability information should be taken as output variables at the same time.
The second-order Lie derivative, the second-order Lie derivative, and the third-order Lie derivative, respectively, for the triaxial components of equation are obtained as
It can be seen from equation (12) that contains angular velocity information, and the control torque information will appear after further derivation. Therefore, according to equations (26)–(28), the third derivative of , and the fourth derivative of will appear control torque information, which can be used as output variables.
In order to meet the relative order requirements of the system, the magnitude after derivation is unified, the accuracy of numerical calculation is improved, and the output variables are selected as follows:
The nonlinear transformation of output variable definition is as follows:where , .
The specific form of nonlinear transformation is as follows:
The new equation of state is as follows:
Let , (35) be written as follows:
The definitions of and decoupling matrix are obvious.where , , .
3.3. Input Transformation
When is reversible, the following input transformation is adopted for the system (25):
System (25) will be equivalent towhere .
The system (39) has a linear input-output relationship. When its output is expected to track the desired trajectory without error, the corresponding linear control law can be designed.where is the control gain matrix in the form of (40) and is the expected trajectory change rate.
The characteristic equation of an equivalent linear system is as follows:
According to equations (36) and (41), the nonlinear control law for the linearized system (39) is obtained.
Equations (44) and (45) are the nonlinear control laws of the ACMM system in the track system. In this control law, it is assumed that the inertia characteristics of the system can be fully identified, and only the desired trajectory and the feedback gain matrix need to be designed.
3.4. System Expected Trajectory
The stable working state of the ACMM system is a narrow sense TEA when only considering the gravitational gradient torque. At this point, , and . The total angular torque of the system at TEA iswhere are the value of inertia along the three principal axes of inertia.
After the total angular torque of the system at TEA is obtained, the desired trajectory of the system can be determined. Although TEA does not require and can take any value within the capacity range of CMG, in order to simplify the design of the controller, the instruction value of is zero. The narrow sense of TEA requires the inertial principal axis to point along the orbit coordinate axis, but in the case of minimum attitude maneuver, the inertial principal axis in the y direction is generally pointed to the normal direction of the orbit; that is, .
From the above analysis, we can get the expected trajectory as follows:
3.5. Equivalent Linear System Design
The closed-loop characteristic of the equivalent linear system is designed by the pole assignment method. In order to make the system have a certain stability margin and convergence speed, the closed-loop poles are placed in the sector area with an angle of between the left side of the S plane and the real axis. Select 9 closed-loop poles as , , , , , and the specific distribution is shown in Figure 2.

For the fourth-order SISO system corresponding to , the closed-loop poles are assigned at and . The corresponding fourth-order characteristic equation is as follows:
Therefore, .
For the third-order single input single output system of choosing and as its closed-loop poles, the corresponding feedback gain can be obtained in the same way .
For the second-order single input single output system of , the closed-loop pole is , and the feedback gain is calculated as .
4. Online Parameter Identification
It can be seen from the feedback control law (39) that the ACMM controller needs not only the angular rate and angular torque information of the combined body but also its torque of inertia information, which is provided by the online parameter identification unit, and its identification accuracy directly affects the control performance of the adaptive system. In this section, the control torque information and angular velocity information of the combination are used to identify the closed-loop control of the combination without additional excitation. The algorithm uses the least square method with a bounded gain forgetting factor, which can track the real parameters without continuous excitation.
The standard form of the linear least squares [15] problem is or written as , where is the measured vector, is the measured noise vector, is the parameter to be identified, is composed of known variables and parameters, and is the solution of the least-squares algorithm, which minimizes the sum of squares of error .
Firstly, the least square estimation model of the parameters to be identified is constructed according to the dynamic equation of the system, and the vector composed of six independent elements of the torque of inertia is taken as the unknown vector .where
The system dynamics equation in the orbit system can be reduced to the following equation:
Since the angular acceleration information is not measurable and the angular velocity information is measurable, the left and right sides of equation (51) are integrated to obtain the following results:
If equation (52) is written in the form of standard linear least squares, then
In order to realize online real-time identification, the recursive form of least squares is used. Recursive least square estimation extracts the information of the estimated quantity from each measurement, which is used to modify the estimation obtained in the previous step [16]. The more times of measurement, the more times of correction, and the higher the accuracy of estimation.
When the system is brought into TEA, the external force torques cancel each other, and the control torque required is small, which cannot meet the continuous excitation conditions required by the traditional least square method. Moreover, due to the “data saturation” phenomenon, when the observation data increase, the deviation between the estimated value obtained by the recursive least square parameter identification method and the real parameters will become larger and larger. Therefore, in parameter estimation, we should pay enough attention to the current data and gradually forget the old data which does not contain the current dynamic characteristics, so we use the recursive least squares estimator with bounded gain forgetting factor. The estimator still has bounded gain when the excitation is not continuous [17].
Set X to be measured, is the j measurement, and the measurement equation iswhere and are the measurement matrix and random measurement noise. The recursive least square estimation algorithm with the forgetting factor is as follows:
The choice of forgetting factor is of great significance to the stability of the system. When the continuous excitation is satisfied (such as in the dynamic process of tracking TEA), the forgetting factor of zero will lead to zero gain (i.e., it degenerates to the standard least squares method, resulting in the instability of tracking time-varying parameters) [18]. When the continuous excitation condition is not satisfied, the forgetting factor of the normal number will lead to a sharp increase in gain. The forgetting factor is chosen as the following bounded form:λ0 and k0 is a normal number. The upper bounds of the maximum forgetting rate and the norm of the gain matrix are given, respectively; P is the gain matrix and represents the level of motivation. Formula (56) means when the norm of P is small (strong continuous incentive), the forgetting factor is λ0, forgetting is fast, and the system has a strong ability to track the changing parameters. When the norm of P increases, the forgetting speed decreases. And the forgetting speed is zero when the norm of P reaches a specified upper bound. In this case, λ0 is 0.95, and k0 is 109.
5. Controllability and Singularity
The nonlinear state transformation (34)–(36) are not global transformation. They are effective at the nonsingular points of the matrix in the new state equation. Nonsingular points are effective. In this case, the inverse matrix is
Formula (57) shows that the reversibility of E(x) depends on the reversibility of . According to the definition of , its reversibility is determined by the following formula:
Due to the existence of the torque of inertia of the inertial coordinate system of the system mass center and the track system, the following relations are
can be changed to
This is a function of the rotation Euler angle (narrow sense TEA) from the center of mass inertial principal axis coordinate system to the orbit system when the 3-1-2 rotation sequence is adopted, and the simplified expression of is as follows:
When the following two conditions are met,
Among them, the first condition is a physical condition, which restricts the inertia characteristics of the system and can feedback linearization. The second condition limits the attitude range of the control law (43).
5.1. Torque of Inertia Constraint
Inertia constraints are the inherent characteristic of the ACMM problem which only considers the gravity gradient torque, and even for the linear controller, the same constraint is needed. For example, assuming that the nonlinear dynamic equations of the system are linearized at zero attitude, the dynamic equations of pitch and roll/yaw in the ACMM system are decoupled. For pitch channel, take the state variable as , the equation of state iswhere
The controllable matrix is:
When , . The pitch axis is uncontrollable, and the roll/yaw axis has a similar conclusion.
5.2. Attitude Constraint
The nonlinear control law (39) requires . In order to avoid singularity, it is necessary to study the distribution of attitude angle when . When using the 3-1-2 rotation sequence, according to the expression of , and , the singular surface near is obtained, as shown in Figure 3.

The two surfaces in Figures 4 and 5 will separate the TEA at from other TEA. If the initial attitude of the system is located in the area surrounded by the surface in the figure, it cannot pass through the surface in the process of tracking TEA, so as to avoid the singularity of the nonlinear control law.


Because Λ a function of three attitude angles, it is hard to observe Λ with the change of attitude angle. Considering that the change of yaw angle is more obvious in the process of configuration transformation, and the gravitational gradient torque is generally more obvious in the pitch axis, the roll angle is fixed here to investigate the influence of pitch angle and yaw angle on Λ.
Figures 6 and 7 show the value of Λ when , , . As can be seen from the figure, , corresponding to the balanced attitudewhere the value of Λ is (−1)m + n, and it is local maximum 1 or local minimum −1. When , , , Λ = 0, so if the initial time , , φ = 0, the uniqueness TEA θ = (0, 0, 0) that can be achieved by a combination not passing through the singular surface of Λ = 0 in a graph. The value of Λ is 1.


Figures 6 to 13 show that when changes from −90° to 90°, Λ changes with the , . This set of curves shows that the value of Λ is symmetrically distributed with respect to and . When increased from −90° to −45°, along , it is constant. But along the , the amplitude of the fluctuation of Λ becomes smaller, as shown in the figure. When increased to −45°, a single peak and trough appeared; when increased from −45° to 0°, the amplitude of wave crest and wave trough becomes larger; when , the peak and trough values reach the maximum value of 1 and the minimum value of −1, respectively; when increased from 0 to 45°, the amplitudes of wave crest and wave trough decrease, respectively; when increased from 45° to 90°, Λ is symmetric about and again. However, Λ rotates at 90 degrees. When , Λ is a constant.






It can be seen from the previous analysis that when only considering the gravitational gradient torque, the narrow sense TEA has the following form:
Before applying the nonlinear control law, the distance between TEA and the singular point must be determined. The nonlinear control law is effective only when Λ at TEA is far from zero.
Take the first and second partial derivatives of Λ:wherewhere
For TEA in the form of the formula (65), there are
It can be seen that if m is even, the eigenvalues of the second-order Hessian matrix are all 4(−1)n + p. When n + p is even, TEA is the minimum of Λ. When n + p is odd, TEA is the largest value of Λ. If m is odd, then the eigenvalue of the Hessian matrix is 8(−1)n + p, 4(−1)n + p, and 0. When n + p is an even number, and (k is an integer) Λ are both minima −1; when n + p is an odd number, and Λ are both maximum 1.
It can be seen from the above analysis that a TEA is a maximum or a minimum. So, the nonlinear feedback control law given by formula (44) can avoid singular points in principle. But, when the initial attitude is not suitable, the system may still pass through the singular surface during the stabilization process. For example, if the initial angular rate of attitude is relatively large, the system is likely to reach the singular surface before stabilization. Therefore, whether the nonlinear control law can effectively drive the system to TEA is closely related to the initial attitude. If the reference input signal zd is selected reasonably, the singularity may be avoided in some programs, and the system will approach TEA along the ideal trajectory.
6. Numerical Examples of Configuration Transformation Process
It is assumed that the mass characteristics of the two sections are shown in the table (Table 1).
Suppose that the configuration transformation process takes 5000 seconds, and in the first 1000 seconds, the replenished vehicle is pushed out 5 meters along the longitudinal axis of the replenishment vehicle with a mechanical arm at a constant speed; when 1000 seconds to 4000 seconds, rotate the replenished vehicle 90° around the negative direction of the yaw axis of the replenishment vehicle. Considering the transfer time and the speed limit of the end of the manipulator, adopt the rotation process of acceleration uniform deceleration. When 1000 seconds to 2000 seconds, rotate the replenished vehicle with constant acceleration, when 2000 seconds to 3000 seconds, rotate with uniform speed, and when 3000 seconds to 4000 seconds, rotate with uniform deceleration. The ideal situation is that when the replenished vehicle rotates 90° relative to the replenishment vehicle, the angular velocity of the relative replenishment vehicle can just be reduced to zero. From 4000 seconds to 5000 seconds, the replenished vehicle is pulled to the lateral interface of the node cabin at a constant speed along the y-axis direction of the replenishment vehicle by the mechanical arm to complete the redocking. From the process of configuration transformation, the relative attitude of the replenishment vehicle and the replenished vehicle is mainly reflected in the yaw axis.
In the simulation model, the replenishment vehicle is a rigid body dynamic model with flexible appendages. The solar panel of the replenished vehicle is retracted during the transfer process, regardless of the influence of its flexible mode, the flexibility of the manipulator, and its dynamic relationship. It is assumed that it can move according to the planned ideal trajectory, and the influence of atmospheric disturbance is considered during the transfer process. In the process of configuration transformation, the replenished vehicle to be transferred is in an uncontrolled state, and the whole system is controlled by a set of CMGs of pentagonal pyramid configuration. The nominal angular torque capacity of each CMG is 1000 nms, and the minimum angular torque on the angular torque envelope of each CMG is 4200 nms. It is still assumed that the combined body runs in a circular orbit 400 km away from the earth’s surface, and the orbital angular velocity is lower ω0 is a constant value of 0.0011 rad/s, and the sampling period is 200 ms. The initial attitude angle and angular velocity are assumed to be 1 θ = [0.0007 0.0008 0.001]°, θ = [0.001–0.001 0.001]°/s. The angular torque of the initial CMG is calculated from the initial frame angle of each CMG in the pentagonal pyramid configuration.
Without considering the influence of the manipulator, the relative attitude of the replenishment vehicle and the replenished vehicle in the transfer process is shown in Figure 14. If the replenishment vehicle is in the uncontrolled free-floating state during the configuration transformation, the attitude motion of the replenishment vehicle during the transfer process is shown in Figure 15. If the angular torque management of CMG is not carried out in the process of configuration transformation, and the replenishment vehicle maintains directional stability to the ground, the angular torque that CMG needs to absorb in the process of configuration transformation is shown in Figure 16. As can be seen from Figure 17, if the replenishment vehicle is not controlled during the transfer process, the attitude angle drift is too large. As shown in Figures 16 and 18, if the replenishment vehicle is strictly oriented to the ground during the transfer process, the disturbance angular torque absorbed by CMG will be large and reach saturation quickly, which will affect the accuracy of the transfer process.





After torque management is adopted, the identification results of the parameter identification unit are shown in Figures 17 and 19 when supplying the narrow TEA of the aircraft attitude tracking system during the transfer process. The closed-loop identification effect of the least square method with bounded gain forgetting factor is ideal, and it can track the changing torque of inertia of the system in the whole configuration transformation process.

The angular torque and attitude angle stored in CMG are shown in Figures 20–25. After the angular torque planning, the angular torque of CMG is strictly controlled within its capacity range during the whole transfer process (Figures 20 and 22), and the singular measure of CMG is far away from zero (Figure 23). The attitude maneuver of the replenishment vehicle is mainly reflected on the yaw axis (Figures 21 and 24), which can be verified by the relative motion of the replenishment vehicle and the replenished vehicle during the transfer process. In the controller design, the change history of nine states of the equivalent linear system is shown in Figure 25. Except the fifth state needs to track the time-varying reference input and the eighth rolling/pitching inertia product changes constantly during the transfer process, the other amplitudes fluctuate less, and the dynamic effect is ideal.






7. Conclusion
This paper studies the control problem of the variable mass body in the process of on-orbit service. Different from the traditional method, the feedback linearization method of the nonlinear system is used to design the controller. By realizing the tracking of narrow TEA in the process of configuration transformation, the error caused by the angular deviation between narrow TEA and earth orientation attitude caused by the large change of moment of inertia is avoided, and the ACMM controller is obtained. In order to improve the input information accuracy of the ACMM controller, the least square method with a bounded gain forgetting factor is introduced to track the real variable parameters. This method does not need continuous excitation. A joint attitude control/angular momentum management controller is designed to effectively stabilize the system and reduce the angular momentum saturation of the attitude control system during on-orbit service. In the numerical simulation of the configuration transformation process, we compared the changes in CMG angular momentum management in the configuration transformation process. If the supply aircraft is kept strictly oriented to the ground during the transfer process, the disturbance angular momentum absorbed by CMG will quickly reach saturation and need to be unloaded, which will affect the accuracy of the transfer process. If CMG management is carried out and the least square method with bounded gain forgetting factor is used for closed-loop parameter identification, CMG saturation is effectively controlled. This shows that the ACMM controller can track the changing moment of inertia of the system, which provides a solution to the problem of variable quality control in on-orbit service.
Data Availability
The data used to support the findings of this study are available from the corresponding author upon request.
Conflicts of Interest
The authors declare that they have no conflicts of interest.