毕业设计(论文)基于AT89S52的信号发生器设计.doc
文本预览下载声明
目 录
摘要: I
Abstract:. II
第一章 信号发生器的简介及发展 1
1.1 信号发生器的简介 1
1.2信号发生器的发展 1
第二章 系统设计 2
2.1 设计要求 2
2.2 设计方案与比较 2
2.2.1信号发生电路方案比较 2
2.2.2 单片机的选择方案 2
2.2.3 显示选择方案 2
2.2.4 键盘选择方案 3
第三章 硬件电路的设计 4
3.1硬件电路框图 4
3.1.1 AT89S52单片机 4
3.1.2 DAC0832芯片 6
3.1.3 LM324 7
3.1.4 液晶显示器1602 8
3.2 设计硬件电路 9
3.2.1 主控电路 9
3.2.2 数模转换电路 9
3.2.3 时钟电路 10
3.2.4 运算放大电路 11
3.2.5 功率放大模块 11
第四章 软件设计 13
4.1程序流程图 13
4.2 波形信号的产生 14
第五章 设计调试 15
结 论 16
参考文献: 16
致 谢 17
附录 18
基于AT89S52的信号发生器设计
摘要:本系统是利用AT89C52单片机作为控制核心,采用程序设计的方法产生正弦波、三角波、方波三种波形,产生波形后再通过D/A转换器DAC0832将数字信号转换成模拟信号,经过LM324运放电路进行电压放大和功率放大电路的功率放大后,最终由示波器将最终波形显示出来。产生波形的频率范围是100Hz—10kHz,幅度是1v—15v。系统设计了四个键盘来控制,分别是:复位键、三种波形的类型选择键、频率的增加键和频率的减小键。除此之外,系统还设置了两个电位器实现波形幅度的调节,一个进行粗调,另一个进行细调。系统还配置了液晶屏1602,该显示屏可以显示波形的类型以及各自的数值。
系统大致包括信号发生部分、数/模转换部分,功率放大部分以及液晶显示部分四个部分,其中尤其对数/模转换部分和波形产生与变化部分进行详细论述。
关键词:AT89S52液晶1602DAC0832
The design of signal generator based on AT89S52
Abstract:this system using single chip microcomputer AT89C52 as control core,it using program design method to generate sine wave, triangle wave, square wave, three kinds of waveform generated waveform after through D/A converter DAC0832 converts digital signals into analog signals, After LM324 op-amp circuit voltage amplifier and power amplifier circuit of power amplifier, finally by the oscilloscope will eventually waveform display. Produce waveform frequency range is 100 HZ to 10 KHZ, amplitude is 1 v to 15 v. System design the four keyboard to control, respectively is: three types of waveform of the reset button, select key, the increase in the frequency and frequency decrease keys. In addition, the system is also equipped with two potentiometer can adjust waveform amplitude, a coarse adjustment, another for fine tuning. System is configured with the LCD 1602, the screen can display the waveform of the types and their respective values.
This system include roughly part, signal conversion/parts, power amplifier and liquid crystal display part four parts, including especially the logarithmic/m
显示全部