- About this Journal ·
- Abstracting and Indexing ·
- Aims and Scope ·
- Annual Issues ·
- Article Processing Charges ·
- Articles in Press ·
- Author Guidelines ·
- Bibliographic Information ·
- Citations to this Journal ·
- Contact Information ·
- Editorial Board ·
- Editorial Workflow ·
- Free eTOC Alerts ·
- Publication Ethics ·
- Reviewers Acknowledgment ·
- Submit a Manuscript ·
- Subscription Information ·
- Table of Contents

Mathematical Problems in Engineering

Volume 2013 (2013), Article ID 718783, 5 pages

http://dx.doi.org/10.1155/2013/718783

## Fault Diagnosis for Wireless Sensor by Twin Support Vector Machine

Department of Automatic Test and Control, Harbin Institute of Technology, Harbin, Heilongjiang 150001, China

Received 17 January 2013; Revised 20 March 2013; Accepted 7 April 2013

Academic Editor: Saeed Balochian

Copyright © 2013 Mingli Ding et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

Various data mining techniques have been applied to fault diagnosis for wireless sensor because of the advantage of discovering useful knowledge from large data sets. In order to improve the diagnosis accuracy of wireless sensor, a novel fault diagnosis for wireless sensor technology by twin support vector machine (TSVM) is proposed in the paper. Twin SVM is a binary classifier that performs classification by using two nonparallel hyperplanes instead of the single hyperplane used in the classical SVM. However, the parameter setting in the TSVM training procedure significantly influences the classification accuracy. Thus, this study introduces PSO as an optimization technique to simultaneously optimize the TSVM training parameter. The experimental results indicate that the diagnosis results for wireless sensor of twin support vector machine are better than those of SVM, ANN.

#### 1. Introduction

In the past years, various data mining techniques including artificial neural networks have been applied to fault diagnosis for wireless sensor because they have the advantages of discovering useful knowledge from large data sets [1–5]. Though fault diagnosis for wireless sensor based on artificial neural networks can show encouraging results, there are also many problems that need to be solved, such as local optimization and overfitting in the artificial neural networks [6–11]. Support vector machine (SVM), based on structure risk minimization principle can use nonlinear mapping to transform an input space to a high-dimension space based on an internal integral function and then looks for a nonlinear relationship between inputs and outputs in that space [12–14]. SVM can find global optimum solutions for problems with small training samples, high dimensions, nonlinear [15, 16]. Twin SVM is a binary classifier that performs classification by using two nonparallel hyperplanes instead of the single hyperplane used in the classical SVM. However, the choice of the training parameters has a heavy impact on the classification accuracy of twin support vector machine. Particle swarm optimization is an evolutionary computation technique, which is inspired by social behavior among individuals. Thus, particle swarm optimization is used to optimize the TSVM parameters.

In the study, a novel classification method by twin support vector machine (PSO-TSVM) is proposed to fault diagnosis for wireless sensor, where particle swarm optimization is to find the optimal settings of parameters of SVM. Then, we collect 260 samples to study the diagnosis performance of twin support vector machine classifier, where 170 of them are used to train the diagnosis model of twin support vector machine classifier, and others are used to test the diagnosis performance of twin support vector machine classifier. The experimental results indicate that the diagnosis results for wireless sensor of twin support vector machine are better than those of SVM, ANN.

#### 2. Twin Support Vector Machine

Based the Karush-Kuhn-Tucker theorem of optimization theory [17, 18], the nonlinear decision function is:

The most commonly used kernel function is the radial basis function (RBF) kernel, which can be reproduced as follows: where is a positive real number.

The nonlinear TWSVM seeks two nonparallel hyperplane in :

For finding the hyperplanes, it is required to get the solutions to the primal problems.

Minimize subject to

And minimize subject to where are the punishment parameters and are vectors of ones of appropriate dimensions.

#### 3. Parameters Optimization of TSVM by PSO

Particle swarm optimization is an evolutionary computation technique, which is inspired by social behavior among individuals. Each particle moves in the direction of its previously best position and its best global position during each generation [19–21]. Thus, particle swarm optimization is used to optimize the TSVM parameters.

