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

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

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

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

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

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

-10--70-摘要在检测机械零件外形尺寸的细微偏差时,传统方法有着测量功能单一、测量误差较大、无法对测量数据直接进行计算机处理和智能化等缺陷。然而这些参数对产品的使用性能有着重要的影响。为实现这些参数的高效、高精度的测量,针对目前的测量方式存在的这些问题,本课题结合传感器、检测、通讯和微型计算机等技术,采用模块化、通用化和标准化的设计思想,研究开发了三色电子柱量仪。本设计首先选定了自感式差动传感器并为其设计了信号采集处理的电路,再确定以高性能单片机ADμC812为核心,以使电路设计得到简化、提高稳定性,然后围绕该单片机设计了可随总线速度无限擦写的存取器FM24C256、容错性能好的RS-485串行通讯接口、键盘和12232F点阵式液晶显示器等一系列模块,接着采用FPGA器件实现LED三色光柱显示驱动,最后对量仪系统软件进行了设计。关键词ADμC812;菜单结构;LED光柱显示;FPGA;RS485串口通讯AbstractWhenmeasuringsubtledifferencesoftheoutersizesofmachineparts,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目录摘要1Abstract2第1章绪论51.1课题背景及来源51.2国内外发展现状51.3课题研究内容71.3.1设计目的71.3.2设计目标71.3.3设计内容8第2章传感器测量原理92.1传感器的定义及构成92.2电感传感器102.2.1电感式传感器的特点102.2.2电感式传感器的分类102.3本设计中传感器的工作原理11第3章系统硬件设计153.1硬件设计原则153.2硬件框架的设计153.3硬件各模块