| The user-side smart energy management system is one of the most important technologies for the realization of smart grid and ubiquitous power Internet of Things on the user side.The system can not only scientifically manage electrical equipment,optimize power resource allocation,advocate power conservation,and improve power efficiency,but it can also provide users with a pl atform to actively participate in grid demand response.However,in the current user-side smart energy management system,there are various communication methods for the heterogeneous devices of the bottom terminal,it is not easy to access the system for unified management,and the reliability,stability,real-time performance and efficiency of the bottom terminal data transmission are not high.First in view of the diverse communication methods of the underlying terminal equipment,it is not easy to access the system for unified management.This thesis uses Nano Pi Neo as the core controller,adopts a modular design,builds a peripheral extension circuit,and designs and implements an energy information gateway.Support4 G communication,Zig Bee communicati on and RS485 communication,which is convenient for the system to connect and manage various devices at the bottom.In addition,a charge management circuit and RTC clock circuit are also designed for it to ensure its reliable operation and provide accurat e time information.Then,in order to solve the problem of insufficient stability and reliability of the data transmission of the bottom terminal collection equipment,the communication technology of the user-side smart energy management system and the Int ernet of Things communication message protocol were researched and analyzed.This thesis selects Wi Fi communication technology with high transmission rate and easy networking,and adopts the MQTT-SN protocol based on publish/subscribe mechanism and supports one-to-many communication for data transmission,designs and implements a smart socket terminal,com pletes the hardware design and Embedded software design work.Some improvements have been made on the basis of the native MQTT-SN protocol.The process of topic subscription and device registration is included in the connection process,which simplifies the communication process,improves the transmission efficiency,and is innovative.The terminal can provide the system with the functions of electricity da ta collection and remote monitoring of electricity equipment.Finally,the gateway and smart socket were tested to verify that they function exactly as designed. |