CN106505695B - A kind of charge control method, device and terminal - Google Patents

A kind of charge control method, device and terminal Download PDF

Info

Publication number
CN106505695B
CN106505695B CN201611263052.3A CN201611263052A CN106505695B CN 106505695 B CN106505695 B CN 106505695B CN 201611263052 A CN201611263052 A CN 201611263052A CN 106505695 B CN106505695 B CN 106505695B
Authority
CN
China
Prior art keywords
terminal
value
charge
end cell
charging current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611263052.3A
Other languages
Chinese (zh)
Other versions
CN106505695A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201611263052.3A priority Critical patent/CN106505695B/en
Publication of CN106505695A publication Critical patent/CN106505695A/en
Application granted granted Critical
Publication of CN106505695B publication Critical patent/CN106505695B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • H02J7/0077

Landscapes

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

Abstract

The present invention provides a kind of charge control method, comprising: when detecting that terminal is charged, obtains the electrical parameter in preset time period;The actual capacity of end cell is calculated based on the electrical parameter;According to the actual capacity, corresponding charging current value is matched;According to the charging current value, the current charging current of terminal is adjusted.The present invention passes through in terminal charge, obtain the actual capacity that the electrical parameter in preset time period calculates end cell, suitable charging current value is matched according to the actual capacity to charge to end cell, the aging speed of end cell can be reduced, and promotes the safety in utilization of end cell.The invention further relates to a kind of battery charge controller and terminals.

Description

A kind of charge control method, device and terminal
Technical field
The present invention relates to terminal charge technical field more particularly to a kind of charge control methods, device and terminal.
Background technique
Currently, the function of terminal is more and more, and the power consumption of terminal is also increasing with the universal and development of terminal, In order to enable terminal can satisfy normal use, it is getting faster for what the speed of charging was also accordingly promoted.
And the existing mode main lift charging current for promoting charging rate, so that the electricity of end cell is quick It is promoted, and end cell is under with certain degree of aging or the excessively low scene of temperature, the internal resistance of battery can become very big, such as If fruit is still charged using high current at this time, it will the aging of accelerating terminal battery even results in battery explosion.
Summary of the invention
The embodiment of the present invention provides a kind of charge control method, device and terminal, can reduce the aging speed of end cell Degree, and promote the safety in utilization of end cell.
The embodiment of the present invention the following technical schemes are provided:
A kind of charge control method, comprising:
When detecting that terminal is charged, the electrical parameter in preset time period is obtained;
The actual capacity of end cell is calculated based on the electrical parameter;
According to the actual capacity, corresponding charging current value is matched;
According to the charging current value, the current charging current of terminal is adjusted.
The embodiment of the present invention also the following technical schemes are provided:
A kind of battery charge controller, comprising:
Module is obtained, for obtaining the electrical parameter in preset time period when detecting that terminal is charged;
Computing module, for calculating the actual capacity of end cell based on the electrical parameter;
Matching module, for matching corresponding charging current value according to the actual capacity;
Module is adjusted, for being adjusted to the current charging current of terminal according to the charging current value.
The embodiment of the present invention also the following technical schemes are provided:
A kind of terminal, comprising:
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, executes provided in an embodiment of the present invention A kind of charge control method.
A kind of charge control method, device and terminal provided in this embodiment, when being preset by obtaining in terminal charge Between electrical parameter in section calculate the actual capacity of end cell, suitable charging current value is matched according to the actual capacity It charges to end cell, the aging speed of end cell can be reduced, and promote the safety in utilization of end cell.
Detailed description of the invention
With reference to the accompanying drawing, by the way that detailed description of specific embodiments of the present invention, technical solution of the present invention will be made And other beneficial effects are apparent.
Fig. 1 is the flow diagram of charge control method provided in an embodiment of the present invention.
Fig. 2 is another flow diagram of charge control method provided in an embodiment of the present invention.
Fig. 3 is that terminal charge provided in an embodiment of the present invention prompts schematic diagram.
Fig. 4 is the schematic diagram that charges at terminal night provided in an embodiment of the present invention.
Fig. 5 is the module diagram of battery charge controller provided in an embodiment of the present invention.
Fig. 6 is another module diagram of battery charge controller provided in an embodiment of the present invention.
Fig. 7 is terminal structure schematic diagram provided in an embodiment of the present invention.
Specific embodiment
Schema is please referred to, wherein identical component symbol represents identical component, the principle of the present invention is to implement one It is illustrated in computing environment appropriate.The following description be based on illustrated by the specific embodiment of the invention, should not be by It is considered as the limitation present invention other specific embodiments not detailed herein.
Term as used herein " module " can regard the software object to execute in the arithmetic system as.It is somebody's turn to do herein not Same component, module, engine and service can be regarded as the objective for implementation in the arithmetic system.And the device and method being somebody's turn to do herein is excellent Being implemented in the form of software for choosing, can also be implemented, within that scope of the present invention on hardware certainly.
Concrete analysis explanation is carried out below.
In the present embodiment, it will be described from the angle of battery charge controller, which can specifically collect At in terminal, such as mobile phone, tablet computer, palm PC (PDA, Personal Digital Assistant) etc..
Referring to Fig. 1, Fig. 1 is the flow diagram of charge control method provided in an embodiment of the present invention.Specifically, should Method includes:
In step s101, when detecting that terminal is charged, the electrical parameter in preset time period is obtained.
It should be noted that user by universal serial bus (Universal serial Bus, USB) by terminal with When charging end connects, as detect that terminal is in charging.
Wherein, which may include that the changing value of residual power percentage and terminal are electric within a preset period of time The charge value that pond obtains.The value of the residual power percentage is terminal power show value, generally hundred-mark system, and 100 be full electric shape State, 0 are no state of charge.The value of the residual power percentage generally passes through the voltage value for obtaining end cell, each voltage value The value of corresponding residual power percentage, then extrapolates the value of corresponding residual power percentage according to voltage value, when will be default Between section end point residual power percentage value subtract preset time period start time point residual power percentage value, obtain Out in preset time period residual power percentage changing value.The charge value that the end cell obtains can be obtained by charging chip It takes, for the charge value for flowing through end cell, unit is milliampere hour (mAh).
In step s 102, the actual capacity of end cell is calculated based on the electrical parameter.
It should be noted that the end cell can refer to lithium battery or other similar battery.Anode (cathode) is by non- The lithium compound of metalline is constituted, and is connected with the cathode (anode) consisting of carbon.When charging, lithium ion (or charge atom) It is forced to move to anode from cathode under external voltage effect, is then stored in anode.When electric discharge, these storage lithiums from Son flows back into cathode again and forms electric current, provides energy for terminal.And as the cathode of end cell is in thousands of changes Learn process gradually rotten in variation.The lithium compound for constituting cathode constantly absorbs and releases lithium ion in chemical reaction, Change also occurs for the structure of itself simultaneously, causes the exchange of ion to become difficult, at this moment the actual capacity of end cell is also got over Come lower.
Wherein, which includes actual capacity and rated capacity (i.e. factory capacitance), which is eventually When the voltage of end cell reaches highest blanking voltage under the battery current environment of end, i.e. capacitance of mobile phone when fully charged should Actual capacity can be reduced with the aging of battery and the variation of environment temperature.And the predetermined capacitance is end cell factory When, that is, optimum state under it is fully charged when capacitance.The rated capacity value of every piece of end cell is all determining when leaving the factory. For example, when one piece of intact end cell is charged to a hundred percent from 0 percent under normal circumstances, what end cell obtained Charge value is actual capacity, and actual capacity is equal to rated capacity at this time;When the end cell of one piece of aging is from percent Zero when being charged to a hundred percent, and charge value, that is, actual capacity that end cell obtains can be less than rated capacity.
In certain possible embodiment, it is assumed that the electricity percentage of preset time period starting point is D1, preset time The electricity percentage of section end point is D0, and the charge value that end cell obtains in the preset time period is CC, and actual capacity is FCC, then the electricity percentage D0=D1+CC/FCC of preset time period end point, carries out being derived from reality according to the formula Capacity FCC=CC/ (D0-D1), i.e., the charge value that end cell obtains in preset time period is divided by electricity remaining in preset time period The ratio for measuring the changing value of percentage is actual capacity.
Based on this, the existing mode main lift charging current for promoting charging rate, so that the electricity of end cell Quickly promoted, and in the case where end cell has certain aging or too low environment temperature, the internal resistance meeting of end cell Becoming very big, can become very big along with the internal resistance of end cell, the actual capacity of terminal can become very little, and in end cell Actual capacity when becoming very little, still charged using high current, end cell can fast heating, accelerating terminal battery it is old Change, even results in battery explosion, bring great loss to user.
In step s 103, according to the actual capacity, corresponding charging current value is matched.
In certain possible embodiment, the ratio of the actual capacity and rated capacity (factory capacitance) can be calculated Value, obtains capacitance percentage.The capacitance percentage is higher, then reflects that the performance of end cell is better, the capacitance percentage Than lower, then reflect that the temperature for the environment that the performance of end cell is poorer, or currently charges is lower.It at this time can be by default Charging current table corresponds to different charging currents according to capacitance percentage, it is contemplated that capacitance percentage is higher i.e. The performance of battery is better, indicates that the ability for the charging current value that end cell can receive is stronger, corresponding charging current value It is higher.The charging ambient temperature that the degree of aging of the lower i.e. battery of capacitance percentage is stronger or current is lower, indicates terminal The ability for the charging current value that battery can receive is weaker, and corresponding charging current value is also lower.Based on the charging current table Matching relationship, matches the current corresponding charging current value of capacitance percentage, which is to be suitble to present terminal The charging current value of cell safety charging.
Illustrate current end cell when obtaining the capacitance percentage lower than certain secure threshold based on this Degree of aging already exceed secure threshold or current environment temperature lower than safe temperature, then directly disconnect and terminal filled Electricity, to guarantee the safety of user.
In step S104, according to the charging current value, the current charging current of terminal is adjusted.
In a kind of possible embodiment, it can directly pass through the charging current value obtained in step S103 to terminal Charging current is adjusted, and into after crossing and adjust, the charging current value of terminal is the charging current of most suitable present case, can be with It reduces the aging of end cell and guarantees the safety of end cell.In alternatively possible embodiment, transmission can be passed through Charge prompting information charges to end cell using the charging current value to prompt the user whether, user can be flexible Selection still charges to end cell with maximum charging current, in urgent need in use, can need not adjust to reach quick The purpose of charging.
It can be seen from the above, a kind of charge control method provided in this embodiment, when being preset by obtaining in terminal charge Between electrical parameter in section calculate the actual capacity of end cell, suitable charging current value is matched according to the actual capacity It charges to end cell, the aging speed of end cell can be reduced, and promote the safety in utilization of end cell.
Citing, is described in further detail by the method according to described in above-described embodiment below.
Referring to Fig. 2, Fig. 2 is another flow diagram of charge control method provided in an embodiment of the present invention.
Specifically, this method comprises:
In step s 201, when detecting that terminal is charged, the residual power percentage in preset time period is obtained Changing value and end cell obtain charge value.
Wherein, the value of the residual power percentage is terminal power show value, generally hundred-mark system, 100 be full power state, 0 is no state of charge.The value of the residual power percentage generally passes through the voltage value for first obtaining end cell, the end cell Each voltage value corresponds to the value of residual power percentage.
1 terminal battery voltage counterpart terminal voltameter of table
Residual power percentage Cell voltage V
100 4.2
90 4.08
80 4
70 3.93
60 3.87
50 3.82
40 3.79
30 3.77
20 3.73
10 3.68
0 2.5
As shown in table 1, the corresponding residual power percentage of each cell voltage has corresponding relationship, can be when will be default Between section end point residual power percentage value subtract preset time period start time point residual power percentage value, obtain Out in preset time period residual power percentage changing value.For example, be 2.5V in preset time period starting point cell voltage, it is right The value for the residual power percentage answered is 0, is 2.95V, corresponding remaining capacity hundred in preset time period end point cell voltage The value for dividing ratio is 5, then show that the changing value of residual power percentage in preset time period is 5, the electricity which obtains Magnitude can be obtained by charging chip, and for the charge value for flowing through end cell, unit is milliampere hour (mAh).
In step S202, the ratio of the charge value of end cell acquisition and the changing value of the residual power percentage is calculated Value, obtains calculated result, and the calculated result is determined as to the actual capacity of end cell.
Wherein, according to the charge value for flowing through end cell that charging chip is got in preset time period in step S201, With the ratio of the changing value of the residual power percentage in preset time period, the actual capacity of end cell is found out.For example, when stream The charge value for crossing end cell is 100mAh, and the changing value of residual power percentage is 5 in preset time period, then with 100mAh Determine that the actual capacity of end cell is 2000mAh divided by 5 percent.
It should be noted that the actual capacity is different from rated capacity (factory capacitance), which goes out for producer In the optimal attainable maximum capacitance of terminal under environment battery when factory's end cell, actual capacity is with rated capacity at this time It is consistent, but with the Reusability of end cell, the lithium compound of cathode constantly absorbs and releases in chemical reaction Lithium ion, while change also occurs for the structure of itself, cause the exchange of ion become difficult or electrolyte it is fewer and fewer, Cause the actual capacity of end cell that can become lower and lower.
In step S203, according to the ratio of the rated capacity of actual capacity and end cell, current capacitance is obtained Percentage.
Wherein, the actual capacity obtained in step S202 is obtained divided by the rated capacity (factory capacitance) of end cell Current capacitance percentage out.The capacitance percentage is higher, then reflects that the performance of end cell is better, the capacitance percentage Than lower, then reflect that the temperature for the environment that the performance of end cell is poorer, or currently charges is lower.It is contemplated that electric The performance of the higher i.e. battery of volume percent is better, indicates that the ability for the charging current value that end cell can receive is stronger, phase The charging current value answered is also higher.The stronger or current charging environment temperature of the degree of aging of the lower i.e. battery of capacitance percentage Degree is lower, indicates that the ability for the charging current value that end cell can receive is weaker, corresponding charging current value is also lower.
Based on this, the existing mode main lift charging current for promoting charging rate, so that the electricity of end cell Quickly promoted, and in the case where end cell has certain aging or too low environment temperature, the internal resistance meeting of end cell Becoming very big, can become very big along with the internal resistance of end cell, the actual capacity of terminal can become very little, and in end cell Actual capacity when becoming very little, still charged at this time using high current, end cell can fast heating, will lead to acceleration eventually The aging for holding battery, even results in battery explosion, brings great loss to user.
In step S204, whether detection capacitance percentage is lower than default secure threshold.
Wherein, if it is detected that capacitance percentage is lower than default secure threshold, illustrate the aging of current end cell Very serious or current environment temperature is too low for degree, executes step S205;If it is detected that capacitance percentage is not less than Default secure threshold, thens follow the steps S206.
In step S205, stopping charges to terminal.
In certain possible embodiment, when detecting that capacitance percentage is lower than default secure threshold, explanation is worked as The internal resistance of preceding end cell is very big, at this point, will lead to end cell if continuing to charge to end cell and generate a large amount of heat Amount, or even explode, certain threat is brought to user security, presets secure threshold when detecting that capacitance percentage is lower than When, terminal executes at once stops charging operations, and can also send safety instruction information, to prompt the current charging operations of user to deposit In danger.
In step S206, by capacitance percentage match preset charged ammeter, corresponding charging current value is obtained.
It wherein, may include the corresponding charging current value of capacitance percentage in the preset charged ammeter.
2 capacity ratio of table corresponds to charging current value table
Capacitance percentage Charging current value
90-100 4A
80-90 3.5A
70-80 3A
60-70 2.5A
50-60 2A
40-50 1.5A
As shown in table 2, each capacitance percentage-proportion interval has corresponding charging current value, be easy it is found out that, capacitor It measures that percentage-proportion interval is lower, and corresponding charging current value is smaller, when capacitance percentage is less than 40, then illustrates the Terminal Capacitance amount Percentage terminates charging already below default secure threshold.
For example, the rated capacity of the battery of terminal is 2500mAh when actual capacity is 2000mAh, at this point, obtain Capacitance percentage is 80, according to table 2, show that the corresponding charging current value for being most suitable for the charging is 3.5A.
In step S207, according to charging current value, the current charging current of terminal is adjusted.
It should be noted that usually in the night's rest time of user, such as between 12 points to 7 points of morning of morning, it uses Family is in resting state, and terminal will do it screen locking, then terminal need not just use high current to carry out fast charge mode, to avoid height Electric current damages end cell.
In certain possible embodiment, this is adjusted the current charging current of terminal according to charging current value Whether the current time that the terminal can also be detected before is in default evening hours section, if it is detected that at the current time of terminal In default evening hours section, then enters night charge mode, obtain pre-set current value under the night charge mode, it is pre- according to this If current value is adjusted the current charging current of terminal;If it is detected that when the current time of the terminal is not at default night Between section, then trigger execution send charge prompting information the step of.
For example, the default evening hours section can be set to 00:00 to 07:00, it can also be customized by the user input, if It detects that the current time of terminal is in default evening hours section, illustrates that terminal need not currently use high current to carry out fast mold filling Formula then enters night charge mode, pre-set current value is obtained under the night charge mode, according to the pre-set current value to terminal Current charging current the step of being adjusted, which is low current value, which is at least more than terminal The current value of system electricity consumption value;If it is detected that the current time of the terminal is not at default evening hours section, sends charging and mention Show information, which charges to end cell with the charging current value to prompt the user whether.User exists After receiving the charge prompting information, if can choose and determine using charging electricity in the case where not being badly in need of the scene of terminal charge Flow valuve charges to end cell, if under the scene for being badly in need of terminal charge, if user needs quick charge to go out, then It can refuse to reduce the charging current value.
In certain possible embodiment, adjustment charging current can be terminal transmission regulating command to charger, by Charger adjusts the charging current value to regulating command instruction to charge to terminal.
In order to preferably describe the embodiment of the present invention, it is described in detail with terminal charge shown in Fig. 3 prompt schematic diagram: It is illustrated by the angle of mobile phone of terminal, when mobile phone to be connect with charging end, obtains mobile phone electricity within a preset period of time The changing value and battery of mobile phone for measuring show value obtain to the charge value flowed through in preset time period, the mobile phone electricity show value For hundred-mark system, 100 it is full power state, 0 is no state of charge.The charge value be Mobile phone battery chip acquired in, as shown in figure 3, Electricity show value 5 in figure is the electricity show value after preset time period, it is assumed that the electricity of preset time period starting point is aobvious Indicating value is 0, then the changing value of mobile phone residual power percentage is 5 within a preset period of time.It should be noted that the mobile phone is electric Amount show value is that testing mobile phone battery current voltage obtains, the corresponding mobile phone electricity show value of each voltage is fixed.And The charge value that Mobile phone battery chip obtains in preset time period is 100mAh, then can be by charge value 100mAh divided by surplus The changing value 0.05 of remaining electricity percentage obtains current actual capacity 2000mAh.
Wherein, battery of mobile phone further includes rated capacity (factory capacitance), which is changeless, and is only had Battery of mobile phone it is intact and just in use, the actual capacity just can be equal to the rated capacity, battery of mobile phone can with use by The internal resistance of gradually aging, terminal can become larger, lower and lower so as to cause the actual capacity of battery of mobile phone, by the actual capacity divided by volume Constant volume, the capacity ratio of available battery of mobile phone, and the capacity ratio can measure battery performance, when the capacity ratio is higher, then Illustrate that the performance of battery is better, when the capacity ratio is lower, then illustrates that the performance of battery is lower, degree of aging is bigger, the electricity of charging Flow valuve is not answered excessive.Assuming that show that the capacity ratio is 0.8 when the rated capacity of mobile phone is 2500mAh, it can be according to capacity ratio With preset charged ammeter, the charging current value such as 3A that corresponding suitable battery of mobile phone currently charges is obtained.It sends as shown in Figure 3 Prompt information is prompted the user whether to adjust to adaptation electric current and be charged to terminal, and when the user clicks when "Yes", mobile phone can will fill The charging current value at electric end is adjusted to 3A, when the user clicks when "No", is still charged with former charging current value to mobile phone.If figure After prompt information shown in 3 occurs 10 seconds, the operational order of user is not received yet, then directly executing the charging of charging end Current value is adjusted to 3A.
In certain possible embodiment, when the capacity ratio got is lower than certain secure threshold, illustrate mobile phone Cell degradation degree is very serious, stops immediately to the charging of battery of mobile phone.
For the detailed description embodiment of the present invention, it is described in detail with terminal night shown in Fig. 4 charging schematic diagram: At night, in 00:00 to the period between 07:00, user is in resting state, and terminal will do it screen locking, then terminal Need not just high current be used to carry out fast charge mode.As shown in figure 4, it is 00:48 that terminal, which gets current display time, in pre- If evening hours section 00:00 is between 07:00, user is in resting state at this time, if terminal is carried out fastly using high current always Mold filling formula, then can increasing terminal battery aging, in order to avoid such case, terminal can enter night charge mode, at this Pre-set current value is obtained under night charge mode and obtains pre-set current value, this pre-set current value is the height electricity relative to fast charge mode Small current value for stream charges to terminal with this low current value, then the old of end cell can preferably be prevented Change.
It can be seen from the above, a kind of charge control method provided in this embodiment, when being preset by obtaining in terminal charge Between electricity percentage in section changing value and the charge value that obtains of end cell, so that actual capacity is obtained, according to the reality The ratio of border capacity and rated capacity obtains capacitance percentage, when the capacitance high percentage is when default secure threshold, It allots corresponding adaptation charging current value to charge to end cell, the aging speed of end cell, Yi Jiti can be reduced Rise the safety in utilization of end cell.
For convenient for better implementation charge control method provided in an embodiment of the present invention, the embodiment of the present invention also provides one kind Device based on above-mentioned charge control method.Wherein the meaning of noun is identical with above-mentioned charge control method, and specific implementation is thin Section can be with reference to the explanation in embodiment of the method.
Referring to Fig. 5, Fig. 5 is the module diagram of battery charge controller provided in an embodiment of the present invention.Specifically, should Battery charge controller 300, comprising: obtain module 31, computing module 32, matching module 33 and adjustment module 34.
The acquisition module 31, for obtaining the electrical parameter in preset time period when detecting that terminal is charged.
Wherein, the electrical parameter in the acquisition module 31 may include residual power percentage within a preset period of time The charge value that changing value and end cell obtain.The value of the residual power percentage be terminal power show value, generally hundred Point system 100 is full power state, 0 is no state of charge.The value of the residual power percentage generally passes through the electricity for obtaining end cell Pressure value, each voltage value correspond to the value of residual power percentage, then extrapolate corresponding remaining capacity percentage according to voltage value The value of the residual power percentage of preset time period end point is subtracted the residue electricity of preset time period start time point by the value of ratio The value for measuring percentage, obtains the changing value of residual power percentage in preset time period.The charge value that the end cell obtains can To be obtained by charging chip, for the charge value for flowing through end cell, unit is milliampere hour (mAh).
The computing module 32, for calculating the actual capacity of end cell based on the electrical parameter.
Wherein, which includes actual capacity and rated capacity (factory capacitance), in the computing module 32 When actual capacity is that the voltage of end cell under end cell current environment reaches highest blanking voltage, i.e., mobile phone is when fully charged Capacitance, which can reduce with the aging of battery and the variation of environment temperature.And the predetermined capacitance is End cell dispatch from the factory when, that is, optimum state under it is fully charged when capacitance.The rated capacity value of every piece of end cell is when leaving the factory It is all determining.
The matching module 33, for matching corresponding charging current value according to the actual capacity.
In certain possible embodiment, which can calculate the actual capacity and rated capacity (factory Capacitance) ratio, obtain capacitance percentage.The capacitance percentage is higher, then reflects that the performance of end cell is better, should Capacitance percentage is lower, then reflects that the temperature for the environment that the performance of end cell is poorer, or currently charges is lower.At this time may be used Different charging currents is corresponded to according to capacitance percentage, it is contemplated that capacitance hundred by preset charged ammeter Divide the performance than higher i.e. battery better, indicates that the ability for the charging current value that end cell can receive is stronger, fill accordingly Electric current value is also higher.
The adjustment module 34, for being adjusted to the current charging current of terminal according to the charging current value.
In certain likely embodiment, before executing the adjustment module 34 further include: detect working as the terminal Whether the preceding time is in default evening hours section, when the current time for detecting terminal is in default evening hours section, at this Pre-set current value is obtained under night charge mode, is adjusted according to current charging current of the pre-set current value to terminal;If It detects that the current time of the terminal is not at default evening hours section, then sends charge prompting information, receive user according to this The selection instruction of charge prompting information input, the selection instruction indicate whether to fill end cell with the charging current value Electricity.
The adjustment module 34 is also used to charge to end cell with the charging current value when determining selection instruction instruction When, it is executed according to the charging current value, the step of being adjusted to the current charging current of terminal according to selection instruction triggering.
Fig. 6 can be referred to together, and Fig. 6 is another module diagram of battery charge controller provided in an embodiment of the present invention, should Battery charge controller 300 can also include:
Wherein, which can also include ratio submodule 331 and matched sub-block 332.
Specifically, ratio submodule 331, for the ratio according to the actual capacity and the rated capacity of end cell, Obtain current capacitance percentage.Matched sub-block 332 is used for the capacitance percentage match preset charged ammeter, Obtain corresponding charging current value.
The acquisition module 31 is also used to obtain the changing value and terminal of residual power percentage within a preset period of time The charge value that battery obtains.
Specifically, the changing value for obtaining residual power percentage within a preset period of time in the acquisition module 31 can To pass through: obtaining the variation of terminal battery voltage value within a preset period of time, determined according to the variation of the terminal battery voltage value The changing value of residual power percentage.The computing module 32 is also used to calculate the charge value and the residue of end cell acquisition The ratio of the changing value of electricity percentage obtains calculated result, and the calculated result is determined as to the actual capacity of end cell.
Stopping modular 35, for when detecting that the capacitance percentage is lower than default secure threshold, stop to terminal into Row charging.
In certain possible embodiment, when detecting that capacitance percentage is lower than default secure threshold, explanation is worked as The internal resistance of preceding end cell is very big, at this point, will lead to end cell if continuing to charge to end cell and generate a large amount of heat Amount, or even explode, certain threat is brought to user security, presets secure threshold when detecting that capacitance percentage is lower than When, terminal executes stopping modular 35 at once to stop charging operations, and can also send safety instruction information, to prompt user to work as Preceding charging operations are dangerous.
It can be seen from the above, a kind of battery charge controller provided in this embodiment, when being preset by obtaining in terminal charge Between electricity percentage in section changing value and the charge value that obtains of end cell, so that actual capacity is obtained, according to the reality The ratio of border capacity and rated capacity obtains capacitance percentage, when the capacitance high percentage is when default secure threshold, It allots corresponding adaptation charging current value to charge to end cell, the aging speed of end cell, Yi Jiti can be reduced Rise the safety in utilization of end cell.
The embodiment of the present invention also provides a kind of terminal, as shown in fig. 7, the terminal 400 may include have one or one with The memory 401 of upper computer readable storage medium, sensor 402, input unit 403, display unit 404, power supply 405 and Include one or more than one the equal components of processor 406 of processing core.It will be understood by those skilled in the art that in Fig. 7 The restriction of the terminal structure shown not structure paired terminal may include or combining certain than illustrating more or fewer components A little components or different component layouts.
Memory 401 can be used for storing application program and data.It include that can hold in the application program that memory 401 stores Line code.Application program can form various functional modules.Processor 406 is stored in the application journey of memory 401 by operation Sequence, thereby executing various function application and data processing.In addition, memory 401 may include high-speed random access memory, It can also include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-states are deposited Memory device.Correspondingly, memory 401 can also include Memory Controller, right to provide processor 406 and input unit 403 The access of memory 401.
Terminal may also include at least one sensor 402, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel, proximity sensor can close display panel and/or back when terminal is moved in one's ear Light.As a kind of motion sensor, gravity accelerometer can detect (generally three axis) acceleration in all directions Size can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;It can also configure as terminal The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Input unit 403 can be used for receiving number, character information or the user's characteristic information (such as fingerprint) of input, and Generate keyboard related with user setting and function control, mouse, operating stick, optics or trackball signal input.Specifically Ground, in a specific embodiment, input unit 403 may include touch sensitive surface and other input equipments.Touch sensitive surface, Referred to as touch display screen or Trackpad, collect user on it or nearby touch operation (such as user using finger, touching The operations of any suitable object or attachment on touch sensitive surface or near touch sensitive surface such as pen), and according to preset Formula drives corresponding attachment device.Optionally, touch sensitive surface may include both touch detecting apparatus and touch controller. Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, transmit a signal to touch Controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processing Device 406, and order that processor 406 is sent can be received and executed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray And the multiple types such as surface acoustic wave realize touch sensitive surface.In addition to touch sensitive surface, input unit 403 can also include other inputs Equipment.Specifically, other input equipments can include but is not limited to physical keyboard, function key (such as volume control button, switch Key etc.), fingerprint recognition mould group, trace ball, mouse, one of operating stick etc. or a variety of.
Display unit 404 can be used for showing information input by user or be supplied to user information and terminal it is various Graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof.Display Unit 404 may include display panel.Optionally, can using liquid crystal display (LCD, Liquid Crystal Display), The forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) configure display panel.Further , touch sensitive surface can cover display panel, after touch sensitive surface detects touch operation on it or nearby, send processing to Device 406 is followed by subsequent processing device 406 and is provided on a display panel accordingly according to the type of touch event to determine the type of touch event Visual output.Although touch sensitive surface and display panel are to realize input and input as two independent components in Fig. 7 Function, but in some embodiments it is possible to touch sensitive surface and display panel are integrated and realizes and outputs and inputs function.
Mobile terminal further includes the power supply 405 (such as battery) powered to all parts.Preferably, power supply can pass through electricity Management system and processor 406 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.Power supply 405 can also include one or more direct current or AC power source, recharging system, power supply event Hinder the random components such as detection circuit, power adapter or inverter, power supply status indicator.
Processor 406 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to It crosses operation or executes the application program being stored in memory 401, and call the data being stored in memory 401, execute The various functions and processing data of terminal, to carry out integral monitoring to terminal.Optionally, processor 406 may include one or Multiple processing cores;Preferably, processor 406 can integrate application processor and modem processor, wherein application processor Main processing operation system, user interface and application program etc..
Although being not shown in Fig. 7, terminal can also include camera, bluetooth module, network module etc., no longer go to live in the household of one's in-laws on getting married herein It states.
Specifically in the present embodiment, the processor 406 in terminal can be according to following instruction, will be one or more The corresponding executable code of the process of application program is loaded into memory 401, and is run by processor 406 and be stored in storage Application program in device 401, to realize various functions:
Through processor 406 when detecting that terminal is charged, the electrical parameter in preset time period is obtained.
The actual capacity of power supply 405 is calculated based on the electrical parameter by processor 406.
By processor 406 according to the actual capacity, corresponding charging current value is matched.
By processor 406 according to the charging current value, the current charging current of terminal is adjusted.
Processor 406 is being executed according to the actual capacity, may include: basis when matching corresponding charging current value The ratio of the rated capacity of the actual capacity and power supply 405, obtains current capacitance percentage, by the capacitance percentage With preset charged ammeter, corresponding charging current value is obtained.
Processor 406 may include: to obtain in preset time period when executing the electrical parameter in acquisition preset time period The charge value that the changing value and end cell of interior residual power percentage obtain.
When the changing value of residual power percentage of the processor 406 in execution acquisition within a preset period of time, may include: The variation for obtaining terminal battery voltage value within a preset period of time, determines remaining capacity according to the variation of the terminal battery voltage value The changing value of percentage.
Processor 406 obtains current electricity in the ratio for executing the rated capacity according to the actual capacity and end cell It can also include: to stop when detecting that the capacitance percentage is lower than default secure threshold to terminal after volume percent It charges.
Processor 406 may be used also before being adjusted to the current charging current of terminal in execution according to the charging current value To include: to send charge prompting information;User is received according to the selection instruction of the charge prompting information input, which refers to Show whether charge with the charging current value to end cell.
Processor 406 execute send charge prompting information before, can also include: detect the terminal current time be It is no to be filled if it is detected that the current time of the terminal is in default evening hours section into night in default evening hours section Power mode obtains pre-set current value under the night charge mode, according to the pre-set current value to the current charging current of terminal The step of being adjusted executes transmission charging and mentions if it is detected that the current time of the terminal is not at default evening hours section The step of showing information.
Since the terminal can execute any charge control method provided by inventive embodiments, it is thereby achieved that Beneficial effect achieved by any charge control method provided by inventive embodiments is detailed in the embodiment of front, herein It repeats no more.
When it is implemented, above each unit can be used as independent entity to realize, any combination can also be carried out, is made It is realized for same or several entities, the specific implementation of above each unit can be found in the embodiment of the method for front, herein not It repeats again.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the detailed description above with respect to charge control method, details are not described herein again.
Charge control method, device and terminal provided in an embodiment of the present invention are for example mobile phone, tablet computer, palm electricity Brain (PDA, Personal Digital Assistant) etc., the terminal, battery charge controller and charge control method belong to Same design can run either offer method in the charge control method embodiment, tool on the battery charge controller Body realizes that process is detailed in the charge control method embodiment, and details are not described herein again.
It should be noted that this field common test personnel are understood that reality for the charge control method of the invention The all or part of the process of existing charge control method of the embodiment of the present invention, be can be controlled by computer program it is relevant hard Part is completed, which can be stored in a computer-readable storage medium, is such as stored in the memory of terminal, And executed by least one processor in the terminal, it in the process of implementation may include such as the embodiment of the charge control method Process.Wherein, which can be magnetic disk, CD, read-only memory (ROM, Read Only Memory), arbitrary access note Recall body (RAM, Random Access Memory) etc..
For the battery charge controller of the embodiment of the present invention, each functional module be can integrate in a processing chip In, it is also possible to modules and physically exists alone, can also be integrated in two or more modules in a module.It is above-mentioned Integrated module both can take the form of hardware realization, can also be realized in the form of software function module.This is integrated If module is realized and when sold or used as an independent product in the form of software function module, also can store at one In computer-readable storage medium, which is for example read-only memory, disk or CD etc..
A kind of charge control method, device and terminal is provided for the embodiments of the invention above to be described in detail, Used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only used In facilitating the understanding of the method and its core concept of the invention;Meanwhile for those skilled in the art, think of according to the present invention Think, there will be changes in the specific implementation manner and application range, is to sum up somebody's turn to do, and the content of the present specification should not be construed as to this The limitation of invention.

Claims (10)

1. a kind of charge control method characterized by comprising
When detecting that terminal is charged, the changing value and terminal of residual power percentage within a preset period of time are obtained The charge value that battery obtains;
The ratio for calculating the changing value of the charge value that the end cell obtains and the residual power percentage obtains calculating knot Fruit, and the calculated result is determined as to the actual capacity of end cell;
According to the ratio of the rated capacity of the actual capacity and end cell, current capacitance percentage is obtained;
By the capacitance percentage match preset charged ammeter, corresponding charging current value is obtained;
According to the charging current value, the current charging current of terminal is adjusted.
2. charge control method as described in claim 1, which is characterized in that the residue electricity of the acquisition within a preset period of time Measure the changing value of percentage, comprising:
The variation for obtaining terminal battery voltage value within a preset period of time determines surplus according to the variation of the terminal battery voltage value The changing value of remaining electricity percentage.
3. charge control method as claimed in claim 1 or 2, which is characterized in that described according to the actual capacity and terminal The ratio of the rated capacity of battery, after obtaining current capacitance percentage, further includes:
When detecting that the capacitance percentage is lower than default secure threshold, stopping charges to terminal.
4. charge control method as described in claim 1, which is characterized in that it is described according to the charging current value, to terminal Current charging current be adjusted before, further includes:
Send charge prompting information;
User is received according to the selection instruction of the charge prompting information input, the selection instruction indicates whether with the charging Current value charges to end cell;
According to the charging current value, the current charging current of terminal is adjusted, comprising: if it is determined that selection instruction instruction with The charging current value charges to end cell, then is executed according to selection instruction triggering according to the charging current Value, the step of being adjusted to the current charging current of terminal.
5. charge control method as claimed in claim 4, which is characterized in that before the transmission charge prompting information, also wrap It includes:
Whether the current time for detecting the terminal is in default evening hours section;
If it is detected that the current time of the terminal is in default evening hours section, enter night charge mode, at the night Between obtain pre-set current value under charge mode, be adjusted according to current charging current of the pre-set current value to terminal;
If it is detected that the current time of the terminal is not at default evening hours section, triggers execution and send charge prompting information The step of.
6. a kind of battery charge controller characterized by comprising
Module is obtained, for when detecting that terminal is charged, obtaining residual power percentage within a preset period of time The charge value that changing value and end cell obtain;
Computing module, the ratio of the changing value for calculating the charge value that the end cell obtains and the residual power percentage Value, obtains calculated result, and the calculated result is determined as to the actual capacity of end cell;
Ratio submodule obtains current capacitor for the ratio according to the actual capacity and the rated capacity of end cell Measure percentage;
Matched sub-block, for obtaining corresponding charging current value for the capacitance percentage match preset charged ammeter;
Module is adjusted, for being adjusted to the current charging current of terminal according to the charging current value.
7. battery charge controller as claimed in claim 6, which is characterized in that the acquisition module is used for:
The variation for obtaining terminal battery voltage value within a preset period of time determines surplus according to the variation of the terminal battery voltage value The changing value of remaining electricity percentage.
8. battery charge controller as claimed in claims 6 or 7, which is characterized in that described device further include:
Stopping modular, for when detecting that the capacitance percentage is lower than default secure threshold, terminal to be filled in stopping Electricity.
9. a kind of terminal characterized by comprising
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, executes such as claim 1 to right It is required that 5 described in any item charge control methods.
10. a kind of storage medium, is stored thereon with computer program, which is characterized in that real when described program is executed by processor Existing method described in any one of claim 1 to 5.
CN201611263052.3A 2016-12-30 2016-12-30 A kind of charge control method, device and terminal Active CN106505695B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611263052.3A CN106505695B (en) 2016-12-30 2016-12-30 A kind of charge control method, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611263052.3A CN106505695B (en) 2016-12-30 2016-12-30 A kind of charge control method, device and terminal

