1、 I 本科毕业设计(论文)资料本科毕业设计(论文)资料 题题 目目 名名 称:称: 信号波形发生器的设计信号波形发生器的设计 学学 院 (部) :院 (部) : 电气与信息工程学院电气与信息工程学院 专专 业:业: 测控技术与仪器测控技术与仪器 学学 生生 姓姓 名:名: II 2014 届届 本科毕业设计 (论文) 资料本科毕业设计 (论文) 资料 第一部分第一部分 毕业论文毕业论文 III 摘 要 为了设计一款操作简便、灵活,结构简单、性能优良的信号波形发生器,通 过详细了解 STC89C52 单片机和 DAC0832 数模转换器的主要功能和工作原理,设 计了一种以这两个芯片为核心元件的信
2、号波形发生器。 通过硬件电路设计和软件 编程相结合方式来实现这个设计。采用 STC89C52 单片机作为控制核心,外围采 用数字/数模转换电路(DAC0832) 、运放电路(LM324)和按键等。采用软件编程 的方法来实现波形,将产生波形的程序用子程序从形式编写,在需要哪种波形时 调用相应的子程序。按键可以控制产生正弦波、方波、三角波和锯齿波类型且可 以方便地调节其频率和幅值。设计中详细介绍了该信号发生器的工作原理、硬件 电路、软件流程及技术关键。与传统的信号发生器相比,该设计具有输出波形稳 定、精度高等特色,且电路结构紧凑、体积小,得到的输出波形失真度低、频谱 纯度高,具有非常大的现实意义。
3、此种信号波形发生器可以广泛地被应用于自动 控制系统、电子电路和教学实验等领域。 关键词:信号波形发生器,AT89C52 单片机,DAC0832 数模转换器,运算放大器 IV ABSTRACT In order to design a simple-structured and flexible signal waveform generator which is easy to operate with excellent performance,understand the main functions and work principle of signal chip computer S
4、TC89C52 and DAC0832 to design a kind of signal generator which is based on them.To achieve the design through hardware design and software programming.Using STC89C52 as control core,peripheral circuit use DAC0832,LM324 and button and so on.Adopting the method of software programming to realize the w
5、aveform, will produce waveform programs written in a subroutine from the form, and meet the need to what kind of waveform at the corresponding subroutine call.Through the button the signal generator could select to generate sine wave,square wave,triangle wave and sawtooth wave.The frequency and ampl
6、itude of the output signal could be adjust easily.IN this design the working principle ,hard-ware circuits ,software design and key technology of the signal generator are described in detail.Comparing with the traditional signal waveform generator,the signal waveform generator can generate stable and high-precision wave. The output wave has low degree of distortion and high purity of frequency spectr