CN108052047A - Microcontroller automatic shutdown circuitry - Google Patents
Microcontroller automatic shutdown circuitry Download PDFInfo
- Publication number
- CN108052047A CN108052047A CN201810045194.5A CN201810045194A CN108052047A CN 108052047 A CN108052047 A CN 108052047A CN 201810045194 A CN201810045194 A CN 201810045194A CN 108052047 A CN108052047 A CN 108052047A
- Authority
- CN
- China
- Prior art keywords
- microcontroller
- type triode
- automatic shutdown
- power supply
- npn type
- 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.)
- Pending
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
- G05B19/0423—Input/output
-
- 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
- G05B2219/21—Pc I-O input output
- G05B2219/21119—Circuit for signal adaption, voltage level shift, filter noise
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Power Sources (AREA)
Abstract
The present invention relates to microcontroller automatic shutdown circuitries, with NPN type triode and PNP type triode, power supply, the emitter of the collector connection microcontroller of PNP type triode connect the DC power supply of 4.5V, and the collector of NPN type triode is connected by base stage, the controlling switch of the base stage connection microcontroller of NPN type triode, emitter ground connection.The microcontroller automatic shutdown circuitry of the present invention, can enable microcontroller voluntarily fully powered-off, will not automatically restart in shutdown process, be effectively saved the power consumption of microcontroller.
Description
Technical field
The present invention relates to circuits, are concretely microcontroller automatic shutdown circuitries.
Background technology
As electronic field continues to develop, the power consumption requirements of electronic product are higher and higher, will to the power consumption of singlechip chip
Ask also higher and higher.In common scm application system, typically realize microcontroller certainly by the I/O ports of microcontroller
The function of shutdown (thoroughly shutdown), is usually realized with one electronic switch of an I/O port controlling of microcontroller, because
After microcontroller is powered-down, power supply is lost, so in shutdown, low level must be used by realizing the level of the I/O ports of shutdown.
But often problem appear to is that, electronic switch close power supply when because having the presence of power filtering capacitor, monolithic
The voltage of machine system is not to immediately become 0, but is slowly lower, when voltage it is low to a certain extent when, microcontroller can enter reset
State or program fleet state or nondeterministic statement, the powered-down I/O ports of microcontroller control at this time may also become high level again,
Electronic switch will be made again open-minded.
The content of the invention
The present invention provides a kind of microcontroller automatic shutdown circuitries, to realize that microcontroller can be voluntarily fully powered-off, reach
The purpose of power saving.
Microcontroller automatic shutdown circuitry of the present invention has NPN type triode and PNP type triode, the collection of PNP type triode
Power supply, the emitter of electrode connection microcontroller connect the DC power supply of 4.5V, and the current collection of NPN type triode is connected by base stage
Pole, the controlling switch of the base stage connection microcontroller of NPN type triode, emitter ground connection.
The minimum operating voltage of microcontroller is more lower than normal operating voltage, therefore can be set by this difference
Shutdown circuit is counted, the turning-on voltage of electronic switch is allowed to have to be larger than the minimum work pressure of microcontroller, so in the normal work of microcontroller
When making, this control voltage is higher, is able to maintain that the normally of electronic switch, and when microcontroller is due to during powered-down because low pressure
The high level of the I/O ports of generation because the voltage of the high level is relatively low, is not enough to maintain the conducting of electronic switch, so as to fulfill
Microcontroller it is thorough powered-down.
The low level of the output switch power source of microcontroller is 0, and high level is similar to the supply voltage of microcontroller.Microcontroller work
After work, the output switch power source output high level of microcontroller, NPN type triode conducting, and maintain the conducting of PNP type triode real
Now start shooting.When microcontroller shuts down, the output switch power source output low level of microcontroller, NPN type triode cut-off, and make positive-negative-positive
Triode turns off, and realizes thoroughly shutdown.
Further, the input terminal of microcontroller is connected to the base stage of PNP type triode and one end of switch by diode,
The other end ground connection of switch.Switch can be started and be closed with control single chip computer.After switch is pressed, PNP type triode can be turned on,
Realize microcontroller normal work.The input terminal of microcontroller is used for the state of microcontroller detection switch, in the working condition of microcontroller
When by lower switch because one end ground connection of switch, therefore conducting is pressed in a flash in switch, low level makes list by diode
The level of the input terminal of piece machine is low, after microcontroller detects, the output switch power source output low level of control single chip computer, and NPN
Type triode ends, and PNP type triode shut-off realizes shutdown.Diode is for isolating, microcontroller when avoiding off-mode
Input terminal turns on PNP type triode for low level.
Further, the power supply of microcontroller is connected by Voltage stabilizing module and the collector of PNP type triode, makes microcontroller
Stabilized input voltage.
Preferably, bridging has filter capacitor between the power supply of microcontroller and ground connection.
Further, the base stage of PNP type triode connects the collector of NPN type triode by current-limiting resistance.
The microcontroller automatic shutdown circuitry of the present invention, can enable microcontroller voluntarily fully powered-off, will not shut down
Restart automatically in journey, be effectively saved the power consumption of microcontroller.
Specific embodiment with reference to embodiments is described in further detail the above of the present invention again.
But the scope that this should not be interpreted as to the above-mentioned theme of the present invention is only limitted to following example.Think not departing from the above-mentioned technology of the present invention
In the case of thinking, the various replacements or change made according to ordinary skill knowledge and customary means should all be included in this hair
In bright scope.
Description of the drawings
Fig. 1 is the schematic diagram of microcontroller automatic shutdown circuitry of the present invention.
Specific embodiment
The microcontroller automatic shutdown circuitry of the present invention as shown in Figure 1 has NPN type triode Q1 and PNP type triode Q2,
The power supply VCC of microcontroller is connected by the Voltage stabilizing module U1 of LM117 models with the collector of PNP type triode Q2, microcontroller
Bridging has filter capacitor C6 between power supply VCC and ground connection GND.The emitter of PNP type triode Q2 connects the DC power supply of 4.5V, and
The collector of NPN type triode Q1, the base stage connection microcontroller of NPN type triode Q1 are connected to through current-limiting resistance R6 by base stage
Controlling switch POWER, emitter ground connection.The input terminal ON-OFF of microcontroller is connected to PNP type triode by diode D3
The base stage of Q2 and one end of switch S1 switch the other end ground connection of S1.Diode D3 plays the role of isolation, avoids off-mode
When microcontroller input terminal ON-OFF for low level make PNP type triode Q2 turn on.
Claims (5)
1. microcontroller automatic shutdown circuitry, it is characterized in that:With NPN type triode (Q1) and PNP type triode (Q2), positive-negative-positive
Power supply (VCC), the emitter of the collector connection microcontroller of triode (Q2) connect the DC power supply of 4.5V, and are connected by base stage
The collector of NPN type triode (Q1), the controlling switch (POWER) of the base stage connection microcontroller of NPN type triode (Q1), transmitting
Pole is grounded.
2. microcontroller automatic shutdown circuitry as described in claim 1, it is characterized in that:The input terminal (ON-OFF) of microcontroller passes through
Diode (D3) is connected to the base stage of PNP type triode (Q2) and one end of switch (S1), the other end ground connection of switch (S1).
3. microcontroller automatic shutdown circuitry as described in claim 1, it is characterized in that:The power supply (VCC) of microcontroller passes through voltage stabilizing
Module (U1) is connected with the collector of PNP type triode (Q2).
4. microcontroller automatic shutdown circuitry as claimed in claim 3, it is characterized in that:The power supply (VCC) of microcontroller and ground connection
(GND) bridging has filter capacitor (C6) between.
5. the microcontroller automatic shutdown circuitry as described in one of Claims 1-4, it is characterized in that:The base of PNP type triode (Q2)
Pole connects the collector of NPN type triode (Q1) by current-limiting resistance (R6).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810045194.5A CN108052047A (en) | 2018-01-17 | 2018-01-17 | Microcontroller automatic shutdown circuitry |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810045194.5A CN108052047A (en) | 2018-01-17 | 2018-01-17 | Microcontroller automatic shutdown circuitry |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108052047A true CN108052047A (en) | 2018-05-18 |
Family
ID=62126789
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810045194.5A Pending CN108052047A (en) | 2018-01-17 | 2018-01-17 | Microcontroller automatic shutdown circuitry |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108052047A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109861677A (en) * | 2019-01-21 | 2019-06-07 | 聂奇隆 | A kind of Intelligent Single-Chip Based switching circuit |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101135890A (en) * | 2007-10-09 | 2008-03-05 | 深圳市和而泰电子科技有限公司 | Electricity-saving mode power management system and method thereof |
CN101783663A (en) * | 2009-12-29 | 2010-07-21 | 福建鑫诺通讯技术有限公司 | Controllable on/off circuit |
CN202771194U (en) * | 2012-09-11 | 2013-03-06 | 漳州市东方智能仪表有限公司 | Automatic shutdown all-off circuit |
CN204065778U (en) * | 2014-09-02 | 2014-12-31 | 浙江亚龙教育装备股份有限公司 | The change-over circuit of on-off model and treatment circuit |
CN104570871A (en) * | 2014-12-30 | 2015-04-29 | 上海力申科学仪器有限公司 | On-off circuit |
CN204928784U (en) * | 2015-09-16 | 2015-12-30 | 成都锐奕信息技术有限公司 | Can realize turn -offing completely switching on and shutting down circuit of power |
CN105720809A (en) * | 2016-03-23 | 2016-06-29 | 施婷婷 | Switching control circuit for single chip microcomputer |
CN207689874U (en) * | 2018-01-17 | 2018-08-03 | 攀枝花学院 | Microcontroller automatic shutdown circuitry |
-
2018
- 2018-01-17 CN CN201810045194.5A patent/CN108052047A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101135890A (en) * | 2007-10-09 | 2008-03-05 | 深圳市和而泰电子科技有限公司 | Electricity-saving mode power management system and method thereof |
CN101783663A (en) * | 2009-12-29 | 2010-07-21 | 福建鑫诺通讯技术有限公司 | Controllable on/off circuit |
CN202771194U (en) * | 2012-09-11 | 2013-03-06 | 漳州市东方智能仪表有限公司 | Automatic shutdown all-off circuit |
CN204065778U (en) * | 2014-09-02 | 2014-12-31 | 浙江亚龙教育装备股份有限公司 | The change-over circuit of on-off model and treatment circuit |
CN104570871A (en) * | 2014-12-30 | 2015-04-29 | 上海力申科学仪器有限公司 | On-off circuit |
CN204928784U (en) * | 2015-09-16 | 2015-12-30 | 成都锐奕信息技术有限公司 | Can realize turn -offing completely switching on and shutting down circuit of power |
CN105720809A (en) * | 2016-03-23 | 2016-06-29 | 施婷婷 | Switching control circuit for single chip microcomputer |
CN207689874U (en) * | 2018-01-17 | 2018-08-03 | 攀枝花学院 | Microcontroller automatic shutdown circuitry |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109861677A (en) * | 2019-01-21 | 2019-06-07 | 聂奇隆 | A kind of Intelligent Single-Chip Based switching circuit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3485746A1 (en) | Electronic cigarette and power supply circuit thereof | |
CN103324545B (en) | Power switch module, voltage generation circuit and power control method | |
WO2018036370A1 (en) | Soft start circuit, and power board and service single board having same | |
CN104270003A (en) | Power supply control method and circuit and electrical equipment | |
CN103577223A (en) | Micro control unit (MCU) startup mode selecting circuit and MCU code updating method based on circuit | |
CN104850021A (en) | Start-up and shutdown system | |
CN106740133A (en) | The vehicle-mounted CAN power circuit of electric automobile, electric automobile and its power-supply system | |
CN207689874U (en) | Microcontroller automatic shutdown circuitry | |
TW201416845A (en) | Motherboard | |
CN205540692U (en) | Case of exempting from to start shooting updates intel management engine firmware circuit | |
CN108052047A (en) | Microcontroller automatic shutdown circuitry | |
CN101206520A (en) | Time sequence improving circuit | |
CN204290714U (en) | Power control circuit and electrical equipment | |
US20100275041A1 (en) | Computer power supply and power status signal generating circuit thereof | |
CN107766073A (en) | A kind of structure and method of supporting server start to change BMC flash | |
CN201130847Y (en) | Power supply circuit with testing and protection function | |
CN211478928U (en) | Power control circuit and robot | |
CN109004922B (en) | Reset circuit | |
CN114221581A (en) | Electric tool driving circuit adaptable to various starting modes | |
CN103324126A (en) | Single-chip microcomputer control delay relay | |
CN207977898U (en) | The voltage compensating circuit of vehicle systems basic chips | |
CN203644016U (en) | MCU (Micro Control Unit) start mode selecting circuit | |
CN105680840A (en) | Startup and shutdown circuit | |
CN218783718U (en) | Discharge circuit, system and low-voltage direct-current electric equipment | |
CN205123700U (en) | Automatic starting switch circuit of load and firing circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180518 |
|
RJ01 | Rejection of invention patent application after publication |