DE102021207139A1 - Computer-implemented method for simulating a technical system - Google Patents
Computer-implemented method for simulating a technical system Download PDFInfo
- Publication number
- DE102021207139A1 DE102021207139A1 DE102021207139.2A DE102021207139A DE102021207139A1 DE 102021207139 A1 DE102021207139 A1 DE 102021207139A1 DE 102021207139 A DE102021207139 A DE 102021207139A DE 102021207139 A1 DE102021207139 A1 DE 102021207139A1
- Authority
- DE
- Germany
- Prior art keywords
- model
- technical system
- meta
- validated
- simulation model
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/15—Vehicle, aircraft or watercraft design
Abstract
Vorgestellt wird ein computerimplementiertes Verfahren zur Simulation eines technischen Systems. Dabei wird ein erstes Simulationsmodell zu einer ersten Variante eines Teils des technischen Systems in ein erstes Metamodell umgewandelt. Ein zweites Simulationsmodell zu einer zweiten Variante des Teils des technischen Systems wird in ein zweites Metamodell umgewandelt. Eine Ähnlichkeit des ersten Metamodells und des zweiten Metamodells wird ermittelt. Abhängig von der ermittelten Ähnlichkeit wird festgestellt, ob bei einer erfolgten Validierung des ersten Simulationsmodells eine Validierung des zweiten Simulationsmodells erfolgen soll. Bei einer Feststellung, dass das zweite Simulationsmodell validiert werden soll, erfolgt eine Validierung des zweitens Simulationsmodells. Das technische System wird abhängig vom zweiten Simulationsmodell simuliert.A computer-implemented method for simulating a technical system is presented. A first simulation model for a first variant of a part of the technical system is converted into a first meta model. A second simulation model for a second variant of the part of the technical system is converted into a second meta model. A similarity of the first meta model and the second meta model is determined. Depending on the ascertained similarity, it is determined whether the second simulation model should be validated when the first simulation model has been validated. If it is determined that the second simulation model is to be validated, the second simulation model is validated. The technical system is simulated depending on the second simulation model.
Description
Die Erfindung betrifft ein computerimplementiertes Verfahren zur Simulation eines technischen Systems, ein hierzu eingerichtetes Computerprogramm sowie eine Testumgebung.The invention relates to a computer-implemented method for simulating a technical system, a computer program set up for this purpose, and a test environment.
Stand der TechnikState of the art
Aus der
Offenbarung der ErfindungDisclosure of Invention
Vorgestellt wird ein computerimplementiertes Verfahren zur Simulation eines technischen Systems. Dabei kann es sich beim technischen System um eine Software, eine Hardware, insbesondere bestehend aus Baugruppen mehrerer Komponenten, oder ein System mit Software- und Hardwarekomponenten handeln. Das technische System kann insbesondere Teil eines automatisierten Fahrzeugs oder eines Roboters sein, beispielsweise eine Sensor-, Rechen- oder Steuervorrichtung.A computer-implemented method for simulating a technical system is presented. The technical system can be software, hardware, in particular consisting of assemblies of several components, or a system with software and hardware components. The technical system can in particular be part of an automated vehicle or a robot, for example a sensor, computing or control device.
Ein erstes Simulationsmodell zu einer ersten Variante eines Teils des technischen Systems wird nun in ein erstes Metamodell umgewandelt, ein zweites Simulationsmodell zu einer zweiten Variante des Teils des technischen Systems in ein zweites Metamodell umgewandelt. Das erste Metamodell und das zweite Metamodell können insbesondere jeweils als ein Graphenmodell, insbesondere als ein Constraint Graph, ausgestaltet sein.A first simulation model for a first variant of a part of the technical system is now converted into a first meta model, and a second simulation model for a second variant of the part of the technical system is converted into a second meta model. The first meta-model and the second meta-model can in particular each be designed as a graph model, in particular as a constraint graph.
Eine Ähnlichkeit des ersten Metamodells und des zweiten Metamodells wird ermittelt. Vorzugsweise wird zur Ermittlung der Ähnlichkeit des ersten Metamodells und des zweiten Metamodells ein Clusterverfahren eingesetzt. Die ermittelte Ähnlichkeit kann insbesondere auch ein Maß für eine Validierungsähnlichkeit umfassen.A similarity of the first meta model and the second meta model is determined. A cluster method is preferably used to determine the similarity of the first meta model and the second meta model. The determined similarity can in particular also include a measure of a validation similarity.
Abhängig von der ermittelten Ähnlichkeit wird festgestellt, ob bei einer erfolgten Validierung des ersten Simulationsmodells eine Validierung des zweiten Simulationsmodells erfolgen soll. Die Feststellung, dass das zweite Simulationsmodell validiert werden soll, wird insbesondere getroffen, wenn die Ähnlichkeit des ersten Metamodells und des zweiten Metamodells eine vorbestimmte Schwelle unterschreitet.Depending on the ascertained similarity, it is determined whether the second simulation model should be validated when the first simulation model has been validated. The determination that the second simulation model should be validated is made in particular when the similarity of the first meta-model and the second meta-model falls below a predetermined threshold.
Bei einer Feststellung, dass das zweite Simulationsmodell validiert werden soll, erfolgt eine Validierung des zweitens Simulationsmodells. Das technische System wird abhängig vom zweiten Simulationsmodell simuliert. In der Simulation des technischen Systems mittels des zweiten Simulationsmodells werden insbesondere Sicherheitsanforderungen an das technische System überprüft.If it is determined that the second simulation model is to be validated, the second simulation model is validated. The technical system is simulated depending on the second simulation model. In the simulation of the technical system using the second simulation model, in particular security requirements for the technical system are checked.
Die Verfahren können vorzugsweise von einem Computerprogramm ausgeführt werden. Dieses Computerprogramm kann von einem Rechner in einer Testumgebung ausgeführt werden.The methods can preferably be executed by a computer program. This computer program can be executed by a computer in a test environment.
Die beschriebenen Verfahren haben den Vorteil, eine Validierung auf Basis objektiver Maßzahlen unterstützen zu können. Sie ermöglichen, Entscheidungen zur Durchführung von Validierungen objektiviert, beschleunigt und besser begründet treffen zu können.The methods described have the advantage of being able to support validation based on objective metrics. They enable decisions to be made on the implementation of validations in an objectified, accelerated and better justified manner.
Nachfolgend werden Ausführungsformen der Erfindung unter Bezugnahme auf die beiliegende Zeichnung näher erläutert.
Beschreibung der AusführungsbeispieleDescription of the exemplary embodiments
Um ein Produkt freizugeben, muss dessen Sicherheit überprüft und validiert werden. Dazu können statt oder neben Tests am tatsächlichen Produkt auch Simulationsmodelle eingesetzt werden, welche das Produkt beschreiben bzw. repräsentieren. Soll die Freigabe eines Produkts zumindest teilweise auf Basis eines Simulationsmodells erfolgen, muss dieses Simulationsmodell validiert werden. Z.B. muss ermittelt werden, ob bzw. in welchen Grenzen das Simulationsmodell das Produkt ausreichend gut beschreibt.In order to release a product, its safety must be checked and validated. For this purpose, instead of or in addition to tests on the actual product, simulation models can also be used, which describe or represent the product. If a product is to be released at least partially on the basis of a simulation model, this simulation model must be validated. For example, it must be determined whether and within what limits the simulation model describes the product sufficiently well.
Soll als ein Produkt ein System bestehend aus verschiedenen Systemteilen freigeben und hierzu modelliert werden, werden für die Modellierung oft mehrere Simulationsmodelle eingesetzt. Die einzelnen Systemteile können jeweils einzeln validiert werden.If a system consisting of different system parts is to be released as a product and modeled for this purpose, several simulation models are often used for the modeling. The individual system parts can each be validated individually.
Besteht das System beispielsweise aus mehreren Baugruppen mit jeweils mehreren Komponenten, kann zunächst jede Komponente validiert werden (über Simulationsmodelle der einzelnen Komponenten), dann können die darüber liegenden Baugruppen validiert werden (über Simulationsmodelle aus Teilmodellen) usw., bis man auf dem Systemlevel angekommen ist. Beispielsweise werden in einem solchen Fall die Komponenten nur einmal validiert und in einer Bibliothek verwaltet. Baugruppen, die sich neu aus Komponenten zusammensetzen, werden neu validiert. Eine Modifikation der Komponenten einer Baugruppe erfordert also eine neue Validierung der Baugruppe.For example, if the system consists of several assemblies, each with several components, each component can be validated first (via simulation models of the individual components), then the assemblies above it can be validated (via simulation models from sub-models) and so on, until one arrives at the system level . In such a case, for example, the components are only validated once and managed in a library. Assemblies that are newly composed of components are revalidated. A modification of the components of an assembly therefore requires a new validation of the assembly.
Dazu kann Expertenwissen benutzt werden, um einzuschätzen ob eine Modifikation die Eigenschaften der Baugruppe signifikant ändert, und man somit neu validieren muss, oder ob die Änderung klein ist und man nicht neu validieren muss. Bei einer Baugruppe kann ein Experte optisch, z.B. in einer Modellumgebung, den letzten Stand der Baugruppe mit dem neuen Stand vergleichen und die Signifikanz der Änderung interpretieren.For this, expert knowledge can be used to assess whether a modification significantly changes the properties of the assembly and thus needs to be re-validated, or whether the change is small and does not need to be re-validated. In the case of an assembly, an expert can visually compare the last status of the assembly with the new status, for example in a model environment, and interpret the significance of the change.
Im Verlauf einer modellunterstützten Produktentwicklung könnten beispielsweise die folgenden Schritte für eine bestimmte Baugruppe durchlaufen werden:
- - Komponenten werden validiert.
- - Erste Version der Baugruppe wird validiert.
- - Zweite Version der Baugruppe muss nicht erneut validiert werden, da nach Expertenmeinung nur eine kleine Änderung erfolgt ist.
- - Dritte Version der Baugruppe muss wegen signifikanter Änderung neu validiert werden.
- - Components are validated.
- - First version of assembly is validated.
- - Second version of the assembly does not need to be validated again, as only a small change has been made according to expert opinion.
- - Third version of assembly needs to be re-validated due to significant change.
Allerdings beurteilen Experten subjektiv, zudem kann die notwendige Expertise knapp sein oder die entsprechenden Experten können je nach Geschwindigkeit der nötigen Änderungen zeitlich nicht ausreichend schnell verfügbar sein. Weiterhin kann es schwierig und aufwendig sein, Expertenwissen über Abteilungen und Betriebsbereiche zu teilen und somit eine gemeinsame Wissensbasis zu erzeugen.However, experts judge subjectively, and the necessary expertise may be scarce or, depending on the speed of the necessary changes, the corresponding experts may not be available quickly enough. Furthermore, it can be difficult and expensive to share expert knowledge across departments and operational areas and thus create a common knowledge base.
Es werden daher Verfahren vorgestellt, welches eine Validierung auf Basis objektiver Maßzahlen unterstützen kann. Das Verfahren ermöglicht zudem den Aufbau einer Wissensdatenbank, mit deren Hilfe Entscheidungen objektiviert, beschleunigt oder besser begründet werden können.Therefore, methods are presented that can support a validation based on objective metrics. The procedure also enables the creation of a knowledge database, with the help of which decisions can be objectified, accelerated or better justified.
Die vorgestellten Verfahren benutzen dabei vorzugsweise Metamodelle, insbesondere Graphenmodelle wie Constraint Graphs, um eine Modellstruktur zu untersuchender Modelle zu beschreiben und um eine Vergleichbarkeit von Modellen bzw. von deren Validierungen zu ermöglichen. Mit einer solchen Vergleichbarkeit kann dann ermittelt werden, ob die Validierung eines Modells auf ein anderes, insbesondere abgewandeltes Modell übertragen werden kann.The methods presented here preferably use meta-models, in particular graph models such as constraint graphs, in order to describe a model structure of models to be examined and to enable models and their validations to be compared. With such comparability, it can then be determined whether the validation of a model can be transferred to another, in particular modified, model.
In Schritt 101 wird ein erstes Simulationsmodell erfasst, welches einer ersten Variante eines Teils eines technischen Systems entspricht. Dabei wird in diesem Beispiel ebenfalls eine Validierung des ersten Simulationsmodells miterfasst. In einem 102 wird ein zweites Simulationsmodell erfasst, welches einer zweiten Variante des Teils des technischen Systems entspricht.In
In Schritt 103 werden die Simulationsmodelle in ein Metamodell umgewandelt. Beispielsweise kann eine Umwandlung in einen Constraint Graph erfolgen, z.B. mit einem entsprechenden Softwaretool wie ETAS Scode Congra. Da es sehr viele Simulationstools mit unterschiedlichen Repräsentationen gibt, ermöglicht eine solche Umwandlung eine Vergleichbarkeit. Die Simulationsmodelle werden somit vorzugsweise einheitlich als Graphen von Gleichungen dargestellt.In
In Schritt 104 werden die den Simulationsmodellen entsprechenden Constraint Graphs in einer Datenbank abgelegt. Zu jedem Constraint Graph können Informationen über durchgeführte Validierungen ebenfalls in der Datenbank abgelegt werden.In
In Schritt 105 werden Constraint Graphs der Datenbank mit einem geeigneten Clusterverfahren (Englisch: cluster analysis bzw. clustering) aus dem Bereich des Maschinellen Lernens gruppiert. Das ermöglicht eine systematische Ordnung und erhöhte Auffindbarkeit ähnlicher Simulationsmodelle. Wie die Simulationsmodelle können auch Validierungen der Simulationsmodelle, über welche ausreichend Informationen in der Datenbank vorliegen, entsprechend geclustert bzw. angeordnet werden.In
In Schritt 106 wird nun anhand der entsprechenden Constraint Graphs eine geeignete Maßzahl ermittelt, welche eine Ähnlichkeit des ersten und des zweiten Simulationsmodells beschreibt. Zum Beispiel kann in Verbindung mit einem in Schritt 105 verwendeten Clusterverfahren wie „Nächster Nachbar“ eine Euklidische Distanz als Maß verwendet werden. Die Maßzahl kann dabei eine Ähnlichkeit der entsprechenden Constraint Graphen repräsentieren. Sie kann auch abhängig von einer Ähnlichkeit der entsprechenden Constraint Graphen und abhängig von einem Maß für eine Ähnlichkeit von Validierungen ermittelt werden.In
Falls die ermittelte Ähnlichkeit bzw. die entsprechende Maßzahl kleiner als ein vordefinierter Grenzwert ist, muss für eine neue Variante eines Simulationsmodells entsprechend einem Teil eines technischen Systems keine neue Validierung durchgeführt werden (Schritt 107). Vielmehr stützt sich die Bewertung auf in der Datenbank vorhandene Erkenntnisse.If the determined similarity or the corresponding measure is smaller than a predefined limit value, no new validation has to be carried out for a new variant of a simulation model corresponding to a part of a technical system (step 107). Rather, the assessment is based on findings available in the database.
Falls die ermittelte Ähnlichkeit bzw. die entsprechende Maßzahl den Grenzwert übersteigt, muss neu validiert werden (Schritt 108).If the determined similarity or the corresponding measure exceeds the limit value, it must be validated again (step 108).
Das Ergebnis der Bewertung in Schritt 106 ist somit eine abhängig von den Einträgen der Datenbank automatisiert und objektiv getroffene Aussage, ob neu validiert werden muss oder ob ein bereits erfolgte Validierungen aufgrund der Ähnlichkeiten der betrachteten Simulationsmodelle ausreichend ist. Nach der gegebenenfalls neu durchgeführten Validierung kann das zweite Simulationsmodell für eine Simulation des technischen Systems oder eines Teils des technischen Systems eingesetzt werden. Dabei können insbesondere Sicherheitsanforderungen an das technische System simulativ überprüft werden. Abhängig von dieser Überprüfung kann ein technisches System beispielsweise eine Produktfreigabe erhalten.The result of the evaluation in
ZITATE ENTHALTEN IN DER BESCHREIBUNGQUOTES INCLUDED IN DESCRIPTION
Diese Liste der vom Anmelder aufgeführten Dokumente wurde automatisiert erzeugt und ist ausschließlich zur besseren Information des Lesers aufgenommen. Die Liste ist nicht Bestandteil der deutschen Patent- bzw. Gebrauchsmusteranmeldung. Das DPMA übernimmt keinerlei Haftung für etwaige Fehler oder Auslassungen.This list of documents cited by the applicant was generated automatically and is included solely for the better information of the reader. The list is not part of the German patent or utility model application. The DPMA assumes no liability for any errors or omissions.
Zitierte PatentliteraturPatent Literature Cited
- EP 2469416 A1 [0002]EP 2469416 A1 [0002]
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE102021207139.2A DE102021207139A1 (en) | 2021-07-07 | 2021-07-07 | Computer-implemented method for simulating a technical system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE102021207139.2A DE102021207139A1 (en) | 2021-07-07 | 2021-07-07 | Computer-implemented method for simulating a technical system |
Publications (1)
Publication Number | Publication Date |
---|---|
DE102021207139A1 true DE102021207139A1 (en) | 2023-01-12 |
Family
ID=84533769
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
DE102021207139.2A Pending DE102021207139A1 (en) | 2021-07-07 | 2021-07-07 | Computer-implemented method for simulating a technical system |
Country Status (1)
Country | Link |
---|---|
DE (1) | DE102021207139A1 (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2469416A1 (en) | 2010-12-21 | 2012-06-27 | Robert Bosch GmbH | Test bed for an AUTOSAR software component and method for checking an AUTOSAR software component |
-
2021
- 2021-07-07 DE DE102021207139.2A patent/DE102021207139A1/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2469416A1 (en) | 2010-12-21 | 2012-06-27 | Robert Bosch GmbH | Test bed for an AUTOSAR software component and method for checking an AUTOSAR software component |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE102017211433B4 (en) | Procedure for performing a function test of a control unit in a hardware-in-the-loop test, HIL test, and HIL test bench and control unit | |
DE102010013943A1 (en) | Method and device for a functional test of an object recognition device of a motor vehicle | |
EP2866111A1 (en) | Testing of a control device by means of a test environment | |
WO2023041458A2 (en) | Computer-implemented method, modules, and system for detecting anomalies in industrial manufacturing processes | |
DE102011086352A1 (en) | Method and diagnostic system to support guided troubleshooting in technical systems | |
DE202018106888U1 (en) | test device | |
DE102019211241A1 (en) | Method of testing a vehicle | |
DE102021207139A1 (en) | Computer-implemented method for simulating a technical system | |
DE112013006981T5 (en) | Control system test equipment | |
DE102013212505A1 (en) | Workshop diagnostic system | |
DE102021002302A1 (en) | Procedure for scheduling test processes to be carried out | |
DE102020005467A1 (en) | Process for making anonymized, ADAS-relevant vehicle data available | |
DE102010044039A1 (en) | Method and device for quality analysis of system models | |
DE102019219067A1 (en) | Method for the automatic qualification of a virtual model for a motor vehicle component | |
EP2159695A2 (en) | Testing system | |
DE102020202092A1 (en) | Computer-implemented method for identifying defects and / or defect patterns in objects to be tested | |
EP3056994B1 (en) | Device and method for detecting, checking and storing process data from at least two process steps | |
DE102018201710A1 (en) | Method and device for checking a function of a neural network | |
DE102010014720A1 (en) | Method for verifying code of target program used for software for automotive electronics for engine, involves comparing output test variables corresponding to each program section of target program and program code | |
DE102021109127A1 (en) | Procedure for testing a product | |
DE102022205715A1 (en) | Method for providing training data and test data for training a machine learning algorithm | |
DE102021102460A1 (en) | Procedure for performing a simulation | |
DE102020206261A1 (en) | Method for transmitting a sensor characteristic | |
DE102021109133A1 (en) | Method and device for creating test cases for a test system | |
DE102020215387A1 (en) | Method for optimizing a test set for automatic qualification of a virtual model for an automotive component |