資源描述:
《可編程脈沖信號(hào)發(fā)生器的設(shè)計(jì)_畢業(yè)設(shè)計(jì)》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫。
1、洛陽理工學(xué)院畢業(yè)設(shè)計(jì)(論文)畢業(yè)設(shè)計(jì)論文可編程脈沖信號(hào)發(fā)生器的設(shè)計(jì)摘要基于單片機(jī)的可編程脈沖信號(hào)發(fā)生器,通過4x4的非編碼矩陣鍵盤鍵入脈沖信號(hào)的指標(biāo)參數(shù)頻率、占空比和脈沖個(gè)數(shù),在單片機(jī)的控制處理下發(fā)出滿足信號(hào)指標(biāo)的脈沖信號(hào),并在液晶顯示屏的制定位置顯示出相關(guān)參數(shù)。復(fù)位電路采用上電復(fù)位和手動(dòng)復(fù)位的復(fù)合復(fù)位方式,保證單片機(jī)在上電和程序運(yùn)行進(jìn)入死循環(huán)時(shí),單片機(jī)均能正常復(fù)位。利用在工作方式1下的定時(shí)器和計(jì)數(shù)輸出低頻脈沖信號(hào),以及在工作方式2下能夠自動(dòng)重復(fù)賦初值的定時(shí)器輸出高頻脈沖信號(hào),從而使頻率和占空比滿足指標(biāo)要求。通過程序設(shè)計(jì),使單片機(jī)每次發(fā)出信號(hào)后等到重置信號(hào)進(jìn)行下
2、一次脈沖信號(hào)的輸出,有效的提高了單片機(jī)的使用效率。本課題設(shè)計(jì)利用單片機(jī)技術(shù),通過相應(yīng)的軟件編程和較簡(jiǎn)易的外圍硬件電路來實(shí)現(xiàn),其產(chǎn)生的脈沖信號(hào)干擾小,輸出穩(wěn)定,可靠性高,人機(jī)界面友好,操作簡(jiǎn)單方便,成本低,攜帶方便,擴(kuò)展性強(qiáng)。關(guān)鍵的是,脈沖信號(hào)頻率、脈沖個(gè)數(shù)和脈沖占空比可調(diào)節(jié),可通過鍵盤輸入并由顯示器顯示出來。本課題設(shè)計(jì)所要達(dá)到的指標(biāo)要求:(1)脈沖信號(hào)頻率0.1HZ到50KHZ可調(diào)并在液晶顯示屏指定位置顯示。(2)脈沖信號(hào)個(gè)數(shù)0到9999可調(diào)并在液晶顯示屏指定位置顯示。(3)脈沖信號(hào)占空比任意可調(diào)并在液晶屏顯屏指定位置示出來。關(guān)鍵詞:?jiǎn)纹瑱C(jī),脈沖信號(hào),頻率,脈沖
3、個(gè)數(shù),占空比8洛陽理工學(xué)院畢業(yè)設(shè)計(jì)(論文)ProgrammablepulsesignalgeneratordesignABSTRACTTheprogrammablepulsesignalgeneratorbasedonsinglechip,throughthe4x4non-codingmatrixkeyboardinputingpulsesignalparametersoffrequency,dutycycleandpulsenumber,pulsesignalissenttomeetthetargetsofsignalprocessingchip.Therel
4、atedparametersaredisplayedonthesettingpositionontheliquidcrystal.Theresetcircuitbypower-onresetandmanualreset,ensuretheSCMinpowerandrunintodeadcirculationcanbereset.Useinworkmode1timerandcounteroutputlowfrequencypulsesignal,andinworkmode2totimeroutputhighfrequencypulsesignal,automati
5、clyrepeatinitialization,soastomakethefrequencyanddutyratiomeettherequirements.Throughtheprogramdesign,themicrocontrollereachsignalandthenwaitfortheresetsignal,thesignalattheoutputofthepulsenexttime,effectivelyimprovetheefficiencyintheuseofsingle-chipmicrocomputer.Thesubjectoftheuseof
6、single-chiptechnology,whichachievedthroughthecorrespondingsoftwareandthesimpleperipheralhardwarecircuit.Theadvantagesofwhicharethesmallinterferenceofthepulsesignal,outputstability,highreliability,friendlyman-machineinterface,easyoperation,lowcost,portability,scalabilitystrong.Thekeys
7、,pulsefrequency,pulsenumberandpulsedutyratioareadjustable,whichcanbeinputedthroughthekeyboardanddisplayedthroughLCD.Therequirementsofthistopicdesign:(1)Thepulsesignalfrequencyof0.1HZto50KHZisadjustableandcanbedisplaiedonthespecifylocationintheLCDscreen.(2)Pulsesignalnumberof0to9999is
8、adjustedandc