资源描述:
《测控技术与仪器 毕业论文范文——长线通信测试电路及软件设计》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、长线通信测试电路及软件设计摘要论文设计了一种基于FPGA(XC2S50E)控制的高速数据采集存储系统。由各种传感器采集到的模拟数据经过调理电路滤波放大后送入A/D转换芯片,在FPGA的控制下完成模数转换;然后多路转换后的数据经过光耦合器耦合送入FPGA,经过数据缓冲后,在FPGA的控制下送入DS92LV1023串化器,然后得到LVDS差分串行信号,并在CLC001驱动电路的加强后通过双绞线和RJ45接口送入测试台,解串恢复数据后打包送入PC机显示;同时,在FPGA控制下把采集到的数据存储在超大容量FLASH存储器K9
2、K8G08UOA中。论文中进行了硬件电路的设计,并用Protel做出原理图,然后进行各种软件程序的设计。主要介绍了用VHDL或VerilogHDL语言编写的FLASH存储器的检测和数据写入、读取、擦除的操作程序流程和仿真;还包括FPGA的数据采集和数据传输模块程序;还有在PC机上用VB或其他软件完成测试结果显示模块的流程设计。在PC机上进行了一部分程序的仿真,结果显示基本实现了所要求的各种功能。关键词:FPGA,LVDS,数据采集,A/D转换,FLASH第68页共68页TheDesignofLong-termComm
3、unicationsTestCircuitandSoftwareAbstractThispaperintroducesaschemeofhigh-speeddatastoragesystembasedonFieldProgrammableGateArray,FPGA.First,theanalogsignal fromavarietyofsensoraresendintotheconditioningcircuit tofilterandamplify,thenconvertintodigitalsignal un
4、derthecontroloftheFPGA.Thenmulti-passdigitalsignalaresentintoFPGAthroughcouplers.AfterthebufferofFPGA,thosedigitalsignalsaresentintoDS92LV1023.IntheDS92LV1023,multi-passdigitalsignalareincorporate toLVDSsignal,andenhancedbytheCLC001signaldrivercircuit.Finally,L
5、VDSsignalaresenttothetestbedthroughUTPandRI45.Inthere,LVDSsignalcanberecoveredintoparallelsignalandsenttoPCfordisplaying.Meanwhile,thecollecteddatasisstoredinlargecapacityFLASHmemoryK9K8G08UOAunderthecontroloftheFPGAInthispaper,Idesignthehardwarecircuit,andmake
6、schematicdiagrambyProtel,thendesignallkindsofsoftware.IntroducestheuseofVHDLorVerilogHDLlanguagetoprogrammetheFLASHmemorytestinganddatawrite,read,erasetandsimulateofprocesses.Andincludethe dataacquisitionanddatatransmissionmoduleprogram.Andaccomplishtheflowchar
7、tofdisplayprogrambyVBinthePC.InthePCsimulatepartoftheprocess,theresultsshowthatcompletetherequestedfeaturesbasicallyKeywords:FPGA,LVDS,dataacquisition,A/Dconverter, FLASH 1绪论1.1研究背景和意义第68页共68页信号采集与处理是计算机与外部物理世界连接的桥梁,在科研、生产和人们的日常生活中,经常需要测量流量、速度、位移、温度、压力、外形等物理量,人
8、们一般通过传感器把上述物理量转换成模拟电信号,然后将模拟电信号经过放大、滤波、数模转换等处理后送入计算机,这就是数据采集。随着测试系统功能的复杂化,传统的并行总线已不能满足系统高速数据传输的需要,成为影响系统性能的主要瓶颈。低压差分信号LVDS传输技术通过串行数据传输,以其低功耗、低噪声等优良特性,而环网总线具有在多负载下利用率高、网络性能对距