基于ARM和FPGA的高速数据采集卡的设计与实现毕业论文.doc
-
资源ID:105372
资源大小:3.83MB
全文页数:66页
- 资源格式: DOC
下载积分:8积分
扫码快捷下载
会员登录下载
微信登录下载
微信扫一扫登录
- 扫描成功!重扫
- 请在手机上确认支付
手机扫码下载
请使用微信 或支付宝 扫码支付
• 扫码支付后即可登录、下载文档,同时代表您同意《人人文库网用户协议》
• 扫码过程中请勿刷新、关闭本页面,否则会导致文档资源下载失败
• 支付成功后,可再次使用当前微信或支付宝扫码免费下载本资源,无需再次付费
友情提示
2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
4、本站资源(1积分=1元)下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
|
基于ARM和FPGA的高速数据采集卡的设计与实现毕业论文.doc
www.yanziedu.comwww.yanziedu.com摘要采集是认知的开始、测量的前提、分析的基础,绝大多数的电子设备、仪器都是数据采集为基础。随着电子技术和数字技术的飞速发展,信号的传输速度和CPU的处理速度越来越快,因此对数据采集和处理的要求也越来越高。由于芯片技术的限制我国很难在高端的数据采集系统中有所作为,一般国内的数据采集卡都处于中低端产品,多用于中低频信号的采集中,很少有符合我们设计要求的高速采集系统。课题中的高速数据采集卡是研究高性能分析仪器的一部分,它与一般的数据采集卡存在区别,主要区别在于我们的系统对数据输出的要求不强,系统可以自成系统,有一定的数据处理和分析能力。本设计采用AD转换器+FPGA芯片+ARM处理器的结构,实现了采样率为250M的数据采集卡。论文从宏观和微观两个方面来分析数据采集卡的各个组成部分。从宏观上分析了采集系统中各个芯片间的数据流向、速度匹配和具体通信方式的选择等问题。使用乒乓机制降低了数据处理的速度,来降低FPGA中的预处理难度,使FPGA处理时序余量更加充裕。在ARM与FPGA通信方式上使用DMA传输,大大提高了数据传输的速率,并解放了后端的ARM处理器。设计从宏观上优化数据传输的效率,充分发挥器件的性能,并提出了一些改进系统性能的方案。从微观实现上,数据是从前端数据调理电路进入AD转换器,再由FPGA采集AD转换器输出的数据,后经过数据的触发、成帧等预处理,预处理后的数据再传输给后端的ARM处理器,最后由ARM处理器送给LCD显示。微观实现的过程中遇到了很多问题,主要是在AD数据的采集和采集数据的传输上。在后期的系统调试中遇到了采集数据错位、ARM与FPGA通信效率低下,还有FPGA中预处理时序紧张等问题,通过硬件软件部分的修改,问题都得到一定程度的解决。在整个数据采集卡的设计过程中还遇到高速PCB设计、硬件设计可靠性、设计冗余性和可扩展性等问题,这些都是硬件设计中的需要考虑和重视的问题,在论文的最后一章有详细论述。关键词:高速数据采集触发高速PCB设计www.yanziedu.comwww.yanziedu.comAbstractDateacquisitionisthepremiseofmeasure,thefoundationofanalysisandthebeginningofcognition.Mostprecisedeviceisbasedonthedateacquisition.Withthedevelopmentoftheelectronicanddigitaltechnology,thespeedofdatetransmissionandthecalculationofCPUarefasterandfaster;thereforetherequirementsofdataacquisitionandprocessingaremoreseverethanbefore.Itishardforustomakeabrilliantsuccessintheareaofhigh-enddataacquisitionduetotherestraintofthetechnologyofchip.Atpresentthedataacquisitioncardinourcountryarealmostlow-endproductswhicharealwaysusedtodealwithmedianfrequencieslowfrequencies.Andthesystemsofacquisitionseldomarelinewiththedemandingofourdesign.Inthispaper,high-speeddataacquisitioncardisapartofhighperformanceanalyticalinstruments.Thedifferencesbetweenthiskindofcardsandtheothersarethattheyarenotrigidtotheoutputofsystemandhavetheabilityofdataanalyzingandprocessing.Wesuccessfullydesignasystemof250MsamplingfrequenciesbasedonthestructureofA/D,FPGAandARM.ThispaperanalyzesthesystemfromMacro-andmicrorespect.Fromthemacropointofviewitanalyzesdataflowing,speedmatchingandtheselectionofspecificmeansofcommunicationofacquisitionsystemandsoon.Weadaptping-pongmechanismtoreducethespeedofanalyzingdataandpre-difficultofFPGAwhichleadtotheeaseofprocessingTimingMarginofFPGA.DMAtransferisusedascommunicationbetweenARMandFPGAwhichimprovedatatransmissionrates,andliberatetheback-endARMprocessor.Fromthemicropointofview,dataenterintotheA/Dconverterfromthefront-endconditioningcircuitry,FPGAcollectingdataontheoutputofA/Dconverterandgothroughthepre-operationoftriggeringandframingofdata.Aftertheseoperations,dataaretransmittedtotheback-endoftheARMprocessorandthendisplayontheLCD.AlotofdifficultexitedinthesuccessfuloperationinthemicrorespectwhichismainlyaboutA/Ddatacollectionandtheoftransmissiondata.Inthelatterpartofthesystemweencounterthedislocationdatacollection,theinefficiencyofARMandFPGAcommunicationandthetensionoftiminginthepre-operationofFPGA.Alloftheseissueshavebeensettledbytherevisingofhardwareandsoftware.Therearealsosomeproblemsencounteredinthedesignprocessofdataacquisitioncard,suchasthedesignofHigh-speedPCB,thereliabilityofhardwaredesignreliability,www.yanziedu.comwww.yanziedu.comredundancyandscalabilityofthesystem.Allthesolutionsoftheseproblemsareillustratedinthelastpartofthispaper.Keyword:High-speedDataAcquisitionTriggeringHigh-speedPCBwww.yanziedu.comwww.yanziedu.com目录摘要.IAbstract.II第一章绪论.11.1高速数据采集现状.11.2数据采集卡在测试仪器中的应用.11.3数据采集卡主要的性能指标.21.4本文主要研究工作和难点.2第二章系统设计方案和主要器件选型.42.1系统设计方案.42.2ADC芯片选型.42.3DA芯片选型.52.4FPGA芯片选型.62.5主控CPU选型.9第三章数据采集与触发电路设计.113.1前端采集电路设计.113.2触发电路与触发控制.133.3采集中的问题和解决方法.163.4SDRAM控制器设计.20第四章各芯片间的数据传输与处理.254.1采集卡各芯片速度等级的划分和数据流向.254.2ARM与FPGA通信.264.3数据的模拟输出.304.4ARM动态配置FPGA.35第五章高速PCB设计与调试.415.1高速PCB设计.415.2硬件调试与故障分析.455.3焊接经验总结.46结论.49致谢.50参考文献.51附录1ARM外围电路.53附录2FPGA外围电路.55附录3同步问题.57