You are on page 1of 6

Potentiality of Data Fusion in Analog Circuit Fault

Diagnosis
M. Parai1, K. Ghosh2, H. Rahaman3
School of VLSI Technology, Indian Institute of Engineering Science & Technology
Shibpur, Howrah, India
1
manasparai.rs2016@vlsi.iiests.ac.in
2
kasturighosh@rediffmail.com
3hafizur@vlsi.iiests.ac.in

Abstract— Features extracted from single domain information of analog filter circuits with the help of frequency domain
cannot maximally reveal the state of the circuit since parametric features was also proposed using the same classifier (LS-SVM)
fault features of analog circuits are quantified according to the [11]. Along with conventional time and frequency domain
application of the circuit. To combat this shortcoming, features features, hybrid features like energy features, statistical
from time, frequency, wavelet and statistical domain have been
property features, wavelet features are also used for analog
fused to construct ultimate fault features of the circuit. Data fusion
has been performed in two steps, data whitening and Principal circuit fault diagnosis [8], [10], [12]-[16]. Song et al. used
component analysis (PCA). The fused features are used to train statistical property features to train SVM classifier for fault
SVM classifier for fault diagnosis of analog circuits. The proposed diagnosis in analog circuits [16]. Cui et al. showed the use of
method is illustrated with the example of Sallen-Key band pass wavelet transform coefficients as the trainer of SVM classifier
filter circuit and four OpAmp biquad high pass filter circuit. The [17]. The method adopted by most of the researchers for analog
accuracy of fault classification of the proposed method with fused circuit fault diagnosis using machine learning as a tool is as
features is found considerably higher than that with individual follows. Single type of feature is selected, the dimension of the
domain features. feature set is reduced by dimensionality reduction technique
like PCA and the classifier like SVM is trained using the feature
Keywords— Analog filter, Fault diagnosis, Parametric fault, set with reduced dimension [15]-[16]. However, information
Feature fusion, Principal component analysis, Support Vector from single domain cannot maximally reveal the fault features
Machine of a circuit and thus the fault diagnosis accuracy is not always
I. INTRODUCTION satisfactory [18]. Therefore, to improve the accuracy, it is
necessary to take into account wide range of information to
Fault diagnosis in analog units of analog and mixed signal extract the fault features. However, PCA like dimensionality
integrated circuits is a burning problem in IC industries due to reduction technique cannot be directly applied to the data set
poor fault model, tolerances and non-linear behaviour [1]-[18]. which contains information from different domains. The
In recent past, machine learning based approaches have objective of the present work is to apply fusion of information
contributed significant improvements in the field of analog from multi-domain for fault diagnosis in analog circuit.
circuit fault diagnosis [2], [6], [9], [11]-18]. Two types of faults In this paper, time domain features, frequency domain
are observed in analog circuits, catastrophic (hard) faults and features, wavelet features (in terms of energy), statistical
parametric (soft) faults. Catastrophic faults (mainly open and features of the circuit have been fused to form the fault feature
short faults) are relatively easier to detect since a circuit with set. The fused features are used to train SVM classifier for fault
catastrophic faults trends to malfunction. On the other hand, diagnosis and testing. The proposed method is illustrated with
parametric fault (defined as the deviation of the example of second order Sallen-Key band pass filter and
performance/functional parameters caused by deviation of four opamp biquad high pass filter.
process parameters) are much harder to be detected [3]-[4], [6].
For parametric fault diagnosis, the behaviour/characteristics of II. METHODOLOGY
the circuit should be well known since parametric faults
features in analog circuits are quantified according to the The flowchart of the proposed fault diagnosis method is shown
application of the circuits. The characteristics of the circuit can in Fig. 1. First, it is necessary to define the fault classes of the
be identified by extracting features from time and frequency CUT. In this work, single parametric faults are considered only.
domain responses of the circuit. Thus, in last few decades, Monte-Carlo simulation on the defined parametric fault classes
different time and frequency domain features are used as pre- are performed for impulse response and frequency response.
processor to train the machine learning based fault classifier Time-domain, wavelet-domain and statistical features are
like Support Vector Machine (SVM), Artificial neural network extracted from impulse response. Frequency-domain features
(ANN), etc. and hence to classify the faults [6], [9], [11]-[16]. are obtained from frequency response. Features from four
B. Log et al. reported analog circuit fault diagnosis based on domains are fused with fusion algorithm. SVM is trained with
time domain features using LS-SVM [9] classifier. Diagnostics the fused features for classifying the fault. The accuracy of fault

978-1-7281-7467-9/20/$31.00 ©2020 IEEE

Authorized licensed use limited to: UNIVERSITY OF CONNECTICUT. Downloaded on May 20,2021 at 17:09:34 UTC from IEEE Xplore. Restrictions apply.
classification of the proposed method is compared with the centroid (SF5). All statistical features are extracted from time
methods where SVM is trained with individual domain features. domain analysis i.e. impulse response of the circuit [16].
The considered kernel function of SVM is radial basis function (iv) Frequency domain features:
(RBF). In this work, SPICE simulations are performed to obtain Considered frequency domain features are different for Sallen-
impulse response and frequency responses of the circuits and Key band pass filter and four opamp biquad high pass filter
the data extracted from the simulators are processed with since their frequency responses are of different nature. For
Matlab R2015a. Sallen-Key band pass filter, extracted features (as illustrated in
Fig. 5) are: (a) magnitude at central frequency (FD1) (b) central
frequency (FD2), (c) bandwidth (FD3) (d) phase at central
frequency (FD4).
For four opamp biquad high pass filter, the considered
frequency domain features (illustrated in Fig. 6) are: (a) pass
band gain (FD1), (b) -3dB cut off frequency (FD2), (c) pass
band ripple (FD3) (d) phase at maximum gain (FD4).
B. Fusion of Features
In this work, the collection of data sets of features from
different domain have been fused to obtain a single data set with
reduced total dimensionality which reflects most reliable
shared effects. Data fusion has been performed in two steps.
The first step is called data-whitening where within-data
correlations in each data set have been removed and the data
are scaled so that all dimensions have equal variance. Second
step is to capture the shared variation among the data sets by
applying PCA (Principal Component Analysis) on the column-
wise catenated whitened data set.
Let, Xk, a m x n matrix, is a collection of data set where xij
represents j-th feature of k-th domain for i-th value (obtained
by Monte-Carlo simulation) of particular circuit component.
The whitened version of the data matrix Xk is
Fig. 1 Flow chart of the proposed fault diagnosis method (2)
where is the whitening matrix. According to Mahalnobis
A. Feature Extraction or ZCA whitening,
Features extracted from the impulse response and frequency /
(3)
response of the circuits are enlisted below.
(i) Time domain features: where is the covariance matrix of Xk. In construction of ,
For both types of filters (Sallen-Key band pass filter and four those components are neglected whose variance is less than 5%.
opamp biquad high pass filter), following time domain features Let, Z is the collection of data set, such that
(as illustrated in Fig. 4) are extracted from impulse response of Z= , , , (since four types of features have been
the circuit: (a) signal value at the maximum of the impulse extracted in this work). If CZ is the covariance matrix of Z, then,
response (TD1) (b) signal value at the minimum of the impulse Ʌ (4)
response TD2 (c) width of the impulse response (TD3), and (d) where V is an orthonormal matrix which contains the
time difference between maximum and minimum value of the eigenvectors and Ʌ is a diagonal matrix of projection variances.
impulse response (TD4). Let, Vd corresponds to first d eigevectors with largest
(ii) Wavelet domain features: eigenvalues. Projection of Z on Vd gives d number of principal
To extract wavelet features, the impulse response of the circuit components,
has been decomposed into eight frequency bands. The energy (5)
of each frequency band is calculated as follows. where Pd is of size m x d (where d < n) and represents optimal
d dimensional feature vectors in term of shared variance.
∑ (1)
where are the k-th wavelet coefficients, k=1,2,3,……7,8. m III. SIMULATION RESULTS
is the sampling numbers [14]. The considered wavelet basis The proposed fault diagnosis method has been demonstrated
function is dB4. The wavelet energy associated with each with two test circuits, Sallen-Key band pass filter and four
frequency band construct the feature vector opamp biquad high pass filter, shown in Fig. 2 and 3
, , , , , , , . respectively. The nominal values of the circuit components are
(iii) Statistical features: mentioned in the figures.
The statistical features, which are considered in this work, are
moment (SF1), skewness (SF2), entropy (SF3), kurtosis (SF4),

Authorized licensed use limited to: UNIVERSITY OF CONNECTICUT. Downloaded on May 20,2021 at 17:09:34 UTC from IEEE Xplore. Restrictions apply.
To obtain impulse response, time domain simulations of the The frequency response has been obtained for an AC signal of
circuits are performed with a single pulse of amplitude 5V and magnitude 5V and frequency sweep 0.1KHz – 100KHz. The
duration 10µS as input to the circuits. range of frequency sweep has been chosen so that most of the
frequency domain fault features can be extracted. Impulse
response of Sallen-Key band pass filter circuit with nominal
R2 component value is represented in Fig. 4. The time domain
Vin
R=3 k
Vout features, considered in this work have also been shown in
Figure 4. Frequency response of Sallen-Key band pass filter
R1 C2
R=1 k C=5 nf OP1 R6 10
GMax
GMax-3 dB
R3 R=10 k 5 FD 1

Gain (dB)
V C1 R=1 k 0
-3 dB FD 3

U2=5 V C=5 nf -5

R4 R5 -10
FD 2
R=4 k R=4 k 100

50

Phase (deg,)
0

-50
FD 4
Fig. 2 Sallen-Key band pass filter circuit -100

-150

3 4 5 6
10 10 10 10

Frequency (Hz)

Fig. 5 Frequency response of Sallen-Key band pass filter circuit with nominal
component value and identification of frequency domain features. FD1:
Magnitude at central frequency. FD2: Central frequency, FD3: Bandwidth.
FD4: Phase at central frequency.

circuit with nominal component value is shown in Fig. 5 where


considered frequency domain features are also marked. Fig. 6
represents frequency response of biquad high pass filter circuit
with nominal component value along with the identification of
corresponding frequency domain features.

24

16 FD 3

Pass band gain


Gain (dB)

8
FD 1
Fig. 3 Four opamp biquad high pass filter
0
-dB3
FD 2
3
TD1 -8

VMax 0
2

-50
TD3
Phase (deg,)

1 VMax/sqrt(2)
Vout (V)

-100

0
-150
FD 4

-1 10
3
10
4
10
5

Frequency (Hz)

-2
TD4 TD2
Fig. 6 Frequency response of four opamp biquad high pass filter circuit with
8x10
-5
10
-4
2x10
-4 nominal component value and identification of frequency domain features. FD1:
Time (s) Pass band gain, FD2: -3dB cut off frequency. FD3: Pass band ripple. FD4:
Phase at maximum gain.
Fig. 4 Impulse response of Sallen-Key band pass filter circuit with nominal
component value and identification of time domain features. Td1: Signal value Table I represents the value of the features from four domain
at the maximum of the impulse response. TD2: Signal value at the minimum of
the impulse response. TD3: Width of the impulse response. TD4: Time
for Sellen-Key band pass filter and biquad high pass filter for
difference between maximum and minimum value of the impulse response. their nominal component values. Table II represents considered

Authorized licensed use limited to: UNIVERSITY OF CONNECTICUT. Downloaded on May 20,2021 at 17:09:34 UTC from IEEE Xplore. Restrictions apply.
fault classes of Sallen-Key band pass filter and biquad high pass Thus, F0 or no-fault class include values of ±5% than their
filter. Fault classes are selected according the sensitivity of the nominal values whereas the range is ±10% from nominal value
circuit components i.e. the rate of change of output features for capacitors. In this work, fault classes of resistors include
with the change in values of the circuit components. values 10%-50% lower and higher than their nominal values
TABLE I
whereas the range is 15%-50% for capacitors. 200 data sets are
FEATURE VECTORS OF FILTER CIRCUITS WITH NOMINAL COMPONENT VALUE generated for each fault class mentioned in Table II by Monte-
Carlo simulation. 50% of data set is used as training set for the
Domain Features Filter Circuits classifier and the rest 50% is the test set. Representative sets of
Sallen- Biquad Monte-Carlo simulation of impulse and frequency response for
Key Band High Pass the fault class F2 i.e. R2↓ of Sallen-Key band pass filter are
Pass Filter Filter shown in Figure 7 and 8, respectively.
TD1 (V) 2.87 2.53
Time TD2 (V) -1.83 -1.11
domain
TD3 (µs) 9.0 23.0
TD4 (µs) 11.0 51.0
E1 0.0003 0.0158
E2 0.0113 0.2453
E3 0.1315 0.7501
Wavelet E4 1.8410 2.2619
E5 2.3979 2.7681
E6 48.6961 27.7420
E7 34.9188 61.6171
E8 8.7873 5.8132
SF1 0.4654 -1.6302 Fig. 7 Impulse response of Sallen-Key band pass filter circuit for Monte-Carlo
SF2 2.0314 -1.1226 simulation for the fault class F2 i.e. R2↓.
Statistical
SF3 0.3624 2.8797
SF4 13.6202 8.4310
SF5 0.0022 0.0076
FD1 (dB) 11.5 13.61
Frequency
FD2 (kHz) 36.4 6.502
domain
FD3 83.0 kHz 6.5 dB
FD4 (deg) -2.2 -103.0

R2, R3, C1 and C2 are most sensitive components of Sallen-


Key band pass filter. Similarly, for biquad high pass filter, R1,
R2, R3, R4, C1 and C2 are most sensitive components. The
tolerance values of resistors and capacitors are considered 5%
and 10% respectively.
TABLE II
FAULT CLASSES OF TEST CIRCUITS

Sallen-Key band pass filter Biquad high pass filter


Fault type Fault class Fault type Fault class
No Fault F0 No Fault F0
Fig. 8 Frequency response of Sallen-Key band pass filter circuit for Monte-
R2↑* F1 R1↑ F1
Carlo simulation for the fault class F2 i.e. R2↓.
R2↓* F2 R1↓ F2
R3↑ F3 R2↑ F3
R3↓ F4 R2↓ F4 Figure 9 shows the distribution of first two principal
C1↑ F5 R3↑ F5 components (defined in equation (5)) of fused features for
C1↓ F6 R3↓ F6 Sallen-Key band pass filter. Accuracies (in percentage) of
C2↑ F7 R4↑ F7 classification of faults of different fault classes are computed
C2↓ F8 R4↓ F8 with SVM. Fault classification is also performed using the
- C1↑ F9 features from individual domain. In that case, PCA is applied
- C1↓ F10 to the features of that particular domain and SVM is trained
- C2↑ F11 with the obtained principal components. Accuracies (in
- C2↓ F12 percentage) of classification with individual domain features
*↑ and ↓ imply higher and lower variation than nominal value.

Authorized licensed use limited to: UNIVERSITY OF CONNECTICUT. Downloaded on May 20,2021 at 17:09:34 UTC from IEEE Xplore. Restrictions apply.
are also claculated. Table III shows a comparison of accuracy
of classification of different fault classes using proposed
algorithm of fused features as well as with individual domain
features. It is observed that the accuracy of classification with
proposed fused features are considerably higher than that of
individual domain features. The average accuracy of
classification of Sallen-Key band pass filter with proposed
method is 96.1% whereas the value is 87.7%, 89.6%, 89.8%
and 88.8% for the classification methods with time, frequency,
wavelet and statistical features, respectively.

2
F0 Fig. 10 Impulse response of biquad high pass filter circuit for Monte-Carlo
F1 simulation for the fault class F11 i.e. C2↑
F2
F3
F4
0 F5
F6
F7
PC 2

F8

-2

-4 -2 0 2 4

PC 1
Fig. 9 Distribution of two principal components of fused features of classes
F0-F8 (F0: non-faulty class, F1-F8: fault class) of Sallen-Key band pass filter

TABLE IIII
COMPARISON OF ACCURACY (IN PERCENTAGE) IN DIFFERENT METHODS FOR Fig. 11 Frequency response of biquad high pass filter circuit for Monte-
SALLEN-KEY BAND PASS FILTER CIRCUIT Carlo simulation for the fault class F11 i.e. C2↑

Fault Methods
F0
Class TDF* FDF* WF* SF* Proposed 2 F1
F0 89.0 90.7 90.0 87.1 95.8 F2
F1 88.0 89.7 91.2 88.5 96.4 F3
1 F4
F2 91.6 84.4 89.8 86.9 97.6 F5
F3 88.0 92.8 90.1 89.1 94.1 0
F6
F4 83.1 90.8 82.6 88.2 93.9 F7
PC 2

F8
F5 86.1 88.7 92.2 90.1 97.5 -1 F9
F6 87.7 89.2 92.4 87.9 98.4 F10
F7 90.0 85.6 90.3 93.5 94.4 F11
-2 F12
F8 86.3 94.2 89.9 88.0 96.5
Average -3
87.7 89.6 89.8 88.8 96.1
accuracy -2 -1 0 1 2

*TDF: Time-domain features, FDF: Frequency-domain features, WF: PC 1


Wavelet features, SF: Statistical features
Fig. 12 Distribution of two principal components of fused features of classes
F0-F8 (F0: non-faulty class, F1-F8: fault class) of biquad high pass filter
Figure 10 and 11 represent Monte-Carlo simulation of
impulse and frequency response for the fault class F11 i.e. C2↑
of biquad high pass filter. The distribution of first two principal
components of fused features for biquad high pass filter is
shown in Figure 12. A comparison results for accuracy (in
percentage) of classification among different methods for
different fault classes of biquad high pass filter is shown in
Table IV. In this case also, the accuracy of the proposed method
is found significaltly higher than other existing methods.

Authorized licensed use limited to: UNIVERSITY OF CONNECTICUT. Downloaded on May 20,2021 at 17:09:34 UTC from IEEE Xplore. Restrictions apply.
TABLE IV [2] D. Binu and B. S. Kariyappa, “A survey on fault diagnosis of analog
COMPARISON OF ACCURACY (IN PERCENTAGE) IN DIFFERENT METHODS FOR circuits: Taxonomy and state of the art,” AEU-International Journal of
BIQUAD HIGH PASS FILTER CIRCUIT Electronics and Communications, vol. 73, pp. 68-83, 2017.
[3] Y. Deng, Y. Shi, W. Zhang, “An approach to locate parametric faults in
Methods nonlinear analog circuits,” IEEE Trans Instrum Meas, vol. 61, pp.358-
Fault Class 367, 2012.
TDF* FDF* WF* SF* Proposed
[4] A. D. Spyronasios, M.G. Dimopoulos, A. A. Hatzopoulos, “Wavelet
F0 85.1 84.1 93.9 86.0 94.9 analysis for the detection of parametric and catastrophic faults in mixed-
F1 82.6 85.0 93.6 89.4 91.3 signal circuits,” IEEE Trans Instrum Meas, vol. 60, pp. 2025-2038, 2011.
[5] S. Cherubal and A. Chatterjee, “Parametric fault diagnosis for analog
F2 91.0 84.2 92.1 86.9 94.9 systems using functional mapping,” Design, Automation and Test in
F3 80.3 90.5 88.1 89.4 96.2 Europe Conference and Exhibition, March, 1999.
F4 94.8 91.8 90.6 89.2 98.3 [6] L. Yuan, Y. He, J. Huang and Y. Sun, “A new neural-network-based
fault diagnosis approach for analog circuits by using kurtosis and
F5 86.3 89.1 93.0 91.2 98.4 entropy as a preprocessor,” IEEE Transactions on Instrumentation and
F6 83.1 91.8 87.8 91.1 94.1 Measurement, vol. 59, pp. 586-595, 2009.
F7 89.4 93.8 84.8 88.7 94.6 [7] M. Parai, S. Srimani, K. Ghosh, and H. Rahaman, “Analog Circuit Fault
Detection by Impulse Response-Based Signature Analysis,” Circuits
F8 90.1 90.4 90.6 89.4 97.3 Syst Signal Process (2020).
F9 82.3 91.8 86.3 92.7 96.1 [8] S. Srimani, K. Ghosh and H. Rahaman, "Parametric Fault Detection in
Analog Circuits: A Statistical Approach," 2016 IEEE 25th Asian Test
F10 82.3 92.1 82.9 84.9 97.8 Symposium (ATS), Hiroshima, 2016, pp. 275-280.
F11 84.3 92.0 89.6 89.1 93.3 [9] B. Long, M. Li, H. Wang, and S. Tian, ‘‘Diagnostics of analog circuits
F12 87.9 92.1 90.5 88.9 94.8 based on LS-SVM using time-domain features,’’ Circuits, Syst., Signal
Process., vol. 32, no. 6, pp. 2683–2706, Dec. 2013.
Average [10] S. Srimani, M. K. Parai, K. Ghosh, H. Rahaman, “Parametric fault
86.1 89.9 89.5 89.0 95.5
accuracy detection of analog circuits based on Bhattacharyya measure,” Analog
Integr Circ Sig Process, vol. 93, pp. 477–488, 2017.
*TDF: Time-domain features, FDF: Frequency-domain features, WF: Wavelet [11] B. Long, S. Tian, and H. Wang, ‘‘Diagnostics of filtered analog circuits
features, SF: Statistical features with tolerance based on LS-SVM using frequency features,’’ J. Electron.
Test., vol. 28, no. 3, pp. 291–300, Jun. 2012
IV. CONCLUSIONS [12] A. Arabi, N. Bourouba, A. Belaout and M. Ayad, “An accurate classifier
based on adaptive neuro-fuzzy and feature selection techniques for fault
Analog circuit fault diagnosis with the help of fusion of fault classification in analog circuits,” Integration, the VLSI Journal, vol. 64,
data from time, wavelet, statistical and frequency domain has pp. 50-59, 2019.
been proposed. Fusion has been performed by data whitening [13] Y. Long, Y. Xiong, Y. He, and Z. Zhang, ‘‘A new switched current
and PCA. Fault diagnosis using fused features have been circuit fault diagnosis approach based on pseudorandom test and
preprocess by using entropy and Haar wavelet transform,’’ Analog
demonstrated for Sallen-Key band pass filter and four opamp Integrated Circuits and Signal Processing, vol. 91, no. 3, pp. 445–461,
biquad filter high pass filter. For both of the cases, fault classes Jun. 2017.
are found to be clearly separable in principal component space. [14] Y. Xiaoand and L.Feng, ‘‘A novel linear ridgelet network approach for
The accuracy of the proposed method is also compared with the analog fault diagnosis using wavelet-based fractal analysis and kernel
PCA as preprocessors,’’ Measurement, vol. 45, no. 3, pp. 297–310, Apr.
usually adopted approach where single domain features are 2012.
used to train the classifier. It is shown that the accuracy of the [15] Y. Jiang, Y. Wang and H. Luo, “Fault diagnosis of analog circuit based
proposed approach is significantly higher than the accuracies of on a second map SVDD,” Analog Integrated Circuits and Signal
the methods where single domain features are used. Processing, vol. 85, pp. 395-404, 2015.
[16] P. Song, Y. He and W. Cui, “Statistical property feature extraction based
on FRFT for fault diagnosis of analog circuits, Analog Integrated
Circuits and Signal Processing,” vol. 87 , pp. 427-436, 2016.
REFERENCES [17] J. Cui and Y. R. Wang, “A novel approach of analog circuit fault
diagnosis using support vector machines classifier,” Measurement, vol.
[1] W. G. Fenton, T. M. McGinnity, L.P. Maguire, “Fault diagnosis of
44, pp. 281–289, 2011.
electronic systems using intelligent techniques: A review,” IEEE Trans
[18] T. Xie and Y. He, “Fault Diagnosis of Analog Circuit Based on High-
Syst Man Cybern Part C Appl Rev, vol. 31, pp. 261-81, 2001.
Order Cumulants and Information Fusion,” J Electron Test, vol. 30, pp.
505–514, 2014.

Authorized licensed use limited to: UNIVERSITY OF CONNECTICUT. Downloaded on May 20,2021 at 17:09:34 UTC from IEEE Xplore. Restrictions apply.

You might also like