CN213987477U - Device with watchdog circuit - Google Patents

Device with watchdog circuit Download PDF

Info

Publication number
CN213987477U
CN213987477U CN202022730085.2U CN202022730085U CN213987477U CN 213987477 U CN213987477 U CN 213987477U CN 202022730085 U CN202022730085 U CN 202022730085U CN 213987477 U CN213987477 U CN 213987477U
Authority
CN
China
Prior art keywords
circuit
watchdog
power supply
reset
output end
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.)
Active
Application number
CN202022730085.2U
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.)
Embedway Technologies Shanghai Corp
Original Assignee
Embedway Technologies Shanghai Corp
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 Embedway Technologies Shanghai Corp filed Critical Embedway Technologies Shanghai Corp
Priority to CN202022730085.2U priority Critical patent/CN213987477U/en
Application granted granted Critical
Publication of CN213987477U publication Critical patent/CN213987477U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The utility model provides an use device that has watchdog circuit, include: the watchdog power supply is used for providing a working voltage signal for the watchdog circuit; the power supply port of the watchdog circuit is connected with the output end of the watchdog power supply; the signal input end of the enabling circuit is connected with the reset signal output end of the watchdog circuit, the output end of the enabling circuit is connected with the reset signal input end of a system power supply circuit of the device with the watchdog circuit, and the system power supply circuit is used for carrying out reset operation when the reset signal is obtained; the signal input end of the delay circuit is connected with the reset signal output end of the watchdog circuit, and the output end of the delay circuit is connected with the main control circuit in the device applying the watchdog circuit and the reset pins of other circuits with the reset pins, so that the complete protection of circuits in the device is realized.

Description

