dac0832函数信号发生器.

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

智能仪器课程设计

设计题目:函数信号发生器设计

学生姓名:赵鑫、罗承波、江再农

学院名称:机械工程学院

班级:测控技术与仪器062班

学号:200646000227、20064600222、20064600215 指导教师:袁锋伟、王玉林、蒋彦

2009年6月

设计任务:

设计一个函数信号发生器,具体指标如下:

1采用AT89S51及DAC0832设计函数信号发生器;

2输出函数信号为正弦波或三角波或阶梯波;

3输出信号频率为100Hz,幅度0-10V可调;

4必须具有信号输出及外接电源、公共地线接口

低频函数信号发生器的设计

摘要:信号发生器是一种常用的信号源,广泛地应用于电子电路、自动控制系统和教学实验等领域。目前使用的信号发生器大部分是利用分立元件组成的体积大,可靠性差,准确度低。课程设计需要各个波形的基本输出,这些波形的实现的具体步骤:正弦波的实现是非常麻烦的。它的实现过程是通过定义一些数据,然后执行时直接输出定义的数据就可以了。而三角波,则每次累加1,当达到初值时,每次累减1,算出延时时间,也就达到要求了,阶梯波和三角波类似!该设计使用的是AT89S51单片机构成的发生器,可产生三角波、方波、正弦波等多种波形,波形的频率可用程序控制改变。在单片机上加外围器件独立式开关,通过开关控制波形的选择。在单片机的输出端口接DAC0832进行DA转换,再通过运放进行波形调整,最后输出波形接在示波器上显示。

关键词:信号发生器;单片机;波形调整

The design of low-frequency function signal-generator

Abstract:Signal generator is a common signal source, widely used in electronic circuits, automatic control systems and experiments in areas such as teaching. Currently used by most of the signal generator is composed of discrete components use bulky, poor reliability, low accuracy. Curriculum design of the basic needs of all the output waveform, the waveform of the specific steps to achieve: the realization of sine wave is very troublesome. It is through the implementation of the definition of some data, and then direct the output when the definition of the implementation of the data on it. The triangle wave, then add 1 each time, when the initial value to reach every tired by 1, calculate the delay time, they meet the requirement, the ladder-wave and triangular wave similar! The design is composed of single-chip AT89S51 generator can produce the triangular wave, square wave, sine wave, etc.,

waveform control can be used to change the frequency. Increase in single-chip peripheral devices on stand-alone switch, switch control through the choice of waveform. Output ports in the MCU access to DA converter DAC0832, and then through the operational amplifier to adjust the waveform, then the final output waveform in the oscilloscope display.

Key words: signal generator;single-chip microcomputer;wave-form adjustment

目录

1、设计概述

1.1、设计任务-----------------------------------1

1.2、设计思想-----------------------------------1

2、硬件资料

2.1、芯片资料 ----------------------------------2

3、软件系统设计

3.1、正弦波设计流程图---------------------------4 3.2、三角波设计流程图---------------------------5

3.3、阶梯波设计流程图--------------------------7

4、系统的组装与调试

4.1、protel原理图------------------------- ------8

4.2、protues原理图----------------------- -------8

5、函数发生器程序-------------------------------9

6、操作说明--------------------------------------11

7、总结及心得体会-------------------------------12

8、问题解答-------------------------------------12 参考文献---------------------------------------12

相关文档
最新文档