李国洪, 乔泽. 基于STM32的焊缝宽度测量系统设计[J]. 制造技术与机床, 2022, (9): 162-166. DOI: 10.19287/j.mtmt.1005-2402.2022.09.025
引用本文: 李国洪, 乔泽. 基于STM32的焊缝宽度测量系统设计[J]. 制造技术与机床, 2022, (9): 162-166. DOI: 10.19287/j.mtmt.1005-2402.2022.09.025
LI Guohong, QIAO Ze. Weld width measurement system design based on STM32[J]. Manufacturing Technology & Machine Tool, 2022, (9): 162-166. DOI: 10.19287/j.mtmt.1005-2402.2022.09.025
Citation: LI Guohong, QIAO Ze. Weld width measurement system design based on STM32[J]. Manufacturing Technology & Machine Tool, 2022, (9): 162-166. DOI: 10.19287/j.mtmt.1005-2402.2022.09.025

基于STM32的焊缝宽度测量系统设计

Weld width measurement system design based on STM32

  • 摘要: 为减少特定焊接场合中的人为参与,实现焊接自动化。以STM32与OV2640等硬件为核心,设计一种焊缝宽度测量系统,通过其自带的数字摄像头DCMI接口来接收摄像头返回的RGB565格式图像,之后对图像进行灰度化、二值化和区域标记等算法处理,最后实时统计出两块钢板之间的像素点,从而计算出两块钢板之间的实际距离。实验数据表明,系统测量误差可控制在2%以内,实现较高精度的焊缝间距测量,为后续实现焊接自动化提供了必要的数据,有望应用于实际工程中。

     

    Abstract: In order to reduce the human participation in specific welding situation, realize welding automation. With STM32 and OV2640 as the core hardware, a weld width measurement system is designed. The RGB565 format image returned by the camera is received through its own DIGITAL camera DCMI interface. Then the image is processed by graying, binarization and regional marking algorithms, and finally the pixels between the two steel plates are counted in real time. The actual distance between the two plates was calculated. Experimental data show that the measurement error of the system can be controlled within 2%, and high precision weld spacing measurement can be achieved, which provides necessary data for the subsequent realization of welding automation, and is expected to be applied in practical engineering.

     

/

返回文章
返回