【完美升级版】基于MSP430单片机的信号发生器设计_毕业论文设计 下载本文

内容发布更新时间 : 2024/5/2 6:30:04星期一 下面是文章的全部内容请认真阅读。

毕业论文

基于MSP430单片机的信号发生器设计

摘 要

随着科技的发展和现代科研的需要,信号发生器已经成为了很多行业进行研究测试不可或缺的工具。信号发生器又称信号源或振荡器,在生产实践和科技领域中有着广泛的应用。各种波形曲线均可以用三角函数方程式来表示。能够产生多种波形,如三角波、锯齿波、矩形波(含方波)、正弦波的电路被称为函数信号发生器。函数信号发生器在电路实验和设备检测中具有十分广泛的用途。例如在通信、广播、电视系统中,都需要射频(高频)发射,这里的射频波就是载波,把音频(低频)、视频信号或脉冲信号运载出去,就需要能够产生高频的振荡器。在工业、农业、生物医学等领域内,如高频感应加热、熔炼、淬火、超声诊断、核磁共振成像等,都需要功率或大或小、频率或高或低的振荡器。

本系统采用MSP430F149单片机为控制核心,利用单片机内置的DA芯片,通过按键中断来逻辑选择要输出的波形

(正弦波、方波、三角波、锯齿波),再设置其它键来控制波形的幅值及频率,然后通过单片机控制显示到LCD1602上。

波形的产生是通过MSP430单片机执行某一波形发生程序,向D/A转换器的输入端按一定的规律发生数据,从而在D/A转换电路的输出端得到相应的电压波形。在MSP430学习板的键盘按键,通过软件编程来选择各种波形、幅值电压和频率,按不同按键产生不同波形的信号。此方案的有点是电路原理比较简单,实现起来比较容易。

关键字:MSP430,信号发生器,LCD1602

ABSTRACT

With the development of science and technology and modern scientific research needs, signal generator has become a lot of industry research test indispensable tools. Signal generator also called source or oscillators, in production practice and science and technology has been widely used in the field. Various waveform curve all can by trigonometric function equation. Can produce various waveform, such as triangle wave, sawtooth wave, rectangle wave (including square wave), the circuit is called sine wave function signal generator. Function signal generator in circuit experiment and test equipment in a very wide range of purposes. For example in communication, radio, and television systems, all need rf (high frequency) launch the rf waves, here is the carrier, audio (low frequency), video signals or pulse signal carry out, just need to be able to produce high-frequency vibe. In industry, agriculture,