CN105302263A - Circuit with automatic power-off restarting function in equipment failure - Google Patents
Circuit with automatic power-off restarting function in equipment failure Download PDFInfo
- Publication number
- CN105302263A CN105302263A CN201510698396.6A CN201510698396A CN105302263A CN 105302263 A CN105302263 A CN 105302263A CN 201510698396 A CN201510698396 A CN 201510698396A CN 105302263 A CN105302263 A CN 105302263A
- Authority
- CN
- China
- Prior art keywords
- circuit
- equipment
- signal
- power switch
- cpu
- 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.)
- Pending
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention provides a circuit with an automatic power-off restarting function in equipment failure. A CPU of the equipment is connected with a key device of the equipment and the CPU is capable of monitoring the working state of the key device; when the equipment has hardware damage-free failure, the CPU stops outputting a feeding-dog signal, a watchdog circuit does not trigger the system hardware reset any more, and outputs a power switch control signal; a power switch circuit turns off the direct-current power supply of the equipment after being triggered; and after certain time delay, the power switch circuit automatically starts the direct-current power supply of the equipment to ensure that the equipment is restarted to restore the normal work. According to the circuit provided by the invention, the failure problems of all the hardware damage-free units can be solved; no matter whether the units with failures have hardware reset functions or not, the adopted power-off restarting manner is more thorough than the traditionally adopted hardware reset manner.
Description
Technical field
The present invention relates to electronic circuit design field, especially relating to a kind of equipment failure can the auto-breaking circuit of restarting.
Background technology
The design philosophy of conventional failure restoring circuit is: when equipment is working properly, CPU (core processor) exports all the time " feed dog " signal, and watchdog circuit can not triggering system reset; When equipment breaks down, stopping is exported " hello dog " signal by CPU, and triggering system resets by watchdog circuit, and System recover is normally worked.When the fault without hardware damage appears in equipment, if trouble unit does not have hardware reset function, conventional failure restoring circuit just cannot be dealt with problems by reset; If trouble unit has hardware reset function, carry out hardware reset under the state of equipment live after, fault still exists, but this fault can be solved by the mode of power-off restarting, and conventional failure restoring circuit also cannot solve such problem.
Summary of the invention
The object of the invention is to: for prior art Problems existing, provide a kind of equipment failure can the auto-breaking circuit of restarting, can solve with or without the failure problems of hardware damage unit.
Goal of the invention of the present invention is achieved through the following technical solutions:
Equipment failure can an auto-breaking circuit of restarting, and it is characterized in that, this circuit comprises:
CPU, for when equipment normally works, continues to export " feeding dog " signal to watchdog circuit, when equipment breaks down, stops exporting " feeding dog " signal to watchdog circuit;
Watchdog circuit, for when continuing to receive " feeding dog " signal, sending power switch start signal to power switch control signal enable circuits, when not receiving " feeding dog " signal, sending power switch cut-off signals to power switch control signal enable circuits;
Power switch control signal enable circuits, for when self is in opening, opens according to the signal control power supply on-off circuit that watchdog circuit is sent or turns off;
Power switch circuit, for when receiving cut-off signals, closing device power supply, and after certain time-delay, automatic opening device power supply.
As further technical scheme, this circuit also comprises house dog delayed start-up circuit, for after device power, starts working and timing, after timing terminates, controls power switch control signal enable circuits and opens.
As further technical scheme, described CPU is connected with one or more Primary Components of equipment, and for monitoring the duty of Primary Component, when certain Primary Component breaks down, CPU stops exporting " feeding dog " signal to watchdog circuit.
As further technical scheme, can described CPU judge carry out reset processing to the Primary Component of fault, if so, then sends reset signal and restart this Primary Component, and if not, then CPU stops exporting " feeding dog " signal to watchdog circuit.
As further technical scheme, described Primary Component comprises network interface, USB port and power module.
As further technical scheme, this circuit also comprises remote control unit, stops exporting " feeding dog " signal to watchdog circuit for Long-distance Control CPU.
Compared with prior art, the present invention has the following advantages:
1, when equipment occurs without hardware damage fault, auto-breaking is restarted by equipment, thus recovery system normally works, and solves conventional failure restoring circuit by the insurmountable problem of hardware reset mode;
2, be provided with house dog delayed start-up circuit, equipment can be prevented to be in the state of repeatedly restarting, the startup that the equipment of guarantee can be reliable and stable;
3, when the local device of equipment breaks down, CPU only can do reset processing for this device, thus the local function of restorer, and be unlikely to other function of the equipment that affects;
4, plant maintenance personnel by the mode of Long-distance Control, can send power-off restarting order, make device powers down restart rear recovery normally, and without the need to personnel to on-the-spot switchgear.
Accompanying drawing explanation
Fig. 1 is hardware principle of compositionality block diagram of the present invention;
Fig. 2 is workflow diagram of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in detail.
Embodiment
The invention provides a kind of equipment failure can the auto-breaking circuit of restarting, when equipment occurs without hardware damage fault, the CPU of equipment stops exporting " feeding dog " signal, what watchdog circuit triggered will be no longer system hard reset, but by out-put supply switch controlling signal (i.e. power switch cut-off signals), by turn-off apparatus DC terminal power supply after power switch circuit is triggered, after certain time-delay, power switch circuit will opening device DC terminal power supply automatically, equipment is restarted and recovers normal work.
Specific implementation process of the present invention as depicted in figs. 1 and 2, when equipment is working properly, the CPU of equipment continues to export " feeding dog " signal to watchdog circuit, watchdog circuit by out-put supply switch controlling signal (power switch start signal) to power switch control signal enable circuits, power switch control signal enable circuits sends trigger pip to power switch circuit, power switch circuit incites somebody to action opening device DC terminal power supply all the time, and guarantee equipment normally works; When equipment breaks down, the CPU of equipment stops exporting " feeding dog " signal to watchdog circuit, watchdog circuit out-put supply switch controlling signal (power switch cut-off signals) is to power switch control signal enable circuits, power switch control signal enable circuits sends trigger pip to power switch circuit, thus turn-off apparatus DC terminal power supply, after certain time-delay, power switch circuit will opening device DC terminal power supply automatically, equipment is restarted and recovers normal work.
In addition, reclose at power switch circuit, after making device power, power switch circuit default conditions are open mode, house dog delayed start-up circuit is started working and timing: before timing terminates, power switch control signal enable circuits is in closed condition always, and power switch circuit is still acquiescence open mode; After the timing time of house dog delayed start-up circuit completes, power switch control signal enable circuits will be opened.The reason arranging delayed start-up is: need a period of time initialization after CPU powers on, and its I/O mouth is in nondeterministic statement, normally cannot export " feeding dog " signal.If do not arrange delayed start-up, equipment will be in the state of repeatedly restarting.When arranging, the timing time of house dog delayed start-up circuit will be greater than the initialization start-up time of CPU, after CPU initialization completes, CPU normally exports " feed dog " signal, watchdog circuit is by out-put supply switch controlling signal (power switch start signal), and this signal has been in CPU can state of a control.
In addition, after equipment normally works, CPU also can be used to the duty of the Primary Component of monitoring equipment, such as network interface, USB port, power module etc., if certain device failure, CPU can control its reset signal again simultaneously, and CPU only can do reset processing for this device, thus the local function of restorer, and be unlikely to other function of the equipment that affects.If CPU finds certain device failure, but CPU its reset signal uncontrollable, CPU can stop exporting " feeding dog " signal, make watchdog circuit out-put supply switch controlling signal (power switch shutoff), device powers down is restarted by power switch circuit, thus recovers the function of this device.If CPU self breaks down, as CPU " hangs dead ", now CPU is because cannot normally work, and no longer will export " feeding dog " signal, the mode by power-off restarting is also recovered normal work by equipment.
In addition, if equipment failure exceeds the monitoring range of CPU, as the fault that device far end user finds, this kind of situation CPU cannot be restarted by auto-breaking.Run into such problem, plant maintenance personnel by the mode of Long-distance Control, can send power-off restarting order, make device powers down restart rear recovery normally, and without the need to personnel to on-the-spot switchgear.
The present invention can complete based on hardware as shown in Figure 1, and equipment CPU is connected with the key function device of equipment; " feeding dog " signal output part of CPU is connected with the input end of watchdog circuit; The output terminal of watchdog circuit is connected with the input end of power switch control signal enable circuits; The output terminal of house dog delayed start-up circuit is connected with the Enable Pin of power switch control signal enable circuits; The output terminal of power switch control signal enable circuits is connected with power switch circuit; Power switch circuit is connected on AC/DC power module and plate carries between DC-DC power supply module; Plate carries DC-DC power supply module in charge to main board power supply.Automatically the function of level power supply after opening after turning off DC terminal power supply and power-off after power switch circuit has triggering.House dog delayed start-up circuit has by arranging hardware device parameter, adjustment delay time function.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, it should be pointed out that all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.
Claims (6)
1. equipment failure can an auto-breaking circuit of restarting, and it is characterized in that, this circuit comprises:
CPU, for when equipment normally works, continues to export " feeding dog " signal to watchdog circuit, when equipment breaks down, stops exporting " feeding dog " signal to watchdog circuit;
Watchdog circuit, for when continuing to receive " feeding dog " signal, sending power switch start signal to power switch control signal enable circuits, when not receiving " feeding dog " signal, sending power switch cut-off signals to power switch control signal enable circuits;
Power switch control signal enable circuits, for when self is in opening, opens according to the signal control power supply on-off circuit that watchdog circuit is sent or turns off;
Power switch circuit, for when receiving cut-off signals, closing device power supply, and after certain time-delay, automatic opening device power supply.
2. a kind of equipment failure according to claim 1 can the auto-breaking circuit of restarting, and it is characterized in that, this circuit also comprises house dog delayed start-up circuit, for after device power, start working and timing, after timing terminates, control power switch control signal enable circuits and open.
3. a kind of equipment failure according to claim 1 can the auto-breaking circuit of restarting, it is characterized in that, described CPU is connected with one or more Primary Components of equipment, for monitoring the duty of Primary Component, when certain Primary Component breaks down, CPU stops exporting " feeding dog " signal to watchdog circuit.
4. a kind of equipment failure according to claim 3 can the auto-breaking circuit of restarting, it is characterized in that, can described CPU judge carry out reset processing to the Primary Component of fault, if, then send reset signal and restart this Primary Component, if not, then CPU stops exporting " feeding dog " signal to watchdog circuit.
5. a kind of equipment failure according to claim 3 can the auto-breaking circuit of restarting, and it is characterized in that, described Primary Component comprises network interface, USB port and power module.
6. a kind of equipment failure according to claim 1 can the auto-breaking circuit of restarting, and it is characterized in that, this circuit also comprises remote control unit, stops exporting " feeding dog " signal to watchdog circuit for Long-distance Control CPU.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510698396.6A CN105302263A (en) | 2015-10-22 | 2015-10-22 | Circuit with automatic power-off restarting function in equipment failure |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510698396.6A CN105302263A (en) | 2015-10-22 | 2015-10-22 | Circuit with automatic power-off restarting function in equipment failure |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105302263A true CN105302263A (en) | 2016-02-03 |
Family
ID=55199626
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510698396.6A Pending CN105302263A (en) | 2015-10-22 | 2015-10-22 | Circuit with automatic power-off restarting function in equipment failure |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105302263A (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107122032A (en) * | 2016-02-25 | 2017-09-01 | 西安中兴新软件有限责任公司 | Terminal, crash reset control circuit and method |
CN107239356A (en) * | 2016-03-28 | 2017-10-10 | 恩智浦有限公司 | Watchdog circuit |
CN107329847A (en) * | 2017-06-05 | 2017-11-07 | 深圳市有方科技股份有限公司 | The supervisory circuit of control system |
CN107341069A (en) * | 2017-06-30 | 2017-11-10 | 联想(北京)有限公司 | Processing method, electronic equipment, electronic installation and computer-readable recording medium |
CN107463460A (en) * | 2017-08-15 | 2017-12-12 | 深圳科士达科技股份有限公司 | A kind of electric supply system and method for supplying power to based on hardware watchdog |
CN108304275A (en) * | 2018-01-09 | 2018-07-20 | 福州瑞芯微电子股份有限公司 | A kind of method and apparatus of detection Android system application layer exception |
CN109813550A (en) * | 2017-11-16 | 2019-05-28 | 斯凯孚公司 | The method of condition monitoring sensing system and the situation for monitoring system |
CN110380873A (en) * | 2019-08-26 | 2019-10-25 | 深圳市三旺通信股份有限公司 | A kind of device and method for avoiding the crash of POE control system from still powering |
CN110795277A (en) * | 2018-08-02 | 2020-02-14 | 中兴通讯股份有限公司 | Power failure self-restarting device, method and system and computer readable storage medium |
CN111158941A (en) * | 2019-12-10 | 2020-05-15 | 中国航空工业集团公司西安航空计算技术研究所 | Fault diagnosis processing method and device for watchdog |
CN111624898A (en) * | 2020-06-19 | 2020-09-04 | 航电建筑科技(深圳)有限公司 | Property inspection equipment monitoring point management method |
CN111897670A (en) * | 2020-07-23 | 2020-11-06 | 北京骑胜科技有限公司 | Hardware reset circuit, method, Internet of things equipment and storage medium |
CN111966195A (en) * | 2020-07-28 | 2020-11-20 | 武汉光迅科技股份有限公司 | Start control circuit and method |
CN112346369A (en) * | 2019-08-08 | 2021-02-09 | 递易(上海)智能科技有限公司 | Unmanned on duty's express delivery cabinet |
CN113568776A (en) * | 2021-08-02 | 2021-10-29 | 湖南兴天电子科技有限公司 | Automatic recovery method and system for disk-dropping fault applied to disk array |
CN114089714A (en) * | 2020-08-24 | 2022-02-25 | 和硕联合科技股份有限公司 | Portable electronic device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101860624A (en) * | 2010-06-21 | 2010-10-13 | 中兴通讯股份有限公司 | Crash auto-restart method and mobile phone |
CN202795339U (en) * | 2012-10-15 | 2013-03-13 | 长沙威胜信息技术有限公司 | Watchdog control power circuit |
CN104461756A (en) * | 2014-12-24 | 2015-03-25 | 威胜电气有限公司 | Watchdog circuit for low-power-consumption equipment |
-
2015
- 2015-10-22 CN CN201510698396.6A patent/CN105302263A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101860624A (en) * | 2010-06-21 | 2010-10-13 | 中兴通讯股份有限公司 | Crash auto-restart method and mobile phone |
CN202795339U (en) * | 2012-10-15 | 2013-03-13 | 长沙威胜信息技术有限公司 | Watchdog control power circuit |
CN104461756A (en) * | 2014-12-24 | 2015-03-25 | 威胜电气有限公司 | Watchdog circuit for low-power-consumption equipment |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107122032A (en) * | 2016-02-25 | 2017-09-01 | 西安中兴新软件有限责任公司 | Terminal, crash reset control circuit and method |
CN107239356A (en) * | 2016-03-28 | 2017-10-10 | 恩智浦有限公司 | Watchdog circuit |
CN107239356B (en) * | 2016-03-28 | 2022-06-14 | 恩智浦有限公司 | Watchdog circuit |
CN107329847A (en) * | 2017-06-05 | 2017-11-07 | 深圳市有方科技股份有限公司 | The supervisory circuit of control system |
CN107341069A (en) * | 2017-06-30 | 2017-11-10 | 联想(北京)有限公司 | Processing method, electronic equipment, electronic installation and computer-readable recording medium |
CN107463460A (en) * | 2017-08-15 | 2017-12-12 | 深圳科士达科技股份有限公司 | A kind of electric supply system and method for supplying power to based on hardware watchdog |
CN107463460B (en) * | 2017-08-15 | 2024-01-30 | 深圳科士达科技股份有限公司 | Power supply system and power supply method based on hardware watchdog |
CN109813550A (en) * | 2017-11-16 | 2019-05-28 | 斯凯孚公司 | The method of condition monitoring sensing system and the situation for monitoring system |
CN109813550B (en) * | 2017-11-16 | 2022-09-06 | 斯凯孚公司 | Condition monitoring sensor system and method for monitoring condition of system |
CN108304275A (en) * | 2018-01-09 | 2018-07-20 | 福州瑞芯微电子股份有限公司 | A kind of method and apparatus of detection Android system application layer exception |
CN110795277A (en) * | 2018-08-02 | 2020-02-14 | 中兴通讯股份有限公司 | Power failure self-restarting device, method and system and computer readable storage medium |
CN112346369A (en) * | 2019-08-08 | 2021-02-09 | 递易(上海)智能科技有限公司 | Unmanned on duty's express delivery cabinet |
CN110380873A (en) * | 2019-08-26 | 2019-10-25 | 深圳市三旺通信股份有限公司 | A kind of device and method for avoiding the crash of POE control system from still powering |
CN111158941A (en) * | 2019-12-10 | 2020-05-15 | 中国航空工业集团公司西安航空计算技术研究所 | Fault diagnosis processing method and device for watchdog |
CN111624898A (en) * | 2020-06-19 | 2020-09-04 | 航电建筑科技(深圳)有限公司 | Property inspection equipment monitoring point management method |
CN111897670A (en) * | 2020-07-23 | 2020-11-06 | 北京骑胜科技有限公司 | Hardware reset circuit, method, Internet of things equipment and storage medium |
CN111966195A (en) * | 2020-07-28 | 2020-11-20 | 武汉光迅科技股份有限公司 | Start control circuit and method |
CN111966195B (en) * | 2020-07-28 | 2022-09-09 | 武汉光迅科技股份有限公司 | Start control circuit and method |
CN114089714A (en) * | 2020-08-24 | 2022-02-25 | 和硕联合科技股份有限公司 | Portable electronic device |
CN114089714B (en) * | 2020-08-24 | 2023-11-14 | 和硕联合科技股份有限公司 | portable electronic device |
CN113568776A (en) * | 2021-08-02 | 2021-10-29 | 湖南兴天电子科技有限公司 | Automatic recovery method and system for disk-dropping fault applied to disk array |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105302263A (en) | Circuit with automatic power-off restarting function in equipment failure | |
CN104932387B (en) | A kind of primary, spare device intelligence converter | |
CN103529742A (en) | Remote power-failure restarting method and device | |
CN203617503U (en) | Smart socket used for plugging router | |
CN102497276B (en) | Power source conversion circuit and network camera with same | |
CN105591365A (en) | Frequency converter main circuit relay failure protection method | |
CN103885563A (en) | Management circuit for self-powered microprocessor protection device microprocessor | |
CN101286856A (en) | Network equipment and method of automatic turn-on and turn-off | |
CN203746007U (en) | Microprocessor management circuit for self-powered microprocessor protection device | |
CN103269274A (en) | Network-controlled computer startup and shutdown system | |
CN105260220A (en) | Remote rebooting system and method for comprehensive automatic system protocol conversion device | |
CN203812186U (en) | Microprocessor management circuit of self-powered microcomputer protection device | |
CN105159436A (en) | Industrial personal computer power on-off control apparatus and control method | |
CN103227505B (en) | Large Gas-Steam Combined Cycle circulating generation unit security personnel's section automatic interlock control method and device | |
CN110912391B (en) | Restarting method and restarting device for frequency converter | |
CN210136418U (en) | Monitoring circuit and relay protection device | |
CN206211493U (en) | A kind of intelligent security guard device power supply (DPS) | |
CN202309046U (en) | Reliable intelligent transformer substation GOOSE tripping protective device | |
CN105978737B (en) | Terminal 'crash' fault removing device for network cable transmission IP address positioning | |
CN213367631U (en) | Industrial power supply on-off control circuit and control cabinet | |
CN103984401A (en) | Embedded self real-time monitoring and removing device for single event latchup (SEL) of space computer | |
CN204089174U (en) | A kind of Moisture-proof switch supply unit and TV thereof | |
CN208806918U (en) | A kind of video optical multiplexer based on FPGA | |
CN203289457U (en) | System controlling power-on/off of computer via network | |
CN204407871U (en) | Circuit breaker is the built-in protection module control circuit of changer controller more |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160203 |
|
RJ01 | Rejection of invention patent application after publication |