SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Downloaden Sie, um offline zu lesen
Virtualization in Automotive
     Embedded Systems :
          an Outlook
 Nicolas Navet, RTaW
 Bertrand Delord, PSA Peugeot Citroën
 Markus Baumeister, Freescale




Talk at RTS Embedded Systems 2010
          Paris, 31/03/2010
Outline


          1. Automotive E/E Systems: mastering complexity
          2. Ecosystems of virtualization technologies
          3. Automotive use-cases of virtualization
          4. Limits of virtualization




© 2010 RTaW / PSA / Freescale - 2
Mastering complexity of
                                    automotive Electrical and
                                    Electronics (E/E) Systems




© 2010 RTaW / PSA / Freescale - 3
Electronics is the driving
                                       force of innovation

                                                –    90% of new functions use software
                                                –    Electronics: 40% of total costs
                                                –    Huge complexity: 80 ECUs,
                                                    2500 signals, 6 networks,
                                                    multi-layered run-time environment
                                                    (AUTOSAR), multi-source software,
                                                    multi-core CPUs, etc


                              Strong costs, safety, reliability, time‐to‐market, 
                                       reusability, legal constraints !

© 2010 RTaW / PSA / Freescale - 4
Proliferation of ECUs
                                                                                     raises problems!
                                                                    50




                                    Number of ECUs (CAN/MOST/LIN)
                                                                    45


                                                                    40


                                                                    35


                                                                    30


                                                                    25


                                                                    20


                                                                    15                                                                Mercedes-Benz
                                                                                                                                      BMW
                                                                    10
                                                                                                                                      Audi
                                                                     5                                                                VW
                                                                     0
                                                                     1986   1988     1990   1992   1994   1996   1998   2000   2002    2004   2006   2008

                                                                                                             Year          Graphics on this page from [3]


                                                                                   Lexus LS430 has more than 100 ECUs [9]
© 2010 RTaW / PSA / Freescale - 5
The case of a “generalist”
                                        car manufacturer - PSA
                                      45


                                      40


                                      35


                                      30                                                                             CAN LAS
                                                                                                                     info-div
                                                                                                                     LIN
                                      25
                                                                                                                     CAN CAR
                                                                                                                     CAN CONF
                                      20                                                                             CAN I/S


                                      15


                                      10


                                       5


                                       0
                                           X4-2000   X4-2003   D2 2004   D2 TG   D25   X3   X6-2005   X7-2007   W2
                                                                                 PF3




                                    The number of ECUs has more than doubled in 10 years
© 2010 RTaW / PSA / Freescale - 6
Possible upcoming architectures
                            in two car generations
           Fewer ECUs but more powerful
           –     Multi-core μ-controller
           –     Multi-source software
                   – Autosar OS strong protection mechanisms
                   – Virtualization ?
           –     ISO2626-2 dependability standard

                                                          Backbone :
                                                          – CAN 500Kbit/s with offsets
                                                          – FlexRay™ : 10 Mbit/s
                                                          – Ethernet ?


                                                               How centralized is unsure 
                                                                because of carry‐over .. 

   FlexRay™ as backbone at BWM in a few years [8]

© 2010 RTaW / PSA / Freescale - 7
Ecosystem of virtualization
                                           technologies




© 2010 RTaW / PSA / Freescale - 8
Virtualization basics
    Executing software on virtual machines
      decoupled from the real HW
    –     Virtual Machine: software that executes software like a physical machine
    –     (System) VM contains an OS
    –     HW resources can be shared between VMs : role of hypervisor




                        Strong isolation 
                    between VMs : security 
                   and fault‐confinement are 
                    the primary motivations

                                                                                 Picture from [2]

© 2010 RTaW / PSA / Freescale - 9
Classification of virtualization schemes                             [3]


                                             Virtualization




                                      Emulation          Native



                 Hypoth.                Real          Full         Para-
                 Machine               Machine       Virtua.      virtua.

           eg. JVM                   eg. Bochs     eg. Z/VM eg. Xen, Sysgo,
                                                              Wind River

© 2010 RTaW / PSA / Freescale - 10
Use-cases of virtualization




© 2010 RTaW / PSA / Freescale - 11
Heterogeneous operating system
                             environments (1/2)

              Re-use of a complete legacy ECU : eg. parking
              assistance

                                       Legacy
 Benefits
 –     Time-to-market,
                                     applications
 –
 –
       Cost reduction
       Validation done
                                      Legacy OS
 –     Way to deal with                   +
       discontinued hardware
                                     Comm. stack

                                                    Hypervisor
                                                    hardware
© 2010 RTaW / PSA / Freescale - 12
Heterogeneous operating system
                             environments (2/2)
          Using the best execution platform : eg. Body gateway with
          both an Autosar and an infotainment VM (eg., linux, android)


            Benefits
            –     Performances
            –     Availability of manpower / applications
            –     Time-to-market
            –     Security despite open systems
            –     Segregation in “vehicle domains”                   VMM
            –     Etc
                                                                Picture from [2]




                            The most obvious and likely use‐case in a first step 

© 2010 RTaW / PSA / Freescale - 13
Virtualization for
                              security-critical sub-systems
                 Benefits:
                 – Critical code can run on bare hardware
                 – Sufficiently small for formal methods
                 – “Brick-wall” partitioning for open systems (OTA update)




                                     Critical
                                      code
                                                Hypervisor
                                                hardware
© 2010 RTaW / PSA / Freescale - 14
Virtualization for
                                 safety-critical sub-systems
        Short term benefits:
        – Memory, CPU, IO protection mechanisms
        – Redundant execution with diversity reduces common faults,
          possible to go one step farther with OS and com. stack diversity
        – Monitoring / watchdog on the same multi-core chip
          (ideally with some HW diversity at the core level)
        Medium term goal:
        – Virtual lockstep execution without dedicated HW

                            Not the same scope of protection as Autosar OS
                               Autosar OS : OS application, OS task, ISR 
                                Virtualization : VM (usually with an OS)
© 2010 RTaW / PSA / Freescale - 15
AUTOSAR OS protection mechanism -
                    a recap (see [7])
           Issues : resource confiscation (CPU, memory,
           drivers), non authorized access / calls, fault-
           propagation
           5 types of mechanisms
                  Memory protection
                  Temporal protection
                                                As of Autosar R4, there 
                                                    are multi‐core 
                  OS service protection
                                               extensions enabling CPU 
                  HW resource protection
                                                   core partitioning  
                  trusted / non-trusted code

           4 scalability classes
© 2010 RTaW / PSA / Freescale - 16
Limits of virtualization




© 2010 RTaW / PSA / Freescale - 17
Real-time performances

               Virtualization implies a
         hierarchical two-level scheduling
         that is inherently less predictable
              and more complex to handle




                                                                                        Picture from [2]
                                     Actually, three‐level scheduling since runnables
                                              are scheduled within OS tasks!

          Static core allocation (to VMs) is probably the way to go ..
© 2010 RTaW / PSA / Freescale - 18
Technical issues
           Memory:
                   VMM footprint: < 64KB
                   Possibly several OSs !
           CPU:
                   Limited hardware support in embedded CPU [6]
                   Preemption, L2 cache flush, locked cache
           Resource sharing is tricky: ISR, IOs, com. controllers
                   Real-time performances (eg. LIN)
                   peripheral virtualization is complex (eg. CAN)
           VMM must be kept small to be secure (more than guest
           OSs) and ideally bug free … otherwise responsibility
           sharing is impossible

© 2010 RTaW / PSA / Freescale - 19
Conclusion

               Virtualization is a mature technology, industrial
               risk is limited
               Automotive can benefit from both aerospace /
               military and consumer electronic experiences:
               Products, certification, deployment tools, etc
               The overlap between virtualization and Autosar
               OS seems small
               There are meaningful use-cases but real-time
               behavior of the virtualized systems should be
               (formally) verified.
© 2010 RTaW / PSA / Freescale - 20
References




© 2010 RTaW / PSA / Freescale - 21
References
                                     [1] N. Navet, F. Simonot-Lion, editors, The Automotive Embedded Systems
                                         Handbook, Industrial Information Technology series, CRC Press / Taylor
                                         and Francis, ISBN 978-0849380266, December 2008.
                                     [2] R. Kaiser, D. Zöbel, Quantitative Analysis and Systematic Parametrization
                                         of a Two-Level Real-Time Scheduler, paper and slides at IEEE ETFA’2009.
                                     [3] T. Nolte, Hierarchical Scheduling of Complex Embedded Real-Time
                                         Systems, slides presented at the Summer School on Real-Time Systems
                                         (ETR’09), Paris, 2009.
                                     [4] G. Heiser, The role of virtualization in embedded systems, Proceedings of
                                         the 1st workshop on Isolation and integration in embedded systems,
                                         2008.
                                     [5] D. Baldin, T. Kerstan, Proteus, a Hybrid Virtualization Platform for
                                         Embedded Systems, IFIP Advances in Information and Communication
                                         Technology, 978-3-642-04283-6, 2009.
                                     [6] F. Behmann, Virtualization for embedded Power Architecture CPUs,
                                         Electronic Products, September 2009.
                                     [7] N. Navet, A. Monot, B. Bavoux, F. Simonot-Lion, Multi-source and
                                         multicore automotive ECUs - OS protection mechanisms and scheduling,
                                         to appear in IEEE ISIE, 2010.
                                     [8] A. Schedl, Goals and Architecture of FlexRay at BMW, slides presented at
                                         the Vector FlexRay Symposium, March 2007.
                                     [9] R. Schreffler, Japanese OEMs, Suppliers, Strive to Curb ECU Proliferation,
                                         Wardsauto.com, March 6, 2006.

© 2010 RTaW / PSA / Freescale - 22
Questions / feedback ?




                                           Please get in touch at :
                                     nicolas.navet@realtimeatwork.com
                                         bertrand.delord@mpsa.com
                                           B17517@freescale.com

© 2010 RTaW / PSA / Freescale - 23

Weitere ähnliche Inhalte

Ähnlich wie Virtualization in Automotive Embedded Systems : an Outlook

T062500000 p003050ppte
T062500000 p003050ppteT062500000 p003050ppte
T062500000 p003050pptePhani Kumar
 
Strategies for End-to-End Timing Guarantees in a Centralized Software Defined...
Strategies for End-to-End Timing Guarantees in a Centralized Software Defined...Strategies for End-to-End Timing Guarantees in a Centralized Software Defined...
Strategies for End-to-End Timing Guarantees in a Centralized Software Defined...RealTime-at-Work (RTaW)
 
Automotive Telematics Market Analysis
Automotive Telematics Market AnalysisAutomotive Telematics Market Analysis
Automotive Telematics Market AnalysisTee Lim
 
Towards Computer-Aided, Iterative TSN-and Ethernet-based E/E Architecture Design
Towards Computer-Aided, Iterative TSN-and Ethernet-based E/E Architecture DesignTowards Computer-Aided, Iterative TSN-and Ethernet-based E/E Architecture Design
Towards Computer-Aided, Iterative TSN-and Ethernet-based E/E Architecture DesignRealTime-at-Work (RTaW)
 
“Embedded Vision in ADAS and Autonomous Vehicles: Navigating the New Reality,...
“Embedded Vision in ADAS and Autonomous Vehicles: Navigating the New Reality,...“Embedded Vision in ADAS and Autonomous Vehicles: Navigating the New Reality,...
“Embedded Vision in ADAS and Autonomous Vehicles: Navigating the New Reality,...Edge AI and Vision Alliance
 
Radar and Wireless for Automotive: Market and Technology Trends 2019 report b...
Radar and Wireless for Automotive: Market and Technology Trends 2019 report b...Radar and Wireless for Automotive: Market and Technology Trends 2019 report b...
Radar and Wireless for Automotive: Market and Technology Trends 2019 report b...Yole Developpement
 
Signal-Oriented ECUs in a Centralized Service-Oriented Architecture: Scalabil...
Signal-Oriented ECUs in a Centralized Service-Oriented Architecture: Scalabil...Signal-Oriented ECUs in a Centralized Service-Oriented Architecture: Scalabil...
Signal-Oriented ECUs in a Centralized Service-Oriented Architecture: Scalabil...RealTime-at-Work (RTaW)
 
Master diagnostic sockets
Master diagnostic socketsMaster diagnostic sockets
Master diagnostic socketscrimaclaber
 
AFM Railway Catalogue
AFM Railway CatalogueAFM Railway Catalogue
AFM Railway CatalogueAFM
 
Intland Software | codeBeamer ALM: What’s in the Pipeline for the Automotive ...
Intland Software | codeBeamer ALM: What’s in the Pipeline for the Automotive ...Intland Software | codeBeamer ALM: What’s in the Pipeline for the Automotive ...
Intland Software | codeBeamer ALM: What’s in the Pipeline for the Automotive ...Intland Software GmbH
 
13_RS_Automotive_Ethernet_The_Future_for_In_Vehicle_Networks.pdf
13_RS_Automotive_Ethernet_The_Future_for_In_Vehicle_Networks.pdf13_RS_Automotive_Ethernet_The_Future_for_In_Vehicle_Networks.pdf
13_RS_Automotive_Ethernet_The_Future_for_In_Vehicle_Networks.pdfjordan307266
 
Keynote 4 cornelius_koetz_v04
Keynote 4 cornelius_koetz_v04Keynote 4 cornelius_koetz_v04
Keynote 4 cornelius_koetz_v04goodgolier
 
Examining BMW´s Open Architecture for Telematic Applications - H Michel
Examining BMW´s Open Architecture for Telematic Applications - H MichelExamining BMW´s Open Architecture for Telematic Applications - H Michel
Examining BMW´s Open Architecture for Telematic Applications - H Michelmfrancis
 
1628502836912_CAN_TP,DCM&AutosarCAN.pptx
1628502836912_CAN_TP,DCM&AutosarCAN.pptx1628502836912_CAN_TP,DCM&AutosarCAN.pptx
1628502836912_CAN_TP,DCM&AutosarCAN.pptxYamini454
 
Aci Scanner Introduction
Aci Scanner IntroductionAci Scanner Introduction
Aci Scanner Introductionobddeal
 
Fev @ Take A Breath 2012
Fev @ Take A Breath 2012Fev @ Take A Breath 2012
Fev @ Take A Breath 2012Loccioni Group
 
The data defined-vehicle_architecture
The data defined-vehicle_architectureThe data defined-vehicle_architecture
The data defined-vehicle_architectureSebastian Wedeniwski
 
7th Gen AMD A-Series Announcement
7th Gen AMD A-Series Announcement7th Gen AMD A-Series Announcement
7th Gen AMD A-Series AnnouncementKok Kee
 

Ähnlich wie Virtualization in Automotive Embedded Systems : an Outlook (20)

T062500000 p003050ppte
T062500000 p003050ppteT062500000 p003050ppte
T062500000 p003050ppte
 
Strategies for End-to-End Timing Guarantees in a Centralized Software Defined...
Strategies for End-to-End Timing Guarantees in a Centralized Software Defined...Strategies for End-to-End Timing Guarantees in a Centralized Software Defined...
Strategies for End-to-End Timing Guarantees in a Centralized Software Defined...
 
Automotive Telematics Market Analysis
Automotive Telematics Market AnalysisAutomotive Telematics Market Analysis
Automotive Telematics Market Analysis
 
Towards Computer-Aided, Iterative TSN-and Ethernet-based E/E Architecture Design
Towards Computer-Aided, Iterative TSN-and Ethernet-based E/E Architecture DesignTowards Computer-Aided, Iterative TSN-and Ethernet-based E/E Architecture Design
Towards Computer-Aided, Iterative TSN-and Ethernet-based E/E Architecture Design
 
“Embedded Vision in ADAS and Autonomous Vehicles: Navigating the New Reality,...
“Embedded Vision in ADAS and Autonomous Vehicles: Navigating the New Reality,...“Embedded Vision in ADAS and Autonomous Vehicles: Navigating the New Reality,...
“Embedded Vision in ADAS and Autonomous Vehicles: Navigating the New Reality,...
 
Radar and Wireless for Automotive: Market and Technology Trends 2019 report b...
Radar and Wireless for Automotive: Market and Technology Trends 2019 report b...Radar and Wireless for Automotive: Market and Technology Trends 2019 report b...
Radar and Wireless for Automotive: Market and Technology Trends 2019 report b...
 
Signal-Oriented ECUs in a Centralized Service-Oriented Architecture: Scalabil...
Signal-Oriented ECUs in a Centralized Service-Oriented Architecture: Scalabil...Signal-Oriented ECUs in a Centralized Service-Oriented Architecture: Scalabil...
Signal-Oriented ECUs in a Centralized Service-Oriented Architecture: Scalabil...
 
Master diagnostic sockets
Master diagnostic socketsMaster diagnostic sockets
Master diagnostic sockets
 
AFM Railway Catalogue
AFM Railway CatalogueAFM Railway Catalogue
AFM Railway Catalogue
 
Intland Software | codeBeamer ALM: What’s in the Pipeline for the Automotive ...
Intland Software | codeBeamer ALM: What’s in the Pipeline for the Automotive ...Intland Software | codeBeamer ALM: What’s in the Pipeline for the Automotive ...
Intland Software | codeBeamer ALM: What’s in the Pipeline for the Automotive ...
 
13_RS_Automotive_Ethernet_The_Future_for_In_Vehicle_Networks.pdf
13_RS_Automotive_Ethernet_The_Future_for_In_Vehicle_Networks.pdf13_RS_Automotive_Ethernet_The_Future_for_In_Vehicle_Networks.pdf
13_RS_Automotive_Ethernet_The_Future_for_In_Vehicle_Networks.pdf
 
Keynote 4 cornelius_koetz_v04
Keynote 4 cornelius_koetz_v04Keynote 4 cornelius_koetz_v04
Keynote 4 cornelius_koetz_v04
 
Examining BMW´s Open Architecture for Telematic Applications - H Michel
Examining BMW´s Open Architecture for Telematic Applications - H MichelExamining BMW´s Open Architecture for Telematic Applications - H Michel
Examining BMW´s Open Architecture for Telematic Applications - H Michel
 
1628502836912_CAN_TP,DCM&AutosarCAN.pptx
1628502836912_CAN_TP,DCM&AutosarCAN.pptx1628502836912_CAN_TP,DCM&AutosarCAN.pptx
1628502836912_CAN_TP,DCM&AutosarCAN.pptx
 
Aci Scanner Introduction
Aci Scanner IntroductionAci Scanner Introduction
Aci Scanner Introduction
 
Aveva_E3D.pptx
Aveva_E3D.pptxAveva_E3D.pptx
Aveva_E3D.pptx
 
Fev @ Take A Breath 2012
Fev @ Take A Breath 2012Fev @ Take A Breath 2012
Fev @ Take A Breath 2012
 
CO2 standard for new aircraft
CO2 standard for new aircraftCO2 standard for new aircraft
CO2 standard for new aircraft
 
The data defined-vehicle_architecture
The data defined-vehicle_architectureThe data defined-vehicle_architecture
The data defined-vehicle_architecture
 
7th Gen AMD A-Series Announcement
7th Gen AMD A-Series Announcement7th Gen AMD A-Series Announcement
7th Gen AMD A-Series Announcement
 

Mehr von Nicolas Navet

Battery Aware Dynamic Scheduling for Periodic Task Graphs
Battery Aware Dynamic Scheduling for Periodic Task GraphsBattery Aware Dynamic Scheduling for Periodic Task Graphs
Battery Aware Dynamic Scheduling for Periodic Task GraphsNicolas Navet
 
Automotive communication systems: from dependability to security
Automotive communication systems: from dependability to securityAutomotive communication systems: from dependability to security
Automotive communication systems: from dependability to securityNicolas Navet
 
Mécanismes de protection dans AUTOSAR OS
Mécanismes de protection dans AUTOSAR OSMécanismes de protection dans AUTOSAR OS
Mécanismes de protection dans AUTOSAR OSNicolas Navet
 
Pushing the limits of CAN - Scheduling frames with offsets provides a major p...
Pushing the limits of CAN - Scheduling frames with offsets provides a major p...Pushing the limits of CAN - Scheduling frames with offsets provides a major p...
Pushing the limits of CAN - Scheduling frames with offsets provides a major p...Nicolas Navet
 
Configuring the communication on FlexRay: the case of the static segment
Configuring the communication on FlexRay: the case of the static segmentConfiguring the communication on FlexRay: the case of the static segment
Configuring the communication on FlexRay: the case of the static segmentNicolas Navet
 
Automating the Configuration of the FlexRay Communication Cycle
Automating the Configuration of the FlexRay Communication CycleAutomating the Configuration of the FlexRay Communication Cycle
Automating the Configuration of the FlexRay Communication CycleNicolas Navet
 
Aperiodic Traffic in Response Time Analyses with Adjustable Safety Level
Aperiodic Traffic in Response Time Analyses with Adjustable Safety LevelAperiodic Traffic in Response Time Analyses with Adjustable Safety Level
Aperiodic Traffic in Response Time Analyses with Adjustable Safety LevelNicolas Navet
 
Ertss2010 multicore scheduling
Ertss2010 multicore schedulingErtss2010 multicore scheduling
Ertss2010 multicore schedulingNicolas Navet
 
Optimizing the Robustness of X-by-Wire using Word Combinatorics
Optimizing the Robustness of X-by-Wire using Word CombinatoricsOptimizing the Robustness of X-by-Wire using Word Combinatorics
Optimizing the Robustness of X-by-Wire using Word CombinatoricsNicolas Navet
 
Cief2007 nn shc_slides
Cief2007 nn shc_slidesCief2007 nn shc_slides
Cief2007 nn shc_slidesNicolas Navet
 

Mehr von Nicolas Navet (12)

Battery Aware Dynamic Scheduling for Periodic Task Graphs
Battery Aware Dynamic Scheduling for Periodic Task GraphsBattery Aware Dynamic Scheduling for Periodic Task Graphs
Battery Aware Dynamic Scheduling for Periodic Task Graphs
 
Automotive communication systems: from dependability to security
Automotive communication systems: from dependability to securityAutomotive communication systems: from dependability to security
Automotive communication systems: from dependability to security
 
Mécanismes de protection dans AUTOSAR OS
Mécanismes de protection dans AUTOSAR OSMécanismes de protection dans AUTOSAR OS
Mécanismes de protection dans AUTOSAR OS
 
Pushing the limits of CAN - Scheduling frames with offsets provides a major p...
Pushing the limits of CAN - Scheduling frames with offsets provides a major p...Pushing the limits of CAN - Scheduling frames with offsets provides a major p...
Pushing the limits of CAN - Scheduling frames with offsets provides a major p...
 
New policies
New policiesNew policies
New policies
 
Isi2007 nn shc_2007
Isi2007 nn shc_2007Isi2007 nn shc_2007
Isi2007 nn shc_2007
 
Configuring the communication on FlexRay: the case of the static segment
Configuring the communication on FlexRay: the case of the static segmentConfiguring the communication on FlexRay: the case of the static segment
Configuring the communication on FlexRay: the case of the static segment
 
Automating the Configuration of the FlexRay Communication Cycle
Automating the Configuration of the FlexRay Communication CycleAutomating the Configuration of the FlexRay Communication Cycle
Automating the Configuration of the FlexRay Communication Cycle
 
Aperiodic Traffic in Response Time Analyses with Adjustable Safety Level
Aperiodic Traffic in Response Time Analyses with Adjustable Safety LevelAperiodic Traffic in Response Time Analyses with Adjustable Safety Level
Aperiodic Traffic in Response Time Analyses with Adjustable Safety Level
 
Ertss2010 multicore scheduling
Ertss2010 multicore schedulingErtss2010 multicore scheduling
Ertss2010 multicore scheduling
 
Optimizing the Robustness of X-by-Wire using Word Combinatorics
Optimizing the Robustness of X-by-Wire using Word CombinatoricsOptimizing the Robustness of X-by-Wire using Word Combinatorics
Optimizing the Robustness of X-by-Wire using Word Combinatorics
 
Cief2007 nn shc_slides
Cief2007 nn shc_slidesCief2007 nn shc_slides
Cief2007 nn shc_slides
 

Kürzlich hochgeladen

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 

Kürzlich hochgeladen (20)

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 

Virtualization in Automotive Embedded Systems : an Outlook

  • 1. Virtualization in Automotive Embedded Systems : an Outlook Nicolas Navet, RTaW Bertrand Delord, PSA Peugeot Citroën Markus Baumeister, Freescale Talk at RTS Embedded Systems 2010 Paris, 31/03/2010
  • 2. Outline 1. Automotive E/E Systems: mastering complexity 2. Ecosystems of virtualization technologies 3. Automotive use-cases of virtualization 4. Limits of virtualization © 2010 RTaW / PSA / Freescale - 2
  • 3. Mastering complexity of automotive Electrical and Electronics (E/E) Systems © 2010 RTaW / PSA / Freescale - 3
  • 4. Electronics is the driving force of innovation – 90% of new functions use software – Electronics: 40% of total costs – Huge complexity: 80 ECUs, 2500 signals, 6 networks, multi-layered run-time environment (AUTOSAR), multi-source software, multi-core CPUs, etc Strong costs, safety, reliability, time‐to‐market,  reusability, legal constraints ! © 2010 RTaW / PSA / Freescale - 4
  • 5. Proliferation of ECUs raises problems! 50 Number of ECUs (CAN/MOST/LIN) 45 40 35 30 25 20 15 Mercedes-Benz BMW 10 Audi 5 VW 0 1986 1988 1990 1992 1994 1996 1998 2000 2002 2004 2006 2008 Year Graphics on this page from [3] Lexus LS430 has more than 100 ECUs [9] © 2010 RTaW / PSA / Freescale - 5
  • 6. The case of a “generalist” car manufacturer - PSA 45 40 35 30 CAN LAS info-div LIN 25 CAN CAR CAN CONF 20 CAN I/S 15 10 5 0 X4-2000 X4-2003 D2 2004 D2 TG D25 X3 X6-2005 X7-2007 W2 PF3 The number of ECUs has more than doubled in 10 years © 2010 RTaW / PSA / Freescale - 6
  • 7. Possible upcoming architectures in two car generations Fewer ECUs but more powerful – Multi-core μ-controller – Multi-source software – Autosar OS strong protection mechanisms – Virtualization ? – ISO2626-2 dependability standard Backbone : – CAN 500Kbit/s with offsets – FlexRay™ : 10 Mbit/s – Ethernet ? How centralized is unsure  because of carry‐over ..  FlexRay™ as backbone at BWM in a few years [8] © 2010 RTaW / PSA / Freescale - 7
  • 8. Ecosystem of virtualization technologies © 2010 RTaW / PSA / Freescale - 8
  • 9. Virtualization basics Executing software on virtual machines decoupled from the real HW – Virtual Machine: software that executes software like a physical machine – (System) VM contains an OS – HW resources can be shared between VMs : role of hypervisor Strong isolation  between VMs : security  and fault‐confinement are  the primary motivations Picture from [2] © 2010 RTaW / PSA / Freescale - 9
  • 10. Classification of virtualization schemes [3] Virtualization Emulation Native Hypoth. Real Full Para- Machine Machine Virtua. virtua. eg. JVM eg. Bochs eg. Z/VM eg. Xen, Sysgo, Wind River © 2010 RTaW / PSA / Freescale - 10
  • 11. Use-cases of virtualization © 2010 RTaW / PSA / Freescale - 11
  • 12. Heterogeneous operating system environments (1/2) Re-use of a complete legacy ECU : eg. parking assistance Legacy Benefits – Time-to-market, applications – – Cost reduction Validation done Legacy OS – Way to deal with + discontinued hardware Comm. stack Hypervisor hardware © 2010 RTaW / PSA / Freescale - 12
  • 13. Heterogeneous operating system environments (2/2) Using the best execution platform : eg. Body gateway with both an Autosar and an infotainment VM (eg., linux, android) Benefits – Performances – Availability of manpower / applications – Time-to-market – Security despite open systems – Segregation in “vehicle domains” VMM – Etc Picture from [2] The most obvious and likely use‐case in a first step  © 2010 RTaW / PSA / Freescale - 13
  • 14. Virtualization for security-critical sub-systems Benefits: – Critical code can run on bare hardware – Sufficiently small for formal methods – “Brick-wall” partitioning for open systems (OTA update) Critical code Hypervisor hardware © 2010 RTaW / PSA / Freescale - 14
  • 15. Virtualization for safety-critical sub-systems Short term benefits: – Memory, CPU, IO protection mechanisms – Redundant execution with diversity reduces common faults, possible to go one step farther with OS and com. stack diversity – Monitoring / watchdog on the same multi-core chip (ideally with some HW diversity at the core level) Medium term goal: – Virtual lockstep execution without dedicated HW Not the same scope of protection as Autosar OS Autosar OS : OS application, OS task, ISR  Virtualization : VM (usually with an OS) © 2010 RTaW / PSA / Freescale - 15
  • 16. AUTOSAR OS protection mechanism - a recap (see [7]) Issues : resource confiscation (CPU, memory, drivers), non authorized access / calls, fault- propagation 5 types of mechanisms Memory protection Temporal protection As of Autosar R4, there  are multi‐core  OS service protection extensions enabling CPU  HW resource protection core partitioning   trusted / non-trusted code 4 scalability classes © 2010 RTaW / PSA / Freescale - 16
  • 17. Limits of virtualization © 2010 RTaW / PSA / Freescale - 17
  • 18. Real-time performances Virtualization implies a hierarchical two-level scheduling that is inherently less predictable and more complex to handle Picture from [2] Actually, three‐level scheduling since runnables are scheduled within OS tasks! Static core allocation (to VMs) is probably the way to go .. © 2010 RTaW / PSA / Freescale - 18
  • 19. Technical issues Memory: VMM footprint: < 64KB Possibly several OSs ! CPU: Limited hardware support in embedded CPU [6] Preemption, L2 cache flush, locked cache Resource sharing is tricky: ISR, IOs, com. controllers Real-time performances (eg. LIN) peripheral virtualization is complex (eg. CAN) VMM must be kept small to be secure (more than guest OSs) and ideally bug free … otherwise responsibility sharing is impossible © 2010 RTaW / PSA / Freescale - 19
  • 20. Conclusion Virtualization is a mature technology, industrial risk is limited Automotive can benefit from both aerospace / military and consumer electronic experiences: Products, certification, deployment tools, etc The overlap between virtualization and Autosar OS seems small There are meaningful use-cases but real-time behavior of the virtualized systems should be (formally) verified. © 2010 RTaW / PSA / Freescale - 20
  • 21. References © 2010 RTaW / PSA / Freescale - 21
  • 22. References [1] N. Navet, F. Simonot-Lion, editors, The Automotive Embedded Systems Handbook, Industrial Information Technology series, CRC Press / Taylor and Francis, ISBN 978-0849380266, December 2008. [2] R. Kaiser, D. Zöbel, Quantitative Analysis and Systematic Parametrization of a Two-Level Real-Time Scheduler, paper and slides at IEEE ETFA’2009. [3] T. Nolte, Hierarchical Scheduling of Complex Embedded Real-Time Systems, slides presented at the Summer School on Real-Time Systems (ETR’09), Paris, 2009. [4] G. Heiser, The role of virtualization in embedded systems, Proceedings of the 1st workshop on Isolation and integration in embedded systems, 2008. [5] D. Baldin, T. Kerstan, Proteus, a Hybrid Virtualization Platform for Embedded Systems, IFIP Advances in Information and Communication Technology, 978-3-642-04283-6, 2009. [6] F. Behmann, Virtualization for embedded Power Architecture CPUs, Electronic Products, September 2009. [7] N. Navet, A. Monot, B. Bavoux, F. Simonot-Lion, Multi-source and multicore automotive ECUs - OS protection mechanisms and scheduling, to appear in IEEE ISIE, 2010. [8] A. Schedl, Goals and Architecture of FlexRay at BMW, slides presented at the Vector FlexRay Symposium, March 2007. [9] R. Schreffler, Japanese OEMs, Suppliers, Strive to Curb ECU Proliferation, Wardsauto.com, March 6, 2006. © 2010 RTaW / PSA / Freescale - 22
  • 23. Questions / feedback ? Please get in touch at : nicolas.navet@realtimeatwork.com bertrand.delord@mpsa.com B17517@freescale.com © 2010 RTaW / PSA / Freescale - 23