Time-Triggered Protocol

Slides:



Advertisements
Similar presentations
A Sample RTOS Presentation 4 Group A4: Sean Hudson, Manasi Kapadia Syeda Taib.
Advertisements

Chapter 19: Network Management Business Data Communications, 5e.
CAL (CAN Application Layer) and CANopen J. Novák Czech Technical University in Prague Faculty of Electrical Engineering Department of Measurement.
Chapter 19: Network Management Business Data Communications, 4e.
Network Management Overview IACT 918 July 2004 Gene Awyzio SITACS University of Wollongong.
Channel Access Methods When several devices are connected to a single channel, there must be some rules to govern these devices as they access, transmit,
1 The Time-Triggered Model of Computation Lior Zimet.
Software Engineering for Real- Time: A Roadmap H. Kopetz. Technische Universitat Wien, Austria Presented by Wing Kit Hor.
CS599 Software Engineering for Embedded Systems1 Software Engineering for Real-Time: A Roadmap Presentation by: Mandar Samant Raghbir Singh Banwait.
1 ITC242 – Introduction to Data Communications Week 12 Topic 18 Chapter 19 Network Management.
TTP ® - As Predictable as Time 1 Copyright © 2002, TTTech Computertechnik AG. All rights reserved. TTTech Powernode As a Linux Prototyping Platform for.
Design of Distributed Real-Time Systems Ramani Arunachalam.
CprE 458/558: Real-Time Systems
DAKNET Presented By: rreema.
The Rare Glitch Project: Verifying Bus Protocols for Embedded Systems Edmund Clarke, Daniel Kroening Carnegie Mellon University.
Introduction to Software Testing
The OSI Model A layered framework for the design of network systems that allows communication across all types of computer systems regardless of their.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 11 Slide 1 Architectural Design.
Introduction to Media Access Control Protocols Yerang Hur and Jiaxiang Zhou System Design Research Lab. Dept. of Computer and Information Science.
H-1 Network Management Network management is the process of controlling a complex data network to maximize its efficiency and productivity The overall.
NETWORKING CONCEPTS. Data Communication Communication is for sharing information Sharing can be local or remote Local communication between individuals.
Chapter 4.  Understand network connectivity.  Peer-to-Peer network & Client-Server network  Understand network topology  Star, Bus & Ring topology.
1 The Google File System Reporter: You-Wei Zhang.
Chapter 7: Architecture Design Omar Meqdadi SE 273 Lecture 7 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Lecture 1 The OSI Model Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
1 Albert Ferrer-Florit, Steve Parkes Space Technology Centre University of Dundee QoS for SpaceWire networks SpW-RT prototyping.
HRTC Meeting 12 September 2002, Vienna Smart Sensors Thomas Losert.
1 Fault Tolerance in the Nonstop Cyclone System By Scott Chan Robert Jardine Presented by Phuc Nguyen.
Version 4.0. Objectives Describe how networks impact our daily lives. Describe the role of data networking in the human network. Identify the key components.
1 System Models. 2 Outline Introduction Architectural models Fundamental models Guideline.
Cluster Reliability Project ISIS Vanderbilt University.
CS4730 Real-Time Systems and Modeling Fall 2010 José M. Garrido Department of Computer Science & Information Systems Kennesaw State University.
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK
© Oxford University Press 2011 DISTRIBUTED COMPUTING Sunita Mahajan Sunita Mahajan, Principal, Institute of Computer Science, MET League of Colleges, Mumbai.
CHAPTER TEN AUTHORING.
1 of 14 1/15 Synthesis-driven Derivation of Process Graphs from Functional Blocks for Time-Triggered Embedded Systems Master thesis Student: Ghennadii.
Architectural Design lecture 10. Topics covered Architectural design decisions System organisation Control styles Reference architectures.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 10Slide 1 Architectural Design l Establishing the overall structure of a software system.
Architectural Design Yonsei University 2 nd Semester, 2014 Sanghyun Park.
Thomas Losert HRTC Meeting 12 September 2002, Vienna Introduction to the TTA.
TTP and FlexRay. Time Triggered Protocols Global time by fault tolerant clock synchronisation Exact time point of a certain message is known (determinism)
Time Triggered Networks: use in space 2015 CCSDS spring SOIS Plenary 23 March 2015 Glenn Rakow/NASA-GSFC.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
CS4730 Real-Time Systems and Modeling Fall 2010 José M. Garrido Department of Computer Science & Information Systems Kennesaw State University.
Advantages of Time-Triggered Ethernet
Slide 1 Service-centric Software Engineering. Slide 2 Objectives To explain the notion of a reusable service, based on web service standards, that provides.
Centroute, Tenet and EmStar: Development and Integration Karen Chandler Centre for Embedded Network Systems University of California, Los Angeles.
Chapter 7: Consistency & Replication IV - REPLICATION MANAGEMENT By Jyothsna Natarajan Instructor: Prof. Yanqing Zhang Course: Advanced Operating Systems.
Middleware for Fault Tolerant Applications Lihua Xu and Sheng Liu Jun, 05, 2003.
بسم الله الرحمن الرحيم MEMORY AND I/O.
1 May-2014 Automotive Protocols & Standards. 2 CAN (Controller Area Network)  Overview Controller Area Network is a fast serial bus designed to provide.
1 CEG 2400 Fall 2012 Network Servers. 2 Network Servers Critical Network servers – Contain redundant components Power supplies Fans Memory CPU Hard Drives.
Hands-On Microsoft Windows Server 2008 Chapter 7 Configuring and Managing Data Storage.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 10Slide 1 Chapter 5:Architectural Design l Establishing the overall structure of a software.
Definition CASE tools are software systems that are intended to provide automated support for routine activities in the software process such as editing.
N-Tier Architecture.
Design and realization of Payload Operation and Application system of China’s Space Station Wang HongFei 首页.
Real-time Software Design
Maintaining Data Integrity in Programmable Logic in Atmospheric Environments through Error Detection Joel Seely Technical Marketing Manager Military &
Replication Middleware for Cloud Based Storage Service
Chapter 7: Consistency & Replication IV - REPLICATION MANAGEMENT -Sumanth Kandagatla Instructor: Prof. Yanqing Zhang Advanced Operating Systems (CSC 8320)
Service-centric Software Engineering
Fault Tolerance Distributed Web-based Systems
Modeling and Simulation of TTEthernet
Middleware for Fault Tolerant Applications
DETERMINISTIC ETHERNET FOR SCALABLE MODULAR AVIONICS
Utility-Function based Resource Allocation for Adaptable Applications in Dynamic, Distributed Real-Time Systems Presenter: David Fleeman {
Time-Triggered Architecture
Design.
Presentation transcript:

Time-Triggered Protocol Yerang Hur Jiaxiang Zhou Instructor: Dr. Insup Lee

Outline Real-Time Control System Why Time-Triggered Protocol TTP/A TTP/C TTTech

Real-Time Control Systems Time-triggered control system All activities are carried out at certain points in time know a priori All nodes have a common notion of time, based on approximately synchronization Event-triggered control system All activities are carried out in response to relevant events external to the system

Time-Triggered vs. Event-Triggered Basic difference -- different sources of control signals to trigger the system actions TT ET Sporadic message Yes Periodic Message Flexibility Predictability Back

Why Time-Triggered Protocol Market Trends in the information society Computerized components for mechanical engineering Aircraft domain (Airbus A320) Who can make it possible for cost-sensitive industry? Automobile, industrial control, and so on TTTech – Time Triggered Technology Offer products for evaluation and design of TTP-based system

TTP (Time-Triggered Protocol) TTP – more than just a protocol Network protocol Operating system scheduling philosophy Fault tolerance approach Time-Triggered approach Stable time base Simple to implement the usual stuff Cyclic schedules

Two derivation Back TTP/A (Automotive Class A = soft real time) A scaled-down version of TTP A cheaper master/slave variant TTP/C (Automotive Class C = hard real time) A full version of TTP A fault-tolerant distributed variant Back

TTP/A: A reduced cost version For example: How do you do this for about $2 per node? Answer: after making compromises, … and use on Class A devices (soft real time) Distributed fault tolerance is expensive (especially time bases), so go master/slave polling instead

Protocol Layer in TTP/A

Polling Operation Master polls the other nodes (slaves) Non-master nodes transmit messages when they are polled Inter-slave communication through the master

Polling Tradeoffs Back Advantage Disadvantage Simple protocol to implement Historically very popular Bounded latency for real-time applications Disadvantage Single point of failure from centralized master Polling consumes bandwidth Network size is fixed during installation(or master must discover nodes during reconfiguration) Back

TTP/C TTP/C A time-triggered communication protocol for safety-critical (fault-tolerant) distributed real-time control systems Based on a TDMA(Time Division Multiple Access) media access strategy Based on clock synchronization

Some Concepts CNI Composability Fail Silence FTU SRU Communication Network Interface: interface between communication controller and the host computer within a node of a distributed system Composability various components of a software system can be developed independently and integrated at a late stage of software development Fail Silence A subsystem is fail-silent if it either produces correct results or no results at all, i.e., it is quiet in case it cannot deliver the correct service FTU Fault-Tolerance Unit SRU Smallest Replaceable Unit

TTP/C Protocol Layer Host Layer FTU CNI FTU Layer Basic CNI RM Layer Application software in Host FTU Membership Redundancy Management SRU Membership Clock Synchronization Media Access: TDMA Host Layer FTU CNI FTU Layer RM Layer SRU Layer Data Link/Physical Layer Basic CNI

Data Link/Physical Layer SRU Layer RM Layer FTU Layer Host Layer (Contd.) Data Link/Physical Layer Provide the means to exchange frames between the nodes SRU Layer Store the data fields of the received frames RM Layer Provide the mechanisms for the cold start of a TTP/C cluster FTU Layer Group two or more nodes into FTUs Host Layer Provide the application software Basic CNI A data-sharing interface between the RM layer and FTU layer FTU CNI The interface between FTU layer and Host Layer

Objectives in TTP/C Precise Interface Specifications Composability Reusability of Components Improved Supplier/Sub-supplier Relationship Timeliness Error Containment Constructive Testability Seamless Integration of Fault-Tolerance Simpler Application Software Shorter Time-to-Market Reduced Development Costs Reduced Maintenance Costs

Structure of TTP/C System

FTU in TTP/C FTU Configuration Examples Two active nodes, two shadow nodes Three active nodes with one shadow nodes (Triple modular Redundancy) Two active nodes without a shadow node

Single Node Configuration Includes controller to run protocol DPRAM (dual ported RAM) To implement memory-mapped network interface BG (Bus Guard) Hardware watchdog to ensure “fail silent” Real chips must use highly accurate time sources Even dual redundant crystal oscillators as used in DATAC for Boeing 777)

Cycle in TTP/C TDMA Cycle Cluster Cycle One FTU sends results twice Then next FTU sends some results And so on, until back to the next message from the first FTU Cluster Cycle Cluster cycle involves scheduling all possible message and tasks

TTP/C Frame I-Frames used for initialization N-Frames used for normal messages

Pros and Cons of TTP Advantage Disadvantage Simple protocol to implement Deterministic response time No wasted time for Master polling message Disadvantage Single point of failure from the bus master Wasted bandwidth when some nodes are idle Stable clocks Fixed network size during installation

A comparison TTP/A vs. TTP/C Service TTP/A TTP/C Clock Synchronization Central Multimaster Distributed, Fault-Tolerant Mode Switches yes Communication Error Detection Parity 16/24 bit CRC Membership Service simple full External Clock Synchronization Time-Redundant Transmission Duplex Nodes no Duplex Channels Redundancy Management Shadow Node

TTP/C + TTP/A Back TTP/A is intended for low cost TTPnode implements such an integrated TTP/C and TTP/A solution to carry out all sensing and actuating action within hard real-time deadlines and minimal jitter (Jitter: The jitter is the difference between the maximum and the minimum duration of an action (processing action, communication action) ) Back

TTTech – Time Triggered Technology TTTech Evaluation Cluster -- TTP Hardware Systems TTP Hardware Products TTPnode TTP Software Products – TTP tools TTPplan TTPbuild TTPos TTPView TTPload

TTP Evaluation Cluster

TTPnode

(Contd.) TTPplan A comprehensive tool for the design of TTP clusters based on the concepts of state messages and temporal firewalls TTPbuild An environment for the design of nodes in a TTP cluster TTPos The Time-Triggered Architecture and the TTP/C communication protocol, with fault-tolerance TTPview An easy-to-use graphical user interface which monitors the real-time messages among nodes TTPload An easy-to-use graphical user interface which allows to create and maintain download collections

Demonstration Specification Controller and cluster communication startup Basic communication with TTP/C Basic FT layer features like host lifesign and message handing Building a replica determinate task Re-integration of a replica using h-state messages Checking the current degree of redundancy of a message Reacting to sporadic events in a time-triggered architecture

Structure Node1 and node2 act as master Node3 and node4 act as slave Counter1_sub: run replicated on node1 and node2, and generates a message called counter1. It is received by node3 and node4 Counter2_A_sub: generate a message Counter2_A transmitted by node1 and received by node3 Counter2_B_sub: like Counter2_A_sbu, but generates a message Counter2_B transmitted by node2 and received by node4   Node1 Node2 Counter1 Counter1 Counter2_A Conter2_B Node3 Node4 User User

The cluster is in normal conditions (in Host mode ) Results The cluster is in normal conditions (in Host mode )

Node1 is broken (in Host mode )

Node2 is broken (in Host mode) End

Thank you! Back

h-State:The h-state is the dynamic data structure of a task or node that is changed as the computation progresses. The h-state must reside in read/write memory