CN209103135U - Boot-strap circuit based on single chip application - Google Patents
Boot-strap circuit based on single chip application Download PDFInfo
- Publication number
- CN209103135U CN209103135U CN201822186998.5U CN201822186998U CN209103135U CN 209103135 U CN209103135 U CN 209103135U CN 201822186998 U CN201822186998 U CN 201822186998U CN 209103135 U CN209103135 U CN 209103135U
- Authority
- CN
- China
- Prior art keywords
- mcu
- module
- control module
- key switch
- booting
- 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.)
- Expired - Fee Related
Links
- 238000001514 detection method Methods 0.000 claims description 12
- 230000005611 electricity Effects 0.000 claims description 3
- 235000008331 Pinus X rigitaeda Nutrition 0.000 description 1
- 235000011613 Pinus brutia Nutrition 0.000 description 1
- 241000018646 Pinus brutia Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000002045 lasting effect Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Landscapes
- Power Sources (AREA)
Abstract
The utility model discloses a kind of boot-strap circuits based on single chip application, including key switch, starting module, the control module that is switched on and MCU, key switch one end ground connection, the key switch other end is electrically connected with starting module and booting control module, the starting module output end is electrically connected with MCU power end, the MCU output end and input terminal are electrically connected with booting control module, the booting control module is electrically connected with starting module, the conducting of the key switch and switch control module is for controlling the conducting of starting module, the signal that the MCU passes through booting control module capture button switch, the signal is used for the conducting of control switch control module, the booting control module and starting module original state are to be not turned on.Boot-strap circuit provided by the utility model based on single chip application can isolate battery and MCU, and the energization and power-off of MCU are controlled by key switch.
Description
Technical field
The utility model relates to singlechip technology fields, specifically, being related to a kind of booting electricity based on single chip application
Road.
Background technique
Bracelet at present, wrist-watch, locator using power on can Auto Power On MCU chip.But due to what is used
It is battery, it is just also can under ideal case that in this case, as long as battery is in place, MCU, which will be constantly in the state of booting,
There is a small amount of power consumption.Accordingly even when bracelet, wrist-watch, locator do not use for a long time, the electricity of battery can also nibble away, and lead to battery
Voltage protection, or even damage battery.
Utility model content
The purpose of this utility model is to provide a kind of boot-strap circuit based on single chip application, can isolate battery and
MCU, and pass through the energization and power-off of key switch control MCU.
Technical solution used by boot-strap circuit disclosed by the utility model based on single chip application is:
A kind of boot-strap circuit based on single chip application, including key switch, starting module, booting control module and MCU,
Key switch one end ground connection, the key switch other end is electrically connected with starting module and booting control module, described to open
Machine module output end is electrically connected with MCU power end, and the MCU output end and input terminal are electrically connected with booting control module, described
Booting control module is electrically connected with starting module, and the conducting of the key switch and switch control module is for controlling starting module
Conducting, the MCU by booting control module capture button switch signal, the signal be used for control switch control module
Conducting, the booting control module and starting module original state are to be not turned on.
Preferably, including charging module, the charging module input terminal are electrically connected with booting control module and MCU
It connects, the charging module external power supply is used to control the conducting of booting control module and power supply signal is transmitted to MCU.
Preferably, the charging module includes charging interface, resistance R4 and diode D3, and the charging interface is just
Pole connects MCU input terminal and is in series with resistance R4 between diode D3 anode, and the diode D3 cathode connects booting control module,
The charging interface external power supply control switch control module is connected and power supply signal is transmitted to MCU, the switch control module
Conducting control starting module is connected so that MCU is powered, and MCU handles power supply signal and starts internal charging program and charges the battery.
Preferably, the starting module includes that PMOS tube, resistance R1 and diode D1, the PMOS tube source electrode connect
Anode, the PMOS tube grid connect diode D1 anode, and the diode D1 cathode connects key switch, the PMOS tube leakage
Pole connects MCU power end, the resistance R1 and PMOS tube source electrode and gate connected in parallel, between the PMOS tube control MCU and battery
Connection.
Preferably, the booting control module includes detection part and control section, and the detection part is used for
It detects the state of key switch and will test signal and be transmitted to MCU, MCU passes through processing detection signal and controls signal is transmitted to control
Part, the conducting of the control signal deciding control section.
Preferably, the detection part includes diode D2, and the diode D2 cathode connects key switch, described
Diode D2 anode connects MCU input terminal.
Preferably, the control section includes triode, resistance R2 and R3, and the transistor collector connects booting
Module, described one end transistor base connecting resistance R2, another termination MCU output end of resistance R2, the transistor emitter ground connection,
The resistance R3 is in parallel with transistor base and emitter.
The beneficial effect of boot-strap circuit disclosed by the utility model based on single chip application is: installation battery after, MCU with
Battery is to disconnect.Switch, starting module conducting are pressed the button first, and MCU is powered.Then the signal of MCU capture button switch,
And the conducting of booting control module is controlled according to the signal of key switch.And the conducting for the control module that is switched on then controls starting module
Conducting.Key switch is finally unclamped, MCU will be according to the powerdown signal of key switch or energization.
Detailed description of the invention
Fig. 1 is the circuit diagram of boot-strap circuit of the utility model based on single chip application.
Specific embodiment
The utility model is further elaborated and is illustrated with Figure of description combined with specific embodiments below:
Referring to FIG. 1, the boot-strap circuit based on single chip application includes key switch S1, starting module 10, booting control
Module 20, charging module 30 and MCU.There is many MCU selection in the present embodiment, such as AT89S51 model MCU.
10 packet battery BATTERY of starting module, PMOS tube Q2, resistance R1 and diode D1.PMOS tube Q2 source electrode connects battery
BATTERY anode.PMOS tube Q2 grid connects diode D1 anode, and diode D1 cathode meets key switch S1.PMOS tube Q2 drain electrode
Meet MCU power end VDD and BAT_CHG.Resistance R1 and PMOS tube Q2 source electrode and gate connected in parallel.PMOS tube Q2 controls MCU and battery
Connection between BATTERY.
After pressing the button switch S1, KEY_IN signal ground.Due to the low pressure drop function of diode D1 conducting so that
The grid of PMOS tube Q2 becomes low level, Q2 conducting, and battery BATTERY is connected on MCU, and MCU, which enters, powers on boot program.
The control module 20 that is switched on includes detection part and control section.Detection part includes diode D2.Diode D2 is negative
Pole meets key switch S1, and diode D2 anode meets MCU input terminal GPIO1.This signal of PWRKEY is used to detect key switch S1
The key switch time.After MCU powers on booting, the state of the PWRKEY signal of GPIO1 will be detected.Key switch S1 is pressed at this time
Under, since the pressure drop of diode D1 acts on, PWRKEY can be in low level state, and low level will be detected by MCU.
Wherein, control section includes triode Q1, resistance R2 and R3.Triode Q1 collector meets starting module PMOS tube Q2
Grid.The one end triode Q1 base stage connecting resistance R2, another termination MCU output end GPIO2 of resistance R2.Triode Q1 emitter connects
Ground, resistance R3 are in parallel with triode Q1 base stage and emitter.The conducting of triode Q1 control starting module 10.
After battery BATTERY is loaded onto, since the drop-down of resistance R3 acts on.The base stage of triode Q1 is low level, three poles
Pipe Q1 cut-off.Simultaneously because the pull-up of resistance R1 acts on, the grid voltage of PMOS tube Q2 is pulled upward to, PMOS equal with source voltage
Pipe Q2 cut-off.Battery BATTERY and MCU are disconnected, and MCU is in power-off shutdown state.
When detection part detects that the low level state of PWRKEY signal is continued above 3S, MCU is then considered long-pressing key
The signal of switch S1 booting, then MCU draws high GPIO2.The base stage of triode Q1 becomes high level, triode Q1 conducting.At this time
Even if key switch S1 unclamps, the grid of PMOS tube Q2 maintains low level because of the conducting of triode Q1, so that PMOS
Pipe Q2 continues on state, and MCU maintains power supply open state.
When the low level state for detecting PWRKEY signal is then considered key switch S1 false triggering lower than 3S, MCU.At this time
MCU maintains GPIO2 low level state, and triode Q1 base stage maintains low level, triode Q1 cut-off.At this time in key switch S1 pine
After opening, the grid of PMOS tube Q2 can become high level since resistance R1 pull-up acts on, and PMOS tube Q2 cut-off, MCU and battery are disconnected
It drives into power-off shutdown state.
Charging module 30 includes charging interface CHARGER, resistance R4 and diode D3.Charging interface CHARGER anode connects
MCU input terminal VCHG and resistance R4 is in series between diode D3 anode, diode D3 cathode meets the three of booting control module
Pole pipe Q1 base stage.Charging interface CHARGER external power supply control switch control module 20 is connected and power supply signal is transmitted to MCU,
The conducting control starting module 10 of switch control module 20 is connected so that MCU is powered, and MCU processing power supply signal simultaneously starts charge inside
Program charges the battery.
When MCU is in the state of power-off shutdown, charging interface CHARGER external power supply.Due to diode D3 and resistance R4
Pressure drop effect, the base stage of triode Q1 becomes high level, triode Q1 conducting.The grid of PMOS tube Q2 becomes low level,
PMOS tube Q2 conducting, battery BATTERY are connect with MCU, and MCU, which enters, powers on boot program.After MCU completes booting, detect
The end VCHG is high level, starts internal charging program.MCU is started via PMOS tube Q2 to battery by BAT_CHG pin
BATTERY charging.After external power supply pulls out, the base stage of triode Q1 becomes low level, triode Q1 cut-off at this time.To lead
PMOS tube Q2 cut-off is caused, MCU and battery are disconnected hence into power-off shutdown state.
When MCU is when open state, the lasting state for removing detection PWRKEY signal.If the shape of PWRKEY signal
It is more than 3S that state, which maintains low level, then is considered that long-pressing key switch S1 enters shutdown programm.At this time MCU by the state of GPIO2 by
High level is changed into low level, and the base stage of triode Q1 becomes low level, triode Q1 cut-off.So that PMOS tube Q2 is cut
Only, MCU and battery, which disconnect, enters power-off shutdown state.The same state for working as PWRKEY signal maintains low level to be lower than 3S, then
It is considered key switch false triggering.
Finally it should be noted that above embodiments are only to illustrate the technical solution of the utility model, rather than to this reality
With the limitation of novel protected range, although being explained in detail referring to preferred embodiment to the utility model, this field it is general
Lead to it will be appreciated by the skilled person that can be with the technical solution of the present invention is modified or equivalently replaced, without departing from this
The spirit and scope of utility model technical solution.
Claims (7)
1. a kind of boot-strap circuit based on single chip application, which is characterized in that including key switch, starting module, booting control
Module and MCU, key switch one end ground connection, the key switch other end are electrically connected with starting module and booting control module
It connects, the starting module output end is electrically connected with MCU power end, the MCU output end and input terminal and the control module electricity that is switched on
Connection, the booting control module are electrically connected with starting module, and the conducting of the key switch and switch control module is for controlling
The conducting of starting module processed, the signal that the MCU is switched by booting control module capture button, the signal are opened for controlling
The conducting of control module is closed, the booting control module and starting module original state are to be not turned on.
2. as described in claim 1 based on the boot-strap circuit of single chip application, which is characterized in that described including charging module
Charging module input terminal is electrically connected with booting control module and MCU, and the charging module external power supply is for controlling booting control
Power supply signal is simultaneously transmitted to MCU by the conducting of module.
3. as claimed in claim 2 based on the boot-strap circuit of single chip application, which is characterized in that the charging module includes filling
Electrical interface, resistance R4 and diode D3, the charging interface anode connect MCU input terminal and are in series between diode D3 anode
Resistance R4, the diode D3 cathode connect booting control module, and the charging interface external power supply control switch control module is led
Lead to and power supply signal is transmitted to MCU, the switch control module conducting control starting module is connected so that MCU is powered, and MCU is handled
Power supply signal simultaneously starts internal charging program and charges the battery.
4. as described in claim 1 based on the boot-strap circuit of single chip application, which is characterized in that the starting module includes
PMOS tube, resistance R1 and diode D1, the PMOS tube source electrode connect anode, and the PMOS tube grid is meeting diode D1 just
Pole, the diode D1 cathode connect key switch, and the PMOS tube drain electrode connects MCU power end, the resistance R1 and PMOS tube source
Pole and gate connected in parallel, the connection between the PMOS tube control MCU and battery.
5. as described in claim 1 based on the boot-strap circuit of single chip application, which is characterized in that the booting control module packet
Detection part and control section are included, the detection part, which is used to detect the state of key switch and will test signal, is transmitted to MCU,
MCU passes through processing detection signal and controls signal is transmitted to control section, the conducting of the control signal deciding control section.
6. as claimed in claim 5 based on the boot-strap circuit of single chip application, which is characterized in that the detection part includes two
Pole pipe D2, the diode D2 cathode connect key switch, and the diode D2 anode connects MCU input terminal.
7. as claimed in claim 5 based on the boot-strap circuit of single chip application, which is characterized in that the control section includes three
Pole pipe, resistance R2 and R3, the transistor collector meet starting module, described one end transistor base connecting resistance R2, resistance R2
Another termination MCU output end, the transistor emitter ground connection, the resistance R3 are in parallel with transistor base and emitter.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201822186998.5U CN209103135U (en) | 2018-12-20 | 2018-12-20 | Boot-strap circuit based on single chip application |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201822186998.5U CN209103135U (en) | 2018-12-20 | 2018-12-20 | Boot-strap circuit based on single chip application |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN209103135U true CN209103135U (en) | 2019-07-12 |
Family
ID=67163311
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201822186998.5U Expired - Fee Related CN209103135U (en) | 2018-12-20 | 2018-12-20 | Boot-strap circuit based on single chip application |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN209103135U (en) |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110989813A (en) * | 2019-11-27 | 2020-04-10 | 北京兆维自服装备技术有限公司 | A power supply control device, method and electronic equipment |
| CN111654277A (en) * | 2020-06-16 | 2020-09-11 | 宁波得力科贝技术有限公司 | A switch circuit and a printer using method using the switch circuit |
| CN112202434A (en) * | 2020-11-12 | 2021-01-08 | 昆山书豪仪器科技有限公司 | Startup and shutdown self-locking circuit |
| CN112256120A (en) * | 2020-10-20 | 2021-01-22 | 维沃移动通信有限公司 | Protection circuits and electronic equipment |
| CN112843491A (en) * | 2021-02-08 | 2021-05-28 | 深圳天基权健康科技集团股份有限公司 | Switching circuit, semiconductor laser treatment equipment and power supply switching control method |
| CN112968497A (en) * | 2021-03-10 | 2021-06-15 | 深圳宝新创科技股份有限公司 | Battery power supply control circuit and electronic equipment |
| CN114389590A (en) * | 2020-10-21 | 2022-04-22 | 航天科工惯性技术有限公司 | Single-key startup and shutdown device, startup and shutdown method and remote restart method |
| CN114567308A (en) * | 2022-04-19 | 2022-05-31 | 深圳市欧拉智造科技有限公司 | Switch circuit, control method thereof and electronic equipment |
| CN115173852A (en) * | 2022-07-12 | 2022-10-11 | 长沙幻音电子科技有限公司 | Long-press switch circuit |
| CN115642908A (en) * | 2022-09-14 | 2023-01-24 | 珠海格力电器股份有限公司 | Controller power supply circuit and electrical equipment |
-
2018
- 2018-12-20 CN CN201822186998.5U patent/CN209103135U/en not_active Expired - Fee Related
Cited By (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110989813A (en) * | 2019-11-27 | 2020-04-10 | 北京兆维自服装备技术有限公司 | A power supply control device, method and electronic equipment |
| CN110989813B (en) * | 2019-11-27 | 2021-06-18 | 北京兆维自服装备技术有限公司 | A power supply control device, method and electronic equipment |
| CN111654277A (en) * | 2020-06-16 | 2020-09-11 | 宁波得力科贝技术有限公司 | A switch circuit and a printer using method using the switch circuit |
| CN112256120A (en) * | 2020-10-20 | 2021-01-22 | 维沃移动通信有限公司 | Protection circuits and electronic equipment |
| CN114389590A (en) * | 2020-10-21 | 2022-04-22 | 航天科工惯性技术有限公司 | Single-key startup and shutdown device, startup and shutdown method and remote restart method |
| CN112202434A (en) * | 2020-11-12 | 2021-01-08 | 昆山书豪仪器科技有限公司 | Startup and shutdown self-locking circuit |
| CN112843491A (en) * | 2021-02-08 | 2021-05-28 | 深圳天基权健康科技集团股份有限公司 | Switching circuit, semiconductor laser treatment equipment and power supply switching control method |
| CN112843491B (en) * | 2021-02-08 | 2021-10-08 | 深圳天基权健康科技集团股份有限公司 | Switching circuit, semiconductor laser treatment equipment and power supply switching control method |
| CN112968497A (en) * | 2021-03-10 | 2021-06-15 | 深圳宝新创科技股份有限公司 | Battery power supply control circuit and electronic equipment |
| CN114567308A (en) * | 2022-04-19 | 2022-05-31 | 深圳市欧拉智造科技有限公司 | Switch circuit, control method thereof and electronic equipment |
| CN115173852A (en) * | 2022-07-12 | 2022-10-11 | 长沙幻音电子科技有限公司 | Long-press switch circuit |
| CN115173852B (en) * | 2022-07-12 | 2025-02-21 | 长沙幻音科技有限公司 | Long press switch circuit |
| CN115642908A (en) * | 2022-09-14 | 2023-01-24 | 珠海格力电器股份有限公司 | Controller power supply circuit and electrical equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN209103135U (en) | Boot-strap circuit based on single chip application | |
| CN103647313B (en) | Charging control circuit | |
| US11889863B2 (en) | Voltage output circuit and electronic cigarette | |
| CN203859558U (en) | Electronic equipment and external charging circuit thereof | |
| CN203537358U (en) | One-key switching circuit | |
| CN101917032A (en) | A mobile terminal and battery charging method thereof | |
| CN102213993A (en) | Circuit for soft startup and soft shutdown | |
| CN105826963B (en) | A kind of method, charging circuit and terminal for detecting cell voltage | |
| CN109587592A (en) | Bluetooth headset and its on-off control method | |
| CN101783503B (en) | Overvoltage protection circuit | |
| CN109217425A (en) | A kind of charger circuit and its intelligent charge control method | |
| CN105743067A (en) | Self-activation circuit and battery protection system with same | |
| CN103338029A (en) | Automatic reset device | |
| CN209448720U (en) | A kind of electric appliance reset circuit and electrical equipment | |
| CN202423741U (en) | Human body induction anti-electric shock socket | |
| CN103713912B (en) | A kind of computer automatic boot circuit | |
| CN102508536A (en) | One-button startup and shutdown circuit in embedded system and control method thereof | |
| CN209046611U (en) | A kind of power switch button circuit | |
| CN201478415U (en) | Waterproof mobile phone battery | |
| CN203387480U (en) | Automatic reset device | |
| CN105577858A (en) | Circuit for automatically powering on after SIM card inserted into communication terminal | |
| CN203520298U (en) | Start circuit and portable equipment | |
| CN204089838U (en) | A kind of can the identification authentication system of automatic switching | |
| CN208062841U (en) | A kind of charger circuit with short-circuit protection | |
| CN206833202U (en) | A kind of eject key switch electromechanics road |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190712 Termination date: 20191220 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |