Fault prediction method for intermittent processes based on adaptive random configuration network
Through the combination of adaptive random configuration network and slow feature analysis, the accuracy of fault prediction during complex industrial intermittent processes is solved, real-time monitoring and dynamic adaptation of fault trends are achieved, and prediction performance is improved.
Patent Information
- Application Number
- CN202410220859.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-28
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2044-02-28
AI Technical Summary
During complex industrial breaks, prior art is difficult to monitor and accurately predict failure trends in real time, especially when working conditions and environmental changes, static models lead to inaccurate monitoring results.
采用基于自适应随机配置网络的故障预测方法,通过慢特征分析和神经网络增量策略更新模型,结合猎人-猎物优化算法优化随机配置网络,实现动态自适应和故障趋势预测。
Real-time monitoring and accurate prediction of fault status of intermittent processes is realized, the performance and accuracy of fault prediction are improved, and the changes in operating conditions are adapted to.
Smart Images

Figure CN118151627B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intermittent process fault prediction, and in particular to an intermittent process fault prediction method based on an adaptive random configuration network. Background Art
[0002] As one of the important methods of industrial production, intermittent process has the advantages of small batch size, wide variety, and flexible operation batches. With the improvement of automation and the increasing complexity of process flow, the safety and reliability of production systems are becoming more and more important. Therefore, it is particularly important to monitor and predict process status, predict failures in advance, and take timely measures to reduce or avoid losses.
[0003] With the development of industrial Internet of Things, a large amount of production process data is collected to analyze process status and predict faults. In simple production processes, it may be easy to detect or predict faults before production is interrupted, but in complex industrial processes, especially in complex batch process industries, the challenge remains severe. The main reason for the challenge is the large amount of high-dimensional data and the constantly changing operating conditions, which makes process monitoring more difficult.
[0004] Traditional algorithms based on gated recurrent units and long short-term memory are used for fault prediction. For such deep neural networks, there are many parameters and the training process is very time-consuming. Random configuration network is an incremental learning method with universal approximate properties. It uses a supervision mechanism to randomly configure the parameters of hidden layer nodes under a set of inequality constraints. Compared with traditional iterative algorithms, the training speed is faster.
[0005] For intermittent processes, due to changes in working conditions and environmental factors, industrial characteristics will also change. This change is reflected in the gradual change of variable correlation over time. In view of this time-varying characteristic, if static models are still used to describe the process, it will lead to model mismatch, which will lead to inaccurate monitoring results. Real-time monitoring of the fault status of complex intermittent processes and accurate prediction of fault trends are important tasks of process monitoring.
[0006] Therefore, how to provide an intermittent process fault prediction method based on an adaptive random configuration network that can adapt to the dynamic time-varying characteristics of the intermittent process is a technical problem that needs to be solved urgently by those skilled in the art. Summary of the invention
[0007] In view of the above research status and existing problems, the present invention provides an intermittent process fault prediction method based on an adaptive random configuration network, which can adapt to changes in intermittent process characteristics caused by changes in operating conditions, realize real-time monitoring of intermittent process fault status, and accurately predict fault trends.
[0008] The present invention provides a batch process fault prediction method based on an adaptive random configuration network, comprising the following steps:
[0009] S1: Collect offline data of normal working conditions of intermittent process as training sample set and input it into neighborhood preserving embedding model for model training to obtain the trained neighborhood preserving embedding model; use slow feature analysis algorithm to extract slow features of offline data and calculate the control limits of update index of neighborhood preserving embedding model and
[0010] S2: Collect intermittent process online data as online data set and input it into the trained neighborhood-preserving embedding model, and extract process data features; use slow feature analysis to calculate the update index of online data and Determine whether at least one of the updated indicators exceeds the control limit, if so, enter S3; if not, do not update the neighborhood to keep the embedded model, and enter S4;
[0011] S3: Select normal time domain data in the time window adjacent to the current online data from the historical data of the online data set and add them to the training sample set to create an updated sample set. Combined with the neural network incremental strategy, update the neighborhood preservation embedding model and enter S4.
[0012] S4: Obtain the squared prediction error statistics based on the process data features output by the neighborhood preservation embedding model, form a process monitoring time series SPE, and enter S5;
[0013] S5: Optimizing the random configuration network using the hunter-prey optimization algorithm, and taking the minimization of the network residual as the fitness function of the optimized random configuration network; the process monitors the time series SPE input to the optimized random configuration network to predict the state trend of the time series SPE.
[0014] Preferably, the S1 comprises:
[0015] The slow feature analysis algorithm extracts the slow features of the process training data and constructs a model update index. The slow features include: dominant slow features s d ∈R M and residual slow features The change rate of the dominant slow feature is smaller than that of the residual slow feature, M e Indicates that the change rate is faster than all inputs {x i (t),1≤i≤m} are all fast slow features, the number of dominant slow features is M=mM e .
[0016] Preferably, the update index is calculated as shown in formula (1) and formula (2):
[0017]
[0018]
[0019] The control limits of the updated indicators are calculated using the kernel density estimation method. and
[0020] Preferably, S3 includes:
[0021] The normal time domain data in the time window adjacent to the current online data in the historical online data set is added to the training sample set to create an updated sample set, and the neighborhood preserving embedding model is updated in combination with the neural network incremental strategy; the update strategy is shown in equations (3) and (4):
[0022]
[0023]
[0024] Where Q(i) is the normal time domain data set in adjacent time windows; W satisfies the normalization constraint, θ is the original parameter obtained by training the neighborhood preserving embedding model on the old training set, and Dθ is the parameter increment obtained by training the neighborhood preserving embedding model on the incremental data set. represents the reconstruction output of the old neighborhood preserving embedding model, It represents the reconstruction error of the model after the parameters are updated from θ to θ+Dθ.
[0025] Preferably, S4 includes:
[0026] The current residual with hidden layer nodes is defined as shown in formula (5):
[0027] e L-1 =ff L-1 =[e L-1,1 ,…,e L-1,q ,…,e L-1,m ] T (5)
[0028] Among them, e L-1 is the current residual of L-1 hidden units, f is the objective function, ||e L || 2 As shown in formula (6):
[0029]
[0030] Among them, ||e L || 2 is the residual sequence, g L is a real-valued function, β L,q Defined as <e L-1,q,g L > / ||g L || 2 ;
[0031] The fitness function is defined as shown in formula (7):
[0032]
[0033] Among them, Y(L) is the regularization function, w L and b L are the weights and biases of layer L, h L is the output of the Lth layer hidden node, obtained by formula (8):
[0034]
[0035] In a randomly configured network, the output weight β * =[β 1 ,β 2 ,…,β L ] by solving the linear system H L The least squares solution of β = T is determined analytically, as shown in equation (9);
[0036]
[0037] Among them, H L is the hidden layer output matrix, The singular value decomposition of is shown in formula (10):
[0038]
[0039] Among them, U and V are two orthogonal column matrices, σ i Yes H L singular values of ; use singular value decomposition to estimate the rank of the output matrix HL; use orthogonal triangular decomposition to obtain sub-matrices of the permutation matrix and the orthogonal matrix so that their column axes meet the conditional requirements; select independent column sets based on the permutation matrix; use the sub-matrices that meet the conditional requirements to obtain the minimum norm least squares solution.
[0040] Compared with the prior art, it has the following beneficial effects:
[0041] (1) The dynamic characteristics of process data are extracted through slow feature analysis, and the update index of the neighborhood preserving embedding model is established. When the model needs to be updated, the update data set is selected from the training data in the window near the online sample data.
[0042] (2) Under the supervision mechanism of the randomly configured network, the hunter-prey optimization algorithm is used to optimize the parameters of the newly added hidden layer nodes, which can reduce the network residual more quickly. At the same time, the singular value decomposition and orthogonal triangular decomposition and column rotation are combined to solve the non-positive definiteness problem of the randomly configured network.
[0043] (3) A neighborhood-preserving embedding model with dynamic adaptability is used to extract data features and reconstruct them. The squared prediction error statistic is constructed through this model as the fault state feature, and the state trend prediction is achieved using the optimized random configuration model. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on the provided drawings without creative work.
[0045] Figure 1 A schematic diagram of a method for predicting intermittent process faults based on an adaptive random configuration network provided by an embodiment of the present invention;
[0046] Figure 2 A network framework diagram for predicting intermittent process faults in an adaptive random configuration network provided by an embodiment of the present invention;
[0047] Figure 3 Box plots of prediction results of different algorithms provided in embodiments of the present invention in 40 test batches. DETAILED DESCRIPTION
[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0049] The present invention discloses a method for predicting intermittent process faults based on an adaptive random configuration network, comprising the following steps:
[0050] S1: Collect offline data of normal working conditions of intermittent process as training sample set, input it into neighborhood preserving embedding model for model training after normalization, and obtain the trained neighborhood preserving embedding model; use slow feature analysis algorithm to extract Slow features of offline data, computing control limits for updating metrics that preserve the embedded model in the neighborhood and
[0051] S2: Collect intermittent process online data as online data set and input it into the trained neighborhood-preserving embedding model, and extract process data features; use slow feature analysis to calculate the update index of online data and Determine whether at least one of the updated indicators exceeds the control limit, if so, enter S3; if not, do not update the neighborhood to keep the embedded model, and enter S4;
[0052] S3: Select normal time domain data in the time window adjacent to the current online data from the historical data of the online data set and add them to the training sample set to create an updated sample set. Combined with the neural network incremental strategy, update the neighborhood preservation embedding model and enter S4.
[0053] S4: According to the process data characteristics output by the neighborhood preservation embedding model, the square prediction error (SPE) statistic is obtained to form the process monitoring time series SPE, and then enter S5;
[0054] S5: Optimizing the random configuration network using the hunter-prey optimization algorithm, and taking the minimization of the network residual as the fitness function of the optimized random configuration network; the process monitors the time series SPE input to the optimized random configuration network to predict the state trend of the time series SPE.
[0055] In one embodiment, S1 includes:
[0056] The slow feature analysis algorithm is used to extract the slow features of the process training data and build the model update index. The slow features include: dominant slow features s d ∈R M and residual slow features The change rate of the dominant slow feature is smaller than that of the residual slow feature, M e Indicates that the change rate is faster than all inputs {x i (t),1≤i≤m} are all fast slow features, the number of dominant slow features is M=mM e .
[0057] In this embodiment, in order to monitor the matching properties of the model, the update index calculation is shown in formula (1) and formula (2):
[0058]
[0059]
[0060] The control limits of the updated indicators are calculated using the kernel density estimation method. and
[0061] In one embodiment, S3 includes:
[0062] The normal time domain data in the time window adjacent to the current online data in the historical data of the online data set is added to the training sample set to create an updated sample set. The updated sample set is combined with the neural network incremental strategy to update the neighborhood preserving embedding model, that is, the neighborhood preserving embedding model is retrained. The retrained neighborhood preserving embedding model extracts process data features from the online data again as the input of the subsequent optimized random configuration network to improve the accuracy of process data feature extraction and the prediction accuracy of the optimized random configuration network. The update strategy is shown in equations (3) and (4):
[0063]
[0064]
[0065] Where Q(i) is the normal time domain data set in adjacent time windows; W satisfies the normalization constraint, θ is the original parameter obtained by training the neighborhood preserving embedding model on the old training set, and Dθ is the parameter increment obtained by training the neighborhood preserving embedding model on the incremental data set. represents the reconstruction output of the old neighborhood preserving embedding model, It represents the reconstruction error of the model after the parameters are updated from θ to θ+Dθ.
[0066] In one embodiment, S4 includes:
[0067] In the improved random configuration network, the network residual is defined as a function of the fitness of the hunter-prey optimization algorithm under the random configuration network supervision mechanism. The optimized algorithm can minimize the network residual, and the supervision mechanism of the random configuration network ensures the general approximation of the algorithm. For a given objective function, the current residual with hidden layer nodes is defined as shown in formula (5):
[0068] e L-1 =ff L-1 =[e L-1,1 ,…,e L-1,q ,…,e L-1,m ] T (5)
[0069] Among them, e L-1 is the current residual of L-1 hidden units, f is the objective function, ||e L || 2 As shown in formula (6):
[0070]
[0071] Among them, ||e L|| 2 is the residual sequence, g L is a real-valued function, β L,q Defined as <e L-1,q ,g L > / ||g L || 2 ;
[0072] In order to improve the reduction rate of network residual and the generalization ability of SCN, the network residual is selected as the fitness function of the predatory optimization algorithm. The fitness function is defined as shown in formula (7):
[0073]
[0074] Among them, Y(L) is the regularization function, w L and b L are the weights and biases of layer L, h L is the output of the Lth layer hidden node, obtained by formula (8):
[0075]
[0076] In a randomly configured network, the output weight β * =[β 1 ,β 2 ,…,β L ] by solving the linear system H L The least squares solution of β = T is determined analytically, as shown in equation (9);
[0077]
[0078] Among them, H L is the hidden layer output matrix, The singular value decomposition of is shown in formula (10):
[0079]
[0080] Among them, U and V are two orthogonal column matrices, σ i Yes H L singular values; if the output matrix H L is not positive definite, σ i may be close to zero, and Will be very large, when these singular values are close to zero in the calculation, the solution will be unstable. Combining singular value decomposition and orthogonal triangular decomposition with column rotation to solve the non-positive definite problem of random configuration network, the steps are as follows:
[0081] First, the rank of the output matrix HL is estimated using singular value decomposition;
[0082] Secondly, the orthogonal triangular decomposition method is used to obtain the submatrices of the permutation matrix and the orthogonal matrix so that the column axes meet the condition requirements;
[0083] Then, an independent set of columns is selected according to the permutation matrix; and a minimum norm least squares solution is obtained using the submatrices that meet the conditional requirements.
[0084] The specific implementation method is described below in conjunction with the penicillin fermentation process:
[0085] The penicillin fermentation process is a typical batch process involving complex biological and chemical changes from raw materials to final products. There are many control loops and variables in the fermentation process, and failures often occur, seriously affecting production performance and product quality. The industrial-scale penicillin fermentation platform, in addition to modeling the necessary online and offline variables, also takes into account the growth, metabolism and degradation of large-scale penicillin fermentation. By specifying a variety of control strategies to reduce system fluctuations and maximize penicillin production. This study selected 50 batches of data under different control strategies, with a fermentation reaction time of 230 hours, in which data was collected every 12 minutes. 20 main process variables were selected, as shown in Table 1.
[0086] Table 1 Description of process variables in industrial-scale penicillin fermentation
[0087]
[0088]
[0089] like Figure 1 The figure shows a flow chart of the intermittent process fault prediction method based on the adaptive random configuration network disclosed in the present invention, and the specific steps are as follows:
[0090] (1) Collect offline data and normalize it, train the neighborhood preservation embedding model, and use the slow feature analysis algorithm to calculate the update index T 2 and And further use the kernel density estimation method to calculate the control limits of the updated indicators and
[0091] (2) Collect and standardize online data, and use slow feature analysis to calculate the update index of online data and When at least one of the update indicators exceeds the control limit, it is considered that the current neighborhood preserving embedding model needs to be updated, otherwise the neighborhood preserving embedding model does not need to be updated.
[0092] (3) When the neighborhood preserving embedding model needs to be updated, an update dataset is selected from the time window near the online sample data in the historical dataset. The updated neighborhood preserving embedding model will learn the characteristics of the new normal data.
[0093] (4) Using the hunter-prey optimization algorithm to optimize the random configuration network, such as Figure 2 The figure shows the basic random configuration network structure. The optimized algorithm can minimize the network residual, and the supervision mechanism of the random configuration network ensures the general approximation of the algorithm.
[0094] (5) Use the improved random configuration network to predict the state trend of the time series SPE: According to the features learned from the neighborhood-preserving embedding model, the square prediction error (SPE) statistic is obtained, and the square prediction error statistics are arranged by the previous and next moments to form the time series SPE.
[0095] The above steps are the fault prediction application of the present invention for collecting key variables in a typical intermittent process. The present invention relates to a long short-term memory (LSTM) network: the maximum number of iterations is 1000, the number of hidden units is 20, and the minimum batch number is 10. The improved random configuration network parameters are: the maximum number of hidden nodes is 500, the training learning rate is 0.00001, and the maximum number of candidate nodes is 100. After the model is trained, the network parameters are saved, and then the trained model is used to predict the fault state trend. The method parameters related to the random configuration network are consistent with the improved random configuration network parameters. In order to visualize the effectiveness of the model, the mean absolute error (MAE), root mean square error (RMSE), mean absolute percentage error (MAPE) and determination coefficient (R 2 ) is used to evaluate the prediction effect, and the results are shown in Table 2.
[0096] Table 2 Evaluation indicators of the compared algorithms
[0097]
[0098]
[0099] The compared algorithms in Table 2 are represented from NO.1 to NO.6: Neighborhood Preserving Embedding-Long Short-Term Memory (NPE-LSTM), Temporal Neighborhood Preserving Embedding-Long Short-Term Memory (TNPE-LSTM), Neighborhood Preserving Embedding-Random Configuration Network (NPE-SCN), Temporal Neighborhood Preserving Embedding-Long Short-Term Memory (TNPE-SCN), Adaptive Random Configuration Network-Unoptimized (SFA-NPE-ISCN-I), Adaptive Random Configuration Network-Optimized (SFA-NPE-ISCN-II).
[0100] The box plot of the prediction index statistics of the test batch data is as follows Figure 3 As shown, Figure 3 (a) is the box plot of mean absolute error (MAE) prediction index statistics. Figure 3 (b) is the box plot of root mean square error (RMSE) prediction index statistics. Figure 3 (c) is the box plot of the mean absolute percentage error (MAPE) prediction index statistics. Figure 3 (d) is the coefficient of determination (R 2 ) to evaluate the prediction effect and the box-and-whisker plot of the prediction index. In summary, the method proposed by the present invention has better prediction performance.
[0101] The method of the present invention fully considers the time-varying characteristics of the intermittent process, uses slow feature analysis to extract dynamic features, establishes model update indicators, and realizes model mismatch judgment. The process data features are extracted using neighborhood-preserving embedding, the process monitoring time series is constructed, and the trend prediction is completed using the optimized random configuration network; when the monitoring model does not match and needs to be updated, the normal time domain samples of the online data are used to create an updated data set, and the neural network incremental strategy is used to update the model to adapt to the dynamic time-varying characteristics, thereby improving the performance of fault prediction.
[0102] The above is a detailed introduction to the intermittent process fault prediction method based on an adaptive random configuration network provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
[0103] In this article, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
Claims
1. A method for predicting intermittent process faults based on an adaptive random configuration network, characterized in that: The steps include: S1: Collect offline data of normal working conditions of intermittent process as training sample set and input it into neighborhood preserving embedding model for model training to obtain the trained neighborhood preserving embedding model; use slow feature analysis algorithm to extract slow features of offline data and calculate the control limits of update index of neighborhood preserving embedding model and S2: Collect intermittent process online data as online data set and input it into the trained neighborhood-preserving embedding model, and extract process data features; use slow feature analysis to calculate the update index of online data and Determine whether at least one of the updated indicators exceeds the control limit, if so, enter S3; if not, do not update the neighborhood to keep the embedded model, and enter S4; S3: Select normal time domain data in the time window adjacent to the current online data from the historical data of the online data set and add them to the training sample set to create an updated sample set. Combined with the neural network incremental strategy, update the neighborhood preservation embedding model and enter S4. S4: Obtain the squared prediction error statistics based on the process data features output by the neighborhood preservation embedding model, form a process monitoring time series SPE, and enter S5; S5: Optimizing the random configuration network using the hunter-prey optimization algorithm, and taking the minimization of the network residual as the fitness function of the optimized random configuration network; the process monitors the time series SPE input to the optimized random configuration network to predict the state trend of the time series SPE.
2. The intermittent process fault prediction method based on adaptive random configuration network according to claim 1 is characterized in that: The S1 includes: The slow feature analysis algorithm extracts the slow features of the process training data and constructs a model update index. The slow features include: dominant slow features s d ∈R M and residual slow features The change rate of the dominant slow feature is smaller than that of the residual slow feature, M e Indicates that the change rate is faster than all inputs {x i (t),1≤i≤m} are all fast slow features, the number of dominant slow features is M=mM e .
3. The intermittent process fault prediction method based on adaptive random configuration network according to claim 2 is characterized in that: The update index calculation is shown in formula (1) and formula (2): The control limits of the updated indicators are calculated using the kernel density estimation method. and 4. The intermittent process fault prediction method based on adaptive random configuration network according to claim 1 is characterized in that: The S3 includes: The normal time domain data in the time window adjacent to the current online data in the historical online data set is added to the training sample set to create an updated sample set, and the neighborhood preserving embedding model is updated in combination with the neural network incremental strategy; the update strategy is shown in equations (3) and (4): Where Q(i) is the normal time domain data set in adjacent time windows; W satisfies the normalization constraint, θ is the original parameter obtained by training the neighborhood preserving embedding model on the old training set, and Dθ is the parameter increment obtained by training the neighborhood preserving embedding model on the incremental data set. represents the reconstruction output of the old neighborhood preserving embedding model, It represents the reconstruction error of the model after the parameters are updated from θ to θ+Dθ.
5. The intermittent process fault prediction method based on adaptive random configuration network according to claim 1 is characterized in that: The S4 includes: The current residual with hidden layer nodes is defined as shown in formula (5): And L-1 =ff L-1 =[and L-1,1 ,…,And L-1,q ,…,And L-1,m ] T (5) Among them, e L-1 is the current residual of L-1 hidden units, f is the objective function, ||e L || 2 As shown in formula (6): Among them, ||e L || 2 is the residual sequence, g L is a real-valued function, β L,q Defined as <e L-1,q ,g L > / ||g L || 2 ; The fitness function is defined as shown in formula (7): Among them, Y(L) is the regularization function, w L and b L are the weights and biases of layer L, h L is the output of the Lth layer hidden node, obtained by formula (8): In a randomly configured network, the output weight β * =[β1,β2,…,β L ] by solving the linear system H L The least squares solution of β = T is determined analytically, as shown in equation (9); Among them, H L is the hidden layer output matrix, The singular value decomposition of is shown in formula (10): Among them, U and V are two orthogonal column matrices, σ i Yes H L singular values of ; use singular value decomposition to estimate the rank of the output matrix HL; use orthogonal triangular decomposition to obtain sub-matrices of the permutation matrix and the orthogonal matrix so that their column axes meet the conditional requirements; select independent column sets based on the permutation matrix; use the sub-matrices that meet the conditional requirements to obtain the minimum norm least squares solution.
Citation Information
Patent Citations
Student risk early warning model building technology based on social network
CN112364255A
Bearing fault diagnosis method based on multi-field adaptive constructive incremental network
CN117216635A
