CN102222949B - Device and method for managing batteries - Google Patents
Device and method for managing batteries Download PDFInfo
- Publication number
- CN102222949B CN102222949B CN201110157756.3A CN201110157756A CN102222949B CN 102222949 B CN102222949 B CN 102222949B CN 201110157756 A CN201110157756 A CN 201110157756A CN 102222949 B CN102222949 B CN 102222949B
- Authority
- CN
- China
- Prior art keywords
- battery
- threshold
- electronic switch
- power supply
- electric quantity
- 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.)
- Active
Links
Abstract
The invention discloses a device and method for managing batteries. The method comprises the following steps: determining whether an external power supply needs to be connected; using the external power supply to directly supply power for an electricity consumption module if the external power supply needs to be connected; determining whether the electric quantity of a first battery is lower than a first threshold if the external power supply does not need to be connected; using the first battery to supply power for the electricity consumption module if the electric quantity of the first battery is not lower than the first threshold, and determining whether the electric quantity of a second battery is lower than the first threshold if the electric quantity of the first battery is lower than the first threshold; and using the second battery to supply power for the electricity consumption module if the electric quantity of the second battery is not lower than the first threshold, and stopping to supply power for the electricity consumption module if the electric quantity of the second battery is lower than the first threshold. According to the invention, the first battery and the second battery can work in an alternative mode, and the battery can be replaced instead of being charged directly when lack of power, so the number of charge cycles can be reduced and the situation that the shortened life expectancy of a battery can cause the life expectancy of the whole power supply system to be shortened can be avoided, thus the service life of the battery powered system can be improved as a whole.
Description
Technical field
The present invention relates to electronic applications, particularly relate to a kind of cell managing device and method.
Background technology
Battery power supply system is one of important component part of portable type electronic product, along with the development of portable type electronic product, more and more higher to the requirement in the useful life of battery power supply system, and the bottleneck restricting battery power supply system useful life is battery life.
It is lithium polymer battery that current portable electronic product uses more, volume is little, plasticity is strong, fail safe is high advantage that it has.But lithium ion battery is along with the increase of charging times, the energy that its battery core stores also is reducing gradually.Charging times is more much more frequent, more easily causes the lithium ion life-span sharply to shorten, and thus how is reduced the discharge and recharge number of times of battery by appropriate design, and the aging speed extending battery becomes a difficult problem for industry.
Extend except the life-span of battery power supply system except the charging times by reducing battery in battery power supply system, the scheme adopting monocell to power in present battery electric power system is also the major reason causing the battery power supply system life-span shorter.
The scheme adopting double battery control device to control duplicate supply is had in prior art, its double cell utilizing integrated circuit to realize single-chip switches and management of charging and discharging, but not effectively to being described in detail with use priority the opportunity that double cell switches in the program, may in the use of double cell, the phenomenon that double cell discharges simultaneously can be there is, cause the double cell life-span identical, thus the life-span of battery power supply system cannot be extended on the whole.
Summary of the invention
The technical problem that the present invention mainly solves is to provide a kind of cell managing device and method, can reduce the number of times that double cell discharges simultaneously, thus extend the life of a cell.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: provide battery management method, comprise the following steps:
Determine whether to connect external power supply;
If so, external power supply is adopted to be directly electricity consumption module for power supply;
If not, judge that whether the first battery electric quantity is lower than first threshold;
If the first battery electric quantity is not less than first threshold, then adopt the first battery to be electricity consumption module for power supply, if the first battery electric quantity is lower than first threshold, then judge that whether the second battery electric quantity is lower than first threshold;
If the second battery electric quantity is not less than first threshold, then adopt the second battery to be electricity consumption module for power supply, if the second battery electric quantity is lower than first threshold, then stop as electricity consumption module for power supply.
Wherein, at connection external power supply, adopt in the step of external power supply directly for electricity consumption module for power supply, also comprise judgement first cell voltage whether lower than the step of Second Threshold: if the first cell voltage is lower than Second Threshold, then adopt external power supply to be the first battery charging, Second Threshold is greater than first threshold.
Wherein, at connection external power supply, adopt external power supply directly in the step of electricity consumption module for power supply, also comprise judgement second cell voltage whether lower than the step of Second Threshold: if the second cell voltage is lower than Second Threshold, then adopt external power supply to be the second battery charging.
Wherein, external power supply is being adopted to be in the step of the first battery charging when the first cell voltage lower than Second Threshold, also comprise: judge the first cell voltage, stop when the first cell voltage reaches the 3rd threshold value the first battery charging, the 3rd threshold value is greater than Second Threshold.
Wherein, external power supply is being adopted to be in the step of the second battery charging when the second cell voltage lower than Second Threshold, also comprise: judge the second cell voltage, stop when the second cell voltage reaches the 3rd threshold value the second battery charging, the 3rd threshold value is greater than Second Threshold.
For solving the problems of the technologies described above, another technical solution used in the present invention is: provide a kind of cell managing device, comprising: external power interface, electricity consumption module interface, the first battery, the second battery and battery management module; Described battery management module is for judging whether external power interface connects external power supply; If so, electricity consumption module interface is adopted to be directly electricity consumption module for power supply; If not, judge that whether the first battery electric quantity is lower than first threshold; If the first battery electric quantity is higher than first threshold, then adopt the first battery to be electricity consumption module for power supply, if the first battery electric quantity is lower than first threshold, then judge that whether the second battery electric quantity is lower than first threshold; If the second battery electric quantity is higher than first threshold, then adopt the second battery to be electricity consumption module for power supply, if the second battery electric quantity is lower than first threshold, then stop as electricity consumption module for power supply.
Wherein, in described cell managing device, described battery management module, for judging that whether the first cell voltage is lower than Second Threshold, if the first cell voltage is lower than Second Threshold, adopts external power supply to be the first battery charging; Described battery management module is also for judging that whether the second cell voltage is lower than Second Threshold, if the second cell voltage is lower than Second Threshold, adopt external power supply to be the second battery charging, Second Threshold is greater than first threshold.
Wherein, in described cell managing device, described battery management module is used for judging the first cell voltage, when the first cell voltage is higher than stopping the first battery charging during the 3rd threshold value; Described charge management module is also for judging the second cell voltage, and when the second cell voltage is higher than stopping during the 3rd threshold value the second battery charging, the 3rd threshold value is greater than Second Threshold.
Wherein, described battery management module comprises the first electronic switch, the second electronic switch, the 3rd electronic switch, the first resistance, the second resistance, analog to digital converter, digital to analog converter and microprocessor, external power interface connects the first end of the first electronic switch, and the second end of the first electronic switch connects electricity consumption module interface, second electronic switch first end connects the second end of the first electronic switch, and the second end of the second electronic switch connects the first end of the first resistance, and the second end of the first resistance connects the positive pole of the first battery, the minus earth of the first battery, 3rd electronic switch first end connects the second end of the first electronic switch, and the second end of the 3rd electronic switch connects the first end of the second resistance, and the second end of the second resistance connects the positive pole of the second battery, the minus earth of the second battery, first electronic switch, the second electronic switch and the 3rd electronic switch all have control end, digital to analog converter has input, the first output, the second output and the 3rd output, analog to digital converter has first input end, the second input, the 3rd input, four-input terminal and output, the control end of the first electronic switch is connected with the first output of digital to analog converter, the control end of the second electronic switch is connected with the second output of digital to analog converter, the control end of the 3rd electronic switch is connected with the 3rd output of digital to analog converter, the input of digital to analog converter is connected with the output of microprocessor, the input of microprocessor is connected with the output of analog to digital converter, the first end of the first resistance is also connected to the first input end of analog to digital converter, the first end of the second resistance is also connected to the second input of analog to digital converter, second end of the first resistance is also connected to the 3rd input of analog to digital converter, second end of the second resistance is also connected to the four-input terminal of analog to digital converter, analog to digital converter 116 is connected microprocessor respectively with digital to analog converter 117.
Wherein, described first electronic switch is PMOS, and described second electronic switch is NMOS tube, and described 3rd electronic switch is NMOS tube.
The invention has the beneficial effects as follows: the phenomenon that double cell discharges simultaneously can occur the double battery control device being different from prior art, cause the defect that the double cell life-span is identical, first the present invention can determine whether to be connected with external power supply, if be connected with external power supply, external power supply is directly used to power, without judging during external power supply whether the first battery can power, the second battery is closed when the first powered battery, only have and just use the second battery when the first battery electric quantity is not enough, and judge the second battery electric quantity, stop when the second battery electric quantity is also not enough as electricity consumption module for power supply, in such battery management method, first battery and the second battery alternation, directly do not charge when battery electric quantity is not enough but changes battery and use, reduce the charging times of battery, the situation allowing a shorter battery life cause the whole electric power system lost of life would not be produced, thus the whole service life of battery power supply system can be improved.
Accompanying drawing explanation
Fig. 1 is the first embodiment flow chart of steps of battery management method of the present invention;
Fig. 2 is the first embodiment program flow diagram of battery management method of the present invention;
Fig. 3 is the second embodiment program flow diagram of battery management method of the present invention;
Fig. 4 is the 3rd embodiment program flow diagram of battery management method of the present invention;
Fig. 5 is cell managing device example structure schematic diagram of the present invention;
Fig. 6 is cell managing device embodiment of the present invention electrical connection block diagram;
Fig. 7 is cell managing device embodiment circuit diagram of the present invention.
Embodiment
Below, in conjunction with specific embodiments and accompanying drawing, detailed description is made to the present invention.
Refer to Fig. 1 and Fig. 2, in the first embodiment of battery management method of the present invention, comprise the following steps:
Step 101: determine whether to connect external power supply;
Step 102: if so, adopt external power supply to be directly electricity consumption module for power supply;
Step 103: if not, judges that whether the first battery electric quantity is lower than first threshold;
Step 104: if the first battery electric quantity is not less than first threshold, then adopt the first battery to be electricity consumption module for power supply, if the first battery electric quantity is lower than first threshold, then judges that whether the second battery electric quantity is lower than first threshold;
Step 105: if the second battery electric quantity is not less than first threshold, then adopt the second battery to be electricity consumption module for power supply, if the second battery electric quantity is lower than first threshold, then stops as electricity consumption module for power supply.
First threshold is the minimum supply power voltage of the first battery and the second battery, i.e. shutdown voltage.After cell voltage is lower than minimum supply power voltage, for protection battery is not damaged, battery is stopped to be electricity consumption module for power supply.
More than can understand, the phenomenon that double cell discharges simultaneously can be there is in the double battery control device being different from prior art, cause the defect that the double cell life-span is identical, first the present invention can determine whether to be connected with external power supply, if be connected with external power supply, external power supply is directly used to power, without judging during external power supply whether the first battery can power, the second battery is closed when the first powered battery, only have and just use the second battery when the first battery electric quantity is not enough, and judge the second battery electric quantity, stop when the second battery electric quantity is also not enough as electricity consumption module for power supply, in such battery management method, first battery and the second battery alternation, directly do not charge when battery electric quantity is not enough but changes battery and use, reduce the charging times of battery, the situation allowing a shorter battery life cause the whole electric power system lost of life would not be produced, thus the whole service life of battery power supply system can be improved.
Refer to Fig. 3, in the second embodiment of battery management method of the present invention, at connection external power supply, adopt in the step of external power supply directly for electricity consumption module for power supply, also comprise judgement first cell voltage whether lower than the step of Second Threshold: if the first cell voltage is lower than Second Threshold, then adopt external power supply to be the first battery charging, Second Threshold is greater than first threshold.
Second Threshold is the charging cut-in voltage of the first battery and the second battery, only having cell voltage lower than just starting charging during this threshold value, can be set as 80% ~ 90% of saturated electricity, can reduce charging times like this.Certainly, according to actual needs, also can be set as other ratio of saturated electricity, above-mentioned setting ratio is only used for the present invention is described, is not limited to protection scope of the present invention.
When using external power supply directly to power for electricity consumption module, judge that whether the electricity of the first battery is lower than Second Threshold, only drop at electricity and lower than being just necessary during Second Threshold, the first battery is charged, the charging times of the first battery can be reduced like this, extend the useful life of the first battery, thus extend the whole service life of battery power supply system.
Refer to Fig. 4, in the 3rd embodiment of battery management method of the present invention, at connection external power supply, adopt in the step of external power supply directly for electricity consumption module for power supply, also comprise judgement second cell voltage whether lower than the step of Second Threshold: if the second cell voltage is lower than Second Threshold, then adopt external power supply to be the second battery charging.
In this embodiment, when using external power supply directly to power for electricity consumption module, judge that whether the electricity of the second battery is lower than Second Threshold, only drop at electricity and lower than being just necessary during Second Threshold, the second battery is charged, the charging times of the second battery can be reduced like this, extend the useful life of the second battery, thus extend the whole service life of battery power supply system.
In another embodiment of the invention, external power supply is being adopted to be in the step of the first battery charging when the first cell voltage lower than Second Threshold, also comprise: the first cell voltage is judged, stop when the first cell voltage reaches the 3rd threshold value the first battery charging, the 3rd threshold value is greater than Second Threshold.
3rd threshold value refers to saturation threshold, only has that after charging reaches capacity threshold value, just think that battery has filled full, and stops charging.
In this embodiment, when the first cell voltage is when lower than Second Threshold, need to judge the first battery electric quantity, only have and charge when the first battery electric quantity once fills saturated just stopping, namely charging is just stopped when the first battery electric quantity reaches the 3rd threshold value, the charging times of the first battery can be reduced like this, thus extend the useful life of the first battery.
In another embodiment of the invention, external power supply is being adopted to be in the step of the second battery charging when the second cell voltage lower than Second Threshold, also comprise: the second cell voltage is judged, stop when the second cell voltage reaches the 3rd threshold value the second battery charging, the 3rd threshold value is greater than Second Threshold.
In this embodiment, when the second cell voltage is when lower than Second Threshold, need to judge the second battery electric quantity, only have and charge when the second battery electric quantity once fills saturated just stopping, namely charging is just stopped when the second battery electric quantity reaches the 3rd threshold value, the charging times of the second battery can be reduced like this, thus extend the useful life of the second battery.
Refer to Fig. 5, cell managing device embodiment of the present invention comprises:
External power interface 10, electricity consumption module interface 12, first battery 13, second battery 14 and battery management module 11;
Described battery management module is for judging whether external power interface 10 connects external power supply; If so, electricity consumption module interface 12 is adopted to be directly electricity consumption module for power supply; If not, judge that whether the first battery 13 electricity is lower than first threshold; If the first battery 13 electricity is higher than first threshold, then adopts the first battery 13 to be electricity consumption module for power supply, if the first battery 13 electricity is lower than first threshold, then judge that whether the second battery 14 electricity is lower than first threshold; If the second battery 14 electricity is higher than first threshold, then adopt the second battery 14 to be electricity consumption module for power supply, if the second battery 14 electricity is lower than first threshold, then stop as electricity consumption module for power supply.
In another embodiment, battery management module 11, for judging that whether the first battery 13 voltage is lower than Second Threshold, if the first battery 13 voltage is lower than Second Threshold, adopts external power supply to be the first battery charging; Battery management module 11, also for judging that whether the second battery 14 voltage is lower than Second Threshold, if the second battery 14 voltage is lower than Second Threshold, adopts external power supply to be that the second battery 14 charges.
In another embodiment, battery management module 11 for judging the first battery 13 voltage, when the first battery 13 voltage higher than during the 3rd threshold value stop the first battery 13 is charged; Charge management module 11 also for judging the second battery 14 voltage, when the second battery 14 voltage higher than during the 3rd threshold value stop the second battery 14 is charged.
Refer to Fig. 6, battery management module 11 comprises the first electronic switch 111, second electronic switch 112, the 3rd electronic switch 113, first resistance 114, second resistance 115, analog to digital converter 116, digital to analog converter 117 and microprocessor 118;
External power interface 10 connects the first end of the first electronic switch 111, and the second end of the first electronic switch 111 connects electricity consumption module interface 12; Second electronic switch 112 first end connects the second end of the first electronic switch 111, and the second end of the second electronic switch 112 connects the first end of the first resistance 114, and the second end of the first resistance 114 connects the positive pole of the first battery, the minus earth of the first battery; 3rd electronic switch 113 first end connects the second end of the first electronic switch 111, and the second end of the 3rd electronic switch 113 connects the first end of the second resistance 115, and the second end of the second resistance 115 connects the positive pole of the second battery, the minus earth of the second battery; First electronic switch 111, second electronic switch 112 and the 3rd electronic switch 113 all have control end; Digital to analog converter 117 has input, the first output, the second output and the 3rd output; Analog to digital converter has first input end, the second input, the 3rd input, four-input terminal and output;
The control end of the first electronic switch 111 is connected with the first output of digital to analog converter 116, the control end of the second electronic switch 112 is connected with the second output of digital to analog converter 116, the control end of the 3rd electronic switch 113 is connected with the 3rd output of digital to analog converter 116, the input of digital to analog converter 116 is connected with the output of microprocessor 118, the input of microprocessor 118 is connected with the output of analog to digital converter 117, the first end of the first resistance 114 is also connected to the first input end of analog-to-digital conversion 117 device, the first end of the second resistance 115 is also connected to the second input of analog to digital converter 117, second end of the first resistance 114 is also connected to the 3rd input of analog to digital converter 117, second end of the second resistance 115 is also connected to the four-input terminal of analog to digital converter 117.
Above-mentioned first electronic switch 111 is PMOS, and above-mentioned second electronic switch 112 is NMOS tube, and above-mentioned 3rd electronic switch 113 is NMOS tube.
Continue to consult Fig. 6, in the preferred embodiments of the present invention, the course of work of cell managing device is:
A. when connecting external power supply, opening the first electronic switch 111 conducting external power supply and electricity consumption module, adopting electricity consumption module interface 12 pairs of electricity consumption module for power supply, and judging the first battery 13 and the second battery 14 voltage;
When the first battery 13 voltage is lower than the first predetermined threshold, opening the second electronic switch 112 conducting external power interface 10 and the first battery 13, is that the first battery 13 charges; When the first battery 13 voltage is higher than the first predetermined threshold, stopping is that the first battery 13 charges;
When the second battery 14 voltage is lower than the first predetermined threshold, opening the 3rd electronic switch 113 conducting external power interface 10 and the second battery 14, is that the second battery 14 charges; When the second battery 14 voltage is higher than the first predetermined threshold, stopping is that the second battery 14 charges.
B., when not connecting external power supply, the first battery 13 and the second battery 14 voltage is judged;
When the first battery 13 voltage is higher than the second predetermined threshold, open the second electronic switch 112, and close the first electronic switch 111 and the 3rd electronic switch 113, adopt the first battery 13 to be electricity consumption module for power supply;
When the first battery 13 voltage is lower than the second predetermined threshold, judge the second battery 14 voltage; When the second battery 14 voltage is higher than the second predetermined threshold, opens the 3rd electronic switch 113 and close the first electronic switch 111 and the second electronic switch 112, adopting the second battery 14 to be electricity consumption module for power supply;
When the first battery 13 voltage and the second battery 14 voltage are all lower than the second predetermined threshold, stop as electricity consumption module for power supply, electricity consumption module is closed.
Refer to Fig. 7, in cell managing device embodiment circuit diagram of the present invention, cell managing device comprises power management module interface 201, charging inlet 202, P_MOS pipe 203, N_MOS pipe 204, first charging resistor 205, first battery interface 206, the 2nd N_MOS pipe 207, second charging resistor 208, second battery interface 209, digital to analog converter 210, analog to digital converter 211 and microprocessor 212.
Power management module interface (V_SYS) 201, be connected to the interface of power management module, system power supply then can be converted to the voltage required for each unit of interior of mobile phone by power management module; The connector of charging inlet 202, connection external charger; P_MOS pipe 203, connection charging inlet 202 and system power supply line, for the level import system supply lines (V_SYS) by charger; One N_MOS pipe 204, control its conducting or shutoff, determine the discharge and recharge to the first battery; First charging resistor 205, discharge and recharge two ends produce voltage difference, indicator current; First battery interface 206, connect the connector of the first battery; 2nd N_MOS pipe 207, control its conducting or shutoff, determine the discharge and recharge to the second battery; Second charging resistor 208, discharge and recharge two ends produce voltage difference, indicator current; Second battery interface 209, connect the connector of the second battery; Digital to analog converter 210, the control signal (digital information) of microprocessor 212 is changed into corresponding level, and then the break-make of control P_MOS pipe the 203, the one N_MOS pipe 204 and the 2nd N_MOS pipe 207; Analog to digital converter 211, detect the charging resistor both end voltage of each battery, change into digital information, send to microprocessor 212; The state of charger and battery analyzed by microprocessor 212, detection, and control system is selected for electric flux, charging current controls and the switching of rechargeable battery.
Continue to consult Fig. 7, workflow of the present invention is:
One, charger states is inserted:
When charger inserts, microprocessor 212 is by interrupting detecting instantaneously, and system carries out power switching, and microprocessor 212 is opened P_MOS pipe 203 simultaneously by digital to analog converter 210, turned off a N_MOS pipe 204 and the 2nd N_MOS pipe 207.Then microprocessor 212 detects the voltage of different battery by analog to digital converter 211.
And then microprocessor 212 is adjudicated this voltage thus determines charge mode:
When two pieces of cell voltages all reach full charge pressure, stop charging, microprocessor 212 turns off a N_MOS pipe 204 and the 2nd N_MOS pipe 207 by digital to analog converter 210;
When the first cell voltage is higher than the second cell voltage, microprocessor 212 turns off a N_MOS pipe 204 by digital to analog converter 210 and conducting the 2nd N_MOS pipe 207, thus to the second battery charging, (microprocessor 212 is according to the pressure reduction at the second charging resistor 208 two ends detected, thus obtain charging current information, the charging current of comparison setting, through feedback controling mode, the pressure reduction controlled between the 2nd N_MOS pipe 207 source class and grid level adjusts charging current);
When the second cell voltage is higher than the first cell voltage, microprocessor 212 is by digital to analog converter 210 conducting the one N_MOS pipe 204 and turn off the 2nd N_MOS pipe 207, thus to the first battery charging, (microprocessor 212 is according to the pressure reduction at the first charging resistor 205 two ends detected, thus obtain charging current information, the charging current of comparison setting, through feedback controling mode, the pressure reduction controlled between N_MOS pipe 204 source class and grid level adjusts charging current);
System delay certain hour, carries out battery voltage detection again. thus circulation is gone down, until stop charging or charger to extract.
Two, battery-powered state:
Charger extract or system boot time, microprocessor 212 is by interrupting detecting instantaneously, and microprocessor 212 detects the voltage of different battery by analog to digital converter 211.
And then microprocessor 212 is adjudicated this voltage:
When two pieces of cell voltages are all lower than shutdown voltage, microprocessor 212 turns off P_MOS pipe 203, a N_MOS pipe 204 and the 2nd N_MOS pipe 207 by digital to analog converter 210 and maintains mobile phone shutdown;
When two pieces of batteries wherein have one piece of voltage higher than shutdown voltage, and the first cell voltage higher than the second cell voltage time, microprocessor 212 turns off P_MOS pipe 203 and the 2nd N_MOS pipe 207, conducting the one N_MOS pipe 204 by digital to analog converter 210, makes system by the first powered battery;
When two pieces of batteries wherein have one piece of voltage higher than shutdown voltage, and the second cell voltage higher than the first cell voltage time, microprocessor 212 turns off P_MOS pipe 203 and a N_MOS pipe 204, conducting the 2nd N_MOS pipe 207 by digital to analog converter 208, makes system by the second powered battery;
When system is still in open state, system enters again carries out battery voltage detection, and microprocessor 212 detects the voltage of different battery by analog to digital converter 211.
Then microprocessor 212 is adjudicated this voltage:
When two pieces of cell voltages are all lower than shutdown voltage, microprocessor 212 turns off a N_MOS pipe 204 by digital to analog converter 210 and the 2nd N_MOS pipe 207 cutting system is powered, made system closedown;
When the first battery higher than shutdown voltage and the second battery lower than shutdown voltage time, microprocessor 212 by digital to analog converter 210 conducting the one N_MOS pipe 204, turn off the 2nd N_MOS pipe 207, make system by the first powered battery;
When the first battery lower than shutdown voltage and the second battery higher than shutdown voltage time, microprocessor 212 turns off a N_MOS pipe 204, conducting the 2nd N_MOS pipe 207 by digital to analog converter 210, makes system by the second powered battery;
When two pieces of cell voltages all higher than shutdown voltage and the first battery is current supplying cell time, microprocessor 212 by digital to analog converter 210 conducting the one N_MOS pipe 204, turn off the 2nd N_MOS pipe 207, make system continue power supply by the first battery;
When two pieces of cell voltages all higher than shutdown voltage and the second battery is current supplying cell time, microprocessor 212 turns off a N_MOS pipe 204, conducting the 2nd N_MOS pipe 207 by digital to analog converter 210, make system by second battery continue power supply;
System delay certain hour, carries out battery voltage detection again.Thus circulation is gone down, until system closedown or charger insert.
The foregoing is only embodiments of the invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.
Claims (4)
1. a cell managing device, is characterized in that, comprising:
External power interface, electricity consumption module interface, the first battery, the second battery and battery management module;
Described battery management module is for judging whether external power interface connects external power supply; If so, electricity consumption module interface is adopted to be directly electricity consumption module for power supply; If not, judge that whether the first battery electric quantity is lower than first threshold; If the first battery electric quantity is higher than first threshold, then adopt the first battery to be electricity consumption module for power supply, if the first battery electric quantity is lower than first threshold, then judge that whether the second battery electric quantity is lower than first threshold; If the second battery electric quantity is higher than first threshold, then adopt the second battery to be electricity consumption module for power supply, if the second battery electric quantity is lower than first threshold, then stop as electricity consumption module for power supply;
Described battery management module comprises the first electronic switch, the second electronic switch, the 3rd electronic switch, the first resistance, the second resistance, digital to analog converter, analog to digital converter and microprocessor;
External power interface connects the first end of the first electronic switch, and the second end of the first electronic switch connects electricity consumption module interface; Second electronic switch first end connects the second end of the first electronic switch, and the second end of the second electronic switch connects the first end of the first resistance, and the second end of the first resistance connects the positive pole of the first battery, the minus earth of the first battery; 3rd electronic switch first end connects the second end of the first electronic switch, and the second end of the 3rd electronic switch connects the first end of the second resistance, and the second end of the second resistance connects the positive pole of the second battery, the minus earth of the second battery; First electronic switch, the second electronic switch and the 3rd electronic switch all have control end; Digital to analog converter has input, the first output, the second output and the 3rd output; Analog to digital converter has first input end, the second input, the 3rd input, four-input terminal and output;
The control end of the first electronic switch is connected with the first output of digital to analog converter, the control end of the second electronic switch is connected with the second output of digital to analog converter, the control end of the 3rd electronic switch is connected with the 3rd output of digital to analog converter, the input of digital to analog converter is connected with the output of microprocessor, the input of microprocessor is connected with the output of analog to digital converter, the first end of the first resistance is also connected to the first input end of analog to digital converter, the first end of the second resistance is also connected to the second input of analog to digital converter, second end of the first resistance is also connected to the 3rd input of analog to digital converter, second end of the second resistance is also connected to the four-input terminal of analog to digital converter.
2. cell managing device according to claim 1, is characterized in that:
Described battery management module, for judging that whether the first cell voltage is lower than Second Threshold, if the first cell voltage is lower than Second Threshold, adopts external power supply to be the first battery charging; Described battery management module is also for judging that whether the second cell voltage is lower than Second Threshold, if the second cell voltage is lower than Second Threshold, adopt external power supply to be the second battery charging, Second Threshold is greater than first threshold.
3. cell managing device according to claim 2, is characterized in that:
Described battery management module is used for judging the first cell voltage, when the first cell voltage is higher than stopping the first battery charging during the 3rd threshold value; Described charge management module is also for judging the second cell voltage, and when the second cell voltage is higher than stopping during the 3rd threshold value the second battery charging, the 3rd threshold value is greater than Second Threshold.
4. cell managing device according to claim 1, is characterized in that:
Described first electronic switch is PMOS, and described second electronic switch is NMOS tube, and described 3rd electronic switch is NMOS tube.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110157756.3A CN102222949B (en) | 2011-06-13 | 2011-06-13 | Device and method for managing batteries |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110157756.3A CN102222949B (en) | 2011-06-13 | 2011-06-13 | Device and method for managing batteries |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102222949A CN102222949A (en) | 2011-10-19 |
CN102222949B true CN102222949B (en) | 2015-02-11 |
Family
ID=44779409
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110157756.3A Active CN102222949B (en) | 2011-06-13 | 2011-06-13 | Device and method for managing batteries |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102222949B (en) |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103093553B (en) * | 2011-10-31 | 2017-01-25 | 国民技术股份有限公司 | Device for mobile payment and system and method for continuous power supply |
KR20130075535A (en) * | 2011-12-27 | 2013-07-05 | 삼성전자주식회사 | Method and apparatus for managing battery and electronic device by using the same |
CN103199604A (en) * | 2012-01-09 | 2013-07-10 | 鸿富锦精密工业(深圳)有限公司 | Electronic device power supply system and electronic device power supply method |
CN103904700B (en) * | 2012-12-24 | 2016-10-05 | 联想(北京)有限公司 | The method of battery automatic charging, system and electronic equipment |
CN103915863B (en) * | 2013-01-04 | 2016-12-28 | 联想(北京)有限公司 | Terminal unit and method of supplying power to thereof |
CN104467066A (en) * | 2014-05-13 | 2015-03-25 | 冯林 | Electronic cigarette and power module used for electronic cigarette |
CN104617657B (en) * | 2015-01-23 | 2017-07-21 | 深圳市科曼医疗设备有限公司 | The power-supply management system and defibrillation instrument apparatus of defibrillator |
CN107565620A (en) * | 2016-06-30 | 2018-01-09 | 北京小米移动软件有限公司 | Charge control method, device, charging equipment and electronic equipment |
CN109120058A (en) * | 2017-06-23 | 2019-01-01 | 中兴通讯股份有限公司 | Power supply monitoring system, communication equipment |
CN107271766A (en) * | 2017-08-16 | 2017-10-20 | 维沃移动通信有限公司 | A kind of power consumption detection method, consumption power detection circuit and mobile terminal |
CN109004729A (en) * | 2018-07-26 | 2018-12-14 | 合肥联宝信息技术有限公司 | A kind of electronic equipment and its control method |
CN109525720A (en) * | 2018-10-31 | 2019-03-26 | 南昌努比亚技术有限公司 | Battery of mobile terminal control method, mobile terminal and readable storage medium storing program for executing |
CN113852143A (en) * | 2020-06-28 | 2021-12-28 | 北京小米移动软件有限公司 | Electric energy management method and device and storage medium |
CN114268154A (en) * | 2021-12-27 | 2022-04-01 | 歌尔光学科技有限公司 | Charging method, device and system, multi-battery device and storage medium |
CN114545638B (en) * | 2022-04-28 | 2022-09-13 | 杭州灵伴科技有限公司 | AR display device, AR display device continuous power supply method and computer readable medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6057666A (en) * | 1997-09-17 | 2000-05-02 | Johnson Controls Technology Company | Method and circuit for controlling charging in a dual battery electrical system |
CN101610304A (en) * | 2008-06-20 | 2009-12-23 | 希姆通信息技术(上海)有限公司 | The changing method of mobile communication terminal and double-battery charge and power supply thereof |
CN201717658U (en) * | 2010-07-30 | 2011-01-19 | 深圳市东方华联科技有限公司 | Power supply circuit of mobile phone |
-
2011
- 2011-06-13 CN CN201110157756.3A patent/CN102222949B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6057666A (en) * | 1997-09-17 | 2000-05-02 | Johnson Controls Technology Company | Method and circuit for controlling charging in a dual battery electrical system |
CN101610304A (en) * | 2008-06-20 | 2009-12-23 | 希姆通信息技术(上海)有限公司 | The changing method of mobile communication terminal and double-battery charge and power supply thereof |
CN201717658U (en) * | 2010-07-30 | 2011-01-19 | 深圳市东方华联科技有限公司 | Power supply circuit of mobile phone |
Also Published As
Publication number | Publication date |
---|---|
CN102222949A (en) | 2011-10-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102222949B (en) | Device and method for managing batteries | |
KR101367875B1 (en) | Apparatus for controlling connection of battery pack | |
CN101752624B (en) | Equalizing charge method and equalizing charge device for battery | |
CN103928958B (en) | A kind of charging and discharging lithium battery management circuit and lithium battery management system | |
CN102005787B (en) | Charging and discharging control circuit and charging type power supply device | |
CN101908771A (en) | Circuit for realizing fast and slow charging in linear circuits and charging control method | |
CN202363960U (en) | Double-battery power supply device | |
CN105356561B (en) | Double-battery charge discharge system and method | |
CN201323466Y (en) | Single battery charger adopting an SCM to conduct safety control | |
CN102545335A (en) | Balanced charge-discharge circuit and balanced charge-discharge method | |
CN104410114B (en) | Mobile power supply | |
CN203368072U (en) | A charge management circuit and a charging device | |
CN101976876A (en) | Device and method for equalizing batteries in charging process | |
CN103809722A (en) | Laptop battery low-voltage protection circuit and low-voltage protection method | |
CN108649631A (en) | A kind of safe charging management method and system | |
CN104505905A (en) | Single-charged and series-discharged lithium battery pack | |
CN204144974U (en) | The protection of lithium battery and inversion system | |
CN106100008A (en) | Cell apparatus | |
CN204046213U (en) | A kind of discharge and recharge is with mouth control circuit | |
CN103915875A (en) | Lithium battery charging and discharging control system for novel solar street lamp | |
CN104300605B (en) | Power circuit and control method thereof | |
CN201893589U (en) | Serial battery pack charge balance system | |
CN204012767U (en) | A kind of charging and discharging lithium battery management circuit and lithium battery management system | |
CN103558557A (en) | Power battery pack detection circuit | |
CN2938522Y (en) | Overload protection circuit of power lithium ion battery |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |