| The intelligence level of China’s power grid is getting higher and higher,the interaction ability of power supply department and users will be stronger and stronger.As an important part of intelligent electricity technology,demand side response technology will be realized in the near future.In this paper,a home energy management system for demand-side response is proposed for smart grid construction.The Home Energy Management System for Demand Side Response is a demand-side response terminal system driven by electricity prices.If the STM32 is used as the main control chip,the electricity price can be obtained by Ethernet,the electricity price will be combined with the user’s demand,and the household appliance running time can be dynamically adjusted,it can effectively help the user to save the electricity cost.It can help the grid to make up for the shortage if the home energy management system for demand side response is implemented in scale.The hardware design of Home Energy Management System for Demand Side Response includes: the main controller minimum system schematic and the design of home energy management system motherboard.The minimum system circuit includes: STM32 boot circuit,master clock circuit,RTC clock circuit,Flash memory circuit,SRAM memory circuit,reset circuit,etc.The design of home energy management system motherboard includes: power supply circuit,USB to serial port circuit,LCD screen interface circuit,network interface circuit,RS485 circuit,sensor interface circuit.The software design of Home Energy Management System for Demand Side Response includes three parts: main controller program,ZigBee program,and host computer program.The main controller program design includes smart meter communication software,network communication software,intelligent control algorithm for home management system,simple upper computer communication protocol design,and ZigBee communication.The ZigBee program design includes two parts: the IO register configuration of the terminal node and coordinator,the ZigBee network transceiver control protocol;QT is used to write the computer program,the host computer program includes two parts: TCP client and TCP server design,mainly including the graphical interface,network communication program,simple control protocol,etc.The client version of the program server can control the use of house appliances through the house network.The home energy managementsystem can be used as a power user smart power terminal device or as a simple smart home terminal device. |