TTP/A

Last updated

TTP/A is a time-triggered real-time fieldbus protocol used for the interconnection of low-cost smart transducer nodes. In contrast to the Time-Triggered Protocol (TTP), which is a high-speed, fault-tolerant communication network intended for safety critical applications (SAE class C), TTP/A provides a low-speed (below 1 MB/s), low-cost protocol suitable for non-critical applications like car body electronics (SAE class A).

Contents

TTP/A node based on an AVR AT90S4433 with a distance sensor attached Ttpanode.jpg
TTP/A node based on an AVR AT90S4433 with a distance sensor attached

Description

Time-triggered means that all actions are scheduled at predefined times. The schedules are repeated periodically for a predictable repetitive behavior. This is for sensor or actuator applications and closed control loops, where arbitrary message delays worsen or even invalidate the result. [1]

Interface

The TTP/A protocol implements a communication layer and data access according to the Object Management Group smart transducer Interface standard which was published in late 2002. [2] The interface to each transducer is known as an Interface File System (IFS), that includes both real-time data, as well as configuration and node management features. The IFS makes it possible to share data between different TTP/A clusters in a transparent fashion, so that for the application no distinction between data from local and remote nodes is made. The TTP/A protocol does not require special controller hardware and can be implemented on any standard embedded microcontroller. An open-source implementation exists for the Atmel AVR architecture. Like the fault-tolerant time-triggered protocol TTP, TTP/A follows the time-triggered paradigm featuring a clock synchronization and predefined time-triggered schedules for communication and execution of tasks. Thus, TTP/A communication implements a strict time division multiple access (TDMA) scheduling. TTP/A can be used as a sub-bus for a higher-performance and more dependable real-time systems, [3] or to provide transducer data to a Linux system in a soft-real-time fashion. TTP/A was used in applications such as an intercommunication system for mobile robots.

TTP/A is a time-triggered protocol used for the communication of one active master with or among smart transducer nodes within a cluster. This cluster is controlled by the master, which establishes a common time base among the nodes. In case of a master failure, a shadow master can take over control. Every node in this cluster has a unique alias, an 8 bit (1 byte) integer, which can be assigned to the node a priori or set at any time via the configuration interface.

Periodic time-triggered schedule

Breakdown of the TTP/A communication scheme Ttpa-communication.png
Breakdown of the TTP/A communication scheme

TTP/A communication is organized into rounds separated by inter round gaps (IRG). The TTP/A bus is inactive for at least 13 bit times during each gap. A TTP/A round consists of one or more frames. A frame is a sequence of bytes transmitted by one node. A byte is transmitted in a slot consisting of 13 bit cells: one start-bit, eight data-bits, one parity, one stop-bits and a two bit cell wide inter byte gap. The rounds are independent from each other. Every round starts with a fireworks byte sent by the master. The arrival of the fireworks byte is a synchronization event for every node in the cluster and identifies the round. According to the specification of the selected round, the fireworks frame is followed by data frames of specified length from the specified nodes. Each such frame is described by an entry in the round descriptor list (RODL) in the file-system of the sender and the receiver(s). Because the slot position at which each communication action takes place is defined a priori, no further bus arbitration is necessary. [4]

The transmission frames are based on universal asynchronous receiver/transmitter (UART) frames. This allowed the protocol to be implemented using microcontrollers featuring a standard UART module. For low transmission rates, also a software-based implementation without a hardware-supported UART is possible.

Several papers were published by researchers at the Vienna University of Technology on TTP/A from 1994 through 2006 by Hermann Kopetz and Wilfried Elmenreich. [4] A related protocol called TTP/C was also described in 2003. [5]

Related Research Articles

<span class="mw-page-title-main">Universal asynchronous receiver-transmitter</span> Computer hardware device

A universal asynchronous receiver-transmitter is a computer hardware device for asynchronous serial communication in which the data format and transmission speeds are configurable. It sends data bits one by one, from the least significant to the most significant, framed by start and stop bits so that precise timing is handled by the communication channel. The electric signaling levels are handled by a driver circuit external to the UART. Common signal levels are RS-232, RS-485, and raw TTL for short debugging links. Early teletypewriters used current loops.

<span class="mw-page-title-main">AVR microcontrollers</span> Family of microcontrollers

AVR is a family of microcontrollers developed since 1996 by Atmel, acquired by Microchip Technology in 2016. These are modified Harvard architecture 8-bit RISC single-chip microcontrollers. AVR was one of the first microcontroller families to use on-chip flash memory for program storage, as opposed to one-time programmable ROM, EPROM, or EEPROM used by other microcontrollers at the time.

<span class="mw-page-title-main">I²C</span> Serial communication bus

I2C (Inter-Integrated Circuit; pronounced as “eye-squared-C”), alternatively known as I2C or IIC, is a synchronous, multi-master/multi-slave (controller/target), packet switched, single-ended, serial communication bus invented in 1982 by Philips Semiconductors. It is widely used for attaching lower-speed peripheral ICs to processors and microcontrollers in short-distance, intra-board communication.

Zigbee is an IEEE 802.15.4-based specification for a suite of high-level communication protocols used to create personal area networks with small, low-power digital radios, such as for home automation, medical device data collection, and other low-power low-bandwidth needs, designed for small scale projects which need wireless connection. Hence, Zigbee is a low-power, low data rate, and close proximity wireless ad hoc network.

A Controller Area Network is a vehicle bus standard designed to allow microcontrollers and devices to communicate with each other's applications without a host computer. It is a message-based protocol, designed originally for multiplex electrical wiring within automobiles to save on copper, but it can also be used in many other contexts. For each device, the data in a frame is transmitted serially but in such a way that if more than one device transmits at the same time, the highest priority device can continue while the others back off. Frames are received by all devices, including by the transmitting device.

AX.25 is a data link layer protocol originally derived from layer 2 of the X.25 protocol suite and designed for use by amateur radio operators. It is used extensively on amateur packet radio networks.

Serial Peripheral Interface (SPI) is a synchronous serial communication specification used primarily in embedded systems for short-distance wired communication between chips. Motorola developed the interface in the mid-1980s, which has become a de facto standard with many variants.

<span class="mw-page-title-main">1-Wire</span> Device communications bus system

1-Wire is a wired half duplex serial bus designed by Dallas Semiconductor that provides low-speed (16.3 kbit/s) data communication and supply voltage over a single conductor.

LIN is a serial network protocol used for communication between components in vehicles. It is a single wire, serial network protocol that supports communications up to 19.2 Kbit/s at a bus length of 40 meters. The need for a cheap serial network arose as the technologies and the facilities implemented in the car grew, while the CAN bus was too expensive to implement for every component in the car. European car manufacturers started using different serial communication technologies, which led to compatibility problems.

The Time-Triggered Protocol (TTP) is an open computer network protocol for control systems. It was designed as a time-triggered fieldbus for vehicles and industrial applications. and standardized in 2011 as SAE AS6003. TTP controllers have accumulated over 500 million flight hours in commercial DAL A aviation application, in power generation, environmental and flight controls. TTP is used in FADEC and modular aerospace controls, and flight computers. In addition, TTP devices have accumulated over 1 billion operational hours in SIL4 railway signalling applications.

The HART Communication Protocol (Highway Addressable Remote Transducer) is a hybrid analog+digital industrial automation open protocol. Its most notable advantage is that it can communicate over legacy 4–20 mA analog instrumentation current loops, sharing the pair of wires used by the analog-only host systems. HART is widely used in process and instrumentation systems ranging from small automation applications up to highly sophisticated industrial applications.

CANopen is a communication protocol and device profile specification for embedded systems used in automation. In terms of the OSI model, CANopen implements the layers above and including the network layer. The CANopen standard consists of an addressing scheme, several small communication protocols and an application layer defined by a device profile. The communication protocols have support for network management, device monitoring and communication between nodes, including a simple transport layer for message segmentation/desegmentation. The lower level protocol implementing the data link and physical layers is usually Controller Area Network (CAN), although devices using some other means of communication can also implement the CANopen device profile.

EtherCAT is an Ethernet-based fieldbus system invented by Beckhoff Automation. The protocol is standardized in IEC 61158 and is suitable for both hard and soft real-time computing requirements in automation technology.

The Serial Low-power Inter-chip Media Bus (SLIMbus) is a standard interface between baseband or application processors and peripheral components in mobile terminals. It was developed within the MIPI Alliance, founded by ARM, Nokia, STMicroelectronics and Texas Instruments. The interface supports many digital audio components simultaneously, and carries multiple digital audio data streams at differing sample rates and bit widths.

Internet 0 is a low-speed physical layer designed to route 'IP over anything.' It was developed at MIT's Center for Bits and Atoms by Neil Gershenfeld, Raffi Krikorian, and Danny Cohen. When it was invented, a number of other proposals were being labelled as "internet 2." The name was chosen to emphasize that this was designed to be a slow, but very inexpensive internetworking system, and forestall "high-performance" comparison questions such as "how fast is it?"

<span class="mw-page-title-main">CANaerospace</span>

CANaerospace is a higher layer protocol based on Controller Area Network (CAN) which has been developed by Stock Flight Systems in 1998 for aeronautical applications.

<span class="mw-page-title-main">XC800 family</span>

The Infineon XC800 family is an 8-bit microcontroller family, first introduced in 2005, with a dual cycle optimized 8051 "E-Warp" core. The XC800 family is divided into two categories, the A-Family for Automotive and the I-Family for Industrial and multi-market applications.

Wilfried Elmenreich is an Austrian researcher and professor of Smart Grids at the Alpen-Adria-Universität Klagenfurt.

Time-Sensitive Networking (TSN) is a set of standards under development by the Time-Sensitive Networking task group of the IEEE 802.1 working group. The TSN task group was formed in November 2012 by renaming the existing Audio Video Bridging Task Group and continuing its work. The name changed as a result of the extension of the working area of the standardization group. The standards define mechanisms for the time-sensitive transmission of data over deterministic Ethernet networks.

<span class="mw-page-title-main">Cyphal</span>

Cyphal is a lightweight protocol designed for reliable intra-vehicle communications using various communications transports, originally destined for CAN bus, but targeting various network types in subsequent revisions. OpenCyphal is an open-source project that aims to provide MIT-licensed implementations of the Cyphal protocol. The project was known as UAVCAN prior to rebranding in March 2022.

References

  1. Elmenreich, Wilfried (2006). "Time-triggered smart transducer networks" (PDF). IEEE Transactions on Industrial Informatics. 2 (3): 2(3):192-19971–77. arXiv: 1507.04394 . doi:10.1109/TII.2006.873991. S2CID   11764613.
  2. "Smart Transducers: OMG Formally Released Versions of SMART". Open Management Group. 1 January 2003. Retrieved 19 June 2013.
  3. Kopetz, Herman; Holzmann, Michael; Elmenreich, Wilfried (2000). "A universal smart transducer interface: TTP/A" (PDF). Proceedings Third IEEE International Symposium on Object-Oriented Real-Time Distributed Computing (ISORC 2000) (Cat. No. PR00607). pp. 71–77. doi:10.1109/ISORC.2000.839507. ISBN   0-7695-0607-0. S2CID   3061750.
  4. 1 2 "TTP/A Protocol, Specification, and Tools". Archived from the original on 10 February 2012. Retrieved 28 August 2013.
  5. Elmenreich, Wilfried; Ipp, Richard (2003). "Introduction to TTP/C and TTP/A" (PDF). Proceedings of the Workshop on Time-Triggered and Real-Time Communication Systems: 1–9.{{cite journal}}: Cite journal requires |journal= (help)