23.03.2017 Views

wilamowski-b-m-irwin-j-d-industrial-communication-systems-2011

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

KNX 42-5<br />

front, and the domain address follows as a postamble. Acknowledgment frames can only be sent by<br />

a single group member. The total length of extended frames (which are practically never used on this<br />

medium) is limited to 73 octets.<br />

The KNX radio frequency (RF) frame format has supported TPDUs longer than 16 octets from its<br />

inception. Therefore, the difference between standard and extended data frames does not exist on this<br />

medium, and a slightly different format is used. The cEMI frame format that is used for tunneling KNX<br />

data over IP networks is similar to the extended data frame format as described.<br />

In addition to network protocol messages, the KNX standard defines the use of so-called external<br />

messages which are specified in the external message interface (EMI). EMI specifies a standard protocol<br />

for accessing services of the KNX network stack and management server entities. Its messages can be<br />

sent via various lower layer protocols, which are also part of the KNX specification. EMI is mainly used<br />

for local point-to-point connections where external user applications communicate with a connected<br />

bus attachment unit (BAU). A typical example would be a management client like a workstation with<br />

a USB or EIA-232 connection to a device that provides a connection to the KNX bus medium. Various<br />

EMI versions that differ in the available service types and in the used encodings exist: EMI1, EMI2, and<br />

cEMI (common EMI). In contrast to other EMI versions, cEMI is also used for KNXnet/IP and thus the<br />

only version to be used outside the context of local point-to-point connections.<br />

42.3 Medium-Dependent Layers<br />

The current release 2.0 of the KNX Handbook specifies three different physical layers for <strong>communication</strong>.<br />

Communication over IP networks as a first class medium is included as a draft specification. The<br />

resulting four options are described in the following. All media can be deployed and combined using<br />

routers according to an integrator’s need.<br />

Twisted Pair 1 (TP1) is the oldest and still most popular medium for KNX. It was taken from EIB.<br />

A single-wire pair (e.g., ½ YCYM 2 × 2 × 0.8) is used for both data and power transmission. A TP1 segment<br />

can accommodate up to 256 devices in free topology. It may extend up to an accumulated cable length of<br />

1000.m and must contain at least one bus power supply unit to provide the link power of about 30.V DC.<br />

The contention protocol being used is carrier-sense multiple access (CSMA) with collision avoidance by<br />

bit-wise arbitration. The dominant logical 0 is encoded as a negative voltage imprinted on the DC supply<br />

voltage, whereas a logical 1 corresponds to the idle state of the medium. Data are transferred character<br />

oriented via half-duplex bidirectional <strong>communication</strong> at a transmission rate of 9600.bit/s. Characters contain<br />

eight data bits, even parity, and one stop bit (8e1) and are separated by a minimum idle period of 2 bit<br />

times. Data frames of variable length may be transmitted after a line idle time of 50 bit times. An immediate<br />

acknowledgment frame may follow after a gap of 15 bit times. TP1 is the only medium to support polling<br />

groups. Domain addresses are not used on TP1. The Batibus twisted-pair medium was also part of the<br />

KNX standard under the name of TP0, but was removed from release 2.0.<br />

The design of the KNX RF physical layer and DL is compatible with Wireless M-Bus, a European metering<br />

protocol standard, allowing tight integration. KNX RF operates at a center frequency of 868.3.MHz,<br />

which is located within the band reserved for SRDs (Short Range Devices). In the 868.0–868.6.MHz subband,<br />

a duty cycle limitation to less than 1% applies. Data are transmitted at a data rate of 16.4.kbps using<br />

frequency shift keying (FSK) modulation and Manchester encoding. The KNX RF frame format is based<br />

on FT3 as specified in IEC 60870-5. It provides the capabilities of the extended frame format as described in<br />

the previous section and contains additional medium-related information such as signal quality or battery<br />

state. Retransmitters can be used to extend the range of the network. To allow detection and elimination<br />

of duplicate frames that can occur in particular when such retransmitters are employed, the TP1/PL110<br />

repeat flag is replaced by a 3 bit link layer frame number (LFN). KNX RF allows the use of unidirectional,<br />

transmit-only devices. Such devices are cheaper to produce and have a greatly extended battery lifetime<br />

due to reduced power consumption, but accommodating them requires an adapted addressing scheme.<br />

Therefore, an extended address format composed of the unique serial number of the device concatenated<br />

© <strong>2011</strong> by Taylor and Francis Group, LLC

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!