資源描述:
《畢業(yè)論文直流數(shù)字電壓表的設(shè)計(jì)與實(shí)現(xiàn)》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫。
1、畢業(yè)設(shè)計(jì)(論文)題目直流數(shù)字電壓表的設(shè)計(jì)與實(shí)現(xiàn)專業(yè)電子信息工程班級(jí)電信0901學(xué)生曹琳慧(20904102)指導(dǎo)教師湯曉方高科學(xué)院2013年摘要在日常維修、教學(xué)和科研中,電壓表是不可缺少的。本課題目的就是以單片機(jī)為基礎(chǔ)設(shè)計(jì)出一種結(jié)構(gòu)簡單、工作可靠、靈活性好的數(shù)字電壓表。本文首先介紹了數(shù)字電壓表的發(fā)展現(xiàn)狀及課題的目的和意義。然后,對(duì)基于單片機(jī)的數(shù)字電壓表的硬件系統(tǒng)、軟件系統(tǒng)的設(shè)計(jì)原理及具體實(shí)現(xiàn)方案作以詳細(xì)介紹,其中,在硬件部分,較為詳細(xì)的討論了硬件的選擇、設(shè)計(jì)原理、使用方法和功能,同時(shí),對(duì)各部分接口電路作以介紹;在軟件部分,介紹了軟件所使用的編程語言和編
2、程思路。本文設(shè)計(jì)的數(shù)字電壓表,其硬件電路所用組件較少、成本低、調(diào)節(jié)簡單;軟件采用C語言編程,其靈活性高,可讀性強(qiáng)。該設(shè)計(jì)主要由三個(gè)模塊組成:A/D轉(zhuǎn)換模塊,數(shù)據(jù)處理模塊及顯示模塊。A/D轉(zhuǎn)換主要由芯片ADC0809來完成,它負(fù)責(zé)把采集到的模擬量轉(zhuǎn)換為相應(yīng)的數(shù)字量在傳送到數(shù)據(jù)處理模塊。數(shù)據(jù)處理則由芯片AT89C51來完成,其負(fù)責(zé)把ADC0809傳送來的數(shù)字經(jīng)過一定的數(shù)據(jù)處理,產(chǎn)生相應(yīng)的顯示碼送到顯示模塊進(jìn)行顯示;此外,它還控制著ADC0809芯片工作。經(jīng)過理論研究、原理設(shè)計(jì)和整機(jī)調(diào)試,實(shí)驗(yàn)結(jié)果表明,該方案可行。本次設(shè)計(jì)的電壓表所測量的直流電壓范圍為0~4
3、v,要求測量電壓的誤差不超過0.1v。它以單片機(jī)AT89C51為核心,主要由轉(zhuǎn)換電路將輸入的模擬量轉(zhuǎn)換為數(shù)字量的A/D轉(zhuǎn)換器ADC0809,1602液晶顯示器構(gòu)成。關(guān)鍵詞:單片機(jī);電壓表;A/D轉(zhuǎn)換器;1602液晶顯示器ABSTRACTInroutinemaintenance,teachingandresearch,voltagemeterisindispensable.Adirectcurrentdigitalvoltagemeterhasbeendesigned,whichisbasedonMCU,andhasasimplestructure,re
4、liable,flexible.Firstly,thispaperintroducedthedevelopmentofthebaseonMCUdigitalvoltagemeterandthepurposeandsignificanceoftopic.Thenindetailsthispaperdescribedthedesignprincipleofhardwareandsoftwaresystems.Andindetailsthehardwarepartpresentadiscussioninhardwareselection,designprin
5、ciples,instructionsandthefunction,furthermore,someoftheinterfacecircuithavebeenintroduced.Thesoftwarepartintroducedtheprogramminglanguageandprogrammingideasusedincodes.Thedigitalvoltagemeterdesignedhere,havelesscomponentsinthehardwarepart,lowercostandeasiertesting;softwareusedCp
6、rogramminglanguagewhichishighflexibilityandstrongreadability.Thecircuitofthevoltagemeterismainlyconsistedofthreemouldpieces:A/Dconvertingmouldpiece,A/DconvertingismainlycompletedbytheADC0809,itconvertsthecollectedanalogdataintothedigitaldataandtransmitstheoutcometothemanifestati
7、oncontrollingmouldpiece.DataprocessingismainlycompletedbytheAT89C51chip,itprocessesthedataproducedbytheADC0809chipandgeneratestherightmanifestationcodes,alsotransmitsthecodestothemanifestationcontrollingmouldpiece.Also,theAT89C51chipcontrolstheADC0809chiptowork.Aftertheoreticalr
8、esearch,principledesignanddebugging,theexperime