CN204576409U - Power-off restoration control circuit - Google Patents

Power-off restoration control circuit Download PDF

Info

Publication number
CN204576409U
CN204576409U CN201520176053.9U CN201520176053U CN204576409U CN 204576409 U CN204576409 U CN 204576409U CN 201520176053 U CN201520176053 U CN 201520176053U CN 204576409 U CN204576409 U CN 204576409U
Authority
CN
China
Prior art keywords
circuit
power
resistance
switching tube
counting
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
CN201520176053.9U
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.)
Research Institute of Southern Power Grid Co Ltd
Shenzhen Clou Electronics Co Ltd
Original Assignee
Shenzhen Clou Electronics 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 Shenzhen Clou Electronics Co Ltd filed Critical Shenzhen Clou Electronics Co Ltd
Priority to CN201520176053.9U priority Critical patent/CN204576409U/en
Application granted granted Critical
Publication of CN204576409U publication Critical patent/CN204576409U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The utility model relates to a kind of power-off restoration control circuit, for carrying out power-off restoration control to the central processing unit in equipment, comprise: feeding dog circuit, being connected with the output terminal of described central processing unit, for regularly producing feeding-dog signal under the control of described central processing unit; Counting circuit, is connected with described dog circuit of feeding, for restarting counting according to described feeding-dog signal; Described counting circuit is also for exporting cut-off signals when counting exceedes pre-set count values and starting timing; Described counting circuit is also for exporting Continuity signal when timing reaches preset duration; And on-off circuit, be connected with the output terminal of described counting circuit, for turning off the power supply of described central processing unit when receiving described cut-off signals, and when receiving described Continuity signal again to described central processing unit electrification reset.Above-mentioned power-off restoration control circuit can ensure system worked well and reliability is higher.

Description

Power-off restoration control circuit
Technical field
The utility model relates to protection circuit technical field, particularly relates to a kind of power-off restoration control circuit.
Background technology
For being installed on open air, unattended embedded device, it is complicated and changeable that equipment installs periphery electromagnetic environment, cannot arrange artificial treatment in time after deadlock.Disturbing the equipment caused crash and improve the reliability of embedded device to tackle uncertain electromagnetic interference (EMI) or other factors, hardware watchdog circuit generally can be used to improve the antijamming capability of equipment, the self-recovering function after the equipment that realizes crashes.The principle of work of traditional watchdog circuit is: after CPU program crashes, CPU regularly can not reset house dog (feeding dog); After a period of time, house dog exports a low level to the reseting pin of CPU and resets to CPU, thus system self reover is restarted.But in actual use procedure, sometimes CPU can not by successfully resetting to reseting pin low level of CPU after crashing, and cause system cisco unity malfunction, reliability is lower.
Utility model content
Based on this, be necessary for the problems referred to above, provide a kind of and can ensure system worked well and the higher power-off restoration control circuit of reliability.
A kind of power-off restoration control circuit, for carrying out power-off restoration control to the central processing unit in equipment, comprising: feeding dog circuit, being connected, for regularly producing feeding-dog signal under the control of described central processing unit with the output terminal of described central processing unit; Counting circuit, is connected with described dog circuit of feeding, for restarting counting according to described feeding-dog signal; Described counting circuit is also for exporting cut-off signals when counting exceedes pre-set count values and starting timing; Described counting circuit is also for exporting Continuity signal when timing reaches preset duration; And on-off circuit, be connected with the output terminal of described counting circuit, for turning off the power supply of described central processing unit when receiving described cut-off signals, and when receiving described Continuity signal again to described central processing unit electrification reset.
Wherein in an embodiment, described cut-off signals is high level signal and described Continuity signal is low level signal, or described cut-off signals is low level signal and described Continuity signal is high level signal.
Wherein in an embodiment, described on-off circuit comprises the first switching tube, the first resistance and the second resistance; The control end of described first switching tube is connected after the first resistance and is connected with the output terminal of described counting circuit; The input end of described first switching tube is connected with power supply; Between the input end that described second resistance is connected to described first switching tube and control end; The output terminal of described first switching tube is connected with the power input of described central processing unit.
Wherein in an embodiment, described first switching tube is metal-oxide-semiconductor or triode.
Wherein in an embodiment, described dog circuit of feeding comprises second switch pipe, the 3rd switching tube, the 3rd to the 7th resistance, the first electric capacity and the second electric capacity; The control end of described second switch pipe is connected successively after described 3rd resistance, described first electric capacity and is connected with the output terminal of described central processing unit; The control end of described second switch pipe is also connected rear connection with the output terminal of described second switch pipe and ground connection with described 4th resistance; Be connected with power supply after described 5th resistance of input end series connection of described second switch pipe; The input end of described second switch pipe is also connected after described 6th resistance and is connected with the control end of described 3rd switching tube; The input end of described 3rd switching tube is connected with described power supply; The output terminal of described 3rd switching tube is connected with described second electric capacity, described 7th resistance and described counting circuit respectively; The other end of described second electric capacity is connected with described power supply; The other end ground connection of described 7th resistance.
Wherein in an embodiment, described second switch pipe is NPN type triode, and described 3rd switching tube is PNP type triode.
Wherein in an embodiment, also comprise screened circuit; The input end of described screened circuit is connected with the control end of described second switch pipe; The output head grounding of described screened circuit; Described screened circuit quits work for controlling described power-off restoration control circuit.
Wherein in an embodiment, also comprise oscillatory circuit, be connected with described counting circuit, for providing the count pulse of default oscillation period for described counting circuit.
Wherein in an embodiment, also comprise filtering circuit, be connected with described counting circuit, for carrying out filtering process to power supply.
Wherein in an embodiment, described counting circuit comprises counter chip.
Above-mentioned power-off restoration control circuit, when central processing unit deadlock causes the counting of counting circuit to overflow (namely exceeding pre-set count values), the power supply of counting circuit meeting gauge tap circuit shut-down central processing unit, and gauge tap circuit again powers on to central processing unit thus successfully resets after preset duration, can guarantee system worked well, reliability is higher.
Accompanying drawing explanation
Fig. 1 is the theory diagram of the power-off restoration control circuit in an embodiment;
Fig. 2 is the circuit theory diagrams of the power-off restoration control circuit in an embodiment.
Embodiment
In order to make the purpose of this utility model, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the utility model is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the utility model, and be not used in restriction the utility model.
A kind of power-off restoration control circuit, for carrying out power-off restoration control to the central processor CPU in equipment, as shown in Figure 1, Fig. 2 is then the circuit theory diagrams in a specific embodiment to its theory diagram.Below in conjunction with Fig. 1 and Fig. 2, the power-off restoration control circuit in the present embodiment is described in detail.A kind of power-off restoration control circuit comprises feeds dog circuit 110, counting circuit 120 and on-off circuit 130.Feed dog circuit 110, counting circuit 120 and on-off circuit 130 to connect in turn.
Feed dog circuit 110 to be connected with the output terminal of central processor CPU, for regularly producing feeding-dog signal under the control of cpu, to carry out clearing process to the counting of counting circuit 120.Particularly, feeding-dog signal is a high level pulse signal.
Feed dog circuit 110 and comprise second switch pipe P2, the 3rd switching tube P3, the 3rd resistance R3 ~ the 7th resistance R7, the first electric capacity C1 and the second electric capacity C2.The control end of second switch pipe P2 is connected successively after the 3rd resistance R3, the first electric capacity C1 and is connected with the output terminal of central processor CPU.The control end of second switch pipe P1 is also connected rear connection with the output terminal of second switch pipe P2 and ground connection with the 4th resistance R4.Be connected with power supply VCC after input end series connection the 5th resistance R5 of second switch pipe P1.The input end of second switch pipe P1 is also connected after the 6th resistance R6 and is connected with the control end of the 3rd switching tube P3.The input end of the 3rd switching tube P3 is connected with power supply VCC.The output terminal of the 3rd switching tube P3 is connected with the second electric capacity C2, the 7th resistance R7 and counting circuit 120 respectively.The other end of the second electric capacity C2 is connected with power supply VCC, the other end ground connection of the 7th resistance R7.In the present embodiment, second switch pipe P2 is NPN type triode, and the 3rd switching tube P3 is then PNP type triode.Wherein, electric capacity C1 possesses the effect of isolated DC, and under after guaranteeing CPU deadlock, feeding-dog signal is in high level or low level situation, power-off restoration control circuit all can turn off the power supply VCC of CPU, thus successfully CPU is resetted, ensure system worked well.7th resistance R7 and the second electric capacity C2, after device power starts, to counting circuit 120 1 high level pulse, allows counting circuit 120 be in a state determined and starts counting.
Counting circuit 120 for receiving the feeding-dog signal of feeding dog circuit 110 and exporting, and restarts counting after resetting counting after receiving feeding-dog signal.In the present embodiment, when after the program fleet or CPU deadlock of equipment, feed that dog circuit 110 is no longer regular exports feeding-dog signal to counting circuit 120, thus the counting of counting circuit 120 is overflowed, namely exceed pre-set count values (count value of counting circuit 120 within the count cycle).Counting circuit 120 is also for exporting cut-off signals to on-off circuit 130 when counting exceedes pre-set count values, gauge tap circuit 130 turns off the power supply of CPU, and coincidence circuit 120 carries out timing.Counting circuit 120 exports Continuity signal to on-off circuit 130 after timing reaches preset duration.On-off circuit 130 again carries out electrification reset to CPU after receiving this Continuity signal.In the present embodiment, cut-off signals is high level signal and Continuity signal is low level signal.In other examples, cut-off signals also can be low level signal and Continuity signal is high level signal.The preset duration of timing can set as required, and in the present embodiment, preset duration is set as 1/2nd of the oscillation period of counting circuit 120.
Counting circuit 120 comprises counter chip U1.In the present embodiment, counter chip U1 model is SN74C4060.The replacement end RST of counter chip U1 is connected with the output terminal of the 3rd switching tube P3 feeding dog circuit 110, for receiving the feeding-dog signal that it exports.The Q14 end of counter chip U1 is then connected with on-off circuit 130, for exporting cut-off signals and Continuity signal to on-off circuit 130.On-off circuit 130 comprises the first switching tube P1, the first resistance R1 and the second resistance R2.The control end of the first switching tube P1 is connected after the first resistance R1 and is connected with the output terminal of counter chip U1.The input end of the first switching tube P1 is connected with power supply VCC.Between the input end that second resistance R2 is connected to the first switching tube P1 and control end.The output terminal of the first switching tube P1 is connected with the power input VDD of CPU.First switching tube P1 can be metal-oxide-semiconductor or triode.In the present embodiment, the first switching tube P1 is PMOS, and namely the control end of the first switching tube P1 is PMOS grid G, and the input end of the first switching tube P1 is PMOS source S, and the output terminal of the first switching tube P1 is PMOS drain D.Particularly, when counter chip U1 exports the cut-off signals of high level, the first switching tube P1 ends, thus turns off the power supply of CPU; When the Continuity signal of counter chip U1 output low level, the first switching tube P1 conducting, thus again for CPU powers on, realize the reset to CPU.
Above-mentioned power-off restoration control circuit, when central processing unit deadlock causes the counting of counting circuit to overflow (namely exceeding pre-set count values), the power supply of counting circuit meeting gauge tap circuit shut-down central processing unit, and gauge tap circuit again powers on to central processing unit thus successfully resets after preset duration, can guarantee system worked well, reliability is higher.Further, the circuit structure of above-mentioned power-off restoration control circuit is simple, and cost is lower.
In the present embodiment, above-mentioned power-off restoration control circuit also comprises screened circuit 140, oscillatory circuit 150 and filtering circuit 160.
Screened circuit 140 comprises short circuit interface J1 and resistance R8.The input end of short circuit interface J1 is connected with resistance R8, output head grounding.Resistance R8 is also connected with the control end of the 3rd switching tube P3 feeding dog circuit 110.Screened circuit 140, for carrying out short circuit when device upgrade, debugging etc. can not feed dog for a long time to power-off restoration control circuit, makes power-off restoration control circuit quit work.
Oscillatory circuit 150 is connected with the counter chip U1 in counting circuit 120, for providing the count pulse of default oscillation period for counter chip U1.Oscillatory circuit 150 comprises resistance R9, resistance R10 and electric capacity C3.By can realize the adjustment of the oscillation period to counter chip U1 to the parameter adjustment of resistance R9, resistance R10 and electric capacity C3.Oscillation period can be determined according to following formula:
T OSC = 2 × R 10 × C 3 × ( 0.405 × R 9 R 10 + R 9 + 0.693 )
By regulating the parameter of resistance R9, resistance R10 and electric capacity C3 in oscillatory circuit 150, can oscillation period be changed, then can export the square wave of different divide ratio at the Q4 ~ Q10 of counter chip U1, Q12 ~ Q14 end, as shown in the table:
Q4 Q5 Q6 Q7 Q8
2 4T OSC 2 5T OSC 2 6T OSC 2 7T OSC 2 8T OSC
Q9 Q10 Q12 Q13 Q14
2 9T OSC 2 10T OSC 2 12T OSC 2 13T OSC 2 14T OSC
In actual use, different R10, R9 and C3 can be selected and by different terminals draw different frequency division export obtain the suitable impulse hunting cycle.In the present embodiment, preset duration is 1/2nd of oscillation period, therefore, when CPU because of other various interference crash fail to export within the count cycle high level counting of counter chip U1 is reset time, Q14 end exports high level and turns off CPU power supply, then waits for preset duration (2 14tosc) after/2 second time, Q14 holds output low level to make system re-power startup, realizes the function that the power-off restarting after crashing resets.
Filtering circuit 160 comprises filter capacitor C4.Filter capacitor C4 one end is connected with the power end of power supply VCC, counter chip U1, the other end ground connection of filter capacitor C4.Filter capacitor C4 is used for carrying out filtering process to power supply VCC.
Each technical characteristic of the above embodiment can combine arbitrarily, for making description succinct, the all possible combination of each technical characteristic in above-described embodiment is not all described, but, as long as the combination of these technical characteristics does not exist contradiction, be all considered to be the scope that this instructions is recorded.
The above embodiment only have expressed several embodiment of the present utility model, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to utility model patent scope.It should be pointed out that for the person of ordinary skill of the art, without departing from the concept of the premise utility, can also make some distortion and improvement, these all belong to protection domain of the present utility model.Therefore, the protection domain of the utility model patent should be as the criterion with claims.

Claims (10)

1. a power-off restoration control circuit, for carrying out power-off restoration control to the central processing unit in equipment, is characterized in that, comprising:
Feeding dog circuit, being connected with the output terminal of described central processing unit, for regularly producing feeding-dog signal under the control of described central processing unit;
Counting circuit, is connected with described dog circuit of feeding, for restarting counting according to described feeding-dog signal; Described counting circuit is also for exporting cut-off signals when counting exceedes pre-set count values and starting timing; Described counting circuit is also for exporting Continuity signal when timing reaches preset duration; And
On-off circuit, is connected with the output terminal of described counting circuit, for turning off the power supply of described central processing unit when receiving described cut-off signals, and when receiving described Continuity signal again to described central processing unit electrification reset.
2. power-off restoration control circuit according to claim 1, is characterized in that, described cut-off signals is high level signal and described Continuity signal is low level signal, or described cut-off signals is low level signal and described Continuity signal is high level signal.
3. power-off restoration control circuit according to claim 1, is characterized in that, described on-off circuit comprises the first switching tube, the first resistance and the second resistance; The control end of described first switching tube is connected after the first resistance and is connected with the output terminal of described counting circuit; The input end of described first switching tube is connected with power supply; Between the input end that described second resistance is connected to described first switching tube and control end; The output terminal of described first switching tube is connected with the power input of described central processing unit.
4. power-off restoration control circuit according to claim 3, is characterized in that, described first switching tube is metal-oxide-semiconductor or triode.
5. power-off restoration control circuit according to claim 1, is characterized in that, described dog circuit of feeding comprises second switch pipe, the 3rd switching tube, the 3rd to the 7th resistance, the first electric capacity and the second electric capacity; The control end of described second switch pipe is connected successively after described 3rd resistance, described first electric capacity and is connected with the output terminal of described central processing unit; The control end of described second switch pipe is also connected rear connection with the output terminal of described second switch pipe and ground connection with described 4th resistance; Be connected with power supply after described 5th resistance of input end series connection of described second switch pipe; The input end of described second switch pipe is also connected after described 6th resistance and is connected with the control end of described 3rd switching tube; The input end of described 3rd switching tube is connected with described power supply; The output terminal of described 3rd switching tube is connected with described second electric capacity, described 7th resistance and described counting circuit respectively; The other end of described second electric capacity is connected with described power supply; The other end ground connection of described 7th resistance.
6. power-off restoration control circuit according to claim 5, is characterized in that, described second switch pipe is NPN type triode, and described 3rd switching tube is PNP type triode.
7. power-off restoration control circuit according to claim 5, is characterized in that, also comprise screened circuit; The input end of described screened circuit is connected with the control end of described second switch pipe; The output head grounding of described screened circuit; Described screened circuit quits work for controlling described power-off restoration control circuit.
8. power-off restoration control circuit according to claim 1, is characterized in that, also comprise oscillatory circuit, is connected with described counting circuit, for providing the count pulse of default oscillation period for described counting circuit.
9. power-off restoration control circuit according to claim 1, is characterized in that, also comprise filtering circuit, is connected with described counting circuit, for carrying out filtering process to power supply.
10. power-off restoration control circuit according to claim 1, is characterized in that, described counting circuit comprises counter chip.
CN201520176053.9U 2015-03-26 2015-03-26 Power-off restoration control circuit Active CN204576409U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201520176053.9U CN204576409U (en) 2015-03-26 2015-03-26 Power-off restoration control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201520176053.9U CN204576409U (en) 2015-03-26 2015-03-26 Power-off restoration control circuit

Publications (1)

Publication Number Publication Date
CN204576409U true CN204576409U (en) 2015-08-19

Family

ID=53869019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201520176053.9U Active CN204576409U (en) 2015-03-26 2015-03-26 Power-off restoration control circuit

Country Status (1)

Country Link
CN (1) CN204576409U (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653294A (en) * 2016-02-29 2016-06-08 苏州集泰信息科技有限公司 Outage resetting method for hardware equipment
CN105759678A (en) * 2015-12-09 2016-07-13 重庆川仪自动化股份有限公司 Switching quantity output module of DCS
CN109471749A (en) * 2018-11-06 2019-03-15 北京四方继保自动化股份有限公司 Reset count power-off restarting circuit
CN111241598A (en) * 2020-01-07 2020-06-05 浙江万胜智能科技股份有限公司 Watchdog feeding method and driving module of embedded Linux equipment with anti-attack capability

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105759678A (en) * 2015-12-09 2016-07-13 重庆川仪自动化股份有限公司 Switching quantity output module of DCS
CN105653294A (en) * 2016-02-29 2016-06-08 苏州集泰信息科技有限公司 Outage resetting method for hardware equipment
CN105653294B (en) * 2016-02-29 2018-10-26 苏州集泰信息科技有限公司 A kind of hardware device power-off remapping method
CN109471749A (en) * 2018-11-06 2019-03-15 北京四方继保自动化股份有限公司 Reset count power-off restarting circuit
CN111241598A (en) * 2020-01-07 2020-06-05 浙江万胜智能科技股份有限公司 Watchdog feeding method and driving module of embedded Linux equipment with anti-attack capability

Similar Documents

Publication Publication Date Title
CN204576409U (en) Power-off restoration control circuit
CN102866928A (en) Watchdog circuit with power supply managing function
CN205070404U (en) Short -circuit protection circuit and switching power supply circuit
CN202157983U (en) Time-delay control circuit of fan
CN107703810B (en) Self-locking electronic switch
CN107666307B (en) USB inserts detection circuitry and USB inserts check out test set
CN102868387A (en) Level jump reset IC (integrated circuit) design circuit
CN201122942Y (en) Reset circuit
CN204155207U (en) A kind of reset circuit of wearable device
CN103929155A (en) Pulse width broadening circuit
CN104572331A (en) Monitoring module with power monitoring and electrifying delay enable
CN206757593U (en) Watchdog circuit for concentrator
CN203350802U (en) Software startup and shutdown circuit
CN207039172U (en) A kind of Switching Power Supply hiccup protections circuit
CN203840302U (en) Time-delay control circuit
CN208922098U (en) Novel watchdog circuit and its manufactured measuring instrument
CN210515009U (en) Watchdog circuit unit
CN204290917U (en) Hard triggering boot-strap circuit and electronic equipment
CN107783859B (en) Watchdog circuit capable of configuring reset duration and timing duration
CN105680840A (en) Startup and shutdown circuit
CN203661018U (en) Computer time-delay starter
CN203149828U (en) Processing circuit for remote-control reception of signals and household appliance having same
CN205302074U (en) Debug convenient switching on and shutting down circuit
CN210629438U (en) Circuit breaker for cutting off power supply at regular time
CN207965723U (en) A kind of time power source that can send out power-off signal in advance restarts circuit

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Chen Wenyi

Inventor after: Zhang Leping

Inventor before: Chen Wenyi

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20171204

Address after: 518057 Shenzhen, Guangdong Province, Guangming New Area sightseeing Road, No. 3009, A6, Guangming Science Park, China Merchants' Bureau, 2A

Co-patentee after: Research Institute of Southern Power Grid Co., Ltd.

Patentee after: Kelu Electronic Science-Technology Co., Ltd., Shenzhen

Address before: 518000 Guangdong science and Technology Park, Nanshan District, North District, road, CLOU building, the middle of the building, building 20

Patentee before: Kelu Electronic Science-Technology Co., Ltd., Shenzhen