Artificial intelligence-based unmanned aerial vehicle inspection control method, device, equipment and medium
Through the artificial intelligence-based drone inspection control method, image information is used to identify obstacles and faults and plan the inspection path, which solves the problems of long emergency response time and incomplete data in the traditional drone inspection control method, and realizes Supplement the inspection data quickly and accurately.
Patent Information
- Application Number
- CN202311784256.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-23
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2043-12-23
AI Technical Summary
Traditional drone inspection control methods rely on manual operation, resulting in long emergency response times and prone to incomplete inspection data.
Adopt an artificial intelligence-based drone inspection control method to obtain survey image information, determine the area to be inspected and obstacle information, plan take-off and landing positions and inspection paths, identify faulty drones and generate control instructions for rapid regulation Drones to supplement inspection data.
It improves UAV emergency response time, ensures the integrity of inspection data, and enhances the accuracy and safety of inspection paths.
Smart Images

Figure CN117452970B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of drone control, and in particular to an artificial intelligence-based drone inspection control method, device, equipment and medium. Background Art
[0002] With the rapid development and popularization of drone technology, drones are being used more and more widely in all walks of life; especially in the field of inspection, the use of drones has become an important inspection method; therefore, emergency control of drone inspections has become increasingly important.
[0003] Traditional drone inspection control methods mainly rely on manual operation. When a drone failure is discovered, the drone is manually dispatched to fill the vacancy.
[0004] However, since traditional drone inspection control methods mainly rely on manual intervention and adjustment, drones cannot be quickly adjusted, emergency response takes too long, and incomplete inspection data is prone to occur. Summary of the invention
[0005] In order to shorten the emergency response time of drones, the present application provides a drone inspection control method, device, equipment and medium based on artificial intelligence.
[0006] In the first aspect, the present application provides a drone inspection control method based on artificial intelligence, which adopts the following technical solutions:
[0007] An artificial intelligence-based unmanned aerial vehicle inspection control method, comprising:
[0008] Acquire survey image information;
[0009] Based on the survey image information, determine the area to be inspected and obstacle information;
[0010] Based on the area to be inspected, determine the take-off and landing position information, where the take-off and landing position information is the position information corresponding to the take-off point at the beginning of the inspection and the landing point at the end of the inspection of the drone;
[0011] Determine inspection path information based on the obstacle information and the take-off and landing position information;
[0012] Obtaining inspection image information of the drone during inspection;
[0013] If the inspection image information is inconsistent with the preset inspection image information, the fault location information corresponding to the faulty UAV and the adjacent location information corresponding to the UAVs adjacent to the faulty UAV are determined;
[0014] Based on the fault location information, the adjacent location information and the inspection path information, a first control instruction of the UAV is generated.
[0015] By adopting the above technical solution, after obtaining the survey image information, the area to be inspected and the obstacle information are determined through the survey image information, so as to conduct a preliminary survey of the area to be inspected, and provide a basis for the subsequent planning of the inspection path information; then, according to the area to be inspected, the position information corresponding to the start and end of the drone inspection is planned, and the take-off and landing position information is determined; thereafter, the route of the drone during the inspection is planned according to the obstacle information and the take-off and landing position information, and the inspection path information is determined, so as to effectively plan the inspection route of the drone inspection; the obtained inspection image information is compared with the preset inspection image threshold, if the inspection image information is inconsistent with the preset inspection image threshold, it means that the drone may have a fault and cannot transmit the inspection image information normally, and then the fault position information corresponding to the faulty drone and the adjacent position information corresponding to the neighboring drones of the faulty drone are determined; according to the fault position information, the adjacent position information and the inspection path information, the first control instruction of the drone is generated, so as to control the drone that has not failed to quickly make up for the incomplete inspection data caused by the fault; thereby improving the emergency efficiency and shortening the emergency response time of the drone.
[0016] In a possible implementation, the determining the area to be inspected and obstacle information based on the survey image information includes:
[0017] Extracting features from the survey image information to determine feature information, wherein the feature information includes features of each obstacle and features of a detection target in the survey image information;
[0018] Identify the characteristic information and determine the detection target position;
[0019] Based on the detected target position, determining the area to be inspected;
[0020] Performing edge detection on the feature information to determine contour information, wherein the contour information includes the contour of each obstacle in the survey image information;
[0021] Based on the contour information, the obstacle information is determined.
[0022] By adopting the above technical solution, the features of the survey image information are extracted to obtain feature information; then the feature information is identified, and the location of the detection target, that is, the detection target location, is determined by detecting the target features; based on the detection target location, the area to be inspected is determined to ensure that each detection target is included in the area to be inspected; then, the edge of the feature information is extracted to accurately determine the contour information of each obstacle in the feature information; the contour information is identified to determine the obstacle information; thereby improving the accuracy of path planning.
[0023] In a possible implementation manner, determining inspection path information based on the obstacle information and the take-off and landing position information includes:
[0024] Based on the obstacle information, determining the obstacle influence range;
[0025] Determining a route range based on the obstacle influence range and the detected target position;
[0026] The inspection path information is determined according to the route range and the take-off and landing position information.
[0027] By adopting the above technical solution, after determining the obstacle information, the obstacle influence range is determined through analysis, thereby avoiding collision with the obstacle and improving the safety of the aircraft; then, according to the obstacle influence range and the detection target position, the route range is determined, thereby improving the efficiency of navigation; based on the heading range and take-off and landing position information, the inspection path information is planned, thereby improving the accuracy of the inspection path.
[0028] In a possible implementation, determining the take-off and landing position information based on the area to be inspected includes:
[0029] Obtain environmental information;
[0030] Based on the area to be inspected and the environmental information, candidate location information is determined, where the candidate location information is location information corresponding to a candidate point for take-off or landing of the drone;
[0031] If the candidate location information is consistent with the preset candidate location information, determining an evaluation result;
[0032] If the evaluation result meets the preset evaluation result, the candidate position information is determined to be the take-off and landing position information.
[0033] By adopting the above technical solution, after obtaining the environmental information, the location information corresponding to the candidate point for take-off or landing of the UAV is determined by identifying the inspection area and the environmental information, that is, the candidate location information; if the candidate location information is consistent with the preset candidate location information, it means that the candidate location information meets the standards for take-off and landing of the UAV, and the evaluation result corresponding to each candidate location information is determined according to the evaluation standard database; if the evaluation result is greater than the preset evaluation result, it means that it is more convenient to select the candidate location information for take-off or landing, and the candidate location information is determined as the take-off and landing location information, thereby determining the best take-off and landing position.
[0034] In a possible implementation, determining the adjacent position information corresponding to the faulty drone and the neighboring drones of the faulty drone includes:
[0035] Extracting features from the inspection image information to determine color feature information;
[0036] Based on the color characteristic information, determining a first quantity corresponding to the black characteristic information and a second quantity corresponding to the color characteristic information;
[0037] Calculate the ratio of the first quantity to the second quantity to determine characteristic ratio information;
[0038] If the characteristic feature information is greater than a preset characteristic ratio threshold, determining that the inspection image information is fault image information;
[0039] Obtaining the operating status and location information of the drone corresponding to the fault image information;
[0040] Determine the faulty drone based on the fault image information and the operating status;
[0041] The adjacent position information is determined according to the drone position information and the faulty drone.
[0042] By adopting the above technical solution, after obtaining the inspection image information, the inspection image is feature extracted to determine the color feature information corresponding to the inspection image information; then, the first quantity and the second quantity corresponding to the black feature information and the color feature information are counted; the first quantity and the second quantity are ratio-calculated to determine the feature ratio information, and the calculated feature ratio information is compared with the preset feature ratio threshold value. If the feature ratio information is greater than the preset feature ratio information, it means that the inspection image information obtained at this time is abnormal and the complete inspection image information cannot be obtained, and the inspection image information is set as the fault image information; after receiving the operating status and the position information of the drone, if the operating status is normal operation, it means that there may be a problem with the image transmission at this time; according to the drone position information and the faulty drone, the position of the drone adjacent to the drone, that is, the adjacent position information, is determined.
[0043] In a possible implementation, the generating a first control instruction of the drone based on the fault location information, the adjacent location information, and the inspection path information includes:
[0044] Based on the fault location information and the adjacent location information, determine the vacant area information, where the vacant area information is the area that the faulty drone needs to patrol after the fault;
[0045] Based on the vacant area information, determining moving area information, the moving area information being the area that the faulty drone needs to move when neighboring drones inspect the vacant area information;
[0046] Determine emergency path information according to the moving area information and the inspection path information;
[0047] Determine the emergency duration according to the emergency path information;
[0048] Based on the emergency path information and the emergency duration, a first control instruction for the drone is generated.
[0049] By adopting the above technical solution, after determining the adjacent position information, the vacant area information is obtained by analyzing the fault position information and the adjacent position information, thereby determining the area that the drone adjacent to the faulty drone needs to patrol; then, based on the vacant area information, determine the moving area information; after determining the moving area information, use the path planning algorithm to re-plan the inspection path information and determine the emergency path information to ensure that all areas to be inspected can be inspected; through the analysis of the emergency path information, determine the emergency duration corresponding to each drone adjacent to the faulty drone, then, based on the emergency path information and the emergency duration, generate the corresponding drone first control instruction; thereby completing the emergency control.
[0050] In a possible implementation, the determining of the emergency duration further includes:
[0051] If the emergency duration is not less than the preset emergency duration threshold, new emergency path information is determined;
[0052] Based on the new emergency path information, a second control instruction for the UAV is generated.
[0053] By adopting the above technical solution, after the emergency duration is determined, if the emergency duration is greater than the emergency duration threshold, it means that the emergency duration of the drone is too long to quickly make up for the gap, resulting in incomplete data obtained from the inspection, and new emergency path information is determined; through the new emergency path information, the second control instruction of the drone is generated, so as to control the drone to complete new emergency regulation.
[0054] In the second aspect, the present application provides an artificial intelligence-based drone inspection control device, which adopts the following technical solutions:
[0055] An artificial intelligence-based unmanned aerial vehicle inspection control device comprises: a survey image information acquisition module, a first information determination module, a take-off and landing position information determination module, an inspection path information determination module, an inspection image information acquisition module, a second information determination module and a first control instruction generation module, wherein:
[0056] A survey image information acquisition module, used to acquire survey image information;
[0057] A first information determination module, used to determine the area to be inspected and obstacle information based on the survey image information;
[0058] A take-off and landing position information determination module is used to determine the take-off and landing position information based on the area to be inspected, wherein the take-off and landing position information is the position information corresponding to the take-off point at the beginning of the inspection of the drone and the landing point at the end of the inspection;
[0059] A patrol path information determination module, used to determine the patrol path information based on the obstacle information and the take-off and landing position information;
[0060] An inspection image information acquisition module is used to acquire inspection image information during the inspection of the drone;
[0061] A second information determination module is used to determine the fault location information corresponding to the faulty UAV and the adjacent location information corresponding to the UAVs adjacent to the faulty UAV if the inspection image information is inconsistent with the preset inspection image information;
[0062] The first control instruction generating module is used to generate a first control instruction for the UAV based on the fault location information, the adjacent location information and the inspection path information.
[0063] By adopting the above technical solution, after the survey image information acquisition module obtains the survey image information, the first information determination module determines the area to be inspected and the obstacle information through the survey image information, thereby conducting a preliminary survey of the area to be inspected, and providing a basis for the subsequent planning of the inspection path information; then, the take-off and landing position information determination module plans the position information corresponding to the start and end of the drone inspection according to the area to be inspected, and determines the take-off and landing position information; thereafter, the inspection path information determination module plans the route of the drone during the inspection according to the obstacle information and the take-off and landing position information, and determines the inspection path information, thereby effectively planning the inspection route of the drone inspection; the inspection image information The inspection image information acquired by the acquisition module is compared with the preset inspection image threshold. If the inspection image information is inconsistent with the preset inspection image threshold, it means that the drone may have a fault and cannot transmit the inspection image information normally. Then the second information determination module determines the fault location information corresponding to the faulty drone and the adjacent location information corresponding to the drones adjacent to the faulty drone; the first control instruction generation module generates the first control instruction for the drone based on the fault location information, adjacent location information and inspection path information, so as to control the drones that have not failed to quickly make up for the incomplete inspection data caused by the fault; thereby improving emergency efficiency and shortening the emergency response time of the drone.
[0064] In a possible implementation, the first information determination module includes: a feature information determination unit, a detection target position determination unit, a to-be-inspected area determination unit, a contour information determination unit, and an obstacle information determination unit, wherein:
[0065] A feature information determination unit, configured to extract features from the survey image information and determine feature information, wherein the feature information includes features of each obstacle and features of a detection target in the survey image information;
[0066] A detection target position determination unit, used to identify the feature information and determine the detection target position;
[0067] A unit for determining an area to be inspected, used for determining an area to be inspected based on the detection target position;
[0068] A contour information determination unit, used to perform edge detection on the feature information to determine contour information, wherein the contour information includes the contour of each obstacle in the survey image information;
[0069] An obstacle information determining unit is used to determine the obstacle information based on the contour information.
[0070] In a possible implementation, the inspection path information determination module includes: an impact range determination unit, a route range determination unit, and an inspection path information determination unit, wherein:
[0071] An influence range determining unit, configured to determine an influence range of an obstacle based on the obstacle information;
[0072] A route range determination unit, configured to determine a route range based on the obstacle influence range and the detection target position;
[0073] The inspection path information determination unit is used to determine the inspection path information according to the route range and the take-off and landing position information.
[0074] In a possible implementation, the take-off and landing position information determination module includes: an environment information acquisition unit, a candidate position information determination unit, an evaluation result determination unit, and a take-off and landing position information determination unit, wherein:
[0075] An environmental information acquisition unit, used to acquire environmental information;
[0076] A candidate position information determination unit, configured to determine candidate position information based on the area to be inspected and environmental information, wherein the candidate position information is position information corresponding to a candidate point for take-off or landing of the drone;
[0077] an evaluation result determining unit, configured to determine an evaluation result if the candidate location information is consistent with preset candidate location information;
[0078] The take-off and landing position information determining unit is used to determine that the candidate position information is the take-off and landing position information if the evaluation result meets the preset evaluation result.
[0079] In a possible implementation, the second information determination module includes: a color feature information determination unit, a quantity determination unit, a feature ratio information determination unit, a fault image information determination unit, an acquisition unit, a fault drone determination unit, and an adjacent position information determination unit, wherein:
[0080] A color feature information determination unit, used to extract features from the inspection image information and determine color feature information;
[0081] a quantity determination unit, configured to determine, based on the color characteristic information, a first quantity corresponding to the black characteristic information and a second quantity corresponding to the color characteristic information;
[0082] a characteristic ratio information determining unit, configured to calculate a ratio of the first quantity and the second quantity to determine characteristic ratio information;
[0083] a fault image information determining unit, configured to determine that the inspection image information is fault image information if the feature ratio information is greater than a preset feature ratio threshold;
[0084] An acquisition unit, used to acquire the operating status of the drone and the location information of the drone corresponding to the fault image information;
[0085] a faulty drone determining unit, configured to determine the faulty drone based on the fault image information and the operating status;
[0086] The adjacent position information determining unit is used to determine the adjacent position information according to the drone position information and the faulty drone.
[0087] In a possible implementation, the first control instruction determination includes: a vacancy area information determination unit, a moving area information determination unit, an emergency path information determination unit, an emergency duration determination unit, and an emergency plan determination unit, wherein:
[0088] A vacancy area information determination unit, configured to determine vacancy area information based on the fault location information and the adjacent location information, wherein the vacancy area information is an area that the faulty drone needs to patrol after the fault;
[0089] A moving area information determining unit, configured to determine moving area information based on the vacant area information, wherein the moving area information is an area that the faulty drone needs to move when neighboring drones inspect the vacant area information;
[0090] An emergency path information determination unit, configured to determine emergency path information according to the moving area information and the inspection path information;
[0091] An emergency duration determination unit, used to determine the emergency duration according to the emergency path information;
[0092] The emergency plan determination unit is used to generate a first control instruction for the drone based on the emergency path information and the emergency duration.
[0093] In a possible implementation, the artificial intelligence-based drone inspection control device further includes: a new emergency path information determination module and a second control instruction determination module, wherein:
[0094] A new emergency path information determination module, configured to determine new emergency path information if the emergency duration is not less than a preset emergency duration threshold;
[0095] The second control instruction determination module is used to generate a second control instruction for the UAV based on the new emergency path information.
[0096] In a third aspect, the present application provides an electronic device, which adopts the following technical solution:
[0097] An electronic device, comprising:
[0098] at least one processor;
[0099] Memory;
[0100] At least one application, wherein at least one application is stored in a memory and configured to be executed by at least one processor, and the at least one application is configured to: execute the above-mentioned artificial intelligence-based drone inspection control method.
[0101] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:
[0102] A computer-readable storage medium, comprising: storing a computer program that can be loaded by a processor and execute the above-mentioned artificial intelligence-based unmanned aerial vehicle inspection control method.
[0103] In summary, this application includes the following beneficial technical effects:
[0104] After obtaining the survey image information, the area to be inspected and the obstacle information are determined through the survey image information, so as to conduct a preliminary survey of the area to be inspected, providing a basis for the subsequent planning of the inspection path information; then, according to the area to be inspected, the location information corresponding to the start and end of the drone inspection is planned, and the take-off and landing location information is determined; thereafter, the route of the drone during the inspection is planned according to the obstacle information and the take-off and landing location information, and the inspection path information is determined, so as to effectively plan the inspection route of the drone inspection; the obtained inspection image information is compared with the preset inspection image threshold. If the inspection image information is inconsistent with the preset inspection image threshold, it means that the drone may have a fault and cannot transmit the inspection image information normally at this time, and then the fault location information corresponding to the faulty drone and the adjacent location information corresponding to the neighboring drones of the faulty drone are determined; according to the fault location information, the adjacent location information and the inspection path information, the first control instruction of the drone is generated, so as to control the drone that has not failed to quickly make up for the incomplete inspection data caused by the fault; thereby improving the emergency efficiency and shortening the emergency response time of the drone. BRIEF DESCRIPTION OF THE DRAWINGS
[0105] Figure 1 It is a flowchart of the artificial intelligence-based UAV inspection control method of the present application;
[0106] Figure 2 It is a block diagram of the artificial intelligence-based UAV inspection control device of the present application;
[0107] Figure 3 It is a schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0108] The following is combined with Figure 1-3 This application is described in further detail.
[0109] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0110] The embodiment of the present application provides an artificial intelligence-based drone inspection control method, which is executed by an electronic device, which can be a server or a terminal device, wherein the server can be an independent physical server, a server cluster or a distributed device composed of multiple physical servers, or a cloud server that provides cloud computing services. The terminal device can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., but is not limited thereto. The terminal device and the server can be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiment of the present application.
[0111] Reference Figure 1 The method comprises: step S101, step S102, step S103, step S104, step S105, step S106, and step S107, wherein:
[0112] Step S101: Acquire survey image information.
[0113] Step S102: Determine the area to be inspected and obstacle information based on the survey image information.
[0114] In the application embodiment, the survey image information is an image obtained after surveying the area to be inspected.
[0115] Specifically, before the formal inspection, in order to determine the inspection environment of the area that needs to be inspected, the area that needs to be inspected will be surveyed. When the drone surveys the area that needs to be inspected, it will transmit the survey image information to the electronic device in real time; after receiving the survey image information, the electronic device extracts features from the survey image information to obtain feature information; then, the electronic device identifies the feature information and determines the area to be inspected and the obstacle information.
[0116] Step S103: Determine the take-off and landing position information based on the area to be inspected.
[0117] In the application embodiment, the take-off and landing position information is the position information corresponding to the take-off point at the beginning of the drone inspection and the landing point at the end of the inspection.
[0118] Specifically, the electronic device draws the area to be inspected and draws a plane image of the area to be inspected. After receiving the environmental information transmitted by the technician, the electronic device immediately selects the center point of the plane image, and the electronic device scans and identifies from the center point outward; thereafter, the electronic device marks the environmental information into the plane image, identifies the area to be inspected and the environmental information, and determines the take-off and landing position information.
[0119] Step S104: Determine inspection path information based on obstacle information and take-off and landing position information.
[0120] In the application embodiment, the obstacle information includes the type, location, size, shape, and height of the obstacle, and the inspection path information includes the drone's flight altitude, inspection route, and obstacle avoidance method.
[0121] Specifically, after obtaining the obstacle information, the electronic device identifies the obstacle information. Since different obstacle types correspond to different obstacle avoidance methods, the electronic device then matches the obstacle information with the historical obstacle avoidance method database through the historical obstacle avoidance method database to determine the obstacle avoidance method of the drone during the inspection; then, the electronic device plans the inspection route based on the take-off and landing position information and the inspection path information using the path planning algorithm; at the same time, the electronic device determines the inspection path information based on the obstacle avoidance method and the inspection route.
[0122] Step S105: Obtain inspection image information during the drone inspection.
[0123] Step S106: If the inspection image information is inconsistent with the preset inspection image information, the fault location information corresponding to the faulty UAV and the adjacent location information corresponding to the UAVs adjacent to the faulty UAV are determined.
[0124] Specifically, after determining the inspection path information, the electronic device generates an inspection instruction and transmits it to the corresponding drone. Each drone is equipped with a positioning device. After receiving the inspection instruction, the drone starts the inspection task according to the inspection path information. When the drone is performing the inspection task, the captured inspection image information is transmitted to the electronic device in real time. After receiving the inspection image information, the electronic device immediately compares the inspection image information with the preset inspection image threshold. If the inspection image information is consistent with the preset inspection image threshold, it means that the drone is performing the inspection task normally and no fault occurs during the image transmission process. If the inspection image information is inconsistent with the preset inspection image threshold, it means that the drone has a fault and the electronic device cannot completely receive the inspection image information. At this time, the positioning device equipped with the faulty drone will automatically transmit its location to the electronic device. After receiving the location, the electronic device sets it as the fault location information, and determines the adjacent location information corresponding to the neighboring drones of the faulty drone by locating the fault location information.
[0125] Step S107: Generate a first control instruction for the UAV based on the fault location information, adjacent location information, and inspection path information.
[0126] In the application embodiment, the vacant area information is the area that the faulty drone needs to patrol after the fault.
[0127] Specifically, after receiving the fault location information and the adjacent location information, the electronic device determines the area that the faulty UAV needs to patrol after the fault by analyzing the fault location information and the adjacent location information, and sets it as the vacant area information; then, based on the vacant area information, the electronic device modifies the inspection path information through a path planning algorithm, plans a new path for the UAV at the adjacent location of the faulty UAV, and sets it as the emergency path information; thereafter, the electronic device generates a corresponding first control instruction for the UAV based on the emergency path information, and transmits the first control instruction for the UAV to the corresponding UAV control device.
[0128] The embodiment of the present application provides a method for controlling a drone inspection based on artificial intelligence. After obtaining survey image information, the area to be inspected and obstacle information are determined through the survey image information, thereby performing a preliminary survey on the area to be inspected, providing a basis for the subsequent planning of inspection path information; then, according to the area to be inspected, the position information corresponding to the start and end of the drone inspection is planned, and the take-off and landing position information is determined; thereafter, the route of the drone during the inspection is planned according to the obstacle information and the take-off and landing position information, and the inspection path information is determined, thereby effectively planning the inspection route of the drone inspection; the obtained inspection image information is compared with a preset inspection image threshold. If the inspection image information is inconsistent with the preset inspection image threshold, it means that the drone may have a fault and cannot transmit the inspection image information normally at this time, and then the fault position information corresponding to the faulty drone and the adjacent position information corresponding to the neighboring drones of the faulty drone are determined; according to the fault position information, the adjacent position information and the inspection path information, a first control instruction for the drone is generated, so as to control the drone that has not failed to quickly make up for the incomplete inspection data caused by the fault; thereby improving emergency efficiency and shortening the emergency response time of the drone.
[0129] In step S102, based on the survey image information, the area to be inspected and the obstacle information are determined, which specifically includes: extracting features from the survey image information to determine feature information; identifying the feature information to determine the detection target position; determining the area to be inspected based on the detection target position; performing edge detection on the feature information to determine contour information; and determining the obstacle information based on the contour information.
[0130] In the application embodiment, the feature information includes each obstacle feature and the detection target feature in the survey image information; the contour information includes each obstacle contour in the survey image information.
[0131] Specifically, the electronic device inputs the survey image information into a convolutional neural network for training, thereby obtaining feature information; the electronic device then identifies the feature information, determines the location of the detection target by detecting the target features, and sets it as the detection target location; the electronic device extends the detection target location to the surrounding area to determine the area to be inspected, ensuring that each detection target is included in the area to be inspected; thereafter, the electronic device denoises the survey image information, and then converts the denoised survey image information into a grayscale image, finds the gradient of the grayscale value, thereby extracting the edge of the feature information, and then accurately determines the contour information of each obstacle in the feature information; the electronic device identifies the contour information and determines the obstacle information.
[0132] In step S103, the take-off and landing position information is determined based on the area to be inspected, specifically including: obtaining environmental information; determining candidate position information based on the area to be inspected and the environmental information; if the candidate position information is consistent with the preset candidate position information, determining an evaluation result; if the evaluation result meets the preset evaluation result, determining that the candidate position information is the take-off and landing position information.
[0133] In the application embodiment, the environmental information includes weather conditions, wind direction information, and terrain; the candidate location information is the location information corresponding to the candidate points of the drone's take-off point and landing point.
[0134] Specifically, since different environmental information has different impacts on drone flight, the better the weather conditions, the better the downwind direction, and the better the terrain, the lower the impact on drone flight. Conversely, the worse the weather conditions, the headwind direction, and the more complex the terrain, the greater the impact on drone flight. Then, after obtaining the environmental information, the electronic device selects candidate points corresponding to the take-off point and the landing point in the area to be inspected according to the environmental information, and sets them as candidate position information; compares the candidate position information with the preset candidate position information. If the candidate position information is consistent with the preset candidate position information, it means that the candidate position information meets the standards for drone take-off and landing, and the electronic device determines the evaluation result corresponding to each candidate position information according to the evaluation standard database; if the evaluation result is greater than the preset evaluation result, it means that it is more convenient to select the candidate position information for take-off or landing, and the electronic device determines the candidate position information as the take-off and landing position information; if the evaluation result is less than the preset evaluation result, it means that when the candidate position information is selected, although it meets the standards for take-off or landing, it is not the best choice, and the electronic device then discards the candidate position information.
[0135] In step S104, based on the obstacle information and the take-off and landing position information, the inspection path information is determined, specifically including: determining the obstacle influence range based on the obstacle information; determining the route range based on the obstacle influence range and the detection target position; determining the inspection path information according to the route range and the take-off and landing position information.
[0136] Specifically, the electronic device analyzes the obstacle information and uses the inverse distance weight algorithm to determine the influence range of each obstacle; then, the electronic device plans the route range based on the obstacle influence range and the detection target position; for example, if the detection target position is opposite the obstacle, the route range needs to cross the obstacle, but avoid flying within the obstacle influence range; the electronic device uses the path planning algorithm based on the route range and take-off and landing position information to determine the inspection path information. For example, if the take-off and landing position information is located on both sides of the obstacle, the inspection path information needs to consider the route range requirements while bypassing the obstacle.
[0137] In step S106, the adjacent position information corresponding to the faulty UAV and the UAVs adjacent to the faulty UAV is determined, specifically including: performing feature extraction on the inspection image information to determine the color feature information; based on the color feature information, determining the first quantity corresponding to the black feature information and the second quantity corresponding to the color feature information; performing ratio calculation on the first quantity and the second quantity to determine the feature ratio information; if the feature ratio information is greater than a preset feature ratio threshold, determining that the inspection image information is faulty image information; obtaining the operating status of the UAV corresponding to the faulty image information and the UAV position information; determining the faulty UAV based on the faulty image information and the operating status; determining the adjacent position information based on the UAV position information and the faulty UAV.
[0138] Specifically, after the electronic device obtains the inspection image information, it uses an image processing algorithm to extract features from the inspection image and determine the color feature information corresponding to the inspection image information; the electronic device extracts the black feature information in the color feature information, and counts the first quantity and the second quantity corresponding to the black feature information and the color feature information; the electronic device then calculates the ratio of the first quantity and the second quantity to determine the feature ratio information, and compares the calculated feature ratio information with a preset feature ratio threshold. If the feature ratio information is greater than the preset feature ratio information, it means that the inspection image information obtained at this time is abnormal and the complete inspection image information cannot be obtained. The electronic device sets the inspection image information as fault image information.
[0139] Furthermore, after receiving the operating status and drone position information transmitted by the slave sensor on the drone, if the operating status is normal, it means that there may be a problem with the image transmission at this time. The electronic device sets it as a faulty drone and generates an automatic patrol instruction, and transmits it to the corresponding faulty drone to control it to automatically fly back to the starting position; if the operating status is abnormal, the electronic device immediately sets it as a faulty drone, and generates a faulty drone recovery instruction to recover the faulty drone; the electronic device determines the position of drones adjacent to the drone based on the drone position information and the faulty drone, that is, the adjacent position information.
[0140] In step S107, a first control instruction for the UAV is generated based on the fault location information, adjacent location information and inspection path information, specifically including: determining vacant area information based on the fault location information and adjacent location information; determining moving area information based on the vacant area information; determining emergency path information based on the moving area information and inspection path information; determining the emergency duration based on the emergency path information; and generating a first control instruction for the UAV based on the emergency path information and the emergency duration.
[0141] In the application embodiment, the vacant area information is the area that the faulty drone needs to patrol after the fault; the moving area information is the area that the faulty drone needs to move to when patrolling the vacant area information of the neighboring drones.
[0142] Specifically, after determining the fault location information and the adjacent location information, the electronic device analyzes and calculates the fault location information and the adjacent location information to obtain the vacant area information, thereby determining the area that the drones adjacent to the faulty drone need to patrol; then, the electronic device equally distributes the vacant area information to each drone adjacent to the faulty drone based on the vacant area information, and determines the moving area information; after determining the moving area information, the electronic device uses a path planning algorithm to re-plan the inspection path information, and determines the emergency path information to ensure that all areas to be inspected can be inspected; the electronic device determines the emergency duration corresponding to each drone adjacent to the faulty drone through emergency path information analysis, and then, the electronic device generates a corresponding drone first control instruction based on the emergency path information and the emergency duration, and transmits it to the controller corresponding to the drone adjacent to the faulty drone, controls the faulty drone to return, and the adjacent drones replace the faulty drone to complete the remaining inspection tasks.
[0143] The emergency duration is determined, and then the method further includes: if the emergency duration is not less than a preset emergency duration threshold, determining new emergency path information; and generating a second control instruction for the UAV based on the new emergency path information.
[0144] Specifically, after determining the emergency duration, the electronic device compares the emergency duration with the preset emergency duration threshold. If the emergency duration is greater than the emergency duration threshold, it means that the emergency time of the drone is too long to quickly make up for the gap, resulting in incomplete data obtained from the inspection; then, the electronic device uses the path planning algorithm to generate new emergency path information; the electronic device generates a second control instruction for the drone through the new emergency path information, and transmits it to the corresponding drone controller, controlling the faulty drone to perform a return operation while controlling the adjacent drones involved in the new emergency path information to complete the remaining operations.
[0145] Reference Figure 2 The artificial intelligence-based UAV inspection control device 20 includes: a survey image information acquisition module 201, a first information determination module 202, a take-off and landing position information determination module 203, an inspection path information determination module 204, an inspection image information acquisition module 205, a second information determination module 206 and a first control instruction generation module 207, wherein,
[0146] A survey image information acquisition module 201 is used to acquire survey image information;
[0147] The first information determination module 202 is used to determine the area to be inspected and obstacle information based on the survey image information;
[0148] The take-off and landing position information determination module 203 is used to determine the take-off and landing position information based on the area to be inspected, and the take-off and landing position information is the position information corresponding to the take-off point at the beginning of the inspection of the drone and the landing point at the end of the inspection;
[0149] Inspection path information determination module 204, used to determine inspection path information based on obstacle information and take-off and landing position information;
[0150] Inspection image information acquisition module 205, used to acquire inspection image information during drone inspection;
[0151] The second information determination module 206 is used to determine the fault location information corresponding to the faulty UAV and the adjacent location information corresponding to the UAVs adjacent to the faulty UAV if the inspection image information is inconsistent with the preset inspection image information;
[0152] The first control instruction generating module 207 is used to generate a first control instruction for the UAV based on the fault location information, the adjacent location information and the inspection path information.
[0153] In a possible implementation of the embodiment of the present application, the first information determination module 202 includes: a feature information determination unit, a detection target position determination unit, a to-be-inspected area determination unit, a contour information determination unit, and an obstacle information determination unit, wherein:
[0154] A feature information determination unit, used to extract features from the survey image information and determine feature information, wherein the feature information includes features of each obstacle and features of the detection target in the survey image information;
[0155] A detection target position determination unit, used to identify the feature information and determine the detection target position;
[0156] A unit for determining an area to be inspected, used for determining an area to be inspected based on a detection target position;
[0157] A contour information determination unit, used to perform edge detection on the feature information to determine contour information, where the contour information includes the contour of each obstacle in the survey image information;
[0158] The obstacle information determining unit is used to determine the obstacle information based on the contour information.
[0159] In a possible implementation of the embodiment of the present application, the inspection path information determination module 204 includes: an impact range determination unit, a route range determination unit, and an inspection path information determination unit, wherein:
[0160] An influence range determination unit, used to determine the influence range of the obstacle based on the obstacle information;
[0161] A route range determination unit, used to determine the route range based on the obstacle influence range and the detection target position;
[0162] The inspection path information determination unit is used to determine the inspection path information according to the route range and the take-off and landing position information.
[0163] In a possible implementation of the embodiment of the present application, the take-off and landing position information determination module 203 includes: an environment information acquisition unit, a candidate position information determination unit, an evaluation result determination unit, and a take-off and landing position information determination unit, wherein:
[0164] An environmental information acquisition unit, used to acquire environmental information;
[0165] A candidate location information determination unit, used to determine candidate location information based on the area to be inspected and environmental information, where the candidate location information is location information corresponding to a candidate point for take-off or landing of the drone;
[0166] An evaluation result determination unit, configured to determine an evaluation result if the candidate location information is consistent with the preset candidate location information;
[0167] The take-off and landing position information determining unit is used to determine that the candidate position information is the take-off and landing position information if the evaluation result meets the preset evaluation result.
[0168] In a possible implementation of the embodiment of the present application, the second information determination module 206 includes: a color feature information determination unit, a quantity determination unit, a feature ratio information determination unit, a fault image information determination unit, an acquisition unit, a fault drone determination unit, and an adjacent position information determination unit, wherein:
[0169] A color feature information determination unit, used to extract features from inspection image information and determine color feature information;
[0170] a quantity determination unit, configured to determine, based on the color characteristic information, a first quantity corresponding to the black characteristic information and a second quantity corresponding to the color characteristic information;
[0171] a characteristic ratio information determining unit, configured to calculate a ratio of the first quantity and the second quantity to determine characteristic ratio information;
[0172] A fault image information determination unit, configured to determine that the inspection image information is fault image information if the feature ratio information is greater than a preset feature ratio threshold;
[0173] An acquisition unit, used to acquire the operating status of the drone and the location information of the drone corresponding to the fault image information;
[0174] A faulty drone determining unit, used to determine the faulty drone based on the fault image information and the operating status;
[0175] The adjacent position information determination unit is used to determine the adjacent position information according to the drone position information and the faulty drone.
[0176] In a possible implementation of the embodiment of the present application, the first control instruction determination 207 includes: a vacancy area information determination unit, a moving area information determination unit, an emergency path information determination unit, an emergency duration determination unit, and an emergency plan determination unit, wherein:
[0177] A vacancy area information determination unit, used to determine vacancy area information based on the fault location information and adjacent location information, where the vacancy area information is the area that the faulty UAV needs to patrol after the fault;
[0178] A moving area information determining unit, used to determine moving area information based on the vacant area information, where the moving area information is the area that the faulty UAV needs to move to in order to meet the vacant area information of the adjacent UAV inspection;
[0179] An emergency path information determination unit, used to determine the emergency path information according to the moving area information and the inspection path information;
[0180] An emergency duration determination unit, used to determine the emergency duration according to the emergency path information;
[0181] The emergency plan determination unit is used to generate a first control instruction for the UAV based on the emergency path information and the emergency duration.
[0182] In a possible implementation of the embodiment of the present application, the artificial intelligence-based drone inspection control device 20 further includes: a new emergency path information determination module and a second control instruction determination module, wherein:
[0183] A new emergency path information determination module, used to determine new emergency path information if the emergency duration is not less than a preset emergency duration threshold;
[0184] The second control instruction determination module is used to generate a second control instruction for the UAV based on the new emergency path information.
[0185] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0186] The present application also introduces an electronic device from the perspective of a physical device, such as Figure 3 As shown, Figure 3 The electronic device 30 shown includes: a processor 301 and a memory 303. The processor 301 and the memory 303 are connected, such as through a bus 302. Optionally, the electronic device 30 may also include a transceiver 304. It should be noted that in actual applications, the transceiver 304 is not limited to one, and the structure of the electronic device 30 does not constitute a limitation on the embodiments of the present application.
[0187] The processor 301 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor 301 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0188] The bus 302 may include a path to transmit information between the above components. The bus 302 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 302 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0189] The memory 303 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
[0190] The memory 303 is used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 301. The processor 301 is used to execute the application code stored in the memory 303 to implement the contents shown in the above method embodiment.
[0191] The electronic devices include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and fixed terminals such as digital TVs, desktop computers, etc. It can also be a server, etc. Figure 3 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0192] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0193] The above are only some implementation methods of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. An artificial intelligence-based drone inspection control method, characterized in that: include: Acquire survey image information; Based on the survey image information, determine the area to be inspected and obstacle information; Based on the area to be inspected, determine the take-off and landing position information, where the take-off and landing position information is the position information corresponding to the take-off point at the beginning of the inspection and the landing point at the end of the inspection of the drone; Determine inspection path information based on the obstacle information and the take-off and landing position information; Obtaining inspection image information of the drone during inspection; If the inspection image information is inconsistent with the preset inspection image information, the fault location information corresponding to the faulty UAV and the adjacent location information corresponding to the UAVs adjacent to the faulty UAV are determined; Generate a first control instruction for the UAV based on the fault location information, the adjacent location information, and the inspection path information; The determining of the area to be inspected and obstacle information based on the survey image information includes: Extracting features from the survey image information to determine feature information, wherein the feature information includes features of each obstacle and features of a detection target in the survey image information; Identify the characteristic information and determine the detection target position; Based on the detected target position, determining the area to be inspected; Performing edge detection on the feature information to determine contour information, wherein the contour information includes the contour of each obstacle in the survey image information; Based on the contour information, determining the obstacle information; The determining of inspection path information based on the obstacle information and the take-off and landing position information includes: determining an obstacle influence range based on the obstacle information; Determining a route range based on the obstacle influence range and the detected target position; Determining the inspection path information according to the route range and the take-off and landing position information; The determining of take-off and landing position information based on the area to be inspected includes: Obtain environmental information; Based on the area to be inspected and the environmental information, candidate location information is determined, where the candidate location information is location information corresponding to a candidate point for take-off or landing of the drone; If the candidate location information is consistent with the preset candidate location information, determining an evaluation result; If the evaluation result satisfies the preset evaluation result, determining that the candidate position information is the take-off and landing position information; The generating a first control instruction of the UAV based on the fault location information, the adjacent location information and the inspection path information includes: Based on the fault location information and the adjacent location information, determine the vacant area information, where the vacant area information is the area that the faulty drone needs to patrol after the fault; Based on the vacant area information, determining moving area information, the moving area information being the area that the faulty drone needs to move when neighboring drones inspect the vacant area information; Determine emergency path information according to the moving area information and the inspection path information; Determine the emergency duration according to the emergency path information; Based on the emergency path information and the emergency duration, a first control instruction for the drone is generated.
2. The artificial intelligence-based unmanned aerial vehicle inspection control method according to claim 1 is characterized in that: The determining of the adjacent position information of the faulty UAV and the UAVs adjacent to the faulty UAV includes: extracting features from the inspection image information to determine color feature information; Based on the color characteristic information, determining a first quantity corresponding to the black characteristic information and a second quantity corresponding to the color characteristic information; Calculate the ratio of the first quantity to the second quantity to determine characteristic ratio information; If the characteristic ratio information is greater than a preset characteristic ratio threshold, determining that the inspection image information is fault image information; Obtaining the operating status and location information of the drone corresponding to the fault image information; Determine the faulty drone based on the fault image information and the operating status; The adjacent position information is determined according to the drone position information and the faulty drone.
3. The artificial intelligence-based unmanned aerial vehicle inspection control method according to claim 1 is characterized in that: The determination of the emergency duration may further include: If the emergency duration is not less than a preset emergency duration threshold, new emergency path information is determined; and based on the new emergency path information, a second control instruction for the drone is generated.
4. An artificial intelligence-based drone inspection control device, characterized in that: include: A survey image information acquisition module, used to acquire survey image information; A first information determination module, used to determine the area to be inspected and obstacle information based on the survey image information; A take-off and landing position information determination module is used to determine the take-off and landing position information based on the area to be inspected, wherein the take-off and landing position information is the position information corresponding to the take-off point at the beginning of the inspection of the drone and the landing point at the end of the inspection; A patrol path information determination module, used to determine the patrol path information based on the obstacle information and the take-off and landing position information; An inspection image information acquisition module is used to acquire inspection image information during the inspection of the drone; A second information determination module is used to determine the fault location information corresponding to the faulty UAV and the adjacent location information corresponding to the UAVs adjacent to the faulty UAV if the inspection image information is inconsistent with the preset inspection image information; A first control instruction generating module, configured to generate a first control instruction for the UAV based on the fault location information, the adjacent location information and the inspection path information; The first information determination module includes: a feature information determination unit, a detection target position determination unit, a to-be-inspected area determination unit, a contour information determination unit, and an obstacle information determination unit, wherein: a feature information determination unit, used to extract features from the survey image information and determine feature information, wherein the feature information includes features of each obstacle and features of the detection target in the survey image information; a detection target position determination unit, used to identify the feature information and determine the detection target position; and a to-be-inspected area determination unit, used to determine the to-be-inspected area based on the detection target position; A contour information determination unit, used to perform edge detection on the feature information to determine contour information, wherein the contour information includes the contour of each obstacle in the survey image information; an obstacle information determining unit, configured to determine the obstacle information based on the contour information; The inspection path information determination module includes: an impact range determination unit, a route range determination unit and an inspection path information determination unit, wherein: An influence range determining unit, configured to determine an influence range of an obstacle based on the obstacle information; A route range determination unit, configured to determine a route range based on the obstacle influence range and the detection target position; A patrol path information determination unit, configured to determine the patrol path information according to the route range and the take-off and landing position information; The take-off and landing position information determination module includes: an environment information acquisition unit, a candidate position information determination unit, an evaluation result determination unit and a take-off and landing position information determination unit, wherein: An environmental information acquisition unit, used to acquire environmental information; A candidate position information determination unit, configured to determine candidate position information based on the area to be inspected and environmental information, wherein the candidate position information is position information corresponding to a candidate point for take-off or landing of the drone; an evaluation result determining unit, configured to determine an evaluation result if the candidate location information is consistent with preset candidate location information; a take-off and landing position information determining unit, configured to determine that the candidate position information is the take-off and landing position information if the evaluation result satisfies a preset evaluation result; The first control instruction determination includes: a vacancy area information determination unit, a moving area information determination unit, an emergency path information determination unit, an emergency duration determination unit and an emergency plan determination unit, wherein: A vacancy area information determination unit, configured to determine vacancy area information based on the fault location information and the adjacent location information, wherein the vacancy area information is an area that the faulty drone needs to patrol after the fault; A moving area information determining unit, configured to determine moving area information based on the vacant area information, wherein the moving area information is an area that the faulty drone needs to move when neighboring drones inspect the vacant area information; An emergency path information determination unit, configured to determine emergency path information according to the moving area information and the inspection path information; An emergency duration determination unit, used to determine the emergency duration according to the emergency path information; An emergency plan determination unit is used to generate a first control instruction for the drone based on the emergency path information and the emergency duration.
5. An electronic device, characterized in that: The electronic device includes: at least one processor; Memory; At least one application, wherein at least one application is stored in a memory and configured to be executed by at least one processor, and the at least one application is configured to: execute an artificial intelligence-based drone inspection control method as described in any one of claims 1 to 3.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed in a computer, the computer is caused to execute the artificial intelligence-based drone inspection control method described in any one of claims 1 to 3.
Citation Information
Cited By
Unmanned aerial vehicle control method and system applied to electric power inspection
CN118068849A
