摘要在控制领域中,经常需要进行各种角度、位移量的测量。当前,世界上正面临着一场新的技术革命,这场革命的重要基础之一就是测量技术。测量技术的发展给人类社会和国民经济的各个部门及各个领域带来了巨大的、广泛的、深刻的变化,带动着传统工业和其他新兴产业的更新和变革,是当今人类社会发展的强大动力。本设计为码盘转速测量系统,用来测量来自外部的不同的转速值。实现转速的实时测量,显示。具体应用AT89C51单片机为核心,旋转编码器实时轴转速测量,同时用LCD显示模块显示。本文从转速测量原理入手,详细阐述了转速测量系统的工作过程,以及硬件电路的设计、显示效果。本文吸收了硬件软件化的思想,实现了题目要求的功能。关键词:转速测量,旋转编码器,单片机,LCD显示模块AbstractInthecontrolfield,avarietyofanglesanddisplacementmeasurementsoftenneedtobecarriedout.Atpresent,theworldisfacinganewtechnologicalrevolution;oneofthemostimportantbasesoftherevolutionismeasurement.Thedevelopmentofmeasurementtechnologybringsextensive,tremendousandprofoundchangestohumansocietyandallsectorsofthenationaleconomy,changesthetraditionalindustriesandotheremergingindustries,becomestoday'sstrongestdrivingforcefordevelopmentofhumansociety.Theencoderspeedmeasurementsystemisdesignedtomeasureadifferentspeedfromtheoutsidevalues,toachievereal-timespeedmeasurementanddisplay.SpecificapplicationuseAT80C51microcontrollerasitscore,rotaryencodermeasuresreal-timeshaftspeed,inboth8serialSegmenttypeLCDdisplaymoduledisplay.Inthispaper,detailedworkingprocessofspeedmeasurementsystemisstartedwithprincipleofspeedmeasurement,andhardwarecircuitdesignanddisplay.Thispaperhasabsorbedtheideaofhardwareandsoftwaretoachievewiththesubjectrequiredfunctionality.Keywords:rotationalspeedmeasurement,rotaryencoder,microcontroller,LCDdisplaymodule目录前言..................................................................1第1章总体设计.............................................................................................................21.1转速测量系统的方法...................................................................................................21.1.1测频法“M法”.......................................................................................21.1.2测周期法“T法”...................................................................................31.1.3测频测周法“M/T法”...........................................................................41.1.4转速测量系统中应用的方法..................................................................51.2转速测量系统的总体框图...................................................................................5第2章硬件设计...........................................................................................................62.1旋转编码器.........................................................................................................62.1.1增量式编码器..........................................................................................62.1.2绝对值编码器........................................................................................62.2最小系统的设计................................................................................................72.2.1复位电路...................................................................................................72.2.2晶振电路..................................................................................................72.31602简介....................