DE10237173A1 - Motor vehicle control unit, especially an ignition control unit, in which temporary measurement values, e.g. calibration values, can be stored in RAM - Google Patents

Motor vehicle control unit, especially an ignition control unit, in which temporary measurement values, e.g. calibration values, can be stored in RAM Download PDF

Info

Publication number
DE10237173A1
DE10237173A1 DE2002137173 DE10237173A DE10237173A1 DE 10237173 A1 DE10237173 A1 DE 10237173A1 DE 2002137173 DE2002137173 DE 2002137173 DE 10237173 A DE10237173 A DE 10237173A DE 10237173 A1 DE10237173 A1 DE 10237173A1
Authority
DE
Germany
Prior art keywords
program
memory
control unit
control
data read
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.)
Ceased
Application number
DE2002137173
Other languages
German (de)
Inventor
Martin Laichinger
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Robert Bosch GmbH
Original Assignee
Robert Bosch GmbH
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Robert Bosch GmbH filed Critical Robert Bosch GmbH
Priority to DE2002137173 priority Critical patent/DE10237173A1/en
Publication of DE10237173A1 publication Critical patent/DE10237173A1/en
Ceased legal-status Critical Current

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/24Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
    • F02D41/2406Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using essentially read only memories
    • F02D41/2425Particular ways of programming the data
    • F02D41/2429Methods of calibrating or learning
    • F02D41/2432Methods of calibration
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/24Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
    • F02D41/2406Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using essentially read only memories
    • F02D41/2409Addressing techniques specially adapted therefor
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/24Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
    • F02D41/2406Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using essentially read only memories
    • F02D41/2425Particular ways of programming the data
    • F02D41/2487Methods for rewriting
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/24Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
    • F02D41/26Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using computer, e.g. microprocessor
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/24Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
    • F02D41/26Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using computer, e.g. microprocessor
    • F02D41/263Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using computer, e.g. microprocessor the program execution being modifiable by physical parameters
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/24Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
    • F02D41/26Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using computer, e.g. microprocessor
    • F02D41/28Interface circuits
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/24Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
    • F02D41/2406Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using essentially read only memories
    • F02D41/2425Particular ways of programming the data
    • F02D41/2487Methods for rewriting
    • F02D41/249Methods for preventing the loss of data
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25303Decode processor status bits to switch, select between memories

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

Method for acquisition of temporary measurement values and their use in a motor vehicle control unit, especially a fuel ignition control unit, with a microprocessor and memory for storage of data and a control program. According to the method control or regulation programs and or storage or memory registers within the control unit are altered so that the acquired measurement values can be stored in the program or data read-write memory (13). An Independent claim is made for a control unit (10), especially a microprocessor with means for storage of temporary measurement values in its data or program read-write memory.

Description

Die vorliegende Erfindung betrifft ein Verfahren zum Erfassen von temporären Messgrößen in einem programmierten Steuergerät, insbesondere für ein Zünd- und/oder Einspritzgerät einer Brennkraftmaschine. Das Steuergerät umfasst ein Rechengerät, insbesondere einen Mikroprozessor, einen Programm- und/oder Daten-Festwertspeicher, auf dem ein Steuer- und/oder Regelprogramm des Steuergeräts abgelegt wird, und einen Programm- und/oder Daten-Schreib-Lesespeicher. Die zu erfassenden Messgrößen werden während der Abarbeitung des Steuer- und/oder Regelprogramms auf dem Rechengerät erzeugt und in vorgebbaren Speicherbereichen abgelegt.The present invention relates to a method for capturing temporary measured variables in a programmed Controller, especially for a Ignition and / or Injection device an internal combustion engine. The control device comprises a computing device, in particular a microprocessor, a program and / or data read-only memory, on which a control and / or regulation program of the control unit is stored and a program and / or data read / write memory. The measurands to be recorded are while the processing of the control and / or regulation program generated on the computing device and stored in predefinable memory areas.

Die Erfindung betrifft außerdem ein Steuergerät umfassend ein Rechengerät, insbesondere einen Mikroprozessor, einen Programm- und/oder Daten-Festwertspeicher, auf dem ein Steuer- und/oder Regelprogramm des Steuergeräts abgelegt ist, und einen Programm- und/oder Daten-Schreib-Lesespeicher. Während der Abarbeitung des Steuer- und/oder Regelprogramms auf dem Rechengerät werden temporäre Messgrößen erzeugt. Diese temporären Messgrößen werden in vorgebbaren Speicherbereichen abgelegt.The invention also relates to a control unit comprising a computing device, in particular a microprocessor, a program and / or data read-only memory, on which a control and / or regulation program of the control unit is stored and a program and / or data read / write memory. During the processing of the tax and / or control program on the computing device, temporary measured variables are generated. These temporary metrics will be stored in predefinable memory areas.

Stand der TechnikState of the art

Steuergeräte dienen zur Steuerung und/oder Regelung bestimmter Funktionalitäten bspw. in Kraftfahrzeugen. Zur Erfüllung der Steuerungs- und/oder Regelungsfunktion werden Steuer- und/oder Regelprogramme auf einem Rechengerät, insbesondere auf einem Mikroprozessor, des Steuergeräts abgearbeitet. Dem Steuergerät werden über Sensoren und andere Messwertaufnehmer Daten als Information über den aktuellen Zustand der zu steuernden und/oder regelnden Funktionalität oder den Zustand anderer Funktionalitäten des Kraftfahrzeugs übermittelt. Bestimmte Daten, die nicht erfasst werden, können in dem Steuergerät aus anderen erfassten Daten modelliert werden. In Abhängigkeit dieser Daten werden im Rahmen der Abarbeitung des Steuer- und/oder Regelprogramms Messgrößen erzeugt und in bestimmte Speicherbereiche abgelegt. Aus den Messgrößen werden dann Ansteuersignale zur Steuerung und/oder Regelung der Funktionalität erzeugt.Control units are used for control and / or regulation certain functionalities for example in motor vehicles. To fulfill the control and / or regulation function control and / or regulation programs on a computing device, in particular a microprocessor, the control unit processed. The control unit are connected via sensors and other sensors as information about the current state of the functionality to be controlled and / or regulated or the State of other functionalities of the motor vehicle transmitted. Certain data that are not captured can be in the control unit from others recorded data can be modeled. Depending on this data Generated measured variables as part of the processing of the control and / or regulating program and stored in certain memory areas. The measurands become then control signals for controlling and / or regulating the functionality are generated.

Bei modernen Steuergeräten müssen während der Applikationsphase mehrere Tausend Parameter, Regelparameter, Kennlinien, Kennfelder oder sonstige Einstellgrößen, über welche die Eigenschaften des Steuergeräts beeinflusst und an die zu steuernde und/oder zu regelnde Komponente angepasst werden können, appliziert werden. Aus dem Stand der Technik sind verschiedene Möglichkeiten bekannt, um für die Entwicklung und Applikation ein Verstellen und eine Anpassung dieser Parameter an die Anwendung zu ermöglichen. Hierzu werden die Parameter, welche verstellbar sein sollen, während der Applikationsphase nicht in dem Festwertspeicher, sondern in einem veränderbaren Schreib-Lesespeicher abgelegt. Am Ende der Applikationsphase werden die eingestellten Parameter für den Serienbetrieb aus dem Schreib-Lesespeicher in den Festwertspeicher übertragen.With modern control units during the Application phase several thousand parameters, control parameters, characteristic curves, Characteristic maps or other setting variables via which the properties of the control unit influenced and to the component to be controlled and / or regulated can be customized be applied. There are various possibilities from the prior art known to for the development and application an adjustment and an adjustment to enable this parameter to the application. For this, the parameters, which should be adjustable during the application phase not in the read-only memory, but in a changeable one Read / write memory stored. At the end of the application phase the set parameters for transfer the series operation from the read / write memory to the read-only memory.

Aus dem Stand der Technik sind Emulationssysteme bekannt, die zur Veränderung von Programmdaten und/oder Daten von Steuergeräten dienen, die einen Mikroprozessor bzw. einen Mikrocontroller aufweisen. Dabei können die Datenänderungen während des Betriebs des Steuergeräts durchgeführt werden. Hierzu wird ein Daten-Programm-Lesespeicher (ROM, PROM, EPROM oder dergleichen) des Steuergeräts aus seinem Stecksockel entnommen und durch einen Stecker ersetzt, der über ein Kabel mit einem Speicher in einem Emulationssystem verbunden wird. Der Mikroprozessor des Steuergeräts greift dann während des Betriebs auf den Speicher in dem Emulationssystem zu, dessen Daten durch das Emulationssystem verändert werden können. Die Möglichkeit der Veränderung der Daten ist insbesondere während der Entwicklungs- und Applikationsphase eines Steuergeräts bzw. neuer Steuergerätesoftware interessant. Ein solches Emulationssystem wird auch als Emulator-Tast-Kopf (ETK) bezeichnet und ist bspw. in der DE 41 07 052 A1 beschrieben.Emulation systems are known from the prior art which are used to change program data and / or data from control devices which have a microprocessor or a microcontroller. The data changes can be made while the control unit is operating. For this purpose, a data program read memory (ROM, PROM, EPROM or the like) of the control unit is removed from its plug-in base and replaced by a plug which is connected to a memory in an emulation system via a cable. The microprocessor of the control device then accesses the memory in the emulation system during operation, the data of which can be changed by the emulation system. The possibility of changing the data is particularly interesting during the development and application phase of a control unit or new control unit software. Such an emulation system is also referred to as an emulator probe head (ETK) and is, for example, in the DE 41 07 052 A1 described.

Bei der Speicheremulation mit einem ETK wird durch einen Speicheremulator ein RAM-Speicher über einen Flashbereich der Applikationsdaten gelegt. Somit ist der ursprüngliche Speicherbereich des Flashspeichers für Applikationsdaten deaktiviert. Auf den Speicherbereich des RAM-Speichers kann von dem Steuergerät lesend und von einem Applikationswerkzeug schreibend zugegriffen werden. Die Daten können somit ohne eine aufwendige Neuprogrammierung des Flash-Speichers (sog. flashen) und ohne ein Rücksetzen des Steuergeräts (sog. reset) verändert werden.When emulating memory with a ETK becomes a RAM memory via a memory emulator Flash area of the application data. It is the original Memory area of the flash memory for application data deactivated. On the memory area of the RAM memory can be read by the control unit and can be accessed in writing by an application tool. The data can thus without extensive reprogramming of the flash memory (so-called. flashing) and without resetting of the control unit (so-called reset) changed become.

Zusätzlich besitzt der ETK einen Speicher für Messgrößen. In die Speicherbereiche dieses Speichers schreibt das Steuergerät während der Applikations- oder Erprobungsphase temporäre Messgrößen und ermöglicht somit dem Applikationswerkzeug die Messgrößen lesend zu erfassen. Durch Auswerten der Messgrößen kann der Ablauf des Steuer- und/oder Regelprogramms auf dem Rechengerät besser nachvollzogen werden. Dies erweist sich insbesondere bei der Fehlersuche in dem Steuer- und/oder Regelprogramm als äußerst hilfreich. Problematisch ist dabei jedoch, dass die Messgrößen nur dann abgespeichert werden und von dem Applikationswerkzeug ausgelesen werden können, solange der ETK an das Steuergerät angeschlossen ist. Das ist bspw. während des Serienbetriebs in der Regel nicht der Fall. Das bedeutet, dass die temporären Messgrößen während des Serienbetriebs gewissermaßen „ins Leere" geschrieben werden und somit nicht auslesbar sind.In addition, the ETK has a memory for measured variables. During the application or testing phase, the control unit writes temporary measured variables into the memory areas of this memory and thus enables the application tool to read the measured variables. The course of the control and / or regulating program on the computing device can be better understood by evaluating the measured variables. This proves to be extremely helpful, in particular when troubleshooting the control program. It is problematic, however, that the measured variables can only be saved and read out by the application tool as long as the ETK is connected to the control unit. That is, for example, during series production in the Re not the case. This means that the temporary measurement variables are, as it were, written "in empty space" during series operation and are therefore not readable.

Aus der DE 39 17 979 C2 ist eine Emulationsvorrichtung für ein Steuergerät, insbesondere für ein Zünd- und/oder Einspritzgerät einer Brennkraftmaschine, bekannt. Das Steuergerät umfasst einen Mikroprozessor und einen Daten-Programm-Lesespeicher, der bspw. als ein EPROM (Erasable and Programmable Read-Only-Memory) ausgebildet ist. Des weiteren umfasst das Steuergerät eine Daten-Manipulationsvorrichtung mit einem Schreib-Lesespeicher, der bspw. als ein RAM (Random-Access-Memory) ausgebildet ist und über Busleitungen mit dem Mikroprozessor verbunden ist, und eine serielle Schnittstelle zum Anschluss des Steuergeräts an ein Bediengerät zur Veränderung von Daten in dem Schreib-Lesespeicher. Die Daten-Manipulationsvorrichtung weist außerdem eine Umschaltvorrichtung zur Umschaltung des Lesezugriffs auf den Schreib-Lesespeicher oder den Daten-Programm-Lesespeicher auf. Der Einsatz einer solchen Emulationsvorrichtung wird auch als serielle Applikation mit einem zusätzlichen RAM (SERAM) bezeichnet.From the DE 39 17 979 C2 an emulation device for a control device, in particular for an ignition and / or injection device of an internal combustion engine, is known. The control device comprises a microprocessor and a data program read memory, which is designed, for example, as an EPROM (Erasable and Programmable Read-Only-Memory). Furthermore, the control device comprises a data manipulation device with a read-write memory, which is designed, for example, as a RAM (Random Access Memory) and is connected to the microprocessor via bus lines, and a serial interface for connecting the control device to an operating device to change data in the random access memory. The data manipulation device also has a switching device for switching the read access to the read-write memory or the data program read memory. The use of such an emulation device is also referred to as a serial application with an additional RAM (SERAM).

Bei der seriellen Applikation ist auf dem Steuergerät ein zusätzlicher Emulationsspeicher in Form des RAM angeordnet. Auf diesem RAM befinden sich die Applikationsdaten. Der Datenaustausch zwischen der Datenmanipulationsvorrichtung und dem Emulationsspeicher erfolgt durch den Mikrocontroller des Steuergeräts. Als Schnittstelle zu der Datenmanipulationsvorrichtung dienen typischerweise die in dem Steuergerät bereits vorhandenen Schnittstellen wie bspw. ein Diagnoseinterface KWP2000 (Key-Word-Protocol 2000). Das Applikations-RAM wird in der Regel so groß gewählt, dass auch die temporären Messgrößen, welche außerhalb des Steuergeräte-Speicherbereichs liegen, darin abgelegt werden können. Bei dem SERAM muss jedoch im Vorfeld festgelegt werden, welche Messgrößen in dem RAM abgelegt werden sollen. Alle Messgrößen, auf die später einmal zugegriffen werden soll, müssen in dem RAM abgelegt werden. Das hat zur Folge, dass bei modernen Steuergeräte sehr große und teure RAMs vorgesehen sind, um die vielen temporären Messgrößen zu erfassen.With the serial application is on the control unit an additional Emulation memory arranged in the form of RAM. Located on this RAM the application data. The data exchange between the data manipulation device and the emulation memory is carried out by the microcontroller Controller. Typically, the serve as the interface to the data manipulation device in the control unit already existing interfaces such as a diagnostic interface KWP2000 (Key Word Protocol 2000). The application RAM is in the Usually chosen so large that also the temporary ones Measurands, which outside of the control unit memory area can be stored in it. With the SERAM, however, it must be determined in advance which measurement variables in the RAM should be filed. All measurands on which later should be accessed stored in RAM. As a result, modern ECUs very large and expensive RAMs are provided to capture the many temporary measurement variables.

Die beschriebenen, aus dem Stand der Technik bekannten Emulationsverfahren haben den Nachteil, dass sie zusätzliche Hardware in Form des zusätzlichen Emulationsspeichers oder des Applikations-RAM benötigen.The described, from the state Emulation methods known in the art have the disadvantage that them additional Hardware in the form of the additional Emulation memory or the application RAM.

Aus der DE 195 00 453 A1 ist ein Verfahren zur Optimierung von Programmteilen und/oder Daten für ein Steuergerät bekannt, das bei der Applikation von Kraftfahrzeug-Steuergeräten eingesetzt werden kann. Das Steuergerät umfasst ein Rechengerät in Form eines Mikroprozessors oder eines Mikrocontrollers und einen Programm- und/oder Daten-Festwertspeicher, in dem ein von dem Rechengerät abzuarbeitendes Steuerprogramm und/oder Daten, die zur Abarbeitung des Steuerprogramms benötigt werden, abgelegt sind, und einen Programm- und/oder Daten-Schreib-Lesespeicher. Bei dem Verfahren wird das Steuergerät über eine Schnittstelle mit einem externen Applikationsgerät verbunden, mit dessen Hilfe Änderungen der zu optimierenden Programmteile und/oder Daten vorgenommen werden können. Die zu optimierenden Programmteile und/oder Daten werden zu Beginn des Verfahrens aus dem Festwertspeicher in den Schreib-Lesespeicher geschrieben. In dem Steuerprogramm und/oder in Speicher- und/oder Registerplätzen des Steuergeräts werden spezifische Änderungen vorgenommen, die bewirken, dass das Rechengerät des Steuergeräts statt auf die Programmteile und/oder Daten in dem Festwertspeicher auf Programmteile und/oder Daten in dem Schreib-Lesespeicher zugreift. Die dort abgelegten Daten sind leichter änderbar. Am Ende der Applikationsphase werden die applizierten Daten wieder in den Festwertspeicher übertragen.From the DE 195 00 453 A1 a method for optimizing program parts and / or data for a control unit is known which can be used in the application of motor vehicle control units. The control device comprises a computing device in the form of a microprocessor or a microcontroller and a program and / or data read-only memory in which a control program to be processed by the computing device and / or data required for processing the control program are stored, and a program - And / or data read-write memory. In the method, the control device is connected via an interface to an external application device, with the aid of which changes to the program parts and / or data to be optimized can be made. The program parts and / or data to be optimized are written from the read-only memory to the read-write memory at the beginning of the method. Specific changes are made in the control program and / or in memory and / or register locations of the control device, which cause the computing device of the control device to program parts and / or data in the read-write memory instead of the program parts and / or data in the read-only memory accesses. The data stored there is easier to change. At the end of the application phase, the applied data is transferred back to the read-only memory.

Bei dem aus der DE 195 00 453 A1 bekannten Verfahren geht es lediglich um den Zugriff des Rechengeräts auf Programmteile und/oder Daten während der Applikationsphase, wobei die Programmteile und/oder Daten auf einfache Weise optimierbar bzw. applizierbar sein sollen.The one from the DE 195 00 453 A1 Known methods are only concerned with the access of the computing device to program parts and / or data during the application phase, the program parts and / or data should be able to be optimized or applied in a simple manner.

Wie bereits oben angesprochen, werden während der Abarbeitung des Steuer- und/oder Regelprogramms auf dem Rechengerät jedoch auch temporäre Messgrößen erzeugt. Diese Messgrößen werden vorzugsweise in Speicherbereiche geschrieben, an denen zumindest während der Applikations- oder Erprobungsphase ein Schreib-Lesespeicher vorgesehen ist. Der Schreib-Lesespeicher kann bspw. in einem Emulator-Tast-Kopf (ETK) integriert sein, der über einen Adress-Daten-Bus und einen entsprechenden Bus-Controller an das Steuergerät angeschlossen ist. Des weiteren kann bspw. in dem Steuergerät selbst ein zusätzliches Applikations-RAM (sog. SERAM) vorgesehen werden, auf dem auch temporäre Messgrößen abgelegt werden können. Nachteilig sowohl bei dem ETK als auch bei dem SERAM ist jedoch, dass zusätzliche Hardware zum Speichern der temporären Messgrößen erforderlich ist. Außerdem sind beim ETK die zusätzlich vorgesehenen Schreib-Lesespeicher während des Serieneinsatzes nicht mehr vorhanden, so dass es nahezu unmöglich ist, während des Serieneinsatzes zu Auswertezwecken an die temporären Messwerte zu gelangen. Bei dem SERAM wäre es zwar theoretisch denkbar, alle anfallenden Messgrößen in dem Applikations-RAM abzulegen. Dies würde jedoch einen sehr großen Speicherplatzbedarf erfordern, was bei Kraftfahrzeugsteuergeräten aus Kostengründen vermieden werden sollte.As already mentioned above, during the Processing of the control and / or regulation program on the computing device, however also temporary Generated measurands. These measures are preferably written in memory areas where at least while the application or Trial phase a read-write memory is provided. The read-write memory can, for example, in an emulator probe head (ETK) be integrated over the an address data bus and a corresponding bus controller is connected to the control unit is. Furthermore, an additional Application RAM (so-called SERAM) can be provided, on which temporary measured variables are also stored can be. A disadvantage of both the ETK and the SERAM is that additional Hardware for storing the temporary measured quantities is required. Also are the additionally provided at the ETK Read-write memory during of the series application no longer exists, so that it is almost impossible while series use for evaluation purposes to the temporary measured values reach. With the SERAM although it is theoretically conceivable, all of the measurement variables arising in the application RAM store. This would however a very large one Space requirements require what is made of automotive control units Avoided cost reasons should be.

Der vorliegenden Erfindung liegt deshalb die Aufgabe zugrunde, eine Möglichkeit zu schaffen, von einem Steuergerät während der Abarbeitung eines Steuer- und/oder Regelprogramms erzeugte temporäre Messgrößen auf einfache und möglichst kostengünstige Weise für ein mögliches späteres Auslesen abzulegen.The present invention lies therefore based on the task of creating a possibility of one control unit while temporary measured variables generated during the processing of a control and / or regulation program simple and possible inexpensive Way for a possible later File reading.

Zur Lösung dieser Aufgabe schlägt die vorliegende Erfindung ausgehend von dem Verfahren der eingangs genannten Art vor, dass in dem Steuer- und/oder Regelprogramm und/oder in Speicher- und/oder Registerplätzen des Steuergeräts spezifische Änderungen vorgenommen werden, durch die bewirkt wird, dass die zu erfassenden Messgrößen in dem Programm- und/oder Daten-Schreib-Lesespeicher abgelegt werden.The present one proposes to solve this task Invention based on the method of the type mentioned before that in the control and / or regulation program and / or in memory and / or register locations of the control unit specific changes by which the data to be recorded is caused Measurands in the Program and / or data read / write memory are stored.

Vorteile der ErfindungAdvantages of the invention

Das erfindungsgemäße Verfahren hat den Vorteil, dass zum Erfassen der temporären Messgrößen ein Serien-Steuergerät eingesetzt werden kann. Temporäre Messgrößen im Sinne der vorliegenden Erfindung sind insbesondere Messgrößen, die typischerweise in einem Adressbereich liegen, an dem kein Speicher vorhanden ist. Schaltungsgemäße Änderungen an dem Serien-Steuergerät brauchen für die Erfassung der temporären Messgrößen nicht vorgenommen werden. Es ist nicht einmal eine Öffnung des Steuergerätes erforderlich. Damit stellt das vorgeschlagene Verfahren eine sehr kostengünstige Lösung zum Erfassen der temporären Messgrößen dar, weil nicht nur schaltungsgemäße Änderungen in dem Serien-Steuergerät zum Erfassen der Messgrößen entfallen können, sondern auch das Erfassen der Messgrößen schneller und einfacher erfolgen kann, weil aufwendige Kontaktierungsarbeiten (Umstecken von Bauteilen, Isolations- und Abschirmungsarbeiten) entfallen können.The method according to the invention has the advantage that to capture the temporary Measurands Serial controller can be used. Temporary Measured variables in the sense of the present invention are, in particular, measured variables that typically in an address area where there is no memory is available. Circuit changes on the series control unit need for that Capture the temporary Measured variables are not be made. It is not even necessary to open the control unit. The proposed method thus provides a very inexpensive solution Capture the temporary Measures because not just changes in terms of circuitry in the series control unit there is no need to record the measured variables can, but also the acquisition of the measured variables faster and easier can take place because complex contacting work (relocating Components, insulation and shielding work) can be omitted.

Weiterhin vorteilhaft ist, dass das erfindungsgemäße Verfahren auch für Steuergeräte, bei denen der Programm-Daten-Speicher in dem Rechengerät integriert ist (sog. Ein-Chip-Rechengeräte), leicht möglich ist. Zum Auslesen der in dem Schreib-Lesespeicher abgelegten Messgrößen ist es lediglich nötig, ein externes Applikationsgerät, das bspw. als ein entsprechend programmierter Personal Computer ausgebildet ist, bspw. über ein serielles Übertragungskabel mit einer entsprechenden Schnittstelle des Steuergerätes zu verbinden.It is also advantageous that the inventive method also for Control devices, where the program data storage integrated in the computing device is (so-called one-chip computing devices), is easily possible. For reading out the measured variables stored in the read / write memory it is only necessary an external application device, for example, designed as a suitably programmed personal computer is, for example a serial transmission cable to connect to a corresponding interface of the control unit.

Gemäß einer vorteilhaften Weiterbildung der vorliegenden Erfindung wird vorgeschlagen, dass in das Steuerprogramm bedingte Verzweigungen eingebracht werden, an denen während der Abarbeitung des Steuer- und/oder Regelprogramms aber nur dann verzweigt wird, wenn in mindestens einem Register- und/oder Speicherplatz des Steuergeräts ein entsprechender Eintrag abgelegt wurde. An dem Verzweigungsziel der Verzweigungen sind bspw. Befehle zur Speicherung einer bestimmten Messgröße in einem bestimmten Speicherbereich des Schreib-Lesespeichers enthalten. Die Einträge in die Register- und/oder Speicherplätze können bspw. von außen mittels eines Applikationsgerätes vorgenommen werden. Durch entsprechende Einträge in den Register- und/oder Speicherplätzen des Steuergeräts kann also von außen vorgegeben werden, welche temporären Messgrößen abgespeichert und/oder an welchem Speicherplatz in dem Schreib-Lesespeicher die Messgrößen abgelegt werden sollen.According to an advantageous development The present invention proposes that in the control program conditional branches are introduced, on which during the Processing of the control and / or regulation program only then branches is when a corresponding in at least one register and / or memory location of the control unit Entry was filed. At the branch destination of the branches are, for example, commands for storing a specific measurement variable in one contain certain memory area of the random access memory. The entries in the register and / or memory locations can, for example, from the outside of an application device be made. Through corresponding entries in the register and / or locations of the control unit can from the outside which are temporary Measured variables saved and / or at which storage location in the random access memory the Measured variables filed should be.

Alternativ wird vorgeschlagen, dass die Änderungen in den Registerplätzen in mindestens einem bestimmten Adressregister des Steuergeräts vorgenommen werden und dass das Steuergerät entsprechend der Einträge in dem mindestens einen Adressregister eine automatische Umschaltung vornimmt, so dass das Rechengerät die zu erfassenden Messgrößen in dem Programm- und/oder Daten-Schreib-Lesespeicher ablegt. Die Einträge in die Registerplätze können bspw. von außen mittels eines Applikationsgerätes vorgenommen werden. Auch bei dieser Ausführungsform kann also durch entsprechende Einträge in den Registerplätzen des Steuergeräts von außen vorgegeben werden, welche temporären Messgrößen abgespeichert und/oder an welchem Speicherplatz in dem Schreib-Lesespeicher die Messgrößen abgelegt werden sollen.Alternatively, it is suggested that The changes in the register slots made in at least one specific address register of the control unit be and that the control unit accordingly of entries an automatic switchover in the at least one address register makes so that the computing device the measured variables to be recorded in the Program and / or data read / write memory stores. The entries in the register places can e.g. from the outside by means of an application device be made. In this embodiment, too, can corresponding entries in the register places of the control unit from the outside which are temporary Measured variables saved and / or at which storage location in the random access memory the Measured variables filed should be.

Bei der vorliegenden Erfindung können also gezielt diejenigen Messgrößen in dem Schreib-Lesespeicher abgelegt werden, die bspw. im Rahmen einer Fehlersuche in dem Steuer- und/oder Regelprogramm ausgelesen und ausgewertet werden sollen. Der für das Speichern der temporären Messgrößen erforderliche Speicherplatz kann auf ein Minimum reduziert werden. Dadurch lassen sich ohne Einbußen bei der Beobachtbarkeit temporärer Messgrößen hinnehmen zu müssen erhebliche Kosteneinsparungen erzielen.In the present invention, therefore, targeted those measures in the Read / write memories are stored, for example in the context of a Troubleshooting in the control and / or regulation program read out and should be evaluated. The one for saving the temporary Measured variables required Storage space can be reduced to a minimum. Let it through yourself without sacrificing the observability temporary Accept measurements to have to achieve significant cost savings.

Die zu erfassenden Messgrößen können bspw. in einem kalibrierbaren Speicherbereich eines mikroprozessorinternen Schreib-Lesespeichers abgelegt werden, der wie der übrige Schreib-Lesespeicher benutzt werden kann. Der Schreib-Lesespeicher ist vorzugsweise als ein Random-Access-Memory (RAM) ausgebildet. Der kalibrierbare Speicherbereich des Schreib-Lesespeichers wird als CALRAM (Calibration RAM) bezeichnet. Der CALRAM-Bereich des Schreib-Lesespeichers ist in Segmente unterteilbar und im internen und externen Adressbereich über Registerplätze eines entsprechenden Adressregisters (sog. Overlay-Register) konfigurierbar. Das CALRAM umfasst bspw. acht Overlay-Bereiche, die jeweils eine Speichergröße von 512 Bytes haben. Die Größe jedes einzelnen Overlay-Bereichs kann in 2x Schritten bis maximal 512 Bytes definiert werden. Die Teile des CALRAM, die nicht als Overlay-Bereich verwendet werden, können als herkömmliches RAM benutzt werden. Falls also das interne RAM ohne Overlay-Bereiche nicht ausreicht, um eine bestimmte Programm- und/oder Datenmenge abzulegen, müssen die Overlay-Bereiche sinnvoll eingeschränkt und die nicht als Overlay-Bereiche genutzten Teile des CALRAM durch einen Linker mit Programmcode und/oder Daten aufgefüllt werden.The measured variables to be recorded can, for example, be stored in a calibratable memory area of an internal microprocessor read / write memory which can be used like the rest of the read / write memory. The read-write memory is preferably designed as a random access memory (RAM). The calibratable memory area of the random access memory is called CALRAM (Calibration RAM). The CALRAM area of the read / write memory can be divided into segments and can be configured in the internal and external address area via register locations of a corresponding address register (so-called overlay register). The CALRAM comprises, for example, eight overlay areas, each of which has a memory size of 512 bytes. The size of each individual overlay area can be defined in 2 x steps up to a maximum of 512 bytes. The parts of the CALRAM that are not used as an overlay area can be used as conventional RAM. If the internal RAM without overlay areas is not sufficient to store a certain amount of program and / or data, the overlay areas must be sensibly restricted and the parts of the CALRAM not used as overlay areas by a linker with program code and / or data be replenished.

Die über das Overlay-Register definierten Overlay-Bereiche können über einen Programm- und/oder Daten-Festwertspeicher oder an eine beliebige Speicheradresse in dem Adressbereich des Mikroprozessors gelegt werden. Insbesondere können die Overlay-Bereiche über einen Adressbereich gelegt werden, in den die zu erfassenden temporären Messgrößen abgelegt werden. Durch die Wahl der Adressbereiche, über welche die Overlay-Bereiche gelegt werden, können die Messgrößen ausgewählt werden, die erfasst werden sollen. Statt – wie beim Stand der Technik – sämtliche zu erfassenden temporären Messgrößen in einem zusätzlich vorgesehenen Programm- und/oder Daten-Schreib-Lesespeicher abzulegen, werden bei der vorliegenden Erfindung einige wenige ausgewählte Messgrößen in einen internen Programm- und/oder Daten-Schreib-Lesespeicher des Mikroprozessors abgelegt. Die temporären Messgrößen können nicht nur während der Applikations- und/oder Erprobungsphase, sondern auch während eines Serienbetriebs des Steuergerätes in dem Schreib-Lesespeicher abgelegt werden. Dadurch ist es mit der vorliegenden Erfindung möglich, nahezu ohne zusätzlichen Hardwareaufwand beliebige temporäre Messgrößen auch während einer Serienanwendung des Steuergerätes zu erfassen.The overlay areas defined via the overlay tab can about one Program and / or data read-only memory or to any one Memory address placed in the address area of the microprocessor become. In particular, the Overlay areas over an address range can be placed in which the temporary measured variables to be recorded are stored become. By choosing the address areas over which the overlay areas are placed can be the measurands are selected, to be captured. Instead of all - as in the prior art temporary to be recorded Measured variables in one additionally store the program and / or data read / write memory provided, In the present invention, a few selected measured variables are combined into one internal program and / or read / write data memory of the microprocessor stored. The temporary Measured variables cannot only during the application and / or testing phase, but also during a Series operation of the control unit be stored in the read-write memory. That’s it with of the present invention possible almost without additional Hardware expenditure any temporary Measured variables too while to capture a series application of the control unit.

Gemäß einer bevorzugten Ausführungsform der vorliegenden Erfindung wird vorgeschlagen, dass das Steuergerät über eine Schnittstelle mit einem externen Applikationsgerät verbunden wird, über das die zu erfassenden Messgrößen aus dem Programm- und/oder Daten-Schreib-Lesespeicher ausgelesen werden können. Das Applikationsgerät ist vorzugsweise über eine serielle Diagnose-Schnittstelle oder über eine beliebig andere serielle Schnittstelle zum Datenaustausch mit weiteren anschließbaren Steuergeräten, bspw. über eine CAN (Controller Area Network)-Schnittstelle, an das Steuergerät angeschlossen. Während der Applikations- und/oder Erprobungsphase kann das Applikationsgerät die in dem Schreib-Lesespeicher abgelegten temporären Messgrößen während des Betriebs des Steuergerätes aus dem Schreib-Lesespeicher auslesen. Im Rahmen eines Serienbetriebs des Steuergerätes kann ein Diagnosetester in einer Werkstatt an die serielle Schnittstelle des Steuergerätes angeschlossen werden und die Daten aus dem Schreib-Lesespeicher auslesen. Die ausgelesenen temporären Messgrößen können in dem Applikationsgerät oder in dem Diagnosetester ausgewertet und weiterverarbeitet werden. Ziel der Weiterverarbeitung der erfassten Messgrößen kann bspw. die Suche nach Fehlern in dem Steuer- und/oder Regelprogramm, die Verbesserung von Steuergerätefunktionalitäten oder Ähnliches sein.According to a preferred embodiment of the The present invention proposes that the control device have a Interface is connected to an external application device via which the measured variables to be recorded the program and / or data read / write memory can be read out can. The application device is preferably over a serial diagnostic interface or via any other serial Interface for data exchange with other connectable control units, e.g. via a CAN (Controller Area Network) interface, connected to the control unit. While the application and / or testing phase, the application device can in the Read / write stored temporary measured variables during the operation of the control unit read from the read / write memory. As part of series production of the control unit can a diagnostic tester in a workshop on the serial interface of the control unit be connected and the data from the read-write memory read. The temporary measured variables read out can be in the application device or in evaluated and further processed by the diagnostic tester. aim Further processing of the measured variables can be carried out, for example, by searching for Errors in the control and / or regulation program, the improvement of control unit functionalities or the like his.

Vorteilhafterweise werden die Änderungen in den Register- und/oder Speicherplätzen des Steuergeräts über das Applikationsgerät in das Steuergerät eingegeben. Das Applikationsgerät kann also durch Ablegen bestimmter Einträge in die Register- und/oder Speicherplätze des Steuergeräts gezielt vorgeben, welche Messgrößen in dem Schreib-Lesespeicher abgelegt und in welchen Speicherbereichen die Messgrößen abgelegt werden sollen. Alternativ ist es aber auch denkbar, dass durch das Steuer- und/oder Regelprogramm vorgegeben wird, welche temporären Messgrößen erfasst und in dem Programm- und/oder Daten-Schreib-Lesespeicher abgelegt werden sollen.Advantageously, the changes in the register and / or locations of the control unit via the applicator entered into the control unit. The application device can thus by storing certain entries in the register and / or memories of the control unit Specify specifically which measurands in which Read-write memory stored and in which memory areas the Measured variables filed should be. Alternatively, it is also conceivable that the Control and / or Control program is specified, which temporary measured variables are recorded and in the program and / or data read-write memory should be filed.

Als eine weitere Lösung der Aufgabe der vorliegenden Erfindung wird ausgehend von dem Steuergerät der eingangs genannten Art vorgeschlagen, dass das Steuergerät eine Decodierschaltung umfasst, welche bei einem schreibenden Zugriff des Rechengeräts auf einen bestimmten Adressenbereich zum Ablegen der Messgrößen eine Umschaltung derart vornimmt, dass das Rechengerät die Messgrößen in dem Programm- und/oder Daten-Schreib-Lesespeicher ablegt.As another solution to the Object of the present invention is based on the control unit of the beginning mentioned type proposed that the control device comprises a decoding circuit, which when the computing device has write access to a specific address range for storing the measured variables Switches over in such a way that the computing device measures the measured variables in the Store program and / or data read-write memory.

Gemäß einer vorteilhaften Weiterbildung der vorliegenden Erfindung wird vorgeschlagen, dass die Decodierschaltung ein Adressregister umfasst, in welchem der bestimmte Adressenbereich, bei dem die Umschaltung vorgenommen werden soll, ablegbar ist.According to an advantageous development The present invention proposes that the decoding circuit comprises an address register in which the specific address range, at which the switchover is to be carried out, can be filed.

Vorteilhaftweise ist das Adressregister als ein Overlay-Register für einen kalibrierbaren Programm- und/oder Daten-Schreib-Lesespeicher ausgebildet. Der kalibrierbare Schreib-Lesespeicher ist bspw. als ein CALRAM (Calibration Random-Access-Memory) ausgebildet.The address register is advantageous as an overlay register for one calibratable program and / or data read-write memory formed. The Read / write memory that can be calibrated is, for example, as a CALRAM (Calibration Random Access Memory).

Es wird des Weiteren vorgeschlagen, dass die Decodierschaltung zusammen mit dem Rechengerät und dem Programm- und/oder Daten-Schreib-Lesespeicher auf einem Halbleiterbaustein integriert ist.It is also suggested that the decoding circuit together with the computing device and the Program and / or data read-write memory on a semiconductor module is integrated.

Gemäß einer bevorzugten Ausführungsform der vorliegenden Erfindung wird des Weiteren vorgeschlagen, dass das Steuergerät eine Schnittstelle aufweist, über die ein externes Applikationsgerät zum Auslesen der gespeicherten Messgrößen aus dem Programm- und/oder Daten-Schreib-Lesespeicher anschließbar ist. Die Schnittstelle ist vorteilhafterweise als eine serielle Diagnose-Schnittstelle oder als eine serielle Schnittstelle zum Datenaustausch mit weiteren anschließbaren Steuergeräten, insbesondere als eine CAN (Controller Area Network)-Schnittstelle, ausgebildet.According to a preferred embodiment of the present invention it is further proposed that the control unit has an interface via which is an external application device for Reading out the stored measured variables from the program and / or Data read-write memory connectable is. The interface is advantageously as a serial Diagnostic interface or as a serial interface to Data exchange with other connectable control units, in particular as a CAN (Controller Area Network) interface.

Vorzugsweise ist das erfindungsgemäße Steuergerät für ein Zünd- und/oder Einspritzgerät einer Brennkraftmaschine vorgesehen.The control device according to the invention is preferably for an ignition and / or Injection device an internal combustion engine provided.

Zeichnungendrawings

Weitere Merkmale, Anwendungsmöglichkeiten und Vorteile der Erfindung ergeben sich aus der nachfolgenden Beschreibung von Ausführungsbeispielen der Erfindung, die in den Zeichnungen dargestellt sind. Dabei bilden alle beschriebenen oder dargestellten Merkmale für sich oder in beliebiger Kombination den Gegenstand der Erfindung, unabhängig von ihrer Zusammenfassung in den Patentansprüchen oder deren Rückbeziehung sowie unabhängig von ihrer Formulierung bzw. Darstellung in der Beschreibung bzw. in den Zeichnungen. Es zeigen:Other features, possible applications and advantages of the invention will become apparent from the following description of embodiments of the invention, which are illustrated in the drawings. Make it up all described or illustrated features on their own or in any combination the subject of the invention, regardless of its summary in the claims or their relationship back as well as regardless of their formulation or presentation in the description or in the drawings. Show it:

1 ein erfindungsgemäßes Steuergerät gemäß einer ersten bevorzugten Ausführungsform mit einem daran angeschlossenen externen Applikationsgerät; 1 an inventive control device according to a first preferred embodiment with an external application device connected to it;

2 ein erfindungsgemäßes Steuergerät gemäß einer zweiten bevorzugten Ausführungsform mit einem daran angeschlossenen externen Applikationsgerät; 2 an inventive control device according to a second preferred embodiment with an external application device connected to it;

3 einen ausgewählten Speicherbereich eines Programm- und/oder Daten-Schreib-Lesespeichers eines erfindungsgemäßen Steuergerätes; 3 a selected memory area of a program and / or data read / write memory of a control device according to the invention;

4 einen ausgewählten Speicherbereich eines Programm- und/oder Daten-Festwertspeichers eines erfindungsgemäßen Steuergerätes; und 4 a selected memory area of a program and / or data read-only memory of a control device according to the invention; and

5 ein Ablaufdiagramm eines erfindungsgemäßen Verfahrens. 5 a flowchart of a method according to the invention.

In 1 ist ein erfindungsgemäßes Steuergerät zur Steuerung und/oder Regelung von Zündung und Einspritzung einer Brennkraftmaschine in einem Kraftfahrzeug in seiner Gesamtheit mit dem Bezugszeichen 10 bezeichnet. Der Aufbau eines solchen Steuergerätes 10 ist aus dem Stand der Technik hinlänglich bekannt, weshalb hierauf im Folgenden nur insoweit eingegangen wird, als es für das Verständnis der hier beschriebenen Erfindung erforderlich ist. Das Steuergerät 10 enthält ein Rechengerät 11, das bspw. als ein Mikroprozessor ausgebildet ist. Das Rechengerät 11 ist über eine entsprechende Busverbindung 12 mit einem Programm- und/oder Daten-Schreib-Lesespeicher 13, der bspw. als ein Random-Access-Memory (RAM) ausgebildet ist, und mit einem Programm-Daten-Festwertspeicher 14 verbunden, der bspw. als ein Flash-EPROM (Erasable and Programable Read-Only-Memory) ausgebildet ist. In dem Rechengerät 11 ist ein Adressregister 15 vorgesehen, dessen Funktion später erläutert wird.In 1 is an inventive control device for controlling and / or regulating the ignition and injection of an internal combustion engine in a motor vehicle in its entirety with the reference symbol 10 designated. The structure of such a control device 10 is sufficiently known from the prior art, which is why this will only be discussed in the following to the extent that it is necessary for an understanding of the invention described here. The control unit 10 contains a computing device 11 , which is designed, for example, as a microprocessor. The computing device 11 is via a corresponding bus connection 12 with a program and / or data read / write memory 13 , which is designed, for example, as a random access memory (RAM), and with a program data read-only memory 14 connected, which is designed, for example, as a flash EPROM (erasable and programmable read-only memory). In the computing device 11 is an address register 15 provided, the function of which will be explained later.

In dem Programm-Daten-Festwertspeicher 14 ist das eigentliche Steuerprogramm des Steuergerätes 10 zur Steuerung und/oder Regelung der Zündung und Einspritzung der Brennkraftmaschine abgespeichert. Der Programm-Daten-Schreib-Lesespeicher 13 dient in dem Steuergerät 10 hauptsächlicr zur Speicherung variabler Größen, die bspw. temporäre Messgrößen sind, und die während des Ablaufs des Steuerprogramms auf dem Steuergerät 10 errechnet werden.In the program data read-only memory 14 is the actual control program of the control unit 10 stored to control and / or regulate the ignition and injection of the internal combustion engine. The program data read-write memory 13 serves in the control unit 10 Mainly for storing variable variables, which are, for example, temporary measured variables, and which are stored on the control unit while the control program is running 10 can be calculated.

Mit dem Steuergerät 10 ist ein externes Applikationsgerät 16 verbunden. Die Verbindung ist dabei über ein serielles Datenübertragungskabel 17 hergestellt. Das serielle Datenübertragungskabel 17 ist intern in dem Steuergerät 10 an die serielle Schnittstelle (SS0) 18 des Rechengeräts 11 herangeführt. Als externes Applikationsgerät 16 kommt jeder beliebige entsprechend programmierte Personalcomputer mit einer Tastatur 19 und einem Bildschirm 20 in Frage. Bei der Applikation von Steuergeräten ist es sinnvoll, wenn das externe Applikationsgerät 16 als tragbares Gerät ausgeführt ist, weil es dann nämlich leicht während des Betriebs des Kraftfahrzeuges in dem Fahrzeug untergebracht werden kann. Es kommt also hierfür insbesondere der Einsatz eines Laptop-Personalcomputers in Frage.With the control unit 10 is an external application device 16 connected. The connection is via a serial data transmission cable 17 manufactured. The serial data transmission cable 17 is internal to the control unit 10 to the serial interface (SS0) 18 of the computing device 11 introduced. As an external application device 16 any suitably programmed personal computer comes with a keyboard 19 and a screen 20 in question. When applying control devices, it makes sense if the external application device 16 is designed as a portable device, because it can then be easily accommodated in the vehicle during operation of the motor vehicle. The use of a laptop personal computer is particularly suitable for this.

Außer dem Steuergerät 10 sind für die Steuerung von Zündung und Einspritzung der Brennkraftmaschine noch Sensoren zur Erfassung von Motorzustandsgrößen, wie bspw. Drehzahl, Luftdurchlass, Temperatur usw., Stellglieder zur Erzeugung von Zünd- und Einspritzimpulsen, und Mittel zur Hochspannungsverteilung und ein Kraftstoffkreislauf erforderlich. In dem Steuergerät 10 werden aus den aufbereiteten Sensorsignalen mit Hilfe des Rechengerätes 11 Ausgangssignale zur Ansteuerung von Zündungs- und Einspritzendstufen berechnet. Die Berechnung erfolgt nach einer durch das Steuerprogramm vorgegebenen Vorschrift unter Berücksichtigung der motorspezifischen Daten, wie bspw. Kennfelder für Einspritzmenge und Zündwinkel. Ein derartiges Steuergerät 10 bietet den Vorteil, dass mit ihm eine motorspezifische Anpassung ohne Änderung der Schaltung des Steuergerätes 10 durchführbar ist. Zur Anpassung an die jeweilige Brennkraftmaschine ist lediglich die in dem Programm-Daten-Festwertspeicher 14 untergebrachte Software zu modifizieren. Dabei kann es sehr häufig schon ausreichend sein, bei gleichem Steuerprogramm, d.h. bei unveränderter Berechnungsvorschrift, die Daten entsprechend den neuen Anforderungen zu ändern. Anforderungen sind dabei zum Beispiel die Optimierung der Abgaswerte, die Minimierung des Kraftstoffverbrauchs, die Verbesserung von Komforteigenschaften (z.B. Laufruhe) usw.Except for the control unit 10 For the control of ignition and injection of the internal combustion engine, sensors for detecting engine state variables, such as, for example, speed, air passage, temperature, etc., actuators for generating ignition and injection pulses, and means for high-voltage distribution and a fuel circuit are required. In the control unit 10 are generated from the processed sensor signals with the help of the computing device 11 Output signals for controlling ignition and injection output stages are calculated. The calculation is carried out according to a rule specified by the control program, taking into account the engine-specific data, such as, for example, characteristic diagrams for the injection quantity and ignition angle. Such a control device 10 offers the advantage that it enables engine-specific adaptation without changing the control unit circuit 10 is feasible. To adapt to the respective internal combustion engine is only that in the program data read-only memory 14 modify housed software. It can very often be sufficient to change the data according to the new requirements with the same control program, ie with unchanged calculation instructions. Requirements include optimizing exhaust gas values, minimizing fuel consumption, improving comfort properties (e.g. smooth running), etc.

In 2 ist ein erfindungsgemäßes Steuergerät 10 gemäß einer zweiten bevorzugten Ausführungsform dargestellt. Dabei wurden gleiche Bauteile mit denselben Bezugszeichen wie in 1 bezeichnet. Im Unterschied zu dem Steuergerät 10 aus 1 umfasst das in 2 dargestellte Steuergerät 10 ein Rechengerät 20, das auf einem einzigen Halbleiterbauelement (Chip) realisiert ist. Bei dem Rechengerät 20 sind sowohl ein Rechnerkern (CPU, Central Processing Unit), der Programm-Daten-Schreib-Lesespeicher (RAM) 13 und der Programm-Daten-Festwertspeicher (Flash-EPROM) 14 als auch die serielle Schnittstelle (SS0) 18 auf einem Halbleiterbauelement intergriert.In 2 is a control device according to the invention 10 shown according to a second preferred embodiment. The same components with the same reference numerals as in 1 designated. In contrast to the control unit 10 out 1 does that include in 2 shown control unit 10 a computing device 20 , which is realized on a single semiconductor component (chip). With the computing device 20 are both a computer core (CPU, Central Processing Unit), the program data read-write memory (RAM) 13 and the program data read-only memory (flash EPROM) 14 as well as the serial interface (SS0) 18 on one Integrated semiconductor device.

Der Einsatz eines Flash-EPROMs 14 in dem Steuergerät 10 bietet den Vorteil, dass dieses in der Schaltung gelöscht und programmiert werden kann. Es ist hierzu kein gesondertes Programmiergerät erforderlich, wie es bspw. bei den EPROMs (Erasable and Programable Read-Only-Memory) meistens der Fall ist.The use of a flash EPROM 14 in the control unit 10 offers the advantage that it can be deleted and programmed in the circuit. No separate programming device is required, as is usually the case with EPROMs (Erasable and Programmable Read-Only-Memory).

In 3 ist ein ausgewählter Speicherbereich des Programm- und/oder Daten-Schreib-Lesespeichers (RAM) 13 des Steuergeräts 10 im Ausschnitt dargestellt. Ein erster Bereich 22 ist als ein herkömmlicher RAM-Speicherbereich ausgebildet. In dem Bereich 22 können Programmcode oder andere Daten abgelegt werden. Außerdem können in dem Speicherbereich 22 des Programm- und/oder Daten-Schreib-Lesespeichers 13 auch temporäre Messgrößen ablegbar. Ein Speicherbereich 23 des RAMs 13 ist dagegen als ein sog. CALRAM (Calibration Random-Access-Memory)-Speicherbereich ausgebildet. Der CALRAM-Bereich 23 ist ein Teil des mikrocontroller-internen RAMs 13, welches grundsätzlich wie der übrige herkömmliche RAM-Speicherbereich 22 benutzt werden kann. Zusätzlich ist der CALRAM-Speicherbereich 23 in Segmente 24 unterteilbar und in einem internen und externen Adressbereich als sog. Overlay-Bereiche O1...O8 konfigurierbar.In 3 is a selected memory area of the program and / or data read / write memory (RAM) 13 of the control unit 10 shown in the detail. A first area 22 is designed as a conventional RAM memory area. In that area 22 program code or other data can be stored. Also, in the storage area 22 the program and / or data read / write memory 13 Temporary measured values can also be saved. A storage area 23 of RAM 13 is in contrast designed as a so-called CALRAM (Calibration Random Access Memory) memory area. The CALRAM area 23 is part of the microcontroller's internal RAM 13 which is basically like the rest of the conventional RAM memory area 22 can be used. In addition, the CALRAM memory area 23 in segments 24 divisible and configurable in an internal and external address area as so-called overlay areas O1 ... O8.

Wie aus 3 ersichtlich, sind zum Beispiel acht Segmente 24 mit einer jeweiligen Speichergröße von 512 Bytes definiert. Die Größe der einzelnen Overlay-Bereiche O1...O8 (schraffierte Bereiche der Segmente 24) kann jeweils in 2x Schritten bis maximal 512 Bytes definiert werden. Die nicht als Overlay-Bereich genutzten Teile der Segmente 24 des CALRAM-Speicherbereichs 23 (weißen Bereiche der Segmente 24) können als herkömmliches RAM genutzt werden. Falls also das interne RAM ohne die Overlay-Bereiche (herkömmlicher RAM-Bereich 22) zum Abspeichern der Programme und/oder Daten nicht ausreichen sollte, kann die Größe der Overlay-Bereiche O1...O8 sinnvoll eingeschränkt und die nicht als Overlay-Bereiche genutzten Teile des Speicherbereichs 23 durch einen Linker mit Programmcode oder Daten aufgefüllt werden. Die definierten Overlay-Bereiche O1...O8 können über beliebige Adressbereiche des Programm- und/oder Daten-Festwertspeichers (Flash-EPROM) 14, des Programm- und/oder Daten-Schreib-Lesespeichers 13 oder über beliebig andere Adressbereiche des Mikrocontrollers gelegt werden.How out 3 can be seen, for example, eight segments 24 defined with a respective memory size of 512 bytes. The size of each overlay area O1 ... O8 (hatched areas of the segments 24 ) can be defined in 2 x steps up to a maximum of 512 bytes. The parts of the segments that are not used as an overlay area 24 of the CALRAM memory area 23 (white areas of the segments 24 ) can be used as conventional RAM. So if the internal RAM without the overlay areas (conventional RAM area 22 ) should not be sufficient to save the programs and / or data, the size of the overlay areas O1 ... O8 can be meaningfully restricted and the parts of the memory area not used as overlay areas 23 can be filled with program code or data by a linker. The defined overlay areas O1 ... O8 can be accessed via any address areas of the program and / or data read-only memory (Flash EPROM) 14 , the program and / or data read / write memory 13 or over any other address area of the microcontroller.

Insbesondere können die Overlay-Bereiche O1...O8 auch auf nicht benutzte Speicherbereiche 25 gelegt werden. Nicht benutzte Speicherbereiche sind solche Speicherbereiche, an denen bspw. während der Applikations- und/oder Erprobungsphase Schreib-Lesespeicher (RAM) vorgesehen sind und in die temporäre Messgrößen geschrieben werden. Diese zeitweise vorhandenen RAMs sind bspw. im Rahmen einer Speicheremulation mit einem ETK (Emulator-Tast-Kopf) vorgesehen. Während des Serienbetriebs des Steuergeräts 10 werden diese zusätzlichen RAMs jedoch entfernt und die Messgrößen werden gewissermaßen "ins Leere" geschrieben. Gemäß der vorliegenden Erfindung werden spezifische Änderungen in Registerplätzen des Adressregisters 15 des Steuergeräts 10 vorgenommen. Dadurch wird bewirkt, dass die Messgrößen, falls nun das Rechengerät 10 auf diese Speicherbereiche des (nicht mehr vorhandenen) zusätzlichen RAMs schreiben will, nicht "ins Leere", sondern in den entsprechenden Overlay-Bereich O1...O8 geschrieben werden.In particular, the overlay areas O1 ... O8 can also be used on unused memory areas 25 be placed. Memory areas that are not used are those memory areas on which, for example, read / write memories (RAM) are provided during the application and / or testing phase and in which temporary measured variables are written. These temporarily available RAMs are provided, for example, as part of a memory emulation with an ETK (emulator probe head). During series operation of the control unit 10 however, these additional RAMs are removed and the measurement variables are, so to speak, written "in empty space". According to the present invention, specific changes are made in register locations of the address register 15 of the control unit 10 performed. This causes the measured variables, if now the computing device 10 wants to write to these memory areas of the (no longer available) additional RAM, not "in empty space", but in the corresponding overlay area O1 ... O8.

