WANG Hongweiand FENG Penglong
1.School of Electrical Engineering,Xinjiang University,Urumqi 830047,China;2.School of Control Science and Engineering,Dalian University of Technology,Dalian 110024,China
Abstract:Based on the multi-model principle,the fuzzy identification for nonlinear systems with multirate sampled data is studied.Firstly,the nonlinear system with multirate sampled data can be shown as the nonlinear weighted combination of some linear models at multiple local working points.On this basis,the fuzzy model of the multirate sampled nonlinear system is built.The premise structure of the fuzzy model is confirmed by using fuzzy competitive learning,and the conclusion parameters of the fuzzy model are estimated by the random gradient descent algorithm.The convergence of the proposed identification algorithm is given by using the martingale theorem and lemmas.The fuzzy model of the PH neutralization process of acid-base titration for hair quality detection is constructed to demonstrate the effectiveness of the proposed method.
Key words:multirate sampled data,nonlinear system,fuzzy model,multi-model.
In the actual industrial production process,the refreshing time of the input signal and the sampling time of the output signal are different because of the influence of sensor sampling frequencies,physical equipments,manual measuring,environmental factors,network transmission equipment and so on[1–7].Generally speaking,the input signal of the system is fast refreshed,while the output signal of the system is slowly sampled.This kind of system is called the multirate sampled system.
The multirate sampled systems have received extensive attention from the industrial process and academic field.For multirate sampled linear systems,some scholars used the variable lifting technique[8–12],the polynomial transformation technique[13–17],combined with different model structures,such as the autoregressive moving average model with external input(ARMAX)model,the Box-Jenkins model,the output error model and so on,to propose some new identification algorithms.
The actual industrial systems often have some nonlinearities.For multirate sampled Hammerstein nonlinear systems,the least squares algorithm was proposed to identify them in[18],but the proposed method based on the variable lifting technique often has a large calculation load, and the convergence of the proposed algorithm has not been studied in depth.In[19],for the dual-rate nonlinear systems with colored noise signals, a hierarchical principle based on the key item separation technique was proposed to deal with the modeling of these systems.In[20,21],the Hammerstein-Wiener system and the Wiener system with multirate sampled data were studied by the multiinnovation stochastic gradient algorithm.In[22],based on the hierarchical principle,the identification problem of multirate sampled systems with lifting variables was transformed into the identification problem of several subsystems.The advantage of this method is that it reduces the computational complexity of the algorithm and improves the efficiency of the algorithm.In addition,some researchers gave some research results in[23–25].These results are embodied in the transfer function modeling of multirate sampling data,in numerical operation of the model,or in the simplification of the model structure.
From the above literature,the research of multirate sampled systems generally focuses on linear systems.The physical processes in the real world are generally characterized as nonlinearity,complexity and uncertainty.These processes cannot be represented by linear models derived from conventional system identification.For the simplified model of the multirate sampled nonlinear systems,it is generally described by the combination from static nonlinear modules and dynamic linear system modules,such as Hammerstein system,Wiener system,Hammerstein-Wiener system and so on.When the controlled object has strong nonlinearity,uncertainty and strong time-varying,the dynamic process of the actual system cannot be completely described by using the combination from static nonlinear modules and dynamic linear system modules.
In this paper,the identification of the fuzzy model of nonlinear systems with multirate sampled data is studied in accordance with the fuzzy modeling strategy.Firstly,for multirate sampled nonlinear systems,it can be regarded as the nonlinear weighted combination from local linear models at several working points.Secondly,based on the relationship analysis between the nonlinear system and the linear system,the fuzzy model of multirate sampled nonlinear systems is established.Thirdly,the premise structure of the fuzzy model is confirmed by using fuzzy competitive learning,and the conclusion parameters of the fuzzy model are identified by using the stochastic gradient descent algorithm.In addition,the convergence of the proposed identification algorithm is given by lemmas and the martingale theorem.Finally,the PH neutralization process of acid-base titration for hair quality detection is simulated.The simulation results show the effectiveness of the proposed method.
For multirate sampled systems,the general model of linear discrete systems without noise is described as follows:
whereu(k)is the input signal;y(k)is the output signal;z?1is a unit backward operator,satisfyingz?1u(k)=u(k?1);A(z)andB(z)are coefficient polynomials,A(z)=1+a1z?1+a2z?2+···+anz?n,B(z)=b1z?1+b2z?2+···+bnz?n.
For multirate sampled systems,for example,the dualrate system,the following data can be obtained:
(i)The input signal{u(k):k=0,1,2,...}is fast refreshing input data;
(ii)The output signal{y(kq):k=0,1,2,...}is slowly sampled output data(q?2).
Based on the above dual-rate data,a polynomial transformation method is used to transform the single-rate sampled model in(1)into the dual-rate sampled model in[14].We introduce this transformation method as follows.
If the roots of polynomialA(z)=0 arezi(i=1,2,...),then polynomialA(z)can be expressed as
Define
wheref1,f2,...,fnfare the corresponding coefficients andnfis the polynomial order.Multiply the left and right sides of(1)by?q(z),and use the following equation:
We can get the following equation
whereα(z)andβ(z)are shown as
Equation(2)can be written as
In the later discussion of this paper,the model in(3)is taken as the conclusion model of the fuzzy model of the dual-rate sampled nonlinear system.
Aiming at the identification of complex nonlinear systems with dual-rate sampled data,this paper attempts to build the model of such systems by the multi-model principle.Based on the decomposition-synthesis principle,the multimodel strategy is suitable for complex industrial processes with strong nonlinearity,uncertainty and multi-working conditions.The multi-model principle establishes local linear models for each working condition interval,and fits the global nonlinear system by using the nonlinear weighted fusion of local linear models.
When the nonlinear system can be linearized at some working points and the linearized system is measurable,the nonlinear system can be regarded as the nonlinear weighted model combined from local linear models at several working points.The nonlinear model is described as
wherefl[?(k)]is thelth nonlinear weighted function;gl[?(k)]is thelth local linear model at thelth working point.
For multirate sampled nonlinear systems,the local conclusion model of each rule of the fuzzy model can be represented by model(3).In this way,the fuzzy model of the nonlinear system can be expressed as follows:
Rl:if?(kq)belongs toFl(the membership function ofFlisμl[?(kq)]),then
whereFlrepresents thelth fuzzy set,whose corresponding membership degree function isμl[?(kq)],cis the total number of rules,?(kq)is the input information vector,
For the fuzzy model in(5),this model is also written asRl:if?(kq)belongs toFl(the membership degree function ofFlisμl[?(kq)]),then
Finally,the total output of the fuzzy model in(6)is
After the weighted connection of the membership functions,the local discrete linear models are connected to obtain the global nonlinear model.It can be used to describe the whole dynamic process of the complex nonlinear system.
The rules of the fuzzy system are always acquired by means of analyzing the experience and knowledge of specialists.For a complex system,the more identifying accuracy of the model is required,the more fuzzy input regions need be partitioned.As a result,the number of fuzzy rules and identified parameters are exponentially increased.To solve these problems,we propose competitive learning to confirm the structure of the fuzzy model and rules.
The competitive learning paradigm adopting a principle of learning according to how well it wins is proposed.The goal of the competitive learning paradigm is to cluster the training patterns into representative groups such that patterns within a cluster are more similar to each other than patterns belonging to different clusters. The fuzzy competitive learning paradigm is that every training pattern belongs to a certain degree of every cluster,depending on its distance to the center vector.The fuzzy competitive learning paradigm was proposed in[26].Based on the fuzzy competitive learning,the fuzzy space structure of the system is on-line partitioned.The fuzzy competitive learning paradigm is shown as follows:
(i)Select the numberc(2?c?N/2,andNis the total number of sampled data)of clusters,and initial center vectors(l=1,2,...,c).
(ii)Calculate the membership degree value at timekq:
whereμl(kq)represents the membership degree value of thelth cluster of the input information vector?(kq)at timekq;(l=1,2,...,c)represents thelth center vector.
(iii)Update center vectorswhereηis a learning factor.
The fuzzy input space of the fuzzy model can be determined by using the above algorithm.
For the fuzzy model in(6),the identification purpose is to confirm the conclusion parametersαljandβljof the fuzzy model by using multirate sampled data{u(k),y(kq),k=1,2,...}.
The overall parameter vectorθand the sub-parameter vectorsθi(i=1,2,...,c)of the fuzzy model are defined as
The overall input vectorψ(kq)and the sub-input vectorsψi(kq)(i=1,2,...,c)of the fuzzy model are indicated as follows:
In this way,(7)can be written as a linear regression form.Since the system always contains noise,the overall output of the fuzzy model can be expressed as follows:
In this paper,the stochastic gradient descent algorithm is used to estimate the conclusion parameters of the fuzzy model.The algorithm is shown as follows:
Next,we summarize the proposed identification algorithm as follows:
(i)Select the initial values,includingc,(l=1,2,...,c),and(0);
(ii)The input information vectors?(kq)(k=1,2,...,N)are partitioned in different clusters to acquire center vectorsand membership function valuesμl(kq)(l=1,2,...,c;k=1,2,...,N)by using the fuzzy competitive learning algorithm;
(iii)Construct the overall input vectorψ(kq),and estimate the overall parameter vector?θ(kq)by using the algorithm in(10)–(13);
(iv)Letk=k+1,ifk?N,return(ii),else go to(v);
(v)Return(ii),the above calculation process is repeated until satisfactory results are obtained.
Before the performance analysis, first of all,some mathematical notations are given:
(i)λmax[X]andλmin[X]represent the maximum and minimum eigenvalues of matrixX,respectively;
(ii)f(t)=o(g(t))represents
(iii)Forg(t)?0,if there exists a positive constantδ1such that|f(t)|?δ1g(t),then there isf(t)=O(g(t))orf(t)~g(t);
(iv)|X|=det[X]represents the determinant of matrixX;
(v)?X?2=tr[XXT]represents the trace of matrixX.
In order to illustrate the convergence of the algorithm in(10)–(13),the following lemma is given.
Lemma 1The following inequalities hold:
ProofAccording to the definition ofr(kq)in(13),r(kq)is monotonically increased,so we have
Lemma 1 is proved.?
Theorem 1Martingale convergence theorem[27,28]Let{T(t)},{α(t)},{β(t)}be time sequences of nonnegative random variables.These time series variables are adapted to the incrementalσ-algebraic sequenceFt,i.e.,they areFtmeasurable,and satisfy
Theorem 2For(9),it is assumed that the noisev(kq)is a martingale difference sequence defined in probability space(Ω,F,P),which is an incrementalσalgebraic sequence{Fkq,k∈N}.It also satisfies the following conditions:
(i)E[v(kq)|Fkq?q]=0,a.s.;
{ψ(iq),i=1,2,...,k}in(9)is continuously stimulated andr(kq)=O(λmin[R(kq)])exists,the parameter estimation error given by the algorithm in(10)–(13)converges to zero uniformly,that is,
ProofDefine parameter error vector
Let
By subtractingθfrom both sides of(10)and using(9),(12)and(13),we can get the following result:
Taking norm for the left and right sides of(16)at the same time,we can get
Using Lemma 1,the calculation value of the sum of the last term fromk=1 tok=∞on the right of(18)is bounded,namely.By using Theorem 1,we can know that??θ(kq)?2almost certainly converges to bounded random variableC0and we have
and
Sincek→∞,r(kq)→∞,the following equation can be obtained by using the lemma:
Using(16),we can get
Ifkqin(15)is replaced bykq?iq,there exists
By using(20),the following equation can be established
or
The above equation is squared on both sides,using inequality(a+b)2?2(a2+b2),we can get the following result:
Because?Y(kq?iq),ψ(kq?iq),r(kq?iq)andv(kq?iq)are independent andFkq?qis measurable,we can get the conditional expectation ofFkq?qon both sides of the above equation by using the hypotheses(i)and(ii)of Theorem 2.
By the sum fromi=0 toi=k?1 on both sides of the upper inequality divided byr(kq),we can get the following result:
By using the second inequality of Lemma 1,we can get
Letk→∞,using(19),the following conclusion can be drawn:
Hence,the following inequality hold:
Sincer(kq)=O(λmin[R(kq)]),we have
Theorem 2 is proved.
In this paper,the hair quality detection data set of the certain quality inspection institute is employed to study its modeling problem.Hair quality detection should include three titration processes,namely redox titration,complexometric titration and acid-base titration.For the proposed three titration methods,because the chemical reactions in each titration process are very complex,many chemical equations are needed to calculate,so each titration process needs to rely on visual observation of indicator discoloration to build the model of the titration process,which causes some problems:(i)the detection process is slow,and it cannot meet the real-time requirement;(ii)manual detection is prone to cause detection error and data omission;(iii)high economic cost occurs.
Therefore,it is important that the acidity and basicity of three titration methods can be automatically tracked and forecasted by the automatic detection technique.Therefore,the automatic prediction can be achieved instead of manual detection by using the automation detection system combined from PH meter measurements,A/D sampling circuits and the fuzzy identification algorithm. In this paper,the dynamic process of acid-base titration is studied by using fuzzy modeling.
In the study of the dynamic process of acid-base titration,three solutions of HNO3,NaOH and NaHCO3are simultaneously poured into the chemical reactor,and the PH neutralization value of the complex solution is detected by intelligent sensors.The dynamic process system is shown in Fig.1.
Fig.1Dynamic process of PH neutralization value for hair quality detection
In Fig.1,the flow rates of HNO3,NaOH and NaHCO3solutions are represented byFa,FbandFbf,respectively,and the following chemical reaction equations are given:
In addition,the equation of the static titration curve is shown as follows:
The system dynamic mechanism model is
wherex=[h,Wa4,Wb4]T,u=Fb,d=Fbf,y=PH,c=c1,
Table 1 gives the normal operating parameters of the PH neutralization process.
Table 1Normal operating parameters of PH neutralization process
In the process of PH neutralization of acid-base titration for hair quality detection,the flow rateFbof alkali solution is used as the control variableu(t),and the PH measuring value of output liquid is used as the outputy(t).The refreshing time of the input liquid is 1 s,and the sampled time of the output liquid is 3 s.In the detection,we collect 180 sampling points of flow rate and 60 measuring points of PH.
Selecty(k?3),y(k?6),u(k?1),u(k?2),u(k?3),u(k?4),u(k?5)andu(k?6)to construct input information vector?(kq).The total number of fuzzy rules is taken as 6.The identification method in this paper is used to build the fuzzy model of the PH neutralization process of hair quality detection.In order to illustrate the effectiveness of the proposed method,we use two clustering methods,including the fuzzy clustering method(FCM)in[29]and the weighted fuzzy clustering method(WFCM)in[30],to determine the premise structure of the fuzzy model,and use the gradient descent method to identify the parameters of the conclusion part.Fig.2 shows the comparison result among the output of the fuzzy model,the output of WFCM,the output of FCM and the actual output.
Fig.2Comparison of the output of the fuzzy model and the actual output
Fig.3 is the identification error diagram of these methods.Table 2 shows the mean square errors(MSEs)of different methods.By comparing and analyzing Table 2,Fig.2 and Fig.3,it is shown that the fuzzy model established by the proposed method can well fit the non-linear dynamical characteristics of PH neutralization.The MSE of our method is better than that of the WFCM method and that of the FCM method.
Fig.3Identification error diagram
Table 2Comparison of several modeling methods
Aiming at the modeling issues of the multi-rate sampled nonlinear system,a novel identification method based on the fuzzy model is proposed.The basic idea is to expand the nonlinear system into the model combined from local linear systems of working points.According to the multi-model modeling principle,the premise structure of the fuzzy model is determined by using fuzzy competitive learning,and the conclusion parameters are identified by using the stochastic gradient descent algorithm.The algorithm convergence of the modeling algorithm is proved by some lemmas and theorems.Modeling problems of the multi-input and multi-output(MIMO)multi-rate system are very difficult problems.In the future,the fuzzy modeling of MIMO multi-rate systems is our research direction.
Journal of Systems Engineering and Electronics2020年4期