基于FPGA函数信号发生器的设计与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
任意波形发生器已成为现代测试领域应用最为广泛的通用仪器之一,代表了信号源的发展方向。直接数字频率合成(DDS)是二十世纪七十年代初提出的一种全数字的频率合成技术,其查表合成波形的方法可以满足产生任意波形的要求。由于现场可编程门阵列(FPGA)具有高集成度、高速度、可实现大容量存储器功能的特性,能有效地实现DDS技术,极大的提高函数发生器的性能,降低生产成本。
     本文首先介绍了函数波形发生器的研究背景和DDS的理论。然后详尽地叙述了用FPGA完成DDS模块的设计过程,接着分析了整个设计中应处理的问题,根据设计原理就功能上进行了划分,将整个仪器功能划分为控制模块、外围硬件、FPGA器件三个部分来实现。最后就这三个部分分别详细地进行了阐述。
     在实现过程中,本设计选用了Altera公司的EP2C35F672C6芯片作为产生波形数据的主芯片,充分利用了该芯片的超大集成性和快速性。在控制芯片上选用了三星公司的上S3C2440作为控制芯片。本设计中,FPGA芯片的设计和与控制芯片的接口设计是一个难点,本文利用Altera的设计工具QuartusⅡ并结合Verilog-HDL语言,采用硬件编程的方法很好地解决了这一问题。论文最后给出了系统的测量结果,并对误差进行了一定分析,结果表明,可输出步进为0.01Hz,频率范围0.01Hz~20MHz的正弦波、三角波、锯齿波、方波,或0.01Hz~20KHz的任意波。通过实验结果表明,本设计达到了预定的要求,并证明了采用软硬件结合,利用FPGA技术实现任意波形发生器的方法是可行的。
Arbitrary Waveform Generator(AWG)is one of the most popular instruments in modern testing domains,which represents the developing direction of signal sources.Direct Digital frequency Synthesis(DDS)advanced early in 1970s is a full digital technology for frequency synthesis,its LUT method for synthesizing waveform adapts to generate arbitrary waveform.Field Programmable Gate Array(FPGA)has the features of large scale integration,high working frequency and can realize large memory,so FPGA can effectively realize DDS.
     The EP2C35F672C6 of Corporation Altera is chosen to do the main digital processing work,which is based on its large scale and high speed.The S3C2440 MCU is chosen as a control chip.In this design,how to design the FPGA chip and the interface between the FPGA and the control chip is the problem.With the method of software and hardware programming,the design used the software QuartusⅡand language verilog-HDL solves it successfully.In this paper,the principle of DDS and basis of EDA technology is introduced firstly.The problems met in the design are analyzed and the whole function is partitioned into three parts:master chip,FPGA device and peripheral hardware.The three parts are described in detail independently.The disadvantage and things need to advance are also listed.At the end of the dissertation,the measurement result of the system is given and its error is analyzed.It is shown the AWG can output a sine wave,a triangle wave,a sawteeth wave,or a square wave within the frequency range from 0.01Hz to 20MHz with the step of 10mHz,or output an arbitrary waveform within the range from 0.01Hz to 20kHz.Through an experiment,it is testified that the design meets the requirement planed and the way to use software and hardware programming method and DDS technology to realize Functional Waveform Generator is available.
