Unmanned aerial vehicle low-power-consumption inspection method and system
Through the combination of precision small angle rotation algorithm and the total time-consuming minimum action, the drone route is optimized, and the problems of high energy consumption of large angle turns and straight-line flights are solved, and the low-power inspection of the drone is realized and the improvement of the improvement of the drone's energy consumption is achieved. Continuous patrol capability and flight efficiency.
Patent Information
- Application Number
- CN202411138430.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-11-12
AI Technical Summary
The existing drone patrol methods consume high energy when turning at high angles at waypoints and flying in a straight line, limiting the drone's long-term continuous patrol capabilities.
The precision small-angle rotation algorithm and the total time-consuming minimum action combination are used to optimize the utilization of distance between flights through small-angle turning and uniform transition modes, and reduce the hovering and attitude adjustment of the drone.
It reduces the energy consumption of drones, shortens the flight cycle, improves operating efficiency and endurance, and improves the accuracy of patrols and overall flight efficiency.
Smart Images

Figure CN118938977A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of unmanned aerial vehicle inspection, and in particular to a low-power consumption unmanned aerial vehicle inspection method and system. Background Art
[0002] The statements in this section merely provide background art related to the present invention and do not necessarily constitute prior art.
[0003] Drone inspection is to conduct detailed observation and data collection of the ground, buildings or power infrastructure through inspection equipment such as high-definition cameras, infrared thermal imagers or multi-spectral sensors carried by drones. This method can effectively supplement and replace traditional manual inspections and improve the efficiency and accuracy of inspections. Drone routes are the predetermined routes that drones need to follow during inspections. They can be regarded as the flight plan of drones. When designing drone routes, multiple factors need to be considered to ensure the safety, efficiency and accuracy of the flight.
[0004] The inventors have found that although the current drone inspection method can achieve inspection tasks for specific targets, the following problems still exist: there are multiple waypoints on the inspection route, and when turning at the waypoints, most of the time, large-angle turns are used to ensure the posture of the drone. This turning method increases the energy consumption of the drone; moreover, current drones generally adopt a straight-line flight without any action between two waypoints, and there is no targeted execution of low-power actions, which further increases the energy consumption of the drone and is not conducive to long-term continuous inspection of the drone. Summary of the invention
[0005] In order to address the deficiencies in the prior art, the present invention provides a low-power inspection method and system for unmanned aerial vehicles, which adopts a precise small-angle rotation algorithm and uses small-angle turns at waypoints to reduce power consumption. It adopts a combination of actions with the minimum total time consumption and fully utilizes the distance between flight segments to execute actions, thereby achieving optimization of actions between flight segments, further reducing power consumption and improving the continuous inspection capability of the unmanned aerial vehicle.
[0006] In order to achieve the above object, the present invention adopts the following technical solution:
[0007] In a first aspect, the present invention provides a low-power inspection method for an unmanned aerial vehicle.
[0008] A low-power inspection method for unmanned aerial vehicles includes the following processes:
[0009] According to the pre-issued route information, the route instruction set is parsed to obtain the motion element matrix of the UAV when the waypoint is converted;
[0010] Obtaining the target action of the drone and the attitude angle before the action, and obtaining the action angle corresponding to the target action according to the motion element matrix and the target action;
[0011] When the difference between the posture angle before the action and the action angle corresponding to the target action is greater than or equal to 180°, the drone rotates clockwise according to the action angle corresponding to the target action; otherwise, the drone rotates counterclockwise according to the action angle corresponding to the target action.
[0012] As a further limitation of the first aspect of the present invention, if there is a series of gimbal rotation or photo taking actions at the waypoint, a gimbal stable rotation action and action parameters are added at the waypoint so that the gimbal can complete the adjustment between the flight segments before reaching the waypoint, and directly perform the photo taking action after arriving at the waypoint.
[0013] As a further limitation of the first aspect of the present invention, the distance between two waypoints is calculated based on the longitude and latitude of the waypoints. When the distance between the two waypoints is greater than or equal to the tower distance threshold, a straight line flight is adopted between the two waypoints; otherwise, a uniform transition mode flight is adopted between the waypoints.
[0014] As a further limitation of the first aspect of the present invention, according to the existing route task, the execution time of each action is obtained and recorded as t n,i , and calculate the flight time between waypoints based on the distance between waypoints and the flight speed;
[0015] Arrange and combine the actions in the route and calculate the estimated total action time: Among them, t k,k+1 is the flight time between waypoint k and waypoint k+1, N is the total number of waypoints, n represents the nth waypoint, k represents the kth waypoint, let T min =T0, if T j ≤T min , then T min =T j , according to the total time T j The smallest action arrangement generates the final inspection route.
[0016] In a second aspect, the present invention provides a low-power consumption inspection system for unmanned aerial vehicles.
[0017] A low-power inspection system for unmanned aerial vehicles, comprising:
[0018] The motion element matrix generating unit is configured to: parse the route instruction set according to the pre-issued route information to obtain the motion element matrix when the UAV is converting the waypoint;
[0019] The action angle generating unit is configured to: obtain the target action and the attitude angle before the action of the drone, and obtain the action angle corresponding to the target action according to the motion element matrix and the target action;
[0020] The rotation judgment unit is configured as follows: when the difference between the posture angle before the action and the action angle corresponding to the target action is greater than or equal to 180°, the drone rotates clockwise according to the action angle corresponding to the target action; otherwise, the drone rotates counterclockwise according to the action angle corresponding to the target action.
[0021] As a further limitation of the second aspect of the present invention, it also includes: a gimbal adjustment unit, which is configured as follows: if there is a series of gimbal rotation or photo taking actions at the waypoint, a new gimbal stable rotation action and action parameters are added at the waypoint, so that the gimbal is adjusted between the flight segments before reaching the waypoint, and the photo taking action is directly performed after arriving at the waypoint.
[0022] As a further limitation of the second aspect of the present invention, it also includes a UAV attitude adjustment unit, which is configured to: calculate the distance between two waypoints based on the longitude and latitude at the waypoints, when the distance between the two waypoints is greater than or equal to the tower distance threshold, a straight line flight is adopted between the two waypoints; otherwise, a uniform transition mode flight is adopted between the waypoints.
[0023] As a further limitation of the second aspect of the present invention, it also includes a patrol time control unit, wherein the patrol time control unit is configured to: obtain the execution time of each action according to the existing route task, and record it as t n,i , and calculate the flight time between waypoints based on the distance between waypoints and the flight speed;
[0024] Arrange and combine the actions in the route and calculate the estimated total action time: Among them, t k,k+1 is the flight time between waypoint k and waypoint k+1, N is the total number of waypoints, n represents the nth waypoint, k represents the kth waypoint, let T min =T0, if T j ≤T min , then T min =T j , according to the total time T j The smallest action arrangement generates the final inspection route.
[0025] In a third aspect, the present invention provides a computer device, comprising: a processor and a computer-readable storage medium;
[0026] a processor adapted to execute a computer program;
[0027] A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by the processor, the low-power inspection method for a drone as described in the first aspect of the present invention is implemented.
[0028] In a fourth aspect, the present invention provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor and executing the low-power inspection method of a drone as described in the first aspect of the present invention.
[0029] In a fifth aspect, the present invention provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the low-power inspection method of the drone as described in the first aspect of the present invention.
[0030] Compared with the prior art, the present invention has the following beneficial effects:
[0031] The present invention innovatively proposes a low-power inspection method for UAVs, designs a precise small-angle rotation algorithm, and uses small-angle turns at waypoints, which not only optimizes the flight path, but also greatly reduces energy consumption while shortening the flight cycle, demonstrating the value of the algorithm in improving the operating efficiency and endurance of UAVs; it proposes the use of a combination of actions with the minimum total time consumption, fully utilizing the distance between flight segments to complete actions, reducing unnecessary hovering and large attitude adjustments of the UAV at waypoints, achieving compression of hovering time and a significant reduction in energy consumption, thereby comprehensively improving the overall flight efficiency and the accuracy of mission execution.
[0032] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0034] Figure 1 A schematic diagram of the process of the low-power inspection method of a drone provided in Embodiment 1 of the present invention;
[0035] Figure 2 A schematic diagram of a small-angle rotation trajectory provided by Embodiment 1 of the present invention;
[0036] Figure 3 A schematic diagram of the process of optimizing actions between flight segments provided in Embodiment 1 of the present invention;
[0037] Figure 4 A schematic diagram of a low-power inspection system for unmanned aerial vehicles provided in Example 2 of the present invention;
[0038] Figure 5 A schematic diagram of a computer device provided in Example 3 of the present invention. DETAILED DESCRIPTION
[0039] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0040] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0041] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.
[0042] Embodiment 1:
[0043] This implementation proposes a low-power inspection method for drones. By parsing the pre-issued route information, the action information parameters of each waypoint in the route are obtained. By judging the corresponding parameters of the waypoints in the route (such as rotation direction, yaw angle during flight, etc.), the actions performed by the drone are analyzed, and the route actions of the drone are optimized accordingly: a small-angle path rotation is adopted at the waypoints; the distance between waypoints is fully utilized to perform actions that can be completed, and a low-energy route strategy for the drone is automatically generated, and finally an executable route for the drone is generated. Specifically, Figure 1 As shown, the following process is included:
[0044] S1.1: According to the pre-issued route information, the route instruction set is parsed to obtain the motion element matrix of the UAV when the waypoint is converted;
[0045] S1.2: Obtain the target action of the drone and the attitude angle before the action, and obtain the action angle corresponding to the target action according to the motion element matrix and the target action;
[0046] S1.3: When the difference between the posture angle before the action and the action angle corresponding to the target action is greater than or equal to 180°, the UAV rotates clockwise according to the action angle corresponding to the target action; otherwise, the UAV rotates counterclockwise according to the action angle corresponding to the target action.
[0047] In this implementation, the for loop algorithm is used to obtain the waypoint coordinate information and the action information at the waypoint, and form a motion element matrix:
[0048]
[0049] Where, (n≥0,0≤i≤10), n is the waypoint number, X is the waypoint longitude, Y is the waypoint latitude, θ is the pitch angle, Ψ is the heading angle, φ is the roll angle, A is the action type, B is the action parameter, A n,i is the i-th action type of the n-th waypoint, B n,iis the value of the ith action type of the nth waypoint, φ n is the roll angle of the nth waypoint, θ n is the pitch angle of the nth waypoint, Ψ n is the heading angle of the nth waypoint, X n is the longitude of the nth waypoint, Y n is the latitude of the nth waypoint.
[0050] If there is no action, the action type and action parameters are assigned a value of 0.
[0051] Set target action A n,aim = "rotateYaw" (i.e. the rotation of the aircraft's yaw angle), if A n,i =A n,aim , then let B n,aim =B n,i , otherwise B n,aim =0.
[0052] Let X n,z is the posture angle before the action. If the rotation angle is selected to be clockwise, the variable Rot = 1; if the rotation angle is selected to be counterclockwise, the variable Rot = 0, that is:
[0053] If X n,z -B n,aim ≥180, then Rot=1, i.e. clockwise rotation;
[0054] If X n,z -B n,aim <180, then Rot=0, that is, counterclockwise rotation.
[0055] More specifically, the drone has two options for turning from the current angle to the target angle: clockwise or counterclockwise. If it turns X degrees in one direction, it needs to turn 360-X degrees in the other direction. Here, a small angle is selected through calculation to determine the rotation direction. Figure 2 As shown, the inner circle is a small angle and the outer circle is a large angle.
[0056] The above optimization strategy makes the UAV rotate at a small angle at the waypoint, such as Figure 2 As shown in the figure, the core of the autonomous route control system integrated into the drone not only optimizes the flight path, but also significantly reduces energy consumption while shortening the flight cycle, demonstrating the value of the algorithm in improving the operating efficiency and endurance of drones.
[0057] In this implementation, the inter-segment actions are also optimized, such as Figure 3 As shown, specifically, including:
[0058] S2.1: Gimbal adjustment control, retrieve parameter matrix, if there is action series A at the waypoint x =Aaim = (A n,i = "gimbalRotate", A n,i+1 = "takePhoto"), then a new action parameter A = "gimbalEvenlyRotate", B = B is added at the waypoint n,i , so that the gimbal is adjusted between flight segments, the hovering time is reduced, and then it jumps to the next waypoint, continuously retrieving the parameter matrix using a for loop statement.
[0059] More specifically, the overall action series is to adjust the gimbal and take pictures; if this action exists at the waypoint, the gimbal can be adjusted during the flight to this waypoint, reducing the action of hovering and adjusting the gimbal after reaching the navigation point; then, only the first action at the waypoint takes the adjustment between waypoints, and the second and third adjustments of the gimbal and taking pictures after reaching the waypoint have nothing to do with the flight segments between waypoints, so this waypoint ends and jumps to the next waypoint.
[0060] S2.2: UAV attitude adjustment. Calculate the distance D between waypoints according to the longitude and latitude at the waypoint, set the tower distance threshold, and set it as X. If
[0061] D ≥ X, then fly straight between waypoints, and set the flight mode parameter between waypoints as "followWayline";
[0062] D < X, then adopt a uniform transition mode between waypoints, and set the flight mode parameter between waypoints as "smoothTransition".
[0063] The meaning of the "uniform transition mode" here is that during the flight, the fuselage of the UAV rotates simultaneously, and when reaching the waypoint, it just reaches the target yaw angle.
[0064] S2.3: Inspection time control. According to the existing route task, observe the execution time of each type of action to form a record, and record the execution time of each action as t n,i , and calculate the flight time between waypoints according to the distance D between waypoints and the flight speed v;
[0065] Make permutations and combinations of each action in the route (on the premise of completing the inspection tasks of each waypoint), and calculate the estimated total action time:
[0066]
[0067] t k,k+1 is the flight time between waypoint k and waypoint k + 1, N is the total number of waypoints, set T min = T0. If T j ≤ T min , then T min = T j, record the arrangement with the shortest total time and generate a route file.
[0068] This implementation method adopts a combination of actions with the shortest total time consumption, fully utilizes the distance between flight segments to complete the action, reduces unnecessary hovering and large attitude adjustments of the UAV at waypoints, achieves compression of hovering time and significant reduction of energy consumption, and thus comprehensively improves the overall flight efficiency and accuracy of mission execution.
[0069] Embodiment 2:
[0070] like Figure 4 As shown, this implementation method provides a low-power inspection system for unmanned aerial vehicles, including:
[0071] The motion element matrix generating unit is configured to: parse the route instruction set according to the pre-issued route information to obtain the motion element matrix when the UAV is converting the waypoint;
[0072] The action angle generating unit is configured to: obtain the target action and the attitude angle before the action of the drone, and obtain the action angle corresponding to the target action according to the motion element matrix and the target action;
[0073] The rotation judgment unit is configured as follows: when the difference between the posture angle before the action and the action angle corresponding to the target action is greater than or equal to 180°, the drone rotates clockwise according to the action angle corresponding to the target action; otherwise, the drone rotates counterclockwise according to the action angle corresponding to the target action.
[0074] The system also includes: a gimbal adjustment unit, which is configured to: if there is a series of gimbal rotation and photo taking actions at the waypoint, then add a gimbal stable rotation action and action parameters at the waypoint, so that the gimbal is adjusted between the flight segments before reaching the waypoint, so that the photo taking action can be directly performed after the waypoint is obtained.
[0075] The system also includes a UAV attitude adjustment unit, which is configured to: calculate the distance between two waypoints based on the longitude and latitude of the waypoints, and when the distance between the two waypoints is greater than or equal to the tower distance threshold, a straight line flight is adopted between the two waypoints; otherwise, a uniform transition mode flight is adopted between the waypoints.
[0076] The system further includes an inspection time control unit, which is configured to: obtain the execution time of each action according to the existing route task and record it as t n,i , and calculate the flight time between waypoints based on the distance between waypoints and the flight speed;
[0077] Arrange and combine the actions in the route and calculate the estimated total action time: Among them, t k,k+1is the flight time between waypoint k and waypoint k+1, N is the total number of waypoints, n represents the nth waypoint, k represents the kth waypoint, let T min =T0, if T j ≤T min , then T min =T j , according to the total time T j The smallest action arrangement generates the final inspection route.
[0078] The detailed working process of each unit is described in Example 1, which will not be repeated here.
[0079] It is understandable that the above-mentioned modules can be separately or completely combined into one or several other units to constitute, or one (some) of the units can be further divided into multiple functionally smaller units to constitute, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above-mentioned units are divided based on logical functions. In actual applications, the functions of one unit can also be implemented by multiple units, or the functions of multiple units can be implemented by one unit. In other embodiments of the present application, the UAV low-power inspection system may also include other units. In actual applications, these functions can also be implemented with the assistance of other units, and can be implemented by the collaboration of multiple units.
[0080] According to another embodiment of the present application, the system described in this embodiment can be constructed, and the low-power inspection method for unmanned aerial vehicles of the embodiment of the present application can be implemented by running a computer program (including program code) capable of executing the steps involved in the corresponding method described in Example 1 on a general computing device such as a computer including processing elements and storage elements such as a central processing unit (CPU), random access memory (RAM), and read-only memory (ROM). The computer program can be recorded on, for example, a computer-readable recording medium, and loaded into the above-mentioned computing device through the computer-readable recording medium, and run therein.
[0081] Embodiment 3:
[0082] like Figure 5 As shown, this implementation provides an electronic device, which includes a processor 1001, a communication interface 1002, and a computer-readable storage medium 1003. The processor 1001, the communication interface 1002, and the computer-readable storage medium 1003 may be connected via a bus or other means.
[0083] Among them, the communication interface 1002 is used to receive and send data, the computer-readable storage medium 1003 can be stored in the memory of the electronic device, the computer-readable storage medium 1003 is used to store a computer program, the computer program includes program instructions, and the processor 1001 is used to execute the program instructions stored in the computer-readable storage medium 1003.
[0084] Processor 1001 (or CPU (Central Processing Unit)) is the computing core and control core of the electronic device, which is suitable for implementing one or more instructions, specifically suitable for loading and executing one or more instructions to implement corresponding method processes or corresponding functions.
[0085] The processor 1001 is configured to execute the following process:
[0086] According to the pre-issued route information, the route instruction set is parsed to obtain the motion element matrix of the drone when the waypoint is converted;
[0087] Obtaining the target action of the drone and the attitude angle before the action, and obtaining the action angle corresponding to the target action according to the motion element matrix and the target action;
[0088] When the difference between the posture angle before the action and the action angle corresponding to the target action is greater than or equal to 180°, the drone rotates clockwise according to the action angle corresponding to the target action; otherwise, the drone rotates counterclockwise according to the action angle corresponding to the target action.
[0089] The processor 1001 is further configured to execute the following process:
[0090] When there is a series of gimbal rotation or photo taking actions at the waypoint, a gimbal stable rotation action and action parameters are added at the waypoint to make the gimbal adjust between the flight segments before reaching the waypoint, so that the photo taking action can be performed directly after the waypoint is reached;
[0091] The distance between the two waypoints is calculated based on the longitude and latitude of the waypoints. When the distance between the two waypoints is greater than or equal to the tower distance threshold, a straight line flight is adopted between the two waypoints; otherwise, a uniform transition mode flight is adopted between the waypoints;
[0092] According to the existing route tasks, the execution time of each action is obtained and recorded as t n,i , and calculate the flight time between waypoints based on the distance between waypoints and the flight speed;
[0093] Arrange and combine the actions in the route and calculate the estimated total action time: Among them, t k,k+1is the flight time between waypoint k and waypoint k+1, N is the total number of waypoints, n represents the nth waypoint, k represents the kth waypoint, let T min =T0, if T j ≤T min , then T min =T j , according to the total time T j The smallest action arrangement generates the final inspection route.
[0094] Embodiment 4:
[0095] This implementation provides a computer-readable storage medium (Memory), which is a memory device in an electronic device for storing programs and data. It is understandable that the computer-readable storage medium here can include both built-in storage media in the electronic device and, of course, extended storage media supported by the electronic device. The computer-readable storage medium provides a storage space that stores the processing system of the electronic device.
[0096] In addition, the storage space also stores one or more instructions suitable for being loaded and executed by the processor, and these instructions may be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk storage; optionally, it may also be at least one computer-readable storage medium located away from the aforementioned processor.
[0097] In one embodiment, the computer-readable storage medium stores one or more instructions; the processor loads and executes the one or more instructions stored in the computer-readable storage medium to implement the following process:
[0098] According to the pre-issued route information, the route instruction set is parsed to obtain the motion element matrix of the drone when the waypoint is converted;
[0099] Obtaining the target action of the drone and the attitude angle before the action, and obtaining the action angle corresponding to the target action according to the motion element matrix and the target action;
[0100] When the difference between the posture angle before the action and the action angle corresponding to the target action is greater than or equal to 180°, the drone rotates clockwise according to the action angle corresponding to the target action; otherwise, the drone rotates counterclockwise according to the action angle corresponding to the target action.
[0101] The processor 1001 is further configured to execute the following process:
[0102] When there is a series of gimbal rotation or photo taking actions at the waypoint, a gimbal stable rotation action and action parameters are added at the waypoint to make the gimbal adjust between the flight segments before reaching the waypoint, so that the photo taking action can be performed directly after the waypoint is reached;
[0103] The distance between the two waypoints is calculated based on the longitude and latitude of the waypoints. When the distance between the two waypoints is greater than or equal to the tower distance threshold, a straight line flight is adopted between the two waypoints; otherwise, a uniform transition mode flight is adopted between the waypoints;
[0104] According to the existing route tasks, the execution time of each action is obtained and recorded as t n,i , and calculate the flight time between waypoints based on the distance between waypoints and the flight speed;
[0105] Arrange and combine the actions in the route and calculate the estimated total action time: Among them, t k,k+1 is the flight time between waypoint k and waypoint k+1, N is the total number of waypoints, n represents the nth waypoint, k represents the kth waypoint, let T min =T0, if T j ≤T min , then T min =T j , according to the total time T j The smallest action arrangement generates the final inspection route.
[0106] Embodiment 5:
[0107] The present implementation provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device performs the following process:
[0108] According to the pre-issued route information, the route instruction set is parsed to obtain the motion element matrix of the drone when the waypoint is converted;
[0109] Obtaining the target action of the drone and the attitude angle before the action, and obtaining the action angle corresponding to the target action according to the motion element matrix and the target action;
[0110] When the difference between the posture angle before the action and the action angle corresponding to the target action is greater than or equal to 180°, the drone rotates clockwise according to the action angle corresponding to the target action; otherwise, the drone rotates counterclockwise according to the action angle corresponding to the target action.
[0111] The processor 1001 is further configured to execute the following process:
[0112] When there is a series of gimbal rotation or photo taking actions at the waypoint, a gimbal stable rotation action and action parameters are added at the waypoint to make the gimbal adjust between the flight segments before reaching the waypoint, so that the photo taking action can be performed directly after the waypoint is reached;
[0113] The distance between the two waypoints is calculated based on the longitude and latitude of the waypoints. When the distance between the two waypoints is greater than or equal to the tower distance threshold, a straight line flight is adopted between the two waypoints; otherwise, a uniform transition mode flight is adopted between the waypoints;
[0114] According to the existing route tasks, the execution time of each action is obtained and recorded as t n,i , and calculate the flight time between waypoints based on the distance between waypoints and the flight speed;
[0115] Arrange and combine the actions in the route and calculate the estimated total action time: Among them, t k,k+1 is the flight time between waypoint k and waypoint k+1, N is the total number of waypoints, n represents the nth waypoint, k represents the kth waypoint, let T min =T0, if T j ≤T min , then T min =T j , according to the total time T j The smallest action arrangement generates the final inspection route.
[0116] A person skilled in the art can appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0117] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing computer program instructions on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instruction can be stored in a computer-readable storage medium or transmitted by a computer-readable storage medium. The computer instruction can be transmitted from a website site, a computer, a server or a data center to another website site, a computer, a server or a data center by wired (for example, coaxial cable, optical fiber, digital line (DSL)) or wireless (for example, infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data processing device such as a server, a data center, etc. that contains one or more available media integration. Available media can be magnetic media (for example, floppy disk, hard disk, tape), optical media (for example, DVD), or semiconductor media (for example, solid-state drive (Solid State Disk, SSD)) and the like.
[0118] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A low-power inspection method for unmanned aerial vehicles, characterized in that: The process includes: According to the pre-issued route information, the route instruction set is parsed to obtain the motion element matrix of the drone when the waypoint is converted; Obtaining the target action of the drone and the attitude angle before the action, and obtaining the action angle corresponding to the target action according to the motion element matrix and the target action; When the difference between the posture angle before the action and the action angle corresponding to the target action is greater than or equal to 180°, the drone rotates clockwise according to the action angle corresponding to the target action; otherwise, the drone rotates counterclockwise according to the action angle corresponding to the target action.
2. The low-power inspection method for unmanned aerial vehicles according to claim 1, characterized in that: If there is a series of gimbal rotation or photo taking actions at the waypoint, a gimbal stable rotation action and action parameters are added at the waypoint to adjust the gimbal between the flight segments before reaching the waypoint, so that the photo taking action can be performed directly at the waypoint.
3. The low-power inspection method for unmanned aerial vehicles according to claim 1, characterized in that: The distance between the two waypoints is calculated according to the longitude and latitude of the waypoints. When the distance between the two waypoints is greater than or equal to the tower distance threshold, a straight line flight is adopted between the two waypoints; otherwise, a uniform transition mode flight is adopted between the waypoints.
4. The low-power inspection method for unmanned aerial vehicles according to claim 1, characterized in that: According to the existing route tasks, the execution time of each action is obtained and recorded as t n,i , and calculate the flight time between waypoints based on the distance between waypoints and the flight speed; Arrange and combine the actions in the route and calculate the estimated total action time: Among them, t k,k+1 is the flight time between waypoint k and waypoint k+1, N is the total number of waypoints, n represents the nth waypoint, k represents the kth waypoint, let T min =T0, if T j ≤T min , then T min =T j , according to the total time T j The smallest action arrangement generates the final inspection route.
5. A low-power inspection system for unmanned aerial vehicles, characterized in that: include: The motion element matrix generating unit is configured to: parse the route instruction set according to the pre-issued route information to obtain the motion element matrix of the UAV when the waypoint is converted; The action angle generating unit is configured to: obtain the target action and the attitude angle before the action of the drone, and obtain the action angle corresponding to the target action according to the motion element matrix and the target action; The rotation judgment unit is configured as follows: when the difference between the posture angle before the action and the action angle corresponding to the target action is greater than or equal to 180°, the drone rotates clockwise according to the action angle corresponding to the target action; otherwise, the drone rotates counterclockwise according to the action angle corresponding to the target action.
6. The low-power inspection system for unmanned aerial vehicles according to claim 5, characterized in that: The system further comprises: a gimbal adjustment unit, wherein the gimbal adjustment unit is configured to: if there is a series of gimbal rotation or photo-taking actions at the waypoint, then add a gimbal stable rotation action and action parameters at the waypoint, so that the gimbal is adjusted between the flight segments before reaching the waypoint, so that the photo-taking action is directly performed at the waypoint; It also includes a UAV attitude adjustment unit, which is configured to: calculate the distance between two waypoints based on the longitude and latitude of the waypoints, and when the distance between the two waypoints is greater than or equal to the tower distance threshold, a straight line flight is adopted between the two waypoints; otherwise, a uniform transition mode flight is adopted between the waypoints.
7. The low-power inspection system for unmanned aerial vehicles according to claim 6, characterized in that: It also includes an inspection time control unit, which is configured to: obtain the execution time of each action according to the existing route task and record it as t n,i , and calculate the flight time between waypoints based on the distance between waypoints and the flight speed; Arrange and combine the actions in the route and calculate the estimated total action time: Among them, t k,k+1 is the flight time between waypoint k and waypoint k+1, N is the total number of waypoints, n represents the nth waypoint, k represents the kth waypoint, let T min =T0, if T j ≤T min , then T min =T j , according to the total time T j The smallest action arrangement generates the final inspection route.
8. A computer device, characterized in that: include: A processor and a computer readable storage medium; a processor adapted to execute a computer program; A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by the processor, the low-power inspection method for a drone as described in any one of claims 1 to 4 is implemented.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor and executing the low-power inspection method for a drone as described in any one of claims 1 to 4.
10. A computer program product, characterized in that The computer program product includes a computer program, and when the computer program is executed by a processor, it implements the low-power consumption inspection method of the drone as described in any one of claims 1 to 4.
