Water-air amphibious unmanned vehicle path planning method and system

By constructing a dynamic model and Markov decision-making process, combined with the deep Q network algorithm, the problem of traditional path planning methods being unable to utilize the cross-dimensional motion characteristics of amphibious unmanned vehicles and adapt to complex environments has been solved, and it has been achieved under energy consumption constraints. Optimal path planning improves the efficiency and accuracy of path planning.

CN118534931APending Publication Date: 2024-08-23JIANGSU UNIV OF SCI & TECH
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410433286.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-11
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The traditional amphibious unmanned aerial vehicle path planning method cannot effectively utilize its cross-dimensional motion characteristics, is difficult to find the optimal path under energy consumption constraints, and cannot adapt to path planning and energy consumption changes in complex environments.

Method used

By constructing the dynamics model and Markov decision process of the amphibious unmanned vehicle, the deep Q network algorithm is used to perform global path planning under the constraints of the energy consumption model, taking into account the flight and navigation status of the vehicle, and setting the action space and reward function. , using reinforcement learning methods to optimize path planning.

Benefits of technology

It realizes the search for the optimal path under energy consumption constraints, improves the scope of application of path planning and the adaptability in complex environments, reduces the search cycle, and improves the efficiency and accuracy of path planning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118534931A
    Figure CN118534931A
Patent Text Reader

Abstract

The invention discloses a water-air amphibious unmanned vehicle path planning method and system, and the method comprises the steps: 1, building an amphibious unmanned vehicle dynamic model through an amphibious unmanned vehicle system model, and carrying out the performance estimation of the amphibious unmanned vehicle according to the energy consumption of the amphibious unmanned vehicle in different states, establishing an energy consumption model of the amphibious unmanned vehicle; 2, constructing a Markov decision process of path planning of the amphibious unmanned vehicle; and step 3, giving a starting point and a target point of path planning and a task time limit of the vehicle, establishing a planning model based on a depth Q network algorithm and the amphibious unmanned vehicle according to a Markov decision process of path planning of the amphibious unmanned vehicle, and completing global path planning under the constraint of an energy consumption model. According to the method, the performance of the amphibious aircraft is estimated according to the energy consumption of the amphibious aircraft in different states, the optimal path scheme can be solved through the performance indexes, and the application range is widened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a path planning method, and in particular to a path planning method and a system for an amphibious unmanned aerial vehicle. Background Art

[0002] Since amphibious unmanned aerial vehicles can realize autonomous continuous navigation in the air and on the water, and have the characteristics of high-speed maneuverability of drones and fast cruising capabilities of unmanned boats, they have broad application prospects in both military and civilian fields. Due to the particularity of the driving path of amphibious vehicles, there is a large difference in energy consumption and speed during water and air operation, so the path planning of amphibious vehicles based on energy consumption models is related to whether the optimal path can be achieved under energy consumption constraints during the mission of amphibious vehicles.

[0003] Invention patent CN109871022A introduces an intelligent path planning and local obstacle avoidance method for amphibious unmanned aerial vehicles. By acquiring the working environment information of the amphibious unmanned aerial vehicle in real time, a three-dimensional grid map is established, and the path planning is performed using an improved A* algorithm. Invention patent CN114089762 introduces a path planning method for amphibious unmanned aerial vehicles based on reinforcement learning. Through the MDP of the path planning of the amphibious unmanned aerial vehicle, the global path planning is completed according to the different working scenarios of the amphibious unmanned aerial vehicle based on the reinforcement learning algorithm.

[0004] However, the traditional path planning search method (A*) cannot use the characteristics of cross-dimensional motion of amphibious unmanned aerial vehicles to find the optimal solution for path planning. In addition, the existing path planning method for amphibious unmanned aerial vehicles has a small application range by building a three-dimensional environmental map in real time. It can only plan simple paths under specified energy consumption and cannot adapt to complex path planning in cumbersome environments or energy consumption changes after path planning due to environmental changes. Summary of the invention

[0005] Purpose of the invention: In view of the above problems, the purpose of the present invention is to provide a path planning method for an amphibious unmanned aerial vehicle, which can use the motion characteristics of the amphibious vehicle to find the optimal path solution. A planning system is also provided.

[0006] Technical solution: A path planning method for an amphibious unmanned aerial vehicle, comprising the following steps:

[0007] Step 1: Construct an amphibious unmanned vehicle dynamic model through the amphibious unmanned vehicle system model, and estimate the performance of the amphibious unmanned vehicle according to the energy consumption under different states, and establish an amphibious unmanned vehicle energy consumption model;

[0008] Step 2: Construct the Markov decision process for path planning of amphibious unmanned aerial vehicle;

