Soft sensor modeling method for debutanizer based on improved HHO optimized DELM

By introducing Piecewise chaos mapping, inertia weight and adaptive t distribution into the Harris Eagle optimization algorithm, the blindness and local optimality problems of the algorithm when initializing the population are solved, the accuracy and generalization performance of the DELM model are improved, and the Higher soft sensor modeling effect.

CN114547964BActive Publication Date: 2024-09-13CENT SOUTH UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111670602.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2024-09-13
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

The Harris Eagle optimization algorithm has problems of blindness and easy falling into local optimality when initializing the population, which affects the optimization of the number of hidden layer nodes and the accuracy of soft sensor modeling of the deep extreme learning machine (DELM).

Method used

Introducing Piecewise chaotic mapping, inertia weight and adaptive t distribution, improving the Harris Eagle optimization algorithm, overcoming the blindness of the algorithm in initializing the population, improving the search capability and convergence speed, and avoiding local optimal problems.

Benefits of technology

Through the improved Harris Eagle optimization algorithm, the estimation accuracy and generalization performance of the DELM model are improved, the occurrence of local minima is avoided, and the accuracy of the soft sensor model established by other methods is improved compared to other methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114547964B
    Figure CN114547964B
Patent Text Reader

Abstract

The present invention provides a debutanizer soft measurement modeling method based on improved HHO optimized DELM, obtains a debutanizer production process data set and performs variable selection according to process principles and operating experience; normalizes the obtained data set to make it a dimensionless data set; then determines the topological structure of a deep extreme learning machine DELM, optimizes the number of nodes in the DELM hidden layer through a Harris Hawk optimization algorithm HHO, uses the root mean square error obtained by DELM training as a fitness value, and selects the number of nodes that minimizes the model error; in view of the limitations of HHO, introduces piecewise chaotic mapping, inertia weight and adaptive t distribution. Based on the debutanizer production process data set, a DELM soft measurement model optimized by improved HHO is constructed, which can prevent the model from appearing in a local minimum value, and the estimation accuracy of the soft measurement model established by other methods is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiment of the present invention relates to the technical field of soft sensor modeling of industrial processes, and in particular to a soft sensor modeling method for a debutanizer based on an improved HHO optimized DELM. Background Art

[0002] In industrial processes, real-time detection and monitoring of key process parameters are very important. However, due to many unfavorable factors such as harsh environment and high measurement cost, real-time detection of some key process parameters is difficult to achieve. Soft measurement technology solves this contradiction to a certain extent by estimating difficult variables using easy-to-measure process variables that are closely related to difficult variables. It is a combination of data processing, data-driven modeling and software construction technology, and has developed rapidly. In particular, soft measurement modeling methods based on deep learning have been successfully applied in many cases. Among them, the Deep Extreme Learning Machine (DELM) combines the learning efficiency of the extreme learning machine and the deep structure of the autoencoder, which can obtain deeper features from the original data, thereby effectively representing the complex nonlinear relationship between industrial process data. Therefore, the DELM method is used to establish a soft measurement model.

[0003] The number of nodes in the DELM hidden layer has an important impact on the generalization performance of the model. If the number of nodes in the hidden layer is too small, the training performance will be very poor; if the number of nodes in the hidden layer is too large, the training time of the network will increase, and it may fall into a local minimum. So far, some scholars have used group intelligence optimization algorithms such as particle swarm optimization algorithm, simulated annealing algorithm, and whale optimization algorithm to optimize the number of nodes in the DELM hidden layer. Harris Hawk Optimization (HHO) is an intelligent optimization algorithm that simulates the predation behavior of Harris Hawk. Its advantages are that it has few parameters, high search accuracy, and is simple and easy to operate. It has certain advantages compared with other group intelligence optimization algorithms. However, it also has certain limitations, such as the algorithm is blind when initializing the population and is prone to fall into local optimality. Summary of the invention

[0004] The embodiment of the present invention provides a debutanizer soft-sensor modeling method and system based on improved HHO optimized DELM, establishes a DELM soft-sensor model based on the debutanizer production process data set, and uses HHO to optimize the number of nodes of DELM to obtain higher estimation accuracy. In view of the limitations of HHO, Piecewise chaotic mapping, inertia weight and adaptive t distribution are introduced to overcome the blindness of the algorithm when initializing the population, improve the search ability and convergence speed of the population, and solve the problem that the algorithm cannot jump out of the local optimum.

[0005] In a first aspect, an embodiment of the present invention provides a debutanizer soft sensor modeling method based on an improved HHO optimized DELM, comprising:

[0006] Step S1, collecting process variables and target variables in the debutanizer production process, and dividing them into a training set and a test set after normalization;

[0007] Step S2, determining the topological structure of the deep extreme learning machine DELM, determining the initialization parameters of the Harris Hawk optimization algorithm HHO, and initializing the population based on the Piecewise chaotic mapping strategy to construct a DELM model;

[0008] Step S3, using the root mean square error obtained by DELM training as the fitness value, calculating the fitness value of each individual and setting the individual with the best fitness value as the optimal position of the current prey;

[0009] Step S4, determining the escape energy of the prey, determining a search strategy based on the escape energy, and updating the position of the prey using an inertia weight;

[0010] Step S5, perturb the optimal position based on the adaptive t distribution. If the iteration is judged to be completed, the optimal solution is used as the number of DELM nodes to complete the training of the DELM model and output the estimated value on the test set. If the iteration is not completed, jump to step S3.

[0011] Preferably, in step S1, the process variables include tower top temperature, tower top pressure, reflux flow, flow to the next process, sixth partition temperature, first tower bottom temperature, second tower bottom temperature; the target variable is butane concentration; wherein the process variables are input variables, and the target variable is an output variable.

[0012] Preferably, the step S2 specifically includes:

[0013] Step S21, determine the number of hidden layers, regularization parameter C and activation function of DELM; initialize the parameters of HHO, including search dimension dim, maximum number of iterations T, population size m, upper bound lb of the number of nodes in the DELM hidden layer, and lower bound ub of the number of nodes in the DELM hidden layer;

[0014] Step S22: Initialize the population based on the Piecewise chaotic mapping strategy to overcome the blindness of population initialization, specifically:

[0015]

[0016] In the above formula, P is the control parameter, P∈[0,1]; r i is the i-th chaotic number, r i ∈[0, 1];

[0017] Step S23, establish a DELM model, perform multi-layer ELM-AE unsupervised feature extraction, take the input sample X as the target output X1=X of the first ELM-AE, calculate the output weight β1, and let The output matrix H1 of the first hidden layer of DELM is used as the input and target output of the next ELM-AE, and the training is carried out layer by layer to obtain the hidden layer weights of each layer; among which, the output H1 of the i-th hidden layer i Calculated as:

[0018] H i =g(H i-1 ·w i )

[0019] w i (i=1,2,…,h) represents the weight between the i-1th hidden layer and the i-th hidden layer, and g(.) represents the Sigmoid activation function.

[0020] The last layer of the DELM model is trained using the original ELM, and the expression of its output weight γ is:

[0021] γ * =(I k / C+H T H) -1 H T Y

[0022] In the above formula, I k represents the k-dimensional identity matrix, C represents the regularization parameter, Y represents the actual value of the output sample, and H represents the output of the last hidden layer.

[0023] Preferably, in step S3, the root mean square error obtained by DELM training is used as the fitness value, and the calculation formula is:

[0024]

[0025] Among them, y i is the actual value, is the estimated value, and N is the number of samples in the test set.

[0026] Preferably, the step S4 specifically includes:

[0027] Calculate the escape energy E of the prey:

[0028]

[0029] In the above formula, t is the current iteration number, T is the maximum iteration number, and E0 is the initial state of its energy;

[0030] If |E|≥1, a global search is performed, and the Harris Hawk searches different areas to explore the location of the prey;

[0031] If |E|<1, different local development strategies are selected based on the random number r between 0 and 1 and the escape energy E, including:

[0032] When r≥0.5 and |E|≥0.5, the soft siege position update strategy is adopted;

[0033] When r≥0.5 and |E|<0.5, the hard siege position update strategy is adopted;

[0034] When r<0.5 and |E|≥0.5, a soft siege strategy of progressive rapid dive is adopted;

[0035] When r<0.5 and |E|<0.5, a hard siege strategy with progressive rapid dives is adopted.

[0036] Preferably, after selecting different local development strategies based on the random number r between 0 and 1 and the escape energy E, the method further includes:

[0037] The inertia weight strategy is introduced to re-update the neighborhood of the prey position to find a better solution. The inertia weight formula and prey position update are shown in the following formula:

[0038] w=1-(t / T) 2

[0039] X' rabbit =w*X rabbit

[0040] In the above formula, w is the weight coefficient, X′ rabbit is the updated prey position, X rabbit Prey location before the update.

[0041] Preferably, in step S5, the optimal position is disturbed based on the adaptive t distribution, specifically including:

[0042] Adaptive t distribution is introduced to perturb the optimal position, and the number of iterations iter is used as the degree of freedom parameter to solve the problem of being unable to jump out of the local optimum. The position formula after mutation is:

[0043] Xbest'=Xbest+Xbest*t(iter)

[0044] Where, X best is the optimal position for Harris Hawk, X best ′ is the position after mutation.

[0045] The embodiment of the present invention provides a debutanizer soft sensor modeling method based on improved HHO optimized DELM, firstly obtains the debutanizer production process data set and selects variables according to the process principle and operation experience; then normalizes the obtained data set to make it dimensionless data set and divides it into training set and test set; then determines the topological structure of DELM, optimizes the number of nodes of the deep extreme learning machine (DELM) hidden layer by Harris Hawk optimization algorithm (HHO), takes the root mean square error obtained by DELM training as the fitness value, and selects the number of nodes that minimizes the model error; in view of the limitations of HHO, introduces Piecewise chaotic mapping, inertia weight and adaptive t distribution, overcomes the blindness of the algorithm when initializing the population, improves the search ability and convergence speed of the population, and solves the problem that the algorithm cannot jump out of the local optimum; finally completes the training of the DELM model. Based on the debutanizer production process data set, a DELM soft sensor model optimized by improved HHO is constructed, which can not only avoid the appearance of local minimum values ​​in the model, but also improves the estimation accuracy of the soft sensor model established by other methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] 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 description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0047] Figure 1 A flowchart of a method for soft-sensing modeling of a debutanizer based on improved HHO optimized DELM according to an embodiment of the present invention;

[0048] Figure 2 A schematic diagram of a specific process of a debutanizer soft sensor modeling method based on an improved HHO optimized DELM according to an embodiment of the present invention;

[0049] Figure 3 A distribution diagram of Piecewise mapping iterated 200 times according to an embodiment of the present invention;

[0050] Figure 4 is a network structure diagram of a DELM according to an embodiment of the present invention;

[0051] Figure 5 It is a comparison diagram of the estimated value and the true value of the IHHO-DELM soft sensor model established based on the debutanizer data set according to an embodiment of the present invention. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are 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.

[0053] In the embodiments of the present application, the term "and / or" is merely a description of the association relationship between associated objects, indicating that three relationships may exist. For example, A and / or B may represent three situations: A exists alone, A and B exist at the same time, and B exists alone.

[0054] The terms "first" and "second" in the embodiments of the present application are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first" and "second" can explicitly or implicitly include at least one of the features. In the description of the present application, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a system, product or device comprising a series of parts or units is not limited to the listed parts or units, but optionally also includes parts or units that are not listed, or optionally also includes other parts or units inherent to these products or devices. In the description of the present application, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0055] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0056] So far, some scholars have adopted group intelligent optimization algorithms such as particle swarm optimization algorithm, simulated annealing algorithm, whale optimization algorithm to optimize the number of nodes in the DELM hidden layer. Harris Hawk Algorithm is an intelligent optimization algorithm that simulates the predation behavior of Harris Hawk. Its advantages are few parameters, high search accuracy, simplicity and ease of implementation. Compared with other group intelligent optimization algorithms, it has certain advantages. However, it also has certain limitations, such as the algorithm is blind when initializing the population and is prone to fall into local optimality.

[0057] Therefore, the embodiment of the present invention provides a debutanizer soft measurement modeling method based on improved HHO optimized DELM, establishes a DELM soft measurement model based on the debutanizer production process data set, and uses HHO to optimize the number of nodes of DELM to obtain higher estimation accuracy. In view of the limitations of HHO, Piecewise chaotic mapping, inertia weight and adaptive t distribution are introduced to overcome the blindness of the algorithm when initializing the population, improve the search ability and convergence speed of the population, and solve the problem that the algorithm cannot jump out of the local optimum. The following will be explained and introduced through multiple embodiments.

[0058] Figure 1 A method for soft-sensing modeling of a debutanizer based on an improved HHO optimized DELM is provided for an embodiment of the present invention, comprising:

[0059] Step S1, collecting process variables and target variables in the debutanizer production process, and dividing them into a training set and a test set after normalization;

[0060] Specifically, process data under normal operating conditions during the production process of the debutanizer tower are collected through sensors, and variable selection is performed based on process principles and operating experience; wherein the process variables include tower top temperature, tower top pressure, reflux flow, flow to the next process, the sixth partition temperature, the first tower bottom temperature, and the second tower bottom temperature; the target variable is butane concentration; wherein the process variable is an input variable, and the target variable is an output variable.

[0061] The process variables and target variables of the collected production process data are normalized, and the normalization formula is:

[0062]

[0063] Where x′ is the data after normalization, x is the original data collected, and x min is the minimum value in the original process variable data, x max It is the maximum value in the original process variable data.

[0064] After normalization, the dataset is divided into training set and test set in a ratio of 7:3.

[0065] Step S2, determining the topological structure of the deep extreme learning machine DELM, determining the initialization parameters of the Harris Hawk optimization algorithm HHO, and initializing the population based on the Piecewise chaotic mapping strategy to construct a DELM model; specifically including:

[0066] Step S21, determine the number of hidden layers, regularization parameter C and activation function of DELM; initialize the parameters of HHO, including search dimension dim, maximum number of iterations T, population size m, upper bound lb of the number of nodes in the DELM hidden layer, and lower bound ub of the number of nodes in the DELM hidden layer;

[0067] Set the number of hidden layers to 3, the regularization parameter C to 1000, and the activation function to the Sigmoid function;

[0068] Initialize the parameters required for HHO, search dimension dim = 3, maximum number of iterations T = 100, population size m = 30, and upper and lower bounds lb, ub of the number of nodes in the DELM hidden layer are [10, 500].

[0069] Step S22: Initialize the population based on the Piecewise chaotic mapping strategy to overcome the blindness of population initialization, specifically:

[0070]

[0071] In the above formula, P is the control parameter, P∈[0,1]; r i is the i-th chaotic number, r i ∈[0,1]; when the distribution of the Piecewise mapping iteration 200 times is as follows Figure 3 As shown, it can be seen that using Piecewise chaotic mapping instead of random initialization can make the population more evenly distributed in the search space.

[0072] Step S23: Establish a DELM model. Figure 4 The network structure of DELM is firstly used to extract unsupervised features of multi-layer ELM-AE. The input sample X is used as the target output X1=X of the first ELM-AE. The output weight β1 is calculated. The output matrix H1 of the first hidden layer of DELM is used as the input and target output of the next ELM-AE, and the training is carried out layer by layer to obtain the hidden layer weights of each layer; among which, the output H1 of the i-th hidden layer i Calculated as:

[0073] H i =g(H i-1 ·w i )

[0074] w i (i=1,2,…,h) represents the weight between the i-1th hidden layer and the i-th hidden layer, and g(.) represents the Sigmoid activation function.

[0075] The last layer of the DELM model is trained using the original ELM, and the expression of its output weight γ is:

[0076] γ * =(I k / C+H T H) -1 H T Y

[0077] In the above formula, I k represents the k-dimensional identity matrix, C represents the regularization parameter, Y represents the actual value of the output sample, and H represents the output of the last hidden layer. ;

[0078] Step S3: Use the root mean square error obtained by DELM training as the fitness value, calculate the fitness value of each individual and set the individual with the best fitness value as the optimal position of the current prey. The calculation formula is:

[0079]

[0080] Among them, y i is the actual value, is the estimated value, and N is the number of samples in the test set.

[0081] Step S4, determining the escape energy of the prey, and determining a search strategy based on the escape energy; specifically comprising:

[0082] Calculate the escape energy E of the prey:

[0083]

[0084] In the above formula, t is the current iteration number, T is the maximum iteration number, and E0 is the initial state of its energy; when the escape energy |E|≥1, the Harris Hawk searches different areas to explore the location of the rabbit, which belongs to the global search stage; when |E|<1, the algorithm tries to use the neighborhood for local development, which corresponds to the local development stage.

[0085] During the global search phase, the Harris Hawk position update formula is:

[0086]

[0087]

[0088] where X(t+1) is the position vector of the eagle in the next iteration, X rabbit is the position of the rabbit, X rand is the position of the eagle randomly selected from the current population, r1, r2, r3, r4 are all random numbers between 0 and 1, lb and ub represent the upper and lower bounds of the variable respectively, and X m is the average position of the current eagle population, and N is the size of the population.

[0089] The algorithm is controlled to select different local development strategies by a random number r between 0 and 1 and the escape energy E. In addition, in order to improve the search ability of the population in the Harris Hawk optimization algorithm and increase its convergence speed, the inertia weight strategy is introduced to re-update the neighborhood of the prey position to find a better solution.

[0090] The inertia weight strategy is introduced to re-update the neighborhood of the prey position to find a better solution. The inertia weight formula and prey position update are shown in the following formula:

[0091] w=1-(t / T) 2

[0092] X' rabbit =w*X rabbit

[0093] In the above formula, w is the weight coefficient, X′ rabbit is the updated prey position, X rabbit The position of the prey before updating. Because prey always try to escape from threatening situations, assuming that r represents the probability of the rabbit escaping, r<0.5 means successful escape, and r≥0.5 means unsuccessful escape. Then the position update strategy in the local development phase after introducing the inertia weight is:

[0094] If |E|<1, different local development strategies are selected based on the random number r between 0 and 1 and the escape energy E, including:

[0095] When r≥0.5 and |E|≥0.5, the soft siege position update strategy is adopted; the position update formula is:

[0096] X(t+1)=ΔX(t)-E|J*X' rabbit (t)-X(t)|

[0097] ΔX(t)=X' rabbit (txt)

[0098] Among them, ΔX is the difference between the position vector of the rabbit in iteration t and the current position, r5 is a random number in (0,1), and J=2(1-r5) represents the random jumping intensity of the rabbit during the entire escape process.

[0099] When r≥0.5 and |E|<0.5, the hard siege position update strategy is adopted; the position update formula is:

[0100] X(t+1)=X' rabbit (t)-E|ΔX(t)|

[0101] When r<0.5 and |E|≥0.5, a soft siege strategy of progressive rapid dive is adopted. If the fitness is improved after the position update, the position update formula is T1. If the fitness value is not improved after the position update, the position update formula is T2.

[0102] X(t+1)=X' rabbit (t)-E|J*X' rabbit (t)-X(t)| (T1)

[0103] X(t+1)=X' rabbit (t)-E|J*X' rabbit (t)-X(t)|+S×LF(D) (T2)

[0104] Where D is the dimension of the space, S is a random vector of size 1×D, and LF is the levy flight function used to simulate the true sawtooth deceptive movement of the prey during the escape phase, as well as the irregular, sudden and rapid dives of the hawk around the fleeing prey, calculated as:

[0105]

[0106] where u,v are random values ​​in (0,1) and β is a default constant set to 1.5.

[0107] When r<0.5 and |E|<0.5, a hard siege strategy with progressive rapid dive is adopted. If the updated position is better than the previous position, the position update formula is U1, otherwise the position update formula is U2:

[0108] X(t+1)=X' rabbit (t)-E|J*X' rabbit (t)-X m (t)| (U1)

[0109] X(t+1)=X' rabbit (t)-E|J*X' rabbit (t)-X m (t)|+S×LF(D) (U2)

[0110] Step S5: perturb the optimal position based on the adaptive t distribution. If the iteration is completed, the optimal solution is used as the number of DELM nodes to complete the training of the DELM model and output the estimated value on the test set. If the iteration is not completed, jump to step S3. Specifically including:

[0111] Adaptive t distribution is introduced to perturb the optimal position, and the number of iterations iter is used as the degree of freedom parameter to solve the problem of being unable to jump out of the local optimum. The position formula after mutation is:

[0112] Xbest'=Xbest+Xbest*t(iter)

[0113] Where, X best is the optimal position for Harris Hawk, X best ′ is the position after mutation. The number of iterations iter is used as the degree of freedom parameter. In the early stage, iter is small, which is similar to Cauchy mutation and has strong global search ability. In the later stage, iter is large, which is similar to Gaussian mutation and has strong local search ability.

[0114] Determine whether the algorithm has reached the maximum number of iterations. If not, jump to step S3. If reached, use the optimal solution as the number of nodes in each hidden layer of the deep extreme learning machine, complete the training of the DELM model, and output the estimated value on the test set.

[0115] In order to verify the effectiveness and superiority of the improved Harris Hawk optimization algorithm, the basic Harris Hawk optimization algorithm (HHO), cuckoo optimization algorithm (CS), whale optimization algorithm (WOA) and grey wolf algorithm (GWO) are selected for comparative analysis, and the single peak test function is respectively:

[0116]

[0117] Multimodal test function:

[0118]

[0119] Fixed dimension test function:

[0120]

[0121] Conduct simulation experiments.

[0122] Table 1 shows the average and standard deviation of the results of 30 independent runs of different algorithms.

[0123]

[0124]

[0125] Table 1 Comparison of different algorithms

[0126] It can be seen from Table 1 that the improved Harris Eagle optimization algorithm has higher optimization accuracy.

[0127] The IHHO-DELM soft sensor model is established based on the debutanizer production process data set. The comparison between the estimated value and the true value is as follows: Figure 5As shown. In order to verify the accuracy and superiority of the established IHHO-DELM soft sensor model, DELM soft sensor model, PSO-DELM soft sensor model, WOA-DELM soft sensor model, GWO-DELM soft sensor model, and HHO-DELM soft sensor model were selected as comparisons. And the root mean square error (RMSE), correlation coefficient (R 2 ) is used as a comparative performance indicator, and the calculation formula is:

[0128]

[0129]

[0130] where y i is the actual value of the i-th training sample, is the estimated value of the i-th training sample, is the mean of the training samples, and N is the number of test samples.

[0131] Table 2 shows the performance comparison results of the six models.

[0132]

[0133] Table 2 Comparison results of performance indicators of six models

[0134] Table 2 shows that the deep extreme learning machine soft sensor modeling method optimized by the improved Harris Eagle algorithm established in the present invention based on the debutanizer production process data set has higher estimation accuracy and generalization performance.

[0135] In summary, the soft sensor modeling method of debutanizer based on improved HHO optimized DELM provided by the embodiment of the present invention first obtains the debutanizer production process data set and selects variables according to the process principle and operation experience; then the obtained data set is normalized to make it a dimensionless data set and divided into a training set and a test set; then the topological structure of DELM is determined, the number of nodes of the deep extreme learning machine (DELM) hidden layer is optimized by the Harris Hawk optimization algorithm (HHO), the root mean square error obtained by DELM training is used as the fitness value, and the number of nodes that minimizes the model error is selected; in view of the limitations of HHO, piecewise chaotic mapping, inertia weight and adaptive t distribution are introduced to overcome the blindness of the algorithm when initializing the population, improve the search ability and convergence speed of the population, and solve the problem that the algorithm cannot jump out of the local optimum; finally the training of the DELM model is completed. Based on the debutanizer production process data set, a DELM soft sensor model optimized by improved HHO is constructed, which can not only avoid the appearance of local minimum values ​​in the model, but also improve the estimation accuracy of the soft sensor model established by other methods.

[0136] The various embodiments of the present invention can be combined arbitrarily to achieve different technical effects.

[0137] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in this application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk SolidStateDisk), etc.

[0138] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.

[0139] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A soft sensor modeling method for debutanizer based on improved HHO optimized DELM, characterized in that: include: Step S1, collecting process variables and target variables in the debutanizer production process, and dividing them into a training set and a test set after normalization; Step S2, determining the topological structure of the deep extreme learning machine DELM, determining the initialization parameters of the Harris Hawk optimization algorithm HHO, and initializing the population based on the Piecewise chaotic mapping strategy to construct a DELM model; Step S2 specifically includes: Step S21, determine the number of hidden layers, regularization parameter C and activation function of DELM; initialize the parameters of the improved HHO, including search dimension dim, maximum number of iterations T, population size m, upper bound lb of the number of nodes in the DELM hidden layer, and lower bound ub of the number of nodes in the DELM hidden layer; Step S22: Initialize the population based on the Piecewise chaotic mapping strategy to overcome the blindness of population initialization, specifically: In the above formula, P is the control parameter, P∈[0,1]; r i is the i-th chaotic number, r i ∈[0, 1]; Step S23, establish a DELM model, first perform multi-layer ELM-AE unsupervised feature extraction, take the input sample X as the target output X1=X of the first ELM-AE, calculate the output weight β1, and set w1=β T1 ; The output matrix H1 of the first hidden layer of DELM is used as the input and target output of the next ELM-AE, and the training is carried out layer by layer in turn to obtain the hidden layer weights of each layer; where the output H1 of the i-th hidden layer i Calculated as: H i =g(H i-1 ·w i ) w i (i=1,2,…,h) represents the weight between the i-1th hidden layer and the i-th hidden layer, and g(.) represents the Sigmoid activation function; The last layer of the DELM model is trained using the original ELM, and the expression of its output weight γ is: γ * =(I k / C+H T H) -1 H T Y In the above formula, I k represents the k-dimensional identity matrix, C represents the regularization parameter, Y represents the actual value of the output sample, and H represents the output of the last hidden layer; Step S3, using the root mean square error obtained by DELM training as the fitness value, calculating the fitness value of each individual and setting the individual with the best fitness value as the optimal position of the current prey; Step S4, determining the escape energy of the prey, determining a search strategy based on the escape energy, and updating the position of the prey using an inertia weight; Step S5, perturb the optimal position based on the adaptive t distribution. If the iteration is judged to be completed, the optimal solution is used as the number of DELM nodes to complete the training of the DELM model and output the estimated value on the test set. If the iteration is not completed, jump to step S3.

2. The soft sensor modeling method for debutanizer based on improved HHO optimized DELM according to claim 1, characterized in that: In step S1, the process variables include tower top temperature, tower top pressure, reflux flow, flow to the next process, the sixth partition temperature, the first tower bottom temperature, and the second tower bottom temperature; the target variable is butane concentration; wherein the process variables are input variables, and the target variable is an output variable.

3. The soft sensor modeling method for debutanizer based on improved HHO optimized DELM according to claim 1, characterized in that: In step S3, the root mean square error obtained by DELM training is used as the fitness value, and the calculation formula is: Among them, y i is the actual value, is the estimated value, and N is the number of samples in the test set.

4. The soft sensor modeling method for debutanizer based on improved HHO optimized DELM according to claim 3 is characterized in that: The step S4 specifically includes: Calculate the escape energy E of the prey: In the above formula, t is the current iteration number, T is the maximum iteration number, and E0 is the initial state of its energy; If |E|≥1, a global search is performed, and the Harris Hawk searches different areas to explore the location of the prey; If |E|<1, different local development strategies are selected based on the random number r between 0 and 1 and the escape energy E, including: When r≥0.5 and |E|≥0.5, the soft siege position update strategy is adopted; When r≥0.5 and |E|<0.5, the hard siege position update strategy is adopted; When r<0.5 and |E|≥0.5, a soft siege strategy of gradual rapid dive is adopted; When r<0.5 and |E|<0.5, a hard siege strategy with progressive rapid dives is adopted.

5. The method for soft-sensing modeling of debutanizer based on improved HHO optimized DELM according to claim 4, characterized in that: After selecting different local development strategies based on the random number r between 0 and 1 and the escape energy E, it also includes: The inertia weight strategy is introduced to re-update the neighborhood of the prey position to find a better solution. The inertia weight formula and prey position update are shown in the following formula: w=1-(t / T) 2 X' rabbit =w*X rabbit In the above formula, w is the weight coefficient, X′ rabbit is the updated prey position, X rabbit Prey location before the update.

6. The soft sensor modeling method for debutanizer based on improved HHO optimized DELM according to claim 1, characterized in that: In step S5, the optimal position is disturbed based on the adaptive t distribution, specifically including: Adaptive t distribution is introduced to perturb the optimal position, and the number of iterations iter is used as the degree of freedom parameter to solve the problem of being unable to jump out of the local optimum. The position formula after mutation is: Xbest'=Xbest+Xbest*t(iter) Where, X best is the optimal position for Harris Hawk, X best ′ is the position after mutation.