预览加载中,请您耐心等待几秒...
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

亲,该文档总共70页,到这已经超出免费预览范围,如果喜欢就直接下载吧~

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

-- -- 摘要 在检测机械零件外形尺寸的细微偏差时,传统方法有着测量功能单一、测量误差较大、无法对测量数据直接进行计算机处理和智能化等缺陷。然而这些参数对产品的使用性能有着重要的影响。为实现这些参数的高效、高精度的测量,针对目前的测量方式存在的这些问题,本课题结合传感器、检测、通讯和微型计算机等技术,采用模块化、通用化和标准化的设计思想,研究开发了三色电子柱量仪。 本设计首先选定了自感式差动传感器并为其设计了信号采集处理的电路,再确定以高性能单片机ADμC812为核心,以使电路设计得到简化、提高稳定性,然后围绕该单片机设计了可随总线速度无限擦写的存取器FM24C256、容错性能好的RS-485串行通讯接口、键盘和12232F点阵式液晶显示器等一系列模块,接着采用FPGA器件实现LED三色光柱显示驱动,最后对量仪系统软件进行了设计。 关键词ADμC812;菜单结构;LED光柱显示;FPGA;RS485串口通讯 Abstract Whenmeasuringsubtledifferencesoftheoutersizesofmachineparts,thetraditionalmethodshavesuchdefectsasbeingsingularinmeasuringfunction,existingtoomanyerrorsandhavingnowaytocomputerizemeasureddatadirectly.However,theseparametershavegreatinfluenceonproducts’attributes.Inordertomeasuretheseparametersefficientlyandaccurately,thesystemusedthetechnologyofsensor,automaticacquisition,communicationandcomputerandadoptedthedesignphilosophyofmodularization,generalizationandstandardization.Wedevelopedthisthere-colorLEDbargraphdisplaymeasuringinstrumentwhichcanmeasurethedimensionandrunouttolerancesofmechanicalparts. Thesystemofhardwareusingthefullyintegrated12-bitdataacquisitionsystem(ADμC812)andFPGAastheLEDbardrivecircuittosimplifythehardwaredesignandenhancethestabilityofthehardware.Thesystemofsoftwareofferstheframeworkofthefunctionextensibilityandtheinstrumentupgradingwiththemenuoperation.Atlast,wedesigntheserialcommunicationprotocolwhichishighefficiencyofdatatransferandhighperformanceoffaulttoleranttoconnectwithpersonalcomputerthroughthebusofRS-485.AlsowedevelopthesoftwareofPCtomanagertheinstrumentandcollectreal-timemeasuringdatawithnetworkandrealizetheuserinterface.ThedateofmeasureandconfigurationisstoredintheACCESSdatabaseconvenientformanaging,analyzing,displayingandprintingthedata. Keywords:ADμc812;Menustructure;LEDbargraphdisplay;FPGA;RS485Serialcommunicationprotocol 目录 TOC\o"1-3"\h\z\uHYPERLINK\l"_Toc172123429"摘要 PAGEREF_Toc172123429\h1 HYPERLINK\l"_Toc172123430"Abstract PAGEREF_Toc172123430\h2 HYPERLINK\l"_Toc172123431"第1章绪论 PAGEREF_Toc1721