可编程信号发生器设计与实现讲述.doc

可编程信号发生器设计与实现讲述

可编程信号发生器设计与实现STC89C52单片机为系统核心,内部写入波形程序,外部接DAC0832数模转换器通过运放本次设计能产生三种波形正弦波方波三角波,种波形频率数码管显示,电路简单软件功,达。 关键词:STC89C52; DAC0832;运放;可编程 中图分类号:TN41 The Design and Implementation of Programmable?Signal Generator Abstract: The signal generator is a common source of signal, in the field of production practice, science and technology and teaching have a wide range of applications. By the signal generator of the discrete component, the circuit structure is complex, the waveform is less and the electric parameters are not adjusted; the signal generator with the combination of hardware and software with the use of single-chip microcomputer, with the advantages of simple circuit, stable performance and cheap price, etc, have a certain research value. The design used STC89C52 microcontroller as the core of the system, the waveform program was deposited in the microcontroller, connected DAC0832 d/a converter to convert digital to analog, then through the op-amp circuit output waveform after processing. The design results can produce three basic waveforms(sine wave, square wave and triangular wave), three waveforms switch by button, frequency of the waveform through a digital tube display, it can be achieved through frequency plus and minus keys to change the frequency, and waveform amplitude can be adjusted. The design of the programmable embodied in the flexibility of single chip microcomputer internal procedures to modify and expand. Overall, the design of simple circuit, reasonable layout, powerful software, as a whole to achieve the expected effect. Keywords: Signal Generator; STC89C52; DAC0832; Operational Amplifier ; Programmable. Classification: TN41 目 次 摘要 I 目次 III 1 绪论 1 1.1 研究背景和意义 1 1.2 发展历程及现状 1 2 总体设计 3 2.1 设计要求 3 2.2 设计方案 3 3 硬件设计 5 3.1 单片机最小系统 5 3.2 数码管显示模块 6 3.3 系统电源模块 7 3.4 DAC0832模块 8 3.5 按键模块 11 3.6 整体电路 12 3.7 PCB布线图的制作 12 4 软件设计 14 4.1 主程序流程图 14 4.2 中断程序流程图 14 4.3 按键扫描和频率显示流程图 15 4.4 波形产生流程图 16 4.5 延时子程序设计 16 5 系统仿真与调试 17 5.1 PROTEL仿真软件

文档评论(0)

1亿VIP精品文档

相关文档