Next Article in Journal
Meta-LSTM-Affine: A Memory-Based Meta-Adaptive Affine Modeling Framework for Non-Stationary Systems
Next Article in Special Issue
Enhanced Composite Multi-Scale Slope Entropy and Its Application to Fault Diagnosis of Rolling Bearing
Previous Article in Journal
From Time-Series Prediction to System Modeling: A Dual-Attention Framework for Multi-Source Interaction in Soybean Futures Markets
Previous Article in Special Issue
DSNet: Dynamic Segmentation Revolution for Remaining Useful Life Prediction in Mixed-Model Production
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

PCT-Net: A Multi-Scenario Noise-Adaptive Fusion Network for Bolt Loosening Detection

1
School of Electronic Information and Electrical Engineering, Yangtze University, Jingzhou 434023, China
2
School of Computer Science, Yangtze University, Jingzhou 434023, China
3
School of Electronic Information, Central South University, Changsha 410004, China
4
School of Computer Science, Central South University, Changsha 410083, China
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Electronics 2026, 15(10), 1989; https://doi.org/10.3390/electronics15101989
Submission received: 2 April 2026 / Revised: 23 April 2026 / Accepted: 25 April 2026 / Published: 8 May 2026
(This article belongs to the Special Issue Intelligent Sensing Empowered by Artificial Intelligence)

Abstract

Bolt loosening is a critical precursor to structural failure in major industrial and transportation equipment. Although acoustic non-destructive testing (NDT) offers a cost-effective diagnostic solution, its practical deployment is often hindered by low signal-to-noise ratios (SNRs) and the limited ability of conventional models to isolate fine-grained transient acoustic signatures from complex background interference. To address these challenges, this paper proposes PCT-Net, a multi-scenario noise-adaptive fusion network for bolt-state recognition. First, an Adaptive Spectral Masking mechanism is introduced as a data augmentation strategy. Instead of rigid zero-padding, it dynamically blends local spectral energies to encourage the learning of more robust and noise-invariant representations. Furthermore, rather than simply concatenating multiple modules, PCT-Net adopts a synergistic feature extraction framework to decouple complex acoustic signatures. A perceptual frontend is used to establish acoustically meaningful representation priors. To handle the highly dispersed characteristics of loosening signals, cascaded convolutional modules progressively suppress redundant environmental interference while capturing high-frequency local transient impacts. Meanwhile, to overcome the limited receptive field of convolutional operations, an embedded Transformer mechanism is introduced to model long-range temporal dependencies and low-frequency structural variations throughout the tapping cycle. By integrating local fine-grained transient modeling with global structural dependency modeling, the proposed network can better distinguish subtle decision boundaries among different loosening states. Extensive experiments show that PCT-Net achieves a classification accuracy of 97.12% under standard conditions and maintains stable performance under severe noise scenarios. These results demonstrate the effectiveness of the proposed method and highlight its potential for intelligent industrial safety monitoring.

1. Introduction

Bolts are essential fasteners widely used in machinery, construction, transportation, and energy systems. As one of the most fundamental and critical mechanical components, their performance directly affects the safety, reliability, and service life of the entire structure. The system-level impact of bolt preload reliability has been extensively discussed in recent reviews [1]. Under harsh operating conditions, such as high temperature, high pressure, strong vibration, and corrosive environments, bolt degradation and failure are more likely to occur [2]. Engineering practice has shown that bolt failure can result in substantial casualties and significant economic losses, as evidenced by recent industrial accidents [3]. Therefore, the development of online fault condition monitoring technologies that can operate rapidly and reliably is of great practical significance.
Conventional inspection techniques, such as visual assessment, manual tapping, and torque wrench testing, remain widely utilized due to their simplicity. However, these methods are intrinsically reliant on human expertise and are highly susceptible to subjective operational inconsistencies [4]. Recently, vision-based inspection techniques have mitigated this subjectivity by employing deep learning algorithms for the automated recognition of bolt morphology and rotation angles [5,6]. Nevertheless, the efficacy of these visual methods frequently deteriorates under challenging lighting conditions, occlusions, or during the detection of incipient loosening, where visual discrepancies are negligible.
In contrast, acoustic condition monitoring presents compelling advantages, encompassing non-contact operation, deployment flexibility, and high sensitivity to interfacial degradation without necessitating structural disassembly. Foundational studies have validated the feasibility of utilizing acoustic and ultrasonic emissions to evaluate bolted joint integrity [7,8]. Building on this premise, contemporary research predominantly leverages direct impact or knocking acoustic signals to identify structural loosening [9,10]. To capture more complex structural dynamics, sophisticated vibro-acoustic modulation techniques—including frequency-swept probe waves—have been subsequently introduced [11,12]. Furthermore, previous studies have demonstrated the feasibility of utilizing advanced computational methods and acoustic features to quantify the degree of loosening [13,14]. Despite these methodological advancements, a critical bottleneck persists: acoustic signals remain highly vulnerable to background noise prevalent in complex industrial environments [15]. Furthermore, classical acoustic feature extraction algorithms (e.g., MFCC, PLP, and standard audio filters), while highly effective in speech recognition, frequently fail to extract the critical acoustic fingerprints associated with incipient loosening under low signal-to-noise ratio (SNR < 15 dB) conditions [14,16,17].
To address these bottlenecks in industrial fault diagnosis, recent studies have increasingly focused on enhancing out-of-distribution (OOD) robustness and domain generalization (DG) capability. For example, to enable robust fault detection under extreme conditions such as zero-faulty-data scenarios, architectures such as the shrinkage Mamba relation network combined with OOD data augmentation have been proposed [18]. In addition, learning category-invariant disentangled features has been shown to significantly improve domain generalization performance [19]. Meanwhile, the rapid development of artificial intelligence has driven industrial fault diagnosis beyond traditional convolutional architectures toward foundation models and large vision–language models (VLMs). These advanced methods leverage multimodal learning and alignment strategies to better handle complex and imbalanced industrial data. For example, recent studies have explored RLHF-optimized industrial large vision–language models for CNC fault diagnosis, highlighting the potential of multimodal architectures for alleviating data scarcity and improving interpretability [20].
Inspired by these developments—from decoupled structural representation learning for OOD robustness to large-scale foundational modeling—this work aims to adaptively suppress unknown noise and decouple acoustic signatures through a novel network architecture. Although the present study focuses on acoustic modalities, the proposed structural design also provides a basis for future integration with broader multimodal industrial AI frameworks. Accordingly, this paper proposes PCT-Net, a novel PANNs–CNN–Transformer fusion architecture for bolt loosening detection, which integrates acoustic signal perception and deep feature learning within a unified framework. The main contributions of this work are summarized as follows: First, an adaptive spectral masking mechanism with non-zero blending is introduced to improve feature extraction under complex noise conditions. Unlike rigid zero-padding, the proposed strategy dynamically adjusts local spectral energy according to the sample-level noise floor, thereby helping preserve signal characteristics and enhance noise robustness. Second, a hierarchical local perception framework is constructed based on a cascaded bottom-up convolutional topology. By progressively expanding the channel dimensions, the model is able to better capture fine-grained local patterns and suppress ambient interference, thereby generating discriminative sequential features from high-resolution spectrograms. Third, global dependency modeling is achieved through a Transformer-based self-attention mechanism. By modeling long-range temporal dependencies across the tapping cycle, the proposed architecture enables effective integration of local and global information, thereby improving the identification of subtle loosening states. Crucially, unlike conventional hybrid models that rely on the simple sequential concatenation of convolutional and attention modules, PCT-Net establishes a synergistic “decoupling-modeling” paradigm. Rather than suffering from functional redundancy, our architecture is closely aligned with the physical characteristics of acoustic loosening signals: it explicitly assigns the multi-layer CNNs to decouple high-frequency transient impacts, while reserving the Transformer exclusively for capturing long-range structural decay. This integrated design overcomes the representation bottlenecks inherent in traditional direct-fusion networks. A more structured and detailed description of these innovations is provided in the Supplementary Materials (File S1). Refer to the Supplementary Materials (File S1).

2. Methodology

The proposed intelligent acoustic edge-monitoring system for bolt loosening detection operates through a three-stage pipeline, as systematically illustrated in Figure 1. This end-to-end process comprises: (1) Acoustic Time–Frequency Representation and Adaptive Enhancement, which converts raw tapping sounds into perception-aligned Log-Mel spectrograms [21] coupled with an adaptive spectral masking strategy to ensure robust performance against non-stationary industrial noise; (2) Multi-layer Convolutional Feature Extraction [22], which compresses high-resolution acoustic inputs into compact, structure-relevant representations by capturing local time–frequency energy patterns; and (3) Transformer [23] Global Modeling and Classification, which leverages multi-head self-attention mechanisms to construct long-range temporal dependencies, outputting highly reliable probabilities for bolt loosening states.

2.1. Acoustic Time–Frequency Representation and Adaptive Enhancement

To extract stable and discriminative features from noise-interfered acoustic signals, this system deploys a rigorous digital signal processing (DSP) frontend. Initially, the raw one-dimensional acoustic waveform is transformed into a two-dimensional time–frequency spectrum via the Short-Time Fourier Transform (STFT), explicitly characterizing the energy distribution dynamics across continuous time intervals (Figure 2).
To align this feature representation with the non-linear perceptual characteristics of human hearing—which exhibits higher sensitivity to low-frequency variations—the linear frequency axis is mapped onto the Mel scale. By applying a Mel filter bank to smooth and aggregate the STFT energy spectrum, the system ensures high resolution for critical low-frequency mechanical responses while imposing moderate compression on high-frequency background noise. The mathematical definition of this conversion is:
f m e l = 2595 log 10 1 + f 700 .
The energy of each channel obtained in the Mel domain is then logarithmically compressed to enhance the contrast of mid-to-low frequency information and improve numerical stability, forming the final Log-Mel spectrogram. The expression is given by:
M ( t , k ) = 10 log 10 ( E ( t , k ) + ε ) ,
where ε is an infinitesimally small stabilization term introduced to prevent zero-logarithm errors.
Building upon this baseline representation, we introduce a novel Adaptive Spectral Masking mechanism to address the severe signal-to-noise ratio (SNR) degradation common in complex industrial environments. Conventional deep learning models are highly susceptible to “memorizing” background noise profiles. Unlike standard random masking, our approach dynamically adjusts the masking intensity based on a sample-level noise factor η in [ 0 , 1 ] , which is adaptively computed according to the global energy distribution:
η = σ a b · log E E p + ε ,
where E denotes the total acoustic energy of the current sample, E p is the p-th percentile of the spectral energy (representing the baseline noise floor), and σ ( · ) is the Sigmoid activation function. The variables a and b are learnable hyperparameters controlling sensitivity.
Guided by the dynamic factor η , the adaptive masking widths in the time domain ( Δ t ) and frequency domain ( Δ f ) are determined by:
Δ t = α T T η , Δ f = α F F η ,
where T and F represent the total time steps and frequency bands, respectively.
The critical innovation lies in abandoning the rigid “zero-padding” operation, which severely disrupts the inherent global energy and statistical properties of the acoustic signal. Instead, we introduce a Non-zero Blending mechanism. For a selected masking region R = [ t 0 , t 0 + Δ t ] × [ f 0 , f 0 + Δ f ] , the original spectral features are replaced by a weighted blend of the original signal and the region’s mean energy μ R :
M ( t , f ) = ( 1 λ ) M ( t , f ) + λ μ R , for ( t , f ) R ,
where λ = min ( 1 , γ η ) . This DSP-driven feature enhancement strategy prevents the gradient vanishing typically caused by traditional zero-padding, increases data diversity, and compels the downstream network to learn noise-invariant features when local components are obscured.

2.2. Multi-Layer Convolutional Feature Extraction

The features of bolt tapping signals exhibit high dispersion in the time–frequency domain, encompassing both “low-frequency slow variations” and “high-frequency transient impacts”. Because a single convolutional layer has a restricted receptive field, it struggles to simultaneously extract both of these typical loosening patterns. Therefore, the system incorporates a multi-layer convolutional feature extraction module consisting of four stacked ConvBlocks, detailed in Figure 3.
Each ConvBlock adheres to an efficient local modeling substructure: Conv2d → BatchNorm → ReLU → Pooling. The feature extraction process at the i-th layer can be formulated as:
F i = ReLU ( BatchNorm ( Conv 3 × 3 ( F i 1 ) ) ) .
Through layer-by-layer spatial and frequency downsampling, this bottom-up cascaded topology progressively filters out redundant environmental noise. Ultimately, it compresses the high-resolution input into a high-dimensional semantic feature map F 4 R C × T × F that possesses strong discriminative power for bolt states.

2.3. Transformer Global Modeling and Classification

Although Convolutional Neural Networks (CNNs) excel at local texture modeling, their limited receptive fields hinder the capture of long-range dependencies across extended time spans. To overcome this bottleneck, the network seamlessly integrates a Transformer encoder, as structured in Figure 4, on top of the CNN-extracted features.
First, a learnable linear projection layer adapts the high-dimensional local feature sequence into the hidden dimensional space of the Transformer:
Z p r o j = Z c o n v W p r o j + b p r o j ,
where W p r o j R d c o n v × d m o d e l . To ensure the model perceives the relative chronological order of different tapping responses, positional encodings (PE) are injected:
Z i n = Z p r o j + P E .
Subsequently, the sequence is fed into L layers of a standard Transformer encoder. Its core relies on the Multi-Head Self-Attention (MSA) mechanism, which dynamically establishes global correlations between any two temporal positions within the same sequence:
Attention ( Q , K , V ) = softmax Q K T d k V .
Finally, Global Average Pooling is applied to the sequence output by the encoder to extract Z g l o b a l , a global temporal feature vector representing the entire tapping cycle. Through a fully connected layer equipped with a Softmax activation function, the model outputs the categorical probability distribution of the bolt’s loosening states (e.g., tight, slightly loose, severely loose):
y ^ = Softmax ( W f c · Z g l o b a l + b f c ) .
This architecture enables an effective integration of local time–frequency texture extraction and global structural dynamic modeling in complex acoustic scenarios.

3. Experimental Apparatus and Procedures

3.1. Experimental Apparatus and Methodology

To systematically validate the performance of the proposed PCT-Net under conditions representative of complex industrial applications, a highly controlled acoustic non-destructive testing (NDT) platform was established. As shown in Figure 5, the experimental framework includes both the hardware setup and the standardized acoustic excitation procedure. The test objects consisted of four representative types of standard high-strength bolts (denoted as bolt1 through bolt4). To ensure reproducible quantitative analysis, the condition of each bolt was strictly calibrated into three diagnostic levels: tight (L0), slight loosening (L1), and severe loosening (L2).
It is important to note that the dataset was intentionally designed to evaluate the model under rigorous boundary conditions that closely mirror the realities of the contemporary Chinese industrial environment. The four selected bolt types correspond to widely used specifications in critical domestic sectors, such as high-speed railway infrastructure, bridge construction, and heavy manufacturing, ensuring the dataset’s practical relevance. Moreover, instead of covering a broad spectrum of easily distinguishable degradation states, the dataset deliberately focuses on conditions with extremely subtle angular differences. Under the stringent safety regulations and high-frequency manual inspection protocols typical in Chinese industry, macroscopic or severe bolt loosening is seldom allowed to occur. As a result, early-stage, subtle loosening is the most common and critical fault state encountered by automated NDT systems in real-world engineering scenarios. As depicted in Figure 5b, L1 corresponds to a rotation angle θ ranging only from 0° to 15°. Distinguishing between these highly similar borderline states presents a significant challenge for acoustic feature extraction. Therefore, successful validation on this constrained yet inherently difficult dataset provides strong evidence of the robust decoupling ability and fine-grained representation capability of the proposed PCT-Net.
Acoustic excitation was generated through controlled mechanical impacts, as shown in Figure 5. It should be noted that these impacts inherently involve slight natural variations in striking angle and force, which effectively serve as a form of physical data augmentation and help reduce the risk of model overfitting. The resulting transient vibration responses were recorded using a high-fidelity eight-channel microphone(Shenzhen Yunde IoT Technology Co., Ltd., Shenzhen, China) array. By employing a distributed multichannel array rather than a single sensor, the acquisition system captures acoustic radiation from multiple spatial positions. This configuration naturally incorporates variations in recording distance and sound reception angle, thereby enabling the dataset to better reflect the spatial acoustic diversity encountered in real industrial environments. To preserve broad-spectrum acoustic signatures and subtle structural modulation features, the data acquisition system operated at a fixed sampling rate of 16 kHz with a 16-bit quantization depth. During signal processing, particular emphasis was placed on the first 2000 sampling points of each recorded acoustic sequence, as these initial samples capture the critical transient impact response, namely the “initial shocks,” which contain the most discriminative acoustic fingerprints for structural condition assessment. The multichannel signals were then transmitted to the host computer for real-time time–frequency analysis.

3.2. Dataset Preparation and Hardware Configuration

To rigorously evaluate the generalization capability of the proposed model and prevent data leakage, a comprehensive acoustic dataset was systematically constructed. First, clean tapping signals were collected under controlled laboratory conditions. For each of the four bolt types, 400 acoustic samples were recorded for each diagnostic state (L0, L1, and L2), and each recording lasted 12 s. This carefully designed data acquisition process yielded a total of 4800 clean acoustic samples, providing a solid foundation for subsequent analysis.
To realistically simulate complex industrial acoustic interference, environmental noise from the MIMII dataset [24] was artificially superimposed onto the clean recordings through programmatic mixing. Specifically, the clean transient signals were mixed with factory noise at six distinct signal-to-noise ratio (SNR) levels: −5 dB, 0 dB, 5 dB, 10 dB, 15 dB, and 20 dB. This noise augmentation strategy produced a robust dataset suitable for evaluating the model under a wide range of acoustic degradation conditions. The complete multi-SNR dataset was then divided into training, validation, and test sets according to a strict ratio of 7:1.5:1.5.
All deep learning experiments and model training procedures were conducted on an NVIDIA GeForce RTX 4060 GPU. The software environment was standardized using Python 3.9 and PyTorch 2.0, ensuring computational reproducibility, efficient tensor processing, and effective implementation of the Transformer-based attention mechanism. Network parameters were optimized using the Adam optimizer with a batch size of 32 and an initial learning rate of 1 × 10 4 . The model was trained for 100 epochs on average.

3.3. Robustness Testing and Adaptability Analysis

To systematically evaluate the anti-interference performance of PCT-Net in complex industrial environments, this paper incorporates three types of real noise scenarios (noise1, noise2, and noise3) [24], disturbances caused by variations in sensor installation positions (e.g., different base spacers and fixation methods), and disturbances related to sampling angle and distance (such as close-distance recording and oblique microphone placement). These evaluations are designed to examine the adaptability of the model to diverse acoustic disturbances.
To evaluate the robustness of the model under noisy environments, three performance metrics are used:
1.
Signal-to-Noise Ratio (SNR):The intensity of added noise is controlled using the SNR, defined as:
SNR d B = 10 log 10 P s P n ,
where P s denotes the power of the clean signal and P n denotes the power of the noise.
2.
Accuracy (Acc): The recognition accuracy under a specified SNR is given by:
Acc = N correct N total ,
where N correct and N total represent the number of correctly classified samples and total test samples, respectively.
3.
Noise-AUC: The Noise-AUC is defined as the integral of the Acc-SNR curve over the SNR interval [5 dB, 20 dB], reflecting the model’s average robustness across noise levels. A value closer to 1 indicates stronger robustness.
The results are presented in Figure 6. The proposed model achieves an accuracy of 95.8% under standard conditions and maintains an average accuracy of 92.3% under complex interference scenarios, with the overall performance degradation controlled within 3.5%. In contrast, the traditional CNN model exhibits an average degradation of 8.6%, while the original PANNs model shows a degradation of 6.1%. These results demonstrate that the proposed method offers significantly stronger resistance to noise and interference compared with the baseline models.
Furthermore, as shown in Table 1, under low-SNR conditions (SNR ≈ 10 dB), we further evaluate the robustness of the proposed model against noise interference. The robustness indicators (e.g., average adversarial disturbance amplitude) remain at a consistently low level under noise environments, and the model’s decision boundaries do not exhibit significant drift. This demonstrates that the proposed PANNs–CNN–Transformer fusion architecture provides stronger anti-interference capability in the spectral domain. In particular, the self-attention mechanism in the Transformer module enhances temporal feature perception, thereby effectively improving tolerance to non-stationary noise.
In conclusion, despite the limited nature of the test data, the experiments in this section have demonstrated the robust benefits of the model at different levels. The model has been demonstrated to work under complex acoustic environmental interference, indicating its potential for deployment in practical production scenarios. The experimental results validate the proposed structure’s practicality and provide a solid basis for the subsequent discrimination power tests and ablation analysis that will be carried out in the following sections.

4. Model Discriminative Power Experiment

This section evaluates the feature separability and representational capability of the model to verify its ability to distinguish fine-grained loosening states. Both quantitative indicators and visualization results are employed to validate the advantages of the proposed approach.
The primary metric used in the experiment is the Fisher-style separability, which measures the distinction between classes and the cohesion within each class for different loosening states. The core idea is that the separability of the feature space can be quantified by combining the inter-class distance and the intra-class dispersion. A higher separability ratio indicates clearer feature boundaries among loosening states, thereby facilitating more accurate model discrimination.
The key definitions are as follows:
1.
Class Center ( μ c ): The average feature vector of all the samples for a particular loosening state.
2.
Within-Class Distance ( δ intra ( c ) ): The average Euclidean distance between samples of the same class and their class center, measuring within-class cohesion:
δ intra ( c ) = 1 N c i = 1 N c x i ( c ) μ c 2 ,
3.
Between-Class Distance ( δ inter ): The average Euclidean distance between the centers of different classes, measuring class separation:
δ inter = 1 | C | ( | C | 1 ) c d c μ c μ d 2 ,
4.
Global Fisher-style Separability ( ρ ):
ρ = δ inter δ intra .
A larger ρ indicates better “within-class concentration, between-class separation”.
5.
Per-Class Separability Metric ( ρ c ): Refining the separation effect between a single class and the others:
ρ c = 1 | C | 1 d c μ c μ d 2 1 N c i = 1 N c x i ( c ) μ c 2 ,
where: C is the set of all classes and | C | is the total number of classes; μ c is the class center of class c, and μ d is the class center of class d; x i ( c ) denotes the i-th sample feature of class c, and N c is the number of samples in class c; · 2 represents the Euclidean distance. A larger ρ c value indicates a better separation effect between class c and the other classes, implying a lower misclassification rate.
The experimental data covers 3 loosening states across 4 types of bolts, resulting in a total of 12 fine-grained categories. The input features consist of Log-Mel spectrograms combined with first-order and second-order differences, capturing both the static acoustic configuration and temporal variation characteristics, ensuring that the representations effectively reflect loosening-state differences.
Figure 7 presents the 2D t-SNE visualization results of the extracted features, providing an intuitive observation of feature separability:
1.
The severe loosening samples form a distinct cluster with clear boundaries.
2.
The feature clusters of slight loosening and no loosening are locally close, yet the inter-cluster distance under PCT-Net is noticeably larger than that of the comparison model ResNet18, indicating that PCT-Net is more sensitive to subtle acoustic differences and achieves better boundary discrimination.
To ensure the reliability of the t-SNE visualization and mitigate potential biases from parameter selection or stochastic initialization, we explicitly set the perplexity to 30. Furthermore, stability tests were conducted by repeating the dimensionality reduction process across five distinct random seeds (0, 42, 123, 2024, and 3407) using the init=’random’ configuration. The resulting embeddings exhibited high structural consistency in their overall category distributions. Quantitatively, the centroid-distance correlation between different runs remained above 0.996, and the Procrustes disparity was restricted to a narrow range of 0.008–0.017. These metrics confirm that the observed clustering patterns are stable representations of the high-dimensional feature space rather than stochastic artifacts. It should be noted that while t-SNE provides a qualitative auxiliary view of feature separation, the primary evaluation of PCT-Net’s performance relies on the quantitative metrics, such as classification accuracy and confusion matrices, presented in the subsequent sections.
Figure 8 is the Euclidean distance heatmap of the class centers. Darker areas are concentrated between “severe loosening” and the other two categories, while lighter areas correspond to “slight loosening” and “no loosening.” This confirms that the blurry boundaries between these two categories are the main source of confusion, which is consistent with the results from the global Fisher-style separability calculation. From the quantitative comparison of feature separability in Table 2, it can be observed that PCT-Net, with its fusion architecture of “PANNs perceptual feature fronted + CNN local modeling + Transformer global attention”, effectively enhances the separability of bolt loosening state features.
Specifically, in the fine-grained categories, PCT-Net exhibits a larger inter-cluster distance and stronger intra-class cohesion, indicating improved feature concentration and separation. The global Fisher-style separability reaches 1.546, providing a robust foundation for the reliable recognition of subtle bolt loosening states under real-world conditions.
It is worth noting that although ResNet18 achieves a relatively high accuracy of 96.16% and maintains a latency of 2.49 ms, it performs worse than PCT-Net in fine-grained category recognition due to the lack of an explicit temporal modeling mechanism. The pure CNN model, with an extremely small parameter size of 0.024 M and a very low latency of 0.42 ms, shows deployment advantages in extreme edge scenarios. However, its test accuracy is only 82.34%, and its noise resistance remains weak, making it unsuitable for high-reliability industrial applications.
On the other hand, the pure Transformer model performs the worst across all metrics. Although its FLOPs are only 0.172 G, the test accuracy reaches merely 41.65%, approaching random classification. This indicates its lack of ability to model local acoustic structures and its poor adaptability to the bolt-loosening detection task when lacking a convolutional frontend.
To further clarify why the proposed PCT-Net significantly outperforms the comparative methods, it is necessary to examine the underlying differences in their feature extraction mechanisms. First, compared with pure convolutional architectures, PCT-Net overcomes the inherent limitation of localized receptive fields. Although pure CNNs are effective at capturing local high-frequency transient impacts, they are less capable of modeling the macro-level energy decay trend across the entire acoustic sequence. PCT-Net addresses this limitation by introducing a Transformer module to capture long-range global temporal dependencies. Second, compared with the pure Transformer baseline, which shows limited performance on complex acoustic inputs, PCT-Net alleviates the problem of feature fragmentation. Transformers generally lack the spatial inductive bias required to efficiently extract fine-grained time–frequency textures directly from raw inputs. By employing CNNs as an intermediate local feature extractor, PCT-Net enables the Transformer to operate on semantically enriched tokens rather than noisy raw spectrogram patches. Third, compared with recurrent models such as CNN-BiLSTM, the self-attention mechanism in PCT-Net provides a more direct and less attenuated path for information propagation across long acoustic sequences, thereby mitigating the memory loss and gradient attenuation commonly associated with LSTM-based structures. Finally, unlike models that learn temporal-spectral features entirely from scratch, the PANNs frontend provides PCT-Net with an acoustically meaningful representation prior, giving it a clear advantage in extracting robust features under low-SNR conditions.
During the training process, the loss convergence curve of the model is shown in Figure 9. According to the E 95 metric, PCT-Net reaches 95% of its peak validation performance within only 4 epochs, indicating a favorable training pattern characterized by rapid convergence and early stabilization. Furthermore, the gap between the training loss and validation loss remains below 0.05, suggesting stable convergence behavior and strong resistance to overfitting. Overall, the results demonstrate that PCT-Net achieves a good balance among accuracy, efficiency, and stability for the current task. The significant improvement in accuracy (97.12%), together with enhanced robustness and stability, justifies its parameter size (8.112 M) and computational cost (8.222 G FLOPs). Although these computational requirements are slightly higher than those of ultra-lightweight models, they remain lower than those of standard deep networks such as ResNet18 (11.176 M parameters). This favorable trade-off among high accuracy, fast inference speed (2.45 ms), and strong anti-interference capability indicates that PCT-Net is well suited for bolt loosening detection systems and has promising potential for industrial applications.The detailed parameters of the model are listed in Table 2 and Table 3.

5. Ablation Study

To evaluate the actual impact of the proposed frontend feature extraction module and data augmentation mechanism on model performance, an ablation study based on a two-factor interaction design was conducted. Four model combinations were constructed to quantify and analyze their independent and synergistic contributions. Under consistent training settings, backend architecture, and data input, only the frontend feature extraction module and the use of data augmentation were varied.
Specifically, the baseline model employs the default torchaudio acoustic frontend with data augmentation disabled. Its performance, without any optimization, serves as the lower bound for subsequent improvement strategies. The other three configurations include: (1) the torchaudio frontend with SpecAugment enabled, (2) the PANNs frontend without augmentation, and (3) the proposed PCT-Net combining both components.
The experiments were conducted using clean data and two noisy environments (SNR = 15 dB and SNR = 10 dB) to validate the robustness of the models under complex acoustic conditions.
As illustrated in Figure 10 and Figure 11, the proposed model (PANNs + SpecAugment) achieves the highest accuracy of 97.6% on the original clean test set. This corresponds to an improvement of 20.6 percentage points over the baseline model, highlighting the clear advantage of this combination under data-complete conditions. Moreover, under noisy environments with SNRs of 15 dB and 10 dB, the proposed configuration still improves the accuracy by 20.8 and 22.9 percentage points, respectively. Introducing the PANNs frontend alone yields an average accuracy gain of 13.1 percentage points, whereas incorporating SpecAugment alone results in an improvement of 12.8 percentage points. These results demonstrate that both the frontend enhancement and the data augmentation strategy make substantial contributions to improving feature quality and enhancing the generalization capability of the model.
A further comparison of the robustness variations among different combinations under noise interference reveals that upgrading only the frontend significantly reduces the misclassification rate in low-SNR environments. This indicates that the Mel perceptual scale and logarithmic compression mechanisms enhance the stability of time–frequency structures under low signal-to-noise ratios. Meanwhile, the model’s increased tolerance to information loss under mild interference is primarily driven by the data augmentation strategy. Across all tested conditions, the combined configuration consistently achieves the best performance. Therefore, both the advanced frontend and the augmentation strategy should be regarded as essential configurations for real-world deployment.
In conclusion, the frontend feature extraction module constructs more stable and semantically separable feature representations, providing a superior input space structure for the network. Simultaneously, the data augmentation method strengthens the model’s ability to resist disturbances caused by local feature occlusion and uncertainty. Both components are vital for maximizing the model’s performance ceiling and ensuring its robustness against severe interference during engineering deployment. These findings further validate the practical application potential of the proposed structural design in recognizing acoustic vibration signals.
Furthermore, to further clarify the functional necessity of the overall PCT-Net architecture, it is important to analyze the respective physical and algorithmic roles of its core components, including the frontend, the adaptive masking mechanism, and the CNN–Transformer backbone. First, as supported by the performance results above, the PANNs frontend provides a robust pre-trained acoustic representation prior, enabling the model to transfer generalized auditory knowledge to the industrial scenario, thereby alleviating overfitting and accelerating feature convergence. Second, the adaptive spectral masking module serves as an important mechanism for improving robustness against out-of-distribution (OOD) interference. It adaptively suppresses non-stationary background noise while preserving subtle transient signatures associated with early-stage bolt loosening. Third, within the backend architecture, the convolutional modules are mainly responsible for capturing fine-grained local transient patterns, particularly the high-frequency impact-related components contained in the initial stage of acoustic excitation. Finally, the Transformer modules complement the CNN by modeling global temporal dependencies and the overall energy decay trend throughout the tapping process, thereby characterizing the broader structural damping behavior. In summary, the coordinated “decoupling-modeling” framework formed by these components provides an effective pipeline for precise acoustic recognition in complex environments. Moreover, the advantage of combining CNN and Transformer modules, rather than using either in isolation, is also supported by the comparative results presented in our baseline experiments.

6. Conclusions

The article is about the acoustic intelligent recognition of bolt loosening states, which constructs the complete technical process of “preprocessing–time-frequency representation–end-to-end modeling–multi-dimensional evaluation”. In view of the industrial environment with the low SNR of the signal and fuzzy class boundary, this paper proposes the PCT-Net model with frontend feature extraction transfer, convolutional local modeling and Transformer global perception. The three states of “no loosening, slight loosening and severe loosening” are correctly classified. In normal noise conditions, the model achieves a recognition accuracy of 97.12%, which is significantly better than other acoustic models.
The contributions of this article are twofold. It first proposes a spectral masking enhancement scheme whereby interference conditions are simulated during training, thus contributing to a more robust and enhanced generalisation performance. The other contribution is a feature extractor design that combines local convolution and global attention. Doing this allows for better identification of slight variations in bolt tapping sounds, as well as enhancing category boundary discrimination ability. Experiments demonstrate that the method is robust and accurate on various tasks, especially for borderline samples such as slight loosening.
While the current study demonstrates the effectiveness of PCT-Net on widely used industrial bolts under highly subtle state variations, the diversity of the dataset remains limited by the current experimental setup. Future work will focus on expanding the dataset to include a broader range of bolt specifications and more complex multi-state loosening scenarios. In addition, although the current high-strength steel support structures are representative of a large proportion of China’s railway infrastructure, variations in base material properties, such as the use of composite sleepers or damping pads in modern track systems, pose a significant challenge for ultra-precise detection. These materials may introduce stronger acoustic damping and anisotropic wave propagation effects. Nevertheless, the data-driven framework of PCT-Net, particularly its adaptive spectral masking mechanism, provides a flexible foundation for addressing such variability. Future research will further investigate domain adaptation strategies to recalibrate the model under different material damping characteristics, thereby improving its robustness and recognition accuracy across diverse and complex railway environments.
Despite the promising performance of PCT-Net in acoustic bolt loosening detection, several limitations should be acknowledged to guide future research. First, regarding sample diversity, the current dataset, although extensive, was primarily collected in a controlled laboratory environment and may not fully capture the extreme variability of real-world railway conditions, such as high-speed train pass-by noise or complex meteorological interference. Second, the generalization of the model to other industrial scenarios—such as varying bolt sizes, different base materials, or variable tightening torques—requires further in situ empirical validation. Third, as with many deep learning-based frameworks, model interpretability remains a challenge; explicitly visualizing the specific acoustic features emphasized by the Transformer could help bridge the gap between AI predictions and underlying structural dynamics. Regarding practical application scenarios, the current PCT-Net is most suitable for periodic maintenance inspections using robotic arms or portable tapping devices in relatively stable ambient environments, rather than for continuous real-time monitoring under extreme dynamic loads. Future work will focus on collecting more diverse field data, exploring explainable techniques, and extending the model toward broader fastener health monitoring systems.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/electronics15101989/s1, File S1: Highlights of Research Innovations and Technical Breakthroughs.

Author Contributions

Conceptualization, T.W. and P.H.; methodology, T.W. and P.H.; software, P.H. and T.W.; validation, P.H. and T.W.; formal analysis, R.L.; investigation, Y.X. and R.L.; resources, K.X.; data curation, Y.X. and R.L.; writing—original draft preparation, T.W., Y.X. and R.L.; writing—review and editing, T.W., P.H., W.Z. and J.-B.H.; visualization, P.H. and T.W.; supervision, C.W. and K.X. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the National Natural Science Foundation of China (Grant No. 62373372), the National Natural Science Foundation of China (Grant No. 62272485), and College Students’ Innovation and Entrepreneurship Projects (Grant No. Yz2025080).

Data Availability Statement

The data supporting the findings of this study are not publicly available due to privacy and confidentiality requirements. As such, access to the data is restricted to ensure compliance with confidentiality agreements and protection of proprietary information. However, researchers who wish to access the data may contact Wang Tianxin at 2024001825@yangtzeu.edu.cn or He Pumeng at 2024710709@yangtzeu.edu.cn to discuss potential collaborations or data-sharing agreements.

Acknowledgments

Special thanks are hereby expressed to the Natural Science Foundation of China (Grant No. 62373372) and the National Natural Science Foundation of China (Grant No. 62272485).

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

NDTNon-Destructive Testing
PCTPANNs–CNN–Transformer
CNNConvolutional Neural Network
PANNsPre-trained Acoustic Neural Networks

References

  1. Wang, Y.; Chu, G.; Sun, Z.; Yang, F.; Yang, J.; Sun, X.; Zhao, Y.; Teng, S. Review of Health Monitoring and Intelligent Fault Diagnosis for High-Strength Bolts. Buildings 2026, 16, 691. [Google Scholar] [CrossRef]
  2. He, Z.; Chen, W.; Li, Y. Multi-scale experimental study on corrosion-fatigue degradation of bolted connections in marine environments. Eng. Fail. Anal. 2024, 156, 107853. [Google Scholar]
  3. Shenzhen Administration of Work Safety. Investigation Report of the “10-27” Shenzhen Happy Valley Roller Coaster Collision Accident; Technical Report; Shenzhen Administration of Work Safety: Shenzhen, China, 2024. [Google Scholar]
  4. Smith, J. Manual inspection techniques for bolted joint integrity. J. Ind. Maint. 2018, 23, 123–134. [Google Scholar]
  5. Dong, C.-Z.; Catbas, F.N. A review of computer vision–based structural health monitoring at local and global levels. Struct. Health Monit. 2021, 20, 692–743. [Google Scholar] [CrossRef]
  6. Zhang, L.; Zhang, S.; Zhao, X.; Wang, Y. Texture-preserving super-resolution algorithm for bolt loosening detection. Pattern Recognit. 2019, 89, 234–245. [Google Scholar]
  7. Amerini, F.; Meo, M. Structural health monitoring of bolted joints using linear and nonlinear acoustic/ultrasound methods. Struct. Health Monit. 2011, 10, 659–672. [Google Scholar] [CrossRef]
  8. Ramasso, E.; Verdin, B.; Chevallier, G. Monitoring a Bolted Vibrating Structure Using Multiple Acoustic Emission Sensors: A Benchmark. Data 2022, 7, 31. [Google Scholar] [CrossRef]
  9. Wang, F.; Ho, S.C.M.; Song, G. Modeling and analysis of an impact-acoustic method for bolt looseness identification. Mech. Syst. Signal Process. 2019, 133, 106249. [Google Scholar] [CrossRef]
  10. Hao, B.; Su, Y.; Yan, X.; Zhao, Y. Bolt looseness identification using a knocking acoustic signal. J. Phys. Conf. Ser. 2023, 2658, 012027. [Google Scholar] [CrossRef]
  11. Wang, F.; Song, G. Monitoring of multi-bolt connection looseness using a novel vibro-acoustic method. Nonlinear Dyn. 2020, 100, 243–254. [Google Scholar] [CrossRef]
  12. Fan, J.; Chen, W.; Chen, D.; Chen, H.; Luo, L.; Bao, S. Vibro-acoustic modulation-based bolt looseness detection method using frequency sweep probe waves. Nondestruct. Test. Eval. 2023, 39, 1147–1168. [Google Scholar] [CrossRef]
  13. Ovadia, O.; Kahana, A.; Turkel, E.; Dekel, S. Beyond the courant-friedrichs-lewy condition: Numerical methods for the wave problem using deep learning. J. Comput. Phys. 2021, 442, 110493. [Google Scholar] [CrossRef]
  14. Ready, M.; Algazi, V. Application of a simple hearing model to the design of audio filters. In Proceedings of the ICASSP ’84. IEEE International Conference on Acoustics, Speech, and Signal Processing, San Diego, CA, USA, 19–21 March 1984; IEEE: Piscataway, NJ, USA, 2003; pp. 140–143. [Google Scholar] [CrossRef]
  15. Liu, X.; Zhou, X.; Liu, Z.; Wang, Y.; Bai, Q.; Jin, B. Snr enhancement for dual wavelength distributed fiber acoustic sensing system using improved recursive least squares method. Opt. Fiber Technol. 2024, 82, 103648. [Google Scholar] [CrossRef]
  16. Davis, S.; Mermelstein, P. Comparative studies of parametric representations for monosyllabic word recognition in continuously spoken sentences. IEEE Trans. Acoust. Speech Signal Process. 1980, 28, 357–366. [Google Scholar] [CrossRef]
  17. Hermansky, H. Perceptual linear predictive (PLP) analysis of speech. J. Acoust. Soc. Am. 1990, 87, 1738–1752. [Google Scholar] [CrossRef] [PubMed]
  18. Chen, Z.; Huang, H.-Z.; Deng, Z.; Wu, J. Shrinkage mamba relation network with out-of-distribution data augmentation for rotating machinery fault detection and localization under zero-faulty data. Mech. Syst. Signal Process. 2025, 224, 112145. [Google Scholar] [CrossRef]
  19. Chen, Z.; Wu, J.; Deng, Z.; Huang, H.-Z. Learning category-invariant disentangled features for domain generalization in machine fault diagnosis. IEEE/ASME Trans. Mechatron. 2026, 1–11. [Google Scholar] [CrossRef]
  20. Wang, Z.; Chen, J.; Wang, C.; Peng, C.; Xuan, J.; Shi, T.; Zuo, M. CNC-VLM: An RLHF-optimized industrial large vision-language model with multimodal learning for imbalanced CNC fault detection. Mech. Syst. Signal Process. 2026, 245, 113838. [Google Scholar] [CrossRef]
  21. Park, D.S.; Chan, W.; Zhang, Y.; Chiu, C.-C.; Zoph, B.; Cubuk, E.D.; Le, Q.V. SpecAugment: A Simple Data Augmentation Method for Automatic Speech Recognition. Proc. Interspeech 2019, 2613–2617. [Google Scholar] [CrossRef]
  22. Li, Z.; Liu, F.; Yang, W.; Peng, S.; Zhou, J. A survey of convolutional neural networks: Analysis, applications, and prospects. IEEE Trans. Neural Netw. Learn. Syst. 2022, 33, 6999–7019. [Google Scholar] [CrossRef]
  23. Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, Ł.; Polosukhin, I. Attention Is All You Need. In Advances in Neural Information Processing Systems; Guyon, I., Luxburg, U.V., Bengio, S., Wallach, H., Fergus, R., Vishwanathan, S., Garnett, R., Eds.; Curran Associates Inc.: Red Hook, NY, USA, 2017; Volume 30, pp. 5998–6008. [Google Scholar]
  24. Purohit, H.; Tanabe, R.; Ichige, K.; Endo, T.; Nikaido, Y.; Suefusa, K.; Kawaguchi, Y. MIMII Dataset: Sound Dataset for Malfunctioning Industrial Machine Investigation and Inspection. arXiv 2019, arXiv:1909.09347. [Google Scholar] [CrossRef]
Figure 1. Algorithm workflow. The arrows indicate the direction of data flow, and different colors represent distinct functional modules.
Figure 1. Algorithm workflow. The arrows indicate the direction of data flow, and different colors represent distinct functional modules.
Electronics 15 01989 g001
Figure 2. Workflow of acoustic feature extraction.
Figure 2. Workflow of acoustic feature extraction.
Electronics 15 01989 g002
Figure 3. Multi-Layer Convolutional Feature Extraction Diagram. The arrows indicate the direction of data flow.
Figure 3. Multi-Layer Convolutional Feature Extraction Diagram. The arrows indicate the direction of data flow.
Electronics 15 01989 g003
Figure 4. Transformer-based global feature modeling. Different colored arrows indicate distinct data flow paths.
Figure 4. Transformer-based global feature modeling. Different colored arrows indicate distinct data flow paths.
Electronics 15 01989 g004
Figure 5. Experimental platform and method.The arrows point to the specific components of the experimental apparatus.
Figure 5. Experimental platform and method.The arrows point to the specific components of the experimental apparatus.
Electronics 15 01989 g005
Figure 6. Line plot of Accuracy (Acc) as a function of SNR.
Figure 6. Line plot of Accuracy (Acc) as a function of SNR.
Electronics 15 01989 g006
Figure 7. t-SNE dimensionality reduction visualization results of the input features.
Figure 7. t-SNE dimensionality reduction visualization results of the input features.
Electronics 15 01989 g007
Figure 8. Euclidean distance heatmap between class centers.
Figure 8. Euclidean distance heatmap between class centers.
Electronics 15 01989 g008
Figure 9. Loss Convergence Curve.
Figure 9. Loss Convergence Curve.
Electronics 15 01989 g009
Figure 10. Ablation on FrontEnd & SpecAug under the noisy environment (SNR = 10 dB).
Figure 10. Ablation on FrontEnd & SpecAug under the noisy environment (SNR = 10 dB).
Electronics 15 01989 g010
Figure 11. Ablation on FrontEnd & SpecAug under the severe noisy environment (SNR = 15 dB).
Figure 11. Ablation on FrontEnd & SpecAug under the severe noisy environment (SNR = 15 dB).
Electronics 15 01989 g011
Table 1. The accuracy (Acc) corresponding to SNR in each scenario.
Table 1. The accuracy (Acc) corresponding to SNR in each scenario.
SNR (dB)Noise1 (%)Noise2 (%)Noise3 (%)
2097.797.998.0
1096.096.598.0
580.288.396.8
040.458.593.7
5 11.122.878.5
Table 2. Fisher-style separability metrics of each model in the feature representation space.
Table 2. Fisher-style separability metrics of each model in the feature representation space.
Model δ intra δ inter Fisher-Style Ratio
PCT-Net0.09790.15131.546
CNN-BiLSTM0.02820.04461.582
CNN0.02820.04461.582
Transformer0.0980.1511.55
ResNet180.0980.1511.55
Table 3. Model Performance Comparison.
Table 3. Model Performance Comparison.
ModelParams (M)FLOPs (G)Latency (ms)FPSVal Best E 95 Test Acc
PCT-Net8.1128.2222.454070.957840.9712
ResNet1811.1764.122.494020.944370.9616
CNN-BiLSTM0.4020.1180.5617860.8157310.8580
CNN0.0240.1020.4223850.8042410.8234
Transformer0.5400.1721.935180.3916130.4165
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.

Share and Cite

MDPI and ACS Style

Wang, T.; He, P.; Xie, K.; Lei, R.; Xiong, Y.; Wen, C.; Zhang, W.; He, J.-B. PCT-Net: A Multi-Scenario Noise-Adaptive Fusion Network for Bolt Loosening Detection. Electronics 2026, 15, 1989. https://doi.org/10.3390/electronics15101989

AMA Style

Wang T, He P, Xie K, Lei R, Xiong Y, Wen C, Zhang W, He J-B. PCT-Net: A Multi-Scenario Noise-Adaptive Fusion Network for Bolt Loosening Detection. Electronics. 2026; 15(10):1989. https://doi.org/10.3390/electronics15101989

Chicago/Turabian Style

Wang, Tianxin, Pumeng He, Kai Xie, Rongmei Lei, Yuehao Xiong, Chang Wen, Wei Zhang, and Jian-Biao He. 2026. "PCT-Net: A Multi-Scenario Noise-Adaptive Fusion Network for Bolt Loosening Detection" Electronics 15, no. 10: 1989. https://doi.org/10.3390/electronics15101989

APA Style

Wang, T., He, P., Xie, K., Lei, R., Xiong, Y., Wen, C., Zhang, W., & He, J.-B. (2026). PCT-Net: A Multi-Scenario Noise-Adaptive Fusion Network for Bolt Loosening Detection. Electronics, 15(10), 1989. https://doi.org/10.3390/electronics15101989

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop