1. Introduction
With the development of technology, the functions of satellites have been continuously enhanced [
1,
2] to meet more and more space mission requirements. In particular, satellite formation technology [
3] has opened up a new space for the application of small satellites. Satellite formation refers to the close cooperative movement of multiple satellites in a specific configuration, which has broad application prospects in earth observation, astronomical observation, and deep space exploration. However, accurate formation configuration maintenance requires frequent maneuver control. Traditional thrusters consume a lot of propellant and cause plume pollution, and the mission life of formation flight is restricted by the available propellant.
Electromagnetic formation flight (EMFF) has attracted extensive attention as a formation flying technology without propellant consumption [
4,
5]. The operational principle of EMFF is that each satellite is equipped with electromagnetic coils equivalent to a magnetic dipole, and the interaction between magnetic dipoles generates electromagnetic force and electromagnetic torque to control the relative motion of the satellites. The inter-satellite electromagnetic force has the advantages of non-contact and continuous adjustment, and its feasible interaction range is tens to hundreds of meters [
6]. However, the nonlinearity and coupling of electromagnetic force/torque, the uncertainties of the electromagnetic model and inertia moment of the satellites, the effect of the geomagnetic field on electromagnetic satellites, and the high-precision control requirements of space missions on formation satellites pose challenges to the dynamic modeling and controller design of EMFF.
The 6-DOF dynamic modeling of EMFF usually decouples the relative position and attitude. The inter-satellite electromagnetic force controls the relative translational motion of the satellite. Each satellite is equipped with reaction wheels to control the satellite’s attitude [
7]. The electromagnetic torque is treated as the disturbance torque. The electromagnetic frame is introduced to decouple the relative translational dynamics model and the electromagnetic model to reduce the nonlinearity of the translational dynamics model. The electromagnetic frame is obtained by rotating the orbital coordinate system several times, and the relative position coordinates of the satellites determine the rotation angle [
8]. However, the problem caused by the above electromagnetic frame is that the rotation angle may appear singular in some cases. In addition, when the 3D electromagnetic model is used to solve the magnetic dipole with a given electromagnetic force profile, it is challenging to allocate and optimize the magnetic dipoles in real time due to the nonlinearity and coupling of the far-field electromagnetic model. Some studies discussed the optimization problem of magnetic dipoles to minimize the energy consumption of the electromagnetic coil or the angular momentum of the reaction wheel [
9,
10,
11,
12,
13]. Huang [
9] introduced the dipole parameter to represent relations between electromagnetic force and torque, sought the analytical dipole solution to minimize the electromagnetic torque, and optimized the angular momentum based on sliding mode control. Schweigheart [
10,
11] proposed the homotopy method to solve the magnetic dipoles for the multi-satellite formation and used the effective set method and gradient projection method to optimize the dipoles. However, these methods are mainly based on numerical optimization and rely on the initial value of the dipoles. If the initial value is set unreasonably, the dipoles’ magnitude will differ among different satellites. In addition, the dipoles cannot be optimized online. We propose the electromagnetic frame construction method based on energy optimization constraints to solve the above problems. The realization of the coordinate transformation between the electromagnetic coordinate system and the orbital coordinate system does not require a transformation matrix. In addition, the electromagnetic model can be expressed as the two-dimensional model in this electromagnetic frame, significantly reducing the nonlinearity and coupling. The proposed envelope diagram of the electromagnetic force can intuitively show the relationship between the electromagnetic force and the dipoles. According to the electromagnetic force envelope, we give the analytical dipole solutions for the two optimization objectives of energy optimization and dipole differentiability.
For EMFF in low earth orbit, the Earth’s strong magnetic field will produce considerable disturbance torque on the satellite, and angular momentum management may be a problem. The polarity reversal method proposed in [
14,
15] refers to simultaneously changing all satellites’ magnetic dipoles’ signs. At this time, the direction of the disturbance torque of the geomagnetic field on satellites varies to unload the angular momentum, while the electromagnetic force between satellites remains unchanged. The frequency division multiplexing (FDM) technique proposed in [
16,
17,
18] refers to modulating the electromagnetic coil current of satellites with periodical carriers, and the carrier frequency is much higher than the formation orbit frequency. The advantage of the FDM method is that the average value of the disturbance torque on each satellite caused by the Earth’s magnetic field in a modulation period is almost zero. The FDM method produces effective control but also brings transient residual electromagnetic force. We use a simple form of carrier current to modulate the magnetic dipoles, and the residual electromagnetic force can be treated as a real-time disturbance.
External disturbance force/moment, inertia matrix uncertainty, and coupled nonlinear terms are considered uncertain parts of the satellite attitude and orbit control system [
19]. In addition, considering the electromagnetic model’s uncertainty and actuators’ saturation is also very necessary to study EMFF. Achieving high-precision formation control performance in the presence of the above issues is challenging. Some scholars have researched control methods of EMFF, such as adaptive control [
7,
14], sliding mode control [
15,
20], linear quadratic regulation (LQR) control [
21,
22], and robust suboptimal control [
12]. Due to the strong nonlinearity and coupling of EMFF dynamics, most controllers need to rely on accurate dynamics models to achieve high-precision control of EMFF. However, the active disturbance rejection controller (ADRC) is a robust control method that does not need to rely on the dynamics model. It can estimate and compensate for the external disturbance and the model uncertainty of the system online. Ref. [
23] discussed the estimation uncertainty ability of the extended state observer (ESO), the core component of ADRC, and gave the observable disturbance range of ESO under bounded observation error. In recent years, ADRC has been widely used in many fields [
24]. However, ADRC is rarely used in EMFF. We propose an ADRC controller for 6-DOF EMFF and analyze the influence of continuity and differentiability of magnetic dipoles on ESO observation error for improving the system control accuracy.
This paper analyzes the dynamic characteristics of the two-satellite EMFF, discusses the problem of magnetic dipole assignment, and proposes the 6-DOF control of EMFF based on the active disturbance rejection control (ADRC) framework considering the angular momentum management strategy of the polarity reversal and the frequency division. The contributions of this paper are summarized as follows:
An electromagnetic frame construction method based on energy optimization constraint is proposed, which simplifies the orbital frame and the electromagnetic frame relation, and realizes coordinate system transformation without using the transformation matrix.
To reasonably assign the magnetic dipoles, the relationship diagram between the electromagnetic force envelope and the magnetic dipoles is established, and the magnetic dipole solutions with optimal energy and differentiable dipoles are given. In addition, the differentiable magnetic dipoles can ensure the differentiability of the disturbance torque of the geomagnetic field on the satellite, which is conducive to reducing the observation error of ESO.
The frequency division method is proposed to aim at the angular momentum management problem. The carrier current is simple in form, without phase modulation. The alternating part of the generated electromagnetic force is treated as an external disturbance. ADRC estimates and compensates for the system’s model uncertainties and external disturbance in real time.
The remainder of this paper is organized as follows.
Section 2 introduces the dynamic model of the two-satellite electromagnetic formation.
Section 3 proposes the magnetic dipoles allocation methods and angular momentum management strategies.
Section 4 presents the translational and attitude control of the two-satellite formation based on ADRC. The numerical simulation results are discussed in
Section 5. Finally, some useful conclusions are given.
3. Magnetic Dipole Assignment
The current of the electromagnetic coils has a maximum limit, so it is necessary to consider the problem of control input saturation of electromagnetic formation. The maximum inter-satellite electromagnetic force provided by the magnetic dipoles depends on the inter-satellite distance, the maximum current of the coils, and the direction of the magnetic dipoles. This section analyzes the electromagnetic force envelope, dipole assignment, and optimization of the two-satellite electromagnetic formation.
3.1. Electromagnetic Force Envelope
The electromagnetic force envelope is the electromagnetic force range the system can provide in all directions when the maximum current enters the electromagnetic coils. Let
,
reflect the control ability of electromagnetic formation. The range in
is the envelope of the gray area in
Figure 4. This envelope [
31] shows the relationship between the electromagnetic force and the magnetic dipole, providing a theoretical analysis basis for dipole assignment.
3.2. Magnetic Dipole Assignment
EMFF must provide the required control force for each satellite in the formation in real time. It is crucial to assign the magnetic dipoles for each satellite reasonably. Because the system has a certain degree of freedom, the magnetic dipoles have infinite solutions so that we can set the optimization objectives according to the task requirements.
This paper discusses the analytical solutions of magnetic dipoles with energy optimization and differentiability, respectively, according to the electromagnetic force envelope.
(1) Optimal energy strategy
The optimal energy strategy refers to the magnetic dipole assignment strategy to achieve the minimum power consumption of electromagnetic coils for a specific electromagnetic force. Since the electric power consumption of the coil is proportional to the square of the current, and the magnetic dipole is proportional to the current, the objective function of the optimal energy strategy can be expressed as . Thus, is proportional to . The maximum envelope of electromagnetic force refers to the maximum electromagnetic force that the system can provide in all directions when passing the maximum current through the electromagnetic coils. When the maximum electromagnetic force envelope is selected for a specific electromagnetic force, is the minimum, and is the minimum.
The magnetic dipole solution with the minimum energy consumption of the electromagnetic coils [
31] corresponds to the envelope of the maximum electromagnetic force. When
holds, then
; when
holds, then
; when
holds, then
.
are piecewise functions varying with
, and they are continuous but nondifferentiable at the piecewise point. When
varies in multiple intervals, the magnetic dipole solution with the minimum energy consumption is continuous but nondifferentiable at the segmentation point, so the disturbance torque acting on the satellite from the earth’s magnetic field is nondifferentiable.
(2) Magnetic dipole solution differentiable strategy
We propose another magnetic dipole assignment strategy to ensure the magnetic dipole solution’s differentiability and optimize energy consumption. The smooth electromagnetic force envelope can ensure the differentiability of dipole solution at any moment of EMFF. In addition, the larger the electromagnetic force envelope, the smaller the energy consumption of the coils. The elliptical electromagnetic force envelope passing through points
and
satisfies the above requirements. At this time, the parameters have the following relationship.
The maximum electromagnetic force envelope and the maximum elliptical electromagnetic force envelope of
are shown in
Figure 5a. The corresponding curves of
and
changing with
are shown in
Figure 5b,c.
corresponds to the maximum envelope of
, and
corresponds to the maximum ellipse envelope of
.
The optimal energy strategy minimizes coil energy consumption. The magnetic dipole differentiable strategy can ensure that the disturbance torque from the geomagnetic field on the electromagnetic satellite is continuously differentiable, which is conducive to further improving the attitude control accuracy.
3.3. Angular Momentum Management
Due to the disturbance torque from the geomagnetic field, the angular momentum of the reaction wheel increases rapidly when the reaction wheel is used to control the satellites’ attitude. Therefore, taking some measures to manage the angular momentum of the reaction wheel is crucial. The polarity reversal and the frequency division methods for angular momentum management are discussed below.
(1) Polarity reversal method
The polarity reversal operation changes the magnetic dipoles’ signs at regular intervals. According to Equation (5), the inter-satellite electromagnetic force does not vary. According to Equation (19), the disturbance torque from the geomagnetic field act on the satellite changes sign. When the polarity reversal period is short, resulting in a net cancellation of the effect of the geomagnetic field on average.
(2) Frequency division method
The magnetic dipole of each satellite is excited by a fixed sinusoidal current source whose frequency is much higher than the formation orbit frequency.
The magnetic dipoles in the electromagnetic frame can be expressed as
where
is the carrier frequency. It can be seen from Equation (21) that the frequency division strategy can ensure the continuity of the magnetic dipole solution.
At this time, the electromagnetic force/torque is expressed as
From the above formula, it can be seen that both electromagnetic force and electromagnetic torque contain constant and harmonic components. The constant part of the electromagnetic force is used for the control input of effective relative position control. In contrast, the harmonic part forms a disturbance force and must be eliminated or compensated. The effective electromagnetic force is 1/2 of that without the frequency division.
For the electromagnetic formation in low Earth orbit, the magnetic dipoles show periodicity using the frequency division method, and the modulation period is far less than the orbital period. According to Equation (19), the disturbance torque from the geomagnetic field acting on the satellites will show a periodicity with an average value of almost zero.
4. Electromagnetic Formation Flight Control
Given the highly nonlinear and coupling characteristics of the dynamics of the electromagnetic formation, we propose centralized control for translational motion and decentralized control for attitude motion by regarding the electromagnetic torque between satellites as interference torque. The electromagnetic model used in this paper is the far-field model, and its model error can reach about 10% when the satellites are very close. In addition, the inertia matrix of the satellite also has some uncertainty. Active disturbance rejection control (ADRC) provides a control method for online estimation and compensation of the total uncertainty. Because the total uncertainty is compensated in time, the expected transient performance of the closed-loop system can be achieved [
32,
33,
34,
35]. Considering these factors, we propose a control scheme using ADRC to compensate for the system’s unmodeled dynamics and external disturbance estimates. The control purpose of this paper is to ensure the translational and attitude control accuracy of formation satellites, keep the angular momentum of reaction wheels within the allowable range, and avoid rapid accumulation as much as possible. The control diagram is shown in
Figure 6.
4.1. Translation Control
Equation (9) gives the translational dynamic equation of the two-satellite electromagnetic formation. Assuming the expected state of the relative position of the two satellites is
, let
,
. The electromagnetic model in this paper adopts the far-field electromagnetic model. The accurate electromagnetic model is usually considered as the sum of the far-field model term and the correction term [
8].
is the unknown gain parameter obtained through measurement, and
is the correction term. System (9) can be rewritten as
where
,
.
According to [
34], the following linear extended state observer (LESO) is designed for system (23).
where
.
The characteristic equation of observer (24) is summarized as
The observer gain parameters are designed to satisfy that
are Hurwitz polynomials. According to [
34], let
, then
. LESO has estimated the impact of both model dynamics (including unmodeled dynamics and uncertainties) and external disturbances.
If
and
are measurable and reliable, estimating them is unnecessary, and the reduced-order ESO can be designed as
where
.
Equation (26) can be rewritten as
where
.
Based on the online estimation of total disturbance, ADRC can be designed as
where
and
can be set for simplicity, and
is the controller bandwidth. References [
34,
35] analyzed the convergence of linear ADRC for such MIMO systems and proved that the error between the closed-loop system trajectory based on ADRC and the reference closed-loop system trajectory is limited by a bound.
The maximum current value constrains the electromagnetic force between satellites, and the maximum control input that the system can provide is expressed as
To treat the control constraints, we rewrite the control input as
where
.
4.2. Attitude Control
The following mild assumptions for the systems (12)–(16) are given:
(1) Each satellite in the formation is equipped with three orthogonal reaction wheels for decentralized control of satellite attitude.
(2) In the satellite attitude model Equation (12), full states can be measured. This implies that the unit-quaternion and the angular velocity are available in the controller design.
(3) The satellite’s inertial matrix is , where selected nonsingular is the known constant matrix. is the uncertainty part of the inertial matrix.
Because of
, we can obtain
. Equation (16) can be summarized as
where
represents the total uncertainty of the system, expressed as
.
In this paper, we aim to design a feedback controller so that the state of the closed-loop system (12) tracks the desired attitude motion (14), which can be expressed as follows.
According to Equation (11), the control objective can be expressed as
Then to estimate the unknown uncertainties
, the following linear extended state observer (LESO) can be designed.
The observer gain is
. The design gain parameters satisfy the condition that
are Hurwitz polynomials. Let
, then
. The outputs
and
of ESO (34) are used to estimate
and
, respectively. Refs. [
34,
35] proved that the estimation error could be as small as possible.
If
is measurable and reliable, estimating it is unnecessary, and the reduced-order ESO can be designed as
where
It can be further reorganized as
where
.
Then based on the online estimation of total disturbance or extended state, the controller is designed as
where
is the virtual control. For simplicity, we can set
, where
is the controller bandwidth. The controller bandwidth is adjusted according to the tracking convergence speed and stability. A larger controller bandwidth will improve the response speed but make the system more noise-sensitive, leading to system oscillation.
From Equations (31) and (37), we get the reference error system:
where
,
.
Lemma 1 (Lohmiller. W. et al. [
36])
. A system with a virtual dynamics of the formis known as the hierarchical combination. The system will be converging if the submatrices and are uniformly negative definite and is bounded. furthermore, with Bounded disturbance added to the dynamics and Bounded disturbance added to the dynamics, the system exponential convergence to a ball around the desired trajectory. We note that the error system (38) is a hierarchical combination system, and can be considered a bounded disturbance added to dynamics. According to Lemma 1, the error system can converge exponentially to a ball around the origin.
5. Simulation Analysis
In this section, a two-satellite electromagnetic formation flight near-Earth orbit is simulated and used to verify the effectiveness of the control method and the angular momentum management strategies. Suppose that the formation center of mass is running in a circular orbit at an altitude of 500 km, and the attitude of the satellites is consistent with the orbital frame. The two satellites maintain a fixed distance , the relative motion period of the satellites is , and the relative position vector of the satellites is designed as , where . The mass of each satellite is 150 kg, and the inertia matrix is ; the maximum magnetic dipoles are ; the maximum output torque of the reaction wheels is . The initial relative position is , and the initial relative angular velocity vector is .
Assume that the inertial uncertainty of the satellite is and the uncertainty of the electromagnetic far-field model is 8%. In the simulation design, the initial deviation and the external disturbance force and torque mainly caused by the J2 perturbation of the earth and the effect of the earth’s magnetic field are added to each channel. The external disturbance force is assumed to be a sinusoidal noise varying with the orbital period. The disturbance torque on the satellites mainly comes from the earth’s magnetic field. The inter-satellite electromagnetic torque and the disturbance torque on the satellites from the earth’s magnetic field are solved by Equations (4) and (16), respectively. In addition, assuming the electromagnetic satellite is also subject to other periodic external disturbance torque of . The initial state errors of the relative translational motion are chosen as and . The initial error quaternion of satellite A is , and the initial angular velocity error is . The dynamics of the electromagnetic formation system are simulated using the numerical differential equation solver ODE45 in a personal notebook.
5.1. Optimal Energy Strategy
The control parameters for numerical simulation are designed as
.
Figure 7 gives the three-dimensional configuration of the formation, the relative position error, the relative velocity error, and the inter-satellite electromagnetic force acceleration. The relative position and relative velocity errors converge to a small boundary containing 0 within 150 s, and the steady-state errors are less than
m and
m/s in the presence of model uncertainty and external disturbance. The system has achieved high control accuracy and can meet the requirements of many engineering applications, implying the proposed controller can estimate and compensate for the total disturbance of the system well.
The magnetic dipole assignment with the energy optimization strategy is shown in
Figure 8a. The magnetic dipole solution curve is continuous, and there are cusps at some points, that is, nondifferentiable points determined by the characteristics of the maximum envelope of the electromagnetic force.
Figure 8b displays the curves of disturbance torque acting on satellite
A from the geomagnetic field, and the curves are also continuous and nondifferentiable at the cusps. Take satellite
A as an example.
Figure 8c–f displays the attitude error, angular velocity error, the control torque input, and the angular momentum of the reaction wheels varying with time. The attitude and angular velocity errors converge to the small boundary within 40 s, and the steady-state errors are less than
and
rad/s, respectively. There are significant convergence errors at the non-differentiable points.
5.2. Dipole Solution Differentiable Strategy
The magnetic dipole assignment with the solution differentiable strategy and the differentiable disturbance torque acting on satellite
A from the geomagnetic field are illustrated in
Figure 9a,b. The resulting curves of satellite
A in attitude error, angular velocity error, control torque, and angular momentum are presented in
Figure 9c–f. Compared with the control under the energy optimization strategy, the attitude control accuracy is improved, but the angular momentum accumulation is slightly increased. The differentiable magnetic dipole solution is conducive to enhancing attitude control accuracy.
5.3. Polarity Reversal Strategy
The magnetic dipoles of the two satellites with the energy optimization strategy switch their pole signs every 100 s.
Figure 10a,b gives the magnetic dipole assignment with the polarity reversal strategy. The magnetic dipoles are discontinuous at the switching points, causing the disturbance torque on satellites from the geomagnetic field to be discontinuous at the switching points. The curves of satellite
A in attitude error, angular velocity error, control torque, and angular momentum are depicted in
Figure 10c–f. Because the disturbance torque from the geomagnetic field is discontinuous when the magnetic poles are switched, the attitude and angular velocity tracking error of the satellite becomes larger. The attitude control accuracy of this strategy is one order of magnitude lower than the control accuracy without switching. However, the polarity reversal method can dramatically reduce angular momentum accumulation.
Figure 11a,b gives the magnetic dipole assignment with the energy optimization strategy and the polarity reversal strategy, and the dipoles shift polarity every 20 s. The curves of satellite
A in attitude error, angular velocity error, control torque, and angular momentum are depicted in
Figure 11c–f. Compared with the switching period of 100 s, the frequency of pole switching increases so that the accumulation of angular momentum of the reaction wheel is in a smaller range over a period.
5.4. Frequency Division Strategy
The magnetic dipoles are modulated with carrier current, where the carrier frequency is set as
. Control parameters are set as
.
Figure 12 gives the relative translational states tracking errors and magnetic dipole assignment, where the magnetic dipole solution shown in
Figure 12d are the magnetic dipoles not multiplied by the carrier current. The relative position and relative velocity errors converge to a small boundary containing 0 within 210 s, which shows that the ADRC scheme can well estimate and compensate for the harmonic disturbance generated by the frequency division strategy.
As shown in
Figure 13a,b, the tracking errors of attitude and angular velocity of satellite
A can converge quickly, and the control accuracy is an order of magnitude higher than the polarity reversal strategy. The control torque in
Figure 13c changes periodically with the carrier current, and the angular momentum in
Figure 13d of satellite
A is in a small range for a long time.
Table 1 compares simulation results of relative translational and attitude motion under different magnetic dipole assignment strategies and angular momentum management strategies. The results show that the differentiability of the magnetic dipole is conducive to reducing the steady-state error of the electromagnetic satellite’s attitude, thus improving the control performance of the formation. The magnetic pole switching strategy generates a larger steady-state error of the satellite’s attitude because the magnetic pole switching makes the disturbance torque from the geomagnetic field on the electromagnetic satellite discontinuous, thus affecting the LESO’s ability to estimate the external disturbance. The magnetic pole switching strategy and frequency division method can ensure that the angular momentum of the satellite is maintained in a small range for a long period, significantly improving the rapid accumulation of the angular momentum of the reaction wheel. In addition, the frequency of magnetic pole switching also affects the satellite attitude’s steady-state error and angular momentum accumulation. More frequent switching keeps the angular momentum in a small range. The frequency division method not only produces effective electromagnetic control force but also brings interference force varying with the magnetic dipole, which impacts the steady state error of the relative position of the satellite. Compared with the magnetic pole switching strategy, the control accuracy of the satellite’s relative position is reduced, while the control accuracy of the attitude is improved.
Reference [
12] proposed the
suboptimal controller for the reconfiguration of a two-satellite electromagnetic formation in the presence of external disturbances. The steady-state errors of relative position and velocity in [
12] are in the order of magnitude of
m and
m/s. The steady-state errors of relative position and velocity in our simulation work are in the order of magnitude of
m and
m/s, especially in the non-frequency division strategy, the steady-state errors of relative position and velocity are in the order of magnitude of
m and
m/s. In addition, we extend the control of electromagnetic formation to the full 6-DOF control. Relative translation control and attitude control can both achieve high control accuracy, which can meet the requirements of many engineering applications [
37]. The different control strategies proposed in this paper can be applied in different application backgrounds.