TBM cutter wear prediction method and device fusing spatial position coding, and medium
By integrating the spatial position coding of the tunnel boring machine cutterhead and the multi-head self-attention mechanism, a spatiotemporal collaborative prediction architecture is constructed, which solves the problems of missing spatial information and insufficient extraction of temporal features in the prediction of cutter wear in the existing technology, and achieves high-precision and stable wear prediction results.
Patent Information
- Application Number
- CN202611467749.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-20
- Publication Date
- 2026-11-27
AI Technical Summary
Existing methods for predicting cutter wear in tunnel boring machines fail to effectively integrate the spatial location information and temporal characteristics of the cutters, resulting in large deviations between the prediction results and actual working conditions. The models also lack generalization ability and cannot meet the requirements for high accuracy and interpretability.
A spatiotemporal collaborative prediction architecture is constructed by fusing the spatial position coding of the shield cutterhead using a multi-head self-attention mechanism. An enhanced spatial feature matrix is generated through sine-cosine position coding, and temporal and spatial features are extracted by combining the multi-head self-attention mechanism to construct a temporal-spatial joint feature matrix for wear prediction.
It significantly improves the accuracy and stability of shield tunnel cutter wear prediction, enabling more precise identification of wear states at different spatial locations, and enhancing the model's applicability and prediction accuracy under complex geological conditions.
Smart Images

Figure CN123178973A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of shield machine cutter wear prediction technology, specifically involving a shield machine cutter wear prediction method, equipment and medium that integrates spatial location coding. Background Technology
[0002] During tunnel boring machine (TBM) construction, the cutterhead is a key component for directly breaking rock, and its wear condition directly affects tunneling efficiency, construction safety, and cutterhead replacement costs. As TBM construction develops towards longer distances, greater burial depths, and more complex geological conditions, cutterhead wear exhibits characteristics such as strong nonlinearity, multi-factor coupling, and uneven spatial distribution.
[0003] However, existing technologies have the following shortcomings: most existing shield tunnel cutter wear prediction methods only perform time-series modeling of tunneling parameters, without incorporating cutter spatial location information, and cannot reflect the impact of spatial distribution such as cutterhead center, edge, and adjacent cutters on wear, resulting in significant deviations between prediction results and actual working conditions; when using traditional neural networks or time-series models, their ability to extract long-term time-series dependencies and multi-factor coupling features is limited, and the model's generalization ability and robustness are insufficient; some attention-based prediction methods only focus on the weight allocation of the time-series dimension, without integrating spatial location encoding with the self-attention mechanism, and cannot achieve joint modeling of spatiotemporal features, making it difficult to meet the requirements of high-precision and interpretable wear prediction.
[0004] Therefore, a new method is urgently needed. Summary of the Invention
[0005] The purpose of this invention is to provide a method, device, and medium for predicting cutterhead wear in tunnel boring machines (TBMs) by integrating spatial location coding. This method introduces a dedicated spatial location coding for the TBM cutterhead, adopts a multi-head self-attention mechanism, and deeply integrates the two to construct a spatiotemporal collaborative prediction architecture. It overcomes the problems of existing technologies, such as lack of spatial information, insufficient extraction of temporal features, and inability to jointly model spatiotemporal features, and significantly improves the accuracy, stability, and engineering applicability of wear prediction.
[0006] To achieve the above objectives, this invention provides a method, device, and medium for predicting shield tunnel cutter wear by integrating spatial location coding, comprising the following steps: S1. Collect shield cutterhead design and installation data, organize and generate a standardized spatial information matrix, complete the unique sorting of cutterhead spatial positions, generate initial spatial position codes based on sine-cosine position coding formula, and then construct an enhanced spatial feature matrix. The enhanced spatial feature matrix is then synchronously output to S2 and S3. S2. Collect real-time tunneling time-series parameters of the tunnel boring machine, complete data cleaning, outlier removal and normalization processing to obtain a standardized time-series matrix; receive the enhanced spatial feature matrix output by S1, align the time-series features and spatial features in dimensions and then stitch them together to construct a cutterhead spatial adjacency matrix to characterize the cutterhead topology; extract time-series attention features and spatial attention features respectively through a multi-head self-attention mechanism, fuse and purify the two types of features to obtain a time-space joint feature matrix, and output the time-space joint feature matrix to S3; S3 receives the enhanced spatial feature matrix output by S1 and the temporal-spatial joint feature matrix output by S2. It extends the enhanced spatial features along the time dimension to match the temporal scale and performs weighted fusion with the temporal-spatial joint features. The fused features are input into the fully connected prediction network, and the wear prediction matrix is output. After inverse normalization, the actual wear amount, wear rate and remaining life estimation results of a single hob are obtained. S4. Based on the wear prediction results output by S3 and the actual measured hob wear labels, a loss function is constructed. An adaptive optimizer is used to complete the iterative training and convergence of the model. The trained model parameters are fed back to S2 and S3 to optimize the feature extraction and fusion accuracy of the real-time prediction process.
[0007] Preferably, in S1, the shield cutterhead design and installation data are as follows: Each hob has a unique ID, a polar coordinate installation position of the cutter head, a cutter head partition label, and adjacent hob identifiers; The polar coordinate installation location includes the installation radius. Installation angle , This is the hobbing cutter number. , The total number of hobs on the cutter head is represented by the cutter head partition labels, which are divided into three categories: center area, middle area, and edge area. The partition coding adopts a one-hot coding format.
[0008] Preferably, in S1, the unique sorting rule for the spatial position of the hob is as follows: Taking the center of the cutter head as the origin, first sort them according to the installation radius from smallest to largest, and then sort them according to the installation angle for the same radius. arrive Sort and generate a unique spatial position number for each hob. Establish a one-to-one correspondence between a standardized spatial information matrix and spatial location numbers.
[0009] Preferably, in S1, based on spatial location number Compared with the model's preset feature dimensions The initial spatial position coding matrix is generated using the sine-cosine position coding formula. The formula is: ; ; In the formula, For location-encoded feature dimension index, ; For the first The unique spatial position number of the hob; Predetermine the feature dimensions for the model; Output values that encode spatial location; This is the position encoding scaling factor; The initial spatial location code and the partitioned one-hot code are concatenated along the feature dimension to obtain the enhanced spatial feature matrix.
[0010] Preferably, in S2, the real-time tunneling timing parameters include: total thrust, cutterhead torque, and tunneling speed. Penetration Building a time series dataset , For time step, For tunneling parameter dimensions; Data preprocessing specifically employs linear interpolation to fill in missing values. The criteria for removing outliers and the use of the maximum-minimum method for normalization yield the standardized time series matrix. .
[0011] Preferably, in S2, the hob space adjacency matrix The construction rules are as follows: If the rolling cutter With hobbing cutter If the hobs are adjacent to each other, then the matrix elements If they are not adjacent diagonal elements Characterizing the self-correlation of the hob The adjacency matrix is used to constrain the spatial attention weight calculation and enhance the extraction of wear correlation features between adjacent hobs.
[0012] Preferably, in S3, the spatiotemporal feature fusion adopts a feature concatenation combined with learnable weighting, and the fusion formula is as follows: ; Enhanced spatial features after extending the time dimension It is a joint temporal-spatial feature; The spatiotemporal fusion weight vector is adaptively generated for a single fully connected layer, and the feature contribution of spatial structure and temporal conditions is highlighted by weight allocation differentiation.
[0013] Preferably, in S4, the Smooth L1 loss function is used to construct the model training loss, and the AdamW optimizer and cosine annealing learning rate strategy are used to complete the model training.
[0014] Therefore, the present invention employs the above-mentioned shield tunnel cutter wear prediction method, equipment, and medium that integrates spatial location coding. Compared with the prior art, the technical solution of the present invention has the following beneficial effects: (1) This invention introduces a dedicated spatial position coding for the shield cutterhead, which transforms spatial information such as the installation position, partition, and adjacent relationship of the cutter into learnable features. This overcomes the problem that the existing technology lacks spatial position information and cannot identify the wear differences of cutters in different spatial positions, so that the model can accurately distinguish and predict the wear state of cutters in different spatial positions. (2) The present invention adopts a multi-head self-attention mechanism to automatically learn the long-term time-series dependency and nonlinear correlation between tunneling parameters and wear, which overcomes the problems of insufficient time-series feature extraction and poor model robustness in the existing technology, and improves the stability and generalization ability of wear prediction under complex geological conditions. (3) This invention integrates spatial location coding with self-attention to construct a spatiotemporal collaborative prediction architecture, which overcomes the problem that existing technologies cannot jointly model spatiotemporal features, realizes synchronous modeling of temporal patterns and spatial interaction effects, and significantly improves the accuracy and engineering applicability of hobbing wear prediction.
[0015] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description
[0016] Figure 1 This is a flowchart illustrating an embodiment of the shield tunnel cutter wear prediction method, equipment, and medium integrating spatial location coding according to the present invention. Detailed Implementation
[0017] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention. Unless otherwise defined, the technical or scientific terms used in the present invention should have the ordinary meaning understood by those skilled in the art.
[0018] Example 1 like Figure 1As shown, this embodiment provides a method, device, and medium for predicting cutter wear of tunnel boring machines by incorporating spatial location coding. It should be understood that the specific parameters, models, and protocols mentioned in this embodiment are merely examples to help those skilled in the art understand the present invention, and are not intended to limit the present invention.
[0019] The shield tunnel cutter wear prediction method, equipment, and medium integrating spatial location coding of the present invention include the following steps: S1. Collect design and installation data for the tunnel boring machine cutterhead, including: the unique identifier ID of each cutter head, the polar coordinate position of the cutterhead, the cutterhead zone label (center zone / middle zone / edge zone), and the number and label of adjacent cutters; among which, the polar coordinate installation position includes the installation radius. Installation angle , This is the hobbing cutter number. , Total number of hobs on the cutter head The discrete data is organized into a standardized spatial information matrix for the hob. Each row corresponds to one hobbing cutter. Among them, the partition coding adopts the one-hot coding form, such as the center area [1,0,0], the middle area [0,1,0], and the edge area [0,0,1]. Based on the polar coordinate position of the cutter head, all hobs are assigned spatial position numbers. Unique mapping; With the center of the cutter head as the origin, the angles are arranged from smallest to largest, and for the same radius, from... arrive The rules are used to sort the cutting tools and generate a spatial index for each cutting tool. ,Establish and One-to-one correspondence; by As the input index, combined with the model feature dimensions The initial spatial position coding matrix is generated by calculating it dimension by dimension using the sine-cosine position coding formula. The encoding formula is: ; ; In the formula, For location-encoded feature dimension index, ; For the first The unique spatial position number of the hob; Predetermine the feature dimensions for the model; Output values that encode spatial location; This is the position encoding scaling factor; Encode the initial position The feature dimensions of the original partitioned one-hot encoding are concatenated to generate the final enhanced spatial feature matrix. ; S2. Based on the spatial features output by S1, and combined with the shield tunneling time series data, long-term temporal dependencies are mined through a multi-head self-attention mechanism. This includes the following sub-steps: S201. Collect real-time tunneling parameters and time-series data of the tunnel boring machine, including: total thrust, cutterhead torque, tunneling speed, penetration depth and other parameters; Building a time series dataset ,in, For time step, For tunneling parameter dimensions.
[0020] right Missing value imputation (using linear interpolation) and outlier removal are performed using... After applying the criteria and normalization, a standardized time series matrix is obtained. ; S202, output from S1 By expanding the dimensions to match the time step dimension of the time series data, we obtain: ; In the formula, For time step; Predetermine the feature dimensions for the model; To extend the spatial characteristic matrix; Standardized time series matrix By hobbing cutter dimension Copying yields: ; In the formula, For tunneling parameter dimensions; To expand the time series matrix; After dimensional alignment of the two, they are concatenated along the feature dimensions to generate the initial spatiotemporal feature matrix. ,in, The total feature dimension; S203. Based on the adjacent cutter identification information collected in S1, construct the cutter spatial adjacency matrix. ; If the rolling cutter With hobbing cutter If the hobs are adjacent to each other, then ; If they are not adjacent, then ; diagonal elements (Indicates a self-connection); Used to depict the physical topological connection relationship of the hob on the cutter head; S204, will Input three independent linear transformation layers and generate query matrices respectively. Key matrix Value matrix ,and ,in, , For the number of attention heads; The three matrices are split according to attention focus. Submatrices, to obtain , , ; S205. For each attention head, calculate the attention weight using the formula and sum the weighted values to obtain the single-head temporal features; then... The features of each element are concatenated and integrated through a linear transformation layer, as shown in the following formula: ; ; In the formula, To output the weight matrix; For the first A single-head attention feature; The operation involves concatenating the feature dimensions. Intermediate features of temporal attention; For the order of number 1 to number 2 A single-head temporal attention feature; spatial encoding Adjacency matrix with hob Using the input as input, calculate the spatial association weights: ; In the formula, The feature dimension of the key matrix; Output results for spatial attention features; The normalization exponent activation operator; Spatial feature query matrix; The spatial characteristic key matrix; It is the spatial eigenvalue matrix; S206, Incorporating temporal attention features The temporal-spatial joint feature matrix is obtained by element-wise addition and fusion with the spatial attention features, followed by layer normalization. ; S3. Receive the spatial features of S1 and the temporal features of S2, and complete deep fusion and wear prediction, specifically including the following steps: S301, retrieve the enhanced spatial feature matrix output by S1. Expanding the time step dimension yields... ; Retrieve the temporal attention feature matrix output by S2 Both in terms of time step Number of hobs A perfect match in dimensions; S302. A combination of feature concatenation and learnable element-wise weighted fusion is used to achieve deep fusion of spatiotemporal features. The formula is as follows: ; In the formula, This is an element-wise multiplication operation; The learnable spatiotemporal fusion weight vector is adaptively generated by training from a single fully connected layer. Finally, the fused feature matrix is obtained. ; S303, will Input: Stacked fully connected layers and activation function layers: Feature mapping is performed using the ReLU activation function, as shown in the formula: ; In the formula, For the weight matrix of the fully connected layer, For the corresponding bias vector; Features of the hidden layer; The output layer maps the predicted wear amount to a single dimension, as shown in the formula: In the formula, This is the weight matrix of the fully connected layer; For the corresponding bias vector This is the wear prediction matrix. ; S304, to The data is denormalized to reflect the actual cutter wear (mm) in engineering practice. The data is then processed according to the time step and cutter ID to output the predicted wear, wear rate, and estimated remaining life of each cutter at each tunneling time step.
[0021] S4. The Smooth L1 Loss function is used as the loss function to ensure both robustness to outliers and gradient stability. The formula is as follows: ; In the formula, The actual label was obtained through on-site wear measurement; For time step Lower hob Predicted wear amount; Train the loss function value for the model; This is a matrix of labels representing the measured wear of the hobbing cutter. The model was trained using the AdamW optimizer, with an initial learning rate of [value missing]. The learning rate is adjusted using a cosine annealing strategy. The batch size and number of training epochs are set until the loss function converges.
[0022] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0023] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the technical solutions of the present invention, and these modifications or equivalent substitutions cannot cause the modified technical solutions to deviate from the spirit and scope of the technical solutions of the present invention.
Claims
1. A self-attention prediction method for shield tunnel cutterhead wear incorporating spatial location coding, characterized in that, Includes the following steps: S1. Collect shield cutterhead design and installation data, organize and generate a standardized spatial information matrix, complete the unique sorting of cutterhead spatial positions, generate initial spatial position codes based on sine-cosine position coding formula, and then construct an enhanced spatial feature matrix. The enhanced spatial feature matrix is then synchronously output to S2 and S3. S2. Collect real-time tunneling time-series parameters of the tunnel boring machine, complete data cleaning, outlier removal and normalization processing to obtain a standardized time-series matrix; receive the enhanced spatial feature matrix output by S1, align the time-series features and spatial features in dimensions and then stitch them together to construct a cutterhead spatial adjacency matrix to characterize the cutterhead topology; extract time-series attention features and spatial attention features respectively through a multi-head self-attention mechanism, fuse and purify the two types of features to obtain a time-space joint feature matrix, and output the time-space joint feature matrix to S3; S3 receives the enhanced spatial feature matrix output by S1 and the temporal-spatial joint feature matrix output by S2. It extends the enhanced spatial features along the time dimension to match the temporal scale and performs weighted fusion with the temporal-spatial joint features. The fused features are input into the fully connected prediction network, and the wear prediction matrix is output. After inverse normalization, the actual wear amount, wear rate and remaining life estimation results of a single hob are obtained. S4. Based on the wear prediction results output by S3 and the actual measured hob wear labels, a loss function is constructed. An adaptive optimizer is used to complete the iterative training and convergence of the model. The trained model parameters are fed back to S2 and S3 to optimize the feature extraction and fusion accuracy of the real-time prediction process.
2. The shield tunnel cutterhead wear self-attention prediction method based on fused spatial location coding according to claim 1, characterized in that, In S1, the specific design and installation data for the tunnel boring machine cutterhead are as follows: Each hob has a unique ID, a polar coordinate installation position of the cutter head, a cutter head partition label, and adjacent hob identifiers; The polar coordinate installation location includes the installation radius. Installation angle , This is the hobbing cutter number. , The total number of hobs on the cutter head is represented by the cutter head partition labels, which are divided into three categories: center area, middle area, and edge area. The partition coding adopts a one-hot coding format.
3. The shield tunnel cutterhead wear self-attention prediction method based on fusion of spatial location coding according to claim 2, characterized in that, In S1, the unique sorting rule for the spatial position of the hobbing cutter is as follows: Taking the center of the cutter head as the origin, first sort them according to the installation radius from smallest to largest, and then sort them according to the installation angle for the same radius. arrive Sort and generate a unique spatial position number for each hob. Establish a one-to-one correspondence between a standardized spatial information matrix and spatial location numbers.
4. The shield tunnel cutterhead wear self-attention prediction method based on fusion of spatial location coding according to claim 3, characterized in that, In S1, based on spatial location number Compared with the model's preset feature dimensions The initial spatial position coding matrix is generated using the sine-cosine position coding formula. The formula is: ; ; In the formula, For location-encoded feature dimension index, ; For the first The unique spatial position number of the hob; Predetermine the feature dimensions for the model; Output values that encode spatial location; This is the position encoding scaling factor; The initial spatial location code and the partitioned one-hot code are concatenated along the feature dimension to obtain the enhanced spatial feature matrix.
5. The shield tunnel cutterhead wear self-attention prediction method based on fusion spatial location coding according to claim 4, characterized in that, In S2, the real-time tunneling timing parameters include: total thrust, cutterhead torque, and tunneling speed. Penetration Building a time series dataset , For time step, For tunneling parameter dimensions; Data preprocessing specifically employs linear interpolation to fill in missing values. The criteria for removing outliers and the use of the maximum-minimum method for normalization yield the standardized time series matrix. .
6. The shield tunnel cutterhead wear self-attention prediction method based on fusion spatial location coding according to claim 5, characterized in that, In S2, the adjacency matrix of the hobbing tool space The construction rules are as follows: If the rolling cutter With hobbing cutter If the hobs are adjacent to each other, then the matrix elements If they are not adjacent diagonal elements Characterizing the self-correlation of the hob The adjacency matrix is used to constrain the spatial attention weight calculation and enhance the extraction of wear correlation features between adjacent hobs.
7. The shield tunnel cutterhead wear self-attention prediction method based on fusion of spatial location coding according to claim 6, characterized in that, In S3, spatiotemporal feature fusion adopts a feature concatenation combined with learnable weighting, and the fusion formula is as follows: ; Enhanced spatial features after extending the time dimension It is a joint temporal-spatial feature; The spatiotemporal fusion weight vector is adaptively generated for a single fully connected layer, and the feature contribution of spatial structure and temporal conditions is highlighted by weight allocation differentiation.
8. The shield tunnel cutterhead wear self-attention prediction method based on fusion of spatial location coding according to claim 7, characterized in that, In S4, the Smooth L1 loss function is used to construct the model training loss, and the AdamW optimizer and cosine annealing learning rate strategy are used to complete the model training.
9. A computer device, characterized in that, include: A processor configured to be coupled to memory, read and execute instructions and / or program code in the memory to perform the method as described in any one of claims 1-8.
10. A computer-readable medium, characterized in that, The computer-readable medium stores computer program code that, when executed on a computer, causes the computer to perform the method as described in any one of claims 1-8.
