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

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 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.

Figure 1: The output signal of shock failure.

Figure 2: The output signal of biasing failure.

Figure 3: The output signal of short-circuit failure.

Figure 4: The output signal of shifting failure.

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.

Table 1: The experimental data.

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.

Table 2: The comparison of the diagnosis results for wireless sensor among the three classifiers.

Figure 5: The diagnosis results of twin support vector machine.

Figure 6: The diagnosis results of support vector machine.

Figure 7: The diagnosis results of artificial neural network.

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).