[go: up one dir, main page]

CN110095988A - A kind of parameter optimization method of continuous stirred tank reactor state estimator - Google Patents

A kind of parameter optimization method of continuous stirred tank reactor state estimator Download PDF

Info

Publication number
CN110095988A
CN110095988A CN201910448507.6A CN201910448507A CN110095988A CN 110095988 A CN110095988 A CN 110095988A CN 201910448507 A CN201910448507 A CN 201910448507A CN 110095988 A CN110095988 A CN 110095988A
Authority
CN
China
Prior art keywords
value
state
total
temperature
estimator
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910448507.6A
Other languages
Chinese (zh)
Inventor
孔俊东
江爱朋
王浩坤
陈云
丁强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Electronic Science and Technology University
Original Assignee
Hangzhou Electronic Science and Technology University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Electronic Science and Technology University filed Critical Hangzhou Electronic Science and Technology University
Priority to CN201910448507.6A priority Critical patent/CN110095988A/en
Publication of CN110095988A publication Critical patent/CN110095988A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B13/00Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
    • G05B13/02Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
    • G05B13/04Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators
    • G05B13/042Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators in which a parameter or coefficient is automatically adjusted to optimise the performance

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明公开了一种连续搅拌反应釜状态估计器的参数优化方法,属于工业过程控制领域。本发明利用基于模拟退火机制的遗传群优化算法搜索最优的状态控制器参数,增强了局部搜索能力,相比于单一的优化算法,在提升了性能的同时,并没有增加新的算法参数。针对于衡量不同性质的时间指标和估计残差指标,采用归一化的思想将其纳入同一量纲来设计适应度函数,这种思想简单方便,易于实现,兼顾到计算的科学性及实时性,在状态估计的过程中得到优化的参数。并进一步将该参数优化方法应用于连续搅拌反应釜的状态估计器,得出的曲线仿真结果说明了该方法的有效性和实用性,并表明该方法具有局部搜索能力出色,收敛速度快,提高状态估计性能等显著优点。

The invention discloses a parameter optimization method of a continuous stirring reactor state estimator, belonging to the field of industrial process control. The invention utilizes the genetic group optimization algorithm based on the simulated annealing mechanism to search for optimal state controller parameters, and enhances the local search ability. Compared with a single optimization algorithm, it improves performance without adding new algorithm parameters. Aiming at measuring the time index and estimated residual index of different properties, the idea of normalization is used to incorporate them into the same dimension to design the fitness function. This idea is simple, convenient, easy to implement, and takes into account the scientific nature and real-time nature of calculation. , the optimized parameters are obtained in the process of state estimation. And further apply the parameter optimization method to the state estimator of the continuous stirring reactor, the obtained curve simulation results illustrate the effectiveness and practicability of the method, and show that the method has excellent local search ability, fast convergence speed, and improved Significant advantages such as state estimation performance.

Description

Parameter optimization method of continuous stirring reaction kettle state estimator
Technical Field
The invention relates to the field of industrial process control, in particular to a parameter optimization method of a continuous stirring reaction kettle state estimator.
Background
In most engineering practices, such as control systems in the fields of radar ranging, missile tracking, chemical production and the like, the system needs to be optimized through state feedback to meet the expected performance index requirements. The method has important value for the research on the detection of the physical quantity and the estimation of the state parameters in the process of the continuous stirring reaction kettle in the field of chemical production. However, not all the actual values of the state variables can be measured directly, and some state variables cannot even be detected. State estimation has been widely used in large-scale chemical production systems as a scientific method for estimating the internal state of a dynamic system from available metrology data. In practical systems, constraints are present in large quantities, such as the concentration of the substances in the continuous stirred tank reactor and the reaction temperature of the vessel always being greater than zero. Aiming at the problem, the proposed rolling time domain State Estimator (MHSE) can convert the State estimation problem into the optimization problem of fixed time domain length by utilizing the known information about system interference and State in a constraint form, and the rationality and accuracy of physical parameter estimation in the continuous stirring reaction kettle are fully improved. The estimation effect of the estimator applied to the reaction kettle is directly influenced by the size of the fixed time domain length, and therefore, parameter optimization in the estimator becomes an important aspect which must be considered when the estimator is designed.
The time domain length is an important parameter of MHSE. If the parameter value is too large, the solution efficiency of the estimator will decrease, but the estimation effect will increase as the parameter value increases. Therefore, when selecting the time domain length, it is necessary to emphasize the speed and the effect. At present, in MHSE application, the time domain length is usually selected as a positive integer value twice of the system order, and in the chemical production process of an actual continuous stirred tank reactor, engineering personnel can comprehensively consider production benefits, energy consumption and other factors to adjust according to engineering experience. The method has the disadvantages of long time consumption, serious resource consumption rate and incapability of objectively meeting the production requirement.
Disclosure of Invention
In view of the above situation, the technical problem to be solved by the present invention is to overcome the deficiencies of the prior art, and provide a parameter optimization method for a continuous stirred tank reactor state estimator with better estimation effect, wherein a genetic algorithm based on a simulated annealing mechanism is used to search the optimal parameters of the state estimator, and the parameter optimization method is further applied to the detailed description of the continuous stirred tank reactor system.
The parameter optimization method of the continuous stirring reaction kettle state estimator takes each group of feasible fixed time domain length values as an individual, and searches out the optimal state estimator parameter by utilizing a genetic group optimization algorithm based on a simulated annealing mechanism. The parameter optimization method of the continuous stirring reaction kettle state estimator specifically comprises the following steps:
step 1, establishing an ideal dynamic characteristic equation of the continuous stirring reaction kettle, wherein the equation is in the form as follows:
in the formula, cAAnd cBRespectively representing the concentration of the components A (cyclopentadiene) and B (cyclopentene) in mol/L; theta and thetaKRespectively representing the reaction temperature and the cooling temperature, and the unit is; andrespectively represent cA、cBTheta and thetaKA derivative of (a); v represents the feed volume in m3Represents the derivative of V; vRDenotes the reaction volume in m3Represents the heat dissipation in the cooling jacket in KJ · h-1;cA0Represents the feed concentration in mol/L; theta0Represents the feed temperature in units of; rho represents the density of the reaction solution, and the unit is kg/L; cρThe heat capacity of the reaction solution is expressed in kJ/(kg. K); k is a radical ofwThe heat transfer coefficient of the cooling jacket is expressed in kJ/(h.m)2·K);ARDenotes the heat transfer area of the cooling jacket in m2;mKDenotes the mass of the cooling liquid in kg; cPKThe heat capacity of the cooling liquid is expressed in kJ/(kg. K); respectively represent reaction rates k1、k2、k3Enthalpy, in kJ/mol; reaction velocity ki(i ═ 1,2,3) depends on the reaction temperature and has the following form:
wherein k isi0Is corresponding to the reaction velocity kiIn units of h-1,EiIs corresponding to the reaction velocity kiThe unit of activation energy of (a) is K, i is 1,2,3.
And 2, carrying out variable scaling and discretization treatment, wherein the variable dimensionless scaling of the continuous stirred tank reactor system is as follows:
wherein, cA|SAs steady-state value of component A concentration, cB|SIs a steady-state value of the concentration of component B, [ theta ]SFor steady state values of reaction temperature, θK|SFor a steady-state value of the cooling temperature,is a steady state value of the material feed rate,is a steady-state value of the heat dissipation in the cooling jacket, cA0|SIs a steady state value of feed concentration, θ0|SIs the steady state value of the feed temperature.
After a continuous stirring reaction kettle system expressed by a nonlinear differential equation is linearized at a stable working point and sampled and dispersed, a discrete model in the following form is obtained:
wherein x isk∈RnIs a system state quantity, uk∈RgFor control input, yk∈RpMeasurement output, wk∈RmFor external interference, vk∈RpTo measure noise; w is akAnd vkAll conform to the white Gaussian noise characteristic, namely E (w)k)=0,E(vk)=0,Delta is a sign function; u. ofmaxAnd uminUpper and lower bound, w, respectively, of the control inputmaxAnd wminUpper and lower bound, T, respectively, of external interferencetotalFor the number of sample points, α and β are constant coefficient matrices.
And 3, obtaining a fitness function meeting the comprehensive performance index. Designing a rolling time domain estimator based on the discrete model in the step 2, wherein the form is as follows:
wherein T is the current time, T belongs to [ N +1, T ∈ [ ]total]N is a fixed time domain length, N is an element (0, T)total) And is an integer value, and T-N > 0,is a priori estimated value, ΠT-NIs a covariance matrix in the arrival cost;
solving the optimization problem described by the above equation can be obtainedAndthus represented by the formula:
obtaining x (T-N +1) and an estimated value x (T) at the current moment, and taking x (T-N +1) as a priori estimated value of rolling calculation at the next moment. Finally, a sequence formed by the state estimation values at all the moments in sequence is obtained
Mean square error value defining the effect of a measure of estimationWherein tau isj(j ═ 1,2,3,4) is a weight for each state component; t istotalCounting the number of sampling points; Δ xj,k(j=1,2,3,4;k=1,...,Ttotal) The absolute value of the deviation between the real value and the estimated value of the jth component of the system state at the moment k;
in view of weighing both the speed and the effect, the index values of the two different dimensions are normalized:
wherein, tactual,tmin,tmaxThe actual running time length, the shortest running time and the longest running time of the estimator are respectively expressed in seconds,respectively obtaining a minimum mean square error value and a maximum mean square error value of the estimator;
defining a fitness function of the form f (·) ═ Γ1tv2Δ χ, where f (·) is a fitness function with respect to a fixed time-domain length, Γ1,Γ2Is a set weight value. The parameter optimization problem with the continuous stirred tank state estimator can be transformed into the following form of problem:
0<N<Ttotal
N∈Z+
wherein Z is+Is a positive integer set.
Step 4, determining population size NP and optimizing algebra NtotalSetting the number of sampling points TtotalSetting d to 1, adopting dynamic binary coding for the individual, and setting the value of d to be (0, T)total) Initializing a group of parameters N in the range to serve as an initial population;
step 5, calculating the fitness function value f (p) of each individual pj (j is 1,2 … NP) in the populationj) Record the best individual p in the current generationbestAnd its fitness function value f (p)best) Selecting new good individuals according to the roulette rule;
6, crossing the selected paired individuals with a probability PcExchange the coded information between them and generate the mutation probability PmActing on individuals in the population to produce a new progeny p'j(j-1, 2 … NP), wherein Pc∈(0.8,1,)Pm∈(0,0.2);
Step 7, p 'of each individual in the new filial generation'j(j ═ 1,2 … NP) as the initial solution state X0And adopting a simulated annealing mechanism to update in sequence according to the following substeps:
substep 1, setting an initial temperature T0Threshold temperatureTfThe iteration number L of each temperature value is let kk be 1, and the current temperature Tem be T0
Substep 2, at (0, T)total) Randomly generating a new solution X 'in an interval, and calculating an increment value delta f ═ f (X) -f (X');
substep 3, judging whether the new solution X 'is accepted according to a Metropolis sampling criterion, if so, changing X into X', otherwise, keeping X unchanged;
substep 4, if kk is less than L, kk ═ kk +1, go to substep 2; otherwise, go to substep 5;
substep 5, if the temperature value in the simulated annealing mechanism is less than the preset threshold value TfOr the end condition that the solution state does not change is output, the current solution is a new individual pnew(ii) a If not, the temperature reduction function Tem is equal to KtX Tem generates the next time temperature value, where 0 < KtIf the temperature coefficient is less than 1, the process goes to substep 2;
step 8, if d is equal to NtotalGo to step 9; if d is less than NtotalD +1 and go to step 5;
and 9, outputting the optimal individual and the optimal value so as to obtain the optimal time domain length parameter and the optimal fitness function value.
The step 4 of adopting dynamic binary coding for the individuals comprises the following steps:
the length m of the binary code is represented by inequality 2m-1<Ttotal<2m-1 a calculated integer value, where TtotalThe number of sampling points.
The roulette rule for selecting the good individual in step 5 includes:
if a certain individual pjHas a fitness function value of f (p)j) The probability that the population is chosen is expressed as NPThe larger the individual fitness function value is, the larger the chance of selecting the individual fitness function value is; and vice versa.
The Metropolis sampling criterion in step 7 includes:
metropolis is an effective method for sampling the heavy points, and the algorithm is as follows: when the system changes from one energy state to another, the corresponding energy changes from e1Change to e2If e is2<e1The system accepts this status; otherwise, the state is accepted or discarded with a random probability. The probability that the new state is accepted is
In the formula, e2Representing the energy value resulting from the new state, i.e. f (X'), e1Representing the energy value that the old state produced, i.e., f (x), η represents the probability of accepting the new solution.
The invention has the following beneficial effects: 1. the method directly utilizes the simulated annealing mechanism to enhance the local search capability of the algorithm, and compared with a single optimization algorithm, the performance is improved without adding new algorithm parameters. 2. Aiming at measuring indexes with different properties, the fitness function is designed by adopting a normalization idea to bring the indexes into the same dimension, the idea is simple and convenient and easy to realize, the scientificity and the real-time property of calculation are considered, and optimized parameters are obtained in the process of estimating the state of the continuous stirred tank reactor system. 3. The algorithm utilizes GA (genetic Algorithm) and SAA (simulated annealing Algorithm) to combine to automatically optimize parameters, and has the remarkable advantages of high convergence speed, high calculation efficiency, good optimization performance and the like.
Drawings
FIG. 1 is a schematic view of a calculation flow of a parameter optimization method of the present invention;
FIG. 2 is a parameter-optimized fitness function convergence curve of the present invention;
fig. 3a, fig. 3B, fig. 3c, and fig. 3d are respectively the results of the simulation of the concentration of the substance a, the concentration of the substance B, the temperature in the cooling jacket, and the temperature in the reactor in the continuous stirred tank reactor system under parameter optimization.
Detailed Description
The technical scheme of the invention is explained in detail in the following with the accompanying drawings:
the parameter optimization method of the continuous stirring reaction kettle state estimator comprises the following steps:
step 1, establishing an ideal dynamic characteristic equation of the continuous stirring reaction kettle, wherein the equation is in the form as follows:
in the formula, cAAnd cBRespectively representing the concentration of the components A (cyclopentadiene) and B (cyclopentene) in mol/L; theta and thetaKRespectively representing the reaction temperature and the cooling temperature, and the unit is; andrespectively represent cA、cBTheta and thetaKA derivative of (a); v represents the feed volume in m3Represents the derivative of V; vRDenotes the reaction volume in m3Represents the heat dissipation in the cooling jacket in KJ · h-1;cA0Represents the feed concentration in mol/L; theta0Represents the feed temperature in units of; rho represents the density of the reaction solution, and the unit is kg/L; cρThe heat capacity of the reaction solution is expressed in kJ/(kg. K); k is a radical ofwThe heat transfer coefficient of the cooling jacket is expressed in kJ/(h.m)2·K);ARDenotes the heat transfer area of the cooling jacket in m2;mKDenotes the mass of the cooling liquid in kg; cPKThe heat capacity of the cooling liquid is expressed in kJ/(kg. K); respectively represent reaction rates k1、k2、k3Enthalpy, in kJ/mol; reaction velocity ki(i ═ 1,2,3) depends on the reaction temperature and has the following form:
wherein k isi0Is corresponding to the reaction velocity kiIn units of h-1,EiIs corresponding to the reaction velocity kiThe activation energy of (a) is in units of K, i ═ 1,2,3。
and 2, carrying out variable scaling and discretization treatment, wherein the variable dimensionless scaling of the continuous stirred tank reactor system is as follows:
wherein, cA|SAs steady-state value of component A concentration, cB|SIs a steady-state value of the concentration of component B, [ theta ]SFor steady state values of reaction temperature, θK|SFor a steady-state value of the cooling temperature,is a steady state value of the material feed rate,is a steady-state value of the heat dissipation in the cooling jacket, cA0|SIs a steady state value of feed concentration, θ0|SIs the steady state value of the feed temperature.
Temperature theta0And concentration cA0The fluctuation range of (a) is as follows:
4.6mol/L≤cA0≤6mol/L,
100℃≤θ0≤115℃.
the steady state values for the various variables are as follows:
cA|S=2.14mol/L,cA0|S=5.10mol/L,
cB|S=1.09mol/L,θ0|S=104.9℃,
θ|S=114.2℃,
θK|S=112.9℃
after a continuous stirring reaction kettle system represented by a nonlinear differential equation is linearized at a stable working point and is dispersed for 50s of sampling time, a discrete model in the following form is obtained:
wherein x isk∈RnIs a system state quantity, uk∈RgFor control input, yk∈RpMeasurement output, wk∈RmFor external interference, vk∈RpTo measure noise; w is akAnd vkAll conform to the white Gaussian noise characteristic, namely E (w)k)=0,E(vk)=0,Delta is a sign function; u. ofmaxAnd uminUpper and lower bound, w, respectively, of the control inputmaxAnd wminUpper and lower bound, T, respectively, of external interferencetotalThe number of sampling points.
The known parameters are as follows:
umin=[-0.7886 -1]T,umax=[1.4665 7.0826]T,
wmin=[-0.0980 -0.0130]T,wmax=[0.1765 0.0267]T.
and 3, obtaining a fitness function meeting the comprehensive performance index. Designing a rolling time domain estimator based on the discrete model in the step 2, wherein the form is as follows:
wherein T is the current time, T belongs to [ N +1, T ∈ [ ]total]N is a fixed time domain length, N is an element (0, T)total) And is an integer value, and T-N > 0,is a priori estimated value, ΠT-NIs a covariance matrix in the arrival cost;
wherein,
solving the optimization problem described by the above equation can be obtainedAndthereby having the formula
Obtaining x (T-N +1) and current time estimated value x (T), and rolling and calculating x (T-N +1) as the next timeA priori estimate. Finally, a sequence formed by the state estimation values at all the moments in sequence is obtained
Mean square error value defining the effect of a measure of estimationWherein tau isj(j ═ 1,2,3,4) is a weight for each state component; t istotalCounting the number of sampling points; Δ xj,k(j=1,2,3,4;k=1,...,Ttotal) The absolute value of the deviation between the real value and the estimated value of the jth component of the system state at the moment k;
in view of weighing both the speed and the effect, the index values of the two different dimensions are normalized:
wherein, tactual,tmin,tmaxThe actual running time length, the shortest running time and the longest running time of the estimator are respectively expressed in seconds,respectively obtaining a minimum mean square error value and a maximum mean square error value of the estimator;
defining a fitness function of the form f (·) ═ Γ1tv2Δ χ, where f (·) is a fitness function with respect to a fixed time-domain length, Γ1,Γ2For the set weight values, 0.5 is taken. The parameter optimization problem with the continuous stirred tank state estimator can be transformed into the following form of problem:
0<N<Ttotal
N∈Z+
wherein Z is+Is a positive integer set.
Step 4, determining the population size NP to be 10 and optimizing the algebra NtotalSet the number of sampling points T as 100total350, setting d to 1, dynamic binary coding is adopted for the individuals, and the coding is performed at (0, T)total) Initializing a group of parameters N in the range to serve as an initial population;
step 5, calculating each individual p in the populationjFitness function value f (p) of (j ═ 1,2 … NP)j) Record the best individual p in the current generationbestAnd its fitness function value f (p)best) Selecting new good individuals according to the roulette rule;
6, crossing the selected paired individuals with a probability PcExchanging the coded information between them at 0.95, and changing the probability Pm0.1 on individuals in the population, yielding new progeny p'j(j-1, 2 … NP), wherein Pc∈(0.8,1),Pm∈(0,0.2);
Step 7, p 'of each individual in the new filial generation'j(j ═ 1,2.. NP) as the initial solution state X0And adopting a simulated annealing mechanism to update in sequence according to the following substeps:
substep 1, setting an initial temperature T0100 ℃, threshold temperature TfAt 25 deg.c, the number of iterations L of each temperature value is 20, k is 1, and the current temperature Tem is T0
Substep 2, at (0, T)total) Randomly generating a new solution X 'in an interval, and calculating an increment value delta f ═ f (X) -f (X');
substep 3, judging whether the new solution X 'is accepted according to a Metropolis sampling criterion, if so, changing X into X', otherwise, keeping X unchanged;
substep 4, if kk is less than L, kk ═ kk +1, go to substep 2; otherwise, go to substep 5;
substep 5, if the temperature value in the simulated annealing mechanism is less than the preset threshold value TfOr the end condition that the solution state does not change is output, the current solution is a new individual pnew(ii) a If not, the temperature reduction function Tem is equal to KtX Tem generates the next time temperature value, wherein let Kt0.75, and go to substep 2;
step 8, if d is equal to NtotalGo to step 9; if d is less than NtotalD +1 and go to step 5;
and 9, outputting the optimal individual and the optimal value so as to obtain the optimal time domain length parameter and the optimal fitness function value.
The step 4 of adopting dynamic binary coding for the individuals comprises the following steps:
the length m of the binary code is represented by inequality 2m-1<Ttotal<2m-1 a calculated integer value, where TtotalFor the number of sampling points, the number of coding bits of the fixed time domain length is m ═ 9.
The roulette rule for selecting the good individual in step 5 includes:
if a certain individual pjHas a fitness function value of f (p)j) The probability that the population is chosen is expressed as NPThe larger the individual fitness value, the greater the chance that it will be selected; and vice versa.
The Metropolis sampling criterion in step 7 includes:
metropolis is an effective method for sampling the heavy points, and the algorithm is as follows: when the system changes from one energy state to another, the corresponding energy changes from e1Change to e2If e is2<e1The system accepts thisA state; otherwise, the state is accepted or discarded with a random probability. The probability that the new state is accepted is
In the formula, e2Representing the energy value resulting from the new state, i.e. f (X'), e1Representing the energy value that the old state produced, i.e., f (x), η represents the probability of accepting the new solution.
In order to verify the parameter optimization method of the continuous stirred tank reactor state estimator, the program provided by the invention runs in a Matlab2014a environment, and an Intel Core i5 processor, a 2.5GHz CPU and a 4GB internal memory computer are adopted. The fitness function convergence curve of the parameter optimization method is shown in FIG. 2, and when T is reachedtotalFig. 3a to 3d show simulation results of the respective state quantities in the continuous stirred tank reactor system under the optimum combination parameter of N-21, and fig. 3a, 3B, 3c, and 3d show simulation results of curves of the concentration of the substance a, the concentration of the substance B, the temperature in the cooling jacket, and the temperature in the reactor in the continuous stirred tank reactor system, respectively.
The foregoing is a more detailed description of the invention in connection with specific preferred embodiments and is not intended to limit the practice of the invention to these embodiments. For those skilled in the art to which the invention pertains, several simple deductions or substitutions may be made without departing from the inventive concept, which should be construed as falling within the scope of the present invention.

Claims (4)

1. A parameter optimization method of a continuous stirring reaction kettle state estimator is characterized in that each group of feasible fixed time domain length values is used as an individual, and an optimal state estimator parameter is searched by utilizing a genetic group optimization algorithm based on a simulated annealing mechanism; the method specifically comprises the following steps:
step 1, establishing an ideal dynamic characteristic equation of the continuous stirring reaction kettle, wherein the equation is in the form as follows:
in the formula, cAAnd cBRespectively representing the concentration of the components A (cyclopentadiene) and B (cyclopentene) in mol/L;andrespectively representing the reaction temperature and the cooling temperature, and the unit is;andrespectively represent cA、cBAnda derivative of (a); v represents the feed volume in m3Represents the derivative of V; vRDenotes the reaction volume in m3Represents the heat dissipation in the cooling jacket in KJ · h-1;cA0Represents the feed concentration in mol/L;represents the feed temperature in units of; rho represents the density of the reaction solution, and the unit is kg/L; cρThe heat capacity of the reaction solution is expressed in kJ/(kg. K); k is a radical ofwThe heat transfer coefficient of the cooling jacket is expressed in kJ/(h.m)2·K);ARDenotes the heat transfer area of the cooling jacket in m2;mKDenotes the mass of the cooling liquid in kg; cPKThe heat capacity of the cooling liquid is expressed in kJ/(kg. K); respectively represent reaction rates k1、k2、k3Enthalpy, in kJ/mol; reaction velocity ki(i ═ 1,2,3.) depending on the reaction temperature and having the following form:wherein k isi0Is corresponding to the reaction velocity kiIn units of h-1,EiIs corresponding to the reaction velocity kiThe unit of activation energy of (a) is K, i is 1,2,3.
And 2, carrying out variable scaling and discretization treatment, wherein the variable dimensionless scaling of the continuous stirred tank reactor system is as follows:
wherein, cA|SAs steady-state value of component A concentration, cB|SIs a steady-state value of the concentration of component B,is a steady-state value of the reaction temperature,for a steady-state value of the cooling temperature,is a steady state value of the material feed rate,is a steady-state value of the heat dissipation in the cooling jacket, cA0|SIs a steady-state value of the feed concentration,is the steady state value of the feed temperature.
After a continuous stirring reaction kettle system expressed by a nonlinear differential equation is linearized at a stable working point and sampled and dispersed, a discrete model in the following form is obtained:
wherein x isk∈RnIs a system state quantity, uk∈RgFor control input, yk∈RpMeasurement output, wk∈RmFor external interference, vk∈RpTo measure noise; w is akAnd vkAll conform to the white Gaussian noise characteristic, namely E (w)k)=0,E(vk)=0,Delta is a sign function; u. ofmaxAnd uminUpper and lower bound, w, respectively, of the control inputmaxAnd wminUpper and lower bound, T, respectively, of external interferencetotalFor the number of sample points, α and β are constant coefficient matrices.
And 3, obtaining a fitness function meeting the comprehensive performance index. Designing a rolling time domain estimator based on the discrete model in the step 2, wherein the form is as follows:
wherein T is the current time, T belongs to [ N +1, T ∈ [ ]total]N is a fixed time domain length, N is an element (0, T)total) And is an integer value, and T-N > 0,is a priori estimated value, ΠT-NIs a covariance matrix in the arrival cost;
solving the optimization problem described by the above equation can be obtainedAndthus represented by the formula:
obtaining x (T-N +1) and an estimated value x (T) at the current moment, and taking x (T-N +1) as a priori estimated value of rolling calculation at the next moment. Finally, a sequence formed by the state estimation values at all the moments in sequence is obtained
Mean square error value defining the effect of a measure of estimationWherein tau isj(j ═ 1,2,3,4) is a weight for each state component; t istotalCounting the number of sampling points; Δ xj,k(j=1,2,3,4;k=1,...,Ttotal) The absolute value of the deviation between the real value and the estimated value of the jth component of the system state at the moment k;
in view of weighing both the speed and the effect, the index values of the two different dimensions are normalized:
wherein, tactual,tmin,tmaxThe actual running time length, the shortest running time and the longest running time of the estimator are respectively expressed in seconds,respectively obtaining a minimum mean square error value and a maximum mean square error value of the estimator;
defining a fitness function of the form f (·) ═ Γ1tv2Δ χ, where f (·) is a fitness function with respect to a fixed time-domain length, Γ12Is a set weight value. The parameter optimization problem with the continuous stirred tank state estimator can be transformed into the following form of problem:
0<N<Ttotal
N∈Z+
wherein Z is+Is a positive integer set.
Step 4, determining population size NP and optimizing algebra NtotalSetting the number of sampling points TtotalSetting d to 1, adopting dynamic binary coding for the individual, and setting the value of d to be (0, T)total) Initializing a group of parameters N in the range to serve as an initial population;
step 5, calculating each individual p in the populationjFitness function value f (p) of (j ═ 1,2 … NP)j) Record the best individual p in the current generationbestAnd its fitness function value f (p)best) Selecting new good individuals according to the roulette rule;
6, crossing the selected paired individuals with a probability PcExchange the coded information between them and generate the mutation probability PmActing on individuals in the population to produce a new progeny p'j(j-1, 2 … NP), wherein Pc∈(0.8,1,)Pm∈(0,0.2);
Step 7, p 'of each individual in the new filial generation'j(j ═ 1,2 … NP) as the initial solution state X0And adopting a simulated annealing mechanism to update in sequence according to the following substeps:
substep 1, setting an initial temperature T0Threshold temperature TfThe iteration number L of each temperature value is let kk be 1, and the current temperature Tem be T0
Substep 2, at (0, T)total) Randomly generating a new solution X 'in an interval, and calculating an increment value delta f ═ f (X) -f (X');
substep 3, judging whether the new solution X 'is accepted according to a Metropolis sampling criterion, if so, changing X into X', otherwise, keeping X unchanged;
substep 4, if kk is less than L, kk ═ kk +1, go to substep 2; otherwise, go to substep 5;
substep 5, if the temperature value in the simulated annealing mechanism is less than the preset threshold value TfOr the end condition that the solution state does not change is output, the current solution is a new individual pnew(ii) a If not, the temperature reduction function Tem is equal to KtX Tem generates the next time temperature value, where 0 < KtIf the temperature coefficient is less than 1, the process goes to substep 2;
step 8, if d is equal to NtotalGo to step 9; if d is less than NtotalD +1 and go to step 5;
and 9, outputting the optimal individual and the optimal value so as to obtain the optimal time domain length parameter and the optimal fitness function value.
2. The parameter optimization method for the continuous stirred tank reactor state estimator according to claim 1, wherein in the step 4, the binary-coded length m is represented by inequality 2m-1<Ttotal<2m-1 a calculated integer value, where TtotalThe number of sampling points.
3. The method for optimizing parameters of a continuous stirred tank reactor state estimator as claimed in claim 1, wherein in step 5, if a certain entity p is presentjHas a fitness function value of f (p)j) The probability that the population is chosen is expressed as NPThe larger the individual fitness function value is, the larger the chance of selecting the individual fitness function value is; and vice versa.
4. The method of claim 1, wherein Metropolis sampling criteria in step 7 is as follows:
when the system changes from one energy state to another, the corresponding energy changes from e1Change to e2If e is2<e1The system accepts this status; otherwise, the state is accepted or discarded with a random probability. The probability that the new state is accepted is
In the formula, e2Representing the energy value resulting from the new state, i.e. f (X'), e1Representing the energy value that the old state produced, i.e., f (x), η represents the probability of accepting the new solution.
CN201910448507.6A 2019-05-27 2019-05-27 A kind of parameter optimization method of continuous stirred tank reactor state estimator Pending CN110095988A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910448507.6A CN110095988A (en) 2019-05-27 2019-05-27 A kind of parameter optimization method of continuous stirred tank reactor state estimator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910448507.6A CN110095988A (en) 2019-05-27 2019-05-27 A kind of parameter optimization method of continuous stirred tank reactor state estimator

Publications (1)

Publication Number Publication Date
CN110095988A true CN110095988A (en) 2019-08-06

Family

ID=67449389

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910448507.6A Pending CN110095988A (en) 2019-05-27 2019-05-27 A kind of parameter optimization method of continuous stirred tank reactor state estimator

Country Status (1)

Country Link
CN (1) CN110095988A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113537440A (en) * 2021-07-05 2021-10-22 沈阳化工大学 CSTR period operating parameter optimization method based on Grey wolf algorithm
CN115788653A (en) * 2022-11-02 2023-03-14 吉林大学 Adaptive optimization thermal management control method, system and thermal management system for liquid-cooled power source

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006060214A2 (en) * 2004-11-18 2006-06-08 The Regents Of The University Of California Apparatus and methods for manipulation and optimization of biological systems
US20100121609A1 (en) * 2008-11-10 2010-05-13 Mitek Analytics Llc Method and system for diagnostics of apparatus
CN103177291A (en) * 2013-04-19 2013-06-26 浙江大学 Variable-search-space ribonucleic acid (RNA) genetic algorithm modeling method for continuous stirred tank reactor
CN103413029A (en) * 2013-07-22 2013-11-27 浙江工业大学 Moving horizon estimation method for multispeed sampling continuous agitating pot type reactor
CN105353619A (en) * 2015-11-26 2016-02-24 杭州电子科技大学 Rolling time domain tracking control method for batch injection molding process
CN106502092A (en) * 2016-10-21 2017-03-15 东南大学 A kind of thermal process model parameter identification method using improvement Hybrid Particle Swarm
CN106527132A (en) * 2016-11-10 2017-03-22 华南理工大学 Snakelike robot motion control method based on genetic simulated annealing algorithm
CN107220708A (en) * 2017-06-23 2017-09-29 哈尔滨工业大学 Adaptive Simulated Annealing Genetic Algorithm for Feature Selection in Sleep EEG Staging
CN109101683A (en) * 2018-06-29 2018-12-28 杭州电子科技大学 Coal-fired sub-prime utilizes the model update method with cleaning pretreatment system pyrolysis kettle

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006060214A2 (en) * 2004-11-18 2006-06-08 The Regents Of The University Of California Apparatus and methods for manipulation and optimization of biological systems
US20100121609A1 (en) * 2008-11-10 2010-05-13 Mitek Analytics Llc Method and system for diagnostics of apparatus
CN103177291A (en) * 2013-04-19 2013-06-26 浙江大学 Variable-search-space ribonucleic acid (RNA) genetic algorithm modeling method for continuous stirred tank reactor
CN103413029A (en) * 2013-07-22 2013-11-27 浙江工业大学 Moving horizon estimation method for multispeed sampling continuous agitating pot type reactor
CN105353619A (en) * 2015-11-26 2016-02-24 杭州电子科技大学 Rolling time domain tracking control method for batch injection molding process
CN106502092A (en) * 2016-10-21 2017-03-15 东南大学 A kind of thermal process model parameter identification method using improvement Hybrid Particle Swarm
CN106527132A (en) * 2016-11-10 2017-03-22 华南理工大学 Snakelike robot motion control method based on genetic simulated annealing algorithm
CN107220708A (en) * 2017-06-23 2017-09-29 哈尔滨工业大学 Adaptive Simulated Annealing Genetic Algorithm for Feature Selection in Sleep EEG Staging
CN109101683A (en) * 2018-06-29 2018-12-28 杭州电子科技大学 Coal-fired sub-prime utilizes the model update method with cleaning pretreatment system pyrolysis kettle

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
何庆,等: "改进遗传模拟退火算法在TSP优化中的应用", 《控制与决策》 *
周猛飞,等: "基于改进UKF 的滚动时域估计方法及其在PVC聚合过程中的应用", 《计算机与应用化学》 *
王宇红,等: "基于混合逻辑动态的过程控制实验装置故障检测", 《上海电机学院学报》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113537440A (en) * 2021-07-05 2021-10-22 沈阳化工大学 CSTR period operating parameter optimization method based on Grey wolf algorithm
CN115788653A (en) * 2022-11-02 2023-03-14 吉林大学 Adaptive optimization thermal management control method, system and thermal management system for liquid-cooled power source
CN115788653B (en) * 2022-11-02 2025-05-27 吉林大学 Adaptive optimization thermal management control method, system and thermal management system for liquid-cooled power source

Similar Documents

Publication Publication Date Title
Ghazvini et al. Experimental evaluation and artificial neural network modeling of thermal conductivity of water based nanofluid containing magnetic copper nanoparticles
Colak Experimental study for thermal conductivity of water‐based zirconium oxide nanofluid: developing optimal artificial neural network and proposing new correlation
Shafiq et al. Comparative analysis to study the Darcy–Forchheimer Tangent hyperbolic flow towards cylindrical surface using artificial neural network: an application to Parabolic Trough Solar Collector
Chuang et al. Kinetic limitations on droplet formation in clouds
Ali et al. MHD Williamson nanofluid flow in the rheology of thermal radiation, Joule heating, and chemical reaction using the Levenberg–Marquardt neural network algorithm
CN104462861B (en) A kind of reservoir operation decision-making technique synthesized based on regulation o f reservoir operation
CN110490351A (en) Heat exchanger fouling growth prediction technique based on PCA-GA-RBF
CN110957011B (en) Online production parameter estimation method of continuous stirring reactor under unknown time-varying measurement noise
CN119989988B (en) Method, medium and system for establishing liquid flow model in reactor
CN110095988A (en) A kind of parameter optimization method of continuous stirred tank reactor state estimator
Chen et al. Thermal response factors for fast parameterized design and long-term performance simulation of vertical GCHP systems
Cheng et al. Non-similarity solution and correlation of transient heat transfer in laminar boundary layer flow over a wedge
Li et al. The Research of Temperature Compensation for Thermopile Sensor Based on Improved PSO‐BP Algorithm
CN116911822A (en) Heat exchanger operation and maintenance method and model training method
Khan et al. Intelligent computing Levenberg Marquardt paradigm for the analysis of Hall current on thermal radiative hybrid nanofluid flow over a spinning surface
CN101587113A (en) Soft measurement method and instrument for reactant concentration in continuous stirring reactor based on positive strand RNA-GA
JP7681263B2 (en) Method for predicting the amount of silica scale formation
Esfe et al. Simulation and accurate prediction of thermal efficiency of functionalized COOH-MWCNT/water nanofluids by artificial neural network using experimental data
Kiran et al. Hybrid optimization algorithm for enhanced performance and security of counter-flow shell and tube heat exchangers
Szega Extended applications of the advanced data validation and reconciliation method in studies of energy conversion processes
Abolhasani et al. Numerical modeling and optimization of the enhancement of the cooling rate in concentric tubes under ultrasound field
Ma et al. Optimization-oriented online modeling for generators of absorption heat pump systems
Rojek et al. Chemical mixing simulations with integrated AI accelerator
Peng et al. ABCLS method for high-reliability aerospace mechanism with truncated random uncertainties
Gomathi et al. Machine learning approach to predict the thermal performance and friction factor of cylindrical heat exchangers with perforated conical ring turbulators

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190806