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.
Previous article:PSpice-assisted design of EMI filters
Next article:Design of high-speed pulse peak holding circuit
- MathWorks and NXP Collaborate to Launch Model-Based Design Toolbox for Battery Management Systems
- STMicroelectronics' advanced galvanically isolated gate driver STGAP3S provides flexible protection for IGBTs and SiC MOSFETs
- New diaphragm-free solid-state lithium battery technology is launched: the distance between the positive and negative electrodes is less than 0.000001 meters
- [“Source” Observe the Autumn Series] Application and testing of the next generation of semiconductor gallium oxide device photodetectors
- 采用自主设计封装,绝缘电阻显著提高!ROHM开发出更高电压xEV系统的SiC肖特基势垒二极管
- Will GaN replace SiC? PI's disruptive 1700V InnoMux2 is here to demonstrate
- From Isolation to the Third and a Half Generation: Understanding Naxinwei's Gate Driver IC in One Article
- The appeal of 48 V technology: importance, benefits and key factors in system-level applications
- Important breakthrough in recycling of used lithium-ion batteries
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- 【Beetle ESP32-C3】Unboxing
- Dandelion 4G Router Experience
- [Sipeed LicheeRV 86 Panel Review] 13. Using TCP to encapsulate HTTP packets to request weather information
- 28335 Main program error
- Huawei Hongmeng + Alibaba Pingtouge, Runhe Neptune Review (Part 1)
- NMOS controls the negative output
- Introduction to TWS Bluetooth headsets and TI low-power solutions
- A must-know for RF engineers: How to design directional coupler circuits
- DSP Q format operation
- MSP430 Development Considerations and Requirements