Automatic Machining Setup via Deep Learning and Image Processing

Weam A Al-khaleeli, M. M. H. AL-Khafaji, Mazin Al-wswasi
{"title":"Automatic Machining Setup via Deep Learning and Image Processing","authors":"Weam A Al-khaleeli, M. M. H. AL-Khafaji, Mazin Al-wswasi","doi":"10.56294/sctconf2024859","DOIUrl":null,"url":null,"abstract":"Computer Numerical Control (CNC) machines are widely used in different processes, such as milling, turning, drilling, etc., due to their high accuracy, rapidity, and repeatability. While these machines are fully controlled using G-code, the manual setup between the cutting tools and the initial stock can be time-consuming and requires skilled and experienced operators. This study utilizes artificial intelligence, supported by Deep Learning and image processing techniques, to automatically set up the machine by computing the distance between the tool and the workpiece. Firstly, a You Only Look Once (YOLO V4) algorithm has been developed via MATLAB programming specifically for the recognition of tools and workpieces. This algorithm has been trained using 1700 images, which are captured by a Rapoo C260 Webam, in the machine configuration environment for both the tools and workpieces. After recognizing the tool and workpiece, the algorithm provides information in terms of coordinates to specify where these objects are located within the image by drawing bounding boxes around them. Because the edges of the bounding boxes do not accurately depict the actual edges of the tool or the workpiece, the implementation of image processing techniques is necessary to correct these differences and determine the precise distance between the tool and the workpiece. Finally, an automatic G-code correction is generated to adjust the existing G-code, resulting in an automatic machining setup. The proposed methodology has been implemented and evaluated on a CNC turning machine, and it showed promising results in terms of reducing the required machining setup time.","PeriodicalId":270620,"journal":{"name":"Salud, Ciencia y Tecnología - Serie de Conferencias","volume":"83 20","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-06-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Salud, Ciencia y Tecnología - Serie de Conferencias","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.56294/sctconf2024859","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Computer Numerical Control (CNC) machines are widely used in different processes, such as milling, turning, drilling, etc., due to their high accuracy, rapidity, and repeatability. While these machines are fully controlled using G-code, the manual setup between the cutting tools and the initial stock can be time-consuming and requires skilled and experienced operators. This study utilizes artificial intelligence, supported by Deep Learning and image processing techniques, to automatically set up the machine by computing the distance between the tool and the workpiece. Firstly, a You Only Look Once (YOLO V4) algorithm has been developed via MATLAB programming specifically for the recognition of tools and workpieces. This algorithm has been trained using 1700 images, which are captured by a Rapoo C260 Webam, in the machine configuration environment for both the tools and workpieces. After recognizing the tool and workpiece, the algorithm provides information in terms of coordinates to specify where these objects are located within the image by drawing bounding boxes around them. Because the edges of the bounding boxes do not accurately depict the actual edges of the tool or the workpiece, the implementation of image processing techniques is necessary to correct these differences and determine the precise distance between the tool and the workpiece. Finally, an automatic G-code correction is generated to adjust the existing G-code, resulting in an automatic machining setup. The proposed methodology has been implemented and evaluated on a CNC turning machine, and it showed promising results in terms of reducing the required machining setup time.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
通过深度学习和图像处理实现自动加工设置
计算机数控(CNC)机床因其高精度、快速性和可重复性,被广泛应用于铣削、车削、钻孔等不同工艺中。虽然这些机器完全由 G 代码控制,但切削工具和初始毛坯之间的手动设置可能非常耗时,而且需要熟练且经验丰富的操作员。本研究利用人工智能,在深度学习和图像处理技术的支持下,通过计算刀具和工件之间的距离来自动设置机器。首先,通过 MATLAB 编程开发了 "只看一次"(YOLO V4)算法,专门用于识别刀具和工件。该算法使用 Rapoo C260 Webam 在机床配置环境中为刀具和工件采集的 1700 幅图像进行训练。在识别出工具和工件后,该算法会提供坐标信息,通过在其周围绘制边界框来指定这些对象在图像中的位置。由于边界框的边缘并不能准确描述工具或工件的实际边缘,因此有必要采用图像处理技术来纠正这些差异,并确定工具和工件之间的精确距离。最后,生成自动 G 代码修正,以调整现有的 G 代码,从而实现自动加工设置。所提出的方法已在一台数控车床上实施并进行了评估,在减少所需的加工设置时间方面取得了可喜的成果。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
An analysis on the factors of teachers' influence on the musical creativity of college students in Zhejiang University Music Association Fuzzy Clustering Algorithm for Trend Prediction of The Digital Currency Market Situational teaching of emergency language curriculum constructs Case Study on the Advancements in Diagnosis and Treatment Technologies for Military Personnel with Complex Explosive Injuries The mediametaphor of contemporary Ukrainian theatre (based on specialised printed publications of the period of Independence)
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1