CN102636624B - Method for soft measurement of alumina concentration in electrolyzer during aluminum electrolysis process - Google Patents

Method for soft measurement of alumina concentration in electrolyzer during aluminum electrolysis process Download PDF

Info

Publication number
CN102636624B
CN102636624B CN201210131601.7A CN201210131601A CN102636624B CN 102636624 B CN102636624 B CN 102636624B CN 201210131601 A CN201210131601 A CN 201210131601A CN 102636624 B CN102636624 B CN 102636624B
Authority
CN
China
Prior art keywords
parameter
value
alumina concentration
max
colony
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
CN201210131601.7A
Other languages
Chinese (zh)
Other versions
CN102636624A (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.)
Chongqing University
Original Assignee
Chongqing University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing University filed Critical Chongqing University
Priority to CN201210131601.7A priority Critical patent/CN102636624B/en
Publication of CN102636624A publication Critical patent/CN102636624A/en
Application granted granted Critical
Publication of CN102636624B publication Critical patent/CN102636624B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for soft measurement of alumina concentration in an electrolyzer during an aluminum electrolysis process, comprising the following steps: (1) collecting process production parameter data; (2) preprocessing the process production parameter data; (3) establishing samples of process production parameter data; (4) establishing a multi-alumina concentration soft measurement model based on different electrolyzer statuses and obtaining model parameters; (5) employing the model to estimate alumina concentration. The method disclosed by the invention can ensure fast, accurate and real-time detection of changes in the alumina concentration so as to achieve optimal control of the production process.

Description

The flexible measurement method of alumina concentration in aluminium electrolysis process electrolytic tank
Technical field
The present invention relates to the measuring technique of aluminium electrolysis process manufacturing parameter, relate in particular to a kind of flexible measurement method that is difficult to measure in real time online with physical sensors alumina concentration in electrolytic tank for solving aluminium electrolysis process.
Background technology
In aluminium electrolytic industry, alumina concentration is the important state parameter of reflection aluminium cell production run process, also be an important control parameter that maintains aluminium cell material balance simultaneously, produce the process schedule requirement of " three low height " according to modern aluminum electrolytic industry, alumina concentration must be controlled to a lower concentration range, but because the sensor cost of directly measuring for alumina concentration is at present high, the economy such as easy damage, technical reason, cause lacking the online measurement means of directly measuring alumina concentration always, this has become restriction aluminium electroloysis industry and has further improved control efficiency, reduce a bottleneck of energy consumption.At present, soft-measuring technique provides effective approach for solving problems, and be considered to fruitful and the most attractive new method, add under the condition of investment not increasing or reduce, soft-measuring technique will be used widely, thereby process control and detection system are produced to tremendous influence.Soft measurement is exactly (to be called auxiliary variable according to the process variable that easily survey can be surveyed, as speed, pressure, temperature etc.) (be called leading variable with the variable to be measured that is difficult to direct-detection, as material component, product quality etc.) mathematical relation, according to certain optiaml ciriterion, adopt various computing method, realize measurement or the estimation to variable to be measured with soft-sensing model.
At present, for the soft measurement of alumina concentration, main or cell resistance slope calculation method,, by can extrapolate the concentration of aluminium oxide to the analysis of cell resistance size, its relation curve is as shown in Figure 1.Because cell resistance R calculates gained by tank voltage and potline current intensity, can be the relation between tank voltage and alumina concentration by the relationship conversion shown in Fig. 1, change and be transformed within the scope of a less time interval by alumina concentration, within the scope of this according to tank voltage or cell resistance slope value and corresponding alumina concentration value thereof, adopt the method for the linear theories such as linear regression model (LRM), set up the soft-sensing model of alumina concentration, this method can only effectively detect alumina concentration and change in very little perform region, and the soft measurement problem of the alumina concentration that can not thoroughly solve whole perform region, this is because alumina concentration is except outside the Pass changing with current tank voltage or cell resistance and having, also with the current or residing electrolytic tank state of electrolytic tank in early time, the groove action adopting, relevant with fluctuation of other manufacturing parameters etc.In addition, based on artificial neural network (Artificial Neural Network, brief note is for ANN) the soft measurement of alumina concentration also someone adopted, soft measurement based on artificial neural network can be under the condition of priori that does not possess object, according to the input/output relation Direct Modeling of object, the on-line correction ability of model is strong, and can be applicable to nonlinearity and serious time-dependent system.But, the selection of quality and quantity, learning algorithm, topology of networks and the type etc. of the learning training sample of neural network has significant impact to the soft-sensing model forming, and the selection of training sample proper vector often lacks reliable technological basis, so adopt the alumina concentration soft-sensing model of neural network also to have its limitation.In sum, because aluminium cell is a non-homogeneous unsteady Model, every factor that the alumina concentration relating to changes intercouples, so combined process is chosen the feature input of suitable alumina concentration model, adopting a kind of accurate, reliable non-linear soft-sensing model is vital to setting up alumina concentration soft-sensing model.
Summary of the invention
In view of this, the object of this invention is to provide the flexible measurement method of alumina concentration in a kind of accurate, reliable aluminium electrolysis process electrolytic tank.
The object of the invention is to be achieved through the following technical solutions:
The flexible measurement method of alumina concentration in this aluminium electrolysis process electrolytic tank, comprises the following steps:
Step 1: gatherer process manufacturing parameter data, comprise that the process that gathers tank voltage, potline current, reinforced interval (NB), aluminum yield produces parameter, and set up the historical data base of storage parameters numerical value by hardware device;
Step 2: set one and read time parameter and read time period parameter, read time parameter every one section, just read the data before time period parameter that read in this moment of historical data base, process manufacturing parameter is carried out to data processing, set up training sample set and test sample book set, the form of sample set is { x i, y i, wherein
X i={ F (k), H (k), R (k), S (k), T (k), NB (k), L (k), V s(k) }, y i={ C (k) }, x i∈ R 8, y i∈ R, wherein, in formula, the implication of each parameter is as follows:
K represents residing certain sampling instant of sample i, moment k-moment (k-1)=read time parameter;
F (k) is cell voltage fluctuation number of times, reads time period parameter with interior all tank voltage data-signal V to what collect kaccording to eight layers of DB8 wavelet decomposition signals to for tree construction, then the signal of (8,0) frequency range is reconstructed and obtains reading the tank voltage signal V of time period parameter with interior (8,0) frequency range 80k, statistics reads the tank voltage signal wave crest trough number of time period parameter with interior (8,0) frequency range, and a Wave crest and wave trough is designated as 1 secondary undulation, and crest or trough are 0.5 secondary undulation;
H (k) is high-frequency energy number percent, reads time period parameter and is designated as V with interior tank voltage collecting k, calculate tank voltage signal gross energy
Figure GDA0000467186910000021
calculate (8,0) frequency range tank voltage signal energy
Figure GDA0000467186910000022
high-frequency energy number percent H ( k ) = E h E = E - E 80 E ;
R (k) is cell resistance, processes the tank voltage V that obtains (8,0) frequency range by the k moment 80kpotline current I (k) divided by this moment obtains, and the mode of utilizing following smoothing algorithm is deleted the exceptional value in the cell resistance sequential value of sampling rate, wherein, e is the deviation of cell resistance value and smoothing computation value, ω represents shift time, ω=5s, R (k-ω) is the cell resistance value of 5s before the k moment, R (k-2 ω) is the cell resistance value of 10s before the k moment.
R(k)=0.3×R(k-ω)-0.1×R(k-2ω)+0.2×(e(k)+2×e(k-ω)+e(k-2ω));
S (k) is cell resistance slope, and being defined as the increment that reads recently the filter resistance in time parameter is rate of change; T (k) is accumulation slope, be defined as the cumulative increment that reads recently the filter resistance in time parameter in the recent period, use difference filter slope calculations, and use recursion formula to calculate accumulation slope, specific algorithm is take 30s as the cycle, low-pass filtering resistance to be sampled, press two formulas calculated resistance slope S and accumulation slope T respectively below
S(k)=(R(k-6ω)-R(k-18ω)+2×(R(k)-R(k-24ω)))/5,
T(k)=(15/16)×T(k-1)+S(k)/4;
NB (k) is alumina blanking interval, aluminum electrolysis control system actual set blanking spacing value, represent with respect to benchmark blanking interval multiple, NB (k) is between 0.8-1.3, when NB (k)=1, represent with benchmark blanking interval blanking;
L (k) is aluminum yield, the quality of the metallic aluminium that expression aluminium cell extracts carry out out aluminium operation in the time of the k moment time, and the average aluminum yield using L (k) as the k moment in this method, units/kg,
V s(k) be setting voltage, represent that aluminum electrolytic cell control system is the tank voltage that electrolytic tank is set at moment k, the V of unit;
C (k) is alumina concentration, represent to be dissolved into the mass percent of the aluminium oxide in electrolyte, general oxidation concentration is all between 0%-12%, C (k) value part of only peeking here, and 2% alumina concentration is expressed as C (k)=2;
Step 3: adopt following algorithm to be normalized sample set, attribute is zoomed between [0,1]:
x i = x i | | x i | |
y i = y i 12 ,
In above formula || || get 2-norm;
Step 4: according to all electrolytic tank states of storing in control system historical data base, set up alumina concentration soft-sensing model corresponding under different electrolytic tank states, solving model, computation model parameter;
Step 5: according to current electrolytic tank state and its corresponding alumina concentration soft-sensing model, test sample book, in conjunction with being input in soft-sensing model, is calculated to its corresponding alumina concentration discreet value
Figure GDA0000467186910000034
utilize the algorithm of following formula by alumina concentration discreet value
Figure GDA0000467186910000041
renormalization is alumina concentration value, estimates out alumina concentration corresponding to current test sample book set,
y ^ i = 12 y ^ i .
Further, in step 4, groove state comprises health, ill, Very Ill-conditioned totally seven kinds of states of health, inferior health, critical health, slight morbid state, moderate substantially, collect sample set for the training under different slots state, adopt least square method supporting vector machine (LSSVM) training to obtain the alumina concentration soft-sensing model that different slots state is corresponding, totally 7 kinds, model tormulation is as follows:
y ^ ( x ) = f ( x ) = Σ i = 1 N α i K ( x , x i ) + b ,
In above formula, N is input number of samples, x ibe i input sample, x is a certain input variable, α i≠ 0 is corresponding input sample x ifor support vector, α ifor support vector machine coefficient,
Figure GDA0000467186910000044
for model pre-estimating output, K (x, x i) be kernel function;
Further, kernel function is radial basis function (RBF);
Further, in step 4, to the electrolytic tank under a certain groove state, the algorithm of alumina concentration soft-sensing model parameter is as follows:
Step 1:
Model parameter initialization; (comprise initialization Population n, maximum iteration time k max, study factor c 1, study factor c 2, penalty coefficient pace of change lower bound Vc min, penalty coefficient pace of change upper bound Vc max, kernel function spread factor changes lower bound V σ min, kernel function spread factor change upper bound V σ max, kernel function spread factor lower bound σ min, kernel function spread factor upper bound σ max, penalty coefficient lower bound c min, penalty coefficient upper bound c max, inertia weight ω);
Step 2:
The corresponding algorithm parameter c of all particles and σ in initialization colony, i.e. initialization particle population, initial population is shone upon to produce by Logistic and is obtained, and concrete grammar is: definition ξ 11, ξ 12for the random number in (0,1), and ξ 11≠ ξ 12, by ξ 11, ξ 12substitution Logistic mapping, that is:
ξ i+1,1=4ξ i1(1-ξ i1)
ξ i+1,2=4ξ i2(1-ξ i2),i=1,...,m-1,
Above formula iteration is obtained to m group Chaos Variable for m-1 time
Figure GDA0000467186910000045
Again Chaos Variable is mapped in feasible zone, even:
c i=c mini1(c max-c min)
σ i=σ mini2maxmin),,
Definition initial population
Figure GDA0000467186910000051
wherein x i=(x i1, x i2)=(c i, σ i) be the position of i particle;
Calculate optimal adaptation value corresponding to all particles in colony, the individual particles optimal location in definition colony is:
Figure GDA0000467186910000052
m is Population; Definition colony optimal location: the optimal location P of colony ginitial value be that of adaptive value minimum in personal best particle; By m P iin the following formula of radial basis kernel function substitution:
Figure GDA0000467186910000053
Application least square method is obtained m group model parameter alpha iand b, then by this m group model parameter substitution successively y ^ ( x ) = f ( x ) = Σ i = 1 N α i Kx ( x i + b ) With f = 1 N Σ i = 1 N ( y i - y ^ i ) 2 In, the f trying to achieve is m adaptive value corresponding to all particles, and the adaptive value of now trying to achieve is initialized as to the optimal adaptation value that now particle is corresponding, optimal adaptation value refers to the difference of two squares of estimating output and actual output of adaptive value under parameter current;
Step 3:
Search colony optimal adaptation value, i.e. optimal adaptation value corresponding to all particles in colony relatively, finding minimum optimal adaptation value is corresponding colony optimal adaptation value, and using algorithm parameter c corresponding particle and σ as optimum model parameter;
Step 4:
Value x and the pace of change v thereof of all particle algorithm parameter c and σ in renewal colony;
Judge and change in colony all particle algorithm parameter c and σ within the scope of feasible zone, that is:
If v i1> vc max, make v i1=vc max;
If v i1< vc min, make v i1=vc min;
If v i2> v σ max, make v i2=v σ max;
If v i2< v σ min, make v i2=v σ min;
If x i1< c min, make x i1=c min;
If x i1> c max, make x i1=c max;
If x i2< σ min, make x i2min;
If x i2> σ max, make x i2max, i=1 ..., Population
Least square method is calculated the model parameter α of each particle under its algorithm parameter c and σ iand b;
Calculate the optimal adaptation value of all particles in colony, the optimal adaptation value value that all particles are corresponding is the minimum value between adaptive value and the optimal adaptation value calculating of last iteration that time iterative computation goes out;
Search colony optimal adaptation value, i.e. optimal adaptation value corresponding to all particles in colony relatively, finding minimum optimal adaptation value is corresponding colony optimal adaptation value, and using algorithm parameter c corresponding particle and σ as optimum model parameter;
Step 5:
Judge whether iterations reaches maximal value, if do not reached, returns to step 4, otherwise execution step 6;
Step 6:
The algorithm parameter c calculating after last iteration and σ are decided to be the algorithm parameter of aluminium oxide soft-sensing model;
Step 7:
Use least square method computational algorithm parameter c and model parameter α corresponding to σ iand b;
Further, in step 1, reading time parameter is 10min, and reading time period parameter is 2h.
The invention has the beneficial effects as follows:
(1) realize automatically and control monitor data is provided for aluminium electrolysis process, for the optimal control that realizes electrolytic aluminium process lays the foundation with optimization operation;
(2), according to different electrolytic tank running statuses, training obtains the many alumina concentrations soft-sensing model structure under different conditions, makes the adaptive faculty of soft measurement stronger;
(3) detect in real time alumina concentration and change, realize production process monitoring, improve electrolytic aluminium output;
(4) replace artificial assay, reach the object that promptly and accurately detects production status, further Optimization Technology.
Other advantages of the present invention, target and feature will be set forth to a certain extent in the following description, and to a certain extent, based on will be apparent to those skilled in the art to investigating below, or can be instructed from the practice of the present invention.Target of the present invention and other advantages can be realized and be obtained by instructions and claims below.
Accompanying drawing explanation
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, the present invention is described in further detail, wherein:
Fig. 1 is alumina concentration-cell resistance relation curve;
Fig. 2 is the implementation framework of soft-sensing model of the present invention;
Fig. 3 is hardware platform structural representation of the present invention;
Fig. 4 is the WAVELET PACKET DECOMPOSITION restructuring tree construction adopting in sample data process of establishing of the present invention;
Fig. 5 is electrolytic bath change in voltage curve.
Embodiment
Hereinafter with reference to accompanying drawing, the preferred embodiments of the present invention are described in detail.Should be appreciated that preferred embodiment is only for the present invention is described, rather than in order to limit the scope of the invention.
As shown in Figure 2, the flexible measurement method of alumina concentration in aluminium electrolysis process electrolytic tank of the present invention, comprises the following steps:
Step 1: gatherer process manufacturing parameter data, comprise that the process that gathers tank voltage, potline current, reinforced interval (NB), aluminum yield produces parameter, and set up the historical data base of storage parameters numerical value by hardware device;
Step 2: set one and read time parameter and read time period parameter, read time parameter every one section, just read the data before time period parameter that read in this moment of historical data base, process manufacturing parameter is carried out to data processing, set up training sample set and test sample book set, the form of sample set is { x i, y i, in the present embodiment, reading time parameter is 10min, read time period parameter and get 2h, i.e. and data before 10min reads this moment of historical data base 2h, wherein
X i={ F (k), H (k), R (k), S (k), T (k), NB (k), L (k), V s(k) }, y i={ C (k) }, x i∈ R 8, y i∈ R, wherein, in formula, the implication of each parameter is as follows:
K represents residing certain sampling instant of sample i, moment k-moment (k-1)=read time parameter;
F (k) is cell voltage fluctuation number of times, reads time period parameter with interior all tank voltage data-signal V to what collect kaccording to eight layers of DB8 wavelet decomposition signals to for tree construction, then the signal of (8,0) frequency range is reconstructed and obtains reading the tank voltage signal V of time period parameter with interior (8,0) frequency range 80k, statistics reads the tank voltage signal wave crest trough number of time period parameter with interior (8,0) frequency range, and a Wave crest and wave trough is designated as 1 secondary undulation, and crest or trough are 0.5 secondary undulation;
H (k) is high-frequency energy number percent, reads time period parameter and is designated as V with interior tank voltage collecting k, calculate tank voltage signal gross energy
Figure GDA0000467186910000071
calculate (8,0) frequency range tank voltage signal energy high-frequency energy number percent H ( k ) = E h E = E - E 80 E ;
R (k) is cell resistance, processes the tank voltage V that obtains (8,0) frequency range by the k moment 80kpotline current I (k) divided by this moment obtains, and the mode of utilizing following smoothing algorithm is deleted the exceptional value in the cell resistance sequential value of sampling rate, wherein, e is the deviation of cell resistance value and smoothing computation value, ω represents shift time, ω=5s, R (k-ω) is the cell resistance value of 5s before the k moment, R (k-2 ω) is the cell resistance value of 10s before the k moment.
R(k)=0.3×R(k-ω)-0.1×R(k-2ω)+0.2×(e(k)+2×e(k-ω)+e(k-2ω));
S (k) is cell resistance slope, and being defined as the increment that reads recently the filter resistance in time parameter is rate of change; T (k) is accumulation slope, be defined as the cumulative increment that reads recently the filter resistance in time parameter in the recent period, use difference filter slope calculations, and use recursion formula to calculate accumulation slope, specific algorithm is take 30s as the cycle, low-pass filtering resistance to be sampled, press two formulas calculated resistance slope S and accumulation slope T respectively below
S(k)=(R(k-6ω)-R(k-18ω)+2×(R(k)-R(k-24ω)))/5,
T(k)=(15/16)×T(k-1)+S(k)/4;
NB (k) is alumina blanking interval, aluminum electrolysis control system actual set blanking spacing value, represent with respect to benchmark blanking interval multiple, NB (k) is between 0.8-1.3, when NB (k)=1, represent with benchmark blanking interval blanking;
L (k) is aluminum yield, the quality of the metallic aluminium that expression aluminium cell extracts carry out out aluminium operation in the time of the k moment time, because L (k) sampling period with respect to front several model parameters is much bigger, so average aluminum yield using L (k) as the k moment, average aluminum yield using L (k) as the k moment in this method, units/kg,
Figure GDA0000467186910000081
V s(k) be setting voltage, represent that aluminum electrolytic cell control system is the tank voltage that electrolytic tank is set at moment k, the V of unit;
C (k) is alumina concentration, represent to be dissolved into the mass percent of the aluminium oxide in electrolyte, general oxidation concentration is all between 0%-12%, C (k) value part of only peeking here, and 2% alumina concentration is expressed as C (k)=2;
Step 3: adopt following algorithm to be normalized sample set, attribute is zoomed between [0,1]:
x i = x i | | x i | |
y i = y i 12 ,
In above formula || || get 2-norm;
Step 4: according to all electrolytic tank states of storing in control system historical data base, set up alumina concentration soft-sensing model corresponding under different electrolytic tank states, solving model, computation model parameter; Groove state is defined as electrolysis ability and the important indicator of moving steady in a long-term that electrolytic tank has, that decision is how many to electrolytic tank input electric weight, keep the reference frame of efficient output, need to drop into more energy for the electrolytic tank of groove state health, to improve output; On the contrary, just need to reduce the input of energy for the electrolytic tank of groove state morbid state, take corresponding control measure to make groove condition improvement, then increase the input of energy, along with the carrying out producing, the physical characteristics of electrolytic tank itself will change, and the electrolysis ability of groove also changes thereupon.
In the present embodiment, groove state definition comprise health, substantially health, inferior health, critical health, slight ill, moderate is ill, Very Ill-conditioned totally seven kinds of states, collect sample set for the training under different slots state, adopt least square method supporting vector machine (LSSVM) training to obtain the alumina concentration soft-sensing model that different slots state is corresponding, totally 7 kinds, model tormulation is as follows:
y ^ ( x ) = f ( x ) = &Sigma; i = 1 N &alpha; i K ( x , x i ) + b ,
In above formula, N is input number of samples, x ibe i input sample, x is a certain input variable, α i≠ 0 is corresponding input sample x ifor support vector, α ifor support vector machine coefficient,
Figure GDA0000467186910000094
for model pre-estimating output, K (x, x i) be kernel function, the kernel function that this patent adopts is radial basis function (RBF), the parametric solution process of least square method supporting vector machine (LSSVM) adopts population (PSO) algorithm dynamic optimization, ask for and obtain algorithm parameter penalty coefficient c and kernel function spread factor σ, c and σ can be obtained to optimum model parameter α in substitution LSSVM again iand b.
In step 4, to the electrolytic tank under a certain groove state, the algorithm of alumina concentration soft-sensing model parameter is as follows:
Step 1:
Model parameter initialization; (comprise initialization Population n, maximum iteration time k max, study factor c 1, study factor c 2, penalty coefficient pace of change lower bound Vc min, penalty coefficient pace of change upper bound Vc max, kernel function spread factor changes lower bound V σ min, kernel function spread factor change upper bound V σ max, kernel function spread factor lower bound σ min, kernel function spread factor upper bound σ max, penalty coefficient lower bound c min, penalty coefficient upper bound c max, inertia weight ω);
Step 2:
The corresponding algorithm parameter c of all particles and σ in initialization colony, i.e. initialization particle population, initial population is shone upon to produce by Logistic and is obtained, and concrete grammar is: definition ξ 11, ξ 12for the random number in (0,1), as get ξ 11, ξ 12=0.25,0.5,0.75 and ξ 11≠ ξ 12.By ξ 11, ξ 12substitution Logistic mapping, that is:
ξ i+1,1=4ξ i1(1-ξ i1)
ξ i+1,2=4ξ i2(1-ξ i2),i=1,...,m-1,
Above formula iteration is obtained to m group Chaos Variable for m-1 time
Figure GDA0000467186910000092
Further, Chaos Variable is mapped in feasible zone, even:
c i=c mini1(c max-c min)
σ i=σ mini2maxmin),
Definition initial population
Figure GDA0000467186910000093
wherein x i=(x i1, x i2)=(c i, σ i) be the position of i particle.
(illustrate: c is penalty coefficient, the attention degree of representative model to outlier in sample data, penalty coefficient c is larger represents that we more pay attention to the outlier in sample data, and model training error can dullness decline along with the increase of penalty factor c simultaneously, but when c increases to after certain value, this range of decrease degree can become very little, even go to zero, when the slack variable of all outlier with a timing, fixed c is larger, also larger to the loss of objective function, now just implying and be unwilling to abandon these outlier, the most extreme situation is that c is decided to be to infinity, like this as long as slightly a point peels off, the value of objective function becomes infinity at once, allow problem become without separating at once, thereby be degenerated to hard interval problem, kernel function spread factor σ: when spread factor σ is very little, contact between support vector loose (distance be less than between the support vector of σ just have contact), learns machine relative complex, and extensive Generalization Ability is poor, otherwise σ is too large, the impact between support vector is excessively strong, and regression model is difficult to the precision that reaches enough, easily produces and owes matching)
Calculate optimal adaptation value corresponding to all particles in colony, the individual particles optimal location in definition colony is:
Figure GDA0000467186910000101
m is Population.Definition colony optimal location: the optimal location P of colony ginitial value be that of adaptive value minimum in personal best particle.By m P iin the following formula of radial basis kernel function substitution:
Figure GDA0000467186910000102
Application least square method is obtained m group model parameter alpha iand b, then by this m group model parameter substitution successively y ^ ( x ) = f ( x ) = &Sigma; i = 1 N &alpha; i K ( x , x i ) + b With f = 1 N &Sigma; i = 1 N ( y i - y ^ i ) 2 In, the f trying to achieve is m adaptive value corresponding to all particles, and the adaptive value of now trying to achieve is initialized as to the optimal adaptation value that now particle is corresponding, optimal adaptation value refers to the difference of two squares of estimating output and actual output of adaptive value under parameter current;
Step 3:
Search colony optimal adaptation value, i.e. optimal adaptation value corresponding to all particles in colony relatively, finding minimum optimal adaptation value is corresponding colony optimal adaptation value, and using algorithm parameter c corresponding particle and σ as optimum model parameter;
Step 4:
Value x and the pace of change v thereof of all particle algorithm parameter c and σ in renewal colony;
Judge and change in colony all particle algorithm parameter c and σ within the scope of feasible zone, that is:
If v i1> vc max, make v i1=vc max;
If v i1< vc min, make v i1=vc min;
If v i2> v σ max, make v i2=v σ max;
If v i2< v σ min, make v i2=v σ min;
If x i1< c min, make x i1=c min;
If x i1> c max, make x i1=c max;
If x i2< σ min, make x i2min;
If x i2> σ max, make x i2max, i=1 ..., Population
Least square method is calculated the model parameter α of each particle under its algorithm parameter c and σ iand b;
Calculate the optimal adaptation value of all particles in colony, the optimal adaptation value value that all particles are corresponding is the minimum value between adaptive value and the optimal adaptation value calculating of last iteration that time iterative computation goes out;
Search colony optimal adaptation value, i.e. optimal adaptation value corresponding to all particles in colony relatively, finding minimum optimal adaptation value is corresponding colony optimal adaptation value, and using algorithm parameter c corresponding particle and σ as optimum model parameter;
Step 5:
Judge whether iterations reaches maximal value, if do not reached, returns to step 4, otherwise execution step 6;
Step 6:
The algorithm parameter c calculating after last iteration and σ are decided to be the algorithm parameter of aluminium oxide soft-sensing model;
Step 7:
Use least square method computational algorithm parameter c and model parameter α corresponding to σ iand b;
Step 5: according to current electrolytic tank state and its corresponding alumina concentration soft-sensing model, test sample book, in conjunction with being input in soft-sensing model, is calculated to its corresponding alumina concentration discreet value utilize the algorithm of following formula by alumina concentration discreet value
Figure GDA0000467186910000112
renormalization is alumina concentration value, estimates out alumina concentration corresponding to current test sample book set,
y ^ i = 12 y ^ i .
Alumina concentration concentration on-line detecting system is made up of hardware support platform and soft-sensor software, in the process control level of hardware platform (as shown in Figure 2), slot control machine collects a large amount of real-time process manufacturing parameter data, by CAN bus by these real time data write into Databasces, data are offered data processing server by database, in data processing server, complete the processing of data, the computation processes such as the soft measurement diagnosis of alumina concentration, and result of calculation is offered and in management and monitoring machine, carries out man-machine interaction demonstration, management and monitoring machine can offer decision-making management level by soft measurement result simultaneously, so that for the managerial personnel of higher level provide decision references.The process manufacturing parameter data that soft-sensor software collects according to hardware platform, realize flexible measurement method proposed by the invention, and target is exactly to detect the variation of alumina concentration, to realize the optimal control to production run.
Concrete implementation example:
Step 1: collecting sample
According to the record of production in certain aluminium manufacturer workshop, the electrolytic tank operation manufacturing parameter of No. 3326 electrolytic tank 2011-8-1300:00:00-2011-8-1401:00:00 of continuous acquisition electrolysis 3 series, collection period is 10min, totally 150 pairs of samples, wherein front 100 pairs for modeling, rear 50 pairs for prediction.The tank voltage curve of electrolytic tank within this period as shown in Figure 5, go out current groove state for slight morbid state according to cell parameters curve and in conjunction with micro-judgment, the aluminium oxide soft-sensing model that sample data now trains is this series electrolytic tank corresponding electrolytic tank under slight ill groove state.
Setting up sample set is
Figure GDA0000467186910000121
wherein
x i={F(k),H(k),R(k),S(k),T(k),NB(k),L(k),V s(k)}
y i={C(k)}
X i∈ R 8, y i∈ R, k represents residing certain sampling instant of sample i.
Part sample data is as shown in table 1:
Table 1
Figure GDA0000467186910000122
Step 2: sample data pre-service
Owing to adopting the Euclidean distance of sample data to calculate in LSSVM algorithm, for avoiding the data domination lesser amt range data of larger amt scope, input data and output data acquisition are all normalized with following algorithm, attribute is zoomed to [0,1], between, the pretreated sample data of part is as shown in table 2 below:
Table 2
Figure GDA0000467186910000123
Step 3: determine best parameter
Selected radial basis kernel function
Figure GDA0000467186910000131
as the kernel function of aluminium oxide soft-sensing model, after selected kernel function, adopt alumina concentration soft-sensing model parameter to ask for algorithm computation model parameter.Before algorithm operation, initiation parameter arranges as shown in table 3 below:
Table 3
Figure GDA0000467186910000132
Asking for through alumina concentration soft-sensing model parameter the optimal parameter that algorithm determines is:
Penalty coefficient c=90; Kernel function spread factor σ=0.33.
The alumina concentration soft-sensing model coefficient of this series electrolytic tank that training obtains correspondence under slight ill groove state is as shown in table 4 below:
Table 4
Step 5: model pre-estimating meter
Be input to alumina concentration soft-sensing model for the sample data of predicting by latter 50 pairs, calculate its corresponding alumina concentration discreet value
Figure GDA0000467186910000134
Step 6: discreet value renormalization
Utilization algorithm is below by alumina concentration discreet value
Figure GDA0000467186910000141
renormalization is alumina concentration value, and with actual alumina concentration value y icompare, the result in table 5 represents that this alumina concentration soft-sensing model can estimate alumina concentration preferably.
y ^ i = 12 y ^ i
Table 5
Figure GDA0000467186910000143
Finally explanation is, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can modify or be equal to replacement technical scheme of the present invention, and not departing from aim and the scope of the technical program, it all should be encompassed in the middle of claim scope of the present invention.

Claims (5)

1. the flexible measurement method of alumina concentration in aluminium electrolysis process electrolytic tank, is characterized in that: described flexible measurement method comprises the following steps:
Step 1: gatherer process manufacturing parameter data, comprise that the process that gathers tank voltage, potline current, reinforced interval (NB), aluminum yield produces parameter, and set up the historical data base of storage parameters numerical value by hardware device;
Step 2: set one and read time parameter and read time period parameter, read time parameter every one section, just read the data before time period parameter that read in this moment of historical data base, process manufacturing parameter is carried out to data processing, set up training sample set and test sample book set, the form of sample set is { x i, y i, wherein
X i={ F (k), H (k), R (k), S (k), T (k), NB (k), L (k), V s(k) }, y i={ C (k) }, x i∈ R 8, y i∈ R, wherein, in formula, the implication of each parameter is as follows:
K represents residing certain sampling instant of sample i, moment k-moment (k-1)=read time parameter;
F (k) is cell voltage fluctuation number of times, reads time period parameter with interior all tank voltage data-signal V to what collect kaccording to eight layers of DB8 wavelet decomposition signals to for tree construction, then the signal of (8,0) frequency range is reconstructed and obtains reading the tank voltage signal V of time period parameter with interior (8,0) frequency range 80k, statistics reads the tank voltage signal wave crest trough number of time period parameter with interior (8,0) frequency range, and a Wave crest and wave trough is designated as 1 secondary undulation, and crest or trough are 0.5 secondary undulation;
H (k) is high-frequency energy number percent, reads time period parameter and is designated as V with interior tank voltage collecting k, calculate tank voltage signal gross energy
Figure FDA0000467186900000011
calculate (8,0) frequency range tank voltage signal energy high-frequency energy number percent H ( k ) = E h E = E - E 80 E ;
R (k) is cell resistance, processes the tank voltage V that obtains (8,0) frequency range by the k moment 80kpotline current I (k) divided by this moment obtains, and the mode of utilizing following smoothing algorithm is deleted the exceptional value in the cell resistance sequential value of sampling rate, wherein, e is the deviation of cell resistance value and smoothing computation value, ω represents shift time, ω=5s, R (k-ω) is the cell resistance value of 5s before the k moment, R (k-2 ω) is the cell resistance value of 10s before the k moment.
R(k)=0.3×R(k-ω)-0.1×R(k-2ω)+0.2×(e(k)+2×e(k-ω)+e(k-2ω));
S (k) is cell resistance slope, and being defined as the increment that reads recently the filter resistance in time parameter is rate of change; T (k) is accumulation slope, be defined as the cumulative increment that reads recently the filter resistance in time parameter in the recent period, use difference filter slope calculations, and use recursion formula to calculate accumulation slope, specific algorithm is take 30s as the cycle, low-pass filtering resistance to be sampled, press two formulas calculated resistance slope S and accumulation slope T respectively below
S(k)=(R(k-6ω)-R(k-18ω)+2×(R(k)-R(k-24ω)))/5,
T(k)=(15/16)×T(k-1)+S(k)/4;
NB (k) is alumina blanking interval, aluminum electrolysis control system actual set blanking spacing value, represent with respect to benchmark blanking interval multiple, NB (k) is between 0.8-1.3, when NB (k)=1, represent with benchmark blanking interval blanking;
L (k) is aluminum yield, the quality of the metallic aluminium that expression aluminium cell extracts carry out out aluminium operation in the time of the k moment time, and the average aluminum yield using L (k) as the k moment in this method, units/kg,
Figure FDA0000467186900000021
V s(k) be setting voltage, represent that aluminum electrolytic cell control system is the tank voltage that electrolytic tank is set at moment k, the V of unit;
C (k) is alumina concentration, represents to be dissolved into the mass percent of the aluminium oxide in electrolyte;
Step 3: adopt following algorithm to be normalized sample set, attribute is zoomed between [0,1]:
x i = x i | | x i | |
y i = y i 12 ,
In above formula || || get 2-norm;
Step 4: according to all electrolytic tank states of storing in control system historical data base, set up alumina concentration soft-sensing model corresponding under different electrolytic tank states, solving model, computation model parameter;
Step 5: according to current electrolytic tank state and its corresponding alumina concentration soft-sensing model, test sample book, in conjunction with being input in soft-sensing model, is calculated to its corresponding alumina concentration discreet value
Figure FDA0000467186900000024
utilize the algorithm of following formula by alumina concentration discreet value renormalization is alumina concentration value, estimates out alumina concentration corresponding to current test sample book set,
y ^ i = 12 y ^ i .
2. the flexible measurement method of alumina concentration in aluminium electrolysis process electrolytic tank according to claim 1, it is characterized in that: in step 4, groove state comprises health, ill, Very Ill-conditioned totally seven kinds of states of health, inferior health, critical health, slight morbid state, moderate substantially, collect sample set for the training under different slots state, adopt least square method supporting vector machine (LSSVM) training to obtain the alumina concentration soft-sensing model that different slots state is corresponding, totally 7 kinds, the optimal function of employing is as follows:
min J = 1 2 &omega; T &omega; + c R emp ,
In above formula, ω t, ω is used for controlling the complexity of model, c is error penalty coefficient, representative function smoothness and permissible error are greater than the compromise between the numerical value of ε; R empfor empiric risk, about the insensitive loss function of ε; Least square method supporting vector machine selects quadratic loss function as optimization problem loss function, and quadratic loss function is expressed as error ξ iquadratic sum, it is used for measuring special parameter and selects the loss bringing; Definition kernel function
Figure FDA0000467186900000032
for the inner product operation of high-dimensional feature space, K (x i, x j) meet the symmetric function of Mercer condition, optimization problem is converted into to solve linear model as follows:
y ^ ( x ) = f ( x ) = &Sigma; i = 1 N &alpha; i K ( x , x i ) + b ,
In above formula, N is input number of samples, x ibe i input sample, x is a certain input variable, α i≠ 0 is corresponding input sample x ifor support vector, α ifor support vector machine coefficient,
Figure FDA0000467186900000034
for model pre-estimating output, K (x, x i) be kernel function.
3. the flexible measurement method of alumina concentration in aluminium electrolysis process electrolytic tank according to claim 2, is characterized in that: kernel function is radial basis function (RBF), is expressed as
Figure FDA0000467186900000035
σ is kernel function spread factor, and being needs definite algorithm parameter.
4. the flexible measurement method of alumina concentration in aluminium electrolysis process electrolytic tank according to claim 1, is characterized in that: in step 4, to the electrolytic tank under a certain groove state, the algorithm of alumina concentration soft-sensing model parameter is as follows:
Step 1:
Model parameter initialization; Comprise initialization Population n, maximum iteration time k max, study factor c 1, study factor c 2, penalty coefficient pace of change lower bound Vc min, penalty coefficient pace of change upper bound Vc max, kernel function spread factor changes lower bound V σ min, kernel function spread factor change upper bound V σ max, kernel function spread factor lower bound σ min, kernel function spread factor upper bound σ max, penalty coefficient lower bound c min, penalty coefficient upper bound c max, inertia weight ω;
Step 2: the corresponding algorithm parameter c of all particles and σ in initialization colony, i.e. initialization particle population, initial population is shone upon to produce by Logistic and is obtained, and concrete grammar is: definition ξ 11, ξ 12for the random number in (0,1), and ξ 11≠ ξ 12, by ξ 11, ξ 12substitution Logistic mapping, that is:
ξ i+1,1=4ξ i1(1-ξ i1)
ξ i+1,2=4ξ i2(1-ξ i2),i=1,...,m-1,
Above formula iteration is obtained to m group Chaos Variable for m-1 time
Figure FDA0000467186900000036
Again Chaos Variable is mapped in feasible zone, even:
c i=c mini1(c max-c min)
σ i=σ mini2maxmin),,
Definition initial population
Figure FDA0000467186900000041
wherein x i=(x i1, x i2)=(c i, σ i) be the position of i particle;
Calculate optimal adaptation value corresponding to all particles in colony, the individual particles optimal location in definition colony is:
Figure FDA0000467186900000042
m is Population; Definition colony optimal location: the optimal location P of colony ginitial value be that of adaptive value minimum in personal best particle; By m P iin the following formula of radial basis kernel function substitution:
Figure FDA0000467186900000043
Application least square method is obtained m group model parameter alpha iand b, then by this m group model parameter substitution successively y ^ ( x ) = f ( x ) = &Sigma; i = 1 N &alpha; i Kx ( x i + b ) With f = 1 N &Sigma; i = 1 N ( y i - y ^ i ) 2 In, the f trying to achieve is m adaptive value corresponding to all particles, the adaptive value of now trying to achieve is initialized as to the optimal adaptation value that now particle is corresponding, and the optimal adaptation value value that all particles are corresponding is the minimum value between adaptive value and the optimal adaptation value calculating of last iteration that time iterative computation goes out;
Step 3:
Search colony optimal adaptation value, i.e. optimal adaptation value corresponding to all particles in colony relatively, finding minimum optimal adaptation value is corresponding colony optimal adaptation value, and using algorithm parameter c corresponding particle and σ as optimum model parameter;
Step 4:
Value x and the pace of change v thereof of all particle algorithm parameter c and σ in renewal colony;
Judge and change in colony all particle algorithm parameter c and σ within the scope of feasible zone, that is:
If v i1> vc max, make v i1=vc max;
If v i1< vc min, make v i1=vc min;
If v i2> v σ max, make v i2=v σ max;
If v i2< v σ min, make v i2=v σ min;
If x i1< c min, make x i1=c min;
If x i1> c max, make x i1=c max;
If x i2< σ min, make x i2min;
If x i2> σ max, make x i2max, i=1 ..., Population,
Utilize least square method to calculate the model parameter α of each particle under its algorithm parameter c and σ iand b;
Calculate optimal adaptation value corresponding to all particles in colony, the optimal adaptation value value that all particles are corresponding is the minimum value between adaptive value and the optimal adaptation value calculating of last iteration that time iterative computation goes out;
Search colony optimal adaptation value, i.e. optimal adaptation value corresponding to all particles in colony relatively, finding minimum optimal adaptation value is corresponding colony optimal adaptation value, and using algorithm parameter c corresponding particle and σ as optimum model parameter;
Step 5:
Judge whether iterations reaches maximal value, if do not reached, returns to step 4, otherwise execution step 6;
Step 6:
The algorithm parameter c calculating after last iteration and σ are decided to be the algorithm parameter of aluminium oxide soft-sensing model;
Step 7:
Use least square method computational algorithm parameter c and model parameter α corresponding to σ iand b;
5. the flexible measurement method of alumina concentration in aluminium electrolysis process electrolytic tank according to claim 1, is characterized in that: in step 1, reading time parameter is 10min, reading time period parameter is 2h.
CN201210131601.7A 2012-04-28 2012-04-28 Method for soft measurement of alumina concentration in electrolyzer during aluminum electrolysis process Expired - Fee Related CN102636624B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210131601.7A CN102636624B (en) 2012-04-28 2012-04-28 Method for soft measurement of alumina concentration in electrolyzer during aluminum electrolysis process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210131601.7A CN102636624B (en) 2012-04-28 2012-04-28 Method for soft measurement of alumina concentration in electrolyzer during aluminum electrolysis process

Publications (2)

Publication Number Publication Date
CN102636624A CN102636624A (en) 2012-08-15
CN102636624B true CN102636624B (en) 2014-07-02

Family

ID=46621094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210131601.7A Expired - Fee Related CN102636624B (en) 2012-04-28 2012-04-28 Method for soft measurement of alumina concentration in electrolyzer during aluminum electrolysis process

Country Status (1)

Country Link
CN (1) CN102636624B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105301985A (en) * 2015-11-23 2016-02-03 浙江中控软件技术有限公司 Method and system for measuring length of calcium carbide furnace electrode
CN107992645B (en) * 2017-10-30 2021-02-26 嘉兴学院 Sewage treatment process soft measurement modeling method based on chaos-firework hybrid algorithm
CN108595458A (en) * 2017-12-30 2018-09-28 贵阳铝镁设计研究院有限公司 Data integration platform based on aluminium electroloysis factory
CN108446508A (en) * 2018-03-27 2018-08-24 昆明理工大学 A kind of electrolytic cell load substitutional resistance computational methods based on least square method
CN108360021B (en) * 2018-04-10 2020-03-06 中南大学 Method and equipment for acquiring process control parameters of aluminum electrolysis cell based on data and knowledge
CN108959847B (en) * 2018-07-20 2021-08-13 东北大学 Method for calculating and monitoring dissolution rate of alumina by calorimetry
CN109933031B (en) * 2019-03-26 2021-08-31 沈阳铝镁设计研究院有限公司 System and method for automatically correcting soft measuring instrument according to assay data
CN110282645A (en) * 2019-06-21 2019-09-27 广西大学 A kind of aluminium oxide calcining process operating parameters optimization method
CN110129832B (en) * 2019-06-21 2021-04-09 广西大学 Multi-objective optimization method for cell voltage in aluminum electrolysis process

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101275248A (en) * 2007-12-20 2008-10-01 中国铝业股份有限公司 Method for controlling materials balance of electrolytic cell
CN101275249A (en) * 2007-12-20 2008-10-01 中国铝业股份有限公司 Method for real-time detection of concentration of aluminum oxide in aluminum cell
CN102230192A (en) * 2011-06-20 2011-11-02 东北大学 On-line identification method for concentration signal of aluminum oxide in electrolyte in aluminum electrolysis cell
CN102234818A (en) * 2011-06-21 2011-11-09 中国铝业股份有限公司 Constant value control method for alumina concentration of aluminum cell

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101275248A (en) * 2007-12-20 2008-10-01 中国铝业股份有限公司 Method for controlling materials balance of electrolytic cell
CN101275249A (en) * 2007-12-20 2008-10-01 中国铝业股份有限公司 Method for real-time detection of concentration of aluminum oxide in aluminum cell
CN102230192A (en) * 2011-06-20 2011-11-02 东北大学 On-line identification method for concentration signal of aluminum oxide in electrolyte in aluminum electrolysis cell
CN102234818A (en) * 2011-06-21 2011-11-09 中国铝业股份有限公司 Constant value control method for alumina concentration of aluminum cell

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《铝电解槽参数的最小二乘支持向量机软测量模型》;阎钢等;《小型微型计算机系统》;20111231;第32卷(第2期);第2444-2448页 *
阎钢等.《铝电解槽参数的最小二乘支持向量机软测量模型》.《小型微型计算机系统》.2011,第32卷(第2期),第2444-2448页.

Also Published As

Publication number Publication date
CN102636624A (en) 2012-08-15

Similar Documents

Publication Publication Date Title
CN102636624B (en) Method for soft measurement of alumina concentration in electrolyzer during aluminum electrolysis process
CN102236795B (en) Method for forecasting wind speed in wind power station
CN108388962B (en) Wind power prediction system and method
CN111191191B (en) Construction method of combined model for accurately predicting deformation effect of concrete dam
Zhang et al. An anomaly identification model for wind turbine state parameters
CN113379164B (en) Load prediction method and system based on deep self-attention network
CN112857658B (en) Pressure detection system based on cloud platform
CN108804800A (en) Lithium ion battery SOC on-line prediction methods based on echo state network
CN115121626B (en) Hot-rolled strip steel transient hot roll shape forecasting method based on error compensation
CN110827091A (en) Industrial raw material price prediction method
CN101539137B (en) Residual life gray prediction method of aerospace hydraulic pump based on delta filter
CN106372440B (en) A kind of adaptive robust state estimation method of the power distribution network of parallel computation and device
CN109165770A (en) Novel photovoltaic power forecasting method based on AFSA-Elman
CN101673096A (en) Soft-measuring method for density in concentration process of salvia miltiorrhiza injection production
Li et al. Prediction of grain yield in Henan Province based on grey BP neural network model
CN116865343B (en) Model-free self-adaptive control method, device and medium for distributed photovoltaic power distribution network
Ma et al. Online Blood Glucose Prediction Using Autoregressive Moving Average Model with Residual Compensation Network.
CN116244875B (en) Virtual power plant cluster division method and device
Yang et al. Short-term wind power prediction based on multi-parameters similarity wind process matching and weighed-voting-based deep learning model selection
CN110458344B (en) Ultrashort-term wind power prediction method adaptive to time resolution
CN107633271B (en) Method for calculating inaccurate probability of steady-state availability of power system
CN116662925A (en) Industrial process soft measurement method based on weighted sparse neural network
CN111525548A (en) Method and system for evaluating static voltage stability margin of power grid based on information driving
CN116826728A (en) Power distribution network state structure estimation method and system under condition of few measurement samples
CN110827134A (en) Power grid enterprise financial health diagnosis method

Legal Events

Date Code Title Description
C06 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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140702

Termination date: 20180428