CN2599652Y - Entrance guard dog checking circuit - Google Patents

Entrance guard dog checking circuit Download PDF

Info

Publication number
CN2599652Y
CN2599652Y CNU022891382U CN02289138U CN2599652Y CN 2599652 Y CN2599652 Y CN 2599652Y CN U022891382 U CNU022891382 U CN U022891382U CN 02289138 U CN02289138 U CN 02289138U CN 2599652 Y CN2599652 Y CN 2599652Y
Authority
CN
China
Prior art keywords
dog
signal
counter
clear
processor
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
Application number
CNU022891382U
Other languages
Chinese (zh)
Inventor
李延松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNU022891382U priority Critical patent/CN2599652Y/en
Application granted granted Critical
Publication of CN2599652Y publication Critical patent/CN2599652Y/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

A dog clearance circuit for watchdogs is arranged between a processor and a watchdog timer, including a decoder, address signals form the processor, data signals, an input terminal to input write signals into the decoder, as well as a counter and a counting enable controller. Wherein, the output terminal of the decoder is connected with the clear terminal of the counter; the external clock signals from the dog clearance circuit for watchdogs are input to the clock terminal of the counter; any output signal of the counter is treated as dog clearance signal and input to the dog clearance terminal of the watchdog timer; one or more than one output signal of the counter is respectively input to the input terminal of the counting enable controller; the output terminal of the counting enable controller is connected with the enable terminal of the counter; and the control signal from the processor is input to the selection input terminal of the counting enable terminal. The utility model solves the problem of being unable to handle the dog clearance in time when the processor is busy and flexibly sets up or adjusts the time interval of dog clearance by processor.

Description

The clear dog circuit of a kind of house dog
Technical field
The utility model relates to processor monitoring field, specifically, relates to the clear dog circuit of a kind of house dog.
Background technology
In built-in fields such as network service, process control, intelligence instruments, the reliability of system is an important indicator.Under the electromagnetic interference (EMI) in the external world, processor may cause service disconnection even accident because deadlock appears in address or error in data.For fear of human intervention, usually require system to return to original state by automatically reseting, restart operation then.Usually, adopt the processor supervisory circuit to come the assurance system to recover normal operation from soft, hard error, described processor supervisory circuit is called WatchDog Timer (WDT) again.
The ultimate principle of WDT is: when the processor operate as normal, processor constantly sends clear dog pulse to WDT in the official hour interval, when processor crashes, because inner treater can not send clear dog pulse to WDT at the official hour interval, WDT will produce reset signal with processor reset, after this, processor restarts executive routine, and continues clear on time dog.
In the embedded system of using WDT, adopt clear dog mode as shown in Figure 1 usually.Programmable logic device (PLD) (PLD, Programmable Logic Device) address signal, data-signal and the write signal of from processor are deciphered, export clear dog signal at a certain time interval and give the clear dog end WDI of WDT circuit, the reset signal of WDT circuit output is then given processor and other important circuit.
Yet, because processor heavy traffic sometimes, cause processor to surpass the maximum clear dog time interval and can't export clear dog signal, cause WDT to take for processor and break down and maloperation takes place, export reseting signal reset processor and total system, thereby cause the termination of regular traffic.
For example, the processor supervisory circuit is ADM706 or MAX706 WatchDog Timer, and the maximum clear dog time interval of its requirement is 1.6 seconds, and can not revise.If processor is in time unclear dog in 1.6 seconds, WDT will export reseting signal reset processor and total system, the operation of termination handler regular traffic.
Although now adjustable processor supervisory circuit of the clear dog time interval occurred, be to use not extensively, cost is also higher, and the time interval adjustable extent of clear dog can not be provided with according to actual needs flexibly.
The utility model content
The purpose of this utility model is to provide a kind of house dog clear dog circuit, solving under the situation of processor heavy traffic the problem of clear dog in time, and is provided with or adjusts the time interval of the clear dog of processor as required flexibly.
The utility model is realized by following concrete technical scheme:
The clear dog circuit of a kind of house dog, between processor and WatchDog Timer, comprise a code translator, the address signal of from processor, data-signal, and write signal inputs to the input end of described code translator, the clear dog circuit of described house dog comprises that also counter and counting enable controller, wherein, the output terminal of code translator is connected to the clear terminal of counter, input to the clock end of counter from the clock signal of the clear dog circuit of house dog outside, arbitrary count output signal of counter inputs to the clear dog end of WatchDog Timer as clear dog signal, the one or more count output signal of counter inputs to the input end that described counting enables controller respectively, count the Enable Pin that the output terminal that enables controller is connected to counter, the control signal of from processor inputs to the selection input end that counting enables controller.
The output signal of the rolling counters forward output terminal that links to each other with the clear dog end of described WatchDog Timer satisfies the requirement of the clear dog signal frequency of watchdog circuit.
Enabling the time interval that rolling counters forward output terminal that the input end of controller links to each other exports the required prolongation of clear dog signal according to processor with described counting chooses.
Described counting enables controller and imports one tunnel selection circuit of exporting for the N road, and wherein N delivers to the way of described selection circuit for the rolling counters forward output signal.
Described code translator, counter and counting enable controller and can be realized by programmable logic device (PLD).
Described clock signal is a monoboard clock signal.
The utility model set up a counter before the clear dog end of WDT and counting enables controller, has following characteristics:
(1) owing to export the clear dog end that clear dog signal is delivered to WDT with the output signal simulation processor of counter, solved processor can not be in time when heavy traffic the problem of dog clearly, need not processor and participate in clear dog.
(2) because according to the requirement of watchdog circuit to clear dog signal, the output signal of the various frequencies of gated counter makes the clear dog circuit of this house dog be applicable to the WatchDog Timer of various chip models as clear dog signal neatly.
(3) according to time of the required prolongation of the time interval of the clear dog of processor, the output signal that any output signal of choosing counter neatly enables controller as counting feeds back to the Enable Pin of counter, counting with control counter, thereby realized being provided with or adjusting flexibly as required the time interval of the clear dog of processor, and when processor is carried out time-consuming operation, can not cause the veneer exceptional reset owing to having little time clearly dog.
(4) because enabling all available PLD of controller, the counter, code translator, the counting that are adopted realize that for the veneer that uses the PLD circuit, change and only limit to PLD inside, the hardware configuration of veneer changes little, has simplified design soft, hardware.
Description of drawings
Fig. 1 is the clear dog mode synoptic diagram of prior art;
Fig. 2 exports the circuit theory diagrams in the time interval of clear dog signal for prolonging processor;
Fig. 3 is the oscillogram of the clear dog circuit of the utility model house dog.
Embodiment
For make the purpose of this utility model, technical scheme, and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the utility model is further described.
The utility model is exported the time interval of clear dog signal in order to prolong processor, before the clear dog end of WDT, set up a counter and counting enables controller, export clear dog signal and deliver to the clear dog end of WDT with the output signal simulation processor of counter, enable the gate time of controller control counter with counting, with realization be set the time interval of dog clearly as required flexibly, and processor needn't be exported clear dog signal at interval by the maximum time of WDT.
Referring to shown in Figure 2, Fig. 2 exports the circuit theory diagrams in the time interval of clear dog signal for prolonging processor.The clear dog circuit of this house dog comprises that at least code translator, counter, counting enable controller, in Fig. 2, is that example illustrates with 8 digit counters.The address signal of from processor, data-signal and write signal input to the input end of code translator, and the output signal of code translator is delivered to the clear terminal of counter as the reset signal of counter; Deliver to the clock end of counter as the count pulse of counter from the clock signal of veneer, arbitrary count output signal of counter output is delivered to the clear dog end of WDT as clear dog signal, because the count output signal cycle of the different terminal count outputs of counter is all inequality, can require to select according to the clear dog signal frequency of WDT circuit, as long as clear dog signal exists always, the WDT circuit just can be with processor reset, for example, and with the terminal count output Q of counter among Fig. 2 0Output signal export the clear dog end of WDT to as clear dog signal; Export the time of the required prolongation of the time interval of clear dog signal according to processor, one or more count output signals of choosing counter input to the input end that counting enables controller, count the output signal that enables controller and deliver to the counting Enable Pin of counter, the control signal of from processor is delivered to the selection input end that counting enables controller, in Fig. 2, the input signal that counting enables controller is taken from high 4 terminal count output signals of counter, and this circuit can be imported 4 of 1 tunnel output and select one to select circuit for one 4 the tunnel.Described counting enables controller two effects, and the one, be used for the control that enables of counter, i.e. counting or maintenance, in case reach predefined count value, counter will stop counting, no longer exports clear dog signal simultaneously; The 2nd, the output signal of counter is selected, promptly, enable the output signal of control signal by the road signal of selecting signal to choose in the input signal that counting enables controller as counting, the time interval of therefore clear dog can be chosen flexibly according to actual conditions.
Above-mentioned code translator, counter, counting enable controller and can use discrete circuit to realize, also available programmable logic device (PLD) realizes.
Further specify the principle of work of this clear dog circuit below in conjunction with the oscillogram of clear dog circuit shown in Figure 3.
When the address of processor output appointment, data and write signal, low level width of code translator output is greater than the output signal of clock period, with counter O reset, counter restarts counting, the signal that the counter output signal frequency is satisfied the clear dog semaphore request of WDT is as clear dog signal, promptly, the clear dog signal period is less than the maximum clear dog time interval of clear dog signal among the figure, for example ADM706 or MAX706 WatchDog Timer, the clear dog signal period should be less than 1.6 seconds, when the zero clearing of the decoded once more device output signal of counter, counter is counted again.Interval between above-mentioned adjacent two code translator output low level signals is the actual clear dog time interval of processor, and in this time interval, processor does not participate in generating clear dog signal, therefore prolonged the clear dog time interval of processor, needn't worry that processor can't clear on time dog because of heavy traffic.
In addition, also can enable controller by counting comes the control counter counting to reach predetermined count value.For example, if enabling controller, counting chooses counter output Q 4Output signal as the control that enables of counter, then as counter Q 4Output is during high level, and counting arrives predetermined count value, and counter just stops counting, no longer exports clear dog signal simultaneously, if clock signal period is 1 second, then can be by the regularly clear dog of clear dog circuit in 32 seconds, and do not need processor to participate in.Therefore, the output signal of gated counter output terminal enables the input signal of controller as counting neatly, suitably select clock signal period, the maximum time that can realize the clear dog of processor choosing flexibly at interval, even when no code translator output signal zero clearing, also can be set in certain time interval and provide dog signal clearly, break away from the restriction of code translator output signal by counter.In this case, be to guarantee reliability, must be before counter stops counting the clear once more dog of processor.

Claims (6)

1, the clear dog circuit of a kind of house dog, between processor and WatchDog Timer, comprise a code translator, the address signal of from processor, data-signal, and write signal inputs to the input end of described code translator, it is characterized in that, the clear dog circuit of described house dog comprises that also counter and counting enable controller, wherein, the output terminal of code translator is connected to the clear terminal of counter, input to the clock end of counter from the clock signal of the clear dog circuit of house dog outside, the output signal of arbitrary terminal count output of counter inputs to the clear dog end of WatchDog Timer as clear dog signal, the one or more output signal of counter inputs to the input end that described counting enables controller respectively, count the Enable Pin that the output terminal that enables controller is connected to counter, the control signal of from processor inputs to the selection input end that counting enables controller.
2, the clear dog circuit of house dog according to claim 1 is characterized in that, the output signal of the rolling counters forward output terminal that links to each other with the clear dog end of described WatchDog Timer satisfies the requirement of the clear dog signal frequency of watchdog circuit.
3, the clear dog circuit of house dog according to claim 1 is characterized in that, enables the time interval that rolling counters forward output terminal that the input end of controller links to each other exports the required prolongation of clear dog signal according to processor with described counting and chooses.
4, the clear dog circuit of house dog according to claim 1 is characterized in that, described counting enables controller and imports one tunnel selection circuit of exporting for the N road, and wherein N delivers to the way of described selection circuit for the rolling counters forward output signal.
5, the clear dog circuit of house dog according to claim 1 is characterized in that, described code translator, counter and counting enable controller and realized by programmable logic device (PLD).
6, the clear dog circuit of house dog according to claim 1 is characterized in that, described clock signal is a monoboard clock signal.
CNU022891382U 2002-12-04 2002-12-04 Entrance guard dog checking circuit Expired - Lifetime CN2599652Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNU022891382U CN2599652Y (en) 2002-12-04 2002-12-04 Entrance guard dog checking circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNU022891382U CN2599652Y (en) 2002-12-04 2002-12-04 Entrance guard dog checking circuit

Publications (1)

Publication Number Publication Date
CN2599652Y true CN2599652Y (en) 2004-01-14

