An adaptive obstacle avoidance method for a boiler inspection unmanned aerial vehicle

By generating difference maps to calculate collision risks and performing hover sampling, the problem of boiler inspection drones being unable to fly continuously in front of obstacles was solved, enabling efficient detection in complex environments.

CN123177487APending Publication Date: 2026-11-27GUODIAN FEIXIAN POWER GENERATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611044897.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-14
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing boiler inspection drones typically resort to emergency braking or simple detours when encountering obstacles, resulting in low detection coverage and an inability to continuously perform tasks.

Method used

By converting the laser point cloud data acquired by the UAV into a real-time occupancy map, performing a voxel XOR operation with the pre-built prior map to generate a difference map, calculating the collision risk value, and performing hovering sampling and data collection when the risk is high, the system combines geometric measurements to calculate the passage width and executes detour or return-to-home decisions.

Benefits of technology

It enables continuous inspection in complex obstacle environments, improves detection coverage, avoids invalid return trips and stationary stops, and ensures the continuity and safety of wall-mounted inspections.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123177487A_ABST
    Figure CN123177487A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of unmanned aerial vehicle, and specifically provides a self-adaptive obstacle avoidance method of a boiler inspection unmanned aerial vehicle, comprising: the unmanned aerial vehicle acquires laser point clouds in real time and voxelizes into a real-time occupancy map, and performs XOR operation with an a priori map to generate a difference map; a collision risk value is calculated according to the difference map and a rule base; when the risk value exceeds a threshold value, a plurality of hovering poses are generated by constraining sampling with the current pose as the center, and point cloud data is collected in turn; a plurality of frames of point clouds are fused by truncated signed distance field to generate a local occupancy map and calculate a passing width by geometric measurement; if the passing width does not reach a safety threshold value, a detour or return decision is executed. The present application highlights sudden obstacles by XOR operation of the a priori map and real-time point clouds, realizes fine geometric measurement of narrow channels through multi-view hovering sampling and TSDF fusion, and effectively improves the autonomous obstacle avoidance and passing ability of the unmanned aerial vehicle in a complex boiler environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of unmanned aerial vehicle (UAV) technology, specifically relating to an adaptive obstacle avoidance method for a boiler inspection UAV. Background Technology

[0002] In the anti-wear and anti-explosion inspection of water-cooled walls, superheaters, reheaters, and economizers of power plant boilers, drones equipped with high-definition cameras are usually used to enter the furnace for aerial inspection. However, the internal environment of a boiler is extremely special: the space is long and narrow and sealed, with longitudinal water-cooled walls and transverse connecting pipes, and there are often unstructured obstacles formed by ash accumulation and coking.

[0003] Existing inspection drones typically employ obstacle avoidance strategies such as emergency braking or simple detours. When an obstacle is detected ahead (such as dense pipe arrays or overhanging coke), the system often stops flying directly or returns along the original route. This strategy results in the drone being unable to continue its mission when encountering obstructions, leading to low detection coverage. Summary of the Invention

[0004] In view of the above-mentioned shortcomings of the prior art, the present invention provides an adaptive obstacle avoidance method for boiler inspection drones to solve the above-mentioned technical problems.

[0005] In a first aspect, the present invention provides an adaptive obstacle avoidance method for a boiler inspection drone, comprising: The laser point cloud acquired by the UAV in real time is converted into a real-time occupancy map. The real-time occupancy map is then XORed with a prior map pre-constructed based on the internal structure of the boiler to generate a difference map. The collision risk value between the drone and the object in front is calculated based on the difference map and the preset rule base; Once it is confirmed that the collision risk value exceeds a preset threshold, constraint sampling is performed with the current pose of the UAV as the center. Based on the hard constraint conditions in the rule base and the sampling results, multiple hovering poses are generated, and the UAV is controlled to hover in each hovering pose in turn and collect point cloud data. The truncated symbolic distance field fusion is performed on multi-frame point cloud data under multiple hover poses to generate a local occupancy map, and geometric measurements are performed on the local occupancy map to calculate the passage width. If the passage width is confirmed to have not reached the preset safety threshold, a detour decision or a return decision will be made.

[0006] In an optional implementation, the prior map is a discrete voxel structure map obtained by converting a boiler CAD model. Each voxel in the prior map corresponds to a voxel identifier, and each voxel identifier is associated with a structural label and physical properties. The structural labels include pipes, cross pipes, walls, and free space. The physical properties include the coefficient of friction and hardness.

[0007] In an optional implementation, the collision risk value between the drone and the object in front is calculated based on the difference map and a preset rule base, including: Obtain the current state vector of the UAV, which includes position, velocity, and acceleration components; Using the principle of second-order integral, a sequence of predicted trajectory points is generated in the prediction time domain based on the current state vector, and the sequence of predicted trajectory points is mapped to a chain of trajectory voxels. Traverse each voxel in the trajectory voxel chain and query the status of the target voxel in the real-time occupied map: if laser point cloud data exists in the target voxel in the real-time occupied map, generate the risk contribution value of the target voxel according to the type of the target voxel in the difference map and the corresponding structural label in the prior map, combined with the geometric constraints in the rule base; if no laser point cloud data exists in the target voxel, set the risk contribution value of the target voxel to zero. The risk contribution values ​​of all voxels in the trajectory voxel chain are summed, and the sum is compared with the value 1. The smaller value is taken as the collision risk value.

[0008] In an optional implementation, a risk contribution value for the target voxel is generated based on its type in the difference map and its corresponding structural label in the prior map, combined with geometric constraints in the rule base, including: Based on the spatial distance between the target voxel and the UAV body and the equivalent radius of the UAV body, the distance decay weight is calculated using the principle of exponential decay. Based on the type of the target voxel in the difference map and its corresponding structure label in the prior map, the structure type weight is obtained from the rule base; wherein, if the target voxel belongs to the area where the free space of the real-time point cloud and the prior map overlaps in the difference map, it is determined to be a sudden obstacle and assigned a preset structure type weight corresponding to the sudden obstacle; if the target voxel belongs to the area where the pipe structure of the real-time point cloud and the prior map overlaps, the structure type weight is assigned according to the preset value for the pipe structure in the rule base; The rule correction weight is calculated based on whether the spatial coordinates of the target voxel are located within the horizontal tube layer region defined in the rule base, and the vertical offset of the target voxel relative to the current trajectory of the UAV. The distance attenuation weight, structure type weight, and rule correction weight are multiplied together, and the resulting product is used as the risk contribution value of the target voxel.

[0009] In one optional implementation, constraint sampling is performed centered on the current pose of the UAV, and multiple hovering poses are generated based on the hard constraints in the rule base and the sampling results, including: Using the current pose as the center, uniform random sampling is performed in the six-degree-of-freedom space composed of the three-dimensional position and the three-dimensional pose to generate an initial candidate pose set; The hard constraints in the rule base are used to filter each candidate pose in the initial candidate pose set, and candidate poses that do not meet the hard constraints are eliminated. For all remaining candidate poses after filtering, calculate the cost value, which is equal to the negative of the number of sudden obstacle voxels in the difference map that can be observed from that candidate pose. The valid candidate poses are sorted in ascending order of their cost value to generate a queue of candidate hover poses.

[0010] In an optional implementation, the hard constraint includes: The Euclidean distance between the candidate pose and the current pose does not exceed the preset maximum search radius; Project the bounding sphere of the drone corresponding to the candidate pose onto the prior map. If the bounding sphere intersects with a voxel marked as a pipe, then the candidate pose is discarded. The dot product of the candidate pose's position vector relative to the preset manhole exit point and the manhole's axial unit vector is not less than zero.

[0011] In an optional implementation, when controlling the UAV to hover sequentially at each hovering pose and collect point cloud data, a sensor scheduling step is also included: When the label of the prior voxel map corresponding to the current hover pose is a focal area, the LiDAR frequency is increased to a first preset frequency, and the camera exposure is increased by a first preset percentage. When the label of the prior voxel map corresponding to the current hover pose is a non-focal zone, the LiDAR frequency is reduced to the second preset frequency.

[0012] In an optional implementation, truncated symbolic range field fusion is performed on multi-frame point cloud data under multiple hover poses to generate a local occupancy map, and geometric measurements are performed on the local occupancy map to calculate the passage width, including: The multi-frame point cloud data collected under multiple hover poses, along with the pose information corresponding to each frame, are input into the truncated symbolic range field fusion algorithm to perform weighted fusion on a voxel-by-voxel basis, generating a locally dense surface. Random sampling consistency cylinder fitting is performed on the local dense surface, and the fit between the fitted cylinder and the original point cloud surface is calculated. When the fit is greater than a preset threshold, the corresponding geometric structure is identified as a pipe; otherwise, it is identified as an obstacle. Identify two point cloud clusters belonging to the opposite pipe walls on both sides of the channel in the local dense surface, calculate the minimum Euclidean distance between the two point cloud clusters, and use the minimum distance as the passage width.

[0013] In an optional implementation, after confirming that the passage width has not reached a preset safety threshold, the method further includes: uploading the partially occupied map to the inspection log.

[0014] In one alternative implementation, performing a detour decision or a return-to-base decision includes: The system queries the rule base to see if a lateral detour route exists. If it does, a detour trajectory is generated. If it does not exist, the current voxel is marked as occupied and a return trajectory is generated.

[0015] The beneficial effects of this invention are as follows: The adaptive obstacle avoidance method for boiler inspection drones provided by this invention eliminates pipe bar obstruction through lateral observation, reconstructs the 3D structure of the obstructed area, and transforms unknown restricted areas into passable paths; it combines prior maps to identify inherent structures and sudden coking obstacles, avoiding accidental braking on water-cooled walls and ensuring continuous wall-side inspection; and it utilizes multi-view fusion to accurately measure channel margins, traversing complex obstacles while ensuring safe clearances, rather than simply detouring. Compared to traditional solutions, this invention significantly reduces invalid return flights and stationary stops, enabling the drone to continuously advance through the narrowest and most complex pipe bar areas, thus improving the inspection coverage of the predetermined path. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0017] Figure 1 This is a schematic flowchart of a method according to an embodiment of the present invention.

[0018] Figure 2 This is another illustrative flowchart of a method according to an embodiment of the present invention.

[0019] Figure 3 This is a schematic flowchart illustrating the method for generating hover pose according to an embodiment of the present invention.

[0020] Figure 4 This is a schematic flowchart illustrating the passage width calculation process of a method according to an embodiment of the present invention. Detailed Implementation

[0021] To enable those skilled in the art to better understand the technical solutions of this invention, the technical solutions of the embodiments of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this invention, and not all embodiments. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this invention.

[0022] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.

[0023] The adaptive obstacle avoidance method for the boiler inspection drone provided in this embodiment of the invention is executed by a computer device, and correspondingly, the adaptive obstacle avoidance system of the boiler inspection drone runs in the computer device.

[0024] Figure 1 This is a schematic flowchart illustrating a method according to an embodiment of the present invention. Wherein, Figure 1 The implementing entity can be an adaptive obstacle avoidance system for a boiler inspection drone. Depending on different requirements, the order of the steps in this flowchart can be changed, and some can be omitted.

[0025] like Figure 1 As shown, the method includes: S1. Convert the laser point cloud acquired by the UAV in real time into a real-time occupied map, and perform a voxel XOR operation between the real-time occupied map and a prior map pre-constructed based on the internal structure of the boiler to generate a difference map. S2. Calculate the collision risk value between the drone and the object in front based on the difference map and the preset rule base; S3. Confirm that the collision risk value exceeds the preset threshold, perform constraint sampling with the current pose of the UAV as the center, generate multiple hovering poses based on the hard constraint conditions in the rule base and the sampling results, and control the UAV to hover in each hovering pose in sequence and collect point cloud data. S4. Perform truncated symbolic distance field fusion on multi-frame point cloud data under multiple hover poses to generate a local occupancy map, and perform geometric measurements on the local occupancy map to calculate the passage width; S5. If it is confirmed that the passage width has not reached the preset safety threshold, a detour decision or a return decision is made.

[0026] Please refer to Figure 2 The adaptive obstacle avoidance method of the boiler inspection drone of the present invention will be described in detail.

[0027] In one embodiment of the present invention, based on step S1, the following will provide a possible embodiment and describe its specific implementation in a non-limiting manner.

[0028] S101, Construction of the Prior Map In this embodiment, a priori map of the boiler's internal structure is first constructed. The boiler's CAD 3D model is read, and the continuous geometric model is converted into a discrete voxel map through parametric modeling.

[0029] (1) Definition of voxel grid Define a 3D voxel mesh Its resolution is That is, each voxel has a side length of A cube. A voxel mesh covers the three-dimensional space of the boiler's internal inspection area, with each voxel indexed by its spatial index. Unique identifier.

[0030] (2) Data structure design Prior Map A hash table structure is used for storage, and its mapping relationship is as follows:

[0031] in, A spatial index (voxel identifier) ​​for voxels, with each index associated with a structure label. and a set of physical properties .

[0032] Structural tags For enumeration types, including: pipeline( ): indicates cylindrical structures such as water-cooled wall tubes and superheater tubes; Cross pipe ( ): Indicates the area where two pipes intersect or pipe rows converge; wall( ): represents the large planar structure such as the furnace wall and partition walls; Free space ( ): Indicates an accessible, barrier-free area.

[0033] Physical properties Including but not limited to: coefficient of friction Used for calculating sliding friction loss in subsequent collision energy estimation; hardness Used to characterize the rigidity of a structure, affecting the collision severity score.

[0034] (3) Conversion from CAD to voxels Traverse each triangular facet in the CAD model and label the voxels covered by its bounding box with the corresponding structural tag. For the pipe model, use its centerline equation. and outer diameter Voxels that meet the following conditions will be labeled as pipelines:

[0035] in The world coordinates are the voxel centers. For free space, except for all voxels already labeled as structures, the default label is... And assign default physical properties (coefficient of friction) ,hardness The final output is the prior map. This is for use in subsequent steps.

[0036] S102, Real-time Occupation Map Generation and Difference Calculation During the inspection process, the drone's onboard LiDAR collects 3D point cloud data in real time. This step converts the raw point cloud into a real-time occupied map and performs an XOR operation with the prior map to generate a difference map.

[0037] (1) Point cloud preprocessing Let the original point cloud frame be ,in For the three-dimensional coordinates of a single point, First, outlier filtering is performed; for each point, its radius is calculated. If the number of neighboring points within is less than If it is an outlier, it will be identified and removed.

[0038] The filtered point cloud is then dimensionality-reduced using voxel grid downsampling. Each point in the point cloud is mapped to a voxel grid. In the middle, the voxel resolution is consistent with the prior map ( Define the real-time occupied map. For binary voxel maps:

[0039] That is, if there is at least one laser point cloud data in a voxel, it is marked as occupied (value 1), otherwise it is marked as free (value 0).

[0040] (2) Generating a difference map using the XOR operation Prior Map In this step, only its occupancy information is used: the structure is labeled as The voxels are considered "idle" (0), and the label is... , , The voxels are considered "prior occupancy" (1). A prior occupancy map is defined. :

[0041] Will occupy the map in real time With prior occupation map Perform a voxel-level XOR operation to generate a difference map. :

[0042] The truth table for the XOR operation is shown in Table 1: Table 1

[0043] Difference Map The voxels marked as 1 correspond to two cases: Category 1: Inconsistency between real-time occupancy and prior idle time, i.e. and This type of voxel represents a physical presence detected in the real-time point cloud within an area previously identified as free space on the map; it is defined as a sudden obstacle. In subsequent collision risk calculations, this type of voxel is assigned a higher structure type weight to reflect the potential threat of unknown obstacles to flight safety.

[0044] The second type: real-time idle time is inconsistent with prior occupation, i.e. and This type of voxel represents an area marked as a structure on the prior map where no echo was detected in the real-time point cloud. This may be due to structural detachment, occlusion, or sensor noise. Since the spatial location corresponding to this type of voxel does not physically occupy the area in the real-time data, the UAV will not collide with it. Therefore, its contribution value is set to zero in the obstacle avoidance collision risk calculation and is not accumulated. This type of voxel can be used separately for structural integrity analysis (such as pipe missing detection) and is not used as the basis for obstacle avoidance decisions. In this embodiment, the subsequent collision risk calculation only focuses on... and The voxels (i.e., sudden disorders) are tagged with their types. .

[0045] (3) Storage of difference maps Difference map for easy and quick subsequent queries Use a sparse hash table for storage, only recording The voxels and their types (structural disappearance or sudden impairment). Simultaneously, each voxel can still be traced back to its original structural label in the prior map. , used to calculate structure type weights.

[0046] In one embodiment of the present invention, based on step S2, the following will provide a possible embodiment and describe its specific implementation in a non-limiting manner.

[0047] S201. Obtain the current state vector of the UAV. Let the current time of the UAV in the global coordinate system be . Its state vector Defined as:

[0048] in, Here are the three-dimensional position coordinates of the UAV's center of mass. For three-axis velocity components, These are the three-axis acceleration components. The above data is provided in real time by an airborne inertial measurement unit (IMU) and a positioning system (such as UWB or visual odometry).

[0049] S202, Generate a chain of predicted trajectory voxels Assuming the UAV maintains uniform acceleration during the short prediction time domain, the predicted trajectory is calculated using the second-order integral principle. Let the prediction time domain be... ,in Values Then at any prediction time... The predicted location of the drone for:

[0050] in , , .

[0051] With a fixed time step right Discrete sampling is performed to obtain the predicted trajectory point sequence. ,in , . For each predicted trajectory point Mapping to voxel mesh In the middle, the corresponding voxel coordinates are obtained. After removing duplicate voxel coordinates, a trajectory voxel chain is formed. ,in Represents the spatial index of a voxel. The number of different voxels the trajectory passes through.

[0052] S203, Calculate the risk contribution value of a single voxel. Traversal trajectory voxel chain Each voxel in Perform the following operations: (a) Query real-time occupancy status: Check the voxel's position on the real-time occupancy map. The value in. If If no laser point cloud data exists within a voxel, then the risk contribution value of that voxel is... Set as And skip subsequent calculations.

[0053] (b) Calculate the risk contribution value: If If the voxel is occupied by a physical obstacle, then its risk contribution value is further calculated. . It consists of the product of three weighting factors:

[0054] in: Distance decay weight Based on the distance between the voxels and the UAV body, an exponential decay model is used:

[0055] In the formula This is the distance from the voxel center to the nearest point on the surface of the drone. This is the equivalent radius of the drone (taken as the radius of the sphere enclosed by the drone's fuselage). This weighting ensures that obstacles closer to the drone contribute more to the risk.

[0056] Structure type weight Based on the voxel in the difference map The types in and in the prior map The structural tags within are determined. Specific rules are as follows: If the voxel belongs to the first type of inconsistency ( and , ), that is, sudden obstacles, then Take the preset sudden obstacle weight value .

[0057] If the voxels are uniformly occupied ( and If the structures overlap, then based on the prior labels... Query the preset weight table: for example Time weighting , Time weighting , Time weighting .

[0058] If the voxel is in other cases (theoretically, this would not occur). and and voxels, because correspond (This is only for completeness purposes), so the default weight is used. .

[0059] Rule-corrected weights Determined based on geometric constraints in a preset rule base. In this embodiment, the following rule is set: if voxels... Located in the horizontal tube layer region (i.e. its The coordinates belong to a preset range of horizontal pipe height, and the vertical offset of this voxel relative to the current trajectory of the UAV is... Greater than the threshold Then Set as Otherwise, the value is assigned based on the correction coefficients for different voxel labels in the rule base, with the default being... .when hour, Also for This indicates that the trajectory was directly blocked.

[0060] (c) Accumulation: Adding Add them to the total.

[0061] S204. Calculate the final collision risk value. After traversing all voxels in the trajectory voxel chain, the cumulative sum is obtained. .because Possibly or much larger To normalize the risk value to The interval facilitates threshold comparison, resulting in the final collision risk value. Defined as:

[0062] That is, if the cumulative sum is greater than or equal to ,but Pick Otherwise, take the sum of the elements. In this embodiment, when... When this occurs, subsequent hovering sampling and replanning steps are triggered; when (i.e., appearing in the cumulative sum) or the sum exceeds If the road is impassable, immediately apply emergency braking or return to port.

[0063] In one embodiment of the present invention, based on step S3, the following will provide a possible embodiment and describe its specific implementation in a non-limiting manner.

[0064] S300, Risk Threshold Judgment The collision risk value calculated in step S204 With preset threshold (Can be set to 0.7) for comparison: like This indicates that the current trajectory is safe, and the drone will continue to fly normally along the preset inspection route without triggering hovering sampling.

[0065] like If this indicates a high risk of collision ahead, then the following hovering pose generation and sampling steps S301 to S305 will be executed, as follows: Figure 3 As shown.

[0066] S301, Initial Candidate Pose Sampling Based on the current pose of the drone Centered on, in a six-degree-of-freedom space Uniform random sampling is performed. The current pose is represented as... ,in For three-dimensional position, The three-dimensional pose is represented by a quaternion.

[0067] The sampling strategy is as follows: in the location space, with Centered on, with a radius of Uniformly and randomly generated within the spherical region Candidate positions In attitude space, about the vertical axis (yaw angle) Uniform random sampling within the range, with pitch and roll angles maintained at 0°. (i.e., the drone's horizontal position). Each candidate position combined with a candidate yaw angle forms a candidate pose. This constitutes the initial candidate pose set. .

[0068] S302, Hard Constraint Filtering Using hard constraints in the rule base Each candidate pose is filtered, and poses that do not meet any of the following constraints are removed.

[0069] Spatial position constraint: The Euclidean distance between the candidate pose and the current pose must not exceed the preset maximum search radius. :

[0070] Candidate poses that do not meet this distance constraint are directly eliminated.

[0071] Pipeline interference constraints: Candidate poses The corresponding drone fuselage has an approximate radius of... Given a bounding sphere, calculate the set of voxels covered by the bounding sphere. Query the prior voxel map. The structural labels of these voxels. If any voxel exists Make If a candidate pose is found to interfere with the pipe, it is determined that the candidate pose is rejected. Mathematically, this is expressed as:

[0072] Manhole orientation constraint: Let the global coordinates of the manhole exit point be... The axial unit vector of the manhole is (Pointing towards the inside of the furnace is the positive direction). Candidate position The position vector relative to the manhole exit point is The constraint requires that the projection length of the position vector along the manhole axis be non-negative, meaning the drone should not fly outwards from the manhole (outside the furnace).

[0073] in This represents the vector dot product. Candidate poses that do not satisfy this constraint are discarded.

[0074] After the above three hard constraint filtering processes, the remaining candidate poses constitute the set of legal poses. .

[0075] S303, Cost Calculation for Each legal candidate pose Calculate its cost The cost is defined as: the difference map that can be observed from the candidate pose. The opposite number of sudden obstacle voxels in the middle.

[0076] Let the pose be Starting from the sensor's field of view (FOV) and effective detection range, its set of visible voxels can be calculated. Define the set of sudden obstacle voxels as follows: The number of sudden obstacle voxels observable at this pose is: The cost is:

[0077] The smaller the substitution value (i.e., the more negative it is), the more sudden obstacle voxels can be observed at that pose, and the higher its priority in subsequent sorting.

[0078] S304. Sort and generate a hover pose queue. Will All legal candidate poses are ranked according to their value. Sort the poses in ascending order from smallest to largest. The pose with the lowest cost is placed first, representing the optimal hovering pose. The sorted sequence is denoted as the candidate hovering pose queue. This is for subsequent steps to be executed sequentially.

[0079] S305, Multi-view hovering sampling and sensor scheduling Control the drones in sequence from The aircraft will fly sequentially to each hovering pose and perform the following operations at each pose: Precise pose control: Controlling the drone to fly to the target pose. Waiting for the positioning system to report the position error And attitude error After that, it was determined that it had reached a hovering state.

[0080] Sensor scheduling: based on the current hovering pose In the prior voxel map The corresponding structural labels in the code dynamically adjust the acquisition parameters of the airborne sensors. If the prior label at this pose is a focal region (i.e.) (Usually based on historical inspection marks or CAD presets), then the command is issued: increase the scanning frequency of the LiDAR to the first preset frequency. And increase the camera's exposure by a first preset percentage. This enhances point cloud and image quality in low-reflectivity or dusty environments.

[0081] If the prior label at this pose is a non-focal zone (normal tube array or free space), then issue the instruction to reduce the scanning frequency of the lidar to the second preset frequency. The camera exposure is kept at the default value to reduce data redundancy and power consumption.

[0082] Data Acquisition and Caching: After hovering is stable and sensor parameters have been adjusted, acquire the data for the current frame. It is then stored in the onboard cache for use in the subsequent local map fusion step S4.

[0083] Repeat the above process until the candidate hover pose queue is reached. All poses have been sampled, or the collision risk value has been reduced to below the safety threshold (which can be terminated early through reassessment).

[0084] In one embodiment of the present invention, based on step S4, the following will provide a possible embodiment and its specific implementation will be described in a non-limiting manner. Please refer to [the relevant documentation]. Figure 4 .

[0085] S401 and TSDF are fused to generate locally dense surfaces. Suppose that a total of [number] samples were collected through steps S3 (S301~S305). Frame data, each frame containing point clouds Depth map Color images and the corresponding sensor pose ,in It is a three-dimensional position vector. This is the rotation matrix. This step uses only point cloud data and pose information for fusion.

[0086] Define a local 3D voxel mesh Its resolution is Covering all hover poses Areas (e.g.) For each voxel in the voxel grid. Its central world coordinates are The basic principle of truncated symbolic distance field (TSDF) fusion is as follows: Calculate the symbol distance of a single frame: For the first frame Frame, the point cloud of that frame Projected onto a voxel mesh, each point It has world coordinates. (Volumetric) Symbolic distance to the surface of the point cloud in this frame Defined as:

[0087] in The distance between the intersection of the ray pointing from the sensor's optical center to the voxel center and the point cloud surface can be simplified in practice as follows: transform the voxel center to the camera coordinate system, obtain the distance value in the line-of-sight direction through depth map projection, and then calculate the sign of the difference (positive for voxels in front of the surface, negative for those behind). In the standard TSDF algorithm, the signed distance is truncated at... Within the range, Pick .

[0088] Voxel-wise weighted fusion: For each voxel Maintain its cumulative symbolic distance and cumulative weight For each frame Calculate the voxels in this frame Sign distance and weight (Weights are usually taken as) It may be related to the cosine of the angle between the lines of sight and the line of sight; in this embodiment, it is set as a constant. The fusion formula is:

[0089]

[0090] Extracting locally dense surfaces: After processing all After the frame, the fusion symbol distance for each voxel is Localized dense surface Defined as The isosurface, i.e., the set of zero-level points extracted through voxel interpolation, is typically generated into a triangular mesh using the Marching Cubes algorithm. Output This serves as the foundational geometric model for subsequent steps.

[0091] S402, Cylindrical Fitting for Pipe and Obstacle Recognition The locally dense surface generated in step S401 Perform Random Sample Consistency (RANSAC) cylinder fitting to distinguish pipe structures from general obstacles.

[0092] RANSAC cylinder fitting: from vertex set Randomly select a subset of points, assuming the cylindrical model parameters are... ,in It is a unit vector along the axis. Let be a point on the axis. Where is the radius of the cylinder. The cylinder height (or an infinitely long model) is given. A cylinder is fitted for each sampling subset, and the number of interior points (points whose distance to the cylinder surface is less than a threshold) is calculated. (Points). Repeated iterations. Next (such as) (This step is repeated once) The cylindrical model with the most interior points is retained as the best fit.

[0093] Calculate the degree of fit: Define the degree of fit The number of interior points of the best-fit cylinder and The ratio of total points:

[0094] in To ensure the distance to the fitted cylinder surface is less than The number of points, This represents the total number of vertices on a locally dense surface.

[0095] Classification and determination: The degree of similarity... With preset threshold Comparison: like If so, the local surface geometry is determined to be a pipe (normal pipe wall). like If it is an obstruction (such as coke, foreign objects, damage, or other irregular structures), it is determined to be an obstacle.

[0096] The judgment results are used for the following processing strategy when calculating the passage width: for pipe structures, the geometric parameters of the fitted cylinder are used directly; for obstacles, they are treated as objects to be crossed or bypassed.

[0097] S403, Calculate passage width The passage width is defined as the minimum distance between the two sides of the passage relative to the pipe wall (or obstacle surface). This embodiment uses the minimum Euclidean distance calculation method between point cloud clusters.

[0098] Identify point cloud clusters on both sides: Based on the cylindrical fitting results of step S402, identify locally dense surfaces. The point cloud clusters are classified as belonging to the left side wall of the channel. And point cloud clusters belonging to the right side of the pipe wall The criteria for division can be: The normal plane projection based on the cylindrical axis projects the point cloud onto a two-dimensional plane perpendicular to the axis, and divides it into two sides according to the angle or spatial position relative to the axis. Alternatively, based on the centerline of the passage in the prior map, the point clouds located on both sides of the centerline can be assigned to the left and right clusters respectively.

[0099] If there is no clear cylindrical model (i.e.) If an obstacle is identified, Euclidean clustering is performed on the point cloud, and the two largest clusters opposite each other along the passage direction are selected as the point cloud clusters on both sides.

[0100] Calculate the minimum Euclidean distance: Let and There are two point cloud clusters, each containing and Three-dimensional points. Passage width. Defined as the minimum Euclidean distance between all cross-cluster point pairs:

[0101] This minimum value represents the minimum gap between the two pipe walls. To improve computational efficiency, nearest neighbor search (such as KD-Tree) can be used to accelerate the process.

[0102] Output passage width: The calculated passage width The passage width is output to the passageability determination and replanning module in step S5.

[0103] In one embodiment of the present invention, based on step S5, a possible embodiment will be given below, and its specific implementation will be described in a non-limiting manner.

[0104] S501, Safety Threshold Calculation Let the width of the UAV fuselage (including the rotor shield or the maximum envelope diameter of the fuselage) be... The unit is meters. Define adaptive safety margin. The larger of the following two values:

[0105] in This is a preset fixed minimum safety margin. The dynamic margin coefficient is proportional to the channel width (i.e., the margin ratio is maintained at 20% for narrow channels and at least 5cm for wide channels).

[0106] Then the safety threshold Defined as:

[0107] S502, Passability Determination The passage width obtained in step S403 With safety threshold Comparison: like The current passage is deemed passable. like The current passage is deemed impassable.

[0108] S503, Continued Inspection When Passage is Allowed When it is determined that it is passable ( When the drone maintains its current attitude, it continues its boiler inspection tasks along the pre-set route without requiring path adjustments. Simultaneously, it will partially occupy the map during this inspection. and the calculated passage width Safety threshold Store the data in the onboard log (optional, not a mandatory step).

[0109] S504, Detour or Return Decisions When Passage is Impassable S504-1: Feasibility Inquiry for Detour Routes The system queries a pre-defined rule base to assess whether alternative detour paths exist in the lateral (primarily horizontal, but also considering vertical if necessary) directions of the current passage. The rule base is constructed based on prior structural information about the boiler's internal structure, specifically including: Multi-channel topology: The rule base pre-stores the network topology of all accessible channels inside the boiler. Nodes represent key locations (such as elbows, tees, manholes, and hovering points), and edges represent channel segments. Each channel segment is associated with its geometric parameters (average width, minimum width, direction, and starting point coordinates) and connectivity. For example, if the current channel is a vertical gap between water-cooled wall tube rows, its lateral (horizontal) connection may extend to adjacent inspection holes or furnace deflector areas.

[0110] Adjacent pipe row gap data: For densely packed pipe rows, the rule base records the center-to-center distance, outer diameter, and net clearance between each pair of adjacent pipes. When the current passage is impassable, the system queries the adjacent gap parallel to this passage (i.e., the other gap between pipe rows in the same direction) and calculates its gap width. .

[0111] Horizontal detour path: If the current path is a straight segment, the rule base may mark the entry and exit points of that segment, as well as whether there are alternative paths that bypass it (e.g., through the transverse space inside the furnace, downcomer bypass, etc.). Alternative paths typically involve the series connection of multiple path segments.

[0112] The specific query logic is as follows: based on the unique identifier of the current channel. As input, retrieve all adjacent channels that share an ingress or egress node with this channel from the topology table in the rule base. For each candidate adjacent channel... Get its minimum passage width (Unit: meters) and the length of the transition section required to cut into the detour channel from the current position of the drone. Then filter according to the following criteria: Width feasibility: ,in This means that the safety threshold of the bypass route itself must also meet the conditions for the safe passage of drones.

[0113] Continuity feasibility: The path area from the drone's current location to the entrance of the detour channel, partially occupying the map. There should be no obstacles in the path. This can be achieved through fast collision detection (e.g., discretizing the path into points and querying). This can be verified by checking whether the corresponding voxel is occupied.

[0114] Energy and Time Budget: The length of the detour path should not exceed the maximum additional flight distance supported by the remaining battery power (typically set at 30% of the current battery power as a detour reserve). The system estimates the total detour length based on the channel length in the rule base and compares it with the remaining range.

[0115] If there exists at least one candidate detour route that satisfies all of the above conditions, then the one with the largest width margin (i.e., If the longest or shortest path is selected as the preferred detour route, proceed to step S504-2. If no detour route meets the conditions, it is determined that there is no feasible detour route, and proceed to step S504-3 (mark the voxel and return).

[0116] S504-2: Detour trajectory generation and execution When a feasible detour exists, a smooth trajectory is generated that starts from the current position, passes through the detour, and finally reaches the next predetermined inspection point (or returns to the original route). This embodiment uses a combination of the graph search-based A* algorithm and local trajectory optimization to optimize the local map. The plan was completed in China.

[0117] (1) Definition of search space and cost function Will The voxel grid serves as the state space for the A* algorithm. Each voxel center... Each node corresponds to a given node. The definition starts from the first node. (Current location of the drone) to the target node Cost function of (the detour exit or the next inspection point) for:

[0118] in: From the starting node to the current node The actual path length (cumulative Euclidean distance), in meters.

[0119] As a heuristic function, the current node is used. To the target node The Euclidean distance, i.e. This heuristic function satisfies the admissibility property, guaranteeing that the A* algorithm finds the optimal solution.

[0120] (2) Constraints and node expansion rules When expanding nodes, the following hard constraints must be met: Occupation constraint: The voxel corresponding to the node is in The space must be in an idle state (i.e., not occupied by obstacles). System query. The occupation marker of this voxel, if If the space is occupied, expansion is prohibited.

[0121] Airframe collision constraints: Treat the drone as having a radius of... A sphere, when from a node Extend to adjacent nodes At this time, the connecting segments need to be checked. around All voxels within the distance are ensured to be unoccupied. This can be achieved through Bresenham segment rasterization combined with dilation queries.

[0122] Channel connectivity constraints: Inside the detour channel, node expansion is forced to skew towards the channel axis, preventing the algorithm from excessively detouring within the available space. Specifically, a direction penalty term is added to the cost function: if the angle between the current motion direction and the channel axis is greater than... ,but Additional penalties .

[0123] The search space is limited to a region centered on the current pose with a radius of [missing information]. Within the spherical region, anything outside that range is considered unreachable, and the search is terminated.

[0124] (3) Trajectory smoothing and velocity planning The A* algorithm outputs a series of discrete path points. Since the discrete point sequence may contain jagged or discontinuous directions, trajectory smoothing is required. This embodiment uses cubic spline interpolation to fit the path points, generating a path... Continuous curve ,in This is the arc length parameter. Then, based on the drone's maximum speed... and maximum acceleration Trajectory velocity curves are used to parameterize the trajectory over time, generating a desired pose sequence with timestamps. .

[0125] (4) Detour execution and safety monitoring The drone switches to detour mode and flies along the generated trajectory. During the detour, the system monitors the following safety indicators in real time: Real-time collision risk value (Recalculate according to step S2), if Exceeded again If the detour is interrupted, hover sampling will be performed again (jump to step S3). The actual distance between the pipe walls on both sides of the bypass channel, when the distance is less than Emergency braking is triggered at this time; If the battery voltage falls below the safety threshold, immediately switch to return-to-home mode.

[0126] Once the drone successfully reaches the exit of the detour route (i.e., resumes the original inspection route), it will record the detour path and success marker in the inspection log and continue with subsequent inspection tasks.

[0127] S504-3: Mark voxels and execute return-to-base decision If, after the query in step S504-1, no available lateral bypass route is found (for example, the current route is flanked by closely spaced pipe walls with no gaps to drill through; or the width of all candidate bypass routes does not meet the safe passage conditions; or there is no topological connection in the rule base), then the current blockage is determined to be "unbypassable," and the following operations are performed: Local occupation of voxel markers on the map: This refers to the narrow area where the current passage is located (i.e., within a certain distance forward from the current drone position, leading to...). The gap area between pipes occupies a local area on the map. The middle mark indicates a permanent blockage. The specific procedure is to identify the set of voxels sandwiched between the walls on both sides of the channel. Label these voxels and assign additional attributes And `$blocked_reason = "NARROW_CHANNEL"$`. This marker is persistently stored so that subsequent inspection tasks can avoid this area when loading the prior map.

[0128] Path backtracking and safe node selection: The drone queries the historical trajectory stored in its onboard memory. ,in Given the current position, search backwards from the current position to find the nearest "known safe node". A safe node is defined as: the collision risk value of that node. Less than in historical records The voxels surrounding this node are All nodes are idle; there has been at least one successful hover sampling record at this node.

[0129] Typically, this safety node is the previous hover sampling point (a pose in step S3) or the previous waypoint on the inspection route. If no suitable safety node is found, the process backtracks to the inspection starting point (such as the manhole exit).

[0130] The return trajectory does not need to be replanned; it can be directly taken as the reverse segment of the historical trajectory from the current point to the safe node. ,in This is the index for the safe node. To adapt to the dynamic constraints during reverse flight, the velocity of the reverse trajectory is replanned: given the current velocity... The final speed is zero. A linear deceleration or S-shaped speed curve is used to ensure that the speed of the drone drops to zero when it reaches the safe node.

[0131] The drone executes the return-to-home command, flying along a reverse trajectory. During the return-to-home process, it maintains a distance of at least [distance missing] from obstacles ahead. The safe distance is maintained (guaranteed by real-time point cloud detection). Simultaneously, a "channel blocked, inspection cannot continue" warning message is sent to the ground station in real time via a wireless data transmission module (such as 4G / 5G or Wi-Fi). This message includes the coordinates of the blocked location, the width of the blockage, the safety threshold, and a snapshot of the partially occupied map. Ground station operators can then determine whether manual intervention or adjustments to the subsequent inspection plan are necessary.

[0132] S505, partial occupation map uploaded to inspection log Regardless of whether a detour or return is executed, the locally occupied map generated in this instance will be updated after the above decisions are made. (Including the dense surface after TSDF fusion, cylinder fitting results, calculated passage width, and voxel blockage markers) uploaded to the ground station's inspection log database. This log is used for: Offline analysis of pipeline conditions in uninspected areas (such as deformation and coking). This allows maintenance personnel to manually verify the cause of the blockage. Update prior map The dynamic obstacle information is used for path pre-planning of subsequent inspection tasks.

[0133] The upload operation can be performed in real time during flight via the drone's wireless data transmission module (such as 4G / 5G or Wi-Fi), or exported in batches after the drone returns to base and lands.

[0134] Although the present invention has been described in detail with reference to the accompanying drawings and preferred embodiments, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made to the embodiments of the present invention by those skilled in the art without departing from the spirit and essence of the invention, and such modifications or substitutions should all be within the scope of the present invention. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should also be covered within the protection scope of the present invention.

Claims

1. An adaptive obstacle avoidance method for a boiler inspection drone, characterized in that, include: The laser point cloud acquired by the UAV in real time is converted into a real-time occupancy map. The real-time occupancy map is then XORed with a prior map pre-constructed based on the internal structure of the boiler to generate a difference map. The collision risk value between the drone and the object in front is calculated based on the difference map and the preset rule base. Once it is confirmed that the collision risk value exceeds a preset threshold, constraint sampling is performed with the current pose of the UAV as the center. Based on the hard constraint conditions in the rule base and the sampling results, multiple hovering poses are generated, and the UAV is controlled to hover in each hovering pose in turn and collect point cloud data. The truncated symbolic distance field fusion is performed on multi-frame point cloud data under multiple hover poses to generate a local occupancy map, and geometric measurements are performed on the local occupancy map to calculate the passage width. If the passage width is confirmed to have not reached the preset safety threshold, a detour decision or a return decision will be made.

2. The method according to claim 1, characterized in that, The prior map is a discrete voxel structure map obtained by converting the boiler CAD model. Each voxel in the prior map corresponds to a voxel identifier, and each voxel identifier is associated with a structural label and physical properties. The structural labels include pipes, cross pipes, walls, and free space. The physical properties include the coefficient of friction and hardness.

3. The method according to claim 1, characterized in that, The collision risk value between the drone and the object in front is calculated based on the difference map and the preset rule base, including: Obtain the current state vector of the UAV, which includes position, velocity, and acceleration components; Using the principle of second-order integral, a sequence of predicted trajectory points is generated in the prediction time domain based on the current state vector, and the sequence of predicted trajectory points is mapped to a chain of trajectory voxels. Traverse each voxel in the trajectory voxel chain and query the status of the target voxel in the real-time occupied map: if laser point cloud data exists in the target voxel in the real-time occupied map, generate the risk contribution value of the target voxel according to the type of the target voxel in the difference map and the corresponding structural label in the prior map, combined with the geometric constraints in the rule base; if no laser point cloud data exists in the target voxel, set the risk contribution value of the target voxel to zero. The risk contribution values ​​of all voxels in the trajectory voxel chain are summed, and the sum is compared with the value 1. The smaller value is taken as the collision risk value.

4. The method according to claim 3, characterized in that, Based on the type of the target voxel in the difference map and its corresponding structural label in the prior map, and combined with the geometric constraints in the rule base, a risk contribution value for the target voxel is generated, including: Based on the spatial distance between the target voxel and the UAV body and the equivalent radius of the UAV body, the distance decay weight is calculated using the principle of exponential decay. Based on the type of the target voxel in the difference map and its corresponding structure label in the prior map, the structure type weight is obtained from the rule base; wherein, if the target voxel belongs to the area where the free space of the real-time point cloud and the prior map overlaps in the difference map, it is determined to be a sudden obstacle and assigned a preset structure type weight corresponding to the sudden obstacle; if the target voxel belongs to the area where the pipe structure of the real-time point cloud and the prior map overlaps, the structure type weight is assigned according to the preset value for the pipe structure in the rule base; The rule correction weight is calculated based on whether the spatial coordinates of the target voxel are located within the horizontal tube layer region defined in the rule base, and the vertical offset of the target voxel relative to the current trajectory of the UAV. The distance attenuation weight, structure type weight, and rule correction weight are multiplied together, and the resulting product is used as the risk contribution value of the target voxel.

5. The method according to claim 1, characterized in that, Constraint sampling is performed centered on the current pose of the UAV, and multiple hovering poses are generated based on the hard constraints in the rule base and the sampling results, including: Using the current pose as the center, uniform random sampling is performed in the six-degree-of-freedom space composed of the three-dimensional position and the three-dimensional pose to generate an initial candidate pose set; The hard constraints in the rule base are used to filter each candidate pose in the initial candidate pose set, and candidate poses that do not meet the hard constraints are eliminated. For all remaining candidate poses after filtering, calculate the cost value, which is equal to the negative of the number of sudden obstacle voxels in the difference map that can be observed from that candidate pose. The valid candidate poses are sorted in ascending order of their cost value to generate a queue of candidate hover poses.

6. The method according to claim 5, characterized in that, The hard constraints include: The Euclidean distance between the candidate pose and the current pose does not exceed the preset maximum search radius; Project the bounding sphere of the drone corresponding to the candidate pose onto the prior map. If the bounding sphere intersects with a voxel marked as a pipe, then the candidate pose is discarded. The dot product of the candidate pose's position vector relative to the preset manhole exit point and the manhole's axial unit vector is not less than zero.

7. The method according to claim 1, characterized in that, When controlling the drone to hover sequentially at various hovering poses and collect point cloud data, a sensor scheduling step is also included: When the label of the prior voxel map corresponding to the current hover pose is a focal area, the LiDAR frequency is increased to a first preset frequency, and the camera exposure is increased by a first preset percentage. When the label of the prior voxel map corresponding to the current hover pose is a non-focal zone, the LiDAR frequency is reduced to the second preset frequency.

8. The method according to claim 1, characterized in that, The system performs truncated symbolic range field fusion on multi-frame point cloud data under multiple hover poses to generate a local occupancy map, and performs geometric measurements on the local occupancy map to calculate the passage width, including: The multi-frame point cloud data collected under multiple hover poses, along with the pose information corresponding to each frame, are input into the truncated symbolic range field fusion algorithm to perform weighted fusion on a voxel-by-voxel basis, generating a locally dense surface. Random sampling consistency cylinder fitting is performed on the local dense surface, and the fit between the fitted cylinder and the original point cloud surface is calculated. When the fit is greater than a preset threshold, the corresponding geometric structure is identified as a pipe; otherwise, it is identified as an obstacle. Identify two point cloud clusters belonging to opposite pipe walls on both sides of the channel in the local dense surface, calculate the minimum Euclidean distance between the two point cloud clusters, and use the minimum distance as the passage width.

9. The method according to claim 1, characterized in that, After confirming that the passage width has not reached the preset safety threshold, the method further includes: uploading the partially occupied map to the inspection log.

10. The method according to claim 1, characterized in that, Executing detour or return-to-base decisions includes: The system queries the rule base to see if a lateral detour route exists. If it does, a detour trajectory is generated. If it does not exist, the current voxel is marked as occupied and a return trajectory is generated.