Skip to Content
LubricantsLubricants
  • Article
  • Open Access

17 June 2026

21 Pages

Tool Wear Condition Monitoring Method Fusing Time- and Frequency-Domain Features via Cross-Attention

,
,
,
,
and
1
General Technology Group Machine Tool Engineering Research Institute Co., Ltd., Beijing 100102, China
2
Key Laboratory of Modern Design and Rotor-Bearing Systems, Ministry of Education, Xi’an Jiaotong University, Xi’an 710049, China
3
School of Mechanical Engineering, Shanghai Jiao Tong University, Shanghai 200240, China
4
Key Laboratory of CNC (Computer Numerical Control) Equipment Reliability, Ministry of Education, Jilin University, Changchun 130025, China

Abstract

Signals generated during tool wear are nonlinear, non-stationary, and easily affected by machining noise, which makes reliable tool condition monitoring difficult in intelligent manufacturing. To address this issue, this study proposes a tool wear degree classification framework, FCTrans-CA, that fuses time-domain and frequency-domain information through a lightweight cross-attention (CA) bridge. Fast Fourier transform (FFT) is first used to obtain frequency-domain representations. The raw time-domain signals are processed by a multi-scale one-dimensional convolutional neural network (MS-CNN) to extract temporal wear features, while the FFT-derived representations provide complementary spectral cues. These two feature streams are fused by an asymmetric CA module in which frequency-domain features guide the selection of wear-sensitive temporal features. K-means clustering is used to divide the measured flank wear (VB) trajectory of each tool into initial-, normal-, and severe-wear stages, thereby reducing subjectivity in label generation. Experiments on the PHM2010 milling dataset show that FCTrans-CA achieves 99.43% classification accuracy on 40,648 test samples. The results indicate that cross-domain feature interaction improves the separability of wear states and provides a reproducible data-driven route for tool wear monitoring.

1. Introduction

In modern intelligent manufacturing, cutting tools are the direct interface between machine tools and workpieces, and their wear condition has a decisive influence on machining accuracy, surface integrity, production efficiency, and process safety. Tool wear is a progressive tribological degradation process caused by mechanical friction, thermal loading, adhesion, abrasion, diffusion, and fatigue at the tool–workpiece–chip contact zone. From the perspective of machining lubrication and tribology, accurate wear-state monitoring is also important because lubrication/cooling effectiveness directly affects frictional heat generation, tool-life evolution, cutting stability, and machined-surface quality. If a worn tool is not detected and replaced in time, dimensional errors, intensified vibration, surface deterioration, and even tool breakage may occur. Therefore, reliable tool wear condition monitoring (TCM) is a key enabling technology for intelligent machining and tool-life management [1,2].
Traditional tool wear evaluation mainly relies on manual visual inspection, offline microscopy, or empirical replacement rules. Although direct measurement can provide high accuracy, it interrupts production, has a long detection cycle, and is difficult to apply in real-time industrial monitoring. Indirect monitoring methods infer tool wear from sensor signals collected during machining, such as cutting force, vibration, acoustic emission, spindle current, temperature, and sound. Recent reviews have shown that multi-sensor monitoring can provide richer information than single-sensor approaches, but practical deployment remains challenging because industrial signals are usually nonlinear, non-stationary, noisy, and strongly affected by cutting parameters, workpiece materials, tool geometry, and lubrication/cooling conditions [3,4,5].
Early data-driven TCM studies generally combined handcrafted features with conventional machine-learning models. For example, random forest, support vector regression, kernel principal component analysis, hidden Markov models, least-squares support vector machines, genetic algorithms, particle swarm optimization, and singular spectrum analysis have been used for tool wear prediction or state recognition [6,7,8,9,10,11,12]. These methods are interpretable and computationally efficient in relatively stable conditions, but their performance depends heavily on manually designed features and expert-selected thresholds. When the operating condition changes or when the wear process contains complex transient events, handcrafted features may fail to represent the underlying wear evolution sufficiently.
Deep-learning methods have reduced the dependence on manual feature engineering by learning nonlinear mappings directly from sensor data. Convolutional neural networks (CNNs), bidirectional long short-term memory networks (BiLSTMs), multi-scale CNN-LSTM structures, graph neural networks, and attention-based networks have been introduced to capture spatial, temporal, and physical-evolution information from machining signals [13,14,15,16,17,18,19]. Nevertheless, two issues remain prominent. First, many models mainly process either raw time-domain signals or transformed spectral/time–frequency representations, which may lose the complementary relationship between waveform-level transients and frequency–energy redistribution. Second, high recognition accuracy reported on benchmark datasets is sometimes difficult to compare because different studies use different preprocessing pipelines, feature definitions, sampling windows, and data-splitting strategies.
Recent studies have therefore shifted toward multi-source, multi-domain, and attention-enhanced fusion models. Reviews on physics-based, data-driven, and hybrid TCM emphasize that robust monitoring requires both discriminative data representations and physically meaningful degradation information [20]. CNN–transformer fusion frameworks such as Swin-fusion use cross-attention to integrate force and vibration information and improve local–global feature extraction [21]. Time–frequency fusion networks such as TFF-Net further demonstrate that cross-modal attention can enhance the complementarity between different sensor modalities and transformed representations [22]. Similarly, CdualTAL introduces a dual-channel transformer and cross-attention mechanism for multi-domain tool wear prediction [23]. These studies confirm the value of attention-based feature fusion, but many transformer-style models still concatenate heterogeneous tokens and apply relatively heavy self-attention, which may introduce redundant interactions and increase computational cost.
To address these limitations, this paper proposes FCTrans-CA, a tool wear degree classification method that fuses time-domain and frequency-domain features through a lightweight cross-attention (CA) bridge. The method first applies fast Fourier transform (FFT) to construct frequency-domain representations, while an MS-CNN module extracts local impact features and long-range degradation trends from the raw time-domain signals. Unlike generic multimodal transformer structures, the proposed CA bridge is asymmetric: frequency-domain features are used as queries, while time-domain MS-CNN features are used as keys and values. This design allows spectral wear saliency to guide temporal feature selection, thereby strengthening the directional interaction between frequency–energy changes and time-series morphology while avoiding unnecessary full self-attention over concatenated tokens.
The main contributions of this paper are summarized as follows:
(1)
A tool wear condition classification framework is proposed to jointly exploit raw time-domain signals and FFT-derived frequency-domain signals for complementary wear-state representation.
(2)
A multi-scale multi-channel CNN module is designed to capture transient local impacts and long-range degradation trends from multi-sensor machining signals.
(3)
A lightweight asymmetric time-frequency CA mechanism is developed to explicitly model cross-domain dependencies between spectral saliency and temporal wear-sensitive patterns.
(4)
K-means clustering is used to divide measured flank wear trajectories into wear degrees, and the data-processing, splitting, and hyperparameter settings are clarified to improve reproducibility and address benchmarking fairness.

