Unmanned aerial vehicle inspection adaptive perception calculation method based on semantic task graph resource response model

By constructing a four-layer semantic task graph and a quality resource response model, the problems of equipment dependence and perception quality in resource scheduling during UAV inspection are solved, achieving stability and efficiency improvement under limited resource conditions and ensuring the perception quality of key equipment.

CN123137759APending Publication Date: 2026-11-20JIANGSU XINWANG VIDEO SOFTWARE TECH CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202611614144.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-19
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing UAV inspection resource scheduling lacks a continuous technical correlation between equipment task dependence, perception quality, and airborne resource status. This makes it difficult for resource allocation results to reflect the impact of changes in image resolution, frame rate, sensor combination, and algorithm model on detection quality and resource consumption. Furthermore, it lacks a closed-loop mechanism to address the perception quality and computational stability issues of key equipment under limited resource conditions.

Method used

A four-layer semantic task graph is constructed. By combining the expected detection quality of the perception strategy with the response relationship of onboard computing power, energy consumption and communication bandwidth, a quality resource response model is established. The perception resource budget is allocated according to the node priority, and the perception quality of key nodes is maintained first through a hysteresis reallocation mechanism when resources change.

Benefits of technology

It improves the stability of defect detection and the efficiency of resource utilization under limited airborne resources, reduces the processing latency and memory overhead caused by low-value perception and frequent model switching, and ensures the perception quality of key equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123137759A_ABST
    Figure CN123137759A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of unmanned aerial vehicle inspection and airborne computing resource scheduling, and particularly relates to an unmanned aerial vehicle inspection adaptive sensing computing method based on a semantic task graph resource response model, comprising: through four-layer semantic task graph association of device objects, sensing actions, precedence relations, deadlines and minimum detection quality, making the inspection resource allocation correspond to specific devices and defect tasks; through a quality resource response model, establishing a quantitative relationship between image resolution, image frame rate, sensor combination and algorithm model and detection quality, computing power, energy consumption and communication bandwidth, and adjusting airborne resources with the minimum quality budget and elastic quality budget; through execution feedback and hysteresis redistribution, when computing power, energy or communication bandwidth changes, preferentially maintaining key node sensing quality, reducing processing delay and memory overhead generated by low-value sensing occupation and frequent model loading and unloading, and improving defect detection stability and resource utilization efficiency under limited airborne resource conditions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the technical field of UAV inspection and airborne computing resource scheduling, and in particular to an adaptive perception computing method for UAV inspection based on a semantic task graph resource response model. Background Technology

[0002] In autonomous UAV inspections of substations, the UAV sequentially approaches main transformer bushings, disconnector contacts, and surge arresters along the inspection route. Onboard visible light and infrared payloads collect inspection image data according to sensing actions, and the onboard processor and graphics processor perform image quality analysis and defect detection. Different equipment has different risk levels, target defect types, shooting distances, lighting, motion blur, and occlusion conditions, resulting in different requirements for image resolution, image frame rate, sensor combinations, and algorithm models. At the same time, the graphics processor's available computing power decreases due to temperature protection, reduced remaining energy, or fluctuations in communication bandwidth, causing changes in sensing computing resources. Using the same sensing specifications uniformly or allocating resources only according to static priority ratios makes it difficult to simultaneously handle the minimum detection quality of critical equipment, task prerequisites, deadlines, onboard memory, and model switching overhead. This can easily lead to problems such as low-risk equipment continuously occupying resources, insufficient perception quality of critical defects, or frequent model switching when resources fluctuate.

[0003] CN111709582A discloses a method, system, and storage medium for dynamic optimization of edge computing resources for unmanned aerial vehicles (UAVs). Based on the resource topology information of UAV inspections in substations, it balances, schedules, and reclaims computing and storage resources between the scheduling server and the front end. This scheme focuses on the overall balance of computing and storage resources, but does not establish the response relationship between the detection quality of specific perception strategies and airborne computing power, energy consumption, and communication bandwidth. It also does not incorporate equipment risks, target defects, the pre-sensing action relationship, minimum detection quality, and model switching overhead into node-level resource allocation.

[0004] CN114815881A discloses an intelligent inspection method based on edge computing and UAV inspection collaboration. It allocates and plans routes for multiple UAV inspection tasks, detects image quality and identifies defects at the edge, and collects abnormal images from multiple angles to update the defect detection model. This scheme can combine edge computing with inspection image recognition, but its task allocation is mainly oriented towards UAVs and inspection targets. It does not form a unified task structure with prerequisite relationships and deadlines between tasks, areas, equipment and sensing actions, nor does it perform hierarchical adjustment of the minimum detection quality of key nodes and the sensing specifications of low-risk nodes based on the remaining computing power, energy and communication bandwidth.

[0005] Therefore, the current UAV inspection resource scheduling still lacks a continuous technical correlation between equipment task dependence, perception quality, and airborne resource status: on the one hand, the resource allocation results are difficult to reflect the changes in actual detection quality and resource consumption caused by increasing or decreasing image resolution, image frame rate, sensor combination, and algorithm model; on the other hand, after insufficient quality, suspected defects, or changes in airborne resources, there is a lack of a closed-loop mechanism based on execution feedback to reallocate perception resources and suppress frequent model switching, which makes it difficult to balance the perception quality and computational stability of key equipment under limited airborne computing power, energy, and communication bandwidth. Summary of the Invention

[0006] The purpose of this section is to outline some aspects of the embodiments of the present invention and to briefly introduce some preferred embodiments. Some simplifications or omissions may be made in this section, as well as in the abstract and title of the present application, to avoid obscuring the purpose of this section, the abstract and title of the invention. Such simplifications or omissions shall not be used to limit the scope of the present invention.

