基于Fusion的条形码图像采集系统设计
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
条形码是一种用印刷图形实现快速计算机输入的技术。通过它可以代替手工录入,降低录入差错,加快人员或商品的流通效率,改善人们的生活。随着电子技术的飞速发展,数字图像处理在人们日常生活中的使用已经越来越普及,在证件条码识别、公安、交通监控、火灾监控、产品识别、防伪等领域都有了广泛的应用。本设计就是基于数字图像处理的数据采集方案,即通过COMS图像传感器采集一维条码、二维条码图像数据信息,将其无损传递到PC机,由PC机对采集到的信息进行运算解码,输出采集码字的详细信息。该产品在国外已经广泛使用,在国内的市场也在不断拓展。身份证、护照、名片以及书籍、消费品等商品上具有的一维条码、二维条码,可经该设备送PC机解码后查询数据库,以鉴别真伪,保护广大群众的切身利益。相对于欧美等相似产品而言,该设计方案不仅成本低,而且由于传输过程的巧妙控制,使其具有广泛的应用前景。
     在本论文的研究课题中,USB固件驱动Micron公司的MT9M112图像传感器取得图像信息,数据在经FPGA(Field Programmable Gate Array)缓冲后用USB (Universal Serial Bus)传输至PC机,供后者解码后进行各种应用。方案利用FPGA的FIFO核(FIFO Core)资源不仅顺利解决了MT9M112和USB因工作频率不同而产生的速率匹配问题,而且将8位图像数据转换为16位,大大加快了数据的传输速率,使PC机得到的数据更加流畅,同时通过对USB(这里采用的是Cypress的EZ USB FX2)增强型51核控制,实现了对MT9M112的亮度、画质、防拖影、以及指示灯等的控制,提高了产品的适应性和识别率。
Bar-code is a technology for printed figures to act as a fast input way to computer. It can replace manual keyboard typing in many fields, thus decrease the possibility of wrong typing, speed-up the flow efficiency of people and goods, and make life better. With the rapid development of electronics technology, digital image processing has being applied in people's daily lives, now the use of it has become more and more popular in the bard-code recognition domain, public security, traffic control, fire control and so on. This design is based on digital image processing of data transformation, in which a CMOS image sensor captures a frame of one dimensional or two dimensional bar-code as image data, then transfer it to a PC. The PC would decode the image data and output the number and characters which the bard-code expresses. The product has been widely used abroad and in the domestic market it is expanding.
     It can be used for identity cards, passports, business cards, books, supermarket products and so on. By PC and the associated databases, the decoded information can be used to identify the authenticity and protect the vital interests of the people. Compared to the similar products manufactured by Europe and the United States, this design not only has lower costs, but also does well in controlling images'transmission. As a result, the decoding process has been accelerated dramatically; it is competitive in the market of bar-code recognition products.
     In this study, the principle of the USB firmware is driving MT9M112, the image sensor presented by Micron, to capture image data and send it to a FPGA (Field Programmable Gate Array) chip, then the data would be transferred to a PC via USB (Universal Serial Bus), get ready for bar-code recognition. The use of the FPGA's program FIFO (or "FIFO Core") core resources not only solve the problem of different operating data rate successfully between MT9M112 and USB interface, but also change the 8-bit image data into 16-bit format, which greatly improves transfer performance. So the PC would get data more fluently. At the same time by taking advantage of the enhanced features of the 51-core offered by Cypress's EZ_USB FX2, we are able to control the MT9M112 brightness, picture quality, as well as light control of the device, etc. In addition, the product is so considerate to facilitate users'operation during our design that we are sure it would be easily accepted by consumers.
引文
[1]中国物品编码中心.条码技术与应用.北京清华大学出版社.2005
    [2]条码与无线射频识别技术:食品供应链系统中跟踪能力与安全的关键应用白皮书
    [3]Hiroko Kato,Keng T.Tan.Pervasive 2D barcodes for camera phone applications. Pervasive computing.2007:76-85
    [4]Sriram T,Rao V K.Applicatins of barcode technology in automated storage & retrieval systems.IECON Proceedings,1996,1 (1),5-10
    [5]Shellhammer S J,Goren D P,Pavlids T,Novel signal-processing techniques in barcode scanning.IEEE Robotic & Automation Magazine,1999,6(issuel):57-65
    [6]Joseph E,Pavlidis T.Waveform recognition with application to bar code.In:Proc of 1991 IEEE Int'l Conf on Systems,Man,and Cybernetics.Charlottesville:IEEE Press,1991.129-134
    [7]Joseph E,Pavlidis T,Bar Code Wave form Recognition Using Peak Locations,IEEE Trans PAMI,1994,16(6):630-640
    [8]宋勇等.CMOS图像传感器与CDD的比较及发展现状.仪器仪表学报.2001.6:388-389
    [9]连华,林斌,陈伟.CMOS图像窗期成像系统.光学仪器.2003,25(4):12-19
    [10]Micron, MT9M112 datasheet,www.micron.com
    [11]夏宇闻.Verilog HDL数字设计与综合[M].北京:电子工业出版社,2006.
    [12]周立功等.Actel FPGA原理与应用.广州致远电子有限公司.2007.4-5
    [13]Cypress.EZUSB FX2 Technical Reference Manual.www.cypress.com,2006.
    [14]刘振波,熊庆国,唐明涛等.《EZ_USB和FPGA在图像数据采集中的应用》,现代电子技术(中国科技核心)2009年第八期
    [15]Stephan W.Mondwurf.BENEFITSOF THE CORDIC-ALGORITHM IN A VERSATILE COFDM MODULATOR/DEMODULATOR DESIGN [M].Fourth IEEE International Caracas Conference on Devices,Circuitsand Systems [C].Aruba, April 17-19,2002.
    [16]冯涛,王程,可编程逻辑器件开发技术MAX+PLUS Ⅱ入门与提高[M],北京:人民邮电出版社,2002.
    [17]夏宇闻.Verilog HDL试验练习与语法手册[M].北京:电子工业出版社,2006.
    [18]王学敏.编写USB固件小诀窍,北京:世界电子元器件,2004年
    [19](奥)George J. Wakileh著徐政译,电力系统谐波-基本原理、分析方法和滤波器设计[M]机械工业出版社,2003
    [20]喻春轩译,《电子滤波器设计》[M]电子工业出版社,1986
    [21]王金明.数字系统设计与Verilog HDL [M],北京:电子工业出版社
    [22]陈启美,王刚,丁传锁,陈锁柱.USB技术概况[J].电力自动化设备,2001,(02).
    [23]陈启美,张静,丁传锁,陈锁柱.USB数据流模型[J].电力自动化设备,2001,(03).
    [24]UweMeyer-Baese.数字信号处理的FPGA实现[M].北京:清华大学出版社,2002
    [25]胡汉才.单片机原理及接口技术[M].北京:清华大学出版社,2006.
    [26]周立功等.USB固件编程与驱动开发[M].北京:北京航空航天大学出版社,2005,2.
    [27]王成儒,李英伟.USB 2.0原理与工程开发[M].北京:国防工业出版社,2007.
    [28]吴会松.河北省任丘市.简谈USB[J].电子科技,1999,(19)
    [29]邢中柱.经常被问到的关于 USB的一些问题[J]电子产品世界,1999,(07).
    [30]赵海龙,陆煜明.一种在Labview中使用通用I/O模块的方法[J]工业控制计算机,2000,(02)
    [31]武安河等.Windows 2000/XP WDM设备驱动程序开发[M].北京:电子、工业出版社,2006.
    [32]施诺等<译>.Windows 2000设备驱动程序设计指南.北京:机械工业出版社,2000.
    [33]刘延波,郑世强,王斌,吴瑛.USB设备固件程序设计[J].信息工程大学学报,2004,(02).
    [34]李洋,邹建华.高速接口USB与IEEE1394的性能分析[J].电声技术,2001,(01).
    [35]吴会松.简谈USB[J]电子科技,1999,(19)
    [36]周振宇,谷海颖.基于USB总线的实时数据采集系统设计[J]电子技术应用,2002,(02).
    [37]陈尚松.论三种串行总线在自动测试系统中的应用[J]桂林电子工业学院学报,2000,.
    [38]李洋,邹建华.高速接口USB与IEEE1394的性能分析[J]电声技术,2001,(01).

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700