A number of optimizations are already in use by the majority of companies in industry, notably:

Similar documents
An Integrated Test Framework to Reduce Embedded Software Lifecycle Costs

Software-Defined Test Fundamentals. Understanding the Architecture of Modular, High-Performance Test Systems

Deliver robust products at reduced cost by linking model-driven software testing to quality management.

THE BENEFITS OF MODEL-BASED ENGINEERING IN PRODUCT DEVELOPMENT FROM PCB TO SYSTEMS MENTOR GRAPHICS

FOUR INDEPENDENT TOOLS TO MANAGE COMPLEXITY INHERENT TO DEVELOPING STATE OF THE ART SYSTEMS. DEVELOPER SPECIFIER TESTER

Integration With the Business Modeler

Cloud Computing: Making the Right Choice for Your Organization

Test requirements in networked systems

Moving from a Paper to Paperless validation effort and how to get the most efficient mix of Manual vs. Automated testing.

SYSPRO s Fluid Interface Design

Volvo Car Group Jonn Lantz Agile by Models

Fending Off Cyber Attacks Hardening ECUs by Fuzz Testing

Guido Sandmann MathWorks GmbH. Michael Seibt Mentor Graphics GmbH ABSTRACT INTRODUCTION - WORKFLOW OVERVIEW

Categorizing Migrations

Total Cost of Ownership: Benefits of ECM in the OpenText Cloud

Total Cost of Ownership: Benefits of the OpenText Cloud

The 7 Habits of Highly Effective API and Service Management

Introduction to Control Systems Design

SOLUTION BRIEF Virtual CISO

Electrical engineering. data management. A practical foundation for a true mechatronic data model

Paper. Delivering Strong Security in a Hyperconverged Data Center Environment

Virtual Hardware ECU How to Significantly Increase Your Testing Throughput!

The requirements engineering process

Contemporary Design. Traditional Hardware Design. Traditional Hardware Design. HDL Based Hardware Design User Inputs. Requirements.

Part II. Integration Use Cases

FREQUENTLY ASKED QUESTIONS

PERSPECTIVE. End-to-end test automation A behaviordriven and tool-agnostic approach. Abstract

BOSCH CASE STUDY. How Bosch Has Benefited from GENIVI Adoption

Certified Automotive Software Tester Sample Exam Paper Syllabus Version 2.0

Seven Decision Points When Considering Containers

Discover the all-flash storage company for the on-demand world

White Paper. Rose PowerBuilder Link

HP Fortify Software Security Center

SOFTWARE LIFE-CYCLE MODELS 2.1

From Signal to Service

THE CUSTOMER SITUATION. The Customer Background

Fast Track Model Based Design and Development with Oracle9i Designer. An Oracle White Paper August 2002

Making hybrid IT simple with Capgemini and Microsoft Azure Stack

A Comparison of the Booch Method and Shlaer-Mellor OOA/RD

Model-Based Design for High Integrity Software Development Mike Anthony Senior Application Engineer The MathWorks, Inc.

Automatic Code Generation Technology Adoption Lessons Learned from Commercial Vehicle Case Studies

Enabling the Future of Connectivity. HITEC 2016 Tech Talk

Use Case Brief BUILDING A PRIVATE CLOUD PROVIDING PUBLIC CLOUD FUNCTIONALITY WITHIN THE SAFETY OF YOUR ORGANIZATION

COMPTIA CLO-001 EXAM QUESTIONS & ANSWERS

When, Where & Why to Use NoSQL?

Keeping the lid on storage

Benefits of SD-WAN to the Distributed Enterprise

NTAF IN PRACTICE. White Paper

Improved Database Development using SQL Compare

Model Driven Architecture and Rhapsody

Improving Security in the Application Development Life-cycle

10 Cloud Myths Demystified

Technical What s New. Autodesk Vault Manufacturing 2010

IOT IN THE AUTOMOTIVE INDUSTRY

CASE STUDY GLOBAL CONSUMER GOODS MANUFACTURER ACHIEVES SIGNIFICANT SAVINGS AND FLEXIBILITY THE CUSTOMER THE CHALLENGE

OBJECT ORIENTED SYSTEM DEVELOPMENT Software Development Dynamic System Development Information system solution Steps in System Development Analysis

Accelerating the Business Value of Virtualization

Best practices in IT security co-management

Getting a Quick Start with RUP

AUTOSAR: from concept to code.

F5 Reference Architecture for Cisco ACI

Wipro s Endur Test Automation Framework (W-ETAF) Reduces time and effort for the implementation and maintenance of an automated test solution.

Model Driven Development with xtuml and BridgePoint

Rigorously Test Composite Applications Faster With CA Test Data Manager and CA Agile Requirements Designer

2 The IBM Data Governance Unified Process

Migrating NetBackUp Data to the Commvault Data Platform

Coding and Unit Testing! The Coding Phase! Coding vs. Code! Coding! Overall Coding Language Trends!

Rational Software White paper

Data Governance Central to Data Management Success

How to Leverage Containers to Bolster Security and Performance While Moving to Google Cloud

IBM Rational Software Architect

CASE STUDY: Problem Solution Progress

Verification, Validation, and Test with Model-Based Design

Now you can Microsoft Visual Studio 2010 with MSDN

The ROI of UI Toolkit Standardization

IBM WebSphere Message Broker for z/os V6.1 delivers the enterprise service bus built for connectivity and transformation

Model based testing and Hardware-in-the-Loop simulation of embedded CANopen control devices

A Practitioner s Approach to Successfully Implementing Service Virtualization

Software Engineering

Managing Supply Chain Data for Modern Aircraft. Making the Transition to S1000D

I D C T E C H N O L O G Y S P O T L I G H T

Module 3. Overview of TOGAF 9.1 Architecture Development Method (ADM)

Computation Independent Model (CIM): Platform Independent Model (PIM): Platform Specific Model (PSM): Implementation Specific Model (ISM):

Adding Formal Requirements Modeling to SysML

Break Through Your Software Development Challenges with Microsoft Visual Studio 2008

Information Security and Service Management. Security and Risk Management ISSM and ITIL/ITSM Interrelationship

Cisco APIC Enterprise Module Simplifies Network Operations

1 Executive Overview The Benefits and Objectives of BPDM

10 Cloud Myths Demystified

Rethinking VDI: The Role of Client-Hosted Virtual Desktops. White Paper Virtual Computer, Inc. All Rights Reserved.

Avoid a DCIM Procurement Disaster

Discover, Relate, Model, and Integrate Data Assets with Rational Data Architect

Lecture 1. Chapter 6 Architectural design

SDN HAS ARRIVED, BUT NEEDS COMPLEMENTARY MANAGEMENT TOOLS

Hybrid WAN Operations: Extend Network Monitoring Across SD-WAN and Legacy WAN Infrastructure

Virtualization. Q&A with an industry leader. Virtualization is rapidly becoming a fact of life for agency executives,

WIND RIVER NETWORKING SOLUTIONS

Cloud Computing the VMware Perspective. Bogomil Balkansky Product Marketing

Chapter 6 Architectural Design. Chapter 6 Architectural design

ASSURING DATA INTEROPERABILITY THROUGH THE USE OF FORMAL MODELS OF VISA PAYMENT MESSAGES (Category: Practice-Oriented Paper)

Transcription:

1 Abstract Mechatronics products contain significant amounts of software. Most advances in embedded software development focus on specific phases of the development process. However, very little emphasis has been placed on maximizing reuse of artifacts across the life cycle. This paper explores the potential of reducing overall costs of developing and testing mechatronics software by systematically increasing efficiencies. Introduction Automotive organizations are aggressively searching for ways to increase test coverage and overall quality of the final product, while reducing the cost of capital and labor for production-grade mechatronics software. Partial solutions have been developed over time, moving most software organizations towards model-based methods for developing of algorithms and software for controls applications. A robust, process-centric solution that fully utilizes the benefits of complete reuse, has not been widely deployed across the OEM and supplier network. Current Best Practices The traditional development process is generally based on using the well-known V process (see Figure 1). Model-based tools have increased the efficiency of design and development by providing an economy of expression and standardized notations. In addition, the practice of applying continuous integration techniques (simulation and testing) to iteratively explore, design and refine implementations within a particular phase of development has reduced life-cycle costs. However, significant opportunities exist that will continue to help reduce life-cycle costs by focusing on testing as an integrated process. Significant gains are made as a result of increasing human efficiency, automation of repeatable tasks, and leverage of artifacts. Figure 1 V Process A number of optimizations are already in use by the majority of companies in industry, notably: 1. Using simulation models to express executable behavior as use-cases. 2. Using co-simulation to validate system behavior. 3. Iteratively refining modeled behavior as requirements are validated. 4. Using automatically generated code from the simulation models to execute on rapid prototyping hardware. 5. Using automatically generated code for on-target applications. 6. Graphically expressing test stimuli for increased human efficiency. 7. Using scripts to automate testing efforts. While these approaches have reduced development costs for organizations, significant opportunities still exist for cost reductions in the complete product life cycle. Life Cycle Efficiency Providing efficient point-solutions for parts of the development process does not necessarily create an optimized V Process. However, combining that approach with avoiding statistical loss functions, creates a more efficient process. The easiest way to reduce loss is to validate functionality and verify quality as early in the life cycle as possible, as well as reusing test cases throughout the life cycle. It is well substantiated that continuous integration (concurrent testing) provides the most cost-efficient method of producing mechatronics software. Engineers test what they develop throughout the development process. They

2 validate requirements and verify design of data flow models, state driven models, UML models, vehicle simulation models, C/C++ code, breadboards, ECU s, sub-systems, networks, complete virtual vehicles, hybrid systems (part virtual, part real), environmental robustness, EOL, etc. To date, tool suppliers have addressed the individual phases of the development process and provided a choice of products for each phase of development. However, the methods used to validate and verify the artifacts during each phase are particular to each vendor. There is not a consistent integrated approach that optimizes for labor costs when transferring test cases and test data between tools or phases of development. See the table in Figure 2. Representative tool vendors who have deployed state-of-the-industry products are examined for their ability to directly interchange test information such as test stimuli, pass/fail criteria and test results. Each development and test tool has its own execution environment, with interfaces that support scripts and/or application programming interfaces. The services each tool provides are, for all intents and purposes, unique to the tool itself. The consequence is that the tools are well coordinated with each other and tend to take on a life of their own, due to the organization structure that supports them. The unfortunate outcome is the overall process is not optimized for cost or schedule. Examining the tool interfaces further, one realizes that some tools import and export test data as comma separated values (CSV). While CSV provides connectivity to the tool, it neither describes the syntax of the data, nor the semantics associated with the test cases. Many tools allow import and export of test data and results in XML format. This is superior to CSV and allows syntax and partial semantics to be understood: that is, the interface exchanges information (meaning) rather than data. Some automotive OEMs have invested in programs to standardize information exchange in XML. Some have even chosen to build the Integrated Test Framework in-house. Therefore, as a stop-gap measure, many organizations increase their tool cohesion by adopting a data-driven approach to test, with MS-Excel as the repository for test data. By opting for data-driven, as opposed to languagebased approach to test, a step is taken in the right direction, but MS-Excel is certainly not the optimal data-driven enterprise solution for testing. Figure 2 Interface Complexities Note: Table is representative only and is not intended to endorse any tool listed or discredit any tool not listed.

3 Based on Figure 2, it is clear that there is a lack of portability of test information between development tools. The result is, no matter how good the individual products are, it is still desirable to have a structure that supports a more cohesive test strategy because test data are created, captured, and analyzed in many different environments. This lack of cohesion disrupts how an organization operates by requiring specialists in each tool area. In addition, the artifacts produced during different phases of development cannot be leveraged by the organization. Transforming the Legacy Environment into an Optimal One A desirable approach is one that is focused on maximizing continuous integration and leveraging the V&V artifacts across the complete development cycle. The intent is to hide platform-specific behavior and provide information that the organization needs to see. This could result in a reduction of labor costs ranging from 25% to 50%. Formal Notation Promotes Communication and Reuse A simple definition for testing is: Predict what the system should do Stimulate the system and observe the response Measure and compare the response to the prediction In an effort to define what these tests look like, the engineer creates a model of the test in terms of its logical inputs, outputs, and timing, commonly called a test vector. Traditionally, when the engineer wants to execute the test, hardware and tool dependencies are intertwined with test vector and that distorts the model. This mix of domain-specific information and essential test behavior makes it more difficult to communicate what is happening to other engineers, managers, and groups and greatly diminishes the potential for portability and reuse. Figure 3 Simplified Test Model It is desirable for tests to be formally represented with a logical behavior model, where stimuli and responses are characterized in standard engineering units. This allows the most compact form for specifying tests and pass/fail behavior. The interface from test system to the modeling tool, software or hardware test environment is characterized by a transfer function to keep the physical mapping characteristics independent from the actual tests themselves. This compact form allows hardware and software independence of tests from the actual implementation (simulation models, software algorithms, and HiL test equipment). The benefit to the organization is the tests are represented by a commonly understood notation. As a result, overhead costs for communicating and interpreting information are reduced by 75-90%.

4 The Solution The Integrated Test Framework Upon further review of Figure 2 above, it should be clear that all the commercial tools have strengths for their primary purpose (execute a model, stimulate with high time resolution, measure with high precision, handle loads, or many i/o). Many seem to handle data flows of input and output test data. If these flows intersected, and an appropriate technology is chosen for the sources and sinks for these test data, the basis for an Integrated Test Framework is formed. An idealized Integrated Test Framework (see Figure 4) supports the optimization and improvement to existing test frameworks by minimizing cycle time through the V Process. Optimizations of the Integrated Test Framework Figure 4 Integrated Test Framework The integrated test network provides a marked improvement over typical development and testing environments, via the following: The ability to choose best of breed tools across the development process, from modeling tools to HiL testers. Economies of effort in being able to move test data and artifacts freely across the life cycle. The organization can plan on executing the exact same test cases on a simulation or virtual subsystem as on the actual electronic subsystem. The efficiencies of having a whole organization create tests, determine pass or fail disposition, and provide reports in exactly the same manner. The consistency of communication shortens meetings and review cycles. The security of having test data in an implementation-independent, translatable format (XML), so that faster, cheaper products are taken advantage of as they become available. The test data are not hidden and locked with the structure of some scripting language. The re-use of test data from program to program. Since test data are abstracted from the execution environment, they are now closely coupled to requirements. Test data only change with requirements, not with test equipment. Enhancing the requirements documentation with logical behavior models (test data) to represent use case diagram. These are automatically executed by the Integrated Test Framework on the system under development in order to verify compliance. Eliminating the need to purchase test front ends that are offered with many other test/development environments (e.g., TestDirector, Signal Builder, AutomationDesk, LabVIEW, CANoe, etc.). The time savings realized on international projects where communication of test data, pass/fail criteria and results is an order of magnitude more efficient due to their graphical presentation. The ability to send development and testing to low-cost centers where modeling, coding and testing is performed by a supplier or other outsourced provider. The resulting software and test data scenario results are sent back to the consumer s organization where the artifacts are fully leveraged. An easy method for adding virtual prototypes for customer validation early in the design cycle. The virtual prototypes are supported through standard human-machine-interfaces (e.g., GL Studio, Altia, Active-X panels, etc.). User-defined features (such as custom reports, custom test editing capabilities, specialized pass/fail algorithms, etc.) that benefit the engineers throughout the whole testing lifecycle.

5 Conclusion The first step to reducing mechatronics life cycle costs through the test environment is realized by separating test data (stimuli, pass/fail criteria) from the interface to the device under test. Storing test data and test scenarios in a universally understood format allows that information to be leveraged across the whole development cycle. The Integrated Test Framework will allow complete automation and reporting of test results. It will also allow developers to focus on feature implementation, rather than manually retesting features that should just work. Lastly, the Integrated Test Framework promotes concurrent testing during development, regardless of the tools used to model, develop, or unit test the implementation, and it provides the most benefit to the organization. About Danlaw Danlaw is a leading global supplier of technology and services to the automotive and aerospace industries for safer, smarter, and more secure systems. Thirty years ago, we designed software for the first 8-bit Electronic Engine Control module, and today, we continue to develop forward-looking technologies. We focus our efforts on R&D to stay ahead of rapidly changing industry needs in an increasingly connected world. Danlaw is known for ground-breaking tech, efficient development, and adaptive solutions for dynamic environments. Danlaw s engineering professionals provide embedded electronics solutions to OEMs and Tier-1 suppliers. Our team specializes in embedded systems development and testing for Embedded Control Units, vehicle network communications, infotainment, and telematics. With engineering centers in the USA, Europe, India, and China, Danlaw is one of the largest suppliers of connected products, tools, and services in the world.