[0009] Step 3: Given the starting point and target point of path planning and the time limit of the vehicle mission, a path planning model is established using the deep Q-network algorithm according to the Markov decision process of amphibious unmanned vehicle path planning, and the global path planning of the amphibious unmanned vehicle system is completed under the constraints of the energy consumption model.

[0010] Furthermore, in step 1, the energy consumption model of the amphibious unmanned aerial vehicle is:

[0011]

[0012] Where N is the propeller speed, M is the propeller torque, Um is the motor equivalent voltage, Im is the motor equivalent current, σ is the throttle command input by the ESC, Ie is the ESC input current, Ib is the battery current, nr is the number of motors, Iother is the current of other onboard equipment, Tb is the battery life; Tfly is the flight life, and Tnav is the navigation life;

[0013] Θm, Θe, Θb are power system parameters, and their values ​​are given in the product manual provided by the manufacturer, respectively:

[0014] Motor:

[0015] Θm={nominal no-load KV value KV0, maximum current ImMax, nominal no-load current Im0, nominal no-load voltage Um0, internal resistance Rm, motor weight Gm},

[0016] ESC: Θe = {maximum ESC current IeMax, internal resistance Re, ESC weight Ge},

[0017] Battery: Θb = {capacity Cb, internal resistance Rb, total voltage Ub, maximum discharge rate Kb, battery weight Gb};

[0018] Assuming that the voltage remains unchanged during the discharge process, the remaining capacity of the battery changes linearly, and the current per unit time is defined as the current energy consumption Where V is the speed of the aircraft, Cmin is the minimum battery capacity of 0.15Cb, the battery power consumption is Pb = UbIb (V), and the aircraft flight distance is

[0019] Z(θ)=60Tfly(θ)V(θ), and the navigation distance is Z(V)=60Tnav(V)·V.

[0020] Optimally, in step 1, the state of the amphibious aircraft includes the maximum level flight pitch angle θmax, the maximum level flight speed Vmax and the maximum level flight distance Zmax when the aircraft is flying; the maximum navigation speed Vnav and the maximum navigation distance Znav when the aircraft is sailing; the energy consumption model in each state is defined as: the maximum level flight speed Vmax when the aircraft is flying and the power Pmax in this state, the speed Vfly when the aircraft flies at the maximum level flight distance Zmax and the power Pfly in this state, the speed Vnav when the aircraft flies at the maximum navigation speed Vnav and the power Pnav in this state, and the speed Vmin when the aircraft sails at the maximum navigation distance Znav and the power Pmin in this state, where the flight speed of the amphibious unmanned aircraft is Vf∈[Vfly, Vmax], and the navigation speed of the amphibious unmanned aircraft is Vn∈[Vmin, Vnav].

[0021] Furthermore, in step 2, the construction of the Markov decision process includes the following steps:

[0022] T1: Establish state space;

[0023] Considering the elevation value z corresponding to the position coordinate (x, y) of the amphibious unmanned vehicle, the distance GD between the position (x, y) of the amphibious unmanned vehicle and the target point, whether the amphibious unmanned vehicle is in the flight state or the navigation state flystate, and the distance OD to the nearest obstacle at the position (x, y) of the amphibious unmanned vehicle, the state space of the amphibious unmanned vehicle is expressed as:

[0024]

[0025] Among them, flystate=h in flight state, and flystate=0 in navigation state;

[0026] T2: Establish action space;

[0027] Considering that the amphibious unmanned aerial vehicle has the characteristics of both navigation and flight, the actions of the amphibious unmanned aerial vehicle are discretized into ten actions: front, back, left, right, left front, right front, left back, right back, take-off and landing. The action space is expressed as:

[0028] A=[front, back, left, right, left front, left back, take-off, landing];

[0029] After each action is executed, the state transition form is:

[0030]

[0031] T3: Set the reward function, including the target area reward function, distance reward function, water depth reward function, and collision reward function. Add them together and weight the reward function. The evaluation criteria of different scenes are expressed with different weights. The reward function is expressed as follows:

[0032] R=λ1*rdistance+λ2*rdepth+λ3*rpower+λ4*rterminal+λ5*robstance;

[0033] Among them, λi (i=1, 2, 3, 4, 5) is the weight coefficient.

[0034] Optimally, in step T3, the target area reward function is:

[0035]

[0036] The distance reward function is:

[0037] tdistance=-λdistance*GD;

[0038] The energy consumption reward function is:

[0039]

[0040] Among them, flight energy consumption λfly=Pf·dt, Pf∈[Pfly, Pmax], navigation energy consumption λnav=Pn·dt, Pn∈[Pmin, Pnav];

[0041] The water depth reward function is:

[0042]

[0043] The collision reward function is:

[0044]

[0045] Among them, max_x, min_x, max_y, and min_y are the maximum and minimum values ​​of (x, y) in the state space of the water-air amphibious unmanned vehicle.

[0046] Furthermore, in step 3, the parameters of the deep Q network model are set as follows: batch size = 32, learning rate = 0.01, number of training times = 5000, decay factor = 0.9, memory playback unit size = 20000, the number of layers of the Q network is set to 3, and it is trained according to the Markov decision process and energy consumption model.

[0047] Furthermore, the maximum limit on the planned speed of the amphibious unmanned vehicle system is:

[0048]

[0049] The maximum acceleration limit is:

[0050]

[0051] in, They are the maximum deceleration of linear velocity, the maximum acceleration of linear velocity, the maximum deceleration of angular velocity and the maximum acceleration of angular velocity;

[0052] Considering that the amphibious unmanned vehicle system needs to reserve braking distance when it detects obstacles, the distance limit between the planning object and the obstacle is:

[0053]

[0054] Then the sampling velocity space range is: Vr = Vi ∩ Vd ∩ Va.

[0055] Furthermore, in step 3, before action selection, an Action Mask operation is added, and then the action is selected by the ε-greedy strategy, which is expressed as:

[0056]

[0057] An amphibious unmanned aircraft system adopting the above-mentioned water-air amphibious unmanned aircraft path planning method includes an amphibious aircraft power system, an integrated frame, a sensor system, an integrated motion control system, an airborne host computer system and an energy system. The integrated motion control system is connected to the amphibious aircraft power system and the sensor system, and is used to coordinately control the aircraft posture and motion mode; the energy system is connected to the amphibious aircraft power system, the sensor system, the integrated motion control system and the airborne host computer system, and is used to provide energy required by each system; the sensor system includes GPS, a barometer, a gyroscope, an accelerometer, and a magnetometer, and is used to coordinately control the aircraft motion state; the airborne host computer system is connected to the integrated control system, and is used to plan a path algorithm in real time to guide the aircraft to navigate along the path; the sensor system, the integrated motion control system, the airborne host computer system and the energy system are placed in a waterproof sealed box at the center of the upper half of the integrated frame.

[0058] Beneficial effects: Compared with the prior art, the advantages of the present invention are:

[0059] 1. The present invention designs a switchable water-air amphibious unmanned vehicle and uses a switching control method to model the water-air amphibious unmanned vehicle. Through this method, a complete amphibious unmanned vehicle system model is constructed for motion control analysis.

[0060] 2. The present invention establishes an amphibious unmanned aircraft energy consumption model by analyzing the power model of the amphibious unmanned aircraft, and performs performance estimation on the energy consumption of the amphibious aircraft under different states. The optimal path plan can be solved through performance indicators to improve the scope of application.

[0061] 3. The present invention adopts a reinforcement learning method to plan the path of an amphibious unmanned aerial vehicle. The setting of its action space regards take-off and landing as independent actions, which effectively considers the motion characteristics of the amphibious unmanned aerial vehicle.

[0062] 4. The model trained by the present invention has good generalization. The model trained by the present method can use effective prior knowledge to quickly search for a suitable path, which saves a search cycle compared with the existing method. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] Figure 1 It is a logical step schematic diagram of the present invention;

[0064] Figure 2 It is a schematic diagram of the overall appearance of the water-air amphibious unmanned aircraft of the present invention;

[0065] Figure 3 It is a schematic diagram of the internal control system of the water-air amphibious unmanned vehicle of the present invention;

[0066] Figure 4 It is a schematic diagram of the energy consumption model calculation process of the present invention;

[0067] Figure 5 It is a flow chart of the DQN algorithm of the present invention. DETAILED DESCRIPTION

[0068] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments. It should be understood that these embodiments are only used to illustrate the present invention and are not used to limit the scope of the present invention.

[0069] A path planning method for an amphibious unmanned vehicle, such as Figures 1 to 5 As shown, the following steps are included:

[0070] Step 1: Establish the overall model and control system of the amphibious unmanned aerial vehicle;

[0071] Step 2: Construct the energy consumption model of the amphibious unmanned aerial vehicle;

[0072] Step 3: Construct the Markov decision process (MDP) for path planning of the amphibious unmanned vehicle;

[0073] Step 4: Given the starting point and the target point, according to the MDP of the amphibious unmanned vehicle path planning, the global path planning is completed according to the amphibious unmanned vehicle under the constraints of the energy consumption model based on the deep Q network (DQN) algorithm.

[0074] Step 1 specifically includes the following steps:

[0075] Step 1-1: Amphibious unmanned aerial vehicle design: including an amphibious aerial vehicle power system 1, an integrated frame 2, a sensor system 3, an integrated motion control system 4, an airborne host computer system 5 and an energy system 6.

[0076] Step 1-1-1: The integrated motion control system 4 is connected to the amphibious vehicle power system 1 and the sensor system 3 to coordinate the control of the vehicle's attitude and motion mode. The energy system 6 is connected to the amphibious vehicle power system 1, the sensor system 3, the integrated motion control system 4 and the airborne host computer system 5 to provide the energy required by each system; the sensor system 3 includes GPS, a barometer, a gyroscope, an accelerometer, and a magnetometer to coordinate the motion state of the vehicle. Except for the GPS, the above sensors are placed inside the integrated control system 4; the airborne host computer system 5 is connected to the integrated control system 4 to plan the path algorithm in real time to guide the vehicle to navigate along the path; the sensor system 3, the integrated motion control system 4, the airborne host computer system 5 and the energy system 6 are placed in a waterproof sealed box at the center of the upper half of the integrated frame 2.

[0077] Step 1-1-2: The amphibious vehicle power system 1 is divided into a flight power system and a navigation power system, which are connected to the integrated frame 2 and the energy system 6. The flight power system is on the upper part of the integrated frame 2; the navigation power system is designed as a double pontoon structure composed of two hollow cylinders, the propeller is placed behind the outer side of the double pontoon, and the double pontoon is symmetrically arranged at the bottom of the integrated frame 2 to provide navigation capabilities; the integrated frame 2 is a carbon fiber structure as a whole, which is light and high-strength, with high elastic modulus and high fracture toughness index, not easy to oxidize, and stable in structure; the sensor system 3, except for GPS, is built into the pixhawk flight control board, with high adaptability, small data error, and external GPS for aircraft position control; the integrated motion control system 4 is the pixhawk flight control board, and its control firmware is composed of a combination of a four-rotor flight control firmware and a differential boat closed-loop control firmware; the airborne host computer system 5 is connected to the integrated control system 4 to plan and guide the movement of the aircraft; the energy system 6 is connected to the amphibious aircraft power system 1, the integrated control system 4 and the airborne host computer system 5 to provide power and control system energy;

[0078] Step 1-2-1: Establish an amphibious unmanned vehicle trajectory tracking system: Model the amphibious unmanned vehicle system as a switchable system. This mathematical model is different from the conventional amphibious vehicle model. It changes the order of the subsystem model through the switching signal. This allows the amphibious unmanned vehicle to be controlled as a complete model during the three-dimensional trajectory tracking process.

[0079] Step 1-2-2: A switching state observer is established to directly observe the system state variables, which can be estimated in a fixed time.

[0080] Step 2 specifically includes the following steps:

[0081] Step 2-1: Construct the energy consumption model of the amphibious aircraft: Dynamically model the amphibious aircraft, and the abstract representation of the model is as follows: Where N (unit: RPM, revolutions per minute) is the speed of the propeller, M (unit: N·M) is the propeller torque, Um (unit: V) is the motor equivalent voltage, Im (unit: A) is the motor equivalent current, σ (between 0 and 1, no unit) is the throttle command input by the electronic controller, Ie (unit: A) is the input current of the electronic controller, Ib (unit: A) is the battery current, and Tb is the flight time of the aircraft. Among them, Θp, Θm, Θe, Θ are power system parameters, and their values ​​are given in the product manual provided by the manufacturer, which are respectively for the motor: Θm = {nominal no-load KV value KV0, maximum current ImMax, nominal no-load current Im0, nominal no-load voltage Um0, internal resistance Rm, motor weight Gm}

[0082] , Electronic speed control (ESC): Θe={maximum ESC current IeMax, internal resistance Re, battery weight Ge}, Battery: Θb={capacity Cb, internal resistance Rb, total voltage Ub, maximum discharge rate Kb, battery weight Gb}.

[0083] Step 2-1-2: The propeller dynamics model θP includes: propeller thrust T during flight

[0084] ( Unit: N) and torque M( The calculation formula of θp (unit: N·M) is used, where the main parameters that determine the propeller power system are θp, DP (unit: m) is the propeller diameter, CT and CM are dimensionless tension coefficient and torque coefficient respectively, CF is the fluid dynamic coefficient, s (unit: m2) is the surface area subject to resistance, and V (unit: m / s) is the forward speed of the aircraft (flight or navigation). ρ (unit: kg / m3) is the fluid density of the operating environment. Under normal circumstances, the flight altitude of an amphibious aircraft will not change much, and its temperature and altitude can be input into the estimation model as constants. Therefore, the air in the flight environment is taken as the standard atmospheric density of 1,293 kg / m3, and the water density of the navigation environment is 1000 kg / m3. The above CT and CM can be abstractly expressed as follows: Θp is the propeller parameter ΘP = {diameter DP, pitch HP, number of blades BP, propeller weight GP}, and the motor model Θm includes: solving the motor equivalent voltage Um (unit: V) and equivalent current Im (unit: A), and the solution equation can be abstractly expressed as The ESC model Θe includes the relationship between the ESC input throttle command σ (between 0 and 1, unitless), the input current Ie (unit: A) and the input voltage Ue (unit: V). The following abstract solution equation is proposed: The main purpose of ESC modeling is to use Um and Im obtained from the motor model, as well as the ESC parameter set Θe and battery parameter set Θb, to calculate the ESC input throttle command σ (between 0 and 1, unitless), input current Ie (unit: A) and input voltage Ue (unit: V). Battery modeling Θb includes: The battery model can be abstractly represented by the endurance time as The battery discharge process is the energy consumption process. Assuming that the voltage remains unchanged during the discharge process, the remaining capacity of the battery changes linearly, and the current per unit time is defined as the current energy consumption, which is expressed as Where V (unit: m / s) is the speed of the aircraft, Ib (unit: A) is the battery current, Tb (unit: min) is the endurance time, Cb (unit: mAh) is the total battery capacity, and Cmin (unit: mAh) is the minimum battery capacity of 0.15Cb. The battery power consumption is Pb = UbIb (V), and the aircraft navigation\flight distance is Z = 60TbV.

[0085] Step 2-2: Estimate the performance of the amphibious aircraft according to its energy consumption in different states: its states include: maximum level flight pitch angle θmax, maximum level flight speed Vmax and maximum level flight distance Zmax when the aircraft is flying; maximum navigation speed Vnav and maximum navigation distance Znav when the aircraft is sailing; the energy consumption model in each state is defined as: maximum level flight speed Vmax when the aircraft is flying and power Pmax in this state, speed Vfly when the aircraft flies at maximum level flight distance Zmax and power Pfly in this state, speed Vmin when the aircraft flies at maximum navigation speed Vnav and power Pnav in this state and maximum navigation distance Znav and power Pmin in this state.

[0086] Among them, the flight speed of the amphibious unmanned vehicle is Vf∈[Vfly, Vmax], and the navigation speed of the amphibious unmanned vehicle is Vn∈[Vmin, Vnav].

[0087] Step 3 specifically includes the following steps:

[0088] Step 3-1: Establish state space: Consider the elevation value z corresponding to the position coordinate (x, y) of the amphibious unmanned aerial vehicle (when the amphibious unmanned aerial vehicle is on the water surface, z is the water depth value of the corresponding position); the distance Goal Distance (GD) from the position (x, y) of the amphibious unmanned aerial vehicle to the target point; whether the amphibious unmanned aerial vehicle is in flight state or navigation state flystate (flight state flystate = h; navigation state flystate = 0); the distance Obstacle Distance (OD) to the nearest obstacle at the position (x, y) of the amphibious unmanned aerial vehicle. The state space of the amphibious unmanned aerial vehicle is expressed as:

[0089]

[0090] Step 3-2: Establish action space: Considering that the amphibious unmanned aerial vehicle has the characteristics of both navigation and flight, the actions of the amphibious unmanned aerial vehicle are discretized into ten actions: front, back, left, right, left front, right front, left back, right back, take-off and landing. The action space is expressed as:

[0091] A=[front,back,left,right,left front,right front,left back,rightback,take-off,landing] After each action is executed, the state transfer form is as follows. First, the actions of take-off and landing determine the state of flystate. When the take-off action is executed, flystate=h; when the landing action is executed, flystate=0. It should be noted that, considering that the water and air amphibious unmanned aircraft is in flight, if the altitude changes greatly, its energy consumption will increase. Therefore, after executing the take-off action, the water and air amphibious unmanned aircraft is given a height value h according to the elevation information of the planned environment, so that the water and air amphibious unmanned aircraft maintains this altitude h during flight. The remaining eight actions in the action space are the displacement actions of the water and air amphibious unmanned aircraft in the environment, and the displacement distance is controlled by the state flystate and the speed Vi (i=f,n).

[0092]

[0093] Step 3-3: Set the reward function: Its reward function includes target area reward function, distance reward function, water depth reward function, and collision reward function.

[0094] Step 3-3-1: Target area reward function: Since reaching the target area is the most critical criterion for the path planning task, rterminal uses a large positive value. It is expressed as

[0095] Step 3-3-2: Distance reward function: Since the length of the path is the main factor affecting the path time and energy consumption, the distance to the target area should be used as a reward function to constrain the length of the path for the amphibious unmanned vehicle to reach the target point. The distance reward function is expressed as rdistance = -λdistance*GD.

[0096] Step 3-3-3: Energy consumption reward function: When an amphibious unmanned aerial vehicle is in motion, the energy consumed in its flight and navigation states is different. In order to make the proportion of flight and navigation in the path planning route meet the needs of different work scenarios, an energy consumption reward function is adopted; through the establishment of the above energy consumption model, it can be known that its flight energy consumption λfly=Pf·dt

[0097] (Pf∈[Pfly,Pmax]) and navigation energy consumption λnav=Pn·dt(Pn∈[Pmin,Pnav]), so the energy consumption reward function is expressed as:

[0098]

[0099] Step 3-3-4: Water depth reward function: The energy consumption of the amphibious unmanned aerial vehicle is divided into flight energy consumption and navigation energy consumption. The water depth reward is also a reward function. The designed water depth reward function rdepth can be expressed as The water depth reward function jointly limits the take-off and landing actions through the elevation value z in the current state of the water-air amphibious unmanned vehicle and the nearest obstacle distance OD.

[0100] Step 3-3-4: Collision reward function: The collision reward is designed to prevent the amphibious unmanned aerial vehicle from colliding with obstacles or touching the boundary of the environment to ensure the safety of the path. If the coordinate water depth value of the next state of the amphibious unmanned aerial vehicle is positive and it is not in the flying state or the coordinate value (x, y) touches the boundary of the environment, the collision reward function will return a large negative reward. The collision reward function can be expressed as:

[0101] Among them, max_x, min_x, max_y, and min_y are the maximum and minimum values ​​of (x, y) in the state space of the water-air amphibious unmanned vehicle.

[0102] Step 3-3-5: Add the target area reward function, distance reward function, energy consumption reward function, water depth reward function, and collision reward function. By weighting the reward function, the evaluation criteria of different scenes are expressed with different weights. The reward function is expressed as:

[0103] R=λ1*rdistance+λ2*rdepth+λ3*rpower+λ4*rterminal+λ5*robstance, where λi (i=1, 2, 3, 4, 5) is a weight coefficient.

[0104] Step 4 specifically includes the following steps:

[0105] Step 4-1: (1) Given the starting point and target point of the path planning and the mission time limit of the aircraft;

[0106] (2) Import the environment model and the energy consumption model established by S2, select the deep Q network (DQN) algorithm as the path planning algorithm, set the batch size (Batch_size) = 32, the learning rate (Learning rate) = 0.01, the number of training episodes (episode) = 5000, the attenuation factor (gamma) = 0.9, the memory playback unit size (memory_size) = 20000, set the number of layers of the Q network to 3, and train according to the MDP of the amphibious unmanned aerial vehicle of S3 and the energy consumption model of S2.

[0107] Step 4-2: The path planning method specifically includes the following process:

[0108] S1. Establish a simulation map for global path planning of the water-air amphibious unmanned vehicle and input the starting position and target position.

[0109] S2, input: number of iterations T, state feature dimension n, action set A, learning rate α, decay factor γ, number of samples of batch gradient descent m, size of experience replay buffer D, weights λ1 and λ2 of reward function;

[0110] S3, initialize the Q table and input the target Q value network Q′;

[0111] S4, For episode = 1, M performs training;

[0112] S5, initialization state S;

[0113] S6. For t = 1, T iterations

[0114] S7, use s as input in the current Q value network to obtain the Q value output corresponding to all actions in the action set A;

[0115] S8, the Q value of the invalid action is action masked, and the action a is selected from the Q value output after the action mask using the ε-greedy strategy. The water-air amphibious unmanned vehicle agent performs action a, interacts with the environment to obtain the reward r and the new state s′, and stores (s, a, r, s′) in the experience replay buffer;

[0116] S9, update Q value;

[0117] S10, update the model M(s, a) with r and s′;

[0118] S11, after n simulations;

[0119] S12, each simulation randomly selects a state S that has appeared before and an action A allowed in that state;

[0120] S13, based on M(s, a), obtain reward r and new s′;

[0121] S14, soft update target Q value network parameters;

[0122] S15. If s′ is in the end state, the current iteration is completed; otherwise, go to S7 and terminate.

[0123] Step 4 The speed of the planning object has a maximum limit, defined as: The acceleration of the planning object has a maximum limit, defined as: in They are the maximum linear speed deceleration, the maximum linear speed acceleration, the maximum angular speed deceleration, and the maximum angular speed acceleration. Considering that the planning object needs to reserve a braking distance when it detects an obstacle, the distance between the planning object and the obstacle is limited, which is expressed as The final sampling speed space range is the intersection of the above three speeds Vr = Vi∩Vd∩Va.

[0124] In step 4, the algorithm adds an Action Mask operation before action selection, and then selects the action using the ε-greedy strategy. It can be expressed as

[0125]

[0126] The present invention first constructs a fully functional overall model of an amphibious unmanned aerial vehicle, which combines advanced sensor navigation and control technology to ensure that the vehicle can operate stably in both water and air amphibious environments, and is equipped with a trajectory tracking control system so that the vehicle can accurately and stably track a pre-planned path.

[0127] When constructing the energy consumption model of the amphibious unmanned aircraft, the present invention adopts a refined modeling method and conducts in-depth analysis and evaluation of each key component of the aircraft, such as the propulsion system, navigation equipment, energy consumption unit, etc. By introducing the principles of fluid dynamics and mechanics, we calculate the energy consumption of the propeller under different speeds, loads and medium conditions to ensure that the model can truly reflect the power performance of the aircraft.

[0128] This example constructs a Markov model for path planning of an amphibious unmanned vehicle, sets visibility constraints, and sets a reward function using performance indicators under an accurate energy consumption model to ensure that the vehicle can complete the entire mission path within the specified energy consumption limit.

[0129] The present invention gives the starting point and target point of path planning, imports the environmental model, selects the deep Q network (DQN) algorithm, and the deep Q network (DQN) algorithm flow chart based on the path planning of the amphibious unmanned aerial vehicle is as follows: Figure 4 As shown in the figure, the algorithm used for path planning is set with batch size (Batch_size) = 32, learning rate (Learning rate) = 0.01, number of training episodes (episode) = 5000, attenuation factor (gamma) = 0.9, memory playback unit size (memory_size) = 20000, the number of layers of the Q network is set to 3, and training is performed in any three-dimensional environment based on the MDP of the amphibious unmanned aerial vehicle of S3 and the energy consumption model of S2.

Claims

1. A path planning method for an amphibious unmanned aerial vehicle, characterized in that The following steps are involved: Step 1: Construct an amphibious unmanned vehicle dynamic model through the amphibious unmanned vehicle system model, and estimate the performance of the amphibious unmanned vehicle according to the energy consumption under different states, and establish an amphibious unmanned vehicle energy consumption model; Step 2: Construct the Markov decision process for path planning of amphibious unmanned aerial vehicle; Step 3: Given the starting point and target point of path planning and the time limit of the vehicle mission, a path planning model is established using the deep Q-network algorithm according to the Markov decision process of amphibious unmanned vehicle path planning, and the global path planning of the amphibious unmanned vehicle system is completed under the constraints of the energy consumption model.

2. The path planning method for an amphibious unmanned vehicle according to claim 1, characterized in that: In step 1, the energy consumption model of the amphibious unmanned aerial vehicle is: Where N is the propeller speed, M is the propeller torque, and U is the m is the motor equivalent voltage, I m is the motor equivalent current, σ is the throttle command input by the ESC, I e is the ESC input current, I b is the battery current, n r is the number of motors, I other is the current of other onboard equipment, T b is the battery life; T fly is the flight endurance time, T nav is the cruising endurance; Θ m , Θ e , Θ b are the power system parameters, which are: Motor: Θ m = {Nominal no-load KV value K V0 , Maximum current I mMax , Nominal no-load current I m0 , Nominal no-load voltage U m0 、Internal resistance R m , Motor weight G m }、 ESC: Θ e = {Maximum electric regulation current I eMax 、Internal resistance R e , ESC weight G e } Battery: Θ b = {Capacity C b 、Internal resistance R b , total voltage U b , Maximum discharge rate K b , Battery weight G b }; Assuming that the voltage remains unchanged during the discharge process, the remaining capacity of the battery changes linearly, and the current per unit time is defined as the current energy consumption Where V is the speed of the spacecraft, C min The minimum battery capacity is 0.15C b , the battery power consumption is P b =U b I b (V), where the aircraft flight distance is Z(θ) = 60T fly (θ)V(θ), the sailing distance is Z(V)=60T nav (V)·V.

3. The path planning method for an amphibious unmanned vehicle according to claim 2, characterized in that: In step 1, the state of the amphibious aircraft includes the maximum level flight pitch angle θ of the aircraft max , Maximum level flight speed V max and maximum level flight distance Z max ; Maximum navigation speed V of the aircraft during navigation nav And the maximum sailing distance Z nav ; The energy consumption model in each state is defined as: The maximum level flight speed V of the aircraft during flight max And the power P in this state max 、The aircraft flies at the maximum level distance Z max Speed ​​V during flight fly And the power P in this state fly , the aircraft is at the maximum navigation speed V nav And the power P in this state nav and the aircraft at the maximum navigation distance Z nav Speed ​​V during sailing min And the power P in this state min , where the flight speed of the amphibious unmanned vehicle is V f ∈[V fly , V max ], the navigation speed of the amphibious unmanned vehicle V n ∈[V min V nav ].

4. The path planning method for an amphibious unmanned vehicle according to claim 1, characterized in that: In step 2, the construction of the Markov decision process The following steps are involved: T1: Establish state space; Considering the elevation value z corresponding to the position coordinate (x, y) of the amphibious unmanned vehicle, the distance GD between the position (x, y) of the amphibious unmanned vehicle and the target point, whether the amphibious unmanned vehicle is in the flight state or the navigation state flystate, and the distance OD to the nearest obstacle at the position (x, y) of the amphibious unmanned vehicle, the state space of the amphibious unmanned vehicle is expressed as: Among them, flystate=h in flight state, and flystate=0 in navigation state; T2: Establish action space; Considering that the amphibious unmanned aerial vehicle has the characteristics of both navigation and flight, the actions of the amphibious unmanned aerial vehicle are discretized into ten actions: front, back, left, right, left front, right front, left back, right back, take-off and landing. The action space is expressed as: A=[front, back, left, right, leftfront, rightfront, left back, right back, take-off, landing]; After each action is executed, the state transition form is: T3: Set the reward function, including the target area reward function, distance reward function, water depth reward function, and collision reward function. Add them together and weight the reward function. The evaluation criteria of different scenes are expressed with different weights. The reward function is expressed as follows: R=λ1*r distance +λ2*r depth +λ3*r power +λ4*r terminal +λ5*r obstance ; Among them, λ i(i=1,2,3,4,5) is the weight coefficient.

5. The path planning method for an amphibious unmanned vehicle according to claim 4, characterized in that: In step T3, the target area reward function is: The distance reward function is: r distance =-λ distance *DG; The energy consumption reward function is: Among them, the flight energy consumption λ fly =P f ·dt,P f ∈[P fly , P max ], navigation energy consumption λ nav =P n ·dt,P n ∈[P min , P nav ]; The water depth reward function is: The collision reward function is: Among them, max_x, min_x, max_y, and min_y are the maximum and minimum values ​​of (x, y) in the state space of the water-air amphibious unmanned vehicle.

6. The path planning method for an amphibious unmanned vehicle according to claim 1, characterized in that: In step 3, the parameters of the deep Q network model are set as follows: batch size = 32, learning rate = 0.01, number of training times = 5000, decay factor = 0.9, memory playback unit size = 20000, the number of layers of the Q network is set to 3, and it is trained according to the Markov decision process and energy consumption model.

7. The path planning method for an amphibious unmanned vehicle according to claim 1, characterized in that: The maximum speed limit for the AUV is: The maximum acceleration limit is: in, They are the maximum deceleration of linear velocity, the maximum acceleration of linear velocity, the maximum deceleration of angular velocity and the maximum acceleration of angular velocity; Considering that the amphibious unmanned vehicle system needs to reserve braking distance when it detects obstacles, the distance limit between the planning object and the obstacle is: Then the sampling speed space range is: V r =V i ∩V d ∩V a .

8. The path planning method for an amphibious unmanned vehicle according to claim 1, characterized in that: In step 3, before action selection, an Action Mask operation is added, and then the action is selected by the ε-greedy strategy, which is expressed as:

9. An amphibious unmanned vehicle system using a water-air amphibious unmanned vehicle path planning method according to any one of claims 1 to 8, characterized in that: The invention comprises an amphibious vehicle power system (1), an integrated frame (2), a sensor system (3), an integrated motion control system (4), an airborne host computer system (5) and an energy system (6). The integrated motion control system (4) is connected to the amphibious vehicle power system (1) and the sensor system (3) and is used for collaboratively controlling the vehicle attitude and motion mode. The energy system (6) is connected to the amphibious vehicle power system (1), the sensor system (3), the integrated motion control system (4) and the airborne host computer system (5) and is used for providing energy required by each system. The sensor system (3) comprises a GPS, a barometer, a gyroscope, an accelerometer and a magnetometer and is used for collaboratively controlling the motion state of the vehicle. The airborne host computer system (5) is connected to the integrated control system (4) and is used for real-time path planning algorithm to guide the vehicle to navigate along the path. The sensor system (3), the integrated motion control system (4), the airborne host computer system (5) and the energy system (6) are placed in a waterproof sealed box at the center of the upper half of the integrated frame (2).

Citation Information

Cited By

  • Variable-pitch unmanned aerial vehicle simulation control method based on digital twinning and unmanned aerial vehicle

    CN119148554A

  • Water-air amphibious vehicle obstacle avoidance method and water-air amphibious vehicle

    CN119882736A