CN103630826B - Circuit for realizing MCU / DSP failure alarm - Google Patents
Circuit for realizing MCU / DSP failure alarm Download PDFInfo
- Publication number
- CN103630826B CN103630826B CN201310434173.XA CN201310434173A CN103630826B CN 103630826 B CN103630826 B CN 103630826B CN 201310434173 A CN201310434173 A CN 201310434173A CN 103630826 B CN103630826 B CN 103630826B
- Authority
- CN
- China
- Prior art keywords
- resistance
- alarm
- triode
- connects
- semiconductor
- 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
Links
Landscapes
- Alarm Systems (AREA)
- Amplifiers (AREA)
Abstract
The invention is applicable to the field of electronic circuits and provides a circuit for realizing MCU/DSP failure alarm. The circuit comprises a dog feeding signal detection module, an alarm control module and an alarm output module, wherein the output end of the dog feeding signal detection module is connected with the input end of the alarm control module and the output end of the alarm control module is connected with the input end of the alarm output module. By using the dog feeding signal detection module to detect a dog feeding signal issued by a DSP or a MCU, the DSP or the MCU can still issue an alarm prompt in the event of a failure. Therefore, a direction is pointed out for troubleshooting, the failure recovery efficiency is improved, time is saved and real-time system operation monitoring can be realized.
Description
Technical field
The circuit of alarm is realized the invention belongs to electronic circuit field, more particularly to a kind of MCU/DSP failures.
Background technology
The popularization and development of technology are controlled with current intelligence, increasing equipment employs MCU(Micro-control unit)
Or DSP(Digital signal processor)It is controlled, for MCU or dsp system, typically all needs to increase house dog
(A kind of chip dedicated for monitoring SCM program running status)Program is monitored, prevents system program to be interfered
And " run and fly ".It is disturbed if there is watchdog circuit failure, reset circuit failure, watchdog circuit and is unable to normal reset, MCU
Or cannot then be alerted or be indicated in the case of the failure of DSP hardware failure, MCU or DSP power supply circuits, to problem
The alarm identification of investigation and important system brings very big trouble.
The content of the invention
It is an object of the invention to provide a kind of MCU/DSP failure realize alarm circuit, it is intended to solve watchdog circuit,
Reset circuit goes wrong, watchdog circuit is disturbed and is unable to normal reset, MCU or DSP hardware failure, MCU or DSP confessions
The problem that circuit cannot then be alerted or indicated in the case of breaking down.
The present invention is achieved in that the circuit of alarm is realized in a kind of MCU/DSP failures, and the circuit includes feeding-dog signal
Detection module, ACM alarm control module and alarm output module, the feeding-dog signal detection module output end connection alarm control
Module input processed, the ACM alarm control module output end connection alarm output module input.
Further technical scheme of the invention is:The circuit also includes filtration module, and the input of the filtration module connects
The feeding-dog signal detection module output end is connect, the filtration module output end connects the ACM alarm control module input.
Further technical scheme of the invention is:The feeding-dog signal detection module includes electric capacity C1 and resistance R1, described
The electric capacity C1 series connection resistance R1.
Further technical scheme of the invention is:The ACM alarm control module include triode Q1, resistance R3, electric capacity C3 and
Resistance R4, the resistance R4 connect the resistance R3 and electric capacity C3 respectively, and the electric capacity C3 ground connection, the resistance R3 connections are described
The colelctor electrode of triode Q1, the grounded emitter of the triode Q1.
Further technical scheme of the invention is:The alarm output module includes resistance R5, metal-oxide-semiconductor Q3, alarm device
And voltage-regulator diode Z1, the resistance R5 connect the drain electrode of the metal-oxide-semiconductor Q3, the grid of the metal-oxide-semiconductor Q3 through the alarm device
Pole connects the anode of the voltage-regulator diode Z1, the source ground of the metal-oxide-semiconductor Q3.
Further technical scheme of the invention is:The alarm output module includes resistance R5, triode Q2, alarm device
Part, resistance R6, resistance R7, resistance R8 and operational amplifier U1, the resistance R5 connect the triode through the alarm device
The colelctor electrode of Q2, the resistance R6 is grounded through the resistance R7, and the resistance R6 connects the negative input of the operational amplifier U1
End, the output end of the operational amplifier U1 connects the base stage of the triode Q2 through the resistance R8, the triode Q2's
Grounded emitter.
Further technical scheme of the invention is:The alarm device is relay or light emitting diode or buzzer.
Further technical scheme of the invention is:The alarm device uses the relay, the alarm output module to include
It is connected after metal-oxide-semiconductor Q3, relay K1, diode D1 and voltage-regulator diode Z1, the diode D1 and the relay K1 parallel connection
The drain electrode of the metal-oxide-semiconductor Q3, the grid of the metal-oxide-semiconductor Q3 connects the anode of the voltage-regulator diode Z1, the source of the metal-oxide-semiconductor Q3
Pole is grounded.
Further technical scheme of the invention is:The alarm device uses the relay, the alarm output module to include
Triode Q2, relay K1, diode D1, resistance R6, resistance R7, resistance R8 and operational amplifier U1, the diode D1 with
The colelctor electrode of the triode Q2 is connected after the relay K1 parallel connections, the resistance R6 is grounded through the resistance R7, the electricity
Resistance R6 connects the negative input end of the operational amplifier U1, and the output end of the operational amplifier U1 connects institute through the resistance R8
State the base stage of triode Q2, the grounded emitter of the triode Q2.
Further technical scheme of the invention is:The alarm output module is output as logic level, the alarm output
Module includes resistance R5, metal-oxide-semiconductor Q3 and voltage-regulator diode Z1, and direct current 12V power supplys are exported through the resistance R5, the metal-oxide-semiconductor Q3
The drain electrode connection resistance R5 output end output logic level, the source ground of the metal-oxide-semiconductor Q3, the metal-oxide-semiconductor Q3's
Grid connects the anode of the voltage-regulator diode Z1, the negative electrode connection resistance R4 of the voltage-regulator diode Z1;Or it is described alarm it is defeated
Going out module includes resistance R5, resistance R6, resistance R7, resistance R8, operational amplifier U1 and triode Q2, and the resistance R6 is through resistance
R7 is grounded, and direct current 12V power supplys are exported through resistance R5, and the negative input end of the operational amplifier U1 connects the resistance R6, described
The output end of positive input terminal connection the resistance R4, the operational amplifier U1 of operational amplifier U1 is described through resistance R8 connections
The base stage of triode Q2, the grounded emitter of the triode Q2, the colelctor electrode of the triode Q2 connects the resistance R5's
Output end exports logic level.
The beneficial effects of the invention are as follows:The feeding-dog signal that DSP or MCU sends is detected by feeding dog detection module, is realized
DSP or MCU still sends alarm prompt in failure, for investigation problem specifies direction, improves fault recovery efficiency, saves
Time, realize the monitor in real time of system operation.
Brief description of the drawings
Fig. 1 is the circuit structure block diagram that alarm is realized for MCU/DSP failures provided in an embodiment of the present invention;
Fig. 2 is the circuit diagram one of the circuit that alarm is realized in MCU/DSP failures provided in an embodiment of the present invention;
Fig. 3 is the circuit diagram two of the circuit that alarm is realized in MCU/DSP failures provided in an embodiment of the present invention;
Fig. 4 is the circuit diagram three of the circuit that alarm is realized in MCU/DSP failures provided in an embodiment of the present invention;
Fig. 5 is the circuit diagram four of the circuit that alarm is realized in MCU/DSP failures provided in an embodiment of the present invention;
Fig. 6 is the circuit diagram five of the circuit that alarm is realized in MCU/DSP failures provided in an embodiment of the present invention;
Fig. 7 is the circuit diagram six of the circuit that alarm is realized in MCU/DSP failures provided in an embodiment of the present invention;
Fig. 8 is the circuit diagram seven of the circuit that alarm is realized in MCU/DSP failures provided in an embodiment of the present invention;
Fig. 9 is the circuit diagram eight of the circuit that alarm is realized in MCU/DSP failures provided in an embodiment of the present invention;
Figure 10 is the circuit diagram nine of the circuit that alarm is realized in MCU/DSP failures provided in an embodiment of the present invention;
Figure 11 is the circuit diagram ten of the circuit that alarm is realized in MCU/DSP failures provided in an embodiment of the present invention;
Figure 12 is the modules circuit simulation of the circuit that alarm is realized in MCU/DSP failures provided in an embodiment of the present invention
Figure.
Specific embodiment
Reference:10- feeding-dog signal detection module 20- filtration module 30- ACM alarm control modules 40- alarm outputs
Module.
As shown in figs. 1-12, the circuit of alarm, including feeding-dog signal detection mould are realized in the MCU/DSP failures that the present invention is provided
Block 10, ACM alarm control module 30 and alarm output module 40, the output end of feeding-dog signal detection module 10 connect the alarm
The input of control module 30, the output end of the ACM alarm control module 30 connection alarm input of output module 40.In MCU/
Feeding-dog signal to feeding-dog signal detection module 10 can be sent during DSP normal works, feeding-dog signal detection module 10 is fed detecting
By signal output signal to ACM alarm control module 30 after dog signal, ACM alarm control module 30 controls to accuse according to the signal message for receiving
Alert output module 40 is failure to actuate;When MCU/DSP breaks down and can not work, MCU/DSP will not send feeding-dog signal, feed dog letter
Number detection module 10 can't detect feeding-dog signal can be sent without detected signal information to ACM alarm control module 30, ACM alarm control module
30 send alarm action according to signal message control alarm output module 40 is received so that alarm element sends alarm and indicates.It is logical
Cross and feed the detection feeding-dog signals that send of DSP or MCU of dog detection module 10, realize DSP or MCU in failure(Watchdog circuit,
Reset circuit goes wrong, watchdog circuit is disturbed and is unable to normal reset, MCU or DSP hardware failure, MCU or DSP confessions
Circuit breaks down)Alarm prompt is still sent, for investigation problem specifies direction, fault recovery efficiency is improve, is saved
Time, realize the monitor in real time of system operation.
The circuit also includes filtration module 20, and the input of the filtration module 20 connects the feeding-dog signal detection module
10 output ends, the output end of the filtration module 20 connects the input of ACM alarm control module 30.The filtering circuit of filtration module 20
Middle clutter so that there was only spiking in circuit.
The feeding-dog signal detection module 10 includes electric capacity C1 and resistance R1, the electric capacity C1 series connection resistance R1, institute
State the base stage of resistance R1 difference connecting triodes Q1, resistance R2 to be connected with the one end after electric capacity C2 parallel connections, the electric capacity C1 connections
DSP/MCU feeding-dog signal output ends.
One end is connected after the filtration module 20 includes resistance R2 and electric capacity C2, the resistance R2 and the electric capacity C2 parallel connection
Resistance R1, other end ground connection.
The ACM alarm control module 30 includes triode Q1, resistance R3, electric capacity C3 and resistance R4, and the resistance R4 connects respectively
Meet the resistance R3 and electric capacity C3, the electric capacity C3 ground connection, the resistance R3 connect the colelctor electrode of the triode Q1, described three
The grounded emitter of pole pipe Q1, the base stage of the triode Q1 connects the resistance R1, and the resistance R4 is also connected with the pole of voltage stabilizing two
The negative electrode of pipe Z1, the resistance R4 connects direct current 12V power supplys.
The alarm output module 40 includes resistance R5, metal-oxide-semiconductor(Isolated gate FET)Q3, alarm device and voltage stabilizing two
Pole pipe Z1, the resistance R5 connect the drain electrode of the metal-oxide-semiconductor Q3, the grid connection institute of the metal-oxide-semiconductor Q3 through the alarm device
The anode of voltage-regulator diode Z1 is stated, the source ground of the metal-oxide-semiconductor Q3, the negative electrode of the voltage-regulator diode Z1 connects resistance R4,
The resistance R5 connects direct current 12V power supplys.
It is described alarm output module 40 include resistance R5, triode Q2, alarm device, resistance R6, resistance R7, resistance R8 and
Operational amplifier U1, the resistance R5 connect the colelctor electrode of the triode Q2 through the alarm device, and the resistance R6 is through institute
Resistance R7 ground connection is stated, the resistance R6 connects the negative input end of the operational amplifier U1, the output of the operational amplifier U1
Hold the base stage that the triode Q2 is connected through the resistance R8, the grounded emitter of the triode Q2, the operational amplifier
Positive input terminal connection resistance R4, the resistance R5, resistance R6 the connection direct current 12V power supplys of U1.
The alarm device is relay or light emitting diode or buzzer.
The alarm device uses relay, and the alarm output module 40 includes metal-oxide-semiconductor Q3, relay K1, diode
One end is connected the drain electrode of the metal-oxide-semiconductor Q3, institute after D1 and voltage-regulator diode Z1, the diode D1 and the relay K1 parallel connection
State diode D1 and direct current 12V power supplys are connected with the other end after relay K1 parallel connections, the grid connection of the metal-oxide-semiconductor Q3 is described
The anode of voltage-regulator diode Z1, the source ground of the metal-oxide-semiconductor Q3, the negative electrode connection resistance R4 of the voltage-regulator diode Z.
The alarm device uses relay, and the alarm output module 40 includes triode Q2, relay K1, diode
One end connects after D1, resistance R6, resistance R7, resistance R8 and operational amplifier U1, the diode D1 are in parallel with the relay K1
The colelctor electrode of the triode Q2 is connect, the diode D1 is connected direct current 12V power supplys with the other end after relay K1 parallel connections,
The resistance R6 is grounded through the resistance R7, and the resistance R6 connects the negative input end of the operational amplifier U1, the computing
The output end of amplifier U1 connects the base stage of the triode Q2, the positive input terminal of the operational amplifier U1 through the resistance R8
Connection resistance R4, the resistance R6 connect direct current 12V power supplys, the grounded emitter of the triode Q2.
The alarm output module 40 is output as logic level, and the alarm output module 40 includes resistance R5, metal-oxide-semiconductor Q3
And voltage-regulator diode Z1, direct current 12V power supplys export through the resistance R5, the drain electrode connection resistance R5's of the metal-oxide-semiconductor Q3
Output end exports logic level, and the source ground of the metal-oxide-semiconductor Q3, the grid of the metal-oxide-semiconductor Q3 connects the voltage-regulator diode
The anode of Z1, the negative electrode connection resistance R4 of the voltage-regulator diode Z1.
The alarm output module 40 is output as logic level, the alarm output module 40 include resistance R5, resistance R6,
Resistance R7, resistance R8, operational amplifier U1 and triode Q2, the resistance R6 are grounded through resistance R7, and direct current 12V power supplys are through resistance
R5 is exported, and the negative input end of the operational amplifier U1 connects the resistance R6, and the positive input terminal of the operational amplifier U1 connects
The output end of connecting resistance R4, the operational amplifier U1 connects the base stage of the triode Q2, three pole through the resistance R8
The grounded emitter of pipe Q2, the colelctor electrode of the triode Q2 connects the output end output logic level of the resistance R5.
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the invention, it is all in essence of the invention
Any modification, equivalent and improvement made within god and principle etc., should be included within the scope of the present invention.
Claims (7)
1. the circuit of alarm is realized in a kind of MCU/DSP failures, it is characterised in that:The circuit include feeding-dog signal detection module,
ACM alarm control module and alarm output module, the feeding-dog signal detection module output end connect the ACM alarm control module input
End, the ACM alarm control module output end connection alarm output module input;
The circuit also includes filtration module, and the input of the filtration module connects the feeding-dog signal detection module output end,
The filtration module output end connects the ACM alarm control module input;
The feeding-dog signal detection module includes electric capacity C1 and resistance R1, the electric capacity C1 series connection resistance R1;
The ACM alarm control module includes that triode Q1, resistance R3, electric capacity C3 and resistance R4, the resistance R4 connect described respectively
Resistance R3 and electric capacity C3, the electric capacity C3 ground connection, the resistance R3 connect the colelctor electrode of the triode Q1, the triode Q1
Grounded emitter.
2. circuit according to claim 1, it is characterised in that:It is described alarm output module include resistance R5, metal-oxide-semiconductor Q3,
Alarm device and voltage-regulator diode Z1, the resistance R5 connect the drain electrode of the metal-oxide-semiconductor Q3, the MOS through the alarm device
The grid of pipe Q3 connects the anode of the voltage-regulator diode Z1, the source ground of the metal-oxide-semiconductor Q3.
3. circuit according to claim 2, it is characterised in that:It is described alarm output module include resistance R5, triode Q2,
Alarm device, resistance R6, resistance R7, resistance R8 and operational amplifier U1, the resistance R5 are described through the alarm device connection
The colelctor electrode of triode Q2, the resistance R6 is grounded through the resistance R7, and the resistance R6 connects the operational amplifier U1's
Negative input end, the output end of the operational amplifier U1 connects the base stage of the triode Q2, three pole through the resistance R8
The grounded emitter of pipe Q2.
4. circuit according to claim 3, it is characterised in that:The alarm device is relay or light emitting diode or honeybee
Ring device.
5. circuit according to claim 4, it is characterised in that:The alarm device uses relay, the alarm output
Module includes metal-oxide-semiconductor Q3, relay K1, diode D1 and voltage-regulator diode Z1, the diode D1 and the relay K1 simultaneously
The drain electrode of the metal-oxide-semiconductor Q3 is connected after connection, the grid of the metal-oxide-semiconductor Q3 connects the anode of the voltage-regulator diode Z1, the MOS
The source ground of pipe Q3.
6. circuit according to claim 4, it is characterised in that:The alarm device uses relay, the alarm output
Module includes triode Q2, relay K1, diode D1, resistance R6, resistance R7, resistance R8 and operational amplifier U1, described two
Pole pipe D1 connects with the colelctor electrode that the triode Q2 is connected after relay K1 parallel connections, the resistance R6 through the resistance R7
Ground, the resistance R6 connects the negative input end of the operational amplifier U1, and the output end of the operational amplifier U1 is through the electricity
Resistance R8 connects the base stage of the triode Q2, the grounded emitter of the triode Q2.
7. circuit according to claim 1 and 2, it is characterised in that:The alarm output module is output as logic level, institute
Stating alarm output module includes resistance R5, metal-oxide-semiconductor Q3 and voltage-regulator diode Z1, and direct current 12V power supplys are exported through the resistance R5, institute
The output end output logic level of the drain electrode connection resistance R5 of metal-oxide-semiconductor Q3 is stated, the source ground of the metal-oxide-semiconductor Q3 is described
The grid of metal-oxide-semiconductor Q3 connects the anode of the voltage-regulator diode Z1, the negative electrode connection resistance R4 of the voltage-regulator diode Z1;Or institute
Stating alarm output module includes resistance R5, resistance R6, resistance R7, resistance R8, operational amplifier U1 and triode Q2, the resistance
R6 is grounded through resistance R7, and direct current 12V power supplys are exported through resistance R5, and the negative input end of the operational amplifier U1 connects the resistance
The output end of positive input terminal connection the resistance R4, the operational amplifier U1 of R6, the operational amplifier U1 is through the resistance R8
The base stage of the triode Q2 is connected, the grounded emitter of the triode Q2, the colelctor electrode connection of the triode Q2 is described
The output end output logic level of resistance R5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310434173.XA CN103630826B (en) | 2013-09-23 | 2013-09-23 | Circuit for realizing MCU / DSP failure alarm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310434173.XA CN103630826B (en) | 2013-09-23 | 2013-09-23 | Circuit for realizing MCU / DSP failure alarm |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103630826A CN103630826A (en) | 2014-03-12 |
CN103630826B true CN103630826B (en) | 2017-05-24 |
Family
ID=50212079
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310434173.XA Active CN103630826B (en) | 2013-09-23 | 2013-09-23 | Circuit for realizing MCU / DSP failure alarm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103630826B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5815511A (en) * | 1995-10-13 | 1998-09-29 | Fujitsu Limited | Semiconductor integrated circuit equipped with test circuit |
CN102541044A (en) * | 2010-12-31 | 2012-07-04 | 深圳迈瑞生物医疗电子股份有限公司 | Fault monitoring circuit and medical equipment |
CN203535186U (en) * | 2013-09-23 | 2014-04-09 | 深圳科士达科技股份有限公司 | Circuit capable of realizing alarm during MCU/DSP failure |
-
2013
- 2013-09-23 CN CN201310434173.XA patent/CN103630826B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5815511A (en) * | 1995-10-13 | 1998-09-29 | Fujitsu Limited | Semiconductor integrated circuit equipped with test circuit |
CN102541044A (en) * | 2010-12-31 | 2012-07-04 | 深圳迈瑞生物医疗电子股份有限公司 | Fault monitoring circuit and medical equipment |
CN203535186U (en) * | 2013-09-23 | 2014-04-09 | 深圳科士达科技股份有限公司 | Circuit capable of realizing alarm during MCU/DSP failure |
Non-Patent Citations (2)
Title |
---|
单片机软件喂狗方式和硬件喂狗方式的比较;周强等;《陕西科技大学学报》;20040831(第4期);全文 * |
基于Linux的嵌入式系统全程喂狗策略;张长顺等;《技术纵横》;20091231;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN103630826A (en) | 2014-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103321917A (en) | Water pump running self-checking device | |
CN104216497A (en) | Power supply fault detection device and method | |
CN102879712A (en) | System and method for positioning power distribution network terminal failures | |
CN103095102A (en) | Frequency converter controlling method and frequency converter controlling equipment and frequency converter | |
CN208112210U (en) | A kind of short-circuit protection circuit | |
CN103630826B (en) | Circuit for realizing MCU / DSP failure alarm | |
CN203367969U (en) | Overcurrent protection circuit of data unit | |
CN206269959U (en) | A kind of tap water supply pressure monitor terminal | |
CN204349330U (en) | Self-check type state indicator | |
CN203535186U (en) | Circuit capable of realizing alarm during MCU/DSP failure | |
CN203321798U (en) | Self-checking device for running of water pump | |
CN104537828A (en) | Device for detecting carrier communication in power consumption information collection device | |
CN201955869U (en) | Non-contact electronic equipment state monitor | |
CN204423579U (en) | The detector circuit of the external mutual inductor of a kind of automatic detection | |
CN104571091B (en) | The controller failure detecting system of intelligent transducer | |
CN105811357B (en) | Current foldback circuit and the AI modules that the current foldback circuit is set | |
CN108808749A (en) | Battery management system | |
CN207663013U (en) | A kind of MCU chip fault alarm circuit | |
CN208284084U (en) | A kind of alarm device | |
CN203587997U (en) | Multipath digital value input/output unit | |
CN102843531A (en) | Drive control circuit and television | |
CN202084152U (en) | Multilevel intelligent wetting early-warning protector | |
CN208126597U (en) | A kind of DC power supply panel smoke detector | |
CN206409418U (en) | A kind of blower fan control system | |
CN206517277U (en) | The control circuit and Switching Power Supply of a kind of signal detection processing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |