CN206270937U - A kind of hardware watchdog circuit suitable for operating system - Google Patents

A kind of hardware watchdog circuit suitable for operating system Download PDF

Info

Publication number
CN206270937U
CN206270937U CN201621038664.8U CN201621038664U CN206270937U CN 206270937 U CN206270937 U CN 206270937U CN 201621038664 U CN201621038664 U CN 201621038664U CN 206270937 U CN206270937 U CN 206270937U
Authority
CN
China
Prior art keywords
resistance
electric capacity
operating system
watchdog
pins
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
CN201621038664.8U
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.)
Nanjing Daqo Automation Technology Co Ltd
Original Assignee
Nanjing Daqo Automation Technology 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 Nanjing Daqo Automation Technology Co Ltd filed Critical Nanjing Daqo Automation Technology Co Ltd
Priority to CN201621038664.8U priority Critical patent/CN206270937U/en
Application granted granted Critical
Publication of CN206270937U publication Critical patent/CN206270937U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The utility model provides a kind of hardware watchdog circuit suitable for operating system, it is characterised in that:The hardware watchdog circuit suitable for operating system includes watchdog chip U1, three state buffer U2, resistance R1, resistance R2, resistance R3, resistance R4, resistance R5, resistance R6, resistance R7, electric capacity C1, electric capacity C2, electric capacity C3, electric capacity C4, magnetic bead FB1, the electric capacity C2, electric capacity C3, electric capacity C4 are filter capacitor, influence of the High-frequency Interference to power supply can be filtered, power-supply fluctuation is prevented;Electric capacity C1 strobes.Hardware watchdog circuit suitable for operating system disclosed in the utility model, it is ensured that the MCU of tape operation system can normally start, and with watchdog function, it is ensured that when system breaks down, can recover automatically.The cost of on-site maintenance can be reduced, and improves the stability of product, improve the satisfaction of client.

Description

A kind of hardware watchdog circuit suitable for operating system
Technical field
The utility model is related to the technical field of distribution automation, more particularly to a kind of hardware suitable for operating system to see Door dog circuit.
Background technology
Typically in the microcomputer system being made up of MCU (ARM, DSP, FPGA etc.), MCU operationally can often be subject to Interference from external electromagnetic field, causes program fleet, system is absorbed in endless loop, causes whole system to be absorbed in dead state, The unpredictable consequence of generation.For the consideration that real-time monitoring is carried out to MCU running statuses, just generate a kind of dedicated for prison Survey the chip of MCU running statuses, referred to as hardware watchdog.
Hardware watchdog is that, using a timer circuit, its timing output is connected to the reset terminal of MCU, and program is certain Timer is reset in time range (be commonly called as " feeding dog ").In program normal work, timer can not always overflow, and also cannot Produce reset signal;If program breaks down, do not reset house dog in timing cycle, allows for WatchDog Timer spilling Produce reset signal and make MCU reset restarting programs, MCU is recovered normal work.
When MCU band embedded OSs, in operating system initialization system, it is impossible to normally feed dog, can cause to see Door dog resets, and causes CPU normally to start.Therefore need to set special hardware watchdog circuit, watchdog function is existed Closed in embedded OS initialization procedure, waited after the completion of system initialization, system is enabled and seen again when can normally feed dog Door dog function.
Utility model content
The purpose of this utility model is to provide the hardware watchdog circuit suitable for operating system, solves traditional insertion Formula operating system is in operating system initialization system, it is impossible to normally feeds dog, can cause watchdog reset, causes the CPU can not be just The problems such as often starting.
The utility model provides a kind of hardware watchdog circuit suitable for operating system, it is characterised in that:It is described to be applicable In operating system hardware watchdog circuit include watchdog chip U1, three state buffer U2, resistance R1, resistance R2, resistance R3, Resistance R4, resistance R5, resistance R6, resistance R7, electric capacity C1, electric capacity C2, electric capacity C3, electric capacity C4, magnetic bead FB 1, the electric capacity C2, Electric capacity C3, electric capacity C4 are filter capacitor, can filter influence of the High-frequency Interference to power supply, prevent power-supply fluctuation;Resistance R3, power supply R5 Play partial pressure;Resistance R1, resistance R2, resistance R4 are terminating resistor, play characteristic matching and buffering signal fluctuation;Electricity Resistance R6, R7 are pull-up resistor;Electric capacity C1 strobes.
Preferably, the watchdog chip U1 includes PFI pins, PFO pins, and the PFI pins detect voltage and are less than During threshold value, the pin PFO exports low level, and MCU can judge the change of power supply by detecting the level of the pin PFO Change, and then make corresponding operation.
Preferably, three state buffer U2 include OE pins, WDI mouthfuls, when in embedded OS power up initialization process, The OE pins are pulled up through resistance R7, and OE pins are high level, and three state buffer U2 is output as high-impedance state, watchdog chip U1 Watchdog function is not enabled on, and dog is not fed now, ensure that embedded OS normal initialization;Work as embedded OS After the completion of initialization, OE pins output low level, three state buffer U2 output pins output is changed into non-high-impedance state, output level with WDI mouthfuls of level is consistent, and now watchdog chip U1 enables watchdog function, controls WDI mouthfuls to feed dog by embedded OS, When embedded OS crashes, it is impossible to normally feed dog, watchdog chip U1 will export reset signal to MCU, make insertion Formula operating system resets, and operating system is normally run again.
The hardware watchdog circuit suitable for operating system that the utility model is provided has advantages below:
1st, the hardware watchdog circuit suitable for operating system disclosed in the utility model, makes watchdog function in insertion Closed during formula operating system initialization, waited after the completion of system initialization, system enables house dog again when can normally feed dog Function.
2nd, the hardware watchdog circuit suitable for operating system disclosed in the utility model, it is ensured that tape operation system MCU can normally start, and with watchdog function, it is ensured that when system breaks down, can recover automatically.
3rd, the hardware watchdog circuit suitable for operating system disclosed in the utility model, it is possible to reduce on-site maintenance Cost, and the stability of product is improved, improve the satisfaction of client.
Brief description of the drawings
Fig. 1 is the organigram of the hardware watchdog circuit suitable for operating system described in the utility model.
Specific embodiment
In order that the purpose of this utility model, technical scheme and advantage become more apparent, below by accompanying drawing and implementation Example, is described in further detail to the technical solution of the utility model.It should be appreciated that specific reality described herein Apply example to be only used for explaining principle of the present utility model, be not used to limit the utility model.
The utility model provides a kind of hardware watchdog circuit suitable for operating system, as shown in figure 1, described be applied to The hardware watchdog circuit of operating system includes watchdog chip U1, three state buffer U2, resistance R1, resistance R2, resistance R3, electricity Resistance R4, resistance R5, resistance R6, resistance R7, electric capacity C1, electric capacity C2, electric capacity C3, electric capacity C4, magnetic bead FB 1, the electric capacity C2, electricity It is filter capacitor to hold C3, electric capacity C4, can filter influence of the High-frequency Interference to power supply, prevents power-supply fluctuation;Resistance R3, power supply R5 rise The effect of partial pressure;Resistance R1, resistance R2, resistance R4 are terminating resistor, play characteristic matching and buffering signal fluctuation;Resistance R6, R7 are pull-up resistor;Electric capacity C1 strobes.
Preferably, the watchdog chip U1 includes PFI pins, PFO pins, and the PFI pins detect voltage and are less than During threshold value, the pin PFO exports low level, and MCU can judge the change of power supply by detecting the level of the pin PFO Change, and then make corresponding operation.
Preferably, three state buffer U2 include OE pins, WDI mouthfuls, when in embedded OS power up initialization process, The OE pins are pulled up through resistance R7, and OE pins are high level, and three state buffer U2 is output as high-impedance state, watchdog chip U1 Watchdog function is not enabled on, and dog is not fed now, ensure that embedded OS normal initialization;Work as embedded OS After the completion of initialization, OE pins output low level, three state buffer U2 output pins output is changed into non-high-impedance state, output level with WDI mouthfuls of level is consistent, and now watchdog chip U1 enables watchdog function, controls WDI mouthfuls to feed dog by embedded OS, When embedded OS crashes, it is impossible to normally feed dog, watchdog chip U1 will export reset signal to MCU, make insertion Formula operating system resets, and operating system is normally run again.
Hardware watchdog circuit suitable for operating system disclosed in the utility model, makes watchdog function embedded Closed during operating system initialization, waited after the completion of system initialization, system enables house dog work(again when can normally feed dog Can, it is ensured that the MCU of tape operation system can normally start, and with watchdog function, it is ensured that when system breaks down, can be with It is automatic to recover.The cost of on-site maintenance can be reduced, and improves the stability of product, improve the satisfaction of client.
Above-described specific embodiment, is entered to the purpose of this utility model, technical scheme and beneficial effect One step is described in detail.The utility model still has numerous embodiments, all use equivalents or equivalent transformation and the institute that is formed There is technical scheme, all fall within protection domain of the present utility model.

Claims (3)

1. a kind of hardware watchdog circuit suitable for operating system, it is characterised in that:The hardware suitable for operating system Watchdog circuit includes watchdog chip U1, three state buffer U2, resistance R1, resistance R2, resistance R3, resistance R4, resistance R5, electricity Resistance R6, resistance R7, electric capacity C1, electric capacity C2, electric capacity C3, electric capacity C4, magnetic bead FB1, the electric capacity C2, electric capacity C3, electric capacity C4 are filter Ripple electric capacity, can filter influence of the High-frequency Interference to power supply, prevent power-supply fluctuation;Resistance R3, power supply R5 play partial pressure;Resistance R1, resistance R2, resistance R4 are terminating resistor, play characteristic matching and buffering signal fluctuation;Resistance R6, R7 are pull-up electricity Resistance;Electric capacity C1 strobes.
2. the hardware watchdog circuit suitable for operating system according to claim 1, it is characterised in that:The house dog Chip U1 includes PFI pins, PFO pins, and when the PFI pins detect voltage less than threshold value, the pin PFO outputs are low Level, MCU can judge the change of power supply by detecting the level of the pin PFO, and then make corresponding operation.
3. the hardware watchdog circuit suitable for operating system according to claim 1, it is characterised in that:Three state buffer U2 include OE pins, WDI mouthful, when in embedded OS power up initialization process, the OE pins are through resistance R7 pull-up, OE Pin is high level, and three state buffer U2 is output as high-impedance state, and watchdog chip U1 watchdog functions are not enabled on, and is not fed now Dog, ensure that embedded OS normal initialization;After the completion of embedded OS initialization, the output of OE pins is low Level, three state buffer U2 output pins output is changed into non-high-impedance state, and output level is consistent with WDI mouthfuls of level, now house dog Chip U1 enables watchdog function, controls WDI mouthfuls to feed dog by embedded OS, when embedded OS crashes, no Dog can be normally fed, watchdog chip U1 will export reset signal to MCU, embedded OS is resetted, and make operating system Again normal operation.
CN201621038664.8U 2016-09-05 2016-09-05 A kind of hardware watchdog circuit suitable for operating system Active CN206270937U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201621038664.8U CN206270937U (en) 2016-09-05 2016-09-05 A kind of hardware watchdog circuit suitable for operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201621038664.8U CN206270937U (en) 2016-09-05 2016-09-05 A kind of hardware watchdog circuit suitable for operating system

Publications (1)

Publication Number Publication Date
CN206270937U true CN206270937U (en) 2017-06-20

Family

ID=59036978

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201621038664.8U Active CN206270937U (en) 2016-09-05 2016-09-05 A kind of hardware watchdog circuit suitable for operating system

Country Status (1)

Country Link
CN (1) CN206270937U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112965412A (en) * 2021-02-02 2021-06-15 广州大学华软软件学院 MCU unit resetting method and system and CAN anti-interference communication device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112965412A (en) * 2021-02-02 2021-06-15 广州大学华软软件学院 MCU unit resetting method and system and CAN anti-interference communication device
CN112965412B (en) * 2021-02-02 2022-02-22 广州大学华软软件学院 MCU unit resetting method and system and CAN anti-interference communication device

Similar Documents

Publication Publication Date Title
CN104750568B (en) A kind of watchdog circuit of microcontroller exception forced resetting
CN103955154B (en) Intelligent stepless-speed-regulation weighing feeder controller for driving DC 220V feed throwing motor
CN207115391U (en) A kind of automatic reset circuit
CN102590588A (en) Instantaneous power-down monitoring device and power-down processing method for DC power supply
CN206270937U (en) A kind of hardware watchdog circuit suitable for operating system
CN109669797A (en) A kind of hardware circuit of power supply chip monitoring singlechip state
CN103885849B (en) A kind of watchdog circuit of electronic system
CN204515759U (en) The watchdog circuit of the abnormal forced resetting of a kind of microcontroller
CN202522610U (en) Direct current power supply power failure monitoring device
CN104572331B (en) The monitoring module enabled with power monitoring and delayed
CN205263730U (en) Novel IO riser integrated circuit board based on POWER platform
CN204258758U (en) A kind of power down does not produce the reset circuit of reset signal
CN208316365U (en) A kind of power down time extends circuit and power control circuit
CN202887096U (en) Central processing unit (CPU) reset circuit
CN103699037B (en) A kind of JTAG emulators are automatically switched off supervision timer circuit
CN203535627U (en) Watchdog circuit
CN206097092U (en) Adjustable reset pulse's watchdog circuit
CN207008350U (en) A kind of timed power on/off circuit based on WINDOWS systems
CN202998032U (en) Dual-reset circuit
CN203849730U (en) Watchdog circuit of electronic system
CN103500135A (en) Circuit for monitoring embedded device main program
CN209311881U (en) A kind of watchdog circuit based on double CPU controller
CN206162519U (en) Device through EEPROM configuration USB controller parameter
CN203149828U (en) Processing circuit for remote-control reception of signals and household appliance having same
CN203909709U (en) Reset circuit for external watchdog

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant