spce061a单片波形发生器的毕业设计.doc
约43页DOC格式手机打开展开
spce061a单片波形发生器的毕业设计,spce061a单片波形发生器的毕业设计本文共计43页,9468字;摘 要信号发生器在教学、试验、测控等各个领域都有着十分广泛的应用,而且随着现代电子通讯技术的发展, 常常需要高精度且频率可方便调节的信号发生器。它的实现方法通常有以下几种:(1)用分立元件组成的函数发生器:通常是单函数发生器且频率不高,其工作不很稳定,...
内容介绍
此文档由会员 李娇娇 发布
SPCE061A单片波形发生器的毕业设计
本文共计43页,9468字;
摘 要
信号发生器在教学、试验、测控等各个领域都有着十分广泛的应用,而且随着现代电子通讯技术的发展, 常常需要高精度且频率可方便调节的信号发生器。它的实现方法通常有以下几种:
(1)用分立元件组成的函数发生器:通常是单函数发生器且频率不高,其工作不很稳定,不易调试。
(2)用集成芯片的函数发生器:可达到较高的频率和产生多种波形信号,但电路较为复杂且不易调试。
(3)利用单片集成芯片的函数发生器:能产生多种波形,达到较高的频率,且易于调试。
(4)利用专用直接数字合成DDS芯片的函数发生器:能产生任意波形并达到很高的频率。但成本较高。
本设计直接采用凌阳SPCE061A单片机作为波形发生器,加上巧妙的软件设计和简易的外围电路,产生频率、幅度可调的正弦波、三角波、锯齿波以及方波等多种信号.信号的频率、幅值,通过键盘直接输入,并由LED显示,同时还可实现语音播放功能。与现有各类型波形发生器比较而言,产生的数字信号干扰小,输出稳定,可靠性高,特别是操作简单方便,人机界面友好,成本低,非常适合于物理实验室教学与实验使用。
关键词: SPCE061A单片机,波形发生器,LED显示, 语音播报
Summary
The signal occurrence machine is in the teaching, experiment, measure to control the etc., each realms all have the very extensive application, and along with technical development of modern electronics communication, usually need high accuracy and frequency can the signal occurrence machine that convenience regulate.It carries out the method to usually have following several kindses:
(1)Use the cent signs the function that component constitute occurrence machine:Is usually the single function occurrence machine and frequencies not high, it work not settled, adjust to try not easily.
目 录
摘要..................................................................................................1
Summary.......................................................................................... 2
一、方案设计与论证.......................................................................4
方案(一).............................................................................................4
方案(二).............................................................................................5
方案比较............................................................................................7
二、凌阳SPCE061A单片机概述..................................................... 7
三、系统硬件电路设计..................................................................... 8
3.1电路方框图及说明....................................................................... 8
3.2各部分电路设计........................................................................... 9
3.2. 1滤波、放大及其电流到电压的转换电路............................... 9
3.2.2键盘控制电路............................................................................ 10
3.2.3显示电路..................................................................................... 11
3.2.4语音播报电路的设计................................................................. 12
四、软件设计...................................................................................... 13
4.1主程序流程图................................................................................ 15
4.2分块程序流程................................................................................ 16
4.2. 1按键控制部份............................................................................ 16
4.2.2波形发生部分............................................................................. 16
五、系统测试及整机指标...................................................................19
波形形成程序部分.............................................................................. 21
总结..................................................................................................... 37
附录………………………………………………………………… 38
一 算术逻辑运算单元ALU............................................................... 38
二SPCE061A 片内存储器结构..........................................................39
三 I/O口.............................................................................................. 39
四 系统时钟........................................................................................ 41
五 DAC 方式音频输出......................................................................42
本文共计43页,9468字;
摘 要
信号发生器在教学、试验、测控等各个领域都有着十分广泛的应用,而且随着现代电子通讯技术的发展, 常常需要高精度且频率可方便调节的信号发生器。它的实现方法通常有以下几种:
(1)用分立元件组成的函数发生器:通常是单函数发生器且频率不高,其工作不很稳定,不易调试。
(2)用集成芯片的函数发生器:可达到较高的频率和产生多种波形信号,但电路较为复杂且不易调试。
(3)利用单片集成芯片的函数发生器:能产生多种波形,达到较高的频率,且易于调试。
(4)利用专用直接数字合成DDS芯片的函数发生器:能产生任意波形并达到很高的频率。但成本较高。
本设计直接采用凌阳SPCE061A单片机作为波形发生器,加上巧妙的软件设计和简易的外围电路,产生频率、幅度可调的正弦波、三角波、锯齿波以及方波等多种信号.信号的频率、幅值,通过键盘直接输入,并由LED显示,同时还可实现语音播放功能。与现有各类型波形发生器比较而言,产生的数字信号干扰小,输出稳定,可靠性高,特别是操作简单方便,人机界面友好,成本低,非常适合于物理实验室教学与实验使用。
关键词: SPCE061A单片机,波形发生器,LED显示, 语音播报
Summary
The signal occurrence machine is in the teaching, experiment, measure to control the etc., each realms all have the very extensive application, and along with technical development of modern electronics communication, usually need high accuracy and frequency can the signal occurrence machine that convenience regulate.It carries out the method to usually have following several kindses:
(1)Use the cent signs the function that component constitute occurrence machine:Is usually the single function occurrence machine and frequencies not high, it work not settled, adjust to try not easily.
目 录
摘要..................................................................................................1
Summary.......................................................................................... 2
一、方案设计与论证.......................................................................4
方案(一).............................................................................................4
方案(二).............................................................................................5
方案比较............................................................................................7
二、凌阳SPCE061A单片机概述..................................................... 7
三、系统硬件电路设计..................................................................... 8
3.1电路方框图及说明....................................................................... 8
3.2各部分电路设计........................................................................... 9
3.2. 1滤波、放大及其电流到电压的转换电路............................... 9
3.2.2键盘控制电路............................................................................ 10
3.2.3显示电路..................................................................................... 11
3.2.4语音播报电路的设计................................................................. 12
四、软件设计...................................................................................... 13
4.1主程序流程图................................................................................ 15
4.2分块程序流程................................................................................ 16
4.2. 1按键控制部份............................................................................ 16
4.2.2波形发生部分............................................................................. 16
五、系统测试及整机指标...................................................................19
波形形成程序部分.............................................................................. 21
总结..................................................................................................... 37
附录………………………………………………………………… 38
一 算术逻辑运算单元ALU............................................................... 38
二SPCE061A 片内存储器结构..........................................................39
三 I/O口.............................................................................................. 39
四 系统时钟........................................................................................ 41
五 DAC 方式音频输出......................................................................42