The e-magazine for KNX home & building control

How to Solve it: Individual Device Supervision and Traceability in a KNX Installation using the NETxAutomation BMS Server and Voyager Visualisation

Julio DiazBy Julio Díaz García, Sapienx Automation.

The Problem

Security is a critical factor in any building control system and, in my opinion, should be the primary design consideration in a KNX installation. Furthermore, the decentralised nature of a KNX bus system requires, on many occasions, the cyclical monitoring of signals, and that may affect their security. For example: wind alarms are monitored to control awnings and blinds because, in the absence of these signals, serious consequences may occur on site. Another example is that a temperature signal from an external sensor may be cyclically monitored by a room thermostat in order to avoid unnecessary energy consumption if the sensor fails.

The cyclical monitoring of certain signals however, does not solve all of the possible problems in a KNX installation. KNX devices themselves may be affected by multiple types of incidents: theft, damage (rare, but possible), bus cable cutting, power failures, etc.

Therefore, monitoring of the devices themselves is needed in KNX installations where an optimum level of security is desired. This monitoring, which is done through the individual addresses, also enables us to check the traceability of the bus, and can be helpful to precisely locate not only any particular effect, but also more significant failures, such as power failure in a whole line, or a possible cut in the bus that will affect multiple devices.

The Solution

To perform monitoring of individual addresses from a KNX installation, external help is needed. In my article for the November 2015 issue, the advantages of using the NETxAutomation BMS Server for integrating multiple lines via KNX IP were shown. For the purposes of this article, we will again use the NETxAutomation BMS Server for monitoring devices in a KNX installation.

We will also use a visualisation tool, the Voyager 5.0 OPC from NETxAutomation, to simulate the bus traceability. That is, we will simulate the bus cable laying of one line, allowing us to interpret whether any errors are individual types (due to burglary, connection failure, breakdown, etc.) or group (cut on the bus, power failure of the line, etc.).

Monitoring Physical Addresses

After installing the BMS Server, the steps for configuring the monitoring of the physical addresses are very simple. First, we need to extract data from the ETS project using the NETx BMS App (see the November 2015 article).

Step 1 - Select NETx BMS App (free) to extract all data from ETS5 project.
Step 1 – Select NETx BMS App (free) to extract all data from ETS5 project.

NOTE: Both the NETxAutomation BMS Server and Voyager 5.0 are available for download (30-day demo version) from www.netxautomation.com. The NETx BMS App for ETS4 and ETS5 is free and can be downloaded from here.

Once the Project has been imported in the BMS Server, we can appreciate the ‘KNX Device Definitions’ table with the ‘mapping’ of the individual addresses (allocated to each line – IP address). In the following example, you can see this table, where we assigned a 10-second polling for Line 1.1. devices.

KNX Device definitions table (result after importing from NETx BMS APP)
KNX Device definitions table (result after importing from NETx BMS APP)

Also, the item tree in the image below shows us that all devices on Line 1.1 respond positively to the polling, by showing a TRUE state.

Physical KNX device view as shown in the Items tree of the NETxAutomation BMS Server (for Line 1.1)
Physical KNX device view as shown in the Items tree of the NETxAutomation BMS Server (for Line 1.1)

Although the information displayed by the item tree is very valuable to assess the health of each individual device, it is not enough to give a complete traceability of the installation. To supplement this information it is recommended to visually capture the physical layout of the devices as well as the laying of the bus. The following is an example of this visualisation.

Example of visualisation for KNX Device traceability. All devices are OK.
Example of visualisation for KNX Device traceability. All devices are OK.

Examples of Device Failure

Finally, we will see two examples of possible failures in physical devices, to evaluate the usefulness of the proposed solution.

1) Error in a single device

In this case we have disconnected the device 1.1.1 from the bus. The following images show the device in an undefined (???) state, first in the item tree and then in the visualisation.

One single device is not found by the BMS. Temporarily, its status is UNKNOWN.
One single device is not found by the BMS. Temporarily, its status is UNKNOWN.
Visualisation shows one single device with status UNKNOWN.
Visualisation shows one single device with status UNKNOWN.

After a (courtesy) timeout, finally the item tree in the BMS Server shows the device in FALSE state. At this point, we could, for example, set an automatic email warning about this device failure from the BMS Server.

After a timeout, the BMS item tree shows that the single device is missing. Its status is FALSE.
After a timeout, the BMS item tree shows that the single device is missing. Its status is FALSE.
The Visualisation shows that the single item is in ERROR Status.
The Visualisation shows that the single item is in ERROR Status.

2) Simultaneous error in a group of devices

In this case we have simulated a cut in the wire bus, forcing the shutdown of bus devices 1.1.11 to 1.1.15. As shown in the examples below, both the item tree and the visualisation show all of these devices in an undefined (???) state.

The item tree shows several items with status UNKNOWN (???).
The item tree shows several items with status UNKNOWN (???).
Visualisation shows several items with status UNKNOWN (???).
Visualisation shows several items with status UNKNOWN (???).

Finally, after the timeout, the five devices go to FALSE status.

After a timeout, the BMS item tree shows that all the devices are missing. Their status is FALSE.
After a timeout, the BMS item tree shows that all the devices are missing. Their status is FALSE.

In the visualisation, we can see the location of all the five devices that are have a FALSE status. From this, we can infer, as one of the most likely causes of the failure, a bus break between the 1.1.7 device and the KNX Auxiliary Board.

The visualisation shows an ERROR status for certain devices. This can be interpreted as a possible cut in the bus.
The visualisation shows an ERROR status for certain devices. This can be interpreted as a possible cut in the bus.

Conclusion

Supervision of individual addresses in a KNX system allows us to optimise the level of security. To perform this monitoring, it is necessary to use an external (software) tool to undertake continuous sampling or polling of devices. This will also allow us, in combination with a visualisation of the KNX device’s location and the laying of the bus, to quickly identify the detected problems, and analyse them for possible causes.

Julio Díaz García is the Owner of Sapienx Automation. He is an Engineer and KNX International Award-winning KNX++ Tutor. Sapienx Automation provides engineering, training and consultancy services for smart buildings, smart metering and smart cities.

www.sapienx.es

Share on facebook
Share
Share on twitter
Tweet
Share on linkedin
Share

SPONSORS

LUXA 103 KNX presence detectors


LUXA 103 KNX presence detectors
LUXA 103 presence detectors with a round detection area for individual and open-plan offices, meeting and storage rooms, cellars ...