A modified genetic algorithm method for solving multi-loop J2-Lambert transfer orbits

Through the multi-turn J2-Lambert transfer orbit method modified based on the genetic algorithm, the problem of landing point deviation caused by the non-spherical perturbation of the Earth in the existing technology is solved, achieving more accurate orbit design and lower fuel consumption, and improving improve the efficiency of space rendezvous and docking tasks.

CN114357853BActive Publication Date: 2024-10-15SHANGHAI AEROSPACE CONTROL TECH INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111395792.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-23
Publication Date
2024-10-15
Estimated Expiration
2041-11-23

AI Technical Summary

Technical Problem

The existing multi-turn Lambert transfer orbit design does not take into account the non-spherical perturbation of the Earth, resulting in long-period orbit deviations and increasing fuel consumption and accuracy requirements for space rendezvous and docking missions.

Method used

The multi-turn J2-Lambert transfer orbit method modified based on the genetic algorithm is used to obtain the initial parameters to solve the multi-turn Lambert transfer orbit without J2 perturbation, establish the dynamic equation under J2 perturbation, and use the genetic algorithm to correct the transfer orbit , until the deviation caused by J2 perturbation reaches the minimum value.

Benefits of technology

It effectively reduces the landing point error caused by J2 perturbation, provides a more accurate dynamic model, reduces fuel consumption, and improves the accuracy and efficiency of the rendezvous mission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114357853B_ABST
    Figure CN114357853B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for solving a multi-turn J2-Lambert transfer orbit based on genetic algorithm correction, including: obtaining initial parameters, an initial position vector, a target position vector, and a transfer time when a spacecraft reaches a target position vector from the initial position vector; solving a multi-turn Lambert transfer orbit when there is no J2 perturbation, when the spacecraft reaches the target position vector from the initial position vector through the transfer time according to the initial parameters; establishing a dynamic equation under J2 perturbation, and obtaining the deviation of the final position of the transfer orbit caused by the J2 perturbation according to the dynamic equation combined with the multi-turn Lambert transfer orbit; correcting the multi-turn Lambert transfer orbit using a genetic algorithm until the deviation reaches a minimum value, and outputting the final multi-turn Lambert transfer orbit. The multi-turn J2-Lambert transfer orbit corrected by the genetic algorithm of the present invention is not only suitable for long-period orbit change missions, but also meets the landing point accuracy requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of spacecraft orbit design, and in particular to a multi-loop J2-Lambert transfer orbit solution method based on genetic algorithm correction. Background Art

[0002] Space rendezvous and docking is a very important step in space missions. It is used in manned lunar landing, space station construction, interstellar navigation and other missions. A key technology involved in space rendezvous and docking is Lambert orbit change technology. Specifically, the Lambert problem describes the "rendezvous" process, that is, how a spacecraft reaches another target point from one point in space within a predetermined time. After determining the gravitational field of the spacecraft, it is only necessary to know the initial velocity of the spacecraft to calculate the arrival point after the predetermined time of flight. This problem is widely used in the field of aerospace dynamics. In addition to space rendezvous and docking and interstellar flight, there are also satellite interception, ballistic missile interception, etc.

[0003] Since there is no analytical solution to the Lambert problem, numerical optimization algorithms are mostly used to solve the Lambert problem. When the Lambert orbit change time is short, there is only one Lambert transfer orbit. However, when the orbit change flight time between two points is very long, the solution of the Lambert transfer orbit that meets the constraints is not unique. If a single-circle orbit design is still used at this time, the transfer orbit will have a large eccentricity, greatly increasing the fuel consumption required for the Lambert rendezvous mission. In order to avoid the above situation, a multi-circle Lambert transfer orbit can be used to consume the excessive transfer time on the extra Lambert transfer orbit circles without at the expense of fuel consumption. However, the multi-circle Lambert transfer orbit design in the existing literature does not take into account the influence of the non-spherical perturbation of the earth, which will increase the landing point deviation of the spacecraft after the scheduled flight time. Summary of the invention

[0004] The purpose of the present invention is to provide a multi-turn J2-Lambert transfer orbit solution method based on genetic algorithm correction to make up for the shortcomings of previous single-turn J2-Lambert transfer orbit correction and multi-turn undisturbed Lambert transfer orbit design work, eliminate the influence of the earth's flattening on long-period orbit change, and facilitate the smooth realization of space rendezvous and docking missions.

[0005] In order to achieve the above objectives, the present invention is implemented by the following technical solutions:

[0006] A multi-loop J2-Lambert transfer trajectory solution method based on genetic algorithm correction, comprising:

[0007] Step S1, obtaining initial parameters, the initial parameters include: initial position vector R i , target position vector R f , and the spacecraft from the initial position vector R i Arrival of the target position vector R f The transfer time T.

[0008] Step S2: according to the initial parameters, solve the spacecraft from the initial position vector R when there is no J2 perturbation i After the transfer time T, the target position vector R is reached. f Multi-turn Lambert transfer orbit.

[0009] Step S3, establishing a dynamic equation under J2 perturbation, and obtaining the deviation of the final position of the transfer orbit caused by the J2 perturbation according to the dynamic equation combined with the multi-turn Lambert transfer orbit.

[0010] Step S4: Correct the multi-turn Lambert transfer orbit by using a genetic algorithm until the deviation reaches a minimum value, and output the final multi-turn Lambert transfer orbit.

[0011] Optionally, the multi-turn Lambert transfer trajectory includes: the initial velocity vector V i With the terminal velocity vector V f .

[0012] Optionally, step S2 includes: step S2.1, using the following formula to calculate the initial

[0013] Distance from the center of the earth i Distance from the target center r f :

[0014] r i =||R i ||, r f =||R f ||

[0015] The central angle Δθ between the initial position and the target position is calculated using the following formula:

[0016]

[0017] Step S2.2: According to the initial geocentric distance r i , the target geocentric distance r f The six element parameters of the multi-turn Lambert transfer orbit are calculated using the central angle Δθ.

[0018] Step S2.3: According to the conversion relationship between the six element parameters and the multi-turn Lambert transfer orbit position and velocity state, the initial velocity vector V is converted i With the terminal velocity vector V f .

[0019] Optionally, step S2.2 includes: the six element parameters of the multi-turn Lambert transfer orbit include: semi-major axis a, eccentricity e, orbit inclination i, ascending node right ascension Ω, latitude argument u of the initial position i , the latitude argument u of the target position f , the true anomaly angle θ of the initial position i The true anomaly angle θ of the target position f .

[0020] The semi-major axis a is calculated as follows: a0=(r i +r f ) / 2 is substituted as the initial value into the Newton iteration method to calculate the semi-major axis a of the multi-circle Lambert transfer orbit.

[0021] The eccentricity e is calculated using the following formula:

[0022]

[0023]

[0024]

[0025] α=π+sign(Δt m -T)(α * -π)

[0026] β=sign(sinΔθ)β *

[0027]

[0028]

[0029]

[0030]

[0031] Where, μ = GM = 3.986 * 10 14 [m 3 / s 2 ], where G is the gravitational constant G = 6.670*10 -11 [m 3 / (kg.s 2)]; M is the mass of the Earth M = 5.976*10 24 [kg]; μ is the earth's gravitational constant; p is the semi-diameter; s is the straight-line distance between the initial position and the target position; α * and β * All of them indicate that the intermediate variables have no specific definition; Δt m represents the flight time along the minimum energy ellipse arc; δ m Indicates that the intermediate variable has no specific definition;

[0032] The true anomaly angle θ is calculated using the following formula: i The true anomaly angle θ of the target position f :

[0033]

[0034]

[0035]

[0036]

[0037] The orbital inclination i is calculated using the following formula:

[0038]

[0039]

[0040] q=sign(π-Δθ)

[0041] In the formula, q xi represents the x-axis component of the orbital normal vector in the geocentric inertial coordinate system, q yi represents the y-axis component of the orbital normal vector in the geocentric inertial coordinate system; q zi represents the z-axis component of the orbital normal vector in the geocentric inertial coordinate system, Q represents the normal vector of the orbit, q represents the direction of motion, if Δθ<π, q=+1, otherwise q=-1.

[0042] The following formula is used to calculate the right ascension Ω of the ascending node:

[0043]

[0044] The latitude argument u of the initial position is calculated using the following formula: i and the latitude argument u of the target position f

[0045]

[0046] {R i} n=[{R i} nx {R i} ny {R i} nz ] T =L ni R i ;

[0047]

[0048]

[0049] {R f} n =[{R f} nx {R f} ny {R f} nz ] T =L ni R f

[0050] The perigee argument of the transfer orbit ω: ω = u i -θ i =u f -θ f .

[0051] In the formula, {R i} n The expression of the initial position vector in the geocentric node coordinate system, {R i} nx Represents the x-axis component of the initial position vector in the geocentric node coordinate system; {R i} ny Represents the y-axis component of the initial position vector in the geocentric node coordinate system; {R i} nz Represents the z-axis component of the initial position vector in the geocentric node coordinate system; {R f} n The expression representing the target position vector in the geocentric node coordinate system, {R f} nx Represents the x-axis component of the target position vector in the geocentric node coordinate system; {R f} ny Represents the y-axis component of the target position vector in the geocentric node coordinate system; {R f} nz Represents the z-axis component of the target position vector in the geocentric node coordinate system; L ni Represents the transformation matrix from the geocentric inertial coordinate system to the geocentric nodal coordinate system.

