摘要:新世纪以来,随着电子技术特别是存储技术、微处理技术和制作工艺的飞速发展,单片微型计算机,尤其是SOC片上系统在现代化工业、生活电器等领域应用颇广,日常的家电如电视、手机无不有它的身影,可以说一块小小的芯片使得生活变得越来越智能化、便捷化。本论文从应用最广泛的C51单片机入手,首先介绍其基本功能和特性,然后通过信号发生器的制作即产生常见的矩形波、三角波、正弦波,来层层了解C51单片机的基本应用。而信号发生器的制作则通过运放等分立元件和C51单片机编程分别实现,从中我们可以不仅学到运放等元器件的基本用法而且通过编程了解C51单片机的串口通讯、中断、数模、模数转换等。
关键词: 单片机;信号发生器;运算放大器
Multi-function signal generator based on MCU
Abstract: since the new century, along with electronic technology, storage technology, in particular the rapid development of micro processing technology and production technology, single chip microcomputer, especially on SOC system in modern electrical equipment is widely used in such fields as industrial, life, everyday appliances such as television, cell phones, all have its figure, can say a little chip makes life become more and more intelligent, convenient. In this paper, starting with the most widely used C51, I first introduce the basic functions and features, and then through the signal generator manufacture which produce common square wave, triangle wave, sine wave, to layers of understanding of the basic application of C51. While signal generator made by operational amplifier and other discrete component and C51 programming respectively, from which we can not only learn basic usage of op-amp of components and by understanding C51 microcontroller programming, interrupt, D/A, serial port communication module conversion, etc.
Key words: single chip microcomputer; Signal generator; Operational amplifier
目录
1 绪论 - 1 -
1.1 单片机发展概述 - 1 -
1.2 单片机系统的组成 - 2 -
1.3 了解信号发生器 - 2 -
1.4 论文的主要研究内容 - 3 -
2 系统方案的设计 - 4 -
2.1 多种方案的分析 - 4 -
2.2 多种方案的比较 - 4 -
2.3 系统结构框图 - 5 -
2.3.1 由分立元件实现的结构框图 - 5 -
2.3.2 由C51单片机实现的结构框图 - 6 -
3 分立元件方案硬件设计 - 8 -
3.1 走近运放的世界 - 8 -
3.2 供电电源的设计 - 8 -
3.2.1 运放单电源供电的研究 - 9 -
3.2.2 运放单电源实现实现VOUT=mVS+b - 11 -
3.2.3 直流稳压电源的设计 - 12 -
3.3 矩形波发生电路 - 13 -
3.3.1 基本的矩形波发生电路 - 13 -
3.3.2 改进的矩形波发生电路 - 14 -
3.4 三角波发生电路 - 16 -
3.5 正弦波发生电路 - 18 -
3.5.1 滤波法 - 18 -
3.5.2 折线法 - 19 -
3.5.3 非线性方法 - 20 -
3.5.4 文氏桥振荡法 - 20 -
4 单片机方案硬件设计 - 23 -
4.1 单片机电源电路 - 23 -
4.2 单片机最小系统 - 23 -
4.2.1 单片机时钟电路 - 26 -
4.2.2 单片机复位电路 - 27 -
4.3 键盘电路 - 27 -
4.4 串口通讯电路 - 28 -
4.5 D/A转换电路 - 29 - 51单片机多功能信号发生器设计+PCB图+实物图:http://www.751com.cn/zidonghua/lunwen_4907.html