Durch die erfindungsgemäße Funktionalität ist es möglich, beliebige temporäre Messgrößen in einem Overlay-Bereich O1...O8 des CALRAM-Bereichs 23 des Schreib-Lesespeichers 13 abzulegen und danach auszulesen und auszuwerten. In den Overlay-Bereichen O1...O8 können sowohl Messgrößen abgelegt werden, die eigentlich in dem herkömmlichen RAM-Bereich 22 des Schreib-Lesespeichers 13 abgelegt würden. In diesem Fall werden bspw. die Overlay-Bereiche O4 und O7 über diejenigen Speicherbereiche des RAM-Bereichs 22 gelegt, in denen die Messgrößen eigentlich abgelegt würden. In den Overlay-Bereichen O1...O8 können aber auch Messgrößen abgelegt werden, die eigentlich in den nicht benutzten RAM-Speicherbereich 25, also „ins Leere", geschrieben würden. In diesem Fall wird bspw. der Overlay-Bereich O1 über denjenigen Speicherbereich des nicht genutzten RAM-Bereichs 25 gelegt, in dem die Messgröße eigentlich abgelegt würde.The functionality according to the invention makes it possible to use any temporary measured variables in an overlay area O1 ... O8 of the CALRAM area 23 the read-write memory 13 file and then read and evaluate. In the overlay areas O1 ... O8, both measurands can be stored, which are actually in the conventional RAM area 22 the read-write memory 13 would be filed. In this case, for example, the overlay areas O4 and O7 over those memory areas of the RAM area 22 in which the measured values would actually be stored. In the overlay areas O1 ... O8, however, measurement variables can also be stored that are actually in the unused RAM memory area 25 , that is to say "into space". In this case, for example, the overlay area O1 is over that memory area of the unused RAM area 25 in which the measured variable would actually be stored.

Das Adressregister 15 ist vorzugsweise als ein Overlay-Register ausgebildet. Durch spezifische Änderungen in den Registerplätzen des Overlay-Registers 15 nimmt das Steuergerät 10 entsprechend den Einträgen in den Registerplätzen des Overlay-Registers 15 eine automatische Umschaltung vor, so dass das Rechengerät 11, 20 die zu erfassenden Messgrößen in dem Programm- und/oder Daten-Schreib-Lesespeicher 13, genauer gesagt in einem Overlay-Bereich O1...O8 des CALRAM-Bereichs 23 des Schreib-Lesespeichers 13, ablegt. In den Registerplätzen des Overlay-Registers 15 können die Adressspeicherbereiche eingetragen werden, auf die der entsprechende Overlay-Bereich O1...O8 gelegt werden soll. Von dort aus können die Daten dann mit Hilfe des Applikationsgerätes 16 problemlos ausgelesen werden. Dies gilt selbst für solche Messgrößen, die eigentlich "ins Leere", genauer gesagt in den Speicherbereich 25, geschrieben würden und somit für eine Auswertung eigentlich nicht mehr zur Verfügung stehen.The address register 15 is preferably designed as an overlay register. Through specific changes in the register positions of the overlay register 15 takes the control unit 10 according to the entries in the register slots of the overlay register 15 an automatic switchover so that the computing device 11 . 20 the measured variables to be recorded in the program and / or data read / write memory 13 , more precisely in an overlay area O1 ... O8 of the CALRAM area 23 the read-write memory 13 , filed. In the register slots of the overlay register 15 the address memory areas can be entered on which the corresponding overlay area O1 ... O8 should be placed. From there, the data can then be processed using the application device 16 can be read easily. This is true even for such measured quantities that are actually "in void", more precisely in the memory area 25 , would be written and are therefore actually no longer available for evaluation.

Die Einträge in den Registerplätzen des Overlay-Registers 15 werden vorzugsweise von außerhalb des Steuergerätes 10 durch das Applikationsgerät 16 vorgenommen. Bei der vorliegenden Erfindung können also von außen gezielt diejenigen Messgrößen ausgewählt werden, die in den Overlay-Bereichen O1...O8 gespeichert werden sollen. Diese Funktionalität kann somit zu einer Reduzierung des Speicherplatzbedarfs, insbesondere des Bedarfs an Schreib-Lesespeicher mit wahlfreiem Zugriff (RAM), für temporäre Messgrößen genutzt werden.The entries in the register slots of the overlay register 15 are preferably from outside the control unit 10 through the application device 16 performed. In the case of the present invention, those measured variables that are included in the over lay areas O1 ... O8 should be saved. This functionality can thus be used to reduce the storage space requirement, in particular the requirement for random access memory (RAM), for temporary measured variables.

In 4 ist ein ausgewählter Bereich des Programm- und/oder Daten-Festwertspeichers (Flash-EPROM) 14 dargestellt. In dem dargestellten Speicherbereich werden bspw. Applikationsdaten für das auf dem Rechengerät 11, 20 abgearbeiteten Steuer- und/oder Regelprogramm abgelegt. Einige Overlay-Bereiche O2, O3, O5, O6 und O8 des CALRAM-Bereiches 23 sind über ausgewählte Teile des Festwertspeichers 14 gelegt. Das Rechengerät 11, 20 greift während der Abarbeitung des Steuerprogramms statt auf die Speicherbereiche des Festwertspeichers 14 auf die entsprechenden Overlay-Bereiche O2, O3, O5, O6 und O8 des CALRAM-Bereichs 23 zu und lädt die dort abgelegten Daten. Die in dem CALRAM-Bereich 23 abgelegten Daten können wesentlich einfacher geändert, gelöscht und überschrieben werden als dies bei in dem Flash-EPROM 14 abgelegten Daten möglich wäre. Ein solches Verfahren zur Optimierung von Daten und/oder Programmteilen für programmierte Steuergeräte während einer Applikations- und/oder Erprobungsphase ist in der DE 195 00 453 A1 ausführlich beschrieben. Auf diese Druckschrift wird ausdrücklich Bezug genommen.In 4 is a selected area of the program and / or data read-only memory (Flash EPROM) 14 shown. In the memory area shown, for example, application data for the on the computing device 11 . 20 completed control and / or regulation program filed. Some overlay areas O2, O3, O5, O6 and O8 of the CALRAM area 23 are about selected parts of the read-only memory 14 placed. The computing device 11 . 20 accesses the memory areas of the read-only memory during execution of the control program 14 to the corresponding overlay areas O2, O3, O5, O6 and O8 of the CALRAM area 23 and loads the data stored there. Those in the CALRAM area 23 stored data can be changed, deleted and overwritten much more easily than with the flash EPROM 14 stored data would be possible. Such a method for optimizing data and / or program parts for programmed control devices during an application and / or testing phase is in the DE 195 00 453 A1 described in detail. Reference is expressly made to this document.

An Hand der 5 wird nachfolgend der Ablauf des erfindungsgemäßen Verfahrens näher erläutert. Nach dem Start des Verfahrens durch Einschalten der Versorgungsspannung in einem Programmschritt 30 findet in einem Programmschritt 31 eine Initialisierung des Steuergerätes 10 statt. Die Initialisierung betrifft die Voreinstellung bestimmter Register des Rechengerätes 11, 20 sowie eine Überprüfung verschiedener Komponenten des Steuergerätes 10, unter anderem auch des Speicherinhaltes des Programm-Daten-Festwertspeichers 14.Based on 5 the sequence of the method according to the invention is explained in more detail below. After starting the process by switching on the supply voltage in one program step 30 takes place in one program step 31 an initialization of the control unit 10 instead of. The initialization concerns the presetting of certain registers of the computing device 11 . 20 and a check of various components of the control unit 10 , including the memory content of the program data read-only memory 14 ,

Nach der Initialisierung findet dann in einem Programmschritt 32 eine Kommunikation mit dem Applikationsgerät 16 statt. Dieser Programmteil wird jedoch nicht zyklisch unter harten Echtzeitbedingungen durchlaufen. Vielmehr ist dieser Programmteil als Interrupt-Programmteil anzusehen. Er wird also nur dann abgearbeitet, wenn eine entsprechende Anforderung von dem Applikationsgerät 16 an das Steuergerät 10 ausgesandt wurde. Dabei wird zunächst von einem Applikateur über die Tastatur 19 des Applikationsgerätes 16 ein Befehl in das Steuergerät 10 eingegeben, durch den Applikationsdaten, bspw. in Form von Kennfelddaten für das Zündwinkel-Kennfeld und eines Lambda-Kennfeldes, aus dem Programm-Daten-Festwertspeicher 14 in den Programm-Daten-Schreib-Lesespeicher 13 des Steuergerätes 10 kopiert werden. Dies geschieht in einem Programmschritt 32.After initialization then takes place in one program step 32 communication with the application device 16 instead of. However, this part of the program is not run through cyclically under hard real-time conditions. Rather, this program part is to be regarded as an interrupt program part. It is only processed when there is a corresponding request from the application device 16 to the control unit 10 was sent out. First, an applicator uses the keyboard 19 of the application device 16 a command in the control unit 10 entered by the application data, for example in the form of map data for the ignition angle map and a lambda map, from the program data read-only memory 14 in the program data read-write memory 13 of the control unit 10 be copied. This happens in one program step 32 ,

Anschließend wird das eigentliche Steuer- und/oder Regelprogramm des Steuergerätes 10 weiter abgearbeitet. Das Programm kann grob in die folgenden Programmteile unterteilt werden. Zuerst findet in einem Programmschritt 33 die Parametererfassung statt. Darin werden Parameter der Brennkraftmaschine, wie bspw. Drehzahl, Motorlast, Temperatur usw., durch Auswertung von Sensorsignalen ermittelt. In einem Programmschritt 34 folgt dann die Berechnung von Stellwerten und Stellgrößen. Bei der Berechnung der Stellwerte und Stellgrößen wird auch auf die Kennfelddaten des Zündwinkel-Kennfeldes und des Lambda-Kennfeldes zugegriffen. In einem Programmschritt 35 erfolgt dann die Erzeugung eines Steuersignals für die angeschlossenen Aktuatoren des Steuergerätes 10 anhand der Stellwerte und Stellgrößen.Then the actual control and / or regulation program of the control device 10 processed further. The program can be roughly divided into the following program parts. First takes place in one program step 33 the parameter acquisition instead. Parameters of the internal combustion engine, such as, for example, speed, engine load, temperature etc., are determined therein by evaluating sensor signals. In one program step 34 then the calculation of manipulated values and manipulated variables follows. When calculating the manipulated values and manipulated variables, the map data of the ignition angle map and the lambda map are also accessed. In one program step 35 a control signal is then generated for the connected actuators of the control device 10 based on the manipulated values and manipulated variables.

