文档介绍:摘要
各种各样的信号是通信领域的重要组成部分,其中正弦波、三角波和方波等是较为常见的信号。在科学研究及教学实验中常常需要这几种信号的发生装置。为了实验、研究方便,研制一种灵活适用、功能齐全、使用方便的信号源是十分必要的。
本文介绍的是利用AT89C51单片机和数模转换器件DAC0832产生所需不同信号的低频信号源,其信号幅度和频率都是可以按要求控制的。文中简要介绍了DAC0832数模转换器的结构原理和使用方法,AT89C51的基础理论,以及与设计电路有关的各种芯片。根据对毕业生设计的要求,文中着重介绍了如何利用单片机控制D/A转换器产生上述信号的硬件电路和软件编程。信号频率幅度也按要求可调。
本次关于产生不同低频信号的信号源的设计方案,不仅在理论和实践上都能满足实验的要求,而且具有很强的可行性。该信号源的特点是:体积小、价格低廉、性能稳定、实现方便、功能齐全。
关键词:信号源;单片机;DAC0832
ABSTRACT
Various signals are an important part of correspondent area. In this area, sine wave, triangle wave and square wave mon signals. In science research and teaching experiment, we often need the occurrence equipment of these signals. In order to make the experiment and research easier, to develop a suitable, full functional and easily used signals source is essential.
This paper introduces the low frequency sources of different signals that are produced by AT89C51 SCM and DAC0832. Its signal range and frequency can be controlled by requirement. This paper briefly introduces the structure principle and usage of DAC0832, the basic theory of AT89C51 and various chips which relevant to design circuit. According to the request to the design of graduate, this paper emphasized how to use SCM to control the hardware circuit and software program of the signals above which produced by DAC0832. The signal frequency range also can be adjusted by requirement. This signal source design plan concerns on producing different low frequency signals, not only meet the request of experiment in theory and in practice, but also have strong feasibility. The trait of this signal source is: small volume, low price, stable function, easily achievable, and full function.
Key words: signal source, SCM, DAC0832
目录
第1章绪论…………………………………………………………………1
概述……………………………………………………………………1
设计要求………………………………………………………………2
硬件电路的实现原理和构思…………………………………………2
AT89C51单片机控制两片DAC0832的原理图…………2
…………………………………………3
软件设计的构思………………………………………………………4
幅度控制………………………………………………