DE102004053264A1 - Method for testing ECU software for a controller - Google Patents
Method for testing ECU software for a controller Download PDFInfo
- Publication number
- DE102004053264A1 DE102004053264A1 DE102004053264A DE102004053264A DE102004053264A1 DE 102004053264 A1 DE102004053264 A1 DE 102004053264A1 DE 102004053264 A DE102004053264 A DE 102004053264A DE 102004053264 A DE102004053264 A DE 102004053264A DE 102004053264 A1 DE102004053264 A1 DE 102004053264A1
- Authority
- DE
- Germany
- Prior art keywords
- simulation
- hardware
- computer
- control unit
- software
- 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.)
- Withdrawn
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 76
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000004088 simulation Methods 0.000 claims abstract description 65
- 238000004590 computer program Methods 0.000 claims description 12
- 238000010586 diagram Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 7
- 230000006399 behavior Effects 0.000 description 6
- 230000002093 peripheral effect Effects 0.000 description 6
- 230000008859 change Effects 0.000 description 5
- 238000011161 development Methods 0.000 description 4
- 238000011156 evaluation Methods 0.000 description 4
- 230000006978 adaptation Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 238000000926 separation method Methods 0.000 description 2
- 238000013522 software testing Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000003750 conditioning effect Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0426—Programming the control sequence
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/23—Pc programming
- G05B2219/23452—Simulate sequence on display to control program, test functions
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/23—Pc programming
- G05B2219/23456—Model machine for simulation
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2637—Vehicle, car, auto, wheelchair
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Debugging And Monitoring (AREA)
- Testing And Monitoring For Control Systems (AREA)
Abstract
Die Erfindung betrifft ein Verfahren zum Testen von Steuergerätesoftware für ein Steuergerät (201), das eine Recheneinheit (203) und mindestens eine Hardwarekomponente aufweist. Zur Durchführung dieses Verfahrens wird die Recheneinheit (203) mit einer Einrichtung (229) zur Simulation von Hardware verbunden, bei Durchführung dieses Verfahrens ist vorgesehen, daß mindestens eine Hardwarekomponente des Steuergeräts (209) durch Simulation ersetzt wird. Durch die erfindungsgemäßen Maßnahmen ist nunmehr ein Steuergerätesoftwaretest mit einer konsequenten Simultation von Hardware des Steuergeräts (201) möglich.The invention relates to a method for testing control unit software for a control unit (201), which has a computing unit (203) and at least one hardware component. To carry out this method, the arithmetic unit (203) is connected to a device (229) for the simulation of hardware, in carrying out this method it is provided that at least one hardware component of the control device (209) is replaced by simulation. By means of the measures according to the invention, a control unit software test with a consequent simulation of hardware of the control unit (201) is now possible.
Description
Die Erfindung betrifft ein Verfahren zum Testen von Steuergerätesoftware für ein Steuergerät, ein Testsystem, ein Computerprogramm und ein Computerprogrammprodukt.The The invention relates to a method for testing ECU software for a Controller, a test system, a computer program and a computer program product.
Für einen Steuergeräte-Softwaretest, insbesondere für Motorsteuergeräte, sind heutzutage drei Methoden gängig. Ein derartiger Softwaretest ist bspw. unmittelbar an einem Fahrzeug bzw. an einem Motorprüfstand durchzuführen, in diesem Fall ist der Softwaretest jedoch nicht frühzeitig und nicht in allen Ausstattungsvarianten verfügbar und zudem nur sehr eingeschränkt automatisier- und reproduzierbar. Eine frühe Durchführung der meisten durchzuführenden Tests wäre nur unter Gefahr für testende Mitarbeiter und Fahrzeug möglich, so dass diese Softwaretests nur in einem späten Entwicklungsstadium nach Durchführung anderer Tests durchgeführt werden können. Ermittelte Testergebnisse sind zudem exemplarabhängig, Testmöglichkeiten hängen wiederum von Randbedingungen wie dem Wetter oder Straßenverhältnissen ab, die nur in geringem Maß ungefähr reproduzierbar sind.For one ECU software testing, especially for Engine control units, Three methods are common today. Such a software test is, for example, directly on a vehicle or on an engine test bench perform, however, in this case the software test is not early and not available in all equipment variants and also only to a very limited extent automates and reproducible. An early one execution most of the tests to be performed would only be at risk for testing staff and vehicle possible, so these software tests only in a late Stage of development after implementation other tests can be. Determined test results are also copy-dependent, test options depend on Boundary conditions such as the weather or road conditions, which only in small Measure approximately reproducible are.
Softwaretests werden auch mit sogenannten Hardware-in-the-loop-Testsystemen realisiert. Hier dient ein erheblicher Teil kostspieliger Hardware dazu, das elektrische Verhalten von Sensoren und Aktoren des Fahrzeugs zu simulieren, wobei insbesondere die Simulation möglichen Fehlverhaltens dieser Komponenten mit hohen Kosten verbunden ist.software testing are also realized with so-called hardware-in-the-loop test systems. Here serves a significant portion of expensive hardware to the electrical To simulate behavior of sensors and actuators of the vehicle, in particular, the simulation of possible misconduct of these components associated with high costs.
Zudem ist eine aufwendige Projektierung, also eine Anpassung an ein jeweiliges Steuergeräte-Projekt, erforderlich. Für eine effektive Nutzung derartiger Softwaretests ist ein umfangreiches Testsystem-Know-How nötig. Typischerweise wird ein Original-Steuergerät mit Original-Software getestet, sämtliche andere Fahrzeugkomponenten einschließlich anderer Steuergeräte werden in Echtzeit simuliert. Ein Datenaustausch zwischen dem Steuergerät und einem Fahrzeugsimulator erfolgt über Klemmen des Steuergeräts, genauso wie es im Fahrzeug der Fall ist. Bei dieser Vorgehensweise bestehen für das Steuergerät demnach keinerlei Unterschiede zu einem späteren realen Einsatz im Fahrzeug.moreover is a complex project, so an adaptation to a respective ECU project required. For Effective use of such software tests is extensive Test system know-how necessary. Typically, an original ECU is tested with original software, all other vehicle components including other control devices simulated in real time. A data exchange between the controller and a Vehicle simulator is via Terminals of the control unit, just as it is in the vehicle. In this procedure insist for the control unit therefore no differences to a later real use in the vehicle.
Des weiteren bietet sich ein Softwaretest an einem einfachen Hardware-Testsystem an. Allerdings sind diese nur per Hardware-Änderung umkonfigurierbar, d.h. an ein anderes Steuergeräte-Projekt anpassbar, so dass die längerfristige Nutzung mit erheblichen Wartungs-Kosten verbunden ist. Regelkreise werden hier, wenn überhaupt, üblicherweise nur rudimentär geschlossen, wobei eine Änderung des Verhaltens der entsprechenden Komponenten im Rahmen der Projektierung üblicherweise mit erheblichem Aufwand verbunden ist.Of Another is a software test on a simple hardware test system at. However, these are only reconfigurable by hardware change, i. adaptable to another ECU project, so the longer-term Use associated with significant maintenance costs. control loops Usually here, if at all, only rudimentary closed, with a change of the Behavior of the corresponding components in the context of the project planning usually associated with considerable effort.
In
der
Die Steuergerätesoftware läuft hier in einer leicht modifizierten Form im Original-Steuergerät. Eine Modifikation der Software ermöglicht einen Datenaustausch zwischen der Steuergerätesoftware und einem Fahrzeugmodell (Testsystem) für nahezu alle Signale über die Applikationsschnittstelle. Somit erfolgt der Softwaretest durch eine großen Teil der Originalsoftware in nahezu realistischer Umgebung. Die nicht über die Applikationsschnittstelle kommunizierbaren Signale werden hier über Steuergeräteklemmen unter Hardware-Input/Output geführt.The ECU software runs here in a slightly modified form in the original control unit. A Modification of the software allows a data exchange between the controller software and a vehicle model (Test system) for almost all signals over the application interface. Thus, the software test is done by a big one Part of the original software in a nearly realistic environment. The no over The application interface communicable signals are here via ECU terminals under hardware input / output.
Vor diesem Hintergrund wird ein Verfahren mit den Merkmalen des Patentanspruchs 1, ein Testsystem mit den Merkmalen des Patentanspruchs 8, ein Computerprogramm mit den Merkmalen des Patentanspruchs 10 sowie ein Computerprogrammprodukt mit den Merkmalen des Patentanspruchs 11 vorgeschlagen.In front This background is a method with the features of the claim 1, a test system with the features of claim 8, a computer program with the features of claim 10 and a computer program product proposed with the features of claim 11.
Vorteile der ErfindungAdvantages of invention
Die Erfindung betrifft ein Verfahren zum Testen von Steuergerätesoftware für ein Steuergerät, das mindestens eine Recheneinheit und mindestens eine Hardwarekomponente aufweist. Zur Durchführung dieses Verfahrens wird die mindestens eine Recheneinheit mit einer Einrichtung zur Simulation von Hardware verbunden. Bei Durchführung dieses Verfahrens ist vorgesehen, dass mindestens eine Hardwarekomponente des Steuergeräts durch Simulation ersetzt wird.The The invention relates to a method for testing ECU software for a Control unit that at least one arithmetic unit and at least one hardware component having. To carry out This method is the at least one arithmetic unit with a Device connected to the simulation of hardware. When performing this Method is provided that at least one hardware component of the control unit replaced by simulation.
Durch die erfindungsgemäßen Maßnahmen ist nunmehr ein Steuergerätesoftwaretest mit einer konsequenten Simulation von Hardware des Steuergeräts möglich. Die Einrichtung zur Simulation von Hardware kann bspw. als programmierbare Logik ausgebildet sein.The inventive measures now a ECU software test with a consistent simulation of hardware of the controller is possible. The device for the simulation of Hardware may, for example, be designed as programmable logic.
In Ausgestaltung der Erfindung kann vorgesehen sein, dass die mindestens eine Recheneinheit und ein oder mehrere Simulationsrechner über eine Schnittstelle miteinander verbunden werden und mindestens eine Hardwarekomponente durch eine oder mehrere Peripheriekomponenten des Simulationsrechners oder der Simulationsrechner simuliert wird. Die Steuergerätesoftware wird auf der mindestens einen Recheneinheit bzw. dem Controller ausgeführt.In Embodiment of the invention can be provided that the at least a computing unit and one or more simulation computers via an interface and at least one hardware component by one or more peripheral components of the simulation computer or the simulation computer is simulated. The controller software is on the at least one arithmetic unit or the controller executed.
Erfindungsgemäß kann somit bspw. zwischen der mindestens einen Recheneinheit und mindestens einem Stecker des Steuergeräts ein Freischneiden von Hardwarekomponenten innerhalb des Steuergeräts erfolgen. Derart freigeschnittene Hardwarekomponenten werden simuliert. Zudem kann durch die erfindungsgemäßen Maßnahmen eine neue Schnittstelle zwischen dem Steuergerät und dem mindestens einen Simulationsrechner geschaffen werden.Thus, according to the invention for example, between the at least one arithmetic unit and at least a plug of the controller free cutting of hardware components within the controller done. Such cut-free hardware components are simulated. moreover can by the measures according to the invention a new interface between the controller and the at least one Simulation computer to be created.
Die Hardwarekomponenten können so weit von der mindestens einen Recheneinheit bzw. dem Controller freigeschnitten werden, dass ein handelsüblicher Simulationsrechner mit entsprechenden Peripheriekomponenten zur Bereitstellung einer Entwicklungsumgebung einfach anschließbar ist. Hierbei ist es möglich, einen Ausgangspin der Recheneinheit direkt mit einem Eingangspin des Simulationsrechners oder seiner Peripheriekomponenten in einfacher Weise zu verbinden, ohne dabei mit hohen Spannungen und Strömen arbeiten zu müssen. Wie die Hardwarekomponenten und ein sich daran befindliches Zielsystem zur Darstellung eines Motors und einer Umwelt erfindungsgemäß simulierbar sind, hängt von konkreten Anwendungsfällen ab.The Hardware components can so far from the at least one arithmetic unit or the controller be cut free, that a commercial simulation computer with corresponding peripheral components for providing a Development environment is easily connectable. It is possible to do this Output pin of the arithmetic unit directly with an input pin of the simulation computer or simply connect to its peripheral components, without having to work with high voltages and currents. As the Hardware components and an attached target system for Representation of a motor and an environment according to the invention simulated are, hangs of concrete applications from.
Insgesamt kann mit der Erfindung ein teueres simuliertes Zielsystem zur Darstellung von Motor und Umwelt vermieden werden. Des weiteren ist es nicht nötig, die Steuergerätesoftware für einen nach dem erfindungsgemäßen Verfahren durchführbaren Test zu verändern.All in all With the invention, an expensive simulated target system for display be avoided by engine and environment. Furthermore, it is not necessary, the controller software for one according to the inventive method feasible test to change.
In Ausgestaltung der Erfindung kann in dem Steuergerät mindestens eine als Anpasschaltung ausgebildete Hardwarekomponente, die üblicherweise zum Treiben eines Aktors und/oder zum Auswerten eines Sensors dient, durch Simulation ersetzt werden.In Embodiment of the invention may be at least in the control unit a trained as Anpasschaltung hardware component, usually is used to drive an actuator and / or to evaluate a sensor, be replaced by simulation.
Es ist auch möglich, an die mindestens eine Recheneinheit mindestens eine Karte anzuschließen, wobei durch einen auf der mindestens einen Karte befindlichen Simulationsrechner ein Modell nachgebildet werden kann. Ausgehend von der Hardware des Steuergeräts ist mit der Erfindung die Möglichkeit gegeben, fast alle Anpasschaltungen derart freizuschneiden, dass es möglichst einfach ist, an das Steuergerät und insbesondere die mindestens eine Recheneinheit eine andere Entwicklungsumgebung anzuschließen.It is possible, too, connect to the at least one arithmetic unit at least one card, wherein by a simulation computer located on the at least one card a model can be modeled. Starting from the hardware of the control unit is the possibility with the invention given to cut almost all Anpasschaltungen so that if possible is easy, to the controller and in particular the at least one arithmetic unit another development environment to join.
Das erfindungsgemäße Testsystem mit einem Simulationsrechner ist dazu ausgelegt, Steuergerätesoftware für ein Steuergerät, das mindestens eine Recheneinheit und mindestens eine Hardwarekomponente aufweist, zu testen, wobei der Simulationsrechner mit der mindestens einen Recheneinheit zu verbinden und die mindestens eine Hardwarekomponente durch Simulation zu ersetzen ist.The Inventive test system with a simulation computer is designed to control software for a Controller, the at least one computing unit and at least one hardware component has to test, wherein the simulation computer with the at least to connect a computing unit and the at least one hardware component is to be replaced by simulation.
Das erfindungsgemäße Verfahren kann mit diesem erfindungsgemäßen Testsystem, das den mindestens einen Simulationsrechner und einen Computer aufweist, durchgeführt werden. Mit diesem Computer wird z.B. eine Funktion oder ein Ablauf der Steuergerätesoftware überwacht oder überprüft. Mit dem mindestens einen Simulationsrechner können äußere Bedingungen, insbesondere ein Fahrzeug, in das das Steuergerät bei einer zukünftigen Anwendung zum Einsatz kommt, und/oder Umweltbedingungen simuliert werden.The inventive method can with this test system according to the invention, having the at least one simulation computer and a computer, carried out become. With this computer, e.g. a function or a process monitored by the ECU software or checked. With the at least one simulation computer can external conditions, in particular a vehicle into which the control unit at a future Application is used, and / or simulated environmental conditions become.
Eine Entwicklungsumgebung für das Steuergerät kann mit dem erfindungsgemäßen Testsystem bereitgestellt werden und folgende Komponenten aufweisen:
- – mindestens einen Prozessor, der als Simulationsrechner das Verhalten des Fahrzeugs einschließlich der Sensoren und Aktoren durch Simulationsrechnung nachbildet. Hierzu kann ein Simulationsprogramm wie z.B. Matlab/Simulink oder ASCET zum Einsatz kommen.
- – eine oder mehrere Einrichtungen oder Komponenten mit programmierbarer Logik, die das elektrische Verhalten einer oder mehrerer Hardwarekomponenten des Steuergeräts gegenüber dem mindestens einen Steuergeräte-Prozessor (Recheneinheit) simulieren, die im Original-Steuergerät zum Treiben eines oder mehrerer Aktoren und/oder zum Auswerten eines oder mehrerer Sensoren dienen.
- – einen oder mehrere Digital-Analog-Wandler zur Bedienung der üblicherweise in den mindestens einen Steuergeräte-Prozessor (Recheneinheit) integrierten Analog-Digital-Wandler.
- – optional einen oder mehrere Analog-Digital-Wandler, falls Analogsignale in das Testsystem integrierten Original-Peripheriekomponenten auszuwerten sind.
- – eine oder mehrere Komponenten zur Bedienung fahrzeugtypischer Kommunikationsbusschnittstellen des Steuergerätes, wie z.B. CAN, USB, LIN usw.
- - At least one processor that simulates the behavior of the vehicle including the sensors and actuators by simulation calculation as a simulation computer. For this purpose, a simulation program such as Matlab / Simulink or ASCET can be used.
- - One or more devices or components with programmable logic that simulate the electrical behavior of one or more hardware components of the controller relative to the at least one control processor (arithmetic unit) in the original control unit for driving one or more actuators and / or for evaluating a or multiple sensors.
- - One or more digital-to-analog converter for operating the usually in the at least one control unit processor (arithmetic unit) integrated analog-to-digital converter.
- - Optionally one or more analog-to-digital converters, if analog signals are to be evaluated in the test system integrated original peripheral components.
- - One or more components for operating vehicle-typical communication bus interfaces of the control unit, such as CAN, USB, LIN, etc.
Zu verschiedenen Versionen der Steuergerätesoftware können verschiedene Modelle erstellt werden. Eine Änderung der Hardware ist in der Regel nicht notwendig, Aus- und Eingänge der mindestens einen Recheneinheit können evtl. softwaremäßig verändert werden, somit kann auf eine ansonsten erforderliche projektspezifische Ausgestaltung des Kabelbaums verzichtet werden. Ein Verbindungskabel zwischen dem Steuergeräte-Prozessor-Modul und dem erfindungsgemäßen Testsystem ist nur von diesen Komponenten abhängig und projektunabhängig. Bei einer möglichen Ausgestaltung der Erfindung kann ein hardwaremäßiger Aufbau durch zwei Karten realisiert werden. Dabei stellt eine Karte eine Ableitung des Steuergeräts dar, wobei Schnittstellen wie bspw. USB, CAN und JTEG genauso wie die Spannungsversorgung und andere Komponenten wie der Speicher unverändert bleiben können. Die andere Karte ist dabei als herkömmliche Einsteckkarte realisiert.To Different versions of the ECU software may have different Models are created. A change The hardware is usually not necessary, outputs and inputs of at least one arithmetic unit possibly be changed by software, Thus, an otherwise required project-specific design of the wiring harness are dispensed with. A connecting cable between the controller processor module and the test system according to the invention depends only on these components and is project-independent. at a possible Embodiment of the invention, a hardware-based structure realized by two cards become. A card represents a derivative of the controller, where interfaces such as USB, CAN and JTEG as well as the Power supply and other components such as the memory remain unchanged can. The other card is realized as a conventional plug-in card.
Für eine softwaremäßige Realisierung kann die unveränderte Steuergerätesoftware benutzt werden. Eine zusätzliche Karte kann folgende Komponenten umfassen: Simulation von Übertragungsfunktionen der Hardwarekomponenten, Simulation von Motor und Umwelt, wie sie bspw. auch bei herkömmlichen Hardware-in-the-loop-Testsystemen zum Einsatz kommen.For a software implementation can the unchanged ECU software to be used. An additional Card can include the following components: Simulation of transfer functions of the hardware components, simulation of engine and environment as they are For example, even in conventional Hardware-in-the-loop test systems are used.
In weiterer Ausgestaltung der Erfindung können mehrere Karten in einer einzigen Karte vereint werden. Alternativ können auch mehrere Karten benutzt werden, um somit Funktionen des Motors und der Umwelt aufzuteilen. Eine Karte für die mindestens eine Recheneinheit des Steuergeräts kann mit einer Schnittstelle versehen werden, um sie in einem Einschubsystem oder Testsystem betreiben zu können. Hierdurch kann eine gemeinsame Spannungsversorgung für die mindestens eine Steuergeräte-Recheneinheit und das Testsystem verwendet werden. Auch die Unempfindlichkeit gegenüber ESD und EMV wird durch die Integration in ein Gehäuse verbessert. Die Modelle können sowohl mit als auch ohne Einbindung von Hardware oder Umwelt beliebig flexibel ausgelegt werden.In Another embodiment of the invention, several cards in one united single card. Alternatively, several cards can be used to divide functions of the engine and the environment. A card for the at least one arithmetic unit of the control unit can with an interface be provided to them in a slide-in system or test system to be able to operate. This allows a common power supply for the at least a controller computing unit and the test system can be used. Also the insensitivity across from ESD and EMC is improved by integration into a housing. The models can with and without the involvement of hardware or the environment as flexible as you like be interpreted.
Unter stark vereinfachter Betrachtung des Steuergeräts kann mit der Erfindung auf Seite der Steuergeräte-Hardware eine Aufbereitung von Sensorsignalen sowie ein Treiber für Aktoren wegfallen. Auf der Seite des Testsystems können die Komponenten für die Aktorsimulation, Sensorsimulation, Simulation von Aktorfehlern und Sensorfehlern einschließlich der auf Seite der Steuergeräte-Hardware wegfallenden Komponenten durch die programmierbare Logik bzw. die Einrichtung zur Simulation von Hardware (z.B. FPGAs) ersetzt werden. Durch derartige Einsparungen an Hardware können Kosten für den Softwaretest der Steuergerätesoftware reduziert werden.Under greatly simplified viewing of the controller can with the invention Side of the ECU hardware a conditioning of sensor signals and a driver for actuators eliminated. On the side of the test system, the components for the actuator simulation, Sensor simulation, simulation of actuator errors and sensor errors including the one on the side of the ECU hardware omitted Components through the programmable logic or device to simulate hardware (e.g., FPGAs). By such Savings on hardware can Cost of the Software test of the control unit software be reduced.
Erfindungsgemäß kann bei dem Softwaretest des Steuergeräts die Hardware des Steuergeräts zumindest teilweise oder vollständig simuliert werden. In einer möglichen Ausgestaltung kann eine Original-Fahr-Software, wie sie bei einer konkreten Anwendung des Steuergeräts zum Einsatz kommt, in übersetzter Form über ein Evaluation-Board laufen, das lediglich einen Rechnerkern enthält. Peripherieschaltkreise, die in dem Steuergerät herkömmlicherweise enthalten sind, werden zusammen mit Aktoren und Sensoren durch programmierbare Schaltkreise (unter anderem FPGAs) ersetzt, die Bestandteile des erfindungsgemäßen Testsystems sein können. Andere Fahrzeugkomponenten einschließlich anderer Steuergeräte und deren Kommunikation mit dem zu testenden Steuergerät bzw. der auf dem Evaluation-Board ausgeführten Fahr-Software werden in Echtzeit von Komponenten des Testsystems, bspw. dem mindestens einen Simulationsrechner, nachgebildet.According to the invention can in the software test of the controller the hardware of the controller at least partially or completely be simulated. In a possible Design can be an original driving software, as at one concrete application of the control unit is used, in translated Shape over run an evaluation board that contains only one core. Peripheral circuits, in the control unit conventionally are included along with actuators and sensors through programmable Circuits (including FPGAs) replaced the components of the Test system according to the invention could be. Other vehicle components including other control devices and their Communication with the ECU to be tested or on the evaluation board executed Driving software are used in real time by components of the test system, For example, the at least one simulation computer, modeled.
Mit der Erfindung kann die Anzahl der benötigten Hardware-in-the-loop-Testsysteme reduziert oder sogar ganz ersetzt werden.With The invention can reduce the number of hardware-in-the-loop test systems required reduced or even completely replaced.
Die Erfindung zum Testen von Steuergerätesoftware kann auch für Steuergeräte oder Motorsteuergeräte bei Fahrzeugen zum Einsatz kommen. Somit ist Steuergerätesoftware frühzeitig testbar, da ein Großteil des Steuergeräts simuliert wird. Es können viele Ausstattungsvarianten durch Änderung der Steuergerätesoftware realisiert werden. Tests sind nunmehr automatisier- und reproduzierbar. Bei dem Test besteht keine Gefahr für testende Mitarbeiter und das Fahrzeug. Aufgrund der Simulation von Hardwarekomponenten können Kosten sowie der Platzbedarf gering gehalten werden. Es ist eine einfache, flexible Projektierung, also eine Anpassung an Steuergeräte-Projekte, durch Änderung der Steuergerätesoftware möglich. Sämtliche geschlossene Regelkreise können mit einem Fahrzeugmodell simuliert und an Punkten wie Steuergerätesoftware, Hardware, Motor und Umwelt softwaremäßige Veränderungen vorgenommen werden. Die Steuergerätesoftware muss gegenüber dem Serienstand nicht verändert werden. Es entsteht keine zusätzliche Belastung durch Schnittstellen. Zudem ist ein Umfang einer Simulation und des Tests stark erweiterbar, wobei Ergebnisse des Tests echtzeittauglich sind.The Invention for testing ECU software can also be used for ECUs or Engine control units used on vehicles. Thus, ECU software early testable, as much of it of the control unit is simulated. It can many equipment variants by changing the control unit software will be realized. Tests are now automatable and reproducible. There is no risk for testing staff and the test the vehicle. Due to the simulation of hardware components can cost and space requirements are kept low. It's a simple, flexible configuration, ie adaptation to ECU projects, by change the controller software possible. All Closed control loops can simulated with a vehicle model and at points such as ECU software, hardware, Engine and environment software changes be made. The ECU software must be opposite to the Series status not changed become. There is no additional Load through interfaces. In addition, a scope of a simulation and the test greatly expandable, with results of the test real-time are.
Außerdem können in einem sich somit ergebenden geschlossenen System sowohl auf Seite des Steuergeräts als auch auf Seite des Motors verschiedene Hardwarekomponenten und deren Übertragungsfunktion und somit auch Störeinflüsse auf die Hardware simuliert werden.In addition, in a resulting closed system on both sides of the control unit as well as on the engine side different hardware components and their transfer function and thus also disturbing influences the hardware can be simulated.
Das erfindungsgemäße Computerprogramm mit Programmcodemitteln ist zur Durchführung aller Schritte des erfindungsgemäßen Verfahrens ausgelegt, wenn dieses Computerprogramm auf einem Computer oder einer entsprechenden Recheneinheit durchgeführt wird.The computer program according to the invention with program code means is designed to carry out all steps of the method according to the invention, when this computer program is performed on a computer or a corresponding arithmetic unit.
Das erfindungsgemäße Computerprogrammprodukt mit Programmcodemitteln, die auf einem computerlesbaren Datenträger abgespeichert sind, ist zur Durchführung des erfindungsgemäßen Verfahrens vorgesehen, wenn das Computerprogramm auf einem Computer oder einer entsprechenden Recheneinheit durchgeführt wird.The Computer program product according to the invention with program code means which are stored on a computer-readable data carrier, is to carry the method according to the invention provided when the computer program on a computer or a corresponding arithmetic unit is performed.
Zeichnungdrawing
Die Erfindung wird im weiteren anhand der in der Zeichnung dargestellten Figuren näher dargestellt. Dabei zeigtThe Invention will be further described with reference to the drawing Figures closer shown. It shows
Beschreibung der Ausführungsbeispieledescription the embodiments
Bei
einem Test mit dem vorliegenden Testsysteme kommt somit kein Zielsystem,
z.B. Motor, mehr zum Einsatz. Es werden sämtliche Komponenten des Zielsystems
Fahrzeug einschließlich
Motor durch den oder die Simulationsrechner des Testsystems
Bei
diesem Stand der Technik ist eine Aufbereitung der Sensorsignale
Dabei
werden prinzipiell zwei Schnittstellen zu dem Steuergerät
Das
Testsystem
Bei
Durchführung
des erfindungsgemäßen Verfahren
werden lediglich zwischen der Einrichtung
Eine
zweite Ausführungsform
der Erfindung ist in dem Diagramm der
Zur
Durchführung
des erfindungsgemäßen Verfahrens
zum Testen von Steuergerätesoftware
für das
Steuergerät
Claims (11)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| DE102004053264A DE102004053264A1 (en) | 2004-09-28 | 2004-11-04 | Method for testing ECU software for a controller |
| PCT/EP2005/054866 WO2006035038A2 (en) | 2004-09-28 | 2005-09-28 | Method for testing control device software for a control device |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| DE102004046901.6 | 2004-09-28 | ||
| DE102004046901 | 2004-09-28 | ||
| DE102004053264A DE102004053264A1 (en) | 2004-09-28 | 2004-11-04 | Method for testing ECU software for a controller |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| DE102004053264A1 true DE102004053264A1 (en) | 2006-04-13 |
Family
ID=36000918
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| DE102004053264A Withdrawn DE102004053264A1 (en) | 2004-09-28 | 2004-11-04 | Method for testing ECU software for a controller |
Country Status (2)
| Country | Link |
|---|---|
| DE (1) | DE102004053264A1 (en) |
| WO (1) | WO2006035038A2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE102008014153B4 (en) * | 2007-03-14 | 2014-10-16 | Phoenix Contact Gmbh & Co. Kg | Method, control unit and control system for controlling an automation system |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE502006005781D1 (en) * | 2006-04-25 | 2010-02-11 | Continental Automotive Gmbh | Method and device for testing an engine control unit and a suitable engine control unit |
| WO2008037656A2 (en) * | 2006-09-25 | 2008-04-03 | Robert Bosch Gmbh | Computer-based tool and method for extracting the functional code of control appliances |
| DE102011000958A1 (en) * | 2011-02-28 | 2012-08-30 | Dr. Ing. H.C. F. Porsche Aktiengesellschaft | Method for testing software/hardware component in motor vehicle, involves simulating portion of software of component in test system, and other portion of software by temporary installation of component in vehicle |
| EP3502817A1 (en) * | 2017-12-19 | 2019-06-26 | ABB Schweiz AG | Method for facilitating control system testing and simulation |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE19543826A1 (en) * | 1995-11-23 | 1997-05-28 | Siemens Ag | Simulator unit for simulating a peripheral unit of a modular programmable logic controller |
| EP1134638A3 (en) * | 2000-03-13 | 2002-08-14 | Kabushiki Kaisha Toshiba | Simulator and simulation method |
| JP3803019B2 (en) * | 2000-08-21 | 2006-08-02 | 富士通株式会社 | Control program development support device |
| DE10303489A1 (en) * | 2003-01-30 | 2004-08-12 | Robert Bosch Gmbh | Motor vehicle control unit software testing, whereby the software is simulated using a test system that at least partially simulates the control path of a control unit |
-
2004
- 2004-11-04 DE DE102004053264A patent/DE102004053264A1/en not_active Withdrawn
-
2005
- 2005-09-28 WO PCT/EP2005/054866 patent/WO2006035038A2/en not_active Ceased
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE102008014153B4 (en) * | 2007-03-14 | 2014-10-16 | Phoenix Contact Gmbh & Co. Kg | Method, control unit and control system for controlling an automation system |
| US9760076B2 (en) | 2007-03-14 | 2017-09-12 | Phoenix Contact Gmbh & Co. Kg | Method, control device and control system for the control of an automation system |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2006035038A3 (en) | 2006-08-03 |
| WO2006035038A2 (en) | 2006-04-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP2801873B1 (en) | Test device for testing a virtual control device | |
| DE102010031884B4 (en) | Method and device for testing a battery management system | |
| DE102010014070B4 (en) | Method and test bench for testing hybrid propulsion systems or subcomponents thereof | |
| DE102009059865B4 (en) | Integrated test system and method for evaluating a factory automation system | |
| EP2685382B1 (en) | Method and device for producing and testing a control device program | |
| 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 | |
| DE102006000943A1 (en) | HiL system and method for testing ECUs of a control system | |
| DE10303489A1 (en) | Motor vehicle control unit software testing, whereby the software is simulated using a test system that at least partially simulates the control path of a control unit | |
| DE102015108064B4 (en) | Test system and method for automated testing of at least two simultaneously connected to the test system control units and ECU connection and control unit switching unit for use in such a test system | |
| DE102010005308A1 (en) | Test system for testing control programs for a robot system | |
| DE102014101321A1 (en) | Test device for testing a virtual controller | |
| AT510998A2 (en) | Test and test bench system for at least partially electrified engines | |
| EP3832517A1 (en) | Computer-implemented method for integrating at least one signal value in a virtual control device | |
| DE102004041428A1 (en) | System integration test bench for networked complete mechatronic systems | |
| EP1469320B1 (en) | Method for generating tester controls | |
| DE19732669A1 (en) | Simulation method for control system functions | |
| DE102004053264A1 (en) | Method for testing ECU software for a controller | |
| DE202016008563U1 (en) | Configuration system for configuring a test device set up to test a controller | |
| DE102006031242A1 (en) | Method for performing a test | |
| DE102023211200A1 (en) | Simulation platform and computer-implemented method for operating a simulation platform for a framework for the verification and validation of electronic control units using software-in-the-loop | |
| AT507602A2 (en) | HIL Simulator | |
| EP1595185B1 (en) | Electric automation device and method for adjusting the functions of the electric automation device | |
| DE202010010492U1 (en) | Device for testing a battery management system | |
| EP2653850B1 (en) | Method and IT system for testing entire vehicles | |
| DE102017130842A1 (en) | Configuration system for configuring a test system suitable for testing an electronic control unit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 8139 | Disposal/non-payment of the annual fee |