Solution Slides: Adaptive MICROSAR - Vector

Transcription

Solution Adaptive MICROSARReady for Next Generation ECUsV1.00.00 2019-10-09

Automotive TrendsMajor Automotive TopicsConnectivityElectrificationAutomated DrivingRequired EnablersConnectivity2Offboard Eco Systems 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-09Supercomputers On Board

Automotive TrendsCloud / BackendEmbedded SystemsAUTOSAR Classic3 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-09 support of high performance processors high bandwidth service based architectures open source, agile development dynamic and updatable internet safe secure embedded integration and debugging automotive supply chain automotive communication protocols automotive diagnostics

Automotive TrendsAdaptive – best of two worlds supportof high performanceprocessorsAdaptiveAUTOSAR system and mobility strategies high bandwidth deep learning service based architectures open source, agile development dynamic and updatable internet safe secure basic functions embedded integration and debuggingsafeautomotive supply chainsecureautomotive communication protocolsembedded integration and debuggingautomotive diagnosticsautomotive supply chain fallback computing automotive communication protocols automotive diagnosticsCloud / BackendOn board Supercomputers multipurpose computing servers connectivity, gateways, HMI automated drivingmastered by OEMAUTOSAR AdaptiveEmbedded Systems intelligent sensors and actuatorsAUTOSAR Classic4 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-09

IntroductionBeing Prepared for the Next-Generation of ECUsAdaptive MICROSAR is acomplete basic softwaresolution up to ASIL DSeamlessinteroperability withclassic AUTOSAR ECUsAdditional, highperformance ECUshosting applications forupcoming use casesApplications installed andstarted during runtimeDevelopment ofapplications in theecosystem of POSIXbased OS (Linux, PikeOS,QNX, Integrity, )5 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-09Infotainmentsource: fotoliaADASConnectivityDynamic Software Platform

IntroductionCurrent statically connected HW resources Hardwired video lines between ECUs Pre-defined CAN messages on bus Exclusive camera usagevideo linevideo lineCAN6Steering Angle 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-09Park Assist Activation

IntroductionFlexible use of HW resourcesService Interfaces Smart sensors/actuators provide HWover service interface All ECUs connected via Ethernet Compound service, using base servicesas lower layer Applications can provide services fore.g. HMI integration No function oriented wiringSwitch7 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-09

IntroductionDrivers for Adaptive AUTOSARInfotainmentHighly Automated Drivingsource: fotolia 2D/3D acceleration support in POSIX systems Image- and preprocessing of Camera/Radar/LIDAR Video Codecs, Streaming support, multi-media library, etc. Sensor Fusion and Machine LearningConnectivity8Dynamic Software Platform Car-2-X (LTE, Wi-Fi, GPS, etc.) “App-Store” for automotive applications Multimedia (USB, SD-Card, NFC, etc.) Installation and update over the air 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-09

IntroductionUse Cases for POSIX/Virtualization in Automotive SystemsProcess 1(native POSIX)MCUIPCIPCMCU 1 (POSIX)Process 2(MICROSAR)Applications as DriverOS1MEMMCU 2(MICROSAR)SPI/ETHIPCPOSIX besides MICROSAR(previously used set-up)2POSIXIPCECUPOSIX besides MICROSAR(current QM set-up)Core 1(POSIX)MCUIPCCore 1 or 2(MICROSAR)IPCProcess 1(ADAPTIVE)3MEMMiddlewareHypervisorPOSIX besides MICROSAR(current safety set-up)MCUPOSIX4(Hypervisor)Adaptive Autosar(upcoming perspective)9 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-09Process 2(ADAPTIVE)

AgendaAutomotive TrendsIntroduction FundamentalsDetails and Functional ClustersActivities and Roadmap10 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-09

FundamentalsAUTOSAR Product ComparisonAUTOSAR Classic Platform - onentAUTOSAR InterfaceAUTOSAR InterfaceApplication LayerAUTOSAR Adaptive Platform - entAUTOSAR InterfaceAUTOSAR /O HardwareAbstractionOnboard ry DriversCommunicationDriversAPIOSCOMAPIAPI (exec)API cationManagementAPI (phm)API (log)API (per)Platform HealthManagementLogging &TracingPersistencyComplexDriversAPI (iam)API (rest)API (crypto)Identity AccessManagementRESTfulCryptographyAPI (core)POSIX PSE51 / C STLCore TypesOperating SystemI/O DriversSWCOSAPIAdaptive Platform ServicesService (diag)NetworkManagementDiagnosticsService (s2s)Service (sm)Signal to ServiceMappingStateManagementService (ucm)Update & ConfigurationManagement(Virtual) Machine / Hardware All modules completely specified Less modules, only API specification Developed in C Developed in C Whole stack compiled and linked in one piece Services as POSIX processes, separately installable Will still remain in the current focus Service oriented communication (SOME/IP) Configuration compiled in Configuration loaded from manifest files 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-09COMService (nm)Adaptive Platform FoundationMicrocontroller11AUTOSARRuntime Environmentfor Adaptive ApplicationsAPI (tsync)Runtime EnvironmentSystem ServicesCOMSWC

FundamentalsAUTOSAR Product ComparisonAUTOSAR Classic Platform - onentAUTOSAR InterfaceAUTOSAR InterfaceApplication LayerAUTOSAR Adaptive Platform - entSWCSWCAUTOSAR InterfaceAUTOSAR InterfaceARAARARuntime EnvironmentSystem ServicesMemoryServicesCommunicationServicesI/O HardwareAbstractionOnboard ry ntime Environmentfor Adaptive ApplicationsAPI (tsync)API (exec)API cationManagementAPI (phm)API (log)API (per)Platform HealthManagementLogging &TracingPersistencyAPI (iam)API (rest)API (crypto)Identity AccessManagementRESTfulCryptographyAPI (core)POSIX PSE51 / C STLCore TypesOperating SystemI/O DriversSWCARAAdaptive Platform ServicesService (nm)Service (diag)NetworkManagementDiagnosticsService (s2s)Service (sm)Signal to ServiceMappingStateManagementService (ucm)Update & ConfigurationManagementAdaptive Platform Foundation(Virtual) Machine / HardwareMicrocontrollerReal Time RequirementsSafety CriticalComputing Power12 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-09

FundamentalsAdaptive Applications Application Multi-threaded Execution states Manifest contains platform relatedinformation (recovery action,dependencies to services or libraries) Instance configuration containsapplication specific static information(variant, options, ) Interfaces ara::com for communication withadaptive services(basic services and user applications) PSE51 is the usable OS API subset The Adaptive AUTOSAR Foundationclusters (Execution Management,Persistency, etc.) are available via directAPIsApplication (1:n Executables)POSIX :ThreadManifestSHUTDOWN:PSE51C Stdlibara::comDirect APIPOSIX OSAdaptiveAUTOSARServicesAdaptiveAUTOSARFoundation 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-09

FundamentalsVector’s Adaptive Implementation14 Implementation available for several platforms Application logic is strictly separated fromconfiguration (see /opt/ deployment directory) Code examples based on Vector’simplementation Guided configuration via IDE in Eclipse Plugin 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-09

FundamentalsTools and ESerializerSOME/IP ies /SkeletonsGeneratorsAuthoring ToolAppSWCTypesExecution Manifest./etc/MANIFEST.arxmlPOSIX IPCInstance xmlGenerated15VehicleDeploy PackageApplication CodeStatic 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-09Software Configuration ManagementServiceDescription(ARXML)Installed APPInstalled cutionManagementComServerPOSIX IPCDiagnosticsSOMEIPdBSD Sock

FundamentalsTooling: DaVinci Adaptive Tool Suite1521. Assistants for varioustasks like creation ofSOME/IP deployment2. Easy to understandDSL to representARXML models. Withlinting support3. Auto-completion forreferences and modelelements34. Built-in CFG-5generators. Directmodelling feedbackand resolutionsuggestions416 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-095. Cheat Sheets guidethrough the process ofservice creation

FundamentalsPREEvision: Adaptive system design with ystemDescriptionManifest631. Diagram-based design ofservice interfaces4175. Graphical design of Ethernettopologies2. Modeling of implementation6. Assistant for creation anddetails of the service interfacesmapping of service instanceson machines3. Design of the SW components,executables and adaptive7. Import and export of differentapplicationsmodel subsets in AUTOSARXML4. Table-based editing of deployment aspects as SOMEIP IDs 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-09

FundamentalsAdaptive MICROSAR Evaluation BundleTest your applicationdirectly in nativeenvironmentImplement your servicesusing EclipseAdaptive MICROSARsource includedPrepared build scriptsfor native LinuxBundle is available off-the shelf andincludes:18 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-09 2 day training at Vector forone person Application Developer Guide DaVinci Adaptive Tool Suite(1 year license)

AgendaAutomotive TrendsIntroductionFundamentals Details and Functional ClustersActivities and Roadmap19 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-09

Details and Functional ClustersCommunication: ara::com Service-oriented communication Location-transparent Supports multiple communication bindings AUTOSAR model defines available bindings for each serviceprovider and consumer Explicit support for optimized shared memory implementations 20APP 1APP 2ara::comServicesApplications connected at runtime (Service Discovery) Find service instances dynamically without hardwiring in model Connection between proxies and skeletons can be recoveredReal-time support: Developers’ choice of polling or event-driven processing of communication 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-09

Details and Functional ClustersExecution Management: ara::exec21 OS launches Execution Manager (EM) (PID1, “init”) EM inspects system for installed applications E.g., scan filesystem in /opt/ for application manifestsStartup EM runs startup applications (fork(), exec()) e.g., bring up IP stack EM consults Machine State Manager to determine desired machine state Machine state defines set of applications desired to run EM starts/stops applications to reach desired machine state (fork(), exec(), signal(SIGTERM)) EM configures scheduling parameters & resource limits Configuration data obtained from application manifest EM monitors for machine state changes or process termination 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-09ECU running

Details and Functional ClustersDiagnostics: OverviewNo fundamental changes to existing diagnosticworkflows (like development, production,workshop, ) due to Adaptive Platform Main Tasks ISO 14229-5 (UDSonIP) Including fault-memory (DTC) handling Including transport layers (i.e. DoIP –ISO 13400-x) Configurable via AUTOSAR DiagnosticExtract (DEXT) ARA service Uses ara::com interfacesApplication (Software Components)Diagnostic inesDiagnosticara::comDiagnostic MonitorDiagnostic MonitorDiagnostic MonitorFaultsDiagnostic ManagerDiagnostic RequestDiagnostic ResponseTester22 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-09

Details and Functional ClustersDiagnostics: Configuration workflow (DEXT)Diagnostic DesignPREEvisionSystem Design23DEXTreferencesCANdelaStudio 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-09MANIFEST(Design)

Details and Functional ClustersPersistency: ara::per Key-Value Storage library based access to non-volatile memory for Adaptive Applications.Multiple values stored in one storage locationAddressing of single values by using a key as identifierMultiple storage locations/databases can be used StreamDatabase format not specified by AUTOSAR 24StorageRaw access to storage locations/filesUsed for access to files in any formatAPI derived from C Standard Librarystd::fstream classes 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-09

Details and Functional ClustersIdentity and Access Management Offers intra ECU and inter ECU access management A policy decision point decides whether resource access is granted or notOEM PDPApplicationAdaptiveApplication “x”1. Request action2. Is Application “x”authorized?Identity and AccessManagementFunctional Cluster3. Yes4. Perform request (e.g.access resource,communicate, getinformation, etc.)25processedexecutionmanifestsdatabasePolicy enforcement point (PEP)Policy decision point (PDP) 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-09

AgendaAutomotive TrendsIntroductionFundamentalsDetails and Functional Clusters 26Activities and Roadmap 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-09

Activities and RoadmapSafety as a necessity for high performance ECUs Use cases such as highly automated driving easily demand safety up to ASIL DPlatformApplicationsPartition Pool for AdaptiveApplications (AA) Architecture in high performance controllers is complex due to many involved abstraction layers: BSP from semiconductor vendorAA partition nDM HypervisorIPFileEMCOMAA partition 0 Multiple Operating SystemsStackSystem POSIX libraries Adaptive AUTOSAR Basic Software Service Oriented Applications Components Typically many vendors involved for these componentsEthernet 27Vector is providing the complete and ready to go solution for such controllersout of onePikeOShand. 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-09

Activities and RoadmapVectors Adaptive Activities Series productionprojects have beenstarted for manycustomersAvailable Off-the-shelfProductsSeriesProductionDevelopment28 Linux QNX PikeOS Integrity Integrated tool concept Evaluation Bundle Products synchronized withAutosar specificationSpecificationof AdaptiveplatformMultiple POSIX systemsintegrated 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-09 All feature teams arecovered Active participation in allworking groups

Activities and RoadmapPlanned Adaptive MICROSAR RoadmapAdaptive MICROSARR1:Adaptive MICROSARR3:Adaptive MICROSARR5:Development ReleaseProduction Release(QM)Production Release(ASIL pment ReleaseProduction Release(QM)Production Release(ASIL D) Adaptive MICROSAR development started in 2015 Adaptive MICROSAR used in many evaluation and prototyping projects Adaptive MICROSAR used in the first series production projects 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-09

Activities and RoadmapProject Phases OverviewProject nProject 1Production LicenseSLPMA18% yearLicenseCustom Prototypeno branch possibleProduction SIPSIPBase PackageMA35% yearSIPBase PackageMA18% yearOEM Add-onMA35% yearOEM Add-onMA18% yearTools & BSWBranch/FreezeEvaluationPackageContinuous DevelopmentDevelopment ShareUp to 12 deliveries per yearNominationfrom OEMOngoing updates30 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-09

For more information about Vectorand our products please visitwww.vector.comAuthor:Ralf FritzVector North America 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 2019-10-09

Developed in C Whole stack compiled and linked in one piece Will still remain in the current focus Configuration compiled in Less modules, only API specification Developed in C Services as POSIX processes, separately installable Service oriented communication (SOME/IP) Configuration loaded from manifest files