Control method and equipment for semi-autonomous canopy-imitating flight of plant protection unmanned aerial vehicle and medium
By installing a millimeter-wave radar ranging module on the plant protection drone, the flight height is adjusted in real time to match the height of the plant canopy, which solves the problem of uneven pesticide spraying by plant protection drones in hilly orchards and achieves uniform coverage and operation of pesticides. Improvement of efficiency.
Patent Information
- Application Number
- CN202411096747.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-12
- Publication Date
- 2024-10-15
AI Technical Summary
Existing plant protection drones are difficult to adapt to changes in plant heights in hilly orchards, resulting in uneven spraying of pesticides. Some areas may be oversprayed, while others may be undersprayed. Unstable flight heights may cause damage to crops. damage.
Using a semi-autonomous canopy flight control method and installing a millimeter-wave radar ranging module, the flight height of the plant protection drone is adjusted in real time to maintain a constant distance from the plant canopy and operate under complex terrain and changing vegetation conditions. Achieve uniform coverage of pesticides.
It achieves precise spraying of pesticides, reduces pesticide waste and environmental pollution, avoids damage to plants due to unstable flight height, and improves operating efficiency and safety.
Smart Images

Figure CN118778685A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of plant protection UAVs, and in particular relates to a control method, equipment and medium for semi-autonomous canopy-simulating flight of a plant protection UAV. Background Art
[0002] With the development of modern agriculture, plant protection drones are playing an increasingly important role in the prevention and control of crop diseases and pests. Traditional agricultural plant protection methods mainly rely on manual operation or ground machinery to spray pesticides, which is not only time-consuming and labor-intensive, but also difficult to ensure uniform coverage of pesticides, which easily leads to pesticide waste and environmental pollution. Especially in large areas of farmland and complex terrain conditions, the efficiency and effectiveness of traditional plant protection methods are particularly insufficient.
[0003] The introduction of plant protection drones can greatly improve this situation. Plant protection drones can quickly and efficiently cover large areas of farmland, thereby significantly improving work efficiency. However, existing plant protection drones mostly use a fixed altitude flight mode, which is difficult to adapt to the changes in plant heights in different mountainous areas in hilly orchards, resulting in uneven pesticide spraying, with some areas being oversprayed and others undersprayed. In addition, unstable flight altitudes may also cause damage to crops. Summary of the invention
[0004] In order to overcome the shortcomings of the prior art, the present invention provides a control method for semi-autonomous canopy-simulating flight of a plant protection UAV. The control method can adjust the flight altitude of the plant protection UAV in real time according to the canopy height of the plant, so as to maintain a constant distance from the plant canopy, thereby achieving precise spraying; in addition, the control method can also enable the plant protection UAV to operate efficiently under complex terrain and changeable vegetation conditions, ensure uniform coverage of pesticides, reduce pesticide waste and environmental pollution, and avoid damage to plants caused by unstable flight altitude.
[0005] The technical solution of the present invention to solve the above technical problems is:
[0006] A control method for semi-autonomous canopy-like flight of a plant protection UAV comprises the following steps:
[0007] Step S1: Install the millimeter wave radar ranging module on the plant protection drone;
[0008] Step S2: starting the plant protection UAV, and after the plant protection UAV is started, self-checking the functional modules of the plant protection UAV. After the self-checking is completed, the onboard computer establishes communication with the flight controller and sets the optimal operating altitude value;
[0009] Step S3: the plant protection UAV starts to fly according to the planned path. During the flight, the millimeter wave radar ranging module collects the distance information and angle information between the plant protection UAV and the ground obstacle, and transmits it to the onboard computer. The onboard computer calculates the vertical distance between the plant protection UAV and the ground obstacle through the distance information and angle information. When the millimeter wave radar ranging module detects that the amplitude of the vertical distance change between the plant protection UAV and the ground obstacle is greater than a preset threshold, it is determined that the plant protection UAV has reached the canopy of the plant to be operated.
[0010] Step S4: The onboard computer performs data analysis on the measured vertical distance information and angle information, calculates the height value between the plant protection drone and the canopy of the plant to be operated, and compares it with the preset optimal operating height value to obtain height difference information;
[0011] Step S5: The obtained altitude difference information is transmitted to the onboard computer, and the onboard computer obtains the expected flight state value through calculation;
[0012] Step S6: The flight control system of the plant protection UAV adjusts the flight status of the plant protection UAV and the sowing operation according to the expected flight state value calculated by the onboard computer;
[0013] Step S7: repeating steps S3 to S6, so as to achieve the sowing operation on all the plants to be operated in the operation area;
[0014] Step S8: After the flight mission is completed, the plant protection UAV returns and lands at a designated location.
[0015] Preferably, in step S2, the functional modules include a power module and various sensor modules of the plant protection UAV.
[0016] Preferably, in step S3, the vertical distance information between the plant protection UAV and the ground obstacle is calculated by triangulation using known distance information and angle information.
[0017] Preferably, in step S5, the expected flight state value includes an expected flight speed and an expected flight altitude.
[0018] Preferably, in step S5, the onboard computer obtains the expected flight state value of the plant protection UAV by:
[0019] Step S501: avoiding collision points; by using the Euclidean distance conversion algorithm, using the Euclidean distance as the distance metric, calculating the minimum distance between the obstacle-free area and the nearby obstacle pixels;
[0020] Step S502: Search for executable paths; in the ESDF map, calculate the collision probability based on the minimum distance to the obstacle, and select the point with the smaller collision probability and the easier it is to select as the path execution point. Use the improved A* algorithm to search for paths. According to the flight characteristics of the rotorcraft UAV, the 4 neighborhoods of the sub-node search of the traditional A* algorithm are changed to 6 neighborhoods, which are directly in front of the UAV, directly behind, directly to the left, directly to the right, directly above, and directly below. And optimize the heuristic function, use the Chebyshev distance instead of the Manhattan distance, add a weight coefficient, and add dynamic weights according to the actual map scene to search for the best UAV flight path to avoid obstacles. On this basis, increase the height of the UAV according to the measured vertical distance information and the simulated canopy height to obtain the executable path of the UAV;
[0021] Step S503: Optimizing the executable path trajectory. After obtaining the executable flight path of the UAV, the B-spline curve is optimized, and the obtained path trajectory is analyzed by differential flatness to obtain a smooth and executable trajectory that meets the motion characteristics of the rotary-wing UAV.
[0022] Preferably, the specific steps of step S6 are:
[0023] The received position, expected flight altitude, expected flight speed, and flight attitude angle of the plant protection UAV are used as expected state variables, and the expected state variables and the thrust of the rotor motor or the input of the servo of the plant protection UAV are used as control inputs. The state deviation and the square sum of the control input are used as performance indicators and substituted into the Richcat i equation;
[0024] Step S602: Solve the algebraic Riccati equation:
[0025] A T P+PA+Q-PBR -1 B T P = 0;
[0026] Where: A is the state transfer matrix, B is the control input matrix, Q is the control effect matrix, and R is the state effect matrix;
[0027] Step S603: Analyze the stability of the P and Q matrices obtained by the solution using Lyapunov stability theory; if they satisfy asymptotic stability, control the flight attitude of the plant protection UAV according to the obtained results;
[0028] Step S604: Design the spreading time and location according to actual scene requirements.
[0029] Preferably, in step S603, the P and Q matrices are real symmetric matrices. After satisfying the Richcat i equation, it is determined whether the P and Q matrices are positive definite matrices. If they are positive definite matrices, they satisfy asymptotic stability.
[0030] An electronic device comprises a central processing unit and a memory, wherein the central processing unit is used to call and run a computer program stored in the memory to execute the steps of the control method for semi-autonomous canopy-simulating flight of a plant protection UAV.
[0031] A computer-readable storage medium stores a computer program according to the control method for semi-autonomous canopy-simulating flight of a plant protection UAV in the form of computer-readable instructions. When the computer program is called and executed by a computer, the steps included in the corresponding method are executed.
[0032] Compared with the prior art, the present invention has the following advantages and beneficial effects:
[0033] 1. The control method for semi-autonomous canopy-like flight of a plant protection UAV of the present invention uses millimeter-wave radar to observe vertical distance information, with a small error range and high measurement accuracy. Compared with traditional distance measurement methods, millimeter-wave radar has significant advantages in detection accuracy and response speed, and can provide more accurate and timely altitude data for plant protection UAVs to ensure the accuracy and reliability of operations. In addition, in outdoor operations in the field, sensors such as lidar are often greatly affected by weather conditions. For example, rainy and foggy weather may cause inaccurate measurements or even failure. Since millimeter-wave radar works in the millimeter wave band, it is less affected by the environment and can maintain a stable working state regardless of whether it is sunny, cloudy or drizzling. This environmental adaptability makes millimeter-wave radar particularly suitable for long-term reliable operation in complex field environments.
[0034] 2. Since the plants to be operated, such as fruit trees, easily block people's sight, increase the difficulty of control and increase errors, the control method of the semi-autonomous canopy-like flight of the plant protection UAV of the present invention can reduce the probability of crashing and reduce the error rate by using the canopy-like flight method.
[0035] 3. The millimeter wave radar technology adopted in the present invention not only has high performance, but can also be implemented at a low cost, which enables the overall cost of the plant protection UAV to be controlled, improves the economy and feasibility of promotion and application, and users can enjoy the improvement of operating efficiency and quality assurance brought by high-precision ranging without significantly increasing investment.
[0036] 4. Due to the complex and changeable surface environment of hilly orchards, high requirements are placed on the stability and anti-interference ability of plant protection drones; therefore, the control method of the semi-autonomous canopy-like flight of the plant protection drone of the present invention shows extremely strong robustness in such a complex surface environment. No matter how undulating the terrain is, the millimeter-wave radar can accurately measure the vertical distance to ensure the stable flight of the plant protection drone, reducing the frequency and complexity of height adjustment caused by terrain changes. In addition, whether in plains, hills or orchards, the millimeter-wave radar can provide accurate height measurement, so that the plant protection drone can still achieve good near-surface imitation flight effects under complex surfaces. This adaptability enables the control method of the semi-autonomous canopy-like flight of the plant protection drone of the present invention to play its due role in various agricultural environments.
[0037] 5. During the automatic flight of the plant protection UAV, the operator can intervene and adjust the flight altitude at any time to ensure that they can respond quickly in an emergency and avoid accidents. After the intervention, the plant protection UAV can continue to fly autonomously at the adjusted altitude. This design is not only convenient for actual operation, but also greatly improves the ability to respond to emergencies, making plant protection operations more flexible and safe. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 This is a flight diagram of a plant protection UAV reaching the canopy of the plant to be operated.
[0039] Figure 2 This is a flight diagram of the plant protection UAV when it detects a bump.
[0040] Figure 3 This is a flight diagram of a plant protection UAV when it detects a steep slope.
[0041] Figure 4 This is a flight diagram of the plant protection UAV when it detects a vertical obstacle.
[0042] Figure 5 This is a flight diagram of the plant protection UAV when it detects a pit.
[0043] Figure 6 Schematic diagram of the flight when the plant protection drone detects a landslide.
[0044] Figure 7 This is a flight diagram of a plant protection drone when it detects a cliff.
[0045] Figure 8 This is a flight diagram of the plant protection UAV when it detects that the tree canopy height has increased.
[0046] Fig. 9 This is a flight diagram of the plant protection UAV when it detects that the tree canopy height has decreased.
[0047] In the picture: A is a plant protection drone; B is a millimeter wave radar ranging module. DETAILED DESCRIPTION
[0048] The present invention is further described in detail below in conjunction with embodiments and drawings, but the embodiments of the present invention are not limited thereto.
[0049] Example 1
[0050] The control method of the semi-autonomous canopy-simulating flight of the plant protection UAV of the present invention comprises the following steps:
[0051] Step S1: Install the millimeter wave radar ranging module on the plant protection drone;
[0052] Step S2: starting the plant protection UAV, and after the plant protection UAV is started, self-checking the functional modules (such as the power module and the sensor module) of the plant protection UAV. After the self-checking is completed, the onboard computer establishes communication with the flight controller and sets the optimal operating altitude value;
[0053] Step S3: the plant protection UAV starts to fly according to the planned path. During the flight, the millimeter wave radar ranging module collects the distance information and angle information between the plant protection UAV and the ground obstacle, and transmits it to the onboard computer. The onboard computer calculates the vertical distance between the plant protection UAV and the ground obstacle through the distance information and angle information, that is, the vertical distance information between the plant protection UAV and the ground obstacle is calculated by triangulation using the known distance information and angle information; when the millimeter wave radar ranging module detects that the amplitude of the vertical distance change between the plant protection UAV and the ground obstacle is greater than a preset threshold, it is determined that the plant protection UAV has reached the canopy of the plant to be operated;
[0054] Step S4: The onboard computer performs data analysis on the measured vertical distance information and angle information, calculates the height value between the plant protection drone and the canopy of the plant to be operated, and compares it with the preset optimal operating height value to obtain height difference information;
[0055] Step S5: transmitting the obtained altitude difference information to the onboard computer, and the onboard computer obtains the expected flight state value through calculation, wherein the expected flight state value includes the expected flight speed and the expected flight altitude;
[0056] Among them, the steps for the onboard computer to obtain the expected flight state value of the plant protection drone are:
[0057] Step S501: avoiding collision points;
[0058] Specifically, each idle voxel in the ESDF map is calculated, that is, the minimum distance between the obstacle-free area and the nearby obstacle pixels is calculated. By adopting the Euclidean distance transform (EDT) algorithm and taking the commonly used Euclidean distance as the distance metric, the distance between each foreground point and the nearest background point is found, so as to calculate the minimum distance from each idle voxel to the nearby obstacle pixels within the map update range.
[0059] Step S502: Searching for executable path;
[0060] Specifically, an improved A* algorithm is used for path search. According to the flight characteristics of the plant protection UAV, the 4 neighborhoods of the sub-node search of the traditional A* algorithm are changed to 6 neighborhoods, namely directly in front, directly behind, directly to the left, directly to the right, directly above and directly below the plant protection UAV. The heuristic function is optimized, and the Chebyshev distance is used instead of the Manhattan distance. A weight coefficient is added, and dynamic weights are given according to the actual map scene to improve the path search speed, thereby ensuring the real-time operation of the plant protection UAV.
[0061] Step S503: Optimize the executable path trajectory.
[0062] Specifically, B-spline curve optimization is used instead of Bezier curve, and the obtained path trajectory is analyzed by differential flatness to obtain a smooth and executable flight path trajectory that conforms to the motion characteristics of the plant protection UAV.
[0063] Step S6: The flight control system of the plant protection UAV adjusts the flight status of the plant protection UAV and the sowing operation according to the expected flight state value calculated by the onboard computer; specifically:
[0064] Step S601: The received position, expected flight altitude, expected flight speed and flight attitude angle of the plant protection UAV are taken as expected state variables, the expected state variables and the thrust of the rotor motor of the plant protection UAV or the input of the servo are determined as control inputs, and the state deviation and the square sum of the control input are taken as performance indicators and substituted into the Riccat i equation;
[0065] Step S602: Solve the algebraic Riccati equation:
[0066] A T P+PA+Q-PBR -1 B T P = 0;
[0067] Wherein: A matrix is the state description matrix of the current plant protection UAV, B matrix is the control matrix of the thrust output of the rotor motor or servo required from the current state of the plant protection UAV to the expected state, Q and R matrices are the next control and state description after the thrust output of the rotor motor or servo of the plant protection UAV. This state can be compared with the expected state variable to obtain the state deviation and control deviation after the transformation, and the deviation value is accumulated and used as the input value for the next adjustment.
[0068] Step S603: Analyze the stability of the P and Q matrices obtained by the solution using Lyapunov stability theory; if they satisfy asymptotic stability, control the flight attitude of the plant protection UAV according to the obtained results; wherein,
[0069] Uniform asymptotic stability means that for any given real symmetric, uniformly bounded and uniformly positive definite time-varying matrix Q(t), there exists a unique real symmetric, uniformly bounded and uniformly positive definite time-varying matrix P(t) that satisfies the Richati equation. That is, since the P and Q matrices are real symmetric matrices, after satisfying the Richati equation, by judging whether the P and Q matrices are positive definite matrices, if they are positive definite matrices, they are asymptotically stable.
[0070] Step S604: Designing the spreading time and location according to actual scene requirements;
[0071] (1) Analyze the size and shape of the orchard, the distribution of crop species, the growth stage of the crops, and the pest and disease conditions.
[0072] (2) Determine the purpose of spreading, such as fertilizing, sowing, spraying pesticides, etc.
[0073] (3) Develop a sowing plan, such as fertilizer amount, spraying rate, sowing range, etc. Set the sowing parameters and set the desired flight altitude and speed of the drone according to the needs of the crop.
[0074] (4) Execute the seeding plan, and the drone will operate according to the planned execution path.
[0075] Step S7: repeating steps S3 to S6, so as to achieve the sowing operation on all the plants to be operated in the operation area;
[0076] Step S8: After the flight mission is completed, the plant protection UAV returns and lands at a designated location.
[0077] The control method of the semi-autonomous canopy-like flight of the plant protection UAV of the present invention is described below in conjunction with specific implementation examples:
[0078] Implementation Case 1: Terrain-like Flight
[0079] (1) Climbing:
[0080] See also Figure 1 When the plant protection UAV A is flying, if the height increase measured by the millimeter wave radar ranging module B within 10s is greater than This means that there are steep slopes or vertical obstacles in the direction of the agricultural drone, such as mountains, hills, terraces, etc. If the drone flies at the current speed and direction, it is very likely to collide with the steep slope or obstacle.
[0081] See also Figure 2 , when the measured height increase is less than Right now If the duration is less than 5 seconds, it is considered that there is a small protrusion in front, such as a stone.
[0082] See also Figure 3 , when the measured height increases within the range and Between, that is: If the duration is greater than 5 seconds, it is considered that there is a steep slope ahead.
[0083] See also Figure 4 , when the measured height increase is greater than When If the duration is greater than 5s, it is considered that there is a vertical obstacle ahead.
[0084] (2) Landslide:
[0085] The height decrease measured by millimeter wave radar ranging module B within 10s is greater than This indicates that there is a landslide or a large depression in the direction of the plant protection drone, such as a stream in the field, a ridge, or sparsely planted fruit trees.
[0086] See also Figure 5 , when the measured height decreases by less than Right now If the duration is less than 5 seconds, it is determined that the agricultural drone has encountered a very narrow pit in its forward direction.
[0087] See also Figure 6 , when the measured height decreases within the range and Between If the change time continues to decrease for more than 5 seconds, it is considered that the plant protection drone encounters a landslide in its forward direction;
[0088] See also Figure 7 , when the measured height decreases by more than Right now If the duration is greater than 5s, it is determined that the agricultural drone has encountered a huge drop in its forward direction, such as a cliff.
[0089] Implementation Case 2: Canopy Flight
[0090] (1) The crown becomes taller:
[0091] See also Figure 8 The height increase measured by the millimeter wave radar ranging module B within 3s is greater than and less than Right now It is considered that the crown becomes higher during the operation;
[0092] (2) The crown becomes shorter:
[0093] See also Fig. 9 The height reduction amplitude measured by the millimeter wave radar ranging module B within 3s is greater than and less than Right now It is considered that the tree crown becomes higher during the operation.
[0094] Implementation case 3: Canopy flight schemes in different scenarios:
[0095] Scenario 1: Terrain-like flight
[0096] (1) Climbing:
[0097] When the measured height increase is less than Right now If the duration is less than 5 seconds, it is considered that there is a small protrusion in front, such as a stone. At this time, the plant protection drone does not need to climb, but ignores the protrusion and flies at the original speed and altitude.
[0098] When the measured height increases within the range and Between If the duration is greater than 5s, it is considered that there is a steep slope ahead; at this time, the plant protection UAV needs to reduce its flight speed, increase its flight altitude, and transmit the measured slope angle information to the onboard computer. The onboard computer calculates the expected flight speed and expected position coordinates of the plant protection UAV, and transmits them to the flight controller to execute control output.
[0099] When the measured height increase is greater than When If the duration is greater than 5s, it is determined that there is a vertical obstacle ahead. At this time, the plant protection drone increases its flight altitude or hovers. If it still detects an obstacle ahead after increasing its flight altitude at a certain speed for 5s, it will hover.
[0100] (2) Landslide:
[0101] When the measured height decreases by less than Right now And when the duration is less than 5s, it is determined that the plant protection drone has encountered a very narrow pit in its forward direction; at this time, the plant protection drone does not need to descend in altitude and can fly at the original speed and altitude.
[0102] When the measured height decreases within the range and Between If the change time continues to decrease for more than 5s, it is considered that the plant protection UAV has encountered a landslide in its forward direction; at this time, the plant protection UAV needs to reduce its flight speed and altitude, and transmit the measured slope angle information to the onboard computer. The onboard computer calculates the expected speed and position coordinates of the plant protection UAV, and transmits them to the flight controller to execute control output.
[0103] When the measured height decreases by more than Right now If the duration is greater than 5s, it is determined that the plant protection drone has encountered a huge drop in its forward direction, such as a cliff; at this time, the plant protection drone needs to hover.
[0104] Scene 2: Canopy flight
[0105] (1) The crown becomes taller:
[0106] The height increase measured by the millimeter wave radar ranging module B within 3s is greater than and less than Right now It is considered that the tree crown becomes higher during the operation; at this time, the plant protection UAV needs to reduce the flight speed, increase the flight altitude, and transmit the measured distance information to the onboard computer. The onboard computer calculates the expected flight speed and position coordinates of the plant protection UAV and transmits them to the flight controller to execute control output.
[0107] (2) The crown becomes shorter:
[0108] The height reduction amplitude measured by the millimeter wave radar ranging module B within 3s is greater than and less than Right now It is considered that the tree crown becomes higher during the operation; at this time, the plant protection UAV needs to reduce the flight speed and flight altitude, and transmit the measured distance information to the onboard computer. The onboard computer calculates the expected flight speed and position coordinates of the plant protection UAV, and transmits them to the flight controller to execute control output.
[0109] Example 2
[0110] The electronic device of the present invention comprises a central processing unit and a memory; the central processing unit is used to call and run a computer program stored in the memory to execute the steps of the control method for semi-autonomous canopy-simulating flight of a plant protection UAV as described in Example 1.
[0111] Example 3
[0112] The computer-readable storage medium of the present invention stores a computer program for the control method of the semi-autonomous canopy-like flight of the plant protection UAV described in Example 1 in the form of computer-readable instructions. When the computer program is called and executed by a computer, the steps included in the corresponding method are executed.
[0113] The above is a preferred embodiment of the present invention, but the embodiment of the present invention is not limited to the above content. Any other changes, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principles of the present invention should be equivalent replacement methods and are included in the protection scope of the present invention.
Claims
1. A control method for semi-autonomous canopy-like flight of a plant protection UAV, characterized in that: The following steps are involved: Step S1: Install the millimeter wave radar ranging module on the plant protection drone; Step S2: Start the plant protection drone and perform a self-test on the functional modules of the plant protection drone after the drone is started. After the self-test is completed, the onboard computer establishes communication with the flight controller and sets the optimal operating altitude value; Step S3: The plant protection UAV begins to fly according to the planned path. During the flight, the millimeter wave radar ranging module collects the distance and angle information between the plant protection UAV and the ground obstacle and transmits it to the onboard computer. The onboard computer uses the distance and angle information to calculate the vertical distance between the plant protection UAV and the ground obstacle. When the millimeter-wave radar ranging module detects that the vertical distance change between the plant protection drone and the ground obstacle is greater than the preset threshold, it is determined that the plant protection drone has reached the canopy of the plant to be operated; Step S4: The onboard computer performs data analysis on the measured vertical distance information and angle information, calculates the height between the plant protection drone and the canopy of the plant to be operated, and compares it with the preset optimal operating height value to obtain height difference information; Step S5: The obtained altitude difference information is transmitted to the onboard computer, and the onboard computer calculates the expected flight state value; Step S6: The flight control system of the plant protection UAV adjusts the flight status of the plant protection UAV and the sowing operation according to the expected flight state value calculated by the onboard computer; Step S7: repeating steps S3 to S6, thereby performing the sowing operation on all the plants to be operated in the operation area; Step S8: After the flight mission is completed, the plant protection drone returns and lands at the designated location.
2. The control method for semi-autonomous canopy-simulating flight of a plant protection UAV according to claim 1, characterized in that: In step S2, the functional modules include a power module and various sensor modules of the plant protection UAV.
3. The control method for the semi-autonomous canopy-simulating flight of a plant protection UAV according to claim 1, characterized in that: In step S3, the vertical distance information between the plant protection UAV and the ground obstacle is calculated by triangulation using the known distance information and angle information.
4. The control method for semi-autonomous canopy-simulating flight of a plant protection UAV according to claim 1, characterized in that: In step S5, the expected flight state value includes an expected flight speed and an expected flight altitude.
5. The control method for the semi-autonomous canopy-simulating flight of a plant protection UAV according to claim 4, characterized in that: In step S5, the onboard computer obtains the expected flight state value of the plant protection UAV by: Step S501: avoiding collision points; Step S502: Searching for an executable path; Step S503: Optimize the executable path trajectory.
6. The control method for the semi-autonomous canopy-simulating flight of a plant protection UAV according to claim 5, characterized in that: The specific steps of step S6 are: Step S601: The received position, expected flight altitude, expected flight speed, and flight attitude angle of the plant protection UAV are used as expected state variables. The expected state variables and the thrust of the rotor motor or the input of the servo of the plant protection UAV are used as control inputs. The sum of the squares of the state deviation and the control input is used as the performance indicator and substituted into the Riccati equation. Step S602: Solve the algebraic Riccati equation: A T P+PA+Q-PBR -1 B T P=0; Where: A is the state transfer matrix, B is the control input matrix, Q is the control effect matrix, and R is the state effect matrix; Step S603: Analyze the stability of the P and Q matrices obtained by the solution using Lyapunov stability theory; If it satisfies asymptotic stability, the flight attitude of the plant protection UAV is controlled according to the obtained result.
7. The control method for the semi-autonomous canopy-simulating flight of a plant protection UAV according to claim 6, characterized in that: In step S603, the P and Q matrices are real symmetric matrices. After satisfying the Riccati equation, it is determined whether the P and Q matrices are positive definite matrices. If they are positive definite matrices, they are asymptotically stable.
8. An electronic device comprising a central processing unit and a memory, characterized in that: The central processing unit is used to call and run the computer program stored in the memory to execute the steps of the control method for semi-autonomous canopy-simulating flight of the plant protection UAV as described in any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that It stores a computer program for the control method of the semi-autonomous canopy-like flight of the plant protection UAV according to any one of claims 1 to 7 in the form of computer-readable instructions. When the computer program is called and run by a computer, the steps included in the corresponding method are executed.
Citation Information
Cited By
Height compensation and multi-view identification-based castration unmanned aerial vehicle control system and method
CN120848539A
Plant protection unmanned aerial vehicle emptying operation method and apparatus, electronic device, and storage medium
WO2026228810A1
