Research and Development of Embedded Communication Software for Smart Meters Based on DL/T 645-2007 Protocol
The DL/T 645-2007 protocol for multifunction watt-hour meter is drafted to unify and standardize the data exchange between multi-function watt-hour meters and data terminal equipments. To reduce code amount of embedded communication software in watt-hour meter and improve the execution efficiency of communication software, on the basis of analyzing characteristics of encoding table for data identification in DL/T 645-2007 protocol, data that is metered, processed and recorded by a watt-hour meter is organized and stored rationally. A smart meter acts as a slave station, which receives communication commands from a master station. After simply transferring data identification sent from the master station, the store address of required data can be calculated, thus the time used for data retrieval from storage space outside a MCU embedded in the meter is obviously shorten. The proposed method is available for design of a smart meter possessing such functions as interacting with consumers, metering diverse electricity parameters and exchanging large amount of information with a master station.