基于FPGA多通道采样系统设计资料.docx
- 文档编号:1808398
- 上传时间:2022-10-24
- 格式:DOCX
- 页数:45
- 大小:568.89KB
基于FPGA多通道采样系统设计资料.docx
《基于FPGA多通道采样系统设计资料.docx》由会员分享,可在线阅读,更多相关《基于FPGA多通道采样系统设计资料.docx(45页珍藏版)》请在冰豆网上搜索。
基于FPGA多通道采样系统设计资料
摘要
本论文介绍了基于FPGA的多通道采样系统的设计。
用FPGA设计一个多通道采样控制器,利用VHDL语言设计有限状态机来实现对AD7892的控制。
由于FPGA器件的特性是可以实现高速工作,为此模拟信号选用音频信号。
由于音频信号的频率是20Hz-20KHz,这样就对AD转换的速率有很高的要求.因为FPGA的功能很强大,所以我们把系统的许多功能都集成到FPGA器件中,例如AD通道选择部分,串并输出控制模块,这样使得整个系统的外围电路简单、系统的稳定性强。
FPGA的配置模式选用被动串行模式,这样就增强了系统的可扩展性。
输出模式可选择性使得系统的应用相当广泛,串行输出可以用于通信信号的采集,方便调制后发射到远程接受端,远程接收端对采集的数据进行解调;而并行输出模式则可以通过高速存储器将采集的信号放到微机或者其他的处理器上,根据采集的数据进行相应的控制。
此系统的缺点是由于FPGA器件配置是基于SRAM查找表单元,编程的信息是保持在SRAM中,但SRAM在掉电后编程信息立即丢失,所以每次系统上电都需要重新配置芯片,这对在野外作业的工作人员很不方便,解决的方法是专用的配置器件来配置FPGA,在每次系统上电的时候会自动把编程信息配置到FPGA芯片中。
但设计中没有采用到这种配置方案主要是考虑到专用配置器件的价格问题。
本文开始介绍了多通道系统的组成部分,然后分别介绍了各个组成部分的原理和设计方法,其中重点介绍了FPGA软件设计部分。
还对当前十分流行的基于FPGA的设计技术作了简单的阐述,最后对系统的调试和应用作了简短的说明。
关键词:
音频放大;滤波器;FPGA;VHDL;AD7892;有限状态机;
Abstract
ThepaperintroducesthedesignofmultiplechannelsamplingsystembasedonFPGA,ItdesignsamultiplechannelcontrolsamplinginstrumentwithFPGA,IuseVHDLtodesignASMandthenachievethecontroltoAD7892.BecausetheFPGAdevicecanworkinhigh-speed,weselectaudiosignalforanalogsignals.Therangeofaudiosignalfrequencyis20Hz-20KHz,AndthenthetransformspeedofADsamplingmustbeveryhigh.WeintegratemanymodulesintheFPGAdevice.ForexampletheADsamplingchannelcontrol,themodeofoutputwhichmadethecircuitsimplyandthesystemstably.WechoosePassiveSerialforconfiguringtheFPGAdevicewhichmadethesystemcanextendeasily.Themodeofoutputcancontrolwhichmadethissystemcanusemanyfield.Theserialoutputmodecanuseinthesamplingofcommunication.Thesamplingdatacanlaunchtothelong-distancesinkbybrewage,andthenthelong-distancesinkcandemodulationthesamplingdata.Theparalleloutputmodecanputthesamplingdatatothemicroprocessororotherprocessorbythehigh-speedmemorizer.Andthencontrolaccordingly.ThedisadvantageofthissystemisthattheconfigureoftheFPGAdeviceisbasedonSRAMLUT.ThemessageofprogrammingiskeptintheSRAM,whichwilllosewhenthesystemisoutofpowersupply.SoweshouldreconfiguretheprogrammingmessageintotheFPGAdevicewhenthesystemhasthepowersupplyagain.Itisnotveryconvenienceforworkingoutside.ButthiscanberesolvebyusingappropriativeconfiguredevicewhichcanloadtheconfiguremessageintotheFPGAdeviceautomaticallywhenthesystemhavepowersupply.Becausethepriceoftheappropriativedevice,Idon'tchoosethisconfiguremodeinthisdesign.
Thispaperintroducethemultiplechannelsamplingsysteminthefirstplace,andthenintroducetheprincipleofeachmoduleanddesignmethodseparately,amongtheseIintroducethedesignsofFPGAespecially.IalsointroducethedesigningtechniquewhichispopularatpresentbasedonFPGAsimply.Finally,Iintroducedebuggingandapplicationofthissystem.
Keywords:
audioamplifying;filter;FPGA;VHDL;AD7892;ASM
引言···························································1
1FPGA和VHDL概述·············································1
FPGA发展历程·················································1
VHDL语言介绍·················································3
2多通道采样系统的组成········································3
3总体方案设计与论证··········································4
3.1方案设计·····················································4
3.1.1方案一·····················································4
3.1.2方案二·····················································4
3.1.3方案三·····················································4
3.2方案比较·····················································4
4单元电路的设计··············································5
4.1音频放大、滤波部分············································5
4.1.1音频放大部分················································5
4.1.2有源滤波器的设计·············································6
4.2AD采样电路···················································8
4.2.1芯片介绍····················································8
4.2.2芯片应用···················································11
4.3FPGA控制部分·················································11
4.3.1通道选择模块···············································11
4.3.2AD7892控制部分·············································12
4.3.3延时模块的设计·············································17
4.3.4串并输出选择控制············································18
4.3.5FIFO模块··················································18
4.3.6AD采样系统顶层电路设计······································19
4.4FPGA的硬件设计··············································20
4.4.1EP1K30TC144-3芯片介绍·······································20
4.4.2芯片组成描述···············································20
4.4.3芯片工作电压设计············································21
4.4.4芯片配置介绍···············································22
4.4.5电路设计注意事项············································24
4.4.6硬件电路设计技巧············································25
5软件介绍···················································25
5.1MAX+PlusⅡ························
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 基于 FPGA 通道 采样系统 设计 资料