DE19642843A1 - Control system with function test facility - Google Patents
Control system with function test facilityInfo
- Publication number
- DE19642843A1 DE19642843A1 DE19642843A DE19642843A DE19642843A1 DE 19642843 A1 DE19642843 A1 DE 19642843A1 DE 19642843 A DE19642843 A DE 19642843A DE 19642843 A DE19642843 A DE 19642843A DE 19642843 A1 DE19642843 A1 DE 19642843A1
- Authority
- DE
- Germany
- Prior art keywords
- signals
- memory
- function
- function module
- module
- 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
- 238000012360 testing method Methods 0.000 title claims abstract description 28
- 230000006870 function Effects 0.000 claims abstract description 90
- 238000000034 method Methods 0.000 claims description 13
- 238000012545 processing Methods 0.000 description 8
- 230000002123 temporal effect Effects 0.000 description 2
- 230000001419 dependent effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 238000012552 review Methods 0.000 description 1
- 238000012549 training Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0428—Safety, monitoring
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
Die Erfindung geht aus von einem Steuergerät nach der Gattung des unabhängigen Patentanspruchs. Es sind bereits Steuergeräte bekannt, die Eingänge und einen Speicher aufweisen. Im Speicher ist ein Programm abgelegt, das in einzelne Funktionsmodule aufgeteilt ist. Die Funktionsmodule verarbeiten Daten, die entweder im Speicher abgelegt sind und/oder an den Eingängen anliegen. Dabei werden für die Eingangssignale einzelne Funktionsmoduls-Plausibilitäts betrachtungen angestellt, d. h. es wird überprüft ob die zu verarbeitenden Signale in einem vorbestimmten Verhältnis zueinander stehen. Wenn festgestellt wird, daß Signale nicht plausibel sind, d. h. daß sie von vorbestimmten Verhältnis sen abweichen, wird ein Fehlersignal erzeugt. Ein derartiges Fehlersignal wird dann benutzt um die unplausiblen Signale durch Ersatzsignale zu ersetzen. Durch derartige Ersatz signale werden beispielsweise die Mittelwerte gebildet die zwar eine Funktion des zu steuernden Vorgangs, jedoch keine optimale Funktion gewährleisten. The invention relates to a control device according to the Genre of the independent claim. There are already Control units known, the inputs and a memory exhibit. A program is stored in the memory individual function modules is divided. The function modules process data that is either stored in memory and / or at the entrances. Thereby for the Input signals of individual function module plausibility considerations made, d. H. it is checked whether the to processing signals in a predetermined ratio to stand by each other. If it is found that signals are not are plausible, d. H. that they are of predetermined ratio an error signal is generated. Such a thing Error signal is then used for the implausible signals to be replaced by substitute signals. With such a replacement For example, the signals are averaged a function of the process to be controlled, but not a function ensure optimal function.
Um einzelne Funktionsmodule auf ihre Funktionsfähigkeit zu untersuchen müssen diesen Funktionsmodulen Testparameter vorgegeben werden und dann untersucht werden, ob eine richtige Verarbeitung dieser Testsignale erfolgt. Dabei müssen alle vorgegebenen Testsignale zueinander plausibel sein, da es sonst zu Fehlereinträgen kommt und das zu testende Funktionsmodul nicht in einem normalen Betriebs modus, sondern in einem Fehlermodus arbeitet. Teilweise können derartige Testsignale unmittelbar an den Eingängen des Steuergeräts angelegt werden. Schwierig ist jedoch die Vorgabe von Testsignalen im Speicher, insbesondere wenn die Signale im Speicher das Ergebnis anderer Funktionsmodule darstellt oder aber wenn die Signale im Speicher von einem zeitlichen Verlauf der Signale an den Eingängen abhängen.To individual function modules on their functionality must test these function modules test parameters be specified and then examined whether a these test signals are processed correctly. Here all given test signals must be plausible to each other be otherwise it will lead to error entries and that too Function module testing not in normal operation mode, but works in a failure mode. Partially can test signals of this type directly at the inputs of the control unit. However, it is difficult Specification of test signals in the memory, especially if the Signals in memory the result of other function modules represents or if the signals in the memory of one depend on the temporal course of the signals at the inputs.
Das erfindungsgemäße Verfahren mit den kennzeichnenden Merkmalen des unabhängigen Patentanspruchs hat demgegenüber den Vorteil, daß eine Überprüfung der einzelnen Funktions module auch in einem fertigen Steuergerät mit frei vorgeb baren Testsignalen erfolgen kann. Dies ermöglicht einzelne Funktionsmodule in fertigen Steuergeräten, die beispiels weise bereits in einem Kraftfahrzeug eingebaut sind und Fehler aufweisen, gezielt zu untersuchen.The inventive method with the characteristic In contrast, features of the independent claim the advantage that a review of the individual function modules also in a finished control unit with freely specified test signals. This enables individuals Function modules in finished control units, for example are already installed in a motor vehicle and Show errors to investigate specifically.
Durch die in den abhängigen Patentansprüchen aufgeführten Maßnahmen sind vorteilhafte Weiterbildungen und Verbes serungen des im unabhängigen Patentanspruch angegebenen Verfahrens möglich. Durch die Speicherung der ursprünglichen Eingangssignale an einem zweiten Platz des Speichers können diese Signale gesichert werden. Durch eine Rückspeicherung können so die ursprünglich im Steuergerät vorliegenden Eingangssignale rekonstruiert werden. Besonders vorteilhaft ist das Verfahren zur Überprüfung von Steuergeräten, bei denen weitere Funktionsmodule die zu verarbeitenden Signale auf Plausibilität überprüfen, d. h. ob sie in einem be stimmten vorgegebenen Verhältnis zueinander stehen. Wenn in einem solchen Fall nicht alle Testparameter vorgegeben werden können, werden Fehlerfunktionen aktiviert, die Ersatzwerte aufrufen, so daß dann nicht mehr alle Funktionen eines Funktionsmoduls überprüft werden können.By those listed in the dependent claims Measures are advantageous further training and verbs Remarks of the specified in the independent claim Procedure possible. By saving the original Input signals at a second location in the memory can these signals are secured. By restoring can so that originally in the control unit Input signals can be reconstructed. Particularly advantageous is the procedure for checking control units at which further function modules the signals to be processed check for plausibility, d. H. whether they are in a be agreed predetermined relationship to each other. If in In such a case, not all test parameters are specified error functions are activated, the Call up substitute values so that not all functions then of a function module can be checked.
Ausführungsbeispiele der Erfindung sind in den Zeichnungen dargestellt und in der nachfolgenden Beschreibung näher erläutert. Es zeigen Fig. 1 den physikalischen Aufbau eines Steuergeräts, Fig. 2 den logischen Aufbau eines herkömm lichen Steuergeräts, Fig. 3 den logischen Aufbau eines Steuergeräts, das zur Ausführung des erfindungsgemäßen Verfahrens vorgesehen ist und Fig. 4 ein Blockdiagramm des Verfahrens.Embodiments of the invention are shown in the drawings and explained in more detail in the following description. In the drawings Fig. 1 shows the physical structure of a controller, Fig. 2 shows the logical arrangement of a herkömm current control apparatus, Fig. 3 shows the logical structure of a control unit, which is provided for carrying out the method according to the invention and Fig. 4 is a block diagram of the method.
In der Fig. 1 wird ein Steuergerät 1 gezeigt, das einen Speicher 2, einen Interfacebaustein 3 und einen Mikro rechner 4 aufweist. Der Speicher 2, der Mikrorechner 4 und der Interfacebaustein 3 sind durch ein Bussystem 6 mit einander verbunden um Signale zwischen den einzelnen Bausteinen auszutauschen. Der Interfacebaustein 3 ist mit den Eingängen 5 und Ausgängen 7 verbunden und regelt den Austausch von Signalen zwischen dem Steuergerät 1 und anderen externen Komponenten. Durch den Interfacebaustein 3 können Signale von den Eingängen 5 eingelesen werden und im Speicher 2 gespeichert werden. Weiterhin können vom Inter facebaustein 3 Signale unmittelbar an den Mikrorechner 4 weitergegeben werden. Weiterhin enthält der Speicher 2 ein Programm das durch den Mikrorechner 4 abgearbeitet wird. Das Programm ist in einzelne Funktionsmodule aufgeteilt. Ein Funktionsmodul besteht dabei aus einem Teilprogramm das bestimmte Signale zu einem Ergebnis verarbeitet. Die Signale können dabei entweder unmittelbar vom Interfacebaustein 3 zur Verfügung gestellt werden oder aber sie können im Speicher 2 gespeichert sein.In Fig. 1, a control device 1 is shown, which has a memory 2 , an interface module 3 and a microcomputer 4 . The memory 2 , the microcomputer 4 and the interface module 3 are connected to one another by a bus system 6 in order to exchange signals between the individual modules. The interface module 3 is connected to the inputs 5 and outputs 7 and regulates the exchange of signals between the control unit 1 and other external components. The interface module 3 can be used to read signals from the inputs 5 and to store them in the memory 2 . Furthermore, signals from the interface module 3 can be passed on directly to the microcomputer 4 . The memory 2 also contains a program which is processed by the microcomputer 4 . The program is divided into individual function modules. A function module consists of a sub-program that processes certain signals into a result. The signals can either be provided directly by the interface module 3 or they can be stored in the memory 2 .
Im Steuergerät 1 können jedoch auch Funktionsmodule vorgesehen sein, die nicht als Programm im Speicher 2 abgelegt sind. Derartige Funktionsmodule sind in der Fig. 1 als Sonderfunktion 10 im Interfacebaustein 3 oder als Sonderfunktion 11 im Mikrorechner 4 dargestellt. Die Sonderfunktion 10 kann beispielsweise eine gewisse Vor verarbeitung der an den Eingängen 5 anliegenden Daten vornehmen. Beispielsweise kann die Sonderfunktion 10 eine Filterung von Analogsignalen vornehmen, die an einem Eingang 5 anliegen und diese dann in ein Digitalsignal umsetzen. Die Sonderfunktion 11 kann beispielsweise durch einen speziellen logischen Baustein realisiert sein, der bestimmte logische Verknüpfungen mit größerer Geschwindig keit vornimmt als dies beim Mikrorechner 4 der Fall ist. Wegen der großen Einsatzmöglichkeiten heutiger Mikrorechner wird jedoch die überwiegende Zahl der Funktionsmodule durch ein Programm realisiert sein, das im Speicher 2 abgelegt ist. In the control device 1 , however, function modules can also be provided which are not stored as a program in the memory 2 . Such function modules are shown in FIG. 1 as a special function 10 in the interface module 3 or as a special function 11 in the microcomputer 4 . The special function 10 can, for example, carry out a certain amount of processing of the data present at the inputs 5 . For example, the special function 10 can filter analog signals that are present at an input 5 and then convert them into a digital signal. The special function 11 can be implemented, for example, by a special logic module which carries out certain logic operations with greater speed than is the case with the microcomputer 4 . However, because of the great application possibilities of today's microcomputers, the majority of the function modules will be implemented by a program that is stored in the memory 2 .
In der Fig. 2 wird ein Steuergerät 1 anhand seiner logischen Funktion dargestellt, d. h. es sind nicht die physikalischen Elemente wie Interfacebaustein, Mikrorechner oder Speicher dargestellt, sondern die einzelnen Funktions module 21 bis 24 die die Funktion des Steuergerätes 1 ausüben.In Fig. 2, a control unit 1 is shown based on its logical function, ie not the physical elements such as interface module, microcomputer or memory are shown, but the individual function modules 21 to 24 that perform the function of the control unit 1 .
Das Funktionsmodul 21 ist dabei unmittelbar mit einem Eingang 5 und einem Ausgang 7 verbunden. Dies bedeutet, daß das Funktionsmodul 21 die zu verarbeitenden Signale un mittelbar von einem Eingang 5 einliest (beispielsweise unter Zuhilfenahme des Interfacebausteins 3) und das Ergebnis der Verarbeitung dieses Signals unmittelbar an einen Ausgang 7 übermittelt. Zur Überprüfung der ordnungsgemäßen Funktion dieses Funktionsmoduls 21 können somit an die Eingänge 5 bestimmte Signale angelegt werden und dann durch Auswertung der an den Ausgängen 7 anliegenden Signalen kann überprüft werden ob das Funktionsmodul 21 korrekt arbeitet.The function module 21 is connected directly to an input 5 and an output 7 . This means that the function module 21 reads the signals to be processed directly from an input 5 (for example with the aid of the interface module 3 ) and transmits the result of the processing of this signal directly to an output 7 . To check the proper functioning of this function module 21 , certain signals can thus be applied to the inputs 5 and then by evaluating the signals present at the outputs 7 it can be checked whether the function module 21 is working correctly.
Auch die Funktionsmodule 22 und 23 sind unmittelbar mit Eingängen 5 verbunden so daß auch diesen Funktionsmodulen Signale unmittelbar an den Eingängen 5 vorgegeben werden können. Das Funktionsmodul 24 ist ausgelegt um vier Ein gangssignale zu verarbeiten. Eines dieser Eingangssignale wird dem Funktionsmodul 24 unmittelbar von einem Eingang 5 zur Verfügung gestellt. Zwei der Eingangssignale des Funktionsmoduls 24 stellen Ergebnisse der vorgelagerten Funktionsmodule 22 und 23 dar. Dazu schreiben die Funktions module 22 und 23 ihre Ergebnisse in den Speicher 2. Von dort werden sie dann bei Bedarf vom Funktionsmodul 24 abgerufen. Weiterhin verarbeitet das Funktionsmodul 24 ein Signal welches auf vorherigen Ergebnissen des Moduls 24 beruht. Dies wird dadurch dargestellt, daß eine Verbindung 30 zwischen dem Ausgang 7 des Moduls 24 und der linken Seite des Moduls 24, auf der die zu verarbeitenden Signale anliegen, gezeigt wird. Diese erfolgt dadurch, daß das Funktionsmodul 24 im Speicher 2 das Ergebnis der Verarbei tung der Signale ablegt und dann das im Speicher 2 gespeicherte Ergebnis bei einer nächsten Ausführung des Funktionsmoduls wieder als zu verarbeitendes Signal einliest.The function modules 22 and 23 are also connected directly to inputs 5 so that signals can also be specified directly at the inputs 5 for these function modules. The function module 24 is designed to process four input signals. One of these input signals is made available to the function module 24 directly by an input 5 . Two of the input signals of the function module 24 provide results of the upstream functional modules 22 and 23. These include, write the functional modules 22 and 23 their results in the memory 2. From there, they are then called up by the function module 24 if necessary. Furthermore, processing the function module 24 outputs a signal which is based on previous results the module 24th This is represented by the fact that a connection 30 is shown between the output 7 of the module 24 and the left side of the module 24 , on which the signals to be processed are present. This is effected in that the functional module 24 in the memory 2 processing the result to the processing of the signals and then stores the stored in the memory 2 as a result reads back signal to be processed at a next execution of the function module.
Das Funktionsmodul 24 ist hier exemplarisch zur Verarbeitung von vier Signalen dargestellt. Dabei können bestimmte Kombinationen von Signalen nicht auftreten. Dies sei beispielsweise an einem Steuergerät für ein Kraftfahrzeug verdeutlicht, bei dem beispielsweise als Eingangssignale die Motordrehzahl und die Motortemperatur in einem gewissen Verhältnis zueinander stehen müssen. Wenn über mehrere Minuten hinweg Signale zur Motordrehzahl empfangen werden, jedoch die Motortemperatur auf dem minimal möglichen Wert verbleibt, so ist davon auszugehen, daß der Temperatur sensor, der die Motortemperatur erfaßt, nicht ordnungsgemäß funktioniert. In einem derartigen Fall von unplausiblen Signalen, d. h. Signalen die nicht in einem vorbestimmten Verhältnis zueinander stehen, werden Fehlersignale erzeugt. Diese Fehlersignale dienen zum einen zur Information über evtl. Fehlfunktionen zum anderen lösen diese Fehlersignale weitere Maßnahmen aus um den Fehler zu kompensieren. Eine derartige Kompensation eines Fehlers kann beispielsweise dazu führen, daß das Funktionsmodul statt des anliegenden fehlerhaften Signals ein Ersatzsignal verwendet welches eine ausreichende aber nicht notwendigerweise optimale Funktion des Steuergeräts gewährleistet. Weiterhin können derartige Fehlersignale verwendet werden um zusätzliche Funktions module zu aktivieren die dann beispielsweise das fehlerhafte Signal durch Berechnungen aus anderen Signalen rekonstruieren.The function module 24 is shown here by way of example for processing four signals. Certain combinations of signals cannot occur. This is illustrated, for example, in a control unit for a motor vehicle, in which, for example, the engine speed and the engine temperature must be in a certain relationship to one another as input signals. If signals about the engine speed are received over several minutes, but the engine temperature remains at the minimum possible value, it can be assumed that the temperature sensor that detects the engine temperature is not functioning properly. In such a case of implausible signals, ie signals that are not in a predetermined relationship to one another, error signals are generated. These error signals are used on the one hand to provide information about possible malfunctions and on the other hand these error signals trigger further measures to compensate for the error. Such a compensation of an error can lead, for example, to the function module using a substitute signal instead of the faulty signal present, which guarantees a sufficient but not necessarily optimal function of the control unit. Furthermore, error signals of this type can be used to activate additional function modules which then, for example, reconstruct the faulty signal by calculations from other signals.
Ein derartiges Funktionsmodul 24, dessen Eingangssignale nicht unmittelbar durch Werte an den Eingängen 5 zur Verfügung gestellt werden können läßt sich nur schwer auf seine Funktionstüchtigkeit hin untersuchen. Ein Test derartiger Funktionsmodule, beispielsweise beim Auftreten eines Fehlers im Steuergerät lassen sich nur sehr schwer gezielt durchführen da mit einer steigenden Anzahl von Eingangssignalen des Funktionsmoduls 24 eine sehr große Anzahl von Signal an Eingängen 5 und insbesondere eine große Anzahl von Kombinationen von Signalen an den Eingängen 5 vorgegeben werden müssen. Da weiterhin die Eingangssignale des Funktionsmoduls 24 auch von vorherigen Ergebnissen des Funktionsmoduls 24 abhängen müssen dabei zum Teil sehr komplexe zeitliche Verläufe von extern an den Eingängen 5 anliegenden Signalen erzeugt werden. In der Regel ist daher der Test eines Funktionsmoduls 24 nur mit sehr großem Aufwand möglich.Such a functional module 24 , the input signals of which cannot be made available directly by values at the inputs 5 , is difficult to examine for its functionality. A test of such function modules, for example when an error occurs in the control unit, is very difficult to carry out in a targeted manner since, with an increasing number of input signals of the function module 24, a very large number of signals at inputs 5 and in particular a large number of combinations of signals at the inputs 5 must be specified. Since the input signals of the function module 24 also depend on previous results of the function module 24 , in some cases very complex temporal profiles of signals applied externally to the inputs 5 must be generated. As a rule, it is therefore only possible to test a functional module 24 with great effort.
In der Fig. 3 wird ein erfindungsgemäßes Steuergerät anhand seiner logischen Funktionen dargestellt, bei dem ein einfacher Test des Funktionsmoduls 24 möglich ist. Die Funktionsmodule 22, 23 und 24, die Eingänge 5 und der Ausgang 7 weisen wieder die gleiche Funktion auf wie in der Fig. 2. Die Eingangssignale des Funktionsmoduls 24 werden dem Funktionsmodul 24 jedoch durch eine Eingangsschnitt stelle 31 zur Verfügung gestellt. Dies wird in der Fig. 3 dadurch dargestellt, daß alle Eingangssignale zunächst an die Eingangsschnittstelle 31 gegeben werden, die dann ihrerseits eine Vielzahl von Signalen 35 an das Funktions modul 24 weitergibt. FIG. 3 shows a control device according to the invention on the basis of its logic functions, in which a simple test of the function module 24 is possible. The function modules 22 , 23 and 24 , the inputs 5 and the output 7 again have the same function as in FIG. 2. However, the input signals of the function module 24 are provided to the function module 24 by an input interface 31 . This is shown in Fig. 3 in that all input signals are first given to the input interface 31 , which in turn then passes a variety of signals 35 to the function module 24 .
Die Eingangsschnittstelle 31 kann dabei auf zwei unter schiedliche Betriebsarten betrieben werden. In einem ersten Betriebsmodus werden die an den Eingängen 33 der Eingangs schnittstelle 31 anliegenden Signale ohne Veränderung an das Funktionsmodul 24 weitergegeben. In einem zweiten Betriebszustand werden jedoch die an den Eingängen 33 anliegenden Signale verändert oder durch andere, beispiels weise Testsignale ersetzt, die dann an das Funktionsmodul 24 weitergeleitet werden. Weiterhin wird in der Fig. 3 ge zeigt, daß nach dem Funktionsmodul 24 eine Ausgangsschnitt stelle 32 angeordnet ist, die die Ergebnisse des Funktions moduls 24 erhält. Wenn die Eingangsschnittstelle 31 im ersten Betriebszustand ist, so ist die Ausgangsschnitt stelle 32 ebenfalls im ersten Betriebszustand indem die Ergebnisse des Funktionsmoduls 24 an den Ausgang 7 weiter geleitet werden.The input interface 31 can be operated in two different modes. In a first operating mode, the signals present at the inputs 33 of the input interface 31 are passed on to the function module 24 without change. In a second operating state, however, the signals present at the inputs 33 are changed or replaced by other, for example test signals, which are then forwarded to the function module 24 . Further, in FIG. 3 ge shows that after the function module 24 constitutes an output interface 32 is arranged, which receives the results of the functional module 24. If the input interface 31 is in the first operating state, then the output interface 32 is also in the first operating state in that the results of the function module 24 are forwarded to the output 7 .
Weiterhin kann im zweiten Betriebszustand vorgesehen werden, daß die Eingangsschnittstelle 31 die an seinen Eingängen 33 anliegenden Signale an die Ausgangsschnittstelle 32 weiter gibt. Dies kann beispielsweise dadurch erfolgen, daß die Eingangsschnittstelle 31 die an den Eingängen 33 anliegenden Signale im Speicher 2 ablegt. Danach gibt die Eingangs schnittstelle 31 Ersatzwerte an das Funktionsmodul 24 weiter. Die Ausgangsschnittstelle 32 stellt dann die an den Eingängen 33 anliegenden Signale wieder her indem sie auf die von der Eingangsschnittstelle 31 im Speicher 2 ge speicherten Werte zurückgreift. Durch diese Maßnahme wird erreicht, daß nur die Daten für das Funktionsmodul 24 beeinflußt werden. Das Anliegen von Signalen an den Eingängen 33 der Eingangsschnittstelle 31 ist hier so zu verstehen, daß diese Daten sofern sie nicht unmittelbar an den Eingängen 5 zur Verfügung stehen aus dem Speicher 2 geholt werden. Jede Übergabe von Signalen zwischen den Modulen 22, 23, 24 bzw. Eingangsschnittstelle 31 und Ausgangsschnittstelle 32 ist jeweils mit einem Abspeichern und/oder Lesen von Daten des Speichers 2 verbunden.Furthermore, it can be provided in the second operating state that the input interface 31 forwards the signals present at its inputs 33 to the output interface 32 . This can be done, for example, by the input interface 31 storing the signals present at the inputs 33 in the memory 2 . The input interface 31 then passes on replacement values to the function module 24 . The output interface 32 then restores the signals present at the inputs 33 by using the values stored in the memory 2 by the input interface 31 . This measure ensures that only the data for the function module 24 are influenced. The presence of signals at the inputs 33 of the input interface 31 is to be understood here so that these data are fetched from the memory 2 if they are not directly available at the inputs 5 . Each transfer of signals between the modules 22 , 23 , 24 or input interface 31 and output interface 32 is associated with a storage and / or reading of data from the memory 2 .
In der Fig. 4 wird anhand eines Blockdiagramms ein Pro grammablauf erläutert, bei dem Funktionsmodul, Eingangs schnittstelle und Ausgangsschnittstelle jeweils als Programm realisiert sind. Wie bereits zur Fig. 1 erläutert, können jedoch die einzelnen Komponenten auch als einzelne Bauteile ausgeführt sein. In einem ersten Programmblock 51 wird überprüft ob ein normaler Betrieb des Funktionsmoduls oder ein Testbetrieb vorliegen soll. Im Falle eines Testbetriebs folgt auf dem Programmblock 51 der Programmblock 52. Im Falle eines normalen Betriebs folgt auf den Programmblock 51 unmittelbar das eigentliche Funktionsmodul im Programmblock 54. Im Programmblock 52 werden die für das Funktionsmodul vorgesehenen Signale gesichert. Die für das Funktionsmodul vorgesehenen Signale sind an einer vorge gebenen Stelle des Speichers eingetragen. Die Sicherung erfolgt dann dadurch, daß diese Signale auf einen anderen Speicherplatz übertragen oder kopiert werden. Im nächsten Programmblock 53 erfolgt dann ein Ersatz durch Testsignale. Dazu wird an den Speicherplätzen, auf die das Funktionsmodul zugreift um die Signale einzulesen, Testdaten eingeschrieben mit denen der Test des Funktionsmoduls erfolgt. Dabei können die Testsignale frei vorgegeben werden, so daß alle Funk tionen des Funktionsmoduls untersucht werden können. Diese freie Vorgabe einzelner oder aller Signale eines zu testen den Moduls läßt sich durch Anlegen von Signalen an den Eingängen 5 nur schwer bewerkstelligen. Dies liegt daran, daß die Eingangsparameter für ein zu testendes Funktions modul Ergebnisse von anderen Funktionsmodulen sein können, die entsprechende Signale im Speicher 2 ablegen. Durch Eingabe von externen Signalen an den Eingängen könnten somit nur alle nacheinander angeordneten Funktionsmodule gleich zeitig untersucht werden und nicht ein einzelnes Funktions modul separat untersucht werden.In FIG. 4 is a Pro, will be explained using a block diagram program sequence in the interface function module input and output interface are each implemented as a program. As already explained for FIG. 1, however, the individual components can also be designed as individual components. In a first program block 51 it is checked whether normal operation of the function module or a test operation should be present. In the case of a test operation, program block 52 follows program block 51 . In the case of normal operation, program block 51 is immediately followed by the actual function module in program block 54 . The signals provided for the function module are saved in program block 52 . The signals provided for the function module are entered at a predetermined location in the memory. The backup is then carried out by transferring or copying these signals to another storage location. In the next program block 53 there is then a replacement by test signals. For this purpose, test data is written into the memory locations which the function module accesses in order to read in the signals, with which the function module is tested. The test signals can be freely specified so that all functions of the function module can be examined. This free specification of individual or all signals of a module to be tested is difficult to achieve by applying signals to the inputs 5 . This is because the input parameters for a function module to be tested can be results from other function modules that store corresponding signals in the memory 2 . By entering external signals at the inputs, only all function modules arranged in succession could thus be examined at the same time and not a single function module could be examined separately.
Mit diesen Testsignalen wird an das Funktionsmodul, welches hier durch den Programmblock 54 dargestellt wird, aktiviert. Aufgrund der freien Auswahl der Testsignale können dabei alle Funktionen des Funktionsmoduls untersucht werden. Nach der Bearbeitung des eigentlichen Funktionsmoduls erfolgt in den Programmschritten 55 und 56 die Weiterverarbeitung der Ergebnisse, wie dies bereits zur Ausgangsschnittstelle der Fig. 3 beschrieben wurde. Im Programmblock 55 werden zu nächst die Ergebnisse des Funktionsmoduls gespeichert oder an einen Ausgang weitergegeben. Es kann so aufgrund der bekannten Testsignale und des Ergebnisses des Funktions moduls bestimmt werden ob das Funktionsmodul korrekt arbeitet. Im darauf folgenden Schritt 56 werden dann die ursprünglichen Eingangssignale des Funktionsmoduls rekon struiert. Diese erfolgt dadurch, daß die Testsignale durch die im Speicher verschobenen ursprünglichen Eingangssignale des Moduls ersetzt werden. Dies dient dazu um nach dem Test des Funktionsmoduls wieder definierte Ausgangsustände im Speicher herzustellen. Die Programmblöcke 52 und 56 sind optional und können bedarfsweise auch weggelassen werden. Zu beachten ist dabei dann jedoch, daß der Inhalt des Speichers nicht in der ursprünglichen Weise wiederhergestellt wird.These test signals are used to activate the function module, which is represented here by program block 54 . Due to the free selection of the test signals, all functions of the function module can be examined. After the processing of the actual function module, the results are further processed in program steps 55 and 56 , as has already been described for the output interface of FIG. 3. The results of the function module are first stored in program block 55 or passed on to an output. It can thus be determined on the basis of the known test signals and the result of the function module whether the function module is working correctly. In the subsequent step 56, the original input signals of the function module are then reconstructed. This is done by replacing the test signals with the original input signals of the module which are shifted in the memory. This is used to restore defined output states in the memory after the function module has been tested. Program blocks 52 and 56 are optional and can also be omitted if necessary. It should be noted, however, that the content of the memory is not restored in the original way.
Claims (4)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| DE19642843A DE19642843A1 (en) | 1996-10-17 | 1996-10-17 | Control system with function test facility |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| DE19642843A DE19642843A1 (en) | 1996-10-17 | 1996-10-17 | Control system with function test facility |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| DE19642843A1 true DE19642843A1 (en) | 1998-04-23 |
Family
ID=7809007
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| DE19642843A Ceased DE19642843A1 (en) | 1996-10-17 | 1996-10-17 | Control system with function test facility |
Country Status (1)
| Country | Link |
|---|---|
| DE (1) | DE19642843A1 (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2002096707A3 (en) * | 2001-05-26 | 2003-12-04 | Daimler Chrysler Ag | Device for controlling electrical systems with a test module |
| DE10243589B4 (en) * | 2002-02-20 | 2007-02-01 | Mitsubishi Denki K.K. | Vehicle electronic control device |
| EP3618363A1 (en) * | 2018-08-28 | 2020-03-04 | Nxp B.V. | Network interface device and method for operating a network interface device |
-
1996
- 1996-10-17 DE DE19642843A patent/DE19642843A1/en not_active Ceased
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2002096707A3 (en) * | 2001-05-26 | 2003-12-04 | Daimler Chrysler Ag | Device for controlling electrical systems with a test module |
| US7319925B2 (en) | 2001-05-26 | 2008-01-15 | Daimlerchrysler Ag | Device for controlling electrical systems with a test module |
| DE10243589B4 (en) * | 2002-02-20 | 2007-02-01 | Mitsubishi Denki K.K. | Vehicle electronic control device |
| EP3618363A1 (en) * | 2018-08-28 | 2020-03-04 | Nxp B.V. | Network interface device and method for operating a network interface device |
| CN110868302A (en) * | 2018-08-28 | 2020-03-06 | 恩智浦有限公司 | Network interface device and method for operating network interface device |
| US11200128B2 (en) | 2018-08-28 | 2021-12-14 | Nxp B.V. | Network interface device and method for operating a network interface device |
| CN110868302B (en) * | 2018-08-28 | 2023-08-11 | 恩智浦有限公司 | Network interface device and method for operating a network interface device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| DE4129809C2 (en) | Multi-computer system | |
| EP1097460B1 (en) | Integrated circuit comprising a self-test device for executing a self-test of the integrated circuit | |
| DE2359776C2 (en) | Memory module | |
| DE69126057T2 (en) | An information processing device with an error checking and correction circuit | |
| DE3786381T2 (en) | Test method and device for a distributed processing system. | |
| DE2225841C3 (en) | Method and arrangement for systematic error checking of a monolithic semiconductor memory | |
| DE3336977A1 (en) | FAILURE-PROOF METHOD FOR A VEHICLE COMPUTER | |
| EP1113362A2 (en) | Integrated semiconductor memory with a memory unit for storing addresses of faulty memory cells | |
| EP1565825A2 (en) | Device and method for analysing embedded systems | |
| DE19647159A1 (en) | Method for testing a memory chip subdivided into cell fields while a computer is in operation while observing real-time conditions | |
| DE10337284B4 (en) | Integrated memory with an integrated memory function test circuit and method of operating the integrated memory | |
| DE3814875C2 (en) | ||
| EP2063432B1 (en) | Method for testing a working memory | |
| EP0186040A1 (en) | Integrated semiconductor memory | |
| DE3200626C2 (en) | Method for checking whether a further memory provided in addition to the main memory has been inserted into a microcomputer system | |
| EP0990236A1 (en) | Storage cell system and method for testing the function of storage cells | |
| DE19642843A1 (en) | Control system with function test facility | |
| DE3820728A1 (en) | METHOD FOR CHECKING A FIXED VALUE STORAGE AND ARRANGEMENT FOR IMPLEMENTING THE METHOD | |
| EP0353660B1 (en) | Fault prevention method in memory systems of data-processing installations, in particular telephone exchanges | |
| DE102004043063A1 (en) | Semiconductor device e.g. ROM, operating method, involves operating pin of device in normal operation mode as application-function-pin, where pin is operated in two test operating modes as test pin and application-function pin, respectively | |
| DE102018201710A1 (en) | Method and device for checking a function of a neural network | |
| DE102004024942B3 (en) | A memory circuit and method for reading out a specific operating information contained in the memory circuit | |
| DE2846890A1 (en) | Test system for random access memories - writes cell address into cell and then compares reading with read cell address for fault indication | |
| DE102016224253A1 (en) | Method for monitoring a sensor system of a vehicle and sensor system | |
| EP0453609A1 (en) | Procedure for testing of a smallest addressable unit of a RAM for bit errors exceeding a fixed number |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 8110 | Request for examination paragraph 44 | ||
| 8120 | Willingness to grant licenses paragraph 23 | ||
| R016 | Response to examination communication | ||
| R002 | Refusal decision in examination/registration proceedings | ||
| R003 | Refusal decision now final |
Effective date: 20130111 |