CN209388293U - A kind of crash indicating circuit and electronic equipment - Google Patents

A kind of crash indicating circuit and electronic equipment Download PDF

Info

Publication number
CN209388293U
CN209388293U CN201920041853.8U CN201920041853U CN209388293U CN 209388293 U CN209388293 U CN 209388293U CN 201920041853 U CN201920041853 U CN 201920041853U CN 209388293 U CN209388293 U CN 209388293U
Authority
CN
China
Prior art keywords
circuit
reset signal
cpu
watchdog
alarm
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
CN201920041853.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.)
Gongniu Group Co Ltd
Original Assignee
Bull Group 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 Bull Group Co Ltd filed Critical Bull Group Co Ltd
Priority to CN201920041853.8U priority Critical patent/CN209388293U/en
Application granted granted Critical
Publication of CN209388293U publication Critical patent/CN209388293U/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 crash indicating circuit and electronic equipment, the circuit includes: the watchdog circuit being separately connected with the feeding-dog signal output pin of CPU and reset signal input pin, sets the reset signal input pin that the first reset signal to CPU is exported when not receiving feeding-dog signal in duration;The alarm trigger circuit being separately connected with the reset signal output pin of watchdog circuit and the reset signal output pin of CPU, CPU carry out carrying out the connection triggering of the first way switch when resetting unsuccessful for the first time;Watchdog circuit exports reclocking after the first reset signal, sets the reset signal input pin that the second reset signal to CPU is exported when not receiving feeding-dog signal in duration;The warning note circuit being connect with alarm trigger circuit, when CPU is resetted unsuccessful for the second time, alarm trigger circuit carries out the connection triggering of the second way switch, triggering warning note circuit works, the utility model passes through the function of hardware realization crash reset completely, software participation is not needed, is reduced uncertain.

Description

A kind of crash indicating circuit and electronic equipment
Technical field
The utility model relates to electronic circuit technology field more particularly to a kind of crash indicating circuits and electronic equipment.
Background technique
In the use process of electronic equipment, in some special circumstances, such as longtime running high temperature, falls, user mistake behaviour Make etc., equipment may be caused to crash.
Especially in smart home system, gateway plays central action in the entire system, once gateway is sent out Crash has been given birth to, the paralysis of whole system will certainly be caused, if user cannot know and handle in time, may have been caused serious Consequence.Therefore, intelligent domestic gateway must be equipped with prevention mechanism (such as setting watchdog reset chip), can occur Restore automatically when crash;In certain extreme cases, if the mechanisms fail restored automatically, system must can issue report It is alert, inform that user carries out the operation of hand-reset at the first time.
Warning function (such as: lamp flashing, buzzer are rung) provisioned on existing intelligent domestic gateway or terminal is all It is to inform some emergency cases of user, such as robber enters the room door lock alarm, indoor kindling smoke sensor device alarm etc., and this It is to control realization by software that the shared feature of a little warning functions, which is them all,.When system crashes, software In paralyzed state and before crash state is unpredictable, can not achieve alarm.
Utility model content
The utility model provides a kind of crash indicating circuit, it is intended to solve on hardware realize system self-healing when without Prompt is resetted, when system can not realize the problem of resetting prompt when self-healing.
The utility model is realized in this way a kind of crash indicating circuit, the circuit include:
The watchdog circuit being separately connected with the feeding-dog signal output pin of CPU and the reset signal input pin of the CPU is used It resets and believes from the reset signal output pin of watchdog circuit output first when setting and not receiving feeding-dog signal in duration Number to the CPU reset signal input pin;
The report being separately connected with the reset signal output pin of the watchdog circuit and the reset signal output pin of the CPU Alert trigger circuit, the CPU receives first reset signal when carrying out resetting unsuccessful for the first time, and the alarm triggering is electric Road carries out the connection triggering of the first way switch;
The watchdog circuit exports reclocking after first reset signal, sets not receive in duration and feeds dog letter Number when export the reset signal input pin of the second reset signal to the CPU;
The warning note circuit being connect with the alarm trigger circuit, the CPU receive second reset signal into When row resets unsuccessful for the second time, the alarm trigger circuit carries out the connection triggering of the second way switch, triggers the warning note Circuit works.
Further, the alarm trigger circuit, including alarm flip chip, the alarm flip chip is through the first electricity Resistance, first switch device are connected to the reset signal input pin of the CPU.
Further, the watchdog circuit, comprising: watchdog chip and three state buffer, the three state buffer The feeding-dog signal output pin of the CPU, the feeding-dog signal input pin of the watchdog chip are connected, the watchdog chip is answered Position signal output pin is connect with the alarm trigger circuit.
Further, the alarm flip chip is the logical device with triggering or latch function.
Further, the watchdog chip is voltage checking chip or reset chip with watchdog function.
Further, the warning note circuit includes: indicator light, and the indicator light connects power supply through the 5th resistance.
Further, the warning note circuit includes: buzzer, and the buzzer is connected to through second switch device One pin of the alarm trigger circuit.
The utility model also provides a kind of electronic equipment, including the crash indicating circuit.
The utility model also provides a kind of crash indicating circuit, refers to including CPU and the crash connecting with the CPU Show circuit.
A kind of crash indicating circuit provided by the utility model is carried out by watchdog circuit when system in case of system halt multiple for the first time Position realizes self-healing if first time resets successfully, warning note is not generated, since General System is resetting successfully The starting for completing minimum system in the short time enough afterwards, can export reset signal, so counting again after resetting failure for the first time When carry out second of reset again for a period of time, if reset fail again if carry out warning note, whole process is not necessarily to real by software Existing, it is achieved that carrying out system in case of system halt warning note with hardware circuit completely, the utility model solves system in case of system halt cannot When self-healing, it cannot indicate that user carries out the problem of hand-reset leads to systemic breakdown in time by software, pass through completely The function of hardware realization crash reset does not need software participation, reduces uncertainty.
Detailed description of the invention
Fig. 1 is the crash indicating circuit block diagram that the utility model embodiment one provides;
Fig. 2 is the crash indicating circuit figure that the utility model embodiment one to seven provides;
Fig. 3 is the working sequence that the system that the utility model embodiment two provides generates warning note alarm trigger circuit Figure.
Specific embodiment
In order to make the purpose of the utility model, technical solutions and advantages more clearly understood, below in conjunction with attached drawing and implementation Example, the present invention will be further described in detail.It should be appreciated that specific embodiment described herein is only used to explain The utility model is not used to limit the utility model.
The utility model embodiment provides a kind of crash indicating circuit, including feeding-dog signal output pin with CPU and described The watchdog circuit that the reset signal input pin of CPU is separately connected, from institute when not receiving feeding-dog signal in duration for setting The reset signal output pin for stating watchdog circuit exports the reset signal input pin of the first reset signal to the CPU;With it is described The alarm trigger circuit that the reset signal output pin of watchdog circuit and the reset signal output pin of the CPU are separately connected, institute When stating CPU and receiving first reset signal and carry out resetting unsuccessful for the first time, the alarm trigger circuit carries out the first via Switch connection triggering;The watchdog circuit exports reclocking after first reset signal, sets in duration and does not receive The reset signal input pin of the second reset signal to the CPU is exported when feeding-dog signal;It is connect with the alarm trigger circuit When warning note circuit, the CPU receive second reset signal and are resetted unsuccessful for the second time, the alarm triggering Circuit carries out the connection triggering of the second way switch, triggers the warning note circuit and works.The crash indicating circuit is realized Completely system in case of system halt alarm is carried out with hardware circuit, and in system self-healing without warning note.
Embodiment one
The utility model embodiment provides a kind of crash indicating circuit, and as shown in Fig. 1 to 2, which includes:
The watchdog circuit being separately connected with the feeding-dog signal output pin of CPU100 and the reset signal input pin of CPU100 200, it is not received in duration for setting multiple from the reset signal output pin of watchdog circuit 200 output first when feeding-dog signal Position signal to CPU100 reset signal input pin;
The alarm being separately connected with the reset signal output pin of watchdog circuit 200 and the reset signal output pin of CPU100 Trigger circuit 300, CPU100 receive the first reset signal and carry out for the first time when resetting unsuccessful, alarm trigger circuit 300 into The connection triggering of the first way switch of row;
Watchdog circuit 200 exports reclocking after the first reset signal, when not receiving feeding-dog signal in setting duration Export the reset signal input pin of the second reset signal to CPU100;
The warning note circuit 400 connecting with alarm trigger circuit 300, CPU100 receive the second reset signal and carry out the It is secondary reset it is unsuccessful when, alarm trigger circuit 300 carry out the second way switch connection triggering, triggering warning note circuit 400 into Row work.
The working principle of above-mentioned crash indicating circuit is: system electrification operates normally, and CPU100 exports reset signal resetting Alarm trigger circuit 300;If abnormal crash has occurred in system, watchdog circuit 200 is more than that setting duration (such as 1.6s) does not have Feeding-dog signal is received, then exports the first reset signal to alarm trigger circuit 300, CPU100 is answered by alarm trigger circuit 300 Position, if resetting successfully for the first time, system continues to operate normally, and CPU100 exports reset signal and resets alarm trigger circuit 300; If resetting unsuccessful, 200 reclocking of watchdog circuit for the first time, it is multiple that second is exported after setting duration (such as 1.6s) Position signal resets CPU100 to alarm trigger circuit 300, by alarm trigger circuit 300, if second resets successfully, system Continue to operate normally, CPU100 exports reset signal and resets alarm trigger circuit 300;If resetting for the second time unsuccessful, pass through Warning note circuit 400 carries out crash warning note.
In the present embodiment, the U1 in Fig. 2 is CPU100, and one is exported when the reset signal output pin CLR of CPU100 is powered on The low level of short time, remaining time default output high level, RESET is reseting controling signal input pin, and WDI is feeding-dog signal Output pin, most every 1.6s are interior to export a feeding-dog signal.Alarm trigger circuit 300 passes throughCLR2The clearing of pin and CPU100 The CLR connection of signal output pin, while it being also connected with the reset signal input pin RESET of CPU100, when system in case of system halt, by guarding the gate Dog circuit 200 carries out first time reset, realizes self-healing if first time resets successfully, does not generate warning note, if Reset failure for the first time, carries out resetting for second after reclocking, carries out warning note, whole process if reset fails again Without leaning on software realization, realizes and realize system in case of system halt alarm with hardware circuit completely, and is (multiple for the first time in system self-healing Position success) when without warning note, secondary reset just passes through warning note user when still failing and manually resets.
Embodiment two
The utility model embodiment provides a kind of crash indicating circuit, as shown in Fig. 2, on the basis of example 1, Alarm trigger circuit 300, including alarm flip chip U2, the flip chip U2 that alarms is through first resistor R1, first switch device Q1 It is connected to the reset signal input pin RESET of CPU100.
In the present embodiment, alarm flip chip U2's sets 1 endPRE1WithPRE2It is connected to power supply VCC, alarm flip chip U2 Clear terminalCLR2Ground is pulled down to by 10K resistance R1, system can be made just to have powered on the pin of alarm flip chip U2 in this way 2Q and2QThe stable state for exporting low level and high level respectively, so that police instruction circuit 400 will not generate false alarm;Alarm The pin 1D of flip chip U2 is connected to power supply VCC, maintains stable high level;Pin 1Q and the 2D phase of alarm flip chip U2 Even;The pin CLK1 of alarm flip chip U2 is connected to the RESET output pin of watchdog circuit 200, while the RESET signal By the pin CLK2 for being input to alarm flip chip U2 after first switch device Q1 (metal-oxide-semiconductor can be used) reverse phase;Pass through One switching device Q1 realizes the CLR2 foot of the reset signal output pin CLR and alarm flip chip U2 of CPU100 in the same time Rising edge is staggered (as shown in Figure 3), will not lead to the problem of in advance or lag warning note, improving this from the angle of hardware is The stability of system.
Embodiment three
The utility model embodiment provides a kind of crash indicating circuit, on the basis of example 2, alarm triggering core Piece U2 is the logical device with triggering or latch function.
In the present embodiment, alarm flip chip U2 can be using the two-way D touching with Protection Counter Functions of model SN74LV74 Device is sent out, other logical devices with triggering or latch function is also could alternatively be, does not do unique restriction herein.
Example IV
The utility model embodiment provides a kind of crash indicating circuit, on the basis of example 1, watchdog circuit 200, comprising: the feeding-dog signal output pin WDI of three state buffer U4 connection CPU, watchdog chip U3 and three state buffer U4 is seen The feeding-dog signal input pin of door dog chip U3, the reset signal output pin of watchdog chip U3 and drawing for alarm trigger circuit 300 Foot CLK1 connection.
In the present embodiment, the WDI foot of watchdog chip U3 receives the feeding-dog signal of CPU100, watchdog chip U3's RESET is also coupled to the pin CLK1 of alarm flip chip U2 for resetting to CPU100, for the flip chip U2 that alarms Triggering clock is provided.Three state buffer U4 guarantees that CPU100 watchdog chip U3 in the system start-up time for powering on initial stage draws Foot WDI is high-impedance state, accordingly even when will not trigger reset without feeding-dog signal input.
Embodiment five
The utility model embodiment provides a kind of crash indicating circuit, on the basis of embodiment three, watchdog chip U3 is voltage checking chip or reset chip with watchdog function.
In the present embodiment, watchdog chip U3 uses reset chip TPS3823, also could alternatively be other band house dog function The voltage checking chip of energy, does not do unique restriction herein.
Embodiment six
The utility model embodiment provides a kind of crash indicating circuit, on the basis of example 1, warning note electricity Road 400 includes: indicator light LED1, and indicator light LED1 is through the 5th resistance RCC connection power supply VCC.
In the present embodiment, the pin 2Q control instructions lamp LED1 for the flip chip U2 that alarms refers to when resetting failure second Show that lamp LED1 is lighted, to prompt user manually to reset.
Embodiment seven
The utility model embodiment provides a kind of crash indicating circuit, on the basis of example 1, warning note electricity Road 400 includes: buzzer Buzz1, and buzzer Buzz1 is connected in alarm trigger circuit 300 through second switch device Q2 and alarms The pin 2Q of flip chip U2.
In the present embodiment, second switch device Q2 can use MOS switch pipe, triggering of alarming in alarm trigger circuit 300 The pin 2Q of chip U2 controls buzzer Buzz1 by controlling the switch of second switch device Q2, and system just powers on alarm The pin 2Q and 2Q of flip chip U2 export the stable state of low level and high level, relay RLY and indicator light LED1 respectively False alarm will not be generated, when secondary reset still fails, buzzer Buzz1 sounds, to prompt user manually to reset.
Embodiment eight
The utility model embodiment provides a kind of electronic equipment, the crash including any embodiment in embodiment one to seven Indicating circuit.
In the present embodiment, above-mentioned crash indicating circuit is used in electronic equipment, in the use process of electronic equipment, It is alarmed when system in case of system halt by hardware realization, securely and reliably.
Embodiment nine
The utility model embodiment provides a kind of crash indicating circuit, including CPU100 and the implementation connecting with CPU100 The crash indicating circuit of any embodiment in example one to seven.
In the present embodiment, crash indicating circuit is alarmed in system in case of system halt by hardware realization, securely and reliably.
Crash indicating circuit provided by the embodiment of the utility model carries out the by watchdog circuit when system in case of system halt It is primary to reset, self-healing is realized if first time resets successfully, does not generate warning note, if resetting failure for the first time, It carrying out resetting for second after reclocking, warning note is carried out if reset fails again, whole process is not necessarily to lean on software realization, Realize and realize system in case of system halt alarm with hardware circuit completely, and at system self-healing (reset successfully for the first time) without Warning note, secondary reset just pass through warning note user when still failing and manually reset.Alarm flip chip sets 1 Power supply is terminated to, the clear terminal for flip chip of alarming, to ground, makes system just power on alarm flip chip by resistive pull-downs The stable state of low level and high level is exported respectively with two pins of police instruction circuit connection, so that police instruction circuit False alarm will not be generated;Flip chip of alarming is realized the reset signal output pin of CPU and alarmed by first switch device to be triggered Rising edge of the pin of chip in the same time is staggered, and will not lead to the problem of in advance or lag warning note, from the angle of hardware Degree improves the stability of the system.Watchdog chip provides touching for resetting to CPU, while also for alarm flip chip Send out clock.Three state buffer ensure that the pin of CPU watchdog chip in the system start-up time for powering on initial stage is high resistant shape State will not trigger reset accordingly even when inputting without feeding-dog signal.Flip chip of alarming in alarm trigger circuit passes through control The switch of second switch device controls buzzer, and system has just powered on drawing for alarm flip chip and police instruction circuit connection Foot exports the stable state of low level and high level respectively, and relay and indicator light will not generate false alarm, resets when second When failure, buzzer sounds, and indicator light lights, to prompt user manually to reset.The utility model embodiment provides Electronic equipment in use above-mentioned crash indicating circuit, in the use process of electronic equipment, in system in case of system halt by hard Part realizes alarm, securely and reliably.
The above is only the preferred embodiment of the utility model only, is not intended to limit the utility model, all at this Made any modifications, equivalent replacements, and improvements etc., should be included in the utility model within the spirit and principle of utility model Protection scope within.

Claims (9)

1. a kind of crash indicating circuit characterized by comprising
The watchdog circuit being separately connected with the feeding-dog signal output pin of CPU and the reset signal input pin of the CPU, for setting When feeding-dog signal is not received in timing is long from the reset signal output pin of the watchdog circuit export the first reset signal to The reset signal input pin of the CPU;
It is touched with the alarm that the reset signal output pin of the watchdog circuit and the reset signal output pin of the CPU are separately connected Power Generation Road, the CPU receives first reset signal when carrying out resetting unsuccessful for the first time, the alarm trigger circuit into The connection triggering of the first way switch of row;
The watchdog circuit exports reclocking after first reset signal, when not receiving feeding-dog signal in setting duration Export the reset signal input pin of the second reset signal to the CPU;
The warning note circuit connecting with the alarm trigger circuit, the CPU receive second reset signal and carry out the Secondary when resetting unsuccessful, the alarm trigger circuit carries out the connection triggering of the second way switch, triggers the warning note circuit It works.
2. crash indicating circuit as described in claim 1, which is characterized in that the alarm trigger circuit, including alarm triggering Chip, the alarm flip chip are connected to the reset signal input pin of the CPU through first resistor, first switch device.
3. crash indicating circuit as claimed in claim 2, which is characterized in that the alarm flip chip is band triggering or latches The logical device of function.
4. crash indicating circuit as described in claim 1, which is characterized in that the watchdog circuit, comprising: watchdog chip And three state buffer, the three state buffer connects the feeding-dog signal output pin of the CPU, the dog that feeds of the watchdog chip is believed Number input pin, the reset signal output pin of the watchdog chip are connect with the alarm trigger circuit.
5. crash indicating circuit as claimed in claim 4, which is characterized in that the watchdog chip is with watchdog function Voltage checking chip or reset chip.
6. crash indicating circuit as described in claim 1, which is characterized in that the warning note circuit includes: indicator light, institute It states indicator light and connects power supply through the 5th resistance.
7. crash indicating circuit as described in claim 1, which is characterized in that the warning note circuit includes: buzzer, institute State the pin that buzzer is connected to the alarm trigger circuit through second switch device.
8. a kind of electronic equipment, which is characterized in that including crash indicating circuit described in any one of claims 1 to 7.
9. a kind of crash indicating circuit, which is characterized in that connect including CPU and with the CPU as in claim 1 to 7 appoint Crash indicating circuit described in one.
CN201920041853.8U 2019-01-09 2019-01-09 A kind of crash indicating circuit and electronic equipment Active CN209388293U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201920041853.8U CN209388293U (en) 2019-01-09 2019-01-09 A kind of crash indicating circuit and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201920041853.8U CN209388293U (en) 2019-01-09 2019-01-09 A kind of crash indicating circuit and electronic equipment

Publications (1)

Publication Number Publication Date
CN209388293U true CN209388293U (en) 2019-09-13

Family

ID=67852953

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201920041853.8U Active CN209388293U (en) 2019-01-09 2019-01-09 A kind of crash indicating circuit and electronic equipment

Country Status (1)

Country Link
CN (1) CN209388293U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111148327A (en) * 2019-12-31 2020-05-12 广州皓醒湾科技有限公司 Charging indicator lamp control device and method
CN114116271A (en) * 2021-10-08 2022-03-01 飞思未来(深圳)科技有限公司 Watchdog circuit and embedded industrial equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111148327A (en) * 2019-12-31 2020-05-12 广州皓醒湾科技有限公司 Charging indicator lamp control device and method
CN114116271A (en) * 2021-10-08 2022-03-01 飞思未来(深圳)科技有限公司 Watchdog circuit and embedded industrial equipment
CN114116271B (en) * 2021-10-08 2023-10-20 飞思未来(深圳)科技有限公司 Watchdog circuit and embedded industrial equipment

Similar Documents

Publication Publication Date Title
CN209388293U (en) A kind of crash indicating circuit and electronic equipment
CN201184899Y (en) Monitor for electric fire
CN108011348B (en) Low-voltage intelligent power distribution control protection system and control protection method thereof
CN107658845B (en) A kind of GFCI with leakage current test and Self-Test Diagnostics function
CN102541044B (en) Fault monitoring circuit and armarium
CN104123800B (en) A kind of wireless burglar alarm system
CN202495703U (en) Breaker for previewing line fault
CN206432968U (en) A anti-single chip microcomputer halt circuit
CN209784946U (en) controllable reset circuit based on single chip microcomputer
CN110416907B (en) Five-prevention and positioning system and method for handcart type high-voltage switch cabinet
CN204946240U (en) A kind of checkout equipment based on Smart Home feed circuit
CN215870723U (en) Power-off alarm device of intelligent power consumption protector
CN105096503A (en) Detection device based on intelligent household power supply circuit
CN204983965U (en) Smart home systems's burglar alarm entrance guard device
CN110501990A (en) Digitize the control circuit of I&C system
CN204989344U (en) Unusual detection equipment of electricity based on intelligence house
CN210137130U (en) Five-prevention and positioning system of handcart type high-voltage switch cabinet
CN109801458B (en) Energy control system for energy multiplication
CN204131480U (en) The microprocessing systems many condition being applicable to Intelligent bracelet restarts protective circuit
CN109066604B (en) Generator low-voltage protection system of million-kilowatt nuclear power station
CN207219133U (en) A kind of intelligent pulse high-voltage fence
CN206480130U (en) A kind of early warning system of plug for board
CN206075102U (en) Fire-fighting equipment power supply status watch-dog
CN105467849B (en) The monitoring method and system of intelligent air switch
CN204964645U (en) Unusual early warning electricity cabinet of electricity based on intelligent household equipment

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant