METHOD AND DEVICE FOR TESTING A TECHNICAL SYSTEM
20210342238 · 2021-11-04
Inventors
- Christoph Gladisch (Renningen, DE)
- Daniel Seiler-Thull (Stuttgart, DE)
- Ji Su Yoon (Leonberg, DE)
- Philipp Glaser (Stuttgart, DE)
- Thomas Heinz (Stuttgart, DE)
- Joachim Sohns (Ludwigsburg, DE)
Cpc classification
G06F11/263
PHYSICS
International classification
G06F11/263
PHYSICS
G06F11/07
PHYSICS
G06F11/22
PHYSICS
Abstract
A method for testing a technical system. The method includes: tests are carried out with the aid of a simulation of the system, the tests are evaluated with respect to a fulfillment measure of a quantitative requirement on the system and an error measure of the simulation, on the basis of the fulfillment measure and error measure, a classification of the tests as either reliable or unreliable is carried out, and a test database is improved on the basis of the classification.
Claims
1. A method for testing a technical system, comprising the following steps: carrying out tests using a simulation of the system; evaluating the tests with respect to a fulfillment measure of a quantitative requirement on the system and an error measure of the simulation; based on the fulfillment measure and the error measure, carrying out a classification of the tests as either reliable or unreliable; and improving a test database based on the classification.
2. The method as recited in claim 1, wherein the technical system is an at least semi-autonomous robot or vehicle.
3. The method as recited in claim 1, wherein: the classification is carried out by a classifier based on a feature vector; and the fulfillment measure and the error measure form components of the feature vector.
4. The method as recited in claim 3, wherein: the classifier maps the feature vector on one of multiple classes; and the classification takes place within predefined decision limits between the classes.
5. The method as recited in claim 4, wherein: in a preparation phase, the simulation is confirmed by an experimental measurement on the system; and the decision limits are drawn in such a way that the fulfillment measure taken, on the one hand, in the simulation and, on the other hand, in the measurement deviates as little as possible.
6. The method as recited in claim 5, wherein further tests to be carried out in the preparation phase are selected automatically.
7. The method as recited in claim 4, wherein: the classifier is defined by solving an equation system; and the equation system includes definition equations of the fulfillment measure and the error measure.
8. The method as recited in claim 1, wherein the evaluation is carried out in such a way that the fulfillment measure is positive when the system meets the requirement, and negative when the system fails the requirement.
9. The method as recited in claim 1, wherein: for specific parameters each of the tests, the fulfillment measure and the error measure are each represented in a feature space spanned by the parameters; and after the evaluation, the classification is visualized in the feature space.
10. The method as recited in claim 1, wherein an automatic improvement of errors of the system recognized by the testing takes place.
11. A non-transitory machine-readable storage medium on which is stored a computer program for testing a technical system, the computer program, when executed by a computer, causing the computer to perform the following steps: carrying out tests using a simulation of the system; evaluating the tests with respect to a fulfillment measure of a quantitative requirement on the system and an error measure of the simulation; based on the fulfillment measure and the error measure, carrying out a classification of the tests as either reliable or unreliable; and improving a test database based on the classification.
12. A device configured to test a technical system, the device configured to: carry out tests using a simulation of the system; evaluate the tests with respect to a fulfillment measure of a quantitative requirement on the system and an error measure of the simulation; based on the fulfillment measure and the error measure, carry out a classification of the tests as either reliable or unreliable; and improve a test database based on the classification.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Exemplary embodiments of the present invention are illustrated in the figures and explained in greater detail in the description below.
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
DETAILED DESCRIPTION OF EXAMPLE EMBODIMENTS
[0028] According to the present invention, in the context of a test X, which may be taken as a test case from a test catalog or may be obtained as an instance of a parametric test, simulation model error SMerrorX is evaluated and quantitative specification QSpec is assessed on the basis of a simulation of the SUT. The virtual test classifier uses SMerrorX and QSpec as the input and makes a binary decision as to whether the test result based on the simulation is trustworthy or not.
[0029] According to the linguistic usage typical in information technology and in particular pattern recognition, a classifier is to be understood here as any algorithm or any mathematical function which maps a feature space on a set of classes which were formed and bounded from one another in the course of a classification. To be able to decide in which class an object is to be categorized or classed (colloquially also “classified”), the classifier uses so-called class or decision limits. If it is not important to distinguish between method and instance, the term “classifier” is used in technical language and also sometimes in the following as equivalent with “classification” or “classing.”
[0030]
[0031] As may be seen from the figure, decision limit 19 of classifier 18 divides the space into four classes A, B, C and D. Tests of class A were passed by the system with high reliability. For tests of classes B and C, the simulation only supplies unreliable results; such tests are therefore to be carried out on the real system. Tests of class D were failed on the system with high reliability.
[0032] This virtual test classifier 18 is based on the consideration that a requirement which is only barely met in the simulation may only replace the testing of the real system if at most a marginal model error 14 is to be presumed. On the other hand, in the event of a high absolute value of fulfillment measure 13 of quantitative requirement “QSpec,” i.e., in the case of a specification which is greatly exceeded or clearly failed, a certain deviation of the simulation results from corresponding experimental measurements may be accepted.
[0033] Since this way of viewing things presumes the knowledge of model error SMerrorX of the simulation model, it is presumed that the latter was subjected to a verification and validation before the use of virtual test classifier 18. Within the scope of this validation—for example on the basis of a Gaussian process or in another way by machine learning—a generalized model is to be formed which supplies SMerrorX for a given X. It is to be noted that the trustworthiness of the simulation is decisively dependent on the correctness of this generalized model.
[0034]
[0035] Furthermore, a more general, for example polynomial decision limit 19 comes into consideration, whose function curve is adapted with the aid of linear programming in such a way that it meets the criterion of a classifier 18 VTC. All points in which fulfillment measure 13 of quantitative requirement QSpec differs in sign between simulation 11 and real measurement 21—thus quasi all tests 12 in which the simulation model fails—are also in areas C and B in this case.
[0036]
[0037] For the purposes of the following statements, I is the input quantity, O is the output quantity—under certain circumstances also including inputs, and m.sub.1,m.sub.2:I.fwdarw.O is the system model and real system as functions, which may only be observed for a finite number of inputs by simulation 11 or experimental measurement 21. Furthermore q:O×O.fwdarw. is simulation model error SMerrorX, i.e., distance or error measure 14 of two outputs corresponding to one another. Finally I.sub.∈:={i|q(m.sub.1(i),m.sub.2(i)=∈} is the set of all inputs for which error measure 14 assumes the value ∈.
[0038] Starting from these definitions, the deviation of fulfillment measure 13 of a requirement for each input i∈I.sub.∈ may be restricted on the upper end as follows by a term which is dependent neither on m.sub.1 nor on m.sub.2:
[0039] Classifier 18 therefore results as
[0040] The simulation model is classified as reliable here in the case of VTC(∈,δ)=W in the meaning that m.sub.1 and m.sub.2 correspond with respect to p. It is to be noted that classifier 18 requires the reversal of q.
[0041] One main advantage of this representation is that virtual test classifier 18 may be formulated independently of m.sub.1 and m.sub.2 since it is only dependent on fulfillment measure 13 of the quantitative requirement and error measure 14. Proceeding from a single error measure 14 and a plurality n of quantitative requirements, n virtual test classifiers 18 may thus be calculated, namely one for each requirement. The model is therefore only to be validated once with respect to error measure 14 and not for example with regard to each individual requirement.
[0042] This observation may be generalized in a simple way for a plurality m of error measures and a plurality n of quantitative requirements, m typically resulting as very small and and n resulting as large. In this case, n.Math.m virtual test classifiers 18 may be calculated. If one of these classifiers 18 supplies value W, the simulation results may be considered to be reliable. This enables a more precise classification, since some error measures 14 may be more suitable for certain requirements than others.
[0043] Alternatively, virtual test classifier 18 may be defined in a stochastic framework, in which the inputs are assumed to be randomly distributed—according to an arbitrary probability density function. For this purpose, F.sub.∈(δ):=P(|P(m.sub.1(i)−p(m.sub.2(i))|≤δ|q(m.sub.1(i),m.sub.2(i)=∈) denotes the conditional cumulative distribution function of the deviation of fulfillment measure 13 under the assumption that error measure 14 assumes value E. At a threshold value τ∈(0,1) of the probability that classifier 18 makes the correct decision—value τ is therefore typically close to 1—, virtual test classifier 18 may be defined as follows:
[0044] The approach according to the present invention will now be explained from an application viewpoint. One aspect of this approach is based on the use of classifier 18 to expand the test database and parameter ranges of the simulation tests. For illustration,
[0045]
[0051] Under these assumptions, method 10 may be designed as follows: [0052] 1. Tests 12 from the database or the catalog are carried out with the aid of simulation 11, output signals being generated. [0053] 2. The output signals are evaluated with respect to fulfillment measure 13 of requirements QSpec and error measure 14 of simulation 1 according to SMerrorX error model. [0054] 3. Fulfillment measure (13) and error measure 14 are supplied 15 to classifier 18. [0055] 4. For each test 12, distance 31 to decision limit 19 of classifier 18 is ascertained and this classifier carries out a classification 15 into one of the following classes A, B, C, D (
[0059]
[0066] Under these assumptions, method 10 may be designed as follows: [0067] 1. Possible new tests 12 corresponding 34 to the database 33 or to the catalog are carried out with the aid of simulation 11, output signals being generated. [0068] 2. The output signals are evaluated with respect to fulfillment measure 13 of requirements QSpec and error measure 14 of simulation 11 according to SMerrorX error model. [0069] 3. Fulfillment measure 13 and error measure 14 are supplied 15 to classifier 18. [0070] 4. For each test 12, classifier 18 carries out a classification 15 into one of the following classes A, B, C, D (
[0073]
[0074] This method 10 may be implemented, for example, in software or hardware or in a mixed form of hardware and software, for example in a workstation 30, as the schematic view of