摘要
在现代工业生产过程中,常常需要测量很多不同的位移量。与此同时对位移量进行较为精确地检测,是提高控制精度的基础。因此之前所普遍采用的传统位移测量装置已经不能适应时代发展的潮流。在此情况下通过科研人员的不断努力终于研制出了数字式光电编码器它的输入量是角位移量其输出量是相应的电脉冲并且它有体积小,精度高的优点。故而,这次毕业设计选用的是光电编码器。
本次毕业设计是以AT89C51单片机为核心,用光电编码器来实现对位移量的精确测量,再将测量结果显示在LCD液晶显示器上。其中本次设计中所选用的是输出电压为5V的光电编码器。
本文由浅入深先介绍了一些关于位移测量的基本原理,进而阐述了各个模块的设计思路,工作过程以及显示效果。本文借鉴了一些当前较为流行的设计思想,例如硬件软件化,很好的满足了设计要求。
关键词:位移,测量,光电编码器,单片机,LCD显示器
fAbstract
I
theco
trolfieldavarietyofdisplaceme
tmeasureme
tsofte
eedtobecarriedoutI
actuali
dustrypositio
co
troldomai
toi
creasetheco
trolprecisio
carrieso
theexami
atio
totheco
trolledmemberisaccuratelyveryimporta
tThetraditio
almachi
erysurveydisplaceme
ti
stallshas
otbee
abletosatisfythemoder
productio
byfarthe
eedbutthedigitalse
sorelectrooptice
coderca
tra
sformthea
gulardisplaceme
ti
towithitcorrespo
de
ceelectricitypulseoutputmai
lyusesi
themecha
icalpositio
a
dthevelocityofwhirlexami
atio
hastheprecisio
tobehighvolumesmalla
dsoo
characteristicsthereforethisdesig
decidedthatusestheelectroopticale
codertocarryo
thedisplaceme
ttoexami
e
Thisdesig
tousetheelectroopticale
codertorealizethedisplaceme
tsurveya
dthesimulatio
realizesthesurveyfromtheexteriordiffere
tdisplaceme
tvaluea
dthedemo
stratio
Makesco
creteusi
gat89C51mo
olithici
tegratedcircuitisthecoretheelectroopticale
codercarrieso
thedisplaceme
ttosurveysimulta
eouslybyLCDliquidcrystaldisplaymoduledemo
stratio
Thisdesig
usestheelectroopticale
coderoutputvoltageis5Vtheoutputsig
alafterfourdoubli
gcircuitprocessi
gse
dsi
themo
olithici
tegratedcircuittocarryo
cou
ti
gprocessi
gfi
allyse
dsi
theLCDmoduledemo
stratio
I
thispaperdetailedworki
gprocessofdisplaceme
tmeasureme
tsystemisstartedwithpri
cipleofdisplaceme
tmeasureme
ta
dhardwarecircuitdesig
a
ddisplayThispaperhasabsorbedtheideaofhardwarea
dsoftwaretoachievewiththesubjectrequiredfu
ctio
ality
KeywordsThedisplaceme
tsurveyselectroopticale
codermicroco
trollerLCDdisplaymodule
f目录
第一章绪论r