Panel Builder System Integrator

MQTT

February 26, 2018

In the world of Internet of Things (IoT) the main currency is messages. Even as you read this hundreds of thousands of devices are sending status reports, receiving orders (like “turn up the heat”, “measure the room humidity” etc.), storing data from other devices or doing numerous other tasks that make our lives easier. And they all need to exchange information, as without connectivity, their usefulness is immensely reduced.

But with the rapidly increasing number of devices that require Internet to communicate and be useful to individuals, businesses or governments, concerns like preserving bandwidth, ensuring that low-connectivity machines can also transmit data and even preserving battery life of gadgets need to be addressed. That is where MQTT comes in.

 So, What is MQTT?

MQTT stands for Message Queuing Telemetry Transport or MQ Telemetry Transport. It is an open source machine-to-machine (M2M) messaging protocol that increasingly becoming the industry standard for IoT device communication. MQTT is a lightweight protocol, based on a publish/subscribe methodology that can be supported by even small devices in remote, low-connectivity destinations. Designed to breach the gap between the physical world gadgets (phones, sensors, wearables and etc.) with software processing technologies, this code is one of the main reasons for the expected 204.41% increase of IoT connected devices by 2025.

How Does MQTT Work?

Initially, MQTT was developed as a proprietary software in 1999 by Andy Stanford-Clark (IBM) and Arlen Nipper (Arcom, now Cirrus Link). It was designed to carry information from remote oil pipelines through satellite connection and deliver it to the industrial data centers for analysis and storing. As you can imagine preserving both bandwidth and battery power were the two main concerns. Today, these two are still at the core of MQTT. However, it has become the main standard not only for Industrial Internet of Things (IIoT) but also for the smart gear we use in our everyday life.

So, to understand how MQTT works, you need to simply think about your favorite radio or TV channel. We have devices that publish to a broker on a specific topic. Then the broker sorts the data it receives from all publishers and organizes it into subjects. Clients subscribe to different channels and receive only the information about the specific topic they are programmed to listen for.

 
In this line of thought MQTT is really like a radio station – listeners tune in only for the broadcasts they like and the radio has different shows to cater to the needs of a wider audience. Unlike radio, however, this machine-to-machine protocol allows subscribers not only to “listen” but also to publish (broadcast) information. We have a two-way communication channel.

 

What Are the Main Benefits of MQTT for IoT?

Centralized System

As we mentioned the number of IoT devices increases rapidly. Just over a two-year period (from 2015 to 2018), it skyrocketed with over 50% increase. So, the need to manage the strain on bandwidth is tangible. Thanks to the broker device, the amount of data transmitted over the Internet can be limited. Thus, the subscriber is also relieved of the need for huge processors to handle the data.

Clear Message Hierarchy

With this much information flowing seamlessly between broker and devices, hierarchy is a must. That’s where MQTT shines with three different Quality of Service (QoS) levels. These define both the importance and the repetitiveness of a message within their environment. For example, QoS level 0 means that this is a one-time message, most likely a confirmation. It’s priority doesn’t warrant storage or a reply.

Information Flow Preservation

There are two ways for a MQTT session to be terminated. The first one is called a graceful shutdown. It happens when the publisher send a message to the clients, through the broker that it will disconnect. After a graceful shutdown, the client can later reconnect (subscribe to the same channel) easily by just providing its authentication tokens.

Should data transmission end unexpectedly, the broker has a pre-recorded (previously cached) message for all subscribers. Appropriately called “last will and testament”, it provides instructions for the clients on how to proceed if the publisher disconnects abruptly.

 

What Are the Main Challenges of Using MQTT?

Since MQTT was designed for a secure network where the data load was specific to a task at hand, its topic structure (the number of channels that a client can subscribe for) can grow exponentially. However, while the topic tree grows, there is not a clearly defined method to divide it into smaller, easily manageable chunks of logical data. The more information we put into the topic tree, the more it expands and becomes more and more complex. Thus, creating a scalable global MQTT network is still a difficult task.

Another issue that stems from the protocol’s original purpose is security. To provide a 21st-century level of security, MQTT needs to be used along with a mandatory SSL/TLS protocol that provides appropriate data encryption. However, SSL is by all means not a lightweight protocol. Moreover, all security features that are placed on top of MQTT not only inflate the code footprint but also put strain on bandwidth – the one thing MQTT is designed to relieve.

 

Why Is MQTT Important?

Despite of the issues that still leave some questions unanswered, it cannot be denied that the protocol is improving for the better. As developers all over the world work on solving security and data management issues, MQTT is already becoming the standard for Internet of Things communications. It provides many powerful benefits that cannot go unnoticed:

  • Distributes information more efficiently
  • Relieves strain and maximizes available bandwidth
  • Improves scalability
  • Reduces development time

From controlling your home environment remotely to using a messaging system like Facebook Messenger, MQTT is already part of your everyday life. And it will only become more common as technology evolves.

Source: http://kymerasystems.com/2018/02/07/what-is-mqtt-and-why-does-it-matter/

Changing Scene

  • Prev
  IoT Breakthrough, an independent organization that recognizes the top companies, ...
Humber College and SICK are entering into a three-year partnership agreement designed to build ...
  During its world Congress, held in Amsterdam, both the AIPIA President and its Chief ...
Seneca and KUKA Canada Ltd have signed a Memorandum of Understanding to provide Seneca students ...
JMP Solutions, industrial technology partner to the Fortune 1000, announced today that they have ...
  Through the use of IIoT to connect wireless pushbuttons in the field to ERP inventory ...

 

6 FAQs about HARTING Connectors on UL 508A Panels

Harting-PBSI-Mar28-ADVERTORIAL-6-FAQs-UL-508A_Ad_0078_Kerrwil_175x120_FEB2018 (004).jpg

Using connectors on UL 508A cabinets used to be a huge hassle for the panel-builder. As a result, they often chose the older hardwiring solution in the past. Now, HARTING, in partnership with UL, has made it possible to easily connectorize UL 508A panels with existing HARTING products. Get the asnwers for the six FAQs HERE.

 

 

 

One of Canada’s largest wastewater treatment plants at Annacis Island provides secondary treatment to approximately 175 billion litres of wastewater every year for over 1 million residents in 14 municipalities. After almost 20 years in operation, the variable frequency drives supporting the critical pumping systems for the primary treatment and secondary treatment facilities had to be replaced to ensure that the plant’s high operational availability and reliability will not be compromised in serving the plant, the surrounding municipalities and the environment. Metro Vancouver Regional District chose to deploy Rittal’s enclosure and power distribution solutions with E-plan software to efficiently support vital infrastructure improvements by reducing equipment replacement times and thereby minimizing risk to plant operations.

Peers & Profiles

  • Prev
Duncan Instruments Canada is celebrating their 50th year by inviting their Customers to their ...
Germain Lamonde, President and founder of EXFO, is this year’s EY Entrepreneur Of The ...
  In a recent sit-down Electrical Industry Canada was able to learn a little ...
  Few industrial innovations have weathered the years as well as heavy duty connectors. ...
As our population grows and consumers continue to rely on technology for both essentials and ...
  Engineers play a key role in the advancement of our infrastructure and the development ...
  Kymera Systems is located in Leduc, Alberta and provides scalable IIoT solutions and the ...
  JAE Automation is proof positive that a cutting-edge, high-tech company can work with ...
  Nivek Automatisation is a forward-thinking company focused on providing advanced ...
Recently Panel Builder & Systems Integrator was invited to Rittal Canada’s Head ...

 

Siemens is setting the course for long-term value creation through accelerated growth and stronger profitability with a simplified and leaner company structure. The main aim of the Vision 2020+ company strategy is to give Siemens' individual businesses significantly more entrepreneurial freedom under the strong Siemens brand in order to sharpen their focus on their respective markets. Plans also call for strengthening the company's growth portfolio through investments in new growth fields such as IoT integration services, distributed energy management and infrastructure solutions for electric mobility.

Read More

 


 Like many cyclical industries, mining is reviving, driven by steady global economic growth and an increasing demand for materials to support new technologies like electric vehicles, renewable energy and mobile devices. Despite the optimism, the industry still faces major operational challenges including process efficiencies, cost control, worker health and safety, and skills gaps. To address these challenges, Rockwell Automation introduced The Connected Mine, leveraging the latest enabling and digital technologies.

Utilizing advanced analytics, The Connected Mine helps mining companies collect and aggregate data to gain end-to-end visibility into their operations and make informed business decisions to improve mining operations.

Read More

 

Cybertech developed the Process Control and Safety Instrumented System Auditor to identify high-risk misalignments between plant process control and safety systems – and provide sufficient guidance to each plant system owner to resolve material issues.

Computerized data analytics are effective in mining the big data found in a typical process facility. The Cybertech System Auditor accepts native data from plant systems, cleans up and standardizes the data with purpose-built C# data mining applications and SQL data manipulation. Tiered SQL views minimize data duplication and facilitate automatic updates when base native data changes (e.g. after a system owner advises that they have resolved identified issues).

Read More

Product News

  • Prev
Balluff’s newest I/O hubs deliver M8 quick connect to enable resilient distributed modular ...
TE Connectivity (TE) has annouced the new SOLARLOK PV Edge decentralized junction box, ...
Wi-Fi network planning and deployment can be a daunting task for most business operators. Network ...
A compact, low cost, and versatile AC Drive that is easy to program and ideal for OEM’s. ...
Toshiba’s AS3 UL Type 12/IP55 adjustable speed drive is designed to withstand harsh ...
AutomationDirect has added a new line of AC variable frequency (VFD) drives for motor speed control ...
A new graphical user interface, increased ergonomics and enhanced macro technology are all ...
QS18 Expert photoelectric sensors are now available with IO-Link—enabling powerful benefits ...
B&R makes it easier to create safety applications with a series of new mapp functions in  ...
Building an Enterprise IIoT product starts with getting your device online. RevoEdge makes this ...
Kerrwil Publications

538 Elizabeth Street, Midland,Ontario, Canada L4R2A3 +1 705 527 7666
©2019 All rights reserved

Use of this Site constitutes acceptance of our Privacy Policy (effective 1.1.2016)
The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of Kerrwil