Unit 2
Unit 2
Unit 2
• This protocol forms an integral part in SCADA systems while interconnecting the
RTUs and IEDs named as the Inter –Control Center Communications (ICCP)
protocol. ICCP is a part of IEC 60870 and is widely used in inter- master station
communications.
Important Features of DNP3
• 1. DNP3 protocol is characterized by important features that makes it inter-
operable with related protocols like MODBUS, etc. This makes it more
efficient for communicating between components in SCADA systems.
• 2. DNP3, with reference to the widely used OSI model for communicating
networks, corresponds to layer 2, which provides multiplexing of various
features like error checking, link control, data fragmentation, etc.
• 3. DNP3 provides a transport function (layer 4) and Application layer (Layer
7) corresponding to SCADA applications.
• 4. DNP3 has improved bandwidth efficiency which is accomplished through
event oriented data reporting.
• 5. DNP3 has good ability to handle error detection.
IEC60870 Protocol
• IEC standard 60870 is widely used for controlling electric power transmission
grids and other process plants. This standard can be used for interoperating
various equipment from different suppliers through standardized protocols.
• IEC standard 60870 has six parts,
• defining general information related to the standard,
• operating conditions,
• electrical interfaces,
• performance requirements, and
• data transmission protocols.
• IEC 60870 provides a communication profile for tele-control messages
between two directly connected systems. This protocols provides tele-control
and tele-protection of electric power systems through associated tele-
communication.
Other standards for IEC 60870
• IEC 60870-5-1: Transmission Frame Formats
• IEC 60870-5-2: Data Link Transmission Services
• IEC 60870-5-3; General Structure of Application Data
• IEC 60870-5-4; Definition and Coding of Information Elements
• IEC 60870-5-5; Basic Application Functions
• The two widely used protocols for SCADA Applications are
• HDLC (High Level Data Link Control)
• MODBUS
• HDLC
• HDLC (High Level Data Link Control) is a bit oriented code transparent
synchronous data link layer protocol developed by ISO. HDLC provides
connection – oriented and connection – less service.
• Though HDLC can be used for point to point multi point connections, but is
preferable to use one to one connections, known as asynchronous balanced
mode (ABM). It forms the basis for all modern protocols.
• Modbus
• MODBUS is a serial communications protocol originally published by
MODICON in 1979 for use with its programmable logic controllers.
• MODBUS protocol is simple and robust which has become a widely used
standard communication protocol for connecting industrial electronic
devices.
• The advantages of MODBUS protocol from an industry point of view are
• 1. Industry centric.
• 2. Open Source
• 3. Easy to use and deploy
• 4. Vendor independent
RFID protocol standards
ISO 11784 ISO RFID standard that defines the way in which data is structured on an RFID tag.s
ISO 11785 ISO RFID standard that defines the air interface protocol.
ISO RFID standard that provides the definitions for air interface protocol for RFID tags used in proximity
ISO 14443
systems – aimed for use with payment systems
ISO 15459 Unique identifiers for transport units (used in supply chain management)
ISO 15693 ISO RFID standard for use with what are termed neighborhood cards
ISO RFID standard for Item Management (includes application interface (part 1), registration of RFID data
ISO 15961
constructs (part 2), and RFID data constructs (part 3).
ISO 15962 ISO RFID standard for item management – data encoding rules and logical memory functions.
ISO 16963 ISO RFID standard for item management – unique identifier of RF tag.
ISO 18000 ISO RFID standard for the air interface for RFID frequencies around the globe
ISO 18001 RFID for item management – application requirements profiles.
Approach Function-driven (data available as services, e.g.: Data-driven (data available as resources, e.g. “user”).
“getUser”)
Statefulness Stateless by default, but it’s possible to make a SOAP API Stateless (no server-side sessions).
stateful.
Caching API calls cannot be cached. API calls can be cached.
Security WS-Security with SSL support. Built-in ACID compliance. Supports HTTPS and SSL.
Performance Requires more bandwidth and computing power. Requires fewer resources.
Message Only XML. Plain text, HTML, XML, JSON, YAML, and others.
format
Transfer HTTP, SMTP, UDP, and others. Only HTTP
protocol(s)
Recommended Enterprise apps, high-security apps, distributed Public APIs for web services, mobile services, social networks.
for environment, financial services, payment gateways,
telecommunication services.
Advantages High security, standardized, extensibility. Scalability, better performance, browser-friendliness, flexibility.
Disadvantages Poorer performance, more complexity, less flexibility. Less security, not suitable for distributed environments.
• Protocols
• – IEEE802.15.4
• – BACNet Protocol
• – Modbus
• – KNX
• – Zigbee
• IEEE 802.15.4
• IEEE 802.15.4 is a wireless access technology for low-cost and low-data-rate
• devices that are powered or run on batteries. In addition to being low cost and
• offering a reasonable battery life, this access technology enables easy
• installation using a compact protocol stack while remaining both simple and
• flexible. Several network communication stacks, including deterministic ones,
• and profiles leverage this technology to address a wide range of IoT use cases
• in both the consumer and business markets. IEEE 802.15.4 is commonly
• found in the following types of deployments:
• Home and building automation
• Automotive networks
• Industrial wireless sensor networks
• Interactive toys and remote controls
• They also use BACnet to integrate information and control for multiple
building systems into a single graphical user interface.
• zigbee network is
comprised of
• coordinator(C),
• router(R) and
• end devices (E).
• Zigbee supports mesh-
routing.
• Coordinator:
• Always first coordinator need to be installed for establishing zigbee network
service,
• it starts a new PAN (Personal Area Network), once started other zigbee
components viz. router(R) and End devices(E) can join the network(PAN).
• It is responsible for selecting the channel and PAN ID.
• It can assist in routing the data through the mesh network and allows join
request from R and E.
• It has operated by mains powered (AC) and support child devices.
• It will not go to sleep mode.
• Router:
• First router needs to join the network then it can allow other R & E to join the PAN.
• It is mains powered (AC) and support child devices.
• It will not go to sleep mode.
• End Devices:
• It cannot allow other devices to join the PAN nor can it assist in routing the data through
the network.
• It is battery powered and do not support any child devices.
• This may sleep hence battery consumption can be minimized to great extent.
• There are two topologies, star and mesh, as mentioned Zigbee supports mesh routing.
• PAN ID is used to communicate between zigbee devices, it is 16 bit number.
• Coordinator will have PAN ID set to zero always and all other devices will receive a 16 bit
address when they join PAN.
• There are two main steps in completing Zigbee Network Installation.
• Forming the network by Coordinator and joining the network by Routers and End
devices.
• Forming the Zigbee Network
• Coordinator searches for suitable RF channel which is usable and not interfering with Wireless LAN
frequencies in use.
• This is because WLAN also operates in the same 2.4GHz bands. This is done on all the 16 channels. It is
also referred as energy scan.
• Coordinator starts the network by assigning a PAN ID to the network.
• Assignment is done in two ways.
• Manual (pre configured) and dynamic (obtained by checking other PAN IDs of networks
already in the operation nearby so that PAN ID does not conflict with other networks).
• Here Coordinator also assigns network address to itself i.e. 0x0000.
• Now coordinator completes its configuration and is ready to accept network joining
request queries from routers and end devices who wish to join the PAN.
• In addition to above, Coordinator(C) sends broadcast beacon request frame on remaining
quiet channel.
• This is also referred as beacon scan or PAN scan.
• By this Coordinator receives PAN ID of routers(R) and end devices(E) present nearby.
• It also comes to know whether R/E allow join or not.
• Now R/E can join by sending association request to C. C will respond with association
response.
• Joining the Zigbee Network
• how a router or end device joins zigbee network?
• There are two ways to join a zigbee network viz. MAC association and network re-join.
• First one is implemented by device underlying MAC layer and
• second one is implemented by network layer, despite the name may also be used to join a
network for the first time.
• MAC association can be performed between C and R/E or R and E or R and other R.
• Let us assume that Coordinator(C) has already established the PAN network.
• Hence next step for R or E is to find out whether C is allowing joining or not.
• So they do PAN scan or send beacon request frame.
• After they come to know that they can join the network, they will send association request
frame and will join the network as soon as they receive the association response.
• As mentioned above whether or not C or R allow a new device to join depends on two
main factors:
• -Permit joining attribute
• -Number of end device children it already has.
• Zigbee Applications
• Zigbee in Healthcare - For example to monitor blood pressure, to
monitor blood glucose level, bed sensor controller, weighing scale
etc.
• Zigbee in smart energy - For example safe plug, smart socket,
electricity consumption display, thermostats, energy manager etc.
• Zigbee in Home and building automation - For example remote
control of various home and building related stuff.
• Zigbee for Closures - For example smart lock, Door sensor,
occupancy sensor, etc.
• Zigbee for Home appliances - For example air conditioner, TV,
digital water meter etc.
• Zigbee for telecom services - For example router/gateway etc.
zigbee protocol stack