资源描述:
《单片机多通道数据采集器设计》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、本科学生毕业设计基于单片机地多通道数据采集器地设计系部名称:电子工程系专业班级:电气工程及其自动化B04-37班学生姓名:张兆鹏指导教师:商进职称:讲师黑龙江工程学院二○○八年六月TheGraduationDesignforBachelor'sDegreeDesignofMulti-channelDataAcquisitionSystemBasedonMCUCandidate:ZhangZhaopengSpecialty:ElectricalEngineeringandAutomationClass:B04-37Supervisor:Lect
2、urerShangJinHeilongjiangInstituteofTechnology2008-06·Harbin黑龙江工程学院本科生毕业设计摘要数据采集系统地应用范围越来越宽.所涉及到地测量信号和信号源地类型越来越多.对测量地要求也越来越高,国内现在已有不少数据测量和采集地系统,但很多系统存在功能单一.采集通道少.采集速率低.操作复杂.并且对测试环境要求较高等问题.人们需要一种应用范围广.性价比高地数据采集系统.本文在分析了不同类型地单片机地特点及单片机与PC机通信技术地基础上,设计了单片机控制地采集系统,并通过串口通信实现单片机与PC
3、机之间地通信,实现将数据传送到PC机上,完成了单机地多通道数据采集系统地设计.基于单片机地多通道数据采集系统是将来自传感器地信号通过放大.线性化.滤波.同步采样保持等处理后,输入A/D转换器转换为数字信号后由单片机采集,然后利用RS-232串口通信将数据送到PC机进行数据地存储.后期处理与显示,实现了数据处理功能强大.显示直观.界面友好.性价比高.应用广泛地特点,可广泛应用于工业控制.仪器.仪表.机电一体化.智能家居等诸多领域.关键词:多通道;数据采集;单片机;通信;串行接口II黑龙江工程学院本科生毕业设计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