A multi-sampling rate soft-sensing method based on weight block updating autoencoder

Through the multi-sampling rate soft measurement method based on weight block update autoencoder, the problem of multiple sampling rates in industrial production is solved, fast training and high-precision prediction are achieved, and it is suitable for soft measurement of multi-sampling rate data.

CN118690791BActive Publication Date: 2024-10-29XIANGJIANG LAB
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411157823.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2024-10-29
Estimated Expiration
2044-08-22

AI Technical Summary

Technical Problem

In industrial production, due to factors such as the difficulty and cost of variable acquisition, the sampling rates of different variables are different, leading to the problem of multiple sampling rates. For most deep network soft measurement methods that assume the consistency of the sampling rates of process variables/quality variables It's quite challenging.

Method used

A multi-sampling rate soft measurement method based on the weight block update autoencoder is used to collect and normalize the historical data in the industrial process, divide it into a training set and a test set, and build a weight block update autoencoder. And add two layers of fully connected neural networks to its back end, and perform supervised adjustments through multi-sampling rate data with quality variables to obtain a multi-sampling rate soft measurement model, and use data with different sampling rates for adaptive updates.

Benefits of technology

This method improves the soft measurement performance of multi-sampling rate data, has the characteristics of fast training speed and high prediction accuracy. It can effectively utilize data with different sampling rates and improve the accuracy of soft measurement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690791B_ABST
    Figure CN118690791B_ABST
Patent Text Reader

Abstract

The present application relates to a multi-sampling rate soft measurement method based on weight block update autoencoder, which collects and normalizes historical data in industrial processes; in a training set, process variables with the same sampling rate are taken as a combination, and multiple combinations are sorted from high to low according to the sampling rate to obtain multi-sampling rate data; a weight block update autoencoder is constructed, and the weight block update autoencoder is preliminarily trained based on the multi-sampling rate data; two layers of fully connected neural networks are added to the back end of the weight block update autoencoder after preliminary training, and supervised adjustments are made to it through multi-sampling rate data with quality variables to obtain a multi-sampling rate soft measurement model based on the weight block update autoencoder; the process variables in the test set are input into the multi-sampling rate soft measurement model, and the corresponding quality variable estimation value is output. The method improves the soft measurement performance of multi-sampling rate data, and has the characteristics of fast training speed and high prediction accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of soft measurement, and in particular to a multi-sampling rate soft measurement method based on weight block updating of an autoencoder. Background Art

[0002] At present, in the industrial production process, the emergence of soft measurement technology provides a feasible means for the detection of difficult-to-measure variables, that is, to estimate the difficult-to-measure variables by constructing a mathematical relationship between the difficult-to-measure variables and the easy-to-measure variables. As a result, some important quality variables that are difficult to measure can be estimated online at low cost; however, in the actual industrial process, due to factors such as the difficulty and cost of variable acquisition, different variables have different sampling rates, that is, the problem of multiple sampling rates. This is challenging for most deep network soft measurement methods that assume the consistency of the sampling rate of process variables / quality variables. Summary of the invention

[0003] Based on this, it is necessary to provide a multi-sampling rate soft measurement method based on weight block updating autoencoder, the method comprising:

[0004] S1: Collect and normalize historical data from industrial processes and divide them into training sets and test sets; the historical data include process variables and quality variables;

[0005] S2: In the training set, process variables with the same sampling rate are taken as a combination, and multiple combinations are sorted from high to low according to the sampling rate to obtain multi-sampling rate data;

[0006] S3: construct a weight block update autoencoder, and preliminarily train the weight block update autoencoder based on the multi-sampling rate data;

[0007] S4: Add two layers of fully connected neural network to the back end of the weight block update autoencoder after preliminary training, and perform supervised adjustment on it through multi-sampling rate data with quality variables to obtain a multi-sampling rate soft measurement model based on the weight block update autoencoder;

[0008] S5: Input the process variables in the test set into the multi-sampling rate soft sensor model, and output the corresponding quality variable estimation values.

[0009] Beneficial effects: This method is based on the weight block update autoencoder model; in the multi-sampling rate process soft measurement process, the multi-sampling rate data is preprocessed to be divided into different sampling rate groups, and the sampling rates are arranged from high to low, and then the encoder weight matrix is ​​also divided into multiple groups according to the sampling rate, each group corresponds to the same sampling rate variable combination, and the weight matrix of the corresponding group is adaptively updated according to the sampling variables at each moment, so as to make full use of data with different sampling rates. This method reasonably utilizes the known data information, thereby improving the soft measurement performance of multi-sampling rate data, and has the characteristics of fast training speed and high prediction accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0011] Figure 1 This is a flowchart of a multi-sampling rate soft measurement method based on weight block updating of an autoencoder according to an embodiment of the present application.

[0012] Figure 2 This is a network structure diagram of an autoencoder based on weight block updating in an embodiment of the present application.

[0013] Figure 3 This is a flow chart of the hydrocracking process of an embodiment of the present application.

[0014] Figure 4 This is a BWWU-AE prediction curve diagram of an embodiment of the present application.

[0015] Figure 5 It is a scatter plot of the predicted value and the true value of the embodiment of the present application. DETAILED DESCRIPTION

[0016] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present application, so the present application is not limited by the specific embodiments disclosed below.

[0017] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0018] This embodiment provides a multi-sampling rate soft measurement method based on weight block updating of the autoencoder. The method provided by this embodiment is based on the weight block updating autoencoder model, can extract data features to solve the problem of multi-sampling rate caused by errors in data collection, data transmission, data management, etc. in industrial production, and has the characteristics of fast training speed and high prediction accuracy.

[0019] like Figure 1 As shown, the method includes:

[0020] S1: Collect and normalize historical data in the industrial process, and divide it into a training set and a test set in chronological order; the historical data includes process variables and quality variables.

[0021] S2: In the training set, process variables with the same sampling rate are taken as a combination, and multiple combinations are sorted from high to low according to the sampling rate to obtain multi-sampling rate data G1,…,G r …G R ; Among them, G1 represents the combination of the first sampling rate, G r represents the combination of the rth sampling rate, G R Represents the Rth sampling rate combination;

[0022] S3: construct a weight block update autoencoder, and preliminarily train the weight block update autoencoder based on the multi-sampling rate data.

[0023] Specifically, Figure 2 As shown, the weight block updating self-encoder includes an encoder and a decoder;

[0024] The encoder maps the multi-sampling rate data into implicit features, and the mapping formula is:

[0025] ;

[0026] in, Indicates implicit features; represents the encoder; represents the first nonlinear mapping function; W represents the weight matrix of the encoder; b represents the bias vector of the encoder; xRepresenting process data in multi-sampling rate data;

[0027] The decoder maps the implicit feature into second multi-sampling rate data, and the mapping formula is:

[0028] ;

[0029] in, representing second process data in second multi-sample rate data; represents a decoder; represents the second nonlinear mapping function; represents the weight matrix of the decoder; Represents the bias vector of the decoder.

[0030] In this embodiment, both the encoder and the decoder are fully connected neural networks.

[0031] Further, the preliminarily training the weight block updating autoencoder based on the multi-sampling rate data includes:

[0032] Step 1: Update the implicit features in the autoencoder and the process variables in the multi-sampling rate data in blocks, and divide them into multiple groups according to the type of sampling rate;

[0033] The grouping is as follows:

[0034] ;

[0035] ;

[0036] …;

[0037] ;

[0038] …;

[0039] ;

[0040] in, Represents the process variable of the first combination in the multi-sampling rate data, Represents the implicit features of the first combination in multi-sampling rate data; Represents the process variable of the second combination in the multi-sampling rate data, Represents the implicit features of the second combination in multi-sampling rate data; represents the process variable of the rth combination in the multi-sampling rate data, Represents the implicit features of the rth combination in multi-sampling rate data; represents the process variable of the Rth combination in the multi-sampling rate data, represents the implicit feature of the Rth combination in multi-sampling rate data; R represents the type of sampling rate; represents the number of process variables in each combination; represents the number of combinations; c represents the expansion factor;

[0041] The weight blocks are updated to update the implicit features in the self-encoder and the second process variables in the second multi-sampling rate data, and are divided into a plurality of groups according to the types of sampling rates;

[0042] Step 2: Construct the weight matrix of the encoder based on multiple sets of implicit features and process variables in multi-sampling rate data; the weight matrix of the encoder is expressed as:

[0043] ;

[0044] ;

[0045] in, W represents the weight matrix of the encoder; Represents the weight block in the first row and first column of the encoder's weight matrix; Represents the weight block in the 1st row and Rth column of the encoder's weight matrix; Represents the weight block at row R and column 1 in the weight matrix of the encoder; represents the weight block of the Rth row and the Rth column in the weight matrix of the encoder; R represents the type of sampling rate; Represents the weight matrix of the encoder i Line j The weights of the columns are divided into blocks. When the i-th latent feature and the j-th process variable are sampled in the same group, the value is , otherwise the value is 0.

[0046] A weight matrix of a decoder is constructed according to the plurality of sets of implicit features and the second process variables in the second multi-sampling rate data; the weight matrix of the decoder is expressed as:

[0047] ;

[0048] ;

[0049] in, represents the weight matrix of the decoder; Represents the weight block in row 1 and column 1 of the weight matrix of the decoder; Represents the weight block in row 1 and column R of the weight matrix of the decoder; Represents the weight block at row R and column 1 in the weight matrix of the decoder; represents the weight block of the Rth row and the Rth column in the weight matrix of the decoder; R represents the type of sampling rate; Represents the weight matrix of the decoder i Line j The weights of the columns are divided into blocks. When the i-th latent feature and the j-th second process variable are sampled in the same group, the value is , otherwise the value is 0.

[0050] Step 3: Construct a coding loss based on the multi-sampling rate data and the second multi-sampling rate data, optimize the coding loss by gradient descent method, and update the weight matrix of the encoder, the bias vector of the encoder, the weight matrix of the decoder, and the bias vector of the decoder.

[0051] The expression of encoding loss is:

[0052] ;

[0053] in, represents the coding loss; N represents the number of data in any combination; In any combination, i Process data; In any combination, i Second process data; Indicates that the weight blocks update the network parameters of the autoencoder, including the encoder's weight matrix, the encoder's bias vector, the decoder's weight matrix, and the decoder's bias vector.

[0054] S4: Add two layers of fully connected neural network to the back end of the weight block update autoencoder after preliminary training, and perform supervised adjustment on it through multi-sampling rate data with quality variables to obtain a multi-sampling rate soft measurement model based on the weight block update autoencoder.

[0055] Specifically, the process of obtaining a multi-sampling rate soft-sensing model based on weight block updating of the autoencoder includes:

[0056] The multi-sampling rate data with quality variables are input into the new weight block update autoencoder, and forward propagation is performed to iteratively update the network parameters of the new weight block update autoencoder until the mean square error between the estimated value and the true value converges, thereby obtaining a multi-sampling rate soft measurement model based on the weight block update autoencoder. The mean square error expression between the estimated value and the true value is:

[0057] ;

[0058] in, represents the mean square error; N represents the number of data in any combination; Indicates i The true value of the quality variable carried by each process data; Indicates iThe process data is divided into blocks with new weights to update the estimated value of the quality variable output by the encoder; Indicates that the new weight blocks update the network parameters of the autoencoder.

[0059] Furthermore, the new weight block updates the network parameters of the autoencoder including the weight matrix of the encoder, the bias vector of the encoder, the weight matrix of the first fully connected layer neural network layer, the bias vector of the first fully connected layer neural network layer, the weight matrix of the second fully connected layer neural network layer, and the bias vector of the second fully connected layer neural network layer.

[0060] S5: Input the process variables in the test set into the multi-sampling rate soft sensor model, and output the corresponding quality variable estimation values.

[0061] The multi-sampling rate soft measurement method based on weight block updating of the autoencoder provided in this embodiment is performed based on the weight block updating of the autoencoder model; in the multi-sampling rate process soft measurement process, the multi-sampling rate data is preprocessed to be divided into different sampling rate groups, and the sampling rates are arranged from high to low, and then the encoder weight matrix is ​​also divided into multiple groups according to the sampling rate, each group corresponds to a variable combination of the same sampling rate, and the weight matrix of the corresponding group is adaptively updated according to the sampling variables at each moment, so as to make full use of data of different sampling rates. This method reasonably utilizes known data information, thereby improving the soft measurement performance of multi-sampling rate data, and has the characteristics of fast training speed and high prediction accuracy.

[0062] This embodiment takes the multi-sampling rate data soft measurement process of the hydrocracking process as an example to further illustrate the effectiveness of the multi-sampling rate soft measurement method based on weight block update autoencoder. The hydrocracking process flow chart is as follows: Figure 3 As shown in Table 1, firstly, 43 process variables that are important for product quality assessment are selected for model training and testing based on the production process requirements. Process variable samples are collected from the process, and the sampling rate and number of samples of process variables are shown in Table 1.

[0063] Table 1 is a data set description table;

[0064] ;

[0065] As shown in Table 1, a total of 1900 sample data containing quality variables were collected. The quality variable is the 10% distillation point of aviation kerosene. The first 1500 samples containing quality variables and the unlabeled samples are used as training sets, and the rest are test sets.

[0066] For comparative analysis, it is also compared with the upsampling stacked autoencoder U-SAE, downsampling stacked autoencoder D-SAE, and multi-rate partial least squares MR-PLS. The parameters of all models are selected by trial and error. The experimental results of the four models are summarized in Table 2, where the root mean square error RMSE and determination coefficient R2 values ​​are the average values ​​of 10 repeated experiments.

[0067] Table 2 is a comparison table of the test set experimental results;

[0068] ;

[0069] It can be seen from Table 2 that the RMSE of the weight-based block-updated autoencoder BWWU-AE of the present invention is the smallest, and the determination coefficient R2 is the largest, which indicates that BWWU-AE has better performance in processing multi-sampling rate data. Figure 4 This is the prediction curve of BWWU-AE on the test set. It can be seen that the estimated value provided by BWWU-AE is very close to the true value, and only a very small proportion of the estimated value has deviations. Figure 5 The scatter plot of the predicted value and the true value shows that the BWWU-AE method is closer to the y=x axis, which indicates that the BWWU-AE prediction effect is better.

[0070] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0071] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the patent application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent application shall be subject to the attached claims.

Claims

1. A multi-sampling rate soft-sensing method based on weight block update autoencoder, It is characterized in that include: S1: Collect and normalize historical data from industrial processes and divide them into training sets and test sets; the historical data include process variables and quality variables; S2: In the training set, process variables with the same sampling rate are taken as a combination, and multiple combinations are sorted from high to low according to the sampling rate to obtain multi-sampling rate data; S3: construct a weight block update autoencoder, and preliminarily train the weight block update autoencoder based on the multi-sampling rate data; The weight block updating autoencoder includes an encoder and a decoder; The encoder maps the multi-sampling rate data into implicit features, and the mapping formula is: ; in, Indicates implicit features; represents the encoder; represents the first nonlinear mapping function; W represents the weight matrix of the encoder; b represents the bias vector of the encoder; x Representing process data in multi-sampling rate data; The decoder maps the implicit feature into second multi-sampling rate data, and the mapping formula is: ; in, representing second process data in second multi-sample rate data; represents a decoder; represents the second nonlinear mapping function; represents the weight matrix of the decoder; represents the bias vector of the decoder; The preliminarily training the weight block updating autoencoder based on the multi-sampling rate data comprises: Step 1: Update the implicit features in the autoencoder and the process variables in the multi-sampling rate data in blocks, and divide them into multiple groups according to the type of sampling rate; The weight blocks are updated to update the implicit features in the self-encoder and the second process variables in the second multi-sampling rate data, and are divided into a plurality of groups according to the types of sampling rates; Step 2: Construct the weight matrix of the encoder according to multiple sets of implicit features and process variables in multi-sampling rate data; The weight matrix of the encoder is expressed as: ; ; in, W represents the weight matrix of the encoder; Represents the weight block in the first row and first column of the encoder's weight matrix; Represents the weight block in the 1st row and Rth column of the encoder's weight matrix; Represents the weight block at the Rth row and the 1st column in the weight matrix of the encoder; represents the weight block of the Rth row and the Rth column in the weight matrix of the encoder; R represents the type of sampling rate; Represents the weight matrix of the encoder i Line j The weights of the columns are divided into blocks. When the i-th latent feature and the j-th process variable are sampled in the same group, the value is , otherwise the value is 0; constructing a weight matrix of a decoder based on the plurality of sets of implicit features and the second process variables in the second multi-sampling rate data; The weight matrix of the decoder is expressed as: ; ; in, represents the weight matrix of the decoder; Represents the weight block in row 1 and column 1 of the weight matrix of the decoder; Represents the weight block in row 1 and column R of the weight matrix of the decoder; Represents the weight block at row R and column 1 in the weight matrix of the decoder; represents the weight block of the Rth row and the Rth column in the weight matrix of the decoder; R represents the type of sampling rate; Represents the weight matrix of the decoder i Line j The weights of the columns are divided into blocks. When the i-th latent feature and the j-th second process variable are sampled in the same group, the value is , otherwise the value is 0; Step 3: constructing a coding loss based on the multi-sampling rate data and the second multi-sampling rate data, optimizing the coding loss by a gradient descent method, and updating a weight matrix of the encoder, a bias vector of the encoder, a weight matrix of the decoder, and a bias vector of the decoder; The expression of encoding loss is: ; in, represents the coding loss; N represents the number of data in any combination; In any combination, i Process data; In any combination, i Second process data; Indicates that the weight blocks update the network parameters of the autoencoder, including the weight matrix of the encoder, the bias vector of the encoder, the weight matrix of the decoder, and the bias vector of the decoder; S4: Add two layers of fully connected neural network to the back end of the weight block update autoencoder after preliminary training, and perform supervised adjustment on it through multi-sampling rate data with quality variables to obtain a multi-sampling rate soft measurement model based on the weight block update autoencoder; The process of obtaining a multi-sampling rate soft-sensing model based on weight block updating autoencoder includes: The multi-sampling rate data with quality variables are input into the new weight block update autoencoder for forward propagation, and the network parameters of the new weight block update autoencoder are iteratively updated until the mean square error between the estimated value and the true value converges, thereby obtaining a multi-sampling rate soft measurement model based on the weight block update autoencoder; The new weight block updates the network parameters of the autoencoder including the weight matrix of the encoder, the bias vector of the encoder, the weight matrix of the first fully connected neural network layer, the bias vector of the first fully connected neural network layer, the weight matrix of the second fully connected neural network layer, and the bias vector of the second fully connected neural network layer; S5: Input the process variables in the test set into the multi-sampling rate soft sensor model, and output the corresponding quality variable estimation values.

2. The multi-sampling rate soft measurement method based on weight block updating autoencoder according to claim 1, It is characterized in that Both the encoder and the decoder are fully connected neural networks.

3. The multi-sampling rate soft measurement method based on weight block updating autoencoder according to claim 1, It is characterized in that The mean square error between the estimated value and the true value is expressed as: ; in, represents the mean square error; N represents the number of data in any combination; Indicates i The true value of the quality variable carried by each process data; Indicates i The process data is divided into blocks with new weights to update the estimated value of the quality variable output by the encoder; Indicates that the new weight blocks update the network parameters of the autoencoder.

Citation Information

Patent Citations

  • Multi-sampling-rate data soft measurement modeling method based on pyramid variational auto-encoder

    CN114547976A

  • Counting data soft measurement modeling method based on stacked Poisson auto-encoder network

    CN114692507A