1. Introduction
Satellite formation flying allows for coordinated missions where multiple satellites work together to achieve objectives that a single satellite could not accomplish [
1]. Compared with single-satellite missions, satellite formation technology can improve system mission flexibility, redundancy, and overall performance through joint observation, data sharing, and functional collaboration among multiple satellites. This technology has demonstrated wide application prospects in various fields such as earth observation, scientific exploration, communications, and navigation [
2,
3,
4].
To achieve the coordinated operation of multiple satellites within a formation, precise control of the relative motion between satellites is required. Dynamic modeling of relative motion is the foundation for realizing formation control. The Clohessy–Wiltshire equations are a set of classical linear relative motion dynamic equations used to describe the relative motion between formation satellites on near-circular orbits [
5]. Due to their linearization characteristics and the existence of analytical solutions, the Clohessy–Wiltshire equation has low computational complexity and is widely used in orbit control problems for formation flying. However, the Clohessy–Wiltshire equation assumes that the motion of formation satellites relative to the leader satellite is a linear system, neglecting higher-order nonlinear terms. In cases where formation satellites are far apart or operate for extended periods, the errors resulting from the linear assumptions can significantly increase. To address the limitations of the Clohessy–Wiltshire equation, researchers have proposed a series of modification schemes, such as adopting nonlinear dynamic models or using numerical integration methods to combine linear and nonlinear terms for correction. For nonlinear dynamic problems, decomposition methods are commonly used to separate the linear and nonlinear terms in the dynamic equations and solve them using high-precision numerical methods to ensure the accuracy and stability of the control system. This method can effectively reduce system errors and meet the requirements of high-precision formation control [
6]. Numerous formation flying control design results have also been found in the literature when the nonlinear dynamics are considered [
7,
8,
9,
10]. To name a few, the authors of [
11] provided a neural network-based adaptive sliding mode control scheme for satellite formation flying, and the negative effects of uncertainties together with external disturbances on the relative position and attitude were handled. A second-order sliding mode controller was developed for satellite formation flying in [
12], where the derivation of the switching function of the sliding mode controller was not used. Alternatively, the authors of [
13] designed a nominal controller by applying Udwadia and Kalaba’s approach, based on which adaptive laws and robust control schemes have been designed to deal with system uncertainty and possible initial condition deviation from the constraints. Considering the collision avoidance of satellites, several safety control schemes have been reported; see, for example, [
14,
15,
16,
17].
Although related safety control results for satellite formation flying exist in the literature, a more effective approach, namely, control barrier function-based safety control, has not been fully exploited. This method can handle complex safety constraints and strictly guarantee global safety. Ames et al. in [
18] provided an introduction of the control barrier function and discussed its application of designing safety control schemes. Using the control barrier function method, great progress has been made in safety control [
19,
20,
21]. A control barrier function-based safety control algorithm was developed for a constrained robot in [
22]. When Gaussian process and measurement noises were considered, the authors of [
23] presented a framework for constructing control barrier functions for stochastic systems, based on which safety control schemes were provided. To deal with the situation in which the relative degree of the control barrier function with respect to the targeting dynamic system is greater than one, high-order control barrier functions have been constructed, and corresponding safety control can be designed based on such functions [
24,
25,
26]. Facing the complicated external environment, it is necessary to develop safety control schemes for satellite formation flying to avoid collisions by using the control barrier function, which can effectively deal with the complex safety constraints.
Inspired by advances in control barrier functions and the need to ensure satellite safety, this paper investigates the safety control problem of satellite formation flying. A control barrier function-based safety control scheme is devised to strictly ensure the safety of satellites. The main contributions of this paper can be summarized as follows.
(1) A high-order control barrier function is constructed for a dynamic model of satellite formation flying. The safe set is defined based on the constructed control barrier function.
(2) An optimization problem, where the Lie derivative of the high-order control barrier function is added as the constraint, is clearly formulated. The safety controller can be obtained by solving the optimization problem in a real-time manner.
The remainder of this paper is organized as follows.
Section 2 describes the problem formulation and preliminaries. The safety control design results are provided in
Section 3.
Section 4 presents the simulation results to show the effectiveness of the proposed safety control scheme, and the paper is concluded in
Section 5.
2. Problem Formulation and Preliminaries
This section mainly discusses how to establish the model of the satellite formation flying and introduces some preliminaries of safety control based on the control barrier function. Following this description, the purpose of this paper is presented. The details are given in the rest of the section.
2.1. Dynamic Model of Satellite Formation
A satellite formation consists of two or more satellites that work collaboratively to accomplish a common task. The key to formation flying is the control of the relative position and velocity between satellites, which requires precise dynamic models. The study of satellite formation dynamics primarily focuses on describing and predicting the relative motion among the satellites that comprise the formation. Each satellite in the formation is influenced by various gravitational forces, and the interactions of these forces determine the satellites’ trajectories.
As shown in
Figure 1, assume that the reference satellite is operating in a circular orbit with a radius
. The
coordinate system represents the Earth-centered inertial frame, while the
coordinate system is the reference satellite’s orbital frame. The
axis points from the Earth’s center towards the reference satellite, the
axis points in the opposite direction of the reference satellite’s motion, and the
direction is determined by the right-hand screw rule. In the orbital coordinate system, the position vector of the accompanying satellite is represented as
. When neglecting the influence of gravitational forces, the Lagrangian function for the motion of the accompanying satellite relative to the reference satellite is described as
where
,
is the gravitational constant of the earth,
m is the mass of the orbiting satellite, and
is the orbital angular velocity of the central body.
Substituting Equation (
1) into the Lagrange equation yields the following dynamics model for the satellite formation:
It can be observed that Equation (
2) is nonlinear, and due to the fact that the relative distance between the reference and accompanying satellites is much smaller than the orbital radius of the primary star, the model in (
2) exhibits weak nonlinearity.
By performing a Taylor expansion on the nonlinear terms and retaining the lower-order terms, the nonlinear model (
2) can be linearized as follows.
The linearized dynamic model (
3) has become a commonly used tool in research on satellite formation dynamics and control due to its concise mathematical form. However, when formation satellites require significant orbital maneuvers and adjustments, the prediction accuracy of the linear model drops significantly, making it difficult to accurately describe the actual motion of the system. Additionally, since the linearization assumption neglects second-order and higher-order nonlinear terms, it may lead to instability in the system under certain conditions. Therefore, when dealing with complex space environments where nonlinear effects are prominent, the linear model has limited applicability and fails to meet the requirements for high-precision control.
In this paper, the nonlinear Equation (
1) is equivalently rewritten as a combination of a linear part and a nonlinear part. The following equivalent expression of Equation (
1) is obtained.
Considering the control input of the accompanying satellite, the above equation can be described as
where
,
, and
are the control input of the accompanying satellite, respectively. (Here, the subscripts of the control inputs are set as 1, 3, and 5 for facilitating the following descriptions).
For satellite formation flying, one can design a simple PID controller to tune the position of the accompanying satellite. However, taking into account the physical dimensions of the accompanying satellite and the reference satellite, it is necessary to avoid collisions between the accompanying satellite and the reference satellite when the position of the accompanying satellite is driven to that of the reference satellite. The traditional PID control and even some intelligent control methods cannot satisfy such a requirement. To this end, a safety control scheme is devised in this paper. Before proceeding, the related preliminaries are first given.
2.2. Control Barrier Function
In this paper, the control barrier function is introduced to design a safety controller for the satellite formation flying. Some preliminaries concerning the safety control based on the control barrier function is provided.
Consider the following control affine nonlinear system:
where
is the system state, and it is forward complete.
u is the control input to be designed. The nonlinear functions
and
are locally Lipschitz.
For System (
5), define the set
as
where
is a continuously differentiable function.
Before proceeding further, the following definitions are given to explain the forward invariant, barrier function, and control barrier function.
Definition 1. If any initial value can make for any , the set is forward invariant.
If the function
satisfies Definition 2, the function
is a barrier function of System (
5).
Definition 2. If there exists a class function such that holds , the function is a barrier function of System (5). Per the descriptions mentioned above, Definition 3 provides the definition for the control barrier function.
Definition 3. For the defined set , if there exists a class function such that the following inequality holds, the function is a control barrier function of System (5).where and are the Lie derivative operations, and the expressions are given as below. If the relative degree of the Lie derivative of the control barrier function with regard to System (
5) is one, according to Theorem 2 in [
27], there exists a control input
u such that the set
is forward invariant for System (
5).
Per the aforementioned discussion, one can describe the safety constraints for System (
5) by constructing a control barrier function
, based on which the safety set
can be defined, namely,
where
is the boundary of the set
, and
is the inner of the set
.
Then, one can calculate the safety controller
u by solving the following optimization problem.
Once the controller
u is obtained in a real-time manner by solving the above problem, the safety of System (
5) can be guaranteed. Obviously, the stability of System (
5) is not considered in the above problem. If one adds the constraint on the control Lyapunov function, both the safety and stability of System (
5) can be preserved. For more details, one can refer to the literature, for example, [
28,
29].
The aim of this paper is to design a safety controller for the accompanying satellite and avoid collisions between the reference satellite and the accompanying satellite. Specifically, one problem to be solved is to construct an appropriate control barrier function for the provided formation flying model. The other lies in devising a safety control algorithm for the accompanying satellite.
To clearly formulate the control problem to be solved based on the previous description, it can be summarized as follows. Constructing an appropriate control barrier function and defining the safe set for System (
4), one should design a controller, which can enable the states of System (
4) to satisfy the safe set all the time.
3. Safety Control Design
This section mainly discusses how to solve the problems mentioned above and design a safety controller for the accompanying satellite. A high-order control barrier function is first designed based on the satellite formation flying model. Then, a quadratic programming based safety control problem is formulated to calculate the safety controller. The details are presented below.
3.1. High-Order Control Barrier Function Design
Before discussing how to design the control barrier function, System (
4) is rewritten as the state space form. Defining
,
,
,
,
, and
, one can rewrite System (
4) as
where
,
, and
is the set of safety positions of the accompanying satellite.
To facilitate the following description, a compact form of (
8) is described as
where
, and
is determined based on (
8).
To guarantee the safety of the satellite formation flying system, and considering the sizes of both the reference satellite and the accompanying satellite, the position variables must satisfy
,
, and
simultaneously, where
are the safety distances of the reference satellite and the accompanying satellite. Then, the following control barrier functions are defined for System (
9).
According to the above description and the results in [
18], the safety set
can be defined as
, where
, respectively, represents the superset of the control barrier functions
. Furthermore,
is defined as
where
denotes the boundary of the set
, and
is the inner of the set
.
According to Definition 1, for the initial position of the satellite formation , if one can design a safety controller u such that holds for , the safety set is forward invariant. In this case, the safety constraint of the satellite formation flying can be guaranteed.
To preserve the forward invariant property of the safety set
, calculate the Lie derivative of the control barrier function
along System (
9). The Lie derivative of the control barrier function
is required to satisfy the following inequality.
where
is a
class function.
By directly computing the Lie derivative of the control barrier function, it is clear that , which means the control input does not exist in the expression of the Lie derivative of the control barrier function . Accordingly, the Lie derivative of the first-order control barrier function cannot be directly utilized as constraints to calculate the safety controller. A high-order control barrier function needs to be constructed to ensure that the safety set is forward invariant.
As seen from System (
9), if one calculates the Lie derivative twice for the control barrier function
along the trajectory of System (
9),
holds. Namely, the relative degree of the control barrier function
with regard to System (
9) is 2. The relative degree of the control barrier function with regard to System (
9) is greater than 1. To construct the control barrier function for System (
9), define the following functions.
where
and
are
class functions.
Furthermore, the following sets can be defined based on the above functions.
If there exist
class functions
and
such that
hold for
, the function
is a secoond-order differential higher-order barrier function with regard to System (
9), and the set
is forward invariant.
For System (
9), considering the set
and the functions
,
,
, if there exist
class functions
and
satisfying the following inequality:
where the function
is a control barrier.
Accordingly, designing a control barrier function
for System (
9) yields the following safety control input set:
3.2. Quadratic Programming-Based Safety Control
Based on the high-order control barrier function designed in the above subsection, this subsection introduces how to solve for a safety controller that guarantees forward invariance of the safe set, i.e., ensuring the safety of satellite formation flights. During the design of safety control, it is necessary to ensure the stability of satellite formation flights as much as possible. Currently, various control methods can be utilized to design controllers that guarantee stability, such as traditional control methods like PID control, PD control, sliding mode control, and deep reinforcement learning algorithms. Any of these control methods can be employed to design a baseline controller that ensures the stability of satellite formation flights. In this section, aiming at System (
9), the PD control method is adopted to design a controller that guarantees the system stability. The PD controller is formulated as follows.
where
,
,
,
,
, and
are controller gains to be designed.
Then, the safety control problem for the satellite formation flying can be solved by solving the following optimization problem.
Based on the description of the aforementioned quadratic programming problem, it can be seen that the objective is to make the safety controller approximate the PD controller as much as possible under the constraints of the high-order control barrier function. In this scenario, the stability of the system can be ensured as much as possible, and when there is a conflict between stability and safety, the solved controller can effectively guarantee the safety of the satellite formation.
Furthermore, if a baseline controller is not designed, the safety controller can also be solved by introducing constraint conditions of the control barrier function and the control Lyapunov function. To prioritize safety, relaxation factors must be introduced into the constraints of the control Lyapunov function. The specific formulation of the optimization problem is similar to the aforementioned optimization problem and will not be described in detail here.
4. Simulation Results
This section provides the simulation results to show the effectiveness of the proposed safety control scheme. Comparisons with the PD control and model predictive control (MPC) methods without using control barrier functions are also given to illustrate the necessity of considering safety constraints.
This section verifies the effectiveness of the satellite formation flight safety control method proposed in this paper through computer simulations and demonstrates the advantages of our method by comparing it with the PD control and model predictive control (MPC) methods without using control barrier functions.
In the simulations, the orbital radius is assumed to be 8000 km, and on the basis of this, the constant orbital angular velocity of the parent satellite can be calculated using the gravitational constant of the Earth. The parameters of the PD controller are as follows.
For the parameters used in MPC, the values of the diagnose weighting matrices Q and R are set, respectively, as 0.2 and 0.1. The constraints of the control inputs belong to , and the horizon is set as 2. The initial conditions are set the same as those in PD and safety control.
The initial relative positions and velocities of the reference satellite and the accompanying satellite are stochastically chosen from an interval, that is, , , and , and , , and . The parameters are set to 10, which denotes the dimensions of the satellite. In this case, the relative positions , , and should be greater than 10 to satisfy the safety constraint.
To begin with, three simulations were conducted using the traditional PD controller. The initial conditions were chosen from the intervals mentioned above.
Figure 2,
Figure 3, and
Figure 4 depict the response curves of relative positions during satellite formation flying based on PD control, respectively.
Figure 5,
Figure 6 and
Figure 7 present the corresponding response curves of the control inputs under the initial conditions. The state trajectories shown in these figures indicate that, although theoretically the PD controller can guarantee stability, during the process of approaching stability, there are instances where the position variables fall below a safe distance, resulting in collisions between satellites. This leads to the inability to ensure the safety of the satellites during formation flying. These simulation results show that it is necessary to design a safety control scheme for satellite formation flying.
As evidenced by
Figure 8 and
Figure 9, the satellite formation system achieves collision-free trajectories without requiring an auxiliary safety controller under the first two initial configurations. However, when subjected to the third stochastically perturbed initial condition (
Figure 10), the MPC scheme alone fails to guarantee safety constraints, resulting in critical proximity violations. This divergence highlights the necessity of integrating a dedicated safety-critical controller to ensure robustness against initialization uncertainties in satellite formation flying.
Subsequently, the safety-critical controller proposed in this work is implemented to rigorously validate its efficacy. To ensure a fair comparative analysis, identical initial conditions to those in the preceding PD and MPC simulations are adopted. A baseline PD controller, pre-designed for stability assurance, serves as the benchmark for performance evaluation. The safety controller is synthesized by numerically solving the constrained optimization problem formulated in Equation (
10), which systematically enforces state constraints through barrier functions.
Figure 14,
Figure 15 and
Figure 16 present the relative position trajectories between the reference and accompanying satellites under three operational scenarios, while
Figure 17,
Figure 18 and
Figure 19 detail the corresponding temporal profiles of safety control signals. Simulation results conclusively demonstrate that the integrated control architecture achieves the following:
These collective outcomes substantiate the dual capability of the proposed scheme in simultaneously enforcing safety constraints and preserving closed-loop stability, thereby addressing a critical gap in existing satellite formation control paradigms.
The proposed high-order control barrier function-based safety control method effectively ensures the safety of satellite formation flying under the tested scenarios. By formulating safety constraints as a QP problem, the method enforces forward invariance of the safe set, preventing collisions. However, the following factors may influence its practical applicability:
Sensitivity to Model Uncertainties: The approach assumes an accurate representation of satellite dynamics. Unmodeled perturbations, such as atmospheric drag, solar radiation pressure, or inaccuracies in thruster modeling, may affect performance. Future work will explore incorporating adaptive estimation techniques or robust control modifications to address such uncertainties.
Computational Complexity: The QP-based safety control formulation requires real-time optimization. While the method is computationally feasible for the tested cases, high-dimensional formations or real-time implementations on resource-limited onboard processors may pose challenges. Efficient optimization solvers or approximation methods could enhance practical deployment.
Actuator Constraints: The method assumes that control inputs can be implemented without saturation. In real-world scenarios, actuator limits may restrict the feasibility of computed control inputs, potentially leading to constraint violations. Introducing actuator-aware constraints within the optimization framework could mitigate this issue.
Robustness to Initial Conditions: The presented results demonstrate feasibility across selected cases, but a broader Monte Carlo analysis is needed to statistically validate robustness across diverse initial conditions. This will be included in future studies to establish a more comprehensive understanding of the method’s applicability.
Future work will focus on extending the robustness of the approach by incorporating adaptive safety constraints and uncertainty estimation techniques.