An intelligent optimization method for multi-pulse pursuit orbit of spacecraft

Through the deep reinforcement learning method based on the deterministic policy gradient algorithm, a Markov decision model is established and the reward function is designed, which solves the problems of heavy computational burden and poor convergence in spacecraft multi-pulse pursuit trajectory optimization, and achieves efficient multi-pulse Trajectory planning has good convergence performance and application prospects.

CN118170167BActive Publication Date: 2024-10-08NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410609428.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-16
Publication Date
2024-10-08
Estimated Expiration
2044-05-16

AI Technical Summary

Technical Problem

In the existing technology, the gradient based on the gradient method is difficult to calculate, and the numerical optimization method requires multiple iterative optimizations, resulting in a heavy computational burden. Furthermore, the multi-pulse trajectory optimization method based on deep reinforcement learning has poor training convergence and insufficient scene migration capabilities, which cannot be effectively solved. Efficient optimization problem of spacecraft multi-pulse pursuit trajectory.

Method used

Use the deep reinforcement learning method based on the deterministic policy gradient algorithm to establish a Markov decision model, design the process reward function and task reward function based on the residual intersection speed increment, obtain the standard value through the numerical optimization algorithm, and improve the training convergence performance, and Taking the initial orbital status and mission period of the pursuit spacecraft and target spacecraft as input, the optimal pulse maneuver information under the given number of pulses is output.

Benefits of technology

It achieves efficient optimization of spacecraft multi-pulse pursuit orbits, improves the convergence performance of DDPG training, overcomes the problem of insufficient scene migration capabilities, and can quickly plan multi-pulse rendezvous trajectories, with good convergence performance and engineering application prospects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118170167B_ABST
    Figure CN118170167B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for intelligent optimization of multi-pulse pursuit orbit of spacecraft, including: converting the spacecraft pursuit strategy into a multi-pulse trajectory optimization problem, establishing a Markov decision model for a fixed number of pulses, defining an extended action space including a transfer time and a terminal Lambert solution module to ensure that the pursuit spacecraft completes the target pursuit; adopting a deep reinforcement learning method based on a deterministic policy gradient algorithm for model training, designing a reward function based on standard value induction to improve the training convergence performance; the trained intelligent agent takes the initial orbital state and mission cycle of both parties of the pursuit and escape as input, and outputs the optimal pulse maneuvering information (maneuvering time and velocity increment vector) under the condition of a given number of pulses. The present invention avoids the problems of low computational efficiency of existing numerical optimization methods, poor training convergence and insufficient generalization performance when applying deep reinforcement learning methods, and realizes efficient optimization and solution of multi-pulse pursuit orbit of spacecraft.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of new generation information technology, and in particular relates to a method for intelligent optimization of multi-pulse pursuit orbits of spacecraft. Background Art

[0002] Orbital pursuit is the basis of spacecraft orbital game. Tasks such as rendezvous and docking, on-orbit control, etc. can be simplified into orbital pursuit problems with different terminal constraints. Considering the non-cooperative characteristics of the target spacecraft, the pursuing spacecraft needs to continuously update and optimize the pursuit trajectory based on real-time perception information to deal with the target's escape behavior. Therefore, how to efficiently and accurately solve the optimal multi-pulse pursuit trajectory of a given initial state in a highly dynamic and complex environment is a key problem that needs to be solved at this stage.

[0003] At present, multi-pulse trajectory optimization methods can be divided into three categories: gradient calculation-based methods, heuristic methods, and artificial intelligence methods. In the literature Ellithy, A., Abdelkhalik, O., and Englander, J. Impact of Using Analytic Derivatives In Optimization For N-Impulse Orbit Transfer Problems, Journal of the Astronautical Sciences, 69, 218–250 (2022), the first N-1 pulses are used as design variables, and the Lambert algorithm is used in the last paragraph to derive the partial derivatives of the Lambert problem based on the Lagrange formula, thereby deriving the analytical gradient of the N-pulse orbit transfer problem. This gradient-based method requires the objective function to be differentiable and continuous, and the dynamic model needs to be linearized and simplified to facilitate the solution of gradient information. The applicable conditions are relatively strict. In the paper Diao Huafei, Shang Xiaolong, Wang Pei, et al. Research on orbit optimization of long-range approach of high-orbit satellite, Shanghai Aerospace (Chinese and English), 2022, 39(02):15-23, the independent variables, constraints and objective functions involved in the multi-pulse approach problem are given, a mathematical model for the optimization design of the multi-pulse approach orbit is established, and the differential evolution algorithm is used to complete the optimization of the optimal rendezvous trajectory with fuel consumption; this type of heuristic algorithm does not need to solve the gradient information, but the optimization process involves a large number of iterative operations, resulting in a heavy computational burden, which is not conducive to the rapid planning of the pursuit trajectory of the pursuit spacecraft in a highly dynamic and complex environment.

[0004] Methods based on artificial intelligence specifically include deep learning and reinforcement learning. In the existing literature Y.-h.Zhu and Y.-z.Luo, Fast Approximation of Optimal Perturbed Long-Duration Impulsive Transfers via Artificial Neural Networks, IEEE Transactions on Aerospace and Electronic Systems, 57(2):1123-1138, 2021, by analyzing the change law of the optimal velocity increment of multi-pulse rendezvous with the increase of the initial ascending node right ascension difference and the transfer time, three neural network training data sets of "right ascension asymptotic type" rendezvous solution, "right ascension intersection type" rendezvous solution and "right ascension asymptotic type" rendezvous solution were generated, and the neural network was used to plan the multi-pulse rendezvous trajectory of the pursuit spacecraft. This type of deep learning-based method requires the generation of a large number of high-quality training data sample sets, and the neural network has poor generalization ability and insufficient scene migration ability. In the paper Longwei XU, Gang Zhang, Shi Qiu, Xibin Cao, Optimal Multi-impulse Linear Rendezvous via Reinforcement Learning, Space Sci Technol, 2023, 3:0047, a reinforcement learning-based method is proposed for designing multi-pulse rendezvous trajectories in linear relative motion. By deploying a strategy network, online multi-pulse rendezvous trajectory solution can be achieved. Although this method can quickly plan multi-pulse rendezvous trajectories, its convergence performance is poor. In summary, no scholar has yet proposed a fast optimization method for multi-pulse rendezvous trajectories with good convergence performance. Therefore, it can be seen that the current technology still has room for improvement. Summary of the invention

[0005] In view of the above-mentioned deficiencies in the prior art, the purpose of the present invention is to provide an intelligent optimization method for multi-pulse pursuit orbits of spacecraft, so as to solve the problems in the prior art that gradients in gradient-based methods are difficult to calculate, and that numerical optimization methods require multiple iterative optimizations, resulting in a heavy computational burden. The present invention also overcomes the problems of poor training convergence and insufficient scene migration capabilities of existing multi-pulse trajectory optimization methods based on deep reinforcement learning, and realizes efficient optimization and solution of multi-pulse pursuit orbits of spacecraft.

[0006] To achieve the above object, the technical solution adopted by the present invention is as follows:

[0007] A method for intelligent optimization of multi-pulse pursuit orbits of a spacecraft according to the present invention comprises the following steps:

[0008] Step 1: Convert the spacecraft pursuit strategy into a multi-pulse trajectory optimization problem and establish a Markov decision model for a fixed number of pulses, including defining the state space based on the Kepler orbital elements of the pursuers and the escapers, the four-dimensional action space expanded by the transfer time, and the Lambert-based multi-pulse transfer orbit state evolution model;

[0009] Step 2: Design a process reward function and a task reward function based on the remaining rendezvous velocity increment, introduce a standard value into the task reward function to improve the convergence of training, and the standard value is obtained by a numerical optimization algorithm;

[0010] The Markov decision model established in step 1 is trained using a deep reinforcement learning method based on the deterministic policy gradient algorithm DDPG to obtain a trained intelligent agent.

[0011] Step 3: Taking the initial orbital states and mission cycles of the pursuit spacecraft and the target spacecraft as inputs of the intelligent agent, the optimal pulse maneuver information of the pursuit spacecraft under a given number of pulses is output, wherein the optimal pulse maneuver information of the pursuit spacecraft includes the velocity increment vector and the transfer time of the pulse maneuver.

[0012] Furthermore, the step 1 specifically includes:

[0013] S11, the orbital element number Oe of the target spacecraft e The difference in the orbital elements between the pursuit spacecraft and the target spacecraft, Δoe, defines the Markov state space:

[0014] S=[oe e , Δoe];

[0015] S12, the pulse application time and velocity increment are used as optimization variables. Each action of the pursuit spacecraft includes the pulse maneuver velocity increment and time window information. Therefore, the action space of the Markov decision model is designed as a four-dimensional space containing the transfer time tof after the pulse is applied and the velocity increment Δv applied each time, as shown in the following formula, where the velocity increment vector is described in spherical coordinates:

[0016]

[0017] Where Δv is the velocity increment applied each time, α is the angle between the projection of the pulse vector in the orbital coordinate system of the pursuit spacecraft and the x-axis of the orbital coordinate system, and β is the angle between the pulse vector and the xoy plane in the orbital coordinate system of the pursuit spacecraft. The pulse vector applied by the pursuit spacecraft each time is expressed as follows:

[0018]

[0019] The action space is represented as: A = [Δv; ξ];

[0020] Among them, ξ is the time proportional coefficient;

[0021] The transfer time after each pulse maneuver is expressed as:

[0022]

[0023] In the formula, represents the total mission time remaining when the jth pulse maneuver is applied;

[0024] S13, the orbital state evolution model is divided into: waiting phase, maneuvering phase and Lambert pursuit phase; the waiting phase refers to the process of the pursuit spacecraft evolving from the initial orbital state (r0, v0) to the first orbital maneuvering time t1, as shown in the following formula:

[0025]

[0026] In the formula, f ode () represents the orbital integral function, tof0 is the flight time of the waiting phase, tof0 = t1-t0;

[0027] The maneuvering phase refers to the multi-pulse transfer process of the pursuit spacecraft from the first maneuvering moment to the n-1th maneuvering moment, and a total of n-2 orbital maneuvers are applied; the specific process is as follows: First, the speed of the pursuit spacecraft changes suddenly at the maneuvering moment, Then the orbital state after the mutation is recursively extrapolated to the next maneuvering moment, and the above operation is repeated until the n-1th maneuvering moment:

[0028]

[0029] In the formula, r j is the position of the pursuit spacecraft when the jth maneuver is applied, r j+1 In order to recursively infer the orbital state after the mutation to the position of the spacecraft at the next maneuvering time, tof j is the flight time of the spacecraft after applying the jth maneuver;

[0030] The Lambert pursuit phase refers to the process of pursuing the spacecraft's final double-pulse rendezvous target, as shown in the following formula:

[0031]

[0032] Where L() represents the Lambert solution function, r n-1 is the terminal position of the pursuit spacecraft after the n-2th orbital maneuver, r cf is the terminal position of the pursuit spacecraft rendezvous with the target spacecraft, v cfis the terminal velocity of the pursuit spacecraft to rendezvous with the target spacecraft, tof n It is the flight time of Lambert's pursuit. and is the velocity vector of the pursuit spacecraft after the n-1th orbital maneuver and the velocity vector before the nth orbital maneuver, obtained by solving the Lambert function. is the velocity vector of the pursuing spacecraft before the n-1th orbital maneuver, Δv n-1 is the velocity increment vector of the pursuit spacecraft performing the n-1th orbital maneuver, Δv n is the velocity increment vector of the pursuit spacecraft performing the nth orbital maneuver, by which the pursuit spacecraft rendezvouses the target spacecraft;

[0033] Furthermore, the process reward function R s The design is as follows:

[0034]

[0035] Where, T * The remaining mission time is discretized, and the Lambert transfer trajectory between the pursuit spacecraft and the target spacecraft is solved cyclically to obtain the optimal transfer time corresponding to the minimum rendezvous speed; ε1 is the initial waiting time reward weight coefficient, ε2 is the speed reward weight coefficient, and ε3 is the terminal Lambert rendezvous time reward weight coefficient; j is the number of pulse maneuvers; T is the mission time; tof0 is the waiting flight time; Δf represents the distance between the pursuit and escape parties at the end, and a e is the orbital semi-major axis of the target spacecraft; Δv r Indicates the remaining mission duration without pulse maneuvering when the pursuit spacecraft does not apply pulse maneuvering action The velocity increment required for the target spacecraft based on Lambert double-pulse rendezvous is expressed as follows:

[0036]

[0037] In the formula, the subscripts p and e represent the pursuit spacecraft and the target spacecraft respectively. represents the flight time of the pursuit spacecraft before applying the jth maneuver, (r e_j , v e_j ) represents the position velocity of the target spacecraft before applying the jth maneuver, Represents the target spacecraft orbit recursion The position velocity after (r p_j , v p_j ) represents the position velocity of the pursuit spacecraft before the jth maneuver, and represents the starting and terminal velocities of the pursuit spacecraft for the double-pulse Lambert transfer;

[0038] The variable Δv in the process reward function Rs ra represents the terminal state of the pursuit spacecraft after applying the jth maneuver (r p_j+1 , v p_j+1 ) is the initial orbit state, and the remaining mission time t is rest The velocity increment required for the target spacecraft to rendezvous based on Lambert double pulses is:

[0039]

[0040] In the formula, the subscripts p and e represent the pursuit spacecraft and the target spacecraft respectively. represents the flight time of the pursuit spacecraft after applying the jth maneuver, (r e_j+1 , v e_j+1 ) represents the position velocity of the target spacecraft after applying the jth maneuver, (r p_j+1 , v p_j+1 ) represents the position velocity of the pursuit spacecraft after performing the j-th maneuver, represents the target spacecraft recursion t rest The position speed after and They represent the starting speed and terminal speed of the pursuit spacecraft performing double-pulse Lambert transfer respectively;

[0041] The flight time tof of the Lambert pursuit segment is given by the action network Actor of the DDPG agent, as shown in the following formula:

[0042]

[0043] In the formula, s j is the state of the spacecraft at the current moment, (Δv j ξ j ) indicates that DDPG outputs pulse maneuvers according to the current state of the spacecraft. Represents the total mission time remaining when the jth pulse maneuvering speed increment is applied.

[0044] Furthermore, the process reward function R s The variable T in * The remaining mission time is discretized, and the Lambert transfer trajectory between the pursuit spacecraft and the target spacecraft is solved cyclically to obtain the optimal transfer time corresponding to the minimum rendezvous speed:

[0045] There will be a pulse with a remaining task duration of t restDiscretization is performed with a step size of Δt to obtain a set of transfer time series: (Δt, 2Δt, …, t rest );

[0046]

[0047] In the formula, represents the current position and velocity of the target spacecraft, (r cf , v cf ) represents the target spacecraft recursive time tof nn The position velocity after n-1 represents the position of the pursuit spacecraft when it applies the n-1th pulse maneuver, is the velocity vector of the pursuit spacecraft after the n-1th orbital maneuver and the velocity vector before the nth orbital maneuver. Substitute each element in the time series into the above formula and solve it repeatedly to obtain the velocity increment Δv calculated for each transfer time. c , select the transfer time corresponding to the minimum value, which is T * .

[0048] Furthermore, the task reward function is set as follows:

[0049]

[0050] Where ε4 is the optimal speed increment reward weight coefficient, ε5 is the speed increment deviation penalty weight coefficient, and ε6 is a constant parameter; The total velocity increment required for the target spacecraft to rendezvous with the pursuit spacecraft; Δv ref is the standard value obtained by the numerical optimization algorithm. Under the fixed number of pulse maneuvers n, the mission time T is known, and the initial orbital state oe of the chasing and fleeing parties is e ,oe p Input the numerical optimization algorithm to obtain the total optimal velocity increment required for the pursuit spacecraft to rendezvous with the target spacecraft n times:

[0051] Δv ref =GA(oe e ,oe p , n, T);

[0052] In the formula, GA() is a numerical optimization algorithm;

[0053] like If the agent succeeds, it will be rewarded; otherwise, it will be punished.

[0054] Then, the total reward function is R = R s +R a .

[0055] Furthermore, the Markov decision model established in step 1 is trained using a deep reinforcement learning method based on a deterministic policy gradient algorithm as follows:

[0056] First, initialize the action network Actor and the policy network Critic of the pursuit spacecraft; construct the training sample set offline [oe e , Δoe] as the input of the Actor network; the Actor network outputs the action of chasing the spacecraft at the current moment, the agent executes the action and observes the feedback from the environment, and stores the feedback in the experience pool;

[0057] During training, the Actor network outputs the first n-2 impulse maneuvers of the pursuit spacecraft, including the velocity increment vector and the transfer time. The n-th impulse transfer time of the pursuit spacecraft is output through the Actor network, and the velocity increment vectors of the n-1th and n-th impulse maneuvers are obtained by solving the terminal Lambert transfer trajectory:

[0058]

[0059] In the formula, Δv n-1 and Δv n is the velocity increment vector obtained from the Lambert pursuit phase. The DDPG output is as follows:

[0060] (Δv j ξ j )=DDPG(s j );

[0061] In the formula, s j is the state of the spacecraft at the current moment, (Δv j ξ j ) indicates that DDPG outputs pulse maneuvers according to the current state of the spacecraft;

[0062] Then, a number of samples are randomly selected from the experience pool to alternately update the Actor network and the Critic network until the maximum training generation is reached, and the agent training is completed.

[0063] Furthermore, the step three specifically includes: after the DDPG training is completed, the initial orbital elements and mission cycles of the pursuit and escape parties are input to the DDPG agent, and the DDPG directly outputs the optimal pulse maneuver information of the pursuit spacecraft through the trained action network Actor, including the pulse maneuver time and the velocity increment vector, that is, the expression is as follows:

[0064] (Δv;ξ)=DDPG(oe e , Δoe).

[0065] Beneficial results of the present invention:

[0066] The present invention establishes a Markov decision model for a fixed number of pulses, designs a process reward function based on the remaining rendezvous velocity increment and a task reward function based on the optimal velocity increment, improves the convergence performance of DDPG training, overcomes the problem of insufficient scene migration capability, and realizes the efficient optimization solution of multi-pulse pursuit orbit of spacecraft. The Markov decision model for a fixed number of pulses is established by replacing the traditional time step in deep reinforcement learning with the number of pulses, including defining a state space based on the Kepler orbital elements of the pursuit and escape parties, a four-dimensional action space expanded by the transfer time, and an orbital state evolution model including a waiting segment, a maneuvering segment, and a Lambert pursuit segment; designs a process reward function based on the remaining rendezvous velocity increment and a task reward function based on standard value induction, the standard value is the optimal velocity increment obtained by the numerical optimization algorithm; constructs an offline sample set as the input of the Actor network to speed up the training speed of the DDPG agent; the fully trained agent takes the initial orbital state and task cycle of the pursuit and escape parties as input, and outputs the optimal pulse maneuvering information under the condition of a given number of pulses. The overall idea is novel, with strong innovation and engineering application prospects. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] Figure 1 It is a schematic diagram of the task scenario of the present invention;

[0068] Figure 2 It is a schematic diagram of a Markov decision model with a fixed number of pulses established in the present invention;

[0069] Figure 3 It is a schematic diagram of the DDPG algorithm training process in the present invention;

[0070] Figure 4 It is a schematic diagram of the distribution of the initial semi-major axis and phase angle difference between the chasing and escaping parties in the sample set of the present invention;

[0071] Figure 5a It is a schematic diagram of the change in the success rate of the speed increment required for the pursuit spacecraft to rendezvous with the target spacecraft during the DDPG training process of the present invention being less than 1.1 times the optimal rendezvous speed increment;

[0072] Figure 5b It is a schematic diagram of the process in which the reward value obtained from each training of the pursuit spacecraft changes with the number of training times during the DDPG training process of the present invention;

[0073] Figure 6 It is the pursuit relative trajectory of the target spacecraft that the fully trained DDPG plans to pursue the spacecraft;

[0074] Figure 7aIt is a schematic diagram of the change of relative distance during the process of the pursuit spacecraft in the present invention pursuing the target spacecraft with the pursuit trajectory planned by the well-trained DDPG;

[0075] Figure 7b It is a schematic diagram of the change in relative speed of the pursuit spacecraft in the process of pursuing the target spacecraft with the pursuit trajectory planned by the well-trained DDPG in the present invention. DETAILED DESCRIPTION

[0076] In order to facilitate the understanding of those skilled in the art, the present invention is further described below with reference to examples and drawings. The contents mentioned in the embodiments are not intended to limit the present invention. In the present invention, without loss of generality, the number of pulse maneuvers of the pursuit spacecraft is set to 3 pulses, and the initial orbit of the target spacecraft is set to the GEO orbit. These settings will not affect the universality of the present invention.

[0077] A spacecraft multi-pulse pursuit orbit intelligent optimization method of the present invention comprises the following steps:

[0078] Step 1: Build Figure 1 In the simulation scenario shown, the pursuit spacecraft transfers to rendezvous with the target spacecraft through multiple pulse maneuvers, converting the spacecraft pursuit strategy into a multi-pulse trajectory optimization problem.

[0079] Replacing the traditional time step in deep reinforcement learning with the number of pulses has established Figure 2 Markov decision model for a fixed number of pulses: Taking the orbital element number Oe of the target spacecraft as e And the difference in orbital elements Δoe between the pursuit spacecraft and the target spacecraft is used to define the Markov state space:

[0080] S=[oe e , Δoe];

[0081] Where, the orbital element number of the target spacecraft is Oe e It includes the semi-major axis, eccentricity, orbital inclination, right ascension of the ascending node, argument of perigee, and true anomaly of the target spacecraft, and Δoe includes the corresponding orbital element differences between the pursuit spacecraft and the target spacecraft.

[0082] In the multi-pulse trajectory optimization problem, the pulse application time and velocity increment are usually used as optimization variables. Each action of the pursuit spacecraft includes the pulse maneuver velocity increment and time window information. Therefore, the action space of the Markov decision model is designed as a four-dimensional space containing the transfer time tof after the pulse is applied and the velocity increment Δv applied each time, as shown in the following formula, where the velocity increment vector is described in spherical coordinates:

[0083]

[0084] Where Δv is the modulus of the pulse vector applied each time, α is the angle between the projection of the pulse vector in the orbital coordinate system of the pursuit spacecraft and the x-axis of the orbital coordinate system, and β is the angle between the pulse vector and the xoy plane in the orbital coordinate system of the pursuit spacecraft. Therefore, the pulse vector applied by the pursuit spacecraft each time can be expressed as follows:

[0085]

[0086] Therefore, the action space can also be expressed as: A = [Δv; ξ].

[0087] ξ in the action space is defined as: Under the known task time T, in order to ensure that the time of the next pulse application is not earlier than the time of the previous pulse application, the time proportional coefficient ξ is introduced to represent the time of each pulse application; in the present invention, the number of pulse maneuvers is 3, and the transfer time after each pulse maneuver can be expressed as:

[0088]

[0089] In the formula, represents the total mission time remaining when the jth pulse maneuver is applied;

[0090] The multi-pulse transfer orbit state evolution model based on Lambert includes: dividing the orbit state evolution model into: waiting phase, maneuvering phase and Lambert pursuit phase. The waiting phase refers to the pursuit spacecraft from the initial orbit state (r p_0 , v p_0 ) to the first orbital maneuver time t1, which is essentially an orbital recursion process. At this time, the target spacecraft also changes from the initial orbital state (r e_0 , v e_0 ) evolves to the first orbital maneuver time t1, as shown in the following formula:

[0091]

[0092] In the formula, f ode () represents the orbital integral function. In the present invention, the Runge-Kutta integration method is used to recursively deduce the orbital dynamics equation, and the dynamics equation is as follows:

[0093]

[0094] The maneuvering phase refers to the multi-pulse transfer process of the pursuit spacecraft from the first maneuvering moment to the second maneuvering moment, and a total of 1 orbital maneuver is applied. The specific process is as follows: First, the speed of the pursuit spacecraft changes suddenly at the maneuvering moment. Then the orbital state after the mutation is recursively extrapolated to the next maneuvering time to obtain the position and velocity of the pursuit spacecraft at the next maneuvering time. The target spacecraft still recursively uses the original orbital state to the same time to obtain the position and velocity

[0095]

[0096] The Lambert pursuit phase refers to the process of pursuing the spacecraft's final double-pulse rendezvous target, as shown in the following formula:

[0097]

[0098] Where L() represents the Lambert solution function, (r cf , v cf ) is the terminal position velocity of the pursuit spacecraft rendezvous with the target spacecraft, tof2 is the flight time of the Lambert pursuit phase, and are the starting and terminal velocities of the pursuit spacecraft for double-pulse Lambert transfer, Δv2 is the velocity increment vector of the pursuit spacecraft for the second orbital maneuver, and Δv3 is the velocity increment vector of the pursuit spacecraft for the third orbital maneuver.

[0099] Step 2: Design a process reward function based on the remaining rendezvous velocity increment and a task reward function based on the standard value induction. The standard value is the optimal velocity increment required for the rendezvous of two spacecraft under a fixed pulse obtained by the numerical optimization algorithm. s The design is as follows:

[0100]

[0101] Where ε1 is the initial waiting time reward weight coefficient, which is 0.1; ε2 is the speed reward weight coefficient, which is 0.8; ε3 is the terminal Lambert rendezvous time reward weight coefficient, which is 0.1; j is the number of pulse maneuvers; T is the mission duration, which is set to within 30 days; tof0 is the waiting flight time; Δf represents the distance between the two parties at the end, and a is e is the orbital semi-major axis of the target spacecraft; Δv r Indicates the remaining mission time without pulse when the pursuit spacecraft does not apply pulse maneuvers The velocity increment required for the target spacecraft based on Lambert double-pulse rendezvous is expressed as follows:

[0102]

[0103] In the formula, the subscripts p and e represent the pursuit spacecraft and the target spacecraft respectively. represents the flight time of the pursuit spacecraft before applying the jth maneuver, (r e_j , ve_j ) represents the position velocity of the target spacecraft before applying the jth maneuver, Represents the target spacecraft orbit recursion The position velocity after (r p_j , v p_j ) represents the position velocity of the pursuit spacecraft before the jth maneuver, and represents the starting and terminal velocities of the pursuit spacecraft performing a double-pulse Lambert transfer.

[0104] Process reward function R s The variable Δv in ra represents the terminal state of the pursuit spacecraft after applying the jth maneuver (r p_j+1 , v p_j+1 ) is the initial orbit state, and the remaining mission time t is rest The velocity increment required for the target spacecraft to rendezvous based on Lambert double pulses is:

[0105]

[0106] In the formula, the subscripts p and e represent the pursuit spacecraft and the target spacecraft respectively. represents the flight time of the pursuit spacecraft after applying the jth maneuver, (r e_j+1 , v e_j+1 ) represents the position velocity of the target spacecraft after applying the jth maneuver, (r p_j+1 , v p_j+1 ) represents the position velocity of the pursuit spacecraft after performing the j-th maneuver, represents the target spacecraft recursion t rest The position speed after and represents the starting and terminal velocities of the pursuit spacecraft performing a double-pulse Lambert transfer.

[0107] The flight time tof of the Lambert pursuit segment is given by the action network of the following DDPG agent, as shown in the following formula:

[0108]

[0109] In the formula, s j is the state of the spacecraft at the current moment, (Δv j ξ j ) indicates that DDPG outputs pulse maneuvers according to the current state of the spacecraft. Represents the total mission time remaining when the jth pulse maneuver is applied.

[0110] Process reward function Rs The variable T in * The remaining mission time is discretized, and the Lambert transfer trajectory between the pursuit spacecraft and the target spacecraft is solved cyclically to obtain the optimal transfer time corresponding to the minimum rendezvous speed, which is:

