目录
摘 要 ..............................................................................................................................1
ABSTRACT...................................................................................................................2
第 1 章 绪 论................................................................................................................4
1.1 课题背景...........................................................................................................4
1.2 音乐喷泉的发展和现状..................................................................................5
第 2 章 音乐喷泉控制系统硬件设计 .........................................................................6
2.1 控制系统硬件总体设计方案 .........................................................................6
2.2 音乐信号的采集 ..............................................................................................7
2.2.1 音频放大电路的设计...........................................................................7
2.2.2 采样定理 ...............................................................................................9
2.3 单片机电路....................................................................................................10
2.3.1 单片机的概述......................................................................................10
2.3.2 时钟电路的设计 .................................................................................11
2.4 AD 转换电路 ..................................................................................................11
2.4.1 ADC0809 与单片机 89C51 的连接....................................................12
2.4.2 输入电路..............................................................................................13
2.5 潜水泵调速硬件方案设计 ............................................................................13
2.6 灯光硬件方案设计........................................................................................14
2.7 解决系统时间滞后硬件电路设计................................................................15
第 3 章 喷泉控制系统软件设计 .............................................................................16
3.1 喷池数据.........................................................................................................16
3.2 主程序框图.....................................................................................................18
3.3 控制潜水泵软件设计模块 ...........................................................................18
3.3.1 潜水泵开关调速的原理 .....................................................................19
3.3.2 潜水泵开关调速的软件设计..............................................................20
3.4 控制电磁阀软件设计模块 ............................................................................21
3.5 歌曲存储模块 ...............................................................................................21
3.5.1 音频脉冲的产生 ..................................................................................21
3.5.2 音乐程序..............................................................................................23
3.6 灯光控制模块................................................................................................26
3.7 看门狗子程序................................................................................................26
3.8 实验仿真........................................................................................................27
结 论............................................................................................................................29
致 谢............................................................................................................................30
参考文献 ......................................................................................................................31
附 录............................................................................................................................32
附录 1....................................................................................................................32
附录 2 ...................................................................................................................33