[0052] Optionally, the step S2.3 includes: initial velocity vector V i With the terminal velocity vector V f The calculation is done using the following formula:

[0053] [R i , V i ]=Ψ(a,e,i,u i ,Ω,θ i )

[0054] [R f , V f ]=Ψ(a,e,i,u f ,Ω,θ f )

[0055] Among them, V i is the velocity vector at the initial position, V f is the velocity vector of the target position, and Ψ is the conversion relationship between the six elements of the orbit and the orbital position and velocity state quantities.

[0056] Optionally, step S3 includes: from the initial state [R i , V i ] starts, transfer time T, and obtains the actual end position vector R f '(V i ), calculate the deviation of the final position of the multi-turn Lambert transfer orbit caused by the J2 perturbation: The dynamic equation under the J2 perturbation for:

[0057]

[0058] Where R is the position vector, R = [x, y, z] T , x represents the x-axis component of the position vector in the geocentric inertial coordinate system; y represents the y-axis component of the position vector in the geocentric inertial coordinate system; z represents the z-axis component of the position vector in the geocentric inertial coordinate system; R changes with time, when the flight time t = 0, R = R i , represents the initial position vector, when the flight time t is equal to the transfer time T, R = R f '(V i ) represents the final position vector; is the second-order derivative of the position vector with respect to the flight time; r is the distance from the final position to the center of the earth, r = ||R||, μ = GM = 3.986*10 14 [m 3 / s 2 ], where G is the gravitational constant G = 6.670*10 -11 [m3 / (kg.s 2 )]; M is the mass of the Earth M = 5.976*10 24 [kg], J2 is the Earth's oblateness perturbation coefficient, R e is the radius of the Earth.

[0059] The deviation ΔR from the final position of the transfer orbit due to the J2 perturbation f (V i )for

[0060] ΔR f (V i )=||R f '(V i )-R f ||

[0061] Among them, R f '(V i ) is the final position vector.

[0062] Optionally, the step S4 includes: step S4.1, genetic algorithm initialization: randomly generating an initial population, the initial population is a randomly generated set of initial velocity vectors V i A set of feasible solutions [V i1 ,V i2 ,V i3 …V i(n-1) ,V in ], where n is the number of feasible solutions of the initial population.

[0063] Step S4.2: Set the objective function to ΔR f (V i )=||R f '(V i )-R f ||, take the fitness function

[0064]

[0065] Step S4.3: According to the size of the fitness function value of each individual in the initial population, select several individuals with the highest fitness function value from the initial population to form a mating pool, and copy these individuals to the next generation population.

[0066] Step S4.4, using the two genetic operators of crossover and mutation to operate on a number of individuals in the mating pool to form m individuals in a new generation population, where m is the number of new individuals in the new generation population;

[0067] Step S4.5, combining the (nm) individuals in the mating pool replicated in step S4.3 and the m individuals generated in step S4.4 into a new generation population.

[0068] Step S4.6, repeatedly execute steps S4.2 to S4.5 until the fitness of the optimal individual no longer increases, or the number of iterations reaches a preset number of generations, the genetic algorithm terminates, and the optimal initial speed is output.

[0069] On the other hand, the present invention provides an electronic device, including a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the method described above is implemented.

[0070] In yet another aspect, the present invention further provides a readable storage medium, wherein the readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described above is implemented.

[0071] The present invention has at least one of the following advantages:

[0072] The present invention provides a method for solving and correcting a multi-turn Lambert transfer orbit under J2 perturbation, which is suitable for rendezvous and docking tasks with long-period orbit change requirements.

[0073] (1) The multi-turn J2-Lambert transfer orbit of the present invention provides a new orbit for the Lambert problem, which can solve the problem of high fuel consumption of the large eccentricity transfer orbit caused by a single Lambert orbit change when the orbit change time becomes longer, and provides an option for finding the optimal transfer orbit for Lambert fuel.

[0074] (2) The present invention uses a genetic algorithm to correct the velocity of the initial position to generate a multi-turn J2-Lambert transfer orbit. The dynamic model of the transfer orbit is more accurate and can effectively reduce the landing point error caused by J2 perturbation in the rendezvous mission.

[0075] (3) As a global optimization probability algorithm, genetic algorithm can quickly search for feasible solutions in the solution space, and by utilizing the inherent parallelism of genetic algorithm, it can speed up the solution and save computing time. BRIEF DESCRIPTION OF THE DRAWINGS

[0076] Figure 1 is a flow chart of a method for solving a multi-loop J2-Lambert transfer trajectory based on genetic algorithm correction provided by one embodiment of the present invention;

[0077] Figure 2 is a schematic diagram of problems existing in a Lambert transfer track provided by an embodiment of the present invention;

[0078] Figure 3 is a schematic diagram of a single-loop J2-Lambert transfer orbit provided by an embodiment of the present invention;

[0079] Figure 4 It is a flowchart of genetic algorithm solution steps in a genetic algorithm-corrected multi-loop J2-Lambert transfer trajectory solution method provided by one embodiment of the present invention;

[0080] Figure 5 Schematic diagram of a multi-turn J2-Lambertt transfer orbit provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0081] The following is a further detailed description of a multi-circle J2-Lambert transfer trajectory solution method based on genetic algorithm correction proposed by the present invention in combination with the accompanying drawings and specific embodiments. According to the following description, the advantages and features of the present invention will be clearer. It should be noted that the accompanying drawings are in a very simplified form and use non-precise proportions, which are only used to conveniently and clearly assist in explaining the purpose of the implementation method of the present invention. In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, please refer to the accompanying drawings. It should be noted that the structure, proportion, size, etc. illustrated in the drawings of this specification are only used to match the content disclosed in the specification for people familiar with this technology to understand and read, and are not used to limit the limiting conditions for the implementation of the present invention, so they have no technical substantive significance. Any modification of the structure, change of the proportional relationship or adjustment of the size, without affecting the effect that the present invention can produce and the purpose that can be achieved, should still fall within the scope of the technical content disclosed by the present invention.

[0082] like Figure 2 As shown in the figure, the J2-Lambert orbit change problem can be described as: Considering the J2 perturbation, given the initial position vector R of the spacecraft i , the target position vector R after the track change f , and the spacecraft's initial position vector R i To the target position vector R f The flight time interval (orbit change time or movement time) T is used to determine the velocity vector V of the spacecraft at the initial position. i The velocity vector V at the target position f , thereby determining the speed increment for ignition at the two positions.

[0083] like Figure 1 As shown, this embodiment provides a multi-loop J2-Lambert transfer trajectory solution method based on genetic algorithm correction, including:

[0084] Step S1, obtaining initial parameters, the initial parameters include: initial position vector R i , target position vector R f , and the spacecraft from the initial position vector R i Arrival of the target position vector R fThe transfer time T.

[0085] Step S2: according to the initial parameters, solve the spacecraft from the initial position vector R when there is no J2 perturbation i After the transfer time T, the target position vector R is reached. f The multi-turn Lambert transfer orbit; that is, solving the initial velocity vector V of the spacecraft i With the terminal velocity vector V f .

[0086] Specifically, step S2 includes:

[0087] Step S2.1, calculate the initial geocentric distance r of the spacecraft using the following formula: i Distance from the target center r f :

[0088] r i =||R i ||, r f =||R f || (1)

[0089] The central angle Δθ between the initial position and the target position is calculated using the following formula:

[0090]

[0091] Step S2.2: According to the initial geocentric distance r i , the target geocentric distance r f The six element parameters of the multi-turn Lambert transfer orbit are calculated using the central angle Δθ.

[0092] In this embodiment, step S2.2 includes: the six element parameters of the multi-turn Lambert transfer orbit include: semi-major axis a, eccentricity e, orbit inclination i, ascending node right ascension Ω, latitude argument u of the initial position i , the latitude argument u of the target position f , the true anomaly angle θ of the initial position i The true anomaly angle θ of the target position f .

[0093] The semi-major axis a is calculated as follows: a0=(r i +r f ) / 2 as the initial value and substituted into the Newton iteration method to calculate the semi-major axis a of the multi-circle Lambert transfer orbit;

[0094] The formula for Newton's iteration method is:

[0095]

[0096] In the formula, a k represents the kth iteration value of the semi-major axis, a k+1 Represents the k+1th iteration value of the semi-major axis;

[0097] k=0,1,2…F(a k ) represents the Lambert equation; F'(a k ) represents the first derivative of the Lambert equation about the semimajor axis.

[0098] The calculation formula of F(a) is as follows:

[0099]

[0100] Where N is the number of transfer turns, T is the transfer time; μ = GM = 3.986 * 10 14 [m 3 / s 2 ], where G is the gravitational constant G = 6.670*10 -11 [m 3 / (kg.s 2 )]; M is the mass of the Earth M = 5.976*10 24 [kg]; a represents the semi-major axis; α and β are intermediate variables without specific definition.

[0101] The eccentricity e is calculated using the following formula:

[0102]

[0103]

[0104]

[0105] α=π+sign(Δt m -T)(α * -π) (8)

[0106] β=sign(sinΔθ)β * (9)

[0107]

[0108]

[0109]

[0110]

[0111] sign is the sign function,

[0112] Where μ is the earth's gravitational constant; p is the semi-diameter; s is the straight-line distance between the initial position and the target position; α * and β * All of them indicate that the intermediate variables have no specific definition; Δt m represents the flight time along the minimum energy ellipse arc; δ m Indicates that the intermediate variable has no specific definition.

[0113] The true anomaly angle θ is calculated using the following formula: i The true anomaly angle θ of the target position f :

[0114]

[0115]

[0116]

[0117]

[0118] The orbital inclination i is calculated using the following formula:

[0119]

[0120]

[0121] q=sign(π-Δθ)

[0122] In the formula, q xi represents the x-axis component of the orbital normal vector in the geocentric inertial coordinate system, q yi represents the y-axis component of the orbital normal vector in the geocentric inertial coordinate system; q zi represents the z-axis component of the orbital normal vector in the geocentric inertial coordinate system, Q represents the normal vector of the orbit, q represents the direction of motion, if Δθ<π, q=+1, otherwise q=-1.

[0123] The following formula is used to calculate the right ascension Ω of the ascending node:

[0124]

[0125] The latitude argument u of the initial position is calculated using the following formula: i and the latitude argument u of the target position f , and the perigee argument ω of the transfer orbit:

[0126] ω=u i -θ i (twenty two)

[0127] Or, ω = u f -θf (twenty three)

[0128]

[0129] {R i} n =[{R i} nx {R i} ny {R i} nz ] T =L ni R i (25)

[0130]

[0131]

[0132] {R f} n =[{R f} nx {R f} ny {R f} nz ] T =L ni R f (28)

[0133] Where, {Ri}n represents the expression of the initial position vector in the geocentric node coordinate system, {R i} nx Represents the x-axis component of the initial position vector in the geocentric node coordinate system; {R i} ny Represents the y-axis component of the initial position vector in the geocentric node coordinate system; {R i} nz Represents the z-axis component of the initial position vector in the geocentric node coordinate system; {R f} n The expression representing the target position vector in the geocentric node coordinate system, {R f} nx Represents the x-axis component of the target position vector in the geocentric node coordinate system; {R f} ny Represents the y-axis component of the target position vector in the geocentric node coordinate system; {R f} nz Represents the z-axis component of the target position vector in the geocentric node coordinate system. Matrix L niRepresents the transformation matrix from the geocentric inertial coordinate system to the geocentric nodal coordinate system. The geocentric inertial coordinate system: the origin is at the center of the earth, the x-axis is in the equatorial plane and points to the vernal equinox, the z-axis is perpendicular to the equatorial plane and points to the North Pole, and the y-axis is determined by the right-hand rule. The geocentric nodal coordinate system: the origin is at the center of the earth, the x-axis points to the ascending node, the z-axis points to the direction of the moment of momentum, and the y-axis is determined by the right-hand rule.

[0134] Step S2.3: According to the conversion relationship between the six element parameters and the multi-turn Lambert transfer orbit position and velocity state, the initial velocity vector V is converted i With the terminal velocity vector V f .

[0135] In this embodiment, step S2.3 includes: initial velocity vector V i With the terminal velocity vector V f The calculation is done using the following formula:

[0136] [R i , V i ]=Ψ(a,e,i,u i ,Ω,θ i ) (29)

[0137] [R f , V f ]=Ψ(a,e,i,u f ,Ω,θ f ) (30)

[0138] Among them, V i is the velocity vector at the initial position, V f is the velocity vector of the target position, and Ψ is the conversion relationship between the six elements of the orbit and the orbital position and velocity state quantities.

[0139] Step S3, establishing a dynamic equation under J2 perturbation, and obtaining the deviation of the final position of the transfer orbit caused by the J2 perturbation according to the dynamic equation combined with the multi-turn Lambert transfer orbit.

[0140] Specifically, the step S3 includes: from the initial state [R i , V i ] starts, transfer time T, and obtains the actual end position vector R f '(V i ), calculate the deviation of the final position of the multi-turn Lambert transfer orbit caused by the J2 perturbation:

[0141] The dynamic equation under J2 perturbation for:

[0142]

[0143] Where R is the position vector, R = [x, y, z] T , x represents the x-axis component of the position vector in the geocentric inertial coordinate system; y represents the y-axis component of the position vector in the geocentric inertial coordinate system; z represents the z-axis component of the position vector in the geocentric inertial coordinate system; R changes with time, when the flight time t = 0, R = R i , represents the initial position vector, when the flight time t is equal to the transfer time T, R = R f '(V i ) represents the final position vector; is the second-order derivative of the position vector with respect to the flight time; r is the distance from the final position to the center of the earth, r = ||R||, μ = GM = 3.986*10 14 [m 3 / s 2 ], where G is the gravitational constant G = 6.670*10 -11 [m 3 / (kg.s 2 )]; M is the mass of the Earth M = 5.976*10 24 [kg]; J2 is the Earth's oblateness perturbation coefficient, R e is the radius of the Earth.

[0144] The deviation ΔR from the final position of the transfer orbit due to the J2 perturbation f (V i )for

[0145] ΔR f (V i )=||R f '(V i )-R f || (32)

[0146] Among them, R f '(V i ) This variable is defined as the final position vector, and the calculation process is based on the initial position vector R i , flight time T, and the dynamic equation under J2 perturbation are obtained by integrating the fourth-order Runge-Kutta method using MATLAB software.

[0147] Step S4: Correct the multi-turn Lambert transfer orbit by using a genetic algorithm until the deviation reaches a minimum value, and output the final multi-turn Lambert transfer orbit.

[0148] like Figure 4 As shown, the step S4 includes: step S4.1, genetic algorithm initialization: under a certain coding scheme, randomly generate an initial population, the initial population is a randomly generated set of initial speed Vi A set of feasible solutions [V i1 ,V i2 ,V i3 …V i(n-1) ,V in ], where n is the number of feasible solutions of the initial population.

[0149] Step S4.2: Set the objective function to ΔR f (V i )=||R f '(V i )-R f ||, since the objective function is a minimization problem, the fitness function G(V i ):

[0150]

[0151] Step S4.3: According to the size of the fitness function value of each individual in the initial population, select several individuals with the highest fitness function value from the initial population to form a mating pool, and copy these individuals to the next generation population.

[0152] Step S4.4, using the two genetic operators of crossover and mutation to operate on a number of individuals in the mating pool to form m individuals in a new generation population, where m is the number of new individuals in the new generation population;

[0153] Step S4.5, combining the (nm) individuals in the mating pool replicated in step S4.3 and the m individuals generated in step S4.4 into a new generation population.

[0154] Step S4.6, repeatedly execute steps S4.2 to S4.5 until the fitness of the optimal individual no longer increases, or the number of iterations reaches a preset number of generations, the genetic algorithm terminates, and the optimal initial speed is output.

[0155] In order to better understand the above embodiment, a specific example is given below for illustration. In step S1, the initial position vector R i =[934220.899; 1646136.726; -3702.993]km, terminal position vector R f =[-493688.816; 445535.111; -5397.137] km, orbit change time T = 14.9935 days.

[0156] In particular, the single-loop Lambert transfer orbit is a special case of the present invention. For the single-loop J2-Lambert transfer orbit of this example, Figure 3As shown, it only takes about half an orbit to transfer from the initial point to the target point, and the orbit eccentricity is relatively large (e=0.917). The following shows a multi-turn J2-Lambert transfer orbit with the same input parameters.

[0157] Step S2.1: Calculate the initial geocentric distance r of the spacecraft using the above formula (1): i Distance from the target center r f , and the central angle Δθ between the initial position and the end position is calculated using the above formula (2), and the result is as follows:

[0158] r i =||R i ||=1.8928·10 6 km, r f =||R f ||=6.6503·10 5 km

[0159] Δθ=1.3528rad.

[0160] In step S2.2, the semi-major axis a is calculated using the above formulas (3)-(4), that is, a0=(r i +r f ) / 2=1278900km is used as the initial value and substituted into Newton iteration method to calculate the semi-major axis a=1235100km.

[0161] Using the above formulas (5) to (28), we can calculate e = 0.822, θ i =2.8546rad and θ f =4.2074rad, i=0.0081rad, Ω=3.9528rad, u i =3.38497rad,u f =4.737786rad and ω=0.5304rad.

[0162] The result calculated by using the above formula (29) and formula (30) is the velocity vector V at the initial position: i =[-1.2304; 5.4568; -0.0377] km / s, velocity vector at target position (terminal velocity vector) V f =[2.3213;-16.5235;0.1060]km / s.

[0163] In step S3, the above formulas (31) to (32) are used to calculate the deviation of the final position of the transfer orbit caused by the J2 perturbation as ΔR f (V i )=||R f '(V i )-Rf ||=3309km.

[0164] In step S4, after optimization by genetic algorithm, the final corrected initial speed V i =[-1.2178;5.4584;-0.0377]km / s, ΔR f (V i )=||R f '(V i )-R f ||=0.47449m, multi-turn J2-Lambert transfer orbit Figure 5 As shown, it takes one and a half transfer orbits to transfer from the initial point to the target point, and the orbit eccentricity becomes smaller (e=0.822).

[0165] On the other hand, the present invention further provides an electronic device, including a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the method described above is implemented.

[0166] In yet another aspect, the present invention further provides a readable storage medium, wherein the readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described above is implemented.

[0167] In summary, this embodiment discloses a multi-turn J2-Lambert transfer orbit solution method based on genetic algorithm correction. The method uses genetic algorithm to correct the initial velocity of the spacecraft under the dynamic equation considering J2 perturbation, and solves the spacecraft from the initial position vector R i After the change of track time T, the target terminal position vector R is reached f First, based on the known input parameters, solve the transfer trajectory from R to i Position to R f The initial velocity vector V of the multi-turn Lambert transfer orbit of position i ; The initial state [R i , V i ] Substitute into the J2-Lambert dynamic equation, transfer time T, and obtain the actual end position vector R f ', and calculate its position vector R with the target end f Deviation of V i The genetic algorithm is used to solve the initial velocity vector that meets the terminal position deviation accuracy through optimization operations such as crossover and mutation. The multi-turn J2-Lambert transfer orbit corrected by the genetic algorithm is not only suitable for long-period orbit transfer missions, but also meets the landing point accuracy requirements.

[0168] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0169] It should be noted that the devices and methods disclosed in the embodiments of this article can also be implemented in other ways. The device implementation described above is only schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of this article. In this regard, each box in the flowchart or block diagram can represent a part of a module, program or code, and the module, program segment or part of the code contains one or more executable instructions for implementing the specified logical function, and the module, program segment or part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented by a dedicated hardware-based system for performing a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0170] In addition, the functional modules in the various embodiments of this document may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0171] Although the content of the present invention has been described in detail through the above preferred embodiments, it should be appreciated that the above description should not be considered as a limitation of the present invention. After reading the above content, it will be apparent to those skilled in the art that various modifications and substitutions of the present invention will occur. Therefore, the protection scope of the present invention should be limited by the appended claims.

Claims

1. A multi-loop J2-Lambert transfer trajectory solution method based on genetic algorithm correction, characterized in that: include: Step S1, obtaining initial parameters, the initial parameters include: initial position vector R i , target position vector R f , and the spacecraft from the initial position vector R i Arrival of the target position vector R f The transfer time T is Step S2: according to the initial parameters, solve the spacecraft from the initial position vector R when there is no J2 perturbation i After the transfer time T, the target position vector R is reached. f Multi-turn Lambert transfer orbits; Step S3, establishing a dynamic equation under J2 perturbation, and obtaining the deviation of the final position of the transfer orbit caused by the J2 perturbation according to the dynamic equation combined with the multi-turn Lambert transfer orbit; Step S4, using a genetic algorithm to correct the multi-turn Lambert transfer orbit until the deviation reaches a minimum value, and outputting the final multi-turn Lambert transfer orbit; The multi-turn Lambert transfer orbit includes: the initial velocity vector V i With the terminal velocity vector V f ; The step S2 comprises: Step S2.1, calculate the initial geocentric distance r of the spacecraft using the following formula: i Distance from the target center r f : r i =||R i ||,r f =||R f || The central angle Δθ between the initial position and the target position is calculated using the following formula: Step S2.2: According to the initial geocentric distance r i , the target geocentric distance r f and the central angle Δθ to calculate the six element parameters of the multi-turn Lambert transfer orbit; Step S2.3: According to the conversion relationship between the six element parameters and the multi-turn Lambert transfer orbit position and velocity state, the initial velocity vector V is converted i With the terminal velocity vector V f ; The step S2.2 includes: the six element parameters of the multi-turn Lambert transfer orbit include: semi-major axis a, eccentricity e, orbit inclination i, ascending node right ascension Ω, latitude argument u of the initial position i , the latitude argument u of the target position f , the true anomaly angle θ of the initial position i The true anomaly angle θ of the target position f : The semi-major axis a is calculated as follows: a0=(r i +r f ) / 2 as the initial value and substituted into the Newton iteration method to calculate the semi-major axis a of the multi-circle Lambert transfer orbit; The eccentricity e is calculated using the following formula: α=π+sign(Δt m -T)(a * -p) β=sign(sinΔθ)β * Where, μ = GM = 3.986 * 10 14 [m 3 / s 2 ], where G is the gravitational constant G = 6.670*10 -11 [m 3 / (kg.s 2 )]; M is the mass of the Earth M = 5.976*10 24 [kg]; μ is the earth's gravitational constant; p is the semi-diameter; s is the straight-line distance between the initial position and the target position; α * and β * All of them indicate that the intermediate variables have no specific definition; Δt m represents the flight time along the minimum energy ellipse arc; δ m Indicates that the intermediate variable has no specific definition; The true anomaly angle θ is calculated using the following formula: i The true anomaly angle θ of the target position f : The orbital inclination i is calculated using the following formula: q=sign(π-Δθ) In the formula, q xi represents the x-axis component of the orbital normal vector in the geocentric inertial coordinate system, q yi represents the y-axis component of the orbital normal vector in the geocentric inertial coordinate system; q zi represents the z-axis component of the orbital normal vector in the geocentric inertial coordinate system, Q represents the orbital normal vector, q represents the direction of motion, if Δθ<π, q=+1, otherwise q=-1; The following formula is used to calculate the right ascension Ω of the ascending node: The latitude argument u of the initial position is calculated using the following formula: i and the latitude argument u of the target position f {R i } n =[{R i } nx {R i } ny {R i } nz ] T =L ni R i ; {R f } n =[{R f } nx {R f } ny {R f } nz ] T =L ni R f The perigee argument ω of the transfer orbit: ω=u i -θ i =u f -θ f In the formula, {R i } n The expression of the initial position vector in the geocentric node coordinate system, {R i } nx Represents the x-axis component of the initial position vector in the geocentric node coordinate system; {R i } ny Represents the y-axis component of the initial position vector in the geocentric node coordinate system; {R i } nz Represents the z-axis component of the initial position vector in the geocentric node coordinate system; {R f } n The expression representing the target position vector in the geocentric node coordinate system, {R f } nx Represents the x-axis component of the target position vector in the geocentric node coordinate system; {R f } ny Represents the y-axis component of the target position vector in the geocentric node coordinate system; {R f } nz Represents the z-axis component of the target position vector in the geocentric node coordinate system; L ni Represents the transformation matrix from the geocentric inertial coordinate system to the geocentric nodal coordinate system; The step S2.3 includes: initial velocity vector V i With the terminal velocity vector V f The calculation is done using the following formula: [R i ,V i ]=Ψ(a,e,i,u i ,Ω,θ i ) [R f ,V f ]=Ψ(a,e,i,u f ,Ω,θ f ) Among them, V i is the velocity vector at the initial position, V f is the velocity vector of the target position, Ψ is the conversion relationship between the six elements of the orbit and the orbit position and velocity state quantities; The step S3 comprises: from the initial state [R i , V i ] starts, transfer time T, and obtains the actual end position vector R f '(V i ), calculate the deviation of the final position of the multi-turn Lambert transfer orbit caused by the J2 perturbation: The dynamic equation under J2 perturbation for: Where R is the position vector, R = [x, y, z] T , x represents the x-axis component of the position vector in the geocentric inertial coordinate system; y represents the y-axis component of the position vector in the geocentric inertial coordinate system; z represents the z-axis component of the position vector in the geocentric inertial coordinate system; R changes with time, when the flight time t = 0, R = R i , represents the initial position vector, when the flight time t is equal to the transfer time T, R = R f '(V i ) represents the final position vector; is the second-order derivative of the position vector with respect to the flight time; r is the distance from the final position to the center of the earth, r = ||R||, μ = GM = 3.986*10 14 [m 3 / s 2 ], where G is the gravitational constant G = 6.670*10 -11 [m 3 / (kg.s 2 )]; M is the mass of the Earth M = 5.976*10 24 [kg], J2 is the Earth's oblateness perturbation coefficient, R e is the radius of the Earth; The deviation ΔR from the final position of the transfer orbit due to the J2 perturbation f (V i )for ΔR f (IN i )=||R f '(IN i )-R f || Among them, R f '(V i ) is the final position vector; the step S4 comprises: Step S4.1, genetic algorithm initialization: randomly generate an initial population, the initial population is a randomly generated set of initial velocity vectors V i A set of feasible solutions [V i1 ,V i2 ,V i3 …V i(n-1) ,V in ], where n is the number of feasible solutions of the initial population; Step S4.2: Set the objective function to ΔR f (V i )=||R f '(V i )-R f ||, take the fitness function Step S4.3, according to the size of the fitness function value of each individual in the initial population, select a number of individuals with the highest fitness function value from the initial population to form a mating pool, and copy these individuals to the next generation population; Step S4.4, operating the two genetic operators of crossover and mutation on a number of individuals in the mating pool to form m individuals in a new generation population, where m is the number of new individuals in the new generation population; Step S4.5, combining the (nm) individuals in the mating pool copied in step S4.3 and the m individuals generated in step S4.4 into a new generation population; Step S4.6, repeatedly execute steps S4.2 to S4.5 until the fitness of the optimal individual no longer increases, or the number of iterations reaches a preset number of generations, the genetic algorithm terminates, and the optimal initial speed is output.

2. An electronic device, characterized in that: The method comprises a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the method according to claim 1 is implemented.

3. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a processor, the method of claim 1 is implemented.