摘要本文主要针对了生产实际中电解电容的极性判断问题。首先介绍了使用MATLAB处理电解电容灰度图像。利用电解电容的电极区域与周围背景灰度值的不连续性特点,通过边缘检测,得到了电极的边缘图像。再根据电极近似为圆形,利用Hough变换原理,即利用点与线的对偶性,将图像空间的线段转变为参数空间的点,编写出检测圆的MATLAB程序,得到圆心和半径。最后计算电极区域图像平滑程度,根据正极有丝印,负极没有,在MATLAB平台上,成功解决了电解电容极性判断问题。然后,搭建CPLD硬件平台用于实现这一功能。采用了CMOS摄像头,TLC5510视频ADC芯片,LM1881视频同步分离芯片以及EPM3064A CPLD芯片等构成了一个小型系统。供以后使用Verilog HDL编写程序,实现这一功能。22338
关键词 MATLAB 边缘检测 Hough变换 CPLD
毕业论文设计说明书(论文)外文摘要
Title A Research on the Polarity Judgment of Electrolytic Capacitors Based on a Video Processing CPLD System
Abstract
In this paper, the research polarity judgment of electrolytic capacitors is out forward from industrial processes. First introduced is how to use MATLAB to process the grayscale images of electrolytic capacitors. the edge We obtained the electrode edge image by edge detection according to the discontinuity of gray value between the electrode region and the surrounding background. Then for the electrode is approximately circular, we use Hough transform to acquire the center and radius. The principle of the Hough Transform is that the line in the image space is corresponding with a point in the parameter space. Finally, we calculate the smoothing degree of the electrode area using a MATLAB program. For the positive electrode is printed while the negative electrode not, we successfully resolved the polarity judgment of electrolytic capacitors in the MATLAB platform. Then, we build CPLD hardware platform used to implement this feature, consisting of a CMOS camera, TLC5510 video ADC chip, LM1881 video sync separator chip and EPM3064A CPLD chips. In the future, we will use Verilog HDL programming to achieve this function.
Keywords MATLAB Edge Detection Hough Transform CPLD
目 次
1 绪论 1
1.1 电解电容极性自动判断技术背景及研究意义 1
1.2 电解电容极性自动判断技术国内外发展现状及发展趋势 2
1.3 本文的主要研究内容 2
2 基于MATLAB的图像处理 3
2.1 图像边缘 3
2.2 边缘检测的方法 4
2.3 Hough变换检测圆 8
2.4 图像平滑程度 9
2.5 本章小结 10
3 电容极性判断系统硬件设计 11
3.1 系统总体设计 11
3.2 CMOS摄像头模块 12
3.3 LM1881视频同步分离芯片 12
3.4 TLC5510视频模数转换芯片 14
3.5 EPM3064A CPLD芯片 17
3.6 LD1117电源芯片 20
3.7 本章小结 21
结 论 24
致 谢 25
参考文献26
1 绪论
1.1 电解电容极性自动判断技术背景及研究意义 基于CPLD视频处理的电解电容极性判断技术研究:http://www.youerw.com/tongxin/lunwen_14927.html