Abstract

This paper presents a sequential fault detection and identification algorithm for detecting a fault in a vehicle's ultrasonic parking sensors. The algorithm identifies a bias fault in any of the ultrasonic sensors by computing the probability of having that bias fault given a carefully constructed measurement residual that is only a function of the measurement noise and the possible measurement fault. A set of bias hypotheses is assumed and initially given equal alarm probability. It is assumed that only one sensor will acquire a bias at any given time. Once the probability of a hypothesis approaches 1, that hypothesis is declared as the correct hypothesis and the bias associated with the hypothesis is removed from the sensors' reading. The accuracy and convergence characteristics of the proposed algorithm are verified using experimental results. This study is essential to ensure accurate operation of vehicle's ultrasonic parking sensors.

1. Introduction

The problem of a fault occurring in dynamic systems is being addressed continuously by researchers due to its high impact on the accuracy and integrity of the overall system performance [117]. Among this effort, extensive study is focused on the integrity monitoring of navigation systems [15]. Other researchers tackled the signal processing and integrity monitoring of sonar sensors [610]. Also, researchers address the integrity monitoring and fault detection of automotive sensors and systems [1118].

A sensor fault can be modeled in two ways first, as an additive random process with an associated statistics, that is, mean and covariance [13]. Alternatively, other researchers account for the fault as an increase in the magnitude of the measurements noise covariance [4, 5]. The change in the measurement noise covariance is detected using various statistical algorithms. The problem of change detection was formulated by reference [19] for independent observations with a given prior probability density distribution. Upon the onset of a fault, the observations’ probability density will change to another distribution that needs to be identified.

In transport vehicles, new sensors are constantly being added to enhance passengers comfort and increase vehicle’s safety [11, 12]. With the addition of new sensors, it is imperative to continuously check for the integrity of the sensors’ readings to completely and correctly achieve their given tasks [1318].

Model-based techniques have been used in the literature to check for automotive sensors faults [20]. In these techniques, different measurement models are tested in a probabilistic manner to identify possible faults in the vehicle sensors [21, 22]. Information-theoretic stopping rules were presented in references [19, 20] for efficient sequential multihypothesis testing and fault detection of abrupt changes in stochastic systems.

Ultrasonic sensors are currently being used in most vehicles to assist drivers in parking their vehicles by identifying the range from the perimeters of the vehicle to the surrounding vehicles, walls, or objects. Although, this feature is very helpful in preventing accidental pumping of the vehicle into the surrounding bodies, a fault in one or more of these sensors may cause adverse results. Therefore, the quality and integrity of these sensors must be checked regularly to insure its accurate and dependable operation [610]. Additionally, if a vehicle manufacturer adapts low-cost sensors, the accuracy and reliability of these sensors must be regularly checked to insure its accurate functionality.

In this paper, a fault detection and identification routine is proposed to check the integrity of vehicle’s ultrasonic sensors. The observations of the sensors are first manipulated to form an independent sequence in time that is only a function of the measurement noise and the possible measurement fault. A bank of possible sensors’ faults, hypotheses, is constructed, and the probability of each hypothesis is calculated given the measurements of the sensors. The hypotheses are initialized with equal probability and subsequently updated in time until the correct hypothesis is identified. The identified hypothesis will have a probability that approaches one. The result of this study forms an essential component of a vehicle’s total integrity assurance.

The outline of this paper is as follows. Section 2 gives an introduction to ultrasonic sensors’ measurements and their failure modes. Section 3 gives an overview of fault detection as applied to ultrasonic sensors’ measurements and introduces the probabilistic fault detection and identification algorithm proposed in this paper. The construction of the residual process that is a function of the measurement noise and the possible added sensor fault will be described. In Section 4, the platform used to check the algorithm is described and sensors’ measurement model is introduced. The algorithm will be validated using two vehicle-barrier orientations. In Section 5, the method is validated through various experimental tests. Section 6 finally concludes the findings of this study.

2. Physical Background on Ultrasonic Sensors and Their Failure Modes

Ultrasonic sensors’ measurements are based on transmitting ultrasonic waves and subsequently receiving the wave after it is reflected back from the object. By measuring the wave’s time-of-flight (TOF), the range to the object is obtained.

The reflected echo of the ultrasonic sensor’s sound wave has a time envelope that is characterized by the following equation [68]: where is the received signal value at time , is the echo amplitude, is the TOF of the signal, and and are distinct to the specific ultrasonic transducer used. To determine the correct range from the sensor to the obstacle, or object, in front of the sensor, the precise location of the received echo onset must be determined. If the echo starting time is not determined accurately due to the environment of the sensor, the object orientation, or object surface properties, then the sensor’s range measurement will be biased [6].

The ultrasonic sensors are usually equipped with a temperature sensor in order to compensate for the change in the speed of sound which depends on temperature. If the temperature sensor’s measurement is biased, a resulting bias in the ultrasonic sensor’s range to the object will occur [68].

Researchers have worked on determining whether one of the ultrasonic sensors in a sensor array is faulty by having an erroneous measurement that is not consistent with the measurements of the other sensors used in the application [9, 10].

Due to these reasons, this paper proposes a method for detecting and identifying a possible bias error in the ultrasonic sensors’ measurements. In the next section, an overview of fault detection theory is given with emphasis on fault detection and identification of ultrasonic sensors’ measurements.

3. Fault Detection and Identification

As mentioned in the previous section, ultrasonic sensors can acquire a bias in their measurement due to various reasons. Some researchers attempted to reduce the bias in the sensor’s readings by estimating the parameters of the reflected sensor’s echo [68]. Since the model of the echo envelope, as given in (1), is nonlinear, their method required linearizing the equation about nominal envelope parameters and subsequently using linearized estimation techniques to obtain updated estimates of the echo envelope parameters, of which the TOF is one. The estimation techniques used were the linearized least-square estimator or the discrete extended Kalman filter. The methods in these studies depend on processing the measurements of only one ultrasonic sensor. If the sensor acquires a large bias error, then a convergence problem is expected in their proposed estimation method [23]. In severe conditions, the linearized estimator might even diverge [23]. On the other hand, this paper proposes a nonlinear sequential method that depends on the simultaneous sampling and processing of the measurements of more than one sensor. Therefore, even if one of the sensors acquires a bias, then the output of the linearized estimator, used in the proposed probabilistic sequential method, will not be much affected.

In [9, 10], authors proposed a method for detecting a failure in some of the ultrasonic sensors used in autonomous mobile robots. The used autonomous robot is equipped with 24 ultrasonic sensors. In their study, a faulty sensor was probabilistically detected by identifying inconsistencies among sensors’ readings. While their study detected the faulty sensor, it did not identify the error in that sensor. In comparison, the proposed method in this paper detects the faulty sensor and identifies the bias error that is incorporated in its measurement. This allows to continue using the sensor by subtracting the identified bias from its measurements. Also, in the current method, only four sensors are needed to detect and identify a possible bias error in the measurement.

Estimating the mean of a random variable with known covariance from a set of two possible hypotheses was first treated through a sequential hypothesis testing methodology in [22]. Independent and identically distributed measurements, , driven by white Gaussian noise are sampled and from which a statistical test is used to detect the correct hypothesis. The test is based on the ratio of the probability of having hypothesis 1 as the correct hypothesis, , to probability of hypothesis 0 as the correct hypothesis, , given all the measurements up to time . This ratio can be shown to be Hypothesis 0 is accepted if this ratio is less than a specified lower threshold. Alternatively, hypothesis 1 is accepted if the above ratio exceeds another specified upper threshold. The used lower and upper thresholds are based on a selected bound for the false alarm probability of declaring hypothesis 0 as the correct hypothesis when hypothesis 1 is the true hypothesis and on the alternative false alarm bound of declaring hypothesis 1 as the correct hypothesis when hypothesis 0 is the true hypothesis.

In the problem addressed in this paper, each sensor can acquire one of five possible bias hypotheses. The bias hypotheses that are considered are a zero bias hypothesis, −10 cm bias hypothesis, −5 cm bias hypothesis, 5 cm bias hypothesis, and a 10 cm bias hypothesis. In addition, the vehicle is equipped with multiple sensors with each possibly incurring a bias. This fact enlarges the hypothesis set even more. Therefore, the proposed approach is based on monitoring the probability of having each hypothesis as the measurements are sampled. This approach is described as follows.

Given a residual at time , with possible fault , it can be shown that the probability of having the fault given residuals through is given by [22] where the fault hypothesis is the event of having a bias , , in one of the ultrasonic sensors’ measurements. Defining , the following is obtained [22]:

or: The residual used in (5) is now formulated and from which the various probability terms that appear in the equation will be obtained. If the range between the ultrasonic sensor i and the obstacle in front of it is given by , then its associated measured range is given by where is the sensor’s measurement noise that is assumed normally distributed with zero mean and covariance , that is, , and is the fault in sensor as defined below (3). If a sensor has a nonzero measurement noise mean, then this noise mean can be compensated for as an added bias fault.

The measurements from all ultrasonic sensors can be put in a vector equation as where is the measurement vector composed from all sensors measurements, is the measurement noise vector composed from all sensors’ measurement noise terms, and is the measurements fault vector composed from all sensors’ measurement fault terms. The aim now is to form a residual that is a function of the measurement fault only and is independent of the distance between the sensor and the obstacle. To obtain this residual, an estimate of is first obtained as [23] where is the covariance matrix of the measurement noise vector . The sensors’ measurement noise terms are assumed independent and identically distributed (iid). Therefore, is taken as a diagonal matrix with a value of on the diagonal. Then, the residual is formed as [21] where the annihilator makes the residual independent of . In forming this annihilator, the fact that the measurement noise terms are iid was utilized.

Now, since the annihilator is rank deficient, its inverse is not defined. Therefore, performing a singular value decomposition of gives

where . Therefore, the residual can be written as

Premultiplying the above equation by , the following modified residual is obtained: where is a residual that is independent of with the following conditional mean: where it will be assumed that only one sensor will have a fault at any given time. Defining

the residual covariance can be obtained as where is the th column of . Now, the probability mass function of having the residual given hypothesis can be formulated as At each measurement epoch, the above expression will be evaluated and substituted in (5). All hypotheses will be initialized to be equally probable.

In the next section, the experimental setup used in this study will be described. Also, the model of the ultrasonic sensors that is used to calculate the probabilities of the various hypotheses using (5) will be shown.

4. Experimental Setup and System Model

Figure 1 shows the experimental setup used to validate the algorithm presented in this paper. Four ultrasonic sensors were fixed uniformly along the front of a robot. The sensors used are the Devantech SRF04 ultrasonic sensors. Table 1 lists the specifications of these ultrasonic sensors.

To verify the integrity of the FDI algorithm, the robot was initially aligned to face a wall as shown in Figure 1. In this alignment, all four ultrasonic sensors are measuring the same range .

The measurements of the four sensors can be put in equation form as or, in matrix form, where, as shown in the above equation, is the vector of sensors’ measurements, is a vector of ones, is the vector of sensors’ measurements’ noise, and is the vector of sensors’ measurements bias.

Measurements from the sensors were recorded. A fault was simulated on one of the sensors, and the presented FDI method was used to detect the faulty sensor and the magnitude of the fault as will be shown in the next section.

Subsequently, the robot was aligned at an angle from the wall as shown in Figure 2. In this alignment, each sensor is measuring a different range to the wall. Nevertheless, all measurements are a function of the orientation of the robot relative to the wall. The measurements from the first two sensors are given as But and are related by

where is the distance from the first ultrasonic sensor to the wall and is the separation distance between the sensors, as shown in Figure 2.

Similarly, it is easily shown that Therefore, the measurements of the sensors are formulated to be a nonlinear function of the distance and the distance as: These measurements are linearized about nominal and values to obtain where , , and is the evaluated range of sensor obtained using the nominal values of and . Similarly, the partial derivatives in (23) are evaluated using the nominal values. Therefore, the measurement equation can be written as: where

, , with and are as defined before. Next, the fault hypotheses are defined and the experimental results are shown to validate the performance of the presented algorithm.

5. Experimental Results

To test the performance of the presented algorithm, data was collected from the four ultrasonic sensors with the two robot configurations shown in Figures 1 and 2. Faults of 10 cm, 5 cm, 0 cm, −5 cm, and −10 cm were hypothesized on each sensor. It was assumed that only one sensor will have a fault at any given time. Therefore, a total of 17 hypotheses need to be checked at each time. The hypotheses are defined as Assuming that one sensor will fail at a time is logical since the method is intended to be applied periodically at the start of the vehicle operation once the vehicle is facing a barrier similar to that shown in Figure 1 or 2. Also, the method can be applied in periodic maintenance procedures scheduled for the vehicle. Therefore, once a sensor is detected to have a bias, then that bias can be deducted from the sensor’s measurement and the sensor set is reset to have a null bias state. Nevertheless, the method can incorporate more than one faulty sensor at a time if the number of the sensors would be increased, as an example from 4 to 5, to keep the same amount of redundancy between the sensors. A problem would arise if, in 4 sensors, two acquire the same amount of bias at the same time. In this scenario, it is impossible for the method to decide on the healthy sensors. This is the reason why you need an additional sensor to detect the onset of two failed sensors at a time.

The algorithm starts with setting all hypotheses to be equally probable. As data is sampled, the probability of each hypothesis is sequentially updated. Once the probability associated with a hypothesis reaches a threshold close to 1, the fault associated with that hypothesis is declared. Below, experimental results showing the performance of the proposed algorithm are presented.

Figures 3 through 8 show the performance of the FDI algorithm tested when the robot is in the setup shown in Figure 1. The sensors were sampled in this position and subsequently a possible fault in any of the sensors was detected using the presented algorithm. Initially, no fault was added to the collected data. Therefore, the probability associated with hypothesis , the null hypothesis, should converge to 1. Figures 3 to 5 show the probability associated with some hypotheses in the hypothesis set. It can be seen from Figure 3 that the probability associated hypothesis quickly approaches 1. Figures 4 and 5 show that the probability associated with hypothesis , a bias of 10 cm on sensor 2, and that of hypothesis , −5 cm on sensor 3, respectively, both quickly converge to 0. These results validate the performance of the algorithm in this condition.

Figures 6 through 8 show the performance of the algorithm when a bias of −10 cm was added to the measurements of sensor 4. It can be seen that the probability associated with hypothesis , the null hypothesis, and that of hypothesis , a fault of 10 cm on sensor 1, quickly converge to zero as shown in Figures 6 and 7, respectively. Figure 8 shows that the probability associated with hypothesis , the correct hypothesis, converges to 1.

Figures 9 through 13 show the performance of the algorithm when the robot and the wall are at an angle from each other as shown in Figure 3. First, Figures 9 through 11 show the performance of the algorithm when a bias of −10 cm is added to sensor 3. Figures 9 and 11 show that the probability associated with hypothesis , the null hypothesis, and that associated with hypothesis , a bias of −10 cm on sensor 4, respectively, quickly converge to 0. On the other hand, Figure 10 shows that the probability associated with hypothesis , a bias of −10 cm on the third sensor, approaches 1.0 and therefore is declared the correct hypothesis.

Figures 12 and 13 show the performance of the method when a bias of 5 cm was added to the measurements of sensor 2. Figure 12 shows the probability associated with hypothesis , a bias of −5 cm on sensor 1, quickly converges to 0 probability. On the other hand, Figure 13 shows that the probability associated with hypothesis , a bias of 5 cm on sensor 2, converges to a probability of 1.0. This validates the accuracy of the presented algorithm in detecting a bias in any of the four ultrasonic sensors.

The performance of multihypothesis sequential probability ratio tests (MSPRTs) has been extensively studied in the literature, [2426]. Nevertheless, exact expressions for the tests’ expected stopping time and error probabilities are impossible to obtain except in special cases [24].

The stopping time of the MSPRT is defined as such that for at least one .

From (1), the stopping time can be written as such that

for at least one . The typical design values of is less than one. In this paper, is assumed constant for all values of with a value of 0.02 such that a hypothesis is accepted if its probability exceeds 0.98.

Expressions for the bounds of the expected stopping time of the MSPRTs were obtained in reference [24]. Conditioned on the true hypothesis , with the residual governed by a probability density , the expected stopping time approaches [24]

as , where the Kullback-Leibler distance function, , is given by

In [24], the authors applied the equation above and obtained some numerical results for the first-order approximation of the stopping time of a three-hypothesis test. Higher-order approximations of the expected stopping time were obtained in references [25, 26] and applied for some two-hypothesis tests. Obtaining the expected value of the stopping time for our multihypothesis problem, with 17 hypotheses, is very complicated and beyond the scope of this paper. However, the convergence characteristics of the problem at hand is analyzed numerically in Figures 14 and 15.

In Figure 14, the convergence characteristics of the method are examined by simulating varying measurement noise magnitudes and plotting the probability of the true hypothesis with time. In this test, setup B was used and the true hypothesis was , 5 cm bias on sensor 1. It can be seen that, as the measurement noise is increased, the convergence to a probability of 1 takes more time.

Figure 15 shows a plot of the required measurement epochs for the algorithm’s convergence as a function of the simulated measurement noise covariance. As in Figure 14, the results shown in this figure also belong to setup B and the true hypothesis was , 5 cm bias on sensor 1. The hypothesis was declared as the true hypothesis if its associated probability exceeded 0.98. This choice of threshold is set by the user taking into account the convergence characteristics of the method. The choice for the convergence bounds is discussed in references [19, 20].

It can be shown that, in the mean, the probability of the true hypothesis will asymptotically converge to 1.0. This can be shown from the exponent of 11 evaluated at any given hypothesis : At any given measurement epoch, the expected value of is maximum if hypothesis is the true hypothesis , that is: where denotes the expected value of the random process . Therefore, in the mean, the probability mass function in (16) is maximum when evaluated for the true hypothesis . This will, in the mean, make the probability of hypothesis asymptotically increase in time while the probability associated with all other hypotheses decrease in time as can be seen from (5).

If the true bias in one of the sensors exceeds the maximum bias hypothesis, then it can be seen from (31) that the algorithm will converge to the closest bias hypothesis. Subsequently, this bias will be deducted from the measurement of the sensor at each time and the hypotheses will then be redefined to check for the onset of another sensor’s bias. Therefore, the method will continue to approach the real value of the bias in the sensors. Actually, regardless of which hypothesis the algorithm converged to, the fault hypotheses can be fine tuned around that hypothesis to obtain a more precise value of the true bias in the sensor. Such hypothesis redefinition and testing is feasible in view of the fast convergence characteristics of the algorithm and its small computational complexity as discussed below.

To compare the advantage of the proposed method against existing methods, a test was conducted using setup B where the true bias is simulated to be 8 cm on sensor 3. As listed at the beginning of this section, this bias is not one of the fault hypotheses tested in the algorithm. It rather falls between two hypotheses, namely, and . Figures 16 and 17 show the performance of the algorithm in this test. The figures show that the algorithm initially gives about equal high probabilities to hypotheses and and finally converges to give a probability of about 1.0 to hypothesis . This shows the accuracy and reliability of the proposed algorithm. The same test was repeated but with using only 3 sensors, instead of 4 as proposed by this algorithm, Figures 18 and 19. In this case, and as seen from the figure, the algorithm did not converge to any of the hypotheses close to the true hypotheses. The cause of this is believed to be attributed to the fact that the number of sensors’ measurements is the same as the number of unknowns in the method, namely, , , and , that is, there is no added redundancy. This last test simulates the problem that might be encountered in existing methods if the estimation algorithms used in the method is based on a linearized model.

The computational complexity of the method is small as the method is based on a least squares estimate of the range and the computation of the probability of each hypothesis through an exponential term, (16). Also, the singular value decomposition of a 4 × 4 matrix is not time consuming. The method was timed in MabLab on a Pentium IV platform, and it took less than 0.002 seconds for the processing of the measurements of the 4 sensors and obtaining the probability associated with all the hypotheses.

6. Conclusions

This study proposes a sequential fault detection and identification algorithm for vehicle’s ultrasonic parking sensors. A number of fault hypotheses are initially given equal alarm probability. These probabilities are then updated in time as measurements from sensors are taken. When the probability of a certain hypothesis approaches 1, the fault associated with that hypothesis is declared as the correct fault in the sensor set. Experimental results were shown to verify the accuracy of the algorithm in detecting and identifying the correct fault. The convergence characteristics of the algorithm were demonstrated. The proposed FDI algorithm is essential for ensuring the functionality and safety of operation of these sensors. The algorithm can be applied on vehicles’ periodically scheduled maintenance routines.

Acknowledgments

The author wishes to thank Ahmed Al Nabulsi, Amir H. Jafari, Farouq Al Zaabi, Mohamad Sleiman, and Ahmad AbuHatab, class of the graduate mechatronics graduate course “Applied Linear Estimation,” for collecting the experimental data used in this paper.