A Case Study of Application Development and Production Code Generation for a Telematics ECU with Full Unified Diagnostics Services



Similar documents
Customer Experience. Silicon. Support & Professional Eng. Services. Freescale Provided SW & Solutions

Efficient and Faster PLC Software Development Process for Automotive industry. Demetrio Cortese IVECO Embedded Software Design

I can make just such ones if I had tools, and I could make tools if I had tools. -Eli Whitney

Development of AUTOSAR Software Components within Model-Based Design

Safety compliance. Energy management. System architecture advisory services. Diagnostics. Network topologies. Physical and functional partitioning

Raptor-Telematics User Manual

Debugging A MotoHawk Application using the Application Monitor

Software Development with Real- Time Workshop Embedded Coder Nigel Holliday Thales Missile Electronics. Missile Electronics

Product Information Services for Embedded Software

Converting Models from Floating Point to Fixed Point for Production Code Generation

Standardized software components will help in mastering the. software should be developed for FlexRay were presented at

CrossChasm Embedded Control Systems Whitepaper For Powertrain Design Teams

isolar Integrated Solution for AUTOSAR

LEADING INNOVATION IN DATA AND TELEMATICS.

AUTOSAR Configuration Process - How to handle 1000s of parameters

Automated Data Acquisition & Analysis. Revolutionize Validation Testing & Launch With Confidence

Safety and Security Features in AUTOSAR

Safety and security related features in AUTOSAR

EHOOKS Prototyping is Rapid Again

PLM voor HTE en mechatronics best practices voor engineeringsmethodiek

AUTOSAR Software Architecture

Advanced Electronic Platform Technologies Supporting Development of Complicated Vehicle Control Software

Validating Diagnostics in Early Development Stages

The Problem: Automotive safety recalls, Control Systems Diagnostics, Stability Control, Traction Control, Anti-lock Braking, Adaptive Cruise Control

Principles of a Vehicle Infotainment Platform

Telematics Workshop: Remote 2-Way Communication Meeting Results

Maintain Fleet Management Solutions Using Wide Area Wireless Technology

P545 Autonomous Cart

CycurHSM An Automotive-qualified Software Stack for Hardware Security Modules

ECM Diagnosis. Section 11. Learning Objectives:

Mentor Embedded IVI Solutions

AUTOSAR Seminar WS2008/ Assignment: Simulation of Automotive Systems in the Context of AUTOSAR

Best Practises for LabVIEW FPGA Design Flow. uk.ni.com ireland.ni.com

VELOCITY LAB TM Embedded Development Ecosystem

Lecture 3 - Model-based Control Engineering

Agile automated software testing into automotive V-Model process:

Model Based System Engineering (MBSE) For Accelerating Software Development Cycle

Mentor Embedded Automotive Solutions

VTOL UAV. Design of the On-Board Flight Control Electronics of an Unmanned Aerial Vehicle. Árvai László, ZMNE. Tavaszi Szél 2012 ÁRVAI LÁSZLÓ, ZMNE

ETAS. We offer regularly scheduled training seminars for both novice and advanced ETAS tool users.

7a. System-on-chip design and prototyping platforms

Dr.-Ing. Rainer Rasche dspace GmbH Rathenaustrasse Paderborn automotive testing expo June 22, 2010

Software Production. Industrialized integration and validation of TargetLink models for series production

CANoe and CANalyzer as diagnostic tools Version /07/17

ECU State Manager Module Development and Design for Automotive Platform Software Based on AUTOSAR 4.0

Wiederverwendung von Testfällen bei der modellbasierten SW-Entwicklung

LOCAL INTERCONNECT NETWORK (LIN)

Service Manual Trucks

Soft processors for microcontroller programming education

HMI EMBEDDED SYSTEM DESIGN AS A FUNCTION OF TECU

Model-based Testing of Automotive Systems

Automatic Validation of Diagnostic Services

OPC COMMUNICATION IN REAL TIME

Project Development Plan

Testing & Verification of Digital Circuits ECE/CS 5745/6745. Hardware Verification using Symbolic Computation

Remote Area Tracking and Mapping

Advanced Testing Methods for Automotive Software

Automotive Software Engineering

Software House Embedded Systems

T-BOXN12R. First steps with T-BOXN12R. You can make it wireless. Date: Version 1.0

PC-Based Vehicle OBD Tester

Telematics & Wireless M2M

Herstellerinitiative Software (OEM Initiative Software)

LOCAL INTERCONNECT NETWORK (LIN)

EB Automotive Driver Assistance EB Assist Solutions. Damian Barnett Director Automotive Software June 5, 2015

Visual Programming of Logic, Motion, and Robotics

Product Development Flow Including Model- Based Design and System-Level Functional Verification

Elektrobit (EB) Automotive Consulting Manage challenging automotive software projects

Plug. & Play. Various ECUs tested by automated sequences. dspace Magazine 3/2009 dspace GmbH, Paderborn, Germany info@dspace.com

Chapter 12. Development Tools for Microcontroller Applications

Going Linux on Massive Multicore

How to design and implement firmware for embedded systems

Advanced Techniques for Simulating ECU C-code on the PC

Caterpillar Automatic Code Generation

THAKSHASHILA R&D PRIVATE LIMITED COMPANY PROFILE

Application Note: AN00141 xcore-xa - Application Development

Vehicle Electronics. Services and Solutions to Manage the Complexity

Analysis of Performing Secure Remote Vehicle Diagnostics

Example of Standard API

Power inverters: Efficient energy transformation through efficient TargetLink code

Medical Device Design: Shorten Prototype and Deployment Time with NI Tools. NI Technical Symposium 2008

idas Data Application and Documentation

In VehIcle MonItorIng SolutIonS

Introduction to Simulink & Stateflow. Coorous Mohtadi

Command Support System

Trends in Embedded Software Engineering

Seminar Automotive Open Systems Architecture

SCSK s Automotive Software Business

Automotive Software Engineering at Hella KGaA. Software Engineering for Software Intensive Systems,

Intervid Fleet Management Fleet Telematics. Intervid, Inc Pegasus Court, Suite C Frederick, MD 21704

Important: Always perform the Diagnostic System Check - Vehicle prior to using this diagnostic procedure. P0106, P0107 P0107

ISO11783 a Standardized Tractor Implement Interface

Vehicle Tracking System for Security and Analyzing Transportation Vehicle Information

Automotive Software Development Challenges Virtualisation and Embedded Security

Beschleunigen Sie die Entwicklung Ihrer Embedded Software mit Dienstleistungen von Vector

Notes and terms of conditions. Vendor shall note the following terms and conditions/ information before they submit their quote.

Conference on. Model-Based Validation of In-Vehicle Networks

Service Oriented Architecture for Agricultural Vehicles

Transcription:

A Case Study of Application Development and Production Code Generation for a Telematics ECU with Full Unified Diagnostics Services

Plan A little about Embed and our Ethos Description of the telematics module Embed worked in partnership with Auto-txt Ltd to deliver. The process by which the software was developed. Automotive SPICE level 3 (ISO/IEC 15504) The software architecture Device Drivers:- CAN, GPS, GSM, Bluetooth Application as libraries enabling extensive unit testing Focus on Unified Diagnostic Services (ISO 14229) within the telematics module, over CAN and GSM How diagnostics are usually developed compared to how they can be better developed with the application within Simulink. Advantages of the Embed Unified Diagnostic Services (ISO 14229) Blockset

Embed Ethos Faster Results Model, Simulate, Execute, Debug, Test... Then code... New Technologies Image Processing HMI Rapid-Prototyping Advanced Driver Assistance Systems (ADAS) Off-the-shelf ECUs Embed partner with New Eagle to offer MotoHawk ECUs Higher Quality Automotive SPICE Level 3 Process. (ISO/IEC 15504) Model Based Development Off-the-shelf software components UDS, CAN, CAN-TP, Simulink Blocksets for production ECUs.

Complete Vehicle Embedded System Design www.embeduk.com Embed Offers System Design Requirement Handling Electrical Architecture Design Network Design Physical Layer Communications Strategy Stacks ECU Design & Development Hardware Design Design Components Simulation & Rapid-Prototyping Early Validation Save time and money whilst raising quality. Training & Mentoring Model-Based Development HMI System Development

Auto-txt Advanced Telematics Module Advanced telematics module that can offer remote connectivity and communication to any vehicle (12V & 24V) Stolen Vehicle Tracking, Fleet Management, Remote Diagnostics, Remote Logging & Control GSM, GPS, Bluetooth, Proprietary RF, WiFi, CAN Fully expandable via daughter boards Soon adding LIN & RS232 support. Full automotive grade product Line-fit for Aston Martin, dealer fit for Jaguar and Land Rover Bootloader for CAN or GSM reprogramming Complete over the air reprogramming

Development Process System Activities Customer lead, Embed support ECU Acceptance test plan ECU Customer System Communication Requirements Integration test plan ECU Activities Embed lead, Customer support System (ECU) System Qualification test Requirements (ECU) plan Requirements Analysis ECU Acceptance Test Customer System Integration Test System (ECU) Qualification Test ECU System (ECU) Requirements Automotive SPICE Level 3 Process. (ISO/IEC 15504) System (ECU) Architecture ECU Architectural Design Integration test plan System Integration Test System (ECU) Requirements Process/Activity Document & hardware activities Modules & Hardware Control Flow Data Flow Hardware, Models & Code Hardware System Activities SyAD System Architecture Document Tested Hardware Hardware Release Notes System Activities Communication System (ECU) Requirements System (ECU) Architecture Tested Release Notes HRS Hardware Requirements Hardware Requirements Analysis FTP Hardware Functional Test Plan Hardware Functional Test FTR Hardware Functional Test Report SRS Requirements Requirements Analysis (update) FTP Functional Test Plan Functional Test FTR Function Test Report Integrated Units Integrated HAD Hardware Architecture Hardware Architecture Design HTP Hardware Integration Test Plan Hardware Integration & Test HTR Hardware Test Report SAD Architecture Architectural Design (update) STP Integration Test Plan Integration & Test STR Integration Test Report Boards Interacts with software Branch Existing code/ models Modules Interacts with hardware Hardware Module Circuit Design BOM & ICT requirements Populate PCB ICT Reports Detailed Design UTP Unit Test Plan Module Construction & Test UTR Unit Test Reports Schematics & Netlist PCBs For each element CAD Layout Layout PCB & CAM data PCB Manufacture PCB Test Reports MDS Module Design Process/Activity Control Flow For each new/modified module Document/File Data Flow Models & Units Process/Activity Control Flow Data Flow Document Models & Code

Development Process System Activities Communication System (ECU) Requirements System (ECU) Architecture Tested Release Notes Application architecture defined in Simulink model modules designed as Simulink Libraries complete with unit tests and documentation SRS Requirements SAD Architecture Requirements Analysis (update) Architectural Design (update) Branch Detailed Design Existing code/ models For each new/modified module Process/Activity Document FTP Functional Test Plan STP Integration Test Plan UTP Unit Test Plan MDS Module Design Integrated Modules Control Flow Data Flow Models & Code Functional Test Integration & Test Module Construction & Test FTR Function Test Report STR Integration Test Report UTR Interacts with hardware Unit Test Reports

Developing using Simulink Libraries Simulink Libraries enable many advantages. Version Control Library bocks live as separate files Unit Test Test harness models Multiple Developers working on the same project Clearly defined bus interfaces Reuse the blocks across may projects Tested modules ready to deploy

Developing using Simulink Libraries Embed Standard Model Organisation C code is required in all embedded projects, typically for device drivers Features are libraries for process, concurrent engineering and version control Library Components are true libraries and are utility blocks that are reused many times

Details Developed as a Simulink Model Device Drivers wrapped with Simulink Blocksets Code-Generation via Real Time Workshop Embedded Coder AUTOSAR like where applicable Same application runs on previous hardware as well as new hardware. Completely different processor (ARM7 -> MPC55xx)

NM - LIN NM - CAN www.embeduk.com Architecture ECU Application Complex Device Drivers COM Diagnostic Kernel UDS Comms Bootloader PDUR CAN TP LIN-IF CAN-IF LIN Driver CAN Driver

Inputs Inputs are hardware specific and are separate from the application

Inputs All library blocks GPIO All inputs have UDS IO control, defined in the model

Outputs Outputs are hardware specific and are separate from the application

Outputs Library blocks where possible UDS Parameters to read internal data. Implemented as signals resolved to UDS objects IO Control on all outputs

Device Drivers Device Drivers are hardware specific and are separate from the application

NM - LIN NM - CAN www.embeduk.com Device Drivers Simulink Blocksets CAN COM UDS Network Management GSM GPS Bluetooth GPIO Timers Power Management ECU Complex Device Drivers LIN-IF LIN Driver Application COM PDUR Diagnostic Kernel UDS Comms Bootloader CAN TP CAN-IF CAN Driver

Device Driver Blocksets (GPS) Data received in the Inputs subsystem complete with UDS IO Control GPS Device configured and controlled within Devices subsystem

Device Driver Blocksets (CAN) All library blocks UDS Trouble Codes (DTCs) Devices controlled and configured via blocksets

Application All hardware specifics architected out Easily ported to any hardware Library block

Application Application further decomposed and Architected within Simulink Modelled using library blocks

Application EOL Programming UDS Parameters (PIDs and DIDs) Identical usage to Data- Stores, except the addition of access control to inhibit incorrect usage due to ECU mode or wrong Security Access Level

Application Commissioning Commissioning the Telematics ECU achieved using UDS Routine Control Accessible only via Security Access Controls the UDS Routine and UDS communications Model the logic within Simulink, test and debug at the model level instead of in code

Telematics ECU Development Summary Up to 7 developers worked on the software concurrently Auto-txt and Embed Engineers Developed using a recognised Quality Management System Automotive SPICE Level 3 Fully auto generated code from Simulink and Stateflow using RTW-EC Application runs on two very different micro-processors New developers quickly became productive Low defect development New features being added to the ECU every month

Diagnostics Services Development: How Model Based Development can make big improvements

UDS the typical picture Delivered last... Everyone is focused on features and functionality. Delivered late... The feature or function owner rarely truly addresses the diagnostics requirements. Delivered wrong... Functionality related to diagnostics isn t often captured by feature designer Add/delete key fob, match PCM/IMMO, etc The diagnostics team are a little detached from the rest of the development team and are usually the last to be informed of any changes. Need to speak and think hex-codes, not English.

UDS by Model Based Development Model Based Development has been proven to increase quality and speed time to market Correctly define the requirements Solve problems early Remove translation errors Iteration loops at the cheap stage of development Code generation from the models

Bugs Found - s www.embeduk.com UDS by Model Based Development Enables the Diagnostics to be addressed early on in the development cycle 1200 1000 800 600 400 200 0 Typical Bugs found during development against cost of fix Reqs Specs P1 P2 FP SOP MBDP Traditional Cost to Fix

UDS by Model Based Development Enables the Diagnostics to be designed in Simulink Focusing on the functionality not on the code Testable in a friendly environment Testable before the ECUs are available Most important for routine control Self tests and calibration (stepper motor end stops etc) Programming keys and ECUs in Immobilisation Ring

UDS by Model Based Development Detaches the Hex Codes from the Diagnostics Enables the diagnostics functionality to be ported from one ECU to another Diagnostics live with the features where they are used Diagnostics database configures the feature for the ECU / Vehicle for deployment Simulink Model

UDS by Model Based Development Off-the-shelf Simulink Blockset Clear interfaces to enable any CAN stack to be used ASNII-C MISRA compliant code Hardware agnostic Set-up Comms Embed Diagnostic Target Package for Real Time Workshop (Code Generation templates) Data Faults Routines Data Services DTC Services Routine Control Mapping Ids to Services Handling Responses, Sessions, Security, Tester-Present (ISO 14229) CAN-TP (ISO 15765) CAN-IF CAN Driver Embed Diagnostic Toolbox for Simulink Embed Diagnostic Kernel Embed Diagnostic Communications Manager Embed CAN-TP Embed CAN Stack

UDS Blockset Summary (ISO 14229) There are clear and large advantages of developing diagnostics services using a Model Based Development Process. The Embed UDS Blockset can be placed on top of any CAN stack Please get in touch if you need more information ivan.wilson@embeduk.com Thank you