简易函数信号发生器解剖.doc

物理与电子信息学院   单片机与接口技术课程设计报告 设计题目: 简易函数信号发生器的设计 专 业: 电子信息工程 班 级: 2013级 2班 姓 名: 周亚蕾,李培根,汤小伟 课 程 设 计 划 任 务 书 电子信息工程 系 电子信息工程 专业 学生姓名 周亚蕾 班级 2013级2班学号 130802095 学生姓名 李培根 班级 2013级2班学号 130802022 学生姓名 汤小伟 班级 2013级2班学号 130802049 课程名称: 单片机原理与接口技术 设计题目: 简易函数信号发生器的设计 课程设计内容与要求: 设计内容 1、设计一个基于AT89S52单片机的信号发生器; 2、能够输出方波和正弦波(正弦波是双极性的),要求可用按键选择; 3、可选电压值为:1V、2V、3V、4V、5V五个档位; 4、可选频率值为:10Hz、20Hz、50Hz、100Hz、200Hz、500Hz、1KHz七个档位; 5、能够通过显示模块显示输出波形的主要参数。 课程设计开始日期 2015年 12月 21日 指导教师 黄云飞 课程设计结束日期 2015年 12月 28日 简易函数信号发生器的设计 摘 要 本设计是实用信号源的设计,以 AT89C51 单片机为核心,通过单片机控制8位分辨率的D/A转换集成芯片DAC0832产生相关类型的波形,而通过独立按键对输出波形种类进行选择,通过拨码开关对信号输出频率进行设置,通过滑动变阻器对信号输出幅值进行调整。该设计可以产生正弦、锯齿、三角、方波等四种波形,经过仿真与实物测试,输出波形稳定且频率、幅值可调节,达到预期设计目标。 关键词:信号发生器;AT89C51;DAC0832 Digital Stopwatch ABSTRACT This design is the design of the practical source, AT89C51 single-chip microcomputer as the core, through the single-chip microcomputer control 8-bit resolution of D/A conversion chip DAC0832 related types of waveforms, and through independent buttons to choose types of output waveform, the signal output by dial the code switch frequency set, through the slide rheostat to adjust output signal amplitude. This design can produce sine, saw tooth, triangle, square wave and so on four kind of waveform, through simulation and actual test, the output waveform is stable and adjustable frequency, amplitude, the desired design goal. Key words: signal generator; AT89C51; DAC0832 目 录 1系统总体方案设计......................................................3 1.1设计内容...............................................................3 1.2设计要求...............................................................3 1.3设计思路及描述......................................................

文档评论(0)

1亿VIP精品文档

相关文档