DE10131317A1 - Control unit for road vehicle controllers has test mode activated by connection to remote unit - Google Patents
Control unit for road vehicle controllers has test mode activated by connection to remote unitInfo
- Publication number
- DE10131317A1 DE10131317A1 DE2001131317 DE10131317A DE10131317A1 DE 10131317 A1 DE10131317 A1 DE 10131317A1 DE 2001131317 DE2001131317 DE 2001131317 DE 10131317 A DE10131317 A DE 10131317A DE 10131317 A1 DE10131317 A1 DE 10131317A1
- Authority
- DE
- Germany
- Prior art keywords
- control
- interface
- control device
- program
- test
- 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
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/0428—Safety, monitoring
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/005—Testing of electric installations on transport means
- G01R31/006—Testing of electric installations on transport means on road vehicles, e.g. automobiles or trucks
- G01R31/007—Testing of electric installations on transport means on road vehicles, e.g. automobiles or trucks using microprocessors or computers
-
- 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/24—Pc safety
- G05B2219/24061—Simulator, generates input signals, shows output signals of logic
-
- 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/2604—Test of external equipment
-
- 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
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Automation & Control Theory (AREA)
- Testing And Monitoring For Control Systems (AREA)
Abstract
Description
Die Erfindung betrifft ein Steuergerät und ein Verfahren zum Testen eines Steuergerätes. The invention relates to a control device and a method for testing a Control unit.
In modernen Kraftfahrzeugen nimmt die Anzahl der zur Anwendung kommenden Steuergeräte kontinuierlich zu. Des weiteren erhöht sich auch die Komplexität der verwendeten Steuergeräte selbst. Diese erhöhte Komplexität spiegelt sich beispielsweise darin, daß die Steuergeräte über eine Vielzahl von Softwaremodulen bzw. -blöcken verfügen oder aber Sensorik, Meßdatenaufbereitung und -auswertung umfassen. Aufgrund der strengen Zuverlässigkeitsanforderungen an die Komponenten eines Kraftfahrzeuges ist es unerläßlich, diese vor der Serienreife ausgiebig zu testen und auch während der Produktion und des Betriebes testen zu können. Ein Test in realer Umgebung ist dabei recht schwierig, da dann eine Vielzahl von Steuergeräten und Sensoren angeschlossen werden müssten. Des weiteren würde ein derartiger vollständiger Test sehr zeitaufwendig sein. Außerdem setzt dies das Vorhandensein aller benötigten Steuergeräte voraus. Es ist daher notwendig, die Steuergeräte durch eine Simulation zu testen. Dabei kommen speziell für die Steuergeräte geschriebene Simulationsprogramme zur Anwendung, die selbst wieder sehr komplex sind und an die Änderungen der Steuergeräte angepaßt werden müssen. In modern motor vehicles, the number of those used is increasing Control units continuously. Furthermore, the complexity of the used control units themselves. This increased complexity is reflected for example, in that the control units have a large number of software modules or blocks or sensors, processing and evaluation of measurement data include. Due to the strict reliability requirements for the components of a motor vehicle, it is essential to test it extensively before it is ready for series production and also to be able to test during production and operation. A test in real environment is quite difficult because a large number of control units and Sensors would have to be connected. Furthermore, such a full test can be very time consuming. It also presupposes the existence all necessary control units ahead. It is therefore necessary to go through the control units to test a simulation. There are those specially written for the control units Simulation programs for use, which are themselves very complex again and which Changes to the control units must be adapted.
Der Erfindung liegt daher das technische Problem zugrunde, ein Steuergerät und ein Verfahren zum Testen eines Steuergerätes zu schaffen, mittels dessen ein Steuergerät mit wenig Zusatzmitteln effektiv getestet werden kann. The invention is therefore based on the technical problem, a control unit and a To create a method for testing a control device, by means of which a control device can be tested effectively with few additives.
Die Lösung des technischen Problems ergibt sich durch die Gegenstände mit den Merkmalen der Patentansprüche 1 und 4. Weitere vorteilhafte Ausgestaltungen der Erfindung ergeben sich aus den Unteransprüchen. The solution to the technical problem arises from the objects with the Features of claims 1 and 4. Further advantageous embodiments of the Invention result from the subclaims.
Hierzu umfasst das Steuerprogramm ein Prüfprogramm, das softwaretechnisch über eine Schnittstelle oder hardwaremäßig über einen Jumper aktivierbar ist, wobei bei aktiviertem Prüfprogramm dem Steuergerät über eine Schnittstelle virtuelle Testobjekte zuführbar sind, die von dem Steuerprogramm verarbeitbar sind, wobei die Ergebnisse und/oder Zwischenergebnisse des Steuerprogrammes über die Schnittstelle auslesbar sind. Dadurch wird nur noch eine einzige Software für das Steuergerät benötigt, was den Aufwand bei Pflege und Anpassung reduziert. Die Hauptfunktion des Prüfprogrammes ist dabei das Umschalten der Eingangsschnittstelle für das Steuergerät, so daß die virtuellen Testobjekte als Eingangsgrößen verarbeitet werden, und gegebenenfalls das zwischenzeitliche Auslesen interner Zwischenergebnisse, so daß die komplexe Ablaufsteuerung des Steuerprogrammes von außen transparenter ist. Die eigentliche Simulationsrechnung erfolgt mit dem Steuerprogramm. Somit können insbesondere komplexe Steuerprogramme mit einer Vielzahl von Softwareblöcken schnell und kostengünstig getestet werden. For this purpose, the control program includes a test program that is software-based an interface or hardware can be activated via a jumper, whereby at activated test program to the control unit via an interface virtual test objects are feedable, which can be processed by the control program, the results and / or intermediate results of the control program can be read out via the interface are. As a result, only a single software is required for the control unit, which is the Maintenance and adaptation effort reduced. The main function of the test program is the switching of the input interface for the control unit, so that the virtual test objects are processed as input variables, and if necessary the interim reading of internal interim results so that the complex Sequence control of the control program is more transparent from the outside. The real one Simulation calculation is done with the control program. Thus, in particular complex control programs with a variety of software blocks quickly and can be tested inexpensively.
Vorzugsweise ist das Steuergerät als integriertes Sensor-Steuergerät, insbesondere als Steuergerät einer Geschwindigkeits- und/oder Abstandsregelung ausgebildet. Hier verringert sich der Aufwand erheblich, da die Testobjekte beispielsweise nicht im Wellenlängen- und Raumbereich eines Radarsensors eingespielt werden müssen, sondern als digitale Daten über die Schnittstelle eingespeist werden. Dies ermöglicht die Integration solcher Systeme in laufende Entwicklungsprojekte, in denen sich andere Steuergeräte, von denen das zu testende Steuergerät abhängig ist, noch ändern. The control device is preferably an integrated sensor control device, in particular a Control device of a speed and / or distance control trained. Here the effort is reduced considerably, since the test objects, for example, are not in the Wavelength and spatial range of a radar sensor must be imported, but are fed in as digital data via the interface. This enables the Integration of such systems in ongoing development projects in which others Change control units on which the control unit to be tested depends.
Die Erfindung wird nachfolgend anhand eines bevorzugten Ausführungsbeispieles näher erläutert. Die einzige Figur zeigt ein schematisches Blockschaltbild eines zu testenden Steuergerätes. The invention is explained in more detail below on the basis of a preferred exemplary embodiment explained. The single figure shows a schematic block diagram of one to be tested Control unit.
Das zu testende Steuergerät 1 umfasst einen Sensor 2, einen Analog-Digital-Wandler 3, einen Mikroprozessor 4, einen Regler 5, eine Schnittstelle 6 für eine Buskommunikation und einen Versorgungsspannungseingang 7. Im Testbetrieb ist an der Schnittstelle 6 ein Diagnosesteuergerät 8 und an den Versorgungsspannungseingang 7 eine Spannungsversorgung 9 angeschlossen. Die Schnittstelle 6 ist vorzugsweise als CAN- Busschnittstelle ausgebildet und dient im realen Betrieb zur bidirektionalen Kommunikation mit anderen Steuergeräten. Im realen Betrieb wertet der Sensor 2 externe oder auch interne Signale oder Zustände aus. Dabei kann der Sensor 2 beispielsweise als Radar, Lidar- oder Temperatursensor ausgebildet sein. Die erfaßten Sensorsignale sind im Regelfall analog und müssen daher vor der Weiterverarbeitung digitalisiert werden. Hierzu dient der Analog-Digital-Wandler 3, der dann die digitalisierten Daten an den Mikroprozessor 4 weiterleitet. Der Mikroprozessor 4 beinhaltet ein Steuerprogramm für das Steuergerät 1. Dieses Steuerprogramm kann die verschiedensten Bestandteile aufweisen, wie beispielsweise Datenaufbereitung, Reglersteuerung, Ergebnisauswertung und -aufbereitung, Busprotokollsteuerung etc. Zusätzlich enthält das Steuerprogramm ein Prüfprogramm, das im realen Betrieb inaktiv ist. Die fertigen Ergebnisse werden dann über die Schnittstelle 6 an andere Steuergeräte und/oder Anzeigen zur Weiterverarbeitung oder Anzeige übertragen. The control device 1 to be tested comprises a sensor 2 , an analog / digital converter 3 , a microprocessor 4 , a controller 5 , an interface 6 for bus communication and a supply voltage input 7 . In test mode, a diagnostic control unit 8 is connected to the interface 6 and a voltage supply 9 is connected to the supply voltage input 7 . The interface 6 is preferably designed as a CAN bus interface and is used in real operation for bidirectional communication with other control devices. In real operation, the sensor 2 evaluates external or internal signals or states. The sensor 2 can be designed, for example, as a radar, lidar or temperature sensor. The detected sensor signals are usually analog and must therefore be digitized before further processing. The analog-digital converter 3 is used for this purpose, which then forwards the digitized data to the microprocessor 4 . The microprocessor 4 contains a control program for the control device 1 . This control program can have a wide variety of components, such as data preparation, controller control, evaluation and preparation of results, bus protocol control, etc. In addition, the control program contains a test program that is inactive in real operation. The finished results are then transmitted via interface 6 to other control devices and / or displays for further processing or display.
Im Testbetrieb wird an die Schnittstelle 6 ein Diagnosesteuergerät 8 angeschlossen, über das softwaretechnisch das Prüfprogramm aktiviert wird. Die Aktivierung des Prüfprogrammes bewirkt als erstes, daß der Mikroprozessor 4 die Eingangsdaten nicht mehr von Analog-Digital-Wandler 3, sondern von der Schnittstelle 6 erwartet. Anstatt der Schnittstelle 6 können auch weitere vorhandene Schnittstellen zur Dateneinspeisung und/oder Prüfprogrammaktivierung verwendet werden. In test mode, a diagnostic control unit 8 is connected to the interface 6 , via which the test program is activated in terms of software. The activation of the test program first has the effect that the microprocessor 4 no longer expects the input data from the analog-digital converter 3 , but from the interface 6 . Instead of the interface 6 , other existing interfaces for data feed and / or test program activation can also be used.
Nach der Aktivierung des Prüfprogrammes überträgt das Diagnosesteuergerät 8 virtuelle Testobjekte über die Schnittstelle 6 an den Mikroprozessor 4. Diese virtuellen Testobjekte sind digitale Daten, wie sie im realen Betrieb vom Analog-Digital-Wandler 3 geliefert werden. Mit diesen virtuellen Testobjekten wird dann das Steuerprogramm inklusive Reglersteuerung durchlaufen und die Ergebnisse über die Schnittstelle 6 an das Diagnosesteuergeräte 8 übertragen, wo diese mit Sollwerten für die Testobjekte verglichen werden. Neben dem Vergleich der Endergebnisse können auch Zwischenergebnisse des Steuerprogrammes ausgegeben und verglichen werden, so daß ein systematisches Debuggen des Steuerprogrammes möglich ist, was insbesondere die Fehlereingrenzung erheblich vereinfacht. Durch das Auslesen der Zwischenergebnisse können insbesondere einzelne Softmodule bzw. -blöcke des Steuerprogrammes getestet werden. Nach erfolgtem Test wird dann das Prüfprogramm wieder deaktiviert. Da die Simulation im Testbetrieb mit dem Steuerprogramm selbst erfolgt, muß nur noch eine Software entwickelt und gewartet werden. Des weiteren werden gleichzeitig Mikroprozessor 4, Regler 5 und das Steuerprogramm getestet, so daß dies einen schnellen und kostengünstigen Test unter realen Bedingungen ermöglicht. Weiter ermöglicht das erfindungsgemäße Steuergerät auch eine einfache Überprüfbarkeit während der Produktion oder der Wartung in einer Werkstatt. After the activation of the test program, the diagnostic control unit 8 transmits virtual test objects via the interface 6 to the microprocessor 4 . These virtual test objects are digital data as they are supplied by the analog-digital converter 3 in real operation. With these virtual test objects, the control program including controller control is then run through and the results are transmitted via interface 6 to diagnostic control units 8 , where they are compared with target values for the test objects. In addition to the comparison of the final results, intermediate results of the control program can also be output and compared, so that systematic debugging of the control program is possible, which in particular considerably simplifies the error limitation. By reading out the intermediate results, in particular individual soft modules or blocks of the control program can be tested. After the test has been carried out, the test program is then deactivated again. Since the simulation is carried out in test mode with the control program itself, only one software needs to be developed and maintained. Furthermore, the microprocessor 4 , controller 5 and the control program are tested simultaneously, so that this enables a quick and inexpensive test under real conditions. Furthermore, the control device according to the invention also enables simple checking during production or maintenance in a workshop.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE2001131317 DE10131317A1 (en) | 2001-06-28 | 2001-06-28 | Control unit for road vehicle controllers has test mode activated by connection to remote unit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE2001131317 DE10131317A1 (en) | 2001-06-28 | 2001-06-28 | Control unit for road vehicle controllers has test mode activated by connection to remote unit |
Publications (1)
Publication Number | Publication Date |
---|---|
DE10131317A1 true DE10131317A1 (en) | 2003-01-09 |
Family
ID=7689854
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
DE2001131317 Withdrawn DE10131317A1 (en) | 2001-06-28 | 2001-06-28 | Control unit for road vehicle controllers has test mode activated by connection to remote unit |
Country Status (1)
Country | Link |
---|---|
DE (1) | DE10131317A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE10254388A1 (en) * | 2002-11-18 | 2004-05-27 | Volkswagen Ag | Motor vehicle assistance system testing method, in which the system evaluation unit is tested by supplying it with static and or dynamic test information via the system sensors and a test structure |
DE102005010672A1 (en) * | 2005-03-09 | 2006-09-14 | Bayerische Motoren Werke Ag | Motor vehicle control for controlling vehicle functions of modern motor vehicle is transferable into test mode in which first output signal is measured and is stored into storage unit |
DE102005032334A1 (en) * | 2005-07-08 | 2007-01-11 | Daimlerchrysler Ag | Functional test of driver assistance system e.g. for motor vehicle, involves having driver assistance system with sensors for collection of data over dynamic environment information and data over dynamic movement behavior of vehicle |
WO2011161359A1 (en) * | 2010-06-23 | 2011-12-29 | Turbomeca | System for real-time simulation of the environment of an aircraft engine |
WO2017085318A1 (en) * | 2015-11-19 | 2017-05-26 | Avl List Gmbh | Control unit having a test mode for a vehicle, and method and test bench for performing a bench test for a test specimen |
-
2001
- 2001-06-28 DE DE2001131317 patent/DE10131317A1/en not_active Withdrawn
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE10254388A1 (en) * | 2002-11-18 | 2004-05-27 | Volkswagen Ag | Motor vehicle assistance system testing method, in which the system evaluation unit is tested by supplying it with static and or dynamic test information via the system sensors and a test structure |
DE102005010672A1 (en) * | 2005-03-09 | 2006-09-14 | Bayerische Motoren Werke Ag | Motor vehicle control for controlling vehicle functions of modern motor vehicle is transferable into test mode in which first output signal is measured and is stored into storage unit |
DE102005032334A1 (en) * | 2005-07-08 | 2007-01-11 | Daimlerchrysler Ag | Functional test of driver assistance system e.g. for motor vehicle, involves having driver assistance system with sensors for collection of data over dynamic environment information and data over dynamic movement behavior of vehicle |
DE102005032334B4 (en) * | 2005-07-08 | 2007-06-21 | Daimlerchrysler Ag | Function test of a driver assistance system |
WO2011161359A1 (en) * | 2010-06-23 | 2011-12-29 | Turbomeca | System for real-time simulation of the environment of an aircraft engine |
FR2961927A1 (en) * | 2010-06-23 | 2011-12-30 | Turbomeca | REAL TIME SIMULATION SYSTEM FOR THE ENVIRONMENT OF AN AIRCRAFT ENGINE |
CN102947178A (en) * | 2010-06-23 | 2013-02-27 | 涡轮梅坎公司 | System for real-time simulation of the environment of an aircraft engine |
US9114883B2 (en) | 2010-06-23 | 2015-08-25 | Turbomeca | System for real time simulation of the environment of an aeroengine |
CN102947178B (en) * | 2010-06-23 | 2015-12-02 | 涡轮梅坎公司 | A kind of system of the real time simulation for aircraft engine environment |
WO2017085318A1 (en) * | 2015-11-19 | 2017-05-26 | Avl List Gmbh | Control unit having a test mode for a vehicle, and method and test bench for performing a bench test for a test specimen |
CN108431572A (en) * | 2015-11-19 | 2018-08-21 | Avl里斯脱有限公司 | For the control unit with test model of vehicle and the method for the bench test for executing testpieces and testing stand |
CN108431572B (en) * | 2015-11-19 | 2020-12-04 | Avl里斯脱有限公司 | Control unit for a vehicle with a test mode, and method and test bench for carrying out a bench test of a test piece |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2162803B1 (en) | Device and method for simulating a developmental arrangement for a test stand | |
EP2685382B1 (en) | Method and device for producing and testing a control device program | |
DE102009059865B4 (en) | Integrated test system and method for evaluating a factory automation system | |
DE112008003800T5 (en) | Numerical control method and apparatus therefor | |
WO2012031814A1 (en) | Motor vehicle inspection device and motor vehicle inspection method | |
DE102006000943A1 (en) | HiL system and method for testing ECUs of a control system | |
DE4400079A1 (en) | Method for testing electronic control units and control unit for use in the method | |
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 | |
DE102018206440A1 (en) | Abnormality judgment system, data transmission and reception apparatus, engine control apparatus and abnormality judgment method | |
EP1428126A2 (en) | Software verification method for control units and verification system | |
DE19539353A1 (en) | Programmable monitor for industrial device using stored sequence program | |
DE102009033156B4 (en) | Apparatus and method for measuring and / or generating electrical quantities | |
EP3179372A1 (en) | Method and device for testing a plurality of controllers of a technical unit | |
EP2088439A1 (en) | Device for testing the functionality of a vehicle | |
DE10311027A1 (en) | Testing and process simulation system for machine tool, comprising facility for representing measured data and simulation results on single screen | |
DE10131317A1 (en) | Control unit for road vehicle controllers has test mode activated by connection to remote unit | |
DE102008036759A1 (en) | Apparatus and method for testing systems with visual output | |
EP2786162B1 (en) | Method of detecting a fault in connecting lines between a central unit and a plurality of electronic components which are independent of one another | |
DE10326627A1 (en) | Method for displaying the function of a field device of process automation technology | |
EP1251416A1 (en) | Diagnostic device for a field-bus with control independent information transfer | |
DE102013010783A1 (en) | Method and control device for testing an automation solution based on a PLC control | |
DE102021003582A1 (en) | Programmable signal processing unit and method for operating a programmable signal processing unit | |
EP3720056B1 (en) | Method and system for parallel real-time analysis in functional checks of hardware and software of controllers | |
WO2013127646A1 (en) | Apparatus and method for testing electronic devices having a physically separate control device | |
DE102015222592A1 (en) | Method for determining an action chain for a vehicle function |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
8141 | Disposal/no request for examination |