资源描述:
《电机基于单片机的电机转速计设计.doc》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、摘要随着电子技术,特别是随大规模集成电路的产生而出现的微型计算机技术的飞速发展,人类生活发生了根本性的改变。如果说微型计算机的出现使现代科学研究得到了质的飞跃,那么可以毫不夸张地说,单片机技术的出现则是给现代工业测控领域带来了一次新的技术革命。目前,单片机以其体积小、重量轻、抗干扰能力强、对环境要求不高、高可靠性、高性能价格比、开发较为容易,在工业控制系统、数据采集系统、智能化仪器仪表、办公自动化等诸多领域得到极为广泛的应用,并已走人家庭,从洗衣机、微波炉到音响、汽车,到处都可见到单片机的踪影。因此,单片机技术开发和应用水平已逐步成为一个国家工业发展水平的标志之一。本课题
2、介绍了一种利用单片机技术实现高精度数字式转速测量系统的方法。这种转速测量系统具有测量准确度高、采样速度快、测量范围宽和测量精度与被测转速无关等优点,具有广阔的应用前景。关键词:转速测量;单片机;直射式红外光电传感器AbstractWiththedevelopmentofelectronictechnology,especiallywithalarge-scaleintegratedcircuitstheemergenceofminiatureoftherapiddevelopmentofcomputertechnology,humanlifehasundergoneafu
3、ndamentalchange.Ifthemicrocomputerthatmodernscienceresearchisaqualitativeleap,itisnoexaggerationtosay,SCMtechnologyistheemergenceofmodernindustrycontrolfieldtobringanewtechnologicalrevolution.Atpresent,singlechipwithitssmallsize,lightweight,stronganti-interferenceability,isnothightotheenv
4、ironmentrequest,highreliability,highperformancepriceratio,developrelativelyeasy,intheindustrialcontrolsystem,dataacquisitionsystem,intelligentinstrumentation,officeautomationandotherfieldshaveawiderangeofapplications,andhaveleavehome,fromthewashingmachine,microwaveoventoaudio,car,canseeev
5、erywhereofSCM.Therefore,SCMtechnologydevelopmentandapplicationlevelhasbecomeanationalsymbolofthelevelofindustrialdevelopment.Thispaperintroducesahighprecisionmeasurementsystemofrotationratemethod.Themeasurementsystemisofhighaccuracy,fastsamplingspeed,widemeasuringrangeandprecisionofthemea
6、surementandthemeasuredspeedandotheradvantages,hasbroadapplicationprospects.Keywords:measurementofrotationrate;single-chipmicrocomputer;Reflectiontypeinfraredphotoelectricsensor目录1引言11.1数字式转速测量系统的发展背景11.2本设计课题的目的和意义12转速测量系统的原理32.1转速测量方法32.2转速测量原理43系统方案提出和论证63.1霍尔传感器测量方案63.2光电传感器74系统硬件设计94.
7、1转速信号采集94.2直射式红外光电传感器114.3电平转换器MAX232CPE介绍124.4电位器3296144.5单片机AT89C51介绍164.6最小系统的设计204.6.1复位电路204.6.2晶振电路234.6.3最小系统的仿真254.7显示部分设计255系统软件设计305.1主程序初始化305.1.1定时器的初始化305.1.2中断允许控制315.2程序流程图32致谢35参考文献36附录A系统总电路图37附录B系统总程序清单38附录C英文原文43附录D汉语翻译471引言1.1数字式转速测量系统的发展背景随着微型计算