引文
[1]朱立锋.传统的和基于DDS的AWG之间的区别.国外电子测量技术,1996,(1):12-17
    [2]乔红.一种通用数字中频正交扩频调制器的实现.电讯技术,2003,Vol.43,No.5:56-67
    [3]靳学明,谭剑美.基于DDS的通用雷达波形产生器的实现和性能.雷达科学与技术,2004,Vol.2,No.3:124-131
    [4]冯小平.基于DDS技术的雷达波形发生器的研究.西安电子科技大学硕士论文,2004:35-37
    [5]王征.遥控遥测数字调制解调的软件化殴计与实现.西安电子科技大学硕士论文,2001:42-43
    [6]张成伟.宽带高速新型ECM干扰源.电子对抗技术,2002,Vol.17,No.6:71-82
    [7]王群.复杂雷达信号波形设计与仿真.西安电子科技大学硕士论文,2004:22-24
    [8]袁振东.一种高效率智能电子实验仪的设计与实现.电气电子教学学报,2000,(1):55-62
    [9]Jierey J,Radar C M,Radar C M,Gold B.A digital frequency synthesizer.IEEE Trans on Audio Eltroacount,1971,august 1971:48-57
    [10]迟忠君,徐云,常飞.频率合成技术发展概述[J].现代科学仪器,2006,(3):21-24,28
    [11]Gravey J F,and Bubitch D.An Exact Analysis of Number Controlled Oscillator Based on Synthesizer.Proceedings of 44th Annual Frquency Control Symposium,1990:511-521
    [12]Altera Corporation.Cyclone Device Handbook,1999:307-345
    [13]IEEE 1149.1.(JTAG) Boundary-scan Testing in Altera Devices,1998:39
    [14]任艳颖,王彬.IC设计基础.西安电子科技大学出版社,2003:33-49
    [15]夏宇闻.Verilog数字系统设计教程.北京:北京航空航天大学出版社,2003:369-374
    [16]J.Vankka.Methods of Mapping from Phase to Sine Amplitude in Direct Digital Synthesis.IEEE Proc.50th AFCS,1996:942-950
    [17]Nicholas H T,Samueli H and kim B.An Analysis of the output Spectrum of Direct Digital Frequency Synthesizer in the Presence of Phase Accumulator Truncation.Proceedings of 41St Annual Frequency Control Symposium,1987:495-502
    [18]Nicholas H T,Samueli H and kim B.The Optimization of Direct Digital Frequency Synthesizer Performance in the Presence of Finite Word Length Effects.IEEE Proc.42nd STCS,1988:357-363
    [19]成都电讯工程学院七系。LC滤波器和螺旋滤波器的设计。北京:人民邮电出版社,1978
    [20]阿瑟.B.威廉斯.电子滤波器设计手册.北京:电子工业出版社,1986
    [21]Jessen,K.,Fractional-N simplifies Frequency Synthesis Hewlett-packard,Bench Briefs,May-August 1977:98-99
    [22]TEXAS INSTRUMENTS Inc.TMS320VC5416 Fixed-Pointed Digital Processor Data Manual.2005.
    [23]Maxim Corp.MAX3100 Technical Manual,2001
    [24]May D.Direct digital synthesis-aspects of operation and application[J],IEE Colloquium on Direct Digital Frequency Synthesis.1991,6(9):1-7
    [25]N CHOLAS H,SAMUEL IH,KMB.The optimization of direct digital Frequency synthesizer performance in the presence of finite word length effects[J].42nd annual frequency Control Symposium.1988:357-363
    [26]Texas Instrument corporated.DIGITAL-TO-ANALOG CONVERTER(DAC904).www.ti.com
    [27]Wayne Wolf.FPGA-Based SystemDesign.Publishedby PearsonEducation,inc,Publishing as Prentjice Hall PTR,2004:11-73
    [28]Alter Corporation.Configuring Cyclone FPGA.August 2005:15-19
    [29]Advanced Digital Design with the Verilog HDL by Michael D.Ciletti.Publishing House of Electronics Industry,2004:46-165
    [30]Altera Corporation.Avalon Interface Specification.April 2005:11-15
    [31]王建校,危建国.SOPC设计基础与实践.西安电子科技大学出版社,2006:28-35
    [32]ARM Limited,AMBA Interconnection Schemes ARM.Technical Publications,2002:11-13
    [33]徐欣,温广翔.可编程片上系统设计技术.2003年嵌入式世界研讨会论文集.天津,2003:46-51
    [34]Jaakko Kairus,Juha Forsten,Matti Tommiska,Jorrna Skytta.Bridging the Gap between Future Software and Hardware Engineers:A Case Study Using the NiosSoft-core Processor.33"d ASEE/IEEE Frontiers in Education Conference,2003
    [35]MIPS BusBridge 2 Module Users Manual,MIPS Technologies,Rev02.02,2005:7-8
    [36]Samsung Electronics,S3C44B0X RISC Microprocessor[Z],2004.10.
    [37]R.Schutz.Arbitrary Waveform Generators Provide Versatility and Utility[J].EDN,1984,4(5):199-208.
    [38]Analog Devices,Inc.A Technical Tutorial on Digital Signal Synthesis[Z].1999:5-11.
    [39]L.Cordesses.Direct Digital Synthesis:a Tool for Periodic Wave Generation.Signal Processing Magazine,IEEE,2004,21(5):110-112.
    [40]TOSHIBA Corporation.TOSHIBA CMOS STATIC RAM TC55V16256[Z].1998.5.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700