DE102012222908A1 - Method for controlling release and/or blocking of application functions in e.g. control apparatus of internal combustion engine of motor vehicle, involves storing diagnostic results in data format in matrix-like data structure - Google Patents
Method for controlling release and/or blocking of application functions in e.g. control apparatus of internal combustion engine of motor vehicle, involves storing diagnostic results in data format in matrix-like data structure Download PDFInfo
- Publication number
- DE102012222908A1 DE102012222908A1 DE201210222908 DE102012222908A DE102012222908A1 DE 102012222908 A1 DE102012222908 A1 DE 102012222908A1 DE 201210222908 DE201210222908 DE 201210222908 DE 102012222908 A DE102012222908 A DE 102012222908A DE 102012222908 A1 DE102012222908 A1 DE 102012222908A1
- Authority
- DE
- Germany
- Prior art keywords
- release
- blocking
- application functions
- motor vehicle
- matrix
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W50/00—Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
- B60W50/04—Monitoring the functioning of the control system
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W50/00—Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
- B60W50/02—Ensuring safety in case of control system failures, e.g. by diagnosing, circumventing or fixing failures
- B60W50/029—Adapting to failures or work around with other constraints, e.g. circumvention by avoiding use of failed parts
- B60W2050/0295—Inhibiting action of specific actuators or systems
Landscapes
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Human Computer Interaction (AREA)
- Transportation (AREA)
- Mechanical Engineering (AREA)
- Stored Programmes (AREA)
Abstract
Description
Die Erfindung bezieht sich allgemein auf Steuergeräte mit Selbstdiagnose wie bevorzugt in der Kraftfahrzeugtechnik eingesetzte Steuergeräte mit On-Board Diagnose, bspw. Steuergeräte zur Steuerung von Abgasemissionen, wobei mittels der On-Board Diagnose auch während des Fahrbetriebs Fehler oder Fehlfunktionen an dem jeweiligen Steuergerät detektiert werden können. Insbesondere betrifft die Erfindung die Verarbeitung von Konfigurationsdaten in einem solchen Steuergerät.The invention relates generally to control devices with self-diagnosis as preferably used in automotive technology control units with on-board diagnostics, for example. Control units for controlling exhaust emissions, and by means of the on-board diagnostics even during driving errors or malfunctions are detected on the respective control unit can. In particular, the invention relates to the processing of configuration data in such a controller.
Stand der TechnikState of the art
Die On-Board Diagnose bei Kraftfahrzeugen dient zur Information oder Warnung des Fahrers oder eines Service-Technikers über aufgetretene Fehler und zum Deaktivieren von Fahrzeugeigenschaften, wenn deren Betrieb nicht zweifelsfrei sichergestellt werden kann. Der Gesetzgeber schreibt insbesondere eine funktionierende elektronische Fahrzeugdiagnose zur Überwachung der Wirkungsweise abgasemissionsrelevanter Teile im Fahrzeug vor.Automotive on-board diagnostics are used to inform or warn the driver or service technician of any errors that have occurred and to disable vehicle features if their operation can not be assured beyond reasonable doubt. The legislator prescribes in particular a functioning electronic vehicle diagnosis for monitoring the mode of operation of emission-relevant parts in the vehicle.
Heutige Kraftfahrzeuge weisen bis zu 70 Steuergeräte auf, die sich auf mehrere Bussysteme unterschiedlicher Übertragungstechnik verteilen, was mit erheblichen Zusatzkosten verbunden ist. Ein geeignetes Mittel zur Kostensenkung ist die Standardisierung von Diagnosegeräten, insbesondere die Schaffung eines standardisierten Datenaustausches zwischen diesen Geräten, und zwar insbesondere die Syntax und das Format der ausgetauschten Daten betreffend.Today's motor vehicles have up to 70 control units, which are distributed over several bus systems of different transmission technology, which is associated with considerable additional costs. A suitable means for reducing costs is the standardization of diagnostic equipment, in particular the creation of standardized data exchange between these equipment, in particular the syntax and the format of the data exchanged.
In einem solchen Steuergerät mit Selbstdiagnose, z.B. einem Motorsteuergerät, werden die genannten On-Board Selbstdiagnosen mittels Anwendungsfunktionen durchgeführt. Von den Diagnoseergebnissen sind meist auch andere Anwendungsfunktionen betroffen, welche dann aufgrund eines bestimmten Diagnoseergebnisses oder eines bestimmten Diagnosezustandes, wie z.B. „in dieser Fahrt erstellte Diagnose fehlerhaft“ oder „Diagnose noch nicht durchgeführt“ (zumindest vorübergehend) gesperrt werden müssen. Die entsprechende Steuerung einer solchen Anwendungsfunktion erfolgt bevorzugt durch kodierte Abfrage eines Freigabezustandes, der sich aus den Ergebnissen von spezifischen Diagnosen aus anderen Anwendungsfunktionen ableitet.In such a controller with self-diagnosis, e.g. an engine control unit, said on-board self-diagnostics are performed by means of application functions. Of the diagnostic results are usually also affected other application functions, which then due to a particular diagnostic result or a particular diagnostic condition, such as. "Diagnosis made incorrectly" or "diagnosis not yet performed" must be disabled (at least temporarily). The corresponding control of such an application function is preferably carried out by coded query of a release state, which is derived from the results of specific diagnoses from other application functions.
Die für die genannte Diagnose erforderliche fahrzeuginterne Diagnosekommunikation nutzt im Kraftfahrzeug vorhandene interne Busse wie bspw. CAN, MOST oder LIN. Die genannte Standardisierung von Kommunikationsschnittstellen, -protokollen und -datenformaten für den Automobilbau wird getrieben von der Vereinigung ASAM (Association for Standarization of Automation and Measuring Systems). Deren Arbeitsgruppe ASAM AE entwickelt Standards für die Programmierung und Wartung/Diagnose von elektrischen Steuergeräten (ECUs) von Kraftfahrzeugen. Ein Arbeitsergebnis ist das Protokoll „ASAP2“ (oder „A2L“) zur Beschreibung von Kalibrierungsstrukturen für Anwendungs- bzw. Applikationssysteme. Ein A2L Parser bietet hierbei Zugriff auf Steuergerätebeschreibungsdaten, die in entsprechenden ASAP2-Dateien (.a2L) definiert sind. Diese Systeme werden in der Regel in der Programmiersprache C entwickelt, und zwar unter Verwendung der entsprechenden Standard-Entwicklungsumgebung (sogenannter „C-Standard“).The vehicle-internal diagnostic communication required for the mentioned diagnosis uses internal buses present in the motor vehicle, such as, for example, CAN, MOST or LIN. The above-mentioned standardization of communication interfaces, protocols and data formats for the automotive industry is driven by the association ASAM (Association for Standardization of Automation and Measuring Systems). Their ASAM AE working group is developing standards for the programming and maintenance / diagnostics of vehicle electrical control units (ECUs). One work result is the protocol "ASAP2" (or "A2L") for describing calibration structures for application or application systems. An A2L parser provides access to ECU descriptor data defined in corresponding ASAP2 files (.a2L). These systems are typically developed in the C programming language, using the appropriate standard development environment (the so-called "C standard").
Die „AUTOSAR“, eine Entwicklungspartnerschaft aus Automobilherstellern, zielt zudem ab auf die Vereinfachung des Austausches von Software auf verschiedenen Steuergeräten, wozu eine einheitliche Softwarearchitektur mit einheitlichen Beschreibungs- und Konfigurationsformaten für „Embedded Software“ im Automobil erarbeitet wurde. Diese Softwarearchitektur beinhaltet einen sogenannten „Diagnostic Event Manager“, welcher durch entsprechende Sensorik erfasste Ereignisse („events“) speichert und verarbeitet.The "AUTOSAR", a development partnership of car manufacturers, also aims to simplify the exchange of software on different ECUs, for which a uniform software architecture with uniform description and configuration formats for "embedded software" in the automobile has been developed. This software architecture includes a so-called "Diagnostic Event Manager", which stores and processes events ("events") detected by appropriate sensors.
Die Relation „Spezifische Diagnose“ – „Status dieser Prüfung“ – „betroffene/zu sperrende Funktionalität“ wird im Folgenden als „Sperrbeziehung“ bezeichnet. Die Diagnoseprüfergebnisse und zugrundeliegenden Funktionen werden in an sich bekannter Weise mittels einer sogenannten „Inhibit-Matrix“ dargestellt bzw. verarbeitet, in der die Ergebnisse der Prüfungen über die jeweiligen Funktionen aufgetragen werden. Der Inhalt einer Matrix-Zelle bezeichnet den Status der Prüfung, der tatsächlich eine Sperrung auslöst. Dieser wirksame Status einer Prüfung sei als Inhibit-Limit oder -Maske bezeichnet.The relation "specific diagnosis" - "status of this check" - "affected / blocked functionality" is referred to as "locking relationship" in the following. The diagnostic test results and underlying functions are represented or processed in a manner known per se by means of a so-called "inhibit matrix" in which the results of the tests are plotted on the respective functions. The contents of a matrix cell indicate the status of the test that actually triggers a lock. This effective status of a test is called an inhibit limit or mask.
Solche Sperrbeziehungen sind systemspezifisch und müssen daher für jede Steuergerätekonfiguration ausgelegt und kodiert sein. Die Kodierung bzw. Konfiguration der Sperrbeziehungen erfolgt zentral, wobei die Funktionen, bzw. die Diagnoseergebnisse für die jeweiligen Funktionen, auf der Basis spezifischer „Identifier“ verwaltet werden. Solche zentralen Module sind bereits in der genannten AUTOSAR definiert und umfassen sogenannte „Diagnostic Event Manager“ (DEM), welche jeweilige Identifier „EventID“ (EID) als Repräsentanten für die genannten spezifischen Diagnoseprüfungen aufweisen, sowie sogenannte „Function Inhibition Manager“ (FIM) mit jeweiligen Identifiern „FunctionID“ (FID).Such locking relationships are system specific and therefore must be designed and coded for each ECU configuration. The coding or configuration of the locking relationships is performed centrally, with the functions or the diagnostic results for the respective functions being managed on the basis of specific "identifiers". Such central modules are already defined in the named AUTOSAR and comprise so-called "Diagnostic Event Managers" (DEM), which have respective identifiers "EventID" (EID) as representatives for the specified diagnostic tests, as well as so-called "Function Inhibition Managers" (FIM). with respective identifiers "FunctionID" (FID).
Bei der Entwicklung von Anwendungsfunktionen für die hier betroffenen Steuergeräte, welche in der genannten Weise sperrbar sein müssen, werden die entsprechenden Sperrbeziehungen aus Sicht der jeweiligen Funktionalität definiert. Entsprechendes gilt für die Absicherung von Funktionen durch die jeweilige Bewertungsinstanz (in der Regel ein Projektmitarbeiter), bei der die Bewertung der korrekten Sperrbedingungen per FID und per zu sperrende Funktion erfolgt, d.h. aus der FID-Sichtweise.In the development of application functions for the affected ECUs, which must be lockable in the manner mentioned, the corresponding locking relationships are out of sight defined the respective functionality. The same applies to the safeguarding of functions by the respective assessment authority (usually a project employee), in which the assessment of the correct blocking conditions takes place by FID and by function to be blocked, ie from the FID point of view.
Offenbarung der ErfindungDisclosure of the invention
Der Erfindung liegt die Aufgabe zugrunde, bei einem hier betroffenen Steuergerät mit Selbstdiagnose eine möglichst effiziente Ablage von die Diagnose betreffenden Konfigurationsdaten, insbesondere von funktionale Wechselwirkungen zwischen verschiedenen Anwendungsfunktionen betreffenden Konfigurationsdaten, zu ermöglichen.The invention is based on the object, in an affected control unit with self-diagnosis as efficient as possible filing of the diagnosis related configuration data, in particular of functional interactions between different application functions related configuration data to allow.
Diese Aufgabe wird gelöst durch ein Verfahren und eine Vorrichtung gemäß den unabhängigen Patentansprüchen. Vorteilhafte Ausführungsformen sind in den jeweiligen Unteransprüchen formuliert. This object is achieved by a method and a device according to the independent patent claims. Advantageous embodiments are formulated in the respective subclaims.
Bei dem erfindungsgemäßen Verfahren und der Vorrichtung zur Steuerung der Freigabe und/oder Sperrung hier betroffener Anwendungsfunktionen, welche mittels einer Inhibitmatrix erfolgt, mittels der die Ergebnisse einer von dem Steuergerät durchgeführten Selbstdiagnose funktions- und ergebnisorientiert abgelegt werden, ist insbesondere vorgesehen, dass die Diagnoseergebnisse in einem Datenformat in der Inhibitmatrix abgelegt werden, welches sowohl Bezeichner (Identifier) für die jeweilige Funktion und das jeweilige Diagnoseergebnis, als auch den Freigabestatus und/oder Sperrstatus der jeweiligen Funktion angebende Werte umfasst.In the method according to the invention and the device for controlling the release and / or blocking of application functions affected here, which takes place by means of an inhibit matrix by means of which the results of a self-diagnosis carried out by the control device are stored in a functional and result-oriented manner, it is provided in particular that the diagnostic results in a data format in the inhibit matrix are stored, which includes both identifier (identifier) for the respective function and the respective diagnostic result, as well as the release status and / or lock status of the respective function indicating values.
Die Erfindung ermöglicht eine gegenüber dem Stand der Technik effizientere Ablage der genannten Konfigurationsdaten. Darüber hinaus hat die Erfindung auch Vorteile bei der Entwicklung von Anwendungen, da Freigaben oder Sperrungen von Anwendungsfunktionen anhand von einzelnen Applikationsparametern nachvollzogen, abgesichert und verantwortet werden können.The invention enables a more efficient storage of said configuration data compared to the prior art. In addition, the invention also has advantages in the development of applications, as approvals or blocks of application functions based on individual application parameters can be traced, secured and accounted for.
Die Verarbeitung der Diagnoseergebnisse erfolgt bevorzugt auf der Grundlage von Einzelparametern, die wiederum bevorzugt als nachfolgend beschriebene Daten-Tripel realisiert werden. Die Einzelparameter sind dabei so strukturiert und in einem Steuergerätespeicher abgelegt, dass eine Aktualisierung eines FID-Freigabe- bzw. -sperrstatus aus einer EID-Sichtweise heraus effizient erfolgen kann.The processing of the diagnostic results preferably takes place on the basis of individual parameters, which in turn are preferably realized as data triplets described below. The individual parameters are structured and stored in a control unit memory such that an update of an FID release or blocking status can be carried out efficiently from an EID perspective.
Weitere Vorteile und Ausgestaltungen der Erfindung ergeben sich aus der Beschreibung und den beiliegenden Zeichnungen.Further advantages and embodiments of the invention will become apparent from the description and the accompanying drawings.
Eine erfindungsgemäße Realisierung kombiniert bestimmte Aspekte des genannten C-Standards mit entsprechenden Aspekten des genannten ASAM-Standards, um die Handhabung von Konfigurationsdaten in einem Steuergerät eines Kraftfahrzeuges, insbesondere in einem Steuergerät zur Steuerung von Abgasemissionen, zu verbessern. Diese Konfigurationsdaten dienen bevorzugt zur Handhabung der genannten funktionalen Wechselwirkungen und zur Berechnung von eingangs beschriebenen Freigabe- bzw. Sperrzuständen solcher Anwendungsfunktionen.An implementation according to the invention combines certain aspects of said C standard with corresponding aspects of said ASAM standard in order to improve the handling of configuration data in a control unit of a motor vehicle, in particular in a control unit for controlling exhaust emissions. These configuration data are preferably used to handle said functional interactions and to calculate the release or blocking states of such application functions described in the introduction.
Die Erfindung kann in einem mit einer Selbstdiagnose ausgestatteten Steuergerät insbesondere einer Brennkraftmaschine eines Kraftfahrzeuges zur Anwendung kommen.The invention may be used in a self-diagnosed control unit, in particular an internal combustion engine of a motor vehicle.
Es versteht sich, dass die voranstehend genannten und die nachstehend noch zu erläuternden Merkmale nicht nur in der jeweiligen angegebenen Kombination, sondern auch in anderen Kombinationen oder in Alleinstellung verwendbar sind, ohne den Rahmen der vorliegenden Erfindung zu verlassen. It is understood that the features mentioned above and those yet to be explained below can be used not only in the particular combination indicated, but also in other combinations or in isolation, without departing from the scope of the present invention.
Kurze Beschreibung der ZeichnungenBrief description of the drawings
Beschreibung von AusführungsbeispielenDescription of exemplary embodiments
Ein vorliegend angenommenes, mit Selbstdiagnose ausgestattetes Motorsteuergerät umfasst ein zentrales Verwaltungsmodul, in welchem unter anderem die jeweiligen Diagnoseergebnisse abgelegt sind. Gemäß dem Stand der Technik, und wie in den
Die Verarbeitung der Einzelparameter (
Zur Erläuterung des dabei zugrunde liegenden Verarbeitungsprozesses seien die in der
Die von dem FIM über eine Liste Fim_Lim.EventId_Hugo_CA verarbeiteten in der vorliegenden obersten EventID-Zeile eingetragenen Masken zu diesen Unterfunktionen lauten bei Vorliegen eines Diagnoseergebnisses ’Def50_Deb100’ sowie in einem Fall (wegen Nicht-Vorliegens eines Diagnoseergebnisses) ’Not Tested’. In diesem Ausführungsbeispiel führt demnach nur der Eintrag ’Not Tested’ zum vorliegenden Zeitpunkt zu einer zumindest vorübergehenden Sperrung der entsprechenden Unterfunktion FId_B, bzw. zur Aufrechterhaltung einer bereits bestehenden Sperrung. Erst bei Vorliegen eines positiven Diagnoseergebnisses, wie bei den anderen drei gezeigten Unterfunktionen, kann diese Sperrung wieder aufgehoben werden bzw. die Unterfunktion wieder freigegeben werden.The masks for these subfunctions that have been processed by the FIM via a list Fim_Lim.EventId_Hugo_CA in the present highest EventID line are 'Not tested' in the presence of a diagnostic result 'Def50_Deb100' and in one case (due to the absence of a diagnostic result). Accordingly, in this embodiment, only the entry 'Not Tested' at the present time leads to an at least temporary blocking of the corresponding subfunction FId_B, or to the maintenance of an already existing blocking. Only in the presence of a positive diagnostic result, as with the other three sub-functions shown, this block can be canceled again or the sub-function can be released again.
Die Einträge in den genannten beiden Listen pro Event Hugo sind demnach Index-basiert zu lesen: Das Limit an der n-ten Stelle von Fim_Lim.Eventxxx führt zur Sperrung des FId an der n-ten Indexposition von Fim_FId.Eventxxx, sofern der Prüfzustand von Eventxxx dem Limit entspricht. Da die Diagnoseergebnisse immer Ereignis-bezogen (d.h. pro Event) verarbeitet werden, ist eine Liste „pro Event“ aus Implementierungsgesichtspunkten effizient, sofern die Einträge der beiden Listen jeweils im Steuergerätespeicher hintereinander liegen.Accordingly, the entries in the two lists per event Hugo are to be read on an index-based basis: The limit at the nth position of Fim_Lim.Eventxxx causes the FId to be blocked at the n-th index position of Fim_FId.Eventxxx, provided the test state of Eventxxx matches the limit. Since the diagnostic results are always processed on an event-related (i.e., per-event) basis, an "event-by-event" list is efficient from an implementation standpoint, as long as the entries of the two lists are consecutive in the controller memory.
Eine beschriebene EID-basierte Verarbeitung von Freigabe- bzw. Sperrzuständen von Anwendungen und/oder Anwendungsfunktionen hat aber unter anderem bei der Zuordnung der Verantwortung Nachteile. Zudem erfolgt die beschriebene Arbeitsweise in einem Steuergerät typisch in der vertikalen FID-Sicht, d.h. für jede durch einen FID gekennzeichnete Anwendungsfunktion anhand der Auflistung der jeweils erfolgten, durch einen EID gekennzeichneten Ereignisse. However, a described EID-based processing of enable or disable states of applications and / or application functions has disadvantages in assigning the responsibility, among other things. Additionally, the described operation in a controller typically occurs in the vertical FID view, i. for each application function identified by an FID, listing the events that have been identified by an EID.
Eine Verwaltung von Listen pro FId (d.h. eine Index-basierte Liste von sperrenden Events und eine korrespondierende Liste von sperrend wirkenden Limits) ist aus Implementierungsgesichtpunkten nicht effizient, da die bei einer eingehenden Fehlermeldung alle betroffenen FIds mit großem Aufwand gesucht werden müssten, da die Einträge im Speicher nicht fortlaufend abgelegt sind.Management of lists per FId (ie an index-based list of blocking events and a corresponding list of blocking limits) is not efficient from an implementation point of view, as all affected FIds would have to be searched with great effort in the event of an incoming error message because the entries not stored continuously in the memory.
Allerdings ist aus der Perspektive einer Funktion bzw. eines für eine Funktion verantwortlichen Projektmitarbeiters eine Verwaltung aus „FId-Sicht“ vorteilhaft, da die Listen in der a2l-Datei jeweils eigene Objekte sind. Diese können daher entsprechend der Verantwortlichkeit zugeordnet, bewertet und freigegeben werden. Bei Listen pro Event müssen die Verantwortlichen einzelne Einträge an bestimmten Indexpositionen in verschiedenen Listen validieren. Eine klare Zuordnung von Verantwortlichkeiten ist damit schwer möglich, zumal der ASAM Standard keine Index-basierte Aufteilung der Objekte in einer a2l-Datei unterstützt.However, from the perspective of a function or a project member responsible for a function, an administration from "FId view" is advantageous since the lists in the a2l file are each their own objects. These can therefore be assigned, evaluated and released according to the responsibility. For lists per event, those responsible must validate individual entries at specific index positions in different lists. A clear assignment of responsibilities is thus difficult, especially since the ASAM standard does not support index-based distribution of the objects in an a2l file.
Darüber hinaus ändert sich ein Diagnoseergebnis zeitweilig, insbesondere in Abhängigkeit von den Ausführungsbedingungen und den physikalischen Einschaltbedingungen der vorliegenden Diagnosefunktionen. Daher erfolgt die Abfrage des Freigabestatus’ eines FunctionIdentifiers (FIDs) zyklisch, d.h. regelmäßig. Der Freigabe-Status des FIDs wird daher, jeweils aktualisiert, in einem flüchtigen Speicher (RAM) gehalten und nur zeitweilig neu berechnet.In addition, a diagnostic result changes temporarily, in particular depending on the execution conditions and the physical switch-on conditions of the present diagnostic functions. Therefore, polling the enable status of a Function Identifier (FIDs) is cyclic; regularly. The release status of the FID is therefore, each updated, held in a volatile memory (RAM) and recalculated only temporarily.
Die
Die
Ein in der Inhibitmatrix eingetragener Einzelparameter besitzt erfindungsgemäß bevorzugt folgendes Datenformat::
Fim_Lim.EventId_Hugo.Fld_B_C=’Not_Tested’,
wobei die Struktur der beiden Größen EventId_Hugo und FId_B_C ein Einzelparameter darstellt und ’Not_Tested’ den dazugehörigen aktuellen Wert (bzw. Status der jeweiligen Unterfunktion). Eine durch den FIM erfolgende Abfrage des genannten Triples in der Inhibitmatrix erfolgt bevorzugt auf der Grundlage einer folgenden Datenstruktur:
Fim_Lim.EventId_UVW.FId_A1_CA single parameter entered in the inhibit matrix preferably has the following data format according to the invention:
Fim_Lim.EventId_Hugo.Fld_B_C = 'Not_Tested'
where the structure of the two variables EventId_Hugo and FId_B_C represents a single parameter and 'Not_ Tested the associated current value (or status of the respective subfunction). A query by the FIM of said triples in the inhibit matrix preferably takes place on the basis of a following data structure:
Fim_Lim.EventId_UVW.FId_A1_C
Ein mögliches Abfrageergebnis (bzw. Feld-Status) Fim_Lim.EventId_UVW.FId_A1_C = ’FAILED’ führt dazu, dass EventId_UVW die Unterfunktion FId_A1 sperrt.Possible query result (or field status) Fim_Lim.EventId_UVW.FId_A1_C = 'FAILED' causes EventId_UVW to disable subfunction FId_A1.
Obwohl mit dem beschriebenen Ansatz die Inhibit-Matrix nur mittels eines einzelnen Parameters Fim_Lim.Eventxxx.Fid_yyy beschrieben und verwaltet wird (die betroffenen FIds für ein Event stehen im Namen des Parameters), muss der Wert des Funktions-Identifiers weiterhin als Index im Steuergerät abgelegt werden. D.h. der Inhalt des Feldes Fim_FId.Eventxxx muss weiterhin als Referenz abgespeichert werden, da bei einer eingehenden Fehlermeldung – neben dem genannten Limit auf einer Speicherposition – auch die Information vorhanden sein muss, welche Funktion(en) betroffen ist(sind). Dennoch ermöglicht die Erfindung auch hier eine vorteilhafte Darstellung der Diagnoseergebnisse in einer a2l-Datei.Although with the described approach the inhibit matrix is only described and managed by means of a single parameter Fim_Lim.Eventxxx.Fid_yyy (the affected FIds for an event are in the name of the parameter), the value of the function identifier must continue to be stored as an index in the control unit become. That the content of the field Fim_FId.Eventxxx must still be stored as a reference, because with an incoming error message - in addition to the specified limit on a storage position - also the information must be present, which function (s) is (are) affected. Nevertheless, the invention also allows an advantageous representation of the diagnostic results in an a2l file.
Da der Kennwertnamen des Limits auch den FId-Namen enthält, welcher als Inhalt der FId-Liste Fim_FId.Eventxxx eingetragen ist, müssen die entsprechenden Einträge der FId-Liste gegen Änderungen abgesichert werden. Dies wird durch die in ASAM unterstützte Option „Read-Only“ ermöglicht. Alternativ können die Listen vollständig aus der a2l-Beschreibungsdatei entfernt werden.Since the characteristic value name of the limit also contains the FId name, which is entered as the content of the FId list Fim_FId.Eventxxx, the corresponding entries in the FId list must be protected against changes. This is enabled by the ASAM-supported "Read Only" option. Alternatively, the lists can be completely removed from the a2l description file.
In der
Basierend auf dem vorbeschriebenen Ansatz zur Steuerung von Freigabe-/Sperrzuständen, erfolgt eine Beurteilung der korrekten Funktionalität des auf dem Motorsteuergerät ablaufenden Diagnose- oder Fahrprogramms anhand einer Bewertung der aktuell konfigurierten Sperrbeziehungen. Die Datenablage der Sperrbeziehungen in der im Stand der Technik bekannten EID-Sichtweise erschwert auch diese Bewertung, da die Konfiguration für die einzelnen Funktionen auf viele Kennwertblöcke verteilt sind, welche sich aufgrund von unterschiedlichen Bezügen zu den verschiedenen Anwendungsfunktionen zudem überlappen. Die Bewertung eines Kennwertblocks kann somit nicht von einer einzelnen Bewertungsinstanz vorgenommen werden.Based on the above-described approach to control enable / disable states, an assessment of the correct functionality of the running on the engine control unit diagnostic or driving program based on an assessment of the currently configured locking relationships. The data storage of the locking relationships in the EID view known in the art also complicates this evaluation, since the configuration for the individual functions are distributed over many characteristic blocks, which also overlap due to different references to the different application functions. The valuation of a characteristic value block can therefore not be carried out by a single valuation instance.
Eine effizientere Datenablage der Freigabe-/Sperrbeziehungen ermöglicht auch eine effizientere Verteilung der Verantwortlichkeiten. In einer a2l-Date sind alle Konfigurations- und Verstellmöglichkeiten, Kennwerte sowie Messgrößen enthalten. Um sicher zu stellen, dass in einem Steuergeräteprojekt alle Kennwerte korrekt abgelegt sind und auch abgesichert sind, ist die eindeutige und lückenlose Zuordnung von verantwortlichen Bewertungsinstanzen, d.h. von Projektmitarbeitern, erforderlich. Dabei erfolgt die Verteilung der Verantwortlichkeiten pro Funktion, d.h. in der genannten FId-Sichtweise. Eine bewertende Instanz kann so für eine Funktion beurteilen, in welchen Fällen die betrachtete Funktion gesperrt werden muss. Gemäß dem Stand der Technik (d.h. der genannten Event- Sichtweise), erfolgte dies dadurch, dass mehrere Bewertungsinstanzen in verschiedenen Listen (Kennlinien) ihren FId zu suchen hatten und das korrespondierende sperrende Limit zu finden hatten, um eine Sperrbeziehung zu validieren. Eine Kennlinie konnte dabei nicht einem einzigen Bearbeiter zugewiesen werden. Die Überwachung und Verfolgung des Validierungsstandes wurde damit deutlich erschwert. Mit der erfindungsgemäßen Einführung von Einzelparametern, die bereits den FId im Namen haben, lassen sich die Verantwortlichkeiten wesentlich leichter zuordnen. Die hinterlegte FId-Liste kann damit vollständig aus der a2l-Datei entfernt sein und muss nicht zusätzlich abgesichert werden.More efficient data storage of the release / lock relationships also allows a more efficient allocation of responsibilities. An a2l date contains all configuration and adjustment options, characteristic values and measured variables. To ensure that all characteristic values are stored correctly in a ECU project and that they are also secured, the clear and complete assignment of responsible evaluation entities, i. by project staff. The distribution of responsibilities per function, i. in the aforementioned FId perspective. An evaluating entity can thus judge for a function in which cases the considered function has to be disabled. According to the state of the art (i.e., the event view), this was done by having several score instances in different lists (characteristics) look for their FId and finding the corresponding blocking limit to validate a lock relationship. A characteristic curve could not be assigned to a single engineer. The monitoring and tracking of the validation status was thus made much more difficult. The introduction of individual parameters according to the invention, which already have the FId in their name, makes it much easier to assign responsibilities. The stored FId list can thus be completely removed from the a2l file and does not need to be additionally secured.
Die technische Umsetzung einer Verarbeitung von Freigabe-/Sperrzuständen in dem in den
In der bevorzugten Ausgestaltung wird hierzu eine parallele C-Struktur angelegt, welche die FID-Nummern enthält. Unter zusätzlicher Anwendung des ASAM-Standards wird diese Parallelstruktur jedoch nicht in eine eingangs genannte a2l-Datei eingebracht. Vielmehr werden die Einzelparameter in einer im Speicher abgelegten a2l-Datei sequentiell angeordnet, d.h. jeweils aufeinander folgend allokiert. Durch Anwendung des in der Programmiersprache C bekannten ’Struct-Typen’ liegen die entsprechenden Speicheradressen der Parameter in der a2l-Datei hintereinander, wodurch die genannte sequentielle Anordnung erzwungen wird. Die Einzelparameter erscheinen in der a2l-Datei als getrennte Größen und können demnach einzeln verantwortet werden, entsprechend der Aufteilung der Verantwortung in der Funktionssicht. In der bevorzugten Implementierung wird jedoch die effizientere EID-basierte Sichtweise beibehalten.In the preferred embodiment, a parallel C-structure containing the FID numbers is applied for this purpose. However, with additional application of the ASAM standard, this parallel structure is not introduced into an a2l file mentioned at the outset. Rather, the individual parameters are sequentially arranged in an a2l file stored in memory, i. each allocated consecutively. By applying the 'struct type' known in the C programming language, the corresponding memory addresses of the parameters in the a2l file are consecutive, forcing the said sequential arrangement. The individual parameters appear in the a2l file as separate quantities and can therefore be individually accounted for, according to the division of responsibility in the function view. However, the preferred implementation preserves the more efficient EID-based view.
Die genannte Datenstruktur ermöglicht eine besonders effiziente Verarbeitung von Freigabe- und/oder Sperrzuständen von Onboard-Diagnosefunktionen in einem Motorsteuergerät insbesondere eines Kraftfahrzeuges, da die Implementierung der Berechung der Sperrungen weiterhin aus Event-Sicht erfolgen kann. Die betroffenen FId im Falle einer Fehlermeldung können ohne Suche identifiziert werden.Said data structure enables a particularly efficient processing of enable and / or disable states of on-board diagnostic functions in an engine control unit, in particular of a motor vehicle, since the implementation of the calculation of the blockages can continue to take place from an event perspective. The affected FId in case of an error message can be identified without a search.
Der Umgang mit der Inhibit-Matrix in einem Steuergeräteprojekt wird aus den folgenden Gründen erheblich erleichtert:
- • Es wird die Möglichkeit der nachträglichen Anpassung unterstützt, in dem einzelne Einträge der FId-Liste in die a2l-Datei modifizierbar eingetragen und sichtbar geschaltet werden.
- • Gemäß dem Stand der Technik muss zu Absicherungszwecken die Konsistenz der Einträge in zwei Listen, einschließlich von Indexpositionen, validiert werden. Mit der erfindungsgemäßen Einführung eines einzigen Parameters, der auf eine nicht modifizierte FId-Liste im Steuergerätespeicher referenziert, muss nur der beschriebene Limit-Wert abgesichert werden.
- • Gemäß der Erfindung stellt sich jede einzelne Sperrbeziehung in der a2l-Datei als eigenes Objekt dar, welches von einer Bewertungsinstanz vollständig verantwortet werden kann.
- • Wenn sich aufgrund einer geänderten Steuergerätekonfiguration Sperrbeziehungen ändern, insbesondere wenn neue Events und / oder FId hinzukommen, so ergeben sich gemäß dem Stand der Technik neue Listen mit geänderten Feldgrößen bzw. Feldlängen. Eine Übertragung von Konfigurationsinhalten auf den neuen Stand ist damit erschwert. Dagegen wird mit der Erfindung der programmtechnische Übertrag bei sich ändernder Steuergerätekonfiguration erheblich vereinfacht, da die Namen der Sperrbeziehungen konstant bleiben, selbst wenn sich die hinterlegten Listen ändern und z.B. weitere Sperrbeziehungen hinzukommen, was gemäß dem Stand der Technik zu geänderten Feld- bzw. Listenlängen führt.
- • The option of subsequent adaptation is supported, in which individual entries in the FId list can be modifiable entered and made visible in the a2l file.
- • According to the state of the art, for consistency purposes, the consistency of the entries in two lists, including index positions, must be validated. With the introduction according to the invention of a single parameter which references an unmodified FId list in the control unit memory, only the limit value described must be ensured.
- According to the invention, each individual blocking relationship in the a2l file represents itself as a separate object, which can be fully accounted for by a rating instance.
- • If locking relationships change due to a changed ECU configuration, in particular if new events and / or FId are added, new lists with changed field sizes or field lengths result according to the prior art. A transfer of configuration content to the new state is thus difficult. In contrast, with the invention of the programmatic carryover with changing ECU configuration considerably simplified, since the names of the locking relationships remain constant, even if the stored lists change and, for example, additional locking relationships are added, which leads to changed field or list lengths according to the prior art ,
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE201210222908 DE102012222908A1 (en) | 2012-12-12 | 2012-12-12 | Method for controlling release and/or blocking of application functions in e.g. control apparatus of internal combustion engine of motor vehicle, involves storing diagnostic results in data format in matrix-like data structure |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE201210222908 DE102012222908A1 (en) | 2012-12-12 | 2012-12-12 | Method for controlling release and/or blocking of application functions in e.g. control apparatus of internal combustion engine of motor vehicle, involves storing diagnostic results in data format in matrix-like data structure |
Publications (1)
Publication Number | Publication Date |
---|---|
DE102012222908A1 true DE102012222908A1 (en) | 2014-06-12 |
Family
ID=50778188
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
DE201210222908 Withdrawn DE102012222908A1 (en) | 2012-12-12 | 2012-12-12 | Method for controlling release and/or blocking of application functions in e.g. control apparatus of internal combustion engine of motor vehicle, involves storing diagnostic results in data format in matrix-like data structure |
Country Status (1)
Country | Link |
---|---|
DE (1) | DE102012222908A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11500679B2 (en) | 2017-01-17 | 2022-11-15 | Robert Bosch Gmbh | Operating a controller in a motor vehicle according to different time slots |
-
2012
- 2012-12-12 DE DE201210222908 patent/DE102012222908A1/en not_active Withdrawn
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11500679B2 (en) | 2017-01-17 | 2022-11-15 | Robert Bosch Gmbh | Operating a controller in a motor vehicle according to different time slots |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE102018214999A1 (en) | Device for securing diagnostic commands to a control unit and corresponding motor vehicle | |
EP1796051B1 (en) | Diagnostics devices in a vehicle with diagnostics framework for diagnostics module | |
DE112012005257T5 (en) | Control device and process monitoring method | |
DE102007006614A1 (en) | Application of a Distributed Diagnostic Architecture in AUTOSAR | |
DE102010039021B4 (en) | Method for reconfiguration of software parameters in a microcontroller as well as microcontroller and control unit | |
DE102012222908A1 (en) | Method for controlling release and/or blocking of application functions in e.g. control apparatus of internal combustion engine of motor vehicle, involves storing diagnostic results in data format in matrix-like data structure | |
WO2005022382A2 (en) | Method for the installation of a program component | |
DE102019004612A1 (en) | Method for operating a vehicle with a control device | |
EP3132322B1 (en) | Method for diagnosing a motor vehicle system, diagnostic device for a motor vehicle system, control device for a motor vehicle system, and motor vehicle | |
EP1960854B1 (en) | Diagnostic method and diagnostic device for the function-oriented diagnosis of a system comprising interconnected components | |
DE102012007321A1 (en) | Method for operating a diagnostic system and diagnostic system | |
DE10315344B4 (en) | Method and device for detecting faulty components in vehicles | |
DE102006054705A1 (en) | Method for operating a computing unit | |
DE102015003211A1 (en) | Arrangement for diagnosing a motor vehicle | |
EP4144003B1 (en) | Method for producing a software component for an electronic computing device of a motor vehicle, computer program product, computer-readable storage medium and motor-vehicle-external update system | |
DE112009001818T5 (en) | Control device, control method and computer program | |
WO2024130290A1 (en) | Method for adapting test cases for a security inspection | |
DE102022118843A1 (en) | Method for providing an update for a motor vehicle | |
DE102020106545A1 (en) | Diagnostic system for automobiles | |
DE102014113759B4 (en) | Method and device for checking an instruction set of at least one arithmetic unit | |
WO2023031009A1 (en) | Method for testing the compliance of a technical device or device system, computer program product, and testing computer | |
EP4141714A1 (en) | Method for checking the conformity of a technical device or device system, computer program product and test computer | |
DE102019133334A1 (en) | System and method for increasing security in an E / E system | |
DE102018125938A1 (en) | Method for starting up a hybrid vehicle after a software update in at least one control unit of a hybrid drive train comprising several control units | |
DE102019201191A1 (en) | System for configuring an attack detection system for a computer network, corresponding computer network and motor vehicle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
R119 | Application deemed withdrawn, or ip right lapsed, due to non-payment of renewal fee |