Diagnosis of Elevator Faults with LS-SVM Based on Optimization by K-CV

Several common elevator malfunctions were diagnosed with a least square support vector machine (LS-SVM). After acquiring vibration signals of various elevator functions, their energy characteristics and time domain indicators were extracted by theoretically analyzing the optimal wavelet packet, in order to construct a feature vector of malfunctions for identifying causes of the malfunctions as input of LS-SVM. Meanwhile, parameters about LS-SVM were optimized by K-fold cross validation (KCV). After diagnosing deviated elevator guide rail, deviated shape of guide shoe, abnormal running of tractor, erroneous rope groove of traction sheave, deviated guide wheel, and tension of wire rope, the results suggested that the LS-SVM based on K-CV optimization was one of effective methods for diagnosing elevator malfunctions.


Introduction
With the development of modern society, elevators have achieved rapid development as tools for transporting things up and down inside high-rise buildings.While enjoying express elevator services, people have proposed more rigorous requirements for taking elevators comfortably and safely [1].Major indicators [2] impacting if elevators can be taken with comfort include vibration of elevation compartments, noise, temperature, decoration, and starting and braking characteristics, among which the vibration is a major indicator for evaluating whether elevators can be taken comfortably [3].Under normal circumstances, passengers will not feel uncomfortable in taking an elevator in case of relatively smaller vibration amplitude.However, passengers will have a feeling of great discomfort when the vibration reaches certain value or the frequency is up to a level to which people are sensitive [4].To guarantee passengers' physical and mental health as well as personal safety, it is of great significance for passengers to take elevators more comfortably and safely by reducing vibration, finding out vibration source, predicting malfunctions, and recovering them promptly [5].
In case of malfunctions, vibration signals in elevators will become remarkably nonstationary with noise.Wavelet packet analysis has been widely recognized and applied in diagnosing failures of machines, especially in processing transient signals, because it is highly effective for localizing time frequency and has unique advantages in processing timevarying signals.When an elevator malfunctions, changes to the vibration signals contain abundant information about characteristics of malfunctions [6][7][8].In combination with noise, elevator vibration signals were decomposed at different frequency bands by wavelet packet transform, in order to determine the energy of signals distributed in each subspace.The energy distribution was then compared with that of vibration signals in normally running system to exact information about characteristics of elevator malfunctions [9].Besides, kurtosis of vibration signals in -axis and peak-to-peak values of vibration signals in /-axes were taken as characteristic parameters in time domain.In this way, vibration characteristics could be extracted for malfunctions.
Support vector machine (SVM) has been extensively used and developed in the field of fault diagnosis.Tang et al. [10] diagnosed faults of rotating machines by LIttlewood-Paley wavelet support vector machines (LPWSVM).Shuixia et al. [11] achieved promising outcomes in classifying elevator malfunctions by diagnosing faults with kernel principal component analysis (KPCA) and SVM.Li et al. [12] put forward a model for fault diagnosis based on a genetic algorithm for hierarchically optimizing least squares support vector machines (LS-SVM), which could increase the precision of LS-SVM for predicting faults and improve self-adaptive diagnosis.Widodo and Yang [13] diagnosed faults of asynchronous motors by extracting nonlinear characteristics with SVM and achieved ideal results.In this paper, an attempt was made to optimize parameters about SVM (mainly referring to penalty parameter  and kernel function ) via cross validation by integrating theories on optimal wavelet packet with SVM, so as to effectively avoid overfitting and underfitting.In other words, vibration signals were analyzed according to theories on optimal wavelet packet.By using SVM as classifier, energy characteristics and time domain indicators of vibration signals were extracted to construct fault feature vectors.They were adopted as input of SVM, and elevator malfunctions were classified with a well-trained SVM.

On Safety for Taking
Elevators and Mechanism 2.1.On Safety for Taking Elevators.Elevator compartments may vibrate vertically or horizontally [1].Major causes of their vertical vibration include vibration incurred by running a tractor, vibration of gear meshing inside a speed reducer, misalignment between axes of worm gear reducer and traction motor, and insecure fastening of tractor base with the bearing beam and nonuniform load of wire rope.All of these factors impact vertical vibration of elevator compartments.Horizontal vibration of elevator compartments is mainly caused by [14] vibration resulting from guiding system, out of tolerance perpendicularity of guide rails, out of tolerance of distance between guide rails, and out of tolerance between local gap of guide rails and steps at joints, partial distortion of guide rails, and straightness error of working surface of guide rails.These factors possibly lead compartments to horizontally vibrate in the course of up-and-down motion.Additionally, static balance of compartments is influenced by deviated suspension center and eccentric load of compartments.As a consequence, horizontal vibration is affected.

On Vibration and Mechanism of Elevator Compartments.
Although there are numerous causes of compartment vibration, after analysis and investigation, the main causes [15][16][17][18] are concluded to be deviated guide rail, deviated shape of guide shoe, abnormal running of tractor, erroneous rope groove of traction sheave, deviated guide wheel and nonuniform tension of wire rope, and so on.

Deviated Guide Rail.
Elevator compartment runs by attachment to guide rail, so horizontal vibration of an elevator is directly impacted by its guide rail.Asymmetric guide rail groove, undesirable perpendicularity of guide rail, widened or narrowed distance between guide rails and fastened bolts of guide rail brackets or clips, and so on cause horizontal vibration of compartments.

Deviated Shape of Guide Shoe.
Attaching to guide rails, guide shoe is used to limit obliquity and horizontal displacement.It will be ineffective for reducing vibration if guide rails are adjusted to be excessively tight when an elevator is running.Consequently, the resistance for running compartments gets higher and leads to vibration.Besides, the guide shoes will become inelastic once the gap between them is regulated to be too large and thereby cause compartments to vibrate during working.

Abnormal Running of Tractor.
High-speed shaft-driven imbalance and misaligned vibration of coupling are major causes of tractor vibration.As a tractor is rotating at a high speed, the pulse becomes an excitation source for diagnosing compartments.Errors will be caused to rope grooves and result in inaccurate dynamic balance after the tractor is worn for a long period.In addition, vibrator compartments will vibrate during running provided that speed measurement encoder is not well connected with motor or misaligned.

Deviated Guide
Wheel.The deviation of guide wheel from the perpendicular line will be higher than 2 mm when the wheel is empty or fully loaded.The protection shall meet given requirements when suspended traction wheel or sprocket wheel is used.To be exact, geneva wheel shall not be seriously and nonuniformly worn to a level that its shape is changed, or else compartments will vibrate abnormally.

Nonuniform Tension of Wire Rope.
Nonuniform tension of wire rope leads to unequal specific pressure on traction rope inside the grove of pulley wheel.Compartment will abnormally vibrate due to relative slip of rope caused by joint difference, because the rope of traction wheel is worn more quickly in case of great force [14].

Signal Processing and Analysis
In this paper, data on elevators provided by Yunnan Special Equipment Safety Inspection and Research Institute were analyzed.The data was acquired by EVA-625 elevator tester.
Because the data measured about elevator running were limited, for better diagnosis, simulative samples were combined with actual samples of malfunctions to establish a sample database necessary for the training of support vector machines.Firstly, the Matlab extracts the data distribution characteristics (almost the same as authentic samples) of authentic fault samples as well as their mean value, variance, standard deviation, extremum, moment, skewness, and kurtosis, based on which it randomly generates 100 groups of simulative samples.Integrating simulative samples with authentic fault samples, it establishes the data base needed for support vector machine (SVM).70 out of those samples are used for training and another 70 for testing.and noises and the EVA system can quantize the data of acceleration as well as noises.In short, if it is put in an elevator to rise and fall, it can record the overall situation of time-variable operating state and noises of the elevator.Downloading the recorded information on the PC, you can use the apparatus-matched variation analysis tools software for analysis just as in Figure 1.Axes of Sensitivity.The axes of sensitivity of acceleration module includes -, and -axis.The -axis tests vibration of forward and backward while the axis measures vibration of sideways and the -axis that of vertical dimensions.

