MONITORING THE STATOR CURRENT IN INDUCTION MACHINES FOR POSSIBLE FAULT DETECTION : A FUZZY / BAYESIAN APPROACH FOR THE PROBLEM OF TIME SERIES MULTIPLE CHANGE POINT DETECTION

This paper addresses the problem of fault detection in stator winding of induction machine by a multiple change points detection approach in time series. To handle this problem a new fuzzy/Bayesian approach is proposed which differs from previous approaches since it does not require prior information as: the number of change points or the characterization of the data probabilistic distribution. The approach has been applied in the monitoring the current of the stator winding induction machine. The good results obtained by proposed methodology illustrate its efficiency.


INTRODUCTION
Fault detection and analysis is a very important strategy that is commonly employed in the industry with the purpose of allowing a cost-effective maintenance policy, keeping productivity standards and ensuring safety.The fault analysis gives support for the design of corrective actions, system redundancies, and safety policies in order to mitigate the effects of a fault [33].A fault diagnosis procedure is typically divided into three tasks: i) fault detection, indicating the occurrence of some fault in a monitored system; ii) fault isolation, establishing the type and/or location of the fault; and iii) fault identification, determining the magnitude of the fault.
After a fault has been detected and diagnosed, in some applications it is required that the fault be self-corrected, usually through controller reconfiguration.This is usually referred to as fault accommodation.
The literature presents several classes of strategies to deal with fault detection and isolation (FDI) [14].These strategies can be, in general, divided in approaches based on quantitative models [68] and on qualitative models [66], [67].
Most of the quantitative model-based approaches are based on the knowledge of mathematical models of the plant.Many survey papers with different emphasis on various model-based approaches have been published over the past years.The main approaches in this context are based on (unknown input) observers [14], [15], [16], [52], [62], [63], parity relations [14], [50] and Kalman or robust filters [1], [14], [28], [29], [72].The requirement of a mathematical model of the plant can lead to several difficulties in the implementation of these approaches, for instance due to factors such as system complexity, high dimensionality, nonlinearities and parametric uncertainties.
In this paper, a new quantitative approach for fault monitoring is presented.This new approach is based on a fuzzy/Bayesian representation and was extended to the detection of multiple change points, not just one or two change points as in [20] and [46], respectively.To illustrate the efficiency of the proposed methodology, the problem of monitoring the stator current of induction machine, for possible fault detection, has been solved.Induction motors are the most important electric machinery for different industrial applications.Faults in the stator windings of three-phase induction motor represent a significant part of the failures that arise during the motor lifetime.When these motors are fed through an inverter, the situation tends to become even worse due to the voltage stresses imposed by the fast switching of the inverter [11].From a number of surveys, it can be realized that, for the induction motors, stator winding failures account for approximately 30% of all failures [2], [34].
The stator winding of induction machine is subject to stress induced by a variety of factors, which include thermal overload, mechanical vibrations and voltage spikes.Deterioration of winding insulation usually begins as an inter-turn short circuit in one of the stator coils.The increased heating due to this short circuit will eventually cause turn to turn and turn to ground faults which finally lead the stator to break down [60].
Although there is no experimental data that indicate the time delay between inter-turn and ground insulation failure, it is believed that the transition between the two states is not instantaneous.Therefore, early detection of inter turn short circuit during motor operation can be of great significance as it would eliminate subsequent damage to adjacent coils and the stator core, reducing repairing cost and motor outage time [6], [59].However, early stages of deterioration are difficult to detect.In general, most of the previous references present approaches for dealing with abrupt faults in the stator winding, which are easier to be detected than incipient faults.In spite of these difficulties, a great deal of progress has been made on induction machine stator-winding incipient fault detection.Methods that use voltage and current measurements offer several advantages over test procedures that require machine to be taken off line or techniques that require special sensors to be mounted on the motor [58].Other methods, in the context of fault related to the stator-winding, can be found in [9], [10], [24], [53], [61].There exist other type of approaches to deal with different faults in induction machine, unlike the one considered in this paper, as, for example, dynamic eccentricity, unbalanced rotors, bearing defects and broken rotor bars (see [56] for details and further references).This paper is organized as follows.Section 2 shows the new fuzzy/Bayesian approach.Section 3 presents and analyzes the induction machine modeling considering the case of turn-to-turn short circuit in stator winding and shows the results for monitoring stator current of induction machine.Finally, section 4 presents the concluding remarks.

FUZZY/BAYESIAN APPROACH FOR MULTIPLE CHANGE POINTS DETECTION
Traditional methods of building models for time series are based on statistical techniques, aiming to select models that satisfactorily explain its dynamic behavior.However, some questions can be raised: • There is regime change in the series?
• Can a single model to portray this dynamic for the whole data set?
If there are significant changes in the time series, it seems natural to find turning points before the entire modeling process.There are several papers approaching the problem of detecting points of change, as in financial series [49], ecological series [7], crime rate [41], fault detection [20], [22], etc.The main techniques for change points detection presented in the literature are based on statistical tests and Bayesian analysis.The most common statistical test in change points detection problem is the CUSUM and in the context of Bayesian analysis are widely used the MCMC methods.The CUSUM test proposed by [31] is widely used in detecting change points.Some applications, modifications and extensions of this method can be seen in [32], [42], and [45].The context of Bayesian analysis has as a reference [4], which uses a partition product model (MPP) for identifying points of change in the average data with a normal distribution.In [39], the posteriori probability of a time to be a turning point is used as a measure of evidence that the behavior of a data sequence has changed at some point.In [40], the effectiveness of the measure is evaluated in identifying changes, proposed by [39], in the rate of the Poisson distribution in sequentially observed data, and a comparison being done with the one proposed by [30].However, all these researches require some a priori knowledge of the statistical behavior of the time series, for example, what type of distribution represents better its dynamic behavior.In this work, an approach that is independent of such a priori knowledge about the time series will be used, considering the empirical demonstration presented in [20] that series, after being transformed using fuzzy operations, can be adequately approximated by series with beta distribution.Thus, the parametrization of the beta distribution is used to replace a priori knowledge about the time series.Moreover, the method was extended to the detection of multiple change points, not just one or two change points as in [20] and [46], respectively.

Time Series Transformation by Fuzzy Sets
The fuzzy set theory, proposed by [71], has received much attention recently, not only in the context of theoretical developments, but also in applications.One of its main applications is in clustering methods, whereas classical methods of grouping the data into k separate categories, and in many cases some elements may not belong to a specific category, belonging to two or more categories simultaneously.Using fuzzy clustering methods is a good way to solve this problem because, unlike the classical approach, an element can belong to more than one category simultaneously.
so C = {C i , i = 1, 2, . . ., k} is the set of centers of the time series y(t ).In (1), is the fuzzy membership degree of y(t ) for each center C i .
Notice that, given a set C of cluster centers, it is an easy task to measure the distance of each point in the time series y(t ) to each center C i .The problem of finding the centers can be solved, for instance, via K-means [36], C-means [3], or Kohonen network [35], and in all these approaches, prior knowledge of the number of groups is needed, a fact that justified the use of an adaptive algorithm, where this information is not required.The optimization of the Average Silhouette Width, initially proposed by [55], was used in this paper.
For illustration purposes, in this paper, the time series (3) is used: . . .
being p 1 the first operation point, p 2 the second operation point, p k the k − th operation point, ε(t ) a noise with distribution π(.) in the instant t , and m i the change points.  2 shows the centers of time series and the membership degrees μ i (t ) is illustrated by Figure 3.Note that the first and last membership degrees have a single change, which will be identified using the approach proposed by [20], and the intermediate membership degrees have two changes to be identified by the approach proposed by [46].The proposed fuzzy clustering to transform a given time series into a new one is described below: 1. Input the time series y(t ); that minimizes the Euclidean distance as (1), considering, for example, the time series (3) (Fig. 1).
3. Compute the fuzzy membership degree given in (2), for each sample of the time series, y(t ), with respect to each center C i (Fig. 3).Pesquisa Operacional, Vol.36( 2), 2016

Formulation of the Metropolis-Hastings algorithm
The goal of the Metropolis-Hastings algorithm [27] is to construct a Markov chain that has a certain equilibrium distribution π.Define a Markov chain as follows.If X i−1 = x i−1 , then generate a candidate value X * from a distribution with density f X * |X (y) = 1(x i−1 , x * ).The function q(.) is known as the core transition of the Markov chain.The candidate value X * is accepted or rejected with a probability of acceptance: If the candidate is accepted, do x i = Y , otherwise do x i = X i−1 .Thus, if the candidate is rejected, the Markov chain repeats the sequence.It is possible to show that, under general conditions, the sequence X 0 , X 1 , X 2 , . . . is a Markov chain with equilibrium distribution π.In practical terms, the Metropolis-Hastings algorithm can be specified by the following steps: 1. Choose an initial value x 0 , the number of simulations, R, and make the simulations counter r = 1; 2. Generate a candidate value y ∼ q(x i , .); 3. Calculate the probability of acceptance as in ( 4) and generate u ∼ U (0, 1); 4. Calculate the new value of the current state: x t +1 = y, if α(x, y) > u x t , otherwise 5.If r < R, return to step 2. Otherwise, stop.
Note that, as discussed in [21], the quantization technique generates a time series transformed to the first and last membership degree with the following probability distribution: The parameters to be estimated by Metropolis-Hastings algorithm are a, b, c, d and the change point m.In this type of algorithm, usually, uninformative priors are used, for example: The Gamma distribution with parameters shape and scale equal to 0.1 was chosen because it is uninformative, with the goal of sweeping the entire parameter space.Considering the intermediate membership degree, we have the following probability distribution: The parameters to be estimated by Metropolis-Hastings algorithm are a, b, c, d, e, f and the second point of change, m i , whereas the first switch point, m i−1 is identified in the previous step.
In this type of algorithm uninformative priors are commonly used, for example: The transition kernels of the Markov chain for the model with a single point of change and for the model with two change points are presented in appendices A and B, respectively.

Example of multiple change point detection in time series presented in Figure 1
The proposed fuzzy/Bayesian multiple change points detection in time series is described below: 1. Input the time series y(t ) (Fig. 1); 2. Find the set of k centers, C = {C i | min{y(t )} ≤ C i ≤ max{y(t )}, i = 1, 2, . . ., k}, given by Figure 2.
3. Compute the fuzzy membership degree given in (2), for each sample of the time series, y(t ), with respect to each center C i , illustrated by Figure 3.

CASE STUDY: MONITORING INDUCTION MACHINE WITH TURN-TO-TURN SHORT CIRCUIT IN STATOR WINDING
Many studies have shown that a large proportion of induction machine faults are related to the stator-winding [10], [24], [53], [61].The induction machine stator-winding is subject to stress due to many factors, which include thermal overload, mechanical vibration and peak voltage caused by a speed controller.The deterioration of insulation usually begins as a short circuit fault of the stator-winding.This section describes the model that is employed here for the simulation of inter-turn short circuits in the stator windings of induction machines.
This work employs a generic model for the machine [8], valid for any dq (direct and quadrature) axis speed obtained by the Park's transformation [37].Representing the currents, voltages and electromagnetic flows by i, v and λ, the resistance, leakage and mutual inductance by r, L l and L m , the phases a, b and c by indexes a, b and c, the windings of the stator and rotor by indexes s and r, the stator and rotor voltages equations become: where In the above, the index as 2 represents the shorted turns and i f is the current in the shorted turns.Figure 5 represents the schematic diagram of a motor with an inter-turn short circuit.In the model proposed in reference [8], the stator windings voltages are given by: μr s i f cos θ = r s i ds + dλ ds dt + ωλ qs (7) V qs + 2 3 μr s i f sin θ = r s i qs + dλ qs dt + ωλ ds (8) The rotor circuit equations are the same as for traditional symmetrical model.
The stator and the rotor electromagnetic flows of stator in dq axis, are given by: Pesquisa Operacional, Vol.36( 2), 2016 MARCOS F.S.V. D'ANGELO et al.

311
The voltage and the induced electromagnetic flow in the short-circuit turns are given by: The electromagnetic torque is given by: The induction machine stator current simulation results for a fault beginning which 2% of turns in the phase a become in short circuit after the time 2s and increase of 2% every time of 2s to reach a level of 8% of short-circuit is shown in the Figure 6.The root mean square (rms) current values is illustrated in Figure 7.The proposed monitoring for future fault detection approach here is based on finding such events of non-balanced changes in the current rms values.

Results of Proposed Methodology
The simulation results of current monitoring in the stator winding of an induction machine with star connection are shown in Figure 8, considering become in short circuit after the time 2s and increase of 2% every time of 2s to reach a level of 8% of short-circuit, was shown in the Figure 6.These results have been obtained by simulation of the induction machine using the model described in this Section and the change point detection methodology presented in Section 2. The centers in the induction machine currents are found by optimization of the Average Silhouette Width [55].

CONCLUSIONS
In this paper a novel fuzzy/Bayesian methodology for multiple change points detection in time series has been used to treat the on-line current monitoring of the induction machine statorwinding.The methodology is based on a two-step formulation: Firstly, a fuzzy clustering generates a transformed time series with beta distribution.In the second step, a Metropolis-Hastings algorithm is used to detect the probability of the occurrence of one change point or two change points in the transformed time series.This two-step formulation allows a systematic efficient way to solve a change point detection problem, which is employed for detecting incipient faults as change points that occur in some system signal.The proposed methodology has as advantages, compared to other techniques for the FDI problem, the fact that no mathematical models of the motor and no previous knowledge of signal statistical distributions are necessary, and also an enhanced resilience against false alarms, combined with a good sensitivity that allows the detection of rather small fault signals.This methodology has been successfully applied: Simulation results have been presented as evidences of the effectiveness of the proposed methodology, even in the case of faults that cause very low level disturbances.In the future, new methods of data clustering and other uninformative priors can be used to increase the efficiency of the proposed methodology.

APPENDIX A
This appendix is intended to build the probabilities of acceptance for the posterior distribution of the parameters a, b, c, d and m described in the Metropolis-Hastings algorithm.The reference distributions used in the work are the prior distributions, i.e., the Gamma(0.1,0.1), that have been chosen to be uninformative.
1.For the parameter a: For the parameter b: 3. For the parameter c: For the parameter d: 5. For the parameter m:

APPENDIX B
This appendix is intended to show the probabilities of acceptance for the posterior distributions of the parameters a, b, c, d, e, f, m 1 and m 2 described in the Metropolis-Hastings algorithm for the model with two changes and remembering that the point m 1 will always be obtained by the previous series, it is not necessary then that will be treasured.The reference distributions used here are his own prior distributions, which in this work distributions Gamma(0.1,0.1) were chosen to be uninformative.
1.For the parameter a: Below it's proposed an alternative quantization of a time series, through fuzzy clustering, for use in the Metropolis-Hastings algorithm.Definition (Fuzzy Clustering): Let y(t ) be a time series, and consider a positive integer k.Define the set C = {C i | min{y(t )} ≤ C i ≤ max{y(t )}, i = 1, 2, . . ., k} such that it solves the minimization problem:

Figure 1
Figure 1 illustrates the time series (3) with p 1 = 1, p 2 = 2, p 3 = 3, p 4 = 4, p 5 = 5, m 1 = 30, m 2 = 60, m 3 = 90, m 4 = 120 and ε(t ) ∼ U (0, 1) for 150 observations of the time series, Figure2shows the centers of time series and the membership degrees μ i (t ) is illustrated by Figure3.Note that the first and last membership degrees have a single change, which will be identified using the approach proposed by[20], and the intermediate membership degrees have two changes to be identified by the approach proposed by[46].

Figure 2 -
Figure 2 -Centers of time series of Figure 1.

Figure 3 -
Figure 3 -Membership functions for each center of time series y(t).

4 .
Compute Metropolis-Hastings Algorithm in each membership function for change point detection as illustrated in Figure 4 (for first and last membership function is executed the detection of the one change point, and in the others membership functions is executed the detection of the two change points).The final analysis is performed as: the change point, m i , is obtained by checking where the maximum of m i histogram occurs.

Figure 5 -
Figure 5 -Representation of stator windings of a motor with inter-turn short circuit.

Figure 6 -
Figure 6 -Current of phase a.

Figure 7 -
Figure 7rms current of phase a.