Publications (2)

Publication Number Publication Date
CN106505695A CN106505695A (en) 2017-03-15
CN106505695B true CN106505695B (en) 2019-04-16

Family

ID=58334739

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611263052.3A Active CN106505695B (en) 2016-12-30 2016-12-30 A kind of charge control method, device and terminal

Country Status (1)

Country Link
CN (1) CN106505695B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106842058B (en) * 2017-02-28 2022-04-01 上海传英信息技术有限公司 Electric quantity control system and method based on intelligent terminal
CN106981904A (en) * 2017-05-22 2017-07-25 维沃移动通信有限公司 The method and charge-discharge control system of a kind of charge and discharge control
CN107436410A (en) * 2017-07-19 2017-12-05 上海与德科技有限公司 A kind of electric quantity controlling method, device, equipment and storage medium
CN107359379B (en) * 2017-07-19 2019-11-26 华霆(合肥)动力技术有限公司 Fast charge method and device
CN107482729A (en) * 2017-09-04 2017-12-15 深圳支点电子智能科技有限公司 The method and charger of a kind of charging
CN107394859A (en) * 2017-09-05 2017-11-24 深圳支点电子智能科技有限公司 The charger and Related product that can dynamically charge
CN107706979A (en) * 2017-10-24 2018-02-16 贝斯拓欧洲控股有限公司 Charge protection method, device and electronic cigarette
CN110620407A (en) * 2018-06-19 2019-12-27 浙江万马新能源有限公司 Quick-charging grading judgment device and working principle thereof
CN110768319A (en) * 2018-07-27 2020-02-07 炬芯(珠海)科技有限公司 Method and device for charging by adopting constant current
CN109066892B (en) * 2018-09-10 2021-02-05 Oppo广东移动通信有限公司 Split screen electronic equipment charging circuit and charging control method
CN109274161A (en) * 2018-11-28 2019-01-25 纽福克斯光电科技(上海)有限公司 Intelligent charger, device and method
EP3968486A4 (en) * 2019-05-06 2022-06-15 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Charging method and charging apparatus
CN111934369B (en) * 2019-05-13 2022-09-06 Oppo广东移动通信有限公司 Charging method and device, equipment and storage medium
CN111008090B (en) * 2019-12-06 2023-06-20 Tcl移动通信科技(宁波)有限公司 Battery electric quantity control method and device, storage medium and terminal equipment
CN113131550A (en) * 2020-01-15 2021-07-16 Oppo广东移动通信有限公司 Charging control method, system, device, and computer-readable storage medium
CN111538390B (en) * 2020-03-27 2022-09-27 努比亚技术有限公司 Method for controlling terminal temperature, terminal and computer readable storage medium
CN112688377A (en) * 2020-12-07 2021-04-20 珠海格力电器股份有限公司 Energy storage charging method and device, energy storage equipment and charging equipment
CN117642906A (en) * 2022-06-23 2024-03-01 宁德时代新能源科技股份有限公司 Computing device and method, device and medium for charging battery of computing device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102593540B (en) * 2012-02-17 2015-08-12 中兴通讯股份有限公司 A kind of battery activated method, module and terminal
CN103701173B (en) * 2013-12-30 2016-02-10 山东申普交通科技有限公司 A kind of charging method of intelligent charger

Also Published As

Publication number Publication date
CN106505695A (en) 2017-03-15

Similar Documents

Publication Publication Date Title
CN106505695B (en) A kind of charge control method, device and terminal
CN110121812B (en) Method for charging battery, charging device and terminal equipment
CN106549464A (en) A kind of charge control method, device and computer equipment
CN106340925B (en) A kind of charge control method, device and terminal
CN103516004B (en) A kind of information processing method and device
CN106772091B (en) Method and device for updating battery capacity value and terminal
CN106549465B (en) Charge control method, device, system and terminal
EP3349323A1 (en) Terminal and method for charging the same
CN103901352B (en) Show the method and device of battery of mobile terminal remaining capacity
EP3185348B1 (en) A battery information detection and control method, smart battery,terminal and computer storage medium
US20180076634A1 (en) Charging method and electronic apparatus
CN106786899B (en) Charge mode selection method and device
CN104538996B (en) Mobile terminal and its matching and recognition method with charging unit
US20190391210A1 (en) Method and device for acquiring battery power level and electronic device
CN106786961B (en) Charging method, device and terminal
US10243380B2 (en) Method and apparatus for battery malfunction detection and notification thereof
CN110474387A (en) Charge control method, electronic equipment and computer storage medium
CN107980190A (en) Electronic device and on demand charging method
CN104977539A (en) Method and device capable of automatically measuring at least one parameter
CN105098871A (en) Portable device and method for controlling charging current thereof
CN103364619A (en) Method for detecting voltage of terminal equipment and terminal equipment
CN109256825B (en) Charging method and electronic device
CN110492563A (en) Battery management method, device, equipment and medium
CN103942133A (en) Information processing method and electronic equipment
CN106646085B (en) Leakage tests method, apparatus and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant