1、 毕业设计任务书毕业设计任务书 设计题目: 函数信号发生器设计 系 部: 电子工程系 专 业: 应用电子技术 学 号: 姓 名: 指导教师: 2012年 11 月 - 2 - 摘摘 要要 信号发生器是一种常用的信号源,广泛地应用于电子电路、自动控制系统和教 学实验等领域。目前使用的信号发生器大部分是函数信号发生器,且特殊波形发生 器的价格昂贵。所以本设计使用的是 AT89C51 单片机构成的发生器,可产生三角波、 方波、正弦波等多种特殊波形和任意波形,波形的频率可用程序控制改变。在单片 机上加外围器件距阵式键盘,通过键盘控制波形频率的增减以及波形的选择,并用 了 LCD 显示频率大小。在单片机
2、的输出端口接 DAC0832 进行 D/A 转换,再通过运放 进行波形调整,最后输出波形接在示波器上显示。本设计具有线路简单、结构紧凑、 价格低廉、性能优越等优点。 在介绍 DAC0832 芯片特性的基础上,论述了采用 DAC0832 芯片设计数字函数信号 发生器的原理以及整机的结构设计。对其振荡频率控制、信号输出幅度控制以及频 率和幅度数显的实现作了较详细的论述。该函数信号发生器可输出三角波,方波和正 弦波。 关键词关键词: 信号发生器 单片机 DAC0832 波形调整 LED - 3 - AbstractAbstract Signal-generator is a kind of sign
3、al source in common use, broadly applied at the electronics electric circuit, auto control system and teaching experiment etc. Currently used mostly function signal generator signal generator, waveform generator and a special price of expensive . So the dissertation is usage of the AT89s51 single-ch
4、ip microcomputer constitute of wave-form generator, which can generate triangle wave, square wave, sine wave etc variety wave-form, the period of wave can be controlled by procedure, at outer circle spare part of the machine, plus independence type keyboard , which can control wave increase or decre
5、ase of form-frequency and the choice of wave-form, at the same time LED display frequency size. The output of the machine connect DAC0832 to carry on a DA conversion,again pass operation amplifier to put an end exportation wave-form. This design has advantage of simple circuit, tightly packed struct
6、ure, cheap price, superior function etc. Based on the introduction of MAX038 , we discussed the principle and the whole frame of the digital function signal generator. We described the control of the oscillatory frequent , amplitude and the digital display in detail. Thegenerator can output three kinds of waves : sine wave , square wave , triangle wave. KeywordsKeywords : signal generator MCU DAC0832 wave-form adjustment LED 1 - 4 - 目目 录录 摘 要 2 第 1 章 绪论