CN112861378B - Improved Husky algorithm-based boosting section flight program optimization method and device - Google Patents

Improved Husky algorithm-based boosting section flight program optimization method and device Download PDF

Info

Publication number
CN112861378B
CN112861378B CN202110269003.5A CN202110269003A CN112861378B CN 112861378 B CN112861378 B CN 112861378B CN 202110269003 A CN202110269003 A CN 202110269003A CN 112861378 B CN112861378 B CN 112861378B
Authority
CN
China
Prior art keywords
gray wolf
angle
attack
missile
terminal state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110269003.5A
Other languages
Chinese (zh)
Other versions
CN112861378A (en
Inventor
王鹏
孙晟
汤国建
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
National University of Defense Technology
Original Assignee
National University of Defense Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by National University of Defense Technology filed Critical National University of Defense Technology
Priority to CN202110269003.5A priority Critical patent/CN112861378B/en
Publication of CN112861378A publication Critical patent/CN112861378A/en
Application granted granted Critical
Publication of CN112861378B publication Critical patent/CN112861378B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/004Artificial life, i.e. computing arrangements simulating life
    • G06N3/006Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/04Constraint-based CAD

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Data Mining & Analysis (AREA)
  • Biophysics (AREA)
  • Biomedical Technology (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • Computational Linguistics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Geometry (AREA)
  • Aiming, Guidance, Guns With A Light Source, Armor, Camouflage, And Targets (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to a boosting section flight program optimization method and device based on an improved wolf algorithm, computer equipment and a storage medium. The method comprises the following steps: constructing a ballistic missile motion model and obtaining an attack angle model of a missile boosting section, taking an attack angle characteristic parameter as a position vector of the gray wolf, and initializing a gray wolf population; the method comprises the steps of improving a linear convergence factor in a classical grey wolf algorithm into a nonlinear convergence factor with slower attenuation in the early stage of iteration and faster attenuation in the later stage of iteration, optimizing attack angle characteristic parameters through the improved grey wolf algorithm, updating a position vector according to a fitness function of terminal state deviation, iterating until the maximum iteration times are reached, and obtaining a standard trajectory of a trajectory missile motion model according to the position vector of the optimal grey wolf. According to the method, the key parameters of the attack angle model are used as optimization variables, the minimum terminal state deviation is used as an optimization target, the standard trajectory meeting the constraint is iteratively optimized, and the generation precision of the standard trajectory of the boosting section of the solid missile is further improved.

Description

一种基于改进灰狼算法的助推段飞行程序优化方法和装置A method and device for optimizing flight procedures in boost phase based on improved gray wolf algorithm

技术领域technical field

本申请涉及弹道规划技术领域,特别是涉及一种基于改进灰狼算法的助推段飞行程序优化方法、装置、计算机设备和存储介质。The present application relates to the technical field of ballistic planning, in particular to a method, device, computer equipment and storage medium for optimizing the flight program of the boost phase based on the improved gray wolf algorithm.

背景技术Background technique

弹道导弹具备射程远、精度高、威力大、破坏力强等突出特点,是一种具有极强进攻性和威慑力的武器,也是保卫国土安全、维持地区战略平衡的重要支柱。弹道导弹的飞行轨迹多为离线装订,因此,设计出满足战场需求且能够完成指定任务的标准弹道具有十分重要的意义。Ballistic missiles have outstanding features such as long range, high precision, high power, and strong destructive power. They are a weapon with strong offensive and deterrent capabilities, and are also an important pillar for defending homeland security and maintaining regional strategic balance. Most of the flight trajectories of ballistic missiles are bound offline. Therefore, it is of great significance to design a standard ballistic trajectory that meets the needs of the battlefield and can complete the specified tasks.

现有技术中存在弹道设计精度还不够高的问题。In the prior art, there is a problem that the ballistic design accuracy is not high enough.

发明内容Contents of the invention

基于此,有必要针对上述技术问题,提供一种能够提高弹道设计精度的基于改进灰狼算法的助推段飞行程序优化方法、装置、计算机设备和存储介质。Based on this, it is necessary to address the above technical problems and provide a flight program optimization method, device, computer equipment and storage medium based on the improved gray wolf algorithm for boosting flight procedures that can improve the accuracy of trajectory design.

一种基于改进灰狼算法的助推段飞行程序优化方法,所述方法包括:A method for optimizing the flight procedure of the boost segment based on the improved gray wolf algorithm, the method comprising:

构建弹道导弹运动模型并得到导弹助推段的攻角模型;Construct the ballistic missile motion model and obtain the attack angle model of the missile boosting phase;

将所述攻角模型中的攻角特征参数作为灰狼算法中灰狼的位置向量,根据预先设置的取值范围初始化灰狼种群;Using the angle-of-attack characteristic parameter in the angle-of-attack model as the position vector of the gray wolf in the gray wolf algorithm, initialize the gray wolf population according to the preset value range;

将经典灰狼算法中的线性收敛因子改进为非线性收敛因子,得到改进的灰狼算法;所述非线性收敛因子在迭代前一时刻衰减速度小于在迭代后一时刻衰减速度;The linear convergence factor in the classic gray wolf algorithm is improved to a nonlinear convergence factor, and the improved gray wolf algorithm is obtained; the decay rate of the nonlinear convergence factor at the moment before the iteration is smaller than the decay rate at the moment after the iteration;

通过所述改进的灰狼算法对所述攻角特征参数进行寻优,并根据终端状态偏差的适应度函数更新所述位置向量,迭代直到达到最大迭代次数,输出全局最优灰狼,根据所述最优灰狼的位置向量得到所述弹道导弹运动模型的标准弹道。Optimize the characteristic parameters of the angle of attack through the improved gray wolf algorithm, and update the position vector according to the fitness function of the terminal state deviation, iterate until the maximum number of iterations is reached, and output the global optimal gray wolf, according to the The position vector of the optimal gray wolf is used to obtain the standard trajectory of the ballistic missile motion model.

在其中一个实施例中,还包括:构建弹道导弹运动模型并得到导弹助推段的攻角模型为:In one of the embodiments, it also includes: building a ballistic missile motion model and obtaining the angle-of-attack model of the missile boosting section as:

Figure BDA0002973498340000021
Figure BDA0002973498340000021

其中,α(t)表示t时刻的攻角;t0,t11表示垂直起飞段的起止时间;t12,t13表示跨声速段的起止时间;t1f,t20,t2f,t30,t3f表示级间分离段的起止时间;t20,t2f表示导弹第二级飞行段的起止时间;t30,tf表示导弹第三级飞行段的起止时间;表示的起止时间;

Figure BDA0002973498340000022
tm表示α1对应时刻;α1、α2、α3、α4分别为第一至四次负攻角转弯的最小值。Among them, α(t) represents the angle of attack at time t; t 0 , t 11 represent the start and end times of the vertical takeoff segment; t 12 , t 13 represent the start and end time of the transonic segment; t 1f , t 20 , t 2f , t 30 , t 3f represent the start and end time of the interstage separation section; t 20 , t 2f represent the start and end time of the second-stage flight segment of the missile; t 30 , t f represent the start and end time of the third-stage flight segment of the missile;
Figure BDA0002973498340000022
t m represents the time corresponding to α 1 ; α 1 , α 2 , α 3 , and α 4 are the minimum values of the first to fourth negative angle-of-attack turns, respectively.

在其中一个实施例中,还包括:将所述攻角模型中的攻角特征参数作为灰狼算法中灰狼的位置向量;所述攻角特征参数为四次负攻角转弯的最小值;In one of the embodiments, it also includes: using the characteristic parameter of the angle of attack in the angle of attack model as the position vector of the gray wolf in the gray wolf algorithm; the characteristic parameter of the angle of attack is the minimum value of four negative angle of attack turns;

在预先设置的取值范围内生成随机值,根据所述随机值初始化灰狼种群。A random value is generated within a preset value range, and the population of gray wolves is initialized according to the random value.

在其中一个实施例中,还包括:将经典灰狼算法中的线性收敛因子改进为非线性收敛因子,得到改进的灰狼算法;所述非线性收敛因子为:In one of the embodiments, it also includes: improving the linear convergence factor in the classic gray wolf algorithm to a nonlinear convergence factor to obtain an improved gray wolf algorithm; the nonlinear convergence factor is:

Figure BDA0002973498340000023
Figure BDA0002973498340000023

其中,a为非线性收敛因子;t为当前迭代次数;e为自然数;max为最大迭代次数。Among them, a is the nonlinear convergence factor; t is the current iteration number; e is a natural number; max is the maximum iteration number.

在其中一个实施例中,还包括:根据所述攻角特征参数得到导弹当前终端状态;所述导弹终端状态包括导弹的终端高度、速度以及弹道倾角。In one of the embodiments, the method further includes: obtaining the current terminal state of the missile according to the characteristic parameters of the angle of attack; the terminal state of the missile includes the terminal height, speed and trajectory inclination of the missile.

在其中一个实施例中,还包括:获取预先设置的目标终端状态;In one of the embodiments, it also includes: obtaining a preset target terminal state;

根据当前灰狼种群中各个灰狼的位置向量,得到所述位置向量对应的当前终端状态;According to the position vector of each gray wolf in the current gray wolf population, the current terminal state corresponding to the position vector is obtained;

根据所述目标终端状态和所述当前终端状态,得到终端状态偏差;Obtaining a terminal state deviation according to the target terminal state and the current terminal state;

找到使终端状态偏差的适应度函数最小的位置向量,作为寻优结果;Find the position vector that minimizes the fitness function of the terminal state deviation as the optimization result;

根据所述寻优结果更新所述灰狼种群的位置向量。Updating the position vector of the gray wolf population according to the optimization result.

在其中一个实施例中,还包括:通过所述改进的灰狼算法对所述攻角特征参数进行寻优,并根据终端状态偏差的适应度函数更新所述位置向量,迭代直到达到最大迭代次数,输出全局最优灰狼;所述终端状态偏差的适应度函数为:In one of the embodiments, it also includes: optimizing the characteristic parameters of the angle of attack through the improved gray wolf algorithm, and updating the position vector according to the fitness function of the terminal state deviation, iterating until the maximum number of iterations is reached , output the global optimal gray wolf; the fitness function of the terminal state deviation is:

Figure BDA0002973498340000031
Figure BDA0002973498340000031

其中,Fitness表示所述终端状态偏差的适应度函数值;Hf、Vf、θf表示目标终端高度、速度以及弹道倾角;Hpresent、Vpresent、θpresent表示每一次经过寻优计算后得到的当前终端高度、速度以及弹道倾角;ΔH、ΔV、Δθ表示预先设置的高度、速度和弹道倾角的允许偏差最大值。Among them, Fitness represents the fitness function value of the terminal state deviation; H f , V f , θ f represent the target terminal height, velocity and ballistic inclination; H present , V present , θ present represent the values obtained after each optimization calculation ΔH, ΔV, and Δθ represent the maximum allowable deviation of the preset height, speed and trajectory inclination.

一种基于改进灰狼算法的助推段飞行程序优化装置,所述装置包括:A device for optimizing flight procedures in the boost phase based on the improved gray wolf algorithm, said device comprising:

攻角模型确定模块,用于构建弹道导弹运动模型并得到导弹助推段的攻角模型;The angle-of-attack model determination module is used to construct the motion model of the ballistic missile and obtain the angle-of-attack model of the missile boosting section;

灰狼种群初始化模块,用于将所述攻角模型中的攻角特征参数作为灰狼算法中灰狼的位置向量,根据预先设置的取值范围初始化灰狼种群;The gray wolf population initialization module is used to use the angle-of-attack characteristic parameter in the angle-of-attack model as the position vector of the gray wolf in the gray wolf algorithm, and initialize the gray wolf population according to a preset value range;

收敛因子改进模块,用于将经典灰狼算法中的线性收敛因子改进为非线性收敛因子,得到改进的灰狼算法;所述非线性收敛因子在迭代前一时刻衰减速度小于在迭代后一时刻衰减速度;The convergence factor improvement module is used to improve the linear convergence factor in the classic gray wolf algorithm to a nonlinear convergence factor to obtain an improved gray wolf algorithm; the decay rate of the nonlinear convergence factor at the moment before the iteration is smaller than that at the moment after the iteration Decay speed;

迭代模块,用于通过所述改进的灰狼算法对所述攻角特征参数进行寻优,并根据终端状态偏差的适应度函数更新所述位置向量,迭代直到达到最大迭代次数,输出全局最优灰狼,根据所述最优灰狼的位置向量得到所述弹道导弹运动模型的标准弹道。The iteration module is used to optimize the characteristic parameters of the angle of attack through the improved gray wolf algorithm, and update the position vector according to the fitness function of the terminal state deviation, iterate until the maximum number of iterations is reached, and output the global optimum gray wolf, obtaining the standard trajectory of the ballistic missile motion model according to the position vector of the optimal gray wolf.

一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现以下步骤:A computer device, comprising a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

构建弹道导弹运动模型并得到导弹助推段的攻角模型;Construct the ballistic missile motion model and obtain the attack angle model of the missile boosting phase;

将所述攻角模型中的攻角特征参数作为灰狼算法中灰狼的位置向量,根据预先设置的取值范围初始化灰狼种群;Using the angle-of-attack characteristic parameter in the angle-of-attack model as the position vector of the gray wolf in the gray wolf algorithm, initialize the gray wolf population according to the preset value range;

将经典灰狼算法中的线性收敛因子改进为非线性收敛因子,得到改进的灰狼算法;所述非线性收敛因子在迭代前期衰减较慢,在迭代后期衰减较快;The linear convergence factor in the classic gray wolf algorithm is improved to a nonlinear convergence factor, and the improved gray wolf algorithm is obtained; the nonlinear convergence factor decays slowly in the early stage of iteration, and decays faster in the later stage of iteration;

通过所述改进的灰狼算法对所述攻角特征参数进行寻优,并根据终端状态偏差的适应度函数更新所述位置向量,迭代直到达到最大迭代次数,输出全局最优灰狼,根据所述最优灰狼的位置向量得到所述弹道导弹运动模型的标准弹道。Optimize the characteristic parameters of the angle of attack through the improved gray wolf algorithm, and update the position vector according to the fitness function of the terminal state deviation, iterate until the maximum number of iterations is reached, and output the global optimal gray wolf, according to the The position vector of the optimal gray wolf is used to obtain the standard trajectory of the ballistic missile motion model.

一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:A computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

构建弹道导弹运动模型并得到导弹助推段的攻角模型;Construct the ballistic missile motion model and obtain the attack angle model of the missile boosting phase;

将所述攻角模型中的攻角特征参数作为灰狼算法中灰狼的位置向量,根据预先设置的取值范围初始化灰狼种群;Using the angle-of-attack characteristic parameter in the angle-of-attack model as the position vector of the gray wolf in the gray wolf algorithm, initialize the gray wolf population according to the preset value range;

将经典灰狼算法中的线性收敛因子改进为非线性收敛因子,得到改进的灰狼算法;所述非线性收敛因子在迭代前一时刻衰减速度小于在迭代后一时刻衰减速度;The linear convergence factor in the classic gray wolf algorithm is improved to a nonlinear convergence factor, and the improved gray wolf algorithm is obtained; the decay rate of the nonlinear convergence factor at the moment before the iteration is smaller than the decay rate at the moment after the iteration;

通过所述改进的灰狼算法对所述攻角特征参数进行寻优,并根据终端状态偏差的适应度函数更新所述位置向量,迭代直到达到最大迭代次数,输出全局最优灰狼,根据所述最优灰狼的位置向量得到所述弹道导弹运动模型的标准弹道。Optimize the characteristic parameters of the angle of attack through the improved gray wolf algorithm, and update the position vector according to the fitness function of the terminal state deviation, iterate until the maximum number of iterations is reached, and output the global optimal gray wolf, according to the The position vector of the optimal gray wolf is used to obtain the standard trajectory of the ballistic missile motion model.

上述基于改进灰狼算法的助推段飞行程序优化方法、装置、计算机设备和存储介质,通过构建弹道导弹运动模型并得到导弹助推段的攻角模型;将攻角模型中的攻角特征参数作为灰狼算法中灰狼的位置向量,根据预先设置的取值范围初始化灰狼种群;将经典灰狼算法中的线性收敛因子改进为在迭代前期衰减较慢,在迭代后期衰减较快的非线性收敛因子,得到改进的灰狼算法;通过改进的灰狼算法对攻角特征参数进行寻优,并根据终端状态偏差的适应度函数更新位置向量,迭代直到达到最大迭代次数,输出全局最优灰狼,根据最优灰狼的位置向量得到弹道导弹运动模型的标准弹道。本发明以攻角模型的关键参数为优化变量,以终端状态偏差最小为优化目标,迭代优化出满足约束的标准弹道,进一步提高了固体导弹助推段标准弹道的生成精度。The above-mentioned method, device, computer equipment and storage medium for boosting flight program optimization based on the improved gray wolf algorithm, by constructing the ballistic missile motion model and obtaining the attack angle model of the missile boosting section; the angle of attack characteristic parameters in the angle of attack model As the position vector of the gray wolf in the gray wolf algorithm, the gray wolf population is initialized according to the preset value range; The linear convergence factor is used to obtain the improved gray wolf algorithm; through the improved gray wolf algorithm, the characteristic parameters of the angle of attack are optimized, and the position vector is updated according to the fitness function of the terminal state deviation, iterated until the maximum number of iterations is reached, and the global optimum is output Gray wolf, according to the position vector of the optimal gray wolf, the standard trajectory of the ballistic missile motion model is obtained. In the present invention, the key parameters of the angle of attack model are used as optimization variables, and the minimum terminal state deviation is used as the optimization target to iteratively optimize the standard trajectory satisfying the constraints, thereby further improving the generation accuracy of the standard trajectory in the boosting section of the solid missile.

附图说明Description of drawings

图1为一个实施例中基于改进灰狼算法的助推段飞行程序优化方法的流程示意图;Fig. 1 is a schematic flow chart of the booster section flight program optimization method based on the improved gray wolf algorithm in one embodiment;

图2为一个实施例中俯仰程序角示意图;Fig. 2 is a schematic diagram of pitch program angle in one embodiment;

图3为一个实施例中攻角变化示意图;Fig. 3 is a schematic diagram of angle of attack variation in one embodiment;

图4为经典灰狼算法和一个实施例中收敛因子对比图;Fig. 4 is a comparison diagram of the convergence factor in the classic gray wolf algorithm and an embodiment;

图5为一个实施例中标准弹道的主要弹道参数曲线及适应度值的变化曲线;Fig. 5 is the variation curve of the main ballistic parameter curve and fitness value of standard ballistic in an embodiment;

图6为一个实施例中基于改进灰狼算法的助推段飞行程序优化装置的示意图;Fig. 6 is a schematic diagram of a booster segment flight program optimization device based on the improved gray wolf algorithm in one embodiment;

图7为一个实施例中计算机设备的内部结构图。Figure 7 is an internal block diagram of a computer device in one embodiment.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

本申请提供的基于改进灰狼算法的助推段飞行程序优化方法,可以应用于如下应用环境中。构建弹道导弹运动模型并得到导弹助推段的攻角模型;将攻角模型中的攻角特征参数作为灰狼算法中灰狼的位置向量,根据预先设置的取值范围初始化灰狼种群;将经典灰狼算法中的线性收敛因子改进为在迭代前期衰减较慢,在迭代后期衰减较快的非线性收敛因子,得到改进的灰狼算法;通过改进的灰狼算法对攻角特征参数进行寻优,并根据终端状态偏差的适应度函数更新位置向量,迭代直到达到最大迭代次数,输出全局最优灰狼,根据最优灰狼的位置向量得到弹道导弹运动模型的标准弹道。The boost flight procedure optimization method based on the improved gray wolf algorithm provided by this application can be applied in the following application environments. Construct the ballistic missile motion model and obtain the attack angle model of the missile booster; use the attack angle characteristic parameters in the attack angle model as the gray wolf position vector in the gray wolf algorithm, and initialize the gray wolf population according to the preset value range; The linear convergence factor in the classic gray wolf algorithm is improved to a nonlinear convergence factor that decays slowly in the early stage of iteration and fast in the late iteration, and the improved gray wolf algorithm is obtained; the characteristic parameters of the angle of attack are searched through the improved gray wolf algorithm. Optimal, and update the position vector according to the fitness function of the terminal state deviation, iterate until the maximum number of iterations is reached, output the global optimal gray wolf, and obtain the standard trajectory of the ballistic missile motion model according to the position vector of the optimal gray wolf.

在一个实施例中,如图1所示,提供了一种基于改进灰狼算法的助推段飞行程序优化方法,包括以下步骤:In one embodiment, as shown in Figure 1, a kind of boosting section flight program optimization method based on the improved gray wolf algorithm is provided, comprising the following steps:

步骤102,构建弹道导弹运动模型并得到导弹助推段的攻角模型。Step 102, building a motion model of the ballistic missile and obtaining an angle of attack model of the boosting phase of the missile.

本发明中,将地球视为匀质圆球,忽略控制力影响,且考虑轴对称导弹零倾侧飞行,可得弹道导弹运动模型的简化模型为:In the present invention, the earth is regarded as a homogeneous sphere, the influence of the control force is ignored, and the zero-tilt flight of the axisymmetric missile is considered, the simplified model of the ballistic missile motion model can be obtained as follows:

Figure BDA0002973498340000061
Figure BDA0002973498340000061

其中,θ为弹道倾角,υ为倾侧角,α为攻角,β为侧滑角。

Figure BDA0002973498340000062
为高度变化率;
Figure BDA0002973498340000063
为地心距变化率;
Figure BDA0002973498340000067
为速度变化率;
Figure BDA0002973498340000064
为弹道倾角变化率;
Figure BDA0002973498340000065
为秒耗量;P为沿弹体方向推力;m为质量;g为引力加速度;D为阻力;L为升力;r为地心距。Among them, θ is the ballistic inclination angle, υ is the roll angle, α is the attack angle, and β is the sideslip angle.
Figure BDA0002973498340000062
is the height change rate;
Figure BDA0002973498340000063
is the change rate of the earth center distance;
Figure BDA0002973498340000067
is the velocity change rate;
Figure BDA0002973498340000064
is the rate of change of ballistic inclination;
Figure BDA0002973498340000065
P is the thrust in the direction of the projectile; m is the mass; g is the gravitational acceleration; D is the resistance; L is the lift; r is the distance from the center of the earth.

根据导弹助推段运动规律,设计俯仰角随时间变化规律如图2所示,图中,

Figure BDA0002973498340000066
表示俯仰程序角。其中,t0-t11为垂直起飞段,t12-t13为跨声速段,为控制导弹终端高度,在第一级选择采用二次转弯的方式。t1f-t20、t2f-t30为级间分离段,t20-t2f为导弹第二级飞行段,t30-tf为导弹第三级飞行段。为实现上图中的俯仰飞行程序角,设计满足终端条件的攻角变化形式如图3,图中,α表示攻角。According to the movement law of the missile booster section, the design pitch angle changes with time as shown in Figure 2. In the figure,
Figure BDA0002973498340000066
Indicates the pitch program angle. Among them, t 0 -t 11 is the vertical take-off section, and t 12 -t 13 is the transonic section. In order to control the height of the missile terminal, a second turn is chosen in the first stage. t 1f -t 20 , t 2f -t 30 are inter-stage separation sections, t 20 -t 2f is the second-stage flight section of the missile, and t 30 -t f is the third-stage flight section of the missile. In order to realize the pitching flight program angle in the figure above, the change form of the angle of attack that satisfies the terminal condition is designed as shown in Figure 3. In the figure, α represents the angle of attack.

通过求攻角模型的关键参数确定攻角变化规律,继而利用欧拉角变换关系得到俯仰角的变化规律,是将标准弹道的求取问题转化为参数寻优问题。By calculating the key parameters of the angle-of-attack model to determine the change law of the attack angle, and then using the Euler angle transformation relationship to obtain the change law of the pitch angle, the problem of obtaining the standard trajectory is transformed into a parameter optimization problem.

步骤104,将攻角模型中的攻角特征参数作为灰狼算法中灰狼的位置向量,根据预先设置的取值范围初始化灰狼种群。In step 104, the characteristic parameter of the angle of attack in the angle of attack model is used as the position vector of the gray wolf in the gray wolf algorithm, and the gray wolf population is initialized according to a preset value range.

灰狼算法是一种群体智能算法,是由Seyedali等学者于2014年提出的比较新颖的群智能算法,灰狼算法模拟自然界中灰狼的等级制度与狩猎行为,整个灰狼种群被分为α,β,δ,ω四组,前三组依次是适应度最好的三组,并且这三组指导第四组的狼想着目标搜索,在优化过程中,狼群更新α,β,δ,ω的位置。本发明中,每只灰狼是一个四维向量,代表四个关键参数的一组解,其中每个参数分别是图3所示的四个攻角特征值,灰狼的位置初值为相应搜索空间范围内生成的随机值。The Gray Wolf Algorithm is a swarm intelligence algorithm. It is a relatively novel swarm intelligence algorithm proposed by Seyedali and other scholars in 2014. The Gray Wolf Algorithm simulates the hierarchy and hunting behavior of gray wolves in nature. The entire gray wolf population is divided into α , β, δ, ω four groups, the first three groups are the three groups with the best fitness, and these three groups guide the wolves of the fourth group to think about the target search. During the optimization process, the wolves update α, β, δ , the position of ω. In the present invention, each gray wolf is a four-dimensional vector representing a set of solutions of four key parameters, wherein each parameter is the four eigenvalues of the angle of attack shown in Figure 3, and the initial value of the gray wolf's position is the corresponding search Random values generated within the spatial extent.

步骤106,将经典灰狼算法中的线性收敛因子改进为非线性收敛因子,得到改进的灰狼算法;非线性收敛因子在迭代前一时刻衰减速度小于在迭代后一时刻衰减速度。Step 106, improving the linear convergence factor in the classic gray wolf algorithm to a nonlinear convergence factor to obtain an improved gray wolf algorithm; the decay rate of the nonlinear convergence factor at the moment before the iteration is smaller than that at the moment after the iteration.

在经典灰狼算法中,灰狼个体的更新方式为:In the classic gray wolf algorithm, the update method of the gray wolf individual is:

X(t+1)=X(t)-A·DX(t+1)=X(t)-A·D

其中,X表示灰狼的位置向量,t表示当前迭代次数,D表示个体与目标的距离,A表示控制搜索领域,A=2a·r2-a,r2是[0,1]范围内的随机数,a表示迭代因子,

Figure BDA0002973498340000071
收敛因子a是随着迭代次数从2现行递减到0。当|A|>1时,灰狼群体扩大搜索范围,对应于全局搜索,当|A|<1时,灰狼群体将包围圈缩小,对应于局部搜索。Among them, X represents the position vector of the gray wolf, t represents the current iteration number, D represents the distance between the individual and the target, A represents the control search area, A=2a r 2 -a, r 2 is in the range of [0,1] Random number, a represents the iteration factor,
Figure BDA0002973498340000071
The convergence factor a decreases from 2 to 0 with the number of iterations. When |A|>1, the gray wolf group expands the search range, which corresponds to the global search; when |A|<1, the gray wolf group narrows the encirclement, which corresponds to the local search.

经典灰狼算法收敛因子a是从2线性减小到0的,在前期开展全局搜索的速率与后期开展局部搜索的速率一致,这在一定程度上会降低搜索效率。为了提高灰狼算法应用到本发明场景时的算法效率,本发明提出了在迭代前期衰减较慢,在迭代后期衰减较快的非线性收敛因子,其表达式为:The convergence factor a of the classic gray wolf algorithm decreases linearly from 2 to 0, and the rate of global search in the early stage is consistent with the rate of local search in the later stage, which will reduce the search efficiency to a certain extent. In order to improve the algorithm efficiency when the gray wolf algorithm is applied to the scene of the present invention, the present invention proposes a nonlinear convergence factor that decays slowly in the early stage of the iteration and decays faster in the later stage of the iteration, and its expression is:

Figure BDA0002973498340000072
Figure BDA0002973498340000072

经典灰狼算法和本发明中改进灰狼算法的收敛因子随迭代次数的变化如图4所示,可以看出,改进后的非线性收敛因子在迭代初期斜率比经典灰狼算法的迭代因子斜率低,搜索速度变慢,能够有更充足的时间寻找最优区域,而在迭代后期,斜率迅速变高,表示当找到优化的方向后,提高搜索速度,加快找到最优解。The variation of the convergence factor of the classic gray wolf algorithm and the improved gray wolf algorithm in the present invention with the number of iterations is shown in Figure 4. It can be seen that the slope of the improved nonlinear convergence factor is higher than that of the iteration factor slope of the classic gray wolf algorithm at the initial stage of iteration. Low, the search speed slows down, and there is more time to find the optimal area, and in the later stage of the iteration, the slope becomes higher rapidly, which means that after the optimal direction is found, the search speed is increased and the optimal solution can be found faster.

步骤108,通过改进的灰狼算法对攻角特征参数进行寻优,并根据终端状态偏差的适应度函数更新位置向量,迭代直到达到最大迭代次数,输出全局最优灰狼,根据最优灰狼的位置向量得到弹道导弹运动模型的标准弹道。Step 108, optimize the characteristic parameters of the angle of attack through the improved gray wolf algorithm, and update the position vector according to the fitness function of the terminal state deviation, iterate until the maximum number of iterations is reached, and output the global optimal gray wolf, according to the optimal gray wolf The position vector of gets the standard trajectory of the ballistic missile motion model.

通过计算终端状态偏差,找到每次迭代终端状态的偏差最小值所对应的位置向量,即攻角模型的四个攻角特征值,同时更新循环中的α、β、δ值。随着迭代累积,各层级灰狼位置会逐渐接近目标,最优适应度值也会越来越小。理想的状态下是通过不断迭代计算,最终最优适应度值会趋于零。此时便找到了符合要求的最优解,根据四个攻角特征值的最优解,代回弹道导弹运动模型即可得到相应标准弹道。By calculating the terminal state deviation, find the position vector corresponding to the minimum value of the deviation of the terminal state in each iteration, that is, the four eigenvalues of the angle of attack model, and update the values of α, β, and δ in the loop at the same time. With the accumulation of iterations, the positions of gray wolves at each level will gradually approach the target, and the optimal fitness value will become smaller and smaller. Ideally, through continuous iterative calculation, the final optimal fitness value will tend to zero. At this time, the optimal solution that meets the requirements is found. According to the optimal solution of the four attack angle eigenvalues, the corresponding standard trajectory can be obtained by substituting the motion model of the ballistic missile.

上述基于改进灰狼算法的助推段飞行程序优化方法中,通过构建弹道导弹运动模型并得到导弹助推段的攻角模型;将攻角模型中的攻角特征参数作为灰狼算法中灰狼的位置向量,根据预先设置的取值范围初始化灰狼种群;将经典灰狼算法中的线性收敛因子改进为在迭代前期衰减较慢,在迭代后期衰减较快的非线性收敛因子,得到改进的灰狼算法;通过改进的灰狼算法对攻角特征参数进行寻优,并根据终端状态偏差的适应度函数更新位置向量,迭代直到达到最大迭代次数,输出全局最优灰狼,根据最优灰狼的位置向量得到弹道导弹运动模型的标准弹道。本发明以攻角模型的关键参数为优化变量,以终端状态偏差最小为优化目标,迭代优化出满足约束的标准弹道,进一步提高了固体导弹助推段标准弹道的生成精度。In the above-mentioned flight program optimization method for the boost phase based on the improved gray wolf algorithm, the ballistic missile motion model is constructed and the angle of attack model of the missile boost phase is obtained; the characteristic parameters of the angle of attack in the angle of attack model are used as the gray wolf The position vector of the gray wolf is initialized according to the preset value range; the linear convergence factor in the classic gray wolf algorithm is improved to a nonlinear convergence factor that decays slowly in the early stage of the iteration and decays quickly in the late iteration, and the improved Gray wolf algorithm: Optimize the characteristic parameters of the angle of attack through the improved gray wolf algorithm, and update the position vector according to the fitness function of the terminal state deviation, iterate until the maximum number of iterations is reached, and output the global optimal gray wolf, according to the optimal gray wolf The position vector of the wolf gets the standard trajectory of the ballistic missile motion model. In the present invention, the key parameters of the angle of attack model are used as optimization variables, and the minimum terminal state deviation is used as the optimization target to iteratively optimize the standard trajectory satisfying the constraints, thereby further improving the generation accuracy of the standard trajectory in the boosting section of the solid missile.

在其中一个实施例中,还包括:构建弹道导弹运动模型并得到导弹助推段的攻角模型为:In one of the embodiments, it also includes: building a ballistic missile motion model and obtaining the angle-of-attack model of the missile boosting section as:

Figure BDA0002973498340000081
Figure BDA0002973498340000081

其中,α(t)表示t时刻的攻角;t0,t11表示垂直起飞段的起止时间;t12,t13表示跨声速段的起止时间;t1f,t20,t2f,t30,t3f表示级间分离段的起止时间;t20,t2f表示导弹第二级飞行段的起止时间;t30,tf表示导弹第三级飞行段的起止时间;表示的起止时间;

Figure BDA0002973498340000091
tm表示α1对应时刻;α1、α2、α3、α4分别为第一至四次负攻角转弯的最小值。Among them, α(t) represents the angle of attack at time t; t 0 , t 11 represent the start and end times of the vertical takeoff segment; t 12 , t 13 represent the start and end time of the transonic segment; t 1f , t 20 , t 2f , t 30 , t 3f represent the start and end time of the interstage separation section; t 20 , t 2f represent the start and end time of the second-stage flight segment of the missile; t 30 , t f represent the start and end time of the third-stage flight segment of the missile;
Figure BDA0002973498340000091
t m represents the time corresponding to α 1 ; α 1 , α 2 , α 3 , and α 4 are the minimum values of the first to fourth negative angle-of-attack turns, respectively.

在其中一个实施例中,还包括:将攻角模型中的攻角特征参数作为灰狼算法中灰狼的位置向量;攻角特征参数为四次负攻角转弯的最小值;在预先设置的取值范围内生成随机值,根据随机值初始化灰狼种群。In one of the embodiments, it also includes: using the angle-of-attack characteristic parameter in the angle-of-attack model as the position vector of the gray wolf in the gray wolf algorithm; the angle-of-attack characteristic parameter is the minimum value of four negative angle-of-attack turns; Random values are generated within the value range, and the gray wolf population is initialized according to the random values.

在其中一个实施例中,还包括:将经典灰狼算法中的线性收敛因子改进为非线性收敛因子,得到改进的灰狼算法;非线性收敛因子为:In one of the embodiments, it also includes: improving the linear convergence factor in the classic gray wolf algorithm to a nonlinear convergence factor to obtain an improved gray wolf algorithm; the nonlinear convergence factor is:

Figure BDA0002973498340000092
Figure BDA0002973498340000092

其中,a为非线性收敛因子;t为当前迭代次数;e为自然数;max为最大迭代次数。Among them, a is the nonlinear convergence factor; t is the current iteration number; e is a natural number; max is the maximum iteration number.

本实施例中的非线性收敛因子的特点是斜率变化范围较大,在迭代前期斜率值很小,留出充分时间用于全局搜索,在迭代后期斜率值迅速变大,加快局部搜索的速度,契合本发明飞行程序优化场景的需求。The characteristic of the nonlinear convergence factor in this embodiment is that the slope range is relatively large, and the slope value is very small in the early stage of the iteration, leaving sufficient time for the global search, and the slope value rapidly increases in the later stage of the iteration, speeding up the speed of the local search. It meets the requirements of the flight procedure optimization scene of the present invention.

在其中一个实施例中,还包括:根据攻角特征参数得到导弹当前终端状态;导弹终端状态包括导弹的终端高度、速度以及弹道倾角。In one of the embodiments, it further includes: obtaining the current terminal state of the missile according to the characteristic parameters of the angle of attack; the terminal state of the missile includes the terminal height, speed and trajectory inclination of the missile.

在其中一个实施例中,还包括:获取预先设置的目标终端状态;根据当前灰狼种群中各个灰狼的位置向量,得到位置向量对应的当前终端状态;导弹终端状态包括导弹的终端高度、速度以及弹道倾角;根据目标终端状态和当前终端状态,得到终端状态偏差;找到使终端状态偏差的适应度函数最小的位置向量,作为寻优结果;终端状态偏差的适应度函数为:In one of the embodiments, it also includes: obtaining the preset target terminal state; according to the position vector of each gray wolf in the current gray wolf population, obtaining the current terminal state corresponding to the position vector; the terminal state of the missile includes the terminal height and speed of the missile and the ballistic inclination angle; according to the target terminal state and the current terminal state, the terminal state deviation is obtained; the position vector that minimizes the fitness function of the terminal state deviation is found as the optimization result; the fitness function of the terminal state deviation is:

Figure BDA0002973498340000093
Figure BDA0002973498340000093

其中,Fitness表示终端状态偏差的适应度函数值;Hf、Vf、θf表示目标终端高度、速度以及弹道倾角;Hpresent、Vpresent、θpresent表示每一次经过寻优计算后得到的当前终端高度、速度以及弹道倾角;ΔH、ΔV、Δθ表示预先设置的高度、速度和弹道倾角的允许偏差最大值。Among them, Fitness represents the fitness function value of the terminal state deviation; H f , V f , θ f represent the target terminal height, velocity and ballistic inclination; H present , V present , θ present represent the current Terminal height, speed and ballistic inclination; ΔH, ΔV, Δθ represent the maximum allowable deviation of preset height, speed and ballistic inclination.

根据寻优结果更新灰狼种群的位置向量;迭代直到达到最大迭代次数,输出全局最优灰狼。Update the position vector of the gray wolf population according to the optimization results; iterate until the maximum number of iterations is reached, and output the global optimal gray wolf.

在一个具体实施例中,设计的初始弹道的终端高度为hf=90km,终端弹道倾角θf=0°,终端速度为

Figure BDA0002973498340000101
其中,
Figure BDA0002973498340000102
是一个给定的速度值,用于归一化脱密处理。在求解过程中,为了保证计算精度,灰狼数量的设定不宜过少,另一方面,考虑到尽量提高计算效率,灰狼数量的设定也不宜过多,且迭代循环的最大次数同样不宜过高。因此经过综合考虑,取种群规模为20,最大迭代次数为20次。灰狼的位置初值为相应搜索空间范围内生成的随机值,设定攻角初始搜索空间如表1所示。In a specific embodiment, the terminal height of the designed initial trajectory is h f =90km, the terminal trajectory inclination angle θ f =0°, and the terminal velocity is
Figure BDA0002973498340000101
in,
Figure BDA0002973498340000102
is a given velocity value for normalized declassification. In the process of solving, in order to ensure the calculation accuracy, the number of gray wolves should not be too small. On the other hand, considering improving the calculation efficiency as much as possible, the number of gray wolves should not be too large, and the maximum number of iteration cycles should not be too large. too high. Therefore, after comprehensive consideration, the population size is 20, and the maximum number of iterations is 20. The initial value of the gray wolf's position is a random value generated within the corresponding search space, and the initial search space of the angle of attack is set as shown in Table 1.

表1攻角特征值搜索空间Table 1 Search space of angle of attack eigenvalues

Figure BDA0002973498340000103
Figure BDA0002973498340000103

经过迭代计算,得到能够满足终端约束和过程约束的标准弹道,仿真得到四个攻角特征值如表2所示,分别为α1=-13.3358°,α2=-6.5173°,α3=-17°,α4=-20.4°,图5给出了仿真得到的标准弹道的主要弹道参数曲线及适应度值的变化曲线,其中,仿真结果都对速度进行了归一化处理。After iterative calculation, the standard ballistic trajectory that can satisfy the terminal constraints and process constraints is obtained. The four attack angle eigenvalues obtained by simulation are shown in Table 2, which are α 1 =-13.3358°, α 2 =-6.5173°, α 3 =- 17°, α 4 =-20.4°, Fig. 5 shows the curves of the main ballistic parameters and the variation curves of the fitness value of the standard ballistic obtained by simulation, where the speed is normalized in the simulation results.

表2攻角特征值的仿真结果Table 2 Simulation results of eigenvalues of angle of attack

Figure BDA0002973498340000104
Figure BDA0002973498340000104

由仿真结果可知,利用灰狼算法来设计初始弹道得到的终端高度为89.84km,终端弹道倾角为-0.1727°,终端速度偏差为17m/s,终端状态偏差均不超过偏差的指标约束,且由图可以看出在整个助推段的飞行过程中,高度、速度以及弹道倾角的变化曲线均比较平缓。另外,攻角变化形式与设计规律一致,过程约束也都满足给定的指标要求。由图5(g)可以看出,在迭代进行至第七次的时候,最优适应度的值已经小于1,此时算法已经找到了能够满足过程约束和终端约束的最优解,由此可见基于灰狼算法的标准弹道设计方法精度和计算效率均较好。It can be seen from the simulation results that the terminal height obtained by using the gray wolf algorithm to design the initial trajectory is 89.84km, the terminal trajectory inclination angle is -0.1727°, the terminal velocity deviation is 17m/s, and the terminal state deviation does not exceed the deviation index constraints, and by It can be seen from the figure that during the flight of the whole boost phase, the change curves of altitude, speed and ballistic inclination are relatively gentle. In addition, the change form of the angle of attack is consistent with the design law, and the process constraints also meet the given index requirements. It can be seen from Figure 5(g) that when the iteration reaches the seventh time, the optimal fitness value is already less than 1, and the algorithm has found the optimal solution that can satisfy the process constraints and terminal constraints, thus It can be seen that the standard ballistic design method based on gray wolf algorithm has better accuracy and calculation efficiency.

应该理解的是,虽然图1的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图1中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flow chart of FIG. 1 are displayed sequentially as indicated by the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in Fig. 1 may include multiple sub-steps or multiple stages, these sub-steps or stages are not necessarily executed at the same time, but may be executed at different times, the execution of these sub-steps or stages The order is not necessarily performed sequentially, but may be performed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.

在一个实施例中,如图6所示,提供了一种基于改进灰狼算法的助推段飞行程序优化装置,包括:攻角模型确定模块602、灰狼种群初始化模块604、收敛因子改进模块606和迭代模块608,其中:In one embodiment, as shown in FIG. 6 , a device for optimizing the flight program of the boost phase based on the improved gray wolf algorithm is provided, including: an angle of attack model determination module 602, a gray wolf population initialization module 604, and a convergence factor improvement module 606 and iteration module 608, wherein:

攻角模型确定模块602,用于构建弹道导弹运动模型并得到导弹助推段的攻角模型;The angle of attack model determination module 602 is used to construct the motion model of the ballistic missile and obtain the angle of attack model of the missile boosting section;

灰狼种群初始化模块604,用于将攻角模型中的攻角特征参数作为灰狼算法中灰狼的位置向量,根据预先设置的取值范围初始化灰狼种群;The gray wolf population initialization module 604 is used to use the angle-of-attack characteristic parameter in the angle-of-attack model as the position vector of the gray wolf in the gray wolf algorithm, and initialize the gray wolf population according to a preset value range;

收敛因子改进模块606,用于将经典灰狼算法中的线性收敛因子改进为非线性收敛因子,得到改进的灰狼算法;非线性收敛因子在迭代前一时刻衰减速度小于在迭代后一时刻衰减速度;The convergence factor improvement module 606 is used to improve the linear convergence factor in the classic gray wolf algorithm to a nonlinear convergence factor to obtain an improved gray wolf algorithm; the decay rate of the nonlinear convergence factor at the moment before the iteration is smaller than that at the moment after the iteration speed;

迭代模块608,用于通过改进的灰狼算法对攻角特征参数进行寻优,并根据终端状态偏差的适应度函数更新位置向量,迭代直到达到最大迭代次数,输出全局最优灰狼,根据最优灰狼的位置向量得到弹道导弹运动模型的标准弹道。The iteration module 608 is used to optimize the characteristic parameters of the angle of attack through the improved gray wolf algorithm, and update the position vector according to the fitness function of the terminal state deviation, iterate until the maximum number of iterations is reached, and output the global optimal gray wolf. The position vector of the optimal gray wolf gets the standard trajectory of the ballistic missile motion model.

灰狼种群初始化模块604还用于将攻角模型中的攻角特征参数作为灰狼算法中灰狼的位置向量;攻角特征参数为四次负攻角转弯的最小值;在预先设置的取值范围内生成随机值,根据随机值初始化灰狼种群。The gray wolf population initialization module 604 is also used to use the angle-of-attack characteristic parameter in the angle-of-attack model as the position vector of the gray wolf in the gray wolf algorithm; the angle-of-attack characteristic parameter is the minimum value of four negative angle-of-attack turns; Random values are generated within the value range, and the gray wolf population is initialized according to the random values.

收敛因子改进模块606还用于获取预先设置的目标终端状态;根据当前灰狼种群中各个灰狼的位置向量,得到位置向量对应的当前终端状态;根据目标终端状态和当前终端状态,得到终端状态偏差;找到使终端状态偏差的适应度函数最小的位置向量,作为寻优结果;根据寻优结果更新灰狼种群的位置向量。The convergence factor improvement module 606 is also used to obtain the preset target terminal state; according to the position vector of each gray wolf in the current gray wolf population, the current terminal state corresponding to the position vector is obtained; according to the target terminal state and the current terminal state, the terminal state is obtained Deviation; find the position vector that minimizes the fitness function of the terminal state deviation as the optimization result; update the position vector of the gray wolf population according to the optimization result.

关于基于改进灰狼算法的助推段飞行程序优化装置的具体限定可以参见上文中对于基于改进灰狼算法的助推段飞行程序优化方法的限定,在此不再赘述。上述基于改进灰狼算法的助推段飞行程序优化装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitations of the booster flight program optimization device based on the improved gray wolf algorithm, please refer to the above definition of the booster flight program optimization method based on the improved gray wolf algorithm, and will not be repeated here. Each module in the above-mentioned booster flight program optimization device based on the improved gray wolf algorithm can be fully or partially realized by software, hardware and combinations thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, and can also be stored in the memory of the computer device in the form of software, so that the processor can invoke and execute the corresponding operations of the above-mentioned modules.

在一个实施例中,提供了一种计算机设备,该计算机设备可以是终端,其内部结构图可以如图7所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种基于改进灰狼算法的助推段飞行程序优化方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure may be as shown in FIG. 7 . The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Wherein, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a method for optimizing the flight program of the boosting segment based on the improved gray wolf algorithm is realized. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covered on the display screen, or a button, a trackball or a touch pad provided on the casing of the computer device , and can also be an external keyboard, touchpad, or mouse.

本领域技术人员可以理解,图7中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in Figure 7 is only a block diagram of a part of the structure related to the solution of this application, and does not constitute a limitation to the computer equipment on which the solution of this application is applied. The specific computer equipment can be More or fewer components than shown in the figures may be included, or some components may be combined, or have a different arrangement of components.

在一个实施例中,提供了一种计算机设备,包括存储器和处理器,该存储器存储有计算机程序,该处理器执行计算机程序时实现上述方法实施例中的步骤。In one embodiment, a computer device is provided, including a memory and a processor, the memory stores a computer program, and the processor implements the steps in the above method embodiments when executing the computer program.

在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上述方法实施例中的步骤。In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the foregoing method embodiments are implemented.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the computer programs can be stored in a non-volatile computer-readable memory In the medium, when the computer program is executed, it may include the processes of the embodiments of the above-mentioned methods. Wherein, any references to memory, storage, database or other media used in the various embodiments provided in the present application may include non-volatile and/or volatile memory. Nonvolatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Chain Synchlink DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be It is considered to be within the range described in this specification.

以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several implementation modes of the present application, and the description thereof is relatively specific and detailed, but it should not be construed as limiting the scope of the patent for the invention. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the scope of protection of the patent application should be based on the appended claims.

Claims (7)

1.一种基于改进灰狼算法的助推段飞行程序优化方法,其特征在于,所述方法包括:1. A method for optimizing the flight procedure of boosting section based on the improved gray wolf algorithm, characterized in that, the method comprises: 构建弹道导弹运动模型并得到导弹助推段的攻角模型;Construct the ballistic missile motion model and obtain the attack angle model of the missile boosting phase; 将所述攻角模型中的攻角特征参数作为灰狼算法中灰狼的位置向量,根据预先设置的取值范围初始化灰狼种群;所述攻角特征参数为四次负攻角转弯的最小值;The angle-of-attack characteristic parameter in the described angle-of-attack model is used as the position vector of the gray wolf in the gray wolf algorithm, and the gray wolf population is initialized according to a preset value range; value; 将经典灰狼算法中的线性收敛因子改进为非线性收敛因子,得到改进的灰狼算法;所述非线性收敛因子在迭代前一时刻衰减速度小于在迭代后一时刻衰减速度;所述非线性收敛因子为:The linear convergence factor in the classic gray wolf algorithm is improved to a nonlinear convergence factor, and the improved gray wolf algorithm is obtained; the decay rate of the nonlinear convergence factor at the moment before the iteration is smaller than the decay rate at the moment after the iteration; the nonlinear The convergence factor is:
Figure FDA0003998205500000011
Figure FDA0003998205500000011
其中,a为非线性收敛因子;t为当前迭代次数;e为自然数;max为最大迭代次数;Among them, a is the nonlinear convergence factor; t is the current iteration number; e is a natural number; max is the maximum iteration number; 通过所述改进的灰狼算法对所述攻角特征参数进行寻优,并根据终端状态偏差的适应度函数更新所述位置向量,迭代直到达到最大迭代次数,输出全局最优灰狼,根据所述最优灰狼的位置向量得到所述弹道导弹运动模型的标准弹道;所述终端状态偏差的适应度函数为:Optimize the characteristic parameters of the angle of attack through the improved gray wolf algorithm, and update the position vector according to the fitness function of the terminal state deviation, iterate until the maximum number of iterations is reached, and output the global optimal gray wolf, according to the The position vector of the optimal gray wolf obtains the standard trajectory of the ballistic missile motion model; the fitness function of the terminal state deviation is:
Figure FDA0003998205500000012
Figure FDA0003998205500000012
其中,Fitness表示所述终端状态偏差的适应度函数值;Hf、Vf、θf表示目标终端高度、速度以及弹道倾角;Hpresent、Vpresent、θpresent表示每一次经过寻优计算后得到的当前终端高度、速度以及弹道倾角;ΔH、ΔV、Δθ表示预先设置的高度、速度和弹道倾角的允许偏差最大值。Among them, Fitness represents the fitness function value of the terminal state deviation; H f , V f , θ f represent the target terminal height, velocity and ballistic inclination; H present , V present , θ present represent the values obtained after each optimization calculation ΔH, ΔV, and Δθ represent the maximum allowable deviation of the preset height, speed and trajectory inclination.
2.根据权利要求1所述的方法,其特征在于,所述构建弹道导弹运动模型并得到导弹助推段的攻角模型包括:2. method according to claim 1, is characterized in that, described building ballistic missile motion model and obtaining the angle of attack model of missile boosting section comprises: 构建弹道导弹运动模型并得到导弹助推段的攻角模型为:Construct the ballistic missile motion model and obtain the attack angle model of the missile boost phase as follows:
Figure FDA0003998205500000021
Figure FDA0003998205500000021
其中,α(t)表示t时刻的攻角;t0,t11表示垂直起飞段的起止时间;t12,t13表示跨声速段的起止时间;t1f,t20,t2f,t30,t3f表示级间分离段的起止时间;t20,t2f表示导弹第二级飞行段的起止时间;t30,t3f表示导弹第三级飞行段的起止时间;
Figure FDA0003998205500000022
tm表示α1对应时刻;α1、α2、α3、α4分别为第一至四次负攻角转弯的最小值。
Among them, α(t) represents the angle of attack at time t; t 0 , t 11 represent the start and end times of the vertical takeoff segment; t 12 , t 13 represent the start and end time of the transonic segment; t 1f , t 20 , t 2f , t 30 , t 3f represent the start and end time of the interstage separation section; t 20 , t 2f represent the start and end time of the second stage flight segment of the missile; t 30 , t 3f represent the start and end time of the third stage flight segment of the missile;
Figure FDA0003998205500000022
t m represents the time corresponding to α 1 ; α 1 , α 2 , α 3 , and α 4 are the minimum values of the first to fourth negative angle-of-attack turns, respectively.
3.根据权利要求2所述的方法,其特征在于,所述根据终端状态偏差的适应度函数更新所述位置向量之前,还包括:3. The method according to claim 2, wherein, before updating the position vector according to the fitness function of the terminal state deviation, further comprising: 根据所述攻角特征参数得到当前的导弹终端状态;所述导弹终端状态包括导弹的终端高度、速度以及弹道倾角。The current terminal state of the missile is obtained according to the characteristic parameters of the angle of attack; the terminal state of the missile includes the terminal height, speed and trajectory inclination of the missile. 4.根据权利要求3所述的方法,其特征在于,通过所述改进的灰狼算法对所述攻角特征参数进行寻优,并根据终端状态偏差的适应度函数更新所述位置向量,包括:4. The method according to claim 3, characterized in that, the angle of attack characteristic parameter is optimized by the improved gray wolf algorithm, and the position vector is updated according to the fitness function of the terminal state deviation, comprising : 获取预先设置的目标终端状态;Obtain the preset target terminal state; 根据当前灰狼种群中各个灰狼的位置向量,得到所述位置向量对应的当前终端状态;According to the position vector of each gray wolf in the current gray wolf population, the current terminal state corresponding to the position vector is obtained; 根据所述目标终端状态和所述当前终端状态,得到终端状态偏差;Obtaining a terminal state deviation according to the target terminal state and the current terminal state; 找到使终端状态偏差的适应度函数最小的位置向量,作为寻优结果;Find the position vector that minimizes the fitness function of the terminal state deviation as the optimization result; 根据所述寻优结果更新所述灰狼种群的位置向量。Updating the position vector of the gray wolf population according to the optimization result. 5.一种基于改进灰狼算法的助推段飞行程序优化装置,其特征在于,所述装置包括:5. A booster segment flight program optimization device based on the improved gray wolf algorithm, characterized in that the device comprises: 攻角模型确定模块,用于构建弹道导弹运动模型并得到导弹助推段的攻角模型;The angle-of-attack model determination module is used to construct the motion model of the ballistic missile and obtain the angle-of-attack model of the missile boosting section; 灰狼种群初始化模块,用于将所述攻角模型中的攻角特征参数作为灰狼算法中灰狼的位置向量,根据预先设置的取值范围初始化灰狼种群;所述攻角特征参数为四次负攻角转弯的最小值;The gray wolf population initialization module is used to use the angle-of-attack characteristic parameter in the described angle-of-attack model as the position vector of the gray wolf in the gray wolf algorithm, and initializes the gray wolf population according to a preset value range; the characteristic angle-of-attack parameter is Minimum of four negative AOA turns; 收敛因子改进模块,用于将经典灰狼算法中的线性收敛因子改进为非线性收敛因子,得到改进的灰狼算法;所述非线性收敛因子在迭代前一时刻衰减速度小于在迭代后一时刻衰减速度;所述非线性收敛因子为:The convergence factor improvement module is used to improve the linear convergence factor in the classic gray wolf algorithm to a nonlinear convergence factor to obtain an improved gray wolf algorithm; the decay rate of the nonlinear convergence factor at the moment before the iteration is smaller than that at the moment after the iteration Decay speed; the nonlinear convergence factor is:
Figure FDA0003998205500000031
Figure FDA0003998205500000031
其中,a为非线性收敛因子;t为当前迭代次数;e为自然数;max为最大迭代次数;Among them, a is the nonlinear convergence factor; t is the current iteration number; e is a natural number; max is the maximum iteration number; 迭代模块,用于通过所述改进的灰狼算法对所述攻角特征参数进行寻优,并根据终端状态偏差的适应度函数更新所述位置向量,迭代直到达到最大迭代次数,输出全局最优灰狼,根据所述最优灰狼的位置向量得到所述弹道导弹运动模型的标准弹道;所述终端状态偏差的适应度函数为:The iteration module is used to optimize the characteristic parameters of the angle of attack through the improved gray wolf algorithm, and update the position vector according to the fitness function of the terminal state deviation, iterate until the maximum number of iterations is reached, and output the global optimum Gray wolf, obtain the standard trajectory of the ballistic missile motion model according to the position vector of the optimal gray wolf; the fitness function of the terminal state deviation is:
Figure FDA0003998205500000032
Figure FDA0003998205500000032
其中,Fitness表示所述终端状态偏差的适应度函数值;Hf、Vf、θf表示目标终端高度、速度以及弹道倾角;Hpresent、Vpresent、θpresent表示每一次经过寻优计算后得到的当前终端高度、速度以及弹道倾角;ΔH、ΔV、Δθ表示预先设置的高度、速度和弹道倾角的允许偏差最大值。Among them, Fitness represents the fitness function value of the terminal state deviation; H f , V f , θ f represent the target terminal height, velocity and ballistic inclination; H present , V present , θ present represent the values obtained after each optimization calculation ΔH, ΔV, and Δθ represent the maximum allowable deviation of the preset height, speed and trajectory inclination.
6.一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至4中任一项所述方法的步骤。6. A computer device, comprising a memory and a processor, the memory stores a computer program, wherein the processor implements the steps of the method according to any one of claims 1 to 4 when executing the computer program . 7.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至4中任一项所述的方法的步骤。7. A computer-readable storage medium, on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are realized.
CN202110269003.5A 2021-03-12 2021-03-12 Improved Husky algorithm-based boosting section flight program optimization method and device Active CN112861378B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110269003.5A CN112861378B (en) 2021-03-12 2021-03-12 Improved Husky algorithm-based boosting section flight program optimization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110269003.5A CN112861378B (en) 2021-03-12 2021-03-12 Improved Husky algorithm-based boosting section flight program optimization method and device

Publications (2)

Publication Number Publication Date
CN112861378A CN112861378A (en) 2021-05-28
CN112861378B true CN112861378B (en) 2023-02-03

Family

ID=75994238

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110269003.5A Active CN112861378B (en) 2021-03-12 2021-03-12 Improved Husky algorithm-based boosting section flight program optimization method and device

Country Status (1)

Country Link
CN (1) CN112861378B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115685756A (en) * 2022-10-27 2023-02-03 南京理工大学 An Optimization Method Based on Improved Gray Wolf's Glide Projectile Controller
CN117494530B (en) * 2023-12-29 2024-03-26 湖北工业大学 A thin plate drilling fixture layout optimization method based on improved gray wolf algorithm

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107589665A (en) * 2017-08-25 2018-01-16 中国人民解放军火箭军装备研究院 A kind of trajectory fast Optimization and device based on gradient particle group's algorithm

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8195345B2 (en) * 2010-08-05 2012-06-05 King Fahd University Of Petroleum & Minerals Method of generating an integrated fuzzy-based guidance law for aerodynamic missiles
US8332085B2 (en) * 2010-08-30 2012-12-11 King Fahd University Of Petroleum And Minerals Particle swarm-based micro air launch vehicle trajectory optimization method
CN109506517B (en) * 2018-11-21 2021-10-12 中国人民解放军空军工程大学 Constraint-based medium guidance trajectory optimization method
CN109725644B (en) * 2019-01-22 2021-11-23 湖南云顶智能科技有限公司 Linear optimization control method for hypersonic aircraft
CN110167138B (en) * 2019-05-23 2021-01-01 西安电子科技大学 Station distribution optimization method of passive time difference positioning system based on improved wolf optimization algorithm
CN110608743B (en) * 2019-10-18 2020-11-06 南京航空航天大学 Multi-unmanned aerial vehicle collaborative route planning method based on multi-population chaotic grayling algorithm
CN110729939B (en) * 2019-11-08 2021-07-13 江苏科技大学 A method for parameter setting of permanent magnet synchronous motor speed loop active disturbance rejection controller

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107589665A (en) * 2017-08-25 2018-01-16 中国人民解放军火箭军装备研究院 A kind of trajectory fast Optimization and device based on gradient particle group's algorithm

Also Published As

Publication number Publication date
CN112861378A (en) 2021-05-28

Similar Documents

Publication Publication Date Title
CN112528441B (en) Throat-plug type variable thrust engine overall parameter design method, device and equipment
CN112861378B (en) Improved Husky algorithm-based boosting section flight program optimization method and device
CN105975651B (en) Guided missile Parameters design based on Genetic Particle Swarm algorithms for multidisciplinary design optimization
CN111679685A (en) Method and device for flight control based on total energy of UAV
CN107589665A (en) A kind of trajectory fast Optimization and device based on gradient particle group&#39;s algorithm
CN116184813B (en) Boost glide rocket attitude control method, device, equipment and storage medium
CN112729024B (en) Intelligent adjusting method and system for control parameters of missile boosting section
CN113779704B (en) Multi-target optimization method for throat plug type variable thrust solid rocket engine nozzle profile
CN107423556A (en) A kind of computational methods of the Long Range Rocket Gun launch data based on RBF agent model
Xie et al. Higher-order soft-trust-region-based sequential convex programming
Zhang et al. Hybrid hierarchical trajectory planning for a fixed-wing UCAV performing air-to-surface multi-target attack
CN116339373A (en) Monte Carlo self-adaptive dynamic programming unmanned aerial vehicle control method and system
Boncoraglio et al. Piecewise-global nonlinear model order reduction for pde-constrained optimization in high-dimensional parameter spaces
US20220404831A1 (en) Autonomous Behavior Generation for Aircraft Using Augmented and Generalized Machine Learning Inputs
CN113050682B (en) Missile boosting section correction guidance method and device and hypersonic aircraft
Li et al. Trajectory optimization of hypersonic periodic cruise using an improved PSO algorithm
US7065477B2 (en) Device and method for generating an arrangement of a set of particles
Sun et al. Multifidelity multidisciplinary design optimization of integral solid propellant ramjet supersonic cruise vehicles
WO2024248804A1 (en) Implementation of a machine learning based surrogate model for indoor air flow and temperature prediction
CN114020018B (en) Determination method and device of missile control strategy, storage medium and electronic equipment
Guzelbey et al. A review of aerodynamic shape optimization for a missile
Ning et al. A modified q-learning algorithm facing for path planning and obstacle avoidance method for unmanned aerial vehicle
CN115222023A (en) Non-cooperative target control strategy identification method and system based on neural network
CN114861532A (en) Small sample energetic material performance prediction method using meta-learning, storage device and terminal
Demir et al. Prediction of projectile impact point using approximate statistical moments

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant