Preset route replanning method and system for autonomous obstacle avoidance of aircraft
Through modeling and clustering algorithm processing of aircraft and obstacles, combined with Dubins planning method, the problem of balancing aircraft obstacle avoidance and multi-segment route tracking performance in unknown environments is solved, and fast and safe obstacle avoidance path planning is achieved. Suitable for special aircraft such as fixed-wing aircraft.
Patent Information
- Application Number
- CN202411071270.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-08-06
AI Technical Summary
Existing technology is difficult to achieve both autonomous obstacle avoidance and multi-segment route tracking performance of aircraft in unknown environments, and the algorithm solution speed under flight performance constraints is slow and cannot effectively cope with obstacle avoidance path planning under various threat levels.
By modeling the aircraft and obstacles, we define the motion performance, sensing range, collision avoidance range and initial mission route, use the clustering algorithm to classify and cluster the obstacles to threat levels, and eliminate or modify the obstacle area routes in the route. points, combined with Dubins planning method to plan obstacle avoidance routes under flight performance constraints, and finally generate the final flight route path.
It enables the aircraft to flexibly avoid obstacles in unknown environments, improves the safety and flight efficiency of the obstacle avoidance process, and can quickly solve routes that meet multiple threat levels. It is suitable for special aircraft such as fixed-wing aircraft.
Smart Images

Figure CN118584993B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of aircraft, and in particular relates to a method and system for replanning a preset route for autonomous obstacle avoidance of an aircraft. Background Art
[0002] In existing research, artificial potential field method, improved artificial potential field method, reinforcement learning-based path planning method, and map random point heuristic path generation method are usually used to solve the local path planning problem of limited perception aircraft in unknown environments. Artificial potential field method and improved artificial potential field method analyze the position distance relationship between obstacles and the starting point or end point of travel, design different potential energy functions, so that obstacles produce repulsive forces of different strengths, and the area near the preset waypoint produces gravitational forces of different strengths to control the flight direction and speed of the aircraft. However, the path planned by this type of method has more burrs and jitters, which affects the flight quality of the aircraft, and it is easy to fall into a fixed point when facing dense obstacles around the waypoint. Map random point heuristic path generation methods mainly include PRM, RRT, RRT*, etc. They connect a series of points that do not fall into obstacles and have the lowest distance cost from the original route to form a planned path by randomly scattering points in the preset route area and its surrounding areas. This method requires a long computing time, and the calculated path needs to be optimized twice according to the motion performance limit of the aircraft before it can be used directly. The path planning method based on reinforcement learning is a theory that combines reinforcement learning networks with traditional path planning algorithms. By simulating different location environment scenarios to train the reinforcement learning model, the ability to dynamically adjust the control parameters of the traditional path planning algorithm is obtained, so that the aircraft can complete obstacle avoidance in unknown environments. Although this method has a certain degree of interpretability, the training cost of the reinforcement learning model is high and time-consuming, and the generalization ability and path planning effect are related to the number of training environment samples.
[0003] In summary, the shortcomings of the existing technology are: most of the existing research relies on known environmental map information, and cannot adapt to the path planning needs of the aircraft in an unknown environment that takes into account both obstacle avoidance and tracking of multiple preset lines to form a route; the existing aircraft path planning algorithms often use particle kinematic models or require secondary path optimization to obtain results, and cannot quickly plan a path that meets the aircraft's motion performance constraints based on the preset route.
[0004] In addition, patent application CN112393732A also discloses a method, device, readable storage medium and electronic device for avoiding obstacles of unmanned aerial vehicles. The method includes: when an obstacle is detected within a preset range of the current route of the unmanned aerial vehicle, determining a target plane perpendicular to the current route and containing the obstacle, the target plane includes a first coordinate axis and a second coordinate axis in the coordinate system of the unmanned aerial vehicle and perpendicular to the current route; according to the distance between the intersection of the first coordinate axis and the second coordinate axis and the obstacle, determining 4n candidate waypoints on the first coordinate axis and the second coordinate axis; for each candidate waypoint, determining the candidate route corresponding to the candidate waypoint, and estimating the cost value when the unmanned aerial vehicle flies to the target position according to the candidate route; determining the optimal route according to the cost value, and controlling the unmanned aerial vehicle to fly to the target position according to the optimal route to avoid the obstacle.
[0005] However, the route planned by this obstacle avoidance method is difficult to adapt to the turning performance of fixed-wing UAVs, and cannot meet the obstacle avoidance requirements in flight scenarios with multiple obstacles of different motion types.
[0006] For another example, patent application CN117589167A also discloses a method for planning a drone inspection route based on a three-dimensional point cloud model. The method is based on a laser radar scanning method, which scans the inspection area or equipment to generate original three-dimensional point cloud data.
[0007] In addition, patent application CN112148033A also discloses a method, device, equipment and storage medium for determining a drone route. The method includes: obtaining a set of boundary points of each obstacle in the operating area, and determining the minimum circumscribed rectangle of each obstacle in the flight direction according to the set of boundary points of each obstacle; clustering each obstacle according to the minimum circumscribed rectangle of each obstacle in the flight direction; merging the boundary point sets of obstacles belonging to the same category to obtain at least one merged boundary point set, and determining the convex hull boundary point set corresponding to each merged boundary point set; and correcting the initial operating route corresponding to the operating area according to each convex hull boundary point set to obtain a target operating route corresponding to the operating area.
[0008] However, when the above clustering method encounters a complex multi-obstacle flight scene, its obstacle avoidance accuracy and reliability are relatively reduced, and this obstacle avoidance method is also difficult to apply to fixed-wing UAVs with special motion characteristics for turning performance. Summary of the invention
[0009] The purpose of the present invention is to provide a preset route replanning method and system for autonomous obstacle avoidance of an aircraft in an unknown environment, so as to overcome the shortcomings of existing path planning technologies in terms of the balance between obstacle avoidance and multi-segment route tracking performance in unknown environments, the algorithm solution speed under flight performance constraints, and the obstacle avoidance path planning method under multiple threat levels.
[0010] In order to solve the above-mentioned technical problems, the present invention specifically adopts the following technical solutions: a preset route replanning method for autonomous obstacle avoidance of an aircraft in an unknown environment, comprising: modeling an aircraft, defining the aircraft's motion performance, perception range, collision avoidance range, initial mission route and final target waypoint; wherein the motion performance is the motion state of the aircraft at time t, and the motion state includes: the flight position, flight speed, flight direction and maximum roll angle of the aircraft; the perception range is the detection range of the aircraft for obstacles;
[0011] Model obstacles, define the positional relationship between obstacles and aircraft, and construct an obstacle threat level classification function to classify obstacles into threat levels;
[0012] According to the threat level of obstacles within the aircraft's sensing range, the obstacles are clustered using a clustering algorithm;
[0013] According to the result of obstacle clustering, the waypoints in the obstacle area of the initial mission route are eliminated or / and modified to obtain a corrected route;
[0014] Using the Dubins planning method to plan obstacle avoidance routes under the constraints of the aircraft's flight performance;
[0015] Plan the final flight path using course corrections and obstacle avoidance.
[0016] As an improvement, the kinematic performance of the aircraft is calculated using the formula:
[0017] ;
[0018] is defined as follows; where U(t) is the motion state of the aircraft at time t, is the latitude of the aircraft at time t, is the longitude of the aircraft's location at time t, is the altitude of the aircraft at time t, is the heading angle of the aircraft nose at time t, and are the north and east velocity components of the aircraft in the geodetic coordinate system at time t, respectively;
[0019] The sensing range of the aircraft is based on the center of mass of the aircraft. Centered at 0° to 360° horizontal detection angle, 45° to -90° vertical detection angle, and radius The lower hemispherical area of
[0020] The collision avoidance range of the aircraft is based on the center point of the obstacle position. As the center of the circle, A circle with radius Need to satisfy constraints ,in , and are the latitude, longitude and altitude of the obstacle at time t, T is the matrix transpose symbol, is the minimum turning radius of the aircraft at time t;
[0021] The initial mission route of the aircraft uses the formula:
[0022] , , , ;
[0023] to define; is the initial mission route, P i -P n is the in-th waypoint in the initial mission route; ,in, It is The latitude of the waypoint, It is The longitude of the waypoint, It is where n is the total number of waypoints on the initial mission route.
[0024] As an improvement, the method of defining the positional relationship between the obstacle and the aircraft includes:
[0025] The obstacles are multiple objects within the sensing range of the aircraft at time t; using the formula:
[0026] ;
[0027] Define the obstacle set; where B(t) is the obstacle set within the aircraft’s sensing range at time t, is the perception area radius, is the distance between the aircraft and the The horizontal Euclidean distance of obstacles, It is The motion state of an obstacle;
[0028] Using the formula:
[0029] ;
[0030] ;
[0031] ;
[0032] Calculate the position relationship between the aircraft and the obstacle; where: is the distance between the aircraft and the The horizontal Euclidean distance of obstacles, is the radius of the Earth, and c are intermediate variables, , They are respectively The latitude and longitude of the obstacle’s location; , are the latitude and longitude of the aircraft's location at time t;
[0033] Using the formula:
[0034] ;
[0035] represents the motion state of the obstacle; It is The motion state of an obstacle, , is a positive integer or 0; , and They are respectively The latitude, longitude and altitude of the obstacle location, , and They are respectively The obstacle has a heading angle of 0 degrees in the north direction and the north and east velocity components in the geodetic coordinate system; and Condition No. obstacles, and its heading angle at time t is , It is the heading angle that the aircraft's nose is pointing at at that moment.
[0036] As an improvement, the method of constructing the obstacle threat level classification function includes:
[0037] right obstacles of different moving types, and satisfy the conditions , then Set the avoidance priority of obstacles to ; To avoid priority, It is the total number of obstacles within the aircraft's sensing range.
[0038] set up For the remaining hiding time,
[0039] ;
[0040] in, is a very small floating point number greater than zero, is the distance between the aircraft and the The horizontal Euclidean distance of obstacles, and satisfy the constraint , and They are respectively The north and east velocity components of an obstacle in the geodetic coordinate system; is the perception area radius;
[0041] set up for The difference between the aircraft heading angle and the obstacle heading angle at the moment,
[0042] , ;
[0043] in, is the heading angle of the aircraft nose at time t, is the obstacle heading angle at time t;
[0044] At time t, the first The threat level of obstacles is , .in, The threat level.
[0045] As an improvement, the method of clustering obstacles using clustering algorithms includes:
[0046] Set a classification threshold constant , so that the set value satisfies ;
[0047] At time t, for the set of obstacles within the aircraft's perception range, , if the set There is at least one obstacle in With another obstacle , and its clustering distance is , and Represent the obstacles at time t and Threat level;
[0048] Obstacle collection The obstacles in the cluster are clustered. The obstacle clustering set with the initial clustering center is , , that is, the obstacle cluster set Contains at least one obstacle , if any one belongs to the set of perceived obstacles Obstacles With any one belonging to the obstacle cluster set Obstacles The clustering distance Satisfy the conditions , then the obstacle Added to the obstacle clustering set ;
[0049] Obstacle clustering set The cluster center of is defined as:
[0050] ;
[0051] Further, ;
[0052] in is a computational set The operator symbol contains the number of points. , , They are respectively In the collection The latitude, longitude and altitude of the obstacle location within the represents any, Σ is the summation symbol; , and Obstacle clustering sets The cluster center of latitude, longitude and altitude;
[0053] Obstacle clustering set The threat level is defined as is the set at time t The first The threat level of each obstacle;
[0054] At time t, the aircraft has a cluster of obstacles The collision avoidance range is defined as ,in For the collision avoidance range, is the cluster center, is the collision avoidance radius of the aircraft;
[0055] At time t, the set of collision avoidance ranges of all clusters within the aircraft’s sensing range is defined as ; is the set of anti-collision ranges;
[0056] At time t, the set of obstacle clusters that pose the greatest threat to the aircraft , then the maximum threat collision avoidance range is And satisfy the constraints ,in, It is represented by the latitude, longitude and altitude of the obstacle cluster center point with the highest threat level at time t. is the set of obstacle clusters The threat level, It is a maximum value function, which is used to find the maximum value from the anti-collision range set Filter and return the anti-collision range with the highest threat level .
[0057] As an improvement, the modified route uses the formula:
[0058] ;
[0059] To express; among them, is the corrected course at time t, is the total number of waypoints for the corrected route, , , is a positive integer or 0; is the corrected waypoint numbered i~z in the corrected route at time t;
[0060] For correcting waypoints:
[0061] when , hour, ;
[0062] when , hour, ;
[0063] when , hour, ;
[0064] otherwise, ;
[0065] in, Indicates the waypoints involved in the calculation at this time Correcting the course Delete from;
[0066] Extrapolation Point It is expressed as:
[0067] ;
[0068] Scale Factor It is expressed as: ;
[0069] is the distance from the aircraft position to the obstacle cluster center at time t The horizontal Euclidean distance between It is the route at time t Waypoints To the obstacle cluster center The horizontal Euclidean distance between The initial route No. Waypoints, , and They are Waypoints The latitude, longitude and altitude of , and Obstacle clustering sets The cluster center of latitude, longitude and altitude; is the collision avoidance radius of the aircraft, R min (t) is the minimum turning radius of the aircraft at time t.
[0070] As an improvement, the method of planning an obstacle avoidance route under the constraints of the aircraft's flight performance using the Dubins planning method includes:
[0071] Input parameters, including the motion state of the aircraft at time t , the minimum turning radius R of the aircraft at time t min (t), the anti-collision range set of all clusters within the aircraft’s sensing range at time t , re-entry point after obstacle avoidance is completed ;
[0072] Output obstacle avoidance route , , , is a positive integer or 0, It is an obstacle avoidance route The total number of waypoints, It is an obstacle avoidance route Waypoints, ;
[0073] For the above reentry state point , and is a positive integer or 0, where waypoint Correction route The waypoint is the time when the aircraft flies out of the maximum threat obstacle avoidance range The subsequent cut-out waypoint, i.e. ,in is the corrected course of the aircraft at time t The part that has never been reached The center of greatest threat Nearest waypoint The Euclidean distance between It is used to traverse and filter out the center of the greatest threat in the corrected route Minimum function of the distance to the nearest waypoint; It is the time when the aircraft flies out of the maximum threat obstacle avoidance range at time t. The cut-out angle is calculated as follows:
[0074] ;
[0075] in, Correction of course The total number of waypoints, , is the heading angle of the aircraft nose at time t, is the radius of the Earth, The corrected route at time t After the obstacle avoidance is completed in the largest threat area, the waypoint is cut out The latitude, is the center point of the largest threatening obstacle cluster at time t The latitude, The corrected route at time t After the obstacle avoidance is completed in the area with the largest threat, the waypoint is cut out The center point of the cluster with the largest threatening obstacle The horizontal Euclidean distance between (it should be noted that the "horizontal Euclidean distance" in this article is also referred to as "Euclidean distance"), is the heading angle that the aircraft's nose is pointing at at time t.
[0076] As an improvement, using the formula:
[0077] when ,and hour, ;
[0078] when ,and hour, ;
[0079] otherwise, ;
[0080] Plan the final flight route; is the final flight path, and They are the aircraft's correction route and obstacle avoidance route. , is the route switching distance factor, which is a setting parameter. It is the distance from the aircraft position at time t to the center of the maximum threatening obstacle cluster. The horizontal Euclidean distance between It is the waypoint where the aircraft position at time t reaches the maximum threatening obstacle area after obstacle avoidance is completed. The horizontal Euclidean distance between is the collision avoidance radius of the aircraft, R min (t) is the minimum turning radius of the aircraft at time t; is the route switching factor, which is calculated as follows:
[0081] ,and hour, ;
[0082] otherwise, ;
[0083] exist time .
[0084] The present invention provides a preset route replanning system for autonomous obstacle avoidance of an aircraft in an unknown environment, comprising:
[0085] The aircraft modeling module is used to model the aircraft and define the aircraft's motion performance, perception range, collision avoidance range, initial mission route, and final target waypoint;
[0086] The obstacle modeling module is used to model obstacles, define the positional relationship between obstacles and aircraft, and construct an obstacle threat level classification function to classify obstacles into threat levels;
[0087] The clustering module is used to cluster obstacles using a clustering algorithm according to the threat level of obstacles within the aircraft's sensing range;
[0088] A revised route acquisition module is used to remove or / and modify the waypoints in the obstacle area in the initial mission route according to the result of obstacle clustering to obtain a revised route;
[0089] The obstacle avoidance route acquisition module is used to plan the obstacle avoidance route under the constraints of the aircraft's flight performance using the Dubins planning method;
[0090] The final flight route path acquisition module is used to plan the final flight route path using the correction route and obstacle avoidance route.
[0091] The present invention also provides a computer system, including a processor and a memory, wherein the memory stores a computer program; when the computer program is executed by the processor, the preset route replanning method for autonomous obstacle avoidance of an aircraft in an unknown environment can be implemented.
[0092] The present invention is beneficial in that:
[0093] In order to overcome the shortcomings of existing path planning technologies in terms of both obstacle avoidance and multi-segment route tracking performance in unknown environments, algorithm solution speed under flight performance constraints, and obstacle avoidance path planning methods under multiple threat levels, the present invention proposes a preset route replanning method for autonomous obstacle avoidance of aircraft in unknown environments. The method first models the aircraft and obstacles, defines the aircraft's motion performance, perception range, collision avoidance range, initial mission route, and final target waypoint; defines the positional relationship between the obstacle and the aircraft, and constructs an obstacle threat level classification function to classify the obstacle threat level. Then, according to the obstacle threat level within the aircraft's perception range, the obstacles are clustered using a clustering algorithm. Then, according to the result of the obstacle clustering, the waypoints in the obstacle area of the initial mission route are eliminated or / and modified to obtain a corrected route. The obstacle avoidance route is planned under the aircraft's flight performance constraints using the Dubins planning method. Finally, the corrected route and the obstacle avoidance route are used to plan the final flight route path.
[0094] In summary, for a flight area with complex obstacles (or obstacle areas) with multiple different types of movement and obstacle avoidance priorities, and the current aircraft is a special aircraft such as a fixed-wing aircraft, the present invention proposes a route replanning method that integrates the number, position, motion state and flight characteristics of the obstacles to independently and flexibly avoid multiple obstacles. In other words, the present invention proposes a method for grading obstacle area groups with different distribution characteristics (such as different positions, motion states or clustering characteristics), and selects different obstacle avoidance strategies (such as focusing on obstacle avoidance, or focusing on reaching the target point position) based on the grading results, so as to improve flight efficiency (or reduce obstacle avoidance energy consumption) on the basis of improving obstacle avoidance flexibility.
[0095] In the case of an unknown environment, when the user's preset route point is located within an obstacle or a no-fly zone, the aircraft can complete autonomous obstacle avoidance and automatically change the target route point to be tracked. While safely avoiding obstacles in the unknown environment, it can continue to move in the preset route direction.
[0096] In addition, the route replanning method can flexibly perform graded obstacle avoidance according to the characteristics of different obstacles, and the route solution process is fast, which further improves the safety of the obstacle avoidance process. Specifically, the last waypoint of the preset route is taken as the required moving target end point, and the obstacle avoidance cost is calculated according to the threat level of different obstacle types and the distance between the aircraft's own position and the end point. The farther away from the target point, the more attention is paid to obstacle avoidance, and the closer to the target point, the more attention is paid to quickly moving to the target point position, which solves the problem of unreachability caused by too dense obstacles near the target point. BRIEF DESCRIPTION OF THE DRAWINGS
[0097] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, each element or part is not necessarily drawn according to the actual scale. Obviously, the drawings described below are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without paying creative labor.
[0098] Figure 1 It is a flow chart of a preset route replanning method for autonomous obstacle avoidance of an aircraft (taking a fixed-wing aircraft as an example) in an exemplary embodiment of the present invention.
[0099] Figure 2 It is a schematic diagram of the mathematical relationship between the fixed-wing sensing range and the obstacle clustering set of the present invention.
[0100] Figure 3 The figure is a simulation effect diagram of aircraft obstacle avoidance path planning using the method described in the present invention.
[0101] Figure 4A It is a simulated data diagram of the longitude position of an aircraft using the obstacle avoidance path method of the present invention.
[0102] Figure 4B It is a simulated data diagram of the aircraft latitude position using the obstacle avoidance path method of the present invention. DETAILED DESCRIPTION
[0103] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0104] Herein, suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention, and have no specific meanings by themselves. Therefore, "module", "component" or "unit" can be used mixedly.
[0105] In this document, the terms "upper", "lower", "inner", "outer", "front", "back", "one end", "the other end" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.
[0106] In this document, unless otherwise clearly specified and limited, the terms "installed", "provided with", "connected", etc. should be understood in a broad sense. For example, "connected" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, a direct connection, or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0107] Herein "and / or" includes any and all combinations of one or more of the associated listed items.
[0108] Herein, "plurality" means two or more than two, ie, it includes two, three, four, five, etc.
[0109] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0110] Prior art CN117826840A discloses a method, system and computer equipment for avoiding obstacles in unmanned aerial vehicles, which relates to the technical field of unmanned aerial vehicle flight safety. The method comprises: setting the initial route, measurement task, first detection domain, second detection domain and third detection domain of the unmanned aerial vehicle; when an obstacle enters the third detection domain, obtaining the current position and current speed of the obstacle, and evaluating the threat level of the obstacle; according to the threat level, the unmanned aerial vehicle performs different preset actions, and then performs state recognition or target recognition, and avoids obstacles according to the recognition results. After the obstacle avoidance is completed, it returns to the initial route to continue flying and perform the measurement task.
[0111] In the above-mentioned prior art, firstly, the method can only achieve obstacle avoidance when encountering obstacles, but cannot achieve secondary planning of the entire route. The ground station control personnel cannot estimate the motion planning of the UAV through the modified route.
[0112] Moreover, this traditional obstacle avoidance route is difficult to apply to the motion characteristics of fixed-wing aircraft that have strict requirements on turning performance. Unlike the motion characteristics of traditional drones, fixed-wing drones maintain a consistent height during turning and level flight, and turning needs to meet requirements such as softness and stability. Therefore, once faced with a flight scene with multiple obstacles, on the one hand, it is difficult to ensure the flight safety of the aircraft during the obstacle avoidance process, and on the other hand, traditional obstacle avoidance algorithms are prone to consume more energy due to detours during the obstacle avoidance process, resulting in low flight efficiency.
[0113] In response to the above technical problems, the present invention provides a method for replanning a preset route for autonomous obstacle avoidance of an aircraft in an unknown environment. The method can take into account the flight characteristics of the aircraft, the distribution of multiple obstacles, and the motion characteristics in real time, and comprehensively re-plan a route for the aircraft that is both safe and efficient.
[0114] Figure 1 A route planning method in an exemplary embodiment of the present invention is shown, and its specific steps include:
[0115] S1 mathematically models an aircraft (preferably, the aircraft in this embodiment is a fixed-wing aircraft), and defines the motion performance, sensing range, collision avoidance range, initial mission route and final target waypoint of the fixed-wing aircraft in the aircraft model.
[0116] Specifically, the kinematic model of the fixed-wing aircraft in this step can be expressed as follows:
[0117] ;
[0118] ,
[0119] ,
[0120] in, and are the aircraft pitch angle and pitch rate, respectively. and are the aircraft yaw angle and yaw rate, respectively. and are the roll angle and roll rate, respectively, The origin is the center of mass of the aircraft and the positive direction is along the nose. Axis angular velocity, The positive direction is perpendicular to the symmetry plane of the aircraft and points to the right side of the fuselage. Axis angular velocity, The plane of symmetry of the aircraft is perpendicular to Axis downward is positive Axis angular velocity, is the coordinate system of the aircraft Axis velocity components, is the coordinate system of the aircraft Axis velocity components, is the coordinate system of the aircraft Axis velocity components, is the north velocity component of the aircraft in the geodetic coordinate system, is the eastward velocity component of the aircraft in the geodetic coordinate system, is the northward velocity component of the aircraft in the geodetic coordinate system;
[0121] is the transformation matrix from the body coordinate system to the earth coordinate system. is the three-axis velocity in the aircraft body coordinate system, is the three-axis displacement increment of the aircraft in the geodetic coordinate system, They are the aircraft's roll angle, pitch angle, and yaw angle. are defined as their angular increments, It is the three-axis angular velocity of the aircraft in the body coordinate system.
[0122] Based on the above kinematic model, the kinematic performance of the fixed-wing aircraft is calculated using the formula:
[0123] to define;
[0124] Where U(t) is the motion state of the fixed-wing aircraft at time t, yes The latitude of the fixed-wing aircraft at any given moment, yes The longitude of the fixed-wing aircraft's location at any given moment, yes The altitude of the fixed-wing aircraft at any given moment, yes The heading angle that the fixed-wing aircraft's nose is pointing at at all times, and Fixed-wing aircraft The north and east velocity components in the geodetic coordinate system at any given moment; in addition, the flight speed of the fixed-wing aircraft Constraints must be met. , , is the minimum take-off speed of a fixed-wing aircraft. , is the maximum controllable flight speed of a fixed-wing aircraft. and The specific value of is related to the aerodynamic performance of the fixed-wing aircraft. The maximum rolling angle at the moment is ;The minimum turning radius of a fixed-wing aircraft is , is the local acceleration due to gravity.
[0125] The sensing range of a fixed-wing aircraft is based on the center of mass of the fixed-wing aircraft. The horizontal detection angle is 0° to 360°, the vertical detection angle is 45° to -90° (vertical horizontal plane is positive upward), and the radius is The lower hemispherical area of
[0126] The anti-collision range of fixed-wing aircraft is based on the center point of the obstacle position. As the center of the circle, A circle with radius Need to satisfy constraints ,in , and They are The latitude, longitude and altitude of the obstacle at the moment, T is the matrix transpose symbol, R min (t) is the minimum turning radius of the fixed-wing aircraft at time t;
[0127] The initial mission route of a fixed-wing aircraft uses the formula:
[0128] , , , to define; is the initial mission route, P i -P n is the in-th waypoint in the initial mission route; ,in, It is The latitude of the waypoint, It is The longitude of the waypoint, It is The altitude of the waypoints, T is the matrix transpose sign.
[0129] S2 mathematically models obstacles, defines the positional relationship between obstacles and fixed-wing aircraft, and constructs an obstacle threat level classification function to classify obstacles into threat levels.
[0130] Specifically, the obstacle is There are m objects in the fixed-wing aircraft's sensing range at all times, where m is the number of obstacles; using the formula:
[0131] ; Define the obstacle set; where B(t) is the obstacle set within the sensing range of the fixed-wing aircraft at time t, is the perception area radius, yes Fixed-wing aircraft and The horizontal Euclidean distance of obstacles, It is The motion state of an obstacle;
[0132] Using the formula:
[0133] ;
[0134] ;
[0135] ;
[0136] Calculate the positional relationship between the fixed-wing aircraft and the obstacle; where: yes Fixed-wing aircraft and The horizontal Euclidean distance of obstacles, is the radius of the Earth, and c are intermediate variables, , They are Moment The latitude and longitude of the obstacle’s location; , They are The latitude and longitude of the fixed-wing aircraft's location at any given moment;
[0137] Using the formula:
[0138] ;
[0139] represents the motion state of the obstacle; It is The motion state of an obstacle at time t is: , is a positive integer or 0; and They are Moment The latitude, longitude and altitude of the obstacle location, , and They are Moment The heading angle of the obstacle, the north and east velocity components in the geodetic coordinate system; and Condition No. obstacles, The heading angle at the moment is , yes The heading angle that the fixed-wing aircraft's nose is pointing at at all times.
[0140] right obstacles of different moving types, and satisfy the conditions , then Set the avoidance priority of obstacles to .in, To avoid priority, is the total number of obstacles within the aircraft's sensing range;
[0141] set up For the remaining hiding time,
[0142] ;
[0143] in, is a very small floating point number greater than zero (or the minimum floating point value). yes Fixed-wing aircraft and The horizontal distance (or horizontal Euclidean distance) of obstacles, and satisfy the constraint , and They are Moment The north and east velocity components of an obstacle in the geodetic coordinate system; is the perception area radius;
[0144] set up for The difference between the heading angle of the fixed-wing aircraft and the heading angle of the obstacle at any moment,
[0145] , ;
[0146] in, for The heading angle that the fixed-wing aircraft's nose is pointing at at all times, for Obstacle heading angle at any moment;
[0147] exist At this moment, the fixed-wing aircraft is within the sensing range of The threat level of obstacles is , .in, The threat level.
[0148] For example, in some embodiments, the movement type includes one or more of the following: stationary types such as trees, buildings, no-fly zones, etc., or moving types such as birds, other aircraft, etc. Alternatively, in other embodiments, the movement types of different obstacles are classified according to their movement speed or movement direction (such as high speed, medium speed, low speed, etc.).
[0149] S3 uses a clustering algorithm to cluster obstacles according to the threat level of obstacles within the perception range of the fixed-wing aircraft.
[0150] like Figure 2 Specifically, a classification threshold constant is set , so that the set value satisfies ;
[0151] exist At this moment, for the obstacle set within the fixed-wing aircraft's sensing range , if the set There is any obstacle in With another obstacle , and its clustering distance is , and Respectively Time obstacles and Threat level;
[0152] Obstacle collection The obstacles in the cluster are clustered. The obstacle clustering set with the initial clustering center is , , that is, the obstacle cluster set Contains at least one obstacle , if any one belongs to the set of perceived obstacles Obstacles With any one belonging to the obstacle cluster set Obstacles The clustering distance Satisfy the conditions , then the obstacle Added to the obstacle clustering set ;
[0153] Obstacle clustering set The cluster center of is defined as:
[0154] ;
[0155] Further, ;
[0156] in is a computational set The operator symbol contains the number of points. , and They are Moment In the collection The latitude, longitude and altitude of the obstacle location within the represents any, Σ is the summation symbol; , and Obstacle clustering sets The cluster center of latitude, longitude and altitude;
[0157] Obstacle clustering set The threat level is defined as ,in yes Time Collection The first The threat level of each obstacle;
[0158] exist At this moment, the fixed-wing aircraft has a clustering set of obstacles The collision avoidance range is defined as ,in For the collision avoidance range, is the cluster center, is the collision avoidance radius of fixed-wing aircraft;
[0159] exist At this moment, the set of collision avoidance ranges of all clusters within the fixed-wing aircraft’s sensing range is defined as ; is the set of anti-collision ranges;
[0160] exist At this moment, the obstacle clustering set that poses the greatest threat to the fixed-wing aircraft , then the maximum threat collision avoidance range is And satisfy the constraints ,in, It is represented by the latitude, longitude and altitude of the obstacle cluster center point with the highest threat level at time t. is the set of obstacle clusters The threat level, It is a maximum value function, which is used to find the maximum value from the anti-collision range set Filter and return the anti-collision range with the highest threat level .
[0161] S4 removes or / and modifies the waypoints in the obstacle area in the initial mission route according to the result of the obstacle clustering to obtain a corrected route.
[0162] Since the anti-collision range set is clustered within the aircraft perception range Over time The amount of change, therefore the route Some waypoints may fall into the anti-collision area, causing the aircraft to be unable to bypass the obstacle area normally. To solve the above problem, the route needs to be adjusted. The waypoints are corrected or deleted in real time. According to step S1, the initial route Is Waypoints The collection composed of and Is a positive integer or 0, the modified route uses the formula:
[0163] ;
[0164] To express; among them, is the corrected course at time t, is the total number of waypoints for the corrected route, , , is a positive integer or 0; is the corrected waypoint numbered i~z in the corrected route at time t;
[0165] For correcting waypoints:
[0166] when , hour, ;
[0167] when , hour, ;
[0168] when , hour, ;
[0169] otherwise, ;
[0170] in, Indicates the waypoints involved in the calculation at this time Correcting the course Delete from;
[0171] Extrapolation Point It is expressed as:
[0172] ;
[0173] Scale Factor It is expressed as: ;
[0174] in, yes Fixed-wing aircraft position to obstacle cluster center at any moment The horizontal Euclidean distance between yes Schedule Waypoints To the obstacle cluster center The horizontal Euclidean distance between The initial route No. Waypoints, , and They are Waypoints The latitude, longitude and altitude of , Obstacle clustering sets The cluster center of latitude and longitude; is the fixed-wing aircraft collision avoidance radius, R min (t) is the minimum turning radius of the fixed-wing aircraft at time t.
[0175] Correction of course The route line segment in the diagram can be divided into the arrived route segment according to whether the aircraft has been near the waypoint before. and never reached routes Part, i.e. correcting the course .
[0176] S5 uses the Dubins planning method to plan obstacle avoidance routes under the flight performance constraints of fixed-wing aircraft.
[0177] Furthermore, the present invention requires the input of four parameters when using the Dubins planning method: the motion state of the fixed-wing aircraft at time t , the minimum turning radius R of the fixed-wing aircraft at time t min (t) The anti-collision range set of all clusters within the fixed-wing aircraft’s sensing range at any given moment , re-entry point after obstacle avoidance is completed Among them, the reentry state point is the maximum threat avoidance range of the obstacle avoidance object Binding is the flight cut-out state point after the aircraft completes obstacle avoidance.
[0178] For the above reentry state point , and is a positive integer or 0, where waypoint Correction route The waypoints are Always keep the fixed-wing aircraft out of the maximum threat obstacle avoidance range The subsequent cut-out waypoint, i.e. ,in yes Corrected route that the fixed-wing aircraft has not reached at the moment Center for the greatest threat Nearest waypoint The Euclidean distance between It is used to traverse and filter out the center of the greatest threat in the corrected route Minimum function of the distance to the nearest waypoint; yes Always keep the fixed-wing aircraft out of the maximum threat obstacle avoidance range The cut-out angle is calculated as follows:
[0179] ;
[0180] in, Correction of course The total number of waypoints, , yes The heading angle that the fixed-wing aircraft's nose is pointing at at all times, is the radius of the Earth, yes Timely course correction After the obstacle avoidance is completed in the largest threat area, the waypoint is cut out The latitude, yes The center point of the maximum threatening obstacle cluster at any moment The latitude, yes Timely course correction After the obstacle avoidance is completed in the area with the largest threat, the waypoint is cut out The center point of the cluster with the largest threatening obstacle The horizontal Euclidean distance between .
[0181] The calculation results of the Dobbins planning method will be interpolated to output a maximum threat avoidance range Obstacle avoidance route , the output obstacle avoidance route , , , is a positive integer or 0, It is an obstacle avoidance route The total number of waypoints, It is an obstacle avoidance route Waypoints, .
[0182] The S6 uses course corrections and obstacle avoidance to plan the final flight path.
[0183] Specifically, using the formula:
[0184] when ,and hour, ;
[0185] when ,and hour, ;
[0186] otherwise, ;
[0187] Plan the final flight route; is the final flight path, and They are the correction route and obstacle avoidance route of the fixed-wing aircraft. , is the route switching distance factor, and To set parameters (which can be set by the user), yes The fixed-wing aircraft position at the moment to the center of the maximum threatening obstacle cluster The horizontal Euclidean distance between yes The fixed-wing aircraft position point reaches the maximum threatening obstacle area and cuts out the waypoint after obstacle avoidance is completed The horizontal Euclidean distance between is the fixed-wing aircraft collision avoidance radius, R min(t) is the minimum turning radius of the fixed-wing aircraft at time t; is the route switching factor, which is calculated as follows:
[0188] ,and hour, ;otherwise, ;
[0189] exist time .
[0190] The present invention is illustrated below by an example.
[0191] Figure 3 The figure is a simulation effect diagram of aircraft obstacle avoidance path planning using the method described in the present invention. Figure 3 The black line with waypoints is the initial route. , each black dot represents a waypoint of the route, and the route contains 5 waypoints in total; the arc-shaped line segment is the obstacle avoidance route , which is also the actual flight path of the aircraft; the "plane" icon indicates the aircraft flying along the route; the "target" icon indicates the initial route The last waypoint of the flight mission is also the final destination of the aircraft mission; the rectangular icons with the words "obs_1" and "obs_2" represent ground obstacles 1 and ground obstacles 2; the circle icon between the two obstacles is the center point O of the maximum threat obstacle clustering that clusters ground obstacles 1 and ground obstacles 2 into one category. As can be seen from the figure, the aircraft can safely avoid obstacles and fly to the target point by following the newly planned route.
[0192] Figure 4A and Figure 4B It is a simulated data diagram of the longitude and latitude position of an aircraft using the obstacle avoidance path method of the present invention. Figure 4A and Figure 4B They are Figure 3 Simulation data diagram of the longitude and latitude of the aircraft's flight position in the simulation scenario. Figure 3 In the simulation experiment shown, the latitude, longitude and altitude coordinates of ground obstacle 1 and ground obstacle 2 are set to and , aircraft collision avoidance radius kilometers, then the center point of the maximum threatening obstacle cluster can be calculated according to the obstacle clustering algorithm According to the above-mentioned maximum threat obstacle cluster center point location data, and further combined Figure 4A , Figure 4B Real-time data of aircraft latitude shown and longitude real-time data , the distance from the aircraft position to the center of the maximum threatening obstacle cluster can be calculated The distance between Data that changes over time shows that the distance meets the condition , , indicating that the aircraft can safely avoid obstacles by following the route planned by this method.
[0193] Figure 4A , Figure 4B The ordinates (i.e., latitudes) when the time is equal to 0 are 89.8181 and 67.836 respectively (it can be understood that the above data are only used to describe an exemplary simulation scenario of aircraft flight).
[0194] The present invention also provides a preset route replanning system for autonomous obstacle avoidance of a fixed-wing aircraft in an unknown environment, comprising:
[0195] Fixed-wing aircraft modeling module, used to model fixed-wing aircraft and define the fixed-wing aircraft's motion performance, perception range, collision avoidance range, initial mission route, and final target waypoint;
[0196] The obstacle modeling module is used to model obstacles, define the positional relationship between obstacles and fixed-wing aircraft, and construct an obstacle threat level classification function to classify the threat level of obstacles;
[0197] A clustering module is used to cluster obstacles using a clustering algorithm according to the threat level of obstacles within the sensing range of the fixed-wing aircraft;
[0198] A revised route acquisition module is used to remove or / and modify the waypoints in the obstacle area in the initial mission route according to the result of obstacle clustering to obtain a revised route;
[0199] The obstacle avoidance route acquisition module is used to plan the obstacle avoidance route under the flight performance constraints of the fixed-wing aircraft using the Dubins planning method;
[0200] The final flight route path acquisition module is used to plan the final flight route path using the correction route and obstacle avoidance route.
[0201] In addition, the present invention also provides a computer system, including a processor and a memory, wherein the memory stores a computer program; when the computer program is executed by the processor, the preset route replanning method for autonomous obstacle avoidance of a fixed-wing aircraft in an unknown environment can be implemented.
[0202] In an unknown environment, the path planned by the present invention can take into account the needs of the fixed-wing aircraft to avoid obstacles and track multiple preset lines to form a route. The fixed-wing aircraft can be controlled to automatically avoid obstacles while moving along the directions of multiple preset routes. The present invention takes into account the turning performance limitations of the fixed-wing aircraft, and a flight path that meets the motion constraints can be quickly obtained after a one-time solution. In addition, the present invention divides obstacles into multiple threat levels, adaptively calculates the obstacle avoidance cost, and can break through the threat area composed of dense obstacles to reach the preset final waypoint.
[0203] It should be noted that the preset route replanning method for autonomous obstacle avoidance in the present invention can also be applied to other aircraft with higher degrees of freedom of movement than fixed-wing aircraft, such as helicopters and multi-rotors.
[0204] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0205] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a computer terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0206] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
Claims
1. A method for replanning a preset route for autonomous obstacle avoidance of an aircraft, characterized in that: include: Model the aircraft, define the aircraft's motion performance, perception range, collision avoidance range, initial mission route, and final target waypoint; wherein the motion performance is the aircraft's motion state at time t, and the motion state includes: the aircraft's flight position, flight speed, flight direction, and maximum roll angle; the perception range is the aircraft's detection range for obstacles; The obstacles are modeled, the positional relationship between the obstacles and the aircraft is defined, and an obstacle threat level classification function is constructed to classify the threat levels of multiple obstacles; according to the threat levels of obstacles within the perception range of the aircraft, obstacles of different threat levels are clustered using a clustering algorithm; the method for defining the positional relationship between obstacles and the aircraft includes: The obstacle is The aircraft senses multiple objects within its range at all times; the obstacle set is defined using the following formula: ; Among them, B(t) is the set of obstacles within the sensing range of the aircraft at time t, is the perception area radius, is the distance between the aircraft and the The horizontal Euclidean distance of obstacles, It is The motion state of an obstacle; Using the formula: ; ; ; Calculate the position relationship between the aircraft and the obstacle; where: is the radius of the Earth, and c are intermediate variables, , They are Moment The latitude and longitude of the obstacle’s location; , They are The latitude and longitude of the aircraft's location at the moment; Using the formula: ; represents the motion state of the obstacle; It is Obstacles in The state of motion at all times, , m is the total number of obstacles within the aircraft's sensing range, is a positive integer or 0; yes Moment The altitude of the obstacle location, , and They are Moment The obstacle has a heading angle of 0 degrees in the north direction and the north and east velocity components in the geodetic coordinate system; and Condition No. obstacles, The heading angle at the moment is , yes The heading angle that the aircraft's nose is pointing at at any moment; Among them, the method of constructing the obstacle threat level classification function includes: right obstacles of different moving types, and satisfy the conditions , then Set the avoidance priority of obstacles to ;in, To avoid priority, is the total number of obstacles within the aircraft's sensing range; set up For the remaining hiding time, ; in, is the smallest floating point value greater than zero, yes Time Flying Vehicle and The horizontal Euclidean distance of obstacles, and satisfy the constraint , and They are Moment The north and east velocity components of an obstacle in the geodetic coordinate system; is the perception area radius; set up for The difference between the aircraft heading angle and the obstacle heading angle at the moment, , ; in, for The heading angle that the aircraft's nose is pointing at at the moment, for Obstacle heading angle at any moment; exist At this moment, the first The threat level of obstacles is ,satisfy ; Among them, the method of clustering obstacles using clustering algorithm includes: Set a classification threshold constant , so that the setting value of the threshold constant satisfies ; exist At this moment, for the set of obstacles within the aircraft's sensing range , where the set There is at least one obstacle in With another obstacle , and its clustering distance is , and Respectively The kth and jth obstacles at time and Threat level; Obstacle collection The obstacles in the The obstacle clustering set with the initial clustering center is , , that is, the obstacle cluster set Contains at least one obstacle , if any one belongs to the set of perceived obstacles Obstacles With any one belonging to the obstacle cluster set Obstacles The clustering distance Satisfy the conditions , then the obstacle Added to the obstacle clustering set ; Obstacle clustering set The cluster center of is defined as: ; ; in is a computational set The operator symbol contains the number of points. , and They are Moment In the collection The latitude, longitude and altitude of the obstacle location within the represents any, Σ is the summation symbol; , and Obstacle clustering sets The cluster center of latitude, longitude and altitude; Obstacle clustering set The threat level is defined as ; exist At this moment, the aircraft has a set of obstacle clusters The collision avoidance range is defined as ,in For the collision avoidance range, is the cluster center, is the collision avoidance radius of the aircraft; exist At this moment, the set of collision avoidance ranges of all clusters within the aircraft’s sensing range is defined as ; is the set of anti-collision ranges; exist At this moment, the obstacle clustering set that poses the greatest threat to the aircraft , then the maximum threat collision avoidance range is And satisfy the constraints ,in, It is represented by the latitude, longitude and altitude of the obstacle cluster center point with the highest threat level at time t. is the set of obstacle clusters The threat level It is a maximum value function, which is used to find the maximum value from the anti-collision range set Filter and return the anti-collision range with the highest threat level ; According to the result of obstacle clustering, the waypoints in the obstacle area of the initial mission route are eliminated or / and modified to obtain a corrected route; wherein the corrected route uses the formula: ; To express; among them, is the corrected course at time t, is the total number of waypoints for the corrected route, , , is a positive integer or 0; is the corrected waypoint numbered i~z in the corrected route at time t; For correcting waypoints: when , hour, ; when , hour, ; when , hour, ; otherwise, ; in, Indicates the waypoints that will be included in the calculation at this time Correcting the course Delete from; Extrapolation Point It is expressed as: ; Scale Factor It is expressed as: ; yes The distance from the aircraft position to the obstacle cluster center at the moment The horizontal Euclidean distance between yes Schedule Waypoints To the obstacle cluster center The horizontal Euclidean distance between The initial route No. Waypoints, , and They are Waypoints The latitude, longitude and altitude of and They are obstacle cluster sets The cluster center of latitude and longitude; is the collision avoidance radius of the aircraft, yes The minimum turning radius of the aircraft at any moment; Using the Dubins planning method to plan obstacle avoidance routes under the constraints of the aircraft's flight performance; Plan the final flight path using course corrections and obstacle avoidance.
2. The method for replanning a preset route for autonomous obstacle avoidance of an aircraft according to claim 1, characterized in that: The kinematic performance of the aircraft is defined using the following formula: ; Where U(t) is the motion state of the aircraft at time t, yes The latitude of the aircraft at the moment, yes The longitude of the aircraft's location at the moment, yes The altitude of the aircraft at the moment, yes The heading angle that the aircraft's nose is pointing at at the moment, and Aircraft The north and east velocity components in the geodetic coordinate system at the moment; The sensing range of the aircraft is based on the center of mass of the aircraft. Centered at 0° to 360° horizontal detection angle, 45° to -90° vertical detection angle, and radius The lower hemispherical area of The collision avoidance range of the aircraft is based on the center point of the obstacle position. As the center of the circle, A circle with radius Need to satisfy constraints ,in , and They are The latitude, longitude and altitude of the obstacle at the moment, T is the matrix transpose symbol, is the minimum turning radius of the aircraft at time t; The initial mission path of the aircraft is defined using the following formula: , , , ; in is the initial mission route, P i -P n is the in-th waypoint in the initial mission route; ,in, It is The latitude of the waypoint, It is The longitude of the waypoint, It is where n is the total number of waypoints on the initial mission route.
3. The method for replanning a preset route for autonomous obstacle avoidance of an aircraft according to claim 1, characterized in that: Methods for planning obstacle avoidance routes under the constraints of aircraft flight performance using the Dubins planning method include: Input parameters, including the motion state of the aircraft at time t , Minimum turning radius of the aircraft at this moment , The anti-collision range set of all clusters within the aircraft's sensing range at the moment , re-entry point after obstacle avoidance is completed ; Output obstacle avoidance route , , , is a positive integer or 0, It is an obstacle avoidance route The total number of waypoints, It is an obstacle avoidance route Waypoints, ; For the above reentry state point , and is a positive integer or 0, where waypoint Correction route The waypoints are The aircraft flies out of the maximum threat obstacle avoidance range The subsequent cut-out waypoint, i.e. ,in yes Corrected flight path of aircraft at any time The part that has never been reached The center of greatest threat Nearest waypoint The Euclidean distance between It is used to traverse and filter out the center of the greatest threat in the corrected route The minimum value function of the closest corresponding waypoint; yes The aircraft flies out of the maximum threat obstacle avoidance range The cut-out angle is calculated as follows: ; in, Correction of course The total number of waypoints, , yes The heading angle that the aircraft's nose is pointing at at the moment, is the radius of the Earth, yes Correction of course at all times After the obstacle avoidance is completed in the largest threat area, the waypoint is cut out The latitude, yes The center point of the maximum threatening obstacle cluster at any moment The latitude, yes Correction of course at all times After the obstacle avoidance is completed in the area with the largest threat obstacle, the waypoint is cut out The center point of the cluster with the largest threatening obstacle The horizontal Euclidean distance between .
4. The method for replanning a preset route for autonomous obstacle avoidance of an aircraft according to claim 1, characterized in that: Using the formula: when ,and hour, ; when ,and hour, ; otherwise, ; Plan the final flight route; is the final flight path, and are the corrected route and obstacle avoidance route of the aircraft, respectively, λ is the route switching distance factor, ; yes The distance from the aircraft position to the center of the largest threatening obstacle cluster at the moment The horizontal Euclidean distance between yes At the moment the aircraft reaches the maximum threatening obstacle area, after obstacle avoidance is completed, the waypoint is cut off The horizontal Euclidean distance between is the collision avoidance radius of the aircraft, yes The minimum turning radius of the aircraft at any moment; is the route switching factor, which is calculated as follows: ,and hour, ;otherwise, ; exist time .
5. A preset route replanning system for autonomous obstacle avoidance of an aircraft, characterized in that: include: The aircraft modeling module is used to model the aircraft and define the aircraft's motion performance, perception range, collision avoidance range, initial mission route and final target waypoint; wherein the motion performance is the motion state of the aircraft at time t, and the motion state includes: the aircraft's flight position, flight speed, flight direction and maximum roll angle; the perception range is the aircraft's detection range for obstacles; The obstacle modeling module is used to model obstacles, define the positional relationship between obstacles and aircraft, and construct an obstacle threat level classification function to classify the threat levels of multiple obstacles; the method of defining the positional relationship between obstacles and aircraft includes: The obstacle is The aircraft senses multiple objects within its range at all times; the obstacle set is defined using the following formula: ; Among them, B(t) is the set of obstacles within the sensing range of the aircraft at time t, is the perception area radius, is the distance between the aircraft and the The horizontal Euclidean distance of obstacles, It is The motion state of an obstacle; Using the formula: ; ; ; Calculate the position relationship between the aircraft and the obstacle; where: is the radius of the Earth, and c are intermediate variables, , They are Moment The latitude and longitude of the obstacle’s location; , They are The latitude and longitude of the aircraft's location at the moment; Using the formula: ; represents the motion state of the obstacle; It is Obstacles in The state of motion at all times, , m is the total number of obstacles within the aircraft's sensing range, is a positive integer or 0; yes Moment The altitude of the obstacle location, , and They are Moment The obstacle has a heading angle of 0 degrees in the north direction and the north and east velocity components in the geodetic coordinate system; and Condition No. obstacles, The heading angle at the moment is , yes The heading angle that the aircraft's nose is pointing at at any moment; Among them, the method of constructing the obstacle threat level classification function includes: right obstacles of different moving types, and satisfy the conditions , then Set the avoidance priority of obstacles to ;in, To avoid priority, is the total number of obstacles within the aircraft's sensing range; set up For the remaining hiding time, ; in, is the smallest floating point value greater than zero, yes Time Flying Vehicle and The horizontal Euclidean distance of obstacles, and satisfy the constraint , and They are Moment The north and east velocity components of an obstacle in the geodetic coordinate system; is the perception area radius; set up for The difference between the aircraft heading angle and the obstacle heading angle at the moment, , ; in, for The heading angle that the aircraft's nose is pointing at at the moment, for Obstacle heading angle at any moment; exist At this moment, the first The threat level of obstacles is ,satisfy ; Among them, the method of clustering obstacles using clustering algorithm includes: Set a classification threshold constant , so that the setting value of the threshold constant satisfies ; exist At this moment, for the set of obstacles within the aircraft's sensing range , where the set There is at least one obstacle in With another obstacle , and its clustering distance is , and Respectively The kth and jth obstacles at time and Threat level; Obstacle collection The obstacles in the The obstacle clustering set with the initial clustering center is , , that is, the obstacle cluster set Contains at least one obstacle , if any one belongs to the set of perceived obstacles Obstacles With any one belonging to the obstacle cluster set Obstacles The clustering distance Satisfy the conditions , then the obstacle Added to the obstacle clustering set ; Obstacle clustering set The cluster center of is defined as: ; ; in is a computational set The operator symbol contains the number of points. , and They are Moment In the collection The latitude, longitude and altitude of the obstacle location within the represents any, Σ is the summation symbol; , and Obstacle clustering sets The cluster center of latitude, longitude and altitude; Obstacle clustering set The threat level is defined as ; exist At this moment, the aircraft has a set of obstacle clusters The collision avoidance range is defined as ,in For the collision avoidance range, is the cluster center, is the collision avoidance radius of the aircraft; exist At this moment, the set of collision avoidance ranges of all clusters within the aircraft’s sensing range is defined as ; is the set of anti-collision ranges; exist At this moment, the obstacle clustering set that poses the greatest threat to the aircraft , then the maximum threat collision avoidance range is And satisfy the constraints ,in, It is represented by the latitude, longitude and altitude of the obstacle cluster center point with the highest threat level at time t. is the set of obstacle clusters The threat level It is a maximum value function, which is used to find the maximum value from the anti-collision range set Filter and return the anti-collision range with the highest threat level ; The clustering module is used to cluster obstacles of different threat levels using a clustering algorithm according to the threat level of obstacles within the aircraft's perception range; The revised route acquisition module is used to remove or / and modify the waypoints in the obstacle area in the initial mission route according to the result of obstacle clustering to obtain a revised route; wherein the revised route uses the formula: ; To express; among them, is the corrected course at time t, is the total number of waypoints for the corrected route, , , is a positive integer or 0; is the corrected waypoint numbered i~z in the corrected route at time t; For correcting waypoints: when , hour, ; when , hour, ; when , hour, ; otherwise, ; in, Indicates the waypoints that will be included in the calculation at this time Correcting the course Delete from; Extrapolation Point It is expressed as: ; Scale Factor It is expressed as: ; yes The distance from the aircraft position to the obstacle cluster center at the moment The horizontal Euclidean distance between yes Schedule Waypoints To the obstacle cluster center The horizontal Euclidean distance between The initial route No. Waypoints, , and They are Waypoints The latitude, longitude and altitude of and They are obstacle cluster sets The cluster center of latitude and longitude; is the collision avoidance radius of the aircraft, yes The minimum turning radius of the aircraft at any moment; The obstacle avoidance route acquisition module is used to plan the obstacle avoidance route under the constraints of the aircraft's flight performance using the Dubins planning method; The final flight route path acquisition module is used to plan the final flight route path using the correction route and obstacle avoidance route.
6. The preset route replanning system for autonomous obstacle avoidance of an aircraft according to claim 5, characterized in that: The aircraft is a fixed-wing aircraft.
