摘要
焊接偏差的精确检测是实现焊接机器人焊缝轨迹自动跟踪及智能化焊接的前提。提出了一种基于改进视觉转换器(Vision Transformer,ViT)的熔池识别与焊接偏差在线检测方法。首先,采用轻量级ViT模型Segformer作为基线模型,在其掩码分割前嵌入置换注意力(Shuffle Attention,SA)机制,以更好地捕获特征信息在空间和通道这2个维度中的依赖关系,从而提高模型的分割精度;其次,在多层感知机(Multilayer Perceptron,MLP)中加入上下文广播(Context Broadcasting,CB)模块,在保证模型低参数量的前提下提高泛化能力;最后,基于模型分割结果,提出一种焊接偏差计算方法来定量描述偏差检测精度。实验结果表明,相较于基线模型,所提出模型的平均交并比和平均像素准确率分别提高了2.67%和2.12%,且对于不同预设焊枪偏移情况均具有良好的泛化性,焊接偏差精度控制在±0.021 mm之内,为实现精密焊接焊缝跟踪提供基础。
Accurate detection of welding deviations is a prerequisite for automatic seam tracking and intelligent welding by welding robots.An improved ViT-based method for molten pool recognition and online detection of welding deviation was proposed.Firstly,the lightweight ViT model Segformer was used as the baseline model.The Shuffle Attention(SA)was embedded before mask segmentation to better capture the dependencies of feature information in both spatial and channel dimensions.Thus,the model's segmentation accuracy was enhanced.Secondly,a Context Broadcasting(CB)module was added to the Multilayer Perceptron(MLP)to improve the generalization capability while ensuring low parameters of model.Finally,based on the model segmentation results,a welding deviation calculation method was proposed to quantitatively describe the deviation detection accuracy.The experimental results show that,compared with the baseline model,the mean intersection over union and mean pixel accuracy of proposed model were increased by 2.67%and 2.12%,respectively,and it has good generalization for different preset torch offsets.The welding deviation accuracy was controlled between±0.021 mm,which provided a basis for seam tracking in precision welding.
作者
蒋宇轩
林凯
王瑶祺
张岳
洪宇翔
JIANG Yuxuan;LIN Kai;WANG Yaoqi;ZHANG Yue;HONG Yuxiang(College of Mechanical and Electrical Engineering,China Jiliang University,Hangzhou 310018,China;Key Laboratory of Intelligent Manufacturing Quality Big Data Tracing and Analysis of Zhejiang Province,China Jiliang University,Hangzhou 310018,China)
出处
《现代制造工程》
CSCD
北大核心
2024年第10期130-137,共8页
Modern Manufacturing Engineering
基金
国家自然科学基金项目(51605251)
浙江省自然科学基金项目(LY22E050009)
浙江省教育厅科研资助项目(Y202249427)
浙江省教育厅科研资助项目(Y202147838)
浙江省属高校基本科研业务费专项资金资助项目(2023YW41)。
关键词
焊接偏差
焊缝跟踪
熔池识别
视觉转换器
注意力机制
welding deviation
seam tracking
molten pool recognition
Vision Transformer(ViT)
attention mechanism