摘 要:文章针对传统信号发生器存在元器件分散性造成波形失真的弊端,提出了基于单片机用程序实现方波、锯齿波、三角波、正弦波等波形的信号发生器方案。实现了波形的自由切换,幅度和频率的在线调整,从根本上解决了波形失真的问题。该信号发生器的主要元部件是AT89C52单片机和DAC0832芯片,以此为基础进行设计研究。AT89C52单片机和DAC0832芯片借助数字合成技术来发出三角波、正弦波、方波等,在一定的范围内波形的种类及波形的幅值是可调的。本文详细的介绍了该信号发生器的工作原理、设计方案、硬件电路和软件编程。该信号发生器的主要特点是性能稳定、廉价、便于升级。66704

毕业论文关键词:信号发生器,AT89C52,DAC0832芯片

Abstract:In this paper, the traditional signal generator components dispersion of waveform distortion caused by the weakness, based on single-chip microcomputer is proposed, by program implementation of square wave, sawtooth wave, triangle wave, sine wave waveform signal generator. Implements free switch of waveform frequency and amplitude of online adjustment, fundamentally solved the problem of waveform distortion. The main components of the signal generator is AT89C52 single chip microcomputer and DAC0832 chip, on this basis to carry on the design research. AT89C52 single chip microcomputer and DAC0832 chip with the help of digital synthesis technology to issue a triangle wave, sine wave, square wave, etc., within a certain range of the kinds of waveform and waveform amplitude are adjustable. This article detailed introduces the design of the signal generator, working principle, hardware circuit and software programming. The main characteristics of the signal generator is stable performance, cheap, easy to upgrade. 

Keywords: Signal generator,AT89C52,DAC0832 chip

目  录

1 前言 4

2 工作原理 5

2.1 波形产生 6

2.2 频率在线调整 6

2.3 波形幅值变化的实现 6

2.4 滤波电路 7

3 方案设计 7

3.1 设计思路 7

3.2 系统功能分析 7

3.3 总体设计思想 8

4 硬件电路设计 9

4.1 单片机简介 9

4.1.1 AT89C52单片机 9

4.1.2 复位电路 10

4.1.3 振荡特性 11

4.2 D/A转换芯片连接电路和运算放大电路的设计 13

4.2.1 DAC0832的介绍 13

4.2.2 双极性输出电路的设计 13

4.3 AT89C52单片机与D/A的接口 15

4.4 键盘控制 16

5 软件设计 16

5.1 键盘扫描程序的设计 17

5.2 波形产生程序的设计 17

6 测试结果与分析 18

6.1 实物演示 18

6.2 测试结果分析 21

结  论 22

参考文献

上一篇:AT89C51RD2单片机光电检测系统的牛乳成分检测+电路图
下一篇:基于Matlab的PCA人脸识别的设计与仿真+程序

单片机数字红外测距系统设计+电路图+程序

基于51单片机自动门智能控制系统设计

STC89C52单片机智能温度监测系统设计

STC89C52单片机盲人用时钟的设计+电路图+程序

粉料称重装置的单片机控...

STM32单片机的无刷直流电机控制系统设计

AT89S52单片机车内空气检测系统设计+源代码

中国古代秘书擅权的发展和恶变

高校网球场馆运营管理初探【1805字】

辩护律师的作证义务和保...

《醉青春》导演作品阐述

浅谈传统人文精神茬大學...

谷度酒庄消费者回访调查问卷表

国内外无刷直流电动机研究现状

拉力采集上位机软件开发任务书

浅谈新形势下妇产科护理...

多元化刑事简易程序构建探讨【9365字】