学士学位论文___单片机低频信号发生器设计与制作.doc
文本预览下载声明
目录
摘要……………………………………………………………………2
引言……………………………………………………………………4
第一章 低频信号发生器概述………………………………………5
1.1系统功能要求.........................................5
1.2 方案论证…………………………………………………………5
第二章 系统硬件电路设计…………………………………………8
2.1系统总体方框图…………………………………………………8
2.2硬件电路设计……………………………………………………8
2.3器件介绍…………………………………………………………11
第三章 系统软件设计………………………………………………17
3.1编程原理……………………………………………………………17
3.1.1主程序编程思想…………………………………………………17
3.1.2正弦波程序编程原理………………………………………………17
3.1.3锯齿波程序编程原理………………………………………………18
3.14三角波程序编程原理………………………………………………19
3.15判别按键输入子程序编程原理……………………………………19
3.2主控程序………………………………………………………………19
3.3程序流程…………………………………………………………………28
第四章 系统调试…………………………………………………………34
4.1硬件系统调试……………………………………………………………34
4.1.1 AT89S51单片机调试………………………………………………34
4.1.2 波形输出及放大电路调试…………………………………………34
4.1.3 电路板的制作………………………………………………………35
4.2软件系统调试……………………………………………………………36
结束语………………………………………………………………………37
参考文献……………………………………………………………………37
附录I 信号发生器原理…………………………………………………38
附录II 信号发生器PCB图………………………………………………39
数字式低频信号发生器设计与制作
摘要
本次主要介绍8位的单片机AT89S51和DAC0832组成一个简单的实时控制系统----低频信号发生器。它主要是以AT89S51做为控制核心,通过编写应用程序来识别按键,并根据相应的按键来产生各种波形。用户可以通过按键选择实验中常常使用的波形:正弦波、三角波、锯齿波。系统根据DAC0382及其外围电路产生设计中需要的低频信号,输出信号在示波器上显示出来。本系统可输出10HZ-1KHZ波形信号。若是以单极性输出,输出电压Vpp=5V;若是以双极性输出,输出电压Vpp=10V。若深入应用,可考虑频率和幅度的自动步进或由按键步进。
关键词 单片机AT89S51,数模转换器D/A0832,信号发生器
Devise and facture of low frequency signal generator based on single chip
Abstract
This text introduces a low frequency signal generator which is based on single chip microcomputer AT89S51.By the small keyboards,uers can choose the basic waveforms which are often used in the laboratory,such as sine wave,square wave and triangle wave.When the single chip microcomputer AT89S51 reseives the control signal from the small keyboards,theIC DAC0832 well get the signal from the chip ,so as to control the choise of signal waveforms and the output frequency.System recur DAC0832 and its periphery circuitry to produce three kinds of waveforms output and display it through oscillograph.
This syst
显示全部