安徽科技学院学报2024,Vol.38Issue(6) :62-70.DOI:10.19608/j.cnki.1673-8772.2024.0609

基于STL模型的焊缝横截面提取方法

Extraction method of weld cross section based on STL model

朱明生 吴路路 俞伟锋 熊新炎
安徽科技学院学报2024,Vol.38Issue(6) :62-70.DOI:10.19608/j.cnki.1673-8772.2024.0609

基于STL模型的焊缝横截面提取方法

Extraction method of weld cross section based on STL model

朱明生 1吴路路 2俞伟锋 3熊新炎4
扫码查看

作者信息

  • 1. 安徽工程大学机械工程学院,安徽芜湖 241000
  • 2. 安徽工程大学人工智能学院,安徽芜湖 241000
  • 3. 马鞍山市恒利达机械刀片有限公司,安徽马鞍山 243131
  • 4. 安徽行健智能制造装备股份有限公司,安徽芜湖 241007
  • 折叠

摘要

目的:针对线结构光视觉传感器获取的截面轮廓与焊缝主方向不垂直,不能完全反映焊缝横截面真实形貌的问题,提出一种基于STL模型的焊缝横截面提取方法.方法:以线结构光轮廓传感器采集的原始离散点数据为基础,通过RANSAC算法进行轮廓分割,提取特征点和焊缝边缘,确定焊缝主方向;利用分割后焊缝截面轮廓点拼接焊缝表面三维点云;在此基础上,采用泊松算法对点云进行曲面拟合构建STL模型;采用基于三角形面片位置信息对STL模型进行分层处理,获取焊缝横截面轮廓.结果:对有无缺陷焊缝表面点云数据进行处理,结果表明,所提方法能够准确地提取焊缝横截面轮廓.相较于传统方法,获取的有缺陷焊缝横截面轮廓偏差平均值减少46%,最大值降低28%,标准差减小41%.结论:本方法能够有效提取焊缝横截面,可以解决线结构光视觉传感器获取的截面轮廓与焊缝主方向不垂直,不能完全反映焊缝横截面真实形貌的问题,能够为后续焊缝缺陷识别、损伤评估和修复提供重要数据支撑.

Abstract

Objective:In order to solve the problem that the cross-section profile obtained by the linear structured light vision sensor was not perpendicular to the main direction of the weld and couldnot fully reflect the true morphology of the weld cross-section,a cross-section extraction method of the weld based on the STL model was proposed.Methods:Based on the original discrete point data collected by the line structured light profile sensor,the contour segmentation was carried out by the RANSAC algorithm,the feature points and the edge of the weld were extracted,and the main direction of the weld was determined.The three-dimensional point cloud of the weld surface was spliced by using the cross-sectional contour point of the weld after segmentation.On this basis,the Poisson algorithm was used to fit the surface of the point cloud to construct the STL model.Finally,the STL model was layered based on the position information of the triangular patch to obtain the cross-sectional profile of the weld.Results:The proposed method could accurately extract the cross-sectional profile of the weld by processing the point cloud data with or without defects.Compared with the traditional method,the average cross-sectional profile deviation of the defective weld obtained was reduced by 46%,the maximum value was reduced by 28%,and the standard deviation value was reduced by 41%.Conclusion:The proposed method could effectively extract the cross-section of the weld,which could solve the problem that the cross-section profile obtained by the linear structured light vision sensor was not perpendicular to the main direction of the weld and couldnot fully reflect the true morphology of the weld cross-section,and could provide important data support for subsequent weld defect identification,damage assessment and repair.

关键词

焊缝横截面提取/STL模型/曲面拟合/点云分割/线结构光视觉传感

Key words

Weld cross section extraction/STL model/Surface fitting/Point cloud segmentation/Linear structured light vision sensing

引用本文复制引用

基金项目

国家自然科学基金(52005003)

出版年

2024
安徽科技学院学报
安徽科技学院

安徽科技学院学报

影响因子:0.434
ISSN:1673-8772
段落导航相关论文