Next Article in Journal
Common Best Proximity Point Results for T-GKT Cyclic ϕ-Contraction Mappings in Partial Metric Spaces with Some Applications
Previous Article in Journal
Integrated Inference of Asymmetric Protein Interaction Networks Using Dynamic Model and Individual Patient Proteomics Data
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Novel Analog Circuit Soft Fault Diagnosis Method Based on Convolutional Neural Network and Backward Difference

1
Institute of Information Engineering, Chinese Academy of Sciences, Beijing 100093, China
2
School of Cyber Security, University of Chinese Academy of Sciences, Beijing 100093, China
*
Author to whom correspondence should be addressed.
Symmetry 2021, 13(6), 1096; https://doi.org/10.3390/sym13061096
Submission received: 24 April 2021 / Revised: 8 May 2021 / Accepted: 12 May 2021 / Published: 21 June 2021
(This article belongs to the Section Computer)

Abstract

:
This paper develops a novel soft fault diagnosis approach for analog circuits. The proposed method employs the backward difference strategy to process the data, and a novel variant of convolutional neural network, i.e., convolutional neural network with global average pooling (CNN-GAP) is taken for feature extraction and fault classification. Specifically, the measured raw domain response signals are firstly processed by the backward difference strategy and the first-order and the second-order backward difference sequences are generated, which contain the signal variation and the rate of variation characteristics. Then, based on the one-dimensional convolutional neural network, the CNN-GAP is developed by introducing the global average pooling technical. Since global average pooling calculates each input vector’s mean value, the designed CNN-GAP could deal with different lengths of input signals and be applied to diagnose different circuits. Additionally, the first-order and the second-order backward difference sequences along with the raw domain response signals are directly fed into the CNN-GAP, in which the convolutional layers automatically extract and fuse multi-scale features. Finally, fault classification is performed by the fully connected layer of the CNN-GAP. The effectiveness of our proposal is verified by two benchmark circuits under symmetric and asymmetric fault conditions. Experimental results prove that the proposed method outperforms the existing methods in terms of diagnosis accuracy and reliability.

1. Introduction

With the wide application of electronic systems in aerospace, aircraft, robot, and other fields, improving the stability, security, and maintainability of electronic systems has become a fundamental issue in the circuit field [1]. Analog circuits are an essential part of electronic systems, although only 20% of electronic systems are analog circuits, 80% of electronic system failures are caused by them [2,3]. Therefore, developing an effective analog circuit fault diagnosis method is of great significance for maintaining electronic systems’ reliable operation.
Generally, analog circuit faults can be roughly divided into two categories, i.e., hard faults and soft faults [4]. Hard faults are mainly manifested as the circuit topology changing or the component value extremely exceeding the nominal value, resulting in complete circuit failure, while soft faults are caused by the deviation of the component value from the nominal value [5]. Although these soft faults do not cause the circuit to fail completely, they will ultimately affect the circuit performance. Moreover, due to the tolerance effect of the components and the limited testable nodes, diagnosis of soft faults in analog circuits are very difficult and are more challenging than that of hard faults [6,7]. Thus, this paper mainly focuses on the soft fault diagnosis of analog circuits.
In the past six decades, a large number of analog circuit fault diagnosis studies have been done. These approaches can be roughly classified into model-based methods and data-driven methods. The model-based approach identifies faults by comparing the measured signal response with the output of the circuit model. Thus, it is required to establish an accurate mathematical model of the circuit [8]. However, with the increasing number of circuit components and the higher degree of integration, it is quite difficult to obtain accurate mathematical models of analog circuits [9]. In contrast, data-driven methods diagnose the faults though comparing the current measured circuit signals with the recorded historical circuit signals [10]. Because of their simplicity and easy implementation, data-driven methods are widely used in fault diagnosis of analog circuits.
Reviewing the literature, one of the data-driven methods, i.e., machine learning methods, such as artificial neural networks (ANN) [11,12,13], support vector machines (SVM) [14,15,16,17,18], fuzzy decision trees [19], and so on [20,21,22], are often used for analog circuit fault diagnosis. Yuan et al. [12] used the kurtosis and entropy of signals as the inputs of ANN. Xiao et al. [13] utilized the wavelet transform and kernel principal components analysis (KPCA) to preprocess the signals, and then fed the extracted features into ANN. Chen et al. [14] extracted fault features by wavelet packet analysis and used the quantum genetic algorithm based SVM to diagnose the circuit faults. Song et al. [15] used the fractional Fourier transform as a preprocessor and employed the KPCA to reduce the dimensionality of features, and diagnosed fault components by SVM. Luo et al. [16] adopted the fractional wavelet transform for feature extraction and used the support vector data description for fault diagnosis. In [17], the wavelet packet transform is employed to extract fault features, and the SVM was taken as the fault classifier, which was optimized by an improved whale optimization algorithm. In the above-mentioned studies, fault diagnosis is realized by two steps, that is, feature extraction and fault classification. When the analog circuit complexity increases, discriminative features are hard to identify with traditional feature extraction methods [2]. Consequently, it is difficult to accurately diagnose faults with such features. In addition, the limited structure of ANN makes it hard to learn nonlinear representation in fault diagnosis. As a result, machine learning methods have become the suboptimal method for the analog circuit fault diagnosis.
Recently, deep learning (DL) methods, developed from machine learning methods, have achieved great success in image processing [23], speech recognition [24], and so on. It also attracted significant attention in the analog circuit fault diagnosis field because of its excellent nonlinear transformation and representation learning capacity [4,25,26,27,28]. Zhao et al. [25] utilized the deep belief network (DBN) for fault diagnosis of analog circuit, which directly uses raw time domain response signals as input. Yang et al. [4] adopted the one-dimensional convolutional neural network (1DCNN) for feature extraction and the fault classification. Shokrolahi et al. [26] used the power spectrum density of faulty signals as the input of CNN for Fault detection. However, there are still some deficiencies for DL-based fault diagnosis: (1) For incipient fault diagnosis or diagnosis of complex circuits, the occurred fault has little impact on the output of the circuit, which means that the contained fault information in the raw signal is limited. It is rather difficult for the DL networks to directly extract discriminative fault characteristics from the raw signal. (2) The input of the designed DL networks is fixed. However, in real cases, the measured circuit signals from different circuits are various, so these DL networks are ad-hoc and cannot be applied for other analog circuit fault diagnosis.
To address these deficiencies, this paper proposes to employ the backward difference as the preprocessor and a novel variant of CNN, i.e., convolutional neural network with global average pooling (CNN-GAP) is taken for feature extraction and fault classification. To be specific, the backward difference strategy is firstly used to preprocess the measured raw domain response signals, whereby the first-order and the second-order backward difference sequences are obtained, which contains the signal variation and the rate of variation characteristics. Then, the CNN-GAP is developed by introducing the GAP technique into the 1DCNN network. As GAP calculates a mean value from each input vector, the designed CNN-GAP is able to deal with different lengths of input signals. Moreover, multi-scale signal sequences (i.e., the original sequence, the first-order and the second-order backward difference sequences) are directly fed into the CNN-GAP, where the convolution layers automatically extract features from the multi-scale inputs and adaptively fuse the mined multi-scale features. Finally, the fully connected layer in CNN-GAP outputs the fault diagnosis results. The performance of the proposed method is evaluated by two benchmark circuits, i.e., Sallen-key band-pass filter (SKBPF) circuit and Four-opamp biquad high-pass filter (FOBHPF) circuit. Experimental results indicate that our proposal achieves higher diagnosis accuracy compared with several existing methods.
The main contributions of this paper are summarized as follows:
(1)
A feature extraction method, i.e., backward difference, is introduced for preprocessing the raw signals of analog circuit. The purpose of introducing this strategy is to extract the signal variation and the rate of variation feature, which may be more discriminative than the features contained in the original signal sequences.
(2)
By integrating the GAP technique, the designed CNN-GAP could deal with different lengths of input sequences, which is more practical and promising for different circuits fault diagnosis problems.
(1)
Multi-scale signals are directly fed into the CNN-GAP network, which automatically extracted the circuit fault features and adaptively fused the learned features, without any manual operations. In addition, experimental results demonstrate that the presented solution is more effective for analog circuit fault diagnosis.
The rest of this paper is organized as follows: Section 2 introduces the basic components of the 1DCNN networks. Section 3 details our motivations and the architecture of the proposed method. In Section 4, fault diagnosis experiments are conducted based on two typical benchmark circuits to demonstrate the effectiveness of our proposal. Finally, conclusions and future work are presented in Section 5.

2. The Basic Architecture of 1DCNN

This section provides a brief introduction of the main components of the 1DCNN network.

2.1. Convolutional Layers

The convolutional layers are the key components of 1DCNN which are responsible for the main feature extraction task of the network [29]. The convolution layers perform convolution operation on the input feature maps through a group of convolution kernels [30], whose weights do not change during a convolution process, i.e., weight sharing. The convolution operation of the r-th convolutional layer can be expressed as follows:
x j r = j = 1 M ( r ) x i r 1 k i j r + b j r , i = 1 , 2 , , N ( r ) , j = 1 , 2 , , M ( r )
where x j r 1 and x j r are the j-th input and output feature map, respectively, and b j r represents the bias vector of the j-th convolution kernel. k i j r denotes the j-th convolutional kernel. N ( r ) and M ( r ) are the number of channels of the input and output feature map in the r-th convolutional layer. denotes the convolution operation.

2.2. Batch Normalization and Activation Function

In the network training process, the distribution of features continuously changes, which increases the difficulty of training. Therefore, the batch normalization (BN), a feature normalization technique, is often used to reduce internal covariant shifts [31]. The normalization process of the r-th batch normalization layer can be expressed as follows:
x ¯ r = x r μ B a t c h σ B a t c h 2 . + ε
y r = γ x ¯ r + β
where x r and y r are the input feature map and the normalized feature map, μ B a t c h and σ B a t c h 2 . represent the expectation and the variance of a batch, respectively, ε is a constant and its value is close to 0. γ and β are the learnable scale and shift parameters.
Activation functions are often introduced into DL networks due to their ability of nonlinear transformation [32]. Rectified linear unit (ReLU) is a typical activation function. Many classic networks adopt it because it is easy to calculate and can prevent gradient vanishing. The ReLU function can be expressed as follows:
y = max ( x , 0 )
where x and y are the input and output data.

2.3. Pooling Layer

The pooling layer is able to zoom and map the input feature map, extracting essential features while reducing the dimensionality. Average pooling and maximum pooling are the most frequently used pooling functions. This paper uses the maximum pooling function, and the calculation process of the k-th feature map by the r-th pooling layer is as follows:
y i j k r = max ( y m n k r : i m i + p , j n j + t )
where p and t represent the length and width of the pooling kernel, respectively. After the maximum pooling operation, the maximum value in the range p × t will be retained in the output feature map, which is regarded as the new feature corresponding to this region.

2.4. Fully Connected Layer

The fully connected layer (FC) is usually used as the output layer of 1DCNN. After the multi-layer convolution and pooling operation, the obtained feature maps are generally flattened into a one-dimensional vector, and then fed into the FC layer. The r-th FC layer is calculated as:
x ¯ r = f ( w r x r + b r )
where x r and x ¯ r are the input and the output feature maps. W r denotes the weight of the FC layer, and b r represents the bias.

3. The Proposed Method

This section details the motivations for developing the proposed method. In addition, the architecture of CNN-GAP as well as the procedure of the proposed methods for analog circuit fault diagnosis are elaborated.

3.1. Backward Difference Preprocessing Method

Backward difference is an operation in which each element in the sequence is subtracted from the previous element (except the first element). By performing the backward difference strategy on the circuit signal, the generated the first-order backward difference (FOBD) and the second-order backward difference (SOBD) sequences contain the signal variation and rate of signal variation characteristics. Note that the SOBD sequence is calculated by another backward difference operation on the FOBD sequence. Figure 1 shows the original voltage domain response signal sequence, and the FOBD and the SOBD sequence of the voltage signal in the FOBHPF circuit under single pulse signal input, where Original, Diff1, and Diff2 denote the original, the FOBD and the SOBD sequences, respectively.
As shown in Figure 1, these three kinds of sequences of the FOBHPF circuit show significant differences in the first 20 µs, and the peakedness of the FOBD sequence is larger than that of the original voltage sequence, while the SOBD sequence has the largest peakedness. The position of the peak and the peakedness of the FOBD and SOBD sequences contain the circuit fault information. They may be more discriminative than the fault information implied in the original signal. As aforementioned, in complex circuit systems or incipient circuit fault diagnosis cases, it is hard to accurately classify different fault models because their signal responses are similar to each other. Since the generated FOBD and SOBD sequences have the potential to highlight the fault information over the original signal, this paper employed them for fault diagnosis along with the original signal. Assuming that X = { x 1 , , x t , x T } is the raw domain response signal sequence of the circuit, where T denotes the length of the sequence and x t indicates the t-th element of the output sequence. The FOBD and SOBD sequence can be calculated as follows:
Δ 1 X = { x 1 , x 2 x 1 , , x t x t 1 , , x T x T 1 }
Δ 2 X = { x 1 , x 2 2 x 1 , , x t 2 x t 1 + x t 2 , , x T 2 x T 1 + x T 2 }
where Δ 1 X and Δ 2 X represent the FOBD and SOBD sequence, respectively. Then, these three sequences (the original, FOBD and SOBD sequence) are assembled into a matric X ¯ 3 × T , which is used as the input of the DL network. X ¯ can be expressed as follows:
X ¯ = [ x 1 x 2 x t x T x 1   x 2 x 1   x t x t 1 x T x T 1 x 1 x 2 2 x 1 x t 2 x t 1 + x t 2 x T 2 x T 1 + x T 2 ]

3.2. Convolutional Neural Network with Global Average Pooling (CNN-GAP)

As mentioned above, the length of the output signal sequence is often different from circuit to circuit. This brings a great challenge to the application of conventional DL-based methods since their inputs are usually fixed size. Yang et al. [4] developed three different 1DCNN models for fault diagnosis of the SKBPF, FOBHPF, and leapfrog filter circuit. Obviously, the generalization ability of the proposed methods is insufficient, as it requires to design a new 1DCNN model when applying their approach to the new circuit. In order to make the sequence lengths obtained by different circuits the same, Zhao et al. [25] adopted a smaller sampling interval in the SKBPF circuit and set a larger sampling interval in the FOBHPF circuit. However, a larger sampling interval may cause the critical circuit fault information to be overlooked, and a smaller sampling interval results in more computational cost. In order to better solve this problem, this study introduces the global average pooling (GAP) into the 1DCNN network. As shown in Figure 2, the GAP strategy calculates the average value of each input feature map, thus sequences of different lengths entering the GAP layer will be processed into a numerical value [33]. In addition, it can be seen that there are no parameters in the GAP layer, which can avoid network over-fitting [34]. Assume that the input of the GAP layer is X C × 1 × N , where C and N indicate the number of input channel and the length of feature map, respectively. In the GAP layer, the number of output nodes is equal to the number of input feature maps, and the generated feature map X ¯ is a 1D vector (with a size of C × 1 × 1).
In addition, the designed CNN-GAP uses multi-scale sequences obtained by the backward difference strategy as its inputs. Multi-scale features are automatically extracted and adaptively fused from the inputs in the convolution operation process. Through multiple layers convolution operation, the CNN-GAP could learn the important circuit fault representations and encode high-level fault feature maps. These feature maps are then taken as the input of the GAP layer, which maps the feature maps into a more discriminative feature vector. Finally, fault classification is performed by the fully connected layer based on the obtained feature vector.
In fact, most existing DL-based fault diagnosis methods directly used the raw sequences as inputs, without using any feature extraction methods, and the main reasons are summarized as follows: (1) Traditional feature extraction methods, such as wavelet transform and Fourier transform, more or less ignore some fault information when extracting features. The DL network’s fault diagnosis performance using the extracted features by traditional feature extraction methods as input is even inferior to that of directly using the raw signals as inputs. (2) Most traditional feature extraction methods require manual extraction and selection of some discriminative features, which is time-consuming and laborious tasks. It also requires explicit prior knowledge and specialized knowledge. However, the proposed method is an attempt to combine the DL method with a feature extraction method. Since the original signal sequence and the backward difference sequences are in the CNN-GAP network, non-fault information is ignored, and the network can extract more features. In addition, the feature extraction and fusion, as well as fault classification, are conducted by CNN-GAP, without any manual operations. Thus, the proposed method effectively overcome the above two issues, and the effectiveness of our proposal is verified in Section 4.

3.3. General Procedure of the Proposed Method for Fault Diagnosis

This paper proposes to integrate the backward difference strategy with a variant of CNN, i.e., CNN-GAP, for fault diagnosis of analog circuits. The procedure of the proposed method for fault diagnosis is shown in Figure 3. Firstly, the backward difference strategy is performed on the measured domain response signals, so as to obtain multi-scale signals. Then, the CNN-GAP network is constructed by introducing the GAP technique into the 1DCNN, and it is able to process different lengths of circuit signals. Additionally, multi-scale signals are directly inputted to the CNN-GAP network, and the convolution layer automatically extracted features from multi-channel inputs. Furthermore, the generated feature maps by the last convolution layer are fed into the GAP layer, which calculates a mean value from each channel of the feature map. Finally, the fully connected layer output the final fault diagnosis results.
It is worth mentioning that a fully connected layer is connected behind the GAP layer in the designed CNN-GAP. While there are some existing methods in other fields [35,36], the GAP layer is directly used to replace the entire full connection layer. In such a case, the number of convolution kernels is equal to the number of classes. As for different circuit fault diagnosis, the number of faults is usually various—some of which may contain a few fault models, while others have dozens of fault models. Considering that feature extraction capability of the network may be insufficient if the number of convolution kernels is too small, the designed network sets a fixed number of convolution kernels, making the network have stable performance in different circuit fault diagnosis. Therefore, it is necessary to add a fully connected layer as the output layer.

4. Case Studies Using the Proposed Method

In this section, two representative circuits, i.e., the SKBPF and FOBHPF circuit, are employed to verify the validity of the proposed method.

4.1. Validation Setup and the Structure of the CNN-GAP

In this study, both benchmark circuits are constructed by OrCAD16.6 (Cadence, San Jose, CA, USA), and the designed DL networks are implemented in the Pytorch library. Each experiment is conducted on a computer with the Windows 10 operating system, an Intel(R) Core(TM) i5-10400F CPU, and a GTX 2060 GPU. Moreover, 10 trials were performed for each model to reduce the effect of randomness. The Glorot initialization strategy [37] is adopted for the initialization of the DL networks. The learning rate, as well as batchsize, are set to 0.001 and 64, respectively. All the DL networks are eventually trained for 40 epochs. In addition, two CNN-GAP networks are constructed to verify the effectiveness of the backward difference strategy. One of the CNN-GAP network using the raw domain response sequence as input (denote by CNN-GAP-R), while the other CNN-GAP network was input by multi-scale sequences (denote by CNN-GAP-MS). The detailed information of their structure is shown in Table 1, where the first and the second number in Conv( ) represent the number of convolution kernels and the size of convolution kernels, respectively. In addition, it can be seen that the difference between these two CNN-GAP networks is the number of input channels. Moreover, L in Input( ) represents the length of the input sequence, and NFM in FC( ) indicates the number of fault modes. Note that there is no agreement on how to set these hyperparameters in CNN-GAP, and this paper determines them based on trial-and-error and some popular recommendations.

4.2. Case 1: Sallen–Key Band-Pass Filter Circuit

4.2.1. Simulation Settings and Data Collection

The Sallen–Key band-pass filter (SKBPF) circuit is presented in Figure 4, which includes several resistors and capacitors, and an amplifier. The tolerances of the resistor and capacitor are set to 5% and 10%, respectively. A single pulse signal (amplitude 5 V, pulse width 10 μs) is the input, and the voltage signals of the output the amplifier are collected. In the experiment, nine symmetric and asymmetric fault modes are provided in the circuit, including the non-fault state and eight fault states (C1↑, C1↓, C2↑, C2↓, R2↑, R2↓, R3↑, R3↓), where ↑ represents that the current value of the component is 50% higher than its nominal value, and ↓ denotes 50% lower than that of nominal value.
In addition, the sampling range of time domain response signal is 0–75 μs, and the sampling interval is set to 0.5 μs, so the size of each collected sample is 1 × 150. Each fault mode performs 2000 Monte Carlo analyses, and Figure 5 illustrates one of the time domain response signals for each fault models. In the Monte Carlo analyses of a fault mode, the fault component value varied by exactly 50%, and the parameters of the rest component in the circuit were given different initial values within its 5% or 10% tolerance for R and C values. With nine fault modes defined before, each with 2000 samples, the total number of samples is 18,000. Meanwhile, the Max-Min normalization is used to standardize the data. Finally, 70% of instances for each fault mode are used as the training set, and the rest of the instances are taken as the testing set.

4.2.2. Experimental Results and Analyses

In this section, the effectiveness of the proposed method is verified by the fault diagnosis dataset described in Section 4.2.1. Two existing methods [15,25] are compared in the experiments. In order to make a fair comparison, this paper adopts the same circuit settings as [25], including fault mode, component parameter, tolerance, etc. In addition, this paper uses the diagnosis accuracy to evaluate the fault diagnosis performance, which is the most commonly used indicator to measure classification performance. The diagnosis accuracy is defined as:
Diagnosis   accuracy = T P + T N T P + T N + F P + F N × 100 %
where TP, TN, FP, and FN denote the number of true positive samples, true negative samples, false positive samples, and false negative samples, respectively. The larger the diagnosis accuracy, the better the diagnosis performance. Table 2 lists the comparison results, where the diagnosis results achieved by the CNN-GAP networks are the average diagnosis accuracy of 10 experiments. Meanwhile, the standard deviation results of the CNN-GAP-R and CNN-GAP-MS are also recorded. It is observed that there are no standard deviation results of the methods [15,25] because this indicator was not mentioned in their literature.
As shown in Table 2, CNN-GAP-R, CNN-GAP-MS, and the method in [25] achieve the same results, and they all obtain 100% diagnosis accuracy under each fault model. This is because the structure of SKBPF circuit is relatively simple, which only consists of a few components. When a component value is offset by 50% from its nominal value, the output of the circuit could be greatly affected, making it easy to separate from the other fault models. In addition, the method in [15] gets 98.41% average accuracy, which is worse than that of the other three tested approaches. This may be attributed to the fact that the traditional feature extraction methods have difficulty mining the high-level fault characteristics and result in poor diagnosis results.
To verify the feature extraction ability of the proposed CNN-GAP-MS, the t-distributed stochastic neighbor embedding (t-SNE) technique is used to convert the raw data and the extracted features by CNN-GAP-MS into the three-dimensional maps, which are shown as scatterplots in Figure 6.
As shown in Figure 6a, the raw data of several fault modes are slightly overlapped with that of other fault modes. While Figure 6b shows that the features extracted by CNN-GAP-MS clearly separate the nine fault modes, which is beneficial to fault classification. These results indicate that the proposed method effectively extracts from the raw data of the SKBPF circuit.

4.2.3. Fault Diagnosis of Incipient Faults

In Section 4.2.1, the fault value, which is offset by 50% from its nominal value, is selected for a fair comparison with the experiments’ results in [25]. In this section, the proposed method is applied to incipient fault diagnosis to verify its effectiveness further. The same as Section 4.2.1, nine fault models are set in the circuit, that is, non-fault state and eight fault states (C1↑20, C1↓20, C2↑20, C2↓20, R2↑20, R2↓20, R3↑20, R3↓20). However, ↑20 and ↓20 denote that the real value of the component is 20% higher and lower than its nominal value. Moreover, other circuit settings and all the experiment settings remain the same as Section 4.2.1. The method in [25] is also compared with the proposed approaches. The average results of CNN-GAP-R and CNN-GAP-MS are achieved by ten experiments, as well as the results in [25], are listed in Table 3.
From Table 3, it can be seen that the method in [25] and CNN-GAP-R obtain almost the same average results. With respect to CNN-GAP-MS, its average diagnosis accuracy is close to 100%, which is about 1.8% higher than that of CNN-GAP-R and the method in [25]. This is because the original time domain response signal along with the backward difference sequences are inputted into the CNN-GAP-MS network, where the convolutional layer automatically extracts and fuses the original signal features, signal variation features and the rate of variation features, and the generated feature maps have higher discriminability. Therefore, the proposed CNN-GAP-MS exhibits a better performance in the diagnosis of incipient faults.

4.3. Fault Diagnosis of Four-Opamp Biquad High-Pass Filter Circuit

4.3.1. Simulation Settings and Data Collection

Figure 7 shows the four-opamp biquad high-pass filter (FOBHPF) circuit, which is a more complex analog circuit and is usually utilized to evaluate the performance of fault diagnosis methods. The same as Section 4.2.1, the tolerance of the resistor and capacitor are set to 5% and 10%, respectively. The input of the circuit is a single pulse signal (amplitude 5 V, pulse width 10 μs). In order to compare the proposed approach with the existing methods [15] and [25], the same fault modes are set as those in the circuit, which includes non-fault state and 12 fault states (C1↑, C1↓, C2↑, C2↓, R1↑, R1↓, R2↑, R2↓, R3↑, R3↓, R4↑, R4↓). The notation ↑ denotes that the current value of the component is 50% higher than its nominal value, while ↓ denotes that of the component being 50% lower than its nominal value.
In this circuit, the sampling range of time domain response signal is 0–300 μs, and the sampling interval is 1 μs. Thus, each generated sample has a size of 1 × 300. Similarly, each state was simulated 2000 times under Monte Carlo analysis, and one of the time domain response signals for each fault models is shown in Figure 8. As 13 symmetric and asymmetric fault modes are defined, the entire fault diagnosis dataset contains 26,000 samples in total. Furthermore, all the collected samples are normalized by Max-Min normalization, then these samples are randomly classified into the training set, and the testing set, i.e., 70% samples are taken as the training set and others are used as the testing set.

4.3.2. Experimental Results and Analyses

This section compares the proposed methods with the existing methods [15,25] using the fault diagnosis dataset recorded in Section 4.3.1. It is worth noting that the difference between the CNN-GAP networks used in this section and those used in Section 4.2.2 is only in the number of output units. Table 4 shows the comparison results of each testing method. It can be clearly seen that the method in [15] gets poor performances on fault models (C1↑, C2↑, R2↑) and eventually obtains 95.12% average diagnosis accuracy. In addition, the method in [25] achieves 99.43% average results, which is about 0.38% higher than that of the CNN-GAP-R. However, the CNN-GAP-MS shows the best performance, and its average diagnosis accuracy reaches 99.95%. This case study proves that the proposed method outperforms the compared existing methods for complex analog circuit fault diagnosis.
In addition, the t-SNE technique is utilized to verify the feature extraction capacity of our proposal. As visualized in Figure 7, the raw data in case 2 and the extracted features by CNN-GAP-MS are mapped into three-dimensional maps.
From Figure 9a, it is easy to see that most of the fault modes’ raw data are highly mixed and overlapped, especially for the fault modes (C2↑, C2↓, R4↑, and R4↓). When it comes to Figure 7b, it can be found that almost all the fault modes are separated from others, and only a few overlapped points are generated. These results prove that the proposed method has strong capability on feature extraction of the complex circuit.

4.3.3. Fault Diagnosis of Incipient Faults

In this section, to further evaluate the diagnosis performance of the proposed method on the more complex circuit, the incipient fault diagnosis experiment is conducted on the FOBHPF circuit. Thirteen fault modes are studied, including non-fault state and 12 fault states (C1↑20, C1↓20, C2↑20, C2↓20, R1↑20, R1↓20, R2↑20, R2↓20, R3↑20, R3↓20, R4↑20, R4↓20), where the notation ↑20 denotes that the real value of the component is 20% higher than the nominal value and ↓20 indicates that of the component is 20% lower than its nominal value. The other settings are the same as Section 4.3.1.
Table 5 shows the average fault diagnosis results of the 10 experiments. It can be observed that the CNN-GAP-MS performs significantly better, as its average accuracy is about 6.79% higher than that of the CNN-GAP-R. This is because the fault characteristics implied in the original time domain signal of incipient fault circuit are weak, but these fault characteristics could be highlighted to some extent by the backward difference preprocessing method, which generates the FOBD and SOBD sequences containing the signal variation and rate of signal variation characteristics. With multi-scale inputs (the original signal and the FOBD and SOBD sequences), the CNN-GAP-MS realizes greater fault classification results. However, the proposed CNN-GAP-MS still does not achieve high accuracy on three fault models (non-fault, C2↑20, and R4↑20). In fact, the incipient fault diagnosis of the complex circuit is a considerably difficult task. As fault features of different fault models are confused deeply, it is tough to separate them accurately. Future work should be performed to improve the incipient fault diagnosis accuracy of complex circuits.

5. Conclusions and Future Work

Traditional DL-based fault diagnosis methods of analog circuits require fixed-size inputs, which heavily limited their application ability to different circuits. Moreover, as the conventional DL-based methods directly use the raw time domain signals as inputs, their performance is still inadequate for incipient fault diagnosis or a complex circuit diagnosis. To address these issues, this paper proposes to employ the backward difference to preprocess the measured signals, and a novel variant of CNN, i.e., CNN-GAP, is taken to extract features and diagnose faults. Firstly, based on the backward difference strategy, the first-order and the second-order backward difference sequences of the raw time domain response signals are obtained, which contain the signal variation and the rate of variation characteristics. Then, the GAP technique is introduced into the 1DCNN network, and a better CNN-GAP is yield. The CNN-GAP is able to deal with different lengths of input signals because its GAP layer calculates the mean value of the input vectors. Furthermore, the original signal sequence, as well as the backward difference sequences, are directly fed into the CNN-GAP, while the convolutional layer in CNN-GAP automatically mines fault features and fuses the learned multi-scale features as well. Finally, the fully connected layer outputs the fault diagnosis results. Based on two benchmark circuits, experiments on two cases (i.e., common soft fault diagnosis and incipient fault diagnosis) are conducted to verify the validity of the proposed approach. Comparison results indicate that the proposed method achieves higher diagnosis accuracy and is more reliable than the two existing methods. However, it should be mentioned that the computation cost of the proposed fault diagnosis method is larger than that of the traditional DL-based methods, as it needs to calculate the backward difference sequences and extracts features from them.
In addition, there is still room for improving the fault diagnosis accuracy for incipient fault diagnosis of the complex circuit. In addition, it is a more complicated situation when two circuit elements are both failures in the circuit, but it may happen in real world application. Our future work will focus on incipient fault diagnosis of the complex circuit and diagnosis of two or more fault elements.

Author Contributions

Conceptualization, C.Z.; Investigation, C.Z. and L.W.; Methodology, C.Z.; Supervision, D.Z.; Validation, L.W. and N.M.; Writing—original draft, C.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This work is supported by the National Key Research and Development Program of China.

Acknowledgments

We would like to thank the editors and the anonymous reviewers for their insightful comments and constructive suggestions.

Conflicts of Interest

The authors declare that there is no conflict of interest regarding the publication of this paper.

References

  1. Gao, T.; Yang, J.; Jiang, S. A Novel Incipient Fault Diagnosis Method for Analog Circuits Based on GMKL-SVM and Wavelet Fusion Features. IEEE Trans. Instrum. Meas. 2021, 70, 1–15. [Google Scholar] [CrossRef]
  2. Zhang, C.; He, Y.; Yuan, L.; Xiang, S. Analog Circuit Incipient Fault Diagnosis Method Using DBN Based Features Extraction. IEEE Access 2018, 6, 23053–23064. [Google Scholar] [CrossRef]
  3. Li, F.; Woo, P.-Y. Fault detection for linear analog IC-the method of short-circuit admittance parameters. IEEE Trans. Circuits Syst. I Regul. Pap. 2002, 49, 105–108. [Google Scholar] [CrossRef]
  4. Yang, H.; Meng, C.; Wang, C. Data-Driven Feature Extraction for Analog Circuit Fault Diagnosis Using 1-D Convolutional Neural Network. IEEE Access 2020, 8, 18305–18315. [Google Scholar] [CrossRef]
  5. Vasan, A.S.S.; Long, B.; Pecht, M. Diagnostics and Prognostics Method for Analog Electronic Circuits. IEEE Trans. Ind. Electron. 2013, 60, 5277–5291. [Google Scholar] [CrossRef]
  6. Long, B.; Xian, W.; Li, M.; Wang, H. Improved diagnostics for the incipient faults in analog circuits using LSSVM based on PSO algorithm with Mahalanobis distance. Neurocomputing 2014, 133, 237–248. [Google Scholar] [CrossRef]
  7. Deng, Y.; Shi, Y.; Zhang, W. An Approach to Locate Parametric Faults in Nonlinear Analog Circuits. IEEE Trans. Instrum. Meas. 2011, 61, 358–367. [Google Scholar] [CrossRef]
  8. Liu, Z.; Liu, T.; Han, J.; Bu, S.; Tang, X.; Pecht, M. Signal Model-Based Fault Coding for Diagnostics and Prognostics of Analog Electronic Circuits. IEEE Trans. Ind. Electron. 2017, 64, 605–614. [Google Scholar] [CrossRef]
  9. Kim, K.; Choi, H. High-efficiency high-voltage class F amplifier for high-frequency wireless ultrasound systems. PLoS ONE 2021, 16, e0249034. [Google Scholar] [CrossRef]
  10. He, W.; He, Y.; Li, B. Generative Adversarial Networks With Comprehensive Wavelet Feature for Fault Diagnosis of Analog Circuits. IEEE Trans. Instrum. Meas. 2020, 69, 6640–6650. [Google Scholar] [CrossRef]
  11. Kumar, A.; Singh, A. Fuzzy classifier for fault diagnosis in analog electronic circuits. ISA Trans. 2013, 52, 816–824. [Google Scholar] [CrossRef] [PubMed]
  12. Yuan, L.; He, Y.; Huang, J.; Sun, Y. A New Neural-Network-Based Fault Diagnosis Approach for Analog Circuits by Using Kurtosis and Entropy as a Preprocessor. IEEE Trans. Instrum. Meas. 2009, 59, 586–595. [Google Scholar] [CrossRef]
  13. Xiao, Y.; He, Y. A novel approach for analog fault diagnosis based on neural networks and improved kernel PCA. Neurocomputing 2011, 74, 1102–1115. [Google Scholar] [CrossRef]
  14. Chen, P.; Yuan, L.; He, Y.; Luo, S. An improved SVM classifier based on double chains quantum genetic algorithm and its application in analogue circuit diagnosis. Neurocomputing 2016, 211, 202–211. [Google Scholar] [CrossRef]
  15. Song, P.; He, Y.; Cui, W. Statistical property feature extraction based on FRFT for fault diagnosis of analog circuits. Analog. Integr. Circuits Signal Process. 2016, 87, 427–436. [Google Scholar] [CrossRef]
  16. Luo, H.; Wang, Y.; Cui, J. A SVDD approach of fuzzy classification for analog circuit fault diagnosis with FWT as preprocessor. Expert Syst. Appl. 2011, 38, 10554–10561. [Google Scholar] [CrossRef]
  17. Yuan, X.; Miao, Z.; Liu, Z.; Yan, Z.; Zhou, F. Multi-Strategy Ensemble Whale Optimization Algorithm and Its Application to Analog Circuits Intelligent Fault Diagnosis. Appl. Sci. 2020, 10, 3667. [Google Scholar] [CrossRef]
  18. Zhang, A.; Chen, C.; Jiang, B. Analog circuit fault diagnosis based UCISVM. Neurocomputing 2016, 173, 1752–1760. [Google Scholar] [CrossRef]
  19. Cui, Y.; Shi, J.; Wang, Z. Analog circuits fault diagnosis using multi-valued Fisher’s fuzzy decision tree (MFFDT). Int. J. Circ. Theor. App. 2016, 44, 240–260. [Google Scholar] [CrossRef]
  20. Luo, H.; Lu, W.; Wang, Y.; Wang, L.; Zhao, X. A novel approach for analog fault diagnosis based on stochastic signal analysis and improved GHMM. Measurement 2016, 81, 26–35. [Google Scholar] [CrossRef]
  21. Xu-Sheng, G.; Wen-Ming, G.; Zhe, D.; Wei-Dong, L. Research on WNN soft fault diagnosis for analog circuit based on adaptive UKF algorithm. Appl. Soft Comput. 2017, 50, 252–259. [Google Scholar] [CrossRef]
  22. Binu, D.; Kariyappa, B.S. RideNN: A New Rider Optimization Algorithm-Based Neural Network for Fault Diagnosis in Analog Circuits. IEEE Trans. Instrum. Meas. 2019, 68, 2–26. [Google Scholar] [CrossRef]
  23. Li, S.; Song, W.; Fang, L.; Chen, Y.; Ghamisi, P.; Benediktsson, J.A. Deep Learning for Hyperspectral Image Classification: An Overview. IEEE Trans. Geosci. Remote Sens. 2019, 57, 6690–6709. [Google Scholar] [CrossRef] [Green Version]
  24. Liu, W.; Wang, Z.; Liu, X.; Zeng, N.; Liu, Y.; Alsaadi, F.E. A survey of deep neural network architectures and their applications. Neurocomputing 2017, 234, 11–26. [Google Scholar] [CrossRef]
  25. Zhao, G.; Liu, X.; Zhang, B.; Liu, Y.; Niu, G.; Hu, C. A novel approach for analog circuit fault diagnosis based on Deep Belief Network. Measurement 2018, 121, 170–178. [Google Scholar] [CrossRef]
  26. Shokrolahi, S.M.; Karimiziarani, M. A deep network solution for intelligent fault detection in analog circuit. Analog. Integr. Circuits Signal Process. 2021, 107, 597–604. [Google Scholar] [CrossRef]
  27. Deng, Y.; Zhou, Y. Fault Diagnosis of an Analog Circuit Based on Hierarchical DVS. Symmetry 2020, 12, 1901. [Google Scholar] [CrossRef]
  28. Liu, Z.; Jia, Z.; Vong, C.-M.; Bu, S.; Han, J.; Tang, X. Capturing High-Discriminative Fault Features for Electronics-Rich Analog System via Deep Learning. IEEE Trans. Ind. Inform. 2017, 13, 1213–1226. [Google Scholar] [CrossRef]
  29. Wang, B.; Lei, Y.; Li, N.; Yan, T. Deep separable convolutional network for remaining useful life prediction of machinery. Mech. Syst. Signal Process. 2019, 134, 106330. [Google Scholar] [CrossRef]
  30. Krizhevsky, A.; Sutskever, I.; Hinton, G.E. Imagenet classification with deep convolutional neural networks. Commun. ACM 2012, 60, 1097–1105. [Google Scholar] [CrossRef]
  31. Ioffe, S.; Szegedy, C. Batch normalization: Accelerating deep network training by reducing internal covariate shift. arXiv 2015, arXiv:1502.03167. [Google Scholar]
  32. LeCun, Y.; Bengio, Y.; Hinton, G. Deep learning. Nature 2015, 521, 436–444. [Google Scholar] [CrossRef] [PubMed]
  33. Zhao, M.; Zhong, S.; Fu, X.; Tang, B.; Pecht, M. Deep Residual Shrinkage Networks for Fault Diagnosis. IEEE Trans. Ind. Inform. 2019, 16, 4681–4690. [Google Scholar] [CrossRef]
  34. Peng, D.; Wang, H.; Liu, Z.; Zhang, W.; Zuo, M.J.; Chen, J. Multibranch and Multiscale CNN for Fault Diagnosis of Wheelset Bearings under Strong Noise and Variable Load Condition. IEEE Trans. Ind. Inform. 2020, 16, 4949–4960. [Google Scholar] [CrossRef]
  35. Zhang, D.; Stewart, E.; Ye, J.; Entezami, M.; Roberts, C. Roller Bearing Degradation Assessment Based on a Deep MLP Convolution Neural Network Considering Outlier Regions. IEEE Trans. Instrum. Meas. 2020, 69, 2996–3004. [Google Scholar] [CrossRef]
  36. Li, S.; Wang, H.; Song, L.; Wang, P.; Cui, L.; Lin, T. An adaptive data fusion strategy for fault diagnosis based on the convolutional neural network. Measurement 2020, 165, 108122. [Google Scholar] [CrossRef]
  37. Glorot, X.; Bengio, Y. Understanding the difficulty of training deep feedforward neural networks. J. Mach. Learn. Res. 2010, 9, 249–256. [Google Scholar]
Figure 1. Three kinds of sequences of the FOBHP filter circuit.
Figure 1. Three kinds of sequences of the FOBHP filter circuit.
Symmetry 13 01096 g001
Figure 2. The basic architecture of the multi-scale convolutional neural network.
Figure 2. The basic architecture of the multi-scale convolutional neural network.
Symmetry 13 01096 g002
Figure 3. General procedure of the proposed method for fault diagnosis.
Figure 3. General procedure of the proposed method for fault diagnosis.
Symmetry 13 01096 g003
Figure 4. Sallen–Key band-pass filter circuit.
Figure 4. Sallen–Key band-pass filter circuit.
Symmetry 13 01096 g004
Figure 5. The time domain response signals for all fault modes in the SKBPF circuit.
Figure 5. The time domain response signals for all fault modes in the SKBPF circuit.
Symmetry 13 01096 g005
Figure 6. Visualization of raw data and extracted features in case 1.
Figure 6. Visualization of raw data and extracted features in case 1.
Symmetry 13 01096 g006
Figure 7. Four-opamp biquad high-pass filter circuit.
Figure 7. Four-opamp biquad high-pass filter circuit.
Symmetry 13 01096 g007
Figure 8. The time domain response signals for all fault modes in the FOBHPF circuit.
Figure 8. The time domain response signals for all fault modes in the FOBHPF circuit.
Symmetry 13 01096 g008
Figure 9. Visualization of raw data and extracted features in case 2.
Figure 9. Visualization of raw data and extracted features in case 2.
Symmetry 13 01096 g009
Table 1. The architecture of CNN-GAP-R and CNN-GAP-MS.
Table 1. The architecture of CNN-GAP-R and CNN-GAP-MS.
CNN-GAP-RCNN-GAP-MS
Input (1 × L)Input (3 × L)
Conv(32, 7), BN, ReLUConv(32, 7), BN, ReLU
Conv(64, 3), BN, ReLUConv(64, 3), BN, ReLU
Conv(64, 3), BN, ReLUConv(64, 3), BN, ReLU
Conv(64, 3), BN, ReLUConv(64, 3), BN, ReLU
GAPGAP
FC(64, NFM)FC(64, NFM)
Table 2. Comparison of diagnosis accuracy for the SKBPF circuit.
Table 2. Comparison of diagnosis accuracy for the SKBPF circuit.
Fault ModelMethod in [15]Method in [25]CNN-GAP-RCNN-GAP-MS
Non-fault97.20100.00100.00100.00
C1↑99.00100.00100.00100.00
C1↓100.00100.00100.00100.00
C2↑96.00100.00100.00100.00
C2↓97.00100.00100.00100.00
R2↑98.00100.00100.00100.00
R2↓100.00100.00100.00100.00
R3↑100.00100.00100.00100.00
R3↓98.57100.00100.00100.00
Average98.41100.00100.00100.00
S.D.--0.000.00
Table 3. Comparison of incipient diagnosis accuracy for the SKBPF circuit.
Table 3. Comparison of incipient diagnosis accuracy for the SKBPF circuit.
Fault ModelMethod in [25]CNN-GAP-RCNN-GAP-MS
Non-fault96.7494.3099.92
C1↑20100.0099.45100.00
C1↓2095.2496.6099.99
C2↑2099.4599.98100.00
C2↓2099.67100.00100.00
R2↑20100.0099.40100.00
R2↓2098.3193.4299.85
R3↑2097.4499.95100.00
R3↓2096.00100.00100.00
Average98.0998.1299.96
S.D.-0.0910.014
Table 4. Comparison of diagnosis accuracy for the FOBHPF circuit.
Table 4. Comparison of diagnosis accuracy for the FOBHPF circuit.
Fault ModelMethod in [15]Method in [25]CNN-GAP-RCNN-GAP-MS
Non-fault98.2098.4494.7099.75
C1↑81.0099.08100.00100.00
C1↓100.00100.0099.8299.96
C2↑89.70100.0099.2399.95
C2↓90.0099.2395.6799.75
R1↑98.00100.0099.91100.00
R1↓100.0099.5799.5199.93
R2↑89.6099.5099.95100.00
R2↓100.0099.5299.67100.00
R3↑90.0099.4199.93100.00
R3↓100.00100.0099.75100.00
R4↑100.0099.2199.90100.00
R4↓100.0098.5899.57100.00
Average95.1299.4399.0599.95
S.D.--0.0470.013
Table 5. Comparison of incipient diagnosis accuracy for the FOBHPF circuit.
Table 5. Comparison of incipient diagnosis accuracy for the FOBHPF circuit.
Fault ModelCNN-GAP-RCNN-GAP-MS
Non-fault37.4167.57
C1↑2099.9799.82
C1↓2074.4793.98
C2↑2070.0274.85
C2↓2064.9887.07
R1↑2087.3797.57
R1↓2077.6590.15
R2↑2085.2597.63
R2↓2071.8889.50
R3↑2094.8293.07
R3↓20100.0099.56
R4↑2087.2848.72
R4↓2099.9899.85
Average80.8587.64
S.D.0.970.21
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Zhang, C.; Zha, D.; Wang, L.; Mu, N. A Novel Analog Circuit Soft Fault Diagnosis Method Based on Convolutional Neural Network and Backward Difference. Symmetry 2021, 13, 1096. https://doi.org/10.3390/sym13061096

AMA Style

Zhang C, Zha D, Wang L, Mu N. A Novel Analog Circuit Soft Fault Diagnosis Method Based on Convolutional Neural Network and Backward Difference. Symmetry. 2021; 13(6):1096. https://doi.org/10.3390/sym13061096

Chicago/Turabian Style

Zhang, Chenggong, Daren Zha, Lei Wang, and Nan Mu. 2021. "A Novel Analog Circuit Soft Fault Diagnosis Method Based on Convolutional Neural Network and Backward Difference" Symmetry 13, no. 6: 1096. https://doi.org/10.3390/sym13061096

APA Style

Zhang, C., Zha, D., Wang, L., & Mu, N. (2021). A Novel Analog Circuit Soft Fault Diagnosis Method Based on Convolutional Neural Network and Backward Difference. Symmetry, 13(6), 1096. https://doi.org/10.3390/sym13061096

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop