毕业设计(论文) 基于单片机的 函数信号发生器的设计与实现 系部:计算机与电子信息工程系 专业:电子信息工程__________ 班别:08电本1班____________ 姓名: ______________________ 学号:0800604135____________ 指导老师(签名): 日期: 年月 摘要 信号发生器又称为信号源和振荡器,在生产实际中有着广泛的应用。本设计由单片机控制函数信号发生芯,以及外围器件来完成,系统能够产生正弦波、方波、三角波。在设计中利用数/模(D/A)转换芯片MAX531输出模拟电压信号来进行频率的调节,还有占空比的调节,由于MAX038函数信号发生芯片产生的频率是通过选段来实现的,选段范围kHz~MHz的范围,芯片通过外部的电容充放电的时间长短来决定频率的范围,经典的选段是通过手动开关来选择,本设计通过单片机接通继电器选择不同的电容值而产生不一样的振荡频率,选定基频以后是对频率的调节。调节MAX038的FADJ端的电压来实现频率的细微调节。 关键词: 函数信号发生单片机控制 Abstract signal generator have another name is source of signal and oscillator,The signal generator is widely use in the life and design base on the singal chip (AT89S52) to control signal generator chip and suburbs device .This system can generator sine ,square ,triangle ,etc waveforms. In this design use the digital/analog device MAX531 output the analog voltage to adjust frequency, and frequency of the signal generator chip MAX038 be control of capacitance according to the time of electrily .divide kHz MHz .Typic of the choose frequency section use the botton .In this design,use Relay switch to choose .After choose frequency section adjust the MAX038 FADJ pin’s voltage to accurate frequnency adjust . Key words : signal generator singal chip control 目录 第一章绪论 单片机发展概述………………………………………………………6 单片机的性能特点………………………………………………………6 单片机应用系统的结构及构成方式……………………………………6 信号发生器综述…………………………………………………………7 论文的主要研究内容……………………………………………………8 第二章系统的总体方案选取 …………………………………………………………10 系统可行性研究………………………………………………………10 元器件的选择及其可行性讨论…………………………………10 系统需求分析…………………………………………………………11 系统功能要求……………………………………………………11 系统性能要求……………………………………………………11 …………………………………………………11 第三章系统的硬件设计 硬件总体设计…………………………………………………………12 系统部件设计…………………………………………………………13 电源设计…………………………………………………………13 显示器接口设计…………………………………………………14 键盘接口设计……………………………………………………16 数模转换电路的连接……………………………………………17 电容频段的选择设计……………………………………………18 函数信号