{"id":40637,"date":"2018-03-06T18:39:42","date_gmt":"2018-03-06T18:39:42","guid":{"rendered":"http:\/\/electronicsmaker.com\/?p=40637"},"modified":"2018-03-06T18:39:42","modified_gmt":"2018-03-06T18:39:42","slug":"bluetooth5-and-bluetooth-mesh","status":"publish","type":"post","link":"https:\/\/electronicsmaker.com\/bluetooth5-and-bluetooth-mesh","title":{"rendered":"Bluetooth5 and Bluetooth mesh"},"content":{"rendered":"<p><a href=\"\/\/electronicsmaker.com\/wp-content\/uploads\/2018\/03\/Bluetooth-5.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignleft  wp-image-40638\" src=\"\/\/electronicsmaker.com\/wp-content\/uploads\/2018\/03\/Bluetooth-5.png\" alt=\"Bluetooth-5\" width=\"383\" height=\"255\" srcset=\"https:\/\/electronicsmaker.com\/wp-content\/uploads\/2018\/03\/Bluetooth-5.png 627w, https:\/\/electronicsmaker.com\/wp-content\/uploads\/2018\/03\/Bluetooth-5-300x200.png 300w\" sizes=\"(max-width: 383px) 100vw, 383px\" \/><\/a>In December 2016, the Bluetooth consortium (Bluetooth Special Interest Group, SIG) rolled out Bluetooth 5, the latest version of the Bluetooth core specification. This 5th revision, which I present here, includes a number of groundbreaking enhancements.<br \/>\nIn addition to the Bluetooth 5 specification, the consortium released the specification for Bluetooth mesh in June 2017. Bluetooth mesh is a software enhancement that can run on any Bluetooth low energy solution; it does not require Bluetooth 5.<br \/>\nIn my opinion, the features provided by Bluetooth 5 and Bluetooth mesh are the most substantial enhancements to Bluetooth technology since its introduction in 1998. They will enable a whole host of new use cases, some which are of specifically relevant to Industrial IoT applications.<\/p>\n<h5>Bluetooth 5<\/h5>\n<p>Bluetooth 5 provides three main feature improvements compared to the preceding release:<br \/>\n\u2022\u00a0\u00a0 \u00a0twice the data rate \u2013 from 1 Mbps to 2 Mbps<br \/>\n\u2022\u00a0\u00a0 \u00a0four times the range<br \/>\n\u2022\u00a0\u00a0 \u00a0eight times the advertising packet size (beacons)<br \/>\nLet\u2019s take a closer look at each of these three new features.<br \/>\n<strong>Increased data rate<\/strong><br \/>\nThe 2 Mbps physical rate (PHY) doubles the amount of data that can be transmitted per second compared to the preceding revision of the specification. While sending data using Bluetooth 5 draws slightly more power than previously, transmission times are cut to half. As a result, the same amount of data can be sent with just over 50% the total power required by Bluetooth v4.2.<br \/>\nIn addition to faster data transmission rates, shorter transmission times result in improved co-existence with other 2.4 GHz radios (including other Bluetooth low energy connections) as the radio is active for a shorter duration.<\/p>\n<figure id=\"attachment_40639\" aria-describedby=\"caption-attachment-40639\" style=\"width: 265px\" class=\"wp-caption alignleft\"><a href=\"\/\/electronicsmaker.com\/wp-content\/uploads\/2018\/03\/Power-consumption-Bluetooth.png\"><img decoding=\"async\" class=\"size-full wp-image-40639\" src=\"\/\/electronicsmaker.com\/wp-content\/uploads\/2018\/03\/Power-consumption-Bluetooth.png\" alt=\"Figure 1 - Power consumption Bluetooth 5 2Mbit\/s PHY\" width=\"265\" height=\"189\" \/><\/a><figcaption id=\"caption-attachment-40639\" class=\"wp-caption-text\">Figure 1 &#8211; Power consumption Bluetooth 5 2Mbit\/s PHY<\/figcaption><\/figure>\n<p><strong>Extended range<\/strong><br \/>\nBy extending the range of Bluetooth signals, the Bluetooth SIG is seeking to extend the reach of Bluetooth low energy to cover entire homes. Two new modulation options, 125 kbps and 500 kbps, extend its range up to four-fold compared to the current Bluetooth low energy specification. In line-of-sight, the range of Bluetooth signals is expected to exceed 1 km range using the same amount of power. The Bluetooth 5 specification further increases maximum output power to 20 dBm compared to today\u2019s 10 dBm. This enables even greater distances between Bluetooth 5 devices, of course at the cost of increased power consumption.<br \/>\nHome automation is obviously a key target application for the Bluetooth SIG going forward. This is clearly indicated by the fact that two new members of the Bluetooth SIG board of directors were brought in from Philips Lighting and Google Nest. Key players in the home automation industry see an interest in adopting Bluetooth low energy to connect the devices they develop.<br \/>\n<strong>Richer beacons<\/strong><br \/>\nThe third new feature Bluetooth 5 brings to the table is extended advertising capability. First introduced in Bluetooth low energy, advertising lets low power sensor nodes signal \u201cI have new data\u201d to a central unit. If the central device is interested in that data, it initiates a connection during which it exchanges data with the sensor node. Once the exchange is completed, the connection is closed and the sensor node goes back into low power mode. Short advertising messages were sufficient to enable this type of exchange.<br \/>\nHowever, it didn\u2019t take long for device manufacturers to figure out that this kind of \u201cnon-connected\u201d advertising message can also be used as a beacon to broadcast information without first having to establish a connection. Apple developed their way of doing it in iBeacon, and Google countered with Eddystone.<br \/>\nWith the popularity of the beacon use case came the desire to make it more powerful and broaden its scope. Bluetooth 5 takes the beacon use case to a new level by increasing advertising message length from 31 bytes previously to 512 bytes, even allowing for multiple 512 byte messages to be linked together. To avoid congestion, it extends these longer advertising packets to all 40 available channels rather than limiting advertising to three advertising channels as in the previous specification.<br \/>\nExtended advertising capability lets nodes send more data packets, even packet streams, without first having to establish a Bluetooth low energy connection. Even though Bluetooth low energy was designed for low power use cases, short data packets, and quick connection establishment, establishing a Bluetooth low energy connection always consumes extra power. In some use cases, broadcasting data connection-free can push down total power consumption even further.<br \/>\nAdvertising messages play an essential role in Bluetooth mesh, in which they are used to broadcast data to other nodes.<\/p>\n<h5>Bluetooth mesh<\/h5>\n<p>Shortly after the release of the Bluetooth 5 specification, the Bluetooth SIG released the specification for Bluetooth mesh. Together, Bluetooth 5 and Bluetooth mesh lay the foundation for many new applications and use cases. They are particularly important for the Industrial Internet of Things as they enable use cases previously only possible with other technologies such ZigBee, Sub-GHz, etc. Because the key advantages are already supported by Bluetooth, the combination of Bluetooth 5 and Bluetooth mesh is expected to enable a host of new application areas and use cases.<br \/>\nBluetooth mesh is standardized by the Bluetooth SIG, which means that devices implementing it will be interoperable. Bluetooth mesh is designed around the following techniques:<br \/>\n\u2022\u00a0\u00a0 \u00a0a publish-subscribe model<br \/>\n\u2022\u00a0\u00a0 \u00a0managed flooding<br \/>\n\u2022\u00a0\u00a0 \u00a0friendship for low power nodes<\/p>\n<figure id=\"attachment_40640\" aria-describedby=\"caption-attachment-40640\" style=\"width: 309px\" class=\"wp-caption alignright\"><a href=\"\/\/electronicsmaker.com\/wp-content\/uploads\/2018\/03\/Bluetooth-mesh-use-modeL.png\"><img decoding=\"async\" class=\"size-full wp-image-40640\" src=\"\/\/electronicsmaker.com\/wp-content\/uploads\/2018\/03\/Bluetooth-mesh-use-modeL.png\" alt=\"Figure 2 -  Bluetooth mesh use model: publish and subscribe\" width=\"309\" height=\"127\" srcset=\"https:\/\/electronicsmaker.com\/wp-content\/uploads\/2018\/03\/Bluetooth-mesh-use-modeL.png 309w, https:\/\/electronicsmaker.com\/wp-content\/uploads\/2018\/03\/Bluetooth-mesh-use-modeL-300x123.png 300w\" sizes=\"(max-width: 309px) 100vw, 309px\" \/><\/a><figcaption id=\"caption-attachment-40640\" class=\"wp-caption-text\">Figure 2 &#8211; Bluetooth mesh use model: publish and subscribe<\/figcaption><\/figure>\n<figure id=\"attachment_40641\" aria-describedby=\"caption-attachment-40641\" style=\"width: 349px\" class=\"wp-caption alignleft\"><a href=\"\/\/electronicsmaker.com\/wp-content\/uploads\/2018\/03\/Low-power-nodes-in-friendship-with-relaying-nodes.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-40641\" src=\"\/\/electronicsmaker.com\/wp-content\/uploads\/2018\/03\/Low-power-nodes-in-friendship-with-relaying-nodes.png\" alt=\"Figure 3 - Low power nodes in friendship with relaying nodes\" width=\"349\" height=\"139\" srcset=\"https:\/\/electronicsmaker.com\/wp-content\/uploads\/2018\/03\/Low-power-nodes-in-friendship-with-relaying-nodes.png 349w, https:\/\/electronicsmaker.com\/wp-content\/uploads\/2018\/03\/Low-power-nodes-in-friendship-with-relaying-nodes-300x119.png 300w\" sizes=\"(max-width: 349px) 100vw, 349px\" \/><\/a><figcaption id=\"caption-attachment-40641\" class=\"wp-caption-text\">Figure 3 &#8211; Low power nodes in friendship with relaying nodes<\/figcaption><\/figure>\n<p>In a Bluetooth mesh network, network nodes are configured to operate in a publish-subscribe model. Information among nodes is transmitted in messages. Nodes providing data or actions use messages to publish information on the network. Other nodes can either collect the data in messages or use it for actions. Figure 2 depicts a simple mesh network made up of switches and lights and shows how they are configured to operate.<br \/>\nTo spread a message across the mesh, the source node simply broadcasts its message using advertising. Other nodes in the network then receive and forward the message to all other nodes, extending the range of the mesh network well beyond the capability of an individual Bluetooth link. This is referred to as flooding mesh. There are several basic mechanisms in place to ensure that the network is not overloaded. Examples include (i) not relaying messages that a node has already touched, and (ii) limiting the number of hops.<br \/>\nFor a network to support relaying, relaying nodes need to actively listen to messages all the time. This means that they cannot operate in low power mode. Nodes with limited power can instead be configured in a friendship relationship with relaying nodes. In a friendship relationship, the relaying node temporarily stores data until the low power node wakes up. Then the data is exchanged during the short period in which the low power node is active.<\/p>\n<h5>Industry 4.0<\/h5>\n<p>Industry 4.0, sometimes referred to as the Industrial Internet of Things (IIoT), is an initiative that was launched by the German government in 2011. Since then, many other regions have created their own variants of the concept: In 2015, Japanese companies formed the Industrial Value Chain Initiative (IVI). In the US, the Industrial Internet Consortium was set up to encourage greater use of the Internet in the American manufacturing sector.<br \/>\nIn manufacturing, Industry 4.0 seeks to leverage technology to improve efficiency and reduce impact on natural resources. Examples of such enabling technologies include low power and low cost sensors, wireless connectivity, affordable network infrastructure, and computing power to analyze the large amount of collected data (Big Data).<br \/>\nIn predictive maintenance applications, for example, sensors are added to traditional electric motors. Sensor data is then analyzed to assess their operation (temperature, vibrations etc.) and predict when maintenance becomes necessary. The objective of predictive maintenance is to prevent unexpected failures that would cause unplanned disruptions in the manufacturing process, but also to\u00a0 avoid unnecessary maintenance operations imposed by an overly conservative preventive maintenance schedule<\/p>\n<h5>Bluetooth 5 in Industry 4.0<\/h5>\n<p>The enhanced features provided by Bluetooth 5 pave the way for a number of new Industrial Internet of Things applications. Examples include:<br \/>\n\u2022\u00a0\u00a0 \u00a0device firmware upgrades<br \/>\n\u2022\u00a0\u00a0 \u00a0large industrial sensor networks, e.g. capillary networks<br \/>\n\u2022\u00a0\u00a0 \u00a0asset tracking<br \/>\n\u2022\u00a0\u00a0 \u00a0connected buildings<br \/>\n\u2022\u00a0\u00a0 \u00a0industrial real-time control<br \/>\nLet\u2019s take a closer look at some of the aforementioned use cases.<\/p>\n<figure id=\"attachment_40642\" aria-describedby=\"caption-attachment-40642\" style=\"width: 296px\" class=\"wp-caption alignright\"><a href=\"\/\/electronicsmaker.com\/wp-content\/uploads\/2018\/03\/Bluetooth-low-energy-data-rates-support-firmware-upgrade-over-the-air.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-40642\" src=\"\/\/electronicsmaker.com\/wp-content\/uploads\/2018\/03\/Bluetooth-low-energy-data-rates-support-firmware-upgrade-over-the-air.png\" alt=\"Figure 4 - Bluetooth low energy data rates support firmware upgrade over the air\" width=\"296\" height=\"128\" \/><\/a><figcaption id=\"caption-attachment-40642\" class=\"wp-caption-text\">Figure 4 &#8211; Bluetooth low energy data rates support firmware upgrade over the air<\/figcaption><\/figure>\n<p><strong>Device firmware upgrade<\/strong><br \/>\nThe increased data rate provided by Bluetooth 5 \u2013 up to 1.4 Mbps \u2013 is sufficient to quickly send small files over the Bluetooth low energy connection. This makes it possible for industrial devices running embedded firmware, such as variable frequency drives, to use a Bluetooth low energy connection to transfer firmware files for Device Firmware Upgrade Over The Air (DFU-OTA).<br \/>\nThe latest generation of smartphones that support Bluetooth 5 may be used as mobile gateways between the internet and the industrial device.<br \/>\nWith a data rate of 1.4 Mbps, it only takes seven seconds to send a 1 MB firmware file, which is typical in many embedded industrial products. Device manufacturers might even consider replacing Wi Fi with Bluetooth low energy for this use case, bringing down both device cost and power consumption.<\/p>\n<figure id=\"attachment_40643\" aria-describedby=\"caption-attachment-40643\" style=\"width: 346px\" class=\"wp-caption alignleft\"><a href=\"\/\/electronicsmaker.com\/wp-content\/uploads\/2018\/03\/Capillary-networks-according-to-Ericsson.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-40643\" src=\"\/\/electronicsmaker.com\/wp-content\/uploads\/2018\/03\/Capillary-networks-according-to-Ericsson.png\" alt=\"Figure 5 - Capillary networks according to Ericsson\" width=\"346\" height=\"238\" srcset=\"https:\/\/electronicsmaker.com\/wp-content\/uploads\/2018\/03\/Capillary-networks-according-to-Ericsson.png 346w, https:\/\/electronicsmaker.com\/wp-content\/uploads\/2018\/03\/Capillary-networks-according-to-Ericsson-300x206.png 300w\" sizes=\"(max-width: 346px) 100vw, 346px\" \/><\/a><figcaption id=\"caption-attachment-40643\" class=\"wp-caption-text\">Figure 5 &#8211; Capillary networks according to Ericsson<\/figcaption><\/figure>\n<p><strong>Industrial IoT capillary sensor networks<\/strong><br \/>\nIn the predictive maintenance use case, sensors need to be connected to a number of otherwise unconnected devices. There are two ways to do this: Sensors can either connect directly to the cellular network, or they can connect to short range radio networks that, in turn, are connected to cellular gateways. The second approach is referred to as a capillary sensor network. Bluetooth 5 and Bluetooth mesh can be used to support capillary sensor networks by letting large numbers of sensors connect into a large network. Using Bluetooth as the short range radio has a multiple advantages over other short-range technologies. The main one is that Bluetooth is supported in almost all smartphones and tablets, making them the obvious tools for sensor and network configuration.<\/p>\n<p><strong>Asset tracking<\/strong><br \/>\nMesh networks set up to control lighting in a building or factory, e.g., can be used to enable additional use cases such as asset tracking. This requires configuring Bluetooth mesh enabled asset tags to connect to the same mesh network, allowing nodes in the mesh sensor network to report which asset tags they detect back to devices monitoring the network. Information gathered from several nodes in the network can then be used to determine the approximate location of each asset. The accuracy provided is sufficient to know on what floor and in which room valuable assets are located. Examples of assets that could be monitored using this approach are expensive, moveable industrial equipment and specialized tools at manufacturing sites.<br \/>\n<strong>References<\/strong><br \/>\n1)\u00a0\u00a0 \u00a0Bluetooth SIG \u2013 Mesh Technology Overview<br \/>\n2)\u00a0\u00a0 \u00a0Ericsson &#8211; Capillary Networks \u2013 Bridging the Cellular and IoT Worlds<br \/>\n3)\u00a0\u00a0 \u00a0Royal Institute of Technology &#8211; Techno-economic study on capillary networks and cellular technologies for Machine-to-Machine communications<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In December 2016, the Bluetooth consortium (Bluetooth Special Interest Group, SIG) rolled out Bluetooth 5, the latest version of the Bluetooth core specification. This 5th revision, which I present here, includes a number of groundbreaking enhancements. In addition to the Bluetooth 5 specification, the consortium released the specification for Bluetooth mesh in June 2017. Bluetooth [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":40638,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[673,8,74,122,715],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Bluetooth5 and Bluetooth mesh - Electronics Maker<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/electronicsmaker.com\/bluetooth5-and-bluetooth-mesh\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bluetooth5 and Bluetooth mesh - Electronics Maker\" \/>\n<meta property=\"og:description\" content=\"In December 2016, the Bluetooth consortium (Bluetooth Special Interest Group, SIG) rolled out Bluetooth 5, the latest version of the Bluetooth core specification. This 5th revision, which I present here, includes a number of groundbreaking enhancements. In addition to the Bluetooth 5 specification, the consortium released the specification for Bluetooth mesh in June 2017. Bluetooth [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/electronicsmaker.com\/bluetooth5-and-bluetooth-mesh\" \/>\n<meta property=\"og:site_name\" content=\"Electronics Maker\" \/>\n<meta property=\"article:published_time\" content=\"2018-03-06T18:39:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/electronicsmaker.com\/wp-content\/uploads\/2018\/03\/Bluetooth-5.png\" \/>\n\t<meta property=\"og:image:width\" content=\"627\" \/>\n\t<meta property=\"og:image:height\" content=\"418\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\">\n\t<meta name=\"twitter:data1\" content=\"Electronics Maker\">\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data2\" content=\"7 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/electronicsmaker.com\/#website\",\"url\":\"https:\/\/electronicsmaker.com\/\",\"name\":\"Electronics Maker\",\"description\":\"Electronics Magazine\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/electronicsmaker.com\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/electronicsmaker.com\/bluetooth5-and-bluetooth-mesh#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/electronicsmaker.com\/wp-content\/uploads\/2018\/03\/Bluetooth-5.png\",\"width\":627,\"height\":418,\"caption\":\"Bluetooth-5\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/electronicsmaker.com\/bluetooth5-and-bluetooth-mesh#webpage\",\"url\":\"https:\/\/electronicsmaker.com\/bluetooth5-and-bluetooth-mesh\",\"name\":\"Bluetooth5 and Bluetooth mesh - Electronics Maker\",\"isPartOf\":{\"@id\":\"https:\/\/electronicsmaker.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/electronicsmaker.com\/bluetooth5-and-bluetooth-mesh#primaryimage\"},\"datePublished\":\"2018-03-06T18:39:42+00:00\",\"dateModified\":\"2018-03-06T18:39:42+00:00\",\"author\":{\"@id\":\"https:\/\/electronicsmaker.com\/#\/schema\/person\/df9e9cfbf590f29e49716824dd7d81f9\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/electronicsmaker.com\/bluetooth5-and-bluetooth-mesh\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/electronicsmaker.com\/#\/schema\/person\/df9e9cfbf590f29e49716824dd7d81f9\",\"name\":\"Electronics Maker\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/electronicsmaker.com\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a4af77a4fcb00c5dfc7c1ca124a492b4?s=96&d=mm&r=g\",\"caption\":\"Electronics Maker\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/posts\/40637"}],"collection":[{"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/comments?post=40637"}],"version-history":[{"count":1,"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/posts\/40637\/revisions"}],"predecessor-version":[{"id":40644,"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/posts\/40637\/revisions\/40644"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/media\/40638"}],"wp:attachment":[{"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/media?parent=40637"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/categories?post=40637"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/tags?post=40637"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}