In the study, we use the RBF kernel function for the TSVM classifier because the RBF kernel function can analyze higher-dimensional data, and TSVM with RBF kernel function only has two parameters, and determined. Therefore, the particle is comprised of two parts, and , when the RBF kernel is selected. The process of optimizing the TSVM parameters with PSO can be summarized as follows.

*Step 1. *Randomly generate initial population, initial particle and initial velocity.

*Step 2. *Set the learning parameters and , the inertia weight , and the maximum number of iterations.

*Step 3. *Fitness evaluation: the fitness function is defined as the following formula:
where denotes the correct classification and denotes the false classification.

*Step 4. *Update velocity and position of the particle.

*Step 5. *If maximum iterations predefined are met, the program is stopped. Otherwise, go to Step 3.

#### 4. Experimental Study for Fault Diagnosis of Wireless Sensor

In the study, the four fault types of wireless sensor including shock, biasing, short circuit, and shifting are applied to test the diagnosis ability of TSVM compared with other diagnostic methods. The normal data belongs to class 1, shock belongs to class 2, biasing belongs to class 3, short circuit belongs to class 4, and shifting belongs to class 5. The typical output signals of the above four fault types of wireless sensor can be described in Figures 1, 2, 3, and 4, respectively.

The values of the features and the corresponding state types of wireless sensor are used to train twin support vector machine classifier. In the study, we collect 260 samples to study the diagnosis performance of twin support vector machine classifier, where 170 of them are used to train the diagnosis model of twin support vector machine classifier, and others are used to test the diagnosis performance of twin support vector machine classifier. Some of the experimental data are given in Table 1.

Figure 5 gives the diagnosis results of twin support vector machine, state types of wireless sensor including normal state, shock, biasing, short circuit, and shifting are given in Figure 5, which are denoted as 1 ~ 5, respectively; Figure 6 gives the diagnosis results of the support vector machine; Figure 7 gives the diagnosis results of artificial neural network. The number of incorrect diagnosis of TSVM, SVM, and ANN is 96.7, 91.1, 83.3, respectively. The comparison of the diagnosis results for wireless sensor among TSVM, SVM, and ANN is given in Table 2. Then, we can conclude that the diagnosis results of twin support vector machine are better than those of SVM and ANN in the fault diagnosis of wireless sensor.

#### 5. Conclusion

A novel classification method by twin support vector machine (TSVM) is proposed to fault diagnosis for wireless sensor in this paper, where PSO is to find the optimal settings of parameters in SVM. In the study, the four fault types of wireless sensor including shock, biasing, short circuit, and shifting are applied to test the diagnosis ability of TSVM compared with other diagnostic methods. The experimental results indicate that the diagnosis results for wireless sensor of twin support vector machine are better than those of SVM and ANN.

#### Acknowledgments

This work is supported by the National Natural Science Foundation of China (Grants no. 60901042 and no. 61171196).

#### References

- Z. You, X. Zhao, H. Wan, N. N. H. William, Y. Wang, and M. Gu, “A novel fault diagnosis mechanism for wireless sensor networks,”
*Mathematical and Computer Modelling*, vol. 54, no. 1-2, pp. 330–343, 2011. View at Google Scholar - H. H. Soliman, N. A. Hikal, and N. A. Sakr, “A comparative performance evaluation of intrusion detection techniques for hierarchical wireless sensor networks,”
*Egyptian Informatics Journal*, vol. 13, no. 3, pp. 225–238, 2012. View at Google Scholar - K. Shao, “A novel method of transformer fault diagnosis based on extension theory and information fusion in wireless sensor networks,”
*Energy Procedia*, vol. 12, pp. 669–678, 2011. View at Google Scholar - A. Díaz-Ramírez, L. A. Tafoya, J. A. Atempa, and P. Mejía-Alvarez, “Wireless sensor networks and fusion information methods for forest fire detection,”
*Procedia Technology*, vol. 3, pp. 69–79, 2012. View at Google Scholar - G. Li, J. He, and Y. Fu, “Group-based intrusion detection system in wireless sensor networks,”
*Computer Communications*, vol. 31, no. 18, pp. 4324–4332, 2008. View at Publisher · View at Google Scholar · View at Scopus - F. E. Asimakopoulou, G. J. Tsekouras, I. F. Gonos, and A. Ioannis, “Stathopulos, estimation of seasonal variation of ground resistance using artificial neural networks,”
*Electric Power Systems Research*, vol. 94, pp. 113–121, 2013. View at Google Scholar - C. Oz and M. C. Leu, “American sign language word recognition with a sensory glove using artificial neural networks,”
*Engineering Applications of Artificial Intelligence*, vol. 24, no. 7, pp. 1204–1213, 2011. View at Google Scholar - I. Zaier, C. Shu, T. B. M. J. Ouarda, O. Seidou, and F. Chebana, “Estimation of ice thickness on lakes using artificial neural network ensembles,”
*Journal of Hydrology*, vol. 383, no. 3-4, pp. 330–340, 2010. View at Publisher · View at Google Scholar · View at Scopus - Q. Liu, X. Cui, M. F. Abbod, S. J. Huang, Y. Y. Han, and J. S. Shieh, “Brain death prediction based on ensembled artificial neural networks in neurosurgical intensive care unit,”
*Journal of the Taiwan Institute of Chemical Engineers*, vol. 42, no. 1, pp. 97–107, 2011. View at Publisher · View at Google Scholar · View at Scopus - S. Khoshjavan, B. Rezai, and M. Heidary, “Evaluation of effect of coal chemical properties on coal swelling index using artificial neural networks,”
*Expert Systems with Applications*, vol. 38, no. 10, pp. 12906–12912, 2011. View at Publisher · View at Google Scholar · View at Scopus - J. Yang, H. Singh, E. L. Hines et al., “Channel selection and classification of electroencephalogram signals: an artificial neural network and genetic algorithm-based approach,”
*Artificial Intelligence in Medicine*, vol. 55, no. 2, pp. 117–126, 2012. View at Google Scholar - P. Banerjee, V. S. Singh, K. Chatttopadhyay, P. C. Chandra, and B. Singh, “Artificial neural network model as a potential alternative for groundwater salinity forecasting,”
*Journal of Hydrology*, vol. 398, no. 3-4, pp. 212–220, 2011. View at Publisher · View at Google Scholar · View at Scopus - C. H. Wu, Y. Ken, and T. Huang, “Patent classification system using a new hybrid genetic algorithm support vector machine,”
*Applied Soft Computing Journal*, vol. 10, no. 4, pp. 1164–1177, 2010. View at Publisher · View at Google Scholar · View at Scopus - J. Luts, G. Molenberghs, G. Verbeke, S. Van Huffel, and J. A. K. Suykens, “A mixed effects least squares support vector machine model for classification of longitudinal data,”
*Computational Statistics & Data Analysis*, vol. 56, no. 3, pp. 611–628, 2012. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - D. C. Li and C. W. Liu, “A class possibility based kernel to increase classification accuracy for small data sets using support vector machines,”
*Expert Systems with Applications*, vol. 37, no. 4, pp. 3104–3110, 2010. View at Publisher · View at Google Scholar · View at Scopus - U. B. Parikh, B. Das, and R. Maheshwari, “Fault classification technique for series compensated transmission line using support vector machine,”
*International Journal of Electrical Power and Energy Systems*, vol. 32, no. 6, pp. 629–636, 2010. View at Publisher · View at Google Scholar · View at Scopus - H. Cevikalp, “New clustering algorithms for the support vector machine based hierarchical classification,”
*Pattern Recognition Letters*, vol. 31, no. 11, pp. 1285–1291, 2010. View at Publisher · View at Google Scholar · View at Scopus - D. Naiyang and T. Ying-Jie,
*A New Data Mining Method—Support Vector Machine*, Science Press, Beijing, China, 2004. - T. Navalertporn and N. V. Afzulpurkar, “Optimization of tile manufacturing process using particle swarm optimization,”
*Swarm and Evolutionary Computation*, vol. 1, no. 2, pp. 97–109, 2011. View at Google Scholar - S. N. Deepa and G. Sugumaran, “Model order formulation of a multivariable discrete system using a modified particle swarm optimization approach,”
*Swarm and Evolutionary Computation*, vol. 1, no. 4, pp. 204–212, 2011. View at Google Scholar - H. Wang, H. Sun, C. Li, S. Rahnamayan, and J.-S. Pan, “Diversity enhanced particle swarm optimization with neighborhood search,”
*Information Sciences*, vol. 223, pp. 119–135, 2013. View at Publisher · View at Google Scholar · View at MathSciNet