资源描述:
《基于usb的数据采集卡设计》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、四川师范大学成都学院本科毕业设计基于USB的数据采集卡设计学生姓名杜学成学号2009101038所在系通信工程系专业名称通信工程班级2009级1班指导教师段纯爽四川师范大学成都学院二○一三年三月四川师范大学成都学院本科毕业设计基于USB的数据采集卡设计学生:杜学成指导教师:段纯爽内容摘要:本论文所设计的数据采集卡是在单片机AT89C5131控制下进行数据采集,主要核心部分是微控制器和USB控制器,通过两者结合实现上位机和下位机之间的USB通信,使用AT89C5131单片机采集到数据通过USB数据线传输给PC机,在从PC机上的USB数
2、据采集界面,可显示出采集数据的波形图功能,最后实现数据采集功能。在数据采集系统中,传统外接设备与主机通信口一般采用ISA、PCI、1394等标准,但是基于这些接口的产品,要不安装麻烦,要不就是价格昂贵,还受到计算机插槽数量和地址中断资源的限制,并且可扩展性差,但USB的出现很好地解决了以上所有问题。作为一种新型串口通信标准,它不但具有较高的传输速率,而且可扩展性好、采用总线供电,因此使用起来更加灵活。USB数据采集共有4种传输模式:同步传输、控制传输、批量传输、中断传输,以此用来适应不同设备的需求。同时信息技术与电子技术发展迅猛,也
3、使得计算机和计算机外围设备得到飞速发展和应用。过去人们单纯追求计算机与外设之间的数据传输速度,而现在操作安装的简易性和纠错能力也成为人们关注的问题。USB通讯技术出现后,使高传输速度、强纠错能力、易扩展性、即插即用等优点有机的结合在一起,使得USB数据采集发展前景更为广阔。关键词:数据采集USB接口控制器1四川师范大学成都学院本科毕业设计DesignofdataacquisitioncardbasedonUSBAbstract:ThedataacquisitionsystemdesignedisunderthecontrolofSC
4、MdataacquisitioninAT89C5131.ThemicrocontrollerandtheUSBcontrollerasthecorepart,implementationofUSBcommunicationbetweenuppermachineandlowermachinethroughthecombinationofthetwo,theretothedatalineviatheUSBdataistransmittedtothePCthroughtheAT89C5131collection.Andthedevelop
5、mentofapplicationsonPC,fromtheUSBdataacquisitioninterfaceonPCmachine,candisplaythewaveformfunctionofdataacquisition,dataacquisitionfunction.Indataacquisitionsystem,communicationhostandperipheralstraditionalmouthgenerallyusetheISA,PCI,1394standards,theseinterfaceproduct
6、s,basedontheinstallationoftrouble,thepriceisexpensive,andtheslotnumber,addressandinterruptresourcesconstraints,poorscalability,USB,isagoodsolutiontotheaboveproblem.USBisakindofserialcommunicationstandardmodel,thetransmissionrateishigh,goodscalability,thebuspowersupply,
7、theuseofflexible.Ithasatotalof4transmissionmodes:controltransfer,interrupttransfer,synchronoustransmission,masstransfer,inordertoadapttotheneedsofdifferentequipment.Therapiddevelopmentofinformationtechnologyandelectronictechnology,thecomputerandperipheralequipmenthasal
8、sobeenrapiddevelopmentandapplication.Inthepastpeopleonlypursuethetransmissionspeedbetweencomputerandperipherals,simpl