2. Overall Framework and Theoretical Background

Aiming at tool wear monitoring in machining, this paper presents a tool wear degree monitoring method that fuses time- and frequency-domain features via cross-attention. As shown in Figure 1, the overall framework consists of four parts: a signal time–frequency conversion layer, feature layer, data fusion layer, and tool wear degree output layer.
Figure 1. Overall architecture of the FCTrans-CA model.

2.1. Fast Fourier Transform

Fourier transform (FT) is a signal processing and spectrum analysis tool for converting signals from the time domain to the frequency domain [24]. Fast Fourier transform (FFT) is an efficient algorithm for implementing FT, especially suitable for discrete signal processing. The traditional Fourier transform for converting time-domain signals to frequency-domain signals is expressed as
X ( f ) = ∫ − ∞ ∞ x ( t ) · e − j 2 π f t d t
where x ( t ) denotes the time-domain signal, X ( f ) the frequency-domain signal, f the frequency, j the imaginary unit, and e the base of the natural logarithm.
The core idea of FFT is to recursively decompose the discrete Fourier transform (DFT) computation using the divide-and-conquer method, splitting the original N-point DFT into smaller DFTs to reduce computational complexity. The DFT formula is
X [ k ] = ∑ n = 0 N − 1 x [ n ] · e − j 2 π k n / N
where N is the number of sample points, x [ n ] the n-th time-domain sample, and X [ k ] the k-th frequency-domain sample.

2.2. Multi-Scale One-Dimensional Convolutional Neural Network

To overcome the limitations of single-scale convolutional kernels in processing non-stationary and nonlinear tool wear signals and fully mine deep temporal patterns in multi-channel sensor signals [25], this paper constructs a multi-scale one-dimensional convolutional neural network (MS-CNN). This module captures multi-granularity features and fuses them efficiently through a parallel multi-branch structure.
As shown in Figure 2, the network takes the original time series L × D as input, where L is the length of the time series and D the number of multi-source sensor channels (feature dimensions). Unlike traditional two-dimensional image conversion methods, this structure performs convolution directly on one-dimensional signals, effectively preserving the temporal correlation of signals.
Figure 2. Multi-scale deep convolutional network structure diagram.
The feature extraction process of the MS-CNN module is detailed as follows:
The key innovation of this module is the introduction of a parallel convolutional branch mechanism to enhance feature perception at different temporal resolutions. The small-scale convolutional branch uses small convolutional kernels K 1 i , with a small local receptive field focusing on capturing transient impacts, high-frequency vibration noise, and slight amplitude mutations in signals; these subtle waveform changes often correspond to the early stage of tool wear or micro-chipping. The large-scale convolutional branch uses large convolutional kernels K 1 j , with a wide receptive field extracting long-range dependencies and low-frequency degradation trends to reflect the overall health evolution of tools throughout the machining cycle. After multi-layer convolutional feature extraction, different branches output feature maps containing information at various frequency and time scales. To comprehensively utilize these complementary features, this paper adopts an element-wise addition strategy to fuse branch features. Compared with simple concatenation, additive fusion strengthens common features and suppresses background noise without increasing feature dimensions. The fusion process is expressed as
F f u s e d = F s m a l l ⊕ F l arg e
where ⊕ denotes element-wise addition, and F s m a l l and F l arg e represent high-dimensional feature tensors output by different scale branches. The final fused feature retains both local details and global trend information, providing rich and robust feature representations for the subsequent cross-attention module.

2.3. Cross-Attention Mechanism

To effectively integrate complementary information from different domains, a cross-attention (CA) mechanism is adopted [26,27]. Unlike standard self-attention, which computes dependencies within a single token sequence, the proposed CA bridge uses frequency-domain embeddings as queries and time-domain embeddings as keys and values. This modification is introduced because spectral peaks and energy redistributions often indicate wear-sensitive dynamics, whereas temporal signals retain local waveform information such as impacts and amplitude mutations. The CA bridge therefore uses spectral saliency to select informative temporal responses instead of treating all time–frequency tokens equally. Compared with a full transformer over concatenated tokens, this design reduces redundant token interactions and provides a better accuracy–computational-cost trade-off for edge-oriented monitoring. The cross-attention mechanism is illustrated in Figure 3.
Figure 3. Schematic diagram of the cross-attention mechanism.
The computation of the cross-attention mechanism proceeds as follows:
In Figure 3, the frequency-domain feature matrix is projected to the query vector Q, while the time-domain feature matrix is projected to the key vector K and value vector V. The attention score QK^T/sqrt(dk) measures the relevance between spectral components and temporal patterns, and the subsequent Softmax operation normalizes these correlations. The weighted sum with V produces a fused representation that retains temporal details emphasized by frequency-domain wear cues.
First, attention scores are calculated. For each query vector, the similarity with all key vectors is computed via dot product, followed by scaled softmax to obtain the attention score for each key. The formula is
AttentionScores ( Q , K ) = softmax Q K T d k
where Q is the query vector generated from the frequency-domain feature set, K the key vector generated from the time-domain feature set, and d k the dimension of keys to ensure stable gradients.
Then, the attention scores are weighted and summed with the value vectors generated from the time-domain feature set. The formula is
Output = AttentionScores · V
By learning the interrelationships between time- and frequency-domain features, the cross-attention mechanism automatically selects which time- and frequency-domain features are correlated under specific tool wear conditions, enabling more precise capture of wear signals, establishment of deep connections between different feature representations, and improved recognition of wear conditions.

2.4. Model Training and Optimization Strategy

To ensure fast convergence, good generalization, and avoidance of overfitting caused by excessive parameters during FCTrans-CA training, this paper designs a comprehensive training strategy including regularization, loss function selection, and parameter optimization.
Tool wear condition monitoring is essentially a multi-class supervised learning task. Therefore, cross-entropy loss is used to measure the discrepancy between model predictions and ground-truth labels. Considering the demand for stable training with dynamic gradients in tool wear data, the LAMB optimizer is selected. LAMB combines the adaptive gradient property of Adam with layer-wise learning-rate normalization, effectively mitigating gradient instability during large-batch training [28]. In the revised implementation description, the weight-decay term is integrated into the update norm as ∥   r t + λ θ t   ∥ , which preserves the dimensional consistency and trust-ratio logic of the standard LAMB algorithm. Its parameter update process is:
Gradient moment estimation: Compute the first-order moment m t and second-order moment v t of the gradient.
m t = β 1 m t − 1 + 1 − β 1 g t
v t = β 2 v t − 1 + 1 − β 2 g t 2
where g t is the gradient at time t, and β 1   a n d   β 2 are exponential decay rates.
Bias correction: Correct the moment estimates to eliminate initialization bias.
m ^ t = m t 1 − β 1 t ,   v ^ t = v t 1 − β 2 t
Parameter update: Compute layer-normalized update steps and update parameters θ t .
r t = m ^ t v ^ t + ϵ
θ t + 1 = θ t − η t ∥   θ t   ∥ ∥   r t + λ θ t   ∥ r t
where ϵ is a smoothing term, ∥   ∥ denotes the L2 norm, and λ is the weight-decay coefficient. The trust ratio scales the update velocity by matching the norm of the layer parameters with the norm of the regularized update vector r_t + lambda theta_t, rather than adding a scalar weight-decay term directly to the norm. This formulation preserves scale consistency across layers and conforms to the standardized LAMB optimization framework.
In addition, to help the model escape local optima and improve stability in late training, the cosine annealing learning-rate scheduling strategy (Cosine Annealing LR) is integrated [29]. This strategy simulates the annealing algorithm, making the learning rate decay periodically with the training epoch count following a cosine curve. The learning rate η t at the t-th epoch is calculated as
η t = η m i n + 1 2 η m a x − η m i n 1 + c o s T c u r T m a x π
where η m a x is the initial learning rate, η m i n the minimum learning rate, T c u r the current epoch count within a cycle, and T m a x the total number of epochs per cycle. Periodic learning-rate warm restarts help the model jump out of local minima and approach the global optimum.

3. Experiments

3.1. Experimental Data

This research employed the publicly accessible PHM2010 dataset [30], which encompasses full lifecycle data for six cutting tools (C1–C6). The experiments were conducted on a high-speed CNC milling platform using a three-flute ball-end carbide cutter to machine steel workpieces under fixed cutting conditions. According to the PHM2010 data description, the spindle speed was 10,400 r/min, the feed rate was 1555 mm/min, and the axial/radial depths of cut were 0.2 mm and 0.125 mm, respectively. The public dataset description does not provide a complete volume-of-cut record for each run; therefore, unavailable machining-volume details are not inferred in this manuscript. After each machining pass, the flank wear VB of each tool was measured offline with a microscope, while seven monitoring signals were recorded synchronously, including triaxial cutting forces, triaxial vibration, and acoustic emission. The measured wear values for C1, C4, and C6 are publicly released and are used in this study.
Figure 4 details the data acquisition process, which utilized a triaxial force sensor, an accelerometer, and an acoustic-emission sensor to simultaneously record force, vibration, and acoustic-emission signals during machining. Subsequent to every cutting pass, the wear on the side faces of the three teeth was quantified offline with a LEICA MZ12 microscope. The measured VB values are then used as the physical basis for wear-stage labeling.
Figure 4. Schematic diagram of the test setup for the PHM2010 dataset.

3.2. Tool Wear Degree Division

To reduce subjective errors in manual thresholding and to address differences among individual tool-life trajectories, this study uses K-means clustering to partition the measured VB sequence of each tool into three clusters [4]. The cluster order is mapped to the physical wear evolution according to increasing VB value: the cluster with the smallest VB centroid is defined as initial wear, the middle centroid as normal wear, and the largest centroid as severe wear. Therefore, the VB boundaries are tool-specific rather than fixed universal thresholds. Based on the physical evolution of tool wear [31], the number of clusters K is set to 3. The division results are shown in Figure 5, Figure 6 and Figure 7.
Figure 5. Result of C1 tool wear degree classification.
Figure 6. Result of C4 tool wear degree classification.
Figure 7. Result of C6 tool wear degree classification.
In Figure 5, Figure 6 and Figure 7, data points are automatically clustered into three categories: initial wear (label 0, blue), normal wear (label 1, green), and severe wear (label 2, red). Obvious differences are observed in the wear-evolution rates of different tools: tool C1 remains in the initial-wear stage for a long time, while tools C4 and C6 exhibit longer normal-wear cycles. Detailed division data for each tool’s wear stages are listed in Table 1.
Table 1. Classification of wear stages for each tool.

3.3. Data Processing

Before model training, the original one-dimensional multi-sensor signals from tools C1, C4, and C6 in the PHM2010 dataset were preprocessed to generate samples with consistent dimensions and reliable wear labels. For each machining pass, the corresponding wear-stage label was aligned with the multi-channel sensor record according to the pass index, thereby preserving the chronological progression of tool wear. Each pass was represented as (X ∈ ℝ^{L × 7}), where L denotes the number of sampling points, and the seven channels correspond to force, vibration, and acoustic-emission signals. To mitigate scale discrepancies among heterogeneous sensors, min–max normalization was independently applied to each channel. The normalized signals were then segmented into continuous, non-overlapping subsequences of a fixed length of 1024 sampling points, with incomplete tail segments shorter than 1024 points discarded. Consequently, each valid sample was represented as a 1024 × 7 tensor, and the pass-level wear label was assigned to all subsequences generated from the same machining pass.
For each normalized subsequence, both time-domain and frequency-domain representations were constructed. The time-domain representation preserves waveform morphology, transient impacts, amplitude fluctuations, and local degradation characteristics. The frequency-domain representation was obtained by applying the fast Fourier transform (FFT) along the temporal dimension and extracting the magnitude spectrum, which characterizes the distribution of signal energy across frequencies and provides complementary spectral information related to tool wear. Consistent with the overall architecture of FCTrans-CA, only the time-domain signal was fed into the multi-scale convolutional neural network (MS-CNN) for feature extraction. The MS-CNN was designed to capture both local transient variations and longer-range wear-evolution patterns from the original multi-sensor sequences, whereas the FFT-based frequency-domain representation served as complementary spectral information rather than being directly processed by the MS-CNN.
After constructing the features, the time-domain features extracted by the MS-CNN and the frequency-domain representation were fused through a cross-attention module. In this module, the frequency-domain feature is used to generate the query vector (Q), while the time-domain MS-CNN feature is used to generate the key vector (K) and value vector (V). The attention weights calculated from (Q) and (K) are then applied to (V), allowing frequency-domain wear-related saliency to guide the selection of informative temporal patterns. In this way, FCTrans-CA integrates waveform-level degradation characteristics with frequency–energy redistribution information before generating the final tool wear prediction.
To objectively evaluate the FCTrans-CA model, accuracy and confusion matrices are used as evaluation metrics for tool wear degree classification. The accuracy formula is
Accuracy = TP + TN TP + FN + FP + TN
where TP (True Positive) is the number of positive samples correctly predicted as positive, TN (True Negative) the number of negative samples correctly predicted as negative, FP (False Positive) the number of negative samples incorrectly predicted as positive, and FN (False Negative) the number of positive samples incorrectly predicted as negative.

3.4. Model Parameter Optimization

To fully exploit the performance potential of the FCTrans-CA model and explore the effects of key hyperparameters on generalization, sensitivity analysis and parameter tuning are conducted on three core hyperparameters: hidden layer dimension (h), number of convolutional layers in the MS-CNN module (l), and cross-attention depth (d).

3.4.1. Effect of Hidden Layer Dimension

Hidden layer dimension determines the width of feature space mapping, directly relating to the model’s ability to encode and reconstruct input signal features. Balancing model capacity and computational efficiency, the search space for hidden layer dimension is set to [32, 64, 128, 256].
As shown in Figure 8, classification accuracy increases from 97.69% to 99.43% when the hidden layer dimension increases from 32 to 128, indicating that a higher-dimensional feature space captures richer wear-related patterns and alleviates the information bottleneck. When the dimension further increases to 256, accuracy decreases slightly to 98.76%, which suggests that excessive parameters can fit noise and reduce generalization. Therefore, h = 128 is selected as a compromise between representation capacity and overfitting risk.
Figure 8. The dimension of the hidden layer affects the test results.

3.4.2. Effect of MS-CNN Convolutional Layer Count

The depth of the MS-CNN module directly determines the receptive field size and abstraction level of feature extraction.
With the hidden layer dimension fixed at 128, the search range for convolutional layer count is set to [1, 2, 3, 4, 5, 6]. Experimental results are shown in Figure 9. Accuracy increases steadily with the number of convolutional layers and peaks at 6 layers.
Figure 9. The number of convolutional layers in MS-CNN affects the results.
This performance gain stems from two factors: first, deep networks extract higher-level and more abstract semantic features from raw signals via hierarchical convolution, enhancing discrimination of complex wear patterns; second, deeper layers expand the effective receptive field of neurons, enabling the model to integrate broader temporal context and more accurately assess overall tool health. Accordingly, the number of MS-CNN convolutional layers is set to 6.

3.4.3. Effect of Cross-Attention Depth

Cross-attention depth determines the complexity and nonlinear interaction capability of time–frequency feature fusion. The search range for cross-attention depth is set to [1, 2, 3, 4, 5, 6], with other parameters kept optimal.
As shown in Figure 10, model performance improves significantly as depth increases from 1 to 4, indicating that stacked multi-layer attention facilitates deep fusion of time–frequency features and captures complex nonlinear correlations in data. Beyond 4 layers, accuracy decreases and training time lengthens substantially. This degradation arises because model complexity exceeds the dataset’s capacity; overly deep networks introduce extra computational overhead, induce gradient vanishing or explosion, and hinder training. Excessive feature interaction may also lead the model to learn random noise rather than intrinsic patterns. Thus, cross-attention depth is set to 4, balancing performance gain and computational cost.
Figure 10. Cross-attention profoundly affects the outcome.
In summary, after parameter optimization, the hidden layer dimension is 128, the number of MS-CNN convolutional layers is 6, and the cross-attention depth is 4. All hyperparameters of the FCTrans-CA model are listed in Table 2.
Table 2. Hyperparameter settings.
All computational experiments were carried out on a high-performance workstation running Ubuntu 22.04 LTS. The machine was outfitted with four NVIDIA GeForce RTX 4090 GPUs, each equipped with 24 GB of GDDR6X video memory, along with an Intel Core i9-13900K CPU and 128 GB of RAM. The software environment was set up using Python 3.9.18, PyTorch 2.4.0, and CUDA 12.4. All necessary libraries and dependencies were managed through Conda to ensure full reproducibility of the results.

4. Experimental Results and Discussion

4.1. Experimental Results

Figure 11 presents the confusion matrix of FCTrans-CA under the optimized parameter settings and provides a more detailed view of the model’s stage-wise recognition behavior. Among the 40,648 test samples, 40,415 samples are correctly classified, corresponding to an overall accuracy of 99.43%. For the initial-wear stage, 10,856 of 10,917 samples are correctly identified, giving a recall of approximately 99.44%, with 61 samples misclassified as severe wear. For the normal-wear stage, 14,069 of 14,145 samples are correctly classified, with a recall of approximately 99.46%, and the remaining 76 samples are predicted as severe wear. For the severe-wear stage, 15,490 of 15,586 samples are correctly recognized, corresponding to a recall of approximately 99.38%; only 75 and 21 severe-wear samples are misclassified as initial and normal wear, respectively. The absence of mutual confusion between the initial- and normal-wear classes indicates that the fused time–frequency representation can effectively distinguish the relatively stable early wear process from the steady wear-development stage.
Figure 11. The test results of the FCTrans-CA model.
The remaining misclassifications are concentrated around the severe-wear category, which is consistent with the physical characteristics of tool degradation. When the tool approaches severe wear, cutting contact becomes less stable and the force, vibration, and acoustic-emission signals may contain intermittent impacts, high-frequency bursts, and non-stationary energy redistribution. These phenomena can make some normal-wear windows appear similar to severe-wear windows. Conversely, some windows measured after the VB threshold enters the severe-wear region may still contain locally stable cutting segments, leading to occasional underestimation. Therefore, Figure 11 not only confirms the high discriminative capability of FCTrans-CA, but also shows that the main remaining challenge lies in capturing transitional and locally fluctuating signal patterns near the severe-wear boundary. This observation supports the necessity of the proposed cross-attention fusion: frequency-domain features help identify wear-related energy changes, while time-domain features preserve transient signal morphology. At the same time, the confusion matrix suggests that future work should further strengthen boundary-stage modeling, for example by introducing uncertainty estimation or sequence-level smoothing across adjacent machining passes.
To intuitively evaluate the effectiveness of FCTrans-CA in feature extraction and representation learning, the t-SNE algorithm is used to compare the spatial distribution of raw multi-channel sensor signals and deep features output by the model.
As shown in Figure 12, raw data are scattered disorderly in the low-dimensional space, with severe overlap between samples of different wear stages and no clear classification boundaries, indicating poor separability of raw signals. In contrast, Figure 13 shows that features extracted by FCTrans-CA exhibit significant clustering: intra-class samples are tightly compacted, and inter-class boundaries are distinct. This confirms that the model effectively filters redundant noise and learns high-discrimination critical features from complex signals, ensuring high classification accuracy.
Figure 12. Original data t-SNE result graph.
Figure 13. FCTrans-CA generates a t-SNE result graph.
To further verify the effectiveness of fusing time- and frequency-domain features via cross-attention, the cross-attention mechanism is visualized (Figure 14).
Figure 14. Visualization results of the cross-attention mechanism.
To explore the internal feature fusion mechanism of FCTrans-CA, Figure 14 visualizes the weight distribution of eight independent attention heads in the cross-attention layer. The horizontal and vertical axes correspond to time- and frequency-domain features, respectively, and color depth represents attention weight intensity.
As observed, different attention heads show distinct attention preferences. For instance, Heads 2, 3, and 8 pay high attention to time-domain features guided by specific frequency-domain features (dark regions), proving that the model successfully identifies key temporal patterns corresponding to specific frequency components. The diverse distribution patterns of attention heads confirm that the multi-head mechanism captures data features from multiple subspaces and perspectives. This mechanism not only achieves complementary fusion of time- and frequency-domain information but also endows the model with interpretability in decision-making, enabling precise focus on feature regions critical for wear condition classification.

4.2. Comparative Experiments

Four comparative experiments are designed to validate the effectiveness of multi-scale convolution and cross-attention-based time–frequency feature fusion in FCTrans-CA. Experiment 1 ablates the MS-CNN module to verify the contribution of multi-scale temporal feature extraction. Experiment 2 ablates the cross-attention module to verify the contribution of CA-based time–frequency fusion. Experiment 3 replaces cross-attention with time-domain self-attention to verify the value of cross-domain fusion. Experiment 4 replaces position encoding with linear variation to verify the effectiveness of frequency-domain position embedding. Results of the four experiments are shown in Figure 15.
Figure 15. Comparison test results.
Validation of multi-scale convolution: Removing the MS-CNN module (Experiment 1) reduces accuracy to 98.53%. Although cross-attention can process shallow features, the performance drop confirms that multi-scale local features extracted by MS-CNN are essential for high-precision condition recognition, highlighting the foundational role of MS-CNN in providing high-quality embeddings for the attention module.
Validation of cross-attention fusion gain: Removing the cross-attention module (Experiment 2) yields 99.12% accuracy, outperforming Experiment 1 and confirming the dominant role of multi-scale convolution in feature extraction. However, it remains inferior to the full model (99.43%), proving that cross-attention is not redundant: it deeply fuses complementary time- and frequency-domain information to mine cross-domain correlations inaccessible to single convolutional networks, delivering marginal performance gains.
Validation of time–frequency fusion necessity: Replacing cross-attention with time-domain self-attention (Experiment 3) results in 99.20% accuracy, below the optimal level. This comparison strongly demonstrates the advantage of multimodal fusion: compared with the single time-domain view, frequency-domain features provide supplementary information on signal energy distribution, and cross-attention effectively integrates these heterogeneous features, enhancing the model’s ability to discriminate complex wear patterns.
Effect of position encoding: Replacing standard position encoding with linear variation (Experiment 4) slightly reduces accuracy to 99.16%. Although position encoding has a smaller impact than feature extraction modules, it plays a non-negligible role in preserving the sequential information of frequency-domain signals and assisting the attention mechanism in understanding sequence structure.
To further validate the effectiveness of the FCTrans-CA model, attention weights in Experiments 1, 3, and 4 are visualized (Figure 16, Figure 17 and Figure 18).
Figure 16. Experiment 1: visualization of cross-attention mechanism.
Figure 17. Experiment 3: visualization of self-attention mechanism.
Figure 18. Experiment 4: visualization of cross-attention mechanism.
Comparison between Figure 14 and Figure 16 shows that removing the MS-CNN module makes the attention weight distribution sparser, indicating reduced richness of input feature representations. Without rich local information from MS-CNN, the model over-relies on a few strong signals in remaining features, concentrating attention and limiting decision-making information.
Comparison between Figure 14 and Figure 17 reveals that replacing cross-attention with time-domain self-attention complicates the attention weight distribution. Self-attention focuses on internal relationships within time-domain features, driving the model to exploit finer, more complex interactions; this leads to over-detailed temporal attention distribution. Cross-attention balances time- and frequency-domain interactions, preventing over-concentration on domain-specific features. Removing this balance (Experiment 3) causes the model to over-interpret noise or non-critical temporal variations, leading to overfitting. Thus, time–frequency fusion via cross-attention provides a balanced learning path and boosts classification performance.
Comparison between Figure 14 and Figure 18 shows that linear position encoding sparsens attention weights and reduces correlation. Linear mapping lacks sufficient complexity to capture positional relationships in sequences, resulting in overly simple position representations and failure to model complex structural dependencies. This proves that proper position encoding improves FCTrans-CA’s performance.
Confusion matrices of the four comparative experiments (Figure 19, Figure 20, Figure 21 and Figure 22) further confirm that FCTrans-CA achieves optimal performance across all wear stages. Although the four ablated models deliver decent predictions, they are limited by feature extraction and generalization, failing to surpass FCTrans-CA in accuracy. Additionally, more misclassifications occur in initial- and severe-wear stages across all models due to rapid wear evolution, while normal wear is easier to identify accurately.
Figure 19. Result of Experiment 1.
Figure 20. Result of Experiment 2.
Figure 21. Result of Experiment 3.
Figure 22. Result of Experiment 4. It has been revised.
Overall, every component of FCTrans-CA contributes to higher tool wear monitoring accuracy. Cross-attention effectively fuses time- and frequency-domain features; MS-CNN strengthens feature extraction; and position encoding, though less impactful, still benefits performance. These results validate the rationality of FCTrans-CA’s design and the criticality of each module, demonstrating that the model’s tailored improvements for complex time–frequency signals enable effective tool wear degree classification.
To further verify the superiority of FCTrans-CA, it is compared with recent machine-learning and deep-learning algorithms for tool wear condition monitoring (Table 3).
Table 3. Comparison of different algorithm effects.
Table 3 shows that machine-learning-based algorithms achieve accuracies above 90%, confirming their effectiveness in tool wear monitoring. However, these methods heavily depend on feature engineering requiring expert knowledge and laborious design, and struggle to capture all complex data correlations under real-world multi-operating-condition machining. Deep-learning methods generally achieve higher accuracy (except MEGNN, likely due to mismatched structure with data distribution), as they automatically extract complex features from massive data and reduce feature engineering burdens, offering clear advantages for industrial deployment. Overall, FCTrans-CA achieves the highest accuracy (99.43%), validating the effectiveness of its feature extraction and time–frequency fusion strategy. Multi-angle utilization of sensor information is crucial for accurate tool wear condition monitoring.

4.3. Robustness, Generalization, and Limitations

The current validation relies on PHM2010, which was collected under fixed cutting parameters. Therefore, the reported accuracy mainly demonstrates benchmark performance under this specific machining condition. Industrial deployment requires further testing under different tool materials, workpiece materials, spindle speeds, feed rates, depths of cut, lubrication/cooling states, and sensor-noise levels. For robustness evaluation, future work will inject white Gaussian noise at multiple signal-to-noise ratios and will test cross-condition transfer learning. These additional experiments are necessary before claiming universal generalization across industrial machining environments.

5. Conclusions

This paper draws the following conclusions:
  • FCTrans-CA integrates FFT-derived frequency-domain features and raw time-domain sensor features through a lightweight asymmetric CA bridge, enabling frequency-guided selection of wear-sensitive temporal representations.
  • The multi-scale CNN module improves the extraction of transient local impacts and long-range degradation trends, while CA further enhances cross-domain feature interaction.
  • On the PHM2010 benchmark, FCTrans-CA achieves 99.43% accuracy on 40,648 test samples, and the confusion matrix shows strong separability among initial-, normal-, and severe-wear stages.
  • The study still has limitations: validation is based on a single public dataset under fixed cutting conditions, and additional noise-injection, cross-material, cross-parameter, and lubrication/cooling-condition tests are required. Future work will focus on cross-condition generalization, lightweight deployment, and robustness under industrial noise.

Author Contributions

All authors contributed extensively to this manuscript. X.X. made substantial contributions to data processing, algorithm implementation, and result analysis. Z.H., Q.D., and Y.Z. participated in figure preparation and result visualization. Y.L. reviewed and edited the manuscript. T.Z. contributed to technical discussion and manuscript refinement. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

The study did not involve humans or animals.

Data Availability Statement

The original PHM2010 dataset used in this study is publicly available. The processed samples and implementation details generated in this work are available from the corresponding author upon reasonable request.

Acknowledgments

We sincerely thank the anonymous reviewers for their critical comments and suggestions for improving the manuscript.

Conflicts of Interest

Authors X.X., Y.L., Z.H., Q.D., Y.Z. and T.Z. were employed by the company General Technology Group Machine Tool Engineering Research Institute Co., Ltd. The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Peng, Y.; Kang, W.; Yu, F.; Ding, Z.; Zhou, W.; Fu, J.; Hu, S. Edge device deployment for intelligent machine tools: A lightweight and interpretable tool wear monitoring method considering wear behavior. Robot. Comput.-Integr. Manuf. 2025, 95, 103033. [Google Scholar] [CrossRef] [Scilit]
  2. Teti, R.; Jemielniak, K.; O’Donnell, G.; Dornfeld, D. Advanced monitoring of machining operations. CIRP Ann. 2010, 59, 717–739. [Google Scholar] [CrossRef] [Scilit]
  3. Wang, Z.; Zhou, G.; Zhang, C.; Xiao, Q.; Zio, E. Physics-informed Gaussian process regression for tool wear monitoring with uncertainty quantification. Reliab. Eng. Syst. Saf. 2025, 268, 111984. [Google Scholar] [CrossRef] [Scilit]
  4. Jiang, Y.; Huang, J.; Liu, K.; Zhao, D.; Liu, H.; Wang, Y. Intelligent machining technology for online monitoring and control of tool condition: A review. Front. Mech. Eng. 2025, 20, 50. [Google Scholar] [CrossRef] [Scilit]
  5. Cheng, Y.; Gai, X.; Guan, R.; Jin, Y.; Lu, M.; Ding, Y. Tool wear intelligent monitoring techniques in cutting: A review. J. Mech. Sci. Technol. 2023, 37, 289–303. [Google Scholar] [CrossRef] [Scilit]
  6. Wu, D.; Jennings, C.; Terpenny, J.; Gao, R.X.; Kumara, S. A Comparative Study on Machine Learning Algorithms for Smart Manufacturing: Tool Wear Prediction Using Random Forests. J. Manuf. Sci. Eng. 2017, 139, 071018. [Google Scholar] [CrossRef] [Scilit]
  7. Zhu, K.; Li, X.; Li, S.; Lin, X. Physics-informed hidden markov model for tool wear monitoring. J. Manuf. Syst. 2024, 72, 308–322. [Google Scholar] [CrossRef] [Scilit]
  8. Kong, D.; Chen, Y.; Li, N.; Tan, S. Tool wear monitoring based on kernel principal component analysis and v-support vector regression. Int. J. Adv. Manuf. Technol. 2017, 89, 175–190. [Google Scholar] [CrossRef] [Scilit]
  9. Shi, Q.; Zhou, T.; Xie, J.; Wang, C.; Zhou, X. IBOA-SDAE: A tool wear condition monitoring model for cotton stalk crushing. Comput. Electron. Agric. 2026, 241, 111127. [Google Scholar] [CrossRef] [Scilit]
  10. Chen, N.; Hao, B.; Guo, Y.; Li, L.; Khan, M.A.; He, N. Research on tool wear monitoring in drilling process based on APSO-LS-SVM approach. Int. J. Adv. Manuf. Technol. 2020, 108, 2091–2101. [Google Scholar] [CrossRef] [Scilit]
  11. Liao, X.; Zhou, G.; Zhang, Z.; Lu, J.; Ma, J. Tool wear state recognition based on GWO–SVM with feature selection of genetic algorithm. Int. J. Adv. Manuf. Technol. 2019, 104, 1051–1063. [Google Scholar] [CrossRef] [Scilit]
  12. Kilundu, B.; Dehombreux, P.; Chiementin, X. Tool wear monitoring by machine learning techniques and singular spectrum analysis. Mech. Syst. Signal Process. 2011, 25, 400–415. [Google Scholar] [CrossRef] [Scilit]
  13. Zhao, R.; Yan, R.; Chen, Z.; Mao, K.; Wang, P.; Gao, R.X. Deep learning and its applications to machine health monitoring. Mech. Syst. Signal Process. 2019, 115, 213–237. [Google Scholar] [CrossRef] [Scilit]
  14. Cheng, M.; Jiao, L.; Yan, P.; Jiang, H.; Wang, R.; Qiu, T.; Wang, X. Intelligent tool wear monitoring and multi-step prediction based on deep learning model. J. Manuf. Syst. 2022, 62, 286–300. [Google Scholar] [CrossRef] [Scilit]
  15. Qiao, H.; Wang, T.; Wang, P. A tool wear monitoring and prediction system based on multiscale deep learning models and fog computing. Int. J. Adv. Manuf. Technol. 2020, 108, 2367–2384. [Google Scholar] [CrossRef] [Scilit]
  16. Zhang, Y.; Qi, X.; Wang, T.; He, Y. Tool Wear Condition Monitoring Method Based on Deep Learning with Force Signals. Sensors 2023, 23, 4595. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  17. Chen, Z.; Zhang, J.; Qin, F.; Tao, G.; Li, D.; Cao, H. PIDGGCN: A novel physics-informed deep learning framework for tool wear monitoring. Adv. Eng. Inform. 2025, 68, 103790. [Google Scholar] [CrossRef] [Scilit]
  18. Wei, P.; Li, R.; Liu, X.; Gao, H.; Dai, M.; Zhang, Y.; Zhao, W.; Liu, E. Research on tool wear state identification method driven by multi-source information fusion and multi-dimension attention mechanism. Robot. Comput.-Integr. Manuf. 2024, 88, 102741. [Google Scholar] [CrossRef] [Scilit]
  19. Li, R.; Wei, P.; Liu, X.; Li, C.; Ni, J.; Zhao, W.; Zhao, L.; Hou, K. Cutting tool wear state recognition based on a channel-space attention mechanism. J. Manuf. Syst. 2023, 69, 135–149. [Google Scholar] [CrossRef] [Scilit]
  20. Zhang, H.; Jiang, S.; Gao, D.; Sun, Y.; Bai, W. A Review of Physics-Based, Data-Driven, and Hybrid Models for Tool Wear Monitoring. Machines 2024, 12, 833. [Google Scholar] [CrossRef] [Scilit]
  21. Hou, K.; Li, R.; Liu, X.; Yue, C.; Wang, Y.; Liu, X.; Xia, W. Swin-fusion: An adaptive multi-source information fusion framework for enhanced tool wear monitoring. J. Manuf. Syst. 2025, 79, 435–454. [Google Scholar] [CrossRef] [Scilit]
  22. Xie, Z.; Zhang, C.; Gao, S.; Liu, Y.; Li, Y.; Tian, B.; Guo, H. Adaptive Multimodal Time-Frequency Feature Fusion for Tool Wear Recognition Based on SSA-Optimized Wavelet Transform. Machines 2025, 13, 1077. [Google Scholar] [CrossRef] [Scilit]
  23. Li, N.; Liu, Z.; Wang, X.; Jiang, J.; Wei, Y. CdualTAL: Multi-domain tool wear prediction using a dual-channel Transformer and cross-attention network. Eng. Inf. Technol. Electron. Eng. 2026, 27, 1–13. [Google Scholar] [CrossRef] [Scilit]
  24. Heckbert, P. Fourier transforms and the fast Fourier transform (FFT) algorithm. Comput. Graph. 1995, 2, 15–463. [Google Scholar]
  25. Ma, Y.; Yao, C.; Tan, L.; Cui, M.; Ren, J.; Luo, M.; Ding, W.; Wang, J.; Zhao, J. Research progress on intelligent monitoring of machining condition based on indirect method. Adv. Eng. Inform. 2025, 67, 103518. [Google Scholar] [CrossRef] [Scilit]
  26. Huang, Z.; Wang, X.; Huang, L.; Huang, C.; Wei, Y.; Liu, W. Ccnet: Criss-cross attention for semantic segmentation. In Proceedings of the IEEE/CVF International Conference on Computer Vision, 2019; IEEE: New York, NY, USA, 2019; pp. 603–612. [Google Scholar]
  27. Pan, Y.; Qinh, Y.Z.P.; Zhang, C. Advanced Intelligent Computing Technology and Applications; Springer: Singapore, 2025. [Google Scholar]
  28. You, Y.; Li, J.; Reddi, S.; Hseu, J.; Kumar, S.; Bhojanapalli, S.; Song, X.; Demmel, J.; Keutzer, K.; Hsieh, C. Large batch optimization for deep learning: Training bert in 76 minutes. arXiv 2019, arXiv:1904.00962. [Google Scholar]
  29. Johnson, O.V.; Xinying, C.; Khaw, K.W.; Lee, M.H. ps-CALR: Periodic-Shift Cosine Annealing Learning Rate for Deep Neural Networks. IEEE Access 2023, 11, 139171–139186. [Google Scholar] [CrossRef] [Scilit]
  30. 2010 PHM Society Conference Data Challenge. 2010. Available online: https://phmsociety.org/competition/phm/10 (accessed on 6 June 2026).
  31. Wang, R.; Song, Q.; Peng, Y.; Qin, J.; Liu, Z.; Liu, Z. Self-adaptive fusion of local-temporal features for tool condition monitoring: A human experience free model. Mech. Syst. Signal Process. 2023, 195, 110310. [Google Scholar] [CrossRef] [Scilit]
  32. Zhang, Z.; Zhao, Z.; Tian, Q. Milling tool wear state recognition based on multimodal large language models. J. Phys. Conf. Ser. 2026, 3176, 12030. [Google Scholar] [CrossRef] [Scilit]
  33. Wang, J.; Xiang, Z.; Cheng, X.; Zhou, J.; Li, W. Tool wear state identification based on SVM optimized by the improved northern goshawk optimization. Sensors 2023, 23, 8591. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  34. Wei, X.; Liu, X.; Yue, C.; Wang, L.; Liang, S.Y.; Qin, Y. Tool wear state recognition based on feature selection method with whitening variational mode decomposition. Robot. Comput.-Integr. Manuf. 2022, 77, 102344. [Google Scholar] [CrossRef] [Scilit]
  35. Shui, X.; Rong, Z.; Dan, B.; He, Q.; Yang, X. Tool Wear State Identification Based on the IWOA-VMD Feature Selection Method. Machines 2024, 12, 184. [Google Scholar] [CrossRef] [Scilit]
  36. Zhou, Y.; Zhi, G.; Chen, W.; Qian, Q.; He, D.; Sun, B.; Sun, W. A new tool wear condition monitoring method based on deep learning under small samples. Measurement 2022, 189, 110622. [Google Scholar] [CrossRef] [Scilit]
  37. Xue, Z.; Li, L.; Chen, N.; Wu, W.; Zou, Y.; Yu, N. Tool Wear State Recognition Based on One-Dimensional Convolutional Channel Attention. Micromachines 2023, 14, 1983. [Google Scholar] [CrossRef] [Scilit] [PubMed]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.