Als letzter Programmteil ist wiederum eine Kommunikation mit dem Applikationsgerät 16 in einem Programmschritt 36 vorgesehen. Innerhalb dieses Programmteils werden Änderungen der Kennfelder vorgenommen, um den Steuervorgang zu optimieren. Diese Änderungen werden von dem Rechengerät 11, 20 in den Programm-Daten-Schreib-Lesespeicher 13 eingetragen. Nach der optionalen Abarbeitung dieses Programmschrittes 36 verzweigt das Programm wieder zu dem Programmschritt 33, mit dem ein neuer Steuerzyklus beginnt. Die eingetragenen Änderungen in den Programm-Daten-Schreib-Lesespeicher 13 können in den nachfolgenden Zyklen beibehalten oder aber dort geändert werden, je nachdem ob die Änderung als sinnvoll angesehen wird oder nicht.The last part of the program is communication with the application device 16 in one program step 36 intended. Within this part of the program, changes are made to the maps in order to optimize the control process. These changes are made by the computing device 11 . 20 in the program data read-write memory 13 entered. After the optional execution of this program step 36 the program branches back to the program step 33 with which a new control cycle begins. The changes entered in the program data read / write memory 13 can be retained in the subsequent cycles or changed there, depending on whether the change is considered useful or not.

Das Ende der Optimierung der Kennfelddaten wird in einem Abfrageblock 37 überprüft. Nach der Optimierung der Kennfelddaten wird das Steuer- und/oder Regelprogramm in einem Funktionsblock 38 beendet. Die in den Programm-Daten-Schreib-Lesespeicher 13 eingetragenen Änderungen können in das Applikationsgerät 16 ausgelesen werden. Wenn die Daten für optimal befunden wurden, kann dann nachfolgend der Programm-Daten-Festwertspeicher (Flash-EPROM) 14 mit den optimierten Daten neu programmiert werden. Somit sind dann die Änderungen fest in dem Steuergerät 10 eingespeichert.The end of the optimization of the map data is in a query block 37 checked. After optimizing the map data, the control and / or regulation program is in a function block 38 completed. The in the program data read-write memory 13 Changes entered can be made in the application device 16 be read out. If the data were found to be optimal, the program data read-only memory (Flash EPROM) can then 14 can be reprogrammed with the optimized data. The changes are then fixed in the control unit 10 stored.

An beliebigen Stellen in dem Programmablauf können Programmbefehle eingefügt sein oder eingefügt werden, durch die das Rechengerät 11, 20 veranlasst wird, bestimmte temporäre Messgrößen, die während der Abarbeitung des Steuer- und/oder Regelprogramms anfallen, in beliebige Adressspeicherbereiche des Mikrocontrollers abzulegen. Falls die angesprochenen Speicherbereiche – bspw. während der Serienanwendung des Steuergerätes 10 – nicht mehr vorhanden sind, werden die Messgrößen "ins Leere" geschrieben. Mit der vorliegenden Erfindung ist es nun möglich, die Overlay-Bereiche O1...O8 über beliebige Speicherbereiche des Mikrocontrollers zu legen. Das hat zur Folge, dass die ausgewählten Messgrößen statt in den in dem Programmbefehl angegebenen Speicherbereich, in die entsprechenden Overlay-Bereiche O1...O8 abgespeichert werden und von dort mit Hilfe des Applikationsgerätes 16 ausgelesen werden können. In dem in 3 dargestellten Ausführungsbeispiel werden bspw. die Overlay-Bereiche 01, O4 und O7 zum Ablegen temporärer Messgrößen eingesetzt.At any point in the program sequence, program instructions can be inserted or are inserted by the computing device 11 . 20 is caused to store certain temporary measured variables that arise during the execution of the control program in any address memory areas of the microcontroller. If the addressed memory areas - for example, during the series application of the control unit 10 - If the measurement variables are no longer available, they are "written into space". With the present invention, it is now possible to place the overlay areas O1 ... O8 over any memory areas of the microcontroller. The result of this is that the selected measured variables are output in the corresponding overlay areas O1 ... O8 instead of in the memory area specified in the program command are saved and from there with the help of the application device 16 can be read out. In the in 3 illustrated embodiment are, for example, the overlay areas 01 , O4 and O7 are used to store temporary measured variables.

Temporäre Messgröße im Sinne der vorliegenden Erfindung können beliebige Größen sein, die während der Abarbeitung des Steuerprogramms in dem Rechengerät 11, 20 anfallen. Insbesondere ist an Laufvariable, gemessene Werte, berechnete Werte, Zwischengrößen bei der Berechnung von Werten, etc. gedacht. Ganz allgemein ausgedrückt, können mit der vorliegenden Erfindung beliebige temporäre RAM-Werte bspw. zu Mess- oder Analysezwecken zur Verfügung gestellt werden. Hierdurch kann teurer Schreib-Lesespeicher (RAM-Speicher) eingespart werden ohne Einbußen bei den Analyse- und Diagnosemöglichkeiten hinnehmen zu müssen.Temporary measured variable in the sense of the present invention can be any variable that is in the computing device during the execution of the control program 11 . 20 attack. In particular, we think of run variables, measured values, calculated values, intermediate values when calculating values, etc. Expressed in general terms, the present invention can be used to provide any temporary RAM values, for example for measurement or analysis purposes. In this way, expensive read-write memory (RAM memory) can be saved without having to accept the analysis and diagnosis options.

Bei der Umsetzung der vorliegenden Erfindung muss ein Schichtenmodell realisiert werden, damit die Speicheremulation unabhängig von einem Kommunikationsprotokoll, über das zwischen dem Steuergerät 10 und dem Applikationsgerät 16 kommuniziert wird, realisiert werden kann. Als Kommunikationsprotokoll kommt bspw. KWP2000 (Key Word Protocol) oder CCP (CAN Calibration Protocol) zum Einsatz. Die Kommunikationsschicht als oberste Schicht des Schichtenmodells ist unabhängig von dem Speicherhandling, so dass sich das Steuergerät 10 für den Nutzer identisch zu bisherigen seriellen Applikationskonzepten verhält. Unterhalb der Kommunikationsschicht ist eine Schicht für Applikationsdienste zur Optimierung von Applikationsdaten und neben der Applikationsschicht eine Schicht für Messdienste zum Erfassen temporärer Messgrößen vorgesehen. Die Applikations- und Messschicht kann bspw. in einem Interpreter realisiert werden. In einer darunter liegenden Schicht wird das Speicherhandling der Overlay-Bereiche O1...O8 verarbeitet. Die Realisierung dieser Schicht erfolgt in dem Adressregister 15 des Rechengerätes 11, 20.When implementing the present invention, a layer model must be implemented so that the memory emulation is independent of a communication protocol via which the control unit 10 and the application device 16 communicated, can be realized. KWP2000 (Key Word Protocol) or CCP (CAN Calibration Protocol) is used as the communication protocol. The communication layer as the top layer of the layer model is independent of the memory handling, so that the control unit 10 for the user behaves identically to previous serial application concepts. Below the communication layer there is a layer for application services for optimizing application data and in addition to the application layer there is a layer for measurement services for recording temporary measured variables. The application and measurement layer can be implemented in an interpreter, for example. The memory handling of the overlay areas O1 ... O8 is processed in a layer below. This layer is implemented in the address register 15 of the computing device 11 . 20 ,

Claims (13)

Verfahren zum Erfassen von temporären Messgrößen in einem programmierten Steuergerät (10), insbesondere für ein Zünd- und/oder Einspritzgerät einer Brennkraftmaschine, umfassend ein Rechengerät (11, 20), insbesondere einen Mikroprozessor, einen Programm- und/oder Daten-Festwertspeicher (14), auf dem ein Steuer- und/oder Regelprogramm des Steuergeräts (10) abgelegt wird, und einen Programm- und/oder Daten-Schreib-Lesespeicher (13), wobei die zu erfassenden Messgrößen während der Abarbeitung des Steuer- und/oder Regelprogramms auf dem Rechengerät (11, 20) erzeugt und in vorgebbaren Speicherbereichen abgelegt werden, dadurch gekennzeichnet, dass in dem Steuer- und/oder Regelprogramm und/oder in Speicherund/oder Registerplätzen des Steuergeräts (10) spezifische Änderungen vorgenommen werden, durch die bewirkt wird, dass die zu erfassenden Messgrößen in dem Programm- und/oder Daten-Schreib-Lesespeicher (13) abgelegt werden.Method for recording temporary measured variables in a programmed control unit ( 10 ), in particular for an ignition and / or injection device of an internal combustion engine, comprising a computing device ( 11 . 20 ), in particular a microprocessor, a program and / or data read-only memory ( 14 ) on which a control and / or regulating program of the control device ( 10 ) is stored, and a program and / or data read / write memory ( 13 ), the measured variables to be recorded during the processing of the control and / or regulation program on the computing device ( 11 . 20 ) are generated and stored in predeterminable memory areas, characterized in that in the control and / or regulating program and / or in memory and / or register locations of the control device ( 10 ) specific changes are made which cause the measured variables to be recorded in the program and / or data read / write memory ( 13 ) are filed. Verfahren nach Anspruch 1, dadurch gekennzeichnet, dass in das Steuerprogramm bedingte Verzweigungen eingebracht werden, an denen während der Abarbeitung des Steuer- und/oder Regelprogramms aber nur dann verzweigt wird, wenn in mindestens einem Register- und/oder Speicherplatz des Steuergeräts (10) ein entsprechender Eintrag abgelegt wurde.A method according to claim 1, characterized in that branches are introduced into the control program, but branches are only made during the processing of the control and / or regulating program if at least one register and / or memory location of the control unit ( 10 ) a corresponding entry has been made. Verfahren nach Anspruch 1, dadurch gekennzeichnet, dass die Änderungen in den Registerplätzen in mindestens einem bestimmten Adressregister (15) des Steuergeräts (10) vorgenommen werden und dass das Steuergerät (10) entsprechend der Einträge in dem mindestens einen Adressregister (15) eine automatische Umschaltung vornimmt, so dass das Rechengerät (11, 20) die zu erfassenden Messgrößen in dem Programm- und/oder Daten-Schreib-Lesespeicher (13) ablegt.A method according to claim 1, characterized in that the changes in the register locations in at least one specific address register ( 15 ) of the control unit ( 10 ) and that the control unit ( 10 ) corresponding to the entries in the at least one address register ( 15 ) performs an automatic switchover so that the computing device ( 11 . 20 ) the measured variables to be recorded in the program and / or data read / write memory ( 13 ) stores. Verfahren nach einem der Ansprüche 1 bis 3, dadurch gekennzeichnet, dass das Steuergerät (10) über eine Schnittstelle (18) mit einem externen Applikationsgerät (16) verbunden wird, über das die zu erfassenden Messgrößen aus dem Programm- und/oder Daten-Schreib-Lesespeicher (13) ausgelesen werden können.Method according to one of claims 1 to 3, characterized in that the control device ( 10 ) via an interface ( 18 ) with an external application device ( 16 ) is connected, via which the measured variables to be recorded from the program and / or data read / write memory ( 13 ) can be read out. Verfahren nach Anspruch 4, dadurch gekennzeichnet, dass die Änderungen in den Register- und/oder Speicherplätzen des Steuergeräts (10) über das Applikationsgerät (16) in das Steuergerät (10) eingegeben werden.A method according to claim 4, characterized in that the changes in the register and / or memory locations of the control unit ( 10 ) via the application device ( 16 ) in the control unit ( 10 ) can be entered. Verfahren nach einem der Ansprüche 1 bis 5, dadurch gekennzeichnet, dass durch das Steuer- und/oder Regelprogramm und/oder durch das Applikationsgerät (16) vorgegeben wird, welche temporären Messgrößen erfasst und in dem Programm- und/oder Daten-Schreib-Lesespeicher (13) abgelegt werden sollen.Method according to one of claims 1 to 5, characterized in that by the control and / or regulating program and / or by the application device ( 16 ) which temporary measured variables are recorded and stored in the program and / or data read / write memory ( 13 ) should be filed. Steuergerät (10) umfassend ein Rechengerät (11, 20), insbesondere einen Mikroprozessor, einen Programm- und/oder Daten-Festwertspeicher (14), auf dem ein Steuer- und/oder Regelprogramm des Steuergeräts (10) abgelegt ist, und einen Programm- und/oder Daten-Schreib-Lesespeicher (13), wobei während der Abarbeitung des Steuer- und/oder Regelprogramms auf dem Rechengerät (11, 20) temporäre Messgrößen erzeugbar und in vorgebbaren Speicherbereichen ablegbar sind, dadurch gekennzeichnet, dass das Steuergerät (10) eine Decodierschaltung umfasst, welche bei einem schreibenden Zugriff des Rechengeräts (11, 20) auf einen bestimmten Speicheradressenbereich zum Ablegen der Messgrößen eine Umschaltung derart vornimmt, dass das Rechengerät (11, 20) die Messgrößen in dem Programm- und/oder Daten-Schreib-Lesespeicher (13) ablegt.Control unit ( 10 ) comprising a computing device ( 11 . 20 ), in particular a microprocessor, a program and / or data read-only memory ( 14 ) on which a control and / or regulating program of the control device ( 10 ) is stored, and a program and / or data read / write memory ( 13 ), whereby during the execution of the control and / or regulation program on the computing device ( 11 . 20 ) temporary measured variables can be generated and stored in predeterminable memory areas, characterized in that the control device ( 10 ) comprises a decoding circuit which, in the event of write access by the computing device ( 11 . 20 ) to a certain th memory address area for storing the measured variables performs a switchover such that the computing device ( 11 . 20 ) the measured variables in the program and / or data read / write memory ( 13 ) stores. Steuergerät (10) nach Anspruch 7, dadurch gekennzeichnet, dass die Decodierschaltung ein Adressregister (15) umfasst, in welchem der bestimmte Adressenbereich, bei der oder bei dem die Umschaltung vorgenommen werden soll, ablegbar ist.Control unit ( 10 ) according to claim 7, characterized in that the decoding circuit comprises an address register ( 15 ) in which the specific address range at which or with which the switchover is to be carried out can be stored. Steuergerät nach Anspruch 8, dadurch gekennzeichnet, dass das Adressregister (15) als ein Overlay-Register für einen kalibrierbaren Programm- und/oder Daten-Schreib-Lesespeicher (CALRAM) (23) ausgebildet ist.Control device according to claim 8, characterized in that the address register ( 15 ) as an overlay register for a calibratable program and / or data read / write memory (CALRAM) ( 23 ) is trained. Steuergerät (10) nach einem der Ansprüche 7 bis 9, dadurch gekennzeichnet, dass die Decodierschaltung zusammen mit dem Rechengerät (11, 20) und dem Programm- und/oder Daten-Schreib-Lesespeicher (13) auf einem Halbleiterbaustein integriert ist.Control unit ( 10 ) according to one of claims 7 to 9, characterized in that the decoding circuit together with the computing device ( 11 . 20 ) and the program and / or data read / write memory ( 13 ) is integrated on a semiconductor device. Steuergerät (10) nach einem der Ansprüche 7 bis 10, dadurch gekennzeichnet, dass das Steuergerät (10) eine Schnittstelle (18) aufweist, über die ein externes Applikationsgerät (16) zum Auslesen der gespeicherten Messgrößen aus dem Programm- und/oder Daten-Schreib-Lesespeicher (13) anschließbar ist.Control unit ( 10 ) according to one of claims 7 to 10, characterized in that the control device ( 10 ) an interface ( 18 ), via which an external application device ( 16 ) for reading out the stored measured variables from the program and / or data read / write memory ( 13 ) can be connected. Steuergerät (10) nach Anspruch 11, dadurch gekennzeichnet, dass die Schnittstelle (18) als eine serielle Diagnose-Schnittstelle (SS0) oder als eine serielle Schnittstelle zum Datenaustausch mit weiteren anschließbaren Steuergeräten, insbesondere als eine CAN-Schnittstelle, ausgebildet ist.Control unit ( 10 ) according to claim 11, characterized in that the interface ( 18 ) is designed as a serial diagnostic interface (SS0) or as a serial interface for data exchange with further connectable control devices, in particular as a CAN interface. Steuergerät (10) nach einem der Ansprüche 7 bis 12, dadurch gekennzeichnet, dass das Steuergerät (10) für ein Zünd- und/oder Einspritzgerät einer Brennkraftmaschine ausgebildet ist.Control unit ( 10 ) according to one of claims 7 to 12, characterized in that the control device ( 10 ) is designed for an ignition and / or injection device of an internal combustion engine.
DE2002137173 2002-08-14 2002-08-14 Motor vehicle control unit, especially an ignition control unit, in which temporary measurement values, e.g. calibration values, can be stored in RAM Ceased DE10237173A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
DE2002137173 DE10237173A1 (en) 2002-08-14 2002-08-14 Motor vehicle control unit, especially an ignition control unit, in which temporary measurement values, e.g. calibration values, can be stored in RAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE2002137173 DE10237173A1 (en) 2002-08-14 2002-08-14 Motor vehicle control unit, especially an ignition control unit, in which temporary measurement values, e.g. calibration values, can be stored in RAM

Publications (1)

Publication Number Publication Date
DE10237173A1 true DE10237173A1 (en) 2004-02-26

Family

ID=30775249

Family Applications (1)

Application Number Title Priority Date Filing Date
DE2002137173 Ceased DE10237173A1 (en) 2002-08-14 2002-08-14 Motor vehicle control unit, especially an ignition control unit, in which temporary measurement values, e.g. calibration values, can be stored in RAM

Country Status (1)

Country Link
DE (1) DE10237173A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10341514A1 (en) * 2003-09-04 2005-04-14 Volkswagen Ag Controller area network (CAN) controller module, for motor vehicle, has serial interface for connection to external computer unit, via which it can be freely programmed, and connected to CAN analysis and simulation module
DE102005004867A1 (en) * 2005-02-02 2006-08-10 Siemens Ag Development controller device operating method for motor vehicle, involves using storage areas remaining unused in application memory, as additional main memory for dynamic calculation of variables and/or output values
DE102006011705A1 (en) * 2006-03-14 2007-09-20 Infineon Technologies Ag System and method for testing an integrated circuit
EP2012202A1 (en) * 2007-07-06 2009-01-07 Sysopen Digia Oyj Measurement device emulates a mass storage device
DE102007029833A1 (en) * 2007-06-28 2009-01-15 Texas Instruments Deutschland Gmbh Data modification module

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10341514A1 (en) * 2003-09-04 2005-04-14 Volkswagen Ag Controller area network (CAN) controller module, for motor vehicle, has serial interface for connection to external computer unit, via which it can be freely programmed, and connected to CAN analysis and simulation module
DE102005004867A1 (en) * 2005-02-02 2006-08-10 Siemens Ag Development controller device operating method for motor vehicle, involves using storage areas remaining unused in application memory, as additional main memory for dynamic calculation of variables and/or output values
DE102006011705A1 (en) * 2006-03-14 2007-09-20 Infineon Technologies Ag System and method for testing an integrated circuit
DE102007029833A1 (en) * 2007-06-28 2009-01-15 Texas Instruments Deutschland Gmbh Data modification module
US7779194B2 (en) 2007-06-28 2010-08-17 Texas Instruments Incorporated Data modification module
DE102007029833B4 (en) 2007-06-28 2019-03-28 Texas Instruments Deutschland Gmbh A microcontroller with data modification module and system comprising a data modification module
EP2012202A1 (en) * 2007-07-06 2009-01-07 Sysopen Digia Oyj Measurement device emulates a mass storage device

Similar Documents

Publication Publication Date Title
EP0765495B1 (en) Method of optimising data and/or program parts for programmed control units, and associated control unit
DE10020448B4 (en) Method and device for optimizing the operation of an internal combustion engine
EP2009525B1 (en) Test device and method for testing at least one electronic control system
DE102008041360A1 (en) A vehicle control unit and a data update method for a vehicle control unit
EP1362267B1 (en) Method and device for emulating control and/or regulating functions of a control or regulating device
WO2019192835A1 (en) Method for providing application data of at least one application executable on a control unit of a vehicle, method for calibrating a control unit, control unit, and analysis device
DE19934191B4 (en) Electronic control unit and control method for storing a rewrite count of a nonvolatile memory
DE19500453A1 (en) Method for optimizing data and / or program parts for programmed control devices and control device
EP1565825A2 (en) Device and method for analysing embedded systems
DE10237173A1 (en) Motor vehicle control unit, especially an ignition control unit, in which temporary measurement values, e.g. calibration values, can be stored in RAM
DE102005001430A1 (en) Method for describing memory contents and for describing the transfer of memory contents
EP3080668B1 (en) Method for influencing a control program of a control unit
DE102004013493B4 (en) Access method for a NAND flash memory device and a corresponding NAND flash memory device
DE10247942A1 (en) Internal combustion engine operation diagnosing method, involves determining idle air flow change as engine is operated in selected compression ratio operation states, and evaluating operation based on air flow change
DE102009054905A1 (en) Method for determining functional parameters for a control device
DE19619354A1 (en) Method of operating a control device by a programmable storage/memory device e.g. for motor vehicle
DE102006000883A1 (en) Integrated circuit memory device e.g. RAM, operating method, involves executing read command within memory device concurrently by providing write address and write command to device prior to terminating execution of read command
DE19903302B4 (en) Method and device for checking the function of a computer
WO2004042592A2 (en) Method for the secure checking of a memory region of a microcontroller in a control device and control device with a protected mikrocontroller
DE102006011705A1 (en) System and method for testing an integrated circuit
DE102004036233B3 (en) Microcontroller and microprocessor system for computer has CPU core system connected to read-ahead buffers and memory modules, and controls internal combustion engine with connections to each cylinder
DE19949048A1 (en) Process and device for controlling processes in a vehicle
EP1876525A1 (en) Method for modifying controller software
DE102016225041B4 (en) Method for operating an internal combustion engine, control device for an internal combustion engine, and internal combustion engine with such a control device
DE19959247A1 (en) Microcomputer for vehicle controller/regulator has code coverage memory receiving information about addresses in program and/or data storage memory addressed by program

Legal Events

Date Code Title Description
8110 Request for examination paragraph 44
R016 Response to examination communication
R002 Refusal decision in examination/registration proceedings
R003 Refusal decision now final
R082 Change of representative