Bearing fault diagnosis method based on multi-modal vibration characterization and physical prior fusion of large language model

The large language model bearing fault diagnosis method, which integrates multimodal vibration characterization and physical priors, solves the problems of insufficient non-stationary signal representation, insufficient expression of single-modal features, and insufficient identification stability under noisy environments in the fault diagnosis of rolling bearings of davits, and achieves high accuracy and high robustness in fault identification.

CN123179206APending Publication Date: 2026-11-27BEIHANG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611299700.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-26
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies for fault diagnosis of rolling bearings in davits have limitations in effectively characterizing non-stationary vibration signals, lacking sufficient expression of single-mode features, failing to fully utilize fault mechanism knowledge in deep learning models, and exhibiting insufficient stability in fault identification under strong noise environments.

Method used

A bearing fault diagnosis method based on a large language model that integrates multimodal vibration characterization and physical priors is proposed. The method generates time-frequency images by using sliding window segmented sampling and continuous wavelet transform. It combines residual one-dimensional convolution and cross-modal attention mechanism to construct physical priors using the bearing theoretical fault frequency and time-domain and frequency-domain statistical features. These priors are then input into the large language model for contextual modeling and fault classification.

Benefits of technology

It improves the accuracy, robustness, and interpretability of fault diagnosis for davit bearings, and is suitable for fault identification under complex working conditions. In particular, it can stably identify local impact characteristics and time-frequency energy distribution in high-noise environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123179206A_ABST
    Figure CN123179206A_ABST
Patent Text Reader

Abstract

The application discloses a bearing fault diagnosis method based on a multimodal vibration characterization and physical prior fusion large language model, and belongs to the technical field of ship equipment health monitoring and intelligent maintenance. First, a one-dimensional vibration sample is constructed, a time-frequency image is generated through continuous wavelet transform, and local impact and time-frequency energy distribution are depicted. Second, a residual one-dimensional convolution module is introduced, and a cross-modal attention mechanism is adopted to realize information fusion between one-dimensional vibration features and two-dimensional time-frequency image features. Finally, physical prior prompts are constructed in combination with bearing theoretical fault frequencies and sample-level time domain and frequency domain statistical features, and the physical prior prompts are input into a large language model together with multimodal features to perform context modeling and fault classification. The application can consider local impact features and time-frequency energy distribution features, improve the expression capability of non-stationary vibration signals, improve fault recognition accuracy, enhance the comprehensive utilization capability of the model for multiple source features under complex working conditions, and is suitable for ship lifesaving equipment health monitoring and intelligent maintenance scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of ship equipment health monitoring and intelligent maintenance technology, and relates to a bearing fault diagnosis method based on a large language model fusion of multimodal vibration characterization and physical priors. Addressing problems such as non-stationary vibration signals, strong noise interference, insufficient expression of single-modal features, and difficulty in effectively integrating fault mechanism knowledge into deep models, the invention involves sliding window vibration signal segmentation sampling, continuous wavelet transform time-frequency image generation, residual one-dimensional convolution feature enhancement, cross-modal attention information fusion, physical prior hints constructed from bearing theoretical fault frequencies and time-frequency domain statistical features, and contextual modeling and fault classification using a multimodal large language model. Background Technology

[0002] The davit is a key component in a ship's lifesaving system, enabling the raising and lowering of lifeboats and emergency deployment. Its operational reliability directly affects the ship's emergency escape capability. Davit rolling bearings operate under complex environments such as low-speed heavy loads, intermittent starts and stops, impact loads, and marine salt spray, making them prone to localized damage to the inner and outer rings or rolling elements. Failure to identify faults promptly can lead to davit malfunctions, operational instability, or even emergency deployment failure.

[0003] Local defects in rolling bearings typically trigger periodic impacts, which manifest in the envelope spectrum as characteristic frequencies of the inner ring, outer ring, rolling elements, or cage. Existing bearing fault diagnosis methods mainly include traditional signal processing methods and deep learning methods. Traditional methods rely on manual extraction of time-domain, frequency-domain, or time-frequency-domain features, offering some interpretability, but lack robustness under strong noise, weak impact, and non-stationary operating conditions. Deep learning methods can automatically learn fault features in vibration signals, but a single one-dimensional vibration sequence model struggles to simultaneously characterize local impact morphology and time-frequency energy distribution, and its utilization of fault mechanism knowledge is insufficient. In recent years, time-frequency analysis methods such as continuous wavelet transform have been used to convert vibration signals into time-frequency images to characterize transient impacts and energy distribution features in non-stationary signals; multimodal fusion methods are also increasingly used to comprehensively utilize one-dimensional vibration sequences and two-dimensional time-frequency image information to improve fault identification accuracy. However, existing methods often focus on feature splicing or attention fusion, failing to adequately utilize prior physical information such as theoretical bearing fault frequencies and statistical characteristics, resulting in limited mechanistic relevance and interpretability of the model diagnosis process. Large language models provide a new technical approach for multi-source information fusion and fault diagnosis interpretation, but they do not directly understand the physical meaning of vibration signals and need to be constrained by prior information such as bearing fault frequency, time-domain statistical characteristics and frequency-domain statistical characteristics.

[0004] Therefore, there is an urgent need for a fault diagnosis method for davit rolling bearings that can integrate vibration sequences, time-frequency images, and prior physical knowledge to improve diagnostic accuracy, robustness, and interpretability under complex operating conditions. This invention proposes a fault identification method for davit bearings based on the fusion of multimodal vibration characterization and prior physical knowledge. Summary of the Invention

[0005] This application addresses the challenge of fault diagnosis for rolling bearings in davits under conditions such as low-speed heavy load, intermittent start-stop, impact load, and marine noise interference. It provides a large-scale language model-based bearing fault diagnosis method based on the fusion of multimodal vibration characterization and physical priors. First, the invention utilizes a sliding window approach to segment and sample the original vibration signal, constructing a one-dimensional vibration sample. A time-frequency image is generated through continuous wavelet transform, simultaneously characterizing local impact and time-frequency energy distribution. Second, a residual one-dimensional convolution module is introduced to enhance the extraction capability of sequential local fault modes, and a cross-modal attention mechanism is employed to achieve information fusion between one-dimensional vibration features and two-dimensional time-frequency image features. Finally, physical priors are constructed by combining the bearing's theoretical fault frequency with sample-level time-domain and frequency-domain statistical features. These priors, along with multimodal features, are input into a large-scale language model for contextual modeling and fault classification.

[0006] Compared to existing methods, the method of this invention not only focuses on the discriminative power of data-driven features, but also enhances the correlation between the model diagnostic process and the bearing failure mechanism through physical prior hints, thereby improving the accuracy, robustness, and interpretability of davit bearing failure identification. It can primarily solve the following problems in the prior art: (1) Problem of non-stationary vibration signals being difficult to effectively characterize: The vibration signals of davit bearings often exhibit weak impact, frequency fluctuation, energy change and non-stationary characteristics, and traditional time domain or frequency domain analysis methods are difficult to extract effective fault information stably.

[0007] (2) Problem of insufficient expression of single modal features: relying solely on one-dimensional vibration sequences or single time-frequency images for diagnosis makes it difficult to simultaneously characterize local impact features and time-frequency energy distribution, resulting in insufficient accuracy and robustness of fault identification under complex working conditions.

[0008] (3) The problem of insufficient utilization of fault mechanism knowledge in deep models: existing deep learning models rely heavily on data-driven features, making it difficult to effectively integrate bearing theoretical fault frequency, time-domain statistical features and frequency-domain statistical features, and the diagnostic process lacks mechanism correlation and interpretability.

[0009] (4) Problem of insufficient stability of fault identification under strong noise environment: Under strong noise and operating condition fluctuation, the early fault impact is easily masked by environmental interference and structural transmission path, and existing methods are prone to misjudgment or omission.

[0010] To achieve the above objectives, the technical solution adopted by the present invention is as follows: A bearing fault diagnosis method based on a large linguistic model that integrates multimodal vibration characterization and physical priors includes the following steps: Step 1: Perform vibration signal segmentation and dataset construction. Obtain the original bearing vibration signals with category labels. Standardize the data according to the data source requirements. Use a sliding window to divide the continuous vibration signal into fixed-length one-dimensional vibration sequences. Divide the sequence into training, validation, and test sets according to a preset ratio to obtain a one-dimensional vibration sequence sample set and corresponding category labels. Specifically: Step 1.1: Obtain the original vibration signal of the bearing. and its corresponding category label y; where the categories include normal state, inner ring failure, outer ring failure and rolling element failure; The vibration acceleration amplitude at the first sampling point. The vibration acceleration amplitude at the second sampling point. The vibration acceleration amplitude at the Nth sampling point. This represents the number of sampling points for a single sample signal.

[0011] Step 1.2: Based on the original bearing vibration signal obtained in Step 1.1, let the sliding window length be L and the overlap length be O, then the window step size S is expressed as: Where L represents the number of sampling points contained in each window, O represents the number of overlapping sampling points between adjacent windows, and S represents the sampling point interval between the starting positions of adjacent windows.

[0012] Step 1.3: Based on the window step size S obtained in Step 1.2, the original vibration signal of the bearing is divided into a one-dimensional vibration sequence of fixed length, with the i-th window sample... Represented as: Where i represents the window sample number; This represents the one-dimensional vibration sequence corresponding to the i-th window; Let be the vibration signal amplitude at the first sampling point within the i-th sliding window; Let be the vibration signal amplitude at the second sampling point within the i-th sliding window; Let be the vibration signal amplitude at the Lth sampling point within the i-th sliding window.

[0013] Step 1.4: Based on the one-dimensional vibration sequence obtained in Step 1.3, each window sample inherits the corresponding category label and is divided into training set, validation set and test set according to a preset ratio; wherein, the training set is used for model parameter update, the validation set is used for generalization performance observation during the training process, and the test set is used for final diagnostic performance evaluation.

[0014] Step 2: Based on the one-dimensional vibration sequence obtained in Step 1, perform continuous wavelet transform (CWT) on each window sample to generate a corresponding two-dimensional CWT time-frequency image, thus obtaining a multimodal sample composed of the one-dimensional vibration sequence and the two-dimensional CWT time-frequency image; specifically: Step 2.1, for the i-th one-dimensional vibration sequence obtained in Step 1 Perform continuous wavelet transform to obtain the corresponding two-dimensional CWT time-frequency image. : in, This represents a continuous wavelet time-frequency transform operation. This represents the two-dimensional CWT time-frequency image corresponding to the i-th window sample.

[0015] Step 2.2: Based on the two-dimensional CWT time-frequency image obtained in Step 2.1, compare it with the one-dimensional vibration sequence corresponding to the same window. A one-to-one correspondence is established between the category label yi and the sample input required for subsequent multimodal feature extraction.

[0016] Step 3: Based on the multimodal samples obtained in Step 2, one-dimensional vibration sequence features and two-dimensional CWT time-frequency image features are extracted through residual one-dimensional convolutional sequence coding branch and image coding branch, respectively. These are then exchanged bidirectionally through a cross-modal attention fusion module to obtain fused features. Specifically: Step 3.1, convert the one-dimensional vibration sequence The input uses a sequence encoding branch with a residual one-dimensional convolutional structure to obtain sequence features. : in, Represents the sequence feature encoding function. Used to characterize local impact response and short-time fault modes in bearing vibration signals.

[0017] Step 3.2: Input the two-dimensional CWT time-frequency image obtained in Step 2 into the image coding branch, and then process it through the image feature coding function. f i (·) Obtain image features It is used to characterize energy distribution information on the time-frequency plane.

[0018] Step 3.3, take the sequence features obtained in step 3.1 and the image features obtained in step 3.2 Input the cross-modal attention fusion module to obtain fused features. : in, This represents the cross-modal attention fusion function. This indicates a multimodal fusion feature that simultaneously contains temporal local impact information and time-frequency energy distribution information after fusion.

[0019] Step 4: Based on the one-dimensional vibration sequence obtained in Step 1, as well as the bearing structural parameters and operating status, calculate the theoretical fault frequency and extract time-domain and frequency-domain statistical features. Diagnostic clues are formed based on frequency matching relationships and impact indicators, and organized into physical prior information text. Specifically: Step 4.1: Calculate the theoretical failure frequency of the bearing based on the bearing structural parameters and operating status. The theoretical failure frequency includes at least the outer ring failure characteristic frequency BPFO, the inner ring failure characteristic frequency BPFI, and the rolling element failure characteristic frequency BSF.

[0020] Step 4.2, for the i-th one-dimensional vibration sequence Extract time-domain and frequency-domain statistical features; the time-domain statistical features include mean, standard deviation, peak value, kurtosis, and kurtosis factor, and the frequency-domain statistical features include main peak frequency, root mean square frequency, and center frequency.

[0021] Step 4.3: Organize the theoretical fault frequency obtained in Step 4.1, the time-domain statistical features and frequency-domain statistical features obtained in Step 4.2, along with the dataset description, diagnostic task, candidate categories, and diagnostic clues, into a physical prior information text. : in, This represents the time-domain statistical characteristics of the i-th sample. This represents the frequency domain statistical characteristics of the i-th sample. Indicates the theoretical failure frequency of the bearing. This indicates the function that generates the prompt text.

[0022] Step 4.4 compares the difference between the sample's main peak frequency and BPFO, BPFI, and BSF, and judges the signal's impulsiveness by combining kurtosis and kurtosis factor. When the preset frequency tolerance or impulsiveness threshold is met, the corresponding diagnostic clue is added to the physical prior information text. The diagnostic clue is not directly written into the real category label. The preset frequency tolerance refers to the allowable frequency deviation range of the bearing's theoretical fault characteristic frequencies BPFO, BPFI, and BSF, used to match the measured main peak of the spectrum with the theoretical fault characteristic frequencies. The preset frequency tolerance can be determined based on the sampling frequency, frequency resolution, and speed fluctuation degree, and the value range of the frequency tolerance is 0.5Hz to 5Hz. The impulsiveness threshold refers to the judgment threshold used to measure the strength of the vibration signal's impact pulse, including the kurtosis threshold and the kurtosis factor threshold. The kurtosis threshold and the kurtosis factor threshold can be determined based on the statistical distribution of normal bearing samples, with the kurtosis threshold ranging from 3.5 to 8 and the kurtosis factor threshold ranging from 4 to 9.

[0023] Step 5: Based on the multimodal fusion features obtained in Step 3 and the physical prior information obtained in step 4 The prompt text is converted into a prompt embedding. The multimodal fusion features are mapped to feature embeddings that GPT-2 can accept via a feature reprogramming module. Both are then input into GPT-2 for contextual modeling. The bearing fault category probability is obtained through a classification output layer and used as the diagnostic model. Specifically: The physical prior cue text Pi obtained in step 4 is processed by a word segmenter and a word embedding layer to obtain the cue embedding. : in, This indicates word segmentation operation. Represents word embedding mapping, This indicates the embedding of the hint corresponding to the physical prior hint text.

[0024] The fused feature Hf obtained in step 3 is input into the feature reprogramming module and combined with the basic word vector set in the GPT-2 word embedding space (using GPT-2 as the text semantic encoder). This yields reprogrammable feature embeddings that match the GPT-2 embedding space. : in, This represents a feature reprogramming function. This represents the set of basic word vectors in the GPT-2 word embedding space. This represents the reprogrammed multimodal feature embedding.

[0025] Embed the obtained prompts and the obtained reprogramming feature embedding Together, they form the GPT-2 input embedding E, and are input into GPT-2 for context modeling to obtain the context-hidden representation Z: The obtained context hiding representation is input to the classification output layer (Z), and the fault category probability distribution is obtained by passing it through the Softmax function: in, and These represent the weight matrix and bias vector of the classification output layer, respectively. This represents the probability distribution of the predicted fault categories; the category with the highest probability is taken as the diagnostic result.

[0026] Step 6: Based on the training set, validation set, and test set defined in Step 1, train, validate, and test the diagnostic model established in Step 5. Evaluate the diagnostic performance using test accuracy, macro-average F1 score, and t-distributed random neighborhood embedding (t-SNE) feature visualization to obtain the trained bearing fault diagnosis model and its diagnostic results; specifically: The diagnostic model's parameters are updated using the training set obtained in step 1. Cross-entropy loss is used as the classification training objective, and the convergence and generalization performance during training are verified using the validation set. The trained diagnostic model is then evaluated using the test set obtained in step 1. Test accuracy and macro-average F1 score are calculated, and t-SNE is used to map the model's high-dimensional features to a two-dimensional space to evaluate the clustering of similar samples and the separability of samples from different categories.

[0027] Ablation experiments were conducted by removing or combining residual one-dimensional convolutional modules, cross-modal attention fusion modules, and physical prior cue modules, and the results were validated on publicly available bearing data and davit rolling bearing fault data to evaluate the diagnostic effectiveness of each module and the complete model.

[0028] The beneficial effects of this invention are: (1) The present invention utilizes both one-dimensional vibration sequence and continuous wavelet time-frequency image, which can take into account both local impact characteristics and time-frequency energy distribution characteristics, thus improving the ability to express non-stationary vibration signals.

[0029] (2) The present invention introduces a residual one-dimensional convolution module, which enhances the ability to extract early weak impact and local fault modes of bearings and improves the fault identification accuracy in strong noise environment.

[0030] (3) The present invention adopts a cross-modal attention mechanism to realize the information fusion between one-dimensional vibration features and two-dimensional time-frequency image features, thereby enhancing the model's ability to comprehensively utilize multi-source features under complex working conditions.

[0031] (4) The present invention constructs the theoretical failure frequency, time-domain statistical characteristics and frequency-domain statistical characteristics of bearings into physical prior information, and inputs them together with multimodal features into a large language model, thereby improving the correlation and interpretability between the diagnostic process and the fault mechanism.

[0032] (5) The present invention has a high diagnostic accuracy and good generalization ability in actual davit bearing failure data, and is applicable to health monitoring and intelligent maintenance scenarios of ship lifesaving equipment. Attached Figure Description

[0033] Figure 1 This is a flowchart of a bearing fault diagnosis method based on a large linguistic model using multimodal vibration characteristics and physical prior hints.

[0034] Figure 2 This is a normal vibration signal from the rolling bearing of the davit frame.

[0035] Figure 3 This is a vibration signal indicating a fault in the inner ring of the rolling bearing of the davit frame.

[0036] Figure 4 This is a vibration signal indicating a fault in the outer ring of the rolling bearing of the davit frame.

[0037] Figure 5 This is a vibration signal indicating a fault in the rolling elements of the davit frame's rolling bearing.

[0038] Figure 6 For the accuracy training curve.

[0039] Figure 7 This is the training curve for loss.

[0040] Figure 8 This is a t-SNE feature distribution diagram of the model proposed in this invention.

[0041] Figure 9 Visualize the t-SNE features of TimesNet.

[0042] Figure 10 Visualize the t-SNE features of ModernTCN.

[0043] Figure 11 Visualize the SNE features of TimesNet. Detailed Implementation

[0044] The present invention will be further described below with reference to specific implementation examples.

[0045] This embodiment uses test data on the failure of rolling bearings of a davit frame as the object, and implements the method of the present invention sequentially according to steps 1 to 6 as described in the invention description. The method flow is as follows: Figure 1 As shown, the details are as follows: Step 1: Perform vibration signal segmentation and dataset construction. Collect continuous vibration signals of the davit rolling bearing with category labels of normal state, inner race fault, outer race fault, and rolling element fault. Standardize the selected sensor channels and use a sliding window to obtain a fixed-length one-dimensional vibration sequence. Divide the sequence into training, validation, and test sets according to a preset ratio to obtain a one-dimensional vibration sequence sample set and corresponding category labels; specifically: Step 1.1: In this embodiment, a simulation test of rolling bearing failure of the davit frame is conducted on a dedicated gyratory test bench. The test bench mainly consists of a main platform, support base, gyratory drive mechanism, electrical control box, and gantry crane, and is used to simulate the roll and pitch motion conditions of a ship during sea navigation. The test is conducted under a basic attitude with both pitch and roll angles of 5°, and the gyratory period is set to 200s. The inner and outer ring bearing failures are constructed using a wire cutting method to create localized faults, while the rolling element failures are constructed by cutting the rolling elements. The vibration sensor sampling frequency is 12800Hz, and the continuous vibration signal from the axial sensor channel is selected as diagnostic data, categorized as normal state, inner ring failure, outer ring failure, and rolling element failure. The overall parameters of the davit frame are shown in Table 1.

[0046] Table 1: Overall Parameters of the Davits

[0047] Step 1.2: Based on the original bearing vibration signal obtained in Step 1.1, let the sliding window length be L and the overlap length be O, then the window step size S is expressed as: Where L represents the number of sampling points contained in each window, O represents the number of overlapping sampling points between adjacent windows, and S represents the sampling point interval between the starting positions of adjacent windows. In this embodiment, the window length L is set to 8192 sampling points, and the overlap length O is preset to 4096 based on the length of the continuous sampling segment.

[0048] Step 1.3: Based on the window step size S obtained in Step 1.2, the original vibration signal of the bearing is divided into a one-dimensional vibration sequence of fixed length, with the i-th window sample... Represented as: Where i represents the window sample number; This represents the one-dimensional vibration sequence corresponding to the i-th window; Let be the vibration signal amplitude at the first sampling point within the i-th sliding window; Let be the vibration signal amplitude at the second sampling point within the i-th sliding window; Let be the vibration signal amplitude at the Lth sampling point within the i-th sliding window. Following the above method, 150 window samples are extracted from each of the four data categories: normal state, inner race fault, outer race fault, and rolling element fault, resulting in a total of 600 one-dimensional vibration sequence samples. Each window sample inherits the corresponding fault category label.

[0049] Step 1.4: Based on the 600 samples obtained in Step 1.3, divide them into training set, validation set and test set in a ratio of approximately 8:1:1. The training set is used to update the diagnostic model parameters, the validation set is used to observe the convergence and generalization performance during the training process, and the test set is only used for the final diagnostic performance evaluation and does not participate in the model parameter update.

[0050] Step 2: Based on the one-dimensional vibration sequence obtained in Step 1, perform continuous wavelet transform (CWT) on each window sample to generate a corresponding two-dimensional CWT time-frequency image, thus obtaining a multimodal sample composed of the one-dimensional vibration sequence and the two-dimensional CWT time-frequency image; specifically: Step 2.1, for the i-th one-dimensional vibration sequence obtained in Step 1 Perform continuous wavelet transform to obtain the corresponding two-dimensional CWT time-frequency image. : in, This represents a continuous wavelet time-frequency transform operation. This represents the two-dimensional CWT time-frequency image corresponding to the i-th window sample.

[0051] Step 2.2: Based on the two-dimensional CWT time-frequency image obtained in Step 2.1, compare it with the one-dimensional vibration sequence corresponding to the same window. A one-to-one correspondence is established with the category labels to obtain the sample input required for subsequent multimodal feature extraction, such as normal bearings, inner ring fault bearings, outer ring fault bearings, and rolling element fault bearings. Figures 2-5 As shown.

[0052] Step 3: Based on the multimodal samples obtained in Step 2, one-dimensional vibration sequence features and two-dimensional CWT time-frequency image features are extracted through residual one-dimensional convolutional sequence coding branch and image coding branch, respectively. These are then exchanged bidirectionally through a cross-modal attention fusion module to obtain fused features. Specifically: Step 3.1, convert the one-dimensional vibration sequence The input uses a sequence encoding branch with a residual one-dimensional convolutional structure to obtain sequence features. : in, Represents the sequence feature encoding function. Used to characterize local impact response and short-time fault modes in bearing vibration signals.

[0053] Step 3.2: Input the two-dimensional CWT time-frequency image obtained in Step 2 into the image coding branch, and then process it through the image feature coding function. f i (·) Obtain image features It is used to characterize energy distribution information on the time-frequency plane.

[0054] Step 3.3, take the sequence features obtained in step 3.1 and the image features obtained in step 3.2 Input the cross-modal attention fusion module to obtain fused features. : in, This represents the cross-modal attention fusion function. This indicates a multimodal fusion feature that simultaneously contains temporal local impact information and time-frequency energy distribution information after fusion.

[0055] Step 4: Based on the one-dimensional vibration sequence obtained in Step 1 and the structural parameters and operating state of the tested bearing, calculate the theoretical failure frequency of the bearing, extract time-domain and frequency-domain statistical features, and form diagnostic clues based on frequency matching relationships and impact indicators, organizing them into physical prior information text P_i; specifically: Step 4.1: Calculate the theoretical fault frequencies based on the structural parameters and operating conditions of the bearing under test in this embodiment, obtaining at least the outer ring fault characteristic frequency (BPFO), the inner ring fault characteristic frequency (BPFI), and the rolling element fault characteristic frequency (BSF). These theoretical fault frequencies serve as the physical benchmark for subsequent sample measured frequency matching.

[0056] Step 4.2: Extract time-domain and frequency-domain statistical features from the i-th one-dimensional vibration sequence X_i obtained in Step 1; wherein, the time-domain statistical features include mean, standard deviation, peak value, kurtosis and kurtosis factor, and the frequency-domain statistical features include main peak frequency, root mean square frequency and center frequency.

[0057] Step 4.3: Organize the theoretical fault frequency obtained in Step 4.1, the time-domain statistical features and frequency-domain statistical features obtained in Step 4.2, along with the dataset description, diagnostic task, candidate categories, and diagnostic clues, into a physical prior information text. : in, This represents the time-domain statistical characteristics of the i-th sample. This represents the frequency domain statistical characteristics of the i-th sample. Indicates the theoretical failure frequency of the bearing. This indicates the function that generates the prompt text.

[0058] This embodiment uses a fixed-format English prompt text. The variable items are written from the calculation results of the current sample, and the format is as follows: <|start_prompt|> Dataset description: The data are bearing vibration signals collectedunder different operating conditions. Each sample is a windowed vibrationsegment with its corresponding time-frequency representation, used forbearing condition classification. Task description: classify the bearing condition into one of the candidate classes: normal, ball fault, inner race fault, or outer race fault. Known theoretical fault frequencies: BPFO is {BPFO_value} Hz for outer race fault, BPFI is {BPFI_value} Hz for inner race fault, BSF is {BSF_value} Hz for ball fault. Input time-domain features: mean {mean_value}, standard deviation{std_deviation}, peak value {peak_value}, kurtosis {kurt}, kurtosis factor{kurtosis_factor}. Input frequency-domain features: peak frequency {peak_frequency} Hz, RMS frequency {rms_frequency} Hz, center frequency {center_frequency} Hz. Diagnostic hints: {diagnostic_hints} <|end_prompt|> Step 4.4 compares the differences between the sample's main peak frequency and BPFO, BPFI, and BSF, and combines kurtosis and kurtosis factor to determine the impact of the vibration signal. When the difference between the sample's main peak frequency and a certain theoretical fault frequency is not greater than a preset frequency tolerance, the corresponding frequency matching diagnostic clue is added to diagnostic_hints; when the kurtosis or kurtosis factor reaches the corresponding impact threshold, a diagnostic clue indicating that the signal has obvious impact characteristics is added. The frequency tolerance is set to 3Hz; the kurtosis threshold is set to 6, and the kurtosis factor threshold is set to 7. The diagnostic clues only provide fault mechanism-related hints and are not directly written into the current sample's true category label.

[0059] Step 5: Based on the multimodal fusion features obtained in Step 3 and the physical prior information obtained in step 4 The prompt text is converted into a prompt embedding. The multimodal fusion features are mapped to feature embeddings that GPT-2 can accept via a feature reprogramming module. Both are then input into GPT-2 for contextual modeling. The bearing fault category probability is obtained through a classification output layer and used as the diagnostic model. Specifically: The physical prior cue text Pi obtained in step 4 is processed by a word segmenter and a word embedding layer to obtain the cue embedding. : in, This indicates word segmentation operation. Represents word embedding mapping, This indicates the embedding of the hint corresponding to the physical prior hint text.

[0060] The fused feature Hf obtained in step 3 is input into the feature reprogramming module and combined with the basic word vector set in the GPT-2 word embedding space (using GPT-2 as the text semantic encoder). This yields reprogrammable feature embeddings that match the GPT-2 embedding space. : in, This represents a feature reprogramming function. This represents the set of basic word vectors in the GPT-2 word embedding space. This represents the reprogrammed multimodal feature embedding.

[0061] Embed the obtained prompts and the obtained reprogramming feature embedding Together, they form the GPT-2 input embedding E, and are input into GPT-2 for context modeling to obtain the context-hidden representation Z: The obtained context hiding representation is input to the classification output layer (Z), and the fault category probability distribution is obtained by passing it through the Softmax function: in, and These represent the weight matrix and bias vector of the classification output layer, respectively. This represents the probability distribution of the predicted fault categories; the category with the highest probability is taken as the diagnostic result.

[0062] Step 6: Based on the training set, validation set, and test set defined in Step 1, train, validate, and test the diagnostic model established in Step 5. Evaluate the diagnostic performance using test accuracy, macro-average F1 score, and t-SNE feature visualization to obtain the trained bearing fault diagnosis model and its diagnostic results; specifically: The diagnostic model's parameters were updated using the training set obtained in step 1. The cross-entropy loss function was used as the classification training objective, the Adam optimizer was employed, the number of training epochs was set to 50, the batch size to 4, and the learning rate to 0.0001. The convergence and generalization performance during training were observed using the validation set. The accuracy curve during training is shown below. Figure 6 And loss curves as Figure 7 These are used to reflect changes in classification performance and model convergence, respectively.

[0063] The test set obtained in step 1 is used to perform the final performance evaluation of the trained diagnostic model. The test accuracy and macro-average F1 score are calculated, and the high-dimensional features output by the model are mapped to a two-dimensional space using t-SNE. The feature discrimination ability is evaluated by the clustering of similar samples and the separability of samples of different categories.

[0064] To evaluate the effects of the residual one-dimensional convolution module, the cross-modal attention fusion module, and the physical prior cue module, eight ablation experiments were conducted by removing or combining these three modules. M1 represents the original multimodal model without the three enhancement modules; M2 only includes the residual one-dimensional convolution module; M3 only includes the cross-modal attention fusion module; M4 only includes the physical prior cue module; M5 includes both the residual one-dimensional convolution module and the cross-modal attention fusion module; M6 includes both the residual one-dimensional convolution module and the physical prior cue module; M7 includes both the cross-modal attention fusion module and the physical prior cue module; and M8 is the complete model containing all three modules. The ablation experiment results are shown in Table 2.

[0065] Table 2: Ablation Experiment Results of Rolling Bearing Dataset for Davit Frame

[0066] The original multimodal model M1 achieved a test accuracy of 90.00% and an F1 score of 91.00%. Model M2, which only incorporates a residual one-dimensional convolution module, improved to 96.67% and 96.80%, indicating that residual convolution can enhance the local impact characteristics in vibration sequences. Model M4, which only incorporates a physical prior cue module, also achieved 96.67% and 96.80%, demonstrating that theoretical fault frequencies and statistical characteristics can provide effective mechanistic constraints for the diagnostic process. Model M5 showed a significant performance decline under the current data and parameter settings, indicating training instability when directly fusing the residual-enhanced sequence features with time-frequency image features through cross-modal attention. The complete model M8 achieved the best results, with a test accuracy of 98.33% and an F1 score of 97.99%, demonstrating that the synergistic use of residual one-dimensional convolution, cross-modal attention, and physical prior cue can improve the separability of fault categories and diagnostic stability. The t-SNE feature distribution of model M8 is shown below. Figure 8 As shown in the figure, the distribution of each type of fault is clearly visible.

[0067] Furthermore, the complete model M8 of this invention is compared with three time series deep learning models: TimeMixer, ModernTCN, and TimesNet. Each comparison model uses the same four-class dataset for davit bearings, an 8192 sampling point window, an approximately 8:1:1 data partitioning, and 50 rounds of training as in this embodiment. TimeMixer, ModernTCN, and TimesNet only input a one-dimensional vibration sequence, while the M8 of this invention simultaneously inputs a one-dimensional vibration sequence, the corresponding CWT time-frequency image, and physical prior text. The comparison results are shown in Table 3.

[0068] Table 3: Experimental Results of Model Comparison

[0069] As shown in Table 3, the complete model M8 of this invention has Test Accuracy and Test F1 scores of 0.9833 and 0.9799, respectively, both higher than TimeMixer, ModernTCN, and TimesNet. Among the three comparison models, ModernTCN performs best, with a Test Accuracy of 0.9333 and a Test F1 score of 0.9248, but still lower than M8. The t-SNE feature distributions of the three comparison models are shown below. Figures 9-11 As shown in the figure, combined with the t-SNE feature visualization results, it can be seen that M8 has better clustering of similar samples and better separation of different categories of samples. This indicates that the present invention can achieve better fault diagnosis performance of davit rolling bearings under strong background noise and complex vibration interference conditions by using multimodal vibration characterization, residual convolution enhancement, cross-modal attention fusion and physical prior hints.

[0070] The above embodiments are merely illustrative of the implementation methods of the present invention, but should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the protection scope of the present invention.

Claims

1. A bearing fault diagnosis method based on a large linguistic model fusion of multimodal vibration characterization and physical priors, characterized in that, The large language model bearing fault diagnosis method includes the following steps: Step 1: Perform vibration signal segmentation and dataset construction, obtain the original vibration signal of the bearing with category labels, perform standardization processing according to the data source, use a sliding window to divide the continuous vibration signal into a one-dimensional vibration sequence of fixed length, and divide the training set, validation set and test set according to a preset ratio to obtain a one-dimensional vibration sequence sample set and corresponding category labels. Step 2: Based on the one-dimensional vibration sequence obtained in Step 1, perform continuous wavelet transform (CWT) on each window sample to generate a two-dimensional CWT time-frequency image that corresponds to it one by one, and obtain a multimodal sample composed of the one-dimensional vibration sequence and the two-dimensional CWT time-frequency image. Step 3: Based on the multimodal samples obtained in Step 2, one-dimensional vibration sequence features and two-dimensional CWT time-frequency image features are extracted through residual one-dimensional convolutional sequence coding branch and image coding branch, respectively. Then, bidirectional information exchange is performed through a cross-modal attention fusion module to obtain multimodal fused features. ; Step 4: Based on the one-dimensional vibration sequence obtained in Step 1, as well as the bearing structural parameters and operating status, calculate the theoretical fault frequency and extract time-domain and frequency-domain statistical features. Diagnostic clues are formed based on frequency matching relationships and impact indicators, and organized into physical prior information text. Further assess the signal's impulsiveness; when the preset frequency tolerance or impulsiveness threshold is met, add corresponding diagnostic clues to the physical prior information text; The physical prior information text is: in, This represents the time-domain statistical characteristics of the i-th sample. This represents the frequency domain statistical characteristics of the i-th sample. Indicates the theoretical failure frequency of the bearing. This indicates the function that generates the prompt text; Step 5, based on multimodal fusion features and physical prior information text The prompt text is converted into a prompt embedding. The multimodal fusion features are mapped into feature embeddings that can be received by GPT-2 through the feature reprogramming module. Both are then input into GPT-2 for context modeling. The bearing fault category probability is obtained through the classification output layer and used as the diagnostic model. Step 6: Based on the training set, validation set, and test set divided in Step 1, train, validate, and test the diagnostic model established in Step 5. The diagnostic performance is evaluated by visualizing the test accuracy, macro-average F1 score, and t-distributed random neighborhood embedding features, and the trained bearing fault diagnosis model and its diagnostic results are obtained.

2. The bearing fault diagnosis method based on a large linguistic model fusion of multimodal vibration characterization and physical prior as described in claim 1, characterized in that, Specifically, step 1 is as follows: Step 1.1: Obtain the original vibration signal of the bearing. and its corresponding category label y; where the categories include normal state, inner ring failure, outer ring failure and rolling element failure; The vibration acceleration amplitude at the first sampling point. The vibration acceleration amplitude at the second sampling point. The vibration acceleration amplitude at the Nth sampling point. This represents the number of sampling points for a single sample signal. Step 1.2, based on the original vibration signal of the bearing, let the sliding window length be L and the overlap length be O, then the window step size S is expressed as: Step 1.3: Based on the window step size S obtained in Step 1.2, the original vibration signal of the bearing is divided into a one-dimensional vibration sequence of fixed length, with the i-th window sample... Represented as: Where i represents the window sample number; This represents the one-dimensional vibration sequence corresponding to the i-th window; Let be the vibration signal amplitude at the first sampling point within the i-th sliding window; Let be the vibration signal amplitude at the second sampling point within the i-th sliding window; Let L be the vibration signal amplitude at the Lth sampling point within the i-th sliding window; Step 1.4: Based on the one-dimensional vibration sequence, each window sample inherits the corresponding category label and is divided into training set, validation set and test set according to a preset ratio; wherein, the training set is used for model parameter update, the validation set is used for generalization performance observation during the training process, and the test set is used for final diagnostic performance evaluation.

3. The bearing fault diagnosis method based on a large linguistic model fusion of multimodal vibration characterization and physical priors as described in claim 2, characterized in that, Specifically, step 2 is as follows: Step 2.1, for the i-th one-dimensional vibration sequence obtained in Step 1 Perform continuous wavelet transform to obtain the corresponding two-dimensional CWT time-frequency image. : in, This represents a continuous wavelet time-frequency transform operation. This represents the two-dimensional CWT time-frequency image corresponding to the i-th window sample; Step 2.2: Based on the two-dimensional CWT time-frequency image obtained in Step 2.1, compare it with the one-dimensional vibration sequence corresponding to the same window. A one-to-one correspondence is established between the category label yi and the sample input required for subsequent multimodal feature extraction.

4. The bearing fault diagnosis method based on a large linguistic model fusion of multimodal vibration characterization and physical prior as described in claim 3, is characterized in that... Specifically, step 3 is as follows: Step 3.1, convert the one-dimensional vibration sequence The input uses a sequence encoding branch with a residual one-dimensional convolutional structure to obtain sequence features. : in, Represents the sequence feature encoding function. Used to characterize local impact response and short-time fault modes in bearing vibration signals; Step 3.2: Input the two-dimensional CWT time-frequency image obtained in Step 2 into the image coding branch, and then process it through the image feature coding function. f i (·) Obtain image features It is used to characterize energy distribution information on the time-frequency plane; Step 3.3, take the sequence features obtained in step 3.1 and the image features obtained in step 3.2 Input the cross-modal attention fusion module to obtain fused features. : in, This represents the cross-modal attention fusion function. This indicates a multimodal fusion feature that simultaneously contains temporal local impact information and time-frequency energy distribution information after fusion.

5. The bearing fault diagnosis method based on a large linguistic model fusion of multimodal vibration characterization and physical prior as described in claim 4, characterized in that, Specifically, step 4 is as follows: Step 4.1: Calculate the theoretical failure frequency of the bearing based on the bearing structural parameters and operating status. The theoretical failure frequency includes at least the outer ring failure characteristic frequency BPFO, the inner ring failure characteristic frequency BPFI, and the rolling element failure characteristic frequency BSF. Step 4.2, for the i-th one-dimensional vibration sequence Extract time-domain and frequency-domain statistical features; the time-domain statistical features include mean, standard deviation, peak value, kurtosis, and kurtosis factor; the frequency-domain statistical features include main peak frequency, root mean square frequency, and center frequency. Step 4.3: Organize the theoretical fault frequency obtained in Step 4.1, the time-domain statistical features and frequency-domain statistical features obtained in Step 4.2, along with the dataset description, diagnostic task, candidate categories, and diagnostic clues, into a physical prior information text. ; Step 4.4: Compare the differences between the sample main peak frequency and BPFO, BPFI, and BSF, and combine kurtosis and kurtosis factor to determine the signal impulsivity; specifically: The diagnostic clues are not directly written into the actual category labels; The preset frequency tolerance refers to the allowable frequency deviation range of the theoretical fault characteristic frequencies BPFO, BPFI, and BSF of the bearing, which is used to match the measured main peak of the spectrum with the theoretical fault characteristic frequencies. The preset frequency tolerance can be determined based on the sampling frequency, frequency resolution, and rotational speed fluctuation. The impact threshold refers to the threshold used to measure the strength of the impact pulse of the vibration signal, including the kurtosis threshold and the kurtosis factor threshold; the kurtosis threshold and the kurtosis factor threshold can be determined based on the statistical distribution of normal bearing samples.

6. The bearing fault diagnosis method based on a large linguistic model fusion of multimodal vibration characterization and physical prior as described in claim 5, characterized in that, In step 4.4: the preset frequency tolerance range is 0.5Hz to 5Hz, the kurtosis threshold range is 3.5 to 8, and the kurtosis factor threshold range is 4 to 9.

7. The bearing fault diagnosis method based on a large linguistic model fusion of multimodal vibration characterization and physical prior as described in claim 6, characterized in that, Step 5 specifically involves: The physical prior cue text Pi obtained in step 4 is processed by a word segmenter and a word embedding layer to obtain the cue embedding. : in, This indicates word segmentation operation. Represents word embedding mapping, This indicates the embedding of a prompt corresponding to the physical prior information text; The fused feature Hf obtained in step 3 is input into the feature reprogramming module and combined with the basic word vector set in the GPT-2 word embedding space. This yields reprogrammable feature embeddings that match the GPT-2 embedding space. GPT-2 is used as the text semantic encoder; in, This represents a feature reprogramming function. This represents the set of basic word vectors in the GPT-2 word embedding space. This represents the reprogrammed multimodal feature embedding; Embed the obtained prompts and the obtained reprogramming feature embedding Together, they form the GPT-2 input embedding E, and are input into GPT-2 for context modeling to obtain the context-hidden representation Z: The obtained context hiding representation is input to the classification output layer (Z), and the fault category probability distribution is obtained by passing it through the Softmax function: in, and These represent the weight matrix and bias vector of the classification output layer, respectively. This represents the probability distribution of the predicted fault categories; the category with the highest probability is taken as the diagnostic result.

8. The bearing fault diagnosis method based on a large linguistic model fusion of multimodal vibration characterization and physical prior as described in claim 7, characterized in that, Step 6 specifically involves: The training set obtained in step 1 is used to update the parameters of the diagnostic model. The cross-entropy loss function is used as the classification training objective, and the convergence and generalization performance during the training process are verified using the validation set. The test set obtained in step 1 is used to perform the final performance evaluation of the trained diagnostic model. The test accuracy and macro-average F1 score are calculated, and the high-dimensional features of the model are mapped to a two-dimensional space using t-SNE to evaluate the clustering of similar samples and the separability of samples of different categories.

9. The bearing fault diagnosis method based on a large linguistic model fusion of multimodal vibration characterization and physical prior as described in claim 8, characterized in that, Step 6 further involves conducting ablation experiments by removing or combining the residual one-dimensional convolution module, the cross-modal attention fusion module, and the physical prior cue module, and verifying them on publicly available bearing data and davit rolling bearing fault data to evaluate the diagnostic effectiveness of each module and the complete model.