CN103051023A - Method and device for managing battery charging circuit - Google Patents

Method and device for managing battery charging circuit Download PDF

Info

Publication number
CN103051023A
CN103051023A CN2012105516686A CN201210551668A CN103051023A CN 103051023 A CN103051023 A CN 103051023A CN 2012105516686 A CN2012105516686 A CN 2012105516686A CN 201210551668 A CN201210551668 A CN 201210551668A CN 103051023 A CN103051023 A CN 103051023A
Authority
CN
China
Prior art keywords
battery
voltage
management program
charging
charging management
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.)
Granted
Application number
CN2012105516686A
Other languages
Chinese (zh)
Other versions
CN103051023B (en
Inventor
江克俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201210551668.6A priority Critical patent/CN103051023B/en
Publication of CN103051023A publication Critical patent/CN103051023A/en
Application granted granted Critical
Publication of CN103051023B publication Critical patent/CN103051023B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for managing a battery charging circuit. The method comprises the following steps of: acquiring the full-load voltage of a battery according to the identification code of the battery of a plug-in terminal; calculating the maximal charging voltage information of the battery according to the full--load voltage of the battery; if the maximal charging voltage information of the battery is acquired, charging the battery by matching a corresponding-level battery charging management program according to the maximal charging voltage information of the battery, and ensuring that the maximal charging voltage output by the battery charging management program is not higher than the maximal charging voltage of the battery; and if the full-load voltage of the battery cannot be acquired, invoking an entry-level battery charging management program to charge the battery. The invention further discloses a terminal. The method and the device have the advantages that the types of batteries, applicable to a terminal, can be increased, the charging and use safety of the battery of the terminal can be enhanced, and the like.

Description

A kind of method and device of managing battery charger
Technical field
The present invention relates to the communications field, relate in particular to a kind of method and device of compatible two kinds of battery chargers.
Background technology
At present, the ceiling voltage of the normally used battery of mobile phone is 4.2V, along with the appearance of 4.35V high-tension battery, has the part mobile phone to bring into use the high-tension battery of 4.35V.Yet, 4.2V battery and the charging circuit of the battery of 4.35V have certain difference, when constant voltage charge, 4.2V battery charger can export ceiling voltage and charge the battery to a burning voltage between the 4.3V at 4.25V, during constant voltage charge, the battery charger of 4.35V can be exported the burning voltage of ceiling voltage between 4.4V to 4.45 and charge the battery.
In the prior art, the design of cell phone charging circuit comprises: 1, adopt the normal voltage charging circuit.If what mobile phone used is that ceiling voltage is the battery of 4.2V, when the design of cell phone charging circuit then was constant voltage charge, the maximum output voltage of charging circuit was about 4.2V; If what mobile phone used is that ceiling voltage is the battery of 4.35V, when the design of cell phone charging circuit then was constant voltage charge, the maximum output voltage of charging circuit was about 4.35V.2, adopt with battery of mobile phone ID(identity, identification code) charging circuit of identification module.Charging circuit at mobile phone has increased the battery ID identification module, if the battery that identification module recognizes is former emblem mark distribution pond, the charging circuit of mobile phone then can work, charge normal to battery, if the battery that recognizes is not former emblem mark distribution pond, the charging circuit of mobile phone is not then worked, and can't charge the battery.
The mobile phone of available technology adopting normal voltage charging circuit, when ceiling voltage is that the battery of 4.2V is put into when charging in the charging circuit that maximum output voltage is 4.35V, battery can shorten, even may blast, damage mobile phone, even the harm user security, there is great potential safety hazard.Charge for former emblem mark distribution pond with the circuit of battery of mobile phone ID identification module, can't give the charging of non-original factory standard configuration battery, the charging circuit of incompatible two kinds of batteries, the scope of application is limited.
Summary of the invention
The invention provides a kind of method and a kind of terminal of managing battery charger.Can call corresponding battery charging management program according to the type of battery charges the battery, a terminal can be charged to polytype battery, increased the type of the applicable battery of terminal, the scope of application that has enlarged terminating circuit has also strengthened the fail safe of battery charging and use.
Embodiments of the invention provide a kind of method of managing battery charger, comprising:
Obtain the full-load voltage of described battery according to the identification code of the battery that inserts terminal, calculate the maximum charging voltage information of described battery according to the full-load voltage of described battery;
If acquire the maximum charging voltage information of described battery, then give described battery charging according to the corresponding battery charging management program of the maximum charging voltage information matches of described battery, guarantee that the maximum charging voltage of described battery charging management program output is not higher than the maximum charging voltage of described battery;
If obtain the full-load voltage information less than described battery, then call the battery charging management program of the lowest class to described battery charging.
Embodiments of the invention provide a kind of terminal, and described terminal is used for the management battery charger, comprising:
Acquisition module is used for the identification code according to the battery that inserts terminal, obtains the full-load voltage of described battery, calculates the maximum charging voltage information of described battery according to the full-load voltage of described battery;
Matching module, be used for when acquisition module acquires the maximum charging voltage information of described battery, give described battery charging according to the corresponding battery charging management program of the maximum charging voltage information matches of described battery, guarantee that the maximum charging voltage of described battery charging management program output is not higher than the maximum charging voltage of described battery;
Calling module is used for calling the battery charging management program of the lowest class to described battery charging when acquisition module obtains maximum charging voltage information less than described battery.
The embodiment of the invention is obtained the information of inserting the battery in the terminal by detection, judge the type of battery according to the battery information that obtains, call corresponding battery charging management program according to the type of battery again battery is charged, and guarantee that the maximum charging voltage of the battery charging management program called is not higher than the maximum charging voltage of battery.The method that the embodiment of the invention is described so that a terminal can charge to polytype battery, and the charging voltage that charging circuit provides is not higher than the maximum charging voltage of battery, increased the type of the applicable battery of terminal, enlarged the scope of application of terminating circuit, the fail safe that has also strengthened the battery charging and used.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, the accompanying drawing of required use was done to introduce simply during the below will describe embodiment, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the first embodiment schematic flow sheet of the present invention's method of managing battery charger;
Fig. 2 is the structural representation of the first embodiment of terminal of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The terminal of indication in the method for a kind of compatible two kinds of battery chargers that present embodiment provides and a kind of terminal, comprising: mobile phone, panel computer, digital camera, notebook computer, PDA, MP3 etc. are applicable to the terminal of the described method of present embodiment.The below is described embodiments of the invention with reference to the accompanying drawings take mobile phone as example.Referring to Fig. 1, manage the first embodiment schematic flow sheet of the method for battery charger for the present invention.The method of the described management battery charger of present embodiment comprises step:
S101 according to the identification code of the battery that inserts terminal, obtains the full-load voltage of described battery, calculates the maximum charging voltage information of described battery according to the full-load voltage of described battery.
The below specifically describes explanation as an example of this terminal of mobile phone example.The battery of indication in the present embodiment comprises two class batteries: former emblem mark distribution pond and non-original factory standard configuration battery.
Former emblem mark distribution pond can comprise multiple different battery, and these batteries have different full-load voltages.For example full-load voltage is arranged is that battery and the full-load voltage of 4.2V is the battery of 4.35V in the former emblem mark distribution pond of mobile phone.This type of battery, in the design of battery of mobile phone, when producing, a fixing ID identification module can be mixed in the inside of battery by the original production producer of battery, and this ID identification module internal battery ID is referred to as the standard configuration battery identification code of mobile phone.In the specific implementation, the inner ID identification module that is equipped with in this type of former emblem mark distribution pond may be some resistance, comprise the identification module that conventional, electric-resistance or temperature resistance constant resistance are made, the perhaps identification module that forms of other some transducers, or some encrypt IC(Integrated Circuit, integrated circuit) identification module made of chip, the perhaps identification module made of other method.Mobile phone adopts corresponding recognition methods, for example by the ID pin of battery, the judgement read method of resistance, the perhaps read method of sensing data, perhaps the methods such as read method of IC chip data are obtained the id information data of this battery, detect, identify the type of this battery.Wherein, the battery ID information that comprises in the ID identification module of battery can comprise: the model of battery plate, battery, battery charging voltage, i.e. the battery parameter information such as the ceiling voltage of battery charging, battery capacity.Mobile phone can be by detecting the ID of this type of battery of mobile phone, according to the ID data that detect, comprise: the model of above-mentioned battery, the full-load voltage of battery and the battery ID information datas such as capacity of battery, judge the type of this battery, for example, detect to judge that by mobile phone this battery is that full-load voltage is that battery or the full-load voltage of 4.2V is the battery of 4.35V.Mobile phone detects after the full-load voltage of the battery that inserts mobile phone, then can calculate according to the full-load voltage of battery the maximum charging voltage of this battery, and obtaining then can be according to this voltage to battery coupling Charge Management program after the maximum charging voltage information of this battery.The maximum charging voltage of battery is that the full-load voltage of battery adds the magnitude of voltage that bias-voltage obtains, it also is the maximum charging voltage that battery can bear, if give this battery charging with the charging voltage that surpasses this voltage range, then may affect battery life, perhaps cause easily the safety problems such as battery explosion.Wherein, the full-load voltage of battery is the magnitude of voltage of battery when being full of electricity, and the magnitude of voltage of upper bias-voltage can be greater than 0V, and less than 0.15V.For example, when the full-load voltage of battery is 4.2V, be that the voltage of battery when being full of electricity is when being 4.2V, the maximum charging voltage of battery then is that 4.2V is to a magnitude of voltage between the 4.35V, wherein, optimal value can be 4.25V to 4.3V, namely is charged as a rational charging scope for this battery with the voltage in this scope, the life-span of battery can be guaranteed, the Accidental occurrences such as mobile phone blast can be prevented again.When the full-load voltage of battery is 4.35V, the maximum charging voltage of battery then be 4.35V to a magnitude of voltage between the 4.5V, wherein, optimal value can be 4.4V to 4.45V, namely is charged as a rational charging scope for this battery with the voltage in this scope.
Non-original factory standard configuration battery comprises that the cellphone subscriber passes through height imitative battery, the perhaps former emblem mark distribution pond of non-the mobile phones such as battery of other mobile phone models of this mobile phone model of third part purchase.May there be the battery ID identification module this class battery the inside, but this ID is ID corresponding to this battery self model, but not the former emblem mark of this mobile phone is joined battery ID, and perhaps this class battery the inside does not have the battery ID identification module.Because this type of battery do not have the ID identification module, perhaps the ID of this type of battery is not that the former emblem mark of this mobile phone is joined battery ID, so this mobile phone None-identified goes out such battery types.This class non-original factory standard configuration battery may comprise that also ceiling voltage is the battery of A and two kinds of batteries of battery that ceiling voltage is B, for example the imitative 4.2V battery of the height of this mobile phone and 4.35V battery.Because mobile phone detects the type of None-identified battery by ID, so can't judge by detecting battery ID the full-load voltage of such non-original factory standard configuration battery, also just can't calculate the maximum charging voltage information of this battery.
S102, if acquire the maximum charging voltage information of described battery, then give described battery charging according to the corresponding battery charging management program of the maximum charging voltage information matches of described battery, guarantee that the maximum charging voltage of described battery charging management program output is not higher than the maximum charging voltage of described battery.
In S101, mobile phone acquires the full-load voltage that inserts the battery in the mobile phone according to the battery identification code data that detects, and calculates the maximum charging voltage of battery according to the full-load voltage of the battery that acquires again.The maximum charging voltage that mobile phone calculates battery then can charge to this battery according to the corresponding battery charging management program of the maximum charging voltage information matches of battery afterwards.
In the specific implementation, mobile phone can be according to the type design of battery of mobile phone, the battery charging management program of N grade of storage, wherein, the battery charging management program of N grade is at least the battery charging management program of two grades, and wherein the maximum output voltage of the battery charging management program of each grade is different, the grade of the battery charging management program of maximum output voltage value maximum can be set to the first battery charging management program, the maximum output voltage value is less than the maximum charging voltage of the first battery charging management program output second battery charging management program that is set to greater than the maximum charging voltage of other battery management programs outputs, the grade of the battery charging management program of maximum output voltage value minimum is the lowest class battery charging management program, by that analogy, set the grade of each battery charging management program.
But mobile phone obtains after the maximum charging voltage of the battery that inserts mobile phone the then maximum charging voltage of control cell and the ceiling voltage of the first battery charging management program output, judges whether the maximum charging voltage of this battery is not less than the maximum charging voltage of the first battery charging management program output.If the maximum charging voltage of this battery is not less than the maximum charging voltage of the first battery charging management program output, the first battery charging management program of then calling guarantees that to this battery charging the maximum charging voltage of described battery charging management program output is not higher than the maximum charging voltage of described battery.If the maximum charging voltage of this battery is lower than the ceiling voltage of the first Charge Management program output, then continue the maximum charging voltage of this battery of contrast and the maximum charging voltage of the second battery charging management program output, judge whether the maximum charging voltage of this battery is not less than the maximum charging voltage of the second battery charging management program output.If the maximum charging voltage of this battery is not less than the maximum charging voltage of the second battery charging management program output, the second battery charging management program of then calling guarantees that to this battery charging the maximum charging voltage of described battery charging management program output is not higher than the maximum charging voltage of described battery.If the maximum charging voltage of this battery is lower than the ceiling voltage of the second Charge Management program output, then continue the maximum charging voltage of the battery charging management program output of the maximum charging voltage of this battery of contrast and other grades, the battery charging management programs such as high charge management voltage such as the maximum charging voltage of the 3rd battery charging management program output, the output of the 4th battery charging management program, until match corresponding battery charging management program, and call corresponding battery charging management program to this battery charging.
The below take the battery charging management program of embedded in mobile phone be two as example, illustrate the matching process that the above-mentioned corresponding battery charging management program of the maximum charging voltage information matches according to battery charges the battery.For example, be that full-load voltage is 4.2V when mobile phone gets access to the battery that inserts mobile phone, the magnitude of voltage that the upper bias-voltage of battery can be set is 0.1V, the maximum charging voltage that then can calculate this battery is 4.3V.If the maximum charging voltage of the first battery charging management program output is 4.45V, the maximum charging voltage of the second battery charging management program output is 4.25V, maximum charging voltage 4.3V according to this battery is lower than 4.4V, be higher than 4.25V, can judge that the maximum charging voltage that obtains this battery is higher than the maximum charging voltage of the second battery charging management program output, namely the maximum charging voltage of this battery is not less than the maximum charging voltage of the second battery charging management program output, and the second battery charging management program of then calling is to this battery charging.During constant voltage charge, the second battery charging management program can be exported 4.2V and charge to this battery to a stable voltage between the 4.25V, guarantees that the maximum charging voltage of the second battery charging management program output is not higher than the maximum charging voltage of this battery.If it is 4.35V that mobile phone gets access to the full-load voltage of the battery that inserts mobile phone, the maximum charging voltage that then can calculate this battery is 4.45V, can mate to such an extent that the maximum charging voltage 4.45V of this battery equals the ceiling voltage of the first battery charging management program output according to the maximum charging voltage of this battery, namely the maximum charging voltage of this battery is not less than the ceiling voltage of the first battery charging management program output, and the first battery charging management program of then calling is to this battery charging.During constant voltage charge, the first battery charging management program can be exported 4.4V and charge to this battery to a stable voltage between the 4.45V, guarantees that the maximum charging voltage of the first battery charging management program output is not higher than the maximum charging voltage of this battery.
S103 if obtain full-load voltage less than described battery, then calls the battery charging management program of the lowest class to described battery charging.
In S101, when the battery that inserts mobile phone as the cellphone subscriber is the battery of the imitative battery of height of cellphone subscriber's this mobile phone of passing through third part purchase or other mobile phone models, mobile phone detects this type of non-original factory standard configuration battery of None-identified by battery ID, and because this type of battery of mobile phone None-identified, so also battery types of this type of battery of None-identified, can't learn the full-load voltage of this battery, also can't obtain the maximum charging voltage of this battery.In the specific implementation, the cellphone subscriber may be because professional knowledge be inadequate or careless, the maximum charging voltage that battery is inserted output is greater than charging in charging circuit corresponding to the battery charging management program of the maximum charging voltage of this battery, for example, be that to be inserted into maximum output voltage be to charge in charging circuit corresponding to the battery charging management program of 4.35V for the battery of 4.2V with full-load voltage.Because the output voltage of circuit is higher than the maximum charging voltage of battery, the life-span of battery may be shortened if charge the battery with such circuit, even battery explosion can be caused, destroy mobile phone, endanger cellphone subscriber's safety.In order to guarantee the life-span of battery, avoid Accidental occurrence, ensure cellphone subscriber's safety, when mobile phone detects, obtains full-load voltage information less than the battery that inserts mobile phone, the maximum charging voltage of then giving tacit consent to this type of battery is not less than the maximum charging voltage of the battery charging management program output of the lowest class, the battery charging management program of the lowest class that the mobile phone Automatically invoked is corresponding is given this battery charging, guarantees that the maximum charging voltage of the battery charging management program output of the lowest class is not higher than the maximum charging voltage of this battery.For example, if the maximum charging voltage of the battery charging management program of the lowest class output is 4.2V, then when mobile phone obtains full-load voltage less than the battery that inserts mobile phone, the full-load voltage that mobile phone is then given tacit consent to this battery is 4.2V, and the battery charging management program of calling the lowest class is given this battery charging.
The ID pin of the battery of present embodiment mobile phone by inserting mobile phone detects the ID of battery, identifies the type of battery according to the battery ID data that detect, and calls corresponding battery charging management program according to the type of battery again and charges the battery.When constant voltage charge, the battery charging management program automatically corresponding charging voltage of output is given corresponding battery charging.The method that the embodiment of the invention is described both can be charged by polytype battery, simultaneously can also avoid charging the battery with excessive voltage, avoid the Accidental occurrences such as mobile phone blast, increased the type of the applicable battery of mobile phone, strengthened the fail safe that battery of mobile phone uses and charges.
Referring to Fig. 2, be the structural representation of the first embodiment of terminal of the present invention.The described terminal of present embodiment comprises:
Acquisition module 10 is used for the identification code according to the battery that inserts terminal, obtains the full-load voltage of described battery, calculates the maximum charging voltage information of described battery according to the full-load voltage of described battery.
The below specifically describes explanation as an example of this terminal of mobile phone example.The battery of indication in the present embodiment comprises two class batteries: former emblem mark distribution pond and non-original factory standard configuration battery.
Former emblem mark distribution pond can comprise multiple different battery, and these batteries have different full-load voltages.For example full-load voltage is arranged is that battery and the full-load voltage of 4.2V is the battery of 4.35V in the former emblem mark distribution pond of mobile phone.This type of battery, in the design of battery of mobile phone, when producing, a fixing ID identification module can be mixed in the inside of battery by the original production producer of battery, and this ID identification module internal battery ID is referred to as the standard configuration battery identification code of mobile phone.In the specific implementation, the inner ID identification module that is equipped with in this type of former emblem mark distribution pond may be some resistance, comprise the identification module that conventional, electric-resistance or temperature resistance constant resistance are made, the perhaps identification module that forms of other some transducers, or some encrypt the identification module that IC chips are made, perhaps the identification module made of other method.The identification module 10 of mobile phone can be by the ID pin of battery, adopt corresponding recognition methods, for example, the judgement read method of resistance, the perhaps read method of sensing data, perhaps the methods such as read method of IC chip data are obtained the id information data of this battery, detect, identify the type of this battery.Wherein, the battery ID information that comprises in the ID identification module of battery can comprise: the model of battery plate, battery, battery charging voltage, i.e. the battery parameter information such as the ceiling voltage of battery charging, battery capacity.The acquisition module 10 of mobile phone can be by detecting the ID of this type of battery of mobile phone, according to the ID data that detect, comprise: the model of above-mentioned battery, the full-load voltage of battery and the battery ID information datas such as capacity of battery, judge the type of this battery, for example, mobile phone judges that by acquisition module 10 these batteries are that full-load voltage is that battery or the full-load voltage of 4.2V is the battery of 4.35V.Acquisition module 10 detects after the full-load voltage of the battery that inserts mobile phone, then can calculate according to the full-load voltage of battery the maximum charging voltage of this battery, obtaining then can be according to this voltage to battery coupling Charge Management program after the maximum charging voltage information of this battery.The maximum charging voltage of battery is that the full-load voltage of battery adds the magnitude of voltage that bias-voltage obtains, it also is the maximum charging voltage that battery can bear, if give this battery charging with the charging voltage that surpasses this voltage range, then may affect battery life, perhaps cause easily the safety problems such as battery explosion.Wherein, the full-load voltage of battery is the magnitude of voltage of battery when being full of electricity, and the magnitude of voltage of upper bias-voltage can be greater than 0V, and less than 0.15V.For example, when the full-load voltage of battery is 4.2V, be that the voltage of battery when being full of electricity is when being 4.2V, the maximum charging voltage of battery then is that 4.2V is to a magnitude of voltage between the 4.35V, wherein, optimal value can be 4.25V to 4.3V, then is charged as a rational charging scope for this battery with the voltage in this scope, the life-span of battery can be guaranteed, the Accidental occurrences such as mobile phone blast can be prevented again.When the full-load voltage of battery is 4.35V, the maximum charging voltage of battery then be 4.35V to a magnitude of voltage between the 4.5V, wherein, optimal value can be 4.4V to 4.45V, namely is charged as a rational charging scope for this battery with the voltage in this scope.
Non-original factory standard configuration battery comprises that the cellphone subscriber passes through third party in addition height imitative battery, the perhaps former emblem mark distribution pond of non-the mobile phones such as battery of other mobile phone models of this mobile phone model of purchase.May there be the battery ID identification module this class battery the inside, but this ID is ID corresponding to this battery self model, but not the former emblem mark of this mobile phone is joined battery ID, and perhaps this class battery the inside does not have the battery ID identification module.Because this type of battery do not have the ID identification module, perhaps the ID of this type of battery is not that the former emblem mark of this mobile phone is joined battery ID, so identification module 10 None-identifieds of this mobile phone go out such battery types.Wherein, this class non-original factory standard configuration battery may comprise that also ceiling voltage is the battery of A and two kinds of batteries of battery that ceiling voltage is B, for example the imitative 4.2V battery of the height of this mobile phone and 4.35V battery.Because mobile phone detects the type of None-identified battery by ID, so can't judge by detecting battery ID the full-load voltage of such non-original factory standard configuration battery, also just can't calculate the maximum charging voltage information of this battery.
Matching module 20, be used for when acquisition module acquires the maximum charging voltage information of described battery, give described battery charging according to the corresponding battery charging management program of the maximum charging voltage information matches of described battery, guarantee that the maximum charging voltage of described battery charging management program output is not higher than the maximum charging voltage of described battery.
Wherein, matching module 20 comprises:
Judging unit 21 is used for judging whether the maximum charging voltage of described battery is not less than the maximum charging voltage of the first battery charging management program output.
The first processing unit 22, be used in the judgment unit judges result when being, the first battery charging management program of calling is to described battery charging, when being no, judge further whether the maximum charging voltage of described battery is not less than the maximum charging voltage of the second battery charging management program output in the judgment unit judges result.
The second processing unit 23, be used in the first processing unit judged result when being, the second battery charging management program of calling is to described battery charging, at the first processing unit when the determination result is NO, judge according to said method whether the ceiling voltage of described battery is not less than the maximum charging voltage of N battery charging management program output, mate corresponding battery charging management program, call corresponding battery charging management program to described battery charging.
The acquisition module 10 of mobile phone acquires the full-load voltage that inserts the battery in the mobile phone according to the battery identification code data that detects, and calculates the maximum charging voltage of battery according to the full-load voltage of the battery that acquires again.The maximum charging voltage that mobile phone calculates battery then can charge to this battery according to the corresponding battery charging management program of the maximum charging voltage information matches of battery afterwards.
In the specific implementation, mobile phone can be according to the type design of battery of mobile phone, the battery charging management program of N grade of storage, wherein, the battery charging management program of N grade is at least the battery charging management program of two grades, and wherein the maximum output voltage of the battery charging management program of each grade is different, the grade of the battery charging management program of maximum output voltage value maximum can be set to the first battery charging management program, the maximum output voltage value is less than the maximum charging voltage of the first battery charging management program output second battery charging management program that is set to greater than the maximum charging voltage of other battery management programs outputs, the grade of the battery charging management program of maximum output voltage value minimum is the lowest class battery charging management program, by that analogy, set the grade of each battery charging management program.
But the acquisition module 10 of mobile phone obtains the maximum charging voltage of 21 control cell of judging unit after the maximum charging voltage of the battery that inserts mobile phone and the ceiling voltage of the first battery charging management program output, judges whether the maximum charging voltage of this battery is not less than the maximum charging voltage of the first battery charging management program output.If judging unit 21 judges that the maximum charging voltage that obtains this battery is not less than the maximum charging voltage of the first battery charging management program output, 22 of the first processing units call the first battery charging management program to this battery charging, guarantee that the maximum charging voltage of described battery charging management program output is not higher than the maximum charging voltage of described battery.If the maximum charging voltage of this battery is lower than the ceiling voltage of the first Charge Management program output, then continue the maximum charging voltage of this battery of contrast and the maximum charging voltage of the second battery charging management program output, judge whether the maximum charging voltage of this battery is not less than the maximum charging voltage of the second battery charging management program output.If the first processing unit 22 judges that the maximum charging voltage that obtains this battery is not less than the maximum charging voltage of the second battery charging management program output, 23 of the second processing units call the second battery charging management program to this battery charging, guarantee that the maximum charging voltage of described battery charging management program output is not higher than the maximum charging voltage of described battery.If the maximum charging voltage of this battery is lower than the ceiling voltage of the second Charge Management program output, then continue the maximum charging voltage of the battery charging management program output of the maximum charging voltage of this battery of contrast and other grades, the battery charging management programs such as high charge management voltage such as the maximum charging voltage of the 3rd battery charging management program output, the output of the 4th battery charging management program, until match corresponding battery charging management program, and call corresponding battery charging management program to this battery charging.
The below take the battery charging management program of embedded in mobile phone be two as example, illustrate the matching process that the above-mentioned corresponding battery charging management program of the maximum charging voltage information matches according to battery charges the battery.For example, be that full-load voltage is 4.2V when mobile phone gets access to the battery that inserts mobile phone, the magnitude of voltage that the upper bias-voltage of battery can be set is 0.1V, the maximum charging voltage that then can calculate this battery is 4.3V.If the maximum charging voltage of the first battery charging management program output is 4.45V, the maximum charging voltage of the second battery charging management program output is 4.25V, maximum charging voltage 4.3V according to this battery is lower than 4.4V, be higher than 4.25V, can judge that the maximum charging voltage that obtains this battery is higher than the maximum charging voltage of the second battery charging management program output, namely the maximum charging voltage of this battery is not less than the maximum charging voltage of the second battery charging management program output, and the second battery charging management program of then calling is to this battery charging.During constant voltage charge, the second battery charging management program can be exported 4.2V and charge to this battery to a stable voltage between the 4.25V, guarantees that the maximum charging voltage of the second battery charging management program output is not higher than the maximum charging voltage of this battery.If it is 4.35V that mobile phone gets access to the full-load voltage of the battery that inserts mobile phone, the maximum charging voltage that then can calculate this battery is 4.45V, can mate to such an extent that the maximum charging voltage 4.45V of this battery equals the ceiling voltage of the first battery charging management program output according to the maximum charging voltage of this battery, namely the maximum charging voltage of this battery is not less than the ceiling voltage of the first battery charging management program output, and the first battery charging management program of then calling is to this battery charging.During constant voltage charge, the first battery charging management program can be exported 4.4V and charge to this battery to a stable voltage between the 4.45V, guarantees that the maximum charging voltage of the first battery charging management program output is not higher than the maximum charging voltage of this battery.
Calling module 30 is used for calling the battery charging management program of the lowest class to described battery charging when acquisition module obtains full-load voltage information less than described battery.
It is the charging work of the battery of the mobile phone full-load voltage that can't obtain this battery that calling module 30 mainly is in charge of the battery that inserts mobile phone.When the battery that inserts mobile phone as the cellphone subscriber is the battery of the imitative battery of height of cellphone subscriber's this mobile phone of passing through third part purchase or other mobile phone models, such battery of acquisition module 10 None-identifieds of mobile phone, and because this type of battery of acquisition module 10 None-identifieds of mobile phone, so the also type of this type of battery of None-identified can't be learnt the full-load voltage of this battery.In the specific implementation, the cellphone subscriber may be because professional knowledge be inadequate or careless, the maximum charging voltage that battery is inserted output is greater than charging in charging circuit corresponding to the battery charging management program of the maximum charging voltage of this battery, for example, be that to be inserted into maximum output voltage be to charge in charging circuit corresponding to the battery charging management program of 4.35V for the battery of 4.2V with full-load voltage.Because the output voltage of circuit is higher than the maximum charging voltage of battery, the life-span of battery may be shortened if charge the battery with such circuit, even battery explosion can be caused, destroy mobile phone, endanger cellphone subscriber's safety.In order to guarantee the life-span of battery, avoid Accidental occurrence, ensure cellphone subscriber's safety, when the acquisition module 10 of mobile phone detects, obtains full-load voltage information less than the battery that inserts mobile phone, this type of battery of 30 of calling modules acquiescence be not less than the maximum charging voltage that the battery charging management program of the lowest class is exported for maximum charging voltage, the battery charging management program of Automatically invoked the lowest class is charged to this battery, guarantees that the maximum charging voltage of the battery charging management program output of the lowest class is not higher than the maximum charging voltage of this battery.For example, if the maximum charging voltage of the battery charging management program of the lowest class output is 4.2V, then when acquisition module 10 obtains full-load voltage less than the battery that inserts mobile phone, the full-load voltages of this battery of 30 of calling modules acquiescence are 4.2V, and the battery charging management program of calling the lowest class is to this battery charging.
The ID pin of the battery of mobile phone by inserting mobile phone detects the ID of battery in the present embodiment, identifies the type of battery according to the battery ID data that detect, and is charging the battery according to battery charging management program corresponding to the type Automatically invoked of battery.When constant voltage charge, the battery charging management program automatically corresponding charging voltage of output is given corresponding battery charging.The mobile phone that the embodiment of the invention is described both can have been given polytype battery charging, simultaneously can also avoid charging the battery with excessive voltage, avoid the Accidental occurrences such as mobile phone blast, increased the type of the applicable battery of mobile phone, strengthened the fail safe that battery of mobile phone uses and charges.
The embodiment of the invention is obtained the information of inserting the battery in the terminal by detection, judge the type of battery according to the battery information that obtains, call corresponding battery charging management program according to the type of battery again battery is charged, and guarantee that the maximum charging voltage of the battery charging management program called is not higher than the maximum charging voltage of battery.The method that the embodiment of the invention is described so that a terminal can charge to polytype battery, and the charging voltage that charging circuit provides is not higher than the maximum charging voltage of battery, increased the type of the applicable battery of terminal, enlarged the scope of application of terminating circuit, the fail safe that has also strengthened the battery charging and used.
Device embodiment described above only is schematic, wherein said unit as the separating component explanation can or can not be physically to separate also, the parts that show as the unit can be or can not be physical locations also, namely can be positioned at a place, perhaps also can be distributed on a plurality of network element.Can select according to the actual needs wherein some or all of module to realize the purpose of present embodiment scheme.Those of ordinary skills namely can understand and implement in the situation of not paying performing creative labour.
The module of the embodiment of the invention or unit can be with universal integrated circuit (such as central processor CPUs), or realize with application-specific integrated circuit (ASIC) (ASIC).Through the above description of the embodiments, those skilled in the art can be well understood to each execution mode and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware.Based on such understanding, the part that technique scheme contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in the computer-readable recording medium, such as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, perhaps network equipment etc.) carry out the described method of some part of each embodiment or embodiment.
Above-described execution mode does not consist of the restriction to this technical scheme protection range.Any at above-mentioned execution mode spirit and principle within do modification, be equal to and replace and improvement etc., all should be included within the protection range of this technical scheme.

Claims (10)

1. a method of managing battery charger is characterized in that, comprising:
According to the identification code of the battery that inserts terminal, obtain the full-load voltage of described battery, calculate the maximum charging voltage information of described battery according to the full-load voltage of described battery;
If acquire the maximum charging voltage information of described battery, then give described battery charging according to the corresponding battery charging management program of the maximum charging voltage information matches of described battery, guarantee that the maximum charging voltage of described battery charging management program output is not higher than the maximum charging voltage of described battery;
If obtain the full-load voltage less than described battery, then call the battery charging management program of the lowest class to described battery charging.
2. the method for claim 1 is characterized in that, the corresponding battery charging management program of described maximum charging voltage information matches according to described battery is given the coupling step of described battery charging, comprising:
Judge whether the maximum charging voltage of described battery is not less than the maximum charging voltage of the first battery charging management program output;
If the maximum charging voltage of described battery is not less than the maximum charging voltage of the first battery charging management program output, the first battery charging management program of then calling is to described battery charging, if the maximum charging voltage of described battery is lower than the maximum charging voltage of the first battery charging management program output, judge then whether the maximum charging voltage of described battery is not less than the maximum charging voltage of the second battery charging management program output;
If the maximum charging voltage of described battery is not less than the maximum charging voltage of the second battery charging management program output, the second battery charging management program of then calling is to described battery charging, if the maximum charging voltage of described battery is lower than the maximum charging voltage of the second battery charging management program output, then judge according to said method whether the ceiling voltage of described battery is not less than the maximum charging voltage of N battery charging management program output, mate corresponding battery charging management program, call corresponding battery charging management program to described battery charging;
Wherein, the ceiling voltage of described the first battery charging management program output is greater than the ceiling voltage of described the second battery charging management program output, and the ceiling voltage of described the second battery charging management program output is greater than the ceiling voltage of described N battery charging management program output.
3. method as claimed in claim 2 is characterized in that, described N battery charging management program comprises the first battery charging management program, at least two kinds of battery charging management programs of the second battery charging management program.
4. method as claimed in claim 3 is characterized in that, the maximum charging voltage of described battery is that the full-load voltage of described battery adds bias-voltage.
5. such as each described method of claim 1-4, it is characterized in that described terminal comprises: at least a among mobile phone, panel computer, digital camera, notebook computer, PDA, the MP3.
6. terminal, described terminal are used for the management battery charger, it is characterized in that, comprising:
Acquisition module is used for the identification code according to the battery that inserts terminal, obtains the full-load voltage of described battery, calculates the maximum charging voltage information of described battery according to the full-load voltage of described battery;
Matching module, be used for when acquisition module acquires the maximum charging voltage information of described battery, give described battery charging according to the corresponding battery charging management program of the maximum charging voltage information matches of described battery, guarantee that the maximum charging voltage of described battery charging management program output is not higher than the maximum charging voltage of described battery;
Calling module is used for calling the battery charging management program of the lowest class to described battery charging when acquisition module obtains full-load voltage information less than described battery.
7. terminal as claimed in claim 6 is characterized in that, described matching module comprises:
Judging unit is used for judging whether the maximum charging voltage of described battery is not less than the maximum charging voltage of the first battery charging management program output;
The first processing unit, be used in the judgment unit judges result when being, the first battery charging management program of calling is to described battery charging, when being no, judge further whether the maximum charging voltage of described battery is not less than the maximum charging voltage of the second battery charging management program output in the judgment unit judges result;
The second processing unit, be used in the first processing unit judged result when being, the second battery charging management program of calling is to described battery charging, at the first processing unit when the determination result is NO, judge according to said method whether the ceiling voltage of described battery is not less than the maximum charging voltage of N battery charging management program output, mate corresponding battery charging management program, call corresponding battery charging management program to described battery charging;
Wherein, the ceiling voltage of described the first battery charging management program output is greater than the ceiling voltage of described the second battery charging management program output, and the ceiling voltage of described the second battery charging management program output is greater than the ceiling voltage of described N battery charging management program output.
8. terminal as claimed in claim 7 is characterized in that, described N battery charging management program comprises the first battery charging management program, at least two kinds of battery charging management programs of the second battery charging management program.
9. terminal as claimed in claim 8 is characterized in that, the maximum charging voltage of described battery is that the full-load voltage of described battery adds bias-voltage.
10. such as each described terminal of claim 6-9, it is characterized in that described terminal comprises: at least a among mobile phone, panel computer, digital camera, notebook computer, PDA, the MP3.
CN201210551668.6A 2012-12-18 2012-12-18 A kind of method and device managing battery charger Expired - Fee Related CN103051023B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210551668.6A CN103051023B (en) 2012-12-18 2012-12-18 A kind of method and device managing battery charger

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210551668.6A CN103051023B (en) 2012-12-18 2012-12-18 A kind of method and device managing battery charger

Publications (2)

Publication Number Publication Date
CN103051023A true CN103051023A (en) 2013-04-17
CN103051023B CN103051023B (en) 2015-09-02

Family

ID=48063571

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210551668.6A Expired - Fee Related CN103051023B (en) 2012-12-18 2012-12-18 A kind of method and device managing battery charger

Country Status (1)

Country Link
CN (1) CN103051023B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105553029A (en) * 2016-02-01 2016-05-04 深圳市金立通信设备有限公司 Charging method and terminal
CN112018849A (en) * 2020-08-31 2020-12-01 中车青岛四方车辆研究所有限公司 Battery charging control method for motor train unit charger

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4396880A (en) * 1981-06-05 1983-08-02 Firing Circuits Inc. Method and apparatus for charging a battery
US5164652A (en) * 1989-04-21 1992-11-17 Motorola, Inc. Method and apparatus for determining battery type and modifying operating characteristics
CN1163500A (en) * 1996-04-05 1997-10-29 索尼公司 Battery charger, method for charging battery module and battery module
CN101359037A (en) * 2008-09-09 2009-02-04 中兴通讯股份有限公司 Method for implementing gradation for battery voltage of mobile terminal and the mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4396880A (en) * 1981-06-05 1983-08-02 Firing Circuits Inc. Method and apparatus for charging a battery
US5164652A (en) * 1989-04-21 1992-11-17 Motorola, Inc. Method and apparatus for determining battery type and modifying operating characteristics
CN1163500A (en) * 1996-04-05 1997-10-29 索尼公司 Battery charger, method for charging battery module and battery module
CN101359037A (en) * 2008-09-09 2009-02-04 中兴通讯股份有限公司 Method for implementing gradation for battery voltage of mobile terminal and the mobile terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李俄收: "电动汽车蓄电池充电对电力系统的影响及对策", 《华东电力》 *
胡燕燕: "基于单片机的智能充电器设计", 《电子元器件应用》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105553029A (en) * 2016-02-01 2016-05-04 深圳市金立通信设备有限公司 Charging method and terminal
CN112018849A (en) * 2020-08-31 2020-12-01 中车青岛四方车辆研究所有限公司 Battery charging control method for motor train unit charger
CN112018849B (en) * 2020-08-31 2022-04-12 中车青岛四方车辆研究所有限公司 Battery charging control method for motor train unit charger

Also Published As

Publication number Publication date
CN103051023B (en) 2015-09-02

Similar Documents

Publication Publication Date Title
CN101232196B (en) Control circuit of charging mode in USB charging stand and method thereof
CN101783427B (en) Intelligent charging method and intelligent charging device of terminal
CN101674366B (en) Mobile terminal USB, or charger inserting identification method and identification device thereof
CN104103868B (en) Charging method and system for charger of mobile terminal
CN102938572B (en) Method and system capable of automatically recognizing non-standard charger and setting charging current of non-standard charger
CN104617615B (en) Charging method and electronic equipment
CN106356918A (en) Quick charge recognition method and terminal equipment
CN106329627A (en) Charging method and device
CN105048555A (en) Method and system for identifying charging of universal serial bus (USB) charger
CN106230070A (en) A kind of charging method and device
CN105048018B (en) The charging method and device of a kind of terminal with data exchanging function
CN106329630A (en) Charging method and device
CN102914744A (en) Mobile terminal, battery power display system of mobile terminal, and method for acquiring battery power
CN103616551B (en) The terminal and cell voltage acquisition methods of cell voltage can be accurately obtained when charging
CN107422825A (en) A kind of CDP mouths charge control method, device, storage medium and electronic equipment
CN105891736A (en) QC2.0 fast charge detection circuit and detection method
CN103051023B (en) A kind of method and device managing battery charger
CN107681730A (en) A kind of battery, terminal device, charging system, the recognition methods of battery and device
CN106300549A (en) Electronic installation and charging method thereof
CN105429217B (en) A kind of method for identifying the system of charger and its identifying charger
CN106972558B (en) Charging control method and electronic equipment
CN106329625A (en) Charging method and device
CN102360065B (en) Battery detection method and device
CN110417072B (en) Method for accurately displaying electric quantity by adopting multiple saturation judging conditions and battery management unit
CN106066438B (en) A kind of method and system of the mobile terminal based on OTG detection device charged state

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
PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20180428

Granted publication date: 20150902

PD01 Discharge of preservation of patent
PD01 Discharge of preservation of patent

Date of cancellation: 20210428

Granted publication date: 20150902

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150902

Termination date: 20201218