CN203086434U - Key control circuit for single-battery power supply system - Google Patents
Key control circuit for single-battery power supply system Download PDFInfo
- Publication number
- CN203086434U CN203086434U CN 201320102047 CN201320102047U CN203086434U CN 203086434 U CN203086434 U CN 203086434U CN 201320102047 CN201320102047 CN 201320102047 CN 201320102047 U CN201320102047 U CN 201320102047U CN 203086434 U CN203086434 U CN 203086434U
- Authority
- CN
- China
- Prior art keywords
- main control
- electrically connected
- control chip
- circuit
- key
- 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 - Lifetime
Links
- 239000003990 capacitor Substances 0.000 claims description 17
- 206010044565 Tremor Diseases 0.000 claims description 2
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 238000004146 energy storage Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 102220008337 rs1437698471 Human genes 0.000 description 1
- 102220112179 rs3743602 Human genes 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
Images
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The utility model discloses a key control circuit for a single-battery power supply system, and relates to the technical field of the electronic circuit. The key control circuit for the single-battery power supply system comprises a level switch circuit, a key circuit and a boosted circuit, wherein the level switch circuit, the key circuit and the boosted circuit are respectively electrically connected with a main control chip; the level switch circuit comprises an audion Q6; the collector electrode of the audion Q6 is electrically connected with the GPIO (general purpose input output) interface SW-DET of the main control chip; the collector electrode of the audion Q6 is also electrically connected with the power supply pin VDDIO of the GPIO interface of the main control chip via a pull-up resistor R26; the emitting electrode of the audion Q6 is earthed; and the base electrode of the audion Q6 is electrically connected with the key circuit. According to the key control circuit for the single-battery power supply system, which is disclosed by the utility model, the switching characteristic of the audion Q6 is utilized, the logic level of the key S1 is converted into an IO(input output) level which can be identified by the main control chip so as to guarantee the normal identification of the key state by the main control chip while the working voltage of the main control chip is improved, and therefore the startup and the shutdown of electronic equipment can be realized.
Description
Technical field
The utility model relates to the electronic circuit technology field, particularly a kind ofly is applied to adopt single battery power supply, and adopts and touch the resilience button and do key control circuit in the electronic equipment of switching on and shutting down control.
Background technology
The electronic equipment that a lot of low-power consumption are arranged at present, as: pointer, talking pen and some remote controllers etc., the power consumption of these electronic equipments is all very low, can adopt the battery of single-unit 1.5V to power fully, adopt the single battery power supply can dwindle the volume of these electronic equipments, also can be so that the replacing of battery is more convenient.But the operating voltage of the main control chip in these electronic equipments all is higher than 1.5V, mostly be 1.8V, 3.3V or 5V etc., this just requires battery to adopting booster circuit that cell voltage is converted to the operating voltage of main control chip in the main control chip power supply, and booster circuit adopts the boost DC/DC chip to constitute usually.
In addition, for operation convenience that improves the user and the aesthetics that promotes itself, touch the back springing type button and replaced traditional toggle switch by the many employings of its switching on and shutting down button when design for these electronic equipments.As before by start, again by modes of operation such as shutdown.
When above-mentioned single battery power supply circuits are combined when controlling electronic equipment with touching the back springing type button, electronic equipment can't operate as normal.Because the operating voltage of the main control chip of electronic equipment is higher than the supply power voltage of single battery, the high level that main control chip is assert is higher than the voltage of single battery, this can cause main control chip that the identification of actuation of keys was lost efficacy, even button is pressed, main control chip is still thought input is low level and be judged as button and do not press, so make that electronic equipment can't normal shutdown.
The utility model content
Based on above deficiency, technical problem to be solved in the utility model provides a kind of key control circuit of single battery electric power system, the key control circuit of this single battery electric power system can also guarantee the correct identification of main control chip to key-press status when providing high working voltage for main control chip, to realize the normal open and close machine of electronic equipment.
For solving the problems of the technologies described above, the technical solution of the utility model is: a kind of key control circuit of single battery electric power system, comprise the level shifting circuit that is electrically connected with main control chip respectively, key circuit and booster circuit: described level shifting circuit comprises triode Q6, the collector electrode of described triode Q6 is electrically connected the GPIO mouth SW-DET of described main control chip, the collector electrode of described triode Q6 also is electrically connected the power pin VDDIO of the GPIO mouth of described main control chip by pull-up resistor R26, the grounded emitter of described triode Q6, the base stage of described triode Q6 is electrically connected described key circuit; Described key circuit comprises button S1, the end of described button S1 is electrically connected the anodal VBAT of battery, the other end of described button S1 is electrically connected the base stage of described triode Q6 and the positive pole of diode D2 simultaneously, and the negative pole of described diode D2 is electrically connected the GPIO mouth VEN and the described booster circuit of described main control chip simultaneously; Described booster circuit comprises the chip U4 that boosts, the described power pin VCC that boosts chip U4 is electrically connected the positive pole of described battery, the enable pin EN of the described chip U4 that boosts is electrically connected the negative pole of described diode D2 and the GPIO mouth VEN of described main control chip simultaneously, and the output pin VOUT of the described chip U4 that boosts is electrically connected the power pin VDD of described main control chip.
Wherein, be formed with first current node between the base stage of described button S1, triode Q6 and the positive pole of diode D2, described first current node is electrically connected with and is used for the capacitor C 22 that button disappears and trembles.
Wherein, be formed with second current node between the GPIO mouth VEN of the enable pin EN of the negative pole of described diode D2, the chip U4 that boosts and described main control chip, be electrically connected with current-limiting resistance R7 between the GPIO mouth VEN of described second current node and described main control chip.
Wherein, the power pin VDDIO of the GPIO mouth of described main control chip is electrically connected the power pin VDD of described main control chip.
Wherein, described diode D2 is a Schottky diode.
After having adopted technique scheme, the beneficial effects of the utility model are: owing to added triode Q6 in level shifting circuit, the collector electrode of triode Q6 is electrically connected the GPIO mouth SW-DET of main control chip, the grounded emitter of triode Q6, the base stage of triode Q6 is electrically connected button S1, be the IO(Input/Output that has utilized the switching characteristic of triode Q6 that the logic level transition of button can be discerned for main control chip) level, thus guaranteed the accurate identification of main control chip to button S1 state.The S1 that pushes button when off-mode enables for the chip U4 that boosts, and the chip U4 that boosts work output is for the high level of main control chip work, and main control chip powers on and starts working; The level of battery is added on the base stage of triode Q6, the collector electrode of triode Q6 and emitter conducting, this moment, the GPIO mouth SW-DET of main control chip was low level 0V, then main control chip is by the enable pin of GPIO mouth VEN output high level to the chip U4 that boosts, even this moment, button S1 resetting system can not cut off the power supply yet, thereby realize power up function.The S1 that under open state, pushes button, it is low level that main control chip detects GPIO mouth SW-DET, and then the level with GPIO mouth VEN drags down, and removes the enabling of the chip U4 that boosts, and the chip U4 that boosts after button S1 resets turn-offs, main control chip outage, system closedown.When button S1 resetted, the base stage of triode Q6 was a low level, the then collector electrode of triode Q6 and not conducting of emitter, and the level of the GPIO mouth SW-DET of main control chip is a main control chip GPIO confession electricity level at this moment.Even so when battery level is lower than the operation level of main control chip, the state that main control chip also can accurate recognition button S1, thus finish the switching on and shutting down action of system accurately.
Description of drawings
Fig. 1 is the structured flowchart of the key control circuit of the utility model single battery electric power system;
Fig. 2 is the schematic diagram of the key control circuit of the utility model single battery electric power system;
Among the figure: 11, level shifting circuit, 12, key circuit, 121, first current node, 122, second current node, 13, booster circuit.
Embodiment
Below in conjunction with drawings and Examples, further set forth the utility model.
As shown in Figure 1, a kind of key control circuit of single battery electric power system, comprise with main control chip on be used for the level shifting circuit that GPIO mouth that button detects is electrically connected, level shifting circuit is electrically connected key circuit, key circuit is electrically connected booster circuit, booster circuit is electrically connected the power pin of main control chip, is used to provide the power supply that is applicable to main control chip work; Key circuit and booster circuit are electrically connected the positive pole of battery respectively.Main control chip is MCU(Micro Control Unit).
As shown in Figure 2, to be used for the logic level transition with button S1 be the IO level that main control chip can be discerned to level shifting circuit 11.Comprise triode Q6, the collector electrode of triode Q6 is electrically connected the GPIO mouth SW-DET of main control chip, the collector electrode of triode Q6 also is electrically connected with resistance R 26, the GPIO(General Purpose Input Output of resistance R 26 electrical connection main control chips) mouthful power pin VDDIO, wherein resistance R 26 is a pull-up resistor, in the present embodiment, the power pin VDDIO of the GPIO mouth of main control chip connects the power pin VDD of main control chip; The grounded emitter of triode Q6; The base stage of triode Q6 is electrically connected current-limiting resistance R22, and resistance R 22 is electrically connected key circuit.
As shown in Figure 2, key circuit 12 comprises button S1 and relevant accessory circuit, and the state exchange that is used for button S1 is the signal of telecommunication, and this signal of telecommunication is offered level shifting circuit 11 and booster circuit 13.The end of button S1 is electrically connected the anodal VBAT of battery, and the other end of button S1 is electrically connected positive pole and the capacitor C 22 of resistance R 22, diode D2 simultaneously, forms first current node 121, capacitor C 22 ground connection; The negative pole of diode D2 is electrically connected with the enable pin EN of the chip U4 that boosts in resistance R 7, resistance R 29 and the booster circuit 13 simultaneously, forms second current node 122, and resistance R 7 is electrically connected the GPIO mouth VEN of main control chip, resistance R 29 ground connection.Button S1 is used for actuation of keys, and when button S1 was pressed, button S1 connected; Button S1 resets when upspringing, and button S1 disconnects.Capacitor C 22 is trembled electric capacity for button disappears, and is used to eliminate that button S1 is switched on or switched off moment because the quick saltus step of signal that loose contact causes.Diode D2 is a Schottky diode, Schottky diode is low in energy consumption, the conducting electric current big, reverse recovery time is extremely short, be used to prevent that the electric current at second current node, 122 places from flowing to first current node, 121 places, thereby the voltage that has guaranteed first current node, 121 places only is subjected to the influence of button S1 state, being low level when button S1 resets, is cell voltage when button S1 is pressed.R7 is a current-limiting resistance, and it is excessive that the GPIO mouth VEN that is used to prevent main control chip flows into the electric current of the chip U4 that boosts.R29 is a pull down resistor, is used to provide the discharge loop at second current node, 122 places, and the enable pin EN of chip U4 effectively discharges thereby assurance is boosted.
As shown in Figure 2, booster circuit 13 is used for the supply power voltage (as the operating voltage 3.0V of main control chip) of system that the supply power voltage (as 1.5V) of battery is boosted to.Comprise the chip U4 that boosts, the model of chip U4 of boosting in the present embodiment is FP6713, effect is that voltage promotes and interrelated logic control, it is for six pins are arranged: first pin is switch pin SW, second pin is ground pin GND, and three-prong is enable pin EN, and the 4th pin is Voltage Feedback pin FB, the 5th pin is output pin VOUT, and the 6th pin is power pin VCC.Switch pin SW is electrically connected with the inductance L 2 that is used for energy storage, and inductance L 2 is electrically connected with anodal VBAT, power pin VCC and the capacitor C 33 of battery simultaneously, capacitor C 33 ground connection, and capacitor C 33 is an input filter capacitor, is used for the interference of filtering input voltage.Enable pin EN is electrically connected with negative pole, resistance R 7 and the resistance R 29 of diode D2 in the key circuit 12 simultaneously.Output pin VOUT is electrically connected the power pin VDD of resistance R 19, capacitor C 23, capacitor C 26 and main control chip simultaneously, and resistance R 19 is electrically connected Voltage Feedback pin FB and resistance R 21 simultaneously, resistance R 21, capacitor C 23 and capacitor C 26 equal ground connection.Resistance R 19 and resistance R 21 are Voltage Feedback resistance, and the resistance of adjusting them can change the size of the chip U4 output voltage that boosts, and in the present embodiment: R19=499K, R21=100K, the voltage of the chip U4 output of boosting this moment is the operating voltage 3.0V of main control chip.Capacitor C 23 is a storage capacitor, is used to make output voltage stabilization, reduces the output ripple.Capacitor C 26 is an output filter capacitor, is used to reduce the interference that 13 pairs of rear end equipment of booster circuit cause.
Briefly introduce operation principle of the present utility model below in conjunction with Fig. 2:
The switching on and shutting down of system are controlled by main control chip, and whether the GPIO mouth SW-DET of main control chip is used to detect button S1 and is pressed, and the time of pressing.When button S1 was pressed, the voltage of the GPIO mouth SW-DET of main control chip was 0V; When button S1 is released when resetting, the voltage of the GPIO mouth SW-DET of main control chip is the voltage at the power pin VDDIO place of GPIO mouth, equals the operating voltage 3.0V of chip in the present embodiment.According to the voltage of GPIO mouth SW-DET be the time length of 0V can judge long by or short by.The GPIO mouth VEN of main control chip is used to control the enabling of chip U4 of boosting, and when GPIO mouth VEN output high level, the chip U4 that boosts enables, the output high level; When GPIO mouth VEN output low level, the chip U4 that boosts does not enable, no-output, and main control chip must not be electric, and system does not work.
Because of the voltage at the power pin VDDIO place of the GPIO mouth of main control chip is 3.0V, and the voltage at first current node, 121 places is cell voltage 1.5V, therefore first current node 121 directly can not be connected with the GPIO mouth SW-DET of main control chip, realize level conversion so set up triode Q6, the logical relation of its conversion is as follows:
The first current node 121=high level (1.5V) ← → GPIO mouth SW-DET=low level (0V)
The first current node 121=low level (0V) ← → GPIO mouth SW-DET=high level (3V)
Simultaneously, triode Q6 also can prevent the power pin VDDIO place voltage disturbance of GPIO mouth of main control chip to first current node, 121 places, thereby enabling of the chip U4 that guaranteed to boost is unaffected.
The utility model can be realized the detection of following key-press status:
1, no button down state:
Under a, the off-mode, when button S1 was not pressed, button S1 disconnected, and the voltage at first current node, 121 places and second current node, 122 places is 0V, and the chip U4 that boosts does not enable, and did not have voltage output, and system does not work.
Under b, the open state, when button S1 was not pressed, button S1 disconnected, because the unidirectional conducting effect of diode D2, first current node, 121 place's voltages are 0V, and triode Q6 ends, the GPIO mouth SW-DET of main control chip is high level 3.0V, and main control chip judges that button S1 is not pressed.
2, off-mode down short by or long button S1:
The S1 that pushes button under the off-mode, the 1.5V voltage of battery is by diode D2 to the second current node 122 places, and the enable pin EN of the chip U4 that boosts is a high level, the chip U4 that boosts enables, output 3.0V voltage is given main control chip, and system powers on, and main control chip is started working.Triode Q6 entered conducting state when first current node, 121 places were high level, and the GPIO mouth SW-DET of main control chip is a low level.After main control chip detects GPIO mouth SW-DET and is low level, lock second current node 122 by GPIO mouth VEN output high level, even make that boosting after released the resetting of the button S1 of enable pin EN place of chip U4 is high level also, system can not cut off the power supply.
3, open state down short by or long button S1:
The S1 that pushes button under the open state, button S1 conducting, first current node, 121 place's voltages are 1.5V, and triode Q6 enters conducting state, and the GPIO mouth SW-DET of main control chip is a low level.
Main control chip can just be judged the state of button S1 according to the voltage at GPIO mouth SW-DET place; Simultaneously according to the time of GPIO mouth SW-DET place voltage step-down judge button S1 be pressed belong to long by or lack by, the designer can define other multiple action according to the time length that button S1 is pressed.
The realization of system boot function: S1 pushes button under the off-mode, the chip U4 that boosts enables, system powers on, after main control chip detects button S1 and is pressed, GPIO mouth VEN can export the enable pin EN that high level locks the chip U4 that boosts, the feasible chip U4 that boosts has voltage output always, and how the state of button S1 can not cut off the power supply, thus the power up function of the system of realization.
The realization of system closedown function: the S1 that pushes button under the open state, when main control chip judge to need shutdown, main control chip drew the voltage of GPIO mouth VEN and is 0V, the chip U4 that boosts loses self-locking and enables, and after button S1 resetted, the chip U4 that boosts turn-offed, no-voltage output, system closedown.
The utility model is not limited to above-mentioned concrete execution mode, and those of ordinary skill in the art is from above-mentioned design, and without performing creative labour, all conversion of having done all drop within the protection range of the present utility model.
Claims (5)
1. the key control circuit of single battery electric power system is characterized in that, comprises the level shifting circuit, key circuit and the booster circuit that are electrically connected with main control chip respectively:
Described level shifting circuit comprises triode Q6, the collector electrode of described triode Q6 is electrically connected the GPIO mouth SW-DET of described main control chip, the collector electrode of described triode Q6 also is electrically connected the power pin VDDIO of the GPIO mouth of described main control chip by pull-up resistor R26, the grounded emitter of described triode Q6, the base stage of described triode Q6 is electrically connected described key circuit;
Described key circuit comprises button S1, the end of described button S1 is electrically connected the anodal VBAT of battery, the other end of described button S1 is electrically connected the base stage of described triode Q6 and the positive pole of diode D2 simultaneously, and the negative pole of described diode D2 is electrically connected the GPIO mouth VEN and the described booster circuit of described main control chip simultaneously;
Described booster circuit comprises the chip U4 that boosts, the described power pin VCC that boosts chip U4 is electrically connected the positive pole of described battery, the enable pin EN of the described chip U4 that boosts is electrically connected the negative pole of described diode D2 and the GPIO mouth VEN of described main control chip simultaneously, and the output pin VOUT of the described chip U4 that boosts is electrically connected the power pin VDD of described main control chip.
2. the key control circuit of single battery electric power system according to claim 1, it is characterized in that, be formed with first current node between the base stage of described button S1, triode Q6 and the positive pole of diode D2, described first current node is electrically connected with and is used for the capacitor C 22 that button disappears and trembles.
3. the key control circuit of single battery electric power system according to claim 2, it is characterized in that, be formed with second current node between the GPIO mouth VEN of the enable pin EN of the negative pole of described diode D2, the chip U4 that boosts and described main control chip, be electrically connected with current-limiting resistance R7 between the GPIO mouth VEN of described second current node and described main control chip.
4. according to the key control circuit of the described single battery electric power system of each claim of claim 1 to 3, it is characterized in that the power pin VDDIO of the GPIO mouth of described main control chip is electrically connected the power pin VDD of described main control chip.
5. the key control circuit of single battery electric power system according to claim 4 is characterized in that, described diode D2 is a Schottky diode.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 201320102047 CN203086434U (en) | 2013-03-06 | 2013-03-06 | Key control circuit for single-battery power supply system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 201320102047 CN203086434U (en) | 2013-03-06 | 2013-03-06 | Key control circuit for single-battery power supply system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN203086434U true CN203086434U (en) | 2013-07-24 |
Family
ID=48832236
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 201320102047 Expired - Lifetime CN203086434U (en) | 2013-03-06 | 2013-03-06 | Key control circuit for single-battery power supply system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN203086434U (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103607113A (en) * | 2013-11-12 | 2014-02-26 | 青岛歌尔声学科技有限公司 | Positive and negative voltage generation circuit |
| CN103199842B (en) * | 2013-03-06 | 2016-04-13 | 青岛歌尔声学科技有限公司 | The key control circuit of single battery electric power system |
| CN108233913A (en) * | 2018-01-30 | 2018-06-29 | 上海与德科技有限公司 | A kind of key control circuit and electronic equipment |
-
2013
- 2013-03-06 CN CN 201320102047 patent/CN203086434U/en not_active Expired - Lifetime
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103199842B (en) * | 2013-03-06 | 2016-04-13 | 青岛歌尔声学科技有限公司 | The key control circuit of single battery electric power system |
| CN103607113A (en) * | 2013-11-12 | 2014-02-26 | 青岛歌尔声学科技有限公司 | Positive and negative voltage generation circuit |
| CN108233913A (en) * | 2018-01-30 | 2018-06-29 | 上海与德科技有限公司 | A kind of key control circuit and electronic equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103199842A (en) | Key control circuit for single-battery power supply system | |
| CN103475377A (en) | Key control system of single-battery power supply system | |
| CN205610314U (en) | Super capacitor charging and discharging circuit and metering device who makes with this circuit | |
| CN108092403A (en) | Power supply automatic switchover circuit and intelligent electric meter microcontroller chip | |
| CN103066690A (en) | Low-power-consumption standby circuit | |
| CN204009457U (en) | On/off circuit based on PMU and electronic equipment | |
| CN203086434U (en) | Key control circuit for single-battery power supply system | |
| JP2013196693A (en) | Electronic equipment provided with standby mode | |
| CN102412814A (en) | Forced shutdown circuit of portable consumer electronic product | |
| CN209134375U (en) | A kind of reset circuit for opening/closing | |
| CN203574422U (en) | Power supply chip integrating output control and low voltage detection and enhancing voltage stabilization output | |
| CN104868588A (en) | AC/DC switchover and key waking control circuit for acquiring terminal of specific power transformer | |
| CN203522713U (en) | Key control system for power supply system for single battery | |
| CN204794261U (en) | A charging circuit and portable power source for portable power source | |
| CN204290714U (en) | Power control circuit and electrical equipment | |
| CN105897240A (en) | Single-button soft on-off circuit with hardware forced power-off function | |
| CN207588827U (en) | A kind of self-locking power switch device | |
| CN104122803A (en) | Solar standby power supply device | |
| CN204180037U (en) | Reset control circuit and electronic equipment | |
| CN207339408U (en) | Low-power consumption standby circuit | |
| CN207283400U (en) | A kind of on/off circuit and electronic product | |
| CN214069562U (en) | A power failure protection circuit and integrated chip | |
| CN104993814A (en) | Touch switching circuit | |
| CN203520090U (en) | Hand-held terminal hard switching circuit | |
| CN204633465U (en) | A kind of alternating current-direct current for specially becoming acquisition terminal switches and key wakeup control circuit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CX01 | Expiry of patent term |
Granted publication date: 20130724 |
|
| CX01 | Expiry of patent term |