CN103051023B - A kind of method and device managing battery charger - Google Patents

A kind of method and device managing battery charger Download PDF

Info

Publication number
CN103051023B
CN103051023B CN201210551668.6A CN201210551668A CN103051023B CN 103051023 B CN103051023 B CN 103051023B CN 201210551668 A CN201210551668 A CN 201210551668A CN 103051023 B CN103051023 B CN 103051023B
Authority
CN
China
Prior art keywords
battery
voltage
management program
charging
maximum
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201210551668.6A
Other languages
Chinese (zh)
Other versions
CN103051023A (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

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Secondary Cells (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of method managing battery charger, comprising: according to the identification code of the battery of insertion 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 the charging of described battery according to the maximum charging voltage information matches corresponding battery charging management program of described battery, guarantee that maximum charging voltage that described battery charging management program exports 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.The invention also discloses a kind of terminal.Adopt the present invention, have and can increase the type that terminal is suitable for battery, strengthen the advantages such as the fail safe of end cell charging and use.

Description

A kind of method and device managing battery charger
Technical field
The present invention relates to the communications field, particularly relate 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 part mobile phone to bring into use the high-tension battery of 4.35V.But, there is certain difference in the charging circuit of the battery of 4.2V and the battery of 4.35V, when constant voltage charge, the battery charger of 4.2V can export the burning voltage of ceiling voltage between 4.25V to 4.3V and charge the battery, during constant voltage charge, the battery charger of 4.35V can export the burning voltage of ceiling voltage between 4.4V is to 4.45 and charge the battery.
In prior art, the design of cell phone charging circuit comprises: 1, adopt normal voltage charging circuit.If mobile phone uses ceiling voltage to be the battery of 4.2V, when the design of cell phone charging circuit is then constant voltage charge, the maximum output voltage of charging circuit is about 4.2V; If mobile phone uses ceiling voltage to be the battery of 4.35V, when the design of cell phone charging circuit is then constant voltage charge, the maximum output voltage of charging circuit is about 4.35V.2, the charging circuit with battery of mobile phone ID (identity, identification code) identification module is adopted.The charging circuit of mobile phone adds battery ID identification module, if the battery that identification module recognizes is genuine standard configuration battery, the charging circuit of mobile phone then can normally work, charge normal to battery, if the battery recognized is not genuine standard configuration battery, the charging circuit of mobile phone does not then work, and cannot charge the battery.
The mobile phone of normal voltage charging circuit is adopted in prior art, when the battery that ceiling voltage is 4.2V put into maximum output voltage be charge in the charging circuit of 4.35V time, battery can shorten, even may blast, damage mobile phone, even endanger user security, there is great potential safety hazard.Circuit with battery of mobile phone ID identification module charges to genuine standard configuration battery, and cannot 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 and a kind ofly manage the method for battery charger and a kind of terminal.Corresponding battery charging management program can be called according to the type of battery to charge the battery, a terminal can be charged to polytype battery, add the type that terminal is suitable for battery, the fail safe that the scope of application expanding terminating circuit also enhances battery charging and uses.
The embodiment provides a kind of method managing battery charger, comprising:
Obtain the full-load voltage of described battery according to the identification code of the battery inserting 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 the charging of described battery according to the maximum charging voltage information matches corresponding battery charging management program of described battery, guarantee that maximum charging voltage that described battery charging management program exports 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;
Wherein, the battery charging management program of described terminal storage at least two grades, and the maximum output voltage of the described battery charging management program of each grade is different.
The embodiment provides a kind of terminal, described terminal, for managing battery charger, comprising:
Acquisition module, for the identification code of the battery according to insertion 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, during for acquiring the maximum charging voltage information of described battery at acquisition module, give the charging of described battery according to the maximum charging voltage information matches corresponding battery charging management program of described battery, guarantee that maximum charging voltage that described battery charging management program exports is not higher than the maximum charging voltage of described battery;
Calling module, for when acquisition module obtains the maximum charging voltage information less than described battery, calls the battery charging management program of the lowest class to described battery charging;
Wherein, the battery charging management program of described terminal storage at least two grades, and the maximum output voltage of the described battery charging management program of each grade is different.
The embodiment of the present invention obtains the information of the battery inserted in terminal by detecting, the type of battery is judged according to the battery information obtained, call corresponding battery charging management program according to the type of battery again to charge to battery, 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 present invention describes makes 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, add the type that terminal is suitable for battery, expand the scope of application of terminating circuit, the fail safe also enhancing battery charging and use.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the first embodiment schematic flow sheet that the present invention manages the method for 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 present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In the method for a kind of compatible two kinds of battery chargers that the present embodiment provides and a kind of terminal, the terminal of indication, comprising: mobile phone, panel computer, digital camera, notebook computer, PDA, MP3 etc. are applicable to the terminal of the method described in the present embodiment.Below for mobile phone, with reference to accompanying drawing, embodiments of the invention are described.See Fig. 1, for the present invention manages the first embodiment schematic flow sheet of the method for battery charger.The method of the management battery charger described in the present embodiment, comprises step:
S101, according to the identification code of the battery of insertion 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.
Explanation is specifically described below for this terminal of mobile phone.The battery of indication in the present embodiment, comprises two class batteries: genuine standard configuration battery and non-original factory standard configuration battery.
Genuine standard configuration battery can comprise multiple different battery, and these batteries have different full-load voltages.It is the battery of 4.35V that the genuine standard configuration battery of such as mobile phone has full-load voltage to be the battery of 4.2V and full-load voltage.This type of battery, battery of mobile phone design, produce time, a fixing ID identification module can be mixed by the original production producer of battery in the inside of battery, this ID identification module internal battery ID, is referred to as the standard configuration battery identification code of mobile phone.In specific implementation, the ID identification module that this type of genuine standard configuration inside battery is equipped with may be some resistance, comprise the identification module that the resistance such as conventional, electric-resistance or temperature resistance is made, or the identification module of other some transducers composition, or some encryptions IC (Integrated Circuit, integrated circuit) identification module made of chip, or the identification module that other method is made.Mobile phone, by the ID pin of battery, adopts corresponding recognition methods, such as, the judgement read method of resistance, or the read method of sensing data, or the method such as the read method of IC chip data obtains the id information data of this battery, detects, identifies the type of this battery.Wherein, the battery ID information comprised 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 ceiling voltage, battery capacity of battery charging.Mobile phone can by detecting the ID of this type of battery of mobile phone, according to the ID data detected, comprise: the model of above-mentioned battery, the battery ID information datas such as the full-load voltage of battery and the capacity of battery, judge the type of this battery, such as, detected by mobile phone and judge this battery to be full-load voltage be the battery of 4.2V or full-load voltage is the battery of 4.35V.Mobile phone then can calculate the maximum charging voltage of this battery after the full-load voltage of the battery inserting mobile phone being detected according to the full-load voltage of battery, then can according to this voltage to battery coupling Charge Management program after obtaining 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, also be the maximum charging voltage that battery can bear, if with exceeding the charging voltage of this voltage range to the charging of this battery, then may affect battery life, or easily cause 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 is less than 0.15V.Such as, when the full-load voltage of battery is 4.2V, namely when voltage when battery is full of electricity is 4.2V, the maximum charging voltage of battery is then a magnitude of voltage between 4.2V to 4.35V, wherein, optimal value can be 4.25V to 4.3V, is namely charged as a rational chargeable range to this battery with the voltage within the scope of this, the life-span of battery can be ensured, the unexpected generations 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 is then a magnitude of voltage between 4.35V to 4.5V, and wherein, optimal value can be 4.4V to 4.45V, is namely charged as a rational chargeable range to this battery with the voltage within the scope of this.
Non-original factory standard configuration battery cellphone subscriber imitates battery by the height of this mobile phone model of third part purchase, or the genuine standard configuration battery of non-the mobile phone such as the battery of other mobile phone models.May have battery ID identification module inside this kind of battery, but this ID is the ID that to be self model of this battery corresponding, but not the genuine standard configuration battery ID of this mobile phone, or there is no battery ID identification module inside this kind of battery.Because this type of battery does not have ID identification module, or the ID of this type of battery is not the genuine standard configuration battery ID of this mobile phone, so this mobile phone None-identified goes out such battery types.This kind of non-original factory standard configuration battery also may comprise battery two kinds of batteries that battery that ceiling voltage is A and ceiling voltage are B, and the height of such as this mobile phone imitates 4.2V battery and 4.35V battery.Because mobile phone is by the type of ID detection None-identified battery, so the full-load voltage of such non-original factory standard configuration battery cannot be judged by detecting battery ID, the maximum charging voltage information of this battery also just cannot be calculated.
S102, if acquire the maximum charging voltage information of described battery, then give the charging of described battery according to the maximum charging voltage information matches corresponding battery charging management program of described battery, guarantee that maximum charging voltage that described battery charging management program exports is not higher than the maximum charging voltage of described battery.
In S101, mobile phone, according to the battery identification code data detected, acquires the full-load voltage of the battery inserted in mobile phone, then calculates the maximum charging voltage of battery according to the full-load voltage of the battery acquired.Mobile phone then can give the charging of this battery according to the corresponding battery charging management program of the maximum charging voltage information matches of battery after calculating the maximum charging voltage of battery.
In specific implementation, mobile phone can according to the type design of battery of mobile phone, store the battery charging management program of N number of grade, wherein, the battery charging management program of N number of 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 that maximum output voltage is worth maximum battery charging management program can be set to the first battery charging management program, maximum output voltage value be less than first battery charging management program export maximum charging voltage be greater than other battery management programs export maximum charging voltage be set to the second battery charging management program, the grade that maximum output voltage is worth minimum battery charging management program is the lowest class battery charging management program, by that analogy, set the grade of each battery charging management program.
Mobile phone then can the ceiling voltage that exports of the maximum charging voltage of control cell and the first battery charging management program after obtaining the maximum charging voltage of the battery inserting mobile phone, judges the maximum charging voltage whether maximum charging voltage of this battery is not less than the first battery charging management program and exports.If the maximum charging voltage of this battery is not less than the maximum charging voltage that the first battery charging management program exports, first battery charging management program of then calling, to the charging of this battery, guarantees that maximum charging voltage that described battery charging management program exports is not higher than the maximum charging voltage of described battery.If the ceiling voltage that the maximum charging voltage of this battery exports lower than the first Charge Management program, 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 that the second battery charging management program exports, second battery charging management program of then calling, to the charging of this battery, guarantees that maximum charging voltage that described battery charging management program exports is not higher than the maximum charging voltage of described battery.If the ceiling voltage that the maximum charging voltage of this battery exports lower than the second Charge Management program, then continue the maximum charging voltage that the contrast maximum charging voltage of this battery exports with the battery charging management program of other grades, the battery charging management programs such as the most high charge management voltage that the maximum charging voltage that such as the 3rd battery charging management program exports, the 4th battery charging management program export, until match corresponding battery charging management program, and call corresponding battery charging management program to the charging of this battery.
Be two for the battery charging management program of embedded in mobile phone below, illustrate the above-mentioned matching process charged the battery according to the corresponding battery charging management program of the maximum charging voltage information matches of battery.Such as, getting that to insert the battery of mobile phone be full-load voltage when mobile phone is 4.2V, and the magnitude of voltage that can arrange the upper bias-voltage of battery is 0.1V, then the maximum charging voltage that can calculate this battery is 4.3V.If the maximum charging voltage that the first battery charging management program exports is 4.45V, the maximum charging voltage that second battery charging management program exports is 4.25V, according to the maximum charging voltage 4.3V of this battery lower than 4.4V, higher than 4.25V, the maximum charging voltage that the maximum charging voltage that can judge to obtain this battery exports higher than the second battery charging management program, namely the maximum charging voltage of this battery is not less than the maximum charging voltage that the second battery charging management program exports, then the second battery charging management program of calling is to the charging of this battery.During constant voltage charge, the second battery charging management program can export the stable voltage of between 4.2V to 4.25V one to the charging of this battery, guarantees that maximum charging voltage that the second battery charging management program exports is not higher than the maximum charging voltage of this battery.If the full-load voltage that mobile phone gets the battery inserting mobile phone is 4.35V, the maximum charging voltage that then can calculate this battery is 4.45V, can mate the maximum charging voltage 4.45V of this battery equals the ceiling voltage that the first battery charging management program exports according to the maximum charging voltage of this battery, namely the maximum charging voltage of this battery is not less than the ceiling voltage that the first battery charging management program exports, then the first battery charging management program of calling is to the charging of this battery.During constant voltage charge, the first battery charging management program can export the stable voltage of between 4.4V to 4.45V one to the charging of this battery, guarantees that maximum charging voltage that the first battery charging management program exports is not higher than the maximum charging voltage of this battery.
S103, if the full-load voltage obtaining 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 cellphone subscriber inserts mobile phone be cellphone subscriber imitate the battery of battery or other mobile phone models by the height of this mobile phone of third part purchase time, mobile phone detects this type of non-original factory standard configuration battery of None-identified by battery ID, and due to this type of battery of mobile phone None-identified, therefore the battery types of also this type of battery of None-identified, the full-load voltage of this battery cannot be learnt, also cannot obtain the maximum charging voltage of this battery.In specific implementation, cellphone subscriber may because professional knowledge be inadequate or careless, battery is inserted the maximum charging voltage exported to be greater than in charging circuit corresponding to the battery charging management program of the maximum charging voltage of this battery and to charge, such as, be that to be inserted into maximum output voltage be charge in charging circuit corresponding to the battery charging management program of 4.35V for the battery of 4.2V by full-load voltage.Because the output voltage of circuit is higher than the maximum charging voltage of battery, if charged the battery with such circuit to shorten the life-span of battery, even can cause battery explosion, destroy mobile phone, the safety of harm cellphone subscriber.In order to ensure the life-span of battery, avoid unexpected generation, ensure the safety of cellphone subscriber, when mobile phone detects, obtains less than when inserting the full-load voltage information of battery of mobile phone, the maximum charging voltage that the battery charging management program that the maximum charging voltage then giving tacit consent to this type of battery is not less than the lowest class exports, the battery charging management program of the lowest class that mobile phone Automatically invoked is corresponding gives the charging of 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.Such as, if the maximum charging voltage that the battery charging management program of the lowest class exports is 4.2V, then when mobile phone obtains the full-load voltage less than the battery inserting mobile phone, the full-load voltage that this battery then given tacit consent to by mobile phone is 4.2V, and the battery charging management program calling the lowest class is charged to this battery.
The present embodiment mobile phone detects the ID of battery by the ID pin inserting the battery of mobile phone, identifies the type of battery according to the battery ID data detected, then calls corresponding battery charging management program according to the type of battery and charge the battery.When constant voltage charge, battery charging management program can export corresponding charging voltage automatically to the charging of corresponding battery.The method that the embodiment of the present invention describes both can be charged by polytype battery, can also avoid charging the battery with excessive voltage simultaneously, avoid the unexpected generations such as mobile phone blast, add the type being suitable for battery of mobile phone, strengthen the fail safe that battery of mobile phone uses and charges.
See Fig. 2, it is the structural representation of the first embodiment of terminal of the present invention.Terminal described in the present embodiment, comprising:
Acquisition module 10, for the identification code of the battery according to insertion 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.
Explanation is specifically described below for this terminal of mobile phone.The battery of indication in the present embodiment, comprises two class batteries: genuine standard configuration battery and non-original factory standard configuration battery.
Genuine standard configuration battery can comprise multiple different battery, and these batteries have different full-load voltages.It is the battery of 4.35V that the genuine standard configuration battery of such as mobile phone has full-load voltage to be the battery of 4.2V and full-load voltage.This type of battery, battery of mobile phone design, produce time, a fixing ID identification module can be mixed by the original production producer of battery in the inside of battery, this ID identification module internal battery ID, is referred to as the standard configuration battery identification code of mobile phone.In specific implementation, the ID identification module that this type of genuine standard configuration inside battery is equipped with may be some resistance, comprise the identification module that the resistance such as conventional, electric-resistance or temperature resistance is made, or the identification module of other some transducers composition, or the identification module that some encryptions IC chip is made, or the identification module that other method is made.The identification module 10 of mobile phone can by the ID pin of battery, adopt corresponding recognition methods, such as, the judgement read method of resistance, or the read method of sensing data, or the methods such as the read method of IC chip data obtain the id information data of this battery, detect, identify the type of this battery.Wherein, the battery ID information comprised 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 ceiling voltage, battery capacity of battery charging.The acquisition module 10 of mobile phone can by detecting the ID of this type of battery of mobile phone, according to the ID data detected, comprise: the model of above-mentioned battery, the battery ID information datas such as the full-load voltage of battery and the capacity of battery, judge the type of this battery, such as, mobile phone judges this battery to be full-load voltage is the battery of 4.2V by acquisition module 10 or full-load voltage is the battery of 4.35V.After acquisition module 10 detects the full-load voltage of the battery inserting mobile phone, the maximum charging voltage of this battery then can be calculated according to the full-load voltage of battery, then can according to this voltage to battery coupling Charge Management program after obtaining 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, also be the maximum charging voltage that battery can bear, if with exceeding the charging voltage of this voltage range to the charging of this battery, then may affect battery life, or easily cause 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 is less than 0.15V.Such as, when the full-load voltage of battery is 4.2V, namely when voltage when battery is full of electricity is 4.2V, the maximum charging voltage of battery is then a magnitude of voltage between 4.2V to 4.35V, wherein, optimal value can be 4.25V to 4.3V, be then charged as a rational chargeable range to this battery with the voltage within the scope of this, the life-span of battery can be ensured, the unexpected generations 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 is then a magnitude of voltage between 4.35V to 4.5V, and wherein, optimal value can be 4.4V to 4.45V, is namely charged as a rational chargeable range to this battery with the voltage within the scope of this.
The height of this mobile phone model that non-original factory standard configuration battery cellphone subscriber is bought in addition by third party imitates battery, or the genuine standard configuration battery of non-the mobile phone such as the battery of other mobile phone models.May have battery ID identification module inside this kind of battery, but this ID is the ID that to be self model of this battery corresponding, but not the genuine standard configuration battery ID of this mobile phone, or there is no battery ID identification module inside this kind of battery.Because this type of battery does not have ID identification module, or the ID of this type of battery is not the genuine standard configuration battery ID of this mobile phone, so identification module 10 None-identified of this mobile phone goes out such battery types.Wherein, this kind of non-original factory standard configuration battery also may comprise battery two kinds of batteries that battery that ceiling voltage is A and ceiling voltage are B, and the height of such as this mobile phone imitates 4.2V battery and 4.35V battery.Because mobile phone is by the type of ID detection None-identified battery, so the full-load voltage of such non-original factory standard configuration battery cannot be judged by detecting battery ID, the maximum charging voltage information of this battery also just cannot be calculated.
Matching module 20, during for acquiring the maximum charging voltage information of described battery at acquisition module, give the charging of described battery according to the maximum charging voltage information matches corresponding battery charging management program of described battery, guarantee that maximum charging voltage that described battery charging management program exports is not higher than the maximum charging voltage of described battery.
Wherein, matching module 20, comprising:
Judging unit 21, 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.
First processing unit 22, for when judging unit judged result is for being, first battery charging management program of calling is to described battery charging, when judging unit judged result is no, judge whether the maximum charging voltage of described battery is not less than the maximum charging voltage of the second battery charging management program output further.
Second processing unit 23, for when the first processing unit judged result is for being, second battery charging management program of calling is to described battery charging, when the first processing unit judged result is no, judge whether the ceiling voltage of described battery is not less than the maximum charging voltage of N battery charging management program output according to said method, mate corresponding battery charging management program, call corresponding battery charging management program to described battery charging.
The acquisition module 10 of mobile phone, according to the battery identification code data detected, acquires the full-load voltage of the battery inserted in mobile phone, then calculates the maximum charging voltage of battery according to the full-load voltage of the battery acquired.Mobile phone then can give the charging of this battery according to the corresponding battery charging management program of the maximum charging voltage information matches of battery after calculating the maximum charging voltage of battery.
In specific implementation, mobile phone can according to the type design of battery of mobile phone, store the battery charging management program of N number of grade, wherein, the battery charging management program of N number of 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 that maximum output voltage is worth maximum battery charging management program can be set to the first battery charging management program, maximum output voltage value be less than first battery charging management program export maximum charging voltage be greater than other battery management programs export maximum charging voltage be set to the second battery charging management program, the grade that maximum output voltage is worth minimum battery charging management program is the lowest class battery charging management program, by that analogy, set the grade of each battery charging management program.
The acquisition module 10 of mobile phone obtain the maximum charging voltage of the battery inserting mobile phone after judging unit 21 can the ceiling voltage that exports of the maximum charging voltage of control cell and the first battery charging management program, judge the maximum charging voltage whether maximum charging voltage of this battery is not less than the first battery charging management program and exports.If judging unit 21 judges the maximum charging voltage that the maximum charging voltage obtaining this battery is not less than the first battery charging management program and exports, first processing unit 22 calls the first battery charging management program to the charging of this battery, guarantees that maximum charging voltage that described battery charging management program exports is not higher than the maximum charging voltage of described battery.If the ceiling voltage that the maximum charging voltage of this battery exports lower than the first Charge Management program, 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 the maximum charging voltage that the maximum charging voltage obtaining this battery is not less than the second battery charging management program and exports, second processing unit 23 calls the second battery charging management program to the charging of this battery, guarantees that maximum charging voltage that described battery charging management program exports is not higher than the maximum charging voltage of described battery.If the ceiling voltage that the maximum charging voltage of this battery exports lower than the second Charge Management program, then continue the maximum charging voltage that the contrast maximum charging voltage of this battery exports with the battery charging management program of other grades, the battery charging management programs such as the most high charge management voltage that the maximum charging voltage that such as the 3rd battery charging management program exports, the 4th battery charging management program export, until match corresponding battery charging management program, and call corresponding battery charging management program to the charging of this battery.
Be two for the battery charging management program of embedded in mobile phone below, illustrate the above-mentioned matching process charged the battery according to the corresponding battery charging management program of the maximum charging voltage information matches of battery.Such as, getting that to insert the battery of mobile phone be full-load voltage when mobile phone is 4.2V, and the magnitude of voltage that can arrange the upper bias-voltage of battery is 0.1V, then the maximum charging voltage that can calculate this battery is 4.3V.If the maximum charging voltage that the first battery charging management program exports is 4.45V, the maximum charging voltage that second battery charging management program exports is 4.25V, according to the maximum charging voltage 4.3V of this battery lower than 4.4V, higher than 4.25V, the maximum charging voltage that the maximum charging voltage that can judge to obtain this battery exports higher than the second battery charging management program, namely the maximum charging voltage of this battery is not less than the maximum charging voltage that the second battery charging management program exports, then the second battery charging management program of calling is to the charging of this battery.During constant voltage charge, the second battery charging management program can export the stable voltage of between 4.2V to 4.25V one to the charging of this battery, guarantees that maximum charging voltage that the second battery charging management program exports is not higher than the maximum charging voltage of this battery.If the full-load voltage that mobile phone gets the battery inserting mobile phone is 4.35V, the maximum charging voltage that then can calculate this battery is 4.45V, can mate the maximum charging voltage 4.45V of this battery equals the ceiling voltage that the first battery charging management program exports according to the maximum charging voltage of this battery, namely the maximum charging voltage of this battery is not less than the ceiling voltage that the first battery charging management program exports, then the first battery charging management program of calling is to the charging of this battery.During constant voltage charge, the first battery charging management program can export the stable voltage of between 4.4V to 4.45V one to the charging of this battery, guarantees that maximum charging voltage that the first battery charging management program exports is not higher than the maximum charging voltage of this battery.
Calling module 30, for when acquisition module obtains the full-load voltage information less than described battery, calls the battery charging management program of the lowest class to described battery charging.
The battery of calling module 30 primary responsibility management to insertion mobile phone is the charging work that mobile phone cannot obtain the battery of the full-load voltage of this battery.When the battery that cellphone subscriber inserts mobile phone be cellphone subscriber imitate the battery of battery or other mobile phone models by the height of this mobile phone of third part purchase time, such battery of acquisition module 10 None-identified of mobile phone, and due to this type of battery of acquisition module 10 None-identified of mobile phone, therefore the type of also this type of battery of None-identified, the full-load voltage of this battery cannot be learnt.In specific implementation, cellphone subscriber may because professional knowledge be inadequate or careless, battery is inserted the maximum charging voltage exported to be greater than in charging circuit corresponding to the battery charging management program of the maximum charging voltage of this battery and to charge, such as, be that to be inserted into maximum output voltage be charge in charging circuit corresponding to the battery charging management program of 4.35V for the battery of 4.2V by full-load voltage.Because the output voltage of circuit is higher than the maximum charging voltage of battery, if charged the battery with such circuit to shorten the life-span of battery, even can cause battery explosion, destroy mobile phone, the safety of harm cellphone subscriber.In order to ensure the life-span of battery, avoid unexpected generation, ensure the safety of cellphone subscriber, when the acquisition module 10 of mobile phone detects, obtains less than when inserting the full-load voltage information of battery of mobile phone, the maximum charging voltage being not less than the battery charging management program output of the lowest class for maximum charging voltage of this type of battery of calling module 30 acquiescence, 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.Such as, if the maximum charging voltage that the battery charging management program of the lowest class exports is 4.2V, then when acquisition module 10 obtains the full-load voltage less than the battery inserting mobile phone, the full-load voltage of this battery of calling module 30 acquiescence is 4.2V, and the battery charging management program calling the lowest class is charged to this battery.
In the present embodiment, mobile phone detects the ID of battery by the ID pin inserting the battery of mobile phone, identifies the type of battery, charge the battery in the battery charging management program corresponding according to the type Automatically invoked of battery according to the battery ID data detected.When constant voltage charge, battery charging management program can export corresponding charging voltage automatically to the charging of corresponding battery.The mobile phone that the embodiment of the present invention describes both can give the charging of polytype battery, can also avoid charging the battery with excessive voltage simultaneously, avoid the unexpected generations such as mobile phone blast, add the type being suitable for battery of mobile phone, strengthen the fail safe that battery of mobile phone uses and charges.
The embodiment of the present invention obtains the information of the battery inserted in terminal by detecting, the type of battery is judged according to the battery information obtained, call corresponding battery charging management program according to the type of battery again to charge to battery, 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 present invention describes makes 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, add the type that terminal is suitable for battery, expand the scope of application of terminating circuit, the fail safe also enhancing battery charging and use.
Device embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.Those of ordinary skill in the art, when not paying performing creative labour, are namely appreciated that and implement.
The module of the embodiment of the present invention or unit, with universal integrated circuit (as central processor CPU), or can 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 the mode that each execution mode can add required general hardware platform by software and realize, and can certainly pass through hardware.Based on such understanding, technique scheme can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product can store in a computer-readable storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment or embodiment.
Above-described execution mode, does not form the restriction to this technical scheme protection range.The amendment done within any spirit at above-mentioned execution mode and principle, equivalently to replace and improvement etc., within the protection range that all should be included in this technical scheme.

Claims (8)

1. manage a method for battery charger, it is characterized in that, comprising:
According to the identification code of the battery of insertion 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 the charging of described battery according to the maximum charging voltage information matches corresponding battery charging management program of described battery, guarantee that maximum charging voltage that described battery charging management program exports 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;
Wherein, the battery charging management program of described terminal storage at least two grades, and the maximum output voltage of the described battery charging management program of each grade is different;
The described maximum charging voltage information matches corresponding battery charging management program according to described battery gives 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 that the first battery charging management program exports, first battery charging management program of then calling is to described battery charging, if the maximum charging voltage that the maximum charging voltage of described battery exports lower than the first battery charging management program, then judge 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 that the second battery charging management program exports, second battery charging management program of then calling is to described battery charging, if the maximum charging voltage that the maximum charging voltage of described battery exports lower than the second battery charging management program, then judge whether the ceiling voltage of described battery is not less than the maximum charging voltage of N battery charging management program output according to said method, mate corresponding battery charging management program, call corresponding battery charging management program to described battery charging;
Wherein, the maximum charging voltage that described first battery charging management program exports is greater than the maximum charging voltage that described second battery charging management program exports, and the maximum charging voltage that described second battery charging management program exports is greater than the maximum charging voltage that described N battery charging management program exports.
2. the method for claim 1, is characterized in that, described N battery charging management program be greater than two any one battery charging management program.
3. method as claimed in claim 2, is characterized in that, the maximum charging voltage of described battery is that the full-load voltage of described battery adds bias-voltage.
4. the method as described in any one of claim 1-3, is characterized in that, described terminal, comprising: at least one in mobile phone, panel computer, digital camera, notebook computer, PDA, MP3.
5. a terminal, described terminal, for managing battery charger, is characterized in that, comprising:
Acquisition module, for the identification code of the battery according to insertion 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, during for acquiring the maximum charging voltage information of described battery at acquisition module, give the charging of described battery according to the maximum charging voltage information matches corresponding battery charging management program of described battery, guarantee that maximum charging voltage that described battery charging management program exports is not higher than the maximum charging voltage of described battery;
Calling module, for when acquisition module obtains the full-load voltage information less than described battery, calls the battery charging management program of the lowest class to described battery charging;
Wherein, the battery charging management program of described terminal storage at least two grades, and the maximum output voltage of the described battery charging management program of each grade is different;
Described matching module, comprising:
Judging unit, 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;
First processing unit, for when judging unit judged result is for being, first battery charging management program of calling is to described battery charging, when judging unit judged result is no, judge whether the maximum charging voltage of described battery is not less than the maximum charging voltage of the second battery charging management program output further;
Second processing unit, for when the first processing unit judged result is for being, second battery charging management program of calling is to described battery charging, when the first processing unit judged result is no, judge whether the ceiling voltage of described battery is not less than the maximum charging voltage of N battery charging management program output according to said method, mate corresponding battery charging management program, call corresponding battery charging management program to described battery charging;
Wherein, the maximum charging voltage that described first battery charging management program exports is greater than the maximum charging voltage that described second battery charging management program exports, and the maximum charging voltage that described second battery charging management program exports is greater than the maximum charging voltage that described N battery charging management program exports.
6. terminal as claimed in claim 5, is characterized in that, described N battery charging management program be greater than two any one battery charging management program.
7. terminal as claimed in claim 6, is characterized in that, the maximum charging voltage of described battery is that the full-load voltage of described battery adds bias-voltage.
8. the terminal as described in any one of claim 5-7, is characterized in that, described terminal, comprising: at least one in mobile phone, panel computer, digital camera, notebook computer, PDA, 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 CN103051023A (en) 2013-04-17
CN103051023B true 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)

Families Citing this family (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
CN112018849B (en) * 2020-08-31 2022-04-12 中车青岛四方车辆研究所有限公司 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
基于单片机的智能充电器设计;胡燕燕;《电子元器件应用》;20070531;第9卷(第5期);正文第52页至55页 *
电动汽车蓄电池充电对电力系统的影响及对策;李俄收;《华东电力》;20100131;第38卷(第1期);正文第109页至113页 *

Also Published As

Publication number Publication date
CN103051023A (en) 2013-04-17

Similar Documents

Publication Publication Date Title
CN101232196B (en) Control circuit of charging mode in USB charging stand and method thereof
CN102938572B (en) Method and system capable of automatically recognizing non-standard charger and setting charging current of non-standard charger
CN101783427B (en) Intelligent charging method and intelligent charging device of terminal
CN103633709B (en) A kind of charging recognition system and recognition methods thereof
CN104617615B (en) Charging method and electronic equipment
CN106356918A (en) Quick charge recognition method and terminal equipment
CN106230070B (en) Charging method and device
CN105048555A (en) Method and system for identifying charging of universal serial bus (USB) charger
CN106329627A (en) Charging method and device
CN106655344B (en) Charging method and device for mobile terminal
CN106329654A (en) Electronic device and charging method thereof
CN103616551B (en) The terminal and cell voltage acquisition methods of cell voltage can be accurately obtained when charging
CN102914744A (en) Mobile terminal, battery power display system of mobile terminal, and method for acquiring battery power
CN105048018B (en) The charging method and device of a kind of terminal with data exchanging function
CN106329630A (en) Charging method and device
CN103051023B (en) A kind of method and device managing battery charger
CN109802456B (en) Automatic battery identification method
CN107422825A (en) A kind of CDP mouths charge control method, device, storage medium and electronic equipment
CN106300549A (en) Electronic installation and charging method thereof
CN105429217B (en) A kind of method for identifying the system of charger and its identifying charger
CN103033763A (en) Method and system capable of controlling charging mobile thermal to show battery level
CN106329625B (en) charging method and device
CN101093942A (en) Battery charger and method therefor
CN110417072B (en) Method for accurately displaying electric quantity by adopting multiple saturation judging conditions and battery management unit
TWI558058B (en) Charging system and charging method thereof

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

Effective date of registration: 20180428

Granted publication date: 20150902

PP01 Preservation of patent right
PD01 Discharge of preservation of patent

Date of cancellation: 20210428

Granted publication date: 20150902

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

Granted publication date: 20150902

Termination date: 20201218

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