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