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 PDFInfo
- 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
Links
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F02—COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
- F02D—CONTROLLING COMBUSTION ENGINES
- F02D41/00—Electrical control of supply of combustible mixture or its constituents
- F02D41/24—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
- F02D41/2406—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using essentially read only memories
- F02D41/2425—Particular ways of programming the data
- F02D41/2429—Methods of calibrating or learning
- F02D41/2432—Methods of calibration
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F02—COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
- F02D—CONTROLLING COMBUSTION ENGINES
- F02D41/00—Electrical control of supply of combustible mixture or its constituents
- F02D41/24—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
- F02D41/2406—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using essentially read only memories
- F02D41/2409—Addressing techniques specially adapted therefor
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F02—COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
- F02D—CONTROLLING COMBUSTION ENGINES
- F02D41/00—Electrical control of supply of combustible mixture or its constituents
- F02D41/24—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
- F02D41/2406—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using essentially read only memories
- F02D41/2425—Particular ways of programming the data
- F02D41/2487—Methods for rewriting
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F02—COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
- F02D—CONTROLLING COMBUSTION ENGINES
- F02D41/00—Electrical control of supply of combustible mixture or its constituents
- F02D41/24—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
- F02D41/26—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using computer, e.g. microprocessor
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F02—COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
- F02D—CONTROLLING COMBUSTION ENGINES
- F02D41/00—Electrical control of supply of combustible mixture or its constituents
- F02D41/24—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
- F02D41/26—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using computer, e.g. microprocessor
- F02D41/263—Electrical 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
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F02—COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
- F02D—CONTROLLING COMBUSTION ENGINES
- F02D41/00—Electrical control of supply of combustible mixture or its constituents
- F02D41/24—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
- F02D41/26—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using computer, e.g. microprocessor
- F02D41/28—Interface circuits
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F02—COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
- F02D—CONTROLLING COMBUSTION ENGINES
- F02D41/00—Electrical control of supply of combustible mixture or its constituents
- F02D41/24—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
- F02D41/2406—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using essentially read only memories
- F02D41/2425—Particular ways of programming the data
- F02D41/2487—Methods for rewriting
- F02D41/249—Methods for preventing the loss of data
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25303—Decode 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
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
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
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
Bei dem aus der
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:
In
In dem Programm-Daten-Festwertspeicher
Mit dem Steuergerät
Außer dem Steuergerät
In
Der Einsatz eines Flash-EPROMs
In
Wie aus
Insbesondere können die Overlay-Bereiche O1...O8
auch auf nicht benutzte Speicherbereiche
Durch die erfindungsgemäße Funktionalität ist es
möglich,
beliebige temporäre
Messgrößen in einem
Overlay-Bereich O1...O8 des CALRAM-Bereichs
Das Adressregister
Die Einträge in den Registerplätzen des Overlay-Registers
In
An Hand der
Nach der Initialisierung findet dann
in einem Programmschritt
Anschließend wird das eigentliche Steuer- und/oder
Regelprogramm des Steuergerätes
Als letzter Programmteil ist wiederum
eine Kommunikation mit dem Applikationsgerät
Das Ende der Optimierung der Kennfelddaten
wird in einem Abfrageblock
An beliebigen Stellen in dem Programmablauf
können
Programmbefehle eingefügt
sein oder eingefügt
werden, durch die das Rechengerät
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
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
Claims (13)
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)
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 |
-
2002
- 2002-08-14 DE DE2002137173 patent/DE10237173A1/en not_active Ceased
Cited By (7)
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 |