Method and system for analyzing apparent defects of municipal bridge structure based on unmanned aerial vehicle inspection

By combining multimodal sensors and a non-relevant meta-learning framework with a lightweight model, efficient and real-time detection of bridge structural defects and the generation of interpretable operation and maintenance reports were achieved. This solved the problems of incomplete data collection and scarce samples in UAV inspections, and improved detection accuracy and reliability.

CN123175953APending Publication Date: 2026-11-27BINHAI IND TECH RES INST OF ZHEJIANG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611645187.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-23
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing drone inspection technology for bridge structure inspection suffers from problems such as incomplete data acquisition, insufficient utilization of multimodal information, scarcity of defect sample data, contradiction between computing resources and real-time requirements, barriers to human-computer interaction decision-making, and insufficient application of digital twins. These issues result in low inspection efficiency, low accuracy, high cost, and insufficient reliability.

Method used

Multimodal sensors are used to collect bridge structural appearance data. Combined with an irrelevant meta-learning framework and a lightweight model, defect detection and segmentation are performed. Edge cloud collaborative computing and digital twin simulation are used to generate interpretable operation and maintenance reports. A structural mechanics physics engine is integrated to perform defect evolution simulation and early warning.

Benefits of technology

It enables rapid adaptation to new defect categories, reduces labeling costs and time cycles, improves detection accuracy and reliability, provides real-time early warning and contingency plan simulation capabilities, and enhances the usability and professional credibility of detection results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123175953A_ABST
    Figure CN123175953A_ABST
Patent Text Reader

Abstract

The application provides a municipal bridge structure apparent defect analysis method and system based on unmanned aerial vehicle inspection, relates to the technical field of bridge structure health monitoring, apparent data is collected by a multimodal sensor and is pretreated, the multimodal sensor includes at least two of a visible light camera, an infrared thermal imager and a laser radar; the pretreated apparent data is subjected to defect detection and segmentation to obtain a defect detection result; the defect includes at least one of a crack, rust expansion, spalling, exposed reinforcement and internal void, real-time preliminary screening and rechecking confirmation are realized by adopting a two-level cascade reasoning architecture of an edge end and a cloud end, a two-dimensional defect profile is mapped to a three-dimensional digital twin model surface through spatial geometric projection and laser radar depth chart table lookup, defect evolution analysis is carried out in combination with physical mechanics deduction; a structured operation and maintenance report is output by using natural language generation technology; a bridge defect knowledge graph is constructed to support cross-bridge law mining and active early warning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of bridge structural health monitoring, computer vision and artificial intelligence technology, and more specifically, to a method and system for analyzing the apparent defects of municipal bridge structures based on drone inspection. Background Technology

[0002] As a critical node in transportation infrastructure, the structural safety of bridges directly impacts public safety and economic operation. Traditional manual inspections, relying on aerial work platforms or bridge inspection vehicles, are inefficient, have numerous blind spots, are highly subjective, and involve high risks associated with working at heights. While drone inspections and deep learning-based automated detection have brought progress, they still face systemic bottlenecks. First, the collected data is incomplete, and the utilization rate of multimodal information is severely insufficient. A single visible light camera struggles to detect hidden defects such as corrosion, crack depth, and internal voids. Detection accuracy drops sharply in environments with drastic lighting changes, such as under bridge shadows or in backlight. Existing systems generally collect and analyze data independently from each sensor, lacking effective fusion at the pixel, feature, and decision levels, resulting in a significant waste of valuable information. Second, defect sample data is scarce and suffers from a prominent long-tail distribution problem. Rare samples such as minute fatigue cracks and early corrosion expansion lead to an extreme imbalance in the positive and negative ratios. Traditional deep learning models rely on massive amounts of labeled data, exhibiting weak generalization ability in unknown scenarios. When faced with new bridge types or new defects, thousands of labeled samples need to be collected again, resulting in high costs and lengthy processes, hindering large-scale deployment. Third, there is a sharp contradiction between computing resources and real-time requirements. Full transmission of high-definition video streams back to the cloud results in delays of several to tens of seconds, making it difficult to meet the needs of real-time edge warnings and on-site retesting. Meanwhile, airborne computing units, limited by power consumption and computing power, cannot directly run large-capacity, high-precision models, making it difficult to achieve both real-time performance and accuracy. Fourth, significant decision-making barriers exist in human-computer interaction. Traditional inspection reports are mostly static tables or two-dimensional annotations, lacking visual explanations of spatial correlations, temporal evolution, and diagnostic basis for defects. Deep learning models generally produce black-box outputs, making it impossible for on-site engineers to trace the basis of their judgments, leading to insufficient trust in the technology and hindering its adoption. Fifth, digital twin applications remain superficial, mostly limited to three-dimensional visualization, with insufficient integration with real-time detection data and intelligent analysis models. They lack the ability to extrapolate based on physical laws, failing to realize their core value in dynamic updates and preventative decision-making. Therefore, there is an urgent need for a fully intelligent detection and management solution that can systematically integrate multimodal perception, small-sample adaptive learning, edge-cloud collaborative computing, interpretable reasoning, and digital twin extrapolation. Summary of the Invention

[0003] To address the aforementioned technical problems, this invention proposes a method for analyzing the apparent defects of municipal bridge structures based on unmanned aerial vehicle (UAV) inspections, including: The bridge structure appearance data is acquired by a multimodal sensor and the appearance data is preprocessed; the multimodal sensor includes at least two of the following: a visible light camera, an infrared thermal imager, and a lidar. Defect detection and segmentation are performed on the preprocessed appearance data to obtain defect detection results; the defects include at least one of cracks, rust swelling, spalling, exposed reinforcement and internal voids. Based on the confidence level of the defect detection results, data to be reviewed is dynamically generated, and the edge device uploads the data to be reviewed to the cloud for review and confirmation. The depth value of the two-dimensional pixel contour of the defect, which has been verified and confirmed in the cloud, is obtained. The depth value is then mapped to the surface of the three-dimensional digital twin model to obtain spatial positioning information. The structural mechanics physics engine in the digital twin model is then used to perform defect evolution simulation. Generate an attribution heatmap of the detection results, and combine it with parameters for defect evolution inference to generate a structured operation and maintenance report that includes current status assessment and future evolution prediction; Defect detection results, spatial location information, defect evolution trends, and maintenance history are extracted into entity-relationship triples to construct a bridge defect knowledge graph. Based on the knowledge graph, cross-bridge pattern mining and early warning are performed.

[0004] Furthermore, the preprocessing includes optical non-destructive testing registration of visible light, infrared, and lidar data: Based on coarse registration, data from different sensors are converted to a unified coordinate system; Based on precise registration, the spatial transformation parameters between visible light images and infrared thermal images are optimized. Establish a mapping relationship between two-dimensional pixel coordinates and three-dimensional world coordinates, and perform depth correlation by combining the dense depth map of LiDAR, and perform multimodal alignment of visible light, infrared and LiDAR data.

[0005] Furthermore, defect detection and segmentation are performed on the preprocessed appearance data to obtain defect detection results, specifically including: Call the pre-trained model-independent meta-learning framework model to obtain initialization parameters for rapid adaptation to new defect categories; Based on the initialization parameters, a memory-enhanced network is used to fine-tune the preprocessed appearance data with small samples, and the prototype features of new defect categories are stored and read through the read-write retrieval of the external memory matrix and the gated fusion mechanism. Based on the fine-tuned irrelevant meta-learning framework model, a parallel dual-stream feature extraction network is used for defect detection and segmentation, and a cross-attention fusion mechanism is introduced in the bottleneck layer. The dense optical flow algorithm is used to verify the temporal consistency of detection results between consecutive frames and suppress false alarms.

[0006] Furthermore, the process of uploading the data to be reviewed to the cloud for verification and confirmation at the edge includes: The first level involves deploying a lightweight detection model at the edge, which has undergone knowledge distillation and structured channel pruning and compression, to detect the real-time video stream frame by frame and output the confidence level. At the second level, the edge device executes a traffic splitting strategy based on the confidence level: when the confidence level is higher than the first threshold of 0.85, a local alarm is triggered and the key frame is sent back to the cloud for archiving; when the confidence level is lower than the second threshold of 0.40, the current frame is discarded; when the confidence level is between the second threshold of 0.40 and the first threshold of 0.85, the key frame and the corresponding feature map are sent back to the cloud for multi-frame spatiotemporal context secondary fine inference.

[0007] Furthermore, it also includes a backup mechanism for communication interruptions: When a communication link interruption is detected or the heartbeat packet times out three times, the system automatically switches to the airborne independent operation mode, lowers the first threshold from 0.85 to 0.70, and lowers the second threshold from 0.40 to 0.25; when the communication link is restored, all cached keyframes and log data are automatically retransmitted to the cloud through the breakpoint resume transmission protocol.

[0008] Furthermore, based on the camera intrinsic parameter matrix and the camera extrinsic parameters recorded synchronously by the UAV, the ray direction in the world coordinate system corresponding to the defect contour pixels is calculated; the depth value corresponding to the defect contour pixels is obtained by looking up the table through the dense depth map of the lidar, and then substituted into the world coordinates obtained by the pinhole model to generate a set of 3D point clouds of defects with geographic coordinate labels. The defect point set is precisely registered with the digital twin model using the iterative nearest point algorithm.

[0009] Furthermore, preset boundary conditions and load conditions are applied to the mapped defect twin, and the stress intensity factor of the defect is calculated based on the linear elastic fracture mechanics model. The calculated stress intensity factor is compared with the material fracture toughness threshold. When the threshold is exceeded, it is determined that the defect has a risk of unstable propagation, and an early warning suggestion is automatically generated.

[0010] Furthermore, for each detected defect, the gradient of each feature map in the last convolutional layer of the deep neural network relative to the target category is calculated. After global average pooling, the importance weight of each neuron in each feature map is obtained. The feature maps are weighted and summed and activated by ReLU to generate an attribution heatmap that represents the basis of the model's judgment. This heatmap is then superimposed on the original image in the form of a semi-transparent overlay.

[0011] Furthermore, the preprocessing also includes adaptive quality elimination and restoration: calculating the comprehensive quality score of each frame image, the comprehensive quality score being a weighted sum of the sharpness score and the exposure score; when the comprehensive quality score is lower than a preset threshold, it is determined to be a poor quality frame and eliminated; for frames with abnormal exposure but a sharpness score higher than the preset sharpness threshold, adaptive histogram equalization is used for restoration processing.

[0012] This invention also proposes a system for analyzing the apparent defects of municipal bridge structures based on unmanned aerial vehicle (UAV) inspection, including: The data acquisition and preprocessing module is used to acquire bridge structure appearance data through multimodal sensors and preprocess the appearance data; the multimodal sensors include at least two of visible light cameras, infrared thermal imagers, and lidar; The defect detection and segmentation module is used to perform defect detection and segmentation on the preprocessed appearance data to obtain defect detection results. The edge-cloud collaborative reasoning module is used for collaborative reasoning through a two-level cascaded reasoning architecture at the edge and the cloud. The digital twin mapping and deduction module obtains the depth value of the detected two-dimensional defect pixel contour, maps the depth value to the surface of the three-dimensional digital twin model to obtain spatial positioning information, and then combines it with the physics engine to perform defect evolution deduction. The interpretable report generation module is used to generate attribution heatmaps of detection results based on interpretable artificial intelligence technology, and to generate structured operation and maintenance reports based on a large language model. The knowledge graph and proactive maintenance module is used to extract defect detection results, spatial location information, evolution trends and maintenance history into entity-relationship triples to construct a bridge defect knowledge graph, and to perform cross-bridge pattern mining and early warning based on the knowledge graph.

[0013] Compared with the prior art, the present invention has the following beneficial technical effects: First, this invention fundamentally changes the traditional paradigm of models relying on massive amounts of labeled samples. Through a model-independent meta-learning strategy and a gating fusion mechanism involving reading and writing external memory matrices, the required learning samples for new defect types are drastically reduced from thousands to single digits, significantly decreasing the manpower and time required for labeling and training. When faced with unfamiliar bridge scenarios or novel defects, the model can quickly adapt with only a minimal number of labels, resulting in significantly enhanced generalization ability.

[0014] Secondly, this invention employs a two-tiered cascaded inference architecture at the edge and in the cloud, combined with lightweight techniques such as knowledge distillation and structured pruning. This significantly reduces the number of parameters and computational load in the edge model while maintaining high detection accuracy, enabling stable and smooth real-time inference on an onboard low-power platform. Simultaneously, through a confidence-driven intelligent traffic splitting mechanism, only a small number of suspected keyframes need to be transmitted back to the cloud for verification, resulting in extremely low transmission bandwidth consumption. This makes it particularly suitable for remote areas or complex environments with poor communication signals.

[0015] Furthermore, this invention utilizes attribution heatmaps to visualize the model's judgment criteria, enabling field engineers to intuitively understand why artificial intelligence identifies a certain area as a defect. Combined with a domain-adapted and finely tuned large language model, the system can automatically generate natural language operation and maintenance suggestion reports that conform to industry standards. These reports are detailed, based on clear evidence, and formatted in a standardized manner, significantly improving the usability and professional credibility of the detection results.

[0016] Fourth, this invention achieves precise physical mapping from two-dimensional defect pixel contours to three-dimensional real-scene digital twin models, with high positioning accuracy, ensuring that each defect possesses realistic geographical coordinates and geometric attributes. Based on this, a simplified structural mechanics physics engine is integrated, capable of simulating defect expansion trends under different environmental and load conditions, providing maintenance units with early warning and contingency plan simulation capabilities. Attached Figure Description

[0017] Figure 1 For drone inspection scenarios; Figure 2 This is a flowchart illustrating a method for analyzing the apparent defects of municipal bridge structures based on drone inspection. Figure 3 This is a partial schematic diagram of the triangular mesh model; Figure 4 For the surface of a three-dimensional digital twin model; Figure 5 The images are the original keyframe and the infrared thermal image, where (a) is the original keyframe and (b) is the infrared thermal image. Figure 6 This is an example of the application of the Neo4j knowledge base in bridge management; Figure 7 This is a schematic diagram of a dense depth map; Figure 8 The results are composed of two levels of inference detection. Figure 9 To adapt the pre-trained MAML framework model to samples from regions 1 to 4, the following diagrams are provided: (a) is a sample diagram from region 1, (b) is a sample diagram from region 2, (c) is a sample diagram from region 3, and (d) is a sample diagram from region 4. Figure 10A gated cyclic fusion unit structure for early multimodal fusion during the input phase. Detailed Implementation

[0018] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments.

[0019] Example 1 A prestressed concrete continuous beam bridge spanning a river, 1200 meters long and 32 meters wide, with a main span of 180 meters, has been in operation for 22 years. A recent periodic inspection report revealed suspected stress-induced microcracks at the bottom of the main span box girder, approximately 0.08 mm wide, and signs of concrete cover cracking at some prestressing duct locations. The maintenance unit requires a comprehensive inspection and structural condition assessment of the entire bridge to be completed without scaffolding or disruption of waterway traffic. This embodiment employs a method for analyzing the apparent defects of municipal bridge structures based on drone inspections. Figure 2 As shown, it includes the following steps: Drone inspection scenarios such as Figure 1 As shown, in this embodiment, the UAV platform is equipped with the following multimodal sensor components: High-resolution visible light camera: 7952×5304 pixels resolution, equipped with a 24mm fixed-focus lens; Long-wave infrared thermal imager: resolution 640×512 pixels, thermal sensitivity <50mK, temperature measurement range -20℃ to +150℃; LiDAR: 128 lines, ranging accuracy ±2cm, effective ranging range 300m, point cloud acquisition rate 2.4 million points / second; High-precision positioning and attitude determination system (POS): integrated dual-frequency RTK-GNSS, horizontal positioning accuracy ±1cm+1ppm; high-precision IMU, gyroscope zero-bias stability 0.5° / h.

[0020] Flight planning adopts a two-stage route strategy: preliminary flight and intensive flight. Preliminary flight phase: flight altitude 15m, directional overlap rate 70%, lateral overlap rate 60%, flight speed 6m / s, quickly cover the entire 1200m range of the bridge, and establish an overall spatial structure index of the bridge; Precision flight phase: Focusing on key areas such as the mid-span of the main span, the top of the pier (0 blocks), the bearing pads, and the anchorage ends of the prestressed ducts, the flight altitude was reduced to 5m, the directional overlap rate was 85%, the lateral overlap rate was 75%, the flight speed was 2m / s, and visible light and infrared images with a resolution better than 3cm / pixel were acquired. At the same time, the LiDAR point cloud density was increased to approximately 500 points / m². 2 .

[0021] A three-level strategy of POS-assisted coarse registration, mutual information fine registration, and depth map association is adopted to achieve strict alignment of visible light, infrared, and LiDAR point clouds in a unified pixel coordinate system.

[0022] Coarse registration stage: Using the WGS-84 geodetic coordinates B, L, H provided by the UAV POS system and the attitude and roll angles measured by the IMU. Pitch angle Yaw angle The LiDAR point cloud is transformed from the lidar coordinate system to the camera coordinate system using the rigid body transformation matrix [R|T]. Let the coordinates of any point in the point cloud in the lidar coordinate system be... Then its coordinates in the camera coordinate system are: ; Where the rotation matrix Determined by the calibrated extrinsic Euler angles. It is a translation vector.

[0023] Fine registration stage: A multimodal automatic registration algorithm based on mutual information (MI) is adopted to optimize the spatial transformation parameters between the visible light grayscale image I and the infrared thermal image R. Mutual information The definition of is: ; Where H(I) and H(R) are the edge information entropies of images I and R, respectively, and H(I,R) is the joint information entropy of the two.

[0024] Fine registration is achieved by iteratively optimizing the affine transformation matrix using the gradient descent method. The objective function is: ; in, This represents an affine transformation of the infrared image. The iteration termination condition is set to the mutual information increment being less than 10 for two consecutive iterations. -4 The root mean square error (RMSE) of the final registration was controlled within 2 pixels.

[0025] Depth map association stage: A pinhole camera model is used to establish the mapping relationship between 2D pixel coordinates and 3D world coordinates. Let the homogeneous coordinates of a pixel in the image coordinate system be p=(u,v,1). T The camera intrinsic parameter matrix K is: ; Including focal length f x ,f y and the principal point coordinates c x ,c y The normalized camera coordinate system coordinates are P. c =K -1p. Combining the extrinsic parameter matrix [R|T], the coordinates P in the world coordinate system. w =(X w ,Y w Z w ) T satisfy: ; Z c This refers to the depth value from the camera to the defect measured by the LiDAR. The coarsely registered sparse LiDAR point cloud is back-projected onto the image plane using the aforementioned projection model. A dense depth map D(u,v) with the same resolution as the image is then generated using a bilinear interpolation algorithm. Figure 7 As shown, each valid pixel has a corresponding depth value Z. c Ultimately, a three-modal data stack output is achieved, with visible light, infrared, and LiDAR depth maps strictly synchronized at the timestamp, with a synchronization error of less than 1ms, spatial pixel-level alignment, and a root mean square error of no more than 1.8 pixels.

[0026] The system calculates a comprehensive quality score Q for each frame of image, which is defined as a weighted sum of the sharpness score and the exposure score: ; Among them, the clarity score is S edge The Laplace edge response operator is used for calculation: ; For the Laplace operator; The grayscale value at pixel coordinates (x, y); exposure score S exposure Based on image histogram distribution calculation, a perfect score is awarded when the average grayscale value of the image is in the range [30, 220] (8-bit grayscale); otherwise, the score is linearly reduced. The weighting coefficient α = 0.6. When Q is lower than 0.4 times the global score mean, it is judged as a poor-quality frame and is discarded. For underexposed or overexposed frames that have high value in edge information, the system uses adaptive histogram equalization (CLAHE) for restoration processing.

[0027] The CLAHE algorithm's cropping threshold is set to 2.0 to limit local histogram amplitude and suppress excessive noise amplification; the block size is set to 8 pixels × 8 pixels to ensure adaptability of local contrast enhancement. For high-resolution visible light images, the number of blocks is adaptively adjusted to the image size divided by the block size and rounded up.

[0028] This embodiment acquired 15,000 valid visible light frames, 8,000 infrared frames, and approximately 200 million LiDAR point clouds. During the preprocessing stage, approximately 1,200 frames with motion blur caused by wind vibration and severe exposure abnormalities were automatically discarded. All remaining valid data underwent the aforementioned multimodal registration and depth correlation.

[0029] Instead of training a traditional convolutional neural network from scratch, the system utilizes a pre-trained MAML (Model-Agnostic Meta-Learning) framework model on a large, publicly available dataset of structural surface defects (containing 500,000 labeled images across various defect categories such as concrete cracks, metal corrosion, and spalling). The pre-trained MAML framework model is then adapted to the sample illustrations from regions 1-4, as shown below. Figure 9 As shown.

[0030] MAML trains a set of highly sensitive initialization parameters. This makes the parameter more sensitive to new task T. i When this is achieved, excellent generalization performance on new tasks can be obtained with only k gradient updates (k≤10). The optimization objective of its meta-training phase is: ; in, Indicates in task T i The update operator performs k-step gradient descent. For task T i The loss function. The inner loop update formula is: (Calculated on the SupportSet); The outer loop update formula is: (Calculated on the QuerySet); in and The learning rates for the inner and outer loops are respectively (in this embodiment) =0.01, =0.001).

[0031] Through the aforementioned meta-training, the system obtains an initial set of parameters that are highly adapted to rapidly learning new defect categories. .

[0032] To address the two rare defects unique to this bridge: uneven rust expansion at the location of the prestressed ducts and micro-stress cracks at the 0.08mm level, there are fewer than 40 similar samples in the publicly available dataset. The on-site engineer only needs to annotate 10 rust expansion samples and 8 micro-crack samples (i.e., N). shot=8~10) are used for model fine-tuning. To prevent catastrophic forgetting and overfitting during small-sample training, the system enables a Memory Augmented Network (MAN), the detailed mechanism of which is as follows: (1) Definition of external memory matrix structure: The external memory matrix M is designed as an addressable key-value storage structure, mathematically represented as M=(K,V), where: ; ; K represents the key matrix, N is the number of memory slots, and d k d represents the key feature dimension; V represents the value matrix, d v The dimension of the value feature.

[0033] In this embodiment, N=100, d k =d v =256.

[0034] (2) Writing mechanism (write head): When the encoder extracts the feature vector of a new labeled sample When d=256, it is first converted into a key vector k through a linear mapping. x =W k x and value vector v x =W v x. The system calculates the addressing weights: ; in, Let S be the attention weight for each memory slot. Calculate the maximum matching similarity S. max =max(w t If S max Below the preset threshold If so, a write operation is triggered.

[0035] In this embodiment, a preset threshold is used. The value is set to 0.65. This threshold is determined through statistical analysis of the similarity distribution on the meta-validation set: 200 validation defect samples with a distribution different from that of the training set are selected, and the mean of their maximum similarity to the memory slot is calculated. and standard deviation ,set up This is to balance the precision and recall of the new prototype writing. When S max When S ≥ 0.65, it is considered that the existing memory slots are sufficient to represent the features of the current sample, and fusion is performed only through attention reading without writing; when S max When the value is less than 0.65, the current sample is determined to contain a novel feature pattern that has not yet been covered by memory, triggering a write update.

[0036] The system locates the oldest memory slot idx according to the LRU strategy and replaces the key-value pair of that slot with the (k) key-value pair of the current sample. x ,v x This enables incremental storage of new prototypes without retraining.

[0037] (3) Reading and gating fusion mechanism (read head): During the inference phase, the query vector q is compared with each key K in the memory matrix. i Calculate cosine similarity and use temperature coefficient (This embodiment) Softmax normalization is performed on (=1.0) to obtain the reading attention distribution: ; The attention weight assigned to the i-th memory slot has a cosine similarity of . ; The enhanced feature r in the retrieval output is a weighted sum of the value vectors: ; Among them, V i Let be the i-th value vector.

[0038] Finally, the system uses a gated recurrent fusion unit to dynamically combine the original query features and the retrieved features to obtain the final enhanced representation for classification and segmentation. This gating mechanism enables the model to adaptively decide whether to rely on current visual information or historical prototype knowledge based on the similarity between the current test sample and the memory prototype, effectively alleviating overfitting and representation bias in small sample scenarios.

[0039] like Figure 10 As shown, a gated recurrent fusion unit structure for early multimodal fusion during the input phase is described. Two inputs... First, it is added / splittered and merged, then combined with the hidden state h from the previous time step. t-1 Co-computation of the forget gate f t Candidate state g t (tanh) and output gate o t The previous cell state c t-1 via f t After being forgotten and g t Adding them together gives the new c. t c t via tanh and o t dot product gives h t This enables time-series modeling of multi-source inputs.

[0040] To simultaneously extract the microscopic texture (width, edge fracture) and macroscopic orientation (length, extension trend) of cracks from low-quality, complex backgrounds, this system constructs a parallel dual-stream encoder-decoder network, the specific structure of which is as follows: Main control stream (global semantic stream): The Swin-Tiny Transformer is used as the backbone network. The input image is first embedded into a sequence through patch partitioning (4×4 block size). The Swin Transformer encoder contains four stages, with the number of multi-head self-attention heads in each stage set to [3, 6, 12, 24] respectively, and the window size fixed at 7×7. Through a shift-window attention mechanism, this stream outputs multi-level semantic feature maps. , where C is the number of channels (C=256 in this embodiment), used to capture the overall spatial distribution and structural context of the cracks.

[0041] Auxiliary Flow (Local Detail Flow): Employs a dilated convolutional spatial pyramid pooling (ASPP) module. The input feature map is simultaneously fed into three parallel dilated convolutional branches, with dilation rates set to [3, 6, 9] and kernel sizes of 3×3. The output feature maps from each branch are concatenated along the channel dimension, then subjected to 1×1 convolution for dimensionality reduction, outputting local detail features. This flow is sensitive to high-frequency gradient information at the crack edge, enabling it to accurately locate the fracture boundary of micro-cracks.

[0042] Bottleneck Layer Cross-Attention Fusion: At the bottom layer of the U-Net structure (i.e., the bottleneck layer where the encoder and decoder meet), a cross-attention module is introduced, whose input is F. swin (as Query, Q) and F dilate (As Key, K and Value, V): ; Where d is the scaling factor (set to 256). This cross-attention enables global semantic features to dynamically query the most discriminative edge response regions in local detail features, achieving deep fusion of two heterogeneous features.

[0043] Skip connection fusion strategy: In the decoder upsampling stage, the output features of the encoder's i-th layer (i=1,2,3,4) and the upsampled features of the decoder's (i-1)-th layer are concatenated in the channel dimension, and then the number of channels is halved by 1×1 convolution, so as to retain high-resolution spatial details while controlling the amount of computation.

[0044] To reduce false alarms caused by single-frame reflections, shadows, lens blemishes, etc., the system introduces a cross-frame temporal consistency verification mechanism based on dense optical flow.

[0045] The core parameters of the optical flow algorithm are configured as follows: the number of pyramid image layers is set to 3 to capture motion displacement at different scales; the window size in each pyramid layer is set to 15 pixels × 15 pixels to calculate the local gradient covariance matrix; the number of iterations is set to 3 to ensure that the optical flow field converges to a stable solution; and the search radius of the pixel displacement is set to 5 pixels to limit the maximum trackable motion amplitude.

[0046] use Dense optical flow algorithm calculates the current frame I t Compared to the previous frame I t-1 sports field Let the set of contour points of a candidate defect region detected in the current frame be... Predict its corresponding position in the previous frame using optical flow mapping: ; System calculates predicted profile Defect contours of the same type actually detected in the previous frame Intersection over Union (IoU) between them: ; The timing determination rules are as follows: If the mean IoU of the defect at the same spatial location (with an error of <5cm after GPS back-calculation and projection to the world coordinate system) is <0.3 within three consecutive frames, the response is determined to be a transient false alarm and is suppressed and eliminated. If the mean IoU is >0.7, it is confirmed as a real defect. Kalman filtering is then used to smooth the bounding box coordinates of the three frames, resulting in a more stable bounding box and confidence score.

[0047] Under the combined effect of the above algorithms, the detection rate of rust expansion defects reached 91.3% (recall rate), the detection rate of microcracks reached 86.7% (30 labeled samples in the test set), and the false alarm rate was controlled below 8.2%, which is significantly better than the traditional Faster R-CNN model with a detection rate of less than 60% and a false alarm rate of 32% under the same small sample conditions.

[0048] The trained Swin-LargeU-Net model was compressed using the following process, resulting in approximately 284M parameters and 215 GFLOPs of floating-point operations. It was then deployed onto an NVIDIA Jetson Orin NX industrial-grade module mounted on a drone, achieving a computing power of 275 TOPS, a power consumption of 15W, and an operating temperature range of -40℃ to 85℃.

[0049] Process 1: Offline Knowledge Distillation The uncompressed, high-capacity model in the cloud is used as the teacher network T, and the lightweight MobileNetV3 to be deployed is used as the student network S.

[0050] The teacher network specifically adopts the Swin-Large Transformer architecture with an embedding dimension of 192. The number of Transformer layers in each stage are [2, 2, 18, 2], and the number of multi-head self-attention heads are [6, 12, 24, 48]. The window size is fixed at 7×7. The student network specifically adopts the MobileNetV3-Large version with a width ratio set to 1.0, that is, maintaining the original number of channels without reduction to ensure that the basic representation ability after lightweighting is not severely degraded due to excessive compression.

[0051] Loss function for distillation training It is composed of a weighted average of hard-label loss and soft-label loss: ; in: The cross-entropy loss between the student network output and the real hard label; The KL divergence between the soft labels of the teacher network and the student network measures the difference between the two probability distributions. T temp The distillation temperature coefficient (T in this embodiment) temp =4), used to soften the probability distribution, enabling the student network to better learn the implicit similarity relationships between features of the teacher network; For hard label loss weights (in this embodiment) =0.3), balancing supervised signals and knowledge transfer signals.

[0052] Step 2: Structured Channel Pruning After initial convergence of the distillation training, L1 sparse regularization is introduced into the BatchNormalization (BN) layers after each convolutional layer in MobileNetV3 to drive the scaling factor γ of the BN layer to converge to zero. The loss function for sparsification training is: ; Where L is the total number of convolutional layers. The number of channels in the l-th convolutional kernel. For sparse regularization coefficients, in this embodiment .

[0053] After training converges, for all networks... The values ​​are globally sorted, and the top 60% quantiles are calculated as the global pruning threshold. Remove all The network achieves a global pruning rate of 40% by optimizing the number of channels. After pruning, the network undergoes 20 rounds of fine-tuning to restore detection accuracy. The final deployed model's parameter count is compressed from 284M to 5.6M, reducing floating-point operations (FLOPs) by approximately 4.2 times, enabling it to run real-time inference at a stable 30 FPS (frames per second) on JetsonOrin.

[0054] This system implements the following two-level inference architecture: The first-level edge inference unit: Utilizing the same NVIDIA Jetson AGX Orin module, it is logically divided into independent inference partitions. It deploys a lightweight MobileNetV3 model, compressed through knowledge distillation and structured channel pruning, with 5.6 MB of parameters and less than 15 MB after INT8 quantization. This unit processes the video stream frame-by-frame at 30 FPS, outputs a confidence score (Conf), and executes local actions according to the streaming strategy. Conf > First threshold (0.85): Trigger local audible and visual alarm, select Patlite LR6-IL LED multicolor rotating warning light and buzzer, sound pressure level 90 dB, response delay < 80 ms, and send the key frame back to the cloud for archiving; Second threshold (0.40) ≤ Conf ≤ First threshold (0.85): The key frame and the corresponding sparsely encoded feature map, about 5% of the original feature map size, are sent back to the cloud for secondary fine inference of multi-frame spatiotemporal context. Conf < second threshold (0.40): Discard the frame and do not trigger any action.

[0055] The second-level cloud-based fine-grained inference unit reuses the single-card resources of the aforementioned H800 GPU cluster in the cloud to deploy the original capacity Swin-Large U-Net large model. This unit receives key frames of fuzzy confidence intervals (i.e., frames between two thresholds) and corresponding feature maps returned from the edge, loads the key frame and 10 frames before and after it for multi-frame spatiotemporal context secondary fine-grained inference, and outputs the final judgment confidence level Conf_final; at the same time, it receives high-confidence (>0.85) key frames for archiving and storage. The communication equipment uses Huawei 5G CPE Pro 2 on the airborne side and ZTE ZXR10 5960-6MT-H switch on the ground side to directly connect to the operator's core network; for weak signal coverage areas in urban canyons, a Silvus StreamCaster 4200 MESH self-organizing network radio is added as a backup physical link, with an operating frequency band of 2.4 GHz / 5 GHz, an output power of 1 W, a line-of-sight communication distance of up to 30 km, and a stable bandwidth of 1-2 Mbps for multi-hop relay in non-line-of-sight situations. When communication is interrupted, the airborne edge device automatically lowers the traffic diversion threshold and caches all logs to the local NVMe SSD. After the link is restored, the logs are resumed via the FTP breakpoint resume protocol.

[0056] During the full bridge inspection, the initial edge detection triggered 78 suspected areas, of which 11 were high-confidence (>0.85) triggering alarms, with an average response latency of 72ms. 67 areas were in the ambiguous range (0.40-0.85). After multi-frame confirmation at the cloud, 59 of these were corrected to high-confidence (>0.85) detections, and 8 were confirmed as false alarms and removed. The final confirmation rate for ambiguous areas increased from 31% during the initial edge detection to 88% after cloud verification, and the overall false alarm rate decreased by approximately 65% ​​compared to a pure edge deployment. The total amount of data transmitted back was approximately 0.095‰ of the original video stream, resulting in significant bandwidth savings. Figure 8 The result shown is the structure of the two-level inference detection.

[0057] Based on a preprocessed LiDAR point cloud of approximately 200 million points and high-resolution visible light imagery, a dense color point cloud was generated using Structure of Motion (SfM) and Multi-View Stereo Matching (MVS) algorithms. A triangular mesh model was then constructed using a Poisson surface reconstruction algorithm. Figure 3 As shown, the texture mapping stage employs a global optimization algorithm to automatically project high-resolution images onto the mesh surface, generating a realistic 3D digital twin model. The model fully covers the entire 1200-meter span of the bridge, with no large-area gaps in the main structural components, and exhibits clear textures and realistic colors. Subsequently, a quadrilateral mesh simplification algorithm compresses the model's face count to within 5 million triangles, ensuring smooth loading on web-based visualization platforms.

[0058] The pixel-level contours of 17 defects detected on the 2D image were precisely mapped to the following values: pixel coordinates (u, v) were retrieved from a 2D array using the following collinearity condition equation combined with a LiDAR depth map lookup table, as shown in Table 1. Figure 4 The surface of the three-dimensional digital twin model shown.

[0059] Table 1

[0060] Let p = (u, v, 1) be the homogeneous coordinates of any pixel on the defect contour in the image coordinate system. T Given the camera intrinsic parameter matrix K, then the normalized camera coordinate system coordinates... for: ; Based on the camera extrinsic parameters (rotation matrix R, translation vector T) synchronously recorded by the UAV POS system, the ray direction in the world coordinate system corresponding to this pixel is: ; Because a single frame image from a monocular camera has a depth value Z... c To address the uncertainty, the system uses the generated LiDAR dense depth map D(u,v) to look up the table in real time and obtain the precise depth value corresponding to the pixel. If the depth value of a pixel is missing, it is filled using bilinear interpolation of the surrounding valid pixels. (Z) c Substituting the pinhole model expansion formula, the unique world coordinates are obtained by inverse solving. : ; By performing the above calculations on all pixels in the defect pixel outline in sequence, a set of 3D point clouds of defects with WGS-84 geographic coordinate labels can be generated.

[0061] To ensure that the mapping accuracy is not affected by the cumulative error of the POS system, the system finally uses the ICP algorithm to perform fine registration between the above defect point set and the digital twin model.

[0062] Based on the 17 defect twins with precise three-dimensional coordinates and geometric dimensions obtained after the above mapping, a simplified physics engine for structural mechanics is integrated into the system for spatiotemporal simulation. The core of this engine is a linear elastic fracture mechanics model, and the formula for calculating its stress intensity factor is: It should be noted that the linear elastic fracture mechanics model is a mature model, and the corresponding chapter can be found in N. Perez's 2017 textbook "Linear-Elastic Fracture Mechanics".

[0063] For the semi-elliptical surface cracks detected in this embodiment Use the crack depth (unit: m), rather than the half-length that penetrates the crack; is the far-field uniform tensile stress (unit: MPa); Y is a dimensionless shape correction factor related to the crack geometry and component boundary conditions. It should be noted that in fracture mechanics, when the crack is a through-type penetrating crack, the above formula... The crack length should be half the length, but in this embodiment, all detected cracks are surface cracks, so the entire text will use the term "crack length". Let represent the crack depth, and 'c' represent the crack half-length. These two values ​​characterize the geometric scales in the depth and length directions, respectively, and are not interchangeable. For the semi-elliptical surface crack in this embodiment, the Newman-Raju formula is used to calculate the correction factor: ; Where c is the crack half-length (unit: m) and t is the component wall thickness (unit: m). The crack depth-to-length ratio is dimensionless.

[0064] The boundary conditions and loading method are set as follows: the crack surface is set as a free boundary (not subject to tensile stress), and a uniform tensile stress is applied to the outer boundary of the model away from the crack. The self-weight load is applied as a body force to all element nodes, with an acceleration of g = 9.8 m / s². 2 The material density is taken as ρ = 2500 kg / m³ 3 Temperature loads are applied through equivalent nodal forces, and the strain increment caused by temperature difference... The coefficient of linear expansion of concrete The finite element method uses four-node isoparametric elements, with the mesh size at the crack tip region refined to 1 mm × 1 mm, and the total number of elements controlled to within 200,000 to balance computational efficiency.

[0065] It should be noted that the defect types involved in this invention are not limited to through-type or surface cracks applicable to linear elastic fracture mechanics. For potentially detectable rust expansion defects and internal voiding defects, this physics engine is configured with corresponding differentiated inference submodules to cover all detected defect types: (1) Rust Expansion Defect Deduction Submodule: The volume expansion rate of the steel corrosion products is converted into a radial displacement boundary load applied to the inner wall of the surrounding concrete. The circumferential tensile stress L generated in the concrete cover is solved using the thick-walled cylindrical model of elasticity. The calculation formula is L = E·Δr / r, where E is the elastic modulus of concrete, Δr is the radial displacement of rust expansion, and r is the radius of the steel bar. When L is greater than the standard value of the tensile strength of C50 concrete (2.64MPa), the risk of rust expansion cracking is judged to be high risk; otherwise, it is low risk. The volume expansion rate is conventionally taken as 2.5 to 4.0 times, and in this embodiment, it is taken as 2.5 times.

[0066] (2) Internal voiding defect deduction submodule: The boundary of the voiding region is regarded as a zero-thickness cohesive interface, and the normal traction force T of the interface is calculated according to the bilinear cohesive force law. n and tangential traction force T t The maximum traction force reaching the inherent strength of the interface is used as the criterion for the expansion of void instability; when the maximum traction force exceeds this threshold, it is determined that there is a risk of void expansion. In this embodiment, the maximum traction force reaching the inherent strength of the interface is taken as the concrete-epoxy interfacial bond strength of 1.5 MPa.

[0067] If the detected defect is of the above type, the system will automatically call the corresponding sub-module to perform the deduction and output the risk level; if the defect is complex and cannot be classified into the above single model, the system will call the defect type-empirical criterion mapping table built based on historical detection data for auxiliary evaluation, and clearly mark the confidence level of the deduction basis in the output report to ensure the transparency and credibility of the deduction results.

[0068] Material fracture toughness threshold: The design strength grade of the concrete for this bridge is C50. Based on the "Code for Design of Concrete Structures" and well-known fracture mechanics test data in this field, the fracture toughness threshold is taken as follows. When calculated When the value exceeds this threshold, the system determines that the crack is at risk of unstable expansion.

[0069] For the longitudinal crack (1.2m in length, 0.15mm in maximum width) found in the mid-span of the main span, the following calculations were performed under the baseline conditions (normal temperature 20℃, self-weight load): The simulation assumes two superimposed extreme operating conditions: Operating Condition A: Summer high temperature (+40℃), considering the linear expansion coefficient of concrete. Temperature stress increased by approximately 18%; Condition B: Heavy load condition (highway-Class I lane load, considering impact coefficient 1.3), superimposed with vehicle live load stress.

[0070] The physics engine uses a simplified finite element algorithm (refining the crack region mesh to 1mm elements) to calculate the values ​​under the above working conditions. The simulation results show that under the condition of high temperature and heavy load double overlap, the value at the crack tip at mid-span... The value increased to 2.3 times that of the normal baseline condition, approaching the fracture toughness threshold of this concrete material. Based on this, the system automatically generates an early warning suggestion: the longitudinal crack in the middle of the main span has a significant risk of expansion after the start of summer, and it is recommended to complete a special sealing inspection and preventive grouting treatment before June 1 of that year.

[0071] For each detected defect, the system automatically generates a gradient-weighted class activation map, i.e., a Grad-CAM heatmap. For target category c (such as cracks), the k-th feature map A of the last convolutional layer is first calculated.k Neuron importance weights The final Grad-CAM heat map It is obtained by weighted combination of each feature map and ReLU activation, where the ReLU activation function ensures that only pixel regions that have a positive contribution to the class are retained.

[0072] The heatmap output in this embodiment clearly shows that the model's judgment of cracks is mainly based on the high gradient contrast pixels at the crack edges and the directional features of dark areas, rather than background texture noise. This heatmap is embedded in the inspection report as a semi-transparent overlay, allowing on-site engineers to easily trace the basis of the AI's judgment.

[0073] Based on the "Specifications for Maintenance of Highway Bridges and Culverts" (JTG 5120—2021), and considering the bridge defect data you provided, the system has generated the following maintenance recommendations: The defect (type: crack, component: main span box girder) was determined to be 0.18 mm wide with a propagation rate of 0.12 mm / month, triggering the 3-month maintenance threshold. It is recommended to complete epoxy resin surface sealing and grouting repair by October 17, 2026, and simultaneously conduct a specialized crack depth test (due to its depth > 5 mm and location on a main load-bearing component). After repair, the inspection cycle should be shortened, with the next detailed inspection interval set at 3 months, focusing on monitoring the propagation trend under temperature and heavy load conditions. The current risk is manageable, but the impact of fatigue loads should be considered, and priority should be given to addressing this issue.

[0074] The structured output is as follows: json{ "defect_level": "Class 2", "urgency": "generally" "repair_deadline_months": 2, "repair_method": "Epoxy resin surface sealing and grouting repair, supplemented by specialized crack depth testing", "next_inspection_interval_months": 3, "risk_description": "The crack width and propagation rate exceed the limits. It is located in a main load-bearing component and the depth is >5mm. Special inspection is required. It does not affect the overall safety at present, but the impact of loads needs to be closely monitored." } The key output statement actually generated in this embodiment is: A rust-induced crack was found on the left side of pier 2 (longitude XX.XXXX°E, latitude XX.XXXX°N), measuring 0.35 meters in length, with a maximum width of 0.15 mm and a rust area of ​​approximately 300 mm². 2According to the "Specifications for Maintenance of Highway Bridges and Culverts" (JTG 5120—2021), this crack is classified as a Class 3 defect. Since January 2026, the width of the crack has not significantly increased (rate of 0.02 mm / month), but its length has extended by approximately 2.3 meters. Recommendation: Perform epoxy resin surface sealing and grouting repair within 2 months, and pay close attention to changes in the extent of rust expansion in this area during the next routine inspection (preferably at intervals not exceeding 6 months).

[0075] The system will archive the following data from each AI detection in a structured manner: Original keyframes and infrared thermal images, such as Figure 5 As shown; where (a) is the original keyframe and (b) is the infrared thermal image; Defect pixel-level segmentation mask and Grad-CAM heatmap; Associated POS positioning data with LiDAR depth slices; Confidence level of initial detection at the edge and confidence level of verification in the cloud; Intermediate output records of the LLM (Chain-of-Thought) inference chain.

[0076] All archived data is stored in the data platform in both encrypted PDF and JSON formats. The retention period is consistent with the regulations for highway maintenance file management (no less than 10 years), and it supports post-event review, auditing, and model iteration backtracking.

[0077] The system will systematically extract the generated detection results, three-dimensional spatial positioning, evolution trends and maintenance history into entity-relationship triples to construct a bridge defect knowledge graph. Figure 6 This is an example of the application of the Neo4j knowledge base in bridge management. Neo4j is a property graph database.

[0078] Entity nodes contain some basic attributes. For example, the attribute "center station number" of the bridge entity "K bridge" has the value "K253+465". Different entities are connected to each other through relation edges, forming a graph structure. For example, there is a "structure" relationship between "K bridge" and "bridge pier".

[0079] Run the following query to confirm whether the defective nodes of the target bridge contain a rate field: MATCH (b:Bridge {climate:'Subtropical Monsoon', structure_type:'Prestressed Continuous Beam'})-[:has_component]->(c)-[:located_at]-(d:Defect) RETURN b.name, d.defect_id, d.expansion_rate LIMIT 10 If the returned expansion_rate is null, then historical test data needs to be added or a default experience value needs to be set.

[0080] Relax the query conditions to obtain a reference baseline. When direct matching yields no results, the constraints can be relaxed sequentially: Only the structure type is limited (not the climate zone), and the speed distribution of bridges of the same type is obtained.

[0081] Only the climate zone is limited (not the structure type), to obtain the deterioration level of various bridges under the same environment.

[0082] This helps establish initial thresholds for subsequent expert evaluation.

[0083] If the knowledge base data continues to be missing, it is recommended to refer to the empirical formula for rust expansion rate in the "Standard for Durability Testing and Evaluation of Highway Bridges" and existing literature, taking into account parameters such as temperature, humidity, protective layer thickness, and concrete strength, and calculate the theoretical deterioration rate through the rule engine of the knowledge graph, and store it in the graph for future query.

[0084] Search results: The average expansion rate of rust expansion defects in similar bridges is 0.035 mm / month. However, the average expansion rate of rust expansion defects in this bridge (Example 1) is 0.049 mm / month, approximately 1.4 times the average. The system correlates this deviation with material property nodes in the knowledge graph, automatically generating an active early warning strategy and pushing it to the maintenance platform: It is recommended that a comprehensive non-destructive testing of the prestressed ducts of the bridge be conducted within the next month, using ground-penetrating radar or impact echo method to check for incomplete grouting, and that the subsequent inspection cycle be shortened from 12 months to 9 months.

[0085] Based on historical degradation data accumulated from the knowledge graph and physical projection predictions, the system automatically generates a preventative maintenance roadmap for this year, including: The list of key areas for the next inspection cycle is sorted by risk score, with the top 3 areas listed separately. Recommended inspection methods, such as visible light fine imaging / infrared flaw detection / tapping echo method, and suggested track parameters; The recommended testing cycle has been dynamically adjusted, shortening from the original 12 months to 9 months.

[0086] The entire process in this embodiment, from drone takeoff to automatic report generation and archiving, took 6.5 hours, approximately one-fifth of the total 32 hours required for traditional manual high-altitude inspection methods, including scaffolding erection, airlocking, manual mapping, and report writing. The system automatically detected three early-stage micro-cracks (<0.1mm wide) that were missed in previous manual inspection reports. The generated visualization report and projection results have been adopted by the client as the core decision-making basis for this year's preventative maintenance budget and pre-summer special inspection plan.

[0087] Example 2 A 3.5-kilometer-long elevated expressway in a certain city consists of six bridge sections. It is a simply supported prestressed concrete box girder structure with a bridge deck width of 24 meters and a daily traffic volume of 50,000 vehicles. The maintenance unit requires that all 64 piers, 192 supports, and the bottom of the box girders be subject to full-coverage regular inspections under the stringent conditions of not interrupting traffic, not erecting scaffolding, and not setting up temporary supports. There is also a weak 4G / 5G signal coverage issue in the urban canyon area.

[0088] The drone performed automated inspections during the off-peak traffic period from 1:00 AM to 3:00 AM, utilizing LiDAR for real-time obstacle avoidance and terrain-following flight, maintaining a constant height of 2.5 meters above the bottom of the box girder. The infrared thermal imaging module effectively identified abnormal temperature distributions (temperature differences exceeding 1.5℃) and abnormal hydration heat within the concrete caused by support detachment in low-light conditions at night, avoiding the drawbacks of insufficient visible light illumination. The precise flight path covered all 192 supports, capturing three visible light and three infrared alignment images for each support.

[0089] In urban canyon areas, communication signal strength fluctuates significantly, with the Reference Received Power (RSRP) ranging from -110 dBm to -85 dBm. The edge-cloud collaborative mechanism exhibits high robustness: during a period when signal interruption accounted for approximately 12% of the total inspection time, the edge independently completed all initial screening and local log caching; after link recovery, only 4.2 GB of key compressed feature data and alarm keyframes were transmitted back using a breakpoint resumption method. If the original full video transmission scheme were used, approximately 1.2 TB of data would need to be transmitted. In this embodiment, the actual data transmission volume is only 0.35% of the full scheme, approximately 0.035%, resulting in a bandwidth saving of 99.65%.

