A tunnel face surrounding rock grade intelligent determination method

By constructing a deep learning model and a comprehensive scoring method, the surrounding rock level of the tunnel face is intelligently determined, which solves the problems of large impact on construction organization and high safety risks in traditional methods, and achieves efficient and accurate tunnel construction support.

CN119068236BActive Publication Date: 2026-11-27CHINA RAILWAY SIYUAN SURVEY & DESIGN GRP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411001474.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2026-11-27
Estimated Expiration
2044-07-25

AI Technical Summary

Technical Problem

In mining tunnel construction, existing technologies, when using traditional methods to determine the surrounding rock grade at the tunnel face, suffer from problems such as significant impact on construction organization, high safety risks, and heavy subjective factors.

Method used

A deep learning model was constructed, utilizing the ResNet50 backbone network, feature pyramid network, and multi-classification head. The deep learning model was used to intelligently determine the tunnel face photos, and the surrounding rock level was obtained by combining the comprehensive scoring method.

Benefits of technology

It enables intelligent and rapid determination of the surrounding rock level at the tunnel face, improving efficiency and accuracy, providing more comprehensive and objective geological information support, and reducing construction impact and safety risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119068236B_ABST
    Figure CN119068236B_ABST
Patent Text Reader

Abstract

The application provides a tunnel face surrounding rock grade intelligent determination method, relates to the field of tunnel engineering investigation and construction technology, and comprises the following steps: S1, a deep learning model is constructed, the deep learning model is iteratively trained by using a training set until the model converges, and a trained deep learning model is obtained; S2, an image to be recognized is acquired, the image to be recognized is input into the trained deep learning model, and five classification results are output; S3, the five classification results are subjected to standard value range processing, and then a comprehensive scoring method is used to comprehensively calculate the five classification results subjected to standard value range processing to obtain a comprehensive score; and S4, the comprehensive score is determined according to a surrounding rock grade rule to obtain the surrounding rock grade of the image to be recognized. The application can intelligently and quickly obtain the determination and evaluation of the tunnel face surrounding rock grade.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of tunnel engineering survey and construction technology, and in particular to an intelligent method for determining the grade of surrounding rock at the tunnel face. Background Technology

[0002] Currently, in the construction of mine-method tunnels, traditional methods are mostly used to determine the surrounding rock grade at the tunnel face: after tunnel blasting and excavation, traditional geological methods such as geological sketching of the tunnel face, advanced horizontal drilling, deepening of blast holes, and engineering geophysical exploration are used to comprehensively assess the quality of the surrounding rock at the tunnel face and within a certain range ahead. Based on the assessment results, the surrounding rock grade is determined, and suggestions are made for the next construction procedure. This method of frequent observation and exploration of the tunnel face requires a significant amount of time at the face, seriously affecting on-site construction organization, impacting the tunnel construction schedule, and posing numerous safety risks. Furthermore, the determination of surrounding rock quality through geological verification of the tunnel face is significantly influenced by the overall technical level of on-site personnel, with a large degree of subjective influence and inconsistent judgment standards and criteria. Summary of the Invention

[0003] In view of this, the present invention proposes an intelligent method for determining the surrounding rock level of tunnel face, which realizes intelligent and rapid determination and evaluation of the surrounding rock level of tunnel face. By deep learning of tunnel face photos and establishing a complete deep learning model, multi-level determination logic is trained to obtain the surrounding rock level of tunnel face and guide the next construction cycle step.

[0004] The technical solution of this invention is implemented as follows: This invention provides an intelligent method for determining the surrounding rock grade of a tunnel face, comprising:

[0005] S1 constructs a deep learning model, uses the training set to iteratively train the deep learning model until the model converges, and obtains the trained deep learning model.

[0006] S2 acquires the image to be identified, inputs the image to be identified into the trained deep learning model, and outputs five classification results.

[0007] S3 standardizes the five classification results into a range, and then uses a comprehensive scoring method to calculate the comprehensive score by combining the five standardized classification results.

[0008] S4 determines the overall score based on the surrounding rock level rules to obtain the surrounding rock level of the image to be identified.

[0009] Based on the above technical solutions, the preferred deep learning model includes a ResNet50 backbone network, a feature pyramid network, and a classification network, wherein:

[0010] The ResNet50 backbone network consists of one-dimensional convolutional layers, batch normalization (BN) layers, max pooling layers, and four residual blocks. The first residual block contains three residual units, the second residual block contains four residual units, the third residual block contains six residual units, and the fourth residual block contains three residual units.

[0011] The feature pyramid network adopts a top-down path and includes four convolutional layers, with lateral connections between each convolutional layer;

[0012] The classification network consists of five classification heads. The first classification head includes three convolutional layers, a global average pooling layer, and a fully connected layer. The second classification head includes three consecutive convolutional layers, a global average pooling layer, and a fully connected layer. The third classification head includes a convolutional layer, a self-attention layer, an average pooling layer, and a fully connected layer. The fourth classification head includes a convolutional layer, a channel attention block, a global average pooling layer, and a fully connected layer. The fifth classification head includes two convolutional layers, an adaptive max pooling layer, a bidirectional GRU layer, and a fully connected layer.

[0013] Based on the above technical solution, preferably, the first classification head is used for classifying the color of the surrounding rock; the second classification head is used for classifying the width of the fracture; the third classification head is used for classifying the length of the fracture; the fourth classification head is used for classifying the number of fracture groups; and the fifth classification head is used for classifying the degree of groundwater development.

[0014] Based on the above technical solution, the preferred process for the deep learning model to process the image to be recognized is as follows:

[0015] The image to be identified is input into the ResNet50 backbone network, and features at four scales are extracted sequentially using four residual blocks, namely the first scale feature C1, the second scale feature C2, the third scale feature C3, and the fourth scale feature C4.

[0016] The first-scale feature C1, the second-scale feature C2, the third-scale feature C3, and the fourth-scale feature C4 are input into the feature pyramid network, and the features C1, C2, C3, and C4 at the four scales are processed. i All applications use 1x1 convolutions, with the number of channels adjusted to the same value. i =Conv1*1(C i Following a top-down approach, starting from the top layer, the scale features of higher layers are upsampled and added to the next layer, forming a four-layer pyramid feature A. i A i =B i +Upsample(A i+1 For each pyramid feature A i Smoothing is achieved by applying 3x3 convolution, resulting in four smoothed features P. i P i =Conv3*3(A i ); where i = 1, 2, 3, 4;

[0017] Input P1 into the first classification header to get the first classification result. Input P1 and P2 into the second classification header to get the second classification result. Input P2, P3 and P4 into the third classification header to get the third classification result. Input P1, P2, P3 and P4 into the fourth classification header to get the fourth classification result. Input P3 and P4 into the fifth classification header to get the fifth classification result.

[0018] Based on the above technical solution, preferably, P1 is input into the first classification head, and color features are extracted step by step through three consecutive convolutional layers. Batch normalization and ReLU activation are performed after each convolution. During the convolution process, the number of channels is gradually reduced. Global average pooling is used to compress the features into a one-dimensional vector, and then the vector is mapped to the output space of five categories through a fully connected layer to obtain the first classification result.

[0019] P1 and P2 are input into the second classification head. Width-related features are extracted through one 3*3 convolutional layer and two 3*3 dilated convolutional layers. The ReLU activation function is applied after each convolutional layer. Then, the processed P1 and P2 are upsampled or downsampled to the same size and concatenated along the channel dimension. The concatenated features are then fused through one 1*1 convolution. Global average pooling is used to compress the features into a one-dimensional vector. Finally, the vector is mapped to the output space of the five categories through a fully connected layer to obtain the second classification result.

[0020] P2, P3, and P4 are input into the third classification head. Each feature is independently processed through a 1*1 convolution and a self-attention mechanism. The three processed features are upsampled to the same size and concatenated along the channel dimension. The concatenated features are then processed through a self-attention layer to fuse multi-scale information. Finally, they are mapped to the output space of the five categories through a fully connected layer to obtain the third classification result.

[0021] P1, P2, P3, and P4 are input into the fourth classification head. Each feature is independently processed through a 1*1 convolution and a channel attention block. The four processed features are adjusted to the same size and concatenated along the channel dimension. The concatenated features are then processed through an additional channel attention block to further integrate multi-scale information. Global average pooling is used to compress the features into a one-dimensional vector, which is then mapped to the output space of the five categories through a fully connected layer to obtain the fourth classification result.

[0022] P3 and P4 are input into the fifth classification head. Each feature is processed through two 3*3 convolutional layers to extract water development-related features. After each convolution, batch normalization and ReLU activation are performed. Then, an adaptive max pooling layer is used to obtain two feature sequences. These two feature sequences are concatenated in the time dimension to form a concatenated sequence, which is then input into a bidirectional GRU for processing. The output of the GRU is average pooled and then mapped to the output space of five classes through a fully connected layer to obtain the fifth classification result.

[0023] Based on the above technical solutions, preferably, the first classification result includes single, relatively single, relatively turbid, turbid, and extremely turbid; the second classification result includes extremely narrow, narrow, relatively narrow, relatively wide, and wide; the third classification result includes less than extremely short, short, relatively short, relatively long, and long; the fourth classification result includes very few, few, relatively few, relatively many, and many; and the fifth classification result includes dry, dot-like, drop-like, linear, and strand-like.

[0024] Based on the above technical solution, preferably, step S3 includes:

[0025] S31 sets the standard value range, divides the standard value range into 5 sub-ranges, and maps the 5 categories of the 5 classification results to the 5 sub-ranges one by one. The 5 classification results are respectively denoted as the first classification result, the second classification result, the third classification result, the fourth classification result, and the fifth classification result.

[0026] S32 obtains the predicted probability values ​​of the first, second, third, fourth, and fifth classification results, and calculates the individual scores of the five classification results based on the conversion relationship between the predicted probability values ​​and the corresponding sub-ranges.

[0027] S33 sets the weights for the five classification results, and calculates the comprehensive score based on the weights and individual item scores.

[0028] Based on the above technical solution, the preferred formula for calculating the single-item score is:

[0029]

[0030] In the formula, This represents the individual score of the j1th classification result, where j1 = 1, 2, 3, 4, 5; This represents the lower limit of the range of values ​​for the subrange j2 corresponding to the j1st classification result, where j2 = 1, 2, 3, 4, 5; This represents the predicted probability value of the j1th classification result; This represents the prediction threshold for the j1th classification result; This represents the adjustment factor for the subrange j2.

[0031] Based on the above technical solutions, the preferred formula for calculating the comprehensive score is as follows:

[0032]

[0033] In the formula, S total For the overall score, This represents the weight of the j1th classification result.

[0034] Based on the above technical solution, preferably, step S4 includes:

[0035] The range of the comprehensive score is divided into 6 levels. The 6 levels are set as rock level 1, rock level 2, rock level 3, rock level 4, rock level 5 and rock level 6 according to the comprehensive score from high to low. The comprehensive score value calculated in step S3 is assigned to the corresponding rock level to obtain the rock level of the image to be identified.

[0036] The present invention has the following advantages over the prior art:

[0037] (1) This invention realizes the intelligent determination of the surrounding rock level of the tunnel face by constructing a deep learning model and combining it with a comprehensive scoring method. This method can not only automatically process a large amount of image data, improving the efficiency and accuracy of the surrounding rock level determination, but also comprehensively consider multiple geological features, including surrounding rock color, fracture width, fracture length, number of fracture groups and groundwater development, so as to obtain a more comprehensive and objective evaluation result and provide reliable geological information support for tunnel construction.

[0038] (2) This invention constructs a deep learning model consisting of a ResNet50 backbone network, a feature pyramid network, and a multi-classification head, which can extract image features from different scales and levels and perform comprehensive analysis. This structure not only improves the depth and breadth of feature extraction, but also demonstrates strong adaptability and efficiency in handling various geological features, resulting in a significant improvement in the recognition accuracy of the model after training.

[0039] (3) The classification network of this invention is designed with five specialized classification heads, which classify the surrounding rock color, fracture width, fracture length, number of fracture groups, and groundwater development degree, respectively. This design can not only effectively separate the influence of different geological features and ensure that each feature can be fully analyzed and identified, but also comprehensively evaluate the overall stability and quality of the surrounding rock by integrating these classification results;

[0040] (4) The standard value range and comprehensive scoring method introduced in this invention unifies the evaluation results of different types of geological features to a standard scale, and realizes the comprehensive consideration of multiple features through weight allocation. This method not only solves the problem of inconsistent quantitative standards for different geological features, but also flexibly adjusts the importance of each feature, making the final determination of the surrounding rock level more objective and comprehensive. Attached Figure Description

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

[0042] Figure 1 This is a flowchart of the method of the present invention. Detailed Implementation

[0043] The technical solutions of the present invention will be clearly and completely described below with reference to the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.

[0044] like Figure 1 As shown, the present invention provides an intelligent method for determining the surrounding rock grade of a tunnel face, comprising:

[0045] S1 constructs a deep learning model, uses the training set to iteratively train the deep learning model until the model converges, and obtains the trained deep learning model.

[0046] S2 acquires the image to be identified, inputs the image to be identified into the trained deep learning model, and outputs five classification results.

[0047] S3 standardizes the five classification results into a range, and then uses a comprehensive scoring method to calculate the comprehensive score by combining the five standardized classification results.

[0048] S4 determines the overall score based on the surrounding rock level rules to obtain the surrounding rock level of the image to be identified.

[0049] Specifically, this invention constructs a deep learning model, uses images of the tunnel face as a training set, and iteratively trains the model. The specific training process is as follows:

[0050] First, a large number of tunnel face images from both domestic and international sources were collected. The surrounding rock color, fracture width, fracture length, number of fracture groups, and groundwater development level in the images were labeled. Specifically, the surrounding rock color was classified as single, relatively single, relatively turbid, turbid, and extremely turbid; the fracture width was classified as extremely narrow, narrow, relatively narrow, relatively wide, and wide; the fracture length was classified as extremely short, short, relatively short, relatively long, and long; the number of fracture groups was classified as extremely few, few, relatively few, relatively many, and many; and the groundwater development level was classified as dry, dotted, dripping, linear, and streaky. Image annotation tools, such as LabellImg, can be used for annotation. In the five categories, the crack width, crack length, and number of crack groups can be converted into numerical labels. For example, crack width is divided into extremely narrow, narrow, relatively narrow, relatively wide, and wide, corresponding to crack width < 5mm, 5mm < crack width ≤ 10mm, 10mm < crack width ≤ 20mm, 20mm < crack width ≤ 30mm, and 30mm < crack width; crack length is divided into extremely short, short, relatively short, relatively long, and long, corresponding to crack length < 1m, 1m < crack length ≤ 2m, 2m < crack length ≤ 3m, 3m < crack length ≤ 5m, and 5m < crack length; the number of crack groups is divided into extremely few, few, relatively few, relatively many, and many, corresponding to crack group number ≤ 1 group, 1 group < crack group number ≤ 2 groups, 2 groups < crack group number ≤ 3 groups, 3 groups < crack group number ≤ 5 groups, and 5 groups < crack group number. Create a corresponding annotation file for each image, which can be in JSON format. After annotation, a dataset is formed.

[0051] The dataset undergoes certain preprocessing, including resizing to a uniform size, performing data augmentation (such as random cropping, flipping, rotating, adjusting brightness and contrast, etc.), and finally standardizing the images.

[0052] Divide the dataset into training, validation, and test sets in a ratio of 70%:15%:15%.

[0053] Next, a deep learning model is constructed, including a ResNet50 backbone network, a feature pyramid network, and a classification network.

[0054] The ResNet50 backbone network consists of one-dimensional convolutional layers, batch normalization (BN) layers, max pooling layers, and four residual blocks. The first residual block contains three residual units, the second contains four, the third contains six, and the fourth contains three. In this embodiment, a pre-trained ResNet50 network is used, with the first layer modified to a one-dimensional convolutional layer, retaining the outputs of the four residual blocks: C1, C2, C3, and C4.

[0055] Feature Pyramid Network: It adopts a top-down path and includes 4 convolutional layers, with lateral connections between each convolutional layer.

[0056] The classification network consists of five classification heads. The first classification head includes three convolutional layers, a global average pooling layer, and a fully connected layer. The second classification head includes three consecutive convolutional layers, a global average pooling layer, and a fully connected layer. The third classification head includes a convolutional layer, a self-attention layer, an average pooling layer, and a fully connected layer. The fourth classification head includes a convolutional layer, a channel attention block, a global average pooling layer, and a fully connected layer. The fifth classification head includes two convolutional layers, an adaptive max pooling layer, a bidirectional GRU layer, and a fully connected layer.

[0057] The first classification head is used for classifying the color of the surrounding rock; the second classification head is used for classifying the width of the fracture; the third classification head is used for classifying the length of the fracture; the fourth classification head is used for classifying the number of fracture groups; and the fifth classification head is used for classifying the degree of groundwater development.

[0058] Based on the five classification tasks, we define the cross-entropy loss, and the total loss is the weighted sum of the losses from the five classification tasks.

[0059] Select the Adam optimizer, set the learning rate (Lr) to 0.001, and the weight decay to 10. -4 .

[0060] Set the learning rate scheduling strategy to StepLR, with the step size set to 30 and the scheduling factor set to 0.1.

[0061] Begin the training loop, setting the epoch to 100, and iterate over a predefined number of rounds:

[0062] a: Set the model to training mode at the beginning of each epoch.

[0063] b: Iterate through each batch of the training dataset:

[0064] The training images are input into the model to obtain prediction results for five classification tasks.

[0065] Calculate the loss for each task and sum them to get the total loss.

[0066] Backpropagation is used to calculate the gradient, and the optimizer is used to update the model parameters.

[0067] c: After each epoch, evaluate the model performance on the validation set:

[0068] Set the model to evaluation mode.

[0069] Calculate the loss on the validation set and the accuracy for each task.

[0070] d: Record and print the training loss, validation loss, and accuracy for each task in the current epoch.

[0071] e: If the current model performance is better than the previous best performance, save the model parameters.

[0072] f: Adjust the learning rate according to the learning rate scheduling strategy.

[0073] After training, load the parameters of the best-performing model and perform a final evaluation on the test set. Calculate and report the accuracy, precision, recall, and F1 score for each classification task.

[0074] Analyze the model's performance on different tasks and identify tasks with poor performance. Based on the analysis results, modify the loss function or use Dropout to prevent overfitting.

[0075] Based on the test results, repeat the above process multiple times until the requirements are met.

[0076] After training the deep learning model, the image to be recognized is obtained, and then input into the trained deep learning model. The specific processing procedure is as follows:

[0077] The image to be recognized is input into the ResNet50 backbone network, and features at four scales are extracted sequentially using four residual blocks, namely the first scale feature C1, the second scale feature C2, the third scale feature C3, and the fourth scale feature C4.

[0078] Specifically, the image to be recognized is 224*224*3. The image first passes through a 7*7 convolutional layer with a stride of 2, followed by BN, ReLU activation, and a 3*3 max pooling layer (with a stride of 2). Then, the image passes through four main residual blocks in sequence:

[0079] The first residual block (3 residual units): outputs the first scale feature C1 (56*56*256).

[0080] The second residual block (4 residual units): outputs the second-scale feature C2 (28*28*512).

[0081] The third residual block (6 residual units): outputs the third-scale feature C3 (14*14*1024).

[0082] The fourth residual block (3 residual units): outputs the fourth scale feature C4 (7*7*2048).

[0083] Each residual block contains multiple bottleneck structures, and each bottleneck contains 1*1 convolution dimensionality reduction, 3*3 convolution processing, and 1*1 convolution dimensionality increase.

[0084] The first-scale feature C1, the second-scale feature C2, the third-scale feature C3, and the fourth-scale feature C4 are input into the feature pyramid network, and the features C1, C2, C3, and C4 at the four scales are processed. i All applications use 1x1 convolutions, with the number of channels adjusted to the same value.i =Conv1*1(C i Following a top-down approach, starting from the top layer, the scale features of higher layers are upsampled and added to the next layer, forming a four-layer pyramid feature A. i A i =B i +Upsample(A i+1 For each pyramid feature A i Smoothing is achieved by applying 3x3 convolution, resulting in four smoothed features P. i P i =Conv3*3(A i ); where i = 1, 2, 3, 4.

[0085] Specifically, firstly, the number of channels in the first-scale feature C1, the second-scale feature C2, the third-scale feature C3, and the fourth-scale feature C4 are adjusted using 1*1 convolution:

[0086] B1=Conv1*1(C1)→(56*56*256).

[0087] B2=Conv1*1(C2)→(28*28*256).

[0088] B3=Conv1*1(C3)→(14*14*256).

[0089] B4=Conv1*1(C4)→(7*7*256).

[0090] Then, a feature pyramid is constructed from top to bottom:

[0091] A4 = B4.

[0092] A3 = B3 + Upsample(A4) (Use nearest neighbor interpolation for upsampling).

[0093] A2 = B2 + Upsample(A3).

[0094] A1 = B1 + Upsample(A2).

[0095] Smoothing using 3x3 convolution:

[0096] P1=Conv3*3(A1)→(56*56*256).

[0097] P2=Conv3*3(A2)→(28*28*256).

[0098] P3=Conv3*3(A3)→(14*14*256).

[0099] P4=Conv3*3(A4)→(7*7*256).

[0100] Input P1 into the first classification header to get the first classification result. Input P1 and P2 into the second classification header to get the second classification result. Input P2, P3 and P4 into the third classification header to get the third classification result. Input P1, P2, P3 and P4 into the fourth classification header to get the fourth classification result. Input P3 and P4 into the fifth classification header to get the fifth classification result.

[0101] P1 is input into the first classification head, and color features are extracted step by step through three consecutive convolutional layers. Batch normalization and ReLU activation are performed after each convolution. During the convolution process, the number of channels gradually decreases. Global average pooling is used to compress the features into a one-dimensional vector, and then the vector is mapped to the output space of five categories through a fully connected layer to obtain the first classification result.

[0102] Specifically, the first classification head is for classifying the color of the surrounding rock, and its input is P1 (56*56*256), which represents the high-resolution features of the image. P1 first passes through three consecutive convolutional layers:

[0103] Conv1: 3*3, 256→128 channels, activated by BN layer and ReLU.

[0104] Conv2: 3*3, 128→64 channels, activated by BN layer and ReLU.

[0105] Conv3: 3*3, 64→32 channels, activated by BN layer and ReLU.

[0106] By using three consecutive convolutional layers, BN, and ReLU activation, nonlinearity can be increased, higher-level features can be extracted step by step, and the complexity of the feature map can be reduced.

[0107] Global average pooling is used: 56*56*32 → 1*1*32, to preserve the average activation of each channel, which is equivalent to a global generalization of the entire feature map. After passing through a fully connected layer: 35 → 5, this 32-dimensional vector is mapped to 5 output units, corresponding to 5 surrounding rock color categories. The output of the fully connected layer is converted into a probability distribution using a softmax function.

[0108] P1 and P2 are input into the second classification head. Width-related features are extracted through one 3*3 convolutional layer and two 3*3 dilated convolutional layers. The ReLU activation function is applied after each convolutional layer. Then, the processed P1 and P2 are upsampled or downsampled to the same size, and then concatenated along the channel dimension. The concatenated features are then fused through a 1*1 convolution. Global average pooling is used to compress the features into a one-dimensional vector, and then the vector is mapped to the output space of the five categories through a fully connected layer to obtain the second classification result.

[0109] Specifically, the second classification head is for crack width classification, and its inputs are P1 (56*56*256) and P2 (28*28*256), combining information from different scales. P1 and P2 are processed in the same way:

[0110] 3x3 regular convolution, 256→128 channels, activated by ReLU.

[0111] 3*3 dilated convolution (dilation rate = 2), 128→64 channels, activated by ReLU.

[0112] 3*3 dilated convolution (dilation rate = 4), 64→32 channels, activated by ReLU.

[0113] Dilated convolutions can expand the receptive field without increasing the number of parameters, helping to capture a wider range of contextual information. This is particularly useful for detecting crack widths.

[0114] Feature adjustment: P1 is 56*56*32 after processing, and P2 is 28*28*32 after processing. Upsample them to 56*56*32.

[0115] Feature stitching: 56*56*64 (32+32 channels), which is stitching along the channel dimension.

[0116] 1x1 convolutional fusion: 64 to 32 channels to fuse information from two scales.

[0117] Global average pooling: 56*56*32 → 1*1*32.

[0118] Fully connected layer: 32→5, meaning this 32-dimensional vector is mapped to 5 output units through a fully connected layer, corresponding to 5 crack width categories. The output of the fully connected layer is converted into a probability distribution by a softmax function.

[0119] P2, P3, and P4 are input into the third classification head. Each feature is independently processed through a 1*1 convolution and a self-attention mechanism. The three processed features are upsampled to the same size and concatenated along the channel dimension. The concatenated features are then passed through a self-attention layer to fuse multi-scale information. Finally, they are mapped to the output space of the five categories through a fully connected layer to obtain the third classification result.

[0120] Specifically, the third classification head is for crack length classification, and its inputs are: P2 (28*28*256), P3 (14*14*256), and P4 (7*7*256), covering more scale information. The same processing is performed on each of the three feature maps:

[0121] 1*1 convolution: 256 → 128 channels.

[0122] Self-attention mechanism: Calculate the Q, K, and V matrices, calculate the attention weights, and apply the attention weights to obtain the output.

[0123] The self-attention mechanism allows the model to focus on important regions in the feature map, which is very useful for detecting crack lengths that may span different scales.

[0124] Feature adjustment: P2 is processed to 28*28*128, P3 is processed to 14*14*128, and it is upsampled to 28*28*128. P4 is processed to 7*7*128, and it is upsampled to 28*28*128.

[0125] Feature stitching: 28*28*384 (128*3 channels), which is stitching along the channel dimension.

[0126] The self-attention mechanism is applied again to further integrate multi-scale information.

[0127] Fully connected layer: 384 → 5, meaning this 384-dimensional vector is mapped to 5 output units through a fully connected layer, corresponding to 5 crack length categories. The output of the fully connected layer is converted into a probability distribution by a softmax function.

[0128] P1, P2, P3, and P4 are input into the fourth classification head. Each feature is independently processed through a 1*1 convolution and a channel attention block. The four processed features are adjusted to the same size and concatenated along the channel dimension. The concatenated features are then processed through an additional channel attention block to further integrate multi-scale information. Global average pooling is used to compress the features into a one-dimensional vector, which is then mapped to the output space of the five categories through a fully connected layer to obtain the fourth classification result.

[0129] Specifically, the fourth classification head is for classifying the number of fracture groups, and its inputs are: P1 (56*56*256), P2 (28*28*256), P3 (14*14*256), P4 (7*7*256). Each feature map is processed independently:

[0130] 1*1 convolution: 256 → 128 channels.

[0131] Channel attention block: global average pooling and max pooling, shared multilayer perceptron, fusion of average pooling and max pooling results.

[0132] The channel attention block uses global average pooling and max pooling to generate channel descriptors, which are then processed by a shared multilayer perceptron. Finally, the results are fused to reweight the importance of each channel. This helps the model focus on the feature channels most relevant to the classification of the number of fracture groups.

[0133] Feature adjustment: P1 is 56*56*128 after processing, and it is downsampled to 14*14*128. P2 is 28*28*128 after processing, and it is downsampled to 14*14*128. P3 is 14*14*128 after processing. P4 is 7*7*128 after processing, and it is upsampled to 14*14*128.

[0134] Feature stitching: 14*14*512 (128*4 channels), which is the stitching of the channel dimension.

[0135] The feature representation is further optimized by passing it through another channel attention block.

[0136] Global average pooling: 14*14*512 → 1*1*512.

[0137] Fully connected layer: 512→5, meaning this 512-dimensional vector is mapped to 5 output units through a fully connected layer, corresponding to 5 fracture group categories. The output of the fully connected layer is converted into a probability distribution by a softmax function.

[0138] P3 and P4 are input into the fifth classification head. Each feature is processed through two 3*3 convolutional layers to extract water development-related features. After each convolution, batch normalization and ReLU activation are performed. Then, an adaptive max pooling layer is used to obtain two feature sequences. These two feature sequences are concatenated in the time dimension to form a concatenated sequence, which is then input into a bidirectional GRU for processing. The output of the GRU is average pooled and then mapped to the output space of five classes through a fully connected layer to obtain the fifth classification result.

[0139] Specifically, the fifth classification head is used for classifying the degree of groundwater development. Its inputs are P3 (14*14*256) and P4 (7*7*256), primarily focusing on medium and low resolution features of the image. Each feature map is processed independently:

[0140] The first 3x3 convolution: 256→128 channels, after BN layer and ReLU activation.

[0141] The second 3x3 convolution: 128→64 channels, after BN layer and ReLU activation.

[0142] Adaptive max pooling: Convert P3 and P4 into sequences of 1*14*64 and 1*7*64 respectively.

[0143] Feature sequence concatenation: 1*21*64 (14+7 time dimension).

[0144] Bidirectional GRU processing: The input consists of 21 time steps, each with 64-dimensional features. The GRU hidden state has 128 dimensions (64 in each direction), and the output is 21*128. GRU can capture long-term dependencies in sequences, which is helpful for understanding the spatial distribution patterns of groundwater development.

[0145] Average pooling: 21*128 → 1*128.

[0146] Fully connected layer: 128→5, meaning this 128-dimensional vector is mapped to 5 output units through a fully connected layer, corresponding to 5 groundwater development level categories. The output of the fully connected layer is converted into a probability distribution by a softmax function.

[0147] Finally, the five classification heads output the probability distributions for the five categories respectively. For each task, the category with the highest probability is selected as the prediction result. That is, the final output includes: surrounding rock color category (one of the five categories), fracture width category (one of the five categories), fracture length category (one of the five categories), number of fracture groups category (one of the five categories), and groundwater development level category (one of the five categories).

[0148] Specifically, in one embodiment of the present invention, step S3 includes:

[0149] S31 sets the standard value range, divides the standard value range into 5 sub-ranges, and maps the 5 categories of the 5 classification results to the 5 sub-ranges one by one. The 5 classification results are respectively denoted as the first classification result, the second classification result, the third classification result, the fourth classification result, and the fifth classification result.

[0150] S32 obtains the predicted probability values ​​of the first, second, third, fourth, and fifth classification results, and calculates the individual scores of the five classification results based on the conversion relationship between the predicted probability values ​​and the corresponding sub-ranges.

[0151] S33 sets the weights for the five classification results, and calculates the comprehensive score based on the weights and individual item scores.

[0152] Let's illustrate with a specific example:

[0153] The standard value range is set to 0-100 points, and then divided into 5 sub-ranges: the first sub-range is 90-100 points, the second sub-range is 80-90 points, the third sub-range is 70-80 points, the fourth sub-range is 60-70 points, and the fifth sub-range is below 60 points.

[0154] The first sub-range, second sub-range, third sub-range, fourth sub-range, fifth sub-range, and the five categories of the five classification results are mapped to each other, as shown in Table 1:

[0155] Table 1

[0156]

[0157]

[0158] Based on step S2, the deep learning model is used to determine the five classification results of the image to be recognized. The sub-ranges corresponding to the five classification results are found according to Table 1. Based on the predicted probability values ​​of the five classification results, the individual scores for each classification result are calculated.

[0159]

[0160] In the formula, This represents the individual score of the j1th classification result, where j1 = 1, 2, 3, 4, 5; This represents the lower limit of the range of values ​​for the subrange j2 corresponding to the j1st classification result, where j2 = 1, 2, 3, 4, 5; This represents the predicted probability value of the j1th classification result; This represents the prediction threshold for the j1th classification result; This represents the adjustment factor for the subrange j2.

[0161] For example, if the fourth classification result indicates "more categories," meaning it falls into the fourth sub-range, its predicted probability value is 0.75, i.e., j1 = 4. The prediction threshold for this classification result is set to 0.6, that is... Set the adjustment factor for the fourth subrange to twice its range span, i.e., the range span of the fourth subrange is 10. The individual score for the fourth category result is: S4 = 60 + (0.75 - 0.6) * 40 = 66 points.

[0162] Specifically, The range of values ​​falls within the range of the corresponding subrange.

[0163] Calculate the individual scores for each of the five categories sequentially using the formula for individual scoring, and finally calculate the overall score:

[0164]

[0165] In the formula, S total For the overall score, This represents the weight of the j1th classification result.

[0166] The formula for the overall score is a weighted summation, therefore S total The value range remains 0-100 points.

[0167] In a specific example, the weight of the first classification result is 10%, the weight of the second classification result is 20%, the weight of the third classification result is 25%, the weight of the fourth classification result is 25%, and the weight of the fifth classification result is 20%.

[0168] Specifically, in one embodiment of the present invention, step S4 includes:

[0169] The range of the comprehensive score is divided into 6 levels. The 6 levels are set as rock level 1, rock level 2, rock level 3, rock level 4, rock level 5 and rock level 6 according to the comprehensive score from high to low. The comprehensive score value calculated in step S3 is assigned to the corresponding rock level to obtain the rock level of the image to be identified.

[0170] In actual identification, a score of 100 is very rare and represents an ideal situation. It is classified as rock level 1, 90-99 as rock level 2, 80-89 as rock level 3, 70-79 as rock level 4, 60-69 as rock level 5, and below 60 as rock level 6.

[0171] The rock mass classification of the image to be identified can be obtained based on the calculated comprehensive score. For example, the comprehensive score S... total =78, then the surrounding rock level of the image to be identified is 4.

[0172] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A method for intelligently determining the surrounding rock grade at a tunnel face, characterized in that, include: S1. Construct a deep learning model and iteratively train the deep learning model using the training set until the model converges, thus obtaining the trained deep learning model. S2 acquires the image to be identified, inputs it into the trained deep learning model, and outputs five classification results. The deep learning model includes a ResNet50 backbone network, a feature pyramid network, and a classification network, where: The ResNet50 backbone network consists of one-dimensional convolutional layers, batch normalization (BN) layers, max pooling layers, and four residual blocks. The first residual block contains three residual units, the second residual block contains four residual units, the third residual block contains six residual units, and the fourth residual block contains three residual units. The feature pyramid network adopts a top-down path and includes four convolutional layers, with lateral connections between each convolutional layer; The classification network consists of five classification heads. The first classification head includes three convolutional layers, a global average pooling layer, and a fully connected layer. The second classification head includes three consecutive convolutional layers, a global average pooling layer, and a fully connected layer. The third classification head includes a convolutional layer, a self-attention layer, an average pooling layer, and a fully connected layer. The fourth classification head includes a convolutional layer, a channel attention block, a global average pooling layer, and a fully connected layer. The fifth classification head includes two convolutional layers, an adaptive maximum pooling layer, a bidirectional GRU layer, and a fully connected layer. The first classification head is used for surrounding rock color classification; the second classification head is used for fracture width classification; the third classification head is used for fracture length classification; the fourth classification head is used for fracture group number classification; and the fifth classification head is used for groundwater development degree classification. The process by which a deep learning model processes an image to be recognized is as follows: The image to be identified is input into the ResNet50 backbone network, and features at four scales are extracted sequentially using four residual blocks, namely the first scale feature C1, the second scale feature C2, the third scale feature C3, and the fourth scale feature C4. The first-scale feature C1, the second-scale feature C2, the third-scale feature C3, and the fourth-scale feature C4 are input into the feature pyramid network, and the features C1, C2, C3, and C4 at the four scales are processed. i All applications use 1x1 convolutions, with the number of channels adjusted to the same value. i =Conv1*1(C i Following a top-down approach, starting from the top layer, the scale features of higher layers are upsampled and added to the next layer, forming a four-layer pyramid feature A. i A i =B i +Upsample(A i+1 For each pyramid feature A i Smoothing is achieved by applying 3x3 convolution, resulting in four smoothed features P. i P i =Conv3*3(A i ); where i = 1, 2, 3; Input P1 into the first classification header to get the first classification result. Input P1 and P2 into the second classification header to get the second classification result. Input P2, P3 and P4 into the third classification header to get the third classification result. Input P1, P2, P3 and P4 into the fourth classification header to get the fourth classification result. Input P3 and P4 into the fifth classification header to get the fifth classification result. S3 standardizes the five classification results into a range, and then uses a comprehensive scoring method to calculate the comprehensive score by combining the five standardized classification results. S4 determines the overall score based on the surrounding rock level rules to obtain the surrounding rock level of the image to be identified.

2. The intelligent method for determining the surrounding rock grade of a tunnel face as described in claim 1, characterized in that: P1 is input into the first classification head, and color features are extracted step by step through three consecutive convolutional layers. Batch normalization and ReLU activation are performed after each convolution. During the convolution process, the number of channels gradually decreases. Global average pooling is used to compress the features into a one-dimensional vector, and then the vector is mapped to the output space of five categories through a fully connected layer to obtain the first classification result. P1 and P2 are input into the second classification head. Width-related features are extracted through one 3*3 convolutional layer and two 3*3 dilated convolutional layers. The ReLU activation function is applied after each convolutional layer. Then, the processed P1 and P2 are upsampled or downsampled to the same size and concatenated along the channel dimension. The concatenated features are then fused through one 1*1 convolution. Global average pooling is used to compress the features into a one-dimensional vector. Finally, the vector is mapped to the output space of the five categories through a fully connected layer to obtain the second classification result. P2, P3, and P4 are input into the third classification head. Each feature is independently processed by a 1*1 convolution and a self-attention mechanism. The three processed features are upsampled to the same size and concatenated along the channel dimension. The concatenated features are then processed by a self-attention layer to fuse multi-scale information. Finally, they are mapped to the output space of the five categories through a fully connected layer to obtain the third classification result. P1, P2, P3, and P4 are input into the fourth classification head. Each feature is independently processed through a 1*1 convolution and a channel attention block. The four processed features are adjusted to the same size and concatenated along the channel dimension. The concatenated features are then processed through an additional channel attention block to further integrate multi-scale information. Global average pooling is used to compress the features into a one-dimensional vector, which is then mapped to the output space of the five categories through a fully connected layer to obtain the fourth classification result. P3 and P4 are input into the fifth classification head. Each feature is processed through two 3*3 convolutional layers to extract groundwater development-related features. After each convolution, batch normalization and ReLU activation are performed. Then, an adaptive max pooling layer is used to obtain two feature sequences. These two feature sequences are concatenated in the time dimension to form a concatenated sequence, which is then input into a bidirectional GRU for processing. The output of the GRU is average pooled and then mapped to the output space of the five classes through a fully connected layer to obtain the fifth classification result.

3. The intelligent method for determining the surrounding rock grade of a tunnel face as described in claim 1, characterized in that, The first classification results include single, relatively single, relatively turbid, turbid, and extremely turbid; the second classification results include extremely narrow, narrow, relatively narrow, relatively wide, and wide; the third classification results include extremely short, short, relatively short, relatively long, and long; the fourth classification results include very few, few, relatively few, relatively many, and many; the fifth classification results include dry, dotted, drop-shaped, linear, and strand-shaped.

4. The intelligent method for determining the surrounding rock grade of a tunnel face as described in claim 1, characterized in that, Step S3 includes: S31 sets the standard value range, divides the standard value range into 5 sub-ranges, and maps the 5 categories of the 5 classification results to the 5 sub-ranges one by one. The 5 classification results are respectively denoted as the first classification result, the second classification result, the third classification result, the fourth classification result, and the fifth classification result. S32 obtains the predicted probability values ​​of the first classification result, the second classification result, the third classification result, the fourth classification result, and the fifth classification result, and calculates the individual scores of the five classification results based on the conversion relationship between the predicted probability values ​​and the corresponding sub-ranges. S33 sets the weights for the five classification results, and calculates the overall score based on the weights and individual item scores.

5. The intelligent method for determining the surrounding rock grade of a tunnel face as described in claim 4, characterized in that, The formula for calculating the score for each item is: ; In the formula, Indicates the first Individual score for each classification result, ; Indicates the first Subrange corresponding to each classification result The lower limit of the value range, ; Indicates the first The predicted probability value of each classification result; Indicates the first The prediction threshold for each classification result; Subrange The adjustment factor.

6. The intelligent method for determining the surrounding rock grade of a tunnel face as described in claim 5, characterized in that, The formula for calculating the overall score is: ; In the formula, For the overall score, Indicates the first The weight of each classification result.

7. The intelligent method for determining the surrounding rock grade of a tunnel face as described in claim 1, characterized in that, Step S4 includes: The range of the comprehensive score is divided into 6 levels. The 6 levels are set as rock level 1, rock level 2, rock level 3, rock level 4, rock level 5 and rock level 6 according to the comprehensive score from high to low. The comprehensive score value calculated in step S3 is assigned to the corresponding rock level to obtain the rock level of the image to be identified.

Citation Information

Patent Citations

  • Road tunnel surrounding rock grading method based on mobile platform

    CN113326854A

  • Pedestrian detection method and system, electronic equipment and readable medium

    CN116453154A