23.03.2017 Views

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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

21-14 Industrial Communication Systems<br />

ID Safe address Time stamp Data: n byte<br />

CRC<br />

1<br />

ID Safe address Time stamp<br />

Message part 1 Message part 2<br />

Data: n byte<br />

CRC<br />

2<br />

FIGURE 21.6<br />

Generic safety-related message format.<br />

The value of each data point (sensor or actuator value), irrespective of whether it has changed or not,<br />

is periodically sent to the receiver by using a safety-related message. That mechanism is called heartbeat.<br />

On the receiver side, a watchdog is used, which is reset every time a valid message has been received. As<br />

a consequence, a malfunction at the sender side or a fault in the black-channel (e.g., unavailability of the<br />

network due to a broke wire or a defect in the standard network interface) can also be detected.<br />

In addition, each safety-related message can be duplicated as shown in Figure 21.6. Just the CRC are<br />

different. At the receiver side, not only the CRC are verified but also the duplicated data is compared<br />

bit-by-bit. Such a mechanism increases the integrity of the message and reduces the risk of corruption<br />

to a minimum.<br />

Finally, every message received by a node is processed by two safe controllers. Each of them verifies<br />

the ID, the safe address, the timestamp, and the CRC. After that they compare their results. Only if both<br />

safe controllers agree on the same positive result, action according to the data point value is taken. Such<br />

an approach is called redundancy with cross-comparison.<br />

By using such a safety-related message structure as shown in Figure 21.6, a heartbeat and redundancy<br />

with cross-comparison, all faults mentioned in Table 21.8 are addressed and can be detected.<br />

Embedding the safety-related message into the data field of the standard <strong>industrial</strong> <strong>communication</strong><br />

system message format leaves the standard protocol unchanged. Consequently, non-safe and safe nodes<br />

use the same protocol, only the structure of the data field is different.<br />

Node hardware-related safety measures are outlined in detail in [HOE86]. Faults in the hardware<br />

components as listed in Table 21.9 are stochastic faults. They cannot be avoided but detected and handled<br />

properly. Fault detection is performed by means of online and offline hardware self tests.<br />

The online tests that are executed guarantee a high integrity of the hardware by revealing faults in the<br />

different parts of the hardware. Tests are separated into volatile memory (RAM), nonvolatile read-only<br />

memory (FLASH), CPU (controller) tests, and test of the input/output unit. Faults of the <strong>communication</strong><br />

interface to the network interface are tested by sending heartbeats implicitly.<br />

In general, volatile memory test algorithms differ in test effort and diagnostic coverage. A high test<br />

effort and a high diagnostic coverage is ensured when using the galloping pattern test, a low one when<br />

TABLE 21.9<br />

Node Hardware-Related Hazards and Measures<br />

Hardware<br />

Component Effect (Hazard) Safety Measure<br />

Controller Wrong operation of device Use of a 1oo2 structure with watchdog and<br />

cross-checking; use of cyclic <strong>communication</strong><br />

via serial interface between both channels;<br />

use of CPU test at startup and during<br />

operation<br />

Memory Wrong operation of device Use of memory test at startup and during<br />

operation<br />

Input device Wrong operation of device Use of test pulses; use of test pattern with<br />

different test pulses<br />

Output device to<br />

network interface<br />

Output device to<br />

actuator<br />

Wrong operation of device<br />

Unable to switch off<br />

Check of message by independent channels<br />

and comparison of check results<br />

Use of test pulses<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!