Unmanned aerial vehicle detection and digital twin construction method based on multi-element heterogeneous data fusion

By integrating a multi-sensor drone system, precise positioning and multi-source data fusion are achieved in enclosed environments, generating a high-precision digital twin model. This solves the problems of inaccurate positioning and incomplete detection in existing technologies, improving detection efficiency and the comprehensiveness of results.

CN123160780APending Publication Date: 2026-11-24SHENZHEN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611387513.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-08
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing drone detection technologies are inaccurate in positioning within enclosed environments, making it difficult to identify hidden defects. Furthermore, they lack multi-sensor data fusion mechanisms, making it impossible to generate comprehensive and interactive digital twin models.

Method used

It integrates an RGB camera, a thermal infrared imager, a lidar, and an inertial measurement unit to achieve synchronous acquisition of multi-source data. Through local relative coordinate system fusion and pixel-level registration, it generates high-precision 3D geometric models and digital twin models.

Benefits of technology

It enables precise positioning of drones in environments lacking GPS signals, identifies visible and hidden defects, generates visualized digital twin models, and improves the comprehensiveness and efficiency of detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160780A_ABST
    Figure CN123160780A_ABST
Patent Text Reader

Abstract

This invention relates to the field of unmanned aerial vehicle (UAV) technology, specifically to a method for UAV detection and digital twin construction based on multi-source heterogeneous data fusion, comprising the following steps: S1, integrating multiple source sensors and synchronously collecting data, unifying timestamps and frame rates; S2, establishing a local relative coordinate system and fusing multi-source information for positioning and mapping; S3, completing RGB and thermal infrared image registration, identifying cracks and temperature anomalies, and obtaining spatial coordinates; S4, performing point cloud registration and fusion, constructing a 3D model and generating a defect model; S5, integrating into a visualization platform to generate a digital twin model, enabling browsing, annotation, querying, backtracking, and report generation. This invention achieves high-precision detection, accurate spatial mapping, and full-process digital management of structural defects in complex and enclosed environments, significantly improving detection efficiency, comprehensiveness of identification, and intelligent operation and maintenance levels.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of unmanned aerial vehicle (UAV) technology, and in particular to a method for UAV detection and digital twin construction based on the fusion of diverse heterogeneous data. Background Technology

[0002] In recent years, with the continuous growth in demand for structural health monitoring, regular inspections of large buildings and infrastructure, such as bridges, tunnels, industrial plants, and long-span stadiums, have become an important technical means to ensure public safety. Traditional manual inspection methods mainly rely on visual observation, scaffolding erection, or lifting equipment, which suffer from low inspection efficiency, high safety risks, numerous blind spots, and strong subjectivity of results, making it difficult to meet the needs of large-scale, high-frequency, and refined inspections. With the rapid development of drone technology, drones, with their advantages of maneuverability, non-contact inspection, and autonomous flight, have been gradually applied to crack detection and surface defect identification in scenarios such as bridges and building facades. At the same time, with the development of technologies such as thermal infrared imaging, lidar, and visual SLAM, multi-sensor fusion detection and digital twin technology are becoming important development directions in the field of structural health monitoring.

[0003] However, existing drone inspection technologies still have significant shortcomings. First, current systems generally rely on GPS for positioning and trajectory control. In enclosed environments such as tunnels, underground spaces, and large factory buildings, GPS signals are easily lost or severely attenuated, making it difficult for drones to achieve accurate positioning and spatial coordinate calibration of defects. Second, existing solutions mostly use a single RGB camera, which can only identify visible defects such as cracks and cannot effectively detect hidden defects such as leaks and abnormal humidity, resulting in incomplete inspection results. In addition, existing technologies lack an effective fusion mechanism between image data, pose data, and point cloud data, making it difficult to accurately map defect information to a 3D model and form an interactive, queryable, and traceable digital twin model, thus limiting the application value of inspection results in the entire life cycle management of structures. Summary of the Invention

[0004] This invention provides a method for UAV detection and digital twin construction based on multi-source heterogeneous data fusion. By integrating an RGB camera, a thermal infrared imager, a lidar, and an inertial measurement unit, it achieves synchronous acquisition of multi-source data. By establishing a local relative coordinate system and fusing point cloud data, inertial measurement data, and visual feature point information, it achieves accurate positioning in GPS-free environments. By performing pixel-level registration of visible light images and thermal infrared images, it achieves synchronous identification of crack defects and temperature anomaly areas. Furthermore, by combining point cloud registration and 3D modeling technology, it accurately maps defect information to a 3D geometric model, ultimately generating a visualized digital twin model, thereby realizing an integrated technical process of positioning, detection, modeling, and twin creation.

[0005] The method for UAV detection and digital twin construction based on multi-source heterogeneous data fusion includes the following steps: S1 integrates an RGB camera, thermal infrared imager, lidar, inertial measurement unit and optical flow sensor on the drone platform to control the drone to fly along a preset path or an autonomously planned path, and simultaneously collect multi-source data, including visible light images, thermal infrared images, point cloud data and motion status data, and unify timestamps and data frame rates. S2, in an environment without absolute positioning signals, establishes a local relative coordinate system with the UAV takeoff point as the origin, integrates point cloud data, inertial measurement data and visual feature point information for synchronous positioning and mapping, and obtains the UAV's pose information in the relative coordinate system in real time as a spatial reference. S3 performs pixel-level registration of RGB images and thermal infrared images to achieve spatial alignment, and identifies crack defects based on visible light images and temperature anomaly areas based on thermal infrared images, respectively. The identification results are associated with the UAV pose information to obtain the spatial coordinates of the defects. S4 performs point cloud registration and fusion based on point cloud data and UAV pose information to construct a three-dimensional geometric model, and maps the defect type, size, temperature anomaly value and spatial coordinates to the corresponding position to generate a disease model. S5 integrates 3D geometric models, defect semantic information, RGB images, and thermal infrared images into a visualization platform to generate a digital twin model, enabling model browsing, defect annotation, information query, image backtracking, and inspection report generation.

[0006] Optionally, S1 includes: S11 integrates an RGB camera, thermal infrared imager, lidar, inertial measurement unit, and optical flow sensor onto a UAV platform, and establishes a set of installation parameters for each sensor relative to the UAV system. After the system starts up, the output channels of each sensor are uniformly connected to form a multi-source input data stream corresponding to visible light images, thermal infrared images, point cloud data, inertial measurement data, and optical flow motion data, generating a multi-dimensional heterogeneous data set after the UAV platform is integrated. S12 controls the UAV to fly along a preset path or an autonomously planned path, and continuously triggers the RGB camera, thermal infrared imager, lidar, inertial measurement unit and optical flow sensor to collect data synchronously during the flight, respectively acquiring visible light images, thermal infrared images, point cloud data and motion state data, thereby forming a time-series acquisition result corresponding to the flight process; S13. The visible light images, thermal infrared images, point cloud data and motion state data collected during the flight are marked with a unified time reference. The timestamps of each data stream are aligned according to a preset common time series, and the data is resampled according to the target frame rate to obtain a multi-source fusion dataset with unified timestamps and consistent frame rates.

[0007] Optionally, S13 includes: S131, extract the original timestamp sequences from the visible light images, thermal infrared images, point cloud data and motion state data collected during the flight, and establish a unified common time series based on the collection time of various sensor data as a unified time reference for multi-source data time alignment; S132, based on the unified public time series, the original timestamps of various sensors are matched, and the original data frame with the smallest absolute time difference with the unified timestamp is selected as the alignment data corresponding to the current time, thereby completing the timestamp alignment of multi-source data; S133, resample the multi-source data after timestamp alignment according to the preset target unified frame rate to obtain a multi-source fusion dataset with consistent frame rate.

[0008] Optionally, S2 includes: S21. After the UAV enters an environment without absolute positioning signal, the location of the UAV at the time of takeoff is taken as the origin of the local relative coordinate system, and the initial orientation of the UAV system at the time of takeoff is taken as the reference direction of the local relative coordinate system. A local relative coordinate system is established to describe the changes in the UAV's flight position and attitude. The collected point cloud data, inertial measurement data and visual feature point information are uniformly mapped to the local relative coordinate system for expression. S22, in the local relative coordinate system, the point cloud data output by the lidar, the acceleration data and angular velocity data output by the inertial measurement unit, and the visual feature point information extracted from the image are jointly processed. The pose change of the UAV between adjacent moments is estimated through the synchronous positioning and mapping algorithm, and the local map is updated and the trajectory is recursively derived based on the pose change results of consecutive moments. S23, the optimal pose estimation results output by the synchronous positioning and mapping algorithm at each time moment are used as the real-time pose information of the UAV in the local relative coordinate system. The pose information includes the spatial position and attitude angle of the UAV.

[0009] Optionally, S22 includes: S221: Obtain the angular velocity and acceleration data output by the inertial measurement unit at each sampling time, and recursively calculate the attitude, velocity and position of the UAV at the current time based on the sampling time interval between adjacent times, and generate the initial pose estimation result of the UAV at the current time as the prior state of multi-source fusion positioning. S222: Obtain the point cloud data and visual feature point information corresponding to the current moment, and jointly construct them with the results of recursive calculation to form a multi-source observation set for the current moment. Construct a fusion positioning error function based on the point cloud registration error, visual reprojection error and inertial state recursive error. S223, optimize and solve the constructed fusion positioning error function to obtain the optimal pose estimation result at the current time, and update the local map based on the optimal pose result.

[0010] Optionally, S3 includes: S31, acquire RGB images and thermal infrared images collected at the same time or adjacent times, perform registration processing on the RGB images and thermal infrared images, establish a mapping relationship between the pixel coordinates of the thermal infrared images and the pixel coordinates of the RGB images, and project the thermal infrared images onto the RGB image coordinate system based on the mapping relationship to achieve pixel-level registration and spatial alignment of the two types of images, and generate corresponding registered image pairs. S32, based on spatially aligned image pairs, performs crack defect identification and segmentation processing on RGB images to obtain crack defect regions and crack lengths. At the same time, it performs temperature field analysis on the registered thermal infrared images to identify temperature anomaly regions, which are used as the judgment results for leakage or humidity anomaly regions, thus forming visible light defect identification results and thermal infrared anomaly identification results respectively. S33. Associate the crack defect area and temperature anomaly area with the current UAV pose information. Based on the pixel coordinates of the registered image pair and the pose relationship of the UAV in the local relative coordinate system, map the defect area from the image coordinates to the local relative coordinate system to obtain the spatial coordinates corresponding to each defect.

[0011] Optionally, S32 includes: S321, Crack identification processing is performed on the obtained spatially aligned RGB image to obtain the crack defect region, and geometric parameters are extracted based on the crack defect region to generate crack defect identification results. S322 performs temperature field analysis on the registered thermal infrared image, calculates the deviation between the temperature value of each pixel and the reference temperature, identifies temperature anomaly areas based on the temperature anomaly judgment threshold, and generates temperature anomaly identification results. S323 summarizes the crack defect area and the temperature anomaly area to form the comprehensive defect identification result at the current moment.

[0012] Optionally, S4 includes: S41, acquire point cloud data collected at each time moment and UAV pose information corresponding to each time moment, transform the point cloud data at each time moment from the sensor coordinate system to the local relative coordinate system to achieve a unified coordinate expression of point cloud data at multiple times moment, and perform point cloud registration based on the spatial correspondence between point clouds at adjacent times moment to obtain the registered point cloud data. S42, based on the unified coordinate expression result and the registered point cloud data, the point cloud data at multiple times is fused to form a fused point cloud set covering the surface of the structure to be detected, and a three-dimensional geometric model is constructed based on the fused point cloud set to obtain the three-dimensional geometric expression result of the structure to be detected in the local relative coordinate system. S43, acquire the output defect semantic information, including defect type, crack length, temperature anomaly value and spatial coordinates, and map the defect semantic information to the corresponding position in the three-dimensional geometric model according to the spatial coordinates, so that the corresponding area in the three-dimensional geometric model is associated with defect attribute information, thereby generating a disease model with disease semantic information.

[0013] Optionally, S5 includes: S51, acquire the output three-dimensional geometric model, defect semantic information, and RGB and thermal infrared images corresponding to the defect, use the three-dimensional geometric model as a spatial carrier, associate the defect semantic information and corresponding image data with the corresponding positions in the spatial carrier, form a data organization result for the visualization platform, and generate a digital twin model in the visualization platform. S52, in the digital twin model, the corresponding semantic information of each defect is marked on the corresponding position of the three-dimensional geometric model according to the spatial coordinates of each defect, and a query association relationship between the defect marking results and the defect semantic information is established in the visualization platform to realize the visualization display and information query of defect type, crack length, temperature anomaly value and spatial coordinates. S53, based on the correlation between defect annotation results and image data, responds to the user's selection operation for defect annotation in the visualization platform, retrieves the RGB image and thermal infrared image corresponding to the selected defect, realizes image backtracking, and summarizes all defect information in the digital twin model to generate an inspection report including a defect list, spatial distribution and statistical results.

[0014] The beneficial effects of this invention are: This invention introduces SLAM-based relative positioning technology to establish a local relative coordinate system with the UAV takeoff point as the origin. It also integrates lidar, inertial measurement unit and visual information to calculate the UAV pose in real time, effectively eliminating the dependence on GPS signals. This makes the UAV detection system applicable to complex environments such as tunnels, underground spaces, large factory interiors and mine roadways where GPS signals are missing or severely attenuated, significantly expanding the applicable scenarios of UAV detection technology.

[0015] This invention achieves deep fusion of visible light texture information and temperature field information by simultaneously acquiring RGB images, thermal infrared images, and 3D point cloud data, and performing pixel-level registration and spatiotemporal alignment of the RGB images and thermal infrared images. This not only accurately identifies visible defects such as cracks, but also effectively detects hidden defects such as leakage and abnormal humidity accompanied by temperature anomalies, significantly improving the comprehensiveness of defect identification and the accuracy of structural health assessment.

[0016] This invention obtains the precise spatial coordinates of each defect in a local relative coordinate system by associating defect identification results with the relative pose information of a UAV. It then constructs a high-precision three-dimensional geometric model by combining point cloud registration and fusion algorithms, achieving accurate mapping of defect semantic information to the model surface and generating a defect model with complete attribute information. This establishes a data link between image data, positioning data, and point cloud data, providing a reliable data foundation for the digital management of the entire life cycle of structures.

[0017] This invention constructs an integrated technology chain from multi-source data acquisition, fusion processing, 3D modeling to digital twin presentation, achieving full-process automation of positioning, detection, modeling, and twin creation. The resulting digital twin platform has functions such as model browsing, defect annotation, information query, image retrospection, and detection report generation, significantly reducing time costs and manpower input in the detection process, and improving detection efficiency and digital operation and maintenance level. Attached Figure Description

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

[0019] Figure 1 This is a schematic diagram of the construction method according to an embodiment of the present invention. Detailed Implementation