Family

ID=34151223

Family Applications (1)

Application Number Title Priority Date Filing Date
CNU022891382U Expired - Lifetime CN2599652Y (en) 2002-12-04 2002-12-04 Entrance guard dog checking circuit

Country Status (1)

Country Link
CN (1) CN2599652Y (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006081735A1 (en) * 2005-02-01 2006-08-10 Emerson Network Power Co., Ltd. A watch dog control method
CN101116070B (en) * 2004-12-23 2010-06-09 微软公司 System and method to lock TPM always 'on' using a monitor
CN104035536A (en) * 2014-06-18 2014-09-10 中国船舶重工集团公司第七二二研究所 Monitoring and reset control method of embedded system
CN104503860A (en) * 2014-12-31 2015-04-08 深圳市航盛电子股份有限公司 Embedded device low-power-consumption watchdog utilization method
CN111309508A (en) * 2020-02-18 2020-06-19 西安微电子技术研究所 Embedded type satellite-borne computer watchdog circuit and working method thereof
CN111352755A (en) * 2018-12-24 2020-06-30 比亚迪股份有限公司 Hardware watchdog equipment and electronic control circuit board

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101116070B (en) * 2004-12-23 2010-06-09 微软公司 System and method to lock TPM always 'on' using a monitor
WO2006081735A1 (en) * 2005-02-01 2006-08-10 Emerson Network Power Co., Ltd. A watch dog control method
CN100405307C (en) * 2005-02-01 2008-07-23 艾默生网络能源有限公司 Watchdog control method
CN104035536A (en) * 2014-06-18 2014-09-10 中国船舶重工集团公司第七二二研究所 Monitoring and reset control method of embedded system
CN104503860A (en) * 2014-12-31 2015-04-08 深圳市航盛电子股份有限公司 Embedded device low-power-consumption watchdog utilization method
CN111352755A (en) * 2018-12-24 2020-06-30 比亚迪股份有限公司 Hardware watchdog equipment and electronic control circuit board
CN111352755B (en) * 2018-12-24 2022-05-13 比亚迪股份有限公司 Hardware watchdog equipment and electronic control circuit board
CN111309508A (en) * 2020-02-18 2020-06-19 西安微电子技术研究所 Embedded type satellite-borne computer watchdog circuit and working method thereof
CN111309508B (en) * 2020-02-18 2023-06-13 西安微电子技术研究所 Embedded type satellite-borne computer watchdog circuit and working method thereof

Similar Documents

Publication Publication Date Title
US8660995B2 (en) Flexible event data content management for relevant event and alert analysis within a distributed processing system
US9286143B2 (en) Flexible event data content management for relevant event and alert analysis within a distributed processing system
CN103324546B (en) A kind of method and device of watchdog service delay
US9201756B2 (en) Administering event pools for relevant event analysis in a distributed processing system
CN102681907B (en) Multifunctional watchdog circuit
CN100351738C (en) Automatic power down rebooting device
US9244805B2 (en) Method for generating descriptive trace gaps
CN103200249A (en) Method for achieving Internet of things intelligent data gateway system
CN103746831A (en) Alarm analysis method, device and system
CN101150809A (en) Method for arousing and stream control of mobile terminal processor serial port
CN2599652Y (en) Entrance guard dog checking circuit
CN104035536A (en) Monitoring and reset control method of embedded system
CN2681231Y (en) A watchdog circuit
CN101964724A (en) Energy conservation method of communication single plate and communication single plate
CN2713538Y (en) Watchdog control circuit
CN103605602A (en) Method for filtering out malfunctions of distributed computer system
CN103362678A (en) Automatic control device of diesel engine
CN104503885A (en) Timing door watching device and system
US9304890B2 (en) Method for throttling trace data streams
CN104216807B (en) A kind of spaceborne computer self-refresh cuts machine system
CN100539716C (en) The method that a kind of main and standby boards is monitored and switched automatically
CN2559168Y (en) Circuit for detection of clock loss
CN101707351B (en) Protection circuit for preventing microcomputer protection device against interference and error actions
CN100542076C (en) A kind of watchdog circuit input pulse time interval monitoring
CN105523210A (en) Intelligent counting method for flow filling machine and device for implementing method

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CX01 Expiry of patent term

Expiration termination date: 20121204

Granted publication date: 20040114