文档介绍:摘要
在信号发生器的设计中,传统的用分立元件或通用数字电路元件设计电子线路的方法设计周期长,花费大,可移植性差。本设计是用直接数字频率合成器(DDS),设计出两个相互正交的信号,该信号发生器输出信号的频率范围为:0-400MHz,频率分辨率: ,频率误差范围:-2%~2%,相位差的误差<4°。
与传统的频率合成方法相比,DDS合成信号具有频率切换时间短、频率分辨率高、相位变化连续等诸多优点。使用单片机灵活的控制能力与FPGA器件的高性能、高集成度相结合,可以克服传统DDS设计中的不足,从而设计开发出性能优良的DDS系统。
关键词:单片机,直接数字频率合成,可编程逻辑器件
Abstract
In the designing of the signal generator, the traditional method, which designs electronic circuits using ponents or general digital ponents, takes a long time with high cost, what’s more, the transplanting ability of it is unsatisfactory. In this design, the circuit is designed the designing of DDS. Its output frequency range is 0 to 400MHz ,the resolution is and zhe error is bitween -2% and 2%.
Compared with traditional methods of frequency synthesizing, direct digital frequency synthesizing (DDS) has lots of advantages, such as short time of quick frequency exchanging, high frequency resolution, continuous phase changing, etc. Micro-control unit has is characterized by. Many drawbacks can be e and a good DDS system with good performance can be developed bining the flexible control capability of micro-control unit with high performance and integration of the FPGA devices in the same system.
Keywords: MCU, DDS,FPGA
目录
第一章绪言 1
课题背景 1
课题研究的目的和意义 1
国内外的研究状况 2
2
国内外波形发生器产品比较 3
本课题在国内外的研究现状 4
第二章信号发生器的方案设计 14
14
频率合成器方案 14
移相方案 16
存储器方案 16
17
DDS的基本原理 18
FPGA实现的直接数字频率合成器 19
移相原理 20
第三章电路设计 14
FPGA设计DDS电路的具体实现 14
相位累加器部分 14
相位/幅度转换电路 14
波形表生成 15
D/A转换电路 15
系统控制电路 15
单片机与FPGA的接口设计 15
(FPGA)的选择 17
其他电路设计 18
晶体振荡电路 18
地址计数脉冲产生电路 18
幅度控制电路 19
单片机外扩展存储器电路 19
滤波、缓冲输出电路 20
键盘和显示控制电路 21
D/A转换电路的设计 22
DAC0832芯片原理 25
结束语 29
致谢 30
参考文献 31
附录 1 32
附录2 33
附录3 36
第一章绪言
课题背景
在一些电子设备的电路板故障检测仪中,往往需要频率、幅度都能由计算机自动调节的信号源。采用诸如MAX0