基于FPGA的巴布剂涂布质量检测系统的研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
伴随着经皮治疗系统(Transdermal Therapeutic Systerms简称TTS)医药市场的不断拓广,为了保证产品质量、提高产品生产效率,制作出一套工业化、自动化和智能化的贴剂成型设备,已经越来越受到众多国内外医药学研究机构和制药企业的重视。随着计算机技术和微电子技术的发展,FPGA以其强大的功能特点和开发优势得到广泛的应用。本文提出一种基于FPGA巴布剂涂布质量检测系统的设计方案。
     基于FPGA巴布剂涂布质量检测系统采用Altera公司的DE2开发板作为硬件开发平台,在CycloneⅡEP2C35系列FFGA芯片上进行系统功能电路的设计与实现。系统硬件组成分为视频图像采集、视频解码器ADV7181B、外部存储器SDRAM以及基于FPGA设计等部分,论文对各部分的功能和器件特性做了介绍。论文重点是基于FPGA的系统各功能模块的设计与实现,尤其是质量检测模块,除此还包括视频解码器ADV7181B的配置模块、数据转换模块、SDRAM控制器模块等。在质量检测模块运用模糊算法对一帧图像中每个有效像素点进行模式识别,通过记录和统计不合格点的个数和分布情况来判断正在涂布的巴布剂是否出现质量问题,并输出检测结果信号。
     最后,论文将检测系统的各硬件组成部分连接起来并下载到DE2开发平台上进行在线检测与调试,验证了功能模块的正确性和系统设计方案的可行性。系统设计采用QuartusⅡ9.0作为软件开发环境,运用Verilog HDL硬件描述语言进行模块化设计,使得该设计具有可移植和可扩展的特性。
Along with continuous expansion in medical market of Transdermal Therapeutic Systerms, in order to ensure product quality and improve product production efficiency, it has been paid more and more attentions by domestic and abroad medical research institutions and pharmaceutical companies to manufacture a set of industrialized, automatized and intelligentized product facility for shaping. With the development of computer technology and microelectronics technology, FPGA has gained a wide application with its powerful functional characteristics and advantages of development. This paper proposes a design scheme of quality detection system for cataplasm's coating which is based on FPGA.
     The quality detecting system for cataplasm's coating based on FPGA, make use of the Altera's DE2 development tools as a hardware development platform to carry out the system's functional circuit design and implementation depending on the series of Cyclone II EP2C35 FFGA. System hardware consists of collection of video images, video decoder ADV7181B, external storage SDRAM and design part based on FPGA. Functions of modules and characteristics of devices are introduced in paper. Design part based on FPGA is the key point of this paper, especially the quality detecting module. In addition, configuration module for video decoder ADV7181B, data transform module and SDRAM controller module are elaborated. In the quality detection module, fuzzy algorithm is uesd to recognize and classify every pixel value for pattern recognition, recording the number and doing statistic analysis about the distribution of unqualified pixels to judge whether quality problems arise during cataplasm's coating process, and then output signals of detecting results.
     In the end, every hardware components are integrated into a system, which is downloaded into DE2 to debug and test on-line to verify the correctness of the model features and system viability. The design system posesses a property of portability and scalability due to adopting Quartus II 9.0 as soft development environment and achieving various functionalmodules with Verilog HDL.
引文
[1]华晓东,任变文,经皮给药系统的研究发展[J].现代药物与临床,2009,24(5):282.
    [2]叶淦华,FPGA嵌入式应用系统开发典型事例[M].北京:中国电力出版社,2005,1-37.
    [3]黄再银,FGPA的工作原理及其应用[J].电子世界,2003,2:47-49
    [4]孟宪元,钱伟康.FPGA嵌入式系统设计[M].北京:电子工业出版社,2007,95-159.
    [5]Ali.Karnal S.Digital circuit design using FPGA[J].Computers&Industrial Engineering.Vol.31:127-129.1996.
    [6]黄智伟,王彦,FPGA系统设计与实践[M].北京,电子工业出版社,2005,130-132.
    [7]罗朝霞,高书莉,CPLD/FPGA设计及应用[M].北京,人民邮电出版社,2007,92-98.
    [8]郑燕,赫建国.基于VHDL与Quartus Ⅱ软件的可编程逻辑器件应用与开发[M].北京:国防工业出版社,2011.24-43.
    [9]王钿,卓兴旺.基于Verilog HDL的数字系统应用设计[M].北京:国防工业出版社,2007,2-19.
    [10]ITU-R BT.656-4,数字视频标准[S].
    [11]惠新标,郑志航.数字电视技术基础[M].北京:电子工业出版社,2005,4-49.
    [12]余斯乐,李文元,侯正信等.电视原理[M].北京:国防工业出版社,2005,9-80.
    [13]邓兴汉,杨恢东.基于FPGA视频图像采集系统的设计与实现[J].《微计算机信息》.2010,(26):138-139.
    [14]吴皓,刘鹏,蔡钟等.视频采集系统SDRAM控制器的FPGA实现[J].中国有线电视,2003,(22):57-60.
    [15]段晓晨,何小刚,程永强等.实时视频SDRAM控制器的FPGA设计与实现[J].太原理工大学学报,2006,(37):5-7.
    [16]Scot Hack.The Role of FPGA's in Reprogrammable Systems[J].Proceedings of the IEEE>1998.(4):615-618.
    [17]Paindavoine M.Rapid implementation of image processing onto FPGA[J].SMPTEJournal.1995(6):356-358.
    [18]徐博.基于FPGA的图像处理的硬件设计与研究,[硕士学位论文].长春:长春理工大学,2009.
    [19]Philips semiconductors,the 12C Bus specification Version 2.1,2000.
    [20]何云斌,张玉芬.多端口SDRAM控制器的设计与实现[J].嵌入式系统应用,2009,25(5-2):49-50.
    [21]向兴富,袁玉群,谭亚军等.基于FPGA的DDR2 SDRAM数据存储研究[J].贵州大学学报,2010,27(2):70-73.
    [22]陈水利,李敬功,王向公.模糊集理论及其应用[M].北京:科学出版社,2005.
    [23]刘素华,侯惠芳,刘东等.模糊模式识别在大气评定中的作用[J].计算机工程,2005,31(2):7-10.
    [24]王艳玲,张玘.基于模糊模式识别的场景图像分类方法[J].微计算机信息,2007,12(1):220-221.
    [25]陈彬,伍乾永,刘永春等.基于FPGA的VGA控制模块设计[J].微电子学,2008,38(2):306-308.
    [26]朱奕丹,方怡冰.基于FPGA的图像采集与VGA显示系统[J].计算机应用,2011,31(5):1258-1264.
    [27]刘小平,何云斌,董怀国等.基于Verilog HDL的有限状态机设计与描述[J].计算机工程与设计,2008,29(4):958-960.

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

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

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