Gliding guided projectile trajectory optimization method based on PSO-hpRPM algorithm

By using the double-ring optimization strategy of the PSO-hpRPM algorithm in gliding guided shell ballistic optimization, the problem of difficult to obtain optimal gliding ballistics under complex constraints in the prior art is solved, and the optimal ballistic optimization under the satisfaction of multiple constraints is achieved.

CN120027660APending Publication Date: 2025-05-23JIANGSU UNIV OF SCI & TECH
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202510158922.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-13
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

When the prior art deals with complex constraint optimization problems, especially in gliding guided shell ballistic optimization, it is difficult to obtain the optimal gliding trajectory under the satisfaction of multiple constraints, and may fall into a local optimal solution.

Method used

The dual-ring optimization strategy based on the PSO-hpRPM algorithm is adopted. The outer ring uses the PSO algorithm to optimize the firing angle and ignition time to provide the optimal initial value for the inner ring; the inner ring uses the hpRPM algorithm to solve the optimal control law and fitness value to ensure that the gliding trajectory with the farthest range is obtained under all constraints.

Benefits of technology

It effectively combines the global search capability of the PSO algorithm and the local optimization capability of the hpRPM algorithm to ensure that the optimal gliding trajectory is obtained under complex constraints and avoids local optimal solutions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120027660A_ABST
    Figure CN120027660A_ABST
Patent Text Reader

Abstract

The invention relates to a gliding guided projectile trajectory optimization method based on a PSO-hpRPM algorithm, and the method comprises the steps: taking the longitudinal plane motion of a gliding guided projectile as a research target in a launching coordinate system, and building a longitudinal motion equation of the gliding guided projectile; determining a ballistic objective function and constraint conditions, and establishing a ballistic optimization mathematical model; establishing a PSO-hpRPM optimization algorithm: the algorithm adopts a double-ring optimization strategy, an outer ring adopts a PSO algorithm to optimize a firing angle and ignition time, and an optimal initial value is provided for an inner ring; an inner ring adopts an hpRPM algorithm to solve an optimal control law u and a fitness value J, and finally a gliding trajectory with the farthest range is obtained under all constraint conditions; initial conditions are set, iterative calculation is carried out, and when the fitness of an objective function is converged, the optimal firing angle, ignition time and the optimal trajectory are obtained. A new solution is provided for the ballistic optimization problem of the gliding guided projectile, and a theoretical reference is also provided for other ballistic optimization problems of the same type.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a trajectory optimization method, in particular to a trajectory optimization method for a gliding guided projectile based on a PSO-hpRPM algorithm. Background Art

[0002] The glide-guided projectile mainly improves the projectile range by optimizing the glide trajectory design. Therefore, the glide trajectory optimization is an important part of the overall design of the glide-guided projectile. The quality of the optimization result has an important impact on the overall performance index of the projectile. The trajectory optimization problem is essentially a nonlinear optimal control problem that seeks the optimal control law under multiple constraints to achieve the optimal performance index.

[0003] Particle Swarm Optimization (PSO) is an evolutionary computing technology that simulates the behavior of a flock of birds flying and foraging, and achieves the optimal state of the flock through collective cooperation between birds. The PSO algorithm is simple in concept, uses fewer parameters, is easy to implement in engineering, is good at global search, and can search for potential optimal solutions in a large solution space. Traditional PSO has a good effect on single-target trajectory optimization problems, but it may face some challenges when dealing with complex constrained optimization problems, especially when there are many constraints or the constraints are strict, PSO may not be able to obtain the optimal feasible solution. The hp adaptive Radau pseudo-spectral method (hpRPM) has the characteristics of high efficiency, small amount of calculation, small memory usage, and the ability to effectively handle complex constraint problems. It has been widely used in solving trajectory optimization problems. When hpRPM is used alone, it may fall into the local optimal solution due to its local optimization characteristics. Therefore, how to obtain the optimal gliding trajectory while meeting complex multi-constraint conditions has become a technical problem that needs to be solved in trajectory optimization. Summary of the invention

[0004] Purpose of the invention: The purpose of the invention is to propose a glide-guided projectile trajectory optimization method based on the PSO-hpRPM algorithm to obtain the glide trajectory with the longest range while satisfying all constraints.

[0005] Technical solution: The present invention comprises the following steps:

[0006] In the launch coordinate system, the longitudinal motion equation of the gliding guided projectile is established with the longitudinal motion of the gliding guided projectile as the research target.

[0007] Determine the trajectory objective function and constraints, and establish a trajectory optimization mathematical model;

[0008] Establish a PSO-hpRPM optimization algorithm: This algorithm adopts a dual-loop optimization strategy, including inner loop optimization and outer loop optimization. The outer loop uses the PSO algorithm to optimize the firing angle and ignition time to provide the optimal initial value for the inner loop; the inner loop uses the hpRPM algorithm to solve the optimal control law u and fitness value J, and finally obtains the glide trajectory with the longest range while satisfying all constraints.

[0009] Perform trajectory optimization solution and fitness evaluation: set initial conditions, perform iterative calculations, and obtain the optimal shooting angle, ignition time, and optimal trajectory when the fitness of the objective function converges.

[0010] The longitudinal motion equation of the gliding guided projectile is:

[0011]

[0012] Where: α is the angle of attack, δ is the rudder deflection angle, C D0 is the zero lift drag coefficient, C Dδ0 is the zero-lift drag coefficient of the rudder surface, C′ L is the lift coefficient derivative, C′ Lδ is the derivative of the lift coefficient of the rudder surface, k T , k B are the induced drag coefficient of the rudder surface and the induced drag coefficient of the missile body, X R To control the rudder pressure center position, X F is the center of pressure position of the wing assembly, X G is the center of gravity of the whole projectile, v is the velocity, θ is the ballistic inclination angle, x and y are the flight distance and flight altitude of the sliding-guided projectile respectively, is the dynamic pressure, S is the characteristic area, m is the mass of the projectile, g is the gravitational acceleration, F p is the average thrust of the rocket engine, m c It is the mass dissipation rate of rocket booster engine charge.

[0013] The trajectory optimization mathematical model is established as follows: the firing angle and the ignition time are used as optimization variables, and are recorded as X = [θ 0 ,t ig ], taking boundary constraints, terminal constraints, process constraints, control constraints and path constraints as constraints and range as objective function, an optimization mathematical model is established.

[0014] The boundary constraints are:

[0015]

[0016] Where: t 0 is the initial moment, v 0 、m 0 are the initial velocity and initial mass respectively, x(t 0 ), y(t0 ) are the distance and elevation of the launch point, respectively, and the launch angle θ(t 0 ) is the parameter to be optimized;

[0017] Terminal constraints:

[0018]

[0019] Where: t f is the terminal moment, v tfmin =210m / s is the expected minimum falling speed, θ tfmax =-90°,θ tfmin =-60° are the expected maximum and minimum falling angles respectively; y T =0 is the target elevation coordinate;

[0020] Process constraints:

[0021] Ascent phase and inertia ascent phase:

[0022]

[0023] Boosting stage:

[0024]

[0025] Where: t cl is the ignition end time, ignition time t ig is the variable to be optimized, the engine working time t c is a constant;

[0026] Gliding section:

[0027]

[0028] Control constraints:

[0029] |α|≤α max (7)

[0030] Path constraints:

[0031]

[0032] in:

[0033] The objective function is:

[0034] min J=-x tf (9)

[0035] The mathematical description of the trajectory optimization problem is: at time [t 0 ,t f], under the constraints of equations (2) to (8), the optimal control variables α and the angle of fire θ (t 0 ), ignition time t ig , so that the objective function (9) is minimized.

[0036] The outer loop of PSO is: The dimension of the target search space is the number of optimization variables, which is 2; suppose the population consists of nPop particles, and the PSO algorithm initializes the particle position X = [θ 0 ,t ig ] is input into the inner loop hpRPM algorithm, where θ 0 =[θ 01 ,θ 02 ,…,θ 0nPop ] T , t ig =[t ig1 ,t ig2 ,…t ignPop ] T , according to the fitness value J returned by the hpRPM algorithm, update the global optimal position gbest and the local optimal position pbest i =[θ 0i ,t igi ], (i=1,2,…,nPop), obtain and record the initial optimal individual and fitness value. Then, according to the speed update formula (10) and the position update formula (11), update the particle velocity v and position X of the particle, and input the updated position X into hpRPM again. The hpRPM algorithm calculates the fitness value of the objective function according to formula (9), returns the fitness value J to the PSO algorithm, obtains the minimum fitness value of this iteration, and compares it with the optimal fitness value obtained in the previous group iteration. If the maximum number of particle iteration calculations is reached, stop the calculation, otherwise update the particle velocity and position according to formulas (10) and (11), and continue the next iteration. The particle with the smallest fitness value in the last iteration is the optimal individual. Finally, the global optimal position and optimal fitness value J are output in the PSO algorithm to obtain the optimal initial value of the inner loop;

[0037] v i =w×v i +c 1 ×rand1×(pbest i -x i )+c 2 ×rand2×(gbest-x i ) (10)

[0038] x i =x i +v i (11)

[0039] Where: v i is the moving speed of the ith particle, x i is the current position of the ith particle, c 1 、c 2 is the learning factor, rand 1 , rand 2 is a random number uniformly distributed on the interval [0,1]. is the inertia weight, and maxIt is the maximum number of iterations. Usually c is set 1 =c 2 =2,w max =0.9, w min =0. 4 ; Repeat the iterative calculation until the number of iterations is greater than the maximum number of iterations.

[0040] The inner loop of hpRPM is: determine the state variable s, control variable u and constraint conditions, and according to the initial value X=[θ 0 ,t ig ] and the initial values ​​of other variables, solve the optimal control law u and fitness value J, output the changing values ​​of state variables and control variables over time, and finally return the fitness value J to the PSO algorithm.

[0041] The trajectory optimization solution and fitness evaluation include:

[0042] Set the initial value of iterative calculation;

[0043] The initial particle swarm is passed to the initial value required by hpRPM. The hpRPM algorithm calculates the fitness value of the objective function according to formula (9), returns the fitness value J to the PSO algorithm, and obtains and records the initial optimal individual and fitness value;

[0044] Update the particle's velocity and position according to equations (10) and (11);

[0045] The updated particle position is passed to the initial value required by hpRPM again. The hpRPM algorithm calculates the fitness value of the objective function according to formula (9), returns the fitness value J to the PSO algorithm, obtains the minimum fitness value of this iteration, and compares it with the optimal fitness value obtained in the previous group iteration. If the maximum number of iterative calculations is reached, the calculation is stopped, otherwise the particle speed and position are updated according to formula (13) and the next iteration is continued;

[0046] The particle with the smallest fitness value in the last iteration is taken as the optimal individual, and the corresponding trajectory is the optimal trajectory. The optimal individual gbest is the optimal shooting angle and ignition time corresponding to the optimal trajectory.

[0047] The maximum number of iterations maxIt=10.

[0048] The upper and lower limits of the ignition time and the firing angle are respectively: UpB=[10,65°], LoB=[5,20°].

[0049] Beneficial effects: The present invention has the following advantages:

[0050] (1) The present invention fully integrates the powerful global search capability of the PSO algorithm and the excellent local optimization capability of the hpRPM algorithm, and adopts a dual-loop optimization strategy, including inner loop optimization and outer loop optimization. The outer loop uses the PSO algorithm to optimize the firing angle and ignition time, providing the optimal initial value for the inner loop; the inner loop uses the hpRPM algorithm to solve the optimal control law u, and finally obtains the glide trajectory with the longest range under all constraints.

[0051] (2) The present invention can make full use of existing design experience to obtain the optimal trajectory that satisfies multiple constraints such as boundary constraints, process constraints, terminal constraints, control constraints, and path constraints of the gliding guided projectile. It provides a new solution to the trajectory optimization problem of the gliding guided projectile, and also provides a theoretical reference for other similar trajectory optimization problems. It has strong theoretical research significance and engineering application value. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION

[0053] The present invention will be further described below in conjunction with the accompanying drawings.

[0054] The glide-guided projectile trajectory optimization method based on the PSO-hpRPM algorithm in this embodiment combines the powerful global search capability of the PSO algorithm and the excellent local optimization capability of the hpRPM algorithm, and adopts a dual-loop optimization strategy, including inner loop optimization and outer loop optimization. The outer loop uses the PSO algorithm to optimize the firing angle and ignition time, providing the optimal initial value for the inner loop; the inner loop uses the hpRPM algorithm to solve the optimal control law and fitness value, and finally obtains the glide trajectory with the longest range under all constraints. Specifically, it includes the following steps:

[0055] S1. In the launch coordinate system, taking the longitudinal plane motion of the gliding guided projectile as the research target, the longitudinal motion equation of the gliding guided projectile is established:

[0056]

[0057] Where: α is the angle of attack, δ is the rudder deflection angle, C D0 is the zero lift drag coefficient, C Dδ0 is the zero-lift drag coefficient of the rudder surface, C′ L is the lift coefficient derivative, C′ Lδ is the derivative of the lift coefficient of the rudder surface, k T, k B are the induced drag coefficient of the rudder surface and the induced drag coefficient of the missile body, X R To control the rudder pressure center position, X F is the center of pressure position of the wing assembly, X G is the center of gravity of the whole projectile, v is the velocity, θ is the ballistic inclination angle, x and y are the flight distance and flight altitude of the sliding-guided projectile respectively, is the dynamic pressure, S is the characteristic area, m is the mass of the projectile, g is the gravitational acceleration, F p is the average thrust of the rocket engine, m c It is the mass dissipation rate of rocket booster engine charge.

[0058] S2. Determine the trajectory objective function and constraint conditions, and establish a trajectory optimization mathematical model: take the firing angle and ignition time as optimization variables, denoted as X = [θ 0 ,t ig ], the upper and lower boundaries of the optimized variable ignition time and firing angle are: UpB = [10, 65°], LoB = [5, 20°]. With boundary constraints, terminal constraints, process constraints, control constraints and path constraints as constraints, and firing range as the objective function, an optimization mathematical model is established. Among them,

[0059] (1) The boundary constraints are:

[0060]

[0061] Where: t 0 is the initial moment, v 0 、m 0 are the initial velocity and initial mass respectively, x(t 0 ), y(t 0 ) are the distance and elevation of the launch point, respectively, and the launch angle θ(t 0 ) are the parameters to be optimized.

[0062] (2) Terminal constraints:

[0063]

[0064] Where: t f is the terminal moment, v tfmin =210m / s is the expected minimum falling speed, θ tfmax =-90°,θ tfmin =-60° are the expected maximum and minimum falling angles respectively; y T =0 is the target elevation coordinate.

[0065] (3) Process constraints:

[0066] Ascent phase and inertia ascent phase:

[0067]

[0068] Boosting stage:

[0069]

[0070] Where: t cl is the ignition end time, ignition time t ig is the variable to be optimized, the engine working time t c =7s is a constant.

[0071] Gliding section:

[0072]

[0073] (4) Control constraints:

[0074] |α|≤α max (7)

[0075] Where: α max =10° is the maximum angle of attack.

[0076] (5) Path constraints:

[0077] In order to ensure that the gliding guided projectile has sufficient control ability during flight, the minimum value of dynamic pressure q is set min =10000Pa. At the same time, considering the limitation of the missile structure strength, the maximum normal overload is set to n ymax =2g.

[0078]

[0079] in:

[0080] The optimization target is the range of the gliding guided projectile, that is, the objective function is:

[0081] min J=-x tf (9)

[0082] The mathematical description of the trajectory optimization problem is: at time [t 0 ,t f ], under the constraints of equations (2) to (8), the optimal control variables α and the angle of fire θ (t 0 ), ignition time t ig , so that the objective function (9) is minimized.

[0083] S3. Establish PSO-hpRPM optimization algorithm: This algorithm adopts a dual-loop optimization strategy, including inner loop optimization and outer loop optimization. The outer loop uses PSO algorithm to optimize the firing angle and ignition time, providing the optimal initial value for the inner loop; the inner loop uses hpRPM algorithm to solve the optimal control law u and fitness value J, and finally obtains the longest range glide trajectory under all constraints. Specifically:

[0084] PSO outer loop: The dimension of the target search space is the number of optimization variables, which is 2; suppose the population consists of nPop particles, and the PSO algorithm initializes the particle position X = [θ 0 ,t ig ] is input into the inner loop hpRPM algorithm, where θ 0 =[θ 01 ,θ 02 ,…,θ n0Pop ] T , t ig =[t ig1 ,t ig2 ,…t ignPop ] T , according to the fitness value J returned by the hpRPM algorithm, update the global optimal position gbest and the local optimal position pbest i =[θ 0i ,t igi ], (i=1,2,…,nPop), obtain and record the initial optimal individual and fitness value. Then, according to the speed update formula (10) and the position update formula (11), update the particle velocity v and position X of the particle, and input the updated position X into hpRPM again. The hpRPM algorithm calculates the fitness value of the objective function according to formula (9), returns the fitness value J to the PSO algorithm, obtains the minimum fitness value of this iteration, and compares it with the optimal fitness value obtained in the previous group iteration. If the maximum number of particle iteration calculations is reached, stop the calculation, otherwise update the particle velocity and position according to formulas (10) and (11), and continue the next iteration. The particle with the smallest fitness value in the last iteration is the optimal individual. Finally, the global optimal position and optimal fitness value J are output in the PSO algorithm to obtain the optimal initial value of the inner loop;

[0085] vi=w×vi+c 1 ×rand1×(pbest i -x i )+c 2 ×rand2×(gbest-x i ) (10)

[0086] x i =x i +v i (11)

[0087] Among them, v i is the moving speed of the ith particle, x i is the current position of the ith particle, c 1 、c 2 is the learning factor, rand 1 , rand 2 is a random number uniformly distributed on the interval [0,1]. is the inertia weight, and maxIt is the maximum number of iterations. Usually c is set 1 =c 2 =2,w max =0.9, w min =0.4; repeat the iterative calculation until the number of iterations is greater than the maximum number of iterations.

[0088] hpRPM inner loop: Determine the state variable s, control variable u and constraints, and calculate the initial value of the optimized parameter X=[θ 0 ,t ig ] and the initial values ​​of other variables, solve the optimal control law u and fitness value J, output the changing values ​​of state variables and control variables over time, and finally return the fitness value J to the PSO algorithm.

[0089] S4. Perform trajectory optimization and fitness evaluation: set initial conditions, perform iterative calculations, and obtain the best firing angle, ignition time, and optimal trajectory when the fitness of the objective function converges. Specifically include:

[0090] S41, setting the initial value of iterative calculation;

[0091] S42, passing the initial particle swarm to the initial value required by hpRPM, the hpRPM algorithm calculates the fitness value of the objective function according to formula (9), returns the fitness value J to the PSO algorithm, obtains and records the initial optimal individual and fitness value;

[0092] S43, updating the velocity and position of the particle according to equations (10) and (11);

[0093] S44, the updated particle position is passed to the initial value required by hpRPM again, and the hpRPM algorithm calculates the fitness value of the objective function according to formula (9), returns the fitness value J to the PSO algorithm, obtains the minimum fitness value of this iteration, and compares it with the optimal fitness value obtained in the previous group iteration. If the maximum number of particle iteration calculations is reached, the calculation is stopped, otherwise the particle speed and position are updated according to formulas (10) and (11), and the next iteration is continued. The maximum number of iterations maxIt=10.

[0094] S45. The particle with the smallest fitness value in the last iteration is taken as the optimal individual, and the corresponding trajectory is the optimal trajectory. The optimal individual gbest is the optimal shooting angle and ignition time corresponding to the optimal trajectory.

[0095] like Figure 1 As shown in the figure, it is assumed that the glide-guided projectile adopts a boost-glide trajectory scheme, flies in the atmosphere throughout the entire flight, and satisfies certain constraints during the flight: boundary constraints, process constraints, terminal constraints, control constraints, and path constraints. Without loss of generality, only the longitudinal motion of the glide-guided projectile is considered here, the existing trajectory is used as a reference scheme, the angle of attack is used as the control variable, and the PSO-hpRPM algorithm is used for solving to quickly obtain the optimal trajectory that meets the requirements.

[0096] In the launching coordinate system, the longitudinal motion equation of the gliding guided projectile is established.

[0097]

[0098] Where: α is the angle of attack, δ is the rudder deflection angle, C D0 is the zero lift drag coefficient, C Dδ0 is the zero-lift drag coefficient of the rudder surface, C′ L is the lift coefficient derivative, C′ Lδ is the derivative of the lift coefficient of the rudder surface, k T , k B are the induced drag coefficient of the rudder surface and the induced drag coefficient of the missile body, X R To control the rudder pressure center position, X F is the center of pressure position of the wing assembly, X G is the center of gravity of the whole projectile, v is the velocity, θ is the ballistic inclination angle, x and y are the flight distance and flight altitude of the sliding-guided projectile respectively, is the dynamic pressure, S is the characteristic area, m is the mass of the projectile, g is the gravitational acceleration, F p is the average thrust of the rocket engine, m c It is the mass dissipation rate of rocket booster engine charge.

[0099] (1) Establishment of trajectory optimization mathematical model

[0100] Take the existing trajectory as the reference scheme, and the ignition time and firing angle as the optimization variable, denoted as X = [θ 0 ,t ig ], the upper and lower boundaries are: UpB = [10, 65°], LoB = [5, 20°]

[0101] Constraints include boundary constraints, process constraints, terminal constraints, control constraints, and path constraints, as follows: (1) Boundary constraints

[0102]

[0103] Where: t 0 is the initial moment, v 0 、m 0 are the initial velocity and initial mass respectively, x(t 0 ), y(t 0 ) are the distance and elevation of the launch point, respectively, and the launch angle θ(t 0 ) are the parameters to be optimized.

[0104] (2) Terminal constraints

[0105]

[0106] Where: t f is the terminal moment, v tfmin =210m / s is the expected minimum falling speed, θ tfmax =-90°,θ tfmin =-60° are the expected maximum and minimum falling angles respectively; y T =0 is the target elevation coordinate.

[0107] (3) Process constraints

[0108] Ascent phase and inertia ascent phase:

[0109]

[0110] Boosting stage:

[0111]

[0112] Where: t cl is the ignition end time, ignition time t ig is the variable to be optimized, the engine working time t c =7s is a constant.

[0113] Gliding section:

[0114]

[0115] (4) Control constraints

[0116] |α|≤α max (7)

[0117] Where: α max =10° is the maximum angle of attack.

[0118] (5) Path constraints

[0119] In order to ensure that the gliding guided projectile has sufficient control ability during flight, the minimum value of dynamic pressure q is set min=10000Pa. At the same time, considering the limitation of the missile structure strength, the maximum normal overload is set to n ymax =2g.

[0120]

[0121] in:

[0122] The optimization target is the range of the gliding guided projectile, that is, the objective function is:

[0123] min J=-x tf (9)

[0124] The mathematical description of the trajectory optimization problem is: at time [t 0 ,t f ], under the constraints of equations (2) to (8), the optimal control variables α and the angle of fire θ (t 0 ), ignition time t ig , so that the objective function (9) is minimized;

[0125] (2) Establishing the PSO-hpRPM algorithm model

[0126] The algorithm adopts a dual-loop optimization strategy, including inner loop optimization and outer loop optimization. The outer loop uses the PSO algorithm to optimize the firing angle and ignition time, providing the optimal initial value for the inner loop; the inner loop uses the hpRPM algorithm to solve the optimal control law u and fitness value J, and finally obtains the glide trajectory with the longest range under all constraints.

[0127] PSO outer loop: The dimension of the target search space is the number of optimization variables, which is 2; suppose the population consists of nPop particles, and the PSO algorithm initializes the particle position X = [θ 0 ,t ig ] is input into the inner loop hpRPM algorithm, where θ 0 =[θ 01 ,θ 02 ,…,θ 0nPop ] T , t ig =[t ig1 ,t ig2 ,…t ignPop ] T , according to the fitness value J returned by the hpRPM algorithm, update the global optimal position gbest and the local optimal position pbest i =[θ 0i ,t igi], (i=1,2,…,nPop). Then, the particle velocity v and position X of the particle are updated according to the velocity update formula (10) and the position update formula (11), completing one iteration, where: v i is the moving speed of the ith particle, x i is the current position of the ith particle, c 1 、c 2 is the learning factor, rand 1 , rand 2 is a random number uniformly distributed on the interval [0,1]. is the inertia weight, w max is the initial inertia weight, w min is the inertia weight when the number of iterations is the maximum, and maxIt is the maximum number of iterations; repeat the iterative calculation until the number of iterations is greater than the maximum number of iterations. Finally, the global optimal position and the optimal fitness value J are output in the PSO algorithm to obtain the optimal initial value of the inner loop;

[0128] v i =w×v i +c 1 ×rand1×(pbest i -x i )+c 2 ×rand2×(gbest-x i ) (10)

[0129] x i =x i +v i (11)

[0130] hpRPM inner loop: Determine the state variable s, control variable u and constraints, and calculate the initial value of the optimized parameter X=[θ 0 ,t ig ] and the initial values ​​of other variables, solve the optimal control law u and fitness value J, output the changing values ​​of state variables and control variables over time, and finally return the fitness value J to the PSO algorithm.

[0131] (4) Perform trajectory iterative optimization solution and fitness evaluation.

[0132] (a) First, set the initial value of the iterative calculation. If the number of particle populations is 10, then we can get 10 initial particles The initial population is formed, the maximum number of particle iterations is 10, c 1 =c 2 =2,w max =0.9, w min =0.4.

[0133] (b) The initial particle swarm is passed to the initial value required by hpRPM. The hpRPM algorithm calculates the fitness value of the objective function according to formula (9), returns the fitness value J to the PSO algorithm, and obtains and records the initial optimal individual and fitness value;

[0134] (c) Update the velocity and position of the particle according to equations (10) and (11);

[0135] (d) The updated particle position is passed to the initial value required by hpRPM again. The hpRPM algorithm calculates the fitness value of the objective function according to formula (9), returns the fitness value J to the PSO algorithm, obtains the minimum fitness value of this iteration, and compares it with the optimal fitness value obtained in the previous group iteration. If the maximum number of particle iteration calculations is reached, the calculation is stopped. Otherwise, the particle speed and position are updated according to formulas (10) and (11) and the next iteration is continued.

[0136] (e) The particle with the smallest fitness value in the last iteration is taken as the optimal individual, and the corresponding trajectory is the optimal trajectory. The optimal individual gbest is the optimal shooting angle and ignition time corresponding to the optimal trajectory.

Claims

1. A glide-guided projectile trajectory optimization method based on PSO-hpRPM algorithm, characterized in that: The following steps are involved: In the launch coordinate system, the longitudinal motion equation of the gliding guided projectile is established with the longitudinal motion of the gliding guided projectile as the research target. Determine the trajectory objective function and constraints, and establish a trajectory optimization mathematical model; Establish a PSO-hpRPM optimization algorithm: This algorithm adopts a dual-loop optimization strategy, with the PSO algorithm used in the outer loop and the hpRPM algorithm used in the inner loop. The PSO algorithm inputs the initialized particle position into the inner loop hpRPM algorithm, updates the global optimal position and the local optimal position according to the fitness value J returned by the hpRPM algorithm, obtains and records the initial optimal individual and fitness value, and updates the particle speed and position of the particle according to the speed update formula and the position update formula, and inputs the updated position into the hpRPM again; calculates the fitness value of the objective function according to the hpRPM, returns the fitness value to the PSO algorithm, and obtains the minimum fitness value of this iteration; Perform trajectory optimization solution and fitness evaluation: set initial conditions, perform iterative calculations, and obtain the optimal shooting angle, ignition time, and optimal trajectory when the fitness of the objective function converges.

2. The glide-guided projectile trajectory optimization method based on the PSO-hpRPM algorithm according to claim 1 is characterized in that: The longitudinal motion equation of the gliding guided projectile is: Where: α is the angle of attack, δ is the rudder deflection angle, C D0 is the zero lift drag coefficient, C Dδ0 is the zero-lift drag coefficient of the rudder surface, C′ L is the lift coefficient derivative, C′ Lδ is the derivative of the lift coefficient of the rudder surface, k T , k B are the induced drag coefficient of the rudder surface and the induced drag coefficient of the missile body, X R To control the rudder pressure center position, X F is the center of pressure position of the wing assembly, X G is the center of gravity of the whole projectile, v is the velocity, θ is the ballistic inclination angle, x and y are the flight distance and flight altitude of the sliding-guided projectile respectively, is the dynamic pressure, S is the characteristic area, m is the mass of the projectile, g is the gravitational acceleration, F p is the average thrust of the rocket engine, m c It is the mass dissipation rate of rocket booster engine charge.

3. The glide-guided projectile trajectory optimization method based on the PSO-hpRPM algorithm according to claim 1 or 2, characterized in that: The trajectory optimization mathematical model is established as follows: the firing angle and the ignition time are used as optimization variables, denoted as X = [θ0, t ig ]Boundary constraints, terminal constraints, process constraints, control constraints and path constraints are used as constraints. With the range as the objective function, an optimization mathematical model is established.

4. The glide-guided projectile trajectory optimization method based on the PSO-hpRPM algorithm according to claim 3 is characterized in that: The boundary constraints are: Where: t0 is the initial time, v0 and m0 are the initial velocity and initial mass respectively, x(t0) and y(t0) are the distance and elevation of the launch point respectively, and the launch angle θ(t0) is the parameter to be optimized; Terminal constraints: Where: t f is the terminal moment, v tf min =210m / s is the expected minimum falling speed, θ tfmax =-90°,θ tfmin =-60° are the expected maximum and minimum falling angles respectively; y T =0 is the target elevation coordinate; Process constraints: Ascent phase and inertia ascent phase: Boosting stage: Where: t cl is the ignition end time, ignition time t ig is the variable to be optimized, the engine working time t c is a constant; Gliding section: Control constraints: |α|≤α max (7) Path constraints: in:

5. The glide-guided projectile trajectory optimization method based on the PSO-hpRPM algorithm according to claim 4 is characterized in that: The objective function is: minJ=-x tf (9) The mathematical description of the trajectory optimization problem is: at time [t0,t f ], under the constraints of equations (2) to (8), the optimal control variables α, firing angle θ(t0), ignition time t ig , so that the objective function (9) is minimized.

6. The glide-guided projectile trajectory optimization method based on the PSO-hpRPM algorithm according to claim 5, characterized in that: The outer loop of PSO is: The dimension of the target search space is the number of optimization variables. Assume that the population consists of nPop particles. The PSO algorithm initializes the particle position X = [θ0,t ig ] is input into the inner loop hpRPM algorithm, where θ0 = [θ 01 ,θ 02 ,…,θ n0Pop ] T , t ig =[t ig1 ,t ig2 ,…t ignPop ] T , according to the fitness value J returned by the hpRPM algorithm, update the global optimal position gbest and the local optimal position pbest i =[θ 0i ,t igi ], (i = 1, 2, ..., nPop), obtain and record the initial optimal individual and fitness value, update the particle velocity v and position X of the particle according to the velocity update formula (10) and the position update formula (11), and input the updated position X into hpRPM again. The hpRPM algorithm calculates the fitness value of the objective function according to formula (9), returns the fitness value J to the PSO algorithm, obtains the minimum fitness value of this iteration, and compares it with the optimal fitness value obtained in the previous group iteration. If the maximum number of particle iteration calculations is reached, the calculation is stopped, otherwise the particle velocity and position are updated according to formulas (10) and (11), and the next iteration is continued. The particle with the smallest fitness value in the last iteration is taken as the optimal individual. Finally, the global optimal position and optimal fitness value J are output in the PSO algorithm to obtain the optimal initial value of the inner loop. v i =w×v i +c1×rand1×(pbest i -x i )+c2×rand2×(gbest-x i ) (10) x i =x i +v i (11) Where: v i is the moving speed of the ith particle, x i is the current position of the ith particle, c1 and c2 are learning factors, rand1 and rand2 are random numbers uniformly distributed in the interval [0,1]. is the inertia weight, and maxIt is the maximum number of iterations.

7. The glide-guided projectile trajectory optimization method based on the PSO-hpRPM algorithm according to claim 6, characterized in that: The inner loop of hpRPM is to determine the state variable s, control variable u and constraint conditions, and the initial value of the parameter to be optimized X=[θ0,t ig ] and the initial values ​​of other variables, solve the optimal control law u and fitness value J, output the changing values ​​of state variables and control variables over time, and finally return the fitness value J to the PSO algorithm.

8. The glide-guided projectile trajectory optimization method based on the PSO-hpRPM algorithm according to claim 7, characterized in that: The trajectory optimization solution and fitness evaluation include: Set the initial value of iterative calculation; The initial particle swarm is passed to the initial value required by hpRPM. The hpRPM algorithm calculates the fitness value of the objective function according to formula (9), returns the fitness value J to the PSO algorithm, and obtains and records the initial optimal individual and fitness value; Update the particle's velocity and position according to equations (10) and (11); The updated particle position is passed to the initial value required by hpRPM again. The hpRPM algorithm calculates the fitness value of the objective function according to formula (9), returns the fitness value J to the PSO algorithm, obtains the minimum fitness value of this iteration, and compares it with the optimal fitness value obtained in the previous group iteration. If the maximum number of iterative calculations is reached, the calculation is stopped, otherwise the particle speed and position are updated according to formula (13) and the next iteration is continued; The particle with the smallest fitness value in the last iteration is taken as the optimal individual, and the corresponding trajectory is the optimal trajectory. The optimal individual gbest is the optimal shooting angle and ignition time corresponding to the optimal trajectory.

9. The glide-guided projectile trajectory optimization method based on the PSO-hpRPM algorithm according to claim 8, characterized in that: The maximum number of iterations maxIt=10.

10. The glide-guided projectile trajectory optimization method based on the PSO-hpRPM algorithm according to claim 3, characterized in that: The upper and lower limits of the ignition time and the firing angle are respectively: UpB=[10,65°], LoB=[5,20°].

Citation Information

Cited By

  • Method, device and equipment for calculating data of guided projectile and medium

    CN120493770A

  • A method and device for calculating the parameters of a guided shell, equipment and medium

    CN120493770B