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