[0090] The generated high-precision digital twin model contains 192 bearing defect labels and is seamlessly integrated into the city's CIM platform via a standard data interface that supports IFC format and custom attribute extension tables, achieving a unified maintenance view for the entire bridge group. Maintenance units can directly click on any pier on the central control screen to retrieve its defect type, historical evolution curve, and maintenance suggestions, significantly improving the efficiency of cross-bridge collaborative management.

[0091] Knowledge graph retrieval revealed that the aging rate of the third span's support, located near the chemical plant area, was significantly higher than that of the other spans in this viaduct complex. An independent samples t-test showed a p-value less than 0.05. The system automatically designated this area as a high-risk zone and recommended shortening the inspection cycle from the standard 12 months to 6 months. It also recommended using electrochemical parameter monitoring for in-depth investigation. This proactive early warning was adopted by the maintenance unit and listed as a priority project for the next quarter's special funding.

[0092] Table 2 shows a comparison of the core performance indicators of the bridge appearance defect analysis scheme proposed in this invention with traditional manual high-altitude inspection and conventional deep learning detection schemes.

[0093] Table 2

[0094] This invention can be widely applied to the daily inspection and structural health monitoring of highway, railway, and municipal bridges, and is particularly suitable for scenarios where traditional inspection methods are difficult to cover, such as long-span bridges, urban viaducts, and mountain canyon bridges. The system provided by this invention can seamlessly integrate with existing bridge maintenance platforms, significantly improving inspection efficiency, reducing maintenance costs, and extending the service life of structures. It has significant economic and social benefits and broad prospects for industrial application.

[0095] Example 3 Engineering deployment of a municipal bridge structural appearance defect analysis system based on drone inspection. This embodiment follows the inspection scenarios of cross-river bridges in Embodiment 1 and urban viaducts in Embodiment 2. The specific equipment selection and deployment methods for each module are as follows: I. Data Acquisition and Preprocessing Module This module is deployed on a drone platform, with the core flight vehicle being the DJI Matrice 350RTK industrial-grade quadcopter drone. It has a maximum payload of 2.7kg, a wind resistance rating of level 7, and is suitable for nighttime and urban canyon environments. The multimodal sensor components specifically include: a PhaseOneiXM-RS150F visible light camera equipped with a 50mm Schneider lens, a resolution of 14204×10652 pixels, a pixel size of 3.76μm, and supports a global electronic shutter to eliminate the rolling shutter effect caused by rotor vibration; an FLIRA615 infrared thermal imager with a resolution of 640×512 pixels, a thermal sensitivity of less than 30mK, a 19mm fixed-focus lens, and a temperature measurement range of -40℃ to +500℃; and a forward-looking LiDAR system using a forward-looking Livox HAP and a downward-looking H... The esai Pandar XT-32 dual radar system combines two radars: the former for autonomous obstacle avoidance and terrain-following flight, and the latter for high-density bottom surface scanning, with a ranging accuracy of ±2cm and an effective point frequency of approximately 640,000 points / second. The positioning and attitude determination system uses the Applanix APX-20 UAV, which integrates dual-frequency multi-constellation GNSS, supports GPS L1 / L2, BeiDou B1 / B3, and GLONASS SG1 / G2, and a high-precision fiber optic gyroscope IMU, with a heading accuracy of 0.05°, roll and pitch accuracy of 0.015°, and post-processing differential positioning accuracy down to the centimeter level.

[0096] All the aforementioned sensors achieve nanosecond-level clock synchronization via an onboard time synchronization board based on the IEEE 1588v2 precision time protocol, with a synchronization error of less than 1ms. Preprocessing is performed on the onboard edge computing unit, which utilizes an NVIDIA Jetson AGX Orin industrial-grade module equipped with a 12-core ARM Cortex-A78AE CPU, a 2048-core Ampere architecture GPU, and 64GB of LPDDR5 memory, supporting 32 TOPSINT8 computing power. An onboard 1TB NVMe SSD is used for raw data caching. This module performs multimodal pixel-level registration, adaptive quality elimination, and CLAHE recovery in real time, and transmits the aligned trimodal data stack to the edge inference unit on the same onboard platform via a PCIe 4.0 interface.

[0097] II. Defect Detection and Segmentation Module This module is deployed in a cloud data center and also supports offline deployment on ground workstations. The compute server is a Dell PowerEdge R760xa, equipped with dual Intel Xeon Platinum 8480 processors, featuring 56 cores and 112 threads, 512GB DDR5 ECC memory, and four NVIDIA H800 GPUs, each with 80GB HBM3 memory and approximately 2 PFLOPS of FP16 computing power, fully interconnected via NVLink 4.0. The storage system is equipped with the distributed parallel file system DDNEXAScaler, with a read bandwidth of 200GB / s, used to load 500,000 pre-trained images and fine-tuning samples. This module calls the pre-trained MAML framework model described in step S200, trains it on a cloud GPU cluster with 32 GPUs in parallel and a batch size of 256 for 14 days until convergence, and then performs inner loop gradient updates on 8 to 10 new defect annotation samples returned from the field, with a learning rate η of 0.01 and 5 iterations. It also combines a memory augmentation network (MAN) with an external memory matrix N of 100 slots residing in GPU memory to perform read-write storage and gated fusion retrieval of prototype features. All fine-tuning and inference processes use the PyTorch 2.0 framework, employing FP16 mixed precision training to reduce GPU memory usage, with a single new category adaptation taking approximately 2.3 minutes.

[0098] III. Edge-Cloud Collaborative Inference Module This module is the core hub for system hardware interconnection, and it consists of two levels of physical entities: The first-level edge inference unit uses the same NVIDIA Jetson AGX Orin module as described above, but is logically divided into independent inference partitions. It has deployed a lightweight MobileNetV3 model, compressed and structured through knowledge distillation and pruning, with 5.6MB of parameters and less than 15MB after INT8 quantization. This unit processes the video stream frame by frame at a throughput of 30FPS, outputs a confidence score (Conf), and executes local actions according to a traffic splitting strategy, with a first threshold of 0.85 and a second threshold of 0.40. The airborne audible and visual alarm uses a Patlite LR6-IL type LED multi-color rotating warning light and a buzzer, with a sound pressure level of 90dB and a response latency of less than 80ms upon triggering.

[0099] The second-level cloud-based fine-grained inference unit reuses the single-card resources of the aforementioned H800 GPU cluster in the cloud, deploying a large-scale Swin-Large U-Net model of original capacity. It receives key frames of fuzzy confidence intervals filtered and returned from the edge end, using JPEG compression at 90%, with each frame approximately 200 to 300KB, and sparsely encoded feature maps, approximately 5% the size of the original feature maps. The communication equipment uses a Huawei 5GCPEPro2 on the airborne side and a ZTE ZXR105960-6MT-H switch on the ground side directly connected to the operator's core network. For the weak signal coverage area in the urban canyon in Example 2, a SilvusStreamCaster4200 MESH self-organizing radio is added, operating at 2.4GHz / 5GHz, with an output power of 1W, and a communication distance of up to 30km at line of sight. Under non-line-of-sight conditions, a stable bandwidth of 1 to 2Mbps is maintained through multi-hop relay as a backup physical link. When communication is interrupted, the airborne edge end automatically lowers the traffic splitting threshold and caches all logs to the local NVMe SSD. After the link is restored, the logs are resumed via the FTP breakpoint resume protocol.

[0100] IV. Digital Twin Mapping and Inference Module This module is deployed on a high-performance ground-based graphics workstation, using an HP Z8 Fury G5, equipped with an Intel Xeon W9-3495X5 6-core processor, 128GB DDR5 memory, dual NVIDIA RTX 6000 AdaGeneration GPUs, each with 48GB GDDR6 video memory, supporting real-time ray tracing, and featuring dual 4K displays for 3D visualization interaction. The workstation loads a triangular mesh digital twin model generated from LiDAR point clouds in step S400, containing approximately 5 million triangles. The mapping algorithm from 2D defect contours to 3D point clouds—namely, collinearity equations, LiDAR depth map lookup tables, and ICP fine registration—is accelerated in parallel by CUDA, with a single defect mapping time of less than 0.5 seconds. The physics engine integrates the Abaqus 2024 finite element solver core library, automatically building local sub-models of defects using Python scripts. The mesh at the crack tip is refined to 1mm, and preset boundary conditions—self-weight, temperature, and lane load—are applied. The stress intensity factor KI and rust expansion circumferential stress are calculated, with a single-condition simulation taking approximately 45 seconds. All simulation results and 3D annotation data are synchronized in real-time to a web-based visualization platform, accessible via a 5G network on the central control screen at the maintenance unit.

[0101] V. Explainable Report Generation Module This module is also deployed on a cloud-based H800 cluster, sharing computing resources with the detection module. Grad-CAM attribution heatmap generation is completed in real-time on the GPU; PyTorch automatically differentiates and weights the data, resulting in an output resolution consistent with the original. Figure 1A 7952×5304 PNG semi-transparent overlay is used. The large language model inference employs the LoRA-tuned Qwen2.5-7B-Instruct model, deployed on a cloud-based TritonInferenceServer using a single H800 GPU. Inference utilizes a vLLM acceleration engine, with a latency of approximately 1.2 seconds per defect suggestion generation. This module directly connects to a structured archive database, specifically using MinIO object storage to store original keyframes, segmentation masks, heatmaps, and location JSON. After report generation, the data is automatically uploaded to a designated directory on the management platform.

[0102] VI. Knowledge Graph and Proactive Operation and Maintenance Module This module is deployed on a dedicated knowledge graph server, using a Lenovo ThinkSystem SR670V2 processor, configured with dual Intel Xeon Gold 6438M 64-core processors, 256GB of memory, and a 2TB NVMe SSD, running the Neo4j Enterprise 5.12 graph database. Entity-relationship triples are automatically extracted from the JSON fields archived by MinIO via an ETL pipeline, specifically mapped to an attribute graph model using the Python RDFlib library, with a batch write rate of approximately 5000 records per second. The server also runs the Cypher multi-hop query engine, which initiates cross-bridge pattern mining tasks daily and automatically pushes proactive early warning strategies to responsible personnel via WeChat and SMS gateways based on the query results.

[0103] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for analyzing the apparent defects of municipal bridge structures based on unmanned aerial vehicle (UAV) inspection, characterized in that, include: The bridge structure appearance data is acquired by a multimodal sensor and the appearance data is preprocessed; the multimodal sensor includes at least two of the following: a visible light camera, an infrared thermal imager, and a lidar. Defect detection and segmentation are performed on the preprocessed appearance data to obtain defect detection results; the defects include at least one of cracks, rust swelling, spalling, exposed reinforcement and internal voids. Based on the confidence level of the defect detection results, data to be reviewed is dynamically generated, and the edge device uploads the data to be reviewed to the cloud for review and confirmation. The depth value of the two-dimensional pixel contour of the defect, which has been verified and confirmed in the cloud, is obtained. The depth value is then mapped to the surface of the three-dimensional digital twin model to obtain spatial positioning information. The structural mechanics physics engine in the digital twin model is then used to perform defect evolution simulation. Generate an attribution heatmap of the detection results, and combine it with parameters for defect evolution inference to generate a structured operation and maintenance report that includes current status assessment and future evolution prediction; Defect detection results, spatial location information, defect evolution trends, and maintenance history are extracted into entity-relationship triples to construct a bridge defect knowledge graph. Based on the knowledge graph, cross-bridge pattern mining and early warning are performed.

2. The method according to claim 1, characterized in that, The preprocessing includes optical non-destructive testing registration of visible light, infrared, and lidar data: Based on coarse registration, data from different sensors are converted to a unified coordinate system; Based on precise registration, the spatial transformation parameters between visible light images and infrared thermal images are optimized. Establish a mapping relationship between two-dimensional pixel coordinates and three-dimensional world coordinates, and perform depth correlation by combining the dense depth map of LiDAR, and perform multimodal alignment of visible light, infrared and LiDAR data.

3. The method according to claim 1, characterized in that, Defect detection and segmentation are performed on the preprocessed appearance data to obtain defect detection results, specifically including: Call the pre-trained model-independent meta-learning framework model to obtain initialization parameters for rapid adaptation to new defect categories; Based on the initialization parameters, a memory-enhanced network is used to fine-tune the preprocessed appearance data with small samples, and the prototype features of new defect categories are stored and read through the read-write retrieval of the external memory matrix and the gated fusion mechanism. Based on the fine-tuned irrelevant meta-learning framework model, a parallel dual-stream feature extraction network is used for defect detection and segmentation, and a cross-attention fusion mechanism is introduced in the bottleneck layer. The dense optical flow algorithm is used to verify the temporal consistency of detection results between consecutive frames and suppress false alarms.

4. The method according to claim 1, characterized in that, The process of uploading data to be reviewed from the edge device to the cloud for review and confirmation includes: The first level involves deploying a lightweight detection model at the edge, which has undergone knowledge distillation and structured channel pruning and compression, to detect the real-time video stream frame by frame and output the confidence level. At the second level, the edge device executes a traffic splitting strategy based on the confidence level: when the confidence level is higher than the first threshold of 0.85, a local alarm is triggered and the key frame is sent back to the cloud for archiving; when the confidence level is lower than the second threshold of 0.40, the current frame is discarded; when the confidence level is between the second threshold of 0.40 and the first threshold of 0.85, the key frame and the corresponding feature map are sent back to the cloud for multi-frame spatiotemporal context secondary fine inference.

5. The method according to claim 4, characterized in that, It also includes a communication interruption backup mechanism: When a communication link interruption is detected or the heartbeat packet times out three times, the system automatically switches to the airborne independent operation mode, lowers the first threshold from 0.85 to 0.70, and lowers the second threshold from 0.40 to 0.25; when the communication link is restored, all cached keyframes and log data are automatically retransmitted to the cloud through the breakpoint resume transmission protocol.

6. The method according to claim 2, characterized in that, Based on the camera intrinsic parameter matrix and the camera extrinsic parameters recorded synchronously by the UAV, the ray direction in the world coordinate system corresponding to the defect contour pixels is calculated; the depth value corresponding to the defect contour pixels is obtained by looking up the table through the dense depth map of the lidar, and then substituted into the world coordinates obtained by the pinhole model to generate a set of 3D point clouds of defects with geographic coordinate labels. The defect point set is precisely registered with the digital twin model using the iterative nearest point algorithm.

7. The method according to claim 6, characterized in that, Preset boundary conditions and load conditions are applied to the mapped defect twin, and the stress intensity factor of the defect is calculated based on the linear elastic fracture mechanics model. The calculated stress intensity factor is compared with the material fracture toughness threshold. When the threshold is exceeded, it is determined that the defect has a risk of unstable propagation, and an early warning suggestion is automatically generated.

8. The method according to claim 7, characterized in that, For each detected defect, the gradient of each feature map in the last convolutional layer of the deep neural network relative to the target category is calculated. After global average pooling, the importance weight of the neurons in each feature map is obtained. The feature maps are weighted and summed and activated by ReLU to generate an attribution heatmap that represents the basis of the model's judgment. This heatmap is then overlaid on the original image in the form of a semi-transparent overlay.

9. The method according to claim 1, characterized in that, The preprocessing also includes adaptive quality elimination and restoration: calculating the comprehensive quality score of each frame image, which is a weighted sum of the sharpness score and the exposure score; when the comprehensive quality score is lower than a preset threshold, it is judged as a poor quality frame and eliminated; for frames with abnormal exposure but a sharpness score higher than the preset sharpness threshold, adaptive histogram equalization is used for restoration processing.

10. A system for analyzing the apparent defects of municipal bridge structures based on unmanned aerial vehicle (UAV) inspection, characterized in that: For performing the method according to any one of claims 1 to 9, comprising: The data acquisition and preprocessing module is used to acquire bridge structure appearance data through multimodal sensors and preprocess the appearance data; the multimodal sensors include at least two of visible light cameras, infrared thermal imagers, and lidar; The defect detection and segmentation module is used to perform defect detection and segmentation on the preprocessed appearance data to obtain defect detection results. The edge-cloud collaborative reasoning module is used for collaborative reasoning through a two-level cascaded reasoning architecture at the edge and the cloud. The digital twin mapping and deduction module obtains the depth value of the detected two-dimensional defect pixel contour, maps the depth value to the surface of the three-dimensional digital twin model to obtain spatial positioning information, and then combines it with the physics engine to perform defect evolution deduction. The interpretable report generation module is used to generate attribution heatmaps of detection results based on interpretable artificial intelligence technology, and to generate structured operation and maintenance reports based on a large language model. The knowledge graph and proactive maintenance module is used to extract defect detection results, spatial location information, evolution trends and maintenance history into entity-relationship triples to construct a bridge defect knowledge graph, and to perform cross-bridge pattern mining and early warning based on the knowledge graph.