基于单片机的数字电子秒表的设计与实现(完整资料)_第1页
基于单片机的数字电子秒表的设计与实现(完整资料)_第2页
基于单片机的数字电子秒表的设计与实现(完整资料)_第3页
基于单片机的数字电子秒表的设计与实现(完整资料)_第4页
基于单片机的数字电子秒表的设计与实现(完整资料)_第5页
已阅读5页,还剩154页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

基于单片机的数字电子秒表的设计与实现(完整资料)(可以直接使用,可编辑优秀版资料,欢迎下载)

基于单片机的数字电子秒表的设计与实现(完整资料)(可以直接使用,可编辑优秀版资料,欢迎下载)沈阳理工大学应用技术学院毕业设计(论文)题目:基于单片机的数字电子秒表的设计与实现系别:信息工程系专业:自动化学生姓名:胡培指导教师:唐朝仁年月日摘要近年来随着科技的飞速发展,单片机的应用正在不断的走向深入.本文阐述了基于单片机的数字电子秒表设计.本设计主要特点是计时精度达到0.001s,解决了传统的由于计时精度不够造成的误差和不公平性,是各种体育竞赛的必备设备之一。另外硬件部分设置了查看按键,可以对秒表上一次计时时间进行保存,供使用者查询。本设计的数字电子秒表系统采用AT89C52单片机为中心器件,利用其定时器/计数器定时和记数的原理,结合显示电路、LED数码管以及外部中断电路来设计计时器。将软、硬件有机地结合起来,使得系统能够实现五位LED显示,显示时间为0~99。999秒,计时精度为0.001秒,能正确地进行计时,同时能记录一次时间,并在下一次计时后对上一次计时时间进行查询。其中软件系统采用汇编语言编写程序,包括显示程序,定时中断服务,外部中断服务程序,延时程序等,并在WAVE中调试运行,硬件系统利用PROTEUS强大的功能来实现,简单切易于观察,在仿真中就可以观察到实际的工作状态。关键字:单片机;数字电子秒表;仿真AbstractWiththerapiddevelopmentofscienceandtechnologyinrecentyears,SCMapplicationsareconstant-depthmanner.Inthispaper,basedonsinglechipdesignofdigitalelectronicstopwatch.Themaincharacteristicsofthisdesigntimingaccuracyof0。001s,tosolvethetraditionalresultofalackaccuracyduetotimingerrorsandunfair,andisavarietyofsportscompetitions,oneoftheessentialequipment。InadditionthehardwarepartofthesetViewbuttononthestopwatchcanbethelasttimetosavetimeforuserqueries.Thedesignofthemulti—functionstopwatchsystemusesSTC89C52microcontrollerasthecentraldevice,anduseitstimer/countertimingandthecountprinciples,combinedwithdisplaycircuit,LEDdigitaltube,aswellastheexternalinterruptcircuittodesignatimer。Thesoftwareandhardwaretogetherorganically,allowingthesystemtoachievetwoLEDdisplayshowsthetimefrom0to99.999seconds,Timingaccuracyof0.001seconds,Beabletocorrectlytimeatthesametimetorecordatime,andthenexttimeafterthelasttimethetimetosearch.automaticallyaddedasecondinwhichsoftwaresystemsusingassemblylanguageprogramming,includingthedisplayprogram,timing,interruptservice,externalinterruptserviceroutine,delayprocedures,keyconsumershakingprocedures,andWAVEinthecommissioning,operation,hardwaresystemusestoachievePROTEUSpowerful,simpleandeasytoobservethecutinthesimulationcanbeobservedontheactualworkingcondition.Keyword:LEDdisplay;High—precisionstopwatch;STC89C52目录TOC\o”1-3”\h\z\u绪论PAGEREF_Toc250389675\h11硬件设计PAGEREF_Toc250389676\h41.1总体方案的设计PAGEREF_Toc250389677\h41.2单片机的选择PAGEREF_Toc250389678\h51。3显示电路的选择与设计PAGEREF_Toc250389679\h8HYPERLINK\l"_Toc250389680"1.4按键电路的选择与设计PAGEREF_Toc250389680\h111。5时钟电路的选择与设计PAGEREF_Toc250389681\h12HYPERLINKtransitiontoalow”energystate”,itwillreleaseanelectromagneticwave。Thischaracteristicfrequencyelectromagneticwavesisnotcontinuous,whichiswhatpeoplesaidresonancefrequency.Thesameatomicresonancefrequencyisacertaindegreeof—forexample,theresonancefrequencyofcesium-133persecond9,192,631,770weeks.Therefore,cesiumatomswillbeusedasametronometokeephighlyaccuratetime。30years,therabbiandhisstudentsatColumbiaUniversity’slaboratorystudiesthefundamentalcharacteristicsofatomsandnuclei.Thatis,inhere,theyarerelyingonthisatomicclockinthetimertocreateavaluablefirststeptaken。Initsstudyprocess,therabbisinventedatechnologycalledmagneticresonance。Relyonthetechnology,hewillbeabletomeasuretheatom’snaturalresonancefrequency。Tothisend,healsowonthe1944NobelPrize.Inthesameyear,healsofirstproposed,”todiscusstodiscusssuchanidea"(sosayshisstudents),whichistheaccuracyoftheseresonantfrequenciesaresohigh,canbeusedtoproducehigh-precisionclock.Inparticular,heproposedtomakeuseoftheso-calledatomic"super-finetransition”frequency。Thisreferstothehyperfinetransitionwiththedifferencesbetweenatomicnucleiandelectronicchangesinthemagneticeffectcausedbytheenergydifferencebetweenthetwohasasubtletransitionbetweenthestate.Inthisclock,thebunchisinaspecific”super—finestate”oftheatomicbeampassesthroughanoscillatingelectromagneticfield.Whentheatomichyperfinetransitionfrequencyoftheoscillationfrequencyclosertothemagneticfield,atomsabsorbenergyfromthemagneticfieldthemore,resultingfromtheoriginalhyperfinestatetomakeastateoftransition.Throughafeedbackloop,onecanadjustthefrequencyofoscillationfielduntilalltheatomstocompletethetransition。Atomicclockistheuseoffieldoscillationfrequencyoftheresonantfrequencyofatomsmaintainthesamefrequencyasthetimeofthepulsegeneratedmetronome.People'sdailylivesneedtoknowtheexacttime,production,scientificresearchespecially.Itusuallyusedinwatchesandclocks,andhighprecisionofabout1minuteperyearwillbetheerror,whichisnoimpactondailylife,butindemandingproduction,researchontheneedformoreaccuratetimingtool.Theworld'smostaccurateatomicclocktimingtoolis,itisthe20thcentury,50yearstoarise。Atomicclockistheuseofatomicabsorptionorreleaseofenergywhentheelectromagneticwavesemittedtotiming.Becauseofthiselectromagneticwaveisverystable,combinedwithusingaseriesofsophisticatedinstrumentstocontrol,atomicclocktimingcanbeveryaccurate.Nowusedinatomichydrogeninsidetheelement(Hactare),cesium(Seterium)),Rubidium(Russium)andsoon。Atomicclockaccuracycanbeachievedonlyevery100yearserrorof1second。Thisastronomy,navigation,Astronauticalprovidestrongprotection.Thediscoveryofthehumanhistoryofatomicclocks:Untilthiscentury,20years,themostaccurateclock,oraretherulesdependonthependulumswing.Replacethemwithmoreaccurateclocksarebasedonvibratingquartzcrystaltherearerulestomanufacture,thisclockerrorofnotmorethanone-thousandthofsecondsperday。Evensoprecise,butit

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论