[0020] The present invention will now be described in detail with reference to the accompanying drawings and specific embodiments. Those skilled in the art may employ other alternative methods to implement some well-known technologies; moreover, the accompanying drawings are only for more specific description of the embodiments and are not intended to specifically limit the present invention.

[0021] like Figure 1 As shown, the method for UAV detection and digital twin construction based on multi-source heterogeneous data fusion includes the following steps: S1 integrates an RGB camera, thermal infrared imager, lidar, inertial measurement unit and optical flow sensor on the drone platform to control the drone to fly along a preset path or an autonomously planned path, and simultaneously collect multi-source data, including visible light images, thermal infrared images, point cloud data and motion status data, and unify timestamps and data frame rates. S2, in an environment without absolute positioning signals, establishes a local relative coordinate system with the UAV takeoff point as the origin, integrates point cloud data, inertial measurement data and visual feature point information for synchronous positioning and mapping, and obtains the UAV's pose information in the relative coordinate system in real time as a spatial reference. S3 performs pixel-level registration of RGB images and thermal infrared images to achieve spatial alignment, and identifies crack defects based on visible light images and temperature anomaly areas based on thermal infrared images, respectively. The identification results are associated with the UAV pose information to obtain the spatial coordinates of the defects. S4 performs point cloud registration and fusion based on point cloud data and UAV pose information to construct a three-dimensional geometric model, and maps the defect type, size, temperature anomaly value and spatial coordinates to the corresponding position to generate a disease model. S5 integrates 3D geometric models, defect semantic information, RGB images, and thermal infrared images into a visualization platform to generate a digital twin model, enabling model browsing, defect annotation, information query, image backtracking, and inspection report generation.

[0022] S1 includes: S11 integrates an RGB camera, thermal infrared imager, LiDAR, inertial measurement unit, and optical flow sensor onto the UAV platform. It establishes a set of installation parameters for each sensor relative to the UAV system. After system startup, it uniformly connects the output channels of each sensor, forming multi-source input data streams corresponding to visible light images, thermal infrared images, point cloud data, inertial measurement data, and optical flow motion data. This generates a multi-dimensional heterogeneous data set integrated into the UAV platform, represented as: ; in, For a diverse and heterogeneous data set, This is the visible light image data stream output by an RGB camera. This is the thermal infrared image data stream output by the thermal infrared imager. The point cloud data stream output by the lidar. This is the motion state data stream output by the inertial measurement unit. This is the motion state data stream output by the optical flow sensor; S12 controls the UAV to fly along a preset path or a self-planned path, and continuously triggers the RGB camera, thermal infrared imager, lidar, inertial measurement unit, and optical flow sensor to synchronously collect data during the flight, acquiring visible light images, thermal infrared images, point cloud data, and motion state data, respectively, thus forming a time-series acquisition result corresponding to the flight process, represented as: ; ; ; in, For the drone's flight path, For the first in the path Path points, , The total number of path points. , , They represent the first The coordinates of the path points in space For the first Flight attitude parameters corresponding to each waypoint For a moment The results of multi-sensor synchronous acquisition. This is the visible light image at that moment. This is the thermal infrared image at that moment. For the point cloud data at that moment, The inertial measurement data at that moment, This is the optical flow motion data at that moment; S13. The visible light images, thermal infrared images, point cloud data and motion state data collected during the flight are marked with a unified time reference. The timestamps of each data stream are aligned according to a preset common time series, and the data is resampled according to the target frame rate to obtain a multi-source fusion dataset with unified timestamps and consistent frame rates.

[0023] S13 includes: S131, the original timestamp sequences are extracted from the visible light images, thermal infrared images, point cloud data, and motion state data acquired during flight. A unified common time series is established based on the acquisition time of various sensor data, serving as a unified time reference for multi-source data time alignment, expressed as: ; ; in, For the first The original timestamp sequence of the sensor-like device, For the first Type 1 sensor The original timestamps corresponding to each data frame , For the first The number of raw data frames of the sensor-like device , For a unified public time series, For the first A unified timestamp , To unify the total number of time points in a time series; S132, based on a unified common time series, matches the original timestamps of various sensors, and selects the original data frame with the smallest absolute time difference from the unified timestamp as the alignment data corresponding to the current moment, thereby completing the timestamp alignment of multi-source data, as shown below: ; ; in, For the first Sensors at a uniform moment The original data index that is matched below, For the first Type of sensor in the first Aligned data corresponding to a unified timestamp This is the original collected data; S133, resample the multi-source data after timestamp alignment according to the preset target unified frame rate to obtain a multi-source fusion dataset with consistent frame rate, represented as: ; ; ; in, To standardize the sampling time interval corresponding to the frame rate, To achieve a unified frame rate, To complete the multi-source fusion dataset after unifying timestamps and frame rates, For the first Multi-source aligned data corresponding to a unified time point For a unified visible light image, For the unified thermal infrared image, For the unified point cloud data, For the unified inertial measurement data, This is the unified optical flow motion data.

[0024] S2 includes: S21, after the UAV enters an environment without absolute positioning signals, a local relative coordinate system is established using the UAV's takeoff location as the origin and the initial orientation of the UAV's flight system at takeoff as the reference direction. This system describes the changes in the UAV's flight position and attitude. The collected point cloud data, inertial measurement data, and visual feature point information are then uniformly mapped to this local relative coordinate system for expression, as follows: ; ; ; ; in, For a local relative coordinate system, The origin of the local relative coordinate system corresponds to the location of the UAV's takeoff point. , , These are the three coordinate axes of the local relative coordinate system. For the UAV in a local relative coordinate system The position vector below, , , These represent the relative position components of the UAV along the three coordinate axes. For drones at all times The attitude rotation matrix relative to the local relative coordinate system, It is a three-dimensional rotation matrix space. For drones at all times pose transformation matrix, It is the transpose of the three-dimensional zero vector; S22, in a local relative coordinate system, jointly processes the point cloud data output by the lidar, the acceleration and angular velocity data output by the inertial measurement unit, and the visual feature point information extracted from the image. It estimates the pose change of the UAV between adjacent moments through synchronous positioning and mapping algorithms, and realizes local map update and trajectory recursion based on the pose change results of continuous moments. S23, the optimal pose estimation results output by the synchronous localization and mapping algorithm at each time step are used as the real-time pose information of the UAV in the local relative coordinate system. The pose information includes the spatial position and attitude angle of the UAV, expressed as: ; ; ; in, For a moment pose information, For a moment Spatial location, For a moment The attitude rotation matrix, For a moment The attitude angle vector, For roll angle, The pitch angle, Yaw angle This represents the pose sequence of the drone during flight. Output the total number of time steps for the pose.

[0025] S22 includes: S221: Acquire the angular velocity and acceleration data output by the inertial measurement unit at each sampling time, and recursively calculate the attitude, velocity, and position of the UAV at the current time based on the sampling time interval between adjacent times, generating the initial pose estimation result of the UAV at the current time, which serves as the prior state for multi-source fusion localization, represented as: ; ; ; ; ; in, For a moment angular velocity vector, , , These are the angular velocity components along the three axes. For a moment acceleration vector, , , These are the acceleration components in the three axial directions, For a moment The attitude rotation matrix, For a moment The attitude rotation matrix, For a moment angular velocity vector, The angular velocity antisymmetric matrix, For matrix exponential mapping, The sampling time interval, Let the velocity vector be the velocity vector at the current moment. The velocity vector at the previous moment. Let this be the acceleration vector at the current moment. Let this be the current position vector. The position vector at the previous moment; S222: Obtain the point cloud data and visual feature point information corresponding to the current moment, and jointly construct them with the results of recursive calculation to form the multi-source observation set for the current moment. Construct the fusion positioning error function based on the point cloud registration error, visual reprojection error, and inertial state recursive error, expressed as: ; ; ; ; ; in, For a moment A multi-source observation set For point cloud data, For the set of visual feature points, The angular velocity vector at the current moment. To fuse the positioning error function, This refers to the point cloud registration error term. This is the visual reprojection error term. This is the inertial recursion error term. The number of point cloud points participating in the registration. For reference point cloud One point, For the current point cloud One point, This is the current pose transformation matrix. The number of visual feature points, The coordinates of the feature points in the image plane. The coordinates of the spatial feature points, For projection function, The time is obtained recursively from inertial measurement data. The prior position vector, The time is obtained recursively from inertial measurement data. The prior velocity vector, The time is obtained recursively from inertial measurement data. The prior pose rotation matrix, It is the Frobenius norm; S223, the constructed fusion positioning error function is optimized and solved to obtain the optimal pose estimation result at the current time, and the local map is updated based on the optimal pose result to achieve simultaneous positioning and mapping, as shown in: ; ; in, This is the optimal pose estimation result at the current moment. For the pose variable to be optimized, This is the updated local map at the current moment. This is a partial map from the previous moment. The point cloud data after pose transformation. This is an update operation for map merging.

[0026] S3 includes: S31, acquire RGB images and thermal infrared images collected at the same or adjacent times, perform registration processing on the RGB images and thermal infrared images, establish a mapping relationship between the pixel coordinates of the thermal infrared image and the pixel coordinates of the RGB image, and project the thermal infrared image onto the RGB image coordinate system based on the mapping relationship to achieve pixel-level registration and spatial alignment of the two types of images, generating corresponding registered image pairs, represented as: ; ; ; in, These are the original pixel coordinates in the thermal infrared image. These are the pixel coordinates of the mapped RGB image. This is the registration transformation matrix between the RGB image and the thermal infrared image. To register the thermal infrared image in the RGB image coordinate system, This represents the corresponding pixel value in the thermal infrared image. For a moment The registered image pairs For a moment Registered thermal infrared image; S32, based on spatially aligned image pairs, performs crack defect identification and segmentation processing on RGB images to obtain crack defect regions and crack lengths. At the same time, it performs temperature field analysis on the registered thermal infrared images to identify temperature anomaly regions, which are used as the judgment results for leakage or humidity anomaly regions, thus forming visible light defect identification results and thermal infrared anomaly identification results respectively. S33, associate the crack defect area and temperature anomaly area with the current UAV pose information. Based on the pixel coordinates of the registered image pair and the UAV pose in the local relative coordinate system, map the defect area from the image coordinates to the local relative coordinate system to obtain the spatial coordinates corresponding to each defect, represented as: ; ; ; ; in, The image coordinates of the defective pixel. These are the spatial coordinates of the defect point in the local relative coordinate system. The coordinates of the defect point in the sensor coordinate system. For a moment The set of spatial coordinates of the defects For the first The spatial coordinates of the defect point , For a moment The total number of defects identified.

[0027] S32 includes: S321, Perform crack identification processing on the obtained spatially aligned RGB image to obtain the crack defect region, and extract geometric parameters based on the crack defect region to generate the crack defect identification result, represented as: ; ; in, For the binary mask of crack defects, This indicates that the current pixel belongs to the crack region. This indicates that the preceding pixel does not belong to the crack region. This is a crack / defect area. The length of the crack. This represents the cumulative pixel amount along the direction of the crack centerline. S322 performs temperature field analysis on the registered thermal infrared image, calculates the deviation between the temperature value of each pixel and the reference temperature, identifies temperature anomaly regions based on the temperature anomaly determination threshold, and generates temperature anomaly identification results, represented as follows: ; in, A binary mask for temperature anomaly regions. This indicates that the current pixel belongs to a temperature anomaly region. This indicates that the current pixel does not belong to the temperature anomaly region. For pixels Temperature value at that location, The reference temperature for the current thermal infrared image. This is the threshold for determining temperature anomalies; ; in, This is the temperature anomaly sensitivity coefficient. This represents the standard deviation of the temperature field in the current thermal infrared image. S323, summarizes the crack defect area and temperature anomaly area to form the comprehensive defect identification result at the current moment, represented as: ; in, For a moment The comprehensive defect identification results For a moment The crack defect area For a moment Temperature anomaly area.

[0028] S4 includes: S41, acquire point cloud data collected at each time point and the corresponding UAV pose information at each time point, transform the point cloud data at each time point from the sensor coordinate system to the local relative coordinate system to achieve a unified coordinate expression of point cloud data at multiple time points, and perform point cloud registration based on the spatial correspondence between point clouds at adjacent time points to obtain the registered point cloud data, represented as: ; ; ; ; in, For a moment The original point cloud data, For a moment The The coordinates of a point cloud point in the sensor coordinate system , For a moment The number of points in the point cloud. For a moment The The coordinates of a point in the point cloud in a local relative coordinate system For point cloud registration error, For reference point cloud One corresponding point, For the current point cloud One corresponding point, Let be the point cloud registration transformation matrix to be solved. The number of corresponding points participating in the registration. The optimal cloud registration transformation matrix; S42, based on the unified coordinate representation and the registered point cloud data, the point cloud data at multiple time points are fused to form a fused point cloud set covering the surface of the structure to be detected. A three-dimensional geometric model is then constructed based on this fused point cloud set, yielding the three-dimensional geometric representation of the structure to be detected in a local relative coordinate system, as shown below: ; ; in, For a moment The registered point cloud data, To merge point cloud collections, It is a three-dimensional geometric model. A mapping function is constructed for generating a 3D geometric model from fused point clouds. A set of vertices for a three-dimensional geometric model. A collection of facets for a three-dimensional geometric model; S43, acquire the output defect semantic information, including defect type, crack length, temperature anomaly value, and spatial coordinates, and map the defect semantic information to the corresponding position in the three-dimensional geometric model according to the spatial coordinates, so that the corresponding area in the three-dimensional geometric model is associated with defect attribute information, thereby generating a defect model with defect semantic information, represented as: ; ; ; in, For defect semantic information, The defects are categorized by type, including crack defects and temperature anomaly defects. For the first The crack length of a crack defect This is an abnormal temperature value. For spatial coordinates, In the three-dimensional geometric model, and the first The mapping location points corresponding to each defect For disease model, For the complete set of semantic information of defects, This represents the total number of defects.

[0029] S5 includes: S51: Acquire the output 3D geometric model, defect semantic information, and corresponding RGB and thermal infrared images of the defect. Using the 3D geometric model as a spatial carrier, associate the defect semantic information and corresponding image data with the corresponding positions in the spatial carrier to form a data organization result for the visualization platform. Then, generate a digital twin model in the visualization platform, represented as follows: ; ; in, For digital twin models, For image data sets, For the first The RGB image corresponding to each defect For the first Thermal infrared images corresponding to each defect; S52, in the digital twin model, the corresponding semantic information of each defect is labeled on the corresponding position of the three-dimensional geometric model according to the spatial coordinates of each defect. A query association between the defect labeling results and the semantic information of the defects is established in the visualization platform to realize the visualization and information query of defect types, crack lengths, temperature anomalies, and spatial coordinates, as shown below: ; ; in, This is a set of defect annotation results. To query location The corresponding defect semantic information, For the first The location of each defect marker; S53, based on the correlation between defect annotation results and image data, responds to the user's selection of defect annotations in the visualization platform, retrieves the RGB image and thermal infrared image corresponding to the selected defect, realizes image backtracking, and summarizes all defect information in the digital twin model to generate an inspection report including a defect list, spatial distribution, and statistical results, as shown below: ; ; ; in, For the first Image retrospective results of a defect, For the test report, For the defect list, This represents the spatial distribution of defects. This is the result of defect statistics. The number of cracks and defects. This represents the number of temperature-related defects.

[0030] This invention encompasses any substitutions, modifications, equivalent methods, and solutions made within the spirit and scope of this invention. To provide the public with a thorough understanding of this invention, specific details are described in detail in the following preferred embodiments; however, those skilled in the art will fully understand the invention even without these details. Furthermore, to avoid unnecessary misunderstanding of the essence of this invention, well-known methods, processes, procedures, components, and circuits are not described in detail.

[0031] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A method for detecting a UAV and constructing a digital twin based on multi-element heterogeneous data fusion, characterized in that, Includes the following steps: S1 integrates an RGB camera, thermal infrared imager, lidar, inertial measurement unit and optical flow sensor on the drone platform to control the drone to fly along a preset path or an autonomously planned path, and simultaneously collect multi-source data, including visible light images, thermal infrared images, point cloud data and motion status data, and unify timestamps and data frame rates. S2, in an environment without absolute positioning signals, establishes a local relative coordinate system with the UAV takeoff point as the origin, integrates point cloud data, inertial measurement data and visual feature point information for synchronous positioning and mapping, and obtains the UAV's pose information in the relative coordinate system in real time as a spatial reference. S3 performs pixel-level registration of RGB images and thermal infrared images to achieve spatial alignment, and identifies crack defects based on visible light images and temperature anomaly areas based on thermal infrared images, respectively. The identification results are associated with the UAV pose information to obtain the spatial coordinates of the defects. S4 performs point cloud registration and fusion based on point cloud data and UAV pose information to construct a three-dimensional geometric model, and maps the defect type, size, temperature anomaly value and spatial coordinates to the corresponding position to generate a disease model. S5 integrates 3D geometric models, defect semantic information, RGB images, and thermal infrared images into a visualization platform to generate a digital twin model, enabling model browsing, defect annotation, information query, image backtracking, and inspection report generation.

2. The method for UAV detection and digital twin construction based on multi-source heterogeneous data fusion according to claim 1, characterized in that, S1 includes: S11 integrates an RGB camera, thermal infrared imager, lidar, inertial measurement unit, and optical flow sensor onto a UAV platform, and establishes a set of installation parameters for each sensor relative to the UAV system. After the system starts up, the output channels of each sensor are uniformly connected to form a multi-source input data stream corresponding to visible light images, thermal infrared images, point cloud data, inertial measurement data, and optical flow motion data, generating a multi-dimensional heterogeneous data set after the UAV platform is integrated. S12 controls the UAV to fly along a preset path or an autonomously planned path, and continuously triggers the RGB camera, thermal infrared imager, lidar, inertial measurement unit and optical flow sensor to collect data synchronously during the flight, respectively acquiring visible light images, thermal infrared images, point cloud data and motion state data, thereby forming a time-series acquisition result corresponding to the flight process; S13. The visible light images, thermal infrared images, point cloud data and motion state data collected during the flight are marked with a unified time reference. The timestamps of each data stream are aligned according to a preset common time series, and the data is resampled according to the target frame rate to obtain a multi-source fusion dataset with unified timestamps and consistent frame rates.

3. The method for UAV detection and digital twin construction based on multi-source heterogeneous data fusion according to claim 2, characterized in that, S13 includes: S131, extract the original timestamp sequences from the visible light images, thermal infrared images, point cloud data and motion state data collected during the flight, and establish a unified common time series based on the collection time of various sensor data as a unified time reference for multi-source data time alignment; S132, based on the unified public time series, the original timestamps of various sensors are matched, and the original data frame with the smallest absolute time difference with the unified timestamp is selected as the alignment data corresponding to the current time, thereby completing the timestamp alignment of multi-source data; S133, resample the multi-source data after timestamp alignment according to the preset target unified frame rate to obtain a multi-source fusion dataset with consistent frame rate.

4. The method for UAV detection and digital twin construction based on multi-source heterogeneous data fusion according to claim 3, characterized in that, S2 includes: S21. After the UAV enters an environment without absolute positioning signal, the location of the UAV at the time of takeoff is taken as the origin of the local relative coordinate system, and the initial orientation of the UAV system at the time of takeoff is taken as the reference direction of the local relative coordinate system. A local relative coordinate system is established to describe the changes in the UAV's flight position and attitude. The collected point cloud data, inertial measurement data and visual feature point information are uniformly mapped to the local relative coordinate system for expression. S22, in the local relative coordinate system, the point cloud data output by the lidar, the acceleration data and angular velocity data output by the inertial measurement unit, and the visual feature point information extracted from the image are jointly processed. The pose change of the UAV between adjacent moments is estimated through the synchronous positioning and mapping algorithm, and the local map is updated and the trajectory is recursively derived based on the pose change results of consecutive moments. S23, the optimal pose estimation results output by the synchronous positioning and mapping algorithm at each time moment are used as the real-time pose information of the UAV in the local relative coordinate system. The pose information includes the spatial position and attitude angle of the UAV.

5. The method for UAV detection and digital twin construction based on multi-source heterogeneous data fusion according to claim 4, characterized in that, S22 includes: S221: Obtain the angular velocity and acceleration data output by the inertial measurement unit at each sampling time, and recursively calculate the attitude, velocity and position of the UAV at the current time based on the sampling time interval between adjacent times, and generate the initial pose estimation result of the UAV at the current time as the prior state of multi-source fusion positioning. S222: Obtain the point cloud data and visual feature point information corresponding to the current moment, and jointly construct them with the results of recursive calculation to form a multi-source observation set for the current moment. Construct a fusion positioning error function based on the point cloud registration error, visual reprojection error and inertial state recursive error. S223, optimize and solve the constructed fusion positioning error function to obtain the optimal pose estimation result at the current time, and update the local map based on the optimal pose result.

6. The method for UAV detection and digital twin construction based on multi-source heterogeneous data fusion according to claim 5, characterized in that, S3 includes: S31, acquire RGB images and thermal infrared images collected at the same time or adjacent times, perform registration processing on the RGB images and thermal infrared images, establish a mapping relationship between the pixel coordinates of the thermal infrared images and the pixel coordinates of the RGB images, and project the thermal infrared images onto the RGB image coordinate system based on the mapping relationship to achieve pixel-level registration and spatial alignment of the two types of images, and generate corresponding registered image pairs. S32, based on spatially aligned image pairs, performs crack defect identification and segmentation processing on RGB images to obtain crack defect regions and crack lengths. At the same time, it performs temperature field analysis on the registered thermal infrared images to identify temperature anomaly regions, which are used as the judgment results for leakage or humidity anomaly regions, thus forming visible light defect identification results and thermal infrared anomaly identification results respectively. S33. Associate the crack defect area and temperature anomaly area with the current UAV pose information. Based on the pixel coordinates of the registered image pair and the pose relationship of the UAV in the local relative coordinate system, map the defect area from the image coordinates to the local relative coordinate system to obtain the spatial coordinates corresponding to each defect.

7. The method for UAV detection and digital twin construction based on multi-source heterogeneous data fusion according to claim 6, characterized in that, S32 includes: S321, Crack identification processing is performed on the obtained spatially aligned RGB image to obtain the crack defect region, and geometric parameters are extracted based on the crack defect region to generate crack defect identification results. S322 performs temperature field analysis on the registered thermal infrared image, calculates the deviation between the temperature value of each pixel and the reference temperature, identifies temperature anomaly areas based on the temperature anomaly judgment threshold, and generates temperature anomaly identification results. S323 summarizes the crack defect area and the temperature anomaly area to form the comprehensive defect identification result at the current moment.

8. The method for UAV detection and digital twin construction based on multi-source heterogeneous data fusion according to claim 7, characterized in that, S4 includes: S41, acquire point cloud data collected at each time moment and UAV pose information corresponding to each time moment, transform the point cloud data at each time moment from the sensor coordinate system to the local relative coordinate system to achieve a unified coordinate expression of point cloud data at multiple times moment, and perform point cloud registration based on the spatial correspondence between point clouds at adjacent times moment to obtain the registered point cloud data. S42, based on the unified coordinate expression result and the registered point cloud data, the point cloud data at multiple times is fused to form a fused point cloud set covering the surface of the structure to be detected, and a three-dimensional geometric model is constructed based on the fused point cloud set to obtain the three-dimensional geometric expression result of the structure to be detected in the local relative coordinate system. S43, acquire the output defect semantic information, including defect type, crack length, temperature anomaly value and spatial coordinates, and map the defect semantic information to the corresponding position in the three-dimensional geometric model according to the spatial coordinates, so that the corresponding area in the three-dimensional geometric model is associated with defect attribute information, thereby generating a disease model with disease semantic information.

9. The method for UAV detection and digital twin construction based on multi-source heterogeneous data fusion according to claim 8, characterized in that, S5 includes: S51, acquire the output three-dimensional geometric model, defect semantic information, and RGB and thermal infrared images corresponding to the defect, use the three-dimensional geometric model as a spatial carrier, associate the defect semantic information and corresponding image data with the corresponding positions in the spatial carrier, form a data organization result for the visualization platform, and generate a digital twin model in the visualization platform. S52, in the digital twin model, the corresponding semantic information of each defect is marked on the corresponding position of the three-dimensional geometric model according to the spatial coordinates of each defect, and a query association relationship between the defect marking results and the defect semantic information is established in the visualization platform to realize the visualization display and information query of defect type, crack length, temperature anomaly value and spatial coordinates. S53, based on the correlation between defect annotation results and image data, responds to the user's selection operation for defect annotation in the visualization platform, retrieves the RGB image and thermal infrared image corresponding to the selected defect, realizes image backtracking, and summarizes all defect information in the digital twin model to generate an inspection report including a defect list, spatial distribution and statistical results.