EVA-625
The Microphone.It is used to collect noises while the sound track is designed at a restrictive, quickly reactive, and fidelity RMS volume to collect the volume which reaches the level of noises.
The Tachometer.The accessory allows for real time measurement and operation of escalator handrails, step speed, braking length, and its intervals.
The LCD: it is made up of 4 lines and 20 characters.
The Keyboard.It allows users to set and modify some necessary parameters while operating EVA-625 without PC.
The Start/Stop Switch.It equals the ENT and ESC button to reduce useless vibrations when beginning record model.

Wavelet Packet Analysis.
Being capable of providing an accurate analytical method for signals, it divides frequency bands into multilevels, further resolving the high frequency parts that are not dispersed by multiresolution analysis and decomposing the frequency domain of the primitive into similar frequency band.In case of the sampling frequency being recognized and adequate levels being resolved, the frequency domain of each frequency band is restricted in a small scope so that similar and super-low frequencies will be in different domains.In consequences, it analyzes signals more delicately to provide more efficient approaches for extracting characteristics of signals.As an international recognized high technology to acquire and process information, wavelet packet analysis is excellently applied in many fields, such as voices, images, graphs, communications, earthquakes, biomedicines, mechanical vibrations, and computer visions.

The Energy Feature Extraction.
In case of malfunctions, abundant information about features of malfunctions would be reflected from energy changes of vibration signals.Signals were decomposed by wallet packet transform at different bands, to determine the energy of signals distributed in each subspace.Then, the energy distribution was compared with the situation when the system was normally running, in order to extract information about features of elevator malfunctions.Features were exacted according to the steps as follows [9]: (1) First of all, signals of vertical vibration acceleration were decomposed with a 4-layer db 6-wavelet packet, and the optimal wavelet packet tree was obtained pursuant to the standard of minimum Shannon entropy, as shown in Figure 3. Next, the wavelet packets corresponding to the first two nodes on the 4th layer, the 2nd node on the 3rd layer, the 2nd node on the 2nd layer, and the 2nd node on the 1st layer were selected to compose the optimal wavelet packet base of signals.
(2) Signals were reconstructed with the wavelet packet bases corresponding to nodes (4, 0), (4, 1), (3, 1), (2, 1), and (1, 1). 40 was a reconstructed signal of node (4, 0); the rest could be deduced by analogy, so the overall signal reconstruction was as follows: (3) The energy of each reconstructed was determined and, for  40 , the energy was calculated as follows: where   ( = 0, 1, . . ., ) represents the range of  40 at discrete points, and the energy at rest bands could be calculated in the same way.
(4) Based on abundant information about malfunctions reflected from energy of all signals at different bands, the normalized feature vector was constructed as follows: where According to a given set of data on discreet vibration signals, the  (Kurtosis) [19] was determined as follows:

Time Domain
where   is signal value,  was mean signal value,  indicated sampling length, and   represented standard deviation.

Basic Principles of Least Squares Support Vector Machines
Support vector machines [20][21][22] construct statistical learning theories according to principles of structural risk minimization when only a limited amount of samples is available.To be specific, input vectors were firstly projected from original space to high-dimension feature space through nonlinear mapping, in order to construct the optimal decision function in this high-dimension space based on principle of structural risk minimization.In this process, the calculation got less complicated as the dot product of the high-dimension feature space was replaced by kernel function of the original space.Convex quadratic programming problem was solved by the support vector machine that the extreme values obtained could be guaranteed to be the global optimal solution.In this way, the deficiency that neural networks easily became the smallest within local areas was overcome.
Having extended the standard SVM, the least squares SVM is proposed by J. A. K. SuyKens and J. Vandewalle, acquiring outstanding achievements in pattern recognition and nonlinear function fitting.The differences between LS-SVM and standard SVM lie in that the loss function of an optimized object is represented by 2-norm error, inequality constraints of SVM are replaced by equality constraints, and convergence rate is increased.Assuming that the training set is {( 1 ,  1 ), . . ., (  ,   )}, where  is total number of samples,   ∈   is the th sample input, and   ∈ {−1, 1} is desired output of the th sample, the function of linear regression was calculated as follows: where  = ( 1 ,  2 , . . .,   ) is sample input,  = ( 1 ,  2 , . . .,   ) is a weighted coefficient of LS-SVM, and  is a threshold.According to criteria of structural risk minimization (SRM) [23][24][25], optimized problem could be converted into The constraint is as follows: where  is a tolerable penalty coefficient ( > 0) for controlling the degree of penalties on samples beyond the calculation error,   is a relaxation factor, and ⟨⋅⟩ is a mapping function of kernel space.
By introducing a Lagrange function, the model of regression function was obtained for LS-SVM according to KKT optimality conditions as follows: where   is a Lagrange multiplier and (,   ) is a kernel function for calculating the inner product of sample data.
In using a regression model with LS-SVM, it is necessary to properly set a coefficient of tolerable penalty and select a suitable kernel function.

Parameter Optimization for LS-SVM.
In the process of realizing LS-SVM, two parameters should be determined, including kernel function  and penalty factor . Parameters were optimized with K-CV, while the processes for searching and optimizing optimal parameters were shown in Figures 4  and 5 as follows.Firstly, parameters were sketchily searched within 2 −10 ∼2 10 with coarse mesh, as shown in Figure 4.Then, optimal parameters  and  were found to range within 2 −2 ∼2 10 and 2 −10 ∼2 0 .Subsequently, parameters were precisely searched within the sphere to find out the optimal parameter with K-CV method (Figure 5).The searching results suggested that LS-SVM could realize the optimal precision for identifying faults when  is 0.5 and  equals 1.
Figure 1 offers part of the recognition results of 70 groups test samples about normal state of elevators and 6 kinds of fault types and the recognition efficiency is 92.7%.It may be clearly seen from the table that the normal state of elevators, deviated elevator guide rail, deviated shape of guide shoe, abnormal running of tractor, erroneous rope groove of traction sheave, deviated guide wheel, and tension of wire rope were successfully identified with a LS-SVM classifier optimized through cross validation (Table 1).

Conclusions
(1) The basic idea of wavelet packet analysis is to centralize information and energy to find out laws from details and provide a more precise method for signal analysis.Thus, elevator faults were diagnosed according to theory on optimal wavelet packet with the least squares support vector machine.
(2) Feature vectors of energy distributed by elevator vibration signals and feature vectors of faults constructed by time-domain parameters were used as input of LS-SVM.Elevator malfunctions were classified and identified with a well-trained LS-SVM classifier.Parameters of LS-SVM were optimized via cross validation, in order that the classifier could classify LS-SVM most precisely.
(3) Experimental results suggested that this method was effective for identifying faults of elevators.As an advanced way for intelligently diagnosing faults, it has good prospects for application in condition monitoring and fault diagnosis.

4
Calculate moving RMS of X, Y, Z channels and display

Figure 1 :
Figure 1: Screenshot of variation analysis tools.
Principles and Structure.The basic structure of EVA-625 is comprised of a Triaxial Accelerometer Package, a microphone, interior circuits (digit, simulation), a LCD, a 4-key keyboard, a start/stop switch, and batteries (Figure 2): Triaxial Accelerometer Package.It is the acceleration (vibration) sensor of EVA-625 system.

Figure 3 :
Figure 3: Optimal wavelet packet tree of vertical acceleration signals.
Run sound: 47.9 L Aleq: 44.9 Max sound: 68.1 3.1.1.EVA-625 Introduction.Aimed to record the vibrations and noises of elevators, EVA-625 elevator tester is a particularly designed high-precision recorder of acceleration Analysis of LS-SVM.In this paper, feature vectors of energy distribution of elevator vibration acceleration signals, including  40 ,  41 ,  31 ,  21 , and  11 , were selected.Besides, time domains of vibration acceleration signals of a compartment in , , and  directions were used, involving gradient in the  direction and peak-to-peak values in  and  directions.Furthermore, extreme values of noise measured by a noise sensor was considered, so malfunction symptoms composed by these nine characteristic values were adopted as parameters input into SVM, in order to classify training samples.There are 70 groups training samples.At last, tested samples were classified and identified with a well-trained classifier.Malfunctions were defined as follows:

Table 1 :
Results for identifying elevator faults with a LS-SVM optimized by cross validation.