Computer-implemented method and simulation and test environment for checking the executability of at least one test case on an in-the-loop simulation arrangement

The method verifies test case feasibility in in-the-loop simulations by identifying and correcting signal correspondences, optimizing test execution and setup transitions.

WO2026243590A1PCT designated stage Publication Date: 2026-11-26DSPACE SE & CO KG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/EP2026/063740
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-23
Filing Date
2026-05-12
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

In-the-loop simulation setups often fail to execute test cases due to missing correspondences between simulator and test case signals, leading to resource wastage and costly interruptions, especially in complex test sequences.

Method used

A computer-implemented method to verify the feasibility of test cases by comparing test case signals with simulator signals, identifying and signaling missing correspondences, and using a trained artificial neural network to suggest corrections.

Benefits of technology

Prevents execution of infeasible test cases, optimizing resource use and reducing costs by ensuring only feasible test cases are executed, and aiding in transferring test cases between different simulation setups.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure EP2026063740_26112026_PF_FP_ABST
    Figure EP2026063740_26112026_PF_FP_ABST
Patent Text Reader

Abstract

The invention relates to a computer-implemented method (1) for checking the executability of at least one test case (2) on an in-the-loop simulation arrangement (3), wherein the in-the-loop simulation arrangement (3) comprises a simulation and test environment (4), a simulation model (5) calculated on the simulation and test environment (4) and a control device (6) which interacts with the simulation model (5), wherein the simulation model (5) comprises simulator model signals (Sm), wherein the control device (6) comprises simulator control device signals (Ss), wherein the test case (2) comprises test case model signals (Tm) and / or test case control device signals (Ts) and wherein the test case (2) tests the behaviour of the test case model signals (Tm) and / or the behaviour of the test case control device signals (Ts) during execution with the simulation and test environment (4). In a checking step (9), it is checked whether the simulation arrangement (3) has simulator model signals (Sm) which correspond to the test case model signals (Tm) and / or wherein it is checked whether the in-the-loop simulation arrangement (3) has simulator control device signals (Ss) which correspond to the test case control device signals (Ts) and wherein, in the case of at least one lack of correspondence (10) between test case model signals (Tm) and simulator model signals (Sm) and / or in the case of at least one lack of correspondence (10) between test case control device signals (Ts) and simulator control device signals (Ss), the non-executability (11) of the test case (2) is ascertained and is signalled on the simulation and test environment (4).
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Computer-implemented method and simulation and test environment for verifying the feasibility of at least one test case on an in-the-loop simulation setup

[0002] The invention relates to a computer-implemented method for verifying the feasibility of at least one test case on an in-the-loop simulation setup, wherein the in-the-loop simulation setup comprises a simulation and test environment, a simulation model calculated on the simulation and test environment, and a control unit interacting with the simulation model, wherein the simulation model comprises simulator model signals, wherein the control unit comprises simulator control unit signals, wherein the test case comprises test case model signals and / or test case control unit signals, and wherein, when executed with the simulation and test environment, the test case tests the behavior of the test case model signals and / or the behavior of the test case control unit signals.

[0003] In-the-loop simulation setups for conducting in-the-loop tests have been an established tool for many years to support the development of electronic control units (ECUs), which in this context are often more generally referred to as devices under test (DUTs). The ECUs being developed are typically small computers with an I / O interface and ECU software implemented on them (often control or automation applications). In their later use, the ECUs communicate with and interact with a technical process to be influenced—their target system—via their I / O interface. The signals transmitted via the I / O interface can be very diverse (small electrical signals, power signals, fiber optic signals, bus messages, etc.).Typical examples include electronic control units (ECUs) in the automotive sector (engine control, braking systems, driver assistance systems, etc.), in aerospace, and also in industrial applications. Because these ECUs are often integrated into their target system, they are referred to as embedded systems.

[0004] In in-the-loop testing, the environment—that is, the technical target system of the electronic control unit (ECU)—is at least partially replicated by the in-the-loop simulation setup, specifically by the simulation model calculated on the simulation and test environment. This allows the ECU to be tested without its target environment needing to be physically present, which offers clear advantages. Because the ECU under test is integrated into its environment—albeit a simulated one—and thus exists in a closed interaction loop, these tests are called "in-the-loop" tests performed using in-the-loop simulation and test environments.

[0005] If the control unit exists as physical hardware (for example, as a development control unit or a finished production control unit), then this is referred to as hardware-in-the-loop testing. If the control unit exists as a virtual control unit, i.e., it is simulated, then this is referred to as software-in-the-loop testing, since in any case the software that will later be used on the actual control unit can be tested.

[0006] For the purposes of this document, the simulation and test environment comprises both a simulation environment, which enables the simulation of the simulation model, and a test environment, which enables the handling of test cases and their transfer to the simulation model (through appropriate parameterization and control of the simulation model). In hardware-in-the-loop testing, the simulation environment is often implemented with a dedicated simulator that enables real-time computation of the simulation model and also provides the necessary I / O interfaces to exchange data with the physical control unit. In this case, the test environment is often run on a separate PC connected to the simulator via a suitable data connection. This allows the simulation model to be parameterized on the simulator according to the test cases and the simulation to be controlled according to the test case being executed.In a software-in-the-loop test, where the control unit exists virtually, i.e., as a software representation, the simulation and test environment may preferably be implemented on a single computer platform. Within the scope of the present invention, the detailed hardware implementation of the simulation and test environment is not critical; therefore, for the sake of simplicity, we will always refer to it as a simulation and test environment.

[0007] Regardless of the type of in-the-loop test, the simulation model and the ECU must be coordinated so that the desired interaction between the simulation model and the ECU can occur via at least a portion of the simulator model signals and the simulator ECU signals. The simulator model signals and the simulator ECU signals constitute the entirety of signals that can be tested with the in-the-loop simulation setup.

[0008] Generally, when executing a test case, a desired test situation for the control unit (for example, pressing a brake pedal) is created by deliberately influencing the simulation model and its simulator model signals. The actual reaction of the control unit is recorded directly (actuator signals to the brake calipers) or indirectly (vehicle deceleration) and usually compared with an expected reaction of the control unit (direct verification) or with an expected effect of the reaction of the control unit (indirect verification). If the reaction of the control unit (recorded directly or indirectly) corresponds to the expected reaction, the test case is considered passed; otherwise, it fails. In the example above, a test case model signal is the brake pedal position, and the relevant test case control unit signals are the actuator signals to the brake calipers.

[0009] Test cases can vary in complexity. The simplest tests only deal with verifying individual test case model signals and / or test case control unit signals in monocausal relationships (for example, right turn signal stalk activated, right turn signal electrically activated). Complex test cases encompass entire scenarios with a multitude of tested test case model signals and / or test case control unit signals (for example, overtaking a truck in oncoming traffic with lane control and obstacle detection).

[0010] In practice, it frequently happens that test cases fail to execute on an in-the-loop simulation setup. This is particularly detrimental when conducting extensive test sequences with numerous test cases, as test runs are either repeatedly interrupted or, after completion, it turns out that the test run is hardly meaningful due to a large number of unexecutable test cases. Furthermore, inadequate test runs also tie up resources (for example, by consuming simulators and cloud services) and thus generate costs.

[0011] The object of the present invention is therefore to design and further develop the method described above in such a way that dealing with test cases that cannot be performed on an in-the-loop simulation setup is less problematic. The object derived above is initially and essentially achieved in the method described above by checking, in a verification step, whether the simulation setup has simulator model signals that correspond to the test case model signals and / or whether the simulation setup has simulator control unit signals that correspond to the test case control unit signals.If at least one correspondence is missing between test case model signals and simulator model signals and / or if at least one correspondence is missing between test case control unit signals and simulator control unit signals, the lack of feasibility of the test case is determined and signaled on the simulation and test environment.

[0012] The described procedure is based on the understanding that the feasibility of test cases is often linked to the fact that the test case model signals and test case ECU signals handled in the test case have at least a partial lack of correspondence on the in-the-loop simulation setup on which the test case is to be executed. If even a single correspondence is missing in the entire signal set of the in-the-loop simulation setup, comprising the simulator model signals and the simulator ECU signals, for a test case model signal or a test case ECU signal, the test case will be impossible to execute for this reason alone. There are numerous and varied reasons for the lack of correspondence between simulator signals and test case signals.For example, the simulation model may be missing model components with the corresponding simulator model signals, or the simulation model may lack the necessary modeling depth. Another example of a cause for missing signal correspondence is insufficient hardware in the simulation and test environment, such as inadequate I / O interfaces (high-current power signals, bus interfaces (CAN), etc.) required to measure certain simulator ECU signals.

[0013] For the operator of an in-the-loop simulation setup, it is not readily apparent whether the test case model signals and test case control unit signals processed or referenced in the test case have complete correspondences on the in-the-loop simulation setup. Therefore, the verification step is automated – i.e., computer-implemented – on the in-the-loop simulation setup, specifically on the simulation and test environment, and in particular only on the test environment.In practice, a comparison is preferably made between a test case signal list (test case model signals and test case ECU signals) obtained or derived from the test case with unique, abstract signal identifiers (for example, "TumSignal FrontLeft") instead of model- or hardware-specific signal identifiers (for example, "Platform(): / / ModelRoot-Cockpit / SubX / SubY / FrontLeftTumSignal") and a simulator signal list (simulator model signals and simulator ECU signals, for example, in the form of a so-called trace file, which describes the mapping of signals and structures of an abstract simulation model (Simulink model) into program code for execution on a target platform, i.e., on a simulator) obtained or derived from the simulation model and the ECU of the simulation setup, with symbolic, model-specific signal identifiers.If a corresponding simulator signal is found in the simulator signal list for each test case signal in the test case signal list, the test case is considered feasible; otherwise, it is considered infeasible. The signal indicating that a test case is infeasible can be displayed in various ways, such as a text message on a display in the simulation and test environment, or in an electronic log of the verification step.

[0014] The control unit of the in-the-loop simulation setup can be a real, i.e., hardware-implemented, control unit connected to an I / O interface of the simulation and test environment via a physical I / O interface of the control unit. In this case, it is a hardware-in-the-loop simulation setup used to perform the procedure. Alternatively, the control unit of the in-the-loop simulation setup can be implemented as a virtual control unit in software on the simulation and test environment, and its behavior can be calculated on the simulation and test environment. In this case, it is a software-in-the-loop simulation setup used to perform the procedure.

[0015] A preferred embodiment of the procedure is characterized by the fact that a set of test cases to be executed—also referred to as a test sequence—is evaluated using a feasibility metric, taking into account those test cases from the set that are found to be unfeasible, and the evaluation result is signaled. In the simplest case, the evaluation metric consists of the proportion of unfeasible test cases compared to the total number of test cases to be executed, particularly as a percentage. Similarly, the feasibility metric can also indicate the proportion of feasible test cases compared to the total number of test cases to be executed.

[0016] Another preferred embodiment of the method is characterized in that, during the verification step, if a lack of feasibility is detected—i.e., if a missing correspondence is found between test case model signals and simulator model signals, and / or if a missing correspondence is found between test case ECU signals and simulator ECU signals—the test case model signals and / or the test case ECU signals with the detected missing correspondence are signaled, for example, displayed or stored as information. By signaling the test case signals with missing correspondence in the simulator signals, conclusions can be drawn about areas of the simulation model and / or the ECU that are not, or not sufficiently, considered in the in-the-loop simulation setup.Preferably, for each detected test case signal with missing correspondence, it is specified in how many test cases the test case signal with missing correspondence occurs and / or for each detected test case signal with missing correspondence, the test case or test cases in which the test case signal with missing correspondence occurs are specified.

[0017] In a further development of the aforementioned procedure, a set of test cases to be executed is evaluated using a feasibility metric, taking into account those test case model signals and / or test case ECU signals with identified missing correspondence to simulator model signals and / or simulator ECU signals. The evaluation result is then displayed and made available. As with the evaluation metric for the test cases, the evaluation metric for signal correspondences, in its simplest form, consists of determining the proportion of test case signals with missing correspondence compared to the total number of test case signals processed in the test cases, particularly as a percentage. Similarly, the feasibility metric can also indicate the proportion of test case signals with correspondences, measured against the total number of test case signals.

[0018] In a further preferred refinement of the procedure, the procedure is executed before a test case is carried out, and the test case checked in the verification step is not executed if it proved to be infeasible in the verification step. In particular, the test case is executed automatically if it proved to be feasible in the verification step. This approach prevents the in-the-loop simulation setup from being occupied with the partial execution of test cases that ultimately fail. Depending on how the in-the-loop simulation setup reacts to infeasible test cases, this can also prevent the in-the-loop simulation setup from stopping the execution of a test sequence because an infeasible test case leads to the termination of a test run.In a further advantageous embodiment of the method, the verification step is applied to all test cases in a set of multiple test cases, thus determining the feasibility of each case. In particular, those test cases that proved feasible in the verification step are then automatically executed. This preliminary overall evaluation of all test cases is particularly advantageous for the operator of the in-the-loop simulation setup because it allows for a comprehensive assessment before a test run as to whether conducting a test run with the achievable coverage of feasible test cases is even worthwhile.

[0019] In a further development of the procedure, a trained artificial neural network, based on at least one missing correspondence between test case model signals and simulator model signals and / or at least one missing correspondence between test case control unit signals and simulator control unit signals as input information of the artificial neural network, specifies as output information at least one supplementary element for the simulation and test environment and / or at least one supplementary element for the simulation model and / or at least one supplementary element for the control unit, wherein the use of the supplementary element in the simulation and test environment and / or in the simulation model and / or in the control unit leads to the correction of the missing correspondence specified as input signal.

[0020] In a further development of the procedure, a trained artificial neural network, based on at least one missing correspondence between test case model signals and simulator model signals and / or at least one missing correspondence between test case ECU signals and simulator ECU signals and the specification of a list of the existing test case model signals and simulator model signals and / or the specification of a list of the existing test case ECU signals and simulator ECU signals as input information of the artificial neural network, outputs at least one supplementary element from the list of the existing test case model signals and simulator model signals and / or at least one supplementary element from the list of the existing test case ECU signals and simulator ECU signals as output information.This is a likely complementary element for restoring a correspondence in the case of one of the missing correspondences that appeared as an input variable, due to textual and / or structural similarity. For example, if the signal lists have model-specific signal identifiers (e.g., "Platform(): / / ModelRootCockpit / SubX / SubY / Front-LeftTumSignal"), then minor changes to the simulation model, such as subsystem Y becoming subsystem Z, can lead to the loss of correspondences, because the signal path in this example is now "Platform(): / / ModelRootCockpit / SubX / SubZ / FrontLeftTumSignal", and consequently, there is no longer a correspondence with the test-side signal, which still has the old path description. An artificial neural network designed in this way can detect these and similar errors and identify suitable complementary elements by searching for similarities.which rectify a missing correspondence or at least provide a suggestion for rectifying a missing correspondence, which is a significant aid to the operator of the in-the-loop simulation setup.

[0021] Preferably, the input signal also includes at least one existing correspondence between test case model signals and simulator model signals and / or at least one existing correspondence between test case ECU signals and simulator ECU signals. This is useful because specifying the existing correspondences provides an indirect description of the software and / or hardware configuration of the simulation and test environment and / or simulation model and / or ECU.

[0022] Preferably, the input signal also includes at least one piece of information about the software and / or hardware configuration of the simulation and test environment and / or the simulation model and / or the control unit. This is useful because providing this information constitutes a direct description of the software and / or hardware configuration of the simulation and test environment and / or the simulation model and / or the control unit.

[0023] The aforementioned artificial neural network is pre-trained with corresponding datasets of input and output information, including missing correspondences between test case model signals and simulator model signals, and / or missing correspondences between test case ECU signals and simulator ECU signals. Preferably, it also includes existing correspondences between test case model signals and simulator model signals, and / or existing correspondences between test case ECU signals and simulator ECU signals. Alternatively or additionally, it includes information on the software and / or hardware configuration of the simulation and test environment, the simulation model, and / or the ECU. In a preferred embodiment of the method, the artificial neural network is trained and configured such that

[0024] A particular advantage is the use of the previously described method for verifying the feasibility of at least one test case on an in-the-loop simulation setup when transferring at least one test case executable on a first in-the-loop simulation setup to a second in-the-loop simulation setup. In this verification step, the feasibility of the test case executable on the first in-the-loop simulation setup is checked on the second in-the-loop simulation setup. The situation described occurs relatively frequently in ECU development, for example, when no ECU hardware is initially available, meaning that functional tests are performed in a software-in-the-loop simulation setup. Subsequently, the ECU to be developed is available in a hardware version, so a switch to a hardware-in-the-loop environment is made.In this transition, it is important to determine whether the test cases executable on the software-in-the-loop simulation setup can also be executed on the hardware-in-the-loop simulation setup. The reverse is also possible, namely the transfer of test cases from a hardware-in-the-loop simulation setup to a software-in-the-loop simulation setup, for example, to perform tests on a larger scale even if the required number of hardware control units is not available. Given this, a preferred use of the method involves the first in-the-loop simulation setup being either a hardware-in-the-loop or a software-in-the-loop simulation setup, and the second in-the-loop simulation setup being either a software-in-the-loop or a hardware-in-the-loop simulation setup, respectively.

[0025] The previously described task is also solved by a simulation and test environment of an in-the-loop simulation arrangement for executing a test case, wherein a simulation model is calculated on the simulation and test environment, wherein the in-the-loop simulation arrangement includes an ECU interacting with the simulation model, wherein the simulation model includes simulator model signals, wherein the ECU includes simulator ECU signals, wherein the test case includes test case model signals and / or test case ECU signals, and wherein the test case, when executed with the simulation and test environment, tests the behavior of the test case model signals and / or the behavior of the test case ECU signals.The simulation and test environment used to solve the task is designed and configured such that, during operation, it performs a verification step to check whether the in-the-loop simulation setup has simulator model signals that correspond to the test case model signals, and / or whether the simulation setup has simulator ECU signals that correspond to the test case ECU signals. If at least one correspondence is missing between test case model signals and simulator model signals, and / or if at least one correspondence is missing between test case ECU signals and simulator ECU signals, the test case is deemed unfeasible and this is indicated on the simulation and test environment. The simulation and test environment is specifically designed such that the verification step is implemented in accordance with the described features in connection with the procedure.

[0026] In detail, there are numerous ways to design and further develop the inventive method for verifying the feasibility of at least one test case on an in-the-loop simulation setup, its use, and the corresponding simulation and test environment. Reference is made, on the one hand, to the claims subordinate to the independent claims, and on the other hand, to the following description of exemplary embodiments in conjunction with the drawing. Figure 1 schematically shows the execution of a test case on a simulation and test environment of an in-the-loop simulation setup, an in-the-loop simulation setup, and a simulation and test environment, as known from the prior art.

[0027] Fig. 2 schematically shows a method for verifying the feasibility of a test case on an in-the-loop simulation setup with an in-the-loop simulation setup and a simulation and test environment.

[0028] Fig. 3 schematically shows the procedure for checking the feasibility of a test case on an in-the-loop simulation setup by signaling test case signals with missing correspondence; Fig. 4 schematically shows the procedure for checking the feasibility of a test case on an in-the-loop simulation setup using a feasibility metric.

[0029] Fig. 5 schematically shows the procedure for checking the feasibility of a test case on an in-the-loop simulation setup, including checking several test cases for feasibility and subsequently executing the feasible test cases.

[0030] Fig. 6 shows the use of the method for verifying the feasibility of a test case on an in-the-loop simulation setup when transferring test cases from a first in-the-loop simulation setup to a second in-the-loop simulation setup.

[0031] Fig. 1 schematically shows the conditions known from the prior art for carrying out a test case 2 on an in-the-loop simulation setup 3. Although the present invention does not directly concern the execution of a test case 2 per se, the illustration nevertheless facilitates understanding of the method 1 of interest for verifying the feasibility of a test case 2 on an in-the-loop simulation setup 3, which is shown in the following figures. Such a method for verifying the feasibility of a test case 2 is expressly not shown in Fig. 1.

[0032] The in-the-loop simulation setup 3 comprises a simulation and test environment 4, a simulation model 5 calculated on the simulation and test environment 4, and a control unit 6 that interacts with the simulation model 5. In the illustrated embodiment, the control unit 6 is present as real hardware; in this respect, the simulation setup is a hardware-in-the-loop simulation setup 3. In other embodiments not shown here, the control unit 2 is not present as a hardware implementation but is simulated as a virtual control unit on the simulation and test environment 4; in this case, a software-in-the-loop simulation setup is present.

[0033] The simulation and test environment 4 comprises a simulation environment that enables the simulation of the simulation model 5, and also a test environment that enables the handling of test cases 2 and their transfer to the simulation model 5. Within the context of the present discussion, the detailed technical implementation of the simulation and test environment 4 is not relevant, i.e., whether it provides separate or combined implementations of a simulation environment and a test environment. Therefore, only one simulation and test environment 4 is always referred to and always presented together.

[0034] Simulation model 5 simulates the signal environment of the control unit 6 and includes simulator model signals Sm. The control unit 6 includes simulator control unit signals Ss. Test case 2 includes test case model signals Tm and / or test case control unit signals Ts, wherein test case 2, when executed with the simulation and test environment 4, tests the behavior of the test case model signals Tm and / or the behavior of the test case control unit signals Ts.

[0035] In Fig. 1, the simulator control unit signal Ss is transmitted from the control unit 6 to the simulation and test environment 4, namely via the I / O simulator interface 7 and the I / O control unit interface 8. The test case model signal Tm corresponds to the simulator model signal Sm because both signals relate to the brake pedal position in this case. Similarly, the test case control unit signal Ts corresponds to the simulator control unit signal Ss because, in the illustrated embodiment, both signals relate to the actuator signals to the brake calipers.

[0036] In the present case, when executing test case 2, the time course of the actual actuator signal Ss_ist(t) to the brake calipers is compared with the time course of the expected actuator signal Ts soll(t) to the brake calipers; if there is sufficient agreement, the performed test case 2 is considered passed, otherwise not.

[0037] The execution of test case 2 shown in Fig. 1 represents the desired situation of a feasible test case 2. In practice, however, there are many reasons why test case 2 cannot be executed on an in-the-loop simulation setup 3.

[0038] With the method 1 shown in different aspects in the following figures 2 to 6, it is possible to recognize the lack of feasibility 11 of test cases 2 on an in-the-loop simulation setup 3 and also to react to the recognized test cases 2 with lack of feasibility 11.

[0039] All procedures 1 have in common that in a verification step 9, it is checked whether the simulation setup 3 has simulator model signals Sm that correspond to the test case model signals Tm and / or whether the simulation setup 3 has simulator control unit signals Ss that correspond to the test case control unit signals Ts. If at least one correspondence 10 is missing between test case model signals Tm and simulator model signals Sm and / or if at least one correspondence 10 is missing between test case control unit signals Ts and simulator control unit signals Ss, the lack of feasibility 11 of test case 2 is determined and signaled on the simulation and test environment 4.

[0040] Fig. 2 partially shows the previously described in-the-loop simulation setup 3 (the connected control unit is not shown for clarity) with the simulation and test environment 4. Test case 2 includes the test case model signals Tm: ParkingBrake and Tm: TumSig-nal FL, as well as the test case control unit signal Ts: ParkingBrakeActuator. These test case signals must have corresponding signals on the simulation and test environment 4 for test case 2 to be executed. The simulation model 5 includes the simulator model signal Sm: ParkingBrake; simulator control unit signals Ss are not present. The simulation model 5 does not include the simulator model signal Sm: TumSignal FL because it lacks the necessary cockpit model module.Simulation and test environment 4 also lacks a simulator control unit signal Sm: ParkingBrakeActuator because the I / O interface 7 of simulation and test environment 4 lacks the I / O channel to receive the corresponding signal from the undisplayed control unit. Due to the lack of correspondence between test case signals and simulator signals, test case 2 cannot be executed.

[0041] In verification step 9, as part of procedure 1, the simulation and test environment 4 automatically checks whether the required correspondences exist between the test case signals Tm, Ts and the simulator signals Sm, Ss. In this embodiment, the corresponding simulator signals Sm, Ss are compared to the test case signals Tm, Ts, making any missing correspondences 10 identifiable. If verification step 9 reveals that one of the required correspondences is missing—in this case, for the test case model signal Tm: TumSignal FL and the test case control unit signal Ts: ParkingBrakeActuator—the lack of feasibility 11 of test case 2 is determined and indicated.

[0042] In the further development of the method 1 according to Fig. 3, in the verification step 9, if a missing correspondence 10 is detected between test case model signals Tm and simulator model signals Sm and / or if a missing correspondence 10 is detected between test case control unit signals Ts and simulator control unit signals Ss, the test case model signals Tm and / or the test case control unit signals Ts with the detected missing correspondence 10 are signaled; here, the test case model signal Tm: TumSignal FL and the test case control unit signal Ts: ParkingBrakeActuator are affected.

[0043] Fig. 4 shows the procedure 1, in which a set of test cases 2 to be performed, in this case the three test cases 2.1, 2.2, 2.3, is evaluated using a feasibility metric 12, taking into account those test cases 2.1, 2.2 from the set with a determined lack of feasibility 11, and the evaluation result DM is signaled. The feasibility metric 12 is, in this case, the percentage of test cases with a given feasibility.

[0044] In a variant of Method 1, not shown in detail here, a set of test cases is also available. In verification step 9, this set of test cases is evaluated using a feasibility metric, taking into account those test case model signals Tm and / or test case control unit signals Ts with the identified missing correspondence 10 to simulator model signals Sm and / or simulator control unit signals Ss, and the evaluation result is indicated. Figure 5 shows a variant of Method 1 that is particularly advantageous when a set of several test cases 2 is available; the five test cases 2.1, 2.2, 2.3, 2.4, and 2.5 are shown. Verification step 9 is initially applied to all test cases of the set, so that a feasibility assessment is determined for all test cases 2.1, 2.2, 2.3, 2.4, and 2.5. In the example shown, test cases 2.1 and 2.Test cases 3 were identified as not feasible, while test cases 2.2, 2.4, and 2.5 were deemed feasible. This approach has the advantage over individual verification and subsequent execution that it allows for a comprehensive assessment beforehand of whether conducting a test sequence with multiple test cases is worthwhile or not—due to insufficient test coverage. Test cases 2.2, 2.4, and 2.5, which proved feasible in verification step 9, will then be executed automatically.

[0045] Finally, Fig. 6 shows an advantageous use 15 of the previously described method 1 for verifying the feasibility of a test case 2 on an in-the-loop simulation setup 3. Use 15 relates to the transfer of a test case 2, which is feasible on a first in-the-loop simulation setup 3.1, to a second in-the-loop simulation setup 3.2. The first in-the-loop simulation setup 3.1 is a software-in-the-loop simulation setup; the control unit 6 is simulated as a virtual control unit on the simulation and test environment 4. The second in-the-loop simulation setup 3.2 is a hardware-in-the-loop simulation setup; the control unit 6 exists as independent hardware, as already described in connection with Fig. 1.

[0046] In practice, changing the in-the-loop simulation setup 3 has proven to be particularly error-prone with regard to the transfer of test cases 2, because changing hardware and software configurations of the in-the-loop simulation setups 3 can lead to simulator signals Sm, Ss, which are present on the first in-the-loop simulation setup 3.1, not necessarily also being present on the second in-the-loop simulation setup 3.2 and vice versa.

[0047] In verification step 9, the feasibility of test case 2, which can be performed on the first in-the-loop simulation setup 3.1, is checked on the second in-the-loop simulation setup 3.2, so that a result regarding the suitability of the test cases to be transferred to the new in-the-loop simulation setup 3.2 is quickly available. All further developments and configurations that were previously only addressed with regard to procedure 1 are transferable to procedure 1 when used in 15.

[0048] The simulation and test environments 4 in Figures 2 and 6 are simulation and test environments 4 of an in-the-loop simulation setup 3 for executing a test case 2. A simulation model 5 is calculated on the simulation and test environment 4, wherein the in-the-loop simulation setup 3 includes an ECU 6 that interacts with the simulation model 5. The simulation model 5 includes simulator model signals Sm, and the ECU 6 includes simulator ECU signals Ss. The test case 2 includes test case model signals Tm and / or test case ECU signals Ts. When executed with the simulation and test environment 4, the test case 2 tests the behavior of the test case model signals Tm and / or the behavior of the test case ECU signals Ts.The simulation and test environment 4 is designed and configured by appropriate programming such that, during operation, it checks in a verification step 9 whether the in-the-loop simulation setup 3 has simulator model signals Sm that correspond to the test case model signals Tm and / or whether the simulation setup 3 has simulator control unit signals Ss that correspond to the test case control unit signals Ts. If at least one correspondence 10 is missing between test case model signals Tm and simulator model signals Sm and / or if at least one correspondence 10 is missing between test case control unit signals Ts and simulator control unit signals Ss, the lack of feasibility 11 of test case 2 is determined and signaled on the simulation and test environment 4 of the simulation setup 3.

[0049] 1 Computer-implemented method

[0050] 2 Test Case

[0051] 3 in-the-loop simulation arrangement

[0052] 4 Simulation and test environment

[0053] 5 Simulation model

[0054] 6 Control unit

[0055] 7 I / O interface of the simulation and test environment

[0056] 8 I / O interface of the control unit

[0057] 9. Verification step

[0058] 10. Missing correspondence between test case signals

[0059] and simulator signals

[0060] 11. Lack of feasibility

[0061] 12. Feasibility metric based on test cases with lack of feasibility

[0062] 14 Feasibility metric based on test case signals with missing correspondence

[0063] 15 Use of the procedure

[0064] SM Simulator model signals

[0065] SS simulator control unit signals

[0066] Tm Test case model signals

[0067] Ts test case control unit signals

[0068] DM rating result

Claims

1. Patent claims 1. Computer-implemented method (1) for verifying the feasibility of at least one test case (2) on an in-the-loop simulation setup (3), wherein the in-the-loop simulation setup (3) comprises a simulation and test environment (4), a simulation model (5) computed on the simulation and test environment (4), and an ECU (6) interacting with the simulation model (5), wherein the simulation model (5) comprises simulator model signals (Sm), wherein the ECU (6) comprises simulator ECU signals (Ss), wherein the test case (2) comprises test case model signals (Tm) and / or test case ECU signals (Ts), and wherein the test case (2), when executed with the simulation and test environment (4), tests the behavior of the test case model signals (Tm) and / or the behavior of the test case ECU signals (Ts), wherein in a verification step (9) it is checked whether the Simulation setup (3) exhibits simulator model signals (Sm),which correspond to the test case model signals (Tm) and / or wherein it is checked whether the in-the-loop simulation setup (3) has simulator ECU signals (Ss) that correspond to the test case ECU signals (Ts) and wherein, in the event of at least one missing correspondence (10) between test case model signals (Tm) and simulator model signals (Sm) and / or in the event of at least one missing correspondence (10) between test case ECU signals (Ts) and simulator ECU signals (Ss), the lack of feasibility (11) of the test case (2) is determined and signaled on the simulation and test environment (4).

2. Method (1) according to claim 1, characterized in that the control unit (6) of the in-the-loop simulation arrangement (3) is a real control unit (6) which is connected to an I / O interface (7) of the simulation and test environment (4) by means of a physical I / O interface (8) of the control unit (6), or that the control unit (6) of the in-the-loop simulation arrangement (3) is implemented as a virtual control unit in software on the simulation and test environment (4) and is calculated on the simulation and test environment (4).

3. Method (1) according to claim 1 or 2, characterized in that a set of test cases (2) to be performed is evaluated using a feasibility metric (12), taking into account those test cases (2) from the set with a detected lack of feasibility (11), and the evaluation result (DM) is signaled.

4. Method (1) according to any one of claims 1 to 3, characterized in that in the verification step (9), in the event of a detected lack of correspondence (10) between test case model signals (Tm) and simulator model signals (Sm) and / or in the event of a detected lack of correspondence (10) between test case control unit signals (Ts) and simulator control unit signals (Ss), the test case model signals (Tm) and / or the test case control unit signals (Ts) with the detected lack of correspondence (10) are signaled.

5. Method (1) according to one of claims 1 to claim 4, characterized in that a set of test cases (2) to be carried out is evaluated using a feasibility metric (14) taking into account those test case model signals (Tm) and / or test case control unit signals (Ts) with the identified missing correspondence (10) to simulator model signals (Sm) and / or simulator control unit signals (Ss) and the evaluation result is signaled.

6. Method (1) according to one of claims 1 to 5, characterized in that the method (1) is carried out before carrying out a test case (2) and the test case (2) checked in the verification step (9) is not carried out if the test case (2) has proven to be not feasible (11) in the verification step (9), in particular wherein the test case (2) is carried out automatically if the test case (2) has proven to be feasible in the verification step (9).

7. Method (1) according to one of claims 1 to 6, characterized in that the verification step (9) is applied to all test cases (2) of the set of several test cases (2) in order to determine the feasibility of all test cases (2), in particular wherein those test cases (2) that have proven to be feasible in the verification step (9) are subsequently executed automatically.

8. Use (15) of the method (1) for verifying the feasibility of at least one test case (2) on an in-the-loop simulation arrangement (3) according to one of claims 1 to 7 when transferring at least one test case (2) executable on a first in-the-loop simulation arrangement (3.1) to a second in-the-loop simulation arrangement (3.2), wherein in the verification step (9) the feasibility of the test case (2) executable on the first in-the-loop simulation arrangement (3.1) on the second in-the-loop simulation arrangement (3.2) is verified. Use (15) of the method (1) according to claim 8, characterized in that the first in-the-loop simulation arrangement (3.1) is a hardware-in-the-loop simulation arrangement or a software-in-the-loop simulation arrangement and the second in-the-loop simulation arrangement (3.2) is a software-in-the-loop simulation arrangement or a hardware-in-the-loop simulation arrangement.

10. Simulation and test environment (4) of an in-the-loop simulation arrangement (3) for performing a test case (2), wherein a simulation model (5) is computed on the simulation and test environment (4), wherein the in-the-loop simulation arrangement (3) comprises an ECU (6) interacting with the simulation model (5), wherein the simulation model (5) comprises simulator model signals (Sm), wherein the ECU (6) comprises simulator ECU signals (Ss), wherein the test case (2) comprises test case model signals (Tm) and / or test case ECU signals (Ts), and wherein the test case (2), when executed with the simulation and test environment (4), tests the behavior of the test case model signals (Tm) and / or the behavior of the test case ECU signals (Ts), wherein the simulation and test environment (4) is designed and configured to operate in a Verification step (9) checks whether the in-the-loop simulation setup (3) has simulator model signals (Sm),which correspond to the test case model signals (Tm) and / or wherein it is checked whether the simulation setup (3) has simulator ECU signals (Ss) that correspond to the test case ECU signals (Ts), and wherein, in the event of at least one missing correspondence (10) between test case model signals (Tm) and simulator model signals (Sm) and / or in the event of at least one missing correspondence (10) between test case ECU signals (Ts) and simulator ECU signals (Ss), the lack of feasibility (11) of the test case (2) is determined and signaled on the simulation and test environment (4).

11. Simulation and test environment (4) according to claim 10, characterized in that the verification step (9) carried out on the simulation and test environment (4) is designed according to the germ drawing part of at least one claim of claims 3 to 7.