A kind of gateway of the house dog power reset circuit with delay function
Technical field
The utility model relates to Internet technical fields, and in particular to a kind of house dog power reset electricity with delay function
The gateway on road.
Background technique
Gateway is also known as gateway or protocol converter, and the computer network of more than two different agreements may be implemented in gateway
The interconnection of network.Specifically, local area network and LAN Monitoring System may be implemented, local area network and wide area network interconnection and wide area network and wide area
Net interconnection, so that remote across a network communication may be implemented between terminal.
In the prior art, gateway is typically provided with watchdog circuit, gateway internal circuit in application software
When abnormal, house dog feeds dog output and resets cpu reset foot.But if cpu reset foot is sometimes when gateway system exception
Do not work, can not normal reset, cause entire gateway system that can not restart work again.Furthermore in the gateway of the prior art
Watchdog chip it is typically no feed dog delay function, cause in installation system or programming firmware, need manually first close see
Door dog reset function, avoids in system installation process or programming firmware process enforced reset.Therefore cause troublesome in poeration, increase
Cost of labor also reduces production efficiency.
Summary of the invention
For this reason, it may be necessary to provide a kind of gateway of watchdog reset circuit with delay function, what is be arranged in the gateway guards the gate
Dog circuit can restart power supply chip by the watchdog circuit, restart whole system when entire gateway system occurs abnormal
Electrification reset, and there is included hello dog delay adjustable function.
To achieve the above object, the utility model provides a kind of net of house dog power reset circuit with delay function
It closes, including processing module and wireless communication module, the processing module includes interface circuit, watchdog circuit, processing chip, institute
It states wireless communication module, interface circuit and watchdog circuit to be electrically connected with processing chip, the watchdog circuit includes one
Watchdog chip U1 and power supply chip a U2, the power supply chip U2 have enabled EN foot, the watchdog chip U1 and power supply
Watchdog chip, which is connected with, between chip U2 restarts circuit.
Further, the watchdog chip restarts circuit by triode Q1, triode Q2, resistance R1, resistance R2, resistance
R3, capacitor C1 are constituted, and one end of resistance R2 is connected to+3.3V power supply, the other end of resistance R2 after being connected with one end of resistance R3
It is connect with the base stage of triode Q2, the base stage of triode Q2 is connect with the RESET foot of watchdog chip U1, the other end of resistance R3
It is connect with the collector of triode Q2, the emitter ground connection of triode Q2, the collector of triode Q2 and the base stage of triode Q1
Connection, the collector of triode Q1 are connect with the EN foot of power supply chip U2, and the collector of triode Q1 and one end of resistance R1 connect
It connects, the other end of resistance R1 is connect with VCC power supply, and VCC power supply is connect with the power input of power supply chip U2, triode Q1's
Capacitor C1, the emitter ground connection of triode Q1 are connected between base stage and emitter, the load output of power supply chip U2 is+3.3V electricity
Source, the WDI foot of the watchdog chip U1 are hello the dog pin of cpu system application software, the GND foot of the watchdog chip U1
Ground connection, the WDR foot ground connection of watchdog chip U1, the VDD foot connection+3.3V power supply of watchdog chip U1, watchdog chip U1's
It is grounded after VDD foot series capacitance C2.
Further, the watchdog circuit further includes delay circuit, and the delay circuit is connected on by capacitor C3 and is seen
It is constituted between the WDI foot and GND of door dog chip U1.Feeding dog interval time can be by the capacitor of watchdog chip U1 WDT foot (PIN3)
C3 is adjusted, and hello dog interval time can be extended by increasing capacitor C3 capacitance, can be transferred to the time greater than installation system or programming firmware,
When solving installation system or programming firmware, dog problem can not be fed.
Further, the model TPS3813K33 of the watchdog chip U1.
Further, the model of the triode Q2 and triode Q1 is DTD114.
It is different from the prior art, above-mentioned technical proposal has the advantages that
1, the utility model restarts electricity by being connected with watchdog chip between watchdog chip U1 and power supply chip U2
Road, and power supply chip U2 has enabled EN foot, it is thus possible to when application software or abnormal system appearance, can open again
Dynamic power supply chip U2, and then restart watchdog chip U1, it is powered on for whole system.It avoids in the prior art, works as application software
Or system is when occurring abnormal, watchdog chip can not normal active homing defect.
2, the watchdog chip of the utility model is included feeds dog delay adjustable function, it is possible to prevente effectively from equipment is in installation
In system or programming firmware process, cannot normally feed dog causes to reset repeatedly, can not normal operating problem.
3, the utility model greatly strengthens the stability of system, and reduces cost of labor, improves production efficiency.
Detailed description of the invention
Fig. 1 is the circuit diagram of the utility model embodiment.
Specific embodiment
Technology contents, construction feature, the objects and the effects for detailed description technical solution, below in conjunction with specific reality
It applies example and attached drawing is cooperated to be explained in detail.
Referring to Fig. 1, a kind of gateway of the house dog power reset circuit with delay function of the present embodiment, including processing mould
Block and wireless communication module (not illustrated), the processing module include interface circuit, watchdog circuit, processing chip, the nothing
Line communication module, interface circuit and watchdog circuit are electrically connected with processing chip, and the watchdog circuit is guarded the gate including one
Dog chip U1, a power supply chip U2 and delay circuit, the model TPS3813K33 of the watchdog chip U1.The power supply core
Piece U2 has enabled EN foot, is connected with watchdog chip between the watchdog chip U1 and power supply chip U2 and restarts circuit.
The watchdog chip restarts circuit by triode Q1, triode Q2, resistance R1, resistance R2, resistance R3, capacitor C1
It constitutes, the model of the triode Q1 and triode Q2 are DTD114.After one end of resistance R2 is connected with one end of resistance R3
It is connected to+3.3V power supply, the other end of resistance R2 is connect with the base stage of triode Q2, the base stage and watchdog chip of triode Q2
The RESET foot of U1 connects, and the other end of resistance R3 is connect with the collector of triode Q2, the emitter ground connection of triode Q2, and three
The collector of pole pipe Q2 is connect with the base stage of triode Q1, and the collector of triode Q1 is connect with the EN foot of power supply chip U2, and three
The collector of pole pipe Q1 is connect with one end of resistance R1, and the other end of resistance R1 is connect with VCC power supply, VCC power supply and power supply core
The power input of piece U2 connects, and capacitor C1 is connected between the base stage and emitter of triode Q1, and the emitter of triode Q1 connects
Ground, the load output of power supply chip U2 are+3.3V power supply, and the WDI foot of the watchdog chip U1 is cpu system application software
Dog pin, the GND foot ground connection of the watchdog chip U1 are fed, the WDR foot of watchdog chip U1 is grounded, watchdog chip U1's
VDD foot connection+3.3V power supply is grounded after the VDD foot series capacitance C2 of watchdog chip U1.
In the present embodiment, the delay circuit is connected on structure between the WDI foot of watchdog chip U1 and GND by capacitor C3
At.Feeding dog interval time can be adjusted by the capacitor C3 of watchdog chip U1 WDT foot (PIN3), and increasing capacitor C3 capacitance can prolong
It is long to feed dog interval time, it can be transferred to the time greater than installation system or programming firmware, when solving installation system or programming firmware, nothing
Method feeds dog problem.
The circuit theory of the present embodiment are as follows: cpu system application software is to U1(TPS3813K33) watchdog chip WDI foot
(PIN1) dog is fed, hello dog interval time can be adjusted by the capacitor C3 of watchdog chip U1 WDT foot (PIN3), and increasing C3 capacitance can
Dog interval time is fed to extend, the time greater than installation system or programming firmware can be transferred to, solves installation system or programming firmware
When, dog problem can not be fed.When normally feeding dog, watchdog chip U1 RESET foot (PIN6) exports high level, leads to triode
Q2(DTD114) be connected, thus triode Q1(DTD114) end, power supply chip enables EN foot high level, and power supply chip is normally defeated
+ 3.3V out, system worked well;When there is exception in application software or system, can not normally feed dog, watchdog chip U1
RESET foot (PIN6) exports the low level of one fixed width, leads to triode Q2(DTD114) cut-off, thus triode Q1
(DTD114) it is connected, power supply chip enables EN foot low level, and power supply chip is without output+3.3V, system cut-off, later triode Q1
(DTD114) end again, power supply chip enables EN foot becomes high level again, and power supply chip output+3.3V again makes to load
It powers on again, whole system restarting.
The application of this circuit not only greatly strengthens the stability of system, but also reduces cost of labor, improves production effect
Rate.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or the terminal device that include a series of elements not only include those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or end
The intrinsic element of end equipment.In the absence of more restrictions, being limited by sentence " including ... " or " including ... "
Element, it is not excluded that there is also other elements in process, method, article or the terminal device for including the element.This
Outside, herein, " being greater than ", " being less than ", " being more than " etc. are interpreted as not including this number;" more than ", " following ", " within " etc. understand
Being includes this number.
Although the various embodiments described above are described, once a person skilled in the art knows basic wounds
The property made concept, then additional changes and modifications can be made to these embodiments, so the foregoing is merely the realities of the utility model
Example is applied, the scope of patent protection of the utility model is not intended to limit, it is all to utilize the utility model specification and accompanying drawing content
Made equivalent structure or equivalent flow shift, is applied directly or indirectly in other relevant technical fields, and similarly includes
Within the scope of patent protection of the utility model.