Contact state analysis using NFIS and SOM
This paper reports application of neuro- fuzzy inference system (NFIS) and self organizing feature map neural networks (SOM) on detection of contact state in a block system. In this manner, on a simple system, the evolution of contact states, by para…
Authors: H.Owladeghaffari
Proc. Internati onal Symposium on Computational Mechanic s (ISCM2007), Yao ZH & Yuan MW (eds.), Beijing: Tsinghua University Press & Springer, Ju ly 30-August 1, 2007, Beijing, China, 267 & CDROM. COMPUT A TIONAL MECHANICS ISCM2007, July 30-August 1, 2007, Beijing,China © 2007 T singhua University Press & Springer Contact state analysis using NFIS &SOM H. Owladeghaffari 1 1 Faculty of mining and metallur gical engineering, Amirkabir University of technology , T ehran, Iran Email: h.o.ghaf fari@gmail.com Abstract This paper reports application of neuro- fuzzy infe rence system (NFIS) and self organizing feature map neural networks (SOM) on detection of contact state in a block system. In this manner, on a sim ple system, the evolution of contact states, by parallelization of DDA, h as been investigated. So, a comparison between NFIS and SOM results has been presented. The results show appli cability of the proposed methods, by different accuracy, on detection of contact's distribution. Key words: contact detection, soft computing, DDA INTRODUCTION The aim of contact detection is to report interference betw een two or more geometric objects in static or dynamic environments. The interference report consists of different answers; in some cases: yes or no; in ma ny other cases (such block system) an exact or approximate overlapping extent report is required. The reducing of tim e consuming in computation of contact detection in discontinuous deformation anal ysis(DDA), is the preliminary aim of this paper. In this manner, two intelligent Systems: Neuro-Fuzzy In ference System (NFIS) and self-organizing feature map (SOM), has been employed. Application of fuzzy inference systms on the sta tic block system has been highlighted in [1]. Parallelization of contct detaction in DDA, has been rec ognized in two stages : using NFIS on the obtained data sets from DDA, state of contact between blocks have been eval uated. Then, this procedure has been rendered on the aggregated data set in the "given window", located in th e problem domain, using SOM and fusion of NFIS and SOM. FUZZ Y INFERENCE SYSYTEM The membership m ay be described either in a discrete form as a set of membership values or as a continuous function valid over some range of values of the variable x. To the most popular types of membership functions belong the triangle, trapezoidal, Gaussian or bell functions. We have used here the generalized description of the Gaussian function, given in the form 2 2 () 2 (, , ) xc fx c e σ σ −− = This is the Gaussian function that depends on two parameters σ and c. The parameters for the Gaussian function represents the parameters σ and c listed in order to the vector. The most popular solution of the fuzzy networks is based on the so-called fuzzy inference system, fuzzy if-then rules and fuzzy reasoning. Such a fuzzy inference system im plements a nonlinear m apping from input space to output space. This mapping is accomplished by a number of fuzzy if-then rules, each of wh ich describes the local behaviors of the mapping, like it is done in radial basis function networks. The antecedent of the rule de fi nes the fuzzy region in the input space, while the consequent speci fi es the output of the fuzzy region. Proc. Internati onal Symposium on Computational Mechanic s (ISCM2007), Yao ZH & Yuan MW (eds.), Beijing: Tsinghua University Press & Springer, Ju ly 30-August 1, 2007, Beijing, China, 267 & CDROM. There are di ff erent solutions of fuzzy inference systems. Two well known fuzzy modeling methods are the Tsukamoto fuzzy model and Takagi– Sugeno–Kang ( TSK) model. In the present work, only the TSK model has been considered. A typical fuzzy rule in this model has the form If 1 x is 1 A and 2 x is 2 A .... and n x is n A then () yf x = Crisp function in the consequent. The function () yf x = is a polynomial in the input variables 1 x , 2 x ,..., n x . We will apply here the linear form of this function. The aggregated values of the m embership function for the vector x may be assumed either in the form of MIN operator or in a product form. For M fuzzy rules of the equation (2), we have M such membership functions 1 µ , 2 µ ,..., M µ . We assume that each antecedent is followed by the consequent of the linear form 0 1 n ii j j j p px = =+ ∑ i = 1, 2... M and j = 1, 2… n. The adjusted parameters of the sy stem are the nonlinear parameters ( (k) j c , (k) j σ , (k) j b ) for j = 1, 2,..., n and k = 1,2,...,M of the fuzzi fi er functions and the linear parameters (weights kj p ) of TSK functions. In contrary to the Mamdani fuzzy inference system, the TSK model generates a cris p output value instead of a fuzzy one. The defuzzi fi er is not necessary. () () 0 11 1 1 1 1 y( x ) = n Mn kj k k j j M kj J rj r j x pp x x µ µ == = = = ⎛⎞ ⎛⎞ ⎡⎤ ×+ ⎜⎟ ⎜⎟ ⎢⎥ ⎜⎟ ⎡⎤ ⎣⎦ ⎝⎠ ⎝⎠ ⎢⎥ ⎣⎦ ∑∑ ∏ ∑ ∏ Figure1. A typical ANFIS (TSK) with two inputs and two MF for any input [2]. The TSK fuzzy inference systems can be easily implanted in the form of a so called Neuro-fuzzy network structure. Figure 6 presents the 5-layer structure of a Neuro-fuzzy netw ork, realizing the TSK model of the fuzzy system. It is assumed that the functions i y , () ii yf x = are linear of the form () 0 1 n iii j j j f xp p x = =+ ∑ The adaptable parameters of the networks ar e the variables of the membership functions ( (k) j c , (k) j σ , (k) j b ) for j =1,2,...,n, k =1,2,...,M and the coefficients (linear weights) ij p for i =1,2,...,M and j =0,1,2,...,n of the linear Takagi–Sugeno functions . The network in fi gure 2 has a multilayer form. The fi rst layer performs the fuzzi fi cation according to the membership function () kj x µ , described by equation (1). The second layer aggregates the fuzzi fi ed results of the individual scalar functions of every variable and determines the membership function of the whole vector x. This is the product type aggregation. Proc. Internati onal Symposium on Computational Mechanic s (ISCM2007), Yao ZH & Yuan MW (eds.), Beijing: Tsinghua University Press & Springer, Ju ly 30-August 1, 2007, Beijing, China, 267 & CDROM. Each node of this layer represents the fi ring strength of a rule. The third layer calculates the aggregated signal of the fuzzy inference for each inference rule. The output signal of each unit of this layer is the product of the fi ring strength of the rule and the consequent membership value. The fourth layer determines the output membership function. Layer fi ve calculates only the sum of the signal of the third and the second layers of the network. The fi nal sixth layer contains only one neuron for output. In the case of multiple outputs, we can add as many output neurons as needed in a fashion similar to the case of one output. The output neuron computes the overall output signal according to the equation (4). One of the most im portant stages of the Neurofuzzy TSK network generation is the establishment of the inference rules. Often used is the so-called gr id method, in which the rules are de fi ned as the combinations of the mem bership functions for each input variable. If we split the input variable range into a limited number (say i n for i =1, 2,..., n) of membership functions, the com binations of them lead to many di ff erent inference rules. For example for 10 input systems, at 3 membership functions each, the m aximum possible number of rules is equal M = 310 = 59049. The problem is that these combinations correspond in many cases to the regions of no data, and hence a lot of them may be deleted. This problem can be solved by using the fuzzy self-organization algorithm. This algorithm splits the data space into a speci fi ed number of overlapping clusters. Each cluster may be associated with the speci fi c rule of the center corresponding to the center of the appropriate cluster. In this way all rules correspond to the regions of the space- containing majority of data and the problem of the empty rules can be avoided. The ultimate goal of data clustering is to partition the data into similar subgroups. This is accomplished by employing some similar m easures (e.g., the Euclidean distance). In this paper data clustering is used to derive membersh ip functions from measured data, which, in turn, determ ine the number of If-Then rules in the model (i.e., rules indication). Several clustering methods have been proposed in the literature [3]. The m ethod employed in this paper is the subtractive clustering method. The extracted rules from this m ethod can be employed in th e cellular automata procedure, to parrallization of block's system computations. The C.S in 2-D on block system has a four components:" no contact: 0; V-V: 1; V-E: 2; E-E: 3", where numbers are the attributed codes. Figure 2 shows the proposed algorithm on a two block in a static analysis. All of training and checking data set were 100 and 50, respectively, which were revealed from DDA [4] . Inputs for any block were vertexes positions and area (total inputs: 18). Proc. Internati onal Symposium on Computational Mechanic s (ISCM2007), Yao ZH & Yuan MW (eds.), Beijing: Tsinghua University Press & Springer, Ju ly 30-August 1, 2007, Beijing, China, 267 & CDROM. Figure 2. A proposed algorithm based on NFIS &DDA Figure3. the evolution of "contact state" v.s time (in a static analysis on DDA-2D) Figure 4(a) .3-D relation between inputs 1, 2 and C.S (block1) using 13 MFs (Gaussian). Figure 4(b). 3-D relation between inputs 7, 8 and C.S (bloc k1) using 13 MFs (Gaussian). The cold colors show low C.S while warm colors depicts high C.S in the pseudo colors figures. 1 2 Proc. Internati onal Symposium on Computational Mechanic s (ISCM2007), Yao ZH & Yuan MW (eds.), Beijing: Tsinghua University Press & Springer, Ju ly 30-August 1, 2007, Beijing, China, 267 & CDROM. The results have been presented in figures 4and 5, which are produced from the selection of 13 and 39 MFs (rules) for any inputs. So, coinciding of the histogram of the same input s and the extracted MFs ha been shown in figure 6. It is worth noting that decreeing the dominant rules, the accuracy of NFIS responses is diminished Self organizing feature map (SOM) The modes of information granulation (IG) in which the gr anules are crisp or fuzzy play important roles in a wide verity of methods, approaches and techniques. One of among them is cluster analysis.[6] MFs for input1; using 13 rules for NFIS- histogram distribution of input 1 (a ) 6 (b ) MFs for input 5; using 39 rules for NFIS- histogram distribution of input 6 Fi g ure 5 .the extracted relation usin g 39 MFs; in p uts are same as p revious Proc. Internati onal Symposium on Computational Mechanic s (ISCM2007), Yao ZH & Yuan MW (eds.), Beijing: Tsinghua University Press & Springer, Ju ly 30-August 1, 2007, Beijing, China, 267 & CDROM. Kohonen self-organizing networks (K ohonen feature maps or topology-preserving maps) are competition-based network paradigm for data clustering. The learning proce dure of Kohonen feature maps is sim ilar to the competitive learning networks. The main idea behind competitive learning is sim ple; the winner takes all. The competitive transfer function returns neural outputs of 0 for all neurons except for the winner which receives the highest net input with output 1. SOM changes all weight vectors of neurons in the near vi cinity of the winner neuron towards the input vector. Due to this property SOM, are used to reduce the dimensionality of complex data (data clustering). Competitive layers will automatically learn to classify input vectors, the cl asses that the competitive layer finds are depend only on the distances between input vectors([2] , [5] ). Given some "windows" on the block domain, so that thei r positions were selected,randomly. By scanning of contact state ,within such windows, and extension of procedur e to other parts of the dom ain,using fusion of SOM and NFIS ,can be supposed as an approximated alternative to the previous method (figure 8) To assessing of 3-D SOM, on the contact state distribution, contact state between 1, 2 (blocks, figure 3) vs. the assembled X& Y directions of the gravity center of any ones, has been considered. Figure( and table) 7 shows, the perform ances of 3*3 SOM ( 3, 3 xy nn = = ; Matrix of neurons - x n . y n determines the size of SOM . ) on the assembled X and Y vs. contact state's evoluti on. So, the coordinates of winner neurons(table) has been depicted. The results have been produ ced after 300 training epochs.(figure 9) Figure8. genral procedure based on fusion of SOM/NFIS Proc. Internati onal Symposium on Computational Mechanic s (ISCM2007), Yao ZH & Yuan MW (eds.), Beijing: Tsinghua University Press & Springer, Ju ly 30-August 1, 2007, Beijing, China, 267 & CDROM. Conclusion and future work In this paper, by utilizing two main approaches of comput ational intelligent, namely, fuzzy set theory and neural networks, some analysis on the contacts of blocks, has been accom plished.Neruo-fuzzy inference sy stem and self organizing feature map neural network, to find contact state, were rendered. The extraction of rules by NFIS and an acceptable approximation of the distribution of contact's state (resulted from SOM) were two main results of the employed method Application of fuzzy rules in a cellular automata, cluste ring of blocks in 2-D as a fuzzy or crisp information granulation and inserting them in to DE M's flowcharts, are the future works. Acknowledgements author would like to thank from Mr.N.Owladeghaffari for his encouragement along this study, so from Miss. M.Seyyedhashemi to assurances, grat efully thanks are recorded. REFERENCES 1. Salari-rad .H&Owladeghaffari H, Toward Fuzzy Block Theory , Workshop 5Wacmge, Guimares, in press,2007 2. Jang.J.S.R,Sun.C.T &Mizutani.E. Neuro-Fuzzy and Soft Computing, . Nejwersy. Prentice Hall,1997 3. Nauk D, KlawoonF, &KruseR. Foundations of Neuro-Fuzzy Ssystems , John Wiley & Sons,1997 4. Shi GH. Block System Modeling by Discontiuous Deformation Analysis,. computational m echanics publications., England, 1993. 5. Kohonen, T, Self-Organization and Associate Memory , 2 nd , Springer – Verlag, Berlin, 1987 6. Zadeh LA. Towards a theory of fuzzy information granula tion and its centrality in human reasoning and fuzzy logic , Fuzzy Sets and Systems;19:111:127. 1997 Figure9. performance of SOM/NFIS on the blocks(figure3)
Original Paper
Loading high-quality paper...
Comments & Academic Discussion
Loading comments...
Leave a Comment