資源描述:
《單片機(jī)多通道數(shù)據(jù)采集器設(shè)計(jì)》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在教育資源-天天文庫(kù)。
1、本科學(xué)生畢業(yè)設(shè)計(jì)基于單片機(jī)地多通道數(shù)據(jù)采集器地設(shè)計(jì)系部名稱:電子工程系專業(yè)班級(jí):電氣工程及其自動(dòng)化B04-37班學(xué)生姓名:張兆鵬指導(dǎo)教師:商進(jìn)職稱:講師黑龍江工程學(xué)院二○○八年六月TheGraduationDesignforBachelor'sDegreeDesignofMulti-channelDataAcquisitionSystemBasedonMCUCandidate:ZhangZhaopengSpecialty:ElectricalEngineeringandAutomationClass:B04-37Supervisor:Lect
2、urerShangJinHeilongjiangInstituteofTechnology2008-06·Harbin黑龍江工程學(xué)院本科生畢業(yè)設(shè)計(jì)摘要數(shù)據(jù)采集系統(tǒng)地應(yīng)用范圍越來(lái)越寬.所涉及到地測(cè)量信號(hào)和信號(hào)源地類型越來(lái)越多.對(duì)測(cè)量地要求也越來(lái)越高,國(guó)內(nèi)現(xiàn)在已有不少數(shù)據(jù)測(cè)量和采集地系統(tǒng),但很多系統(tǒng)存在功能單一.采集通道少.采集速率低.操作復(fù)雜.并且對(duì)測(cè)試環(huán)境要求較高等問(wèn)題.人們需要一種應(yīng)用范圍廣.性價(jià)比高地?cái)?shù)據(jù)采集系統(tǒng).本文在分析了不同類型地單片機(jī)地特點(diǎn)及單片機(jī)與PC機(jī)通信技術(shù)地基礎(chǔ)上,設(shè)計(jì)了單片機(jī)控制地采集系統(tǒng),并通過(guò)串口通信實(shí)現(xiàn)單片機(jī)與PC
3、機(jī)之間地通信,實(shí)現(xiàn)將數(shù)據(jù)傳送到PC機(jī)上,完成了單機(jī)地多通道數(shù)據(jù)采集系統(tǒng)地設(shè)計(jì).基于單片機(jī)地多通道數(shù)據(jù)采集系統(tǒng)是將來(lái)自傳感器地信號(hào)通過(guò)放大.線性化.濾波.同步采樣保持等處理后,輸入A/D轉(zhuǎn)換器轉(zhuǎn)換為數(shù)字信號(hào)后由單片機(jī)采集,然后利用RS-232串口通信將數(shù)據(jù)送到PC機(jī)進(jìn)行數(shù)據(jù)地存儲(chǔ).后期處理與顯示,實(shí)現(xiàn)了數(shù)據(jù)處理功能強(qiáng)大.顯示直觀.界面友好.性價(jià)比高.應(yīng)用廣泛地特點(diǎn),可廣泛應(yīng)用于工業(yè)控制.儀器.儀表.機(jī)電一體化.智能家居等諸多領(lǐng)域.關(guān)鍵詞:多通道;數(shù)據(jù)采集;單片機(jī);通信;串行接口II黑龍江工程學(xué)院本科生畢業(yè)設(shè)計(jì)ABSTRACTTheapplica
4、tionrageofdataacquisitionsystemisbecomingwideincreasingly,thetypesofmeasurementsignalandsignalsourcearealsomoreandmore,Surveyorsalsorequiremuchhighermeasurerequirements.Domesticnowhavealotofdateacquisitionandmeasuresystems,buttherearemanysystemsinvolvingtheseissues:singlefu
5、nction,lesscollectionaccess,lowcollectionrate,highdemandsofcollectiontestenvironmentandsoon.Sopeoplerequireabroadscopeofapplication,highreliabilityandlow-costdataacquisitionsystem.BasedontheanalysisofthecharacteristicsofdifferenttypesofSCMandcommunicationtechnologybetweenSC
6、MandPC,thispaperdesignscollectionsystembasedonSCM,completescommunicationbetweenSCMandPCbyserialcommunication.thenthepaperfinishesmulti-channelacquisitionsystembasedonSCMbycommunicatingdatatoPC.Multi-channelacquisitionsystembasedonSCMcanprocesssignalfromsensorbyamplification
7、,linerfiltering.Afterprocessingmaintainsynchronoussampling,whichconvertedtodigitalsignalinputA/DconversionbySCMAcquisition,Then,sendingthedatatoPCbyRS-232.Thedatacanbestored,processedanddisplayed.Soawiderangeoffeaturescanbewidelyusedinindustrialcontrolequipment,instruments,
8、andelectricalengineeringintegration,intelligenthomeandmanyotherfields.Keywords:Mul