Coded Processing

Diagnostics in software instead of redundant hardware: Coded Processing detects runtime errors of your safety function on a single standard processor – the technology behind the SIListra Safety Transformer.

  • Detects transient and permanent hardware errors and interference from non-safety software
  • Diagnostic coverage sufficient for SIL 3 (IEC 61508)
  • Runs on standard COTS hardware
Comprehensive Diagnostics with Coded Processing

Two Channels, One Processor

Coded Processing is the central technology of our certified development tool, the SIListra Safety Transformer. It moves the diagnostics of a safety function from redundant hardware into the software itself.

Native and Encoded Channel at Runtime

Coded Processing at runtime: a sensor sends an input packet over the black channel to the safety app. The native channel (your safety function) and the encoded channel (generated by the SIListra Safety Transformer) run side by side; the channel merge adds the checksum of the output packet, which is valid only if both channels agree and encoding and control flow are correct. The output packet goes over the black channel to the actuator or receiver. The safety app runs next to non-safety apps on a hypervisor on a standard (COTS) platform, no certified operating system required. If an error is detected, the checksum is invalid and the receiver goes to the safe state.SensorBlack ChannelInput packetSafety appNative channelYour safety functionEncoded channelGenerated by the SIListra Safety TransformerChannelmerge+ checksumValid checksum only if both channels agreeand encoding and control flow are correctBlack ChannelOutput packetActuator /receiverNon-safety appsHypervisorStandard platform (COTS) – no certified operating system requiredError detected?→ checksum invalid→ receiver detects itand goes to thesafe stateCoded Processing at runtime: a sensor sends an input packet over the black channel to the safety app. The native channel (your safety function) and the encoded channel (generated by the SIListra Safety Transformer) run side by side; the channel merge adds the checksum of the output packet, which is valid only if both channels agree and encoding and control flow are correct. The output packet goes over the black channel to the actuator or receiver. The safety app runs next to non-safety apps on a hypervisor on a standard (COTS) platform, no certified operating system required. If an error is detected, the checksum is invalid and the receiver goes to the safe state.SensorBlack ChannelInput packetSafety appNative channelYour safety functionEncoded channelGenerated by the SIListraSafety TransformerChannelmerge+ checksumValid checksum only if both channelsagree and encoding and control floware correctBlack ChannelOutput packetActuator / receiverSafety appNon-safety appsHypervisorStandard platform (COTS)no certified operating system requiredError detected?→ checksum invalid→ receiver detects itand goes to thesafe state

The native channel runs the original safety function (safety app), programmed or generated as usual. The encoded channel runs the same function in encoded form, generated by the SIListra Safety Transformer from the source code of the native channel. Both channels run together on the same standard hardware, reaching a diagnostic coverage sufficient for SIL 3 (IEC 61508).

The diagnosis of both channels is propagated to the safe communication (black channel): only the channel merge computes the final output packet, and the packet only gets a valid checksum if the outputs of both channels match and the encoding and the control flow are valid. Every detected error therefore results in an invalid output packet — the communication partner of the safety app detects it and brings the system into the safe state.

Coded Processing thus applies the black-channel principle to computation: processor, memory and operating system are treated as non-safe components that may fail. For the receiver, an error in the sending device looks exactly like a packet corrupted in transmission, so the checks of the safety protocol already handle it.

From Your Source Code to Two Channels

The SIListra Safety Transformer generates the encoded channel from your C or C++ source code and automatically verifies the generated code. The compiler and linker of your choice build both channels into one safety application that runs on your platform.

Toolchain of the SIListra Safety Transformer: your C or C++ source code, programmed or generated as usual, is the native channel and the input of the SIListra Safety Transformer, which generates the encoded channel as C source code and verifies it automatically. The compiler and linker of your choice build the native and the encoded channel into one safety application, which runs on your platform: one standard processor runs both channels.Your C/C++source codeprogrammed orgenerated as usualSIListra Safety TransformerGenerates the encodedchannel as C source code andverifies it automaticallyNative channelYour safety functionEncoded channelGenerated and verified C codeCompiler andlinker of yourchoicebuild bothchannels into onesafety applicationSafety applicationNative channelEncoded channelYour platform – one standard processor runs both channelsToolchain of the SIListra Safety Transformer: your C or C++ source code, programmed or generated as usual, is the native channel and the input of the SIListra Safety Transformer, which generates the encoded channel as C source code and verifies it automatically. The compiler and linker of your choice build the native and the encoded channel into one safety application, which runs on your platform: one standard processor runs both channels.Your C/C++ source codeprogrammed or generated as usualSIListra Safety TransformerGenerates the encodedchannel as C source code andverifies it automaticallyNative channelYour safety functionEncoded channelGenerated andverified C codeCompiler and linkerof your choicebuild both channels intoone safety applicationSafety applicationNative channelEncoded channelYour platformone standard processorruns both channels

Coded Processing as a method is not tied to a specific programming language: the focus of the SIListra Safety Transformer is on C and C++, and implementations in other languages are possible. For example, we are working on Rust support for the SIListra Safety Transformer in a research project.

Which Faults Are Detected?

The encoding makes deviations and random hardware faults detectable at runtime. A SIListrified program detects the following faults in its data and control flow:

Transient Faults

Short-lived faults, e.g. a single bit flip caused by radiation or electrical interference.

Permanent Faults

Long-lived faults, e.g. due to aging.

Interference from Non-Safety Software

Faults caused by the operating system or other non-safety software running on the same hardware, covered according to IEC 61508 Annex F.
Data

Corrupted Calculations

Whatever the cause: a flipped bit in memory or in a register can silently corrupt a calculation — even when it doesn’t change any branch of the program. The encoded channel makes such deviations visible.
Program flow

Corrupted Control Flow

The control flow protection described in our patents detects faults in the execution of the program’s control flow.
Go to patents

Simplified from the Safety Manual of the SIListra Safety Transformer 3.0.0:

Detected

Memory, CPU and Bus

Faults in the following components are detected when they affect the execution of the safe application, because the output packets of the encoded and the native channel no longer match (IEC 61508-2, Annex A):

  • Volatile memory (RAM)
  • CPU: ALU and data path, control logic, registers and internal RAM, address calculation, instruction decoding and execution incl. flag registers, program counter and stack pointer, floating-point unit
  • On-chip and digital communication, buses: MMU, DMA, bus arbitration

Faults in sub-components are only detected if their software is also encoded with the SIListra Safety Transformer; faults in the communication only if sender and receiver exchange protected data.

Covered with an analysis

Non-Volatile Memory, Power Supply, Environment

Coded Processing doesn’t monitor these components directly: a fault in them is only detected once it affects the execution of the safe application.

  • Non-volatile memory
  • Power supply
  • External conditions, e.g. temperature

An application-specific analysis checks whether the assumed fault rates hold (PFH calculation).

Not covered

Timing Faults

Coded Processing checks what is computed, not when: the check happens with every output packet, in its cycle. Timing faults, e.g. in interrupt handling or failures of the clock (quartz), are therefore not covered. They need an application-specific safety concept, e.g. a safe time source.
What stays in the system

The certified use case and its assumptions are described in the Safety Manual of the SIListra Safety Transformer, which is part of the scope of delivery.

Certified by TÜV SÜD: SIListra Safety Transformer 3.0.0

The SIListra Safety Transformer is certified for IEC 61508 up to SIL 3, ISO 26262 up to ASIL D, ISO 13849 up to PL e, IEC 62061 up to SIL 3 and IEC 61511 up to SIL 3. The certificate covers the tool and the Diversified Encoding use case — your safety function is assessed as part of your system.

Certificate Z10 123504 0001 · TÜV SÜD certificate database ↗ (opens in a new tab)

What the certificate covers
Processor chip protected by a red safety shield

Reference: A Safety Soft PLC on One Standard Processor

With Coded Processing, the safety function runs as two logical channels on one standard processor — no second, redundant processor is needed for the diagnostics.

In practice, a TÜV SÜD-certified safety soft PLC already runs safety applications up to SIL 3 (IEC 61508) on standard x86 hardware without two-channel hardware — based on the SIListra Safety Transformer.

Category and Performance Level are always properties of the complete safety function, from sensor to actuator, including I/O, communication, and common cause failures. We determine them together with you as part of your safety concept.

What Coded Processing Covers — and What Stays in the System

Coded Processing protects the execution of the SIListrified program code on the processor. Some parts of a safety function lie outside the encoded code and are considered in your system architecture and safety concept.

Covered by Coded Processing

Runtime diagnostics for the safety-relevant code, realized entirely in software.

Data and control flow
Transient and permanent hardware faults that corrupt calculations or the program flow of the SIListrified code
Interference
Interference from non-safety software on the same hardware, e.g. the operating system
Error propagation
Detected errors are written into the output packets of the safe communication (black channel)

Part of Your System Architecture

Measures around the encoded code that bring the system into the safe state.

Safe communication
Black-channel safety protocols such as FSoE, PROFIsafe, or OPC UA Safety — their protocol stack itself runs encoded alongside the safety function
Safe I/O
Inputs and outputs — e.g. your own safety I/O modules — and their reaction to detected errors
Safe time source
So that communication timing and deadlines are monitored in a compliant way
Remaining system parts
Such as power supply and the safe handling of communication errors
Design your architecture with us

Standard Hardware, Your Tool Chain

The SIListra Safety Transformer generates C source code, and the compiler and linker of your choice build it. The generated code is therefore platform-independent and runs on standard (COTS) hardware — without necessarily requiring special safety hardware.

Target hardware

COTS Processors

The generated code is compiled for your target processor with the compiler of your choice, e.g. for x86 or ARM application processors.
Target hardware

Virtual Controllers

Virtual controllers run on COTS hardware too: Coded Processing makes safety functions possible in virtualized environments as well, e.g. a virtual PLC on standard hardware.
Operating system

Standard Linux or Bare Metal

The safety controller — physical or virtual — can run on a standard Linux; no certified operating system is required. Bare metal, i.e. without an operating system, is possible as well.

Questions About Your Platform

Which operating system?

The operating system you use and its role in the safety argument are part of your system architecture. Tell us about your intended platform, and we will discuss its suitability with you.

How much performance does it cost?

The encoded channel runs in addition to the native channel, so a SIListrified safety function needs more computing time and memory. How much depends on your application — so we measure it with your code.

Publications & Patents

Our technical papers, talks, trade press articles, and patents explain Coded Processing and its control flow protection in detail.

Go to Publications & Patents

Does Coded Processing fit your architecture?

Tell us about your application, standard, and target platform — one of our engineers will assess it with you, non-binding and confidential.

Start Evaluation
Follow us on: