Management method of watchdog circuit of fault-tolerant control system

A management method and fault-tolerant control technology, applied in the field of watchdog circuit management of fault-tolerant control systems, can solve the problems of inability to analyze the cause of the fault afterwards, not recording the software scene, and repeatedly resetting the faulty system, so as to avoid the system from being degraded too quickly.

Active Publication Date: 2012-02-22
AVIC NO 631 RES INST
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In most embedded applications, the watchdog will directly cause the system to reset when it times out. In a few embedded applications, the watchdog will generate an interrupt after the watchdog times out and then the program will stop running.
However, in a highly reliable N-mode redundant system such as a flight control system, it is unacceptable to directly reset the system due to watchdog timeout
First of all, if the fault source is not eliminated, it will cause the fault system to reset repeatedly, and become a fault source that continuously interferes with other computer systems in the redundancy system. Secondly, the software scene when the dog barking occurs is not recorded, and the cause of the fault cannot be analyzed afterwards.
Shutdown after watchdog failure also has the disadvantage of degrading the system too quickly

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Management method of watchdog circuit of fault-tolerant control system
  • Management method of watchdog circuit of fault-tolerant control system
  • Management method of watchdog circuit of fault-tolerant control system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] see figure 1 , figure 2 , the present invention proposes a watchdog circuit management method for a fault-tolerant control system, the method comprising the following steps:

[0035] 1) Power on the system;

[0036] 2) The system watchdog circuit is reset, and the watchdog timer is cleared;

[0037] 3) After the reset is completed, the watchdog timer starts counting, and the timing period is preset to be between the watchdog fault recovery task cycle (iterated by 2 times the minimum control cycle) and the watchdog fault management cycle (4 times the minimum control cycle) cycle iteration);

[0038] 4) The application program performs the software dog feeding operation in each minimum control cycle; the fault management task is executed every four control cycles to check whether there is a fault flag set in step 8.3), and the fault recovery task is executed every 2 control cycles to check whether there is Step 4.1) the startup mark that is set; If the fault manageme...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a management method of a watchdog circuit of a fault-tolerant control system, which comprises the following steps of: 1, electrifying the system; 2, resetting the watchdog circuit of the system, clearing a watchdog timer; 3, starting the timing by the watchdog timer, presetting a timing period between a watchdog failure recovery task period and a watchdog failure management period; 4, carrying out software input operation by an application program in each minimum control period; 5, judging whether the application program carries out input operation in the timing period; 6, enabling the output of the watchdog circuit to be effective, keeping enough pulse width for enabling the system to enter interrupt service time; 7, judging whether the system in a debugging development state; and 8, generating an interrupt signal of a processor by the watchdog circuit, latching a failure indication signal, prohibiting a failure computer from outputting a command, and inhibiting the failure from spreading. The management method of the watchdog circuit of the fault-tolerant control system is used for carrying out failure recovery through failure management after the failure occurs, thus the fault-tolerant capability of the system is improved.

Description

technical field [0001] The invention relates to a fault-tolerant control system, in particular to a watchdog circuit management method of the fault-tolerant control system. Background technique [0002] In the embedded computer system, in order to prevent the software from running away or entering an endless loop due to external interference, a hardware watchdog circuit is usually designed. The software should trigger the watchdog circuit (commonly known as feeding the dog) within the specified time period, otherwise the watchdog circuit will notify the system through a hardware signal (dog barking signal) to generate a system reset or interrupt. In most embedded applications, when the watchdog times out, the system will be reset directly. In a few embedded applications, an interrupt will be generated after the watchdog times out, and then the program will stop running. However, in a highly reliable N-mode redundant system such as a flight control system, it is unacceptable...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/07
Inventor 徐奡陈益解文涛郑毓琦程俊强
Owner AVIC NO 631 RES INST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products