基于图像处理的电路板缺陷检测系统设计  被引量:1

Design of circuit board defect detection system based on image processing

在线阅读下载全文

作  者:张立国[1] 雷璇瑞 金梅[1] 吴文哲 宋炳豪 ZHANG Liguo;LEI Xuanrui;JIN Mei;WU Wenzhe;SONG Binghao(School of Electrical Engineering,Yanshan University,Qinhuangdao 066000)

机构地区:[1]燕山大学电气工程学院,秦皇岛066000

出  处:《高技术通讯》2024年第2期209-217,共9页Chinese High Technology Letters

基  金:河北省中央引导地方科技专项(199477141G)资助项目。

摘  要:针对传统电路板缺陷检测多为人工检测、速度较慢且成本较高的问题,本文研究设计了一款以图像处理为基础、利用现场可编程门阵列(FPGA)实现对电路板缺陷准确、高速的检测系统。在传统图像增强算法的基础上提出一种针对不同图像信息采用不同感兴趣区间的方法,增强效果显著;为减少电路板上标识字样对匹配算法计算速度的影响,提出一种去除丝印算法,将电路板上多余的标识字样取消,减少图像匹配的计算量,加快检测的速度;在传统绝对误差和算法(SAD)模板匹配算法的基础上采用去平均值法计算图像信息,减小光照变化带来的影响;将传统2算子Sobel边缘检测扩展到8算子边缘检测,边缘信息更加明显清晰。采用FPGA作为硬件平台,在Vivado开发环境下实现Verilog HDL硬件逻辑语言,下载到FPGA中实现。实验结果表明,系统的平均检测精度为98.53%,检测单张电路板的时间为8.204 s。本系统设计在检测精度和速度上都有明显提升,且造价成本低。Aiming at the problems that the traditional circuit board defect detection features low speed and high cost due to manual detection is,this paper investigates and designs a precise and efficient circuit board defect detection system utilizing image processing techniques implemented on field programmable gate array(FPGA).Through using different interest intervals for different image information on the basis of traditional image enhancement algorithms,the method yields notable improvements in image enhancement.In order to reduce the impact of logo characters on the circuit board's computational efficiency for the matching algorithm,a silkscreen removal technology is used to eliminate the superfluous logo characters on the circuit board to decrease the computational load of image matching and enhance the detection speed.Additionally,adopting the de-averaging method based on the traditional sum of absolute differences(SAD)template matching algorithm to calculate image information to alleviate the impact of lighting variations on the overall performance.The traditional 2-operator Sobel edge detection is extended to 8-operator edge detection,resulting in enhanced clarity and prominence of edge information.Using FPGA as the hardware plat-form,Verilog HDL hardware logic language is implemented in Vivado development environment and subsequently deployed onto the FPGA.The experimental results demonstrate that the system attains an average detection accuracy of 98.53%,and its detection time of single circuit board is 8.204 s.Its system design provides substantial enhancements in both detection accuracy and speed,while maintaining a cost-effective research approach.

关 键 词:图像处理 缺陷检测 去除丝印 模板匹配 现场可编程门阵列(FPGA) 

分 类 号:TP391.41[自动化与计算机技术—计算机应用技术] TN41[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象