多种波形发生器的研究.doc
文本预览下载声明
摘 要
任意波形发生器(AWG,Arbitrary Waveform Generator)是随着不断进步的计算机技术和微电子技术在测量仪器中的应用而形成和发展起来的一类新型信号源。AWG能够产生各种标准波形信号和用户自定义任意波形信号,并且精度高、稳定性强、可重复性和易操作性好,具有广阔的应用前景。AT89S52单片机作为波形发生器的重要元件,加上巧妙的软件设计和简易的外围电路,产生频率、幅度可调的正弦波、三角波、锯齿波以及方波等多种信号。信号的频率、幅值、通过键盘直接输入,并由LCD显示。与现有各类型波形发生器比较而言,ATMEL的AT89S52是一种高效微控制器,其产生的数字信号干扰小,输出稳定,可靠性高,特别是操作简单方便,成本低,非常适合于物理实验室教学与实验使用。
关键词: AT89S52单片机、 波形发生器、 LCD显示;
Abstract
With the development of the technique of computer and microelectronics, a new measure instrument--Arbitrary Waveform Generator (AWG) comes into being. AWG can generate many kinds of standard and arbitrary waveform signals. It has good future with its precision, stabilization, repeatability and facility. signal generator in teaching, testing, monitoring and control, and other fields have a very wide range of applications, but with modern electronic communication technology, often require high precision and can easily adjust the frequency signal generator.
The design of direct use AT89S52 SCM as an important component of the wave generator, coupled with clever software design and simple external circuit, a frequency, adjustable rate sine, triangle, square and sawtooth, and other signals. Signals in the frequency and amplitude, directly through the keyboard input, and the LCD display. And various types of existing waveform generator comparison, ATMEL the AT89S52 is a highly efficient microcontrollers, the small number of signal interference, output stability, high reliability, in particular the operation of simple, low cost, very suitable for physics experiments Room teaching and experimental use.
Key words: AT89S52 SCM, waveform generators, LCD display;
目 录
摘 要 I
引 言 I
第一章 绪论 1
1.1 多种波形发生器的原理 1
1.2 方案实现论证 1
第二章 波形发生器硬件设计 3
2.1系统主框图 3
2.2 AT89S52单片机的电路设计 3
2.3显示电路的设计 6
2.4数模转化电路的设计 9
2.5电源电路的设计 11
2.6按键模块的设计 13
第三章 波形发生器的软件设计 14
3.1系统软件设计框架 14
3.2显示电路的软件设计 15
3.3按键程序的软件设计 17
3.4波形产生的系统软件设计 19
第四章 多种波形发生器的制作与调试 20
4.1印制电路板的设计与制作 20
4.1.1印制电路板设计的的基本步骤和方法 20
4.1.2 PCB板的设计 22
4.1.3 PCB板制作 23
显示全部