[0111] There will be a pulse with a remaining task duration of t rest Discretized with a step size of 600s, we get a set of transfer time series: (600, 1200, …, t rest );

[0112]

[0113] In the formula, represents the current position and velocity of the target spacecraft, (r cf , v cf ) represents the target spacecraft recursive time tof nn The position velocity after n-1 represents the position of the pursuit spacecraft when it applies the n-1th pulse maneuver, Is the pursuit spacecraft tof nn Solve the Lambert transfer trajectory for the transfer time to obtain the starting speed and terminal speed. Substitute each element in the time series into the above equation and solve it repeatedly to obtain the speed increment Δv calculated for each transfer time. c , select the transfer time corresponding to the minimum value, which is T * .

[0114] The task reward function based on the optimal speed increment is set as follows:

[0115]

[0116] Wherein, ε4 is the optimal speed increment reward weight coefficient, which is 1.1 in this embodiment, ε5 is the speed increment deviation penalty weight coefficient, which is 100 in this embodiment, and ε6 is a constant parameter, which is 100: The total velocity increment required for the target spacecraft to rendezvous with the pursuit spacecraft; ΔV ref is the standard value obtained by the numerical optimization algorithm. The specific steps of the numerical optimization algorithm to obtain the optimal speed increment required for intersection are as follows:

[0117] The number of pulse maneuvers of the pursuit spacecraft to rendezvous with the target spacecraft is set to 3; the mission duration T is any number of days within 30 days, that is, T≤30 / day; the initial orbital elements oe of the pursuit and escape parties are set to p ,oe e Enter the genetic algorithm, which gives the total optimal velocity increment required for the pursuit spacecraft to pulse rendezvous with the target spacecraft:

[0118] Δv ref =GA(oe e ,oe p , n, T).

[0119] At the same time, in order to avoid the influence of singularity in genetic algorithm optimization, the above formula is repeated 5 times, and the minimum value among the 5 results is selected, which is the optimal speed increment required for the pursuing and fleeing parties to rendezvous under the corresponding initial orbital state.

[0120] Finally, if If the agent succeeds, it will be rewarded; otherwise, it will be punished.

[0121] Therefore, the total reward function is R = R s +R a .

[0122] On this basis, the 3-pulse Markov model is trained using the DDPG algorithm. The specific steps of using DDPG training are as follows: Figure 3 As shown:

[0123] First, we need to initialize the action network Actor and the policy network Critic of the pursuit spacecraft. The number of hidden layers of the action network and the policy network are both 3; the activation function of all networks is the hyperbolic tangent function tanh; the network connection mode is fully connected.

[0124] Then, the training sample set is constructed offline. e , Δoe] as the input of the Actor network to speed up the training of the DDPG agent:

[0125] The initial orbital elements of the target spacecraft are set to [42000;0.0001;0.1745;0.1745;0;0];

[0127] The orbital elements of the pursuit spacecraft are expressed as the difference between the orbital elements of the pursuit spacecraft and the target spacecraft:

[0128] [42000+Δa;0.0001;0.1745;0.1745;0;Δθ];

[0129] The value range of Δa is (-550km, 550km), the value range of Δθ is (-360°, 360°), and the optimal rendezvous speed increments of the chasing and fleeing parties under different initial orbital states are obtained in advance through the above genetic algorithm, which together constitute the training sample set [oe e , Δoe, Δv ref ] to speed up the training of DDPG agents. The sample distribution is as follows Figure 2 shown.

[0130] Secondly, the Actor network outputs the action of the pursuit spacecraft at the current moment. The agent executes the action and observes the feedback from the environment, and stores the feedback in the experience pool. During training, the Actor network outputs the zeroth and first impulse maneuvers of the pursuit spacecraft, including the velocity increment vector and the transfer time. The last impulse transfer time of the pursuit spacecraft is output through the Actor network, and the velocity increment vectors of the second and third impulse maneuvers are obtained by solving the terminal Lambert transfer trajectory:

[0131]

[0132] In the formula, s j is the state of the spacecraft at the current moment, Δv2 and Δv3 are the velocity increment vectors obtained by solving the Lambert pursuit segment in the first step, and the DDPG output is as follows:

[0133] (Δv j ξ j )=DDPG(s j ).

[0134] Then, a certain number of samples are randomly selected from the experience pool to alternately update the Actor network and the Critic network until the maximum training generation number of 30,000 generations is reached, and the DDPG agent training is completed.

[0135] The DDPG training parameter settings are shown in the following table:

[0136] Table 1

[0137] parameter Value Actor network learning rate 0.001 Critic network learning rate 0.0001 Reward decay factor 0.95 Experience pool capacity 10000 Maximum number of samples 256 Action interference factor 0.9 Attenuation Factor 0.5 .

[0138] Step 3: After the above DDPG training is completed, the initial orbital elements and mission cycles of any two parties are input to the DDPG agent. DDPG directly outputs the optimal pulse maneuver information of the pursuing spacecraft through the trained action network Actor, including the pulse maneuver time and velocity increment vector, that is, the expression is as follows:

[0139] (Δv;ξ)=DDPG(oe e , Δoe).

[0140] Figure 5a , Figure 5b , Figure 6 , Figure 7a , Figure 7b The training process of the DDPG algorithm in the present invention and the process of the pursuit spacecraft rendezvousing with the target spacecraft using the pursuit trajectory planned by DDPG are respectively given.

[0141] Figure 5a and Figure 5b The changes in the success rate of the speed increment required for the pursuit spacecraft to rendezvous with the target spacecraft during the DDPG algorithm training process of the present invention are respectively given, and the changes in the reward value of the pursuit spacecraft with the number of training times are respectively given. After 26,600 training times, the final success rate reaches 100%, which shows that the algorithm of the present invention has a fast convergence speed and good effect.

