| In recent years,with the development of communication technology,the Internet of things,smart home appliances and so on,people’s demand for intellectualization,comfort and individuation of family is more and more obvious.The demand for multi protocol integration technology and products of smart home is increasingly vigorous.In the smart home system,ZigBee wireless communication technology is low cost,low power,high reliability,security and flexible network structure which is very suitable for application in smart home.KNX is an international standard in the field of home and building control,with good reliability and high stability.BACnet is an international standard in the field of cold and warm air conditioning and the field of building automation.It is now widely used in the field of intelligent building and home.However,the devices and products of different protocols can not communicate and interoperate directly with each other.This has been a common problem in smart home integration technology.Aiming at the problem of interoperability between different standards and protocol devices in smart home system,this thesis proposed and designed an implementation protocol of intelligent home multi protocol gateway supporting three protocols of ZigBee,BACnet/IP and KNX.Around the home multi-protocol gateway,this thesis firstly KNX,BACnet and protocol standards was studied,including the KNX topology and KNX protocol architecture,including BACnet protocol architecture,BACnet/IP technology,BACnet standard object,BACnet standard application layer services,ZigBee technology features and the ZigBee protocol framework.Secondly,the composition of smart home system was introduced,and the hardware framework of smart home multi protocol gateway was given.Based on the embedded core board of MYC-IMX287,the Ethernet module,the KNX module,the RS232 module and other peripheral circuits were designed.Then,on the basis of hardware,the Linux software platform was built,including the establishment of cross compilation environment,the transplantation of Boot Loader,the compilation of Linux kernel and the production of root file system.Then the application software was developed on this basis,the gateway configuration based on embedded Web server,protocol transceiver module,protocol parsing module and protocol mapping module were completed,and the BACnet message parsing module is the focus of the implementation.Finally,the function test of the gateway is carried out.The result shows that the gateway can meet the requirements of the intelligent home system. |