函数信号发生器打印.doc
文本预览下载声明
密级:
NANCHANG UNIVERSITY
学 士 学 位 论 文(设 计)
THESIS OF BACHELOR
(2011—2015年)
中文题目: 基于单片机函数信号发生器设计 英文题目: Design of function signal generator based on MCU 学 院: 南昌大学共青学院 系 别: 信息工程系 专业班级: 电子信息工程 学生姓名: 吴颖 学 号: 8120211036 指导教师: 刘定军 二 ○ 一 五 年 五 月
学士学位论文原创性声明
本人郑重声明:所呈交的论文是本人在导师的指导下独立进行研究所取得的研究成果。除了文中特别加以标注引用的内容外,本论文不包含任何其他个人或集体已经发表或撰写的成果作品。对本文的研究做出重要贡献的个人和集体,均已在文中以明确方式标明。本人完全意识到本声明的法律后果由本人承担。
本人签名: 日期:
摘 要
信号发生器是一种常用的信号源,广泛地应用于电子电路、自动控制系统和教学实验等领域。目前使用的信号发生器大都是函数信号发生器,并且特殊波形发生器的价格昂贵。所以本设计使用的是AT89C52单片机构成的发生器,可产生三角波、方波、正弦波等多种特殊波形和任意波形,波形的频率可用程序控制改变。在单片机上加外围器件距阵式键盘,通过键盘控制波形频率的增减以及波形的选择,并用了LCD显示频率大小。在单片机的输出端口接DAC0832进行D/A转换,再通过运放进行波形调整,最后输出波形接在示波器上显示。本设计具有线路简单、结构紧凑、价格低廉、性能优越等优点。 在介绍DAC0832芯片特性的基础上,论述了采用DAC0832芯片设计数字函数信号发生器的原理以及整机的结构设计。对其振荡频率控制、信号输出幅度控制以及频率和幅度数显的实现作了较详细的论述。
关键词:信号发生器; 单片机; DAC0832; 波形调整; LCD
ABTRACT
Signal generator is a common signal source, widely used in electronic circuits, automatic control system and teaching experiment etc.. Most signal generators currently in use is the function signal generator, waveform generator and a special price of expensive. So the design is the use of generator is composed of AT89C52 microcontroller, can produce triangle wave, sine wave, Fang Bo and many other special waveform and arbitrary waveform, frequency available procedures waveform control change. And peripheral devices in the microcontroller matrix keyboard, through the keyboard to control the waveform frequency increase or decrease and the waveform selection, and use the LCD display frequency size. In the output end of the SCM is connected to the DAC0832 to D/A conversion, and then by using waveform regulation, the final output waveform is connected with the display on the oscilloscope. Has the advantages of simple circuit, compact structure, low cost, superior performance and other advantages of this design. Based on introducing the characteristics of DAC0832 chip, the paper di
显示全部