[0142] Figure 6 After DDPG training is completed, a set of orbital element states of the pursuit and escape parties are randomly input. DDPG quickly plans the pursuit trajectory of the pursuit spacecraft to rendezvous with the target spacecraft. It can be seen from the figure that the pursuit spacecraft can accurately rendezvous with the target spacecraft by the 3 pulse maneuvers, which shows that the correctness of the algorithm described in the present invention is guaranteed.

[0143] Figure 7a and Figure 7b The changes in the relative distance and relative speed between the pursuit spacecraft and the target spacecraft during the rendezvous process are given, which further verifies the good effect of DDPG training.

[0144] The present invention has many specific application paths. The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements can be made without departing from the principle of the present invention. These improvements should also be regarded as the protection scope of the present invention.

Claims

1. A method for intelligent optimization of multi-pulse pursuit orbit of spacecraft, characterized in that: The method comprises the following steps: Step 1: Convert the spacecraft pursuit strategy into a multi-pulse trajectory optimization problem and establish a Markov decision model for a fixed number of pulses, including defining the state space based on the Kepler orbital elements of the pursuers and the escapers, the four-dimensional action space expanded by the transfer time, and the Lambert-based multi-pulse transfer orbit state evolution model; Step 2: Design a process reward function and a task reward function based on the remaining rendezvous velocity increment, introduce a standard value into the task reward function to improve the convergence of training, and the standard value is obtained by a numerical optimization algorithm; The Markov decision model established in step 1 is trained using a deep reinforcement learning method based on the deterministic policy gradient algorithm DDPG to obtain a trained intelligent agent. Step 3: Taking the initial orbital states and mission cycles of the pursuit spacecraft and the target spacecraft as inputs of the intelligent agent, outputting the optimal pulse maneuver information of the pursuit spacecraft under a given pulse number, wherein the optimal pulse maneuver information of the pursuit spacecraft includes a velocity increment vector and a transfer time of the pulse maneuver; The step 1 specifically includes: S11, the orbital element oe of the target spacecraft e The difference in the orbital elements between the pursuit spacecraft and the target spacecraft, Δoe, defines the Markov state space: S=[oe e ,Δoe]; S12, the pulse application time and velocity increment are used as optimization variables. Each action of the pursuit spacecraft includes the pulse maneuver velocity increment and time window information. Therefore, the action space of the Markov decision model is designed as a four-dimensional space containing the transfer time tof after the pulse is applied and the velocity increment Δv applied each time, as shown in the following formula, where the velocity increment vector is described in spherical coordinates: Where Δv is the velocity increment applied each time, α is the angle between the projection of the pulse vector in the orbital coordinate system of the pursuit spacecraft and the x-axis of the orbital coordinate system, and β is the angle between the pulse vector and the xoy plane in the orbital coordinate system of the pursuit spacecraft. The pulse vector applied by the pursuit spacecraft each time is expressed as follows: The action space is represented as: A=[Δv;ξ]; Among them, ξ is the time proportional coefficient; The transfer time after each pulse maneuver is expressed as: In the formula, represents the total mission time remaining when the jth pulse maneuver is applied; S13, the orbital state evolution model is divided into: waiting phase, maneuvering phase and Lambert pursuit phase; the waiting phase refers to the process of the pursuit spacecraft evolving from the initial orbital state (r0, v0) to the first orbital maneuvering time t1, as shown in the following formula: In the formula, f ode () represents the orbital integration function, tof0 is the waiting flight time, The maneuvering phase refers to the multi-pulse transfer process of the pursuit spacecraft from the first maneuvering moment to the n-1th maneuvering moment, and a total of n-2 orbital maneuvers are applied; the specific process is as follows: First, the speed of the pursuit spacecraft changes suddenly at the maneuvering moment, Then the track state after the mutation is recursively extrapolated to the next maneuvering moment, and the speed mutation is repeatedly applied from the first maneuvering moment until the n-1th maneuvering moment: In the formula, r j is the position of the pursuit spacecraft when the jth maneuver is applied, r j+1 In order to recursively infer the orbital state after the mutation to the position of the spacecraft at the next maneuvering time, tof j is the flight time of the spacecraft after applying the jth maneuver; The Lambert pursuit phase refers to the process of pursuing the spacecraft's final double-pulse rendezvous target, as shown in the following formula: Where L( ) represents the Lambert solution function, r n-1 is the terminal position of the pursuit spacecraft after the n-2th orbital maneuver, r cf is the terminal position of the pursuit spacecraft rendezvous with the target spacecraft, v cf is the terminal velocity of the pursuit spacecraft to rendezvous with the target spacecraft, tof n It is the flight time of Lambert's pursuit. and is the velocity vector of the pursuit spacecraft after the n-1th orbital maneuver and the velocity vector before the nth orbital maneuver, obtained by solving the Lambert function. is the velocity vector of the pursuing spacecraft before the n-1th orbital maneuver, Δv n-1 is the velocity increment vector of the pursuit spacecraft performing the n-1th orbital maneuver, Δv n is the velocity increment vector of the pursuit spacecraft performing the nth orbital maneuver, by which the pursuit spacecraft rendezvouses the target spacecraft; The process reward function R s The design is as follows: Where, T * The remaining mission time is discretized, and the Lambert transfer trajectory between the pursuit spacecraft and the target spacecraft is solved cyclically to obtain the optimal transfer time corresponding to the minimum rendezvous speed; ε1 is the initial waiting time reward weight coefficient, ε2 is the speed reward weight coefficient, and ε3 is the terminal Lambert rendezvous time reward weight coefficient; j is the number of pulse maneuvers; T is the mission time; tof0 is the waiting flight time; Δf represents the distance between the pursuit and escape parties at the end, and a e is the orbital semi-major axis of the target spacecraft; Δv r Indicates the remaining mission duration without pulse maneuvering when the pursuit spacecraft does not apply pulse maneuvering action The velocity increment required for the target spacecraft based on Lambert double-pulse rendezvous is expressed as follows: In the formula, the subscripts p and e represent the pursuit spacecraft and the target spacecraft respectively. represents the flight time of the pursuit spacecraft before applying the jth maneuver, (r e_j , v e_j ) represents the position and velocity of the target spacecraft before the jth maneuver is applied, Represents the target spacecraft orbit recursion The position and speed after (r p_j , v p_j ) represents the position and velocity of the pursuit spacecraft before the jth maneuver, and represents the starting and terminal velocities of the pursuit spacecraft for the double-pulse Lambert transfer; Process reward function R s The variable Δv in ra represents the terminal state of the pursuit spacecraft after applying the jth maneuver (r p_j+1 , v p_j+1 ) is the initial orbit state, and the remaining mission time t is rest The velocity increment required for the target spacecraft to rendezvous based on Lambert double pulses is: In the formula, the subscripts p and e represent the pursuit spacecraft and the target spacecraft respectively. represents the flight time of the pursuit spacecraft after applying the jth maneuver, (r e_j+1 , v e_j+1 ) represents the position and velocity of the target spacecraft after the jth maneuver, (r p_j+1 , v p_j+1 ) represents the position and velocity of the pursuit spacecraft after the jth maneuver, represents the target spacecraft recursion t rest The position and speed after and They represent the starting speed and terminal speed of the pursuit spacecraft performing double-pulse Lambert transfer respectively; The flight time tof of the Lambert pursuit segment is given by the action network Actor of the DDPG agent, as shown in the following formula: In the formula, s j is the state of the spacecraft at the current moment, (Δv j ξ j ) indicates that DDPG outputs pulse maneuvers according to the current state of the spacecraft. represents the total mission time remaining when the jth pulse maneuvering speed increment is applied; Process reward function R s The variable T in * The remaining mission time is discretized, and the Lambert transfer trajectory between the pursuit spacecraft and the target spacecraft is solved cyclically to obtain the optimal transfer time corresponding to the minimum rendezvous speed: There will be a pulse with a remaining task duration of t rest Discretization is performed with a step size of Δt to obtain a set of transfer time series: (Δt, 2Δt, …, t rest ); In the formula, represents the current position and velocity of the target spacecraft, (r cf , v cf ) represents the target spacecraft recursive time tof nn The position and speed after n-1 represents the position of the pursuit spacecraft when it applies the n-1th pulse maneuver, is the velocity vector of the pursuit spacecraft after the n-1th orbital maneuver and the velocity vector before the nth orbital maneuver. Substitute each element in the time series into the above formula and solve it repeatedly to obtain the velocity increment Δv calculated for each transfer time. c , select the transfer time corresponding to the minimum value, which is T * ; The task reward function is set as follows: Where ε4 is the optimal speed increment reward weight coefficient, ε5 is the speed increment deviation penalty weight coefficient, and ε6 is a constant parameter; The total velocity increment required for the target spacecraft to rendezvous with the pursuit spacecraft; Δv ref is the standard value obtained by the numerical optimization algorithm. Under the fixed number of pulse maneuvers n and the known mission time T, the initial orbital states oe of the chasing and fleeing parties are e ,oe p Input the numerical optimization algorithm to obtain the total optimal velocity increment required for the pursuit spacecraft to rendezvous with the target spacecraft n times: Δv ref =GA(you e ,you p ,n,T); In the formula, GA( ) is a numerical optimization algorithm; like If the agent succeeds, it will be rewarded; otherwise, it will be punished. Then, the total reward function is R = R s +R a .

2. The method for intelligent optimization of multi-pulse pursuit orbit of a spacecraft according to claim 1, characterized in that: The Markov decision model established in step 1 is trained using a deep reinforcement learning method based on a deterministic policy gradient algorithm as follows: First, initialize the action network Actor and the policy network Critic of the pursuit spacecraft; construct the training sample set offline [oe e , Δoe] as the input of the Actor network; the Actor network outputs the action of chasing the spacecraft at the current moment, the agent executes the action and observes the feedback from the environment, and stores the feedback in the experience pool; During training, the Actor network outputs the first n-2 impulse maneuvers of the pursuit spacecraft, including the velocity increment vector and the transfer time. The n-th impulse transfer time of the pursuit spacecraft is output through the Actor network, and the velocity increment vectors of the n-1th and n-th impulse maneuvers are obtained by solving the terminal Lambert transfer trajectory: In the formula, Δv n-1 and Δv n is the velocity increment vector obtained from the Lambert pursuit phase. The DDPG output is as follows: (Δv j ;x j )=DDPG(s j ); In the formula, s j is the state of the spacecraft at the current moment, (Δv j ξ j ) indicates that DDPG outputs pulse maneuvers according to the current state of the spacecraft; Then, a number of samples are randomly selected from the experience pool to alternately update the Actor network and the Critic network until the maximum training generation is reached, and the agent training is completed.

3. The method for intelligent optimization of multi-pulse pursuit orbit of a spacecraft according to claim 1, characterized in that: The step three specifically includes: after the DDPG training is completed, the initial orbital elements and mission cycles of both parties are input to the DDPG agent, and DDPG directly outputs the optimal pulse maneuver information of the pursuit spacecraft through the trained action network Actor, including the pulse maneuver time and the velocity increment vector, that is, the expression is as follows: (Δv;ξ)=DDPG(oe e , Doe).