DE10007952B4 - Process for processing self-diagnosis - Google Patents
Process for processing self-diagnosis Download PDFInfo
- Publication number
- DE10007952B4 DE10007952B4 DE2000107952 DE10007952A DE10007952B4 DE 10007952 B4 DE10007952 B4 DE 10007952B4 DE 2000107952 DE2000107952 DE 2000107952 DE 10007952 A DE10007952 A DE 10007952A DE 10007952 B4 DE10007952 B4 DE 10007952B4
- Authority
- DE
- Germany
- Prior art keywords
- diagnosis
- self
- test
- watchdog
- error
- 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.)
- Expired - Lifetime
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0751—Error or fault detection not based on redundancy
- G06F11/0754—Error or fault detection not based on redundancy by exceeding limits
- G06F11/0757—Error or fault detection not based on redundancy by exceeding limits by exceeding a time limit, i.e. time-out, e.g. watchdogs
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0428—Safety, monitoring
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B9/00—Safety arrangements
- G05B9/02—Safety arrangements electric
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- Debugging And Monitoring (AREA)
Abstract
Verfahren
zur Durchführung
einer zyklischen Eigendiagnose mit Fehlererkennung und Fehlersignalausgabe
in einem Verarbeitungsgerät
(1),
– das
einen Mikroprozessor und einen Hardware-Watchdog (6) sowie gegebenenfalls
weitere, in die Eigendiagnose der Hard- und Software einbezogene
Hardware-Komponenten, wie Datenspeicher oder Kommunikationseinrichtungen
enthält,
und
– in
dem Programme zur Durchführung
der Eigendiagnose gespeichert sind, die während des Prozessorbetriebs
im Hintergrund durchgeführt
wird,
– zur
Durchführung
der Eigendiagnose miteinander durch Testgruppennummern verkettete
Testgruppen verwendet werden und die verketteten Testgruppen mittels
eines Programms zur zeitlichen Programmlaufüberwachung (3) periodisch aufgerufen
werden dadurch gekennzeichnet, dass
a) vor Beginn des Prozessorbetriebs
ein Grundstock-Befehlssatz der Eigendiagnose-Programme als fehlerfrei
definiert wird, der während
des Betriebs als fehlerfreier Grundstock-Befehlssatz zur Durchführung der
Eigendiagnose mittels der miteinander durch Testgruppennummern verketteten
Testgruppen der Eigendiagnose-Programme verwendet wird, und
b)
der Ablauf einer Testgruppe unter Einschluß einer Prüfung der Testgruppennummern-Folge
jeweils mit der Generierung eines vom Grundstock-Befehlssatz bereitgestellten Triggersignals
(5) abgeschlossen...Method for carrying out a cyclic self-diagnosis with error detection and error signal output in a processing device (1),
- Which contains a microprocessor and a hardware watchdog (6) and optionally further, included in the self-diagnosis of the hardware and software hardware components, such as data storage or communication facilities, and
- in which self-diagnosis programs are stored, which are performed in the background while the processor is running,
- be used to perform self-diagnosis with each other by test group numbers chained test groups and the chained test groups are called periodically by means of a program for temporal program monitoring (3), characterized in that
a) before start of the processor operation, a basic instruction set of the self-diagnosis programs is defined as error-free, which is used during operation as error-free foundation instruction set for performing the self-diagnosis using the self-diagnosis programs linked together by test group numbers, and
b) the execution of a test group, including a test of the test group number sequence, is completed in each case with the generation of a trigger signal (5) provided by the basic instruction set.
Description
Die Erfindung bezieht sich auf ein Verfahren zur Durchführung einer zyklischen Eigendiagnose mit Fehlererkennung und Fehlersignalausgabe in einem Verarbeitungsgerät.The The invention relates to a method for carrying out a cyclic self-diagnosis with error detection and error signal output in a processing device.
Ein solches Verarbeitungsgerät ist beispielsweise ein Sicherheits-Controller für Schutzsysteme in einem Kraftwerksprozess, beispielsweise für den Kesselschutz oder zur Brennersteuerung.One such processing device is, for example, a safety controller for protective systems in a power plant process, for example the boiler protection or burner control.
Für ein Schutzsystem in einem derartigen Anwendungsgebiet wird sowohl eine hohe Fehlersicherheit als auch eine entsprechend hohe Anlagenverfügbarkeit gefordert. Aus diesen Gründen basieren übliche Systemkonzepte in der Systemebene auf einem dreikanaligen 2-von-3-Schutzsystem. In der weiteren Beschreibung wird unterstellt, daß die Abschaltung des Prozesses die adäquate sicherheitsgerichtete Maßnahme ist.For a protection system In such an area of application both a high level of error safety becomes possible as well as a correspondingly high plant availability demanded. From these establish are common Systems concepts at the system level on a 3-channel 2-of-3 protection system. In the further description it is assumed that the shutdown the process the adequate one safety-related measure is.
Jeder Schutzkanal des Schutzsystems besteht aus einem zentralen Verarbeitungsgerät, auf dem sich auch die Kommunikationsschnittstellen für eine Kommunikation mit Nachbarkanälen befinden. Daneben gibt es zugehörige Ein-/Ausgabegeräte für Verbindungen zum Prozess. Eine vorhandene 2-von-3-Bewertung entscheidet auf der Basis der Ausgangssignale der drei Kanäle über eine Abschaltung.Everyone Protection channel of the protection system consists of a central processing unit on which the communication interfaces for communication with neighboring channels are also located. Besides there are associated ones Input / output devices for connections to the process. An existing 2-of-3 rating decides on the Base the output signals of the three channels via a shutdown.
Zur Erfüllung von Sicherheitsanforderungen an das Schutzsystem ist es erforderlich, daß neben der strukturellen Auslegung der Systemebene zusätzliche Maßnahmen zur Beherrschung von Fehlern unterhalb der Systemebene eingebunden werden. Unter diesen Maßnahmen versteht man insbesondere eine Eigendiagnose und zyklische Selbsttests, die alle zentralen Hardware-Komponenten eines Prozessorgeräts wie Mikroprozessor, Programm- und Daten-Speicher, zeitliche Programmlaufüberwachungen (Watchdog), Kommunikationseinrichtungen und Stromversorgung betreffen. Maßnahmen zur Erfüllung der Sicherheitsanforderungen müssen Vorgaben nach DIN VDE 0116 sowie der Anforderungsklasse 5 nach DIN VDE 0801 entsprechen.to fulfillment safety requirements for the protection system, it is necessary that next to the structural design of the system level additional measures for the control of Errors below the system level are involved. Under these activities In particular, self-diagnosis and cyclic self-tests are understood the all central hardware components of a processor device like microprocessor, Program and data memory, temporal program monitoring (Watchdog), communications equipment and power relate. activities to fulfillment of security requirements Specifications according to DIN VDE 0116 as well as requirement class 5 according to DIN VDE 0801 correspond.
Die
Druckschrift
In
der Druckschrift
Die Prüfung eines Prozessors mittels eines Selbsttestes ist auch in Hunger A. „Mikroprozessor-Selbsttest auf der Basis des Befehlssatzes", in: Elektronische Rechenanlagen 1982 beschrieben.The exam a processor by means of a self-test is also in hunger A. "Microprocessor self-test on the basis of the instruction set ", in: Electronic Computing Systems 1982 described.
Ein von der Eigendiagnose des Computersystems erkannter Fehler führt dabei zur Auslösung von Funktionen innerhalb des Computers.One The error detected by the self-diagnosis of the computer system leads to this to trigger Functions within the computer.
Die Erfindung bezieht sich auf den speziellen Aspekt der Eigendiagnose eines für Schutzsysteme geeigneten Verarbeitungsgerätes, das einen Mikroprozessor (CPU) enthält.The This invention relates to the specific aspect of self-diagnosis one for Protection systems suitable processing equipment that uses a microprocessor (CPU) contains.
Bisher eingesetzten Verfahren sehen auch einen einfachen CPU-Test während des System-Starts vor. Im laufenden Betrieb findet eine Programmlaufüberwachung mittels eines Hardware-Watchdogs statt, der im Fehlerfall, d.h. bei Ausfall von Triggersignalen, einen Reset der CPU bewirkt.So far procedures used also see a simple CPU test during the System launches ago. During operation, there is a program monitoring by means of a hardware watchdog, which in the event of an error, i. in case of failure of trigger signals, a reset of the CPU causes.
Der jeweils vorhandene Relaisausgang des Verarbeitungsgeräts, über den in einem Fehlerfall die Prozessausgänge abgeschaltet werden können, wird direkt aus der Systemsoftware bedient und repräsentiert den aktuellen Betriebszustand.Of the each existing relay output of the processing device, via the In case of an error the process outputs can be switched off, becomes direct operated from the system software and represents the current operating state.
Nachteilig ist jedoch, daß während des laufenden Betriebs kein CPU-Test stattfindet. Die übliche Implementierung des Hardware-Watchdogs mit der Fehlerreaktion in Form eines Resets des Prozessorboards läßt keinen zyklischen Funktionstest zu. Die Triggerbandbreite zur Laufzeitüberwachung im Hardware-Watchdog ist zu groß, um den Anforderungen zu genügen. Die Ansteuerung des Relaisausgangs kann in bestimmten Fehlersituationen zur Blockierung der Abschaltung führen.adversely is, however, that during the ongoing operation no CPU test takes place. The usual implementation of the hardware watchdog with the error reaction in the form of a reset the processor board does not leave any cyclic function test too. The trigger bandwidth for runtime monitoring in the hardware watchdog is too big to meet the requirements. The control of the relay output can in certain error situations to block the shutdown.
Der Erfindung liegt die Aufgabe zugrunde, ein bezüglich Sicherheit und Reaktionszeit verbessertes Verfahren zur Verarbeitungsgerät-Eigendiagnose anzugeben.Of the Invention is based on the object with respect to safety and reaction time specify an improved method for processing device self-diagnosis.
Diese Aufgabe wird durch ein Eigendiagnose-Verfahren mit den im Anspruch 1 angegebenen Merkmalen gelöst.These Task is by a self-diagnosis method with the in the claim 1 specified characteristics solved.
Vorteilhafte Ausgestaltungen sind in weiteren Ansprüchen angegeben.Advantageous embodiments are in wide ren claims.
Das vorgeschlagene Verfahren ermöglicht es, eine zeitliche Programmlaufüberwachung mit einem Test der Verarbeitungseinrichtung zu kombinieren. Ein im Testlauf generiertes Triggersignal wird mittels eines Fenster-Watchdogs überwacht, dessen Zeitfenster eng gewählt ist. Die Funktion des Watchdogs kann durch einen periodischen überlagerten Testzyklus geprüft werden. Es stehen zwei voneinander unabhängige Abschaltwege zur Verfügung. Das Verfahren hat außerdem den Vorteil, daß auch ein Fehler in einem als fehlerfrei vorausgesetzten Befehlssatz erkannt wird, da eine auf einem fehlerhaften Befehl basierende Triggersignal-Generierung ebenfalls fehlerhaft wäre und zur Auslösung einer Fehlersignalausgabe führen würde. Es läßt sich eine sichere und schnelle Fehlererkennung erreichen; beim Mikroprozessortest erfolgt eine Fehlererkennung innerhalb von weniger als 100 ms, beim zusätzlichen Watchdog-Test innerhalb von weniger als 3 s.The proposed method makes it possible a temporal program monitoring to combine with a test of the processing device. One test signal generated in the test run is monitored by means of a window watchdog, whose time window was narrowly selected is. The function of the watchdog can be achieved by a periodic overlaid test cycle checked become. There are two independent shutdown paths available. The procedure has as well the advantage of that too detected an error in a command set assumed to be error-free because there is a trigger signal generation based on a faulty instruction would also be faulty and to trigger lead to an error signal output would. It can be achieve a safe and fast error detection; at the microprocessor test an error detection occurs within less than 100 ms, during the additional watchdog test within less than 3 s.
Eine weitere Beschreibung des Verfahrens erfolgt nachstehend anhand eines in der Zeichnung dargestellten Ausführungsbeispiels.A Further description of the method is given below with reference to a in the drawing illustrated embodiment.
Eine
zeitliche Programmlaufüberwachung
Bei einer – wie im vorliegenden Fall – mittels Software gelösten CPU-Eigendiagnose besteht das grundsätzliche Problem, daß von einem Befehlssatz ausgegangen werden muß, der als fehlerfrei angenommen wird.at one - like in the present case - by means of software dissolved CPU self-diagnosis is the fundamental problem that of a Command set must be assumed that accepted as error-free becomes.
Erfindungsgemäß wird eine
für eine
Triggersignal-Generierung
Auf dem Grundstock-Befehlssatz läßt sich der CPU-Test aufbauen, wobei nach und nach ein Set geprüfter Instruktionen für den Test zunächst einfacher und dann komplexerer Befehle entsteht. Auf diese Weise wird der gesamte Befehlssatz getestet.On the foundation instruction set can be the Build CPU test, gradually adding a set of validated instructions for the Test first simple and then more complex commands. In this way the entire instruction set is tested.
Der
Fenster-Watchdog
Bei
fehlerhaftem Triggersignal bildet der Fenster-Watchdog
Da die Hardware des Fenster-Watchdogs ebenfalls fehlerbehaftet sein kann, wird durch zyklische Tests die einwandfreie Funktion geprüft. Im Rahmen der Triggersignal-Generierung wird daher eine Mode-Umschaltung vorgenommen, wobei zwischen Normal- und Testbetrieb zyklisch gewechselt wird.There the hardware of the window watchdog also be faulty can, is tested by cyclic tests, the proper function. As part of the trigger signal generation is therefore a mode switching made whereby between normal and test operation is changed cyclically.
Das
Watchdog-Testprogramm
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE2000107952 DE10007952B4 (en) | 2000-02-22 | 2000-02-22 | Process for processing self-diagnosis |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE2000107952 DE10007952B4 (en) | 2000-02-22 | 2000-02-22 | Process for processing self-diagnosis |
Publications (2)
Publication Number | Publication Date |
---|---|
DE10007952A1 DE10007952A1 (en) | 2001-09-06 |
DE10007952B4 true DE10007952B4 (en) | 2006-02-02 |
Family
ID=7631781
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
DE2000107952 Expired - Lifetime DE10007952B4 (en) | 2000-02-22 | 2000-02-22 | Process for processing self-diagnosis |
Country Status (1)
Country | Link |
---|---|
DE (1) | DE10007952B4 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2088485A1 (en) * | 2008-02-06 | 2009-08-12 | Siemens Aktiengesellschaft | Monitoring of a device or installation with a safety-oriented function and method therefor |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE3790186C2 (en) * | 1986-03-31 | 1992-12-17 | Mirowski, Mieczyslaw, Owings Mills, Md., Us | |
DE3728561C2 (en) * | 1987-08-27 | 1997-08-21 | Vdo Schindling | Method for checking a monitoring device for a microprocessor |
-
2000
- 2000-02-22 DE DE2000107952 patent/DE10007952B4/en not_active Expired - Lifetime
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE3790186C2 (en) * | 1986-03-31 | 1992-12-17 | Mirowski, Mieczyslaw, Owings Mills, Md., Us | |
DE3728561C2 (en) * | 1987-08-27 | 1997-08-21 | Vdo Schindling | Method for checking a monitoring device for a microprocessor |
Non-Patent Citations (2)
Title |
---|
HÖLSCHER, H.,RADER, J.: Mikrocomputer in der Sicherheitstechnik, Verlag TÜV Rheinland Köln, 1984, S. 7-5, 7-6, 7-73, 7-74 * |
HUNGER, A., Mikroprozessor-Selbsttest auf der Basis des Befehlssatzes. In: Elektronische Rech- neranlagen 1982, Heft 1, S. 8-15 * |
Also Published As
Publication number | Publication date |
---|---|
DE10007952A1 (en) | 2001-09-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE102018113625A1 (en) | ERROR INJECTION TESTING DEVICE AND METHOD | |
DE60309928T2 (en) | PROCESS FOR INCREASING THE SAFETY INTEGRITY LEVEL OF A CONTROL SYSTEM | |
EP3657288B1 (en) | Safe voltage monitoring | |
EP1265146A2 (en) | Debugging method and system | |
EP3841438A1 (en) | Automation system for monitoring a safety-critical process | |
DE102011081477A1 (en) | interlocking computers | |
DE10219501A1 (en) | Error management method, especially for automation systems, requires checking for errors in critical safety data | |
EP3073333B1 (en) | Burner assembly with a safety device | |
DE102019131865A1 (en) | METHOD AND DEVICE FOR SELF-DIAGNOSTICING THE RAM ERROR DETECTION LOGIC OF A DRIVELINE CONTROLLER | |
DE102012023350B4 (en) | Systems, circuits and a method for generating configurable feedback | |
EP1807760B1 (en) | Data processing system with a variable clock speed | |
EP2239752B1 (en) | Secure switching device and modular error-proof control system | |
DE2922843A1 (en) | METHOD AND EQUIPMENT FOR TESTING ELECTRICAL SYSTEMS | |
DE10007952B4 (en) | Process for processing self-diagnosis | |
DE102008043374A1 (en) | Device and method for generating redundant but different machine codes from a source code for verification for a safety-critical system | |
WO2020038627A1 (en) | Automation system for monitoring a safety-critical process | |
EP0864875B1 (en) | Method for testing a safety circuit | |
EP1224480B1 (en) | Programme-controlled unit and method for identifying and/or analysing errors in programme-controlled units | |
WO2018050491A1 (en) | Monitoring security-relevant functions by means of a non-secure computing unit | |
DE19805819B4 (en) | Method for monitoring integrated circuits | |
DE102022207612A1 (en) | Computer-implemented method for verifying a software component of an automated driving function | |
DE202008012472U1 (en) | Optoelectronic sensor | |
DE2505475C3 (en) | Method and device for checking errors in a programmable logic unit for the execution of logical operations | |
DE102005045399A1 (en) | Data processing system, has monitoring unit connected to clock generator to lower frequency of clock signal when it has been established that monitoring unit is functioning improperly | |
DE2237925B2 (en) | Automatic sporadic computer error detection and correction - using auxiliary computer unit with diagnostic and recovery routines |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
OM8 | Search report available as to paragraph 43 lit. 1 sentence 1 patent law | ||
OP8 | Request for examination as to paragraph 44 patent law | ||
8127 | New person/name/address of the applicant |
Owner name: ABB PATENT GMBH, 68526 LADENBURG, DE |
|
8120 | Willingness to grant licences paragraph 23 | ||
8364 | No opposition during term of opposition | ||
8327 | Change in the person/name/address of the patent owner |
Owner name: ABB AG, 68309 MANNHEIM, DE |
|
R081 | Change of applicant/patentee |
Owner name: ABB AB, SE Free format text: FORMER OWNER: ABB AG, 68309 MANNHEIM, DE Owner name: ABB TECHNOLOGY AG, CH Free format text: FORMER OWNER: ABB AG, 68309 MANNHEIM, DE Owner name: ABB SCHWEIZ AG, CH Free format text: FORMER OWNER: ABB AG, 68309 MANNHEIM, DE |
|
R081 | Change of applicant/patentee |
Owner name: ABB TECHNOLOGY AG, CH Free format text: FORMER OWNER: ABB AB, VAESTERAS, SE Owner name: ABB SCHWEIZ AG, CH Free format text: FORMER OWNER: ABB AB, VAESTERAS, SE |
|
R081 | Change of applicant/patentee |
Owner name: ABB SCHWEIZ AG, CH Free format text: FORMER OWNER: ABB TECHNOLOGY AG, ZUERICH, CH |
|
R071 | Expiry of right |