此文档为word格式,下载后您可任意编辑修改!
本业科毕设计论文
题目:智能转速测量系统的软件设计
院(系):专班学业:级:生:
光电工程学院测控技术与仪器050105牟红宇杜玉军
指导教师:
2009年06月
1
f智能转速测量系统的软件设计
摘要
转速是工程中应用非常广泛的一个参数,其测量方法较多,随着单片机对脉冲数字信号的处理能力越来越强大,使得全数字量系统越来越普及,并且使转速测量系统也可以用全数字化处理。本文在对了解转速测量理论与掌握单片机原理的基础上,根据硬件设计,提出系统程序设计方案,构建软件系统,以实现智能转速测量与显示的功能。本设计根据基于AT89C51单片机的测速测量电路,设计出转速测量软件系统,此系统包含系统初始化程序的设计、键盘扫描程序的设计、数据接收和处理程序的设计、显示程序的设计四个模块。对所设计的软件系统通过μVisio
3软件对其进行程序调试。最后,对构建的系统利用设计的电路进行调试,对测量指标进行了分析、比较并提出改进方案。在设计中测量方法采用M法进行测量,编译语言采用C语言进行编译。本课题完成了软件系统的设计,实现了智能转速系统的转速计算、显示功能,同时实现键盘的开始停止功能,完成了设计的要求。关键词:单片机转速测量软件设计
fI
tellige
trotatio
alspeedmeasureme
tsystemofsoftware
desig
Abstract
Rotatio
alspeedisthee
gi
eeri
gofaverywidera
geofparametersitsmeasureme
tmorewiththeSCMdigitalsig
alo
thepulseofmorea
dmorepowerfulprocessi
gcapabilitymaki
gthevolumeofalldigitalsystemisbecomi
gi
creasi
glypopulara
dsorotatio
alspeedmeasureme
tsystemca
beusedtodealwithalldigitalI
thispapertheu
dersta
di
gofthetheorya
dmasterrotatio
alspeedmeasureme
tbasedo
thepri
cipleofSCMthesystemprogramdesig
tobuildsoftwaresystemscompileri
ordertoachievei
tellige
tRotatio
alspeedmeasureme
ta
ddisplayfu
ctio
sI
thispaperaccrodi
gtothetachometricsurveysystembasedo
theSCMofAT89C51Idesig
edthesoftwarepartofitThissystemi
cludesfourmodulethei
itializercodedesig
thekeyboardsca
i
gcodedesig
thedatareceivi
ga
dprocessi
gcodedesig
a
dthedisplayi
gcodedesig
Isetupthemusi
gthesoftwareofμVisio
3AtlastthebuildedsystemissettedupthroughcircuitThemeasuredi
dexwerea
alyseda
dcompareda
dtheimprovedprogrammeswereproposedMmethodwasadopti
themeasuri
ga
dthela
guageofCwasadopttocompleThedesig
ofsoftwaresystemofthisprojectiscompletedThefu
ctio
ofcalculati
ga
ddisplayi
gthespeedofrotatio
a
dthebegi
i
ga
dstopi
gofkeyboardr