文档详情

毕业设计(论文)简易函数信号发生器的设计.doc

发布:2018-05-25约1.29万字共25页下载文档
文本预览下载声明
目 录 摘要 I Abstract. II 第一章 绪论 1 1.1 单片机概述 1 1.2 信号发生器的介绍和分类 1 1.3 任务要求和设计内容 2 第二章 函数信号发生器的方案选择与设计 4 2.1 函数信号发生器设计方案的选择 4 2.11 信号发生器电路方案 4 2.12 显示电路方案 4 2.13 按键控制电路方案 5 2.2 总体设计 5 第三章 系统硬件电路的设计 6 3.1 单片机核心控制电路 6 3.11 单片机芯片简介 6 3.12 单片机硬件原理框图 7 3.13 引脚及功能说明 7 3.2 D/A数模转换电路及波形产生模块 8 3.2DAC0832简介 9 3.22 DAC0832的特点 9 3.23 DAC0832与MCS-51的接口 9 3.时钟电路模块 9 3.4 复位电路模块 10 3.5 液晶显示电路模块 10 3.按键接口控制模块 11 第四章 系统软件的设计 12 4.1 程序流程图 12 4.2 系统软件设计 14 4.21 正弦波的设计 14 4.22 三角波的设计 15 4.23 方波的设计 15 4.24 锯齿波的设计 15 4.25 梯形波的设计 15 结论 16 参考文献(References) 17 致谢 18 附录一:硬件电路原理图 19 20 简易函数信号发生器的设计 摘要:用于测量的信号发生器指的是能够产生不同频率、不同幅度的规则或不规则的信号源,在电子系统的测量、实验、校准和维护中的得到广泛的应用。因此设计一个函数信号发生器的方案有不少,为了突出简单、方便、实用等优势本次选择了采用单片机的设计方案。从单片机出现以来,性能在不断的提高和完善,它不仅能满足很多应用场合的需要,而且有很多的优点,比如具有较高的性价比、集成度高、功能强、体积小可靠性高、控制功能强等特点。这次设计的函数信号发生器,能产生正弦波、三角波、方波、锯齿波和梯形波这五种比较典型的波形,通过单片机为核心控制,D/A数模转换模块,按键模块、复位模块等利用液晶LCD和示波器能很好的显示波形的方式和频率,同时频率和幅度可以相应的进行控制,每种波形的步进值也可以根据按键来进行递增和递减。另外与C语言编程结合起来,使得本设计运用起来灵活,修改起来方便,硬件电路也较简单,性价比较高,具有一定的实用和研究价值。 关键词:信号发生器;单片机;D/A数模转换;液晶LCD The design of The simple function signal generator Abstract:Used to measure the signal generator can produce refers to the different frequency and amplitude of regular or irregular signal source, in the electronic system of measurement, experiment, calibration and maintenance of the widely used . Therefore, the design of a function generator, there are many programs, in order to highlight the simple, convenient and practical advantages of this choice of using single-chip design.From the advent of single chip microcomputer, constantly improve and perfect performance, it can not only meet the needs of many applications, and has many advantages, such as high cost performance, high integration, strong function, small volume, high reliability, strong control function, etc. The design of function signal generator, which can generate sine wave, triangle wave, square wave, sawtooth wave and trapezoidal wave the five typical waveform, controlled by single chip microcomputer as the co
显示全部
相似文档