UAV servo control method, device, equipment and storage medium
Through real-time wind power prediction, the cruise phase is divided and adaptive cruise paths are generated, which solves the efficiency and quality problems of wind power changes in drones during patrol in mountainous areas, and improves the cruise efficiency and quality.
Patent Information
- Application Number
- CN202411316845.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-20
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2044-09-20
AI Technical Summary
Drones face technical difficulties in cruise path planning when patrolling in mountainous areas, especially the unstable wind speed changes affect the accuracy and efficiency of path planning, resulting in low cruise efficiency and quality.
By obtaining real-time wind forecast information of the target cruise area, the cruise cycle is divided into the first cruise phase with stable wind changes and the second cruise phase with unstable wind speed, and the global optimal and single-stop cruise paths are generated and executed separately to adapt to wind power. Change until all cruise points are completed.
The implementation efficiency and quality of drones patrols in mountainous areas have been improved, and the problem of low cruise efficiency caused by wind changes has been avoided.
Smart Images

Figure CN118819175B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of unmanned aerial vehicle (UAV) steering gear control, and in particular to a UAV steering gear control method, device, equipment and storage medium. Background Art
[0002] At present, the use of drones to patrol mountainous areas has far-reaching significance and importance in forest fire prevention, geological disaster monitoring, ecological environment monitoring, wildlife monitoring, and combating illegal mining, illegal logging and poaching. Compared with traditional manual patrols, drone patrols can significantly reduce manpower and material costs, improve resource utilization efficiency, and improve the comprehensiveness and efficiency of patrols.
[0003] However, drones face many limitations when patrolling in mountainous areas: first, mountainous areas are vast, and when cruising the target cruise area, there are high requirements for the drone's cruising (especially for some cruise missions that have high requirements for the resolution of monitoring images, such as geological disaster monitoring and wildlife monitoring. The coverage area of the monitoring images collected by the drone at a single time is small, which makes the path required to perform the cruise flight when cruising the target cruise area longer). In order to improve the execution efficiency and quality of mountain patrol missions, it is necessary to improve the drone's cruising as much as possible; second, the mountainous area is high and the terrain is diverse, which makes the wind conditions at different locations in the mountainous area at different times have obvious differences, and the wind conditions have a large and complex impact on the execution of drone cruise missions. Unstable wind changes will also affect the correctness of path planning and the accuracy of wind prediction. When executing path planning, there are certain technical difficulties in improving and managing the drone's cruising capabilities.
[0004] Therefore, how to improve the rationality and scientificity of the path planning of UAV patrols in mountainous areas and improve the execution efficiency and quality of UAV cruises in mountainous areas is a technical problem that needs to be solved urgently. Summary of the invention
[0005] The main purpose of the present invention is to provide a method, device, equipment and storage medium for controlling a drone servo, aiming to solve the above-mentioned technical problems.
[0006] To achieve the above object, the present invention provides a method for controlling a UAV steering gear, comprising the following steps:
[0007] Obtaining a cruise mission for a target cruise area; wherein the cruise mission includes a cruise drone, a cruise cycle, and a number of target cruise points in the target cruise area through which a cruise path passes;
[0008] At the initial moment of the cruise cycle, obtain the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle, and determine the wind force change state in the cruise cycle;
[0009] Based on the wind force variation state in the cruise cycle, the cruise cycle is divided into a plurality of alternating first cruise stages and second cruise stages; wherein the first cruise stage is configured as a continuous period in which the wind force variation state in the cruise cycle meets the stable requirement, and the second cruise stage is configured as a continuous period in the cruise cycle that is adjacent to the first cruise stage and is not the first cruise stage;
[0010] Generate a first cruise path for each first cruise phase and a second cruise path for each second cruise phase according to the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle;
[0011] Converting the first cruise path and the second cruise path into a UAV steering gear control instruction set and sending it to the cruise UAV, driving the cruise UAV to perform the cruise action for each target cruise point in the first cruise path and the second cruise path according to the chronological relationship of the cruise phase;
[0012] When passing the target cruise point in each second cruise path, return to re-execute the step of obtaining the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle, and judging the wind force change state in the cruise cycle, until the cruise drone completes the cruise action of all target cruise points in the target cruise area.
[0013] Optionally, the cruise mission steps for obtaining the target cruise area include:
[0014] Accessing a cruise demand list, extracting cruise demand information of a target cruise area in the accessed cruise demand list; wherein the cruise demand information includes a cruise execution action, a cruise frequency, and a key cruise area for the target cruise area;
[0015] Based on the cruise execution action, cruise frequency and key cruise area of the target cruise area, several target cruise points in the target cruise area passed by the cruise UAV, cruise cycle and cruise path are determined, and the cruise mission of the target cruise area is generated.
[0016] Optionally, at the initial moment of the cruise cycle, the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle is obtained, and the step of determining the wind force change state in the cruise cycle specifically includes:
[0017] At the initial moment of the cruise cycle, the meteorological database is called to obtain the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle; wherein the real-time wind force forecast information includes real-time wind speed parameters and real-time wind direction parameters;
[0018] Based on the real-time wind speed parameters and the real-time wind direction parameters, determine whether the wind force change state at each sampling time point in the cruise cycle is in a stable state; wherein the sampling time point of the stable state is configured as a sampling time point at which the numerical difference between the real-time wind speed parameters at adjacent sampling time points does not exceed a preset difference and / or the angular difference between the real-time wind direction parameters is not greater than a preset angle.
[0019] Optionally, based on the wind force change state during the cruise cycle, the cruise cycle is divided into a plurality of alternating first cruise phase and second cruise phase steps, specifically including:
[0020] Based on the stable state of each sampling time point in the cruise cycle, the continuous period in which the wind force change state meets the stable requirement in the cruise cycle is defined as the first cruise stage, and the other continuous periods in the cruise cycle except before the first cruise stage are defined as the second cruise stage;
[0021] The continuous time period that meets the stability requirement is configured as a continuous time period in which the number of sampling time points exceeds a first preset value and the interval between two adjacent sampling time points in a non-stable state exceeds a second preset value.
[0022] Optionally, the steps of generating a first cruise path for each first cruise stage and a second cruise path for each second cruise stage respectively according to the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle specifically include:
[0023] In each first cruise stage, using the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle, a first cruise path is generated with the goal of minimizing the total cruise energy consumption of all un-cruised target cruise points executed by the current target cruise point; wherein the first cruise path includes a plurality of un-cruised first target cruise points arranged in a cruise order;
[0024] Converting the first cruising path into a UAV steering gear control instruction set and sending it to the cruising UAV, so as to drive the cruising UAV to perform a first cruising action;
[0025] In each second cruise stage, using the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle, a second cruise path is generated with the goal of minimizing the cruise time from each target cruise point to the next un-cruised target cruise point in the process of the current target cruise point executing all un-cruised target cruise points; wherein the second cruise path includes a plurality of un-cruised second target cruise points arranged in a cruise order;
[0026] The second cruising path is converted into a UAV servo control instruction set and sent to the cruising UAV, so as to drive the cruising UAV to perform a second cruising action.
[0027] Optionally, using the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle, with the goal of minimizing the total cruise energy consumption of all un-cruised target cruise points at the current target cruise point, the first cruise path step is generated, specifically including:
[0028] Inputting the real-time wind force prediction information of the target cruise area at each moment in the cruise cycle into the wind fluid model of the target cruise area to obtain the actual wind speed parameter and the actual wind direction parameter at each position in the target cruise area;
[0029] With the goal of minimizing the product of the standard energy consumption power of the cruise UAV, the energy consumption correction factor of the cruise UAV under the environment of actual wind speed parameters and actual wind direction parameters for each unit path length of the cruise path, and the cruise time of the cruise UAV for each unit path length, the first cruise path that executes all un-cruised target cruise points from the current target cruise point is solved.
[0030] Optionally, using the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle, with the goal of minimizing the cruise time from each target cruise point to the next un-cruised target cruise point in the process of the current target cruise point executing all un-cruised target cruise points, the second cruise path generation step specifically includes:
[0031] Inputting the real-time wind force prediction information of the target cruise area at each moment in the cruise cycle into the wind fluid model of the target cruise area to obtain the actual wind speed parameter and the actual wind direction parameter at each position in the target cruise area;
[0032] The distance of each unit path from the current target cruise point to each other un-cruised target cruise point is divided by the cumulative sum of the quotients of the actual wind speed parameter and the actual wind direction parameter of each unit path from the current target cruise point to each other un-cruised target cruise point, and the second cruise path that executes all un-cruised target cruise points from the current target cruise point is solved.
[0033] In addition, in order to achieve the above-mentioned purpose, the present invention also provides a UAV steering gear control device, comprising:
[0034] An acquisition module is used to acquire a cruise mission in a target cruise area; wherein the cruise mission includes a cruise drone, a cruise cycle, and a number of target cruise points in the target cruise area through which the cruise path passes;
[0035] A judgment module is used to obtain the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle at the initial moment of the cruise cycle, and judge the wind force change state in the cruise cycle;
[0036] A division module, for dividing the cruise cycle into a plurality of alternating first cruise stages and second cruise stages based on the wind force variation state within the cruise cycle; wherein the first cruise stage is configured as a continuous period in which the wind force variation state in the cruise cycle meets the stability requirement, and the second cruise stage is configured as a continuous period in the cruise cycle that is adjacent to the first cruise stage and is not the first cruise stage;
[0037] A generation module, used to generate a first cruise path for each first cruise stage and a second cruise path for each second cruise stage according to real-time wind force forecast information of the target cruise area at each moment in the cruise cycle;
[0038] A cruise module, used for converting the first cruise path and the second cruise path into a UAV steering gear control instruction set and sending it to the cruise UAV, so as to drive the cruise UAV to perform the cruise action for each target cruise point in the first cruise path and the second cruise path according to the chronological relationship of the cruise phase;
[0039] The return module is used to return to re-execute the steps of obtaining the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle and judging the wind force change state in the cruise cycle when passing the target cruise point in each second cruise path, until the cruise drone completes the cruise action of all target cruise points in the target cruise area.
[0040] In addition, in order to achieve the above-mentioned purpose, the present invention also provides a UAV servo control device, which includes: a memory, a processor, and a UAV servo control program stored in the memory and executable on the processor, and when the UAV servo control program is executed by the processor, the steps of the UAV servo control method as described above are implemented.
[0041] In addition, in order to achieve the above-mentioned purpose, the present invention also provides a storage medium, on which a UAV servo control program is stored, and when the UAV servo control program is executed by a processor, the steps of the above-mentioned UAV servo control method are implemented.
[0042] The beneficial effects of the present invention are as follows: a method, device, equipment and storage medium for controlling a UAV servo are proposed, which obtains a cruise task and utilizes the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle to divide the cruise cycle into a first cruise stage with a stable wind force change state and a second cruise stage with an unstable wind force change state, respectively performing the global optimal cruise action and the single optimal cruise action in the first cruise stage and the second cruise stage, and re-executing the stage division and the cruise action in the second cruise stage until all target cruise points in the target cruise area have completed the cruise. Therefore, the present invention improves the execution efficiency and execution quality of mountain cruise by executing cruise actions that adapt to changes in wind conditions in mountainous areas at different stages, thereby avoiding the problem of low actual cruise efficiency caused by executing the global optimal cruise alone or executing the single optimal cruise alone due to changes in wind force in mountainous areas. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0044] Figure 1 A schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present invention;
[0045] Figure 2 This is a flow chart of an embodiment of a method for controlling a servo of a UAV according to the present invention;
[0046] Figure 3 The present invention is a structural block diagram of a UAV servo control device in an embodiment of the present invention.
[0047] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0048] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0049] like Figure 1 As shown, Figure 1 It is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present invention.
[0050] like Figure 1As shown, the device may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or it may be a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0051] Those skilled in the art will understand that Figure 1 The structure of the device shown in the figure does not constitute a limitation of the device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0052] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a UAV servo control program.
[0053] exist Figure 1 In the terminal shown, the network interface 1004 is mainly used to connect to the backend server and communicate data with the backend server; the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client; and the processor 1001 can be used to call the drone servo control program stored in the memory 1005 and perform the following operations:
[0054] Obtaining a cruise mission for a target cruise area; wherein the cruise mission includes a cruise drone, a cruise cycle, and a number of target cruise points in the target cruise area through which a cruise path passes;
[0055] At the initial moment of the cruise cycle, obtain the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle, and determine the wind force change state in the cruise cycle;
[0056] Based on the wind force variation state in the cruise cycle, the cruise cycle is divided into a plurality of alternating first cruise stages and second cruise stages; wherein the first cruise stage is configured as a continuous period in which the wind force variation state in the cruise cycle meets the stable requirement, and the second cruise stage is configured as a continuous period in the cruise cycle that is adjacent to the first cruise stage and is not the first cruise stage;
[0057] Generate a first cruise path for each first cruise phase and a second cruise path for each second cruise phase according to the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle;
[0058] Converting the first cruise path and the second cruise path into a UAV steering gear control instruction set and sending it to the cruise UAV, driving the cruise UAV to perform the cruise action for each target cruise point in the first cruise path and the second cruise path according to the chronological relationship of the cruise phase;
[0059] When passing the target cruise point in each second cruise path, return to re-execute the step of obtaining the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle, and judging the wind force change state in the cruise cycle, until the cruise drone completes the cruise action of all target cruise points in the target cruise area.
[0060] The specific embodiments of the present invention applied to the device are basically the same as the embodiments of the following application method for controlling the servo of a UAV, and will not be described in detail here.
[0061] The embodiment of the present invention provides a method for controlling a servo of an unmanned aerial vehicle, referring to Figure 2 , Figure 2 The figure is a flow chart of an embodiment of a method for controlling a servo of a UAV according to the present invention.
[0062] In this embodiment, the UAV steering gear control method includes the following steps:
[0063] S100: Acquire a cruise mission of a target cruise area; wherein the cruise mission includes a cruise drone, a cruise cycle, and a number of target cruise points in the target cruise area passed by a cruise path;
[0064] S200: At the initial moment of the cruise cycle, obtain the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle, and determine the wind force change state in the cruise cycle;
[0065] S300: Based on the wind force variation state in the cruise cycle, the cruise cycle is divided into a plurality of alternating first cruise stages and second cruise stages; wherein the first cruise stage is configured as a continuous period in which the wind force variation state in the cruise cycle meets the stable requirement, and the second cruise stage is configured as a continuous period in the cruise cycle that is adjacent to the first cruise stage and is not the first cruise stage;
[0066] S400: generating a first cruising path for each first cruising stage and a second cruising path for each second cruising stage according to the real-time wind force forecast information of the target cruising area at each moment in the cruising cycle;
[0067] S500: converting the first cruising path and the second cruising path into a UAV steering gear control instruction set and sending it to the cruising UAV, driving the cruising UAV to perform the cruising action for each target cruising point in the first cruising path and the second cruising path according to the chronological relationship of the cruising phases;
[0068] S600: When passing through the target cruise point in each second cruise path, return to re-execute the step of obtaining the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle, and judging the wind force change state in the cruise cycle, until the cruise drone completes the cruise action of all the target cruise points in the target cruise area.
[0069] It should be noted that drones face many limitations when patrolling in mountainous areas: first, mountainous areas are vast, and when patrolling the target cruise area, there are high requirements for the drone's cruise (especially for some cruise missions that have high requirements for the resolution of monitoring images, such as geological disaster monitoring and wildlife monitoring. The coverage area of the monitoring images collected by the drone in a single time is small, which makes the path required to perform the cruise flight when patrolling the target cruise area longer). In order to improve the execution efficiency and quality of mountain patrol missions, it is necessary to improve the drone's cruise as much as possible; second, the mountainous area is high and the terrain is diverse, which makes the wind conditions at different locations in the mountainous area at different times have obvious differences, and the wind conditions have a large and complex impact on the execution of drone cruise missions. Unstable wind changes will also affect the correctness of path planning and the accuracy of wind prediction. When executing path planning, there are certain technical difficulties in improving and managing the drone's cruise capabilities.
[0070] In order to solve the above problems, this embodiment obtains the cruise UAV, the cruise cycle and several target cruise points in the cruise mission, and uses the real-time wind force prediction information of the target cruise area at each moment in the cruise cycle to divide the cruise cycle into a first cruise stage with a stable wind force change state and a second cruise stage with an unstable wind force change state. In the first cruise stage, based on the wind force prediction information environment at each position in the target cruise area, cruise path planning is performed for each non-cruised target cruise point with the goal of minimizing cruise energy consumption, ensuring that the cruise UAV performs the global optimal cruise action when the wind conditions are stable. In the second cruise stage, based on the wind force prediction information environment at each position in the target cruise area, cruise path planning is performed for each non-cruised target cruise point with the goal of minimizing the cruise time from the current target cruise point to the next target cruise point, ensuring that the cruise UAV performs a single optimal cruise action when the wind conditions are unstable. In the second cruise stage, stage division and cruise action are re-executed until the cruise UAV completes the cruise action of all target cruise points in the target cruise area. Therefore, the present invention divides the cruise cycle into stages and executes cruise actions that adapt to changes in wind conditions in mountainous areas at different stages, thereby avoiding the problem of low actual cruise efficiency caused by executing global optimal cruise actions alone or executing single optimal cruise actions alone due to changes in wind conditions in mountainous areas.
[0071] In a preferred embodiment, the step of obtaining the cruise mission of the target cruise area specifically includes:
[0072] S110: Accessing a cruise demand list, extracting cruise demand information of a target cruise area in the accessed cruise demand list; wherein the cruise demand information includes a cruise execution action, a cruise frequency, and a key cruise area for the target cruise area;
[0073] S120: Based on the cruise execution action, cruise frequency and key cruise area of the target cruise area, determine a number of target cruise points in the target cruise area passed by the cruise drone, cruise cycle and cruise path, and generate a cruise mission for the target cruise area.
[0074] In this embodiment, the cruise demand information of each cruise area is stored in a separate cruise demand list, which is generated based on the demands provided by different users (for example, forestry department users who need mountain forest resource information, geological department users who need geological disaster information, etc.). Based on the generated cruise demand list, the cruise demand information is extracted and converted into elements in the cruise mission to form a final cruise mission, which is sent to the UAV cruise management terminal to drive the UAV cruise management terminal to drive the corresponding UAV to perform the cruise mission.
[0075] In a preferred embodiment, at the initial moment of the cruise cycle, the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle is obtained, and the step of determining the wind force change state in the cruise cycle specifically includes:
[0076] S210: At the initial moment of the cruise cycle, calling a meteorological database to obtain real-time wind force forecast information of the target cruise area at each moment in the cruise cycle; wherein the real-time wind force forecast information includes real-time wind speed parameters and real-time wind direction parameters;
[0077] S220: Based on the real-time wind speed parameter and the real-time wind direction parameter, determine whether the wind force change state at each sampling time point in the cruise cycle is in a stable state; wherein the sampling time point of the stable state is configured as a sampling time point at which the numerical difference of the real-time wind speed parameter at the adjacent sampling time point does not exceed a preset difference and / or the angular difference of the real-time wind direction parameter is not greater than a preset angle.
[0078] On this basis, based on the wind force change state during the cruise cycle, the cruise cycle is divided into several alternating first cruise stage and second cruise stage steps, specifically including:
[0079] S310: Based on the stable state of each sampling time point in the cruise cycle, a continuous period in which the wind force change state meets the stable requirement in the cruise cycle is defined as a first cruise stage, and other continuous periods in the cruise cycle except before the first cruise stage are defined as a second cruise stage;
[0080] The continuous time period that meets the stability requirement is configured as a continuous time period in which the number of sampling time points exceeds a first preset value and the interval between two adjacent sampling time points in a non-stable state exceeds a second preset value.
[0081] In this embodiment, at the initial moment of the cruise cycle, the meteorological database is called to obtain the real-time wind forecast information of the target cruise area at each moment in the cruise cycle. It should be noted that, considering the scarcity of meteorological station data in mountainous and remote areas, meteorological stations usually use wind forecast technology based on satellite cloud images to provide wind forecast data for mountainous areas. Although the wind forecast data generated by satellite cloud images has the problem of long-term inaccurate prediction, the accuracy in the short term can still meet the requirements of this embodiment. After obtaining the real-time wind forecast information, the cruise cycle is divided into the first cruise stage and the second cruise stage according to the wind change status (stable state judgment at the sampling time point and stable state judgment of the continuous period). The first cruise stage is a stage where the wind change is stable. The wind condition in this area can be considered to be stable and does not affect the UAV's cruise mission. In this stage, the global optimal path planning can be performed. The second cruise stage is a stage where the wind change is unstable. The wind condition in this area can be considered to be unstable and will affect the mission and the execution of the cruise mission. In this stage, a single optimal path planning must be performed. In this embodiment, the cruise cycle is divided into a first cruise stage and a second cruise node for separate path planning, which can avoid errors in path planning caused by unstable wind conditions (for example, if path cruising is always performed according to the global optimal path planning during the cruise cycle, the cruising action of the global optimal path executed in an environment with unstable wind conditions will be inconsistent with the cruising action of the global optimal path executed in an environment with stable wind conditions, and may even have a negative impact, increasing the overall cruising distance of the global optimal path).
[0082] In a preferred embodiment, the steps of generating a first cruise path for each first cruise stage and a second cruise path for each second cruise stage respectively according to the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle specifically include:
[0083] S410: In each first cruise stage, using the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle, a first cruise path is generated with the goal of minimizing the total cruise energy consumption of all un-cruised target cruise points executed by the current target cruise point; wherein the first cruise path includes a plurality of un-cruised first target cruise points arranged in a cruise order;
[0084] S420: converting the first cruising path into a UAV steering gear control instruction set and sending it to the cruising UAV, so as to drive the cruising UAV to perform a first cruising action;
[0085] S430: In each second cruise stage, using the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle, a second cruise path is generated with the goal of minimizing the cruise time from each target cruise point to the next un-cruised target cruise point in the process of the current target cruise point executing all un-cruised target cruise points; wherein the second cruise path includes a plurality of un-cruised second target cruise points arranged in a cruise order;
[0086] S440: Convert the second cruising path into a UAV servo control instruction set and send it to the cruising UAV, so as to drive the cruising UAV to perform a second cruising action.
[0087] Furthermore, by using the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle, with the goal of minimizing the total cruise energy consumption of all un-cruised target cruise points executed by the current target cruise point, a first cruise path step is generated, specifically including:
[0088] S411: inputting the real-time wind force prediction information of the target cruising area at each moment in the cruising cycle into the wind force fluid model of the target cruising area to obtain the actual wind speed parameter and the actual wind direction parameter of each position in the target cruising area;
[0089] S412: With the goal of minimizing the product of the standard energy consumption power of the cruise UAV, the energy consumption correction factor of the cruise UAV under the environment of the actual wind speed parameters and the actual wind direction parameters of each unit path length of the cruise path, and the cruise time of the cruise UAV at each unit path length, solve the first cruise path that executes all the target cruise points that have not been cruised from the current target cruise point.
[0090] Furthermore, by using the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle, the second cruise path step is generated with the goal of minimizing the cruise time from each target cruise point to the next target cruise point that has not been cruised during the process in which the current target cruise point executes all the target cruise points that have not been cruised, and specifically includes:
[0091] S431: inputting the real-time wind force prediction information of the target cruising area at each moment in the cruising cycle into the wind force fluid model of the target cruising area to obtain the actual wind speed parameter and the actual wind direction parameter of each position in the target cruising area;
[0092] S432: Taking the distance of each unit path from the current target cruise point to each other un-cruised target cruise point as the minimum, divided by the cumulative sum of the quotients of the actual wind speed parameter and the actual wind direction parameter of each unit path from the current target cruise point to each other un-cruised target cruise point, solve the second cruise path from the current target cruise point to complete all un-cruised target cruise points.
[0093] It should be noted that the wind fluid model of the target cruise area can be obtained by constructing a physical or digital model of the target cruise area and testing it in a test environment (external inputs of different wind speeds and different wind directions) (output of actual wind speed parameters and actual wind direction parameters at different locations in the target cruise area), or by obtaining several training cruise areas with different external wind information inputs, actual wind information collected at different locations, and the mountainous terrain and body shape characteristics of each training cruise area to construct training sample input artificial intelligence models for training. By calling the wind fluid model of the target cruise area, the actual wind speed parameters and actual wind direction parameters at each location in the target cruise area can be obtained.
[0094] In this embodiment, by acquiring the cruise UAV, the cruise cycle and several target cruise points in the cruise mission, and using the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle, the cruise cycle is divided into a first cruise stage with a stable wind force change state and a second cruise stage with an unstable wind force change state. In the first cruise stage, based on the wind force forecast information environment at each position in the target cruise area, cruise path planning is performed for each non-cruised target cruise point with the goal of minimizing cruise energy consumption, ensuring that the cruise UAV performs the global optimal cruise action when the wind condition is stable. In the second cruise stage, based on the wind force forecast information environment at each position in the target cruise area, cruise path planning is performed for each non-cruised target cruise point with the goal of minimizing the cruise time from the current target cruise point to the next target cruise point, ensuring that the cruise UAV performs a single optimal cruise action when the wind condition is unstable. In the second cruise stage, stage division and cruise action are re-executed until the cruise UAV completes the cruise action of all target cruise points in the target cruise area.
[0095] In practical applications, in order to adapt to the cruise control in different wind environments (the cruise control is mainly to meet the needs of collecting various data in mountainous areas), the cruise drone will use different cruise powers in different wind environments, and the energy consumption correction factors of different cruise drones in the environment of actual wind speed parameters and actual wind direction parameters can be obtained by obtaining the test power data of the cruise drone in different wind environments, and the cruise time of a unit path can be obtained by dividing the length of the unit path by the cruise speed. Therefore, the present invention divides the cruise cycle into stages, and executes cruise actions that adapt to changes in wind conditions in mountainous areas at different stages, avoiding the problem of low actual cruise efficiency caused by the single execution of global optimal cruise or single execution of single optimal cruise actions due to changes in wind conditions in mountainous areas.
[0096] Reference Figure 3 , Figure 3 The figure is a structural block diagram of an embodiment of a UAV servo control device of the present invention.
[0097] like Figure 3 As shown, the UAV steering gear control device proposed in the embodiment of the present invention includes:
[0098] The acquisition module 10 is used to acquire the cruise mission of the target cruise area; wherein the cruise mission includes the cruise drone, the cruise cycle, and a number of target cruise points in the target cruise area passed by the cruise path;
[0099] The judgment module 20 is used to obtain the real-time wind force forecast information of the target cruising area at each moment in the cruising cycle at the initial moment of the cruising cycle, and judge the wind force change state in the cruising cycle;
[0100] A division module 30 is used to divide the cruise cycle into a plurality of alternating first cruise stages and second cruise stages based on the wind force variation state in the cruise cycle; wherein the first cruise stage is configured as a continuous period in which the wind force variation state in the cruise cycle meets the stable requirement, and the second cruise stage is configured as a continuous period in the cruise cycle that is adjacent to the first cruise stage and is not the first cruise stage;
[0101] A generating module 40, for generating a first cruising path for each first cruising stage and a second cruising path for each second cruising stage according to the real-time wind force forecast information of the target cruising area at each moment in the cruising cycle;
[0102] A cruise module 50, configured to convert the first cruise path and the second cruise path into a UAV steering gear control instruction set and send the instruction set to the cruise UAV, so as to drive the cruise UAV to perform the cruise action for each target cruise point in the first cruise path and the second cruise path according to the chronological relationship of the cruise phase;
[0103] The return module 60 is used to return to re-execute the step of obtaining the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle and judging the wind force change state in the cruise cycle when passing through the target cruise point in each second cruise path, until the cruise drone completes the cruise action of all the target cruise points in the target cruise area.
[0104] Other embodiments or specific implementations of the drone servo control device of the present invention can refer to the above-mentioned method embodiments and will not be described in detail here.
[0105] In addition, the present invention also proposes a UAV servo control device, which includes: a memory, a processor, and a UAV servo control program stored in the memory and executable on the processor. When the UAV servo control program is executed by the processor, the steps of the UAV servo control method as described above are implemented.
[0106] The specific implementation of the drone servo control device of the present application is basically the same as the various embodiments of the above-mentioned drone servo control method, and will not be repeated here.
[0107] In addition, the present invention also proposes a readable storage medium, the readable storage medium includes a computer readable storage medium, on which a drone steering control program is stored. The readable storage medium may be Figure 1 The memory 1005 in the terminal may also be at least one of a ROM (Read-Only Memory) / RAM (Random Access Memory), a magnetic disk, and an optical disk. The readable storage medium includes a number of instructions for enabling a UAV servo control device with a processor to execute the UAV servo control method described in each embodiment of the present invention.
[0108] The specific implementation methods in the readable storage medium of the present application are basically the same as the embodiments of the above-mentioned UAV servo control method, and will not be repeated here.
[0109] It is understood that, in the description of this specification, the description with reference to the terms "one embodiment", "another embodiment", "other embodiments", or "first to Nth embodiments" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0110] 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 system 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 system. 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 system including the element.
[0111] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0112] 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 is essentially 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, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (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.
[0113] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for controlling a UAV steering gear, characterized in that: The following steps are involved: Obtaining a cruise mission for a target cruise area; wherein the cruise mission includes a cruise drone, a cruise cycle, and a number of target cruise points in the target cruise area through which a cruise path passes; At the initial moment of the cruise cycle, obtain the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle, and determine the wind force change state in the cruise cycle; Based on the wind force variation state in the cruise cycle, the cruise cycle is divided into a plurality of alternating first cruise stages and second cruise stages; wherein the first cruise stage is configured as a continuous period in which the wind force variation state in the cruise cycle meets the stable requirement, and the second cruise stage is configured as a continuous period in the cruise cycle that is adjacent to the first cruise stage and is not the first cruise stage; According to the real-time wind force prediction information of the target cruise area at each moment in the cruise cycle, a first cruise path for each first cruise stage and a second cruise path for each second cruise stage are generated respectively; specifically comprising: in each first cruise stage, using the real-time wind force prediction information of the target cruise area at each moment in the cruise cycle, with the goal of minimizing the total cruise energy consumption of the current target cruise point to complete all the un-cruised target cruise points, generating a first cruise path; wherein the first cruise path includes a number of un-cruised first target cruise points arranged in a cruise sequence; converting the first cruise path into a UAV servo control instruction set and sending it to the cruise UAV to drive the cruise UAV to perform the first cruise action; in each second cruise stage, using the real-time wind force prediction information of the target cruise area at each moment in the cruise cycle, with the goal of minimizing the cruise time from each target cruise point to the next un-cruised target cruise point in the process of the current target cruise point completing all the un-cruised target cruise points, generating a second cruise path; wherein the second cruise path includes a number of un-cruised second target cruise points arranged in a cruise sequence; converting the second cruise path into a UAV servo control instruction set and sending it to the cruise UAV to drive the cruise UAV to perform the second cruise action; Converting the first cruise path and the second cruise path into a UAV steering gear control instruction set and sending it to the cruise UAV, driving the cruise UAV to perform the cruise action for each target cruise point in the first cruise path and the second cruise path according to the chronological relationship of the cruise phase; When passing the target cruise point in each second cruise path, return to re-execute the step of obtaining the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle, and judging the wind force change state in the cruise cycle, until the cruise drone completes the cruise action of all target cruise points in the target cruise area.
2. The method for controlling a UAV steering gear according to claim 1, characterized in that: The steps for obtaining the cruise mission of the target cruise area include: Accessing a cruise demand list, extracting cruise demand information of a target cruise area in the accessed cruise demand list; wherein the cruise demand information includes a cruise execution action, a cruise frequency, and a key cruise area for the target cruise area; Based on the cruise execution action, cruise frequency and key cruise area of the target cruise area, several target cruise points in the target cruise area passed by the cruise UAV, cruise cycle and cruise path are determined, and the cruise mission of the target cruise area is generated.
3. The method for controlling a UAV steering gear according to claim 1, wherein: At the initial moment of the cruise cycle, the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle is obtained, and the steps of determining the wind force change state in the cruise cycle are specifically including: At the initial moment of the cruise cycle, the meteorological database is called to obtain the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle; wherein the real-time wind force forecast information includes real-time wind speed parameters and real-time wind direction parameters; Based on the real-time wind speed parameters and the real-time wind direction parameters, determine whether the wind force change state at each sampling time point in the cruise cycle is in a stable state; wherein the sampling time point of the stable state is configured as a sampling time point at which the numerical difference between the real-time wind speed parameters at adjacent sampling time points does not exceed a preset difference and / or the angular difference between the real-time wind direction parameters is not greater than a preset angle.
4. The method for controlling a UAV steering gear according to claim 3, characterized in that: Based on the wind force change state during the cruise cycle, the cruise cycle is divided into several alternating first cruise phase and second cruise phase steps, specifically including: Based on the stable state of each sampling time point in the cruise cycle, the continuous period in which the wind force change state meets the stable requirement in the cruise cycle is defined as the first cruise stage, and the other continuous periods in the cruise cycle except before the first cruise stage are defined as the second cruise stage; The continuous time period that meets the stability requirement is configured as a continuous time period in which the number of sampling time points exceeds a first preset value and the interval between two adjacent sampling time points in a non-stable state exceeds a second preset value.
5. The method for controlling a UAV steering gear according to claim 1, characterized in that: Using the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle, with the goal of minimizing the total cruise energy consumption of all un-cruised target cruise points at the current target cruise point, a first cruise path step is generated, specifically including: Inputting the real-time wind force prediction information of the target cruise area at each moment in the cruise cycle into the wind fluid model of the target cruise area to obtain the actual wind speed parameter and the actual wind direction parameter at each position in the target cruise area; With the goal of minimizing the product of the standard energy consumption power of the cruise UAV, the energy consumption correction factor of the cruise UAV under the environment of actual wind speed parameters and actual wind direction parameters for each unit path length of the cruise path, and the cruise time of the cruise UAV for each unit path length, the first cruise path that executes all un-cruised target cruise points from the current target cruise point is solved.
6. The method for controlling a UAV steering gear according to claim 1, characterized in that: Using the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle, with the goal of minimizing the cruise time from each target cruise point to the next un-cruised target cruise point in the process of the current target cruise point executing all un-cruised target cruise points, the second cruise path generation step specifically includes: Inputting the real-time wind force prediction information of the target cruise area at each moment in the cruise cycle into the wind fluid model of the target cruise area to obtain the actual wind speed parameter and the actual wind direction parameter at each position in the target cruise area; The distance of each unit path from the current target cruise point to each other un-cruised target cruise point is divided by the cumulative sum of the quotients of the actual wind speed parameter and the actual wind direction parameter of each unit path from the current target cruise point to each other un-cruised target cruise point, and the second cruise path that executes all un-cruised target cruise points from the current target cruise point is solved.
7. A UAV steering gear control device, characterized in that: include: An acquisition module is used to acquire a cruise mission in a target cruise area; wherein the cruise mission includes a cruise drone, a cruise cycle, and a number of target cruise points in the target cruise area through which the cruise path passes; A judgment module is used to obtain the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle at the initial moment of the cruise cycle, and judge the wind force change state in the cruise cycle; A division module, for dividing the cruise cycle into a plurality of alternating first cruise stages and second cruise stages based on the wind force variation state within the cruise cycle; wherein the first cruise stage is configured as a continuous period in which the wind force variation state in the cruise cycle meets the stability requirement, and the second cruise stage is configured as a continuous period in the cruise cycle that is adjacent to the first cruise stage and is not the first cruise stage; A generation module is used to generate a first cruise path for each first cruise stage and a second cruise path for each second cruise stage according to the real-time wind force prediction information of the target cruise area at each moment in the cruise cycle; specifically comprising: in each first cruise stage, using the real-time wind force prediction information of the target cruise area at each moment in the cruise cycle, with the goal of minimizing the total cruise energy consumption of the current target cruise point to complete all the un-cruised target cruise points; wherein the first cruise path includes a number of un-cruised first target cruise points arranged in a cruise sequence; converting the first cruise path into a UAV servo control instruction set and sending it to the cruise UAV to drive the cruise UAV to perform the first cruise action; in each second cruise stage, using the real-time wind force prediction information of the target cruise area at each moment in the cruise cycle, with the goal of minimizing the cruise time from each target cruise point to the next un-cruised target cruise point in the process of the current target cruise point completing all the un-cruised target cruise points, generating a second cruise path; wherein the second cruise path includes a number of un-cruised second target cruise points arranged in a cruise sequence; converting the second cruise path into a UAV servo control instruction set and sending it to the cruise UAV to drive the cruise UAV to perform the second cruise action; A cruise module, used for converting the first cruise path and the second cruise path into a UAV steering gear control instruction set and sending it to the cruise UAV, so as to drive the cruise UAV to perform the cruise action for each target cruise point in the first cruise path and the second cruise path according to the chronological relationship of the cruise phase; The return module is used to return to re-execute the steps of obtaining the real-time wind force forecast information of the target cruise area at each moment in the cruise cycle and judging the wind force change state in the cruise cycle when passing the target cruise point in each second cruise path, until the cruise drone completes the cruise action of all target cruise points in the target cruise area.
8. A UAV steering gear control device, characterized in that: The UAV servo control device comprises: a memory, a processor and a UAV servo control program stored in the memory and executable on the processor. When the UAV servo control program is executed by the processor, the steps of the UAV servo control method according to any one of claims 1 to 6 are implemented.
9. A storage medium, characterized in that: The storage medium stores a UAV servo control program, and when the UAV servo control program is executed by the processor, the steps of the UAV servo control method according to any one of claims 1 to 6 are implemented.
