Summary of the invention
The object of the present invention is to provide a kind of circuit solving electronic product shutdown leakage current, thus overcome the defect that portable type electronic product design because of soft and hardware, in the case of power-off, the shutdown leakage current of reduction unknown cause.
The present invention is achieved in that a kind of circuit solving electronic product shutdown leakage current, comprising: the first triode, the second triode, the first resistance, the second resistance, the 3rd triode and diode; The drain electrode of described first triode connects anode, and as the input end of power supply, its source electrode is connected with the source electrode of the second triode; The drain electrode of described second triode is as the output terminal of battery supply; First triode is connected with two grids of the second triode, and one end of the first resistance is connected with two source electrodes of first, second triode described, and the other end is connected with two grids of first, second triode; The described collector of the 3rd triode is connected with two grids of first, second triode, the first control signal that the base stage of the 3rd triode exports through the second resistance and described electronic product is connected, the grounded emitter of the 3rd triode, the positive pole of described diode is connected with two grids of first, second triode, and its negative pole is connected with the second control signal in described electronic product.
Wherein, described first control signal is the power supply holding signal that the output port of CPU or PMIC in described electronic product outwards exports; Second control signal is the power button switch machine signal in described electronic product.
Wherein, described first resistance is 100 kilohms, and described second resistance is 1 kilohm.
Wherein, described first triode and the second triode are power P MOS triode.
Wherein, described 3rd triode is common NPN double pole triode.
Compared with prior art, beneficial effect is example of the present invention: the present invention, by increase control circuit, is serially connected with between battery input and affiliated electronic product, thus solves the problem of shutdown leakage current.This circuit has and inserts low in energy consumption, and it is little to produce pressure drop, low cost and can not affect the advantages such as the performance of battery.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with accompanying drawing and example, the present invention is described in detail further.Be convenient to understand, instantiation described herein only for explaining the present invention, is not intended to limit the present invention.
In the present invention, power supply start control procedure: when power switch key is pressed, the inner LDO (LOWDROP-OUT) of PMIC (or CPU) powers on and provides power supply to interlock circuit, CPU is allowed to start executive routine, after program is run, the output port of CPU outwards exports the existence of the power supply holding signal maintenance power supply of a high level, and at this moment decontrol power switch button, whole starting procedure completes;
Power supply shutdown control procedure: when power switch key is pressed, after CPU detects continuous print low voltage signal, power supply holding signal is become low-voltage, close the power supply of LDO, after power switch unclamps, complete whole shutdown process.
Be illustrated in figure 1 the control model block scheme of the whole switching on and shutting down process of communication class electronic product, the start process of communication class product: when power switch key is pressed, after the switch pin of PMIC detects continuous print low voltage signal, open inner LDO to power to interlock circuit, PMIC sends a reset signal to CPU simultaneously, CPU is allowed to start executive routine, after program is run, CPU sends the holding signal of a high voltage (2.8V) to PMIC, maintain power supply and the operation of PMIC, at this moment decontrol power switch button, whole starting procedure completes; Shutdown process: when power switch key is pressed, after CPU detects continuous print low voltage signal, executive routine makes the holding signal delivering to PMIC become low-voltage, after the power supply of PMIC keeps pin low voltage signal to be detected, close the power supply of LDO, after power switch unclamps, complete whole shutdown process.
Be illustrated in figure 2 the control model block scheme of digital electronic product switching on and shutting down process, the switching on and shutting down process of digital products: when power switch key is pressed, after the switch pin of CPU detects continuous print low voltage signal, open inner LDO to power to interlock circuit, allow CPU start executive routine, after program performs, the output port of CPU sends a high voltage holding signal to control circuit, make gauge tap circuit turn-on, at this moment decontrol power switch button, whole starting procedure completes; Shutdown process: when power switch key is pressed, after CPU detects continuous print low voltage signal, executive routine becomes low level the holding signal delivering to control circuit, after power switch unclamps, on-off circuit disconnects, and closes the power supply of battery, completes whole shutdown process.
Control circuit provided by the present invention, specifically consults shown in Fig. 3, comprising: triode T01, triode T02, resistance R01, resistance R02, triode T03 and diode D01; The drain electrode of triode T01 connects anode, and as power input, its source electrode is connected with the source electrode of triode T02; The drain electrode of triode T02 is as the output terminal of battery supply; Triode T01 is connected with the grid of triode T02, and one end of resistance R01 is connected with two source electrodes of triode T01, T02, and the other end is connected with two grids of triode T01, T02; The collector of triode T03 is connected with two grids of triode T01, T02, the base stage of triode T03 is connected with the first control signal that described electronic product exports through resistance R02, the grounded emitter of triode T03, the positive pole of diode D01 is connected with two grids of triode T01, T02, and the second control signal that its negative pole and described electronic product export is connected.
Wherein, the first control signal is the power supply holding signal that the output port of CPU or PMIC in described electronic product outwards exports; Second control signal is the switching on and shutting down signal of power button in described electronic product.
Principle of work:
T01, T02 are the PMOS triodes of two source electrodes docking, the gauge tap of a composition anti-reverse leakage current, and the input of battery connects the drain electrode of T01, and the output of battery connects the drain electrode of T02, and being turned on or off of gauge tap is that collector voltage by T03 determines.The collector of T03 is connected on power switch by a general-purpose diode D01, and the base stage of T03 is connected on the pin of CPU holding signal by the resistance R02 of 1 kilohm.
When not starting shooting, the input voltage of battery makes the current collection very high voltage of T03 triode by diode parasitic in PMOS T01, power switch signal and power supply holding signal are vacant state when shutting down, therefore T01, T02 two PMOS triode cut-offs; When pressing key, power switch signal is dragged down, and make the collector of T03 become low-voltage by diode D01, now T01, T02 conducting, power supply just delivers to PMIC by T01 and T02, completes whole start process.After start, CPU sends the holding signal of a high level, and this signal voltage makes triode T03 saturation conduction on the one hand, and after T03 conducting, its collector becomes low-voltage, makes T01, T02 constant conduction, and on the other hand, holding signal makes PMIC maintain power supply; After power switch disconnects, the voltage on power switch pin raises, and close to cell voltage, D01 is ended.
Shutdown process: when power switch key is pressed, after CPU detects continuous print low-voltage, executive routine makes the holding signal delivering to PMIC become low-voltage, T03 is ended, meanwhile, the power supply of PMIC closes the power supply of LDO after keeping pin continuous print low voltage signal to be detected, after power switch unclamps, complete whole shutdown process; Now, because holding signal is low-voltage, T03 ends, and make T01, T02 also ends, and has so just cut off the power supply that battery is input to PMIC.
In order to reduce the current loss of switch sections circuit itself, and make the easy saturation conduction of T03, R01 selects the resistance of 100 kilohms, the fan-out capability of holding signal is depended in the selection of resistance R02, as long as it is just passable that the resistance value selected can make holding signal that T03 can be made to enter saturation conduction state when high level, in the present invention, resistance R02 selects 1 kilohm, and T01, T02 adopt power P MOS triode.
The foregoing is only preferred embodiment of the present invention, be not limited to the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.