| According to the rapid development of technology,especially in recent years,smart home gradually enter into the sight of people.It could save energy and cost.It provides a full range of information exchange with the outside world.But the recent smart home system also exists some shortage.For example,system has poor stalability,a large amount of redundant information exist in the system,making the network energy consumption.To solve the problems in the above,the thesis research on main content and the main results are as follows:Firstly,on the basis of the requirement of the intelligent household monitoring system,considering the factors such as cost,function and stability,the thesis designed the wireless monitoring system based on ZigBee.Smart home system consists of gateway,family network and external network.The monitoring system forms the network within the family through the ZigBee.The terminal equipment realizes the collection of information.Software programming adopts the modular method;finally,the thesis completes the initialization of program,the addition of network,the addtion of underlying driver.The terminal node realizes command receiving and data sending;the coordinator nodes complete data forwarding and networking.Secondly,the thesis completes the construction and control of family internal subnet.The master control center node circuit uses STM32f103 as main control chip to construct the embedded minimum system circuit design.Function modules of the circuit design include fire alarm module,lighting control module,household security module,curtain module.Fire alarm module is composed of MQ-2 gas sensor,dc motor and GPRS module.Once gas is detected in the household,exhaust fan will open;it will send alarm information to the user’s mobile phone through GPRS module.Curtain module consists of stepper motor and photosensitive resistance.Accordinig to different light intensity,the curtain will open different gear.The programs of each function module are written under Keil4 integrated development environment.At the same time,environmental information will be passed through GPRS module to the users;the users may check the household environment information at any time.Finally,the thesis designs multi-sensor data fusion algorithm based on Kalman filtering,it introduces multi-sensor estimation of center fusion structure.The thesis compares the method which exchanges measured value and that which exchanges estimated value.Then the thesis uses MATLAB to simulate the experiment,showing that the method which exchanges estimated value can reduce transmition of redundant information,reduce energy consumption of network and prolong the network’s life time.In order to fulfill the requirement of the thesis,this thesis tests every parts of ZigBee smart home control nodes.After jointing debug with the main controller and the GPRS module,the design is reasonable.It basically reaches the expected target.The system can realize information acquisition,data processing,real-time alarm and data communication function.It realizes the expected target. |