dsp课程设计基于DSP的信号发生器设计

目 录

一、摘要 ··················································3 二、概 述··················································4

2.1设计要求············································4 2.2 基本组成············································4

三、系统设计·············································4 四、硬件设计·············································5 4.1组成及实现功能·······································5

4.2硬件电路方案及电路原理································5 4.3核心电路芯片TMS320VC5402······························6 4.4 D/A转换器TLC7528设计·······························6 4.5电源电路复位电路和晶振电路设计·························8

五、软件设计··············································11

5.1方波的设计方案·······································11 5.1余弦波的设计方案·····································13 5.3三角波的设计方案·····································17

六、实验结果·············································19 七、总 结··············································20 八、参考文献············································21 附录····················································22

摘 要

根据已掌握的《手把手教你学DSP》课程知识,完成课程设计要求的项目。了解正弦波方波三角波的产生,以及幅值和频率的调整方法,掌握信号产生的一般方法并学习使用CCS图形显示功能进行程序调试。通过硬件设计和程序编写过程,加深对课程知识的理解和掌握,培养应用系统设计的能力,以及分析问题和解决问题的方法,并进一步拓宽专业知识面,培养实践应用技能和创新意识。

信号发生器发展到今天,在电子测试、电子设计、模拟仿真、通信工程中,扮演着一个相当重要的角色,有着相当广泛的应用,极大加快了电子测试与设计工作中的效率,在电子技术和信号仿真应用中已发挥了巨大的作用。本文主要介绍了基于TMS320VC5402 DSP的信号发生器的设计情况。这是一个以DSP为核心来实现信号发生器的系统,该系统具有结构简单灵活,抗干扰能力强、产生频率较高、应用广泛等特点。

该系统的组成核心TMS320VC5402 DSP芯片,这个设计的硬件部分是有该DSP芯片和D/A转换芯片TLC7528组成,DSP芯片用于产生各种波形,D/A转换芯片用于把数字信号转换为模拟信号。在以上硬件的基础上,通过软件编程来实现三角波,方波和余弦波等波形。

关键词:DSP, D/A转换器,波形

2

概 述

2.1设计要求:

(1)绘制出系统框图;

(2)包括电源设计、复位电路设计、时钟电路设计、JTAG 接口设计等,绘制原理图;

(3)给出程序流程图;

(4)能够实现方波信号(余弦信号、三角波信号)通过对系统的全面分析得出设计结论(被处理信号的频率范围、采用的信号处理算法等);

2.2 基本组成:

硬件电路是由TMS320VC5402 DSP芯片和D/A转换芯片TLC 7528组成,通过ICETEK-5100USB V2.0A连接PC机和DSP芯片。软件方面,我们使用C语言来进行软件编程,通过C5000对软件程序进行调试,以得到所需要波形。

系统设计

本次设计所设计的信号发生器是采用TI公司生产的DSP芯片TMS320VC5402和D/A转换芯片TLC7528组成,其中DSP芯片TMS320VC5402是系统的核心。整个系统设计简单灵活,功能却很强大,通过软件编程可实现以下功能:

1) 能产生余弦波、三角波、方波等常用波形。 2) 产生的各种波形可以改变相位、频率和幅度。

硬件设计

3

联系客服:779662525#qq.com(#替换为@) 苏ICP备20003344号-4