Device with watchdog circuit
Technical Field
The utility model relates to an electronic circuit technical field, concretely relates to use device that has watchdog circuit.
Background
With the rapid development of electronic technology, the higher the integration level of an IC, the richer the peripheral interface circuit, the larger the software scale, and the dramatically increased processing capability, which leads to the higher the stability requirement of an electronic device. And the electronic device is required to be able to recover from various unforeseen abnormalities quickly after the occurrence of the abnormalities, and loss is reduced to the maximum extent possible. In conventional electronic circuit devices, a common exception recovery technique is resetting a watchdog. However, such a conventional watchdog technology mainly plays a role in protecting software exception, and when software enters an exception and cannot normally respond to the watchdog, the watchdog circuit resets a part of circuits, so that the software of the system can be restarted and run, thereby recovering to normal. Therefore, a highly reliable watchdog circuit is needed.
For example, in the design of a server product, an independent BMC circuit is usually designed to monitor the power state of a server motherboard, and a watchdog circuit is used to reset the BMC circuit, so that after an abnormality occurs in a service server, the BMC can reset and power on/off the server again. However, the disadvantage is that the BMC circuit is a relatively complex processor system. The BMC circuit also faces the challenge of the traditional watchdog circuit, when the traditional watchdog circuit cannot recover the abnormity of the BMC, the whole system exits from service, and a worker needs to go to the site to perform troubleshooting.
SUMMERY OF THE UTILITY MODEL
In view of this, the embodiment of the present invention provides a device using a watchdog circuit to realize reliable protection of the device.
In order to achieve the above object, the embodiment of the present invention provides the following technical solutions:
an apparatus employing a watchdog circuit, comprising:
the watchdog power supply is used for providing a working voltage signal for the watchdog circuit;
the power supply port of the watchdog circuit is connected with the output end of the watchdog power supply;
the signal input end of the enabling circuit is connected with the reset signal output end of the watchdog circuit, the output end of the enabling circuit is connected with the reset signal input end of a system power supply circuit of the device with the watchdog circuit, and the system power supply circuit is used for carrying out reset operation when the reset signal is obtained;
and the signal input end of the delay circuit is connected with the reset signal output end of the watchdog circuit, and the output end of the delay circuit is connected with the reset pins of the main control circuit and other circuits with the reset pins in the device applying the watchdog circuit.
Optionally, the device with the watchdog circuit is applied, and an input end of the watchdog power supply is connected to a power supply input end of the device with the watchdog circuit.
Based on above-mentioned technical scheme, the embodiment of the utility model provides an above-mentioned scheme, when the watchdog produces reset signal, through delay circuit transmits reset signal for the master control circuit and other circuits that have the pin that resets of the device that has the watchdog circuit of application, controls these circuits and resets, and through enable circuit generates and is used for control system power supply reset's enable signal, control system power resets the operation for circuit in the virtual frame in fig. 2 is completely under the protection of watchdog circuit.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a schematic diagram of a prior art watchdog circuit in a device;
fig. 2 is a schematic structural diagram of an apparatus using a watchdog circuit according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative work belong to the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating a position of a watchdog circuit in a device according to the prior art, wherein in fig. 1, VCC is a system operation input power supply; the Power _ EN is used for controlling the enabling of the system Power supply circuit and converting a reset signal to ensure that the system Power supply circuit can be reset under the control of a watchdog; VCC 0: a watchdog circuit power supply; VCC 1: a CPU power supply; VCC 2: other circuit (with reset pin) circuit power supplies; VCCn: other circuit (no reset pin) circuit power supplies; reset, Reset signal generated by watchdog, controlling CPU machine and other circuits with Reset pin;
the types of resetting of a system of electronic circuits are generally:
power-on reset: after the power supply is powered on, the internal or external circuits of various chips reset the respective subsystems, chips or sub-circuits by monitoring the power supply voltage, and the reset mode is the reset mode with the maximum coverage rate in the electronic circuit and can cover all system circuits and chips;
traditional watchdog resets: the watchdog circuit monitors a periodic watchdog feeding signal given by the CPU, and when the watchdog feeding signal exceeds a set time and is not sent to the watchdog circuit, the watchdog circuit generates reset to reset a chip with a reset pin;
in the above scheme disclosed in fig. 1:
reset scope of watchdog: system CPU and other circuits with reset pins;
none of the remaining circuits are in the watchdog's domain of action: system power supply circuit, other no-reset pin circuit;
it can thus be seen that the main limitations of conventional watchdog technology are:
the chip and the circuit with the reset control signal only have action, and the chip and the circuit without the reset control signal do not have action;
the reset signal may not completely cover the internal circuits of the chip, which results in an abnormality of this portion of uncontrolled circuits when the function is temporarily lost and cannot be protected by the watchdog;
the method only plays a role in the conditions of no damage to hardware and software exception, and has no effect on the exception of temporary loss of functions such as hardware software damage, hardware bolt lock and the like;
the method can not effectively protect the scenes of disorder of a chip power supply circuit, a clock and the like caused by any other abnormality;
failure to recover from power supply anomalies;
when the abnormality of the system needs to be solved by electrifying again, only the operation of powering off and then electrifying the system can be performed on the site of the equipment by working personnel, so that the recovery time of the system under the abnormal condition is long, and the labor cost is high.
In view of the above problem, the present application discloses an apparatus using a watchdog circuit, which may include, referring to fig. 2:
the watchdog circuit comprises a watchdog power supply A, a switching circuit and a switching circuit, wherein the watchdog power supply A is used for providing a working voltage signal for the watchdog circuit;
the power supply port of the watchdog circuit is connected with the output end of the watchdog power supply;
the signal input end of the enabling circuit is connected with the reset signal output end of the watchdog circuit, the output end of the enabling circuit is connected with the reset signal input end of a system power supply circuit of the device with the watchdog circuit, and the system power supply circuit is used for carrying out reset operation when the reset signal is obtained;
and the signal input end of the delay circuit is connected with the reset signal output end of the watchdog circuit, and the output end of the delay circuit is connected with the reset pins of the main control circuit and other circuits with the reset pins in the device applying the watchdog circuit.
The respective signals in fig. 2 are explained as follows:
VCC is a system working input power supply;
the Power _ EN is used for controlling the enabling of the system Power supply circuit and converting a reset signal to ensure that the system Power supply circuit can be reset under the control of a watchdog;
VCC 0: a watchdog circuit power supply;
VCC 1: a CPU power supply;
VCC 2: other circuit (with reset pin) circuit power supplies;
VCCn: other circuit (no reset pin) circuit power supplies;
delay _ Reset, wherein a Reset signal generated by the watchdog controls circuits with Reset pins, such as a CPU (central processing unit) machine and the like after being delayed;
watchdog Clr the CPU feeds the Watchdog circuit's cycle with a dog signal that must change its level within a given cycle time to inform the Watchdog circuit that the CPU's software is in a normal state. When the CPU software is abnormal, the CPU will not change the state of the Watchdog _ Clr in the appointed period, and the Watchdog circuit generates service; that is, the Watchdog circuit generates and outputs a reset signal when detecting that the Watchdog _ Clr state is unchanged in a given cycle.
As can be seen from the above figure, when the watchdog generates the reset signal, the reset signal is transmitted to the main control circuit and other circuits with reset pins in the device to which the watchdog circuit is applied through the delay circuit, the circuits are controlled to reset, and the enable circuit generates the enable signal for controlling the system power supply to reset, so as to control the system power supply to perform the reset operation, so that the circuits in the dashed box in fig. 2 are completely protected by the watchdog circuit.
In the technical scheme disclosed in the embodiment of the application, the core is that the watchdog circuit is arranged outside the system circuit, all circuits of the protected system can be completely controlled, even the power circuit of the system is included, and therefore the abnormal protection of the system is realized to the maximum extent. The device can completely protect the monitored system and help the monitored system recover from the abnormity; and the device has the function of automatically powering on and powering off, and eliminates the abnormal fault which can be eliminated only by powering on and powering off again. The watchdog is compatible with an interface between a traditional watchdog and the CPU, and software does not need to be changed.
The utility model discloses an in being arranged in having the application scene of high reliability to electrical equipment, like the network, calculate, the storage, industry, the energy etc. need use hardware circuit's equipment. The novel watchdog can fundamentally power off and then power on the system, thoroughly power on and restart the system, and help the system to return to normal from the abnormality caused by various hardware or software.
Further, the input terminal of the watchdog power supply is connected to the power input terminal of the device to which the watchdog circuit is applied, and of course, the watchdog power supply may also be an independent power supply and may be provided with an electric energy storage device.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (2)

1. An apparatus using a watchdog circuit, comprising:
the watchdog power supply is used for providing a working voltage signal for the watchdog circuit;
the power supply port of the watchdog circuit is connected with the output end of the watchdog power supply;
the signal input end of the enabling circuit is connected with the reset signal output end of the watchdog circuit, the output end of the enabling circuit is connected with the reset signal input end of a system power supply circuit of the device with the watchdog circuit, and the system power supply circuit is used for carrying out reset operation when the reset signal is obtained;
and the signal input end of the delay circuit is connected with the reset signal output end of the watchdog circuit, and the output end of the delay circuit is connected with the reset pins of the main control circuit and other circuits with the reset pins in the device applying the watchdog circuit.
2. The apparatus of claim 1, wherein the input of the watchdog power supply is coupled to the power input of the apparatus.
CN202022730085.2U 2020-11-23 2020-11-23 Device with watchdog circuit Active CN213987477U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202022730085.2U CN213987477U (en) 2020-11-23 2020-11-23 Device with watchdog circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202022730085.2U CN213987477U (en) 2020-11-23 2020-11-23 Device with watchdog circuit

Publications (1)

Publication Number Publication Date
CN213987477U true CN213987477U (en) 2021-08-17

Family

ID=77266165

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202022730085.2U Active CN213987477U (en) 2020-11-23 2020-11-23 Device with watchdog circuit

Country Status (1)

Country Link
CN (1) CN213987477U (en)

Similar Documents

Publication Publication Date Title
CN100477547C (en) Telecommunication apparatus master-slave switching method and telecommunication apparatus thereof
CN103473166B (en) A kind of small embedded-type system board card supervisory system
US8726049B2 (en) Computer system with a plurality of computer modules and baseboard management controllers, including a state machine that dynamically conducts a switching operation
US11681644B2 (en) Slot power control for peripheral cards
TWI670952B (en) Network switching system
CN111475288A (en) Server and power supply protection system thereof
US7045914B2 (en) System and method for automatically providing continuous power supply via standby uninterrupted power supplies
CN115686935A (en) Data backup method, computer device and storage medium
US9735563B2 (en) Power distribution method, power distribution apparatus, and information handling system
CN213987477U (en) Device with watchdog circuit
CN112363862A (en) Device with watchdog circuit
CN106407081B (en) Case management system and server
CN116540856A (en) Device, method and server for correcting state after power supply module fault recovery
JP2012068907A (en) Bus connection circuit and bus connection method
CN113162015A (en) Abnormal positioning protection method and device for main board power supply
CN114374627A (en) Method, device and system for restarting baseboard management controller and server
JP2008228465A (en) Electric equipment
CN111475293A (en) Server and power supply protection system thereof
JP2003319547A (en) Overcurrent detection control system
CN110380873A (en) A kind of device and method for avoiding the crash of POE control system from still powering
CN117666746B (en) Multi-node server, method, device and medium applied to multi-node server
CN211148841U (en) DC Cycle testing arrangement
TWM556046U (en) Network switching control system
CN109885450B (en) Active satellite-borne computer health state monitoring and optimizing method and system
CN113722185A (en) Domestic computer remote management system

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant