当前位置:主页 > 科技论文 > 网络通信论文 >

基于STM32的小型智能家居系统设计

发布时间:2018-01-11 10:15

  本文关键词:基于STM32的小型智能家居系统设计 出处:《中南林业科技大学》2014年硕士论文 论文类型:学位论文


  更多相关文章: 物联网 路由协议 嵌入式 智能家居系统


【摘要】:近些年,物联网成为当今学者关注和研究的热点。物联网技术的不断发展为智能家居系统带来了新的概念以及发展,智能家居系统用为物联网的一种重要应用,目前主要集中在高端群体,专业人士认为,性价比是导致智能家居市场狭窄的主要原因。因此,开发中低端、性价比又高的小型智能家居系统具有重要的现实意义。 首先,本文分析了平面路由协议和层次路由协议的优劣,选择具有良好可扩展性的层次路由协议作为本系统的路由协议。然后针对层次路由协议中LEACH算法的簇头节点集中在网络的某一区域的问题做出了改进,提出将节点剩余能量作为是否成为下一轮簇头节点的主要指标。改进后的算法通过Matlab进行仿真验证,表明可均衡网络负载,延长网络寿命。 其次,本文基于改进的LEACH算法对本系统进行设计。本系统采用Cortex-M3为内核的STM32微处理器为嵌入式控制器的核心CPU,并采用GSM模块和无线收发模块nRF24L01作为通信模块,实现各模块间的相互通信和信息传输。然后,对防盗模块、家电控制模块及防灾模块进行了设计,对家居环境进行实时监控。在硬件设计中,采用模块化的思想分析器件的工作原理及模块功能,设计了模块的电路图。在软件设计中,根据硬件电路原理和模块的功能分析,设计模块的算法流程图。 最后,通过对STM32固件库的研究和通信协议编程的研究,结合设计的硬件模块和改进的路由算法,实现了系统设计的功能。
[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.
【学位授予单位】:中南林业科技大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP391.44;TN929.5;TU855

【参考文献】

相关期刊论文 前5条

1 高源;李冶;;ARM嵌入式系统在智能家居监控中的应用[J];电脑知识与技术;2012年13期

2 王魏,李平,韩波;无线传感器网络路由协议研究[J];工业控制计算机;2005年01期

3 沈洪伟;郑淑丽;孙晓艳;;无线传感器网络中基于最小跳数的路由算法[J];合肥工业大学学报(自然科学版);2009年08期

4 王君;;嵌入式智能家居安防监控系统的设计[J];微计算机应用;2010年10期

5 王超;骆德汉;郑魏;姚长标;廖中原;;基于STM32的嵌入式智能家居无线网关设计[J];计算机技术与发展;2013年03期

相关博士学位论文 前1条

1 罗俊;无线传感器网络性能建模与优化设计[D];上海交通大学;2010年



本文编号:1409131

资料下载
论文发表

本文链接:https://www.wllwen.com/kejilunwen/wltx/1409131.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户0945f***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com