Font Size: a A A

Development And Application Of ZigBee-WiFi Gateway For Smart Home

Posted on:2020-11-06Degree:MasterType:Thesis
Country:ChinaCandidate:Y P ShiFull Text:PDF
GTID:2392330596495401Subject:Control engineering
Abstract/Summary:PDF Full Text Request
With the advancement of technology,smart home has gradually become a hot spot for people to study.As the core of the smart home system,the home gateway is mainly responsible for the construction and maintenance of the smart home system network,the transmission and processing of data,and the centralized control of electrical equipment.Based on the development characteristics of smart home and short-range wireless communication technologies,this paper develops a smart home gateway with ZigBee and WiFi short-range wireless communication technology and strong versatility for the defects of current home gateway and the characteristics of home network.The main contents of this article are as follows:Firstly,the embedded Linux,ZigBee networking and WiFi networking technologies are introduced.Based on the requirements analysis,the overall gateway scheme based on the ARM-Linux development platform combining ZigBee and WiFi networking technology is determined.Further,the overall design of the smart home gateway hardware part is to determine the gateway hardware main structure of the ARM9 main controller S3C2440 A and the ZigBee coordinator CC2530,and the wireless terminal for temperature and humidity,gas,new fan,lighting,curtain,etc.under the smart home system.The node is hardware designed.At the same time,the overall software design of the gateway,including creating cross-compilation chain,Linux system kernel tailoring and porting,establishing SQLite3 database,building Qt cross-development environment,etc.,based on ARM-Linux platform for multi-process program framework,shared memory and SQLite3 database combination Storage software design,software design of ZigBee coordinator and WiFi module,application layer communication protocol design of TCP server and client,combined with the overall requirements to independently develop matching ARM-Linux end-level management software and PC-Windows management software.In addition,starting from the research of machine learning and smart home,based on the experimental platform built in this paper,a fusion model based on random forest and XGBoost machine learning algorithm is proposed.The household model is used to identify the household electrical energy event and the household appliance through the public data set.Load state prediction,and design a system energy-saving strategy combining offline prediction with online management.Design an energy-saving experimental interface in the PC-Windows host software and simulate the energy-saving strategy in the overall test of the gateway.Finally,based on the ZigBee-WiFi gateway to build the overall test environment,the ZigBee-WiFi gateway performs functional tests such as data acquisition,device control,and energy-saving simulation demonstration,and performs network performance tests on ZigBee and WiFi respectively.The test results show that the gateway is stable and reliable,and meets the comprehensive requirements of the gateway design of this paper.
Keywords/Search Tags:smart home, gateway, ARM-Linux, ZigBee-WiFi, machine learning, fusion model
PDF Full Text Request
Related items