IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v11y2023i22p4570-d1275762.html
   My bibliography  Save this article

A CNN-LSTM and Attention-Mechanism-Based Resistance Spot Welding Quality Online Detection Method for Automotive Bodies

Author

Listed:
  • Fengtian Chang

    (Institute of Smart Manufacturing Systems, Chang’an University, Xi’an 710064, China)

  • Guanghui Zhou

    (School of Mechanical Engineering, Xi’an Jiaotong University, Xi’an 710049, China)

  • Kai Ding

    (Institute of Smart Manufacturing Systems, Chang’an University, Xi’an 710064, China)

  • Jintao Li

    (School of Mechanical Engineering, Xi’an Jiaotong University, Xi’an 710049, China)

  • Yanzhen Jing

    (School of Mechanical Engineering, Xi’an Jiaotong University, Xi’an 710049, China)

  • Jizhuang Hui

    (Institute of Smart Manufacturing Systems, Chang’an University, Xi’an 710064, China)

  • Chao Zhang

    (School of Mechanical Engineering, Xi’an Jiaotong University, Xi’an 710049, China)

Abstract

Resistance spot welding poses potential challenges for automotive manufacturing enterprises with regard to ensuring the real-time and accurate quality detection of each welding spot. Nowadays, many machine learning and deep learning methods have been proposed to utilize monitored sensor data to solve these challenges. However, poor detection results or process interpretations are still unaddressed key issues. To bridge the gap, this paper takes the automotive bodies as objects, and proposes a resistance spot welding quality online detection method with dynamic current and resistance data based on a combined convolutional neural network (CNN), long short-term memory network (LSTM), and an attention mechanism. First, an overall online detection framework using an edge–cloud collaboration was proposed. Second, an online quality detection model was established. In it, the combined CNN and LSTM network were used to extract local detail features and temporal correlation features of the data. The attention mechanism was introduced to improve the interpretability of the model. Moreover, the imbalanced data problem was also solved with a multiclass imbalance algorithm and weighted cross-entropy loss function. Finally, an experimental verification and analysis were conducted. The results show that the quality detection accuracy was 98.5%. The proposed method has good detection performance and real-time detection abilities for the in-site welding processes of automobile bodies.

Suggested Citation

  • Fengtian Chang & Guanghui Zhou & Kai Ding & Jintao Li & Yanzhen Jing & Jizhuang Hui & Chao Zhang, 2023. "A CNN-LSTM and Attention-Mechanism-Based Resistance Spot Welding Quality Online Detection Method for Automotive Bodies," Mathematics, MDPI, vol. 11(22), pages 1-19, November.
  • Handle: RePEc:gam:jmathe:v:11:y:2023:i:22:p:4570-:d:1275762
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/11/22/4570/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/11/22/4570/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Wan, Anping & Chang, Qing & AL-Bukhaiti, Khalil & He, Jiabo, 2023. "Short-term power load forecasting for combined heat and power using CNN-LSTM enhanced by attention mechanism," Energy, Elsevier, vol. 282(C).
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. He, Yan & Zhang, Hongli & Dong, Yingchao & Wang, Cong & Ma, Ping, 2024. "Residential net load interval prediction based on stacking ensemble learning," Energy, Elsevier, vol. 296(C).
    2. Peng, Shiliang & Fan, Lin & Zhang, Li & Su, Huai & He, Yuxuan & He, Qian & Wang, Xiao & Yu, Dejun & Zhang, Jinjun, 2024. "Spatio-temporal prediction of total energy consumption in multiple regions using explainable deep neural network," Energy, Elsevier, vol. 301(C).
    3. Jiang, Ben & Li, Yu & Rezgui, Yacine & Zhang, Chengyu & Wang, Peng & Zhao, Tianyi, 2024. "Multi-source domain generalization deep neural network model for predicting energy consumption in multiple office buildings," Energy, Elsevier, vol. 299(C).
    4. Gomez, William & Wang, Fu-Kwun & Lo, Shih-Che, 2024. "A hybrid approach based machine learning models in electricity markets," Energy, Elsevier, vol. 289(C).
    5. Xu, Huifeng & Hu, Feihu & Liang, Xinhao & Zhao, Guoqing & Abugunmi, Mohammad, 2024. "A framework for electricity load forecasting based on attention mechanism time series depthwise separable convolutional neural network," Energy, Elsevier, vol. 299(C).
    6. Moreno, Sinvaldo Rodrigues & Seman, Laio Oriel & Stefenon, Stefano Frizzo & Coelho, Leandro dos Santos & Mariani, Viviana Cocco, 2024. "Enhancing wind speed forecasting through synergy of machine learning, singular spectral analysis, and variational mode decomposition," Energy, Elsevier, vol. 292(C).
    7. Fargalla, Mandella Ali M. & Yan, Wei & Deng, Jingen & Wu, Tao & Kiyingi, Wyclif & Li, Guangcong & Zhang, Wei, 2024. "TimeNet: Time2Vec attention-based CNN-BiGRU neural network for predicting production in shale and sandstone gas reservoirs," Energy, Elsevier, vol. 290(C).
    8. Minan Tang & Changyou Wang & Jiandong Qiu & Hanting Li & Xi Guo & Wenxin Sheng, 2024. "Short-Term Load Forecasting of Electric Vehicle Charging Stations Accounting for Multifactor IDBO Hybrid Models," Energies, MDPI, vol. 17(12), pages 1-19, June.
    9. Huiqun Yu & Haoyi Sun & Yueze Li & Chunmei Xu & Chenkun Du, 2024. "Enhanced Short-Term Load Forecasting: Error-Weighted and Hybrid Model Approach," Energies, MDPI, vol. 17(21), pages 1-22, October.
    10. Gong, Zhipeng & Wan, Anping & Ji, Yunsong & AL-Bukhaiti, Khalil & Yao, Zhehe, 2024. "Improving short-term offshore wind speed forecast accuracy using a VMD-PE-FCGRU hybrid model," Energy, Elsevier, vol. 295(C).
    11. Wang, Jun & Cao, Junxing, 2024. "Reservoir properties inversion using attention-based parallel hybrid network integrating feature selection and transfer learning," Energy, Elsevier, vol. 304(C).
    12. Wang, Han & Yan, Jie & Zhang, Jiawei & Liu, Shihua & Liu, Yongqian & Han, Shuang & Qu, Tonghui, 2024. "Short-term integrated forecasting method for wind power, solar power, and system load based on variable attention mechanism and multi-task learning," Energy, Elsevier, vol. 304(C).
    13. Hu, Likun & Cao, Yi & Yin, Linfei, 2024. "Fractional-order long-term price guidance mechanism based on bidirectional prediction with attention mechanism for electric vehicle charging," Energy, Elsevier, vol. 293(C).
    14. Saini, Priyesh & Parida, S.K., 2024. "A novel probabilistic gradient boosting model with multi-approach feature selection and iterative seasonal trend decomposition for short-term load forecasting," Energy, Elsevier, vol. 294(C).
    15. Yan, Xiuying & Ji, Xingxing & Meng, Qinglong & Sun, Hang & Lei, Yu, 2024. "A hybrid prediction model of improved bidirectional long short-term memory network for cooling load based on PCANet and attention mechanism," Energy, Elsevier, vol. 292(C).
    16. Tian, Zhirui & Liu, Weican & Jiang, Wenqian & Wu, Chenye, 2024. "CNNs-Transformer based day-ahead probabilistic load forecasting for weekends with limited data availability," Energy, Elsevier, vol. 293(C).
    17. Dong, Juan & Xing, Liwen & Cui, Ningbo & Zhao, Lu & Guo, Li & Wang, Zhihui & Du, Taisheng & Tan, Mingdong & Gong, Daozhi, 2024. "Estimating reference crop evapotranspiration using improved convolutional bidirectional long short-term memory network by multi-head attention mechanism in the four climatic zones of China," Agricultural Water Management, Elsevier, vol. 292(C).
    18. Li, Shoujiang & Wang, Jianzhou & Zhang, Hui & Liang, Yong, 2024. "Enhancing hourly electricity forecasting using fuzzy cognitive maps with sample entropy," Energy, Elsevier, vol. 298(C).
    19. Zhang, Chengyu & Luo, Zhiwen & Rezgui, Yacine & Zhao, Tianyi, 2024. "Enhancing building energy consumption prediction introducing novel occupant behavior models with sparrow search optimization and attention mechanisms: A case study for forty-five buildings in a univer," Energy, Elsevier, vol. 294(C).
    20. Farid Moazzen & M. J. Hossain, 2024. "Multivariate Deep Learning Long Short-Term Memory-Based Forecasting for Microgrid Energy Management Systems," Energies, MDPI, vol. 17(17), pages 1-16, August.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:11:y:2023:i:22:p:4570-:d:1275762. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.