【正文】
rical and mechanical equipment, including the construction of the central airconditioning system, water supply system, power supply system, lighting system, elevator system, centralized monitoring and remote control to improve construction management level, reduce the fault rate of the equipment, reduce maintenance and operating costs.Design of building automation system mainly aims to will building a variety of mechanical and electrical equipment of information analysis, classification, treatment, judgement, the optimized control means, the system equipment for centralized monitoring and management, make each subsystem equipment keep everything in good order and well arranged, coordinated and efficient, orderly operation condition, in creating an efficient, fortable, safe working environment, reduce the system cost, try to save energy consumption and daily management of costs, ensure the system fully operational, thus improving the intelligent building of the high level of modern management and service, make the investment can get a good return.Along with the our country intelligent building ( IB ) industry development, highrise buildings and building more and more groups, thus promoting fire control system with rapid speed forward. Intelligent building in the building automation system ( BAS ) in the fire control system is a very important subsystem, loading safeguard the safety of people and property. The paper designs a prehensive building fire system, fire system is mainly the induction mechanism, whereby the detector, manual alarm button, alarm, alarm, fire hydrant button and alarm system, and its implementing agencies, namely fire extinguishing system, fire radio, emergency lighting, evacuation signs, smoke control system, fire shutter door fire extinguishing system and various linkage control system for specific settings and product selection, and in accordance with the product price and product specific amount to do the design budget book.Along with the progress of modern society, people39。s life, because the canned coal gas, liquefied petroleum gas and natural gas is flammable and explosive substances, if revealed, at any time may make people life and a great loss of property.Considering that most families have more security problems, people are in need of a sleeve used to prevent accidents of environmental monitoring systems, and fire alarm system is specially designed to solve these problems. The device can always monitor your kitchen temperature and bustible gas concentration, when the detected gas exceed the standard will activate the alarm unit and at the same time open the exhaust fan to discharge the inflammable gas out, for the family of the person and the property safety has provided a guarantee.Keywords:Automation system;fire control system;safetyIII 目 錄摘 要 IAbstract II第1章 緒 論 3 國內(nèi)外研究概況及發(fā)展趨勢 3 研究概況 3 發(fā)展趨勢 3 火災(zāi)報(bào)警系統(tǒng)的總體方案 4第2章 樓宇自動(dòng)化系統(tǒng)設(shè)計(jì) 5 自動(dòng)化系統(tǒng)簡介 5 自動(dòng)化系統(tǒng)的組成與基本功能 5 樓宇自動(dòng)化控制系統(tǒng)的原理 5 自動(dòng)化系統(tǒng)設(shè)備的發(fā)展歷史及相關(guān)產(chǎn)品簡介 6 本章小結(jié) 7第3章 系統(tǒng)硬件電路設(shè)計(jì) 8 溫度氣體信號(hào)采集模塊 8 顯示部分方案設(shè)計(jì) 8 報(bào)警及執(zhí)行部分方案設(shè)計(jì) 8 火災(zāi)報(bào)警系統(tǒng)主要器件的選擇 9 主控制芯片的選擇 9 采集系統(tǒng)主要器件的選擇 10 液晶顯示模塊的選擇 13 三端穩(wěn)壓器7805 14 本章小結(jié) 15第4章 火災(zāi)報(bào)警系統(tǒng)的硬件電路設(shè)計(jì) 16 電源部分電路 16 采集部分電路 17 可燃性氣體濃度采集電路 17 溫度采集電路 19 液晶顯示部分電路 20 控制部分電路 21 復(fù)位電路 21 時(shí)鐘電路 21 控制執(zhí)行電路 22 報(bào)警電路 22 本章小結(jié) 23第5章 系統(tǒng)軟件設(shè)計(jì) 24 主程序 24 溫度測量和處理的軟件設(shè)計(jì) 26 DS18B20的溫度測量子程序 26 溫度處理子程序 28 可燃?xì)怏w濃度采集的軟件設(shè)計(jì) 30 液晶顯示的軟件設(shè)計(jì) 31 本章小結(jié) 34結(jié) 論 35參考文獻(xiàn) 36附 錄 37致 謝 47黑龍江東方學(xué)院本科畢業(yè)論文(設(shè)計(jì))樓宇自動(dòng)化系統(tǒng)的設(shè)計(jì)第1章 緒 論 國內(nèi)外研究概況及發(fā)展趨勢 研究概況 我國的火災(zāi)自動(dòng)報(bào)警控制系統(tǒng)經(jīng)歷了從無到有、從簡單到復(fù)雜的發(fā)展過程,其智能化程度也越來越高。而在居民住宅區(qū)、機(jī)房、辦公室等小型防火單位,需要設(shè)置一種單一或區(qū)域聯(lián)網(wǎng)、廉價(jià)實(shí)用的火災(zāi)自動(dòng)探測報(bào)警裝置,因此,研制一種結(jié)構(gòu)簡單、價(jià)格低廉的火災(zāi)報(bào)警器是非常必要的。由集成電路構(gòu)成的各種自動(dòng)控制,自動(dòng)測量,自動(dòng)顯示電路遍及各種電子產(chǎn)品和設(shè)備,單片微型計(jì)算機(jī)簡稱為單片機(jī),又稱為微控制器,是微型計(jì)算機(jī)的一個(gè)重要分支。80年代以來,單片機(jī)發(fā)展迅速,各類新產(chǎn)品不斷涌現(xiàn),出現(xiàn)了許多高性能新型機(jī)種,現(xiàn)已成為自動(dòng)化和各類控制領(lǐng)域的支柱產(chǎn)業(yè)之一。同時(shí)系統(tǒng)應(yīng)用軟件應(yīng)向網(wǎng)絡(luò)化發(fā)展,按統(tǒng)一的格式向外提供監(jiān)測數(shù)據(jù)。 火災(zāi)報(bào)警系統(tǒng)的總體方案 本系統(tǒng)包含了六個(gè)小的電路塊,其中復(fù)位電路的工作方式是采用上電自動(dòng)復(fù)位,用來對整個(gè)工作系統(tǒng)做好工作前的準(zhǔn)備,一上電就使得中央處理器CPU和系統(tǒng)中的其它部件都處于一個(gè)確定的初始狀態(tài),并從這個(gè)狀態(tài)開始工作。對于環(huán)境中溫度及氣體濃度,則通過數(shù)字溫度傳感器及可燃性氣體傳感器來獲取。當(dāng)采集到的氣體濃度超出正常值時(shí),CPU便啟動(dòng)報(bào)警電路及外部設(shè)備控制執(zhí)行電路,該部分電路主要由蜂鳴器及繼電器構(gòu)成,用來實(shí)現(xiàn)對可燃性氣體濃度超標(biāo)時(shí)的報(bào)警和排氣工作。單片機(jī)AT89C52復(fù)位電路時(shí)鐘電路LCD顯示電路溫度監(jiān)控電路 氣體監(jiān)控電路 氣體監(jiān)控電路報(bào)警及執(zhí)行電路 圖 11 火災(zāi)報(bào)警系統(tǒng)總的結(jié)構(gòu)原理框圖第2章 樓宇自動(dòng)化系統(tǒng)設(shè)計(jì) 自動(dòng)化系統(tǒng)簡介樓宇自動(dòng)化系統(tǒng)也叫建筑設(shè)備自動(dòng)化系統(tǒng)(BuidingAutomationSystem簡稱BAS),是智能建筑不可缺少的一部分,其任務(wù)是對建筑物內(nèi)的能源使用、環(huán)境、交通及安全設(shè)施進(jìn)行監(jiān)測、控制等,以提供一個(gè)既安全可靠,又節(jié)約能源,而且舒適宜人的工作或居住環(huán)境。根據(jù)我國行業(yè)標(biāo)準(zhǔn),BAS又可分為設(shè)備運(yùn)行管理與監(jiān)控子系統(tǒng)和消防與安全防范子系統(tǒng)?!? 2. 自動(dòng)檢測、顯示、打印各種機(jī)電設(shè)備的運(yùn)行參數(shù)及其變化趨勢或歷史數(shù)據(jù)。4. 監(jiān)測并及時(shí)處理各種意外、突發(fā)事件。 6. 能源管理:水、電、氣等的計(jì)量收費(fèi)、實(shí)現(xiàn)能源管理自動(dòng)化。 樓宇自動(dòng)化控制系統(tǒng)的原理樓控系統(tǒng)采用的是基于現(xiàn)代控制理論的集散型計(jì)算機(jī)控制系統(tǒng),也稱分布式控制系統(tǒng)(Distributedcontro systems簡稱DCS)。安裝于中央控制室的中央管理計(jì)算機(jī)具有CRT顯示、打印輸出、豐富的軟件管理和很強(qiáng)的數(shù)字通信功能,能完成集中操作、顯示、報(bào)警、打印與優(yōu)化控制等任務(wù),避免了常規(guī)儀表控制分散后人機(jī)聯(lián)系困難、無法統(tǒng)一管理的缺點(diǎn),保證設(shè)備在最佳狀態(tài)下運(yùn)行。DGP分站的功能只是上傳現(xiàn)場設(shè)備信息,下達(dá)中央站的控制命令。中央站采集各分站信息,作出決策,完成全部設(shè)備的控制,中央站根據(jù)采集的信息和能量計(jì)測數(shù)據(jù)完成節(jié)能控制和調(diào)節(jié)。配有微處理機(jī)芯片的DDC分站,可以獨(dú)立完成所有控制工作,具有完善的控制、顯示功能,進(jìn)行節(jié)能管理,可以連接打印機(jī)、安裝人機(jī)接口等。集散系統(tǒng)的主要特點(diǎn)是只有中央站和分站兩類接點(diǎn),中央站完成監(jiān)視,分站完成控制,分站完全自治,與中央站無關(guān),保證了系統(tǒng)的可靠性。BAS控制網(wǎng)絡(luò)就形成了3層結(jié)構(gòu),分別是管理層(中央站)、自動(dòng)化層(DDC分站)和現(xiàn)場網(wǎng)絡(luò)層(ON)?! 【W(wǎng)絡(luò)集成系統(tǒng)(EDI)是采用Web技術(shù)的建筑設(shè)備自動(dòng)化系統(tǒng),它有一組包含保安系統(tǒng)、機(jī)電設(shè)備系統(tǒng)和防火系統(tǒng)的管理軟件。EBI系統(tǒng)完成了管理系統(tǒng)和控制系統(tǒng)的一體化。自動(dòng)化設(shè)備是智能建筑不可缺少的一部分,其任務(wù)是對建筑物內(nèi)的能源使用、環(huán)境、交通及安全設(shè)施進(jìn)行監(jiān)測、控制等,以提供一個(gè)既安全可靠,又節(jié)約能源,而且舒適宜人的工作或居住環(huán)境。溫度采集電路的設(shè)計(jì):考慮到本系統(tǒng)設(shè)計(jì)成本及電路復(fù)雜性的關(guān)系,我們這里采用數(shù)字溫度傳感器來直接獲得環(huán)境中的溫度,不需要進(jìn)行A/D轉(zhuǎn)換,便可直接與單片機(jī)相連進(jìn)行數(shù)據(jù)的傳輸,硬件電路簡單。由此傳感器獲得的信號(hào)經(jīng)調(diào)理電路處理,便可作為A/D轉(zhuǎn)換模塊的輸入模擬信號(hào)。由此可設(shè)計(jì)出可燃?xì)怏w濃度采集部分的方案框圖,如圖31所示。而液晶顯示電路較簡單,可直接與單片機(jī)的I/O口相連,動(dòng)態(tài)顯示效果好、清晰度高,可操作性強(qiáng),且能滿足顯示要求。這能滿足本次設(shè)計(jì)的需要,所以我們選擇了這個(gè)簡單可行的電路。當(dāng)單片機(jī)給它一個(gè)高電平時(shí),繼電器便吸合,使外部電路導(dǎo)通,排氣工作啟動(dòng)。 單片機(jī)AT89C52控制執(zhí)行電路報(bào)警電路液晶顯示模塊GDM0801A 氣體監(jiān)控電路 報(bào)警電路圖 32 報(bào)警及執(zhí)行方案的結(jié)構(gòu)原理框圖 火災(zāi)報(bào)警系統(tǒng)主要器件的選擇主控芯片的選擇和元器件的選擇直接關(guān)系到整個(gè)電路運(yùn)行的情況,通過了解和學(xué)習(xí)各方面所需器件的原理和功能,選擇了更加適合這次課題的芯片和元器件,在不影響系統(tǒng)正常工作的前提下,使得電路盡可能的簡單,制作成本盡可能的低??紤]到我們所學(xué)的基礎(chǔ)知識(shí),我們決定采用51系列芯片來作為主控芯片,最后我們結(jié)合這次課題的具體要求和經(jīng)濟(jì)實(shí)用方面的考慮,我們選擇了51系列單片機(jī)中的AT89C52芯片來作為這次總設(shè)計(jì)的主控芯片。器件采用Atmel公司高密度非易失性存儲(chǔ)器技術(shù)生產(chǎn),與標(biāo)準(zhǔn)MCS51指令和8052引腳完全兼容。同時(shí),AT89C52可降至0Hz的靜態(tài)邏輯操作,并支持兩種軟件可選的節(jié)電工作模式。掉電方式保存RA