A premium passenger car is controlled and managed by 80+ Embedded Systems. Communication systems for vehicle electronics

Similar documents
Comfort Electronics: Thermal Management Chassis Control Parking Assistant

Communication systems for vehicle electronics

Time Triggered Protocol (TTP/C): A Safety-Critical System Protocol

IBM Platform Technology Symposium

Dependable Communication Synthesis for Distributed Embedded Systems *

IN-VEHICLE electronic systems have been replacing their

Modular Scheduling of Distributed Heterogeneous Time-Triggered Automotive Systems

DEMONSTRATIONAL SYSTEM FOR TRAINING IN FlexRay COMMUNICATION

Scheduling and Communication Synthesis for Distributed Real-Time Systems

The Use of CAN Bus Message Electrical Signatures for Automotive Reverse Engineering

Findings of the Artist2 Workshop Beyond Autosar

Systems. Roland Kammerer. 29. October Institute of Computer Engineering Vienna University of Technology. Communication in Distributed Embedded

Timing Analysis of the FlexRay Communication Protocol

CAN for time-triggered systems

Significant Reduction of Validation Efforts for Dynamic Light Functions with FMI for Multi-Domain Integration and Test Platforms

William Milam Ford Motor Co

PSI5: Safety & latest developments

Tunnel Radio. STRABAG Infrastructure & Safety Solutions

A PID Controller for Real-Time DC Motor Speed Control using the C505C Microcontroller

Standardised Ground Data Systems Implementation: A Dream?

Exact Response Time of FlexRay Communication Protocol

Despite the euphonic name, the words in the program title actually do describe what we're trying to do:

Analysis and Optimisation of Distributed Embedded Systems with Heterogeneous Scheduling Policies

AES - Automotive Embedded Systems

Message Scheduling Optimization for FlexRay Protocol

Automotive Control Solution for Brushless DC Motors

ROM/UDF CPU I/O I/O I/O RAM

PROGRESS ON THE SIMULATOR AND EYE-TRACKER FOR ASSESSMENT OF PVFR ROUTES AND SNI OPERATIONS FOR ROTORCRAFT

Design and analysis of electric vehicle battery management system based on flexray bus

WHITEPAPER. A comparison of TETRA and GSM-R for railway communications

DSI Bus Standard. Version March 29, 2005

Online Monitoring for Automotive Sub-systems Using

The design of safe automotive electronic systems

Inter- and Intra-Vehicle Communications

Optimized Schedule Synthesis under Real-Time Constraints for the Dynamic Segment of FlexRay

Smart Actuators for Mini Unmanned Aerial Vehicles

Energex Smart Network Trials

LEARNING FROM THE AVIATION INDUSTRY

Introduction to Real-time software systems Draft Edition

Link and Link Impedance 2018/02/13. VECTOR DATA ANALYSIS Network Analysis TYPES OF OPERATIONS

Advances in Antenna Measurement Instrumentation and Systems

AN0503 Using swarm bee LE for Collision Avoidance Systems (CAS)

From Shared Memory to Message Passing

SCI ISO-K CCD PCI CAN

Mobile Communication and Mobile Computing

COVER STORY. how this new architecture will help carmakers master the complexity of autonomous driving.

Keywords: Aircraft Systems Integration, Real-Time Simulation, Hardware-In-The-Loop Testing

HCM1A1305 Automotive grade High current power inductors

CPE/CSC 580: Intelligent Agents

ADVANCED DISTRIBUTED WIDEBAND DATA ACQUISITION SYSTEM

SOFTWARE IMPLEMENTATION OF THE

BASIC CONCEPTS OF HSPA

1066 Copperstone Drive Pickering, Ontario L1W 3V8, CANADA Telephone: (905) Fax Line: (905)

Galvanically isolated EGSE Building Blocks Paul Walker 4Links

Distributed Control-as-a-Service with Wireless Swarm Systems"

ARTES Competitiveness & Growth Full Proposal. Requirements for the Content of the Technical Proposal. Part 3B Product Development Plan

Safety and alarming applications using ISA100 Wireless

Software-Intensive Systems Producibility

Onboard supply control unit -J519- Fitting location: 1 - Onboard supply control unit -J519-

CIS 480/899 Embedded and Cyber Physical Systems Spring 2009 Introduction to Real-Time Scheduling. Examples of real-time applications

A Quantifying Notions of Extensibility in FlexRay Schedule Synthesis 1

SHF Communication Technologies AG

Automotive Engineering Section, UniKLMFI - Autotronic 2 (multiplexing) Why do we use multiplexing on cars?

A FRAMEWORK FOR PERFORMING V&V WITHIN REUSE-BASED SOFTWARE ENGINEERING

RECOMMENDATION ITU-R BS

ETSI SMG#24 TDoc SMG2 898 / 97 Madrid, Spain December 15-19, 1997 Source: SMG2. Concept Group Delta WB-TDMA/CDMA: Evaluation Summary

Politecnico di Milano Advanced Network Technologies Laboratory. Radio Frequency Identification

REAL-TIME OPTIMISATION OF TTCAN NETWORKS

UIM242 Stepper Motor Controller with CAN 2.0

OMESH Networks. OPM15 Application Note: Wireless Location and Tracking

Architectures of. Automotive Electrical. Teaching slidess. Complexity Mastered

Lecture #2 Solving the Interconnect Problems in VLSI

FAIL OPERATIONAL E/E SYSTEM CONCEPT FOR FUTURE APPLICATION IN ADAS AND AUTONOMOUS DRIVING

What is a Simulation? Simulation & Modeling. Why Do Simulations? Emulators versus Simulators. Why Do Simulations? Why Do Simulations?

The Bitrate Limits of HSPA+ Enhanced Uplink

MOTOTRBO CAPACITY MAX

Some Areas for PLC Improvement

Optical Fiber Communications p. 1 Introduction p. 1 History of Optical Fibers p. 1 Optical Fibers Versus Metallic Cable Facilities p.

Test And Validation: Coping With Complexity The state of play in vehicle software and system validation

Feb 7, 2018 A potential new Aeronautical Mobile Satellite Route Service system in the 5 GHz band for the RPAS C2 link ICAO WRC19 Workshop, Mexico

Peripheral Sensor Interface for Automotive Applications

Towards Automotive Embedded Systems with Self-X Properties

MOBILE TRAIN RADIO COMMUNICATION

Hamdy Faramawy Senior Application Specialist ABB Sweden

737 LF/HF/VHF/UHF/SHF Spectrum Monitoring System

Modular Vehicle Architectures: A Systems Approach

) A C K A c k n o w l e d g m e n t (

Module Role of Software in Complex Systems

THIS article focuses on the design of an advanced

Advanced Tools for Graphical Authoring of Dynamic Virtual Environments at the NADS

Introduction. Protocol Definitions. The RS-485 Standard. APPLICATION NOTE 3884 How Far and How Fast Can You Go with RS-485?

Design Methodology in the Development of Mechatronic Products -Part 1

A SERVICE-ORIENTED SYSTEM ARCHITECTURE FOR THE HUMAN CENTERED DESIGN OF INTELLIGENT TRANSPORTATION SYSTEMS

101 Overview Presentation

NSF. Hybrid Systems: From Models to Code. Tom Henzinger. UC Berkeley. French Guyana, June 4, 1996 $800 million embedded software failure

Qosmotec. Software Solutions GmbH. Technical Overview. QPER C2X - Car-to-X Signal Strength Emulator and HiL Test Bench. Page 1

PROFINET USER S GUIDE ACSI Servo

Proceedings of Al-Azhar Engineering 7 th International Conference Cairo, April 7-10, 2003.

Arda Gumusalan CS788Term Project 2

Peripheral Sensor Interface for Automotive Applications

Transcription:

Presentation overview Background automotive electronics, an application area for time triggered communication. Time triggered protocols A premium passenger car is controlled and managed by 80+ Embedded Systems Comfort Electronics: Thermal Management Chassis Control Parking Assistant Infotainment: Telematics Solutions Car PC Wireless Connectivity Cartocar communication Floating Car Data TTCAN, based on popular Controller Area Network (CAN) protocol. TTP/C, Operational in civil aircrafts. FlexRay, based on BMW s ByteFlight. TTEthernet, based on classical Ethernet. Hybrid scheduling combining static scheduling with fixed priority scheduling analysis. Safety: Predictive Safety Systems Driver Assistance Systems Adaptive Cruise Control Electric Power Steering Powertrain: Engine Management Transmission Control Power Management Courtesy of Daimler, Bosch 1 2 Virtual differentiation between variants Example of the electrical system complexity 19271997 Variant 1 Entertainment A All variants of a specific model are physically identical and differ only in their individual software The various included physical components can be activated or deactivated by the software Motor A Motor B Variant 2 Entertainment F No. of fuses 27 54 1200 575 Wiring diagram, Volvo ÖV4 ( Jacob ) 1927 16 9 283 4 5 7 183 83 50 30 1927 1944 1956 1966 1975 1982 1997 No. of meters of electric wires 3 4

The evolution of functional requirements on the electrical system Automotive electronics roadmap Power production and distribution Simple components Architecture Optimisation on many levels Standardised interfaces More complex functions standalone systems ABS, Airbag Integration of systems Optimisation of information Common data busses 1970 1980 1990 2000 2010 Features 450 400 350 300 250 200 150 100 50 0 1930 1940 1950 1960 1970 1980 1990 1995 2000 2005 # of functions # of integrated functions 5 6 Example of the electrical system Multiplex Networks Mirror Lock CAN Lock Window Lift Universal Light Light Conventional system Network Identifier Data Command Control Power Train ITS x6 Instruments Central Body Ctrl StWheel Panel Climate Light Seat Roof Seat CAN Htng Interior Light Htng Htng Htng Wiper WHtg Trunk Seat Control units Module Engine Control Automatic Transmission Driver Information Lock SubBus Mirror Lock Universal Motor Universal Panel Central Module 7 8

Bywire control Electronic information carrier Electronics in distributed control Hydraulic information carrier The F8 Digital FlyByWire (DFBW) flight research project validated the principal concepts of allelectric flight control systems now used on nearly all modern highperformance aircraft and on military and civilian transports. The first flight of the 13year project was on May 25, 1972. Courtesy of Dryden Flight Research Center ((( ))) traffic control ((( ))) wayside control train (consist) control local control 9 10 Control system implementation strategies Nonfunctional requirements Local control Local information processing Independent control objects Centralized global control Local and central information processing Interconnected control objects Distributed global control Local and distributed information processing Interconnected control objects Performance/ Efficiency Security Safety Costeffectiveness Interoperability Produceability Timeliness System life time System Architecture Conceptual integrity Changeability Testability Usability Availability Reliability Understandability Maintainability Extendability Portability Restructuring Robustness Fault tolerance Variability (variants, s) 11 12

Tradeoffs from Safety/Reliability requirements The extremes from reliability requirements leads to safety requirements. Safety requirements implies redundancy, (FailOperational, FailSafe, etc). Safety requirements also demands predictability, we has to show, a priori, that the system will fulfill it s mission in every surrounding at every time. Time Triggered CAN Based on the CAN protocol Bus topology Media: twisted pair 1Mbit/s In a distributed environment, only time triggered protocols with redundant buses can provide this safety. Contemporary TTP s are: TTCAN, based on Controller Area Network (CAN) which is widely used in today's vehicular electronic systems. TTP/C, Originally from TU Vienna. Operational in civil aircrafts. FlexRay, based on BMW s ByteFlight. Operational in contemporary automotive electronic systems. TimeTriggered Ethernet. TTEthernet expands classical Ethernet with services to meet timecritical, deterministic or safetyrelevant conditions. cycle 0 cycle 1 cycle 2 cycle 3 Transmission Columns Time is global and measured in network time units (NTU s) t Exclusive guaranteed service Arbitration guaranteed service (high ID), best effort (low ID) Reserved for future expansion... 13 14 Time Triggered Protocol /Communication Double channels (one redundant). Bus topology or star (optical) Media: twisted pair, fibre 10 Mbit/s for each channel Flexray Double channels, bus or star (even mixed). Media: twisted pair, fibre 10 Mbit/s for each channel A network is built on either twin buses or twin stars. Redundant channel can be used for an alternative schedule Static segment (TTCAN Exclusive ) guaranteed service Dynamic segment (TTCAN Arbitration ) guaranteed service (high ID), best effort (low ID) All communication is statically scheduled Guaranteed service, Non periodical messages has to been fitted into static slots by the application Max 64 nodes on a Flexray network. 15 16

Time Triggered Ethernet Classic Ethernet bus topology 1 Gbit for each channel Comparisons All protocols targets real time applications. TTCAN and Flexay combines time AND event triggered paradigms well. All protocols are suitable for scheduling tools. TTP/C has commercial production tools. Tools for TTCAN and Flexray are anticipated. Compare with TTCAN basic cycles Every base period Every second base period Every fourth base period CAN, many years experiences, a lot of existing applications. Implies migration of existing CAN applications into TTCAN. TTP/C considered as complex. Poor support for asynchronous events. High complexity, lacks second (or multiple) sources. Flexray is the latest initiative. New hardware, promoted in for example AUTOSAR. TTEthernet. Proven technology with lots of existing hardware, 17 18 What to choose? Combining time triggering with events: Example of Hybrid scheduling for TTCAN Messages are sorted into three different categories: Hard realtime, for minimal jitter with guaranteed response time. Firm realtime, for guaranteed response time, but can tolerate jitter. Soft realtime, for best effort messages. 19 20

TTCAN detailed study Time triggered messages M h cycle 0 Transmission Columns time windows cycle 1 cycle 2 Response time analysis Q T B cycle 3 After structuring: M : {M h, M f, M s }, assume that at least M h is defined. We now construct a matrix cycle. Due to protocol constraints, the schedule has to fulfil: LCM( M h p ) = x 2 n where: LCM is least common multiple period for the M h message set; x is the preferred length of a basic cycle within LCM; n is the number of basic cycles. R i B i T i Q i Hardware constraints: Hwc1: 1 x 2 y, has to be consistent with a hardware register, y bits Hwc2: 0 n k, always a power of 2, constraint in hardware. Hwc3: # of triggers Tr, columns in the matrix cycle. Limited by the number of available trigger registers. 21 22 Multiple solutions satisfies the equation... Persuing the strategies... Construct a schedule for the following set: Choose a strategy: Strategy 1: Minimize number of basic cycles, requires a longer basic cycle, and more triggers. M h = ( M1, M2, M3) with the following attributes (NTU): M1 p = 1000, M1 e = 168 M2 p = 2000, M2 e = 184 M3 p = 3000, M3 e = 216 Strategy 2: Minimize length of basic cycles, increase probability of finding a feasible schedule for large message It s obvious that: LCM( M1, M2, M3 ) = 6000. and: 6000 = x 2 n 23 24

Strategy 1 Minimizing number of basic cycles yields: 2 n = 1, so n = 0 and x = 6000. Hwc1 and Hwc2 are fulfilled. Total numbers of triggers for N messages in one basic cycle is: N LCM( M ) i in this case: i1 M # of triggers = 6000 1000 6000 2000 6000 3000 So, strategy 1, leads to a solution with: 1 basic cycle and 11 triggers. MAtrix cycle length is 6000 NTU. 11 Cycle Triggers 0 168 352 1000 2000 2168 3000 3352 4000 4168 5000 M 1 M 2 M 3 M 1 M 1 M 2 M 1 M 3 M 1 M 2 M 1 Strategy 2 n = 0: 6000 = x 2 0 x = 6000 (same as strategy 1) n = 1: 6000 = x 2 1 x = 3000 n = 2: 6000 = x 2 2 x = 1500 n = 3: 6000 = x 2 3 x = 750 n = 4: 6000 = x 2 4 x = 375 n = 5: 6000 = x 2 5 x = 187.5 1 (at 0) 0 cycle 2 (at 375) 3 (at 750) 4 (at 1125) 5 (at 1500) 6 (at 1875) 7 (at 2250) 8 (at 2625) 9 (at 3000) 3000 10 (at 3375) 11 (at 3750) 12 (at 4125) 4125 13 (at 4500) 14 (at 4875) 15 (at 5250) 16 (at 5625) 168 4168 352 2000 2168 1000 3352 4000 5000 1 M 1 M 2 M 3 3 2 0 3 M 1 1 4 0 5 0 6 M 1 M 2 2 7 0 8 0 9 M 1 M 3 2 10 0 11 M 1? 1 12?M 1 M 2 2 13 0 14 M 1 1 15 0 16 0 Trigger Information Minimum Triggers 25 26 Strategy 2 Verifying the events... (M f ) Avoid this conflict with the requirement that: a basic cycle shall be at least as long as the shortest period in the message set. Cycle Grey slots are supposed to be allocated for M h NTUslots (Columns) Applying this restriction we get: n = 2, (x = 1500) which yields a feasible schedule: 1 q 0 2 q 1 q 2 3 q 3 q 4 q 5.. 2 n q N3 q N2 q N1 cycle 1 2 3 4 0 3000 168 352 3352 2000 5000 2168 4000 1000 4168 1 M 1 M 2 M 3 M 1 4 2 M 1 M 2 2 3 M 1 M 3 M 1 M 2 4 4 M 1 1 Trigger Information Minimum Triggers for each message m in M f : for message m = 1 up to last_m for virtual message VM i = 1 up to last_vm if( Q m + T m ) falls within ( VM i,start, VM i,completion ) Q m = VM i,completion else Q m endif end end end 1 j: Pm Pj Qm Tj t j 27 28

Conclusions Applicable real time communication protocols for safetycritical applications has to provide strictly periodical (minimal jitter), periodical (jitter is negligible) and aperiodic communication to fully support control applications. Scheduling periodical and aperiodical events requires a combined approach, hybrid scheduling. Hybrid scheduling is sparsely found in today s literature... Thank you for your attention. 29 30