• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2025, Vol. 47 ›› Issue (1): 35-44.

• High Performance Computing • Previous Articles     Next Articles

Fault diagnosis of analog circuits based on Patches-CNN

WU Yuhong,WANG Jian   

  1. (Faculty of Information Engineering and Automation,
    Kunming University of Science and Technology,Kunming 650504,China)
  • Received:2023-04-19 Revised:2023-12-06 Online:2025-01-25 Published:2025-01-18

Abstract: Deep learning is widely used in fault diagnosis, but currently, deep learning-based fault diagnosis models for analog circuits are relatively complex and difficult to deploy on edge devices. To address this issue and further improve fault diagnosis accuracy, a simple and lightweight deep learning model for analog circuit fault diagnosis, named Patches-CNN, is proposed. Firstly, the input image is divided into patches and transformed into word vectors (tokens) through a Patch Embedding operator, serving as the input for a ViT-style homogeneous structure. Feature extraction and information acquisition among tokens are carried out using the lightweight operator GSConv, which can effectively enhance the fault diagnosis accuracy of the model. Secondly, layer normalization is added to prevent gradient explosion and accelerate model convergence. To increase the nonlinearity of the model, the GELU activation function is employed. Finally, the Sallen-Key band-pass filter circuit and the Four-Opamp biquad high-pass filter circuit are used as experimental subjects. Experimental results demonstrate that this model can achieve accurate fault classification and location.


Key words: analog circuit, fault diagnosis, deep learning, homogeneous structure, layer normalization