CN104914966A - Single-chip microcomputer self-outage restarting circuit - Google Patents
Single-chip microcomputer self-outage restarting circuit Download PDFInfo
- Publication number
- CN104914966A CN104914966A CN201510311280.2A CN201510311280A CN104914966A CN 104914966 A CN104914966 A CN 104914966A CN 201510311280 A CN201510311280 A CN 201510311280A CN 104914966 A CN104914966 A CN 104914966A
- Authority
- CN
- China
- Prior art keywords
- channel mos
- chip
- mos pipe
- chip microcomputer
- power supply
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Debugging And Monitoring (AREA)
- Electronic Switches (AREA)
- Power Sources (AREA)
- Microcomputers (AREA)
Abstract
The invention discloses a single-chip microcomputer self-outage restarting circuit which is connected with a single-chip microcomputer. The single-chip microcomputer self-outage restarting circuit comprises a switch chip U1, a reset chip U2, a P channel MOS pipe Q1, an N channel MOS pipe Q2, a resistor R1, a resistor R2, a resistor R3, a capacitor C1, a capacitor C2, a power supply VCC and a controlled power supply VCC_CTRL. When the single-chip microcomputer is halted due to some fault, the watchdog signal output end of the single-chip microcomputer stops outputting watchdog signals; when the reset chip does not receive the watchdog signals when exceeding the preset deadline, the reset signal output end of the reset chip outputs the low level; due to the fact that the normally open end of the switch chip U1 is connected with the public end of the switch chip U1, the grid voltage of the N channel MOS pipe Q2 is driven down, the N channel MOS pipe Q2 is disconnected, the drain voltage of the N channel MOS pipe Q2 is driven high by the resistor R3, the grid voltage of the P channel MOS pipe Q1 is driven high, the P channel MOS pipe Q1 is disconnected, the outage of the controlled power supply VCC_CTRL is achieved, the power supply VCC maintains a power-on state, and the circuit is started again.
Description
Technical field
The present invention relates to embedded system technology field, particularly relate to a kind of single-chip microcomputer Self-disconnecting and restart circuit.
Background technology
At present, reset circuit of SCM adopts Special reset chip to realize usually, but for stronger interference environment, as transmission line of electricity on-line checkingi circuit etc., cause Special reset chip can not normal reset single-chip microcomputer for a certain reason, cause deadlock, now, only have by cutting off microcontroller power supply after maintaining the off-position several seconds, system re-powers could normal work.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, a kind of single-chip microcomputer Self-disconnecting is provided to restart circuit, when single-chip microcomputer crashes due to certain fault, the WDT output terminal of single-chip microcomputer stops exporting WDT, reset chip exceed the default time limit do not receive WDT time, the reset signal output terminal output low level of reset chip, because the Chang Kaiduan of switch chip U1 is connected with the common port of switch chip U1, the grid voltage of N-channel MOS pipe Q2 is dragged down, N-channel MOS pipe Q2 is disconnected, the drain voltage of N-channel MOS pipe Q2 is drawn high by resistance R3, grid voltage by P channel MOS tube Q1 is drawn high, P channel MOS tube Q1 disconnects, realize controlled source VCC_CTRL power-off, power supply VCC keeps power-up state, circuit restarts.
The object of the invention is to be achieved through the following technical solutions: a kind of single-chip microcomputer Self-disconnecting restarts circuit, be connected with single-chip microcomputer, comprise switch chip U1, reset chip U2, P channel MOS tube Q1, N-channel MOS pipe Q2, resistance R1, resistance R2, resistance R3, electric capacity C1, electric capacity C2, power supply VCC and controlled source VCC_CTRL, the power end of reset chip is connected with controlled source VCC_CTRL, the WDT input end of reset chip is connected with the WDT output terminal of single-chip microcomputer, the reset signal output terminal of reset chip is connected with the Chang Kaiduan of switch chip U1, the control input end of switch chip U1 is electrically connected with controlled source VCC_CTRL by resistance R1, the control input end of switch chip U1 is by electric capacity C1 ground connection, the power end of switch chip U1 is electrically connected with power supply VCC, the common port of switch chip U1 is connected with the grid of N-channel MOS pipe Q2, the grid of N-channel MOS pipe Q2 is connected with power supply VCC by resistance R2, the drain electrode of N-channel MOS pipe Q2 is connected with power supply VCC by resistance R3, the grid of N-channel MOS pipe Q2 is by electric capacity C2 ground connection, the source ground of N-channel MOS pipe Q2, the drain electrode of N-channel MOS pipe Q2 is connected with the grid of P channel MOS tube Q1, the source electrode of P channel MOS tube Q1 is connected with power supply VCC, the drain electrode of P channel MOS tube Q1 is connected with controlled source VCC_CTRL, controlled source VCC_CTRL is connected with the power end of single-chip microcomputer.
Described switch chip U1 is single-pole double-throw switch (SPDT).
The model of described switch chip U1 is TS5A3159.
The model of described P channel MOS tube Q1 is SI2347DS, and the model of N-channel MOS pipe Q2 is BSS138.
The invention has the beneficial effects as follows: when single-chip microcomputer crashes due to certain fault, the WDT output terminal of single-chip microcomputer stops exporting WDT, reset chip exceed the default time limit do not receive WDT time, the reset signal output terminal output low level of reset chip, because the Chang Kaiduan of switch chip U1 is connected with the common port of switch chip U1, the grid voltage of N-channel MOS pipe Q2 is dragged down, N-channel MOS pipe Q2 is disconnected, the drain voltage of N-channel MOS pipe Q2 is drawn high by resistance R3, grid voltage by P channel MOS tube Q1 is drawn high, P channel MOS tube Q1 disconnects, realize controlled source VCC_CTRL power-off, power supply VCC keeps power-up state, circuit restarts.
Accompanying drawing explanation
Fig. 1 is the circuit diagram that single-chip microcomputer Self-disconnecting of the present invention restarts circuit.
Embodiment
Below in conjunction with accompanying drawing, technical scheme of the present invention is described in further detail, but protection scope of the present invention is not limited to the following stated.
As shown in Figure 1, a kind of single-chip microcomputer Self-disconnecting restarts circuit, be connected with single-chip microcomputer, comprise switch chip U1, reset chip U2, P channel MOS tube Q1, N-channel MOS pipe Q2, resistance R1, resistance R2, resistance R3, electric capacity C1, electric capacity C2, power supply VCC and controlled source VCC_CTRL, the power end of reset chip is connected with controlled source VCC_CTRL, the WDT input end of reset chip is connected with the WDT output terminal of single-chip microcomputer, the reset signal output terminal of reset chip is connected with the Chang Kaiduan of switch chip U1, the control input end of switch chip U1 is electrically connected with controlled source VCC_CTRL by resistance R1, the control input end of switch chip U1 is by electric capacity C1 ground connection, the power end of switch chip U1 is electrically connected with power supply VCC, the common port of switch chip U1 is connected with the grid of N-channel MOS pipe Q2, the grid of N-channel MOS pipe Q2 is connected with power supply VCC by resistance R2, the drain electrode of N-channel MOS pipe Q2 is connected with power supply VCC by resistance R3, the grid of N-channel MOS pipe Q2 is by electric capacity C2 ground connection, the source ground of N-channel MOS pipe Q2, the drain electrode of N-channel MOS pipe Q2 is connected with the grid of P channel MOS tube Q1, the source electrode of P channel MOS tube Q1 is connected with power supply VCC, the drain electrode of P channel MOS tube Q1 is connected with controlled source VCC_CTRL, controlled source VCC_CTRL is connected with the power end of single-chip microcomputer.
Described switch chip U1 is single-pole double-throw switch (SPDT).
The model of described switch chip U1 is TS5A3159.
The model of described P channel MOS tube Q1 is SI2347DS, and the model of N-channel MOS pipe Q2 is BSS138.
During work, power supply VCC powers on, switch chip U1 is powered by power supply VCC, the control input end of switch chip U1 does not power on, the common port of switch chip U1 is connected to the normal-closed end of switch chip U1, power supply VCC is charged to electric capacity C2 by resistance R2, duration of charging is determined by charging rate t2, after the voltage of electric capacity C2 reaches the threshold voltage of N-channel MOS pipe Q2, N-channel MOS pipe Q2 conducting, the drain electrode of N-channel MOS pipe Q2 and source electrode are connected, due to the source ground of N-channel MOS pipe Q2, thus drag down the grid voltage of P channel MOS tube Q1, make P channel MOS tube Q1 conducting, thus connect power supply VCC and controlled source VCC_CTRL, controlled source VCC_CTRL powers to reset chip, the reset signal output terminal of reset chip exports high level, controlled source VCC_CTRL is charged to electric capacity C1 by resistance R1, duration of charging is determined by charging rate t1, and after reaching threshold voltage, the common port of switch chip U1 is switched to Chang Kaiduan, thus be connected to the reset signal output terminal of reset chip, keep high level, guarantee P channel MOS tube Q1 conducting, realizes power supply VCC and controlled source VCC_CTRL connects.
When single-chip microcomputer crashes due to certain fault, the WDT output terminal of single-chip microcomputer stops exporting WDT, reset chip exceed the default time limit do not receive WDT time, the reset signal output terminal output low level of reset chip, because the Chang Kaiduan of switch chip U1 is connected with the common port of switch chip U1, the grid voltage of N-channel MOS pipe Q2 is dragged down, N-channel MOS pipe Q2 is disconnected, the drain voltage of N-channel MOS pipe Q2 is drawn high by resistance R3, grid voltage by P channel MOS tube Q1 is drawn high, P channel MOS tube Q1 disconnects, realize controlled source VCC_CTRL power-off, power supply VCC keeps power-up state, circuit restarts.
In the present embodiment, the resistance of resistance R1 is 20K Ω, and the resistance of resistance R2 is 499K Ω, and the capacitance of electric capacity C1 is the capacitance of 10 μ F, electric capacity C2 is 10 μ F, charging rate t1=R1*C1=0.2S, charging rate t2=R2*C2=4.99S.The Self-disconnecting reboot time that Self-disconnecting restarts circuit can be changed by the value of amendment resistance R1, resistance R2, electric capacity C1 and electric capacity C2.
Claims (4)
1. a single-chip microcomputer Self-disconnecting restarts circuit, be connected with single-chip microcomputer, it is characterized in that: comprise switch chip U1, reset chip U2, P channel MOS tube Q1, N-channel MOS pipe Q2, resistance R1, resistance R2, resistance R3, electric capacity C1, electric capacity C2, power supply VCC and controlled source VCC_CTRL, the power end of reset chip is connected with controlled source VCC_CTRL, the WDT input end of reset chip is connected with the WDT output terminal of single-chip microcomputer, the reset signal output terminal of reset chip is connected with the Chang Kaiduan of switch chip U1, the control input end of switch chip U1 is electrically connected with controlled source VCC_CTRL by resistance R1, the control input end of switch chip U1 is by electric capacity C1 ground connection, the power end of switch chip U1 is electrically connected with power supply VCC, the common port of switch chip U1 is connected with the grid of N-channel MOS pipe Q2, the grid of N-channel MOS pipe Q2 is connected with power supply VCC by resistance R2, the drain electrode of N-channel MOS pipe Q2 is connected with power supply VCC by resistance R3, the grid of N-channel MOS pipe Q2 is by electric capacity C2 ground connection, the source ground of N-channel MOS pipe Q2, the drain electrode of N-channel MOS pipe Q2 is connected with the grid of P channel MOS tube Q1, the source electrode of P channel MOS tube Q1 is connected with power supply VCC, the drain electrode of P channel MOS tube Q1 is connected with controlled source VCC_CTRL, controlled source VCC_CTRL is connected with the power end of single-chip microcomputer.
2. a kind of single-chip microcomputer Self-disconnecting according to claim 1 restarts circuit, it is characterized in that: described switch chip U1 is single-pole double-throw switch (SPDT).
3. a kind of single-chip microcomputer Self-disconnecting according to claim 2 restarts circuit, it is characterized in that: the model of described switch chip U1 is TS5A3159.
4. a kind of single-chip microcomputer Self-disconnecting according to claim 1 restarts circuit, it is characterized in that: the model of described P channel MOS tube Q1 is SI2347DS, and the model of N-channel MOS pipe Q2 is BSS138.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510311280.2A CN104914966B (en) | 2015-06-09 | 2015-06-09 | A kind of single-chip microcontroller Self-disconnecting restarts circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510311280.2A CN104914966B (en) | 2015-06-09 | 2015-06-09 | A kind of single-chip microcontroller Self-disconnecting restarts circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104914966A true CN104914966A (en) | 2015-09-16 |
CN104914966B CN104914966B (en) | 2019-04-12 |
Family
ID=54084112
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510311280.2A Active CN104914966B (en) | 2015-06-09 | 2015-06-09 | A kind of single-chip microcontroller Self-disconnecting restarts circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104914966B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106301313A (en) * | 2016-08-22 | 2017-01-04 | 安徽东风机电科技股份有限公司 | A kind of power-off start-up circuit of band Address Recognition |
CN106484064A (en) * | 2016-11-22 | 2017-03-08 | 深圳市长龙铁路电子工程有限公司 | A kind of power control circuit of SCM system |
CN111625074A (en) * | 2020-04-24 | 2020-09-04 | 北京海林节能科技股份有限公司 | Wireless module crash prevention method and circuit and wireless communication equipment |
CN106411301B (en) * | 2016-11-11 | 2024-04-19 | 国网山东省电力公司临邑县供电公司 | High-low level mixed effective switch reset circuit |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101860624A (en) * | 2010-06-21 | 2010-10-13 | 中兴通讯股份有限公司 | Crash auto-restart method and mobile phone |
CN102163071A (en) * | 2011-01-20 | 2011-08-24 | 海能达通信股份有限公司 | Control circuit and power control method during reset thereof |
CN102866928A (en) * | 2012-10-12 | 2013-01-09 | 福建师范大学 | Watchdog circuit with power supply managing function |
CN204650218U (en) * | 2015-06-09 | 2015-09-16 | 四川汇源光通信有限公司 | A kind of single-chip microcomputer Self-disconnecting restarts circuit |
-
2015
- 2015-06-09 CN CN201510311280.2A patent/CN104914966B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101860624A (en) * | 2010-06-21 | 2010-10-13 | 中兴通讯股份有限公司 | Crash auto-restart method and mobile phone |
CN102163071A (en) * | 2011-01-20 | 2011-08-24 | 海能达通信股份有限公司 | Control circuit and power control method during reset thereof |
CN102866928A (en) * | 2012-10-12 | 2013-01-09 | 福建师范大学 | Watchdog circuit with power supply managing function |
CN204650218U (en) * | 2015-06-09 | 2015-09-16 | 四川汇源光通信有限公司 | A kind of single-chip microcomputer Self-disconnecting restarts circuit |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106301313A (en) * | 2016-08-22 | 2017-01-04 | 安徽东风机电科技股份有限公司 | A kind of power-off start-up circuit of band Address Recognition |
CN106301313B (en) * | 2016-08-22 | 2018-09-18 | 安徽东风机电科技股份有限公司 | A kind of power-off start-up circuit with Address Recognition |
CN106411301B (en) * | 2016-11-11 | 2024-04-19 | 国网山东省电力公司临邑县供电公司 | High-low level mixed effective switch reset circuit |
CN106484064A (en) * | 2016-11-22 | 2017-03-08 | 深圳市长龙铁路电子工程有限公司 | A kind of power control circuit of SCM system |
CN106484064B (en) * | 2016-11-22 | 2023-08-25 | 深圳市长龙铁路电子工程有限公司 | Power supply control circuit of singlechip system |
CN111625074A (en) * | 2020-04-24 | 2020-09-04 | 北京海林节能科技股份有限公司 | Wireless module crash prevention method and circuit and wireless communication equipment |
Also Published As
Publication number | Publication date |
---|---|
CN104914966B (en) | 2019-04-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102320275A (en) | Power-off delay circuit of hybrid control unit for electric automobile | |
CN206650446U (en) | A kind of low-power consumption standby circuit of BMS | |
CN102213993B (en) | Circuit for soft startup and soft shutdown | |
CN105223858A (en) | A kind of switching on and shutting down control circuit of electronic equipment | |
CN203982116U (en) | A kind of switching on and shutting down control circuit of electronic equipment | |
CN103105921A (en) | Method for reducing lithium battery static power consumption under laptop shutdown state | |
CN207782762U (en) | A kind of automatic reset circuit and electronic product | |
CN104914966A (en) | Single-chip microcomputer self-outage restarting circuit | |
CN106787129A (en) | A kind of power-supply management system for being automatically obtained main power supply switching | |
CN104850021A (en) | Start-up and shutdown system | |
CN201623531U (en) | Automatic switching circuit of main power supply and standby power supply | |
CN205229961U (en) | Anti breech lock power -off reset circuit of CMOS singlechip | |
CN205584005U (en) | Power switching circuit and power supply system | |
CN204650218U (en) | A kind of single-chip microcomputer Self-disconnecting restarts circuit | |
CN107733413B (en) | Intelligent switch circuit and intelligent terminal of pre-installation battery system | |
CN203746007U (en) | Microprocessor management circuit for self-powered microprocessor protection device | |
CN103885563A (en) | Management circuit for self-powered microprocessor protection device microprocessor | |
CN104714618A (en) | Reset circuit | |
CN203456941U (en) | Efficient battery and external power supply automatic switching circuit having multiple protection function | |
CN103294147A (en) | Software startup and shutdown circuit and realizing method | |
CN202997685U (en) | A backup power source soft switch-on circuit | |
CN204965315U (en) | MCU has a quick reset circuit who goes up electric time delay function | |
CN104348251A (en) | Circuit for switching power supplies of external power source and lithium battery | |
CN107465247B (en) | Faraday capacitor delay power-off circuit suitable for intelligent cabinet control system | |
CN103107577B (en) | Battery management circuit and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |