logo

Fuzzy identification of T-S model for beam stability control for electron gun

SYNCHROTRON RADIATION TECHNOLOGY AND APPLICATIONS

Fuzzy identification of T-S model for beam stability control for electron gun

Bin
SU Hai-Jun
LI De-Ming
Nuclear Science and TechniquesVol.26, No.5Article number 050104Published in print 20 Oct 2015Available online 20 Oct 2015
40200

In this paper, Takagi-Sugeno (T-S) fuzzy control is proposed for stabilizing the output beam of accelerators. To model the nonlinear system, we proposed a hybrid optimization algorithm based on quantum-inspired differential evolution and genetic algorithm. Based on the T-S model identified, the corresponding state-feedback fuzzy controller is designed. The method is applied to the LaB6 electron gun system in the industrial radiation accelerator and the simulation results show its effectiveness.

Electron gun systemT-S fuzzy modelQuantum encodingModel-based control strategy

I. INTRODUCTION

Nonlinear control systems based on T-S fuzzy model have attracted lots of attention. It provides a powerful solution for controlling real systems of strong nonlinearity or high degree of uncertainty. This model-based control strategy has been applied to industries of manufacturing, chemicals, aerospace engineering, etc. [1-3].

In this paper, T-S fuzzy control approach is introduced into the beam stability control of high voltage electron accelerators for radiation processing. The electron beam stability is a crucial parameter of accelerators. The factors causing instability of accelerator operation include power source ageing, vacuum variation, voltage stability of the filament, electromagnetic interference, etc. For an E-beam irradiator, the beam stabilization is realized by an electron gun control system that compensates for the beam variations by changing the grid-cathode voltage. The electron gun has the characteristics of nonlinear, time-varying and large inertia, so it is difficult for a traditional PID controller (proportional-integral-derivative controller) to work satisfactorily. The T-S fuzzy control, which controls intelligently with a great adaptive ability, is suitable for such complex nonlinear systems. Using input-output data, we can obtain a fuzzy model of the system represented in the form of a set of fuzzy rules. Each rule is considered as a local linear model, hence the convenience in designing the feedback controller and analyzing stability of the overall closed-loop system. The use of T-S fuzzy control in industrial process control guarantees great accuracy for its universal approximation property, but an inherent drawback remains due to complications in identifying the global fuzzy model, with the proposed control algorithm being computation-intensive and time-consuming. The problem can be solved by selecting controllers with high-performance arithmetic capability and large storage space.

The paper is organized as follows. In Sec. II, we present an optimization algorithm based quantum-inspired differential evolution (QDE) and genetic algorithm (GA). The T-S fuzzy modeling is checked in Sec. III. Section IV illustrates the detailed design procedure of the T-S fuzzy controller for the LaB6 electron gun system. Finally, conclusions are summarized in Sec. V.

II. METHOD OF T-S FUZZY MODELING

The T-S fuzzy model, proposed by Takagi and Sugeno in 1985 [4], is a powerful tool to model and control complex nonlinear systems. For multi-input single-output (MISO) systems, the typical T-S fuzzy model is

Ri:ifx1isAi1andx2isAi2andandxmisAim,thenyi(k)=pi0+pi1x1+pi2x2++pimxm(1ic), (1)

where x=x1,x2,, xm] is input variable, Aij is fuzzy set, yi(k) is the output of rule Ri, and Pij represents consequent parameter. The model output y is the weighted average of the individual rule outputs.

y=i=1cwiyi/i=1cwi. (2)

Given a set of data {x(k), y(k)} (k = 1,2, L, N), a discrete T-S fuzzy model can be identified from the input-output data [5]. The whole modeling process involves the following steps:

Step 1: Input variables selection. The first task is to select input variables xj (1 j m) from process variables. The selection is complex and usually decided according to expert knowledge.

Step 2: Fuzzy partition. The input space is divided into m c fuzzy sets by fuzzy c-means cluster method.

Step 3: Fuzzification. Each input variable xj is transformed into fuzzy language with the selected Gaussian membership functions.

uAij(x)=exp((xctij)22σij2) (3)

The parameter ctji is the center of membership function and σji determines its width.

Step 4: Parameter optimization. We propose a hybrid optimization algorithm based QDE and GA to learn the premise parameters ctji and σji, and consequent parameters pji. To start with the proposed algorithm, all parameters are encoded in a quantum bit (Q-bit) chromosome shown in Fig. 1. According to the definition of Q-bit, |αij|2 represents the probability that the Q-bit state toward 0 and the value of αijt is chosen in the range of [-1,1]. L is the length of a Q-bit individual. The quantum encoding solution offers a powerful mean to represent the solution space and make the search space larger. Here, the hybrid optimization method is discussed in detail below.

Fig. 1.
Encoding scheme.
pic

(1) Generate the initial population. Let Q(t)=(q1t,q2t,,qMt) denotes the population at generation t, where M is the size of the population and qit is a Q-bit individual defined as qit=[αi1t,αi2t,,αiLt].

(2) Fitness function. The fitness function of each individual is the mean square error (MSE) calculated as

MSE=1Nt=1N[y^(t)y(t)]2, (4)

where N is the number of input-output data pairs, y^(t) is the actual output, and y(t) is the model output.

(3) Iteration. The operators of QDE proposed in Ref. [6], which includes mutation, crossover and selection, is employed here to update the Q-bit chromosome. And the three operations are presented in the following.

Mutation: The mutant vector vit=[vi1t,vi2t,,vimt] on a target vector qit is generated by

vit=qr1t+F(qr2tqr3t), (5)

where r1, r2 and r3 are random integers generated from {1,2,⋅s,n} and F (0,2) is control parameter.

Crossover: The crossover operation is to diverse the population. A new vector (q)it=[(q)i1t,(q)i2t,,(q)imt] is generated from the target vector qit and the mutant vector vit.

(q')ijt={vijt,ifrandi,jCRorj=Jrandαijt,otherwise, (6)

where CR [0,1] is crossover rate, randi,j is a random number that satisfies U[0,1] and Jrand is randomly chosen integer from {1,2,⋅s,m}. To solve the problem of fitness calculation, the observation process defined by the following equation is implemented in each generation.

uijt={1,ifrand()<1|αij|20,otherwise, (7)

where i and j are random integers.

Once the corresponding binary population is observed, the fitness value of the individuals can be evaluated.

Selection: For the minimum optimization problem, the individuals with smaller objective function values replace the target vectors and are preserved for the next generation.

xit+1={(u)it,iff(uit)f(xit)xit,otherwise, (8) qit+1={(q)it,iff(uit)f(xit)qit,otherwise, (9)

where xit and uit are the observed binary individuals on qit and (q)it.

GA is also a population-based algorithm like QDE and uses similar operators [7]. The combination is to avoid being trapped in local optimum and to improve efficiency and accuracy of the optimization. Assuming Pc [0,1] as crossover probability, Pm [0,1] as mutation probability and T as the maximum generation, the iteration process is described in the following.

Algorithm 1: Procedure of the hybrid optimization algorithm
pic

Step 5. The best individual is used to construct the T-S fuzzy model.

III. EXPERIMENTAL EXAMPLES

Three kinds of nonlinear system modeling have been conducted to validate capability of the proposed method.

A. Identification of the Box-Jenkins gas furnace

The Box-Jenkins gas furnace data set, with 296 pairs of data points {u(k), y(k)}, is considered as a standard experimental data to test the validity of fuzzy modeling, where u(k) is the input gas rate in ft3/min and y(k) is the percentage concentration of output CO2. To construct the fuzzy model, {y(k-1), u(k-3), y(k-2)} is defined as the input variable and y(k) is the output variable. So the available data are k=4:296. So, the number of data pairs for identification is N=293. The other parameters are r=5, M=40, L=16, T=100, F=0.1, CR=0.5, Pc=0.5, and Pm=0.008.

The T-S fuzzy model is built and the mean square error of the T-S fuzzy model is 0.1226. Table 1 compares the performance of our method with other modeling technologies. Our model has a smaller error than the other methods except Ref. [10]. Figure 2(a) shows the predicted and actual output values on the gas furnace data. Figure 2(b) shows the prediction error. One can see that the model output fits the experimental data very well.

Fig. 2.
(Color online) Modeling performance for Box-Jenkins furnace data: (a) the original and estimated data, (b) deviations from the original data.
pic
TABLE 1.
Comparison of different methods for Box-Jenkins data
Method Inputs Rules MSE
Sugeno et al. [8] 3 6 0.190
Li et al. [9] 2 2 0.1608
Our method 3 5 0.1226
Leski [10] 10 2 0.1185
Show more
B. Function approximation

We carry out the algorithm on the double input single output (DISO) system described as

y=(1+x12+x21.5)21x1,x25. (10)

The goal is to approximate the nonlinear function using a T-S fuzzy model. We obtain 300 data points with a random input signal x=(x1, x2), where x1 and x2 distribute uniformly in Ref. [1, 5]. The x1(k) and x2(k) are selected as the input variables to predict the output y(k). The parameters of the modeling algorithm are r=6, M=40, L=16, T=100, F=0.2, CR=0.6, Pc=0.5, and Pm=0.2.

Figure 3 shows the modeling performance by comparing the modeled and actual outputs, and giving the prediction errors. The modeling error (MSE) is 0.0756 (Table 2), being better than those of the other two methods. So, our method is effective on nonlinear plant approximation problem.

Fig. 3.
(Color online) Modeling performance for DISO nonlinear system: (a) the original and estimated data, (b) deviations from the original data.
pic
TABLE 2.
Results for function estimation using different methods
Method Inputs Rules MSE
Sugeno et al. [11] 2 6 0.079
Gómez-Skarmeta et al. [12] 2 5 0.09
Our method 2 6 0.0756
Show more
C. UCI datasets

In this section, the evaluation of the proposed modeling approach is based on two datasets from the UCI repository: auto-mpg dataset and Boston housing dataset. The auto-mpg problem is to predict the fuel consumption (mpg) for automobile based on 4 continuous attributes (displacement, horsepower, weight, acceleration) and 3 multi-valued discrete attributes (cylinders, model year, origin). The attribute 'car name’ is omitted here and a total of 392 observations are collected for the prediction. The Boston housing problem is to predict the median value of owner-occupied homes in suburbs of Boston using 12 continuous inputs and one binary-valued input. The database has 506 observations. Due to different types of input variables, a mixed quantum encoding scheme is used. The discrete and continuous variables are encoded respectively.

As shown is Fig. 4, nc and nd are numbers of continuous variables and discrete variables in each rule. K is the length of discrete variable, which satisfies 2K M (M is the number of possible values of each discrete variable). The parameters of auto-mpg are r=5, M=40, L=16, K1=2, K2=4, K3=2, T=100, F=0.2, CR=0.6, Pc=0.5, and Pm=0.2. The parameters of Boston housing are set the same as auto-mpg but the length of discrete variable CHAS is K =1.

Fig. 4.
The mixed coding.
pic

Using this modeling method, MSE for both training datasets are 0.4502 and 0.6237, respectively. The identification error of the proposed algorithm is compared with the performance of some other methods, as shown in Table 3. It can be seen that the proposed algorithm performs better than other algorithms in terms of MSE. The modeling performance of the fuzzy models and the prediction error are shown in Fig. 5. It can be seen that the prediction error is small and it can approximate the actual output well with fewer rules. The results indicate that the proposed algorithm has a good prediction capability.

Fig. 5.
(Color online) Modeling performance for (a) auto-mpg and (b) Boston housing datasets.
pic
TABLE 3.
Comparison of different methods for auto-mpg and Boston housing
Data sets Method Inputs Rules MSE
Auto-mpg Castellano et al. [13] 2 4 7.8961
Gaweda et al. [14] 2 3 7.0756
Abonyi et al. [15] 2 4 5.6169
Our method 7 5 0.4502
Boston housing Han et al. [16] 6 2 8.2944
Huang et al. [17] 4 16 2.7225
Our method 13 5 0.6237
Show more

IV. T-S FUZZY CONTROL FOR LAB6 ELECTRON GUN SYSTEM

A. Model identification

The LaB6 electron gun experiment platform (Fig. 6) mainly consists of a LaB6 cathode electron-gun, a 40 kV/500 mA stabilized high voltage power supply, a high voltage isolated power supply for the LaB6 filament, a water-cooled Faraday cup, beam current measurement system, beam scanning system and vacuum system. In the experiment, all measurements were carried out in normal operating conditions. Firstly the LaB6 cathode was preheated for activating purpose. Then the electron beam was adjusted by changing the filament voltage of the electron gun manually. During the test, 52 input-output data pairs (filament voltage Vf and output beam current Ie) were recorded while operating at a high DC voltage of 27.5 kV.

Fig. 6.
(Color online) Schematic diagram of the LaB6 electron gun system.
pic

According to the modeling method above, X=[Vf(k-1), Ie(k-1), Ie(k-2), Ie(k-3)] was selected as the input variable and Ie was defined as the output variable. So N=49 data pairs were available. In order to simplify the structure of the controller, the number of fuzzy rules was set as r=6. The other parameters were M=40, L=16, T=100, F=0.1, CR=0.5, Pc=0.5, and Pm=0.2. After identification from the measured data pairs, the final T-S fuzzy model is described as the following:

pic (11)

The simulation results is shown in Fig. 7. The fuzzy model approximate the electron gun system very well. The modeling error is just MSE=0.1593.

Fig. 7.
(Color online) Simulation results of LaB6 electron gun data.
pic
B. State feedback control based on T-S fuzzy model

Model-based control design is considered to be an important application [18, 19]. For the input-output T-S fuzzy model in Eq. (11), we define the state vector x(k)=[Ie(k), Ie(k-1), Ie(k-2)]T and the input variable u(k) = Vf(k). The selection of the state vector for T-S state-space fuzzy model is a little different. The model is useful for control only when each rule share the same state vector [20]. Then we have the following T-S state-space model [21, 22]

Ri:if Ie(k1)is M1i and Ie(k2)is M2i and Ie(k3)is M3i and Vf(k1)is M4i,then{xi(k+1)=Aix(k)+Biu(k)yi(k)=Cix(k)(i=1,2).A1=[0.80850.48880.6445;100;010],B1=[0.007900]T,C1=[100],A2=[0.39570.40183.0076;100;010],B2=[0.046500]T,C2=[100]. (12)

The state feedback controller designed by PDC means [23-25] is

CRi:if Ie(k1)is M1i and Ie(k2)is M2iand Ie(k3)is M3i and Vf(k1)is M4ithen ui(k)=r(k)Fix(k)(i=1,2),, (13)

where r(k) is a reference input and Fi is the feedback gain.

The stability analysis and design of the fuzzy controller are important issues for fuzzy control systems. In our work, the controller was designed directly to guarantee stability of the overall system [26]. The stability analysis was based on Lyapunov approach, which was proposed by Tanaka and Sugeno. The theorem can be applied to derive the following stability conditions:

{(AiBiFi)TP(AiBiFi)P<0(AiBiFj+AiBjFi2)TP(AiBiFj+AiBjFi2)P<0 (14)

Now multiplying both the inequalities on the left and right by P-1 and defining new variables Q = P-1, Ni = FiQ [27], the inequalities can be rewritten as:

{Q(AiQBiNi)TQ1(AiQBiNi)>0Q((Ai+Aj)QBiNjBjNi2)T×Q1((Ai+Aj)QBiNjBjNi2)>0. (15)

Based on the Schur complements, the conditions are equivalent to:

{[Q(AiQBiNi)T(AiQBiNi)Q]>0,i=1,2,,r[Q((Ai+Aj)QBiNjBjNi2)T((Ai+Aj)QBiNjBjNi2)Q]>0,i<jr. (16)

The newly defined variables Q and Ni can be obtained. Finally, the common positive definite matrix is P = Q-1 and the state feedback gains are calculated by Pi = NiQ-1.

Considering the system described in Eq. (11), the coefficient matrixes are already known. So we have:

P=[0.01770.00090.00350.00090.00700.00050.00350.00050.0045],F1=[17.666315.194266.4235],F2=[11.502813.418165.0920]. (17)

It can be verified that each subsystem is locally stable by calculating its closed-loop poles. And existence of the common positive definite matrix P guarantees stability of the overall close-loop system. Simulation was performed to demonstrate effectiveness of the electron gun controller, with the initial condition of x0=[23.5, 18.17.5]T, Fig. 8(a) shows the trajectory of x1(k), x2(k) and x3(k) under control of the proposed state-feedback controller, and in Fig. 8(b) the output is globally asymptotically stable.

Fig. 8.
(Color online) The state-variable response (a) and output-variable response (b), under x0=[23.5, 18.17.5]T.
pic

V. CONCLUSION

In this paper, we have proposed a novel hybrid optimization algorithm based on QDE and GA. And it is applied successfully to the T-S fuzzy modeling procedure of the LaB6 electron gun system. The simulation results show that the modeling method has a strong ability to modeling complex nonlinear systems. Furthermore, we design a state-feedback fuzzy controller based on T-S state-space fuzzy model using the PDC method. The design of the fuzzy controller and the stability analysis of the fuzzy control system have been completed at the same time. The approach is considered to be more practical and the simulation results show that the proposed T-S fuzzy control system has good control stability.

References
[1] O Georgieva, M Wagenknecht and R Hampel.

Takagi-Sugeno fuzzy model development of batch biotechnological processes

. Int J Approx Reason, 2001, 26: 233-250. DOI: 10.1016/S0888-613X(01)00027-5
Baidu ScholarGoogle Scholar
[2] A Abbadi, L Nezli and D Boukhetala.

A nonlinear voltage controller based on interval type 2 fuzzy logic control system for multimachine power systems

. Int J Elec Power, 2013, 45: 456-467. DOI: 10.1016/j.ijepes.2012.09.020
Baidu ScholarGoogle Scholar
[3] K Tanaka and M Sano.

A robust stabilization problem of fuzzy control systems and its application to backing up control of a truck-trailer

. IEEE T Fuzzy Syst, 1994, 2: 119-134. DOI: 10.1109/91.277961
Baidu ScholarGoogle Scholar
[4] T Takagi and M Sugeno.

Fuzzy identification of systems and its applications to modeIing and control

. IEEE T Syst Man Cyb, 1985, 116-132. DOI: 10.1109/TSMC.1985.6313399
Baidu ScholarGoogle Scholar
[5] L Zhao, Y Yang and Y Zeng.

Eliciting compact T-S fuzzy models using subtractive clustering and coevolutionary particle swarm optimization

. Neurocomputing, 2009, 72: 2569-2575. DOI: 10.1016/j.neucom.2008.11.001
Baidu ScholarGoogle Scholar
[6] H Su and Y Yang.

Differential evolution and quantum-inquired differential evolution for evolving Takagi-Sugeno fuzzy models

. Expert Syst Appl, 2011, 38: 6447-6451. DOI: 10.1016/j.eswa.2010.11.107
Baidu ScholarGoogle Scholar
[7] R Yusof, R Z A Rahman, M Khalid, et al.

Optimization of fuzzy model using genetic algorithm for process control application

. J Franklin I, 2011, 348: 1717-1737. DOI: 10.1016/j.jfranklin.2010.10.004
Baidu ScholarGoogle Scholar
[8] M Sugeno and T Yasukawa.

A fuzzy-logic-based approach to qualitative modeling

. IEEE T Fuzzy Syst, 1993, 1: 7-31. DOI: 10.1109/TFUZZ.1993.390281
Baidu ScholarGoogle Scholar
[9] W Li and Y Yang.

A new approach to TS fuzzy modeling using dual kernel-based learning machines

. Neurocomputing, 2008, 71: 3660-3665. DOI: 10.1016/j.neucom.2008.03.002
Baidu ScholarGoogle Scholar
[10] J M Leski.

TSK-fuzzy modeling based on ϵ-insensitive learning

. IEEE T Fuzzy Syst, 2005, 13: 181-193. DOI: 10.1109/TFUZZ.2004.840094
Baidu ScholarGoogle Scholar
[11] M Sugeno and T Yasukawa.

A new approach to time series modeling with fuzzy measures and the Choquet integral

. IEEE T FUZZY SYST, 1993, 1: 7-31. DOI: 10.1109/FUZZY.1995.409774
Baidu ScholarGoogle Scholar
[12] A F Gómez-Skarmeta, M Delgado and M A Vila.

About the use of fuzzy clustering techniques for fuzzy model identification

. Fuzzy Set Syst, 1999, 106: 179-188. DOI: 10.1016/S0165-0114(97)00276-5
Baidu ScholarGoogle Scholar
[13] G Castellano, A M Fanelli and C Mencar.

Fuzzy information granules: a compact, transparent and efficient representation

. JACIII, 2003, 7: 160-168.
Baidu ScholarGoogle Scholar
[14] A E Gaweda and J M Znrada.

Data-driven linguistic modeling using relational fuzzy rules

. IEEE T FUZZY SYST, 2003, 11: 121-143. DOI: 10.1109/TFUZZ.2002.803491
Baidu ScholarGoogle Scholar
[15] J Abonyi, B Babuska and F Szeifert.

Modified Gath-Geva fuzzy clustering for identification of Takagi-Sugeno fuzzy models

. IEEE T Syst Man Cyb, 2002, 32: 612-621. DOI: 10.1109/TSMCB.2002.1033180
Baidu ScholarGoogle Scholar
[16] Y H Han and K C Kwak.

Combining global model and local adaptive neuro-fuzzy network

. Lect Notes Comput Sc, 2009, 5755: 184-189. DOI: 10.1007/978-3-642-04020-7_20
Baidu ScholarGoogle Scholar
[17] W Huang and S K Oh.

Identification of Fuzzy Inference Systems by Means of a Multiobjective Opposition-Based Space Search Algorithm

. Math Probl Eng, 2013, 2013: 725017. DOI: 10.1155/2013/725017
Baidu ScholarGoogle Scholar
[18] D Hästbacka, T Vepsäläinen and S Kuikka.

Model-driven development of industrial process control applications

. J Syst Software, 2011, 84: 1100-1113. DOI: 10.1016/j.jss.2011.01.063
Baidu ScholarGoogle Scholar
[19] P M J Van Den Hof and R J P Schrama.

Identification and control-Closed-loop issues

. Automatica, 1995, 31: 1751-1770. DOI: 10.1016/0005-1098(95)00094-X
Baidu ScholarGoogle Scholar
[20] L K Wong, F H F Leung and P K S Tam.

Design of fuzzy logic controllers for Takagi-Sugeno fuzzy model based system with guaranteed performance

. Int J Approx Reason, 2002, 30: 41-55. DOI: 10.1016/S0888-613X(02)00062-2
Baidu ScholarGoogle Scholar
[21] V Tahani and F Sheikholeslam.

Stability analysis and design of fuzzy control systems

. The IEEE World Congress on Computational Intelligence (IEEE WCCI), Anchorage, May 4-9, 1998. DOI: 10.1109/FUZZY.1998.687529
Baidu ScholarGoogle Scholar
[22] S G Cao, N W Rees and G Feng.

Analysis and design of fuzzy control systems using dynamic fuzzy-state space models

. IEEE T Fuzzy Syst, 1999, 7: 192-200. DOI: 10.1109/91.755400
Baidu ScholarGoogle Scholar
[23] H Ying.

Analytical analysis and feedback linearization tracking control of the general Takagi-Sugeno fuzzy dynamic systems

. IEEE T Syst Man Cy C, 1999, 29: 290-298. DOI: 10.1109/5326.760573
Baidu ScholarGoogle Scholar
[24] C S Tseng, B S Chen and H J Uang.

Fuzzy tracking control design for nonlinear dynamic systems via T-S fuzzy model

. IEEE T Fuzzy Syst, 2001, 9: 381-392. DOI: 10.1109/91.928735
Baidu ScholarGoogle Scholar
[25] S G Cao, N W Rees and G Feng.

Analysis and design of fuzzy control systems using dynamic fuzzy global models

. Fuzzy Set Syst, 1995, 75: 47-62. DOI: 10.1016/0165-0114(94)00323-Y
Baidu ScholarGoogle Scholar
[26] H O Wang, K Tanaka and M F Griffin.

An approach to fuzzy control of nonlinear systems: stability and design issues

. IEEE T Fuzzy Syst, 1996, 4: 14-23. DOI: 10.1109/91.481841
Baidu ScholarGoogle Scholar
[27] K Tanaka, T Ikeda and H O Wang.

Fuzzy control system design via LMIs

. American Control Conference, New Mexico, Jun. 4-6,1997. DOI: 10.1109/ACC.1997.611982
Baidu ScholarGoogle Scholar