1、河南科技大学本科毕业设计(论文) I 信号发生器电路设计 摘 要 信号发生器, 是一种 能产生模拟电压 信号 的设备, 是常用的信号源, 被广泛 应 用于电子电路、自动控制系统和教学实验等方面。 由于应用广泛,因此, 随着科学技术的发展,对它的要求 也 越来越高。 本设计 以 AT89C51 单片机为核心 构成 了一个低频信号发生器 ,采用程序设计的方法产生 频率范围为 11000Hz 的 锯齿波、正弦波、矩形波、三角波四 种波形 的 信号 ,再通过 D/A 转换器 DAC0832 将数字信号转换成模拟信号,然后 滤波放大,最终由示波器显示出来。 在本设计中,可以 通过键盘来控制四 种波形的类
2、型选择、频率 变化 , 幅度调节 通过变阻器调节 。 信号 的频率和幅度在一定范围内可任意改变, 并 能 通过液晶屏 LCD1602 显示其各自的 波形类型以及 频率值 。 系统大致包括信号发生部分、数 /模转换部分 、键盘控制部分 以及液晶显示部分 四 部分 , 通过利用 Keil 软件 对系统程序进行 逐步 调试、利用 Proteus软件 对系统电路进行仿真测试, 逐步实现各个模块的功能, 最终将各个模块的功能加以整合,从而满足设计要求, 实现了调频、调幅 、 波形类型 的 选择、波形类型显示 以及 显示设定 频率 的 功能 。 该信号发生器 系统 具有体积小、价格低、性能稳定、功能齐全的
3、优点 ,具有较高 的实用价值。 关键词 : 信号发生器 , AT89C51, D/A 转换, 键盘, 调频,调幅 河南科技大学本科毕业设计(论文) II CIRCUIT DESIGN OF SIGNAL GENERATOR ABSTRACT Signal generator, a kind of device which can produce analog voltage waveform, it is widely used in fields such as electronic circuit, automatic control systems and teaching experi
4、ments. Therefore, with the development of science and technology, the demands to signal generator is more and more strictly. This design composes a low frequency (LF) signal generator with AT89C51 as core, by using program design, and it can produce sine, square, triangle and saw tooth waveforms, th
5、e frequency range of which is 11000Hz, and then converts digital signals into analog signals through the D/A converter DAC0832 , then filter and amplify, finally displayed by the oscilloscope. In this design, we can control frequency variation and which one of the four waveforms to choose through th
6、e keyboard, and we can realize amplitude adjustment through rheostat. In a certain range, the frequency and amplitude of the signal generated can be changed arbitrarily and we can see waveform type and frequency value displayed on the LCD1602. In rough, this system includes four parts such as signal
7、 producing part, digital -to- analog (D/A) conversion part, keyboard control part and LCD display part, one hand, we can debug system program through the Keil software, on the other hand, we can simulate and test system circuit through the Proteus software, and then realize the function of each modu
8、le of the system, eventually we integrate all the function of each module, and meet the design requirements, functions we realized include FM (Frequency Modulation), AM(Amplitude Modulation), choosing waveform type, displaying waveform type and setting frequency. This system of signal generator system has advantages on small