基于单片机控制的函数信号发生器
毕业设计
题 目 基于单片机控制的函数信号发生器
英文题目 microcontroller-based function signal generator
二零一二 年 月
摘 要
信号发生器,它是一种用于产生标准信号的电子仪器,随着科学技术的发展,对它的要求越来越高。在工业生产和科研中利用信号发生器输出的信号,可以对元器件的性能及参数进行测量,还可以对电工和电子产品进行指数验证、参数调整及性能鉴定。常用的信号发生器绝大部分都是由模拟电路构成的,当这种模拟信号发生器用于低频信号输出往往需要的RC值很大,这样不但参数准确度难于保证,而且体积和功耗都很大,而由数字电路构成的低频信号发生器,虽然其低频性能好但体积较大,价格较贵,因此,高精度,宽调幅,低价格将成为数字量信号发生器的发展趋势。
本设计核心任务是:以89C51为核心,结合DAC0832实现程序控制产生正弦波、锯齿波及方波等常用的低频信号。可以通过键盘选择波形及增减频率。
关键词:波形发生器; 单片机80C51;数模转换器件DAC0832
ABSTRACT
Signal generator, it is a widely used sourse, with the scientific and the technological development,increasing its demands. industrial production and scientific research in the use of signal generator output signal generator output signal, the performance of components and parameters measured, but also the electrical and electronic products for authentication, and adjust parameters of identificatiaon. The signal generator used by the vast majority of Analog circuit components, such as analog signal generator for the low-frequency signals often require output value of the RC great, it will not only difficult to ensure the accuracy of parameters, but also have great size and power consumption. Digital components of low-frequency signal generator, although the low-frequency performance good but larger, more expensive price, therefore, high accuracy, wide-AM, will become a low-cost digital signal generator trend of development.
The graduation project core task is to design:89c51 as the microcontroller, unifies DAC0832 to realize the programmed control to have the sine wave, the sawtooth wave and the square wave three commonly used low-frequency signals. Can choose the waveform and frequency by the keyboard.
Key word: 89C51; DAC0832; signal generator
目 录
绪论1
1.1本课题的目的及意义1
1.2 本课题的研究现状1
1.3 设计的基本要求2
1.4 本课题研究内容2
2. 方案的设计与选择4
2.1 总体设计方案4
2.2 方案的比较4
2.3 单片机的选择5
2.4 显示方案选择5
2.5 键盘方案选择5
3. 硬件设计6
3.1 ATC89