© 2021 PikeTec All rights reserved
We designed TPT to be the best testing tool for Simulink and TargetLink models. Every model that runs in Simulink can be tested with TPT. It does not matter if your model is small or large. TPT masters your tests and simplifies creation, management, maintenance and analysis of tests. That’s why TPT is the ideal tool for Model-in-the-Loop testing for Simulink and TargetLink models.
TPT manages your tests – and you save time to drive your business.
Test setup and execution of Simulink or TargetLink models with TPT is easy. You only have to make a few configurations. TPT does the rest – fully automated in the background including MiL-SiL Back-to-Back testing.
Typically, Model-in-the-Loop testing is done in Simulink. Just create the test cases and execute them in Model-in-the-Loop MODE in Simulink. Next, you generate your code with TargetLink, Embedded Coder or Simulink Coder to execute them for Software-in-the-Loop testing MODE. After automatic code generation the test cases can be executed automatically. This way the test results can be easily compared – in a completely automated way and with error-tolerant signal comparison (see Test Assessment).
Before TPT can execute tests, it must know the interface of your Simulink or TargetLink model: Depending on your setup, TPT will automatically analyze all signals and parameters from your model. As a result, TPT knows exactly the model interface. Not just the signals and parameters, but also data types, arrays, buses, scaling, message signals and internal signals. All these data can be changed and observed.
Test cases can be modeled manually as functional test cases. TPT supports many unique techniques for modeling tests. TPT test case design is very natural and intuitive. It is very easy to create and easy to maintain tests for Simulink and TargetLink.
If you are interested in test cases that meet certain coverage criteria (Condition Coverage, Decision Coverage), TPT offers a technology, called TASMO, to generate suitable test cases at the push of a button. You just select the desired coverage criteria and TASMO searches for the test cases for you. TASMO generates a minimum number of test cases automatically that lead to a maximum structural coverage of your Simulink model, Stateflow model or TargetLink model. The generated test cases can also be used for back-to-back regression tests.
You don’t have to care about the details of test execution. It is as simple as pushing a button. TPT automatically generates a test harness model which contains a copy of your Simulink or TargetLink model to be tested and the actual TPT test driver that does all the work for you. TPT starts and controls the entire test execution remotely.
To speed up test execution Simulink models can also be automatically compiled to C-code before test execution. This option can significantly reduce the test execution time compared to pure Simulink model testing. It also allows the execution of tests on separate machines.
Complex tests or test suites can be executed unattended in batch mode or by using the TPT Jenkins plugin, for example overnight. TPT can also remote control several MATLAB instances in parallel which can tremendously reduce test execution time.
After the test execution, TPT starts the test assessment based on the collected data on signals and parameters. Also internal signals, that can been tracked by TPT automatically on request, can be included in those assessments. A report of the results is generated.
Test cases can be executed with Simulink or TargetLink models running in MiL (Model-in-the-Loop) SiL (Software-in-the-Loop) or PiL (Processor-in-the-Loop) mode. Comparing the behavior between these modes is simple with TPT. Just configure several execution configurations using different simulation modes (MiL, SiL, PiL) and enable and configure the Back-to-Back assessment. TPT will run all tests in the desired modes and compares the results automatically.
TPT provides you with the test tool that supports you along the (test) road and facilitates the development of a safety-relevant system in accordance with the relevant safety standards. The required qualification of TPT can be easily implemented. For software development, ISO 26262 defines requirements for the various development phases. With TPT you have the test tool that optimally supports you up to ASIL-D. A qualification from TPT to ASIL-D is easy to implement.
C and C++ code can be easily tested with TPT. Testing C or C++ code is possible for module and integration tests.
The development of safety-relevant systems requires compliance with certain safety standards, such as IEC/EN 61508, DO178, EN50128 or ISO 26262 must be taken into account.
With TPT, you can test ECU software and embedded control systems in all development phases from MiL, SiL, PiL, HiL, ECU testing to vehicle testing.
PikeTec has contributed to the ITEA research project EMPHYSIS aimed at establishing the new “eFMI standard”. Today, we can humbly announce that project EMPHYSIS received the ITEA Award of Excellence for this achievement.