基于STM32的小型智能家居系統(tǒng)設(shè)計(jì)
本文關(guān)鍵詞:基于STM32的小型智能家居系統(tǒng)設(shè)計(jì) 出處:《中南林業(yè)科技大學(xué)》2014年碩士論文 論文類型:學(xué)位論文
更多相關(guān)文章: 物聯(lián)網(wǎng) 路由協(xié)議 嵌入式 智能家居系統(tǒng)
【摘要】:近些年,物聯(lián)網(wǎng)成為當(dāng)今學(xué)者關(guān)注和研究的熱點(diǎn)。物聯(lián)網(wǎng)技術(shù)的不斷發(fā)展為智能家居系統(tǒng)帶來了新的概念以及發(fā)展,智能家居系統(tǒng)用為物聯(lián)網(wǎng)的一種重要應(yīng)用,目前主要集中在高端群體,專業(yè)人士認(rèn)為,性價比是導(dǎo)致智能家居市場狹窄的主要原因。因此,開發(fā)中低端、性價比又高的小型智能家居系統(tǒng)具有重要的現(xiàn)實(shí)意義。 首先,本文分析了平面路由協(xié)議和層次路由協(xié)議的優(yōu)劣,選擇具有良好可擴(kuò)展性的層次路由協(xié)議作為本系統(tǒng)的路由協(xié)議。然后針對層次路由協(xié)議中LEACH算法的簇頭節(jié)點(diǎn)集中在網(wǎng)絡(luò)的某一區(qū)域的問題做出了改進(jìn),提出將節(jié)點(diǎn)剩余能量作為是否成為下一輪簇頭節(jié)點(diǎn)的主要指標(biāo)。改進(jìn)后的算法通過Matlab進(jìn)行仿真驗(yàn)證,表明可均衡網(wǎng)絡(luò)負(fù)載,延長網(wǎng)絡(luò)壽命。 其次,本文基于改進(jìn)的LEACH算法對本系統(tǒng)進(jìn)行設(shè)計(jì)。本系統(tǒng)采用Cortex-M3為內(nèi)核的STM32微處理器為嵌入式控制器的核心CPU,并采用GSM模塊和無線收發(fā)模塊nRF24L01作為通信模塊,實(shí)現(xiàn)各模塊間的相互通信和信息傳輸。然后,對防盜模塊、家電控制模塊及防災(zāi)模塊進(jìn)行了設(shè)計(jì),對家居環(huán)境進(jìn)行實(shí)時監(jiān)控。在硬件設(shè)計(jì)中,采用模塊化的思想分析器件的工作原理及模塊功能,設(shè)計(jì)了模塊的電路圖。在軟件設(shè)計(jì)中,根據(jù)硬件電路原理和模塊的功能分析,設(shè)計(jì)模塊的算法流程圖。 最后,通過對STM32固件庫的研究和通信協(xié)議編程的研究,結(jié)合設(shè)計(jì)的硬件模塊和改進(jìn)的路由算法,實(shí)現(xiàn)了系統(tǒng)設(shè)計(jì)的功能。
[Abstract]:In recent years, the Internet of things has become the focus of attention and research. The continuous development of Internet of things technology has brought new concepts and development for the smart home system, smart home system is used as an important application of the Internet of things. At present, mainly concentrated in the high-end groups, professionals believe that cost-effective is the main cause of the narrow smart home market. Therefore, the development of the low-end. The small intelligent home system with high cost-performance ratio has important practical significance. Firstly, this paper analyzes the advantages and disadvantages of planar routing protocol and hierarchical routing protocol. The hierarchical routing protocol with good scalability is selected as the routing protocol of the system. Then the cluster head nodes of the LEACH algorithm in the hierarchical routing protocol are focused on a certain area of the network. The residual energy of the node is considered as the main indicator of whether to be the next cluster head node, and the improved algorithm is verified by Matlab, which shows that the network load can be balanced and the network life can be prolonged. Secondly, this paper designs the system based on the improved LEACH algorithm. The system uses STM32 microprocessor with Cortex-M3 as the core of the embedded controller CPU. The GSM module and the wireless transceiver module nRF24L01 are used as communication modules to realize the mutual communication and information transmission between the modules. Then, the anti-theft module. Home appliance control module and disaster prevention module are designed to monitor the home environment in real time. In the hardware design, the modular thinking is used to analyze the working principle and module function of the device. The circuit diagram of the module is designed, and the algorithm flow chart of the module is designed according to the principle of the hardware circuit and the function analysis of the module. Finally, through the research of STM32 firmware library and communication protocol programming, combined with the designed hardware module and the improved routing algorithm, the system design function is realized.
【學(xué)位授予單位】:中南林業(yè)科技大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TP391.44;TN929.5;TU855
【參考文獻(xiàn)】
相關(guān)期刊論文 前5條
1 高源;李冶;;ARM嵌入式系統(tǒng)在智能家居監(jiān)控中的應(yīng)用[J];電腦知識與技術(shù);2012年13期
2 王魏,李平,韓波;無線傳感器網(wǎng)絡(luò)路由協(xié)議研究[J];工業(yè)控制計(jì)算機(jī);2005年01期
3 沈洪偉;鄭淑麗;孫曉艷;;無線傳感器網(wǎng)絡(luò)中基于最小跳數(shù)的路由算法[J];合肥工業(yè)大學(xué)學(xué)報(自然科學(xué)版);2009年08期
4 王君;;嵌入式智能家居安防監(jiān)控系統(tǒng)的設(shè)計(jì)[J];微計(jì)算機(jī)應(yīng)用;2010年10期
5 王超;駱德漢;鄭魏;姚長標(biāo);廖中原;;基于STM32的嵌入式智能家居無線網(wǎng)關(guān)設(shè)計(jì)[J];計(jì)算機(jī)技術(shù)與發(fā)展;2013年03期
相關(guān)博士學(xué)位論文 前1條
1 羅俊;無線傳感器網(wǎng)絡(luò)性能建模與優(yōu)化設(shè)計(jì)[D];上海交通大學(xué);2010年
,本文編號:1409131
本文鏈接:http://sikaile.net/kejilunwen/wltx/1409131.html