CN103675011B - The industrial melt index soft measurement instrument of optimum support vector machine and method - Google Patents

The industrial melt index soft measurement instrument of optimum support vector machine and method Download PDF

Info

Publication number
CN103675011B
CN103675011B CN201310435358.2A CN201310435358A CN103675011B CN 103675011 B CN103675011 B CN 103675011B CN 201310435358 A CN201310435358 A CN 201310435358A CN 103675011 B CN103675011 B CN 103675011B
Authority
CN
China
Prior art keywords
training sample
support vector
particle
sigma
iter
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.)
Expired - Fee Related
Application number
CN201310435358.2A
Other languages
Chinese (zh)
Other versions
CN103675011A (en
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.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
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 Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN201310435358.2A priority Critical patent/CN103675011B/en
Publication of CN103675011A publication Critical patent/CN103675011A/en
Application granted granted Critical
Publication of CN103675011B publication Critical patent/CN103675011B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The industrial melt index soft that the invention discloses a kind of optimum support vector machine measures soft measuring instrument and method.This flexible measurement method carries out Fuzzy processing to the output of multiple Weighted Least Squares Support Vector Machines, and adopts particle cluster algorithm to be optimized whole fuzzifying equation system, to obtain optimum hard measurement result.In the present invention, for measure easily survey variable field intelligent instrument, be connected with DCS database for the control station measuring performance variable, hard measurement value display instrument comprises the industrial melt index soft measurement model of optimum support vector machine, DCS database is connected with the input end of soft-sensing model, and the output terminal of the industrial melt index soft measurement model of described optimum support vector machine is connected with melt index flexible measured value display instrument; The present invention has on-line optimization parameter, model upgrades automatically, noise resisting ability strong, promote the good feature of performance.

Description

The industrial melt index soft measurement instrument of optimum support vector machine and method
Technical field
The present invention relates to soft measuring instrument and method, particularly relate to a kind of industrial melt index soft measurement instrument and method of optimum support vector machine.
Background technology
Polypropylene is a kind of hemicrystalline thermoplastics by propylene polymerization, and have higher resistance to impact, engineering properties is tough, and anti-multiple organic solvent and acid and alkali corrosion, being widely used in industry member, is one of usual modal macromolecular material.Melting index (MI) determines one of important quality index of the final products trade mark during polypropylene is produced, and which determines the different purposes of product.Melting index accurate, measure timely, to production and scientific research, have very important effect and directive significance.But the on-line analysis of melting index is measured and is still difficult to accomplish at present, the in-line analyzer lacking melting index is a subject matter of restriction polypropylene product quality.MI can only pass through hand sampling, off-line assay obtains, and general every 2-4 hour analyzes once, and time lag is large, is difficult to meet the requirement of producing and controlling in real time.
Research work major part in recent years about the online forecasting of MI all concentrates on above artificial neural network, achieves good effect.But artificial neural network also has the shortcoming of himself, the interstitial content of such as over-fitting, hidden layer and parameter is bad determines.Secondly, the DCS data that industry spot collects also because noise, manual operation error etc. are with certain uncertain error, so use the general Generalization Ability of forecasting model of the artificial neural network that determinacy is strong or not.
Nineteen sixty-five U.S. mathematician L.Zadeh first proposed the concept of fuzzy set.Subsequently fuzzy logic with its problem closer to daily people and the meaning of one's words statement mode, start the classical logic replacing adhering to that all things can represent with binary item.Fuzzy logic so far successful Application among multiple fields of industry, the such as field such as household electrical appliances, Industry Control.2003, Demirci proposed the concept of fuzzifying equation, by using fuzzy membership matrix and the input matrix new with its distortion structure one, then in local equation, showed that analytic value is as last output using the gravity model appoach in Anti-fuzzy method.For the hard measurement of melting index in propylene polymerization production process, consider the noise effect in industrial processes and operate miss, the fuzzy performance of fuzzy logic can be used to reduce error to the impact of whole forecast precision.
Support vector machine, was introduced in 1998 by Vapnik, due to the Generalization Ability that it is good, is widely used in pattern-recognition, matching and classification problem.Because standard support vector machine is to isolated point and noise sensitivity, so also been proposed Weighted Least Squares Support Vector Machines afterwards.Weighted Least Squares Support Vector Machines can process the sample data with noise better compared to standard support vector machine, is selected as the local equation in fuzzifying equation here.
Particle cluster algorithm, i.e. Particle Swarm Optimization, being a kind of a kind of biological intelligence optimizing algorithm seeking global optimum by imitating birds flight data dispose put forward by Kennedy and Eberhart professor, being called for short PSO.This algorithm is influenced each other by interparticle in colony, decreases the risk that searching algorithm is absorbed in locally optimal solution, has good global search performance.Particle cluster algorithm is used to the best parameter group of search weighted least square method supporting vector machine, to reach the object of Optimized model.
Summary of the invention
In order to the measuring accuracy overcoming existing propylene polymerization production process is not high, low to noise sensitivity, promote the deficiency of poor performance, the invention provides a kind of on-line measurement, computing velocity be fast, model upgrades automatically, noise resisting ability is strong, promote industrial melt index soft measurement instrument and the method for the good optimum support vector machine of performance.
A kind of industrial melt index soft measurement instrument of optimum support vector machine, comprise propylene polymerization production process, for measuring the field intelligent instrument easily surveying variable, for measuring the control station of performance variable, the DCS database of store data and melt index flexible measured value display instrument, described field intelligent instrument, control station is connected with propylene polymerization production process, described field intelligent instrument, control station is connected with DCS database, described soft measuring instrument also comprises the industrial melt index soft measurement model of optimum support vector machine, described DCS database is connected with the input end of the industrial melt index soft measurement model of described optimum support vector machine, the output terminal of the industrial melt index soft measurement model of described optimum support vector machine is connected with melt index flexible measured value display instrument, the industrial melt index soft measurement model of described optimum support vector machine comprises:
Data preprocessing module, carries out pre-service for the model training sample will inputted from DCS database, to training sample centralization, namely deducts the mean value of sample, then carries out standardization to it:
Computation of mean values: TX ‾ = 1 N Σ i = 1 N TX i - - - ( 1 )
Calculate variance: σ x 2 = 1 N - 1 Σ i = 1 N ( TX i - TX ‾ ) - - - ( 2 )
Standardization: X = TX - TX ‾ σ x - - - ( 3 )
Wherein, TX ibe i-th training sample, N is number of training, for the average of training sample, X is the training sample after standardization.σ xrepresent the standard deviation of training sample, σ 2 xrepresent the variance of training sample.
Fuzzifying equation module, to the training sample X passed from data preprocessing module after the standardization of coming, carries out obfuscation.If have c in fuzzifying equation system *individual fuzzy group, the center of fuzzy group k, j is respectively v k, v j, then i-th training sample X after standardization ifor the degree of membership μ of fuzzy group k ikfor:
μ ik = ( Σ j = 1 c * ( | | X i - v k | | | | X i - v j | | ) 2 n - 1 ) - 1 - - - ( 4 )
In formula, n is the partitioned matrix index needed in fuzzy classification process, is usually taken as 2, || || be norm expression formula.
Use and be subordinate to angle value or its distortion to obtain new input matrix above, for fuzzy group k, its input matrix is deformed into:
Φ ik(X iik)=[1func(μ ik)X i] (5)
Wherein func (μ ik) for being subordinate to angle value μ ikwarping function, generally get exp (μ ik) etc., Φ ik(X i, μ ik) represent i-th input variable X iand the degree of membership μ of fuzzy group k ikcorresponding new input matrix.
Weighted Least Squares Support Vector Machines, as the local equation of fuzzifying equation system, is optimized matching to each fuzzy group.If i-th of model training sample target exports as O i, the support vector machine of weighted is equivalent to following quadratic programming problem by conversion fitting problems:
min R ( w , ξ ) = 1 2 w T w + 1 2 γ Σ i = 1 N ω i ξ i 2 - - - ( 6 )
Wherein, R (w, ξ) is the objective function of optimization problem, and minR (w, ξ) is the minimum value of the objective function of optimization problem, and N is number of training, ξ={ ξ 1..., ξ nslack variable, ξ ibe i-th component of slack variable, w is the normal vector of support vector machine lineoid, and b is corresponding side-play amount, and ω i, i=1 ..., N and γ is weight and the penalty factor of Weighted Least Squares Support Vector Machines respectively, i-th component ξ of Weighted Least Squares Support Vector Machines slack variable ithe estimation of standard deviation, c 1for constant, get 2.5, c here 2for constant, get 3 here, the transposition of subscript T representing matrix, μ ikrepresent i-th training sample X after standardization ifor the degree of membership of fuzzy group k, Φ ik(X i, μ ik) represent i-th input variable X iand the degree of membership μ of fuzzy group k ikcorresponding new input matrix.Can derive fuzzy group k by (6) (7) (8) formula in the output of training sample i is:
y ^ ik = &Sigma; m = 1 N &alpha; m &times; K < &Phi; im ( X m , &mu; mk ) , &Phi; ik ( X i , &mu; ik ) > + b - - - ( 9 )
Wherein, for fuzzy group k is in the output of training sample i.K<> is the kernel function of Weighted Least Squares Support Vector Machines, and K<> gets linear kernel function here; α m, m=1 ..., N is m component of corresponding Lagrange multiplier.μ mkrepresent m training sample X mfor the degree of membership of fuzzy group k, Φ mk(X m, μ mk) represent m input variable X mand the degree of membership μ of fuzzy group k mkcorresponding new input matrix.
The output of last fuzzifying equation system is obtained by the gravity model appoach in Anti-fuzzy method:
y ^ i = &Sigma; k = 1 c * &mu; ik y ^ ik &Sigma; k = 1 c * &mu; ik - - - ( 10 )
Wherein, for fuzzy group k is in the output of training sample i.
Particle cluster algorithm optimizes module, and for adopting particle cluster algorithm to be optimized the penalty factor of Weighted Least Squares Support Vector Machines local equation in fuzzifying equation and error margin value, specific implementation step is as follows:
7. determine that the Optimal Parameters of population is penalty factor and error margin value, population individual amount popsize, the largest loop optimizing number of times iter of Weighted Least Squares Support Vector Machines local equation max, a p particle initial position r p, initial velocity v p, local optimum Lbest pand the global optimum Gbest of whole population.
8. set optimization object function, be converted into fitness, each On Local Fuzzy equation is evaluated; Calculate fitness function by corresponding error function, and think that the large particle fitness of error is little, the fitness function of particle p is expressed as:
f p=1/(E p+1) (11)
In formula, E pbe the error function of fuzzifying equation system, be expressed as:
E p = 1 N &Sigma; i = 1 N ( y ^ i - O i ) 2 - - - ( 12 )
In formula, the prediction output of fuzzifying equation system, O ifor the target of fuzzifying equation system exports;
9. according to following formula, circulation upgrades speed and the position of each particle,
v p(iter+1)=ω×v p(iter)+m 1a 1(Lbest p-r p(iter))+m 2a 2(Gbest-r p(iter))
(13)
r p(iter+1)=r p(iter)+v p(iter+1) (14)
In formula, v prepresent the speed of more new particle p, r prepresent the position of more new particle p, Lbest prepresent the individual optimal value of more new particle p, Gbest is the global optimum of whole population, and iter represents cycle index, and ω is the inertia weight in particle cluster algorithm, m 1, m 2corresponding accelerator coefficient, a 1, a 2it is the random number between [0,1];
10. for particle p, if new fitness is greater than original individual optimal value, the more individual optimal value of new particle:
Lbest p=f p(15)
if the individual optimal value Lbest of particle p pbe greater than original population global optimum Gbest, upgrade original population global optimum Gbest:
Gbest=Lbest p(16)
judge whether to meet performance requirement, if so, terminate optimizing, obtain the local equation parameter of the fuzzifying equation that a group is optimized; Otherwise return step 3., continue iteration optimizing, until reach maximum iteration time iter max.
As preferred a kind of scheme, the industrial melt index soft measurement model of described optimum support vector machine also comprises: model modification module, for the online updating of model, is regularly input in training set by off-line analysis data, upgrades fuzzifying equation model.
An industrial melt index soft measuring method for optimum support vector machine, described flexible measurement method specific implementation step is as follows:
1), to propylene polymerization production process object, according to industrial analysis and Operations Analyst, select performance variable and easily survey the input of variable as model, performance variable and easily survey variable are obtained by DCS database;
2), by the model training sample inputted from DCS database carry out pre-service, to training sample centralization, namely deduct the mean value of sample, then carry out standardization to it, make its average be 0, variance is 1.This process adopts following formula process:
2.1) computation of mean values: TX &OverBar; = 1 N &Sigma; i = 1 N TX i - - - ( 1 )
2.2) variance is calculated: &sigma; x 2 = 1 N - 1 &Sigma; i = 1 N ( TX i - TX &OverBar; ) - - - ( 2 )
2.3) standardization: X = TX - TX &OverBar; &sigma; x - - - ( 3 )
Wherein, TX ibe i-th training sample, N is number of training, for the average of training sample, X is the training sample after standardization.σ xrepresent the standard deviation of training sample, σ 2 xrepresent the variance of training sample.
3), to passing the training sample of coming from data preprocessing module, obfuscation is carried out.If have c in fuzzifying equation system *individual fuzzy group, the center of fuzzy group k, j is respectively v k, v j, then i-th training sample X after standardization ifor the degree of membership μ of fuzzy group k ikfor:
&mu; ik = ( &Sigma; j = 1 c * ( | | X i - v k | | | | X i - v j | | ) 2 n - 1 ) - 1 - - - ( 4 )
In formula, n is the partitioned matrix index needed in fuzzy classification process, is usually taken as 2, || || be norm expression formula.
Use and be subordinate to angle value or its distortion to obtain new input matrix above, for fuzzy group k, its input matrix is deformed into:
Φ ik(X iik)=[1func(μ ik)X i] (5)
Wherein func (μ ik) for being subordinate to angle value μ ikwarping function, generally get exp (μ ik) etc., Φ ik(X i, μ ik) represent i-th input variable X iand the degree of membership μ of fuzzy group k ikcorresponding new input matrix.
Weighted Least Squares Support Vector Machines, as the local equation of fuzzifying equation system, is optimized matching to each fuzzy group.If i-th of model training sample target exports as O i, the support vector machine of weighted is equivalent to following quadratic programming problem by conversion fitting problems:
min R ( w , &xi; ) = 1 2 w T w + 1 2 &gamma; &Sigma; i = 1 N &omega; i &xi; i 2 - - - ( 6 )
Wherein, R (w, ξ) is the objective function of optimization problem, and minR (w, ξ) is the minimum value of the objective function of optimization problem, and N is number of training, ξ={ ξ 1..., ξ nslack variable, ξ ibe i-th component of slack variable, w is the normal vector of support vector machine lineoid, and b is corresponding side-play amount, and ω i, i=1 ..., N and γ is weight and the penalty factor of Weighted Least Squares Support Vector Machines respectively, i-th component ξ of Weighted Least Squares Support Vector Machines slack variable ithe estimation of standard deviation, c 1for constant, get 2.5, c here 2for constant, get 3 here, the transposition of subscript T representing matrix, μ ikrepresent i-th training sample X after standardization ifor the degree of membership of fuzzy group k, Φ ik(X i, μ ik) represent i-th input variable X iand the degree of membership μ of fuzzy group k ikcorresponding new input matrix.Can derive fuzzy group k by (6) (7) (8) formula in the output of training sample i is:
y ^ ik = &Sigma; m = 1 N &alpha; m &times; K < &Phi; im ( X m , &mu; mk ) , &Phi; ik ( X i , &mu; ik ) > + b - - - ( 9 )
Wherein, for fuzzy group k is in the output of training sample i.K<> is the kernel function of Weighted Least Squares Support Vector Machines, and K<> gets linear kernel function here; α m, m=1 ..., N is m component of corresponding Lagrange multiplier.μ mkrepresent m training sample X mfor the degree of membership of fuzzy group k, Φ mk(X m, μ mk) represent m input variable X mand the degree of membership μ of fuzzy group k mkcorresponding new input matrix.
The output of last fuzzifying equation system is obtained by the gravity model appoach in Anti-fuzzy method:
y ^ i = &Sigma; k = 1 c * &mu; ik y ^ ik &Sigma; k = 1 c * &mu; ik - - - ( 10 )
Wherein, for fuzzy group k is in the output of training sample i.
4), adopt particle cluster algorithm to be optimized the penalty factor of Weighted Least Squares Support Vector Machines local equation in fuzzifying equation and error margin value, specific implementation step is as follows:
7. determine that the Optimal Parameters of population is penalty factor and error margin value, population individual amount popsize, the largest loop optimizing number of times iter of Weighted Least Squares Support Vector Machines local equation max, a p particle initial position r p, initial velocity v p, local optimum Lbest pand the global optimum Gbest of whole population.
8. set optimization object function, be converted into fitness, each On Local Fuzzy equation is evaluated; Calculate fitness function by corresponding error function, and think that the large particle fitness of error is little, the fitness function of particle p is expressed as:
f p=1/(E p+1) (11)
In formula, E pbe the error function of fuzzifying equation system, be expressed as:
E p = 1 N &Sigma; i = 1 N ( y ^ i - O i ) 2 - - - ( 12 )
In formula, the prediction output of fuzzifying equation system, O ifor the target of fuzzifying equation system exports;
9. according to following formula, circulation upgrades speed and the position of each particle,
v p(iter+1)=ω×v p(iter)+m 1a 1(Lbest p-r p(iter))+m 2a 2(Gbest-r p(iter))
(13)
r p(iter+1)=r p(iter)+v p(iter+1) (14)
In formula, v prepresent the speed of more new particle p, r prepresent the position of more new particle p, Lbest prepresent the individual optimal value of more new particle p, Gbest is the global optimum of whole population, and iter represents cycle index, and ω is the inertia weight in particle cluster algorithm, m 1, m 2corresponding accelerator coefficient, a 1, a 2it is the random number between [0,1];
10. for particle p, if new fitness is greater than original individual optimal value, the more individual optimal value of new particle:
Lbest p=f p(15)
if the individual optimal value Lbest of particle p pbe greater than original population global optimum Gbest, upgrade original population global optimum Gbest:
Gbest=Lbest p(16)
judge whether to meet performance requirement, if so, terminate optimizing, obtain the local equation parameter of the fuzzifying equation that a group is optimized; Otherwise return step 3., continue iteration optimizing, until reach maximum iteration time iter max.
As preferred a kind of scheme: described flexible measurement method is further comprising the steps of: 5), be regularly input in training set by off-line analysis data, upgrade fuzzifying equation model.
Technical conceive of the present invention is: carry out online soft sensor to the important quality index melting index of propylene polymerization production process, overcome the deficiency that existing polypropylene melting index measurement instrument measuring accuracy is not high, low to noise sensitivity, promote poor performance, introduce particle cluster algorithm and Automatic Optimal is carried out to fuzzifying equation model, do not need artificial experience repeatedly to adjust the parameter of Weighted Least Squares Support Vector Machines local equation in fuzzifying equation.This model has following advantage relative to existing melting index soft-sensing model: (1) reduces noise and manual operation error to the impact of model prediction precision; (2) enhance the popularization performance of model, over-fitting is effectively suppressed; (3) automatic optimal is carried out to the parameter of model, improve the stability of model, reduce the possibility that model is absorbed in local optimum.
Beneficial effect of the present invention is mainly manifested in: 1, on-line measurement; 2, on-line parameter Automatic Optimal; 3, model upgrades automatically; 4, anti-noise jamming ability strong, 5, precision is high; 6, Generalization Ability is strong.
Accompanying drawing explanation
Fig. 1 is the industrial melt index soft measurement instrument of optimum support vector machine and the basic structure schematic diagram of method;
Fig. 2 is the industrial melt index soft measurement model structural representation of optimum support vector machine.
Embodiment
Below in conjunction with accompanying drawing, the invention will be further described.The embodiment of the present invention is used for explaining and the present invention is described, instead of limits the invention, and in the protection domain of spirit of the present invention and claim, any amendment make the present invention and change, all fall into protection scope of the present invention.
Embodiment 1
With reference to Fig. 1, Fig. 2, a kind of industrial melt index soft measurement instrument of optimum support vector machine, comprise propylene polymerization production process 1, for measuring the field intelligent instrument 2 easily surveying variable, for measuring the control station 3 of performance variable, the DCS database 4 of store data and melt index flexible measured value display instrument 6, described field intelligent instrument 2, control station 3 is connected with propylene polymerization production process 1, described field intelligent instrument 2, control station 3 is connected with DCS database 4, described soft measuring instrument also comprises the soft-sensing model 5 that particle cluster algorithm optimizes Weighted Least Squares Support Vector Machines fuzzifying equation, described DCS database 4 is connected with the input end of the industrial melt index soft measurement model 5 of described optimum support vector machine, the output terminal of the industrial melt index soft measurement model 5 of described optimum support vector machine is connected with melt index flexible measured value display instrument 6, the industrial melt index soft measurement model of described optimum support vector machine comprises:
Data preprocessing module, carries out pre-service for the model training sample will inputted from DCS database, to training sample centralization, namely deducts the mean value of sample, then carries out standardization to it:
Computation of mean values: TX &OverBar; = 1 N &Sigma; i = 1 N TX i - - - ( 1 )
Calculate variance: &sigma; x 2 = 1 N - 1 &Sigma; i = 1 N ( TX i - TX &OverBar; ) - - - ( 2 )
Standardization: X = TX - TX &OverBar; &sigma; x - - - ( 3 )
Wherein, TX ibe i-th training sample, N is number of training, for the average of training sample, X is the training sample after standardization.σ xrepresent the standard deviation of training sample, σ 2 xrepresent the variance of training sample.
Fuzzifying equation module, to the training sample X passed from data preprocessing module after the standardization of coming, carries out obfuscation.If have c in fuzzifying equation system *individual fuzzy group, the center of fuzzy group k, j is respectively v k, v j, then i-th training sample X after standardization ifor the degree of membership μ of fuzzy group k ikfor:
&mu; ik = ( &Sigma; j = 1 c * ( | | X i - v k | | | | X i - v j | | ) 2 n - 1 ) - 1 - - - ( 4 )
In formula, n is the partitioned matrix index needed in fuzzy classification process, is usually taken as 2, || || be norm expression formula.
Use and be subordinate to angle value or its distortion to obtain new input matrix above, for fuzzy group k, its input matrix is deformed into:
Φ ik(X iik)=[1func(μ ik)X i] (5)
Wherein func (μ ik) for being subordinate to angle value μ ikwarping function, generally get exp (μ ik) etc., Φ ik(X i, μ ik) represent i-th input variable X iand the degree of membership μ of fuzzy group k ikcorresponding new input matrix.
Weighted Least Squares Support Vector Machines, as the local equation of fuzzifying equation system, is optimized matching to each fuzzy group.If i-th of model training sample target exports as O i, the support vector machine of weighted is equivalent to following quadratic programming problem by conversion fitting problems:
min R ( w , &xi; ) = 1 2 w T w + 1 2 &gamma; &Sigma; i = 1 N &omega; i &xi; i 2 - - - ( 6 )
Wherein, R (w, ξ) is the objective function of optimization problem, and minR (w, ξ) is the minimum value of the objective function of optimization problem, and N is number of training, ξ={ ξ 1..., ξ nslack variable, ξ ibe i-th component of slack variable, w is the normal vector of support vector machine lineoid, and b is corresponding side-play amount, and ω i, i=1 ..., N and γ is weight and the penalty factor of Weighted Least Squares Support Vector Machines respectively, i-th component ξ of Weighted Least Squares Support Vector Machines slack variable ithe estimation of standard deviation, c 1for constant, get 2.5, c here 2for constant, get 3 here, the transposition of subscript T representing matrix, μ ikrepresent i-th training sample X after standardization ifor the degree of membership of fuzzy group k, Φ ik(X i, μ ik) represent i-th input variable X iand the degree of membership μ of fuzzy group k ikcorresponding new input matrix.Can derive fuzzy group k by (6) (7) (8) formula in the output of training sample i is:
y ^ ik = &Sigma; m = 1 N &alpha; m &times; K < &Phi; im ( X m , &mu; mk ) , &Phi; ik ( X i , &mu; ik ) > + b - - - ( 9 )
Wherein, for fuzzy group k is in the output of training sample i.K<> is the kernel function of Weighted Least Squares Support Vector Machines, and K<> gets linear kernel function here; α m, m=1 ..., N is corresponding Lagrange multiplier, μ mkrepresent m training sample X mfor the degree of membership of fuzzy group k, Φ mk(X m, μ mk) represent m input variable X mand the degree of membership μ of fuzzy group k mkcorresponding new input matrix.
The output of last fuzzifying equation system is obtained by the gravity model appoach in Anti-fuzzy method:
y ^ i = &Sigma; k = 1 c * &mu; ik y ^ ik &Sigma; k = 1 c * &mu; ik - - - ( 10 )
Wherein, for fuzzy group k is in the output of training sample i.
Particle cluster algorithm optimizes module, and for adopting particle cluster algorithm to be optimized the penalty factor of Weighted Least Squares Support Vector Machines local equation in fuzzifying equation and error margin value, specific implementation step is as follows:
1. determine that the Optimal Parameters of population is penalty factor and error margin value, population individual amount popsize, the largest loop optimizing number of times iter of Weighted Least Squares Support Vector Machines local equation max, a p particle initial position r p, initial velocity v p, local optimum Lbest pand the global optimum Gbest of whole population.
2. set optimization object function, be converted into fitness, each On Local Fuzzy equation is evaluated; Calculate fitness function by corresponding error function, and think that the large particle fitness of error is little, the fitness function of particle p is expressed as:
f p=1/(E p+1) (11)
In formula, E pbe the error function of fuzzifying equation system, be expressed as:
E p = 1 N &Sigma; i = 1 N ( y ^ i - O i ) 2 - - - ( 12 )
In formula, the prediction output of fuzzifying equation system, O ifor the target of fuzzifying equation system exports;
3. according to following formula, circulation upgrades speed and the position of each particle,
v p(iter+1)=ω×v p(iter)+m 1a 1(Lbest p-r p(iter))+m 2a 2(Gbest-r p(iter))
(13)
r p(iter+1)=r p(iter)+v p(iter+1) (14)
In formula, v prepresent the speed of more new particle p, r prepresent the position of more new particle p, Lbest prepresent the individual optimal value of more new particle p, Gbest is the global optimum of whole population, and iter represents cycle index, and ω is the inertia weight in particle cluster algorithm, m 1, m 2corresponding accelerator coefficient, a 1, a 2it is the random number between [0,1];
4. for particle p, if new fitness is greater than original individual optimal value, the more individual optimal value of new particle:
Lbest p=f p(15)
If the 5. individual optimal value Lbest of particle p pbe greater than original population global optimum Gbest, upgrade original population global optimum Gbest:
Gbest=Lbest p(16)
6. judge whether to meet performance requirement, if so, terminate optimizing, obtain the local equation parameter of the fuzzifying equation that a group is optimized; Otherwise return step 3., continue iteration optimizing, until reach maximum iteration time iter max.
As preferred a kind of scheme, the industrial melt index soft measurement model of described optimum support vector machine also comprises: model modification module, for the online updating of model, is regularly input in training set by off-line analysis data, upgrades fuzzifying equation system model.
According to reaction mechanism and flow process analysis, consider in polypropylene production process the various factors that melting index has an impact, get nine performance variables conventional in actual production process and easily survey variable as modeling variable, have: three strand of third rare feed flow rates, major catalyst flow rate, cocatalyst flow rate, temperature in the kettle, pressure, liquid level, hydrogen volume concentration in still.Table 1 lists 9 the modeling variablees inputted as soft-sensing model 5, to be respectively in temperature in the kettle (T), still in pressure (p), still hydrogen volume concentration (X in liquid level (L), still v), 3 bursts of propylene feed flow rates (first strand of third rare feed flow rates f1, second strand of third rare feed flow rates f2, the 3rd strand of third rare feed flow rates f3), 2 bursts of catalyst charge flow rates (major catalyst flow rate f4, cocatalyst flow rate f5).Polyreaction in reactor is that reaction mass mixes rear participation reaction repeatedly, and therefore mode input variable relates to the mean value in process variable employing front some moment of material.The data acquisition mean value of last hour in this example.Melting index off-line laboratory values is as the output variable of soft-sensing model 5.Obtained by hand sampling, off-line assay, within every 4 hours, analyze and gather once.
Field intelligent instrument 2 and control station 3 are connected with propylene polymerization production process 1, are connected with DCS database 4; Soft-sensing model 5 is connected with DCS database and hard measurement value display instrument 6.Field intelligent instrument 2 measures the easy survey variable that propylene polymerization produces object, is transferred to DCS database 4 by easily surveying variable; Control station 3 controls the performance variable that propylene polymerization produces object, performance variable is transferred to DCS database 4.In DCS database 4, the variable data of record is as the input of the industrial melt index soft measurement model 5 of optimum support vector machine, hard measurement value display instrument 6 for showing the output of the industrial melt index soft measurement model 5 of optimum support vector machine, i.e. hard measurement value.
Table 1: modeling variable needed for the industrial melt index soft measurement model of optimum support vector machine
Variable symbol Variable implication Variable symbol Variable implication
T Temperature in the kettle f1 First strand of third rare feed flow rates
p Pressure in still f2 Second strand of third rare feed flow rates
L Liquid level in still f3 3rd strand of third rare feed flow rates
X v Hydrogen volume concentration in still f4 Major catalyst flow rate
f5 Cocatalyst flow rate
The industrial melt index soft measurement model 5 of optimum support vector machine, comprises following 4 parts:
Data preprocessing module 7, carries out pre-service for the model training sample will inputted from DCS database, to training sample centralization, namely deducts the mean value of sample, then carries out standardization to it:
Computation of mean values: TX &OverBar; = 1 N &Sigma; i = 1 N TX i - - - ( 1 )
Calculate variance: &sigma; x 2 = 1 N - 1 &Sigma; i = 1 N ( TX i - TX &OverBar; ) - - - ( 2 )
Standardization: X = TX - TX &OverBar; &sigma; x - - - ( 3 )
Wherein, TX ibe i-th training sample, N is number of training, for the average of training sample, X is the training sample after standardization.σ xrepresent the standard deviation of training sample, σ 2 xrepresent the variance of training sample.
Fuzzifying equation module 8, to the training sample X passed from data preprocessing module after the standardization of coming, carries out obfuscation.If have c in fuzzifying equation system *individual fuzzy group, the center of fuzzy group k, j is respectively v k, v j, then i-th training sample X after standardization ifor the degree of membership μ of fuzzy group k ikfor:
&mu; ik = ( &Sigma; j = 1 c * ( | | X i - v k | | | | X i - v j | | ) 2 n - 1 ) - 1 - - - ( 4 )
In formula, n is the partitioned matrix index needed in fuzzy classification process, is usually taken as 2, || || be norm expression formula.
Use and be subordinate to angle value or its distortion to obtain new input matrix above, for fuzzy group k, its input matrix is deformed into:
Φ ik(X iik)=[1func(μ ik)X i] (5)
Wherein func (μ ik) for being subordinate to angle value μ ikwarping function, generally get exp (μ ik) etc., Φ ik(X i, μ ik) represent i-th input variable X iand the degree of membership μ of fuzzy group k ikcorresponding new input matrix.
Weighted Least Squares Support Vector Machines, as the local equation of fuzzifying equation system, is optimized matching to each fuzzy group.If i-th of model training sample target exports as O i, the support vector machine of weighted is equivalent to following quadratic programming problem by conversion fitting problems:
min R ( w , &xi; ) = 1 2 w T w + 1 2 &gamma; &Sigma; i = 1 N &omega; i &xi; i 2 - - - ( 6 )
Wherein, R (w, ξ) is the objective function of optimization problem, and minR (w, ξ) is the minimum value of the objective function of optimization problem, and N is number of training, ξ={ ξ 1..., ξ nslack variable, ξ ibe i-th component of slack variable, w is the normal vector of support vector machine lineoid, and b is corresponding side-play amount, and ω i, i=1 ..., N and γ is weight and the penalty factor of Weighted Least Squares Support Vector Machines respectively, i-th component ξ of Weighted Least Squares Support Vector Machines slack variable ithe estimation of standard deviation, c 1for constant, get 2.5, c here 2for constant, get 3 here, the transposition of subscript T representing matrix, μ ikrepresent i-th training sample X after standardization ifor the degree of membership of fuzzy group k, Φ ik(X i, μ ik) represent i-th input variable X iand the degree of membership μ of fuzzy group k ikcorresponding new input matrix.Can derive fuzzy group k by (6) (7) (8) formula in the output of training sample i is:
y ^ ik = &Sigma; m = 1 N &alpha; m &times; K < &Phi; im ( X m , &mu; mk ) , &Phi; ik ( X i , &mu; ik ) > + b - - - ( 9 )
Wherein, for fuzzy group k is in the output of training sample i.K<> is the kernel function of Weighted Least Squares Support Vector Machines, and K<> gets linear kernel function here; α m, m=1 ..., N is corresponding Lagrange multiplier, μ mkrepresent m training sample X mfor the degree of membership of fuzzy group k, Φ mk(X m, μ mk) represent m input variable X mand the degree of membership μ of fuzzy group k mkcorresponding new input matrix.
The output of last fuzzifying equation system is obtained by the gravity model appoach in Anti-fuzzy method:
y ^ i = &Sigma; k = 1 c * &mu; ik y ^ ik &Sigma; k = 1 c * &mu; ik - - - ( 10 )
Wherein, for fuzzy group k is in the output of training sample i.
Particle cluster algorithm optimizes module 9, and for adopting particle cluster algorithm to be optimized the penalty factor of Weighted Least Squares Support Vector Machines local equation in fuzzifying equation and error margin value, specific implementation step is as follows:
1. determine that the Optimal Parameters of population is penalty factor and error margin value, population individual amount popsize, the largest loop optimizing number of times iter of Weighted Least Squares Support Vector Machines local equation max, a p particle initial position r p, initial velocity v p, local optimum Lbest pand the global optimum Gbest of whole population.
2. set optimization object function, be converted into fitness, each On Local Fuzzy equation is evaluated; Calculate fitness function by corresponding error function, and think that the large particle fitness of error is little, the fitness function of particle p is expressed as:
f p=1/(E p+1) (11)
In formula, E pbe the error function of fuzzifying equation system, be expressed as:
E p = 1 N &Sigma; i = 1 N ( y ^ i - O i ) 2 - - - ( 12 )
In formula, the prediction output of fuzzifying equation system, O ifor the target of fuzzifying equation system exports;
3. according to following formula, circulation upgrades speed and the position of each particle,
v p(iter+1)=ω×v p(iter)+m 1a 1(Lbest p-r p(iter))+m 2a 2(Gbest-r p(iter))
(13)
r p(iter+1)=r p(iter)+v p(iter+1) (14)
In formula, v prepresent the speed of more new particle p, r prepresent the position of more new particle p, Lbest prepresent the individual optimal value of more new particle p, Gbest is the global optimum of whole population, and iter represents cycle index, and ω is the inertia weight in particle cluster algorithm, m 1, m 2corresponding accelerator coefficient, a 1, a 2it is the random number between [0,1];
4. for particle p, if new fitness is greater than original individual optimal value, the more individual optimal value of new particle:
Lbest p=f p(15)
If the 5. individual optimal value Lbest of particle p pbe greater than original population global optimum Gbest, upgrade original population global optimum Gbest:
Gbest=Lbest p(16)
6. judge whether to meet performance requirement, if so, terminate optimizing, obtain the local equation parameter of the fuzzifying equation that a group is optimized; Otherwise return step 3., continue iteration optimizing, until reach maximum iteration time iter max.
Model modification module 10, for the online updating of model, is regularly input in training set by off-line analysis data, upgrades fuzzifying equation model.
Embodiment 2
With reference to Fig. 1, Fig. 2, a kind of industrial polypropylene producing melt index flexible measurement method optimizing Weighted Least Squares Support Vector Machines fuzzifying equation model based on particle cluster algorithm, described flexible measurement method concrete methods of realizing is as follows:
1), to propylene polymerization production process object, according to industrial analysis and Operations Analyst, select performance variable and easily survey the input of variable as model, performance variable and easily survey variable are obtained by DCS database;
2), by the model training sample inputted from DCS database carry out pre-service, to training sample centralization, namely deduct the mean value of sample, then carry out standardization to it, make its average be 0, variance is 1.This process adopts following formula process:
2.1) computation of mean values: TX &OverBar; = 1 N &Sigma; i = 1 N TX i - - - ( 1 )
2.2) variance is calculated: &sigma; x 2 = 1 N - 1 &Sigma; i = 1 N ( TX i - TX &OverBar; ) - - - ( 2 )
2.3) standardization: X = TX - TX &OverBar; &sigma; x - - - ( 3 )
Wherein, TX ibe i-th training sample, N is number of training, for the average of training sample, X is the training sample after standardization.σ xrepresent the standard deviation of training sample, σ 2 xrepresent the variance of training sample.
3), to passing the training sample of coming from data preprocessing module, obfuscation is carried out.If have c in fuzzifying equation system *individual fuzzy group, the center of fuzzy group k, j is respectively v k, v j, then i-th training sample X after standardization ifor the degree of membership μ of fuzzy group k ikfor:
&mu; ik = ( &Sigma; j = 1 c * ( | | X i - v k | | | | X i - v j | | ) 2 n - 1 ) - 1 - - - ( 4 )
In formula, n is the partitioned matrix index needed in fuzzy classification process, is usually taken as 2, || || be norm expression formula.
Use and be subordinate to angle value or its distortion to obtain new input matrix above, for fuzzy group k, its input matrix is deformed into:
Φ ik(X iik)=[1func(μ ik)Xi] (5)
Wherein func (μ ik) for being subordinate to angle value μ ikwarping function, generally get exp (μ ik) etc., Φ ik(X i, μ ik) represent i-th input variable X iand the degree of membership μ of fuzzy group k ikcorresponding new input matrix.
Weighted Least Squares Support Vector Machines, as the local equation of fuzzifying equation system, is optimized matching to each fuzzy group.If i-th of model training sample target exports as O i, the support vector machine of weighted is equivalent to following quadratic programming problem by conversion fitting problems:
min R ( w , &xi; ) = 1 2 w T w + 1 2 &gamma; &Sigma; i = 1 N &omega; i &xi; i 2 - - - ( 6 )
Wherein, R (w, ξ) is the objective function of optimization problem, and minR (w, ξ) is the minimum value of the objective function of optimization problem, and N is number of training, ξ={ ξ 1..., ξ nslack variable, ξ ibe i-th component of slack variable, w is the normal vector of support vector machine lineoid, and b is corresponding side-play amount, and ω i, i=1 ..., N and γ is weight and the penalty factor of Weighted Least Squares Support Vector Machines respectively, i-th component ξ of Weighted Least Squares Support Vector Machines slack variable ithe estimation of standard deviation, c 1for constant, get 2.5, c here 2for constant, get 3 here, the transposition of subscript T representing matrix, μ ikrepresent i-th training sample X after standardization ifor the degree of membership of fuzzy group k, Φ ik(X i, μ ik) represent i-th input variable X iand the degree of membership μ of fuzzy group k ikcorresponding new input matrix.Can derive fuzzy group k by (6) (7) (8) formula in the output of training sample i is:
y ^ ik = &Sigma; m = 1 N &alpha; m &times; K < &Phi; im ( X m , &mu; mk ) , &Phi; ik ( X i , &mu; ik ) > + b - - - ( 9 )
Wherein, for fuzzy group k is in the output of training sample i.K<> is the kernel function of Weighted Least Squares Support Vector Machines, and K<> gets linear kernel function here; α m, m=1 ..., N is corresponding Lagrange multiplier, μ mkrepresent m training sample X mfor the degree of membership of fuzzy group k, Φ mk(X m, μ mk) represent m input variable X mand the degree of membership μ of fuzzy group k mkcorresponding new input matrix.
The output of last fuzzifying equation system is obtained by the gravity model appoach in Anti-fuzzy method:
y ^ i = &Sigma; k = 1 c * &mu; ik y ^ ik &Sigma; k = 1 c * &mu; ik - - - ( 10 )
Wherein, for fuzzy group k is in the output of training sample i.
4), adopt particle cluster algorithm to be optimized the penalty factor of Weighted Least Squares Support Vector Machines local equation in fuzzifying equation and error margin value, specific implementation step is as follows:
1. determine that the Optimal Parameters of population is penalty factor and error margin value, population individual amount popsize, the largest loop optimizing number of times iter of Weighted Least Squares Support Vector Machines local equation max, a p particle initial position r p, initial velocity v p, local optimum Lbest pand the global optimum Gbest of whole population.
2. set optimization object function, be converted into fitness, each On Local Fuzzy equation is evaluated; Calculate fitness function by corresponding error function, and think that the large particle fitness of error is little, the fitness function of particle p is expressed as:
f p=1/(E p+1) (11)
In formula, E pbe the error function of fuzzifying equation system, be expressed as:
E p = 1 N &Sigma; i = 1 N ( y ^ i - O i ) 2 - - - ( 12 )
In formula, the prediction output of fuzzifying equation system, O ifor the target of fuzzifying equation system exports;
3. according to following formula, circulation upgrades speed and the position of each particle,
v p(iter+1)=ω×v p(iter)+m 1a 1(Lbest p-r p(iter))+m 2a 2(Gbest-r p(iter))
(13)
r p(iter+1)=r p(iter)+v p(iter+1) (14)
In formula, v prepresent the speed of more new particle p, r prepresent the position of more new particle p, Lbest prepresent the individual optimal value of more new particle p, Gbest is the global optimum of whole population, and iter represents cycle index, and ω is the inertia weight in particle cluster algorithm, m 1, m 2corresponding accelerator coefficient, a 1, a 2it is the random number between [0,1];
4. for particle p, if new fitness is greater than original individual optimal value, the more individual optimal value of new particle:
Lbest p=f p(15)
If the 5. individual optimal value Lbest of particle p pbe greater than original population global optimum Gbest, upgrade original population global optimum Gbest:
Gbest=Lbest p(16)
6. judge whether to meet performance requirement, if so, terminate optimizing, obtain the local equation parameter of the fuzzifying equation that a group is optimized; Otherwise return step 3., continue iteration optimizing, until reach maximum iteration time iter max.
As preferred a kind of scheme: described flexible measurement method is further comprising the steps of: 4), be regularly input in training set by off-line analysis data, upgrade fuzzifying equation model.
The concrete implementation step of method of the present embodiment is as follows:
Step 1: to propylene polymerization production process object 1, according to industrial analysis and Operations Analyst, selects performance variable and easily surveys the input of variable as model.Performance variable and easily survey variable are obtained by DCS database 4.
Step 2: carry out pre-service to sample data, is completed by data preprocessing module 7.
Step 3: set up initial fuzzy equation model 8 based on model training sample data.Input data obtain as described in step 2, export data and chemically examine acquisition by off-line.
Step 4: the local weighting least-square method support vector machine equation parameter being optimized initial fuzzy equation model 8 by particle cluster algorithm 9.
Step 5: off-line analysis data is regularly input in training set by model modification module 10, upgrades fuzzifying equation model, and the soft-sensing model 5 optimizing Weighted Least Squares Support Vector Machines fuzzifying equation model based on particle cluster algorithm has been set up.
Step 6: melt index flexible measured value display instrument 6 shows the output of the industrial melt index soft measurement model 5 of optimum support vector machine, completes the display of measuring industrial polypropylene producing melt index flexible.

Claims (2)

1. the industrial melt index soft measurement instrument of an optimum support vector machine, comprise for measuring the field intelligent instrument easily surveying variable, for measuring the control station of performance variable, the DCS database of store data and melt index flexible measured value display instrument, described field intelligent instrument, control station is connected with DCS database, it is characterized in that: described soft measuring instrument also comprises the industrial melt index soft measurement model of optimum support vector machine, described DCS database is connected with the input end of the industrial melt index soft measurement model of described optimum support vector machine, the output terminal of the industrial melt index soft measurement model of described optimum support vector machine is connected with melt index flexible measured value display instrument, the industrial melt index soft measurement model of described optimum support vector machine comprises:
Data preprocessing module, carries out pre-service for the model training sample will inputted from DCS database, to training sample centralization, namely deducts the mean value of sample, then carries out standardization to it:
Computation of mean values: TX &OverBar; = 1 N &Sigma; i = 1 N TX i - - - ( 1 )
Calculate variance: &sigma; x 2 = 1 N - 1 &Sigma; i = 1 N ( TX i - TX &OverBar; ) - - - ( 2 )
Standardization: X = TX - TX &OverBar; &sigma; x - - - ( 3 )
Wherein, TX ibe i-th training sample, N is number of training, for the average of training sample, X is the training sample after standardization; σ xrepresent the standard deviation of training sample, σ 2 xrepresent the variance of training sample;
Fuzzifying equation module, to the training sample X passed from data preprocessing module after the standardization of coming, carries out obfuscation; If have c in fuzzifying equation system *individual fuzzy group, the center of fuzzy group k, j is respectively v k, v j, then i-th training sample X after standardization ifor the degree of membership μ of fuzzy group k ikfor:
&mu; ik = ( &Sigma; j = 1 c * ( | | X i - v k | | | | X i - v j | | ) 2 n - 1 ) - 1 - - - ( 4 )
In formula, n is the partitioned matrix index needed in fuzzy classification process, is taken as 2, || || be norm expression formula;
Use and be subordinate to angle value or its distortion to obtain new input matrix above, for fuzzy group k, its input matrix is deformed into:
Φ ik(X iik)=[1 func(μ ik) X i] (5)
Wherein func (μ ik) for being subordinate to angle value μ ikwarping function, get exp (μ ik), Φ ik(X i, μ ik) represent i-th input variable X iand the degree of membership μ of fuzzy group k ikcorresponding new input matrix;
Weighted Least Squares Support Vector Machines, as the local equation of fuzzifying equation system, is optimized matching to each fuzzy group; If i-th of model training sample target exports as O i, the support vector machine of weighted is equivalent to following quadratic programming problem by conversion fitting problems:
min R ( w , &xi; ) = 1 2 w T w + 1 2 &gamma; &Sigma; i = 1 N &omega; i &xi; i 2 - - - ( 6 )
Wherein, R (w, ξ) is the objective function of optimization problem, and minR (w, ξ) is the minimum value of the objective function of optimization problem, and N is number of training, ξ={ ξ 1..., ξ nslack variable, ξ ibe i-th component of slack variable, w is the normal vector of support vector machine lineoid, and b is corresponding side-play amount, and ω i, i=1 ..., N and γ is weight and the penalty factor of Weighted Least Squares Support Vector Machines respectively, i-th component ξ of Weighted Least Squares Support Vector Machines slack variable ithe estimation of standard deviation, c 1for constant, get 2.5, c here 2for constant, get 3 here, the transposition of subscript T representing matrix, μ ikrepresent i-th training sample X after standardization ifor the degree of membership of fuzzy group k, Φ ik(X i, μ ik) represent i-th input variable X iand the degree of membership μ of fuzzy group k ikcorresponding new input matrix; Can derive fuzzy group k by (6) (7) (8) formula in the output of training sample i is:
y ^ ik = &Sigma; m = 1 N &alpha; m &times; K < &Phi; im ( X m , &mu; mk ) , &Phi; ik ( X i , &mu; ik ) > + b - - - ( 9 )
Wherein, for fuzzy group k is in the output of training sample i; K<> is the kernel function of Weighted Least Squares Support Vector Machines, and K<> gets linear kernel function here; α m, m=1 ..., N is m component of corresponding Lagrange multiplier; μ mkrepresent m training sample X mfor the degree of membership of fuzzy group k, Φ mk(X m, μ mk) represent m input variable X mand the degree of membership μ of fuzzy group k mkcorresponding new input matrix;
The output of last fuzzifying equation system is obtained by the gravity model appoach in Anti-fuzzy method:
y ^ i = &Sigma; k = 1 c * &mu; ik y ^ ik &Sigma; k = 1 c * &mu; ik - - - ( 10 )
Wherein, for fuzzy group k is in the output of training sample i;
Particle cluster algorithm optimizes module, and for adopting particle cluster algorithm to be optimized the penalty factor of Weighted Least Squares Support Vector Machines local equation in fuzzifying equation and error margin value, specific implementation step is as follows:
1. determine that the Optimal Parameters of population is penalty factor and error margin value, population individual amount popsize, the largest loop optimizing number of times iter of Weighted Least Squares Support Vector Machines local equation max, a p particle initial position r p, initial velocity v p, local optimum Lbest pand the global optimum Gbest of whole population;
2. set optimization object function, be converted into fitness, each On Local Fuzzy equation is evaluated; Calculate fitness function by corresponding error function, and think that the large particle fitness of error is little, the fitness function of particle p is expressed as:
f p=1/(E p+1) (11)
In formula, E pbe the error function of fuzzifying equation system, be expressed as:
E p = 1 N &Sigma; i = 1 N ( y ^ i - O i ) 2 - - - ( 12 )
In formula, the prediction output of fuzzifying equation system, O ifor the target of fuzzifying equation system exports;
3. according to following formula, circulation upgrades speed and the position of each particle,
v p(iter+1)=ω×v p(iter)+m 1a 1(Lbest p-r p(iter))+m 2a 2(Gbest-r p(iter))
(13)
r p(iter+1)=r p(iter)+v p(iter+1) (14)
In formula, v prepresent the speed of more new particle p, r prepresent the position of more new particle p, Lbest prepresent the individual optimal value of more new particle p, Gbest is the global optimum of whole population, and iter represents cycle index, and ω is the inertia weight in particle cluster algorithm, m 1, m 2corresponding accelerator coefficient, a 1, a 2it is the random number between [0,1];
4. for particle p, if new fitness is greater than original individual optimal value, the more individual optimal value of new particle:
Lbest p=f p(15)
If the 5. individual optimal value Lbest of particle p pbe greater than original population global optimum Gbest, upgrade original population global optimum Gbest:
Gbest=Lbest p(16)
6. judge whether to meet performance requirement, if so, terminate optimizing, obtain the local equation parameter of the fuzzifying equation that a group is optimized; Otherwise return step 3., continue iteration optimizing, until reach maximum iteration time iter max;
The industrial melt index soft measurement model of described optimum support vector machine also comprises:
Model modification module, for the online updating of model, is regularly input in training set by off-line analysis data, upgrades fuzzifying equation model.
2., with the flexible measurement method that the industrial melt index soft measurement instrument of optimum support vector machine as claimed in claim 1 realizes, it is characterized in that: described flexible measurement method specific implementation step is as follows:
1), to propylene polymerization production process object, according to industrial analysis and Operations Analyst, select performance variable and easily survey the input of variable as model, performance variable and easily survey variable are obtained by DCS database;
2), by the model training sample inputted from DCS database carry out pre-service, to training sample centralization, namely deduct the mean value of sample, then carry out standardization to it, make its average be 0, variance is 1; This process adopts following formula process:
2.1) computation of mean values: TX &OverBar; = 1 N &Sigma; i = 1 N TX i - - - ( 1 )
2.2) variance is calculated: &sigma; x 2 = 1 N - 1 &Sigma; i = 1 N ( TX i - TX &OverBar; ) - - - ( 2 )
2.3) standardization: X = TX - TX &OverBar; &sigma; x - - - ( 3 )
Wherein, TX ibe i-th training sample, N is number of training, for the average of training sample, X is the training sample after standardization; σ xrepresent the standard deviation of training sample, σ 2 xrepresent the variance of training sample;
3), to passing the training sample of coming from data preprocessing module, obfuscation is carried out; If have c in fuzzifying equation system *individual fuzzy group, the center of fuzzy group k, j is respectively v k, v j, then i-th training sample X after standardization ifor the degree of membership μ of fuzzy group k ikfor:
&mu; ik = ( &Sigma; j = 1 c * ( | | X i - v k | | | | X i - v j | | ) 2 n - 1 ) - 1 - - - ( 4 )
In formula, n is the partitioned matrix index needed in fuzzy classification process, is taken as 2, || || be norm expression formula;
Use and be subordinate to angle value or its distortion to obtain new input matrix above, for fuzzy group k, its input matrix is deformed into:
Φ ik(X iik)=[1 func(μ ik) X i] (5)
Wherein func (μ ik) for being subordinate to angle value μ ikwarping function, get exp (μ ik), Φ ik(X i, μ ik) represent i-th input variable X iand the degree of membership μ of fuzzy group k ikcorresponding new input matrix;
Weighted Least Squares Support Vector Machines, as the local equation of fuzzifying equation system, is optimized matching to each fuzzy group; If i-th of model training sample target exports as O i, the support vector machine of weighted is equivalent to following quadratic programming problem by conversion fitting problems:
min R ( w , &xi; ) = 1 2 w T w + 1 2 &gamma; &Sigma; i = 1 N &omega; i &xi; i 2 - - - ( 6 )
Wherein, R (w, ξ) is the objective function of optimization problem, and minR (w, ξ) is the minimum value of the objective function of optimization problem, and N is number of training, ξ={ ξ 1..., ξ nslack variable, ξ ibe i-th component of slack variable, w is the normal vector of support vector machine lineoid, and b is corresponding side-play amount, and ω i, i=1 ..., N and γ is weight and the penalty factor of Weighted Least Squares Support Vector Machines respectively, i-th component ξ of Weighted Least Squares Support Vector Machines slack variable ithe estimation of standard deviation, c 1for constant, get 2.5, c here 2for constant, get 3 here, the transposition of subscript T representing matrix, μ ikrepresent i-th training sample X after standardization ifor the degree of membership of fuzzy group k, Φ ik(X i, μ ik) represent i-th input variable X iand the degree of membership μ of fuzzy group k ikcorresponding new input matrix; Can derive fuzzy group k by (6) (7) (8) formula in the output of training sample i is:
y ^ ik = &Sigma; m = 1 N &alpha; m &times; K < &Phi; im ( X m , &mu; mk ) , &Phi; ik ( X i , &mu; ik ) > + b - - - ( 9 )
Wherein, for fuzzy group k is in the output of training sample i; K<> is the kernel function of Weighted Least Squares Support Vector Machines, and K<> gets linear kernel function here; α m, m=1 ..., N is m component of corresponding Lagrange multiplier; μ mkrepresent m training sample X mfor the degree of membership of fuzzy group k, Φ mk(X m, μ mk) represent m input variable X mand the degree of membership μ of fuzzy group k mkcorresponding new input matrix;
The output of last fuzzifying equation system is obtained by the gravity model appoach in Anti-fuzzy method:
y ^ i = &Sigma; k = 1 c * &mu; ik y ^ ik &Sigma; k = 1 c * &mu; ik - - - ( 10 )
Wherein, for fuzzy group k is in the output of training sample i;
4), adopt particle cluster algorithm to be optimized the penalty factor of Weighted Least Squares Support Vector Machines local equation in fuzzifying equation and error margin value, specific implementation step is as follows:
1. determine that the Optimal Parameters of population is penalty factor and error margin value, population individual amount popsize, the largest loop optimizing number of times iter of Weighted Least Squares Support Vector Machines local equation max, a p particle initial position r p, initial velocity v p, local optimum Lbest pand the global optimum Gbest of whole population;
2. set optimization object function, be converted into fitness, each On Local Fuzzy equation is evaluated; Calculate fitness function by corresponding error function, and think that the large particle fitness of error is little, the fitness function of particle p is expressed as:
f p=1/(E p+1) (11)
In formula, E pbe the error function of fuzzifying equation system, be expressed as:
E p = 1 N &Sigma; i = 1 N ( y ^ i - O i ) 2 - - - ( 12 )
In formula, the prediction output of fuzzifying equation system, O ifor the target of fuzzifying equation system exports;
3. according to following formula, circulation upgrades speed and the position of each particle,
v p(iter+1)=ω×v p(iter)+m 1a 1(Lbest p-r p(iter))+m 2a 2(Gbest-r p(iter))
(13)
r p(iter+1)=r p(iter)+v p(iter+1) (14)
In formula, v prepresent the speed of more new particle p, r prepresent the position of more new particle p, Lbest prepresent the individual optimal value of more new particle p, Gbest is the global optimum of whole population, and iter represents cycle index, and ω is the inertia weight in particle cluster algorithm, m 1, m 2corresponding accelerator coefficient, a 1, a 2it is the random number between [0,1];
4. for particle p, if new fitness is greater than original individual optimal value, the more individual optimal value of new particle:
Lbest p=f p(15)
If the 5. individual optimal value Lbest of particle p pbe greater than original population global optimum Gbest, upgrade original population global optimum Gbest:
Gbest=Lbest p(16)
6. judge whether to meet performance requirement, if so, terminate optimizing, obtain the local equation parameter of the fuzzifying equation that a group is optimized; Otherwise return step 3., continue iteration optimizing, until reach maximum iteration time iter max;
Described flexible measurement method is further comprising the steps of: 5), be regularly input in training set by off-line analysis data, upgrades fuzzifying equation model.
CN201310435358.2A 2013-09-22 2013-09-22 The industrial melt index soft measurement instrument of optimum support vector machine and method Expired - Fee Related CN103675011B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310435358.2A CN103675011B (en) 2013-09-22 2013-09-22 The industrial melt index soft measurement instrument of optimum support vector machine and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310435358.2A CN103675011B (en) 2013-09-22 2013-09-22 The industrial melt index soft measurement instrument of optimum support vector machine and method

Publications (2)

Publication Number Publication Date
CN103675011A CN103675011A (en) 2014-03-26
CN103675011B true CN103675011B (en) 2015-09-30

Family

ID=50313216

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310435358.2A Expired - Fee Related CN103675011B (en) 2013-09-22 2013-09-22 The industrial melt index soft measurement instrument of optimum support vector machine and method

Country Status (1)

Country Link
CN (1) CN103675011B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106680428A (en) * 2016-12-19 2017-05-17 华北电力大学(保定) Soft measuring method for denitration control system
CN108388113B (en) * 2018-02-07 2019-11-15 浙江大学 Least square method supporting vector machine soft-measuring modeling method based on distribution estimation local optimum
CN108804851A (en) * 2018-06-28 2018-11-13 浙江大学 A kind of high-precision propylene polymerization production process optimal soft survey instrument of chaos gunz optimizing
CN108803525A (en) * 2018-06-28 2018-11-13 浙江大学 A kind of quick high-precision propylene polymerization production process optimal soft survey instrument of chaos
CN110378461A (en) * 2019-06-14 2019-10-25 上海交通大学 Error self-adaptation control method and system based on space-time error separate
CN110750756B (en) * 2019-10-01 2023-06-20 深圳市行健自动化股份有限公司 Real-time on-line instrument checksum diagnosis method through optimal support vector machine algorithm

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SG141218A1 (en) * 2003-10-07 2008-04-28 Nanyang Polytechnic Method for prediction of single nucleotide polymorphisms
US7251638B2 (en) * 2004-03-03 2007-07-31 Yamaha Hatsudoki Kabushiki Kaisha Intelligent robust control system for motorcycle using soft computing optimizer
CN100458607C (en) * 2006-09-12 2009-02-04 浙江大学 Method of soft measuring fusion index of producing propylene through polymerization in industrialization
CN100461044C (en) * 2006-12-22 2009-02-11 浙江大学 Melt index detection fault diagnozing system and method in propylene polymerization production
CN201035377Y (en) * 2006-12-22 2008-03-12 浙江大学 Failure diagnosis device of melt index detecting in polymerization of propylene produce
CN102662324A (en) * 2012-04-28 2012-09-12 江南大学 Non-linear model predication control method of tank reactor based on on-line support vector machine

Also Published As

Publication number Publication date
CN103675011A (en) 2014-03-26

Similar Documents

Publication Publication Date Title
CN103674778B (en) The industrial melt index soft measurement instrument of RBF particle group optimizing and method
CN103675011B (en) The industrial melt index soft measurement instrument of optimum support vector machine and method
CN103675006B (en) The industrial melt index soft measurement instrument of least square and method
CN101315557B (en) Propylene polymerization production process optimal soft survey instrument and method based on genetic algorithm optimization BP neural network
Zhang et al. A novel agricultural commodity price forecasting model based on fuzzy information granulation and MEA-SVM model
CN110348075A (en) A kind of grinding surface roughness prediction technique based on improvement algorithm of support vector machine
CN103472865B (en) The pesticide waste liquid incinerator furnace temperature optimization system of intelligence least square and method
CN104091216A (en) Traffic information predication method based on fruit fly optimization least-squares support vector machine
CN103675005B (en) The industrial melt index soft measurement instrument of optimum FUZZY NETWORK and method
CN109507887A (en) The industrial melt index soft measurement method of fuzzy neural network combination colony intelligence optimizing
CN103675009B (en) The industrial melt index soft measurement instrument of fuzzifying equation and method
CN103839103B (en) Propylene polymerization production process BP Optimal predictor system and method
CN103823430A (en) Intelligent weighing propylene polymerization production process optimal soft measurement system and method
CN103675010B (en) The industrial melt index soft measurement instrument of support vector machine and method
CN103675012B (en) The industrial melt index soft measurement instrument of BP particle group optimizing and method
CN103675008B (en) The industrial melt index soft measurement instrument of Weighted Fuzzy and method
CN103630568B (en) The industrial melt index soft measurement instrument of BP network and method
CN103472867B (en) The optimizing temperature of pesticide production waste liquid incinerator system and method for support vector machine
CN103675007B (en) The industrial melt index soft measurement instrument of RBF network and method
CN103838209A (en) Self-adaption optimal forecasting system and method in propylene polymerization production process
CN103838957A (en) Propylene polymerization production process radial basis optimum soft measurement instrument and method
CN103838958A (en) Vague intelligent optimal soft measuring instrument and method used in propylene polymerization production process
CN103823963A (en) Soft measuring system and method for polypropylene melt index of robusts
CN103488209B (en) The pesticide waste liquid incinerator furnace temperature optimization system of Intelligent Support vector machine and method
CN103823369A (en) Propylene polymerization production process prediction system based on BP multimode network and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150930

Termination date: 20180922

CF01 Termination of patent right due to non-payment of annual fee