A kind of portable power source
Technical field
The present invention relates to field of power supplies, more particularly to a kind of portable power source.
Background technology
Portable power source is a kind of portable charger for integrating power supply and charge function, and it can be to numbers such as mobile phones
Equipment charges or standby power whenever and wherever possible.Portable power source has Large Copacity, multipurpose, small volume, long lifespan and safe and reliable
The features such as, can be that a variety of digital products such as mobile phone, MP3, MP4, mobile phone, PDA, palm PC are powered or standby charging whenever and wherever possible
Function, the deep pro-gaze by consumers in general.
If current existing portable power source and electronic product connect charging, while connecting external power supply(220V
Civil power, adapter), then electronic product can disconnect with portable power source, it is impossible to charge, and it can not meet user and wish external power supply
When, portable power source can automatically switch charging modes, and final portable power source and electronic product are all the demands of full power state.
The content of the invention
In order to solve the above-mentioned technical problem, it is an object of the invention to provide a kind of portable power source.
The technical solution adopted in the present invention is:A kind of portable power source, including:Input port, output port, battery master
Body, charge management module, load charged state detection module;
The charge management module is detected with the input port, battery main body, output port, load charged state respectively
Module is connected;
The input port, it is used to receiving external power source and powers and be transferred to the charge management module;
The load charged state detection module, it is used for the charging shape for detecting the load being connected with the output port
State, corresponding charge mode control signal is exported according to the charged state of load;
The charge management module is when the input port connects external power source, output port connection load, root
Control external power source to the battery main body according to the charge mode control signal of the load charged state detection module output or
Load is charged.
It is preferred that, the electric current for the load that the load charged state detection module detection is connected with the output port simultaneously will
The electric current of the load is compared with default charge cutoff electric current;
When the electric current of the load is more than default charge cutoff electric current, the load charged state detection module output
Charge mode control signal is loaded to the charge management module, makes charge management module control external power source to be filled to the load
Electricity;
When the electric current of the load is less than default charge cutoff electric current, the load charged state detection module output
Battery body charge mode control signal makes charge management module control external power source to the electricity to the charge management module
This bulk charging of pond.
It is preferred that, the charge management module includes boost control chip and charge mode switching control is switched;
The voltage input pin of the boost control chip is connected with the input port;
The power pins of the boost control chip are connected with the battery main body;
The battery charging of the boost control chip enables the output end of pin and the load charged state detection module
Connection;
The voltage output pin of the boost control chip is connected with the output port;
The input port is connected by charge mode switching control switch with the output port;
The control end of the charge mode switching control switch and the output end of the load charged state detection module connect
Connect.
It is preferred that, the charge mode switching control switch is PMOS, and the grid of the PMOS is the charging mould
The control end of formula switching control switch, the source electrode of the PMOS connects the input port, the drain electrode connection of the PMOS
The output port.
It is preferred that, the load charged state detection module includes:Comparator, load current sampling resistor, default fill
Electric cut-off current given circuit, logic level transition control chip;
One end of the load current sampling resistor is anti-phase with the negative pole of the output port and the comparator respectively
Input connection, other end connection earthing potential;
The default charge cutoff given value of current circuit includes first resistor, second resistance, the first resistor, second
Resistance, which is sequentially connected in series, to be connected between the positive pole of the output port and earthing potential, the connection of the first resistor and second resistance
The in-phase input end of the point connection comparator;
The output end of the comparator connects the input of the logic level transition control chip, and the logic level turns
The output end for changing control chip is used as the output end of the load charged state detection module.
It is preferred that, the output end of the logic level transition control chip is connected with charge mode switching indicator lamp.
It is preferred that, the output end of the load charged state detection module is cut by a dropping resistor with the charge mode
The control end connection of controlling switch is changed, one is parallel between the control end and earthing potential of the charge mode switching control switch
Current-limiting resistance.
It is preferred that, the battery body is lithium battery, and the lithium battery two ends are connected with RC filter circuits and lithium battery is protected
Protection circuit.
The beneficial effects of the invention are as follows:
The present invention portable power source at the same time external power supply and load when, according to load charged state, control external power supply
Charged to battery main body or load;It is final to make battery main body and load all full chargings;Portable power source is not lost in whole process
The electricity of internal cell main body, charge efficiency is high, and external power supply automatically switches to the charged state of battery main body, load, has
Charge the beneficial effects such as convenient, safety, efficiency height.
Brief description of the drawings
The embodiment to the present invention is described further below in conjunction with the accompanying drawings:
Fig. 1 is a kind of portable power source structural representation of the invention;
Fig. 2 is a kind of portable power source specific implementation structural representation of the invention;
Fig. 3 is a kind of portable power source specific embodiment electrical block diagram;
Fig. 4 is a kind of electrical block diagram of charge management module in portable power source specific embodiment circuit structure;
Fig. 5 is that a kind of circuit structure of load charged state detection module in portable power source specific embodiment circuit structure shows
It is intended to;
Fig. 6 is charge management module and load charged state detection mould in a kind of portable power source specific embodiment circuit structure
The electrical block diagram of block connection.
Embodiment
The principle and feature of the present invention are described below in conjunction with accompanying drawing, the given examples are served only to explain the present invention, and
It is non-to be used to limit the scope of the present invention.
Fig. 1 is a kind of portable power source structural representation of the invention, as shown in figure 1, a kind of portable power source 1 of the invention, including:
Input port 103, output port 105, battery main body 102, charge management module 101, load charged state detection module 104;
Charge management module 101 respectively with input port 103, battery main body 102, output port 105, load charged state detection module
104 connections;
Input port 103, it is used to receiving external power source and powers and be transferred to charge management module 101;
Charged state detection module 104 is loaded, it is used for the charged state for detecting the load being connected with output port 103,
Corresponding charge mode control signal is exported according to the charged state of load;
Charge management module 101 is when input port 103 connects external power source, the connection load of output port 105, according to negative
Carry the output of charged state detection module 104 charge mode control signal control external power source to battery main body 102 or load into
Row charging.
The electric current for the load that the detection of load charged state detection module 104 is connected with output port 105 and by the electricity of load
Stream and charge cutoff electric current be compared;
When the electric current of load is more than default charge cutoff electric current, the output loading of load charged state detection module 104
Charge mode control signal makes charge management module 101 control external power source to be charged to load to charge management module 101;
When the electric current of load is less than default charge cutoff electric current, load charged state detection module 104 exports battery
Body charge mode control signal makes charge management module 101 control external power source to battery body to charge management module 101
Charging 102.Battery body 102 uses lithium battery in the present embodiment, and RC filter circuits and lithium electricity are connected with lithium battery two ends
Pond protection circuit, external power source turns the power supply adaptor that DC Module exports 5V using 220V.
Fig. 2 is a kind of portable power source specific implementation structural representation of the invention, and Fig. 3 is a kind of portable power source specific embodiment
Electrical block diagram, as shown in Figures 2 and 3, in the present embodiment, charge management module 101 includes boost control chip
1011 and charge mode switching control switch 1012;Charge mode switching control switch 1012 uses PMOS;Load charging shape
State detection module 104 includes:Comparator 1043, load current sampling resistor 1041, default charge cutoff given value of current circuit
1042nd, logic level transition control chip 1044.Fig. 5 is load charging shape in a kind of portable power source specific embodiment circuit structure
The electrical block diagram of state detection module, as shown in Figure 3 and Figure 5, one end of load current sampling resistor 1041 respectively with it is defeated
Inverting input-IN the connections of the negative pole and comparator 1042 of exit port 105, other end connection earthing potential;
Default charge cutoff given value of current circuit 1043 includes first resistor R1, second resistance R2, first resistor R1, the
Two resistance R2, which are sequentially connected in series, to be connected between the positive pole of output port 105 and earthing potential, first resistor R1 and second resistance R2's
Tie point connects the in-phase input end+IN of comparator 1042;
The input GP3 of the output end OUT connection logic level transitions control chip 1044 of comparator 1042, logic level
The output end GP1 of conversion and control chip 1044 is used as the output end for loading charged state detection module.
Fig. 4 is a kind of electrical block diagram of charge management module in portable power source specific embodiment circuit structure, such as
Shown in Fig. 4, the voltage input pin DC_IN of boost control chip 1011 is connected with input port 103;Boost control chip 1011
Power pins BAT be connected with battery main body 102;The voltage output pin VOUT and output port of boost control chip 1011
105 connections;The battery charging of boost control chip 1011 enables pin LOAD_ON and switchs 1012 with charge mode switching control
Control end is the drain electrode connection of PMOS, and open signal and the charge mode of the battery charging function of boost control chip 1011 are cut
The Continuity signal of controlling switch 1012 is changed on the contrary, in the present embodiment, the unlatching of the battery charging function of boost control chip 1011
Signal is high level, and it is low level that charge mode switching control, which switchs 1012 Continuity signals,.
Fig. 6 is charge management module and load charged state detection mould in a kind of portable power source specific embodiment circuit structure
Block connection electrical block diagram, as shown in fig. 6, boost control chip 1011 battery charging enable pin LOAD_ON with
The control end of charge mode switching control switch 1012 is that the drain electrode of PMOS passes through a dropping resistor R4 and logic level transition
The output end GP1 connections of control chip 1044, the control end for switching 1012 in charge mode switching control is the drain electrode of PMOS
A current-limiting resistance R4 is parallel between earthing potential.The output end of logic level transition control chip 1044 in the present embodiment
Charge mode switching indicator lamp is connected with, for pointing out user current charge mode.
Input port 103 is connected by PMOS with output port 105, the source electrode connection input port 103 of PMOS,
The drain electrode connection output port 105 of PMOS, the grid of PMOS switchs 1012 control end as charge mode switching control
Pin LOAD_ON is enabled with the battery charging of boost control chip 1011 to be connected.
The course of work to portable power source of the present invention is illustrated below.
As shown in figure 5, inverting input-the IN of the comparator 1043 of load charged state detection module 104 is negative electricity
Stream sampling input, the homophase input of comparator 1043 terminates default charge cutoff given value of current circuit 1041, compares electric current
Parameter adjustable section, can obtain the current parameters value needed, for example, in this reality by adjusting first resistor R1, second resistance R2
Apply in example and second resistance R2 is set to 820 ohm, first resistor R1 is set to 100K, the default charge cutoff of this parameter regulation
Electric current is 100mA, i.e., when load current is less than 100mA, be judged as loading charging complete, when load circuit is more than 100mA,
It is judged as that load is in charged state;When load current is less than 100mA, comparator output terminal OUT is output as low level, if negative
Carry electric current and be more than 100mA, comparator output terminal is output as high level.
The input pin GP3 for loading the logic level conversion control chip 1044 of charged state detection module 104 is level
Input control pin, receives the level signal of the output end OUT of comparator 1043 outputs;Logic level transition control chip 1044 is inputted
When pin GP3 receives high level, when its output end GP1 outputs low level, input pin GP3 receive low level, it is exported
End GP1 is output as high level.The output signal of comparator 1043 is re-used as control letter after logic level control chip 1044
Number output, can make control signal more stablize, overcome the generation of drift phenomenon.
Loaded when the output port 103 of portable power source 1 of the present invention is connected, while when input port 103 connects external power source,
If load is in charged state, now, the output end of logic level control chip 1044 will export low level to boosting rectifier control core
The control end that the battery charging enable pin LOAD_ON of piece 1011 switchs 1012 with charge mode switching control is the leakage of PMOS
Pole;It is that high level is effective that the battery charging of boost control chip 1011, which enables pin LOAD_ON, and boost control chip 1011 is closed
Charging to battery body 102;PMOS low level is turned on;Input port 103 is turned on output port 105, makes external power source
Charged for load,
When load charging complete, now, the output end of logic level control chip 1044 will export high level, charged state
The PMOS cut-off of switching switch 1012, input port 103 disconnects with output port 105;The battery of boost control chip 1011
Charging enables pin LOAD_ON high level effectively, and boost control chip 1011 opens battery body charge function, makes external power source
Battery body 102 is charged.
Above is the preferable implementation to the present invention is illustrated, but the invention is not limited to the implementation
Example, those skilled in the art can also make a variety of equivalent variations or replace on the premise of without prejudice to spirit of the invention
Change, these equivalent deformations or replacement are all contained in the application claim limited range.