Sie sind auf Seite 1von 15

Virtual Hardware Setup for

Automotive Software Testing


Karthikeyan R (RBEI/EEI)
Mithun B R (RBEI/EBB2)
Robert Bosch Engineering and Business Solution

1
Virtual Hardware Setup for Automotive Software
Testing

vHW Model Plant Model

© Accellera Systems Initiative 2


Modern Automotive System

Safety

Power Connectivity
train
Infotainment

Body
Electronics
Legislation Comfort

© Accellera Systems Initiative 3


Rise in complexity with increasing Automotive feature-set

Source: ETAS

Source: Freescale

© Accellera Systems Initiative 4


Handling increasing complexity

Multi/Many-Core Processing
Model Based Development
Simultaneous engineering
Development Efficiency

Software Architecture
Variant Management
Calibration Efficiency

AGILE Organization
Design Simplicity
Standardization
ECU Resources
Quality

Costs

•vHW helps to cope with Challenges arising out of MultiCore/Manycore Processing


•vHW would be a key enabler for Simultaneous engineering and for improving Agility in
Automotive SW development

© Accellera Systems Initiative 5


Virtual Prototypes in Automotive
Automotive Tier1 view: ECU life cycle…
Tier2 Tier2
OEM OEM OEM
Models HW specification Models HW Models
available available Timeline not to scale
Implementation
Concept phase Series phase
phase

System design (B)SW-development Integration & Verification ECU


HW/SW-CoDesign Bring-up of HW and tooling Variants; Regressions; ISO26262 Networks

…and the challenges addressed by virtual prototypes


Performance Time-to-Market Cost
• MultiCore • Compiler • ECU prototypes & Lab equipment
• New IP / ASICs • Debugger • Global development
Risk • Bring-up 1st silicon Quality
• re-spins • AUTOSAR base SW • Regressions; Fault Injection; Coverage
• HW doesn’t match • Complex Driver • (MultiCore) Debugging

CR/AEH2-Vaupel | 25.9.2014 | 1829 | © Robert Bosch GmbH 2014. All rights reserved,6also regarding any disposal, exploitation,
reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
Virtual Prototypes in Automotive
Automotive Tier1 view: ECU life cycle…
Tier2 Tier2
OEM OEM OEM
Models HW specification Models HW Models
available available Timeline not to scale
Implementation
Concept phase Series phase
phase

System design (B)SW-development Integration & Verification ECU


HW/SW-CoDesign Bring-up of HW and tooling Variants; Regressions; ISO26262 Networks

…and the challenges addressed by virtual prototypes


Performance Time-to-Market Cost
• MultiCore • Compiler • ECU prototypes & Lab equipment
• New IP / ASICs • Debugger • Global development
Risk • Bring-up 1st silicon Quality
• re-spins • AUTOSAR base SW • Regressions; Fault Injection; Coverage
• HW doesn’t match • ComplexDriver • (MultiCore) Debugging

CR/AEH2-Vaupel | 25.9.2014 | 1829 | © Robert Bosch GmbH 2014. All rights reserved,7also regarding any disposal, exploitation,
reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
ISO26262 – ASIL Levels –Impact on Software Validation
and Verification

+ Recommended , ++ Highly recommended

ISO26262 highly recommends usage of simulation & Fault injection for


System ,SW design and Validation
Virtual prototyping plays a key role in achieving the same and can also be
used to verify back to back test results at PC itself.
ASIL – Automotive Safety Integrity Level

© Accellera Systems Initiative 8


Software development and Validation:
Pre-silicon phase
Virtual Hardware for CAN driver development & Validation
Test & measurement tool
Measurement
and logging Test Case 1

Virtual H/W environment


Test Case 2
Renesas uC CAN CANoeCom
Software
Base
simulation Interface
Proxy Node

Report
Test Case n
generation

Virtual hardware setup included Renesas platform with CaNoE interface on ASTC VLAB .
Test Cases were triggered and results were comparable to real H/W
helpful in debugging: As the CAN controller internal information was visible

© Accellera Systems Initiative 9


Virtual Prototyping setup

Actual Hardware

Software
Overview
Analysis
Signal
Tracing

Debug
Platform Creator:
System Creation Synopsys
Library Creation CoMeT/Meteor
Memory Map confg Hardware
Breakpoint
CAN
uC
RAM TIMER …. coupling
module ML/SL
Flash uC Model Coupling

FLASH PWM ADC ….

Virtual Hardware

© Accellera Systems Initiative 10


ISO26262: ASIL-D Validation: Fault Injection
Virtual Hardware for Error Injection

Setup included Infineon Aurix platform coupled with custom ASIC models
running in Synopsys CoMeT/Meteor.
Bit error was injected and production sw was validated.
Same mechanisms will be used for validation of CAN, Flexray, µs-bus, DigRF,
LIN, SENT, Ethernet…
© Accellera Systems Initiative 11
vHW Setup for complete engine project

Simulation: complete Production SW with minimum SW change on vHW platform


with Infineon Aurix
Vehicle plant model (Matlab/Simulink) - Sensors , actuators , CAN , SENT interface
was established with the Platform
Above setup was used to validate Data consistency issues in a multi core
microcontroller

© Accellera Systems Initiative 12


Virtual Hardware for Automated Multi core data
consistency validation
Concurrent
 SW designed for Single core  Distributed over multiple core execution
 Future  Functions will be developed for multicore
 Distribution scenarios  Dynamic

 Forced concurrency  Parallel execution of functions


on different cores
 Controlled and repeatable  Via TCL scripting
 Technique useful for simulation of real time scenarios
from the SW functions

© Accellera Systems Initiative 13


Summary & Challenges
Summary:
• vHW has broader usecases in Automotive software testing.
• vHW helps in achieving ISO26262 ASIL conformance
• vHW can be used for BSW Validation & Verification
• ASW can be run in vHW close to real H/W
• Tools have good SW analysis features.
• Tools will be used for automated and regression test case
execution
Challenges :
• Simulation speed for complete SW project is a big concern
• Advancement in modeling technology needed for speed improvement
• Model Maturity :Quality Issues & Iterations with models
• Expert know-how for e.g tool couplings needed.

© Accellera Systems Initiative 14


Questions

© Accellera Systems Initiative 15

Das könnte Ihnen auch gefallen