CN105975747A - CSTR (Continuous Stirred Tank Reactor) model parameter identification method based on unscented Kalman filtering algorithm - Google Patents

CSTR (Continuous Stirred Tank Reactor) model parameter identification method based on unscented Kalman filtering algorithm Download PDF

Info

Publication number
CN105975747A
CN105975747A CN201610272832.8A CN201610272832A CN105975747A CN 105975747 A CN105975747 A CN 105975747A CN 201610272832 A CN201610272832 A CN 201610272832A CN 105975747 A CN105975747 A CN 105975747A
Authority
CN
China
Prior art keywords
moment
represent
formula
covariance
state
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
CN201610272832.8A
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.)
Bohai University
Original Assignee
Bohai 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 Bohai University filed Critical Bohai University
Priority to CN201610272832.8A priority Critical patent/CN105975747A/en
Publication of CN105975747A publication Critical patent/CN105975747A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16ZINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS, NOT OTHERWISE PROVIDED FOR
    • G16Z99/00Subject matter not provided for in other main groups of this subclass

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a CSTR (Continuous Stirred Tank Reactor) model parameter identification method based on an unscented Kalman filtering algorithm. The method comprises the following steps: according to a CSTR continuous system model, obtaining a state spatial expression of which the state component contains a parameter to be identified; then, in virtue of an Euler algorithm, carrying out discretization processing on the obtained non-linear continuous state spatial expression to obtain a corresponding discrete iteration model; and finally, applying the unscented Kalman filtering algorithm to carry out multi-time iteration identification, and obtaining an accurate identification result. The algorithm has good astringency, is easy in combining with traditional software and has a good engineering application prospect.

Description

A kind of CSTR model parameter identification method based on Unscented kalman filtering algorithm
Technical field
The present invention relates to a kind of CSTR model parameter identification method based on Unscented kalman filtering algorithm, belong to System modelling and parameter identification technique field.
Background technology
CSTR (CSTR) is typical, the chemistry of nonlinearity in chemical process Response system.In the nucleus equipment of Chemical Manufacture, occupy considerable status, dyestuff, pharmaceutical reagent, In food and synthetic material industry, CSTR system is widely used.
Due to CSTR important function in Chemical Manufacture, it is therefore necessary to this process is carried out detailed grinding Study carefully.When CSTR setting up model and being analyzed, the parameter of model is unknown sometimes, so to CSTR Model parameter identification method study, there is important engineering significance.But, existing method such as extension Kalman filterings etc., these method identification results, it sometimes appear that dissipate, can not get correct result.In order to carry High identification efficiency and precision, research application Unscented kalman filtering algorithm carries out CSTR identification of Model Parameters, tool There is important meaning.
Summary of the invention
In order to effectively understand CSTR chemical reaction system in Chemical Manufacture, the present invention proposes a kind of based on nothing The CSTR model parameter identification method of mark Kalman filtering algorithm, effectively achieves the parameter of CSTR model Identification.
The technical solution of the present invention is: a kind of CSTR model parameter based on Unscented kalman filtering algorithm Discrimination method, its step is as follows:
(1), acquisition is augmented in state vector the state-space expression comprising CSTR model parameter to be identified;
(2), use euler algorithm that continuous print state-space expression is carried out discretization, it is thus achieved that the shape of discretization State space expression formula;
(3), initialize, including: the initial value of setup parameter identificationInitial parameter Identification Errors covariance And covariance matrix Q and R that process noise and measurement noise are met, algorithm iteration number of times maximum L;
(4), choosing the sigma point in k-1 moment, computing formula is:
δ k - 1 = x ^ k - 1 x ^ k - 1 + γ · p ^ x , k - 1 x ^ k - 1 - γ · p ^ x , k - 1
γ = n + λ , λ = α 2 · ( n + k f ) - n
In formula,Represent the state estimation in k-1 moment,Represent the state estimation error association side in k-1 moment Difference, γ represents that scale parameter, n representDimension;Constant α determines that sigma point is around averageRipple Dynamic scope, usual α ∈ [10-4,1];Constant kfIt is another scale parameter, when state estimation and parameter identification Generally take 0.
(5), on the basis of previous step, calculating the point of increase of the sigma point in k-1 moment, computing formula is:
( f k - 1 * ) i = f ( ( δ k - 1 ) i , u k - 1 )
( h k - 1 * ) i = h ( ( δ k - 1 ) i , u k - 1 )
In formula, f () is the nonlinear function of corresponding particular problem system equation, and h () is corresponding particular problem output side Nonlinear function in journey, uk-1Being to input control matrix the k-1 moment, subscript i represents corresponding to i-th sigma The relevant value of point, i=0 ... 2n.
(6), calculating the state vector average in k-1 moment and covariance, computing formula is:
x ^ k - 1 - = Σ i = 0 2 n w i m ( f k - 1 * ) i
p ^ x , k - 1 - = Σ i = 0 2 n w i c ( ( f k - 1 * ) i - x ^ k - 1 - ) ( ( f k - 1 * ) i - x ^ k - 1 - ) T + Q k - 1
In formula,Represent the state vector average in k-1 moment,Represent the state covariance in k-1 moment, Qk-1 Represent the covariance matrix that k-1 moment system noise is met, weight coefficientWithThe computing formula of value As follows:
w 0 m = λ n + λ , w 0 c = λ n + λ + ( 1 - α 2 + β )
w i m = w i c = 1 2 ( n + λ ) , i = 1 ... 2 n
In formula, β is typically to comprise the priori of x distribution, and for Gauss distribution, its optimal value typically takes 2.
(7), calculating the k-1 moment and measures vectorial average and covariance, computing formula is:
y k - 1 - = Σ i = 0 2 n w i m ( h k - 1 * ) i
p ^ y , k - 1 - = Σ i = 0 2 n w i c ( ( h k - 1 * ) i - y k - 1 - ) ( ( h k - 1 * ) i - y k - 1 - ) T + R k - 1
In formulaRepresent that the k-1 moment measures vector average,Represent that k-1 measures the covariance of vector, Rk-1Table Show the covariance matrix that the measurement noise in k-1 moment is met.
(8), calculating cross-covariance, computing formula is as follows:
p ^ x y , k - 1 - = Σ i = 0 2 n w i c ( ( f k - 1 * ) i - x ^ k - 1 - ) ( ( h k - 1 * ) i - y k - 1 - ) T
In formula,Represent the cross-covariance in k-1 moment.
(9), on the basis of previous step, the Kalman filtering gain in k-1 moment, its calculating followed are calculated Formula is:
K k - 1 = p ^ x y , k - 1 - · ( p ^ y , k - 1 - ) - 1
In formula, Kk-1Represent the Kalman filtering gain in k-1 moment.
(10), Unscented kalman filtering is used to update step, it is thus achieved that the state estimation in k moment and covariance, Computing formula is:
x ^ k = x ^ k - 1 - + K k - 1 · ( y k - 1 - y k - 1 - )
p ^ x , k = p ^ x , k - 1 - - K k - 1 · p ^ y , k - 1 - · K k - 1 T
In formula,Represent the state estimation in k moment, yk-1Represent that the k-1 moment measures output actual value,Represent The estimate covariance in k moment.
(11), successive ignition identification is carried out according to above-mentioned steps, until during k >=L, terminating iterative process, defeated Go out identification result.
The invention has the beneficial effects as follows: utilization Unscented kalman filtering is to CSTR identification of Model Parameters, due to nothing Mark Kalman filtering have employed the linearization technique being different from EKF, therefore, overcomes expansion card Kalman Filtering identification process occurs situation about dissipating, improves identification efficiency and precision.
Accompanying drawing explanation
Fig. 1 is the method flow diagram of the embodiment of the present invention;
Fig. 2 is the identification result that embodiment uses institute of the present invention extracting method;
Fig. 3 is the relative error of embodiment identification result;
Detailed description of the invention
Below in conjunction with specific embodiment, it is further elucidated with the present invention, it should be understood that these embodiments are merely to illustrate this Invention rather than restriction the scope of the present invention, after having read the present invention, those skilled in the art are to this The amendment of the bright various equivalent form of values all falls within the application claims limited range.
As it is shown in figure 1, CSTR model parameter identification method, it comprises the steps of:
(1) state-space expression comprising CSTR model parameter to be identified in state component, is obtained.
(2), use euler algorithm that continuous print state-space expression is carried out discretization, it is thus achieved that the shape of discretization State space expression formula.
(3), initialize, including: the initial value of setup parameter identificationInitial parameter Identification Errors covariance And covariance matrix Q and R that process noise and measurement noise are met, algorithm iteration number of times maximum L.
(4) the sigma point in k-1 moment, is chosen.
(5), on the basis of previous step, the point of increase of the sigma point in k-1 moment is calculated.
(6) state vector average and the covariance in k-1 moment, are calculated.
(7), the calculating k-1 moment measures vector average and covariance.
(8) cross-covariance in k-1 moment, is calculated.
(9), on the basis of previous step, the Kalman filtering gain in k-1 moment is calculated.
(10), Unscented kalman filtering is used to update step, it is thus achieved that the state estimation in k moment and covariance.
(11), successive ignition identification is carried out according to above-mentioned steps, until during k >=L, terminating iterative process, defeated Go out identification result.
Assume to occur heat release, irreversible reaction in CSTR (CSTR).Reactant be A, Product is B.According to material balance and energy balance relations, obtain following reaction procedure model (CSTR shape State space describes):
C · A = q V ( C A f - C A ) - k 0 e - E R T C A T · = q V ( T f - T ) + ( - Δ H ) ρC p k 0 e - E R T C A + U A VρC p ( T c - T )
This nonlinear system has two state variables i.e.: the concentration C of component A in reactorA(state variable x1), instead Answer temperature T (state variable x2);One controls input variable Tc(input u).At following embodiment simulation analysis Time assume ρ andBeing parameter to be identified, their true value is 1000 and 8750 respectively.Other ginsengs in model The physical significance of number and value such as table 1.
The physical significance of relevant parameter and value in table 1 CSTR model
In order to use Unscented kalman filtering that the unknown parameter in model is carried out identification, it is necessary first to obtain state Component comprises the state-space expression of parameter to be identified, assumes that for this ρ is state component x3For state Component x4, then the state-space expression that is augmented after arranging is (bringing relevant model parameter into):
State equation is:
Output equation is:
W in formulai(i=1,2,3,4) is system noise, vi(i=1,2) is measurement noise, and they are the white Gaussian of zero-mean Noise, and meet covariance matrix Q respectivelykAnd Rk, it may be assumed that
Q k = E [ w k w k T ] , R k = E [ v k v k T ]
Use euler algorithm that above-mentioned state equation is carried out discretization, obtain the discrete state equations of correspondence, at this base On plinth, Unscented kalman filtering the most just can be used to carry out successive ignition identification.In identification process, without mark card The relevant parameter value of Kalman Filtering is:
Q = 10 - 5 0 0 0 0 10 - 3 0 0 0 0 10 - 5 0 0 0 0 10 - 5 , R = 10 - 4 0 0 10 - 2 , u = 290
Based on above-mentioned analysis, by successive ignition identification, it is thus achieved that identification result accurately.Fig. 1 is embodiment Algorithm flow chart used, Fig. 2 is the parameter identification result of embodiment, and Fig. 3 is that utilization is proposed by the invention The method relative error to embodiment identification result.

Claims (1)

1. a CSTR model parameter identification method based on Unscented kalman filtering algorithm, it is characterised in that Comprise the steps of:
(1) state-space expression comprising CSTR model parameter to be identified in state component, is obtained.
(2), use euler algorithm that continuous print state-space expression is carried out discretization, it is thus achieved that discrete state Spatial expression.
(3), initialize, including: the initial value of setup parameter identificationInitial parameter Identification Errors covariance And covariance matrix Q and R that process noise and measurement noise are met, algorithm iteration number of times maximum L.
(4), choosing the sigma point in k-1 moment, computing formula is:
δ k - 1 = x ^ k - 1 x ^ k - 1 + γ · p ^ x , k - 1 x ^ k - 1 - γ · p ^ x , k - 1
γ = n + λ , λ = α 2 · ( n + k f ) - n
In formula,Represent the state estimation in k-1 moment,Represent the state estimation error association side in k-1 moment Difference, γ represents that scale parameter, n representDimension;Constant α determines that sigma point is around averageRipple Dynamic scope, usual α ∈ [10-4,1];Constant kfIt is another scale parameter, when state estimation and parameter identification Generally take 0.
(5), on the basis of previous step, calculating the point of increase of the sigma point in k-1 moment, computing formula is:
( f k - 1 * ) i = f ( ( δ k - 1 ) i , u k - 1 )
( h k - 1 * ) i = h ( ( δ k - 1 ) i , u k - 1 )
In formula, f () is the nonlinear function of corresponding particular problem system equation, and h () is corresponding particular problem output side Nonlinear function in journey, uk-1Being to input control matrix the k-1 moment, subscript i represents corresponding to i-th sigma The relevant value of point, i=0 ... 2n.
(6), calculating the state vector average in k-1 moment and covariance, computing formula is:
x ^ k - 1 - = Σ i = 0 2 n w i m ( f k - 1 * ) i
p ^ x , k - 1 - = Σ i = 0 2 n w i c ( ( f k - 1 * ) i - x ^ k - 1 - ) ( ( f k - 1 * ) i - x ^ k - 1 - ) T + Q k - 1
In formula,Represent the state vector average in k-1 moment,Represent the state covariance in k-1 moment, Qk-1 Represent the covariance matrix that k-1 moment system noise is met, weight coefficientWithThe computing formula of value As follows:
w 0 m = λ n + λ , w 0 c = λ n + λ + ( 1 - α 2 + β )
w i m = w i c = 1 2 ( n + λ ) , i = 1 ... 2 n
In formula, β is typically to comprise the priori of x distribution, and for Gauss distribution, its optimal value typically takes 2.
(7), calculating the k-1 moment and measures vectorial average and covariance, computing formula is:
y k - 1 - = Σ i = 0 2 n w i m ( h k - 1 * ) i
p ^ y , k - 1 - = Σ i = 0 2 n w i c ( ( h k - 1 * ) i - y k - 1 - ) ( ( h k - 1 * ) i - y k - 1 - ) T + R k - 1
In formulaRepresent that the k-1 moment measures vector average,Represent that k-1 measures the covariance of vector, Rk-1Table Show the covariance matrix that the measurement noise in k-1 moment is met.
(8), calculating cross-covariance, computing formula is as follows:
p ^ x y , k - 1 - = Σ i = 0 2 n w i c ( ( f k - 1 * ) i - x ^ k - 1 - ) ( ( h k - 1 * ) i - y k - 1 - ) T
In formula,Represent the cross-covariance in k-1 moment.
(9), on the basis of previous step, the Kalman filtering gain in k-1 moment, its calculating followed are calculated Formula is:
K k - 1 = p ^ x y , k - 1 - · ( p ^ y , k - 1 - ) - 1
In formula, Kk-1Represent the Kalman filtering gain in k-1 moment.
(10), Unscented kalman filtering is used to update step, it is thus achieved that the state estimation in k moment and covariance, Computing formula is:
x ^ k = x ^ k - 1 - + K k - 1 · ( y k - 1 - y k - 1 - )
p ^ x , k = p ^ x , k - 1 - - K k - 1 · p ^ y , k - 1 - · K k - 1 T
In formula,Represent the state estimation in k moment, yk-1Represent that the k-1 moment measures output actual value,Represent The estimate covariance in k moment.
(11), successive ignition identification is carried out according to above-mentioned steps, until during k >=L, terminating iterative process, defeated Go out identification result.
CN201610272832.8A 2016-04-27 2016-04-27 CSTR (Continuous Stirred Tank Reactor) model parameter identification method based on unscented Kalman filtering algorithm Pending CN105975747A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610272832.8A CN105975747A (en) 2016-04-27 2016-04-27 CSTR (Continuous Stirred Tank Reactor) model parameter identification method based on unscented Kalman filtering algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610272832.8A CN105975747A (en) 2016-04-27 2016-04-27 CSTR (Continuous Stirred Tank Reactor) model parameter identification method based on unscented Kalman filtering algorithm

Publications (1)

Publication Number Publication Date
CN105975747A true CN105975747A (en) 2016-09-28

Family

ID=56993295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610272832.8A Pending CN105975747A (en) 2016-04-27 2016-04-27 CSTR (Continuous Stirred Tank Reactor) model parameter identification method based on unscented Kalman filtering algorithm

Country Status (1)

Country Link
CN (1) CN105975747A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106599541A (en) * 2016-11-23 2017-04-26 华南理工大学 Online structure and parameter identification method for dynamic power load model
CN109100649A (en) * 2018-06-25 2018-12-28 南京南瑞继保电气有限公司 Parameter estimation method for generator excitation system and speed regulation system based on phasor measurement
CN109990786A (en) * 2019-02-28 2019-07-09 深圳大学 Maneuvering target tracking method and device
WO2020052213A1 (en) * 2018-09-11 2020-03-19 东南大学 Iterative cubature unscented kalman filtering method
CN113537440A (en) * 2021-07-05 2021-10-22 沈阳化工大学 CSTR period operating parameter optimization method based on Grey wolf algorithm
CN117446664A (en) * 2023-10-26 2024-01-26 渤海大学 Tower crane control method based on fast finite time instruction filter

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106599541A (en) * 2016-11-23 2017-04-26 华南理工大学 Online structure and parameter identification method for dynamic power load model
CN106599541B (en) * 2016-11-23 2019-04-19 华南理工大学 A kind of structure and parameter on-line identification method of dynamic power load model
CN109100649A (en) * 2018-06-25 2018-12-28 南京南瑞继保电气有限公司 Parameter estimation method for generator excitation system and speed regulation system based on phasor measurement
CN109100649B (en) * 2018-06-25 2020-10-16 南京南瑞继保电气有限公司 Parameter estimation method for generator excitation system and speed regulation system based on phasor measurement
WO2020052213A1 (en) * 2018-09-11 2020-03-19 东南大学 Iterative cubature unscented kalman filtering method
CN109990786A (en) * 2019-02-28 2019-07-09 深圳大学 Maneuvering target tracking method and device
CN109990786B (en) * 2019-02-28 2020-10-13 深圳大学 Maneuvering target tracking method and device
CN113537440A (en) * 2021-07-05 2021-10-22 沈阳化工大学 CSTR period operating parameter optimization method based on Grey wolf algorithm
CN117446664A (en) * 2023-10-26 2024-01-26 渤海大学 Tower crane control method based on fast finite time instruction filter
CN117446664B (en) * 2023-10-26 2024-05-07 渤海大学 Tower crane control method based on fast finite time instruction filter

Similar Documents

Publication Publication Date Title
CN105975747A (en) CSTR (Continuous Stirred Tank Reactor) model parameter identification method based on unscented Kalman filtering algorithm
CN107765242A (en) System state estimation method based on state augmentation iterative extended Kalman filter
CN104102836A (en) Method for quickly estimating robust state of power system
US20220206469A1 (en) Method and apparatus for configuring processing parameters of production equipment, and computer-readable medium
Wallstedt et al. Improved velocity projection for the material point method
CN106200377A (en) A kind of method of estimation of flying vehicles control parameter
CN105868465A (en) LM correction method for identification of heat conductivity changing along with temperature
CN105046046A (en) Ensemble Kalman filter localization method
CN107547067A (en) A kind of multi-model self calibration EKF method
CN103809439A (en) Hierarchical identification method applicable to control parameters of teleoperation system
CN104794332B (en) A kind of Uncertainty Analysis Method of skyscraper wind-excited responese analysis model
CN111191186A (en) Multi-cell filtering method for positioning position of mobile robot in production workshop
CN109033181B (en) Wind field geographic numerical simulation method for complex terrain area
CN103970129B (en) Control valve viscous detection method
Kowalów et al. Optimal sensor selection for model identification in iterative learning control of spatio-temporal systems
CN102662326B (en) Method and device for industrial control by determining system parameter model
CN103439964B (en) A kind of online updating system and method for OCSVM monitoring model
CN116659504A (en) Real-time flight data estimation method based on Kalman filtering method
CN116522773A (en) WPT system modeling method based on data driving
CN103076035B (en) A kind of sensor measurement based on two support vector machine
Liu et al. Non-linear observers for state and unknown inputs estimation
CN105094114B (en) A kind of method of stability determining LPV controller
CN108052003A (en) Auto-disturbance-rejection Controller Design system based on photoelectric platform accurate model
CN104022757B (en) A kind of linear expansion method of the multilamellar Unscented kalman filtering device of High Order Moment coupling
Chao et al. Hybrid differential evolution for estimation of kinetic parameters for biochemical systems

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20160928