1、 7 设计设计(论文论文)题目题目 基于单片机的信号发生器 摘要摘要 信号发生器又称信号源或振荡器,在生产实践和科技领域中有着广泛的应用。 各种波形曲线均可以用三角函数方程式来表示。能够产生多种波形,如三角波、锯 齿波、矩形波(含方波) 、正弦波的电路被称为函数信号发生器。函数信号发生器在 电路实验和设备检测中具有十分广泛的用途。例如在通信、广播、电视系统中,都 需要射频(高频)发射,这里的射频波就是载波,把音频(低频) 、视频信号或脉冲 信号运载出去,就需要能够产生高频的振荡器。在工业、农业、生物医学等领域内, 如高频感应加热、熔炼、淬火、超声诊断、核磁共振成像等,都需要功率或大或小、 频率
2、或高或低的振荡器。 本文利用 AT89C51 单片机作为控制核心来设计信号发生器, 通过程序设计的方法 产生正弦波、方波、三角波,并在 Protues 电子设计平台上对此方案进行了仿真,得到 与理论相应的波形。通过 D/A 转换器将数字信号转换成模拟信号,最终由示波器显示 出来。通过按键来控制这几种波形的类型选择,而且可控制频率的变化,在一定范围 内波形的幅度和频率可任意改变。本次设计消除了传统信号发生器存在元器件分散性 造成波形失真的缺陷,并且其设计简单,价格低廉,产生的波形稳定,可用于多种需 要低频信号源的场合,实用性强。 【关键词】【关键词】信号发生器 D/A 转换 AT89C51 频率
3、 幅度 7 A Abstractbstract Signal generator is also known as signal source or oscillator, in the production practice and technology is widely used in the field of. Each kind of wave may use the trigonometric function equation. Can produce a variety of waveforms, such as the triangle wave, sawtooth wave
4、, rectangular wave (including square wave ), sine wave circuit is called the function signal generator. Function signal generator in electric circuit experiment and the equipment examination has a very wide range of uses. For example, in communication, broadcasting, television system, needs the radi
5、o frequency ( HF) emission, the radio wave is the carrier, the audio frequency ( low frequency ), the video signal or pulse signal to carry out, will need to be able to produce the high frequency oscillator. In industry, agriculture, biomedical and other fields, such as high-frequency induction heat
6、ing, smelting, quenching, ultrasound, magnetic resonance imaging, required power big or small, or high or low frequency oscillator. This paper design a signal generator, and AT89C51 is used as a control microcontroller core, It can generate sine wave, square wave, triangle wave through the method of program design , and the simulation by the computer soft ware Proteus is been done , and those results consistent with the theoryconverting a digital signal into an analog signal through the