CN103675012B - The industrial melt index soft measurement instrument of BP particle group optimizing and method - Google Patents
The industrial melt index soft measurement instrument of BP particle group optimizing and method Download PDFInfo
- Publication number
- CN103675012B CN103675012B CN201310436856.9A CN201310436856A CN103675012B CN 103675012 B CN103675012 B CN 103675012B CN 201310436856 A CN201310436856 A CN 201310436856A CN 103675012 B CN103675012 B CN 103675012B
- Authority
- CN
- China
- Prior art keywords
- particle
- equation
- iter
- fuzzy
- training sample
- 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
Links
Abstract
The invention discloses a kind of industrial melt index soft measurement instrument and method of BP particle group optimizing.This flexible measurement method uses BP neural network as the local equation of fuzzifying equation system, introduces particle cluster algorithm subsequently and optimizes further whole soft-sensing model.In the present invention, field intelligent instrument, control station for measuring easily survey variable are connected with DCS database, hard measurement value display instrument comprises the industrial melt index soft measurement model of BP particle group optimizing, 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 BP particle group optimizing is connected with melt index flexible measured value display instrument; The present invention has on-line optimization, computing velocity is fast, model upgrades automatically, noise resisting ability is strong feature.
Description
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 BP particle group optimizing.
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.
Artificial neural network in recent years, especially BP neural network, achieve good effect in system optimization.Neural network has very strong self-adaptation, self-organization, the ability of self study and the ability of large-scale parallel computing.But in actual applications, neural network also exposes some self intrinsic defects: the initialization of weights is random, is easily absorbed in local minimum; In learning process, the interstitial content of hidden layer and the selection of other parameters can only rule of thumb be selected with experiment; Convergence time is long, poor robustness etc.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.
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 searching for BP Neural Fuzzy equation, to reach the object of Optimized model.
Summary of the invention
In order to overcome the deficiency that measuring accuracy is not high, low to noise sensitivity, parameter choose difficulty is large of existing propylene polymerization production process, the invention provides a kind of on-line measurement, computing velocity is fast, model upgrades automatically, the industrial melt index soft measurement instrument of BP particle group optimizing that noise resisting ability is strong and method.
A kind of industrial melt index soft measurement instrument of BP particle group optimizing, 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, described soft measuring instrument also comprises the industrial melt index soft measurement model of BP particle group optimizing, described DCS database is connected with the input end of the industrial melt index soft measurement model of described BP particle group optimizing, the output terminal of the industrial melt index soft measurement model of described BP particle group optimizing is connected with melt index flexible measured value display instrument, the industrial melt index soft measurement model of described BP particle group optimizing 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:
Calculate variance:
Standardization:
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:
In formula, n is the partitioned matrix index needed in fuzzy classification process, and being usually taken as 2, ‖ ‖ is 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
i,μ
ik)=[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.
BP neural network, as the local equation of fuzzifying equation system, if the prediction of a kth BP Neural Fuzzy equation output layer exports is
be input as net, in the hidden layer that layer is adjacent therewith, the output of arbitrary neuron l is s
l, then have:
In formula, w
lkbe the connection weight between hidden neuron l and output layer neuron, f () is neuronic output function, is usually taken as Sigmoid function, is expressed as:
In formula, h is the neuronic threshold value of output layer, θ
0for steepness parameter, in order to regulate the steepness of Sigmoid function; Finally, the output of last fuzzifying equation system is obtained by the gravity model appoach in Anti-fuzzy method:
Wherein,
for the prediction of a kth BP Neural Fuzzy equation output layer exports.
Particle cluster algorithm optimizes module, for adopting particle cluster algorithm to the w of BP neural network local equation in fuzzifying equation
lkbe optimized, specific implementation step is as follows:
1. determine that the Optimal Parameters of population is the w of BP neural network local equation
lk, population individual amount popsize, largest loop optimizing number of times iter
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) (10)
In formula, E
pbe the error function of fuzzifying equation system, be expressed as:
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))
(12)
r
p(iter+1)=r
p(iter)+v
p(iter+1) (13)
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(14)
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(15)
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 BP particle group optimizing 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 melting index propylene polymerization production process flexible measurement method for BP particle group optimizing, 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:
2.2) variance is calculated:
2.3) standardization:
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 the training sample X passed from data preprocessing module after the standardization of coming, 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:
In formula, n is the partitioned matrix index needed in fuzzy classification process, and being usually taken as 2, ‖ ‖ is 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
i,μ
ik)=[1func(μ
iz)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.
BP neural network, as the local equation of fuzzifying equation system, if the prediction of a kth BP Neural Fuzzy equation output layer exports is
be input as net, in the hidden layer that layer is adjacent therewith, the output of arbitrary neuron l is s
l, then have:
In formula, w
lkbe the connection weight between hidden neuron l and output layer neuron, f () is neuronic output function, is usually taken as Sigmoid function, is expressed as:
In formula, h is the neuronic threshold value of output layer, θ
0for steepness parameter, in order to regulate the steepness of Sigmoid function; Finally, the output of last fuzzifying equation system is obtained by the gravity model appoach in Anti-fuzzy method:
Wherein,
for the prediction of a kth BP Neural Fuzzy equation output layer exports.
4), adopt particle cluster algorithm to the w of BP neural network local equation in fuzzifying equation
lkbe optimized, concrete steps are as follows: 1. determine that the Optimal Parameters of population is the w of BP neural network local equation
lk, population individual amount popsize, largest loop optimizing number of times iter
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) (10)
In formula, E
pbe the error function of fuzzifying equation system, be expressed as:
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))
(12)
r
p(iter+1)=r
p(iter)+v
p(iter+1) (13)
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(14)
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(15)
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: 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 BP neural network 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) prediction performance of model is enhanced; (3) stability that automatic optimal improves model is carried out to the parameter 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.
Accompanying drawing explanation
Fig. 1 is the industrial melt index soft measurement instrument of BP particle group optimizing and the basic structure schematic diagram of method;
Fig. 2 is the industrial melt index soft measurement model structural representation of BP particle group optimizing.
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 BP particle group optimizing, 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 of particle cluster algorithm Optimized BP Neural Network fuzzifying equation, described DCS database 4 is connected with the input end of the industrial melt index soft measurement model 5 of described BP particle group optimizing, the output terminal of the industrial melt index soft measurement model 5 of described BP particle group optimizing is connected with melt index flexible measured value display instrument 6, the industrial melt index soft measurement model of described BP particle group optimizing 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:
Calculate variance:
Standardization:
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:
In formula, n is the partitioned matrix index needed in fuzzy classification process, and being usually taken as 2, ‖ ‖ is 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
i,μ
ik)=[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.
BP neural network, as the local equation of fuzzifying equation system, if the prediction of a kth BP Neural Fuzzy equation output layer exports is
be input as net, in the hidden layer that layer is adjacent therewith, the output of arbitrary neuron l is s
l, then have:
In formula, w
lkbe the connection weight between hidden neuron l and output layer neuron, f () is neuronic output function, is usually taken as Sigmoid function, is expressed as:
In formula, h is the neuronic threshold value of output layer, θ
0for steepness parameter, in order to regulate the steepness of Sigmoid function; Finally, the output of last fuzzifying equation system is obtained by the gravity model appoach in Anti-fuzzy method:
Wherein,
for the prediction of a kth BP Neural Fuzzy equation output layer exports.
Particle cluster algorithm optimizes module, for adopting particle cluster algorithm to the w of BP neural network local equation in fuzzifying equation
lkbe optimized, specific implementation step is as follows:
1. determine that the Optimal Parameters of population is the w of BP neural network local equation
lk, population individual amount popsize, largest loop optimizing number of times iter
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) (10)
In formula, E
pbe the error function of fuzzifying equation system, be expressed as:
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))
(12)
r
p(iter+1)=r
p(iter)+v
p(iter+1) (13)
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(14)
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(15)
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 BP particle group optimizing also comprises: model modification module, for the online updating of model, is regularly input in training set by off-line analysis data, upgrades neural network 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 modeling variablees that soft-sensing model 5 inputs, and 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 BP particle group optimizing, hard measurement value display instrument 6 for showing the output of the industrial melt index soft measurement model 5 of BP particle group optimizing, i.e. hard measurement value.
Modeling variable needed for the industrial melt index soft measurement model of table 1:BP particle group optimizing
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 |
Xv | Hydrogen volume concentration in still | f4 | Major catalyst flow rate |
f5 | Cocatalyst flow rate |
The industrial melt index soft measurement model 5 of BP particle group optimizing, 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:
Calculate variance:
Standardization:
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:
In formula, n is the partitioned matrix index needed in fuzzy classification process, and being usually taken as 2, ‖ ‖ is 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
i,μ
ik)=[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.
BP neural network, as the local equation of fuzzifying equation system, if the prediction of a kth BP Neural Fuzzy equation output layer exports is
be input as net, in the hidden layer that layer is adjacent therewith, the output of arbitrary neuron l is y
l, then have:
In formula, w
lkbe the connection weight between hidden neuron l and output layer neuron, f () is neuronic output function, is usually taken as Sigmoid function, is expressed as:
In formula, h is the neuronic threshold value of output layer, θ
0for steepness parameter, in order to regulate the steepness of Sigmoid function; Finally, the output of last fuzzifying equation system is obtained by the gravity model appoach in Anti-fuzzy method:
Wherein,
for the prediction of a kth BP Neural Fuzzy equation output layer exports.
Particle cluster algorithm optimizes module 9, for adopting particle cluster algorithm to the w of BP neural network local equation in fuzzifying equation
lkbe optimized, specific implementation step is as follows:
1. determine that the Optimal Parameters of population is the w of BP neural network local equation
lk, population individual amount popsize, largest loop optimizing number of times iter
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) (10)
In formula, E
pbe the error function of fuzzifying equation system, be expressed as:
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))
(12)
r
p(iter+1)=r
p(iter)+v
p(iter+1) (13)
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(14)
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(15)
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 propylene polymerization production process flexible measurement method based on particle cluster algorithm Optimized BP Neural Network fuzzifying equation model, 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:
2.2) variance is calculated:
2.3) standardization:
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 the training sample X passed from data preprocessing module after the standardization of coming, obfuscation is carried out.If there be c* fuzzy group in fuzzifying equation system, 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:
In formula, n is the partitioned matrix index needed in fuzzy classification process, and being usually taken as 2, ‖ ‖ is 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
i,μ
ik)=[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.
BP neural network, as the local equation of fuzzifying equation system, if the prediction of a kth BP Neural Fuzzy equation output layer exports is
be input as net, in the hidden layer that layer is adjacent therewith, the output of arbitrary neuron l is s
l, then have:
In formula, w
lkbe the connection weight between hidden neuron l and output layer neuron, f () is neuronic output function, is usually taken as Sigmoid function, is expressed as:
In formula, h is the neuronic threshold value of output layer, θ
0for steepness parameter, in order to regulate the steepness of Sigmoid function; Finally, the output of last fuzzifying equation system is obtained by the gravity model appoach in Anti-fuzzy method:
Wherein,
for the prediction of a kth BP Neural Fuzzy equation output layer exports.
4), adopt particle cluster algorithm to the w of BP neural network local equation in fuzzifying equation
lkbe optimized, specific implementation step is as follows:
1. determine that the Optimal Parameters of population is the w of BP neural network local equation
lk, population individual amount popsize, largest loop optimizing number of times iter
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) (10)
In formula, E
pbe the error function of fuzzifying equation system, be expressed as:
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))
(12)
r
p(iter+1)=r
p(iter)+v
p(iter+1) (13)
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(14)
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(15)
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: 5), 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 BP neural network 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, upgrade fuzzifying equation model, the soft-sensing model 5 based on particle cluster algorithm Optimized BP Neural Network fuzzifying equation model 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 BP particle group optimizing, completes the display of measuring industrial polypropylene producing melt index flexible.
Claims (2)
1. the industrial melt index soft measurement instrument of a BP particle group optimizing, 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 BP particle group optimizing, described DCS database is connected with the input end of the industrial melt index soft measurement model of described BP particle group optimizing, the output terminal of the industrial melt index soft measurement model of described BP particle group optimizing is connected with melt index flexible measured value display instrument, the industrial melt index soft measurement model of described BP particle group optimizing 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:
Calculate variance:
Standardization:
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:
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
i,μ
ik)=[1 func(μ
ik) X
i] (5)
Wherein func (μ
ik) for being subordinate to angle value μ
ikwarping function, get
or 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;
BP neural network, as the local equation of fuzzifying equation system, if the prediction of a kth BP Neural Fuzzy equation output layer exports is
be input as net, in the hidden layer that layer is adjacent therewith, the output of arbitrary neuron l is s
l, then have:
In formula, w
lkbe the connection weight between hidden neuron l and output layer neuron, f () is neuronic output function, is usually taken as Sigmoid function, is expressed as:
In formula, h is the neuronic threshold value of output layer, θ
0for steepness parameter, in order to regulate the steepness of Sigmoid function; Finally, the output of last fuzzifying equation system is obtained by the gravity model appoach in Anti-fuzzy method:
Wherein,
for the prediction of a kth BP Neural Fuzzy equation output layer exports;
Particle cluster algorithm optimizes module, for adopting particle cluster algorithm to the w of BP neural network local equation in fuzzifying equation
lkbe optimized, specific implementation step is as follows:
1. determine that the Optimal Parameters of population is the w of BP neural network local equation
lk, population individual amount popsize, largest loop optimizing number of times iter
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) (10)
In formula, E
pbe the error function of fuzzifying equation system, be expressed as:
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))
(12)
r
p(iter+1)=r
p(iter)+v
p(iter+1) (13)
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(14)
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(15)
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 BP particle group optimizing 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 BP particle group optimizing 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:
2.2) variance is calculated:
2.3) standardization:
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:
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
i,μ
ik)=[1 func(μ
ik) X
i] (5)
Wherein func (μ
ik) for being subordinate to angle value μ
ikwarping function, get
or 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;
BP neural network, as the local equation of fuzzifying equation system, if the prediction of a kth BP Neural Fuzzy equation output layer exports is
be input as net, in the hidden layer that layer is adjacent therewith, the output of arbitrary neuron l is s
l, then have:
In formula, w
lkbe the connection weight between hidden neuron l and output layer neuron, f () is neuronic output function, is usually taken as Sigmoid function, is expressed as:
In formula, h is the neuronic threshold value of output layer, θ
0for steepness parameter, in order to regulate the steepness of Sigmoid function; Finally, the output of last fuzzifying equation system is obtained by the gravity model appoach in Anti-fuzzy method:
Wherein,
for the prediction of a kth BP Neural Fuzzy equation output layer exports;
4), adopt particle cluster algorithm to the w of BP neural network local equation in fuzzifying equation
lkbe optimized, specific implementation step is as follows:
1. determine that the Optimal Parameters of population is the w of BP neural network local equation
lk, population individual amount popsize, largest loop optimizing number of times iter
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) (10)
In formula, E
pbe the error function of fuzzifying equation system, be expressed as:
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))
(12)
r
p(iter+1)=r
p(iter)+v
p(iter+1) (13)
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(14)
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(15)
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.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310436856.9A CN103675012B (en) | 2013-09-22 | 2013-09-22 | The industrial melt index soft measurement instrument of BP particle group optimizing and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310436856.9A CN103675012B (en) | 2013-09-22 | 2013-09-22 | The industrial melt index soft measurement instrument of BP particle group optimizing and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103675012A CN103675012A (en) | 2014-03-26 |
CN103675012B true CN103675012B (en) | 2015-08-19 |
Family
ID=50313217
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310436856.9A Expired - Fee Related CN103675012B (en) | 2013-09-22 | 2013-09-22 | The industrial melt index soft measurement instrument of BP particle group optimizing and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103675012B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104408518B (en) * | 2014-11-12 | 2015-08-26 | 山东地纬数码科技有限公司 | Based on the neural network learning optimization method of particle swarm optimization algorithm |
CN111382933B (en) * | 2020-03-04 | 2023-05-09 | 海南金盘智能科技股份有限公司 | Method and system for generating transformer scheduling scheme |
CN113425273A (en) * | 2021-06-21 | 2021-09-24 | 合肥工业大学 | Blood pressure measuring system for modeling individual pulse wave characteristics |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101315557A (en) * | 2008-06-25 | 2008-12-03 | 浙江大学 | Propylene polymerization production process optimal soft survey instrument and method based on genetic algorithm optimization BP neural network |
CN101382801A (en) * | 2008-06-25 | 2009-03-11 | 浙江大学 | Optimum soft measuring instrument based on EGA-optimized polymerization of propylene production process and method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102008036968A1 (en) * | 2008-08-08 | 2010-02-11 | Endress + Hauser Gmbh + Co. Kg | Diagnostic procedure of a process automation system |
-
2013
- 2013-09-22 CN CN201310436856.9A patent/CN103675012B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101315557A (en) * | 2008-06-25 | 2008-12-03 | 浙江大学 | Propylene polymerization production process optimal soft survey instrument and method based on genetic algorithm optimization BP neural network |
CN101382801A (en) * | 2008-06-25 | 2009-03-11 | 浙江大学 | Optimum soft measuring instrument based on EGA-optimized polymerization of propylene production process and method |
Non-Patent Citations (3)
Title |
---|
Comparison of particle swarm optimization and backpropagation as training algorithms for neural networks;Gudise V G et al.;《Proceedings of the 2003 IEEE》;20031231;全文 * |
基于改进混沌粒子群优化算法的聚丙烯生产调优;夏陆岳等;《计算机与应用化学》;20120728;第29卷(第7期);全文 * |
应用混沌粒子群优化训练的BP神经网络预报高炉铁水含硅量;徐生林等;《冶金分析》;20101231;第30卷(第5期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN103675012A (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 | |
CN101315557B (en) | Propylene polymerization production process optimal soft survey instrument and method based on genetic algorithm optimization BP neural network | |
CN103675006B (en) | The industrial melt index soft measurement instrument of least square and method | |
CN103675011B (en) | The industrial melt index soft measurement instrument of optimum support vector machine and method | |
CN103472865B (en) | The pesticide waste liquid incinerator furnace temperature optimization system of intelligence least square and method | |
CN103472866B (en) | The pesticide waste liquid incinerator furnace temperature optimization system of intelligent fuzzy system and method | |
CN103675012B (en) | The industrial melt index soft measurement instrument of BP particle group optimizing and method | |
CN103675005B (en) | The industrial melt index soft measurement instrument of optimum FUZZY NETWORK and method | |
CN103839103B (en) | Propylene polymerization production process BP Optimal predictor system and method | |
CN103675010B (en) | The industrial melt index soft measurement instrument of support vector machine and method | |
CN103675009B (en) | The industrial melt index soft measurement instrument of fuzzifying equation and method | |
CN103630568B (en) | The industrial melt index soft measurement instrument of BP network and method | |
CN103675007B (en) | The industrial melt index soft measurement instrument of RBF network and method | |
CN103838205B (en) | BP global optimum propylene polymerization production process optimal soft survey instrument and method | |
CN103838209B (en) | Propylene polymerization production process adaptive optimal forecast system and method | |
CN103675008B (en) | The industrial melt index soft measurement instrument of Weighted Fuzzy and method | |
CN103838958A (en) | Vague intelligent optimal soft measuring instrument and method used in propylene polymerization production process | |
CN103472729B (en) | The pesticide waste liquid incinerator hazardous emission controls up to par system and method for gunz | |
CN103488206B (en) | The optimizing temperature of pesticide production waste liquid incinerator system and method for intelligence radial basis | |
CN109856971A (en) | Propylene polymerization production process optimal online forecasting system based on gunz optimizing | |
CN103823963A (en) | Soft measuring system and method for polypropylene melt index of robusts | |
CN103823369A (en) | Propylene polymerization production process prediction system based on BP multimode network and method | |
CN103488209B (en) | The pesticide waste liquid incinerator furnace temperature optimization system of Intelligent Support vector machine and method | |
CN103488207B (en) | The optimizing temperature of pesticide production waste liquid incinerator system and method for fuzzy system | |
Qianhong et al. | Scholars Journal of Physics, Mathematics and Statistics |
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: 20150819 Termination date: 20180922 |
|
CF01 | Termination of patent right due to non-payment of annual fee |