A kind of configurable watchdog circuit for resetting duration and timing length
Technical field:
The utility model is related to a kind of configurable watchdog circuits for resetting duration and timing length.
Background technology:
House dog is the monitoring system being monitored to the operating condition for the system that is monitored, when monitored system operation is bad
When, it is mostly to fix that operations, the watchdog system timing length used at present such as can monitored system be restarted or be resetted
Length, also, timing length is shorter, and it is shorter that the microcontroller (monitored system) that we use in the past starts run time, makes
With current watchdog system, there is no problem, but with the complication of product, the startup time of microcontroller (monitored system)
It rises appreciably, causes existing watchdog system to cannot achieve the monitoring processing to the system that is monitored, be easy to cause house dog system
System handles the startup of multiplicating or the reset of the system that is monitored.
Also, the reset duration of existing watchdog system restarted or resetted is shorter, and it is (monitored to be easy to cause microcontroller
System) reset processing is imperfect, and it resets the monolithic device that duration is insufficient to allow and carries out resetting/restarting.
Wherein, timing length is:Watchdog system gives SCM system one reset signal, and SCM system starts multiple
Position, if operation conditions of system reset does not reach good also, watchdog system can reset letter at one to SCM system
Number, timing length is then the time span between two reset signals.If positioning the corresponding monitored microcontroller system of duration
The startup time of system falls short of, then being easy to cause watchdog system can be repeated to monolithic processor resetting signal.
Wherein, resetting duration is:Watchdog system gives SCM system one high level (or low level) signal, monolithic
Machine system will be resetted, and the time span of the duration of high level (or low level) signal is then to reset duration.If
It resets duration to be less than the reset of microcontroller or start the time, it is imperfect to be easy to cause monolithic processor resetting/restart, and resetting/restarting
Failure.
Utility model content:
The utility model provides a kind of configurable watchdog circuit for resetting duration and timing length, which closes
Reason, novelty can realize the setting of the length to positioning duration, realize watchdog system and monitored SCM system phase
Match, that is, ensure that the resetting/restarting of SCM system, be improved the working efficiency of watchdog system, realizes reset duration
Length setting, be effectively ensured reset duration can complete microcontroller resetting/restarting processing, make suitable for being widely popularized
With solving problems of the prior art.
Used technical solution is the utility model to solve above-mentioned technical problem:
A kind of configurable watchdog circuit for resetting duration and timing length, includes for connecting guarding the gate for monitored system
Dog circuit, the watchdog circuit, which is connected with, resets duration configuration circuit and timing length configuration circuit.
The watchdog circuit include a watchdog chip, the model SP706 of watchdog chip, the 1 of watchdog chip
No. 8 pins of watchdog chip are connected after number one resistance R2 of pin serial connection, after the one capacitance C2 of No. 2 pin serial connections of watchdog chip
Ground connection, No. 3 pins ground connection of watchdog chip, the capacitance C5 of one ground connection of No. 4 pins connection of watchdog chip, the electricity of a ground connection
The other end for hindering R7 and a resistance R3, resistance R3 connects power supply, and No. 5 pins of watchdog chip connect a zener diode D1,
No. 2 pins of an interface chip J1 are connected after the one resistance R1 of other end series connection of zener diode D1, No. 1 of interface chip J1 is drawn
Foot connects power supply, the resistance R6 of one ground connection of No. 6 pins connection of watchdog chip and monitored system.
The timing length circuit includes a chip U1, and No. 1 pin of the model CD4024B of chip U1, chip U1 connect
Connect No. 7 pins of watchdog chip, the capacitance C1 of one ground connection of No. 14 pins connection of chip U1, No. 7 pins ground connection of chip U1.
The connection chips of the resistance R8 for resetting No. 3 pins that duration configuration circuit includes a connection chip U1 and one U1
The other end of the resistance R9 of No. 4 pins, resistance R8 are connected with the other end of resistance R9 is connected in a tie point, one electricity of tie point connection
A R10 and resistance R11 is hindered, the grid of one field-effect tube Q1 of resistance R10 connections is connected between the drain electrode and source electrode of field-effect tube
The capacitance C8 of one ground connection of other end connection of one voltage-stabiliser tube diode D, resistance R11.
No. 6 pins of the watchdog chip are also connected with No. 2 pins of a chip U3, the model of chip U3
No. 1 pin of SN74LVC1G123, chip U3 and No. 4 pins ground connection, the capacitance C3 of one ground connection of No. 8 pins connection of chip U3 and
No. 7 pins of the other end connection chip U3 of one resistance R5, resistance R5 and the other end connection chip U3 of a capacitance C4, capacitance C4
No. 6 pins, No. 5 pins of chip U3 connect No. 2 pins of connection chip U1 after a diode D2.
Using the above structure, the circuit design is reasonable, novel for the utility model, can realize the length to positioning duration
Setting realizes that watchdog system matches with monitored SCM system, that is, ensure that the resetting/restarting of SCM system,
It has been improved the working efficiency of watchdog system, the setting for the length for resetting duration has been realized, reset duration energy has been effectively ensured
The resetting/restarting processing for enough completing microcontroller, effectively increases peripheral counter, is counted to the reset signal of watchdog system
Number, is equivalent to and extends timing length, and the feeding-dog signal that peripheral counter is resetted by that can trigger unit multi-frequency oscillation again
Device effectively prevents counter and is constantly in reset state, and watchdog system failure answers counter output with capacitance resistance ware
Self reset that position signal is demonstrated to realize counter and the adjusting for resetting duration, to realize timing length and reset
The configuration of duration effectively realizes watchdog system and is applicable in a variety of different monitored systems, suitable for being widely used to promote.
Description of the drawings:
Fig. 1 is the circuit connection diagram of the utility model.
Specific implementation mode:
In order to clarify the technical characteristics of the invention, below by specific implementation mode, and its attached drawing is combined, to this reality
It is described in detail with novel.
As shown in fig. 1, a kind of watchdog circuit of configurable reset duration and timing length, including be used to connect and be supervised
The watchdog circuit of control system, the watchdog circuit, which is connected with, resets duration configuration circuit and timing length configuration circuit.
In order to realize that watchdog system handles the monitoring for the system operation situation that is monitored, the watchdog circuit includes one
Watchdog chip is connected after the model SP706 of watchdog chip, the one resistance R2 of No. 1 pin serial connection of watchdog chip and is guarded the gate
No. 8 pins of dog chip are grounded after the one capacitance C2 of No. 2 pin serial connections of watchdog chip, and No. 3 pins of watchdog chip connect
Ground, the capacitance C5 of one ground connection of No. 4 pins connection of watchdog chip, the resistance R7 and a resistance R3 of a ground connection, resistance R3's is another
One end connects power supply, and No. 5 pins of watchdog chip connect a zener diode D1, the other end series connection one of zener diode D1
Connect No. 2 pins of an interface chip J1 after resistance R1, No. 1 pin of interface chip J1 connects power supply, No. 6 of watchdog chip
The resistance R6 of one ground connection of pin connection and monitored system.
In order to effectively realize interval long enough of the watchdog system to the signal of monitored system reboot/reset, avoid by
In the case that monitoring system is not restarted/resetted completely, watchdog system gives monitored system signal again, the timing length
Circuit includes a chip U1, and No. 7 of No. 1 pin connection watchdog chip of the model CD4024B of chip U1, chip U1 are drawn
Foot, the capacitance C1 of one ground connection of No. 14 pins connection of chip U1, No. 7 pins ground connection of chip U1.
In order to ensure each reset signal can complete monitored system restart or the whole process of reset processing, institute
State No. 4 pins of the connection chips of the resistance R8 for resetting No. 3 pins that duration configuration circuit includes a connection chip U1 and one U1
The other end of resistance R9, resistance R8 are connected with the other end of resistance R9 is connected in a tie point, and tie point connects a resistance R10 and one
The grid of one field-effect tube Q1 of resistance R11, resistance R10 connection, a voltage-stabiliser tube is connected between the drain electrode and source electrode of field-effect tube
The capacitance C8 of one ground connection of other end connection of diode D, resistance R11.
No. 6 pins of the watchdog chip are also connected with No. 2 pins of a chip U3, the model of chip U3
No. 1 pin of SN74LVC1G123, chip U3 and No. 4 pins ground connection, the capacitance C3 of one ground connection of No. 8 pins connection of chip U3 and
No. 7 pins of the other end connection chip U3 of one resistance R5, resistance R5 and the other end connection chip U3 of a capacitance C4, capacitance C4
No. 6 pins, No. 5 pins of chip U3 connect No. 2 pins of connection chip U1 after a diode D2.
Using the watchdog circuit of configurable the reset duration and timing length of the utility model, SP706 chips are basic
Watchdog chip, CD4024B is counting chip, and SN74LVC1G123 is that can be touched again with the single channel that Schmidt trigger inputs
The steady multi-frequency generator of bill, No. 7 pins of watchdog chip are connected with No. 1 pin of chip U1, when realizing house dog timing
Long extension;No. 6 pins of watchdog chip be feeding-dog signal and technology device reset signal, No. 6 pins of watchdog chip with
No. 2 pins of chip U3 are connected, and realize the reset for feeding dog and chip U1 of watchdog chip;Resistance R11 and capacitance C6 compositions
Capacitance-resistance charge-discharge circuit, when time-out charges without feeding when dog causes No. 3 pins of chip U1 to export high level, when being charged to
When CLR level reaches the reset level of chip U1, then reset chip U1, realizes that chip U1's self resets and reset the tune of duration
Section.
Above-mentioned specific implementation mode cannot function as the limitation to scope of protection of the utility model, for the skill of the art
For art personnel, any alternate modification or transformation made to the utility model embodiment all fall within the guarantor of the utility model
It protects in range.
Place is not described in detail for the utility model, is the known technology of those skilled in the art of the present technique.