The Smart City Blog

BACnet, LonWorks, and HD-PLC: Choosing the Best Open Protocol for Your Building Automation System

- Thursday, February 22, 2018

The smart building market is evolving quickly. As it does so, facility owners and system integrators need an open protocol for integrating diverse building automation systems (BAS) into a single, comprehensive building management system (BMS) that meets the performance, flexibility and cost requirements of applications today and tomorrow.

Selecting the right open protocol starts with knowing the history, key technical distinctions and ongoing development of available approaches. But it doesn't end there. One must also understand how smart buildings themselves are changing network architectures and placing new demands on the protocols used therein.

Originally developed approximately 30 years ago, BACnet and LonWorks inspired intense debate amongst building automation professionals in the first decade of the 2000s (the infamous “Protocol Wars”). In the end, there wasn’t a clear winner, and both protocols have enjoyed widespread adoption across HVAC, fire, security, and other building automation systems.

Chances are, your building already employs at least one of these protocols, and you face a difficult decision in deciding whether to extend it or integrate another protocol to meet your future needs. This article will take a look at both of these open protocols, as well as a new one (HD-PLC) that brings a range of benefits to modern smart building control networks.


BACnet, short for Building Automation and Control Network, is an open protocol that was developed by the American Society of Heating, Refrigerating and Air-Conditioning Engineers for building automation and control equipment in the early 1990s. It became an American National Standard (ANSI/ASHRAE 135) in 1995 and an international standard (ISO-16484-5) in 2003.


Given its origin and support by ASHRAE, BACnet has enjoyed the most success in programmable controllers for air conditioning systems, ventilation systems, fume hoods, pumps, and valves. It is also found in lighting, safety and security, and other building automation systems. BACnet is supported by more than 800 manufacturers across hundreds of devices, with millions of installed devices worldwide.

A key distinguishing feature of BACnet is its top-down approach to control networks. Based on a client-server model, BACnet defines a tiered architecture optimized for workstations and head-end computers that need to process and communicate large amounts of data. One of its strength is the standard object-oriented model it uses to represent the functions of devices. Functions such as analog and binary inputs and outputs, alarms, and schedules are represented as “objects” (e.g., an analog input object), each of which has a set of standard properties like present value, alarm thresholds, etc.

Following the client-server model, building automation systems use “service requests” to access a property or request an action from a BACnet object. Service requests are the standardized way that BACnet devices get information, issue commands to perform certain actions, and communicate events to other devices. The protocol defines a standard set of objects, but vendors are free to add new properties to existing object types or create new objects types and add functionality to their devices. This enables manufacturers to differentiate their products, but it can create problems for end customers who may now find themselves locked into a proprietary solution.

Another key consideration for BACnet is that it only uses four of the seven layers of the OSI model, primarily operating in the management and automation layers. Because of this, BACnet systems do not require their own transmission technology and system integrators are free to choose amongst five options to optimize network price and performance. The fastest (and most expensive) is Ethernet, offering speeds up to 100Mbps. Next is ARCNET with speeds up to 2.5Mbps over coax, twisted-pair or fiber optic cables. BACnet also defines an MS/TP network for twisted-pair implementations under 1Mbps. Lastly, it supports LonTalk over a variety of media, as well as point-to-point over phone lines or hardwired EIA 232 connections.

BACnet provides considerable flexibility to facility owners and system integrators—but this comes at a cost. Meeting the bandwidth demands of modern smart building applications typically requires the deployment of costly new wiring infrastructure. With the installed cost of Ethernet estimated at $300 per linear foot, this can significantly impact project budgets. Additionally, BACnet’s top-down approach to control networks necessitates the use of costly gateways to translate between the protocol used at the workstation level and other protocols used at lower levels.


A distributed control system built to enable communication between intelligent devices, the LonWorks platform employs a flat system architecture to reduce the overall cost to implement, manage and maintain building automation systems. The system comprises the LonTalk communication protocol, a dedicated controller (Neuron Chip) and a network management tool.

Developed in the late 1980s by Echelon Corporation in conjunction with Motorola, LonTalk became an ANSI standard (ANSI/CEA 709.1) in 1999 and an international standard (ISO/IEC 14908-4) in 2005. It is supported by hundreds of manufacturers and, as of 2010, approximately 90 million devices were installed globally with LonWorks technology. Products and applications using this technology include HVAC systems, street lighting, smart meters, train control systems, safety and security systems, and even infant monitoring.


The LonTalk protocol defines a set of rules to manage communications within the control network. Because of the complexity of the LonTalk protocol, Echelon developed its own communications controller (Neuron) optimized for the protocol. The benefit of this approach is that it simplifies system development and frees the rest of the system to focus on applications processing; however, it also restricts system designers to a limited number of Neuron vendors, adding to the cost of system development.

LonTalk is supplemented by a second protocol (LonWorks) that defines the content and structure of the information that is communicated. LonWorks describes a distributed control network operating on a peer-to-peer basis, enabling any device to communicate with any other device on the network and/or employ master-slave communication among intelligent devices. This enables a flat system architecture that is well-suited for modern smart building applications.

The LonWorks platform supports a wide range of physical media, including free-topology twisted-pair, powerlines, fiber optic cable, and coax. The most popular channel in building automation systems is FT-10, which defines a free-topology twisted-pair profile capable of delivering 78kbps over up to 500m of low-cost twisted pair. A powerline channel is also available for low-speed applications (5.4kbps or 3.6kbps, depending on frequency). For high-speed applications, the LonWorks platform uses an affiliated IP tunneling channel with tunneling routers and IP-based LonWorks/IP nodes. This facilitates the integration of new and previously deployed networks with other IP-aware applications and remote network management tools.

Like BACnet, one of the biggest challenges facing the LonWorks protocol in recent years is meeting the performance and cost demands of modern smart building applications. Although the protocol offers many advantages, developers today increasingly struggle to meet the bandwidth demands of new applications with the low bit rates available over twisted-pair and powerline. In practice, this means that powerline has become obsolete in all but the simplest control networks. In its place, system integrators have had to run new wiring and deploy a vast network of costly switches, routers, and repeaters to deliver the throughput demanded by their applications.

LonMark recently addressed these concerns by adopting HD-PLC as a new high-speed communications channel for large, multi-node smart building networks.


Originally developed by Panasonic to meet the bandwidth requirements of multimedia-rich smart home applications, HD-PLC is a broadband technology (2MHz to 28MHz) capable of achieving PHY speeds up to 240Mbps over any wire (powerlines, twisted-pair, and coax).

In 2010, the HD-PLC protocol was ratified in IEEE 1901, the first global standard for powerline communication (PLC) for applications such as multimedia home networking, AV and smart grid. In 2016, HD-PLC was enhanced with a unique multi-hop technology adopted by HD-PLC Alliance and ratified in the international standard ITU-T G.9905. Multi-hop extends the communication range of HD-PLC and adds industrial-grade robustness by enabling each node to act as a repeater so that data can “hop” from one device to another. With multi-hop, one master device can connect to as many as 1024 terminal devices and support communication over distances up to several kilometers.


In addition to its range and robustness advantages, the HD-PLC protocol brings significant performance and cost advantages to smart building networks. System integrators finally have a solution that enables them to meet the bandwidth demands of modern IoT applications using their existing wiring infrastructure: powerlines, twisted-pair and coax.

HD-PLC solves the problems inherent to PLC by applying advanced, broadband communication techniques and utilizing wider bandwidths at higher operating frequencies to achieve a better channel for communication on powerlines. Smart building networks benefit from fast megabit data rates, integrated security, and robust, bidirectional IP-based communications. Meanwhile, system integrators gain the ability to quickly deploy large systems without time-consuming network planning or costly devices like switches and routers, thanks to HD-PLC’s built-in mesh networking functionality.

This is just a brief introduction to the benefits of HD-PLC. Download our whitepaper to learn more about HD-PLC and how it can help you break through bandwidth bottlenecks and cost barriers in your smart building application.

Let Us Know What You Think

Have you used any of these protocols? Please comment below to share your experience and recommendations for modern smart building projects.

Michael Navid
VP, Marketing and Business Development, MegaChips
Michael is an accomplished business executive who has spent the last 15 years working to advance the communications technologies needed to build a smarter planet. The original founder of the G3-PLC Alliance, he was a key contributor in the evolution of G3-PLC as the premier communications technology for smart grids. Today, Michael is applying his experience and energy to bringing the benefits of HD-PLC to smart cities and smart buildings. When he’s not driving technology transformation, you’ll likely find him in one of his vintage cars heading down Pacific Coast Highway in Southern California.
Connect with him on LinkedIn.

​Is Cybersecurity the Next “Killer App” for Smart Buildings?

- Monday, February 19, 2018

Smart buildings are no longer a vague idea in the mind of ardent futurists. Today, more than 2.7 billion devices have been deployed in smart buildings to improve operational efficiency, safety, comfort and functionality. As of 2015, 84% of building automation system (BAS) operators reported using Internet-connected systems to tap into the power of the Cloud and Big Data. These systems bring a range of benefits, from increased energy efficiency to improved productivity.

But they also raise cause for alarm. The presence of billions of new Internet-connected devices has dramatically increased the number of attack surfaces in a world where ransomware, malware, and cyber-espionage/terrorism are on the rise. In a 2014 survey, IBM found that only 29% of BAS operators had taken action or were in the process of taking action to improve the cybersecurity of their Internet-connected systems. It’s not surprising, then, that according to the U.S. Department of Homeland Security the number of cyber incidents involving industrial control systems, which includes BAS, increased by 74% from 2011 to 2014. Indeed, Gartner predicts that by the end of this year, 20% of smart buildings will have suffered from some form of digital vandalism.


Building automation system (BAS) operators reported using Internet-connected systems in 2015


BAS operators had taken or were taking action to protect Internet-connected systems in 2015>


Increase in cyber incidents involving industrial systems from 2011 to 2014

The Cybersecurity Opportunity in Smart Buildings

Every challenge bears within it the seed of opportunity—and the cybersecurity problem is no different. Research firm Memoori estimates that global revenues for smart building cybersecurity will reach $8.65 billion by 2021, more than double the estimated $4.26 billion in 2016. The market is expected to grow at a healthy 15% CAGR over the forecast period as smart building operators race to stay ahead of threats against their critical systems and data.

Not everyone will benefit from this opportunity. Many are still sitting on the sidelines waiting for the cybersecurity market—and customer demand—to develop. Yet, there are others that we’re working with who have begun to take action today. They understand that now is the time to position themselves as cybersecurity leaders and build brands and products that customers can trust.

Building Stronger, More Secure Smart Building Networks

One of the biggest dangers in smart buildings is that they’re not prepared for the numerous threats found within an Internet-connected world. Many of the devices installed in building automation systems were built for closed networks that were isolated from the outside world. Authorization controls are weak or nonexistent, data is frequently left unencrypted, and the administrative web interfaces are not built to handle the kinds of attacks we see on public websites.

Compounding this problem, cybersecurity is traditionally seen as the domain of IT experts. Most building managers lack the knowledge or experience needed to fend off botnets, denial-of-service attacks, brute-force attacks and the many other threats posed by sophisticated hackers. This is an area where BAS vendors can step forward to help their customers navigate the complexities of implementing effective network security.


The first step in any sound security policy is encryption. With encryption, data is only readable by those with the keys to decode it. A good encryption scheme can make it difficult, if not impossible, for hackers to steal sensitive information or gain control of network devices.

Historically, one of the biggest obstacles to implementing encryption within smart building networks is the relatively low bandwidth provided by available communications protocols. However, this has changed with the advent of high-speed protocols like HD-PLC. Developed for advanced smart building applications, HD-PLC achieves fast +10Mbps data rates over distances up to several kilometers long. This gives it ample bandwidth to support the high-bandwidth demands of converged smart building networks, along with cryptostrong AES-128 encryption.

AES encryption is a specification developed by the US National Institute of Standards and Technology. It is used by the US government and many others worldwide. It is the only publicly available cipher approved by the National Security Agency (NSA) for the protection of top secret information. AES offers several key sizes: 128-, 192-, and 256-bit. AES-128 encryption is best suited for smart building networks, since it is secure enough to withstand modern day brute-force attacks, yet very bandwidth-efficient.


Another recommended countermeasure borrowed from the IT world is the whitelisting and blacklisting of devices. Whitelisting is a relatively simple approach for locking down the network. A whitelist maintains a list of permitted, trusted devices and prevents endpoints from communicating with unknown or unauthorized devices. Similarly, a blacklist can be used to prevent access from specific IP/MAC addresses and countries.

Both of these approaches are well-suited for building automation systems, since the software has a small footprint and low overhead and the network is well-defined. Together, they help prevent devices from communicating beyond where they’re supposed to or being accessed from outside the network. Megachips’ HD-PLC SoC solutions integrate this functionality, alongside standard AES-128 encryption, to facilitate the implementation of robust cybersecurity in smart buildings.

Software Updates

No software is perfect. As consumers, we constantly receive security updates for our cell phones and personal computers to fix bugs and prevent hackers from finding and exploiting weaknesses. However, most building automation devices are never updated once they leave the factory, leaving them vulnerable to all kinds of unanticipated threats.

The most secure BAS devices include the provision for future updates. MegaChips’ HD-PLC solutions employ IPv6 addressing to enable the addition of state-of-the-art security features through simple firmware updates, so that end customers can trust that they always have the most advanced security available.

Meet New Cybersecurity and Bandwidth Challenges with HD-PLC

Legacy communications protocols aren’t built to handle the cybersecurity threats encountered in modern smart building networks. Fortunately, there are new options now like HD-PLC designed to meet the bandwidth, cybersecurity and cost concerns of these applications.

Download the HD-PLC whitepaper to learn more.

Let Us Know What You Think

Is cybersecurity the next “killer app”? What are you doing to address these concerns in your products and applications? Please share your thoughts in the comments below.

Michael Navid
VP, Marketing and Business Development, MegaChips
Michael is an accomplished business executive who has spent the last 15 years working to advance the communications technologies needed to build a smarter planet. The original founder of the G3-PLC Alliance, he was a key contributor in the evolution of G3-PLC as the premier communications technology for smart grids. Today, Michael is applying his experience and energy to bringing the benefits of HD-PLC to smart cities and smart buildings. When he’s not driving technology transformation, you’ll likely find him in one of his vintage cars heading down Pacific Coast Highway in Southern California.
Connect with him on LinkedIn.

HD-PLC with Multi-hop: A Giant Leap Forward for Smart City and Smart Building Applications

- Thursday, February 15, 2018

Smart cities and smart buildings have advanced by leaps and bounds over the last decade. Smart street lighting, integrated building management systems, and dozens of other applications are quickly moving from pilot phases to full-scale deployment. Yet, as project owners and system integrators begin to make this transition, they are finding that the cost of network deployment is the biggest impediment to their success.

Today’s state-of-the-art smart cities and smart buildings have thousands (or even tens of thousands) of sensing nodes capturing inputs about energy, temperature, occupancy, lighting, and more. Control networks are becoming larger and more complex. And as intelligence is distributed across the system, bandwidth requirements are increasing.

For many projects, running thousands of meters of new Ethernet cabling or deploying costly wireless infrastructure is not a practical solution. Particularly in retrofit projects, system integrators need a communications solution that meets the growing bandwidth demands of smart city and smart building applications and the budget constraints of project owners.

Breaking Through Bandwidth Bottlenecks and Cost Barriers with HD-PLC

The most cost-effective approach to control networks is powerline communications (PLC) and other existing wireline infrastructure. With PLC, for example, system integrators are able to use the same wiring that powers their network devices to transmit data. With the installed cost of Ethernet cabling running at approximately $300 per linear foot, the ability to leverage existing wireline infrastructure can dramatically reduce smart city and smart building deployment cost.

However, powerlines are noisy environments, and system integrators have been forced to choose between high-speed transmission over short distances (broadband PLC) or low-speed transmission over long distances (narrowband PLC). This tradeoff has made PLC impractical for the large, high-bandwidth control networks that characterize modern smart city and smart building applications.

HD-PLC changes all of that. Originally developed to meet the bandwidth requirements of multimedia-rich smart home applications, HD-PLC is a broadband technology (2MHz to 28MHz) capable of achieving PHY speeds up to 240Mbps over powerlines, twisted-pair, and coax. In 2016, HD-PLC was enhanced with a unique multi-hop technology to meet the long-distance and robustness demands of industrial IoT applications. Thanks to this advancement, HD-PLC is able to support over 1000 nodes, distances up to 10 kilometers, along with the advanced security protections required in today’s connected world.



Figure 1: This chart shows how HD-PLC stacks up against other wireline technologies. With multi-hop technology, HD-PLC is able to deliver broadband speeds over the long distances one normally expects to find in only low-speed approaches like RS-485.

Making the Leap to Successful Deployments with Multi-hop Technology

At the heart of HD-PLC is an innovative Centralized Matrix-based Source Routing (CMSR) scheme, as defined in the ITU G.9905 international standard. This multi-hop functionality dramatically increases network range, robustness, speed, and simplicity.

HD-PLC supports up to 10 hops, enabling system integrators to expand networks to up to 1024 nodes. In this case, throughput is reduced (10Mbps, min), but system integrators gain the ability to quickly deploy large systems without time-consuming network planning or costly devices like switches and routers.

Multi-hop technology takes the guesswork out of network planning and design by enabling any node to act as a repeater. With this technology, the nodes in the network dynamically calculate route cost and select the best route based on link quality. This eliminates bottlenecks and improves robustness, since the network will automatically reroute traffic if any given node fails.

Multi-hop technology also brings the benefits of mesh networking to wired networks. System integrators no longer need to spend days planning and configuring their control networks. With HD-PLC, they can simply plug in their devices and let the network take care of the rest, automatically calculating route cost and dynamically optimizing traffic.

A Bridge to the Future

Tomorrow’s smart city and smart building networks will be IP-based. IP connectivity enables system integrators to bring together the many islands of automation that exist among today’s building automation systems. It also facilitates the integration of operational networks with information networks, enabling project owners to fully harness the power of the Cloud and Big Data.

An IP-based protocol, HD-PLC meets the demands of tomorrow’s applications with an integrated network bridge functionality that enables any terminal to act as a bridge between PLC networks and Ethernet and serial networks. This makes network design and integration easy—and eliminates costly gateway devices, complicated wiring, and complex software development.



Figure 2: HD-PLC can communicate over any wire, making it an ideal bridge between powerline, Ethernet, and serial networks.

Getting Started with HD-PLC

It’s easy to get started with HD-PLC. MegaChips’ BlueChip SoC is the world’s first fully compliant IEEE1901 HD-PLC solution with multi-hop technology. BlueChip combines MegaChips’ state-of-the-art analog front-end (AFE) with baseband, physical (PHY), and media access control (MAC) layers into a single compact package capable of delivering data rates above 10Mbps (multi-hop) over up to 10km of powerlines or other cables.

Our line of BlueChip Evaluation Kits includes all the hardware, software, and documentation you need to easily set-up and evaluate system performance, and give your software developers a jumpstart with sample firmware and sample external command programs. The BlueChip SDK makes evaluation easy with tools for power control, channel monitoring, net test, and more. 

Order your BlueChip Multi-hop Evaluation Kit today—and discover how HD-PLC can help you make a giant leap forward in your next smart city or smart building design.