{"id":1358,"date":"2014-06-06T11:52:17","date_gmt":"2014-06-06T10:52:17","guid":{"rendered":"http:\/\/www.industronic-blog.com\/?p=1358"},"modified":"2019-03-19T10:24:44","modified_gmt":"2019-03-19T09:24:44","slug":"unicast-multicast-broadcast-industrial-communication-systems","status":"publish","type":"post","link":"https:\/\/www.industronic.com\/blog\/unicast-multicast-broadcast-industrial-communication-systems\/","title":{"rendered":"Unicast, Multicast and Broadcast in Industrial Communication Systems"},"content":{"rendered":"<p><span style=\"color: #333399;\"><em>A post by our colleague Roland Leuthe, Head of Development \u201cSystems Software\u201d<\/em><\/span><\/p>\n<p>In one of our last blog articles we explained the basic characteristics of the different transmission modes of communication: unicast, multicast, and broadcast. How can these different modes now be reasonably implemented into industrial communication systems?<\/p>\n<p>First I would like to start with some short definitions to bring back to mind the differences between the modes.<\/p>\n<p><b>Unicast<\/b> mode (point-to-point transmission) means <b><i>one<\/i><\/b> sender sends data to <b><i>one <\/i><\/b>receiver. The receiver optionally acknowledges that the information has been received correctly.<\/p>\n<p><b>Multicast<\/b> mode (point-to-multipoint transmission) means <b><i>one<\/i><\/b> sender sends data to a <b><i>group<\/i><\/b> of <b><i>N<\/i><\/b> receivers for which the data is intended for. Typically, the sender receives no acknowledgements from the group if they received the data correctly.<\/p>\n<p><b>Broadcast<\/b> mode (point-to-multipoint transmission) means <b><i>one<\/i><\/b> sender sends data to <b><i>all members of a subnet<\/i><\/b> whether they are interested in the data or not. Just as with multicast, the sender typically doesn&#8217;t receive acknowledgements from the receivers.<\/p>\n<p>In industrial communication systems, different types of data are transmitted. On the one hand there is media data (e.g. audio, video) and on the other hand control data (e.g. call setup\/termination) and signaling data (e.g. a flashing LED at an intercom station indicates an incoming call).<\/p>\n<p><span style=\"text-decoration: underline;\">Control and Signaling Data<\/span><\/p>\n<p>Almost all <b>control protocols<\/b> used in telecommunication and in the IP world are point-to-point protocols, i.e. they use the unicast mode. This mode ensures secure transmission of data and reliable control processing as a request or command has to be acknowledged by the receiver (positive or negative acknowledgement). The sender then knows if the information has been received correctly or not. Hence, for control and signaling data unicast is the best transmission mode. Let\u2019s take a look at two application examples to show you why.<!--more--><\/p>\n<p><span style=\"text-decoration: underline;\">Using Unicast for Control and Signaling Data <\/span><\/p>\n<p><a title=\"Unicast for Control and Signaling Data\" href=\"https:\/\/www.industronic-blog.com\/wp-content\/uploads\/2014\/06\/Unicast_Example1.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft  wp-image-1377\" style=\"margin: 20px;\" title=\"Using Unicast for Control and Signaling Data\" src=\"https:\/\/www.industronic-blog.com\/wp-content\/uploads\/2014\/06\/Unicast_Example1.png\" alt=\"Unicast_Example1\" width=\"276\" height=\"383\" srcset=\"https:\/\/www.industronic.com\/blog\/wp-content\/uploads\/2014\/06\/Unicast_Example1.png 307w, https:\/\/www.industronic.com\/blog\/wp-content\/uploads\/2014\/06\/Unicast_Example1-216x300.png 216w\" sizes=\"auto, (max-width: 276px) 100vw, 276px\" \/><\/a><\/p>\n<p>A system consists of 3 IP devices. One of them is the master intercom station which receives one request\/command per second from the other two devices. In return, the master intercom station acknowledges these requests\/commands by sending one message to each of the two field intercom stations. In this scenario, the master intercom station receives<br \/>\n2 messages and acknowledges them by sending 2 messages back.<\/p>\n<p><span style=\"text-decoration: underline;\">Using Broadcast or Multicast with Acknowledgments<\/span><\/p>\n<p style=\"text-align: left;\"><a title=\"Broadcast or Multicast with Acknowledgements\" href=\"https:\/\/www.industronic-blog.com\/wp-content\/uploads\/2014\/06\/Multicast_Broadcast_Example.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft  wp-image-1362\" style=\"margin: 30px 10px;\" title=\"Using Broadcast or Multicast with Acknowledgements\" src=\"https:\/\/www.industronic-blog.com\/wp-content\/uploads\/2014\/06\/Multicast_Broadcast_Example.png\" alt=\"Multicast_Broadcast_Example\" width=\"299\" height=\"382\" srcset=\"https:\/\/www.industronic.com\/blog\/wp-content\/uploads\/2014\/06\/Multicast_Broadcast_Example.png 332w, https:\/\/www.industronic.com\/blog\/wp-content\/uploads\/2014\/06\/Multicast_Broadcast_Example-235x300.png 235w\" sizes=\"auto, (max-width: 299px) 100vw, 299px\" \/><\/a>The second example describes the same application as the first one except that the broadcast or multicast mode with acknowledgements is used for the transmission of <b>control data<\/b>.<\/p>\n<p style=\"text-align: left; padding-left: 30px;\">Again there is a system with one master intercom station and two field intercom stations. Now, imagine broadcast or multicast are used: Each of the two field intercom stations sends one request to the master, but also to the other device, where this message is rejected as it is only intended for the master intercom station. The master intercom station in return sends acknowledgements to each of the two field intercom stations, no matter if one is actually not interested in the information. Each field intercom station has to evaluate itself if the information received is useful or not. Significant traffic and processor overload is caused for the individual devices and lots of messages which are not relevant are deleted.<\/p>\n<p style=\"text-align: left; padding-left: 30px;\">Now, imagine a system with 101 IP devices. There is no change in processor load for the field intercom stations if you use unicast mode, as each device only receives its intended acknowledgement. However, when transmitting data in broadcast mode each device receives 201 messages per second from the other devices. There are 100 requests and 100 acknowledgments which are actually not relevant and are deleted. Only<br \/>\n1 message contains the information required. This means a reliable <b>control communication<\/b> does not scale at all if broadcast or multicast mode is used.<\/p>\n<p><span style=\"text-decoration: underline;\">Audio Data<\/span><\/p>\n<p>For point-to-point communication of audio data, the unicast transmission mode is also often used, as there is only one sender and one receiver. For point-to-multipoint communication (e.g. group calls) the multicast transmission mode provides significant advantages. The CPU (central processing unit) load of the sender is less affected, as the audio data is only transmitted once no matter how many receivers exist. Also the load on the network is reduced, as data is only sent once throughout the network.<\/p>\n<p><span style=\"text-decoration: underline;\">Broadcast in Industrial Communication Systems<\/span><\/p>\n<p>Almost each IP device which is connected to a network uses broadcast messages for discovery purposes. The <a title=\"ARP protocol\" href=\"https:\/\/www.industronic.com\/nc\/global\/english\/info-center\/glossary\/detail\/glossary-detail\/address-resolution-protocol-arp-1\/?type=0&amp;cHash=6abccca1c52dbf2a43cd30ec0833b0ce\" target=\"_blank\" rel=\"noopener noreferrer\">ARP protocol <\/a>(Address Resolution Protocol) is used to convert IP addresses to MAC addresses, for example. The <a title=\"DHCP protocol\" href=\"https:\/\/www.industronic.com\/nc\/global\/english\/info-center\/glossary\/detail\/glossary-detail\/dynamic-host-configuration-protocol-dhcp-1\/?type=0&amp;cHash=f7272cdb67dc00fa236b210c222d6fc1\" target=\"_blank\" rel=\"noopener noreferrer\">DHCP protocol <\/a>(Dynamic Host Configuration Protocol) is used for dynamic assignment of IP addresses. Both protocols use broadcast messages in the discovery phase.<\/p>\n<p>In an industrial communication system broadcast messages can be used to detect which IP devices belong to the communication system during start-up. This is a convenient feature in order to reduce configuration effort.<\/p>\n<p><span style=\"text-decoration: underline;\">Conclusion<\/span><\/p>\n<p>Especially Iarge communication systems should use the <b>unicast transmission mode<\/b> to transmit control and signaling data. Also for point-to-point audio communication the unicast transmission mode is the best choice to avoid excess traffic and processor overload. Typical types of applications are: private call, control protocols.<\/p>\n<p>Furthermore, the system may use the<b> multicast transmission mode<\/b> to transmit media data if there are several recipients and if the infrastructure of the network permits it. Typical types of applications are: group call, conference, video broadcasting.<\/p>\n<p>The <b>broadcast transmission mode<\/b> should only be used for discovery purposes as broadcast messages <b>always<\/b> have to be processed by <b>all<\/b> devices within the IP subnet.<\/p>\n<p>The INTRON-D <i>plus<\/i> system uses exactly the same principles as described above.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A post by our colleague Roland Leuthe, Head of Development \u201cSystems Software\u201d In one of our last blog articles we explained the basic characteristics of the different transmission modes of communication: unicast, multicast, and broadcast. How can these different modes now be reasonably implemented into industrial communication systems? First I would like to start with [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":1377,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[21,71,94,153],"class_list":["post-1358","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology","tag-broadcast","tag-industrial-communication-systems","tag-multicast","tag-unicast"],"_links":{"self":[{"href":"https:\/\/www.industronic.com\/blog\/wp-json\/wp\/v2\/posts\/1358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.industronic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.industronic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.industronic.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.industronic.com\/blog\/wp-json\/wp\/v2\/comments?post=1358"}],"version-history":[{"count":2,"href":"https:\/\/www.industronic.com\/blog\/wp-json\/wp\/v2\/posts\/1358\/revisions"}],"predecessor-version":[{"id":3924,"href":"https:\/\/www.industronic.com\/blog\/wp-json\/wp\/v2\/posts\/1358\/revisions\/3924"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.industronic.com\/blog\/wp-json\/wp\/v2\/media\/1377"}],"wp:attachment":[{"href":"https:\/\/www.industronic.com\/blog\/wp-json\/wp\/v2\/media?parent=1358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.industronic.com\/blog\/wp-json\/wp\/v2\/categories?post=1358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.industronic.com\/blog\/wp-json\/wp\/v2\/tags?post=1358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}