A multi-step reconstruction PCA fault diagnosis method resistant to time sequence fluctuation interference

By employing an adaptive variable-length sliding time window and a sequential floating forward selection method, a multi-step reconstruction PCA fault diagnosis method is developed, which solves the diagnostic instability problem of existing PCA methods in high-noise environments and achieves efficient and accurate fault diagnosis in complex industrial processes.

CN123175353APending Publication Date: 2026-11-27SOUTHEAST UNIV +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611365369.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-04
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing PCA-based fault diagnosis methods suffer from low stability and computational efficiency when dealing with complex industrial processes with high noise and high dimensionality. In particular, they are prone to misdiagnosis and diagnostic fluctuations under multivariable concurrent faults and process noise interference.

Method used

A multi-step reconstruction PCA fault diagnosis method with resistance to temporal fluctuations is adopted. By using an adaptive variable-length sliding time window and a sequence floating forward selection method, the length of the sliding time window is dynamically adjusted. Combined with the comprehensive feature weighting matrix and the fault severity weighted over-limit ratio, the fault direction can be accurately located and reconstructed, reducing the impact of noise interference.

Benefits of technology

It maintains stable diagnostic performance in environments with strong interference and high noise, improving the accuracy and efficiency of fault diagnosis and ensuring the safe and stable operation of the unit.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123175353A_ABST
    Figure CN123175353A_ABST
Patent Text Reader

Abstract

The application discloses a kind of anti time sequence fluctuation interference's multi-step reconstruction PCA fault diagnosis method, comprising the following steps: collecting equipment normal operation data, constructs PCA model and determines the control limit of fault detection index;Adaptive variable length sliding time window is introduced, the dynamic weighted over-limit proportion of sample in window is monitored in real time, if it breaks through set threshold, then trigger alarm;After triggering alarm, the overall reconstruction of window sample is carried out using sequence floating forward selection method, and the optimal fault direction after reconstruction is found, the dynamic weighted over-limit proportion falls below threshold;After confirming that the current time window data is completed reconstruction and over-limit proportion recovers to reasonable interval, time window is forwardly slid step by step, and detection and reconstruction steps are cyclically executed until all monitoring data are traversed.The application provides a more reliable and efficient fault diagnosis scheme for thermal power unit, effectively resists field noise interference, and gives stable and reliable diagnosis result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of industrial equipment condition monitoring and fault diagnosis technology, and in particular to a multi-step reconfiguration PCA fault diagnosis method that resists temporal fluctuations. Background Technology

[0002] Continuous process industries such as thermal power units have extremely high requirements for the reliability and continuity of equipment operation. Unexpected failures of critical equipment often trigger chain reactions, causing huge economic losses and safety hazards. Therefore, developing efficient and accurate online condition monitoring and fault diagnosis technologies is crucial. In recent years, data-driven fault diagnosis methods have attracted much attention because they can achieve condition monitoring without the need for precise physical models. Among them, Principal Component Analysis (PCA), as a classic multivariate statistical process monitoring technique, extracts key changing features by projecting high-dimensional correlated data into a low-dimensional space and utilizes statistics such as SPE and T², and has been successfully applied to fault detection in industrial processes.

[0003] To further pinpoint the specific variables causing faults, Principal Component Analysis (CP-PCA) based on contribution plots was proposed. However, it suffers from severe "residual contamination" when dealing with complex operating conditions involving large fault amplitudes or concurrent multivariate faults, easily leading to misdiagnosis. To address this, Reconstructive Principal Component Analysis (RB-PCA) emerged, which effectively improves fault isolation by pre-setting fault directions and reconstructing the data. However, existing RB-PCA methods face significant bottlenecks in real-world industrial settings: extreme sensitivity to process noise. Inevitable measurement noise and process disturbances in industrial environments are incorrectly incorporated into the fault reconstruction process, causing drastic fluctuations in diagnostic results and a significant decrease in reliability.

[0004] In summary, existing PCA-based fault diagnosis methods face severe challenges in terms of both the stability of diagnostic results and computational efficiency when dealing with complex industrial processes characterized by high noise and high dimensionality. Summary of the Invention

[0005] Purpose of the invention: This invention provides a multi-step reconstruction PCA fault diagnosis method that resists temporal fluctuations, effectively resists on-site noise interference, and provides stable and reliable diagnostic results, solving the diagnostic fluctuations caused by noise sensitivity in traditional reconstruction principal component analysis methods.

[0006] Technical solution: The multi-step reconfiguration PCA fault diagnosis method for resisting timing fluctuations provided by this invention includes the following steps: S1. Collect historical operating data of the equipment, preprocess it, construct a PCA model, and determine the fault detection indicators and their control limits; S2. Introduce an adaptive variable-length sliding time window, use the constructed PCA model to calculate the fault detection index of each sample within the window, and calculate the dynamic weighted over-limit ratio based on the fault detection index and the control limit determined in S1. If the dynamic weighted over-limit ratio exceeds the set threshold, an alarm is triggered. S3. After the alarm is triggered, the window sample is reconstructed as a whole using the sequence floating forward selection method to find the optimal fault direction where the dynamic weighted over-limit ratio drops below the threshold after reconstruction. S4. Based on the optimal fault direction obtained in S3, reconstruct the current time window data. After the over-limit ratio is restored to a reasonable range, slide the time window forward step by step and repeat the detection and reconstruction steps until all monitoring data are traversed.

[0007] Furthermore, the historical runtime data collected in S1 is dataset X: X=[x1,x2,…,x m ]∈R n×m ; Among them, R n×m Let R be a space of n rows and m columns of real numbers. n Let R represent the n-dimensional real vector space, and let R represent the set of real numbers. x i ∈R n Let i represent the i-th sample vector, where 1 ≤ i ≤ m; X∈R n×m This represents a dataset consisting of m historical running samples, where n represents the number of running variables contained in each sample, and m represents the number of historical running samples. Normalize the dataset X and calculate the covariance matrix S: S=(1 / (m-1))XX T ; Among them, X T Represents the transpose of dataset X; XX T This represents the n×n matrix obtained by multiplying dataset X by its transpose; m-1 is the sample number correction term in the calculation of the covariance matrix; Decompose the eigenvalues ​​of the covariance matrix: ; After performing eigenvalue decomposition on the covariance matrix, select the first eigenvalues ​​in descending order. l The principal eigenvalues ​​and their corresponding eigenvectors constitute the principal component subspace projection matrix P; the remaining eigenvectors constitute the residual subspace projection matrix. ; in, For including the previous l A diagonal matrix of principal eigenvalues l The number of pivot elements selected. ∈R l×l ; For containing the remaining n- l A diagonal matrix of residual eigenvalues ∈R (n-l)×(n-l) ; P is the previous l The principal component subspace projection matrix formed by the eigenvectors corresponding to the principal eigenvalues, P∈R n×l ; P T Let P be the transpose of the principal component's projection onto the subspace. T ∈R l×n ; For the remaining n- l The residual subspace projection matrix formed by the eigenvectors of the residual eigenvalues. ∈R n ×(n-l) ; Represents the residual subspace load matrix The transpose of the matrix, ; Based on the principal component subspace and the residual subspace, matrices are constructed to characterize the changes in principal components and residuals, respectively, and a comprehensive feature weighting matrix is ​​constructed in subsequent fault detection: ; Where M is the comprehensive feature weighting matrix, used to weight and measure the reconstruction error in the principal component space and the residual subspace; C is the weighted matrix of the residual subspace. , ; D is the principal component weighted matrix of the quantum space. , ; and The control limits for the squared prediction error SPE and Hotelling T, respectively, are determined based on normal training samples. 2 Statistical control limits; Used for normalizing and weighting the residual subspace weighting matrix. Used for normalizing and weighting the principal component subspace weighting matrix.

[0008] Furthermore, in S1, the fault detection index Q(x) is calculated based on the PCA model: Q(x) = x T Mx; Where, x∈R n×1 Let x be the normalized sample column vector at the current time.T Transpose it; The control limits for the fault detection index Q(x) are: ; Where α is the confidence level; The scaling factor is the chi-square approximation. ; In the formula, Σ x Σ is the covariance matrix calculated from normalized training samples under normal operating conditions; x M is the quadratic weight matrix corresponding to the fault detection statistics; tr[·] represents the trace of the matrix; h Q For the chi-square approximation of the equivalent degrees of freedom, ; For a confidence level α and degrees of freedom of h Q The critical value of the chi-square distribution; When the fault detection index Q(x) exceeds the control limit, i.e. They believe the sample data is faulty.

[0009] Furthermore, in S2, the sliding time window processes a time window data block containing multiple samples at a time, and includes multiple time window data blocks along the sliding direction of the sliding time window.

[0010] Furthermore, the sliding time window length in S2 is a variable-length window that is adaptively and dynamically adjusted based on the local sliding variance of the data. The specific calculation mechanism is as follows: A pre-observation window of length W is set to calculate the comprehensive data volatility V at the current time t in real time. t : ;

[0011] In the formula: W is the sample length of the preceding observation window; Q i The fault detection index is the i-th sample within the pre-observation window; This represents the local mean of the fault detection index within the observation window. Calculate the adaptively adjusted sliding time window length at the current moment based on the exponential decay mapping function. L (t): ;

[0012] In the formula: round(·) is the rounding function; L min andL max These represent the upper and lower limits of the preset sliding time window length, respectively; λ is the sensitivity adjustment coefficient, and λ>0; e -λ·Vt It is a dynamic decay factor; When the equipment is running smoothly, the volatility is low and the time window is long. L (t) automatically expands to near L max To maximize tolerance for steady-state noise; when the system experiences sudden failures or severe disturbances, the volatility increases significantly, and the time window length... L (t) rapidly contracted to L min To avoid diluting new fault characteristics with historical data, and thus improve diagnostic sensitivity, the data is placed in the vicinity of the location.

[0013] Furthermore, S2 employs a weighted over-limit ratio calculation method based on fault severity, determining the fault status according to the over-limit ratio of fault detection indicators in the window samples, including the following steps: For the first time in the current sliding time window of length L(t) For each sample, calculate its excess weight w. i If its fault detection index Q i If the control limit is exceeded, then: ; Among them, w i The first time within the current sliding time window The excess weight of each sample; Q i Q represents the fault detection index value corresponding to the i-th sample; limit The fault detection index control limit is defined in S1, i.e. When Q i >Q limit When, calculate w according to the above formula. i When Q i ≤Q limit At that time, w i =0; If the limit is not exceeded, then the excess weight w for that sample is... i =0; Calculate the dynamically weighted over-limit ratio P within this time window. dynamic : ;

[0014] When the calculated dynamic weighted over-limit ratio is greater than the set alarm ratio threshold p, the equipment is determined to be faulty.

[0015] Furthermore, S3 employs a sequential floating forward selection algorithm to determine the optimal fault direction, including: Among the candidate fault variables, the fault variable that minimizes the reconstructed dynamic weighted over-limit ratio is gradually selected and added to the target set; when the minimum dynamic weighted over-limit ratio corresponding to the target set is lower than the alarm ratio threshold p, insertion is stopped and removal begins. The fault variables in the target set are removed sequentially, and the dynamic weighted over-limit ratio of each variable combination after removal is calculated. When there is a variable combination whose dynamic weighted over-limit ratio is lower than the alarm ratio threshold p after removal, the variable combination with the smallest ratio is selected as the updated target set and removal continues. When the dynamic weighted over-limit ratio after removing any fault variable is higher than or equal to the alarm ratio threshold p, removal stops, and the fault direction corresponding to the target set at this time is determined as the optimal fault direction. The optimal fault direction satisfies the following conditions: its reconstructed dynamic weighted over-limit ratio is lower than the alarm ratio threshold p, and the reconstructed dynamic weighted over-limit ratio after removing any fault variable is higher than or equal to the alarm ratio threshold p.

[0016] Furthermore, in S3, the target set and candidate fault variables are combined to reconstruct the window samples as a whole, and the reconstructed dynamically weighted over-limit ratio is calculated, including the following steps: First, we need to select a combination of d variables {x1, x2, ..., x} from the n variables in the sample. d}, and calculate the fault amplitude of the samples within that time window: ; in, Let d be the fault directions corresponding to the d variables. ; f Fault direction The corresponding fault amplitude, ; X block Given a data matrix containing L samples, ; The inverse of the weighted direction matrix is ​​used to solve for the optimal weighted least squares fault amplitude along the candidate fault direction; The reconstructed value is calculated as follows: ; in, The reconstructed data matrix corresponding to the combination of candidate fault variables, i.e., from the original data matrix X of the window. block Eliminate the candidate fault direction and its fault amplitude f The reconstruction result obtained after the corresponding fault components, ; The reconstructed values ​​corresponding to the combinations of each candidate fault variable As samples within the sliding time window, the dynamic weighted over-limit ratio of each candidate fault variable combination after reconstruction is obtained according to the calculation method of over-limit weight and dynamic weighted over-limit ratio; the candidate fault variable combination with the smallest dynamic weighted over-limit ratio is selected, and fault variables are inserted and removed.

[0017] Furthermore, in S4, the reconstructed values ​​of samples within the current time window are used as window samples, and the reconstructed dynamic weighted over-limit ratio P is calculated according to the calculation method of dynamic weighted over-limit ratio. dynamic When the dynamically weighted over-limit ratio is lower than the threshold p, the current time window is considered to be reconstructed and the process moves to the next time window until all monitoring samples have been traversed.

[0018] Beneficial effects: Compared with the prior art, the significant advantages of this invention are: a new fault diagnosis method that can maintain stable diagnostic performance in strong interference and high noise environments, while possessing efficient computing capabilities, so as to effectively ensure the safe and stable operation of the unit. Attached Figure Description

[0019] Figure 1 This is a flowchart of the fault diagnosis process of the present invention; Figure 2 This is a schematic diagram of the process for optimizing fault direction search using the sequential floating forward selection method of the present invention; Figure 3 This is the dynamically weighted over-limit ratio monitoring curve in this embodiment of the invention; Figure 4 This is a comparison diagram of fault detection alarm status in an embodiment of the present invention; Figure 5 This is a comparison chart of the fault variable reconstruction effects in an embodiment of the present invention. Detailed Implementation

[0020] The technical solution of the present invention will be further described below with reference to the accompanying drawings and embodiments.

[0021] like Figure 1 The multi-step reconfiguration PCA fault diagnosis method shown includes the following steps: S1. Collect historical operating data of the equipment, preprocess it, construct a PCA model, and determine the fault detection indicators and their control limits.

[0022] The collected historical execution data is dataset X: X=[x1,x2,…,x m ]∈R n×m ; Among them, R n×m Let R be a space of n rows and m columns of real numbers. n Let R represent the n-dimensional real vector space, and let R represent the set of real numbers. xi ∈R n Let i represent the i-th sample vector, where 1 ≤ i ≤ m; X∈R n×m This represents a dataset consisting of m historical running samples, where n represents the number of running variables contained in each sample, and m represents the number of historical running samples. Normalize the dataset X and calculate the covariance matrix S: S=(1 / (m-1))XX T ; Among them, X T Represents the transpose of dataset X; XX T This represents the n×n matrix obtained by multiplying dataset X by its transpose; m-1 is the sample number correction term in the calculation of the covariance matrix; Decompose the eigenvalues ​​of the covariance matrix: ; After performing eigenvalue decomposition on the covariance matrix, select the first eigenvalues ​​in descending order. l The principal eigenvalues ​​and their corresponding eigenvectors constitute the principal component subspace projection matrix P; the remaining eigenvectors constitute the residual subspace projection matrix. ; in, For including the previous l A diagonal matrix of principal eigenvalues l The number of pivot elements selected. ∈R l×l ; For containing the remaining n- l A diagonal matrix of residual eigenvalues ∈R (n-l)×(n-l) ; P is the previous l The principal component subspace projection matrix formed by the eigenvectors corresponding to the principal eigenvalues, P∈R n×l ; P T Let P be the transpose of the principal component's projection onto the subspace. T ∈R l×n ; For the remaining n- l The residual subspace projection matrix formed by the eigenvectors of the residual eigenvalues. ∈R n ×(n-l) ; Represents the residual subspace load matrix The transpose of the matrix, ; Based on the principal component subspace and the residual subspace, matrices are constructed to characterize the changes in principal components and residuals, respectively, and a comprehensive feature weighting matrix is ​​constructed in subsequent fault detection: ; Where M is the comprehensive feature weighting matrix, used to weight and measure the reconstruction error in the principal component space and the residual subspace; C is the weighted matrix of the residual subspace. , ; D is the principal component weighted matrix of the quantum space. , ; and The control limits for the squared prediction error SPE and Hotelling T, respectively, are determined based on normal training samples. 2 Statistical control limits; Used for normalizing and weighting the residual subspace weighting matrix. Used for normalizing and weighting the principal component subspace weighting matrix.

[0023] The fault detection index Q(x) is calculated based on the PCA model: Q(x) = x T Mx; Where, x∈R n×1 Let x be the normalized sample column vector at the current time. T Transpose it; The control limits for the fault detection index Q(x) are: ; Where α is the confidence level; The scaling factor is the chi-square approximation. ; In the formula, Σ x Σ is the covariance matrix calculated from normalized training samples under normal operating conditions; x M is the quadratic weight matrix corresponding to the fault detection statistics; tr[·] represents the trace of the matrix; h Q For the chi-square approximation of the equivalent degrees of freedom, ; For a confidence level α and degrees of freedom of h Q The critical value of the chi-square distribution; When the fault detection index Q(x) exceeds the control limit, i.e. They believe the sample data is faulty.

[0024] S2. Introduce an adaptive variable-length sliding time window, use the constructed PCA model to calculate the fault detection index of each sample within the window, and calculate the dynamic weighted over-limit ratio based on the fault detection index and the control limit determined in S1. If the dynamic weighted over-limit ratio exceeds the set threshold, an alarm is triggered.

[0025] The sliding time window processes a time window data block containing multiple samples at a time, and includes multiple time window data blocks along the sliding direction of the time window.

[0026] The sliding time window length is a variable-length window that is adaptively and dynamically adjusted based on the local sliding variance of the data. The specific calculation mechanism is as follows: A pre-observation window of length W is set to calculate the comprehensive data volatility V at the current time t in real time. t : ;

[0027] In the formula: W is the sample length of the preceding observation window; Q i The fault detection index is the i-th sample within the pre-observation window; This represents the local mean of the fault detection index within the observation window. Calculate the adaptively adjusted sliding time window length at the current moment based on the exponential decay mapping function. L (t): ;

[0028] In the formula: round(·) is the rounding function; L min and L max These represent the upper and lower limits of the preset sliding time window length, respectively; λ is the sensitivity adjustment coefficient, and λ>0; e -λ·Vt It is a dynamic decay factor; When the equipment is running smoothly, the volatility is low and the time window is long. L (t) automatically expands to near L max To maximize tolerance for steady-state noise; when the system experiences sudden failures or severe disturbances, the volatility increases significantly, and the time window length... L (t) rapidly contracted to L min To avoid diluting new fault characteristics with historical data, and thus improve diagnostic sensitivity, the data is placed in the vicinity of the location.

[0029] A weighted over-limit ratio calculation method based on fault severity is adopted to determine the fault status according to the over-limit ratio of fault detection indicators in the window samples, including the following steps: For the first time in the current sliding time window of length L(t) For each sample, calculate its excess weight w. i If its fault detection index Q i If the control limit is exceeded, then: ; Among them, w i The first time within the current sliding time window The excess weight of each sample; Q i Q represents the fault detection index value corresponding to the i-th sample; limit The fault detection index control limit is defined in S1, i.e. When Q i >Q limit When, calculate w according to the above formula. i When Q i ≤Q limit At that time, w i =0; If the limit is not exceeded, then the excess weight w for that sample is... i =0; Calculate the dynamically weighted over-limit ratio P within this time window. dynamic : ;

[0030] When the calculated dynamic weighted over-limit ratio is greater than the set alarm ratio threshold p, the equipment is determined to be faulty.

[0031] S3. After the alarm is triggered, the window sample is reconstructed as a whole using the sequence floating forward selection method to find the optimal fault direction where the dynamically weighted over-limit ratio drops below the threshold after reconstruction.

[0032] The optimal fault direction is determined using a sequential floating forward selection algorithm, such as... Figure 2As shown, the process includes: progressively selecting the fault variable that minimizes the reconstructed dynamic weighted over-limit ratio from candidate fault variables and adding it to the target set; stopping insertion and starting removal when the minimum dynamic weighted over-limit ratio corresponding to the target set is lower than the alarm ratio threshold p; sequentially removing fault variables from the target set and calculating the reconstructed dynamic weighted over-limit ratio of each variable combination after removal; when there is a variable combination whose dynamic weighted over-limit ratio is lower than the alarm ratio threshold p after removal, selecting the variable combination with the smallest ratio as the updated target set and continuing removal; stopping removal when the reconstructed dynamic weighted over-limit ratio after removing any fault variable is higher than or equal to the alarm ratio threshold p, and determining the fault direction corresponding to the target set at this time as the optimal fault direction; the optimal fault direction satisfies that its reconstructed dynamic weighted over-limit ratio is lower than the alarm ratio threshold p, and the reconstructed dynamic weighted over-limit ratio after removing any fault variable is higher than or equal to the alarm ratio threshold p.

[0033] The target set and candidate fault variables are combined to reconstruct the window sample as a whole, and the reconstructed dynamically weighted over-limit ratio is calculated, including the following steps: First, we need to select a combination of d variables {x1, x2, ..., x} from the n variables in the sample. d}, and calculate the fault amplitude of the samples within that time window: ; Where d represents the fault direction corresponding to the d variables. ; f Fault direction The corresponding fault amplitude, ; X block Given a data matrix containing L samples, ; The inverse of the weighted direction matrix is ​​used to solve for the optimal weighted least squares fault amplitude along the candidate fault direction; The reconstructed value is calculated as follows: ; in, The reconstructed data matrix corresponding to the combination of candidate fault variables, i.e., from the original data matrix X of the window. block Eliminate the candidate fault direction and its fault amplitude f The reconstruction result obtained after the corresponding fault components, ; The reconstructed values ​​corresponding to the combinations of each candidate fault variable As samples within the sliding time window, the dynamic weighted over-limit ratio of each candidate fault variable combination after reconstruction is obtained according to the calculation method of over-limit weight and dynamic weighted over-limit ratio; the candidate fault variable combination with the smallest dynamic weighted over-limit ratio is selected, and fault variables are inserted and removed.

[0034] S4. Based on the optimal fault direction obtained in S3, reconstruct the current time window data. After the over-limit ratio is restored to a reasonable range, slide the time window forward step by step and repeat the detection and reconstruction steps until all monitoring data are traversed.

[0035] Specifically, the reconstructed values ​​of samples within the current time window are used as window samples, and the reconstructed dynamic weighted over-limit ratio P is calculated according to the dynamic weighted over-limit ratio calculation method. dynamic When the dynamically weighted over-limit ratio is lower than the threshold p, the current time window is considered to be reconstructed and the process moves to the next time window until all monitoring samples have been traversed.

[0036] Simulation Examples: Comparative Verification of Anti-Temporal Fluctuation Performance This embodiment uses comparative simulation to verify the diagnostic and reconstruction performance of the method of the present invention for sudden step faults under strong noise conditions and multivariable coupled fault scenarios.

[0037] (1) Experimental setup Based on the actual operating characteristics of the coal mill, a mechanistic simulation model was constructed, including 10 monitored variables (such as differential pressure of the coal mill, inlet and outlet air temperature, primary air volume, drive motor current, and vibration parameters). High-frequency random noise with a variance of 0.8 was superimposed on the samples to simulate harsh industrial field environments. During the 300th to 500th sampling points of the test samples, step-abrupt faults with amplitudes of 4.5 and 3.5, respectively, were simultaneously injected into dimensions 0 and 1 to simulate typical fault conditions of multivariate anomalies.

[0038] (2) Parameter configuration This invention sets W=10, and the lower limit L of the sliding time window length. min =10, upper limit L max =40, sensitivity adjustment coefficient λ=0.05, and alarm control threshold for dynamic weighted over-limit ratio is p=0.015. The traditional RB-PCA method uses the standard detection control limit at a 99.5% confidence level.

[0039] (3) Comparison Results and Analysis Comparison of fault detection and alarm status: Figure 3 The display shows the dynamic weighted over-limit monitoring curve. It can be seen that after 300 faults occurred, this indicator quickly jumped and remained above the threshold, demonstrating good response speed.

[0040] Figure 4 The alarm status comparison is shown. The method of this invention (green line) presents a perfect rectangular wave, achieving 100% coverage of the fault area; while the traditional method (orange line) suffers from severe missed alarms and flickering due to noise interference. Comparison of reconstruction results: Figure 5 The following example demonstrates the reconstruction effect using a zero-dimensional variable. The thin gray line represents the original fault data with noise, while the dashed black line represents the baseline without faults. Traditional methods, due to errors in fault direction identification, exhibit severe and high-frequency sawtooth fluctuations during fault reconstruction.

[0041] The method of this invention adopts a sequential floating forward selection algorithm combined with time window overall reconstruction, which can accurately identify the fault direction and eliminate fault bias throughout the process, and has a significant stabilizing effect on high-frequency environmental noise.

Claims

1. A multi-step reconfiguration PCA fault diagnosis method resistant to timing fluctuations, characterized in that, Includes the following steps: S1. Collect historical operating data of the equipment, preprocess it, construct a PCA model, and determine the fault detection indicators and their control limits; S2. Introduce an adaptive variable-length sliding time window, use the constructed PCA model to calculate the fault detection index of each sample within the window, and calculate the dynamic weighted over-limit ratio based on the fault detection index and the control limit determined in S1. If the dynamic weighted over-limit ratio exceeds the set threshold, an alarm is triggered. S3. After the alarm is triggered, the window sample is reconstructed as a whole using the sequence floating forward selection method to find the optimal fault direction where the dynamic weighted over-limit ratio drops below the threshold after reconstruction. S4. Based on the optimal fault direction obtained in S3, reconstruct the current time window data. After the over-limit ratio is restored to a reasonable range, slide the time window forward step by step and repeat the detection and reconstruction steps until all monitoring data are traversed.

2. The multi-step reconfiguration PCA fault diagnosis method for resisting temporal fluctuations according to claim 1, characterized in that, The historical running data collected in S1 is dataset X: X=[x1,x2,…,x m ]∈R n×m ; Among them, R n×m Let R be a space of n rows and m columns of real numbers. n Let R represent the n-dimensional real vector space, and let R represent the set of real numbers. x i ∈R n Let i represent the i-th sample vector, where 1 ≤ i ≤ m; X∈R n×m This represents a dataset consisting of m historical running samples, where n represents the number of running variables contained in each sample, and m represents the number of historical running samples. Normalize the dataset X and calculate the covariance matrix S: S=(1 / (m-1))XX T ; Among them, X T Represents the transpose of dataset X; XX T This represents the n×n matrix obtained by multiplying dataset X by its transpose; m-1 is the sample number correction term in the calculation of the covariance matrix; Decompose the eigenvalues ​​of the covariance matrix: ; After performing eigenvalue decomposition on the covariance matrix, select the first eigenvalues ​​in descending order. l The principal eigenvalues ​​and their corresponding eigenvectors constitute the principal component subspace projection matrix P; the remaining eigenvectors constitute the residual subspace projection matrix. ; in, For including the previous l A diagonal matrix of principal eigenvalues l The number of pivot elements selected. ∈R l×l ; For containing the remaining n- l A diagonal matrix of residual eigenvalues ∈R (n-l)×(n-l) ; P is the previous l The principal component subspace projection matrix formed by the eigenvectors corresponding to the principal eigenvalues, P∈R n×l ; P T Let P be the transpose of the principal component's projection onto the subspace. T ∈R l×n ; For the remaining n- l The residual subspace projection matrix formed by the eigenvectors of the residual eigenvalues. ∈R n×(n-l) ; Represents the residual subspace load matrix The transpose of the matrix, ; Based on the principal component subspace and the residual subspace, matrices are constructed to characterize the changes in principal components and residuals, respectively, and a comprehensive feature weighting matrix is ​​constructed in subsequent fault detection: ; Where M is the comprehensive feature weighting matrix, used to weight and measure the reconstruction error in the principal component space and the residual subspace; C is the weighted matrix of the residual subspace. , ; D is the principal component weighted matrix of the quantum space. , ; and The control limits for the squared prediction error SPE and Hotelling T, respectively, are determined based on normal training samples. 2 Statistical control limits; Used for normalizing and weighting the residual subspace weighting matrix. Used for normalizing and weighting the principal component subspace weighting matrix.

3. The multi-step reconfiguration PCA fault diagnosis method for resisting temporal fluctuations according to claim 2, characterized in that, S1 calculates the fault detection index Q(x) based on the PCA model: Q(x)=x T Mx; Where, x∈R n×1 Let x be the normalized sample column vector at the current time. T Transpose it; The control limits for the fault detection index Q(x) are: ; Where α is the confidence level; The scaling factor is the chi-square approximation. ; In the formula, Σ x Σ is the covariance matrix calculated from normalized training samples under normal operating conditions; x M is the quadratic weight matrix corresponding to the fault detection statistics; tr[·] represents the trace of the matrix; h Q For the chi-square approximation of the equivalent degrees of freedom, ; For a confidence level α and degrees of freedom of h Q The critical value of the chi-square distribution; When the fault detection index Q(x) exceeds the control limit, i.e. They believe the sample data is faulty.

4. The multi-step reconfiguration PCA fault diagnosis method for resisting timing fluctuations according to claim 1, characterized in that, In S2, the sliding time window processes a time window data block containing multiple samples at a time, and multiple time window data blocks are included along the sliding direction of the sliding time window.

5. The multi-step reconfiguration PCA fault diagnosis method for resisting timing fluctuations according to claim 1, characterized in that, In S2, the length of the sliding time window is a variable-length window that is adaptively and dynamically adjusted based on the local sliding variance of the data. The specific calculation mechanism is as follows: A pre-observation window of length W is set to calculate the comprehensive data volatility V at the current time t in real time. t : ; In the formula: W is the sample length of the preceding observation window; Q i The fault detection index is the i-th sample within the pre-observation window; This represents the local mean of the fault detection index within the observation window. Calculate the adaptively adjusted sliding time window length at the current moment based on the exponential decay mapping function. L (t): ; In the formula: round(·) is the rounding function; L min and L max These are the upper and lower limits of the preset sliding time window length, respectively; λ is the sensitivity adjustment coefficient, and λ>0; e -λ·Vt It is a dynamic decay factor; When the equipment is running smoothly, the volatility is low and the time window is long. L (t) automatically expands to near L max To maximize tolerance for steady-state noise; when the system experiences sudden failures or severe disturbances, the volatility increases significantly, and the time window length... L (t) rapidly contracted to L min To avoid diluting new fault characteristics with historical data, and thus improve diagnostic sensitivity, the data is placed in the vicinity of the location.

6. The multi-step reconfiguration PCA fault diagnosis method for resisting timing fluctuations according to claim 1, characterized in that, S2 employs a weighted over-limit ratio calculation method based on fault severity. The fault status is determined according to the over-limit ratio of fault detection indicators within the window sample, including the following steps: For the first time in the current sliding time window of length L(t) For each sample, calculate its excess weight w. i If its fault detection index Q i If the control limit is exceeded, then: ; Among them, w i The first time within the current sliding time window The excess weight of each sample; Q i Q represents the fault detection index value corresponding to the i-th sample; limit The fault detection index control limit is defined in S1, i.e. When Q i >Q limit When, calculate w according to the above formula. i When Q i ≤Q limit At that time, w i =0; If the limit is not exceeded, then the excess weight w for that sample is... i =0; Calculate the dynamically weighted over-limit ratio P within this time window. dynamic : ; When the calculated dynamic weighted over-limit ratio is greater than the set alarm ratio threshold p, the equipment is determined to be faulty.

7. The multi-step reconfiguration PCA fault diagnosis method for resisting timing fluctuations according to claim 6, characterized in that: S3 employs a sequential floating forward selection algorithm to determine the optimal fault direction, including: Among the candidate fault variables, the fault variable that minimizes the reconstructed dynamic weighted over-limit ratio is gradually selected and added to the target set; when the minimum dynamic weighted over-limit ratio corresponding to the target set is lower than the alarm ratio threshold p, insertion is stopped and removal begins. The fault variables in the target set are removed sequentially, and the dynamic weighted over-limit ratio of each variable combination after removal is calculated. When there is a variable combination whose dynamic weighted over-limit ratio is lower than the alarm ratio threshold p after removal, the variable combination with the smallest ratio is selected as the updated target set and removal continues. When the dynamic weighted over-limit ratio after removing any fault variable is higher than or equal to the alarm ratio threshold p, removal stops, and the fault direction corresponding to the target set at this time is determined as the optimal fault direction. The optimal fault direction satisfies the following conditions: its reconstructed dynamic weighted over-limit ratio is lower than the alarm ratio threshold p, and the reconstructed dynamic weighted over-limit ratio after removing any fault variable is higher than or equal to the alarm ratio threshold p.

8. The multi-step reconfiguration PCA fault diagnosis method for resisting timing fluctuations according to claim 7, characterized in that, In S3, the target set and candidate fault variables are combined to reconstruct the window samples as a whole, and the reconstructed dynamically weighted over-limit ratio is calculated, including the following steps: First, we need to select a combination of d variables {x1, x2, ..., x} from the n variables in the sample. d }, and calculate the fault amplitude of the samples within that time window: ; in, Let d be the fault directions corresponding to the d variables. ; f Fault direction The corresponding fault amplitude, ; X block Given a data matrix containing L samples, ; The inverse of the weighted direction matrix is ​​used to solve for the optimal weighted least squares fault amplitude along the candidate fault direction; The reconstructed value is calculated as follows: ; in, The reconstructed data matrix corresponding to the combination of candidate fault variables, i.e., from the original data matrix X of the window. block Eliminate the candidate fault direction and its fault amplitude f The reconstruction result obtained after the corresponding fault components, ; The reconstructed values ​​corresponding to the combinations of each candidate fault variable As samples within the sliding time window, the dynamic weighted over-limit ratio of each candidate fault variable combination after reconstruction is obtained according to the calculation method of over-limit weight and dynamic weighted over-limit ratio; the candidate fault variable combination with the smallest dynamic weighted over-limit ratio is selected, and fault variables are inserted and removed.

9. The multi-step reconfiguration PCA fault diagnosis method for resisting timing fluctuations according to claim 8, characterized in that, In S4, the reconstructed values ​​of samples within the current time window are used as window samples, and the reconstructed dynamic weighted over-limit ratio P is calculated according to the calculation method of dynamic weighted over-limit ratio. dynamic When the dynamically weighted over-limit ratio is lower than the threshold p, the current time window is considered to be reconstructed and the process moves to the next time window until all monitoring samples have been traversed.