中国机械工程 ›› 2026, Vol. 37 ›› Issue (9): 2326-2333.DOI: 10.3969/j.issn.1004-132X.2026.09.025
• 先进材料加工工程 • 上一篇
收稿日期:2025-05-20
出版日期:2026-09-25
发布日期:2026-10-21
通讯作者:
吴玮
作者简介:熊鑫,男,1999年生,硕士研究生。研究方向为电阻点焊质量检测方法。E-mail:2175891536@qq.com基金资助:
XIONG Xin(
), WU Wei(
), DU Jie, XIANG Cipei
Received:2025-05-20
Online:2026-09-25
Published:2026-10-21
Contact:
WU Wei
摘要:
针对机器视觉技术对电阻点焊表面的油污、反光、曲面等因素敏感,使得图像处理困难和分割精度低等问题,提出一种基于深度学习的语义分割方法,通过改进DeepLabv3+模型实现对焊点图像特征的智能分割、识别与分类。实验结果表明:采用MobileNetV3-Large作为主干网络实现了模型轻量化;添加改进的CBAM-change注意力模块提高了模型的分割性能;改进后的DeepLabv3+模型的平均交并比达到92.15%、F1分数达到95.86%、准确率达到99.81%、处理单张焊点图像的平均时间为26.24 ms,可实现白车身焊点缺陷精准分割。
中图分类号:
熊鑫, 吴玮, 杜洁, 向词裴. 基于改进DeepLabv3+模型的电阻点焊表面缺陷检测方法[J]. 中国机械工程, 2026, 37(9): 2326-2333.
XIONG Xin, WU Wei, DU Jie, XIANG Cipei. A Method for Surface Defect Detection in Resistance Spot Welding Based on an Improved DeepLabv3+ Model[J]. China Mechanical Engineering, 2026, 37(9): 2326-2333.
| 参数名称 | 数值范围 |
|---|---|
| 电流/kA | 6~12 |
| 时间/ms | 100~300 |
| 压力/kN | 5~7 |
表1 实验工艺参数
Tab.1 Experimental process parameters
| 参数名称 | 数值范围 |
|---|---|
| 电流/kA | 6~12 |
| 时间/ms | 100~300 |
| 压力/kN | 5~7 |
| 模型 | ImIoU/% | F1分数/% | 准确率A/% | 时间t/ms | |
|---|---|---|---|---|---|
| 1 | 91.79 | 95.64 | 99.80 | 31.37 | |
| 2 | 87.79 | 93.99 | 99.70 | 21.07 | |
| 3 | 90.17 | 94.82 | 99.77 | 26.09 | |
| 4 | 91.06 | 95.26 | 99.78 | 26.38 | |
| 5 | 92.15 | 95.86 | 99.81 | 26.24 | |
表2 模型改进结果对比
Tab.2 Comparison results of model improvement
| 模型 | ImIoU/% | F1分数/% | 准确率A/% | 时间t/ms | |
|---|---|---|---|---|---|
| 1 | 91.79 | 95.64 | 99.80 | 31.37 | |
| 2 | 87.79 | 93.99 | 99.70 | 21.07 | |
| 3 | 90.17 | 94.82 | 99.77 | 26.09 | |
| 4 | 91.06 | 95.26 | 99.78 | 26.38 | |
| 5 | 92.15 | 95.86 | 99.81 | 26.24 | |
| 模型 | ImIoU/% | F1分数/% | 准确率A/% | 参数量/106 | GFLOPs |
|---|---|---|---|---|---|
| U-Net | 92.13 | 95.89 | 99.82 | 43.934 | 184.737 |
| PSPNet | 88.53 | 93.82 | 99.70 | 2.377 | 6.034 |
| HrNet | 92.72 | 96.17 | 99.83 | 9.642 | 37.487 |
| DeepLabv3+(Ours) | 92.15 | 95.86 | 99.81 | 4.923 | 16.700 |
表3 不同模型结果对比
Tab.3 Comparison of results of different models
| 模型 | ImIoU/% | F1分数/% | 准确率A/% | 参数量/106 | GFLOPs |
|---|---|---|---|---|---|
| U-Net | 92.13 | 95.89 | 99.82 | 43.934 | 184.737 |
| PSPNet | 88.53 | 93.82 | 99.70 | 2.377 | 6.034 |
| HrNet | 92.72 | 96.17 | 99.83 | 9.642 | 37.487 |
| DeepLabv3+(Ours) | 92.15 | 95.86 | 99.81 | 4.923 | 16.700 |
| [1] | CHUENMEE N, PHOTHI N, CHAMNIPRASART K, et al. Machine Learning for Predicting Resistance Spot Weld Quality in Automotive Manufacturing[J]. Results in Engineering, 2025, 25: 103570. |
| [2] | XIAO Meng, YANG Bo, WANG Shilong, et al. A Feature Fusion Enhanced Multiscale CNN with Attention Mechanism for Spot-welding Surface Appearance Recognition[J]. Computers in Industry, 2022, 135: 103583. |
| [3] | XIAO Meng, YANG Bo, WANG Shilong, et al. Fine Coordinate Attention for Surface Defect Detection[J]. Engineering Applications of Artificial Intelligence, 2023, 123: 106368. |
| [4] | LONG J, SHELHAMER E, DARRELL T. Fully Convolutional Networks for Semantic Segmentation[C]∥2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR). IEEE, 2015: 3431-3440. |
| [5] | XIAO Xiaoyang, ZHAO Yuqian, ZHANG Fan, et al. BASeg: Boundary Aware Semantic Segmentation for Autonomous Driving[J]. Neural Networks, 2023, 157: 460-470. |
| [6] | LIU Yang, WANG Yongfu, LI Qiansheng. Lane Detection Based on Real-time Semantic Segmentation for End-to-end Autonomous Driving under Low-light Conditions[J]. Digital Signal Processing, 2024, 155: 104752. |
| [7] | WEI Kan, DAI Jinkun, HONG Danfeng, et al. MGFNet: an MLP-dominated Gated Fusion Network for Semantic Segmentation of High-resolution Multi-modal Remote Sensing Images[J]. International Journal of Applied Earth Observation and Geoinformation, 2024, 135: 104241. |
| [8] | GONG Zhi, DUAN Lijuan, XIAO Fengjin, et al. MSAug: Multi-strategy Augmentation for Rare Classes in Semantic Segmentation of Remote Sensing Images[J]. Displays, 2024, 84: 102779. |
| [9] | WANG Haonan, CAO Peng, YANG Jinzhu, et al. Narrowing the Semantic Gaps in U-Net with Learnable Skip Connections: The Case of Medical Image Segmentation[J]. Neural Networks, 2024, 178: 106546. |
| [10] | LIU Xiaoxiao, ZHAO Yan, WANG Shigang, et al. Mambav3d: a Mamba-based Virtual 3D Module Stringing Semantic Information between Layers of Medical Image Slices[J]. Displays, 2024, 85: 102890. |
| [11] | SUN Haohan, XIA Liqian, ZHOU Yihu, et al. Online Detection and Evaluation of Weld Surface Defects Based on Lightweight Network VGG16-UNet and Laser Scanning[J]. Journal of Manufacturing Processes, 2024, 129: 292-306. |
| [12] | XU H, YAN Z H, JI B W, et al. Defect Detection in Welding Radiographic Images Based on Semantic Segmentation Methods[J]. Measurement, 2022, 188: 110569. |
| [13] | REDMON J, FARHADI A. Yolov3: an Incremental Improvement[J]. Arxiv Preprint Arxiv,2018:1804.02767 . |
| [14] | CHEN L C, ZHU Yukun, PAPANDREOU G, et al. Encoder-decoder with Atrous Separable Convolution for Semantic Image Segmentation[C]∥Computer Vision – ECCV 2018. Cham: Springer, 2018: 833-851. |
| [15] | CHOLLET F. Xception: Deep Learning with Depthwise Separable Convolutions[C]∥2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR). IEEE, 2017: 1800-1807. |
| [16] | SANDLER M, HOWARD A, ZHU Menglong, et al. MobileNetV2: Inverted Residuals and Linear Bottlenecks[C]∥2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition. IEEE, 2018: 4510-4520. |
| [17] | HOWARD A G, ZHU M, CHEN B, et al. MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications[J]. Arxiv Preprint Arxiv, 2017:1704.04861. |
| [18] | HOWARD A, SANDLER M, CHEN Bo, et al. Searching for MobileNetV3[C]∥2019 IEEE/CVF International Conference on Computer Vision (ICCV). IEEE, 2019: 1314-1324. |
| [19] | HU Jie, SHEN Li, SUN Gang. Squeeze-and-excitation Networks[C]∥2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition. IEEE, 2018: 7132-7141. |
| [20] | WOO S, PARK J, LEE J Y, et al. CBAM: Convolutional Block Attention Module[C]∥Computer Vision-ECCV 2018. Cham: Springer, 2018: 3-19. |
| [21] | RONNEBERGER O, FISCHER P, BROX T. U-Net: Convolutional Networks for Biomedical Image Segmentation[C]∥Medical Image Computing and Computer-Assisted Intervention – MICCAI 2015. Cham: Springer, 2015: 234-241. |
| [22] | ZHAO Hengshuang, SHI Jianping, QI Xiaojuan, et al. Pyramid Scene Parsing Network[C]∥2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR). IEEE, 2017: 6230-6239. |
| [23] | SUN Ke, ZHAO Yang, JIANG Borui, et al. High-resolution Representations for Labeling Pixels and Regions[EB/OL]. 2019: arXiv: 1904.04514. |
| [1] | 唐昆, 彭海滨, 朱勇建, 张航, 曾钢, 肖宏超, 周小杰, 唐伟东, 张明军, 毛聪. 基于改进重建网络的镁合金激光焊缝缺陷检测[J]. 中国机械工程, 2026, 37(7): 1624-1634. |
| [2] | 胡新宇, 张骏巍, 艾佳, 李云翎, 严爽. 一种自适应目标区域提取的小样本丝印字符缺陷检测方法[J]. 中国机械工程, 2025, 36(12): 2968-2977. |
| [3] | 熊烨成, 刘海生, 王中任, 史铁林, 夏海, 杨洪波. 基于DeepLab-高效多尺度卷积注意力解码器的全位置焊接熔池识别与偏差测量方法[J]. 中国机械工程, 2025, 36(12): 2993-3001. |
| [4] | 王俊, 高贵兵. 基于改进YOLOv5s的风电叶片表面缺陷检测方法[J]. 中国机械工程, 2025, 36(09): 2108-2116. |
| [5] | 罗亮1, 2, 郎霄1, 祖国庆2, 张农1, 杨林3, 沈雄伟4. 一种基于改进YOLOv8n的气缸套缺陷检测方法[J]. 中国机械工程, 2025, 36(05): 1054-1064. |
| [6] | 朱传军1, 梁泽启1, 付强1, 张超勇2. 基于距离感知的金属缺陷样本标签分配算法[J]. 中国机械工程, 2024, 35(09): 1634-1641. |
| [7] | 彭宇欣1, 2, 3, 刘省1, 2, 3, 胡心彬1, 2, 3. Ni中间层对6061T6铝合金板/08Al异种金属电阻点焊接头的力学性能及组织的影响[J]. 中国机械工程, 2024, 35(07): 1290-1298. |
| [8] | 李坤航, 张思琦, 吴玮, 胡明卓, 孙娅铃, 熊鑫, 黄宏. 三层异种不等厚钢电阻点焊多场耦合模拟与分析[J]. 中国机械工程, 2023, 34(24): 2996-3003. |
| [9] | 许鹏, 刘柏霖, 陈亚雄. 基于差分柔性涡流探头的铁轨裂纹检测方法[J]. 中国机械工程, 2023, 34(20): 2419-2427. |
| [10] | 杜文杰, 郑慧峰, 张凯胜, 唐佳玄. 多层介质内部缺陷远聚焦成像方法研究[J]. 中国机械工程, 2023, 34(09): 1045-1051. |
| [11] | 李欢, 吕天乐, 夏裕俊, 李永兵. 基于电极位移的点焊飞溅量化评价与自适应控制研究[J]. 中国机械工程, 2022, 33(09): 1025-1033. |
| [12] | 蔡卓越, 涂君, 张旭, 邓志扬, , 吴樵, 宋小春, . 厚壁铝管斜入射线聚焦垂直剪切波电磁超声探头设计[J]. 中国机械工程, 2022, 33(07): 804-810. |
| [13] | 郑立好1, 2;张超群1,2;张庆鑫1, 2;张国涛1, 2;李永兵1, 2. 铝合金电阻点焊碲铬铜电极的寿命研究[J]. 中国机械工程, 2020, 31(21): 2632-2637. |
| [14] | 夏裕俊, 李永兵, 楼铭, 雷海洋. [学科发展]电阻点焊质量监控技术研究进展与分析[J]. 中国机械工程, 2020, 31(01): 100-125. |
| [15] | 周友行;马逐曦;石弦韦;孔拓. HSI颜色空间下的直线导轨表面缺陷检测方法[J]. 中国机械工程, 2019, 30(18): 2179-2184. |
| 阅读次数 | ||||||
|
全文 |
|
|||||
|
摘要 |
|
|||||