Professional Documents
Culture Documents
Email: christian.wietfeld@tu-dortmund.de
Abstract—Communication technology plays an increasingly Smart metering protocols have been analyzed in differ-
important role in the growing automated metering infrastructure ent ways in the past. In [9] a general overview of the
(AMI) market. This paper presents a thorough analysis and most common smart metering protocols at all layers is pre-
comparison of four application layer protocols in the smart
metering context. The inspected protocols are DLMS/COSEM, sented. In [10] protocols were briefly compared with respect
the Smart Message Language (SML), and the MMS and SOAP to their support for demand response applications. In [11]
mappings of IEC 61850. The focus of this paper is on their DLMS/COSEM is thoroughly compared to IEC 60870-5-104.
use over TCP/IP. The protocols are first compared with respect In [12] DLMS/COSEM is analyzed in detail. This paper is the
to qualitative criteria such as the ability to transmit clock first to compare DLMS/COSEM, SML and IEC 61850 based
synchronization information. Afterwards the message size of
meter reading requests and responses and the different binary on qualitative criteria and coding efficiency.
encodings of the protocols are compared. This paper is organized as follows: In Section II the most
common smart metering communication topologies are looked
I. I NTRODUCTION at. It is pointed out where the protocols under investigation can
Advanced metering infrastructure (AMI) systems are be used. In Section III the qualitative criteria are discussed by
quickly growing in number and size. They consist of smart which the protocols are analyzed and compared in Section IV.
meters in households that support two-way communication to Section V analyzes the message size and coding efficiency of
the back office of the meter service provider. The effort to the protocols. Finally a conclusion is drawn.
install these infrastructures is mainly driven by three goals:
1) Give consumers more feedback about their consumption II. S MART M ETERING C OMMUNICATION T OPOLOGY
and costs and thereby promote economizing behavior. Many different network topologies are being used for AMIs.
2) Promote the shift of resource usage from times of high Most topologies though can be derived from the general form
demand to times of low demand. displayed in Figure 1. In this figure the electricity, gas, water,
3) Create an infrastructure that can be readily used for other and heat meters communicate with a home gateway which
smart grid applications in the distribution grid. acts as the interface to the outside world. In many scenarios
Smart metering communication is the focus of several this gateway is actually integrated in the electricity meter. In
standardization efforts (e.g. [1]) and part of national smart this case the communication line (a) in Figure 1 will not
grid roadmaps [2] [3]. But up to now the majority of the be needed. Gas, water, and heat meters are special in that
installed AMIs uses proprietary protocols that do not conform they are mostly battery driven. This has to be accounted for
to open or international standards. In the future though it when choosing a communication protocol for (b). The gateway
will be necessary to focus on open standards. This will allow (or electric meter) can then communicate with the utility (or
competition on a free market leading to lower prices. metering service provider) directly over the Internet (c) or with
In this paper four different application layer protocols are a concentrator as an intermediate step (d, e), where (d) is
compared with regard to their support for smart metering usually a power line or mid-range wireless solution.
applications. By Application Layer we refer to the layer of The application layer protocols that we look at can all be
the Internet Protocol Suite, which includes the Session and used over the TCP/IP protocol stack and are thus applicable for
Presentation Layer of the OSI model and sits on top of TCP or Internet communication on (c) and (e) and over local networks
UDP. The protocols under investigation are the Smart Message such as Ethernet and Wi-Fi on (a). In addition the protocols can
Language (SML, IEC 62056-58 Draft) [4], DLMS/COSEM as be used over other lower layer protocols. DLMS/COSEM can
defined in IEC 62056-53 [5] and IEC 62056-62 [6], and the be used over UDP, HDLC, Meter-Bus, and different narrow
MMS [7] and SOAP [8] mappings for the IEC 61850 standard. band power line protocols such as IEC 61334-5. SML can be
411
TABLE I
but the exact standardization is left to other standardization Q UALITATIVE C OMPARISON OF SML, DLMS/COSEM, AND IEC
bodies (e.g. [14]). 61850
SML has no built in security except for simple username and Protocols
password fields inside the SML messages. For communication Feature SML DLMS IEC 61850
over TCP/IP, the SSL/TLS protocol can be used.
Load Profile X X X
B. DLMS/COSEM Digital Signature X -2 -
412
security mechanism is not necessarily an advantage. This way arbitrary number of data points can be dynamically
it restricts the security to symmetric key encryption. If meters created. Afterwards the data-set can be retrieved using
should combine their measured data with digital signatures the the GetDataSetValues service in an efficient manner.
meter would need asymmetric keys anyways and could use the In the following, the size of the respective request and
same key pairs for SSL/TLS, if this were allowed. response messages is determined. More precisely, equations
IEC 61850 has the advantage that it can also be used for the TCP Service Data Unit (SDU) size as a function of
for other smart grid applications besides smart metering. the number of measurement values requested are determined.
At this moment though there does not seem to be enough Several parameters in the request and response messages are of
interest in making it a feature rich protocol for smart metering variable length. In the following analysis the shortest possible
applications. parameter length was always chosen. Many different data
V. E FFICIENCY A NALYSIS points can be requested by the protocols. In order to be
able to compare the protocols we only regard the request for
In the previous section the protocols have been analyzed
measurement values in the form of four byte integers. The
with respect to qualitative features. In this section the ef-
packet size was determined partly by implementing the actual
ficiency of the different protocols is analyzed. In particular
communication protocols [21] and capturing the traffic and
the total number of bytes transmitted by each protocol is
partly by using analytical models.
examined. Comparing the protocols is not trivial because they
support the communication of different information types, use For SML the TCP SDU size of the request and response
different message structures, and different encoding schemes. messages is composed as follows:
For that reason one application namely the access to in-
stantaneous metering readings was chosen for comparison in SM L Req = SM L T P V 1 + OpenReq
the following subsection. Afterwards the different encoding
+ GetListReq + CloseReq
schemes are directly compared.
+ Stuf f edBits
A. Access Instantaneous Meter Readings (1)
SM L Res = SM L T P V 1 + OpenRes
Getting instantaneous meter readings is a fundamental ap-
+ GetListRes + CloseRes
plication that is supported by all four protocols. For that reason
it was chosen as the main application for comparison. Meter + Stuf f edBits
readings can be different measurements from the same meter
(e.g. instantaneous power, total energy from electricity meter) SML can potentially be used with different encoding
or measurements from several meters requested from a device schemes, but in practice only the SML Binary Encoding
such as a gateway. is used. For the non pre-parameterized scenario the size of
First the mechanism for retrieving meter readings is de- GetListReqPDU in bytes for the transmission of x values using
scribed for each protocol separately then their message sizes the SML Binary Encoding can be estimated by:
are compared. The four protocols use the following methods
to access the instantaneous meter readings: SM L Req = 16 + 28 + 30x + 19 + 0
• SML specifies the GetList message to get instantaneous
SM L Res = 16 + 27 + 45x + 19 + 0
measurement values. The request message contains the
names of parameters or parameter lists that are to be read. The following estimates the size in the pre-parameterized
The response contains the requested list of values. Two scenario:
scenarios have been analyzed:
– The SML meter or gateway was pre-parameterized
with a list of parameters that are to be read together. SM L Req = 16 + 28 + 30 + 19 + 0
This way only a single list name can be sent to SM L Res = 16 + 27 + (26 + 19x) + 19 + 0
the server and the response will contain all parame-
ters/values associated with that list name. The composition and size of the DLMS/COSEM TCP SDUs
– The meter or gateway was not pre-parameterized and for the transmission of x values is as follows:
all desired readings have to be explicitly requested.
• DLMS/COSEM specifies the Get service to retrieve in-
DLM S Req = T CP W rapper + GetReqW ithList
stantaneous meter readings. A Get-Request can contain
a list of so called COSEM Attribute Descriptors which = 8 + (4 + 11x)
(2)
unambiguously define the exact parameters to be read. DLM S Res = T CP W rapper + GetResW ithList
The response then contains the list of the parameter = 8 + (4 + 6x)
values without repeating the associated descriptors again.
• IEC 61850 offers services to manage and access so The composition and size of the MMS TCP SDUs is shown
called Data-Sets. This way a Data-Set containing an in (3).
413
TABLE II
TCP PAYLOAD SIZE IN BYTES AS A FUNCTION OF THE NUMBER OF MEASUREMENT VALUES REQUESTED ( X )
Protocols
Message Type SML SML preparametrized DLMS IEC 61850 MMS IEC 61850 SOAP
Request 63 + 30x 93 12 + 11x 64 433
1400 SOAP
SML-prepar Encodings
1200 MMS
DLMS Message Type SML DLMS MMS
1000
A-XDR BER
800
TL1 Val2 TL Val TL Val
600
MMS (choice) 0 0 0 0 0 0
400
confirmed-Resp. (Seq) 3 0 1 0 2 0
200
invokeID: 458 (Unsigned32) 1 2 0 2 2 2
0
5 10 15 20 25 30 confServiceResp (choice) 0 0 0 0 0 0
Number of measurement values transfered read (Seq) 3 0 1 0 2 0
variableAccessSpec 1 0 1 0 0 0
Fig. 2. Response Messages (optional) not opted
ListOfAccessRes (SeqOf) 1 0 1 0 2 0
AccessRessult (SeqOf) 1 0 2 0 2 0
Data: boolean 1 1 1 1 2 1
M M S Req = RF C 1006 and ISO 8073 Data: visible-str = test 1 4 1 4 2 4
+ ISO 8327 Session
sum 12 7 8 7 14 7
+ ISO P resentation sum (TL + Val) 19 15 21
+ M M S GetListReqP DU 1 length of the Type-Length field
2
= 7 + 4 + 9 + 44 length of the encoded value
(3)
M M S Res = RF C 1006 and ISO 8073
+ ISO 8327 Session
B. Binary Encodings Compared
+ ISO P resentation
MMS, DLMS/COSEM, and SML all use byte oriented
+ M M S GetListResP DU
binary encodings to encode their messages. In this section they
= 7 + 4 + 9 + (10 + 6x) are compared directly.
The composition and size of the SOAP TCP SDUs is shown MMS uses the BER encoding to encode the messages
in (4). specified using ASN.1. DLMS/COSEM also uses BER for the
association messages but once associated the payload is coded
using special encoding rules called A-XDR as defined in [22].
SOAP Req = SOAP Header + SOAP Req XM L A-XDR can only encode a subset of ASN.1 and was developed
= 197 + 236 to reduce the overhead caused by BER. SML also defines a
(4) new encoding called the SML Binary Encoding. It has the
SOAP Res = SOAP Header + SOAP Res XM L
same goal as A-XDR to reduce the message size compared to
= 113 + (175 + 32x)
the BER. Both focus on coding type and length fields more
The resulting sizes are summarized in Table II. In addition efficiently than BER. While BER usually codes one byte for
the response message size is graphed in Figure 2. It can be the type field and one byte for the length, in SML Binary
seen that DLMS and MMS are the most efficient protocols Encoding, the type and length are encoded in one byte if
with respect to message size. It has to be noted though that possible. In A-XDR the type and length fields are omitted
DLMS and IEC 61850 require an existing open association completely where feasible.
for their message exchange. SML does not need this. The The three binary encodings are compared by encoding an
overhead by the association was not taken into account for MMS GetDataValues Response message. Table III shows the
these calculations. If the association is built up once and kept number of bytes necessary to code the different components
up for long time periods the overhead will be negligible. of the MMS message.
414
As can be seen, A-XDR needs the fewest bytes to encode [7] “IEC 61850-8-1 ed1.0 - communication networks and systems in sub-
the packet. A-XDR encodes as efficiently as BER or better stations - part 8-1: Specific communication service mapping (SCSM)
- mappings to MMS (ISO 9506-1 and ISO 9506-2) and to ISO/IEC
in all cases except for optional fields that are not opted. The 8802-3,” May 2004.
SML Binary Encoding does not code with fewer bytes in all [8] “IEC 61400-25-4 ed1.0 - wind turbines - part 25-4: Communications
cases. That is because tags in choices are coded with at least for monitoring and control of wind power plants - mapping to commu-
nication profile,” 2008.
two bytes. All savings in A-XDR and SML Binary Encoding [9] K. D. Craemer and G. Deconinck, “Analysis of state-of-the-art smart
are in the type and length fields. The actual values are encoded metering communication standards,” Leuven, 2010.
with equal number of bytes. [10] S. Mohagheghi, J. Stoupis, Z. Wang, Z. Li, and H. Kazemzadeh, “De-
mand response architecture: Integration into the distribution management
VI. C ONCLUSION system,” in Smart Grid Communications (SmartGridComm), 2010 First
IEEE International Conference on, 2010, pp. 501–506.
In this paper the most significant qualitative features of a [11] A. Zaballos, A. Vallejo, M. Majoral, and J. Selga, “Survey and perfor-
smart metering application layer protocol have been identified. mance comparison of AMR over PLC standards,” Power Delivery, IEEE
Transactions on, vol. 24, no. 2, pp. 604–613, 2009.
The comparison of DLMS/COSEM, SML, and IEC 61850 has [12] T. Otani, “A primary evaluation for applicability of IEC 62056 to a
shown that no single protocol is superior in all aspects. The Next-Generation power grid,” in Smart Grid Communications (Smart-
analysis and comparison of the message size has shown that GridComm), 2010 First IEEE International Conference on, 2010, pp.
67–72.
DLMS and the MMS IEC 61850 clearly outperform the rest. [13] S. Feuerhahn, M. Zillgith, and C. Wittwer, “Standardized communication
Both DLMS/COSEM and SML use special encodings to code of Time-of-Use prices for intelligent energy management in the distri-
more efficiently than BER but the SML Binary Encoding has bution grid,” in VDE Kongress 2010 - E-Mobility, Leipzig, Germany,
Nov. 2010.
significant drawbacks when encoding tags of ASN.1 choice [14] SyMProjectGroup, “SyM - general specification for synchronous mod-
elements. A-XDR does a good job in reducing the overhead ular meters,” Oct. 2009.
caused by the type and length fields. [15] VDE, “Lastenheft MUC - multi utility communication, version 1.0,”
May 2009.
In the future it would be interesting to do a similar com- [16] “IEC 62056-47 - data exchange for meter reading, tariff and load control
parison using other promising protocols such as ZigBee Smart – part 47: COSEM transport layers for IPv4 networks,” 2006.
Energy 2.0 and ANSI C12.19. [17] “IEC 61850-7-410 ed1.0 - communication networks and systems for
power utility automation - part 7-410: Hydroelectric power plants -
communication for monitoring and control,” Aug. 2007.
R EFERENCES [18] “IEC 61400-25-2 ed1.0 - wind turbines - part 25-2: Communications
[1] E. Commission, “M/441 EN, standardisation mandate to CEN, CEN- for monitoring and control of wind power plants - information models,”
ELEC and ETSI in the field of measuring instruments for the develop- Dec. 2006.
ment of an open architecture for utility meters involving communication [19] “IEC 61850-7-420 ed1.0 - communication networks and systems for
protocols enabling interoperability,” Mar. 2009. power utility automation - part 7-420: Basic communication structure –
[2] NIST, “NIST framework and roadmap for smart grid interoperability distributed energy resources logical nodes,” Oct. 2009.
standards, release 1.0,” 2010. [20] “IEC/TS 62351-1 ed1.0 - power systems management and associated
[3] DKE, “Die deutsche normungsroadmap E-Energy/Smart grid,” Apr. information exchange - data and communications security - part 1:
2010. Communication network and system security - introduction to security
[4] S. P. Group, “Smart message language (SML) v. 1.03,” Dec. 2008. issues,” May 2007.
[5] “IEC 62056-53 - data exchange for meter reading, tariff and load control [21] “openMUC - software platform for energy gate-
– part 53: COSEM application layer,” 2006. ways,” http://www.openmuc.org/, 2011. [Online]. Available:
[6] “IEC 62056-62 - data exchange for meter reading, tariff and load control http://www.openmuc.org/
– part 62: Interface classes,” 2006. [22] “IEC 61334-6 - distribution automation using distribution line carrier
systems – part 6: A-XDR encoding rule,” 2000.
415