【正文】
I 摘 要 造型優(yōu)美的 噴泉 ,不僅能為城市增添許多靈氣,降低周圍環(huán)境的溫度、增加濕度,而且還能產(chǎn)生大量的負(fù)離子,現(xiàn)代醫(yī)學(xué)研究表明:空氣負(fù)離子具有廣泛的生物學(xué)作用,作用于神經(jīng)系統(tǒng)可使人精神煥發(fā)、心情愉快。 鑒于噴泉的上述優(yōu)點(diǎn),本課題特此為酒店迎賓口設(shè)計(jì)了一“迎賓音樂噴泉”,進(jìn)行了音樂噴泉造型系統(tǒng)設(shè)計(jì)和控制系統(tǒng)設(shè)計(jì)。造型設(shè)計(jì)闡述了噴泉的控制方式、運(yùn)用場所,以及噴泉的造型、水力分析計(jì)算等;控制部分運(yùn)用單片機(jī)對控制系統(tǒng)的硬件和軟件進(jìn)行了分析設(shè)計(jì),主要包括:噴泉的流量及花形控制,采用軟硬件結(jié)合的方式實(shí)現(xiàn)了樂曲播放和燈 光控制,運(yùn)用硬件延時(shí)電路實(shí)現(xiàn)了花形變化和樂曲播放的同步。 關(guān)鍵詞 : 音樂噴泉;控制系統(tǒng);單片機(jī);設(shè)計(jì) Ⅱ ABSTRACT Author: Tang Bin Kui Tutor: Zhou Yong Charming fountain can not only take the spirituality for many cities, reduce the temperature of surrounding environment and increase humidity, but also make a lot of negative ions. The modern medical research showed: aeronegativeions benefit to the nervous system, and it will bring a refreshing and pleasant mood. Base on advantages of Fountain, the paper discuss the design of Wele musical fountain for the hotel entrance gate. The design included two major parts: one is the musical fountain modeling system design, the control design. The first part elaborated the control ways of the fountains, using of premises, as well as eruptive in the shape of the fountain analysis and putation of hydraulic and so on. The later part is about the analysis of the musical fountain control system in hardware and software by SCM. The SCM is used to control the fountain’s flow capacity and flowered shape. The control system has utilized advantages of hardware and software to take control of music and lighting. Meanwhile, the hardware delay circuit to achieve the music broadcast and flower of fountain synchronization. Key words : Music fountain; Control system; SCM; Design 1 目 錄 摘 要 ............................................................................................................................. Ⅰ ABSTRACT.................................................................................................................... Ⅱ 1 緒論 ...............................................................................................................................1 課題背景 .................................................................................................................1 音樂噴泉的發(fā)展?fàn)顩r ............................................................................................1 本課題設(shè)計(jì)內(nèi)容 .....................................................................................................2 2 音樂噴泉造型系統(tǒng)設(shè)計(jì) ...............................................................................................4 造型方案設(shè)計(jì)及選擇 .............................................................................................4 噴泉的管網(wǎng)設(shè)計(jì) .....................................................................................................5 噴泉的水力計(jì)算 ................................................................................................5 配水管網(wǎng)的計(jì)算 ................................................................................................7 噴泉的管道布置、管材及附件選擇 .....................................................................7 噴泉的管道布置 ................................................................................................7 管材的選用 ........................................................................................................8 管道附件選擇 ....................................................................................................8 水泵及電機(jī)的選擇 ............................................................................................... 10 噴水池的設(shè)計(jì) ....................................................................................................... 10 噴水池的組成 .................................................................................................. 10 噴水池的尺寸確定 .......................................................................................... 10 3 控制系統(tǒng)的設(shè)計(jì) ......................................................................................................... 12 控制系統(tǒng)的方案設(shè)計(jì) ........................................................................................... 12 單片機(jī)型號選擇 ................................................................................................... 12 確定單片機(jī)型號 .............................................................................................. 12 控制系統(tǒng)的硬件設(shè)計(jì) ........................................................................................... 13 系統(tǒng)組成 .......................................................................................................... 13 2 8155 的初始化 ................................................................................................. 13 變頻器的選擇 .................................................................................................. 15 硬件延遲電路 .................................................................................................. 19 系統(tǒng)工作流程 .................................................................................................. 21 控制系統(tǒng)的軟件設(shè)計(jì) ........................................................................................... 22 系統(tǒng)資源分配 .................................................................................................. 22 音樂控制碼的編制 .......................................................................................... 22 軟件流程 .......................................................................................................... 25 系統(tǒng)控制程序 .................................................................................................. 28 結(jié)論 ................................................................................................................................. 31 參考文獻(xiàn) .........................................................................................................