基于FPGA的任意信号发生器的设计

基于FPGA使用DDS技术实现的任意信号发生器,通过本次设计我基本了解了FPGA以及DDS技术的特点和应用,对于他们的一些基础的理论能够大致了解并应用。


摘  要:由于科学技术的不断发展,微电子和数字集成电路在科技领域受到高度重视,当前信号发生器是数字设备操作的主要设备。 没有设计良好的信号发生器,系统将无法正常工作。 本论文研究的主要方向是创建一个基于FPGA的功能信号发生器。本文主要介绍了设计的主要任务和思路,以及与本次设计中相关的知识和理论,及相关技术指标和基本知识。

DDS技术(直接数字频率合成)由于其高性能和高效率而在现代频率合成领域中脱颖而出,是现在最好的数字化技术之一。 本次设计所使用的控制器是FPGA,波形数据的输出通过DDS技术来实现,信号的输出则是由高速DA输出模块来负责。本设计所完成的信号发生器产生信号频率的范围在1HZ~10MHZ,频率值则是通过按键模块来调整,并通过拨码开关切换信号类型,并可通过LCD1602显示输入频率值。

本设计的代码采用VHDL硬件描述语言,设计思想是从下到上的FPGA,以及对下层模块的原理和设计思想的分析。 最后,给出了本文的相关结论,并进行了仿真调试。

关键词:DDS技术  信号发生器  FPGA

Arbitrary Signal Generator Based on FPGA

Abstract:Due to the continuous renewal of science and technology, microelectronics and digital integrated circuits are highly valued in the field of science and technology. This time, the signal generator is the main equipment for the operation of digital devices. Without a well-designed signal generator, The system does not work properly. As for other functions, it cannot be realized directly. The main direction of literature research is to create a main method for FPGA-based functional hardware and software and signal generators. This paper introduces the main tasks and design ideas of this design for the first time, as well as the corresponding points of the knowledge and theory related to the design used in this design, as well as the related hardware and software technical indicators used in this project. And basic knowledge. Based on the above knowledge, a hardware circuit diagram is implemented. DDS technology (direct digital frequency synthesis) has become one of the best in the field of modern frequency synthesis because of its high performance and high performance. This design uses fpga as a controller and uses DDS technology to achieve the output of waveform data and output signals through a high-speed DA output module. The developed signal generator can generate a signal frequency of 1-10 MHz, and can adjust the frequency value through the button module, and switch the signal type through the dial switch, and can display the input frequency value through the LCD1602.

Then, re-enter the software design process, the design idea is from the bottom to the top of the FPGA, as well as the analysis of the underlying module principles and design ideas, and finally the relevant software application knowledge. Finally, the relevant conclusions of this paper are given, and the simulation debugging process is carried out.

Key Words: DDS Technology   Signal Generator   FPGA

目录

摘要 Ⅰ

Abstract II

1 绪论 1

1.2  课题的任务及内容 3

1.2.1 系统设计任务 3

1.2.2系统设计目的 3

1.2.3 系统设计要求 3

2 DDS原理 4

2.1  DDS基本原理介绍 4

2.2  DDS的优缺点 6

3  系统总体设计及选型 8

3.1总体设计要求 8

4   硬件设计 10

5  代码设计 15

6 系统制作及测试 21

7  结语 28

参考论文 29

致谢..30

附录..31

基于FPGA的任意信号发生器设计

图清单

图序号 图名称 页码

图2-1 DDS原理图

4

图2-2 基本原理框图 6

图3-1 硬件结构图 8

图3-2 主要设计基本框图 8

图4-1 EP1C3T144C8N引脚图 11