TPT – Automated Embedded Testing
Total Page:16
File Type:pdf, Size:1020Kb
TPT – Automated Embedded Testing Automated Testing Control Systems Systematic Testing Continuous Behavior TPT is a test tool used in the testing of embedded control systems. It supports full automation testing in a real-time context and can use continuous as well as discrete signals. Test cases are modelled graphically. Thanks to the built–in platform independence, TPT can be used universally from Model-test (MiL), through Software-test (SiL) to Hardware-in-the-Loop-Test (HiL). TPT currently offers test support for MATLAB/Simulink models, ‘C’ code on the host processor, ‘C’ code on debugger boards via Tessy, HiL test systems as well as some proprietary environments. Time Partition Testing Model-Based Testing in Automotive Industry with TPT Software Typical Users of TPT Software IBES INTELLIGENT BUSINESS & EDUCATION SOLUTION JOINT STOCK COMPANY Add. Room 19A , Indochina Building, No. 4 Nguyen Dinh Chieu Street, Dakao Ward, Dist.1, HCMC, Vietnam Tel: 08 37965969 - Fax: 08 37965969 - Cell No. +84 90 3384610 1. Introduction about MBD Testing for AI with TPT software Time Partition Testing - A tool for testing control and feedback control systems - Testing and verifying in all development phases - Dynamic testing at all integration levels IBES INTELLIGENT BUSINESS & EDUCATION SOLUTION JOINT STOCK COMPANY Add. Room 19A , Indochina Building, No. 4 Nguyen Dinh Chieu Street, Dakao Ward, Dist.1, HCMC, Vietnam Tel: 08 37965969 - Fax: 08 37965969 - Cell No. +84 90 3384610 - Supported Test Cases in different environments - Dashboard – Interactive UI's for the system under test IBES INTELLIGENT BUSINESS & EDUCATION SOLUTION JOINT STOCK COMPANY Add. Room 19A , Indochina Building, No. 4 Nguyen Dinh Chieu Street, Dakao Ward, Dist.1, HCMC, Vietnam Tel: 08 37965969 - Fax: 08 37965969 - Cell No. +84 90 3384610 2. Main Automotive applications testing by TPT Software ▪ Body controller projects ▪ Interior and exterior lights, seat heating and ventilation, climate, cluster ▪ Powertrain controller projects ▪ Transmission, HV battery, power electronics, hybrid powertrain, engine ▪ ADAS controller projects ▪ Emergency braking, lane departure warning, blind spot detection ▪ Autonomous driving ▪ Drive dynamics controller projects ▪ Cross-wind control, roll control IBES INTELLIGENT BUSINESS & EDUCATION SOLUTION JOINT STOCK COMPANY Add. Room 19A , Indochina Building, No. 4 Nguyen Dinh Chieu Street, Dakao Ward, Dist.1, HCMC, Vietnam Tel: 08 37965969 - Fax: 08 37965969 - Cell No. +84 90 3384610 3. TPT Test Automation TPT automates all steps From execution to reporting 3.1 - Test Modeling Technique Variant modeling Testlet Testlet Testlet Decision at runtime Testlet IBES INTELLIGENT BUSINESS & EDUCATION SOLUTION JOINT STOCK COMPANY Add. Room 19A , Indochina Building, No. 4 Nguyen Dinh Chieu Street, Dakao Ward, Dist.1, HCMC, Vietnam Tel: 08 37965969 - Fax: 08 37965969 - Cell No. +84 90 3384610 Time partitioning Parallel processes Testlet Testlet Testlet Loop Hirarch y IBES INTELLIGENT BUSINESS & EDUCATION SOLUTION JOINT STOCK COMPANY Add. Room 19A , Indochina Building, No. 4 Nguyen Dinh Chieu Street, Dakao Ward, Dist.1, HCMC, Vietnam Tel: 08 37965969 - Fax: 08 37965969 - Cell No. +84 90 3384610 3.2 – Manual Testing a) TPT Dashboard ▪ Design your own graphical interface for your system under test ▪ Observe and interact with tests using the Dashboard ▪ Te s t your system manually with the Dashboard (Simulation) ▪ Automatically record test cases from your interactions ▪ Distribute your simulation environment with the Dashboard Player (separate tool at no charge) IBES INTELLIGENT BUSINESS & EDUCATION SOLUTION JOINT STOCK COMPANY Add. Room 19A , Indochina Building, No. 4 Nguyen Dinh Chieu Street, Dakao Ward, Dist.1, HCMC, Vietnam Tel: 08 37965969 - Fax: 08 37965969 - Cell No. +84 90 3384610 b) Macro recorder Dashboard interaction ▪ Record dashboard interaction as test cases ▪ Generate Step Lists ▪ Create new test cases ▪ Integrate recorded tests into existing step-lists ▪ Post-process step list manually if required 3.3 – Test case generation methods in TPT ▪ TASMO for structural coverage tests of Simulink models and C-Code ▪ Combination of Equivalence classes ▪ Path and variant combination of TPT automatons ▪ Generate test cases from value ranges IBES INTELLIGENT BUSINESS & EDUCATION SOLUTION JOINT STOCK COMPANY Add. Room 19A , Indochina Building, No. 4 Nguyen Dinh Chieu Street, Dakao Ward, Dist.1, HCMC, Vietnam Tel: 08 37965969 - Fax: 08 37965969 - Cell No. +84 90 3384610 Test cases generation from Value Ranges IBES INTELLIGENT BUSINESS & EDUCATION SOLUTION JOINT STOCK COMPANY Add. Room 19A , Indochina Building, No. 4 Nguyen Dinh Chieu Street, Dakao Ward, Dist.1, HCMC, Vietnam Tel: 08 37965969 - Fax: 08 37965969 - Cell No. +84 90 3384610 ▪ TPT test model has many variants oF states and transitions ▪ Combination can be built automatically ▪ Tests can be generated IBES INTELLIGENT BUSINESS & EDUCATION SOLUTION JOINT STOCK COMPANY Add. Room 19A , Indochina Building, No. 4 Nguyen Dinh Chieu Street, Dakao Ward, Dist.1, HCMC, Vietnam Tel: 08 37965969 - Fax: 08 37965969 - Cell No. +84 90 3384610 4. Test Execution : TPT tests in different environments… …and execute as below process: IBES INTELLIGENT BUSINESS & EDUCATION SOLUTION JOINT STOCK COMPANY Add. Room 19A , Indochina Building, No. 4 Nguyen Dinh Chieu Street, Dakao Ward, Dist.1, HCMC, Vietnam Tel: 08 37965969 - Fax: 08 37965969 - Cell No. +84 90 3384610 4.1 – TPT Test process for Matlab/Simulink • Support of Simulink with/without Plant Models + Opened Loop Control Testing + Closed Loop Control Testing IBES INTELLIGENT BUSINESS & EDUCATION SOLUTION JOINT STOCK COMPANY Add. Room 19A , Indochina Building, No. 4 Nguyen Dinh Chieu Street, Dakao Ward, Dist.1, HCMC, Vietnam Tel: 08 37965969 - Fax: 08 37965969 - Cell No. +84 90 3384610 • Support of internal signals + Feed model-internal signals back to TPT + No modification of the SUT necessary 4.2 - TPT Test process for ASCET IBES INTELLIGENT BUSINESS & EDUCATION SOLUTION JOINT STOCK COMPANY Add. Room 19A , Indochina Building, No. 4 Nguyen Dinh Chieu Street, Dakao Ward, Dist.1, HCMC, Vietnam Tel: 08 37965969 - Fax: 08 37965969 - Cell No. +84 90 3384610 4.3- TPT Test process for C/C++ Code 4.4- TPT Test for FUSION Co-simulation platform IBES INTELLIGENT BUSINESS & EDUCATION SOLUTION JOINT STOCK COMPANY Add. Room 19A , Indochina Building, No. 4 Nguyen Dinh Chieu Street, Dakao Ward, Dist.1, HCMC, Vietnam Tel: 08 37965969 - Fax: 08 37965969 - Cell No. +84 90 3384610 • FUSION support: + FMI : Functional Mock-up Interface + FMUs for co-simulation with other FUSION nodes 4.5- QTRONIC Silver Adapter ▪ Testing of closed loop virtual ECUs with QTRONIC Silver ▪ TPT Integration as a Silver Node ▪ Read, Write and Read/Write access to signals and parameters IBES INTELLIGENT BUSINESS & EDUCATION SOLUTION JOINT STOCK COMPANY Add. Room 19A , Indochina Building, No. 4 Nguyen Dinh Chieu Street, Dakao Ward, Dist.1, HCMC, Vietnam Tel: 08 37965969 - Fax: 08 37965969 - Cell No. +84 90 3384610 4.6- AUTOSAR Support ▪ Test SW-C using TPT on PC ▪ Support of S/R, C/S , IRV, PIMs, Compositions, explicit and implicit communication ▪ AUTOSAR compatibility mode 4.7- SiL and PiL with Debuggers ▪ Support of testing with debuggers on target HW such as ▪ GDB – GNU debugger on PC ▪ PLS-UDE on TPT +UDE on AURIX, Tricore, ARM Cortex etc. ▪ Lauterbach TRACE 32 on ARM, Power Architecture etc. IBES INTELLIGENT BUSINESS & EDUCATION SOLUTION JOINT STOCK COMPANY Add. Room 19A , Indochina Building, No. 4 Nguyen Dinh Chieu Street, Dakao Ward, Dist.1, HCMC, Vietnam Tel: 08 37965969 - Fax: 08 37965969 - Cell No. +84 90 3384610 4.8- HiL Test Execution a) dSPACE HiL Fusion Adapter (ASAM XIL) ▪ Test of dSPACE HiL / VeOS / SCALEXIO components via ASAM XIL API ▪ Change signals ▪ Error simulation ▪ Application via CANape or INCA ▪ Measurement via HiL, CANape/Inca ▪ Diagnosis via CANape ▪ Extensible for other ASAM XIL-based platforms IBES INTELLIGENT BUSINESS & EDUCATION SOLUTION JOINT STOCK COMPANY Add. Room 19A , Indochina Building, No. 4 Nguyen Dinh Chieu Street, Dakao Ward, Dist.1, HCMC, Vietnam Tel: 08 37965969 - Fax: 08 37965969 - Cell No. +84 90 3384610 b) National Instrument – NI : VeriStand ▪ Test National Instrument HiL system via Test Stand ▪ Real-time via test frontloading ▪ Automatic Custom Device Configuration from System DeFinition File c) VECTOR CANoe Integration ▪ Te s t VECTOR CANoe Simulation Setups ▪ Stimulation an Observation oF bus signals and system variables ▪ Test driver integrated into CANoe via custom library ▪ Incubation Feature IBES INTELLIGENT BUSINESS & EDUCATION SOLUTION JOINT STOCK COMPANY Add. Room 19A , Indochina Building, No. 4 Nguyen Dinh Chieu Street, Dakao Ward, Dist.1, HCMC, Vietnam Tel: 08 37965969 - Fax: 08 37965969 - Cell No. +84 90 3384610 d) CAN, INCA + CANape platform environment ▪ CAN stimulation: ▪ Map TPT signals to CAN messages ▪ Changing application parameter ▪ via INCA or CANape ▪ Measure ▪ internal signals in controller ▪ Diagnosis via CANape IBES INTELLIGENT BUSINESS & EDUCATION SOLUTION JOINT STOCK COMPANY Add. Room 19A , Indochina Building, No. 4 Nguyen Dinh Chieu Street, Dakao Ward, Dist.1, HCMC, Vietnam Tel: 08 37965969 - Fax: 08 37965969 - Cell No. +84 90 3384610 e) Driver in The Loop Testing – DiL ▪ Via CAN ▪ Via application tools like INCA ▪ Via on-line driver information ▪ information ▪ Message boxes ▪ Acoustic messages ▪ Step list highlighting11 IBES INTELLIGENT BUSINESS & EDUCATION SOLUTION JOINT STOCK COMPANY Add. Room 19A , Indochina Building, No. 4 Nguyen