[0007] In view of the aforementioned existing problems, the present invention is proposed.

[0008] To solve the above-mentioned technical problems, the present invention provides the following technical solution: An adaptive perception computing method for UAV inspection based on a semantic task graph resource response model includes: constructing a four-layer semantic task graph based on the inspection area, equipment object, risk level, target defect type, task time window, and equipment dependency relationship, and determining node priorities; establishing a quality resource response model based on the expected detection quality of the perception strategy and the response relationship of onboard computing power, energy consumption, and communication bandwidth, and allocating perception resource budgets according to the node priorities; determining the perception strategy and model loading / unloading order under deadline, memory, and concurrency constraints based on the quality resource response model and the perception resource budget, and executing perception actions to obtain perception feedback; updating the node execution status based on the perception feedback, reallocating the perception resource budget when there is insufficient quality, suspected defects, or changes in onboard resources, and updating the quality resource response model after the task is completed.

[0009] The beneficial effects of this invention are as follows: This invention associates device objects, sensing actions, prerequisite relationships, deadlines, and minimum detection quality through a four-layer semantic task graph, enabling the allocation of inspection resources to correspond to specific devices and defect tasks; it establishes a quantitative relationship between image resolution, image frame rate, sensor combination, and algorithm model and detection quality, computing power, energy consumption, and communication bandwidth through a quality resource response model, and adjusts airborne resources with minimum quality budget and flexible quality budget; through execution feedback and hysteresis reallocation, it prioritizes maintaining the sensing quality of key nodes when computing power, energy, or communication bandwidth changes, reduces the occupation of low-value sensing and the processing latency and memory overhead caused by frequent model loading and unloading, and improves the stability of defect detection and resource utilization efficiency under limited airborne resource conditions. Attached Figure Description

[0010] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. Wherein: Figure 1 This is a flowchart illustrating the UAV inspection adaptive perception computing method based on the semantic task graph resource response model as shown in this invention. Detailed Implementation

[0011] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.

[0012] Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without inventive effort should fall within the scope of protection of this invention.

[0013] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein, and those skilled in the art can make similar extensions without departing from the spirit of the invention. Therefore, the invention is not limited to the specific embodiments disclosed below.

[0014] This embodiment uses autonomous inspection of substations by drones as a specific application scenario. The drone is equipped with a visible light imaging device, an infrared imaging device, an onboard processor, an onboard graphics processor, onboard memory, a communication module, a flight controller, an inertial measurement unit, a ranging device, and a power management module. The visible light imaging device and the infrared imaging device respectively acquire visible light image data and infrared image data of the equipment object. The onboard processor and the onboard graphics processor perform image processing and defect detection. The onboard memory stores the currently loaded algorithm model. The communication module transmits inspection data and task commands. The flight controller provides the drone's position, speed, and attitude status. The power management module provides the remaining energy, voltage, and current status.

[0015] The inspection task in this embodiment includes 32 equipment nodes and 47 sensing actions. The equipment nodes include actual inspection objects such as main transformer bushings, disconnector contacts, surge arresters, and building exteriors. The sensing actions include visible light image acquisition, infrared image acquisition, and corresponding defect detection and processing. When the UAV starts performing the inspection task, the available computing power of the onboard graphics processor is 20 TOPS. During the inspection, after the onboard graphics processor is limited by temperature protection, the available computing power drops to 14 TOPS. Main transformer bushings, disconnector contacts, and surge arresters are equipment objects that need to maintain the lowest detection quality in the current task. Building exteriors are low-risk equipment objects that can have their sensing specifications adjusted when resources are insufficient.

[0016] Before implementing this method, the inspection task management data already includes the inspection area, equipment object, risk level, target defect type, task time window, and equipment dependencies; the flight controller, airborne processor, airborne graphics processor, power management module, and communication module can provide the current inspection location, processor resource status, graphics processor resource status, remaining energy, and communication status; based on the above task attributes and airborne equipment operating status, the quality requirements and airborne computing resources corresponding to different sensing actions are processed as follows.

[0017] According to an embodiment of the present invention, in combination Figure 1 The flowchart shown illustrates an adaptive perception computation method for UAV inspection based on a semantic task graph resource response model, which specifically includes the following steps: S1. Construct a four-layer semantic task graph based on the inspection area, equipment object, risk level, target defect type, task time window, and equipment dependency relationship, and determine the node priority.

[0018] S1.1 Configure the four-layer nodes and establish node connections. Configure a complete substation drone inspection task as a task node; configure area nodes according to the spatial area division results in the inspection task; configure actual inspection objects such as main transformer bushings, disconnector switch contacts, surge arresters and building exteriors as equipment nodes; configure visible light image acquisition, infrared image acquisition and corresponding defect detection processing performed on each equipment object as perception action nodes.

[0019] A task attribution connection is established between task nodes and region nodes; a spatial attribution connection is established between region nodes and device nodes; and a perception and action attribution connection is established between device nodes and perception and action nodes.

[0020] When there are sequential checks or state dependencies between device objects, a directed connection for device dependencies is established between the corresponding device nodes; when the same device object needs to complete multiple sensing actions in sequence, a forward connection for sensing actions is established between the corresponding sensing action nodes, with the connection direction pointing from the forward node to the subsequent node.

[0021] In this embodiment, the sensing action node is used as the resource allocation node that directly participates in the sensing resource budget allocation; the risk level, target defect type and equipment dependency attribute associated with the device node are transmitted to the corresponding sensing action node; the task node and the area node mainly record the task affiliation and spatial organization relationship.

[0022] The above connections form a four-layer semantic task graph consisting of task, region, device object, and perceived action.

[0023] S1.2, Determine the nodes that must be completed and their constraints. For each sensing action node, associate it with its device object, target defect type, deadline, and minimum detection quality.

[0024] The deadline is the latest time within the task's time window when the corresponding sensory action is allowed to be completed.

[0025] The nodes that must be completed are determined based on the requirements of the current inspection task and the prerequisite dependencies. In this embodiment, the key sensing actions corresponding to the main transformer bushing, disconnector switch contacts and surge arrester are determined as nodes that must be completed. When a node that must be completed has prerequisite sensing action nodes that have not been completed, the prerequisite sensing action nodes that are necessary to complete the node that must be completed are also included in the set of nodes that must be completed.

[0026] Non-critical sensing actions for low-risk equipment objects such as building exteriors are not mandatory nodes. When onboard resources are insufficient, it is permissible to reduce image resolution, reduce image frame rate, or pause execution.

[0027] The minimum detection quality is determined according to the quality requirements of the corresponding equipment object and target defect type in the task configuration, and serves as the minimum quality boundary for the subsequent quality resource response model to screen perception strategies.

[0028] S1.3 Determine node priority For the perceived action nodes involved in resource budget allocation, risk scores, urgency scores, historical missed detection scores, and dependency scores are determined respectively.

[0029] The risk score is formed based on the risk level of the corresponding equipment object; as a preferred implementation, high risk, medium risk and low risk are mapped to 1.00, 0.60 and 0.20 respectively.

[0030] The urgency score is formed based on the remaining time between the current moment and the deadline of the perceived action; within the range of the current perceived action to be performed, the shorter the remaining time, the higher the corresponding urgency score, and the urgency score is normalized to the range of 0 to 1.

[0031] The historical missed inspection score is formed based on the historical inspection and verification results of the same equipment object and the same target defect type. The number of times the target defect was actually verified and confirmed in the historical inspection but not reported by the automatic inspection is counted and divided by the corresponding number of valid verification samples to form the historical missed inspection score.

[0032] The dependency score is formed based on the degree of influence of the current perceptual action node on subsequent nodes. The number of downstream perceptual action nodes that can be reached from the current perceptual action node along the directed connection is counted and normalized according to the maximum number of downstream nodes in the current four-layer semantic task graph to obtain the dependency score.

[0033] Node priority satisfies:

[0034] in, Represents a node Node priority; This represents the node to be evaluated in the four-layer semantic task graph; Represents a node Risk score; Represents a node Urgency rating; Represents a node Historical missed detection score; Represents a node Dependency score; Represents the weighting coefficients of the risk score; The weighting coefficients representing the urgency rating; The weighting coefficients for historical missed detection scores; Indicates the weighting coefficients that depend on the rating; In this embodiment, a, b, c, and d are taken as 0.40, 0.25, 0.15, and 0.20, respectively.

[0035] For example, if a main transformer bushing sensing action node has a risk score of 1.00, an urgency score of 0.75, a historical missed detection score of 0.50, and a dependency score of 0.80, then the node priority is 0.8225.

[0036] If a certain building appearance perception action node has a risk score of 0.20, an urgency score of 0.30, a historical missed detection score of 0.10, and a dependency score of 0.10, then the node priority is 0.1900.

[0037] The weight values ​​mentioned above are preferred calculation parameters in this embodiment, but are not the only limiting conditions.

[0038] S1.4, Forming the S1 processing result After the above processing, a four-layer semantic task graph is formed, which includes task nodes, region nodes, device nodes, sensing action nodes and their connection relationships. At the same time, the nodes that must be completed, the minimum detection quality, the deadline, and the node priority of each sensing action node are obtained.

[0039] The purpose of this step is to convert equipment risks, task urgency, historical missed inspections, and perception action dependencies into node attributes corresponding to specific perception actions, so that subsequent airborne resource allocation can be based on actual inspection actions, rather than configuring the same perception specifications for all equipment objects.

[0040] S2. Establish a quality resource response model based on the expected detection quality of the perception strategy and the response relationship between onboard computing power, energy consumption and communication bandwidth, and allocate the perception resource budget according to node priority.

[0041] S2.1 Formation of perception strategy and inspection scenario parameters The perception strategy in this embodiment is determined by image resolution, image frame rate, sensor combination, and algorithm model.

[0042] For example, visible light sensing strategies include a combination of 4K / 10fps visible light image acquisition and a fine-grained defect detection model, as well as a combination of 1080P / 5fps visible light image acquisition and a standard defect detection model; for equipment overheat detection, an infrared sensing strategy is composed of an infrared imaging device and an infrared defect detection model.

[0043] The parameters for the inspection scene include lighting, inspection distance, motion blur, and occlusion conditions.

[0044] In one preferred embodiment, the illumination is obtained from the exposure measurement results of an airborne illumination measurement device or an imaging device; the inspection distance is determined by the relative position of the equipment recorded by a ranging device or a flight controller; the motion blur condition is formed based on the imaging exposure time and the angular velocity recorded by the inertial measurement unit; and the occlusion condition is formed based on the proportion of the visible area of ​​the target equipment in the inspection image data.

[0045] The parameters of each inspection scenario are bound to the corresponding device nodes, sensing action nodes, and data collection time.

[0046] S2.2 Establish a quality resource response model Quality resource response sub-models are established for different sensor combinations and algorithm models.

[0047] As a preferred implementation, this embodiment uses multivariate quadratic regression as the statistical regression model structure. For a given sensor combination and algorithm model, image resolution, image frame rate, illumination, inspection distance, motion blur and occlusion conditions are used as regression inputs, and regression outputs corresponding to expected detection quality, processor computing power, graphics processor computing power, energy consumption, communication bandwidth and memory usage are established respectively.

[0048] During historical inspections, simulation tests, or actual flight calibrations, records are kept for each set of perception strategies and inspection scenarios: Image resolution; Image frame rate; Sensor combination; Algorithm model; illumination; Inspection distance; Motion blur; Obstruction conditions; Expected quality detected; Processor computing power; Graphics processor computing power; Energy consumption; Communication bandwidth; Memory usage.

[0049] The model switching overhead is determined separately based on the algorithm model loading time, algorithm model unloading time, and the actual processing latency, computing power, and energy consumption during sensor start-up and shutdown.

[0050] Expected detection quality meets:

[0051] in, Represents a node Adopting a perception strategy Expected detection quality at that time; The node represents the sensing action to be performed; s represents the node. The perception strategy employed; Represents the quality response function; Indicates image resolution; Indicates the image frame rate; Indicates a combination of sensors; Representing the algorithm model; This represents an inspection scene composed of lighting, inspection distance, motion blur, and occlusion conditions.

[0052] Model calibration samples and model validation samples are separated; in this embodiment, 80% of the samples can be configured as model calibration samples and 20% of the samples can be configured as model validation samples.

[0053] The model calibration samples are used to fit each quality resource response sub-model, and the model validation samples are used to calculate the relative error between the predicted results and the actual results.

[0054] Therefore, when a specific sensing strategy and the current inspection scenario are input, the quality resource response model outputs the corresponding expected detection quality, processor computing power requirements, graphics processor computing power requirements, energy requirements, communication bandwidth requirements, memory usage, and switching overhead.

[0055] S2.3 Determine the minimum quality budget For each node that must be completed obtained from S1, the candidate sensing strategy corresponding to that node is input into the quality resource response model.

[0056] The perception strategy retains the expected detection quality as high as the minimum detection quality at that node.

[0057] Among the retained perception strategies, those that exceed the current available resource boundaries of the UAV are first excluded.

[0058] When multiple sensing strategies still exist, the processor computing power, graphics processor computing power, energy and communication bandwidth of each sensing strategy are normalized according to the currently available resources, and the sensing strategy with the lower overall resource consumption is selected as the lowest quality sensing strategy for the current node.

[0059] The minimum quality awareness strategy corresponds to the minimum quality budget of a node, which consists of processor computing power, graphics processor computing power, energy, and communication bandwidth.

[0060] The minimum quality budget for all nodes that must be completed is accumulated separately by resource category.

[0061] If the accumulated processor computing power, graphics processor computing power, energy, and communication bandwidth do not exceed the currently available resources, the remaining resources will be allocated to the elastic quality budget.

[0062] If the minimum quality budget exceeds the currently available resources, pause any non-essential node awareness actions that have not yet started and release the corresponding resources.

[0063] If the minimum quality budget for all nodes that must be completed cannot be met after release, the current perception strategy will not be generated and the node with insufficient resources will be re-entered into the candidate strategy solution; if there is still no candidate strategy that meets the conditions, it will enter the alternative solution or be manually handled.

[0064] S2.4 Determine marginal quality benefits and allocate flexible quality budgets For the same sensing action node, the candidate sensing strategies that meet the minimum detection quality are arranged from low to high according to resource requirements.

[0065] For two adjacent candidate sensing strategies, calculate the expected increase in detection quality of the high-resource sensing strategy relative to the low-resource sensing strategy.

[0066] Simultaneously, the positive resource increases for processor computing power, graphics processor computing power, energy, and communication bandwidth are calculated separately and normalized according to the corresponding available resources.

[0067] The total normalized resource increase corresponding to the candidate strategy conversion is obtained by summing the four normalized positive resource increases.

[0068] When the increase in total normalized resources is greater than zero, the ratio of the expected increase in detection quality to the increase in total normalized resources is taken as the marginal quality gain of the candidate strategy transition.

[0069] When the increase in total normalized resources is zero while the expected increase in detection quality is greater than zero, the high-quality perception strategy directly replaces the low-quality perception strategy and does not participate in the division calculation.

[0070] When the expected detection quality does not increase, the corresponding strategy switch does not participate in the elastic quality budget competition.

[0071] The allocation order of elastic resources is determined based on node priority and marginal quality benefits. Within the allowable range of remaining processor computing power, remaining graphics processor computing power, remaining energy and remaining communication bandwidth, the perception strategy of the corresponding node is upgraded in turn.

[0072] The minimum quality budget and the aforementioned flexible quality budget together constitute the current perception resource budget for each node.

[0073] S2.5, Determine the node-aware strategy The quality utility corresponding to the expected detection quality, as well as the resource switching costs corresponding to model switching, model loading, and sensor start-up and shutdown, are respectively normalized using dimensionless methods.

[0074] The perception strategies of each node satisfy:

[0075] in, This represents the set of sensing strategies for each node obtained under the given constraints. This represents the set of sensing strategies for each node participating in the solution process; This represents the set of nodes to be allocated sensing resources; Represents a set of nodes Nodes in; Represents a node Perception strategies; Represents a node Node priority; Represents a node Expected detection quality when using the perception strategy sᵥ; Represents a node The expected detection quality is normalized to obtain the quality utility; Represents a node Adopting a perception strategy The resource switching cost is obtained after normalization of the processing latency, computing power, and energy consumption caused by model switching, model loading, and sensor start-up and shutdown. During the solution process, the selection variables for each node are limited to the set of candidate perception strategies for that node.

[0076] The total processor computing power requirement of all nodes shall not exceed the currently available processor computing power; The sum of the graphics processing unit (GPU) computing power requirements of all nodes shall not exceed the currently available GPU computing power; The estimated energy consumption will not exceed the currently available energy. The communication bandwidth requirement shall not exceed the currently available communication bandwidth. The expected detection quality of each node must be no less than the minimum detection quality; The estimated completion time for each node shall not be later than the corresponding deadline.

[0077] Under the above conditions, select the candidate perception strategy combination with the largest objective function value.

[0078] The purpose of this step is to first allocate airborne resources that must be configured to meet the minimum detection quality, and then allocate the remaining resources to sensing actions with higher node priority and higher marginal quality benefits, so that the quality requirements and airborne resource boundaries jointly determine the specific sensing strategy.

[0079] S3. Based on the quality resource response model and the perception resource budget, determine the perception strategy and model loading / unloading order under the constraints of deadline, memory, and concurrency, and execute perception actions to obtain perception feedback.

[0080] S3.1 Forming a set of candidate perception strategies For each sensing action node to be executed, select from the quality resource response model: The expected detection quality meets the minimum detection quality of the node; The processor computing power, graphics processor computing power, energy, and communication bandwidth did not exceed the node's sensing resource budget; Perception strategies whose expected completion time does not exceed the deadline constitute the candidate perception strategy set.

[0081] When multiple candidate sensing strategies exist, the contribution value of the corresponding sensing strategy to the S2 objective function is calculated, and the sensing strategy with the larger contribution value is selected first; when the contribution values ​​are the same, the sensing strategy with the smaller switching overhead is selected first.

[0082] S3.2 Determine the model loading and unloading sequence Check whether the algorithm model corresponding to the selected perception strategy has been loaded into the onboard memory.

[0083] If the algorithm model has been loaded and subsequent perception actions to be performed will still call the algorithm model, then the algorithm model will remain in the loading state.

[0084] If the algorithm model has not yet been loaded, obtain the memory usage and loading time of the algorithm model, and check the remaining onboard memory.

[0085] When the remaining memory is insufficient, release the onboard memory in the following order: Prioritize algorithm models that have already completed the corresponding perception action and will not be called again for subsequent perception actions; Compare the memory usage of unloadable models; Unloading can release the algorithm model that meets the loading requirements of the current target model.

[0086] The model loading time is factored into the estimated processing time of the corresponding sensing action, and the sensing action is rechecked to see if it can be completed before the deadline.

[0087] If the deadline or onboard memory constraint is still not met after the model is loaded, the candidate perception strategy is deleted and the next candidate perception strategy is selected.

[0088] Based on this, the execution order of perception actions is arranged according to the preconditions, deadlines, and the number of concurrent tasks allowed by the onboard processor and graphics processor, forming a perception execution sequence.

[0089] Subsequently, based on the inspection location, execution time, and expected resource consumption corresponding to each sensing action, the aircraft's dynamic envelope, remaining energy, return capability, no-fly zone, communication coverage, and mission time window are checked.

[0090] Perception actions that do not satisfy any constraint and their candidate perception strategies are removed from the current perception execution sequence.

[0091] When all candidate sensing strategies for a node that must be completed have been removed, the node is marked as a currently non-executable node and the sensing resource budget is reallocated. If no candidate strategy that meets the security, resource, and task time window constraints is found after reallocation, automatic issuance is stopped and the process is transferred to manual handling.

[0092] S3.3, Perform sensory actions and generate actual resource feedback. The drone executes the corresponding sensing actions according to the sensing execution sequence.

[0093] When performing visible light sensing actions, the visible light imaging device acquires inspection image data according to the image resolution and image frame rate configured by the current sensing strategy, and inputs the inspection image data into the corresponding defect detection model.

[0094] When performing infrared sensing actions, the infrared imaging device acquires infrared image data of the target device and inputs it into the infrared defect detection model.

[0095] The defect detection model outputs the detection confidence level corresponding to the target defect type.

[0096] The processing delay is calculated from the moment the algorithm model receives the complete input data of the current sensing action until the moment the corresponding defect detection result is formed.

[0097] The processor computing power consumption is calculated based on the processor utilization and the processor's rated computing power within the same execution time interval.

[0098] The computing power consumption of the graphics processor is calculated based on the utilization rate of the graphics processor and the rated inference capacity of the graphics processor within the same execution time interval.

[0099] Energy consumption is calculated based on the voltage, current, and execution duration recorded by the power supply management module within the same execution time interval.

[0100] Communication bandwidth consumption is determined by dividing the amount of effective communication data within the same execution time interval by the communication duration.

[0101] The actual perception feedback is bound to the device node that produces the result, the perception action node, the perception strategy, the inspection scenario, and the execution time interval.

[0102] After confirming the above relationships, the actual image quality is compared with the minimum detection quality, the processing delay is compared with the deadline, and the actual processor computing power consumption, graphics processor computing power consumption, energy consumption, and communication bandwidth consumption are compared with the corresponding output of the quality resource response model to form the node execution status.

[0103] S3.4 Determine the confidence level of the response model and conservative resource parameters The scope of application of the quality resource response model is associated with the model.

[0104] The applicability of the model is determined by the image resolution, image frame rate, sensor combination, algorithm model, illumination, inspection distance, motion blur and occlusion conditions covered by the model calibration samples.

[0105] If the current input exceeds the calibration range of any necessary model, it is determined that the current input is not within the applicable range of the model.

[0106] For inputs within the applicable range of the model, the relative prediction error of each output quantity is calculated using model validation samples, and the credibility of the response model is determined based on the average relative prediction error within the corresponding perception strategy and inspection scenario range.

[0107] As a preferred implementation, the 95th percentile of the relative prediction error in the independent validation samples is taken as the upper limit of the validation error reference. The average relative prediction error in the current corresponding range is compared with the upper limit of the validation error reference and normalized to the range of 0 to 1 to form the confidence of the response model. The smaller the average relative prediction error, the higher the confidence of the response model.

[0108] In this embodiment, 0.80 can be used as the confidence threshold for the response model.

[0109] If the current input is not within the applicable range of the model or the confidence level of the response model is lower than the confidence level threshold, the potential quality gains corresponding to upgrading from the lowest quality-aware strategy to a higher resource-aware strategy will not be adopted during the elastic quality budget calculation process.

[0110] Meanwhile, from historical calibration samples with the same perception strategy and similar inspection scenario conditions, resource requirements with higher processor computing power, graphics processor computing power, energy and communication bandwidth are selected as conservative resource parameters, and candidate perception strategies are re-selected based on the conservative resource parameters.

[0111] The purpose of this step is to transform the resource budget results into an actual perceived execution sequence constrained by onboard memory, concurrent computing power, flight safety, and mission deadlines, and to form the actual UAV images, defect detection, and onboard resource consumption into node execution states that can be directly used for subsequent resource reallocation.

[0112] S4. Update the node execution status based on perception feedback, reallocate the perception resource budget when there is insufficient quality, suspected defects, or changes in airborne resources, and update the quality resource response model after the task is completed.

[0113] S4.1 Determine the three types of triggering states When the actual image quality is lower than the minimum detection quality, the corresponding node is identified as being in a state of insufficient quality.

[0114] The suspected defect status is determined based on the output results of the defect detection model. As a preferred implementation, when the defect detection model generates candidate defect results for the target defect type and the detection confidence reaches the suspected defect confidence threshold determined by independent verification samples, the corresponding node is determined as a suspected defect status.

[0115] The resource change status is determined based on the changes in the current available processor computing power, the current available graphics processor computing power, the remaining energy, and the current available communication bandwidth relative to the corresponding resource quantities at the time of the most recent sensing resource budget solution.

[0116] For each resource, the relative rate of change of the resource is obtained by dividing the absolute value of the difference between the current resource quantity and the resource quantity obtained in the most recent budget by the resource quantity obtained in the most recent budget.

[0117] When the relative rate of change of any resource reaches the resource change threshold, the resource change status is determined.

[0118] As an example, in the most recent budget solution, the available computing power of the onboard graphics processor was 20 TOPS, which dropped to 14 TOPS after temperature protection, with a relative change rate of 30%; when the resource change threshold is set to 15%, a resource change state is formed.

[0119] S4.2, Execute hysteresis determination and reallocate sensing resource budget. When a quality deficiency state, suspected defect state, or resource change state first appears, record the time of occurrence and start a hysteresis timer.

[0120] In this embodiment, the hysteresis time is 10 s.

[0121] If the corresponding state recovers within 10 seconds, cancel the current hysteresis timer and maintain the existing perception strategy.

[0122] When the corresponding state lasts for 10 seconds, a reallocation of the perception resource budget is triggered.

[0123] When multiple trigger states exist simultaneously, the current execution states of all nodes and the onboard resource states are used as input for a single redistribution, and the solution is not repeated for each state.

[0124] When the risk level, deadline urgency, historical missed detection rate, or downstream dependence impact changes, the node priority of the relevant node is recalculated; nodes that have not undergone the above changes continue to use the most recent node priority.

[0125] The minimum quality budget and the flexible quality budget were then redefined.

[0126] For example, when the available computing power of the onboard graphics processor drops from 20 TOPS to 14 TOPS and remains there for 10 seconds, the minimum quality budget for the main transformer bushing, disconnector contacts, and surge arrester nodes must be maintained. The low-risk building appearance nodes are adjusted from a 4K / 10fps perception strategy to a 1080P / 5fps perception strategy, and low-value point cloud semantic segmentation perception actions are suspended to free up the computing power, energy, and communication resources of the graphics processor.

[0127] When the suspected hotspot state continues to reach the lag time, the priority of the corresponding node is re-determined according to the risk level or changes in the task status, and a candidate sensing strategy that includes an infrared fine-grained model is selected when current resources allow.

[0128] S4.3 Execute the new perception strategy and process the execution state. A new perception execution sequence is generated based on the reallocated perception resource budget, and perception execution instructions containing effective time and validity period are formed.

[0129] The onboard computing unit of the drone returns an accept status, a reject status, or a partial execution status.

[0130] In the accepted state, execution continues according to the new perception execution sequence.

[0131] When the state is rejected or execution times out, select a candidate perception strategy from the candidate perception strategy set of the corresponding node that satisfies the current security constraints, resource constraints and deadline constraints.

[0132] In the partially executed state, the actual perception feedback formed by the completed perception actions is retained, the perception actions that have not yet been completed are put back into the set of nodes to be processed, and the candidate perception strategies are re-selected based on the current remaining resources.

[0133] After the new sensing action is executed, the status of insufficient quality, suspected defect, and resource change is assessed again.

[0134] If the original triggering state has been lifted and no new triggering state has appeared, continue executing the current perception execution sequence.

[0135] If the original triggering state is not lifted or a new triggering state occurs, the perception resource budget is reallocated.

[0136] If no candidate sensing strategy simultaneously meets the minimum detection quality, safety constraints, resource constraints, and deadline constraints, the automatic resource reallocation of the corresponding node will be terminated and the process will be transferred to manual handling.

[0137] S4.4 Update the quality resource response model after the task is completed. After the inspection task is completed, for each completed sensing action, a model correction sample is formed based on the actual sensing strategy adopted, the corresponding inspection scenario, the actual image quality, the processor computing power consumption, the graphics processor computing power consumption, the energy consumption, and the communication bandwidth consumption.

[0138] Model calibration samples with the same sensor combination and algorithm model are entered into the corresponding quality resource response sub-model.

[0139] When the image resolution, image frame rate, and inspection scene parameters of the model calibration sample are within the applicable range of the corresponding quality resource response sub-model, the model calibration sample will be added to the next model calibration data.

[0140] When the quality resource response model adopts the multiple quadratic regression model in this embodiment, the updated model calibration sample is used to refit the corresponding regression coefficients, and the validation sample, which is independent of the model calibration sample, is used to evaluate the model prediction error.

[0141] For inspection results that have been confirmed through manual review or equipment inspection, the missed inspection results will be included in the historical inspection results of the same equipment object and target defect type, and the historical missed inspection score in subsequent inspection tasks will be recalculated.

[0142] When device dependencies change, the corresponding dependency scores are recalculated based on the updated four-layer semantic task graph.

[0143] The complete quality resource response model is not repeatedly refitted during task execution; the online phase mainly updates the node execution status and perceived resource budget, and the complete quality resource response model is calibrated after the completion of this inspection task.

[0144] The purpose of this step is to adjust the subsequent allocation of sensing resources based on the actual perceived quality, defect detection results, and actual airborne resource status. When airborne resources are constantly changing, the resource requirements of nodes that must be completed are prioritized, and the model is repeatedly loaded and unloaded due to short-term resource fluctuations is reduced through a hysteresis mechanism. After the task is completed, the actual execution data is used to correct the quality resource response relationship, so that the subsequent resource budget adopts resource requirement results that are more consistent with the actual airborne execution results.

[0145] Overall technical effect Preferably, this embodiment organizes the inspection area, equipment object, sensing action, equipment dependency, deadline, and minimum detection quality into a four-layer semantic task graph, making the actual sensing action the object of airborne resource allocation. On this basis, a quality resource response relationship is established between the sensing strategy and the inspection scenario and the expected detection quality, processor computing power, graphics processor computing power, energy consumption, communication bandwidth, and memory usage. The minimum quality budget is first allocated to the nodes that must be completed, and then the remaining resources are allocated according to the node priority and marginal quality benefits. The resource budget is further converted into a model loading and unloading and sensing execution sequence constrained by airborne memory, concurrent computing power, flight safety, and deadline, and the actual detection results and resource consumption are collected to form feedback. When the quality is insufficient, there are suspected defects, or the airborne resources continue to change, resources are reallocated through hysteresis conditions. This can reduce the continuous occupation of limited airborne computing power, energy, and communication bandwidth by low-risk sensing actions, reduce repeated model switching and memory occupation caused by short-term resource fluctuations, and maintain the sensing resource priority of the nodes that must be completed.

[0146] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.

Claims

1. An adaptive perception calculation method for UAV inspection based on a semantic task graph resource response model, characterized in that, include: A four-layer semantic task graph is constructed based on the inspection area, equipment object, risk level, target defect type, task time window, and equipment dependency relationship to determine node priority. A quality resource response model is established based on the expected detection quality of the perception strategy and the response relationship between airborne computing power, energy consumption and communication bandwidth, and the perception resource budget is allocated according to the node priority. Based on the quality resource response model and the perception resource budget, the perception strategy and model loading / unloading order are determined under the constraints of deadline, memory, and concurrency, and perception actions are executed to obtain perception feedback. The execution status of the node is updated based on the perception feedback. When there is insufficient quality, suspected defects, or changes in onboard resources, the perception resource budget is reallocated. After the task is completed, the quality resource response model is updated.

2. The UAV inspection adaptive perception calculation method based on the semantic task graph resource response model according to claim 1, characterized in that, The construction of the four-layer semantic task graph includes: Analyze the inspection area, equipment objects, risk level, target defect type, task time window, and equipment dependencies; Configure task nodes, region nodes, device nodes, and sensing action nodes according to the hierarchical relationship between tasks, regions, device objects, and sensing actions, and establish node connections based on the device dependencies and sensing action execution relationships. The nodes are labeled with their prerequisite relationships, deadlines, and minimum detection quality, and the nodes that must be completed are determined according to the requirements of the inspection task, thus forming the four-layer semantic task graph.

3. The UAV inspection adaptive perception calculation method based on the semantic task graph resource response model according to claim 2, characterized in that, The determination of node priority includes: Risk score, urgency score, historical missed detection score and dependence score are determined based on the risk level, the urgency of the deadline, the degree of historical missed detection, and the degree of downstream dependence impact, respectively. The node priority is calculated using the following formula: in, Represents a node Node priority; This represents the node to be evaluated in the four-layer semantic task graph; Represents a node Risk score; Represents a node Urgency rating; Represents a node Historical missed detection score; Represents a node Dependency score; Represents the weighting coefficients of the risk score; The weighting coefficients representing the urgency rating; This represents the weighting coefficient for historical missed detection scores; Indicates the weighting coefficients that depend on the rating; The node priority is used as the priority weight for the allocation of the perception resource budget.

4. The UAV inspection adaptive perception calculation method based on the semantic task graph resource response model according to claim 3, characterized in that, The establishment of the quality resource response model includes: The combination of image resolution, image frame rate, sensor combination, and algorithm model is used as the perception strategy; Under different lighting conditions, inspection distances, motion blur, and occlusion conditions, the expected detection quality of the perception strategy, as well as processor computing power, graphics processor computing power, energy consumption, communication bandwidth, memory usage, and switching overhead, are calibrated. The expected detection quality satisfies the following: in, Represents a node Adopting a perception strategy Expected detection quality at that time; The node represents the sensing action to be performed; s represents the node. The perception strategy employed; Represents the quality response function; Indicates image resolution; Indicates the image frame rate; Indicates a combination of sensors; Representing the algorithm model; This represents an inspection scene composed of lighting, inspection distance, motion blur, and occlusion conditions. The quality resource response model is established using the perception strategy and the inspection scenario as inputs, and the expected detection quality and corresponding resource consumption as outputs. The quality resource response model adopts an analytical model, a statistical regression model, a Bayesian model, a neural network model, or a combination thereof.

5. The UAV inspection adaptive perception calculation method based on the semantic task graph resource response model according to claim 4, characterized in that, The allocation of the perception resource budget includes: Based on the quality resource response model, computing power, energy, and communication bandwidth that meet the minimum detection quality are allocated to the nodes that must complete the task, thus forming a minimum quality budget; The expected detection quality increment corresponding to the increase of remaining computing power, remaining energy and remaining communication bandwidth is calculated according to the quality resource response model to obtain the marginal quality benefit, and the elastic quality budget is allocated according to the node priority and the marginal quality benefit. Constrained by processor computing power, graphics processor computing power, remaining energy, communication bandwidth, and deadline, the sensing strategy for each node is determined according to the following formula: in, This represents the set of sensing strategies for each node obtained under the given constraints. This represents the set of sensing strategies for each node participating in the solution process; This represents the set of nodes to be allocated sensing resources; Represents a set of nodes Nodes in; Represents a node Perception strategies; Represents a node Node priority; Represents a node Expected detection quality when using the perception strategy sᵥ; Represents a node The expected detection quality is normalized to obtain the quality utility; Represents a node Adopting a perception strategy The resource switching cost is obtained after normalization of the processing latency, computing power, and energy consumption caused by model switching, model loading, and sensor start-up and shutdown. The perception strategy is solved using mathematical programming, heuristic algorithms, rolling time-domain control, or distributed collaborative solution.

6. The UAV inspection adaptive perception calculation method based on the semantic task graph resource response model according to claim 5, characterized in that, The determination of the perception strategy and the order of model loading and unloading includes: Based on the perception resource budget, candidate perception strategies that meet the minimum detection quality and deadline of the node are selected from the quality resource response model. The loading and unloading order of the algorithm models corresponding to the candidate perception strategies are arranged according to the onboard memory capacity, concurrent computing capability and the switching overhead to form a perception execution sequence; Based on the inspection location, execution period, and expected resource consumption corresponding to the perception execution sequence, the constraints of the aircraft dynamic envelope, remaining energy, return capability, no-fly zone, communication coverage, and mission time window are checked, and perception actions that do not meet any constraint and their corresponding candidate perception strategies are removed from the perception execution sequence.

7. The UAV inspection adaptive perception calculation method based on the semantic task graph resource response model according to claim 6, characterized in that, The obtained perceptual feedback includes: According to the perception execution sequence, inspection image data is collected and defect detection is performed to obtain actual image quality, detection confidence, processing latency, computing power consumption, energy consumption and communication bandwidth consumption. The actual image quality is compared with the lowest detected quality, the processing delay is compared with the deadline, and the computing power consumption, energy consumption, and communication bandwidth consumption are compared with the resource consumption corresponding to the quality resource response model to form the node execution state. Obtain the applicable scope, data timestamp, and response model credibility of the output of the quality resource response model. When the credibility of the response model is lower than the credibility threshold, cancel the corresponding potential quality benefit item in the perception resource budget solution, and redetermine the perception strategy according to conservative resource parameters.

8. The UAV inspection adaptive perception calculation method based on the semantic task graph resource response model according to claim 7, characterized in that, The reallocation of the sensing resource budget includes: When the actual image quality is lower than the minimum detected quality, a quality deficiency state is determined; a suspected defect state is determined based on the defect detection result; and a resource change state is determined when the change in available computing power, remaining energy, or communication bandwidth reaches the resource change threshold. When the quality deficiency state, the suspected defect state, or the resource change state occurs, the node execution status is updated, and when the risk level, deadline urgency, historical missed detection degree, or downstream dependency impact degree changes, the node priority is recalculated, and the minimum quality budget and the flexible quality budget are reallocated according to the current node priority. A hysteresis time is set between two adjacent perception strategy switchings. A new perception strategy switching is only performed after the duration of the corresponding state reaches the hysteresis time. The resource change threshold and the hysteresis time are calibrated based on historical inspection data, simulation tests, or actual flight tests.

9. The UAV inspection adaptive perception calculation method based on the semantic task graph resource response model according to claim 8, characterized in that, The execution of the new perception strategy switch includes: Based on the reallocated perception resource budget, a perception execution instruction containing the effective time and validity period is generated, and the perception execution instruction is sent to the UAV onboard computing unit; The instruction execution result is determined based on the acceptance status, rejection status, or partial execution status returned by the UAV onboard computing unit. When a rejection status or execution timeout occurs, a candidate perception strategy that meets the current constraints is selected from the candidate perception strategies. Based on the execution status of the node after execution, determine whether the insufficient quality status, the suspected defect status, or the resource change status has been resolved and whether a new corresponding status has appeared. If the status is not resolved or a new corresponding status appears, reallocate the sensing resource budget or transfer to manual handling.

10. The UAV inspection adaptive perception calculation method based on the semantic task graph resource response model according to claim 9, characterized in that, The updating of the quality resource response model includes: After the inspection task is completed, the actual image quality, computing power consumption, energy consumption and communication bandwidth consumption corresponding to the same perception strategy and inspection scenario are used to form a model correction sample, and the quality resource response model is corrected according to the model correction sample. The parameters corresponding to the node priority are adjusted based on the historical missed inspections obtained from the inspection task review and changes in downstream dependencies. When the quality resource response model adopts a statistical regression model, a Bayesian model, or a neural network model, the model calibration sample and the validation sample are separated, and the model parameters and key thresholds are determined based on historical inspection data, simulation tests, or actual flight tests.

Citation Information

Patent Citations

  • Unmanned aerial vehicle edge computing resource dynamic optimization method and system and storage medium

    CN111709582A