Professional Documents
Culture Documents
com
The NI approach in the verification and validation of embedded systems: Real-Time Test
Javier Gutierrez
ni.com
Are we building the product right. Are we building the right product.
Validation (reuse plant model)
Field Test
Model-in-theLoop
Physical Testing
Software-inthe-Loop
italy.ni.com
Check that a product meets initial requirements, specifications and regulations Often categorized into
Performance requirements Did it meet specifications? Functional requirements Did it work without error? Safety requirements Does it handle error conditions gracefully?
Instead, perform validation during software development- far before hardware or manufacturing involvement
4
italy.ni.com
Increasing software content Your customers increasingly make buying decisions based on software features Integration of multiple technologies Margin enhancement through innovation Complexity
italy.ni.com
Oscilloscope for software Automated test system that traceably validates product requirements that is available at both the software and hardware phases of product development.
Automated We can run it overnight and after every build Traceable We have records and notifications of changes Validates product requirements We can technically test that all of our products requirements are covered Test at both the software and hardware phases of development Test is an integral part of software development before and after hardware targeting
italy.ni.com
Product selection
Automated test system that traceably validates product requirements that is available at both the software and hardware phases of product development.
Automated
o
Traceable
o
italy.ni.com
Software Architecture
italy.ni.com
Design
Prototyping
HIL Validation
Deployment
italy.ni.com
HIL Validation
Software-inthe-Loop Testing
italy.ni.com
10
Test Continuity
Simulated Real
Stimulus, Data Logging, User Interface, Analysis
italy.ni.com
11
Requirements
User Interfaces
Models
italy.ni.com
Analysis
12
Reports
LearSystemsValidationResults
Reusability of Test Cases
Innovation,NPDandComponentIntegration UnitModel Testing Integration Testing ProductionlineandIPC Vehicle Testing
ECUModule Testing(HIL)
80%oftestcases canbereused
100%oftestcases canbereused
Increasedreuseleadstohigherqualityandlowercost
UsedbypermissionofLearCorporation
LearSystemsValidationResults
High Quality Deliveries
UnitModel Testing
Integration Testing
ECUModule Testing(HIL)
Vehicle Testing
Field Issues
25%of issuesfound
25%of issuesfound
45%of issuesfound
5%of issuesfound
0%of issuesfound
Field Test
Requirements Gathering
Calibration
Model Simulation
+ -
Controller
Plant
+-
Controller
Plant
PUMP ECU
Pressure valve values and power voltage
[AI]
Unit Enabled
[DI]
Low and critical pressure feedback
[CAN] [AO]
Unit alive
italy.ni.com
16
Requirements
italy.ni.com
17
Requirements
Requirement s
The test system will be used to validate an engine controller model with different environmental parameter values.
REQ_PR002_Rapid_PressureChange
REQ_PR001_Slow_PressureChange
Exercise the Pressure Unit with the rapid pressure change profile.
Exercise the Pressure Unit with the slow pressure change profile.
REQ_SG002_Rapid_PressureChangesDet ected
REQ_SG001_Slow_PressureChangesDetec ted
o
Check if all signals fit into range for rapid pressure change.
Check if all signals fit into range for slow pressure change.
REQ_PR003_Normal_PressureChange
o
Exercise the Pressure Unit with the normal pressure change profile.
REQ_SG003_Normal_PressureChangesD etected
Check if all signals fit into range for normal pressure change.
italy.ni.com
18
Requirements
Models
italy.ni.com
19
The MathWorks, Inc. Simulink software LabVIEW LabVIEW Control Design and Simulation Module NI MATRIXx SystemBuild Esterel SCADE Suite C/C++/FORTRAN/Ada MapleSim models from Maplesoft SimulationX from ITI GT-POWER engine models from Gamma Technologies Inc. Tesis DYNAWare models
italy.ni.com
20
In Work CarSim from Mechanical Simulation AVL BOOST/CRUISE WaveRT Models from VI-grade Simulink is a registered trademark of The MathWorks, Inc. All Easy5 other trademarks are the property of their respective owners.
Requirements
Models
Stimulus Profile
italy.ni.com
21
Requirements
Models
Stimulus Profile
Analysis
italy.ni.com
22
Requirements
Models
Stimulus Profile
Analysis
italy.ni.com
23
Requirements
italy.ni.com
24
What is ATML?
ATML = Automatic Test Markup Language Driven by the Department of Defense, Industry Standardized as IEEE 1671, IEEE 1636.1, IEEE 1232 Common exchange format for all test and maintenance information
italy.ni.com
25
Interoperability of Test System Components Standardize documentation and reporting format Require common component interfaces Documentation of Test Systems Define schemas describing components Require documentation of system characteristics
italy.ni.com
26
ATML Will
Enable integrated multi-vendor COTS-based solutions Support improvement of diagnostic accuracy Reduce repair time and cost Facilitate ATE technology insertion and TPS rehost
italy.ni.com
27
Models
Stimulus Profiles
Analysis
italy.ni.com
28
Requirements
Test Case
Test Station
Test Results
Test Description
UUT
Test Result
UUT Description
italy.ni.com
29
HIL Testing
Model Simulation
+ -
Controller
Plant
Controller
Plant
+-
Rapid Prototyping
italy.ni.com
30
Re-use provides correlation of test procedures and results across all development phases Continuity of test components reduces test application development and maintenance costs Common test components and interfaces create operational efficiency throughout the process
italy.ni.com
31
Traceability all the way to test and back Collaboration between ALL teams, including test Quality and test considered from the outset, not an afterthought, reducing cost and risk of identifying and correcting defects Test component re-use throughout project phases and between projects providing operational efficiency and accuracy
italy.ni.com
32
Integrated hardware & software platform Increased efficiency from testing throughout the design process Easily reconfigurable modular test systems Greatest variety, value, & availability of commercial off-the-shelf (COTS) products
italy.ni.com
33
Questions?
italy.ni.com
34
italy.ni.com