Fault diagnosis of hybrid circuits based on current testing

Publisher:学海飘香Latest update time:2012-08-08 Source: 21ic Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
With the rapid development of electronic technology and the continuous improvement of manufacturing technology, the complexity of circuits has continued to increase, and the chip size has been reduced, so that more and more mixed signal circuits are integrated on system-level chips, rather than just digital circuits or analog circuits. Due to the different test methods for digital and analog circuits, traditional testing can no longer meet the needs of development, which has brought unprecedented challenges to the designers, users, and maintainers of instruments and equipment, and has also made the detection of digital/analog mixed signal circuits increasingly highly valued by industry insiders. The mixed circuit fault diagnosis based on current testing proposed in this article is proposed in this context.

1 Theoretical knowledge of current testing

Current testing refers to the detection and location of circuit faults by measuring the power supply current and effectively extracting the fault information of the circuit from it. It includes static current testing technology IDDQ and dynamic current testing technology IDDT.

When the circuit is working normally, the static current is very small, but the static current of the defective circuit is very large, so when the static current in the circuit is detected to be abnormal, it can be determined that the circuit has a fault. This is also the principle of IDDQ testing. However, some faults in CMOS circuits, such as open circuit faults, do not cause abnormal static current. Therefore, it is necessary to introduce dynamic current testing here. Based on this, this paper considers the combination of static current and dynamic current testing, rather than a simple static current test. IDDT is a short-term conduction current, that is, during the state transition of the CMOS circuit, the PMOS transistor and the NMOS transistor are turned on at the same time, so that a conduction circuit is formed between the power supply and the ground, as shown in Figure 1. Since IDDT is the change of current in the circuit during the dynamic conversion process, the size of IDDQ does not affect its results. Therefore, this also avoids the impact of the growing static leakage current of deep submicron circuits on the test. This paper studies the importance of the combination of the two in hybrid circuit fault diagnosis.



2 Wavelet Neural Network for Hybrid Circuit Fault Diagnosis
Wavelet Neural Network is a combination of wavelet analysis theory and artificial neural network ANN theory. At present, there are two ways to combine the two:
(1) Loose combination. That is, wavelet analysis is used as a pre-processing method for neural network to provide input feature vectors for neural network.
(2) Tight combination. Wavelet and neural network are directly integrated, that is, wavelet function and scale function form neurons.
This paper adopts a loose combination of wavelet and neural network. First, the normal circuit and fault circuit are modeled and simulated by PSPICE, and the static current IDDQ and dynamic current IDDT parameters are extracted. Wavelet analysis is used in Matlab to extract features of the obtained current, and then combined with neural network for specific analysis. The steps are as follows:
(1) Parameter extraction. Extract the current information of normal circuit and circuits with various faults such as bridge fault and open circuit fault in PSPICE.
(2) Wavelet analysis. The current information obtained in (1) is decomposed by wavelet in Matlab, the wavelet coefficients are extracted, and the RMS is further calculated.
(3) Fault location. The wavelet analysis is combined with the BP neural network to analyze and judge its positioning effect. The specific steps are shown in Figure 2.



3 Hybrid Circuit Fault Diagnosis Example
In PSPICE, a hybrid circuit consisting of 7404 and a common collector amplifier circuit is used to study the fault model, and its circuit model is shown in Figure 3. Through sensitivity analysis, it can be seen that R1, R2, R5, and C1 have a greater impact on the circuit. Four bridge faults and four open circuit faults are set in the circuit, as shown in Table 1. Although the production process causes various circuit defects, various fault models can be used to be equivalent according to the failure mechanism of various defects. For bridge faults, this paper uses a resistor connected between the bridge points to establish a fault model, and the resistance values ​​are 10 Ω, 1 kΩ, and 1 MΩ to correspond to relatively small, approximately equal, and relatively large. For open circuit faults, a 10 MΩ point resistor is connected to the open point to establish a fault model.


3.1 Application of IDDQ in hybrid circuit fault detection
By simulating each fault model in PSPICE, the static current value can be easily obtained. IDDQ can clearly see the difference in leakage current for the bridge fault of the hybrid circuit, but it cannot detect the open circuit fault.
3.2 Application of IDDT in hybrid circuit fault detection
For the dynamic current information of the normal circuit and the open circuit fault obtained in PSPICE, a 5-layer wavelet transform is performed in Matlab to obtain the wavelet coefficient. The difference between them is then reflected by the root mean square error. The root mean square error is defined by formula (1):

Where: Fi is the wavelet coefficient of the open circuit fault; Gi is the wavelet coefficient of the normal circuit; N is the number of wavelet coefficients. The RMS value is obtained by formula (1), see Table 2.


Therefore, through the analysis in the previous two sections, it can be seen that the combination of static current test and dynamic current test can significantly improve the fault coverage of hybrid circuits, which plays a certain guiding role in the future diagnosis of hybrid circuit faults.
3.3 Combination of wavelet feature extraction and BP neural network
(1) Extraction of energy features. The current information of the circuit is decomposed by 5 layers of wavelet to obtain high-frequency wavelet decomposition coefficients and low-frequency wavelet decomposition coefficient vectors (d5, ..., d1, a5). Among them, the extraction of high-frequency coefficients uses the detcoef function in Matlab, while the extraction of low-frequency coefficients uses the appcoef function. Then combine the coefficient vectors into an energy feature vector:
F = (Ed5 ... Ed1, Ea5)
(2) Determine the structure and parameters of the BP neural network. The number of input neurons of the BP neural network is determined by the test node; the number of hidden layers can be roughly estimated by the "trial and error method" and formula (2).

In the formula: m, n and l are the number of hidden layer nodes, input nodes and output nodes respectively; a is an uncertain number between 1 and 10.
After repeated tests, the BP neural network results of this paper are 6-7-4.
(3) Training BP neural network. During circuit simulation, 20 Monte Carlo analyses are performed to generate 20 samples, 10 of which are training samples and the other 10 are test samples. This paper will conduct a total of 4 sets of training. The network training error curve is shown in Figure 4. It can be seen from the figure that the network has reached the target error after 4432 steps of training.


(4) Test the BP neural network to verify the trained BP neural network. The results are shown in Table 3. The detection rate of the wavelet neural network in this paper reaches 95%.



4 Conclusion and Outlook
Traditional fault diagnosis methods such as fault dictionary, sensitivity-based analysis, sub-network tearing method, etc. can solve some testing and diagnosis problems. However, with the widespread application of mixed-signal circuits, high reliability has put forward higher requirements for fault diagnosis. Through this topic, we first know that the combination of static current test and dynamic current test can significantly improve the fault coverage of hybrid circuits; secondly, the combination of wavelet neural network is significantly better than the single neural network method for fault location. From the latest literature, it can also be clearly known that combining two or more fault diagnosis methods has become a development trend of hybrid circuit fault diagnosis.
Although this topic has improved the fault diagnosis rate of hybrid circuits, the production of test vectors, unified modeling of hybrid circuits, and unified analysis of test responses are still a severe challenge for hybrid circuit fault diagnosis.

Reference address:Fault diagnosis of hybrid circuits based on current testing

Previous article:PSpice-assisted design of EMI filters
Next article:Design of high-speed pulse peak holding circuit

Latest Power Management Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号