CN105337368B - terminal charging method and device - Google Patents

terminal charging method and device Download PDF

Info

Publication number
CN105337368B
CN105337368B CN201510857501.6A CN201510857501A CN105337368B CN 105337368 B CN105337368 B CN 105337368B CN 201510857501 A CN201510857501 A CN 201510857501A CN 105337368 B CN105337368 B CN 105337368B
Authority
CN
China
Prior art keywords
current
charging
terminal
current data
maximum output
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
CN201510857501.6A
Other languages
Chinese (zh)
Other versions
CN105337368A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510857501.6A priority Critical patent/CN105337368B/en
Publication of CN105337368A publication Critical patent/CN105337368A/en
Application granted granted Critical
Publication of CN105337368B publication Critical patent/CN105337368B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/0071Regulation of charging or discharging current or voltage with a programmable schedule
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Abstract

The disclosure is directed to terminal charging method and device.This method includes:Determine whether current charging current data meets preparatory condition according to preset charged current data, the preset charged current data is when preset charged device charges to terminal, measures what is obtained to constant-current charging phase;If current charging current data meets preparatory condition, the maximum output current of the charging circuit of the terminal is adjusted according to the current charging current data and the preset charged current data;Maximum output current after the adjustment is write in the register of the charging circuit.The technical scheme make it that the charging process controllability of constant-current charging phase is stronger, improves the security and charge efficiency of charging, avoid end cell because charger power deficiency and caused by damage, postpone battery life.

Description

Terminal charging method and device
Technical field
This disclosure relates to battery boosting technology field, more particularly to terminal charging method and device.
Background technology
At present, charging process under normal circumstances point 3 stages, trickle charge, constant-current phase and constant-voltage phase.First rank Section is directed to the battery of brownout, and second stage sets a higher charging current for charging, is charged to after certain voltage and is turning the Three stages, but in actual charging process, because charger is not necessarily original-pack adaptation, power output deficiency, in second-order The electric current that battery is actually charged into section is less and less.
The content of the invention
The embodiment of the present disclosure provides terminal charging method and device.The technical scheme is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of terminal charging method, including:
Determine whether current charging current data meets preparatory condition, the preset charged according to preset charged current data Current data is when preset charged device charges to terminal, measures what is obtained to constant-current charging phase;
If current charging current data meets preparatory condition, according to the current charging current data and the preset charged Current data adjusts the maximum output current of the charging circuit of the terminal;
Maximum output current after the adjustment is write in the register of the charging circuit.
Optionally, the preset charged current data includes:The default maximum charge that the charging circuit of the terminal is supported Electric current, the default battery charge for being actually filled with the end cell, predetermined system loss current;
It is described to determine whether current charging current data meets preparatory condition according to preset charged current data, including:
The currently practical present battery charging current for being filled with the end cell is sampled;
When the difference for the present battery charging current that the default battery charge obtains with sampling is more than first Pre-set current value, and when the obtained present battery charging current of sampling changes over time less and less, determine described current Charging current data meets preparatory condition.
It is optionally, described to determine whether current charging current data meets preparatory condition according to preset charged current data, Also include:
Obtain the adjustment time of the last maximum output current for adjusting the charging circuit;
When the adjustment time of the last maximum output current for adjusting the charging circuit of distance is more than or equal to default Between when being spaced, determine that the current charging current data meets preparatory condition.
Optionally, it is described that the currently practical present battery charging current for being filled with the end cell is sampled, including:
The currently practical present battery charging current for being filled with the end cell is adopted using n sampled point as the cycle Sample, wherein, n is the integer more than or equal to 2.
It is optionally, described to determine whether current charging current data meets preparatory condition according to preset charged current data, Including:
Calculate the average value for the present battery charging current that each periodic sampling obtains;
When the average value of each cycle present battery charging current reduces with periodicity, it is determined that sampling obtain it is described work as Preceding battery charge changes over time less and less.
Optionally, it is described that the terminal is adjusted according to the current charging current data and the preset charged current data Charging circuit maximum output current, including:
The present battery charging current that m-th of periodic sampling obtains is obtained, wherein, m is the integer more than 1;
Calculate the average value of the present battery charging current in m-th of cycle and the predetermined system loss current it With the maximum output current after being adjusted.
Optionally, the maximum output current by after the adjustment is write in the register of the charging circuit, including:
Judge whether the maximum output current after the adjustment is more than or equal to the second pre-set current value;
When the maximum output current after the adjustment is more than or equal to the second pre-set current value, by after the adjustment most Big output current is write in the register of the charging circuit.
Optionally, it is described according to preset charged current data determine current charging current data whether meet preparatory condition it Before, methods described also includes:
Determine whether in constant-current charging phase, whether the screen of the terminal is closed and the terminal Central processing unit whether be in idle condition;
When be currently at constant-current charging phase, the screen of the terminal is closed and the central processing of the terminal When device is in idle condition, triggering performs that according to preset charged current data to determine whether current charging current data meets default The operation of condition.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of terminal charging device, including:
First determining module, it is default for determining whether current charging current data meets according to preset charged current data Condition, the preset charged current data are when preset charged device charges to terminal, and constant-current charging phase is surveyed Measure;
Adjusting module, if meeting preparatory condition for current charging current data, according to the current charging current data And the preset charged current data adjusts the maximum output current of the charging circuit of the terminal;
Writing module, the deposit of the charging circuit is write for the maximum output current after the adjusting module is adjusted In device.
Optionally, the preset charged current data includes:The default maximum charge that the charging circuit of the terminal is supported Electric current, the default battery charge for being actually filled with the end cell, predetermined system loss current;First determining module Including:Submodule and the first determination sub-module are sampled,
The sampling submodule, for being adopted to the currently practical present battery charging current for being filled with the end cell Sample;
First determination sub-module, for sampling to obtain when the default battery charge and the sampling submodule The difference of the present battery charging current be more than the first pre-set current value, and the present battery charging electricity that sampling obtains When stream changes over time less and less, determine that the current charging current data meets preparatory condition.
Optionally, first determining module also includes:Acquisition submodule,
The acquisition submodule, during adjustment for obtaining the last maximum output current for adjusting the charging circuit Between;
First determination sub-module, the last adjustment charging of distance for being got when the acquisition submodule When the adjustment time of the maximum output current of circuit is more than or equal to prefixed time interval, the current charging current data is determined Meet preparatory condition.
Optionally, the sampling submodule, for being filled with the end cell to currently practical using n sampled point as the cycle Present battery charging current sampled, wherein, n is integer more than or equal to 2.
Optionally, first determining module also includes:Calculating sub module and the second determination sub-module,
The calculating sub module, the average value of the present battery charging current obtained for calculating each periodic sampling;
Second determination sub-module, for each cycle present battery charging current calculated when the calculating sub module Average value when reducing with periodicity, it is determined that the present battery charging current that sampling obtains change over time it is less and less.
Optionally, the adjusting module includes:
Acquisition submodule, the present battery charging current obtained for obtaining m-th of periodic sampling, wherein, m is more than 1 Integer;
Calculating sub module, the present battery charging current in m-th of the cycle obtained for calculating the acquisition submodule Average value and the predetermined system loss current sum, the maximum output current after being adjusted.
Optionally, said write module includes:
Judging submodule, for judging whether the maximum output current after the adjusting module adjustment is more than or equal to second Pre-set current value;
Submodule is write, is more than or equal to second for the maximum output current after judging submodule judges to adjust During pre-set current value, the maximum output current after the adjustment is write in the register of the charging circuit.
Optionally, described device also includes:
Second determining module, it is default for determining whether current charging current data meets according to preset charged current data Before condition, determine whether in constant-current charging phase, whether the screen of the terminal is closed and the end Whether the central processing unit at end is in idle condition;
Trigger module, for when second determining module determine be currently at constant-current charging phase, the terminal screen When curtain is closed and the central processing unit of the terminal is in idle condition, triggering is performed according to preset charged electric current number Whether meet the operation of preparatory condition according to the current charging current data of determination.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of terminal charging device, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Determine whether current charging current data meets preparatory condition, the preset charged according to preset charged current data Current data is when preset charged device charges to terminal, measures what is obtained to constant-current charging phase;
If current charging current data meets preparatory condition, according to the current charging current data and the preset charged Current data adjusts the maximum output current of the charging circuit of the terminal;
Maximum output current after the adjustment is write in the register of the charging circuit.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the present embodiment, when the power output of charger reduces, be less and less to the charging current of end cell, pass through The maximum output current of terminal charge circuit is adjusted, so as to realize control input to the electric current of rechargeable battery according to setting Change so that the charging process controllability of constant-current charging phase is stronger, improves the security and charge efficiency of charging, avoids terminal Battery because charger power deficiency and caused by damage.
In another embodiment, when being charged using non-original-pack charger to end cell, it is filled with to currently practical The present battery charging current of end cell is detected, and present battery charging current is entered less than original-pack charger to end cell The default battery charge of row charging, and when present battery charging current changes over time less and less, i.e., original-pack filled when non- When the power output of electrical equipment is less and less, the maximum output current of the charging circuit of terminal is adjusted.In such manner, it is possible to more The electric current of constant-current charging phase is accurately controlled, to realize that control input to the electric current of rechargeable battery changes according to setting so that The charging process controllability of constant-current charging phase is stronger, improves the security and charge efficiency of charging, avoids end cell because filling Appliance power is insufficient and causes to damage.
In another embodiment, it is defined, is kept away by the adjustment time interval of the maximum output current to charging circuit Exempt from frequently to be adjusted so as to cause to be filled with the curent change of battery frequent the maximum output current of charging circuit, reduce to electricity The infringement in pond.In addition, reduce the consumption to the disposal ability of terminal system.
In another embodiment, by the numerical value of present battery charging current, present battery charging current whether with the time Reduce, the adjustment time of the maximum output current of the last adjustment charging circuit of distance, three factors determine current charging current Whether data meet preparatory condition, i.e., whether to trigger the adjustment to the maximum output current of end cell.So, more accurately Ground controls the electric current of constant-current charging phase, to realize that control input to the electric current of rechargeable battery changes according to setting so that constant current The charging process controllability of charging stage is stronger, improves the security and charge efficiency of charging.Meanwhile avoid frequently to charging electricity The maximum output current on road is adjusted so as to cause to be filled with the curent change of battery frequent, reduces the infringement to battery.In addition, Reduce the consumption to the disposal ability of terminal system.
In another embodiment, the present battery charging current that one of them sampling period can be selected according to being actually needed Average value determines the maximum output current of the charging circuit of terminal.So as to the output current by adjusting charging circuit, control Input to the electric current of rechargeable battery and change according to setting so that the charging process controllability of constant-current charging phase is stronger, and raising is filled The security and charge efficiency of electricity.
In another embodiment, only when terminal currently meets certain condition, i.e., terminal is currently at constant-current charge rank Section and user not in using terminal, when terminal is also not carried out task, just the output current of charging circuit is adjusted, avoided Adjustment operation influences terminal task and performs and then influence usage experience of the user to terminal.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of terminal charging method according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of terminal charging method according to another exemplary embodiment.
Fig. 3 is a kind of flow chart of terminal charging method according to another exemplary embodiment.
Fig. 4 is a kind of flow chart of terminal charging method according to another exemplary embodiment.
Fig. 5 is a kind of flow chart of terminal charging method according to another exemplary embodiment.
Fig. 6 is a kind of flow chart of terminal charging method according to another exemplary embodiment.
Fig. 7 is a kind of flow chart of terminal charging method according to another exemplary embodiment.
Fig. 8 is a kind of flow chart of terminal charging method according to another exemplary embodiment.
Fig. 9 a are a kind of flow charts of terminal charging method according to another exemplary embodiment.
Fig. 9 b are the schematic diagrames of the charging stage curent change according to an exemplary embodiment.
Figure 10 is a kind of block diagram of terminal charging device according to an exemplary embodiment.
Figure 11 is the block diagram of the first determining module according to an exemplary embodiment.
Figure 12 is the block diagram of the first determining module according to another exemplary embodiment.
Figure 13 is the block diagram of the first determining module according to another exemplary embodiment.
Figure 14 is the block diagram of the adjusting module according to an exemplary embodiment.
Figure 15 is the block diagram of the writing module according to an exemplary embodiment.
Figure 16 is a kind of block diagram of terminal charging device according to an exemplary embodiment.
Figure 17 is a kind of block diagram of device for terminal charge according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
The technical scheme that the embodiment of the present disclosure provides, it is related to the constant-current charging phase of terminal, by terminal charge circuit Maximum output current be adjusted, so as to realize control input to rechargeable battery electric current according to set change so that constant current The charging process controllability of charging stage is stronger, improves the security and charge efficiency of charging, avoids end cell because of charger Underpower and cause to damage, postpone battery life.
The terminal of the present embodiment can be mobile phone, computer, digital broadcast terminal, messaging devices, play and control Any equipment with charge function such as platform processed, tablet device, Medical Devices, body-building equipment, personal digital assistant.
Fig. 1 is a kind of flow chart of terminal charging method according to an exemplary embodiment, as shown in figure 1, terminal Charging method comprises the following steps:
In step s 11, determine whether current charging current data meets preparatory condition according to preset charged current data, Preset charged current data is when preset charged device charges to terminal, measures what is obtained to constant-current charging phase.
Wherein, the preset charged device is the original-pack charger of the charging terminal, i.e., preset charged current data is using former During dress charger charges to terminal, the current data that measures to obtain to constant-current charging phase.
In step s 12, if current charging current data meets preparatory condition, according to current charging current data and preset The maximum output current of the charging circuit of charging current data adjustment terminal.
In step s 13, the maximum output current after adjustment is write in the register of charging circuit.
In the present embodiment, when the power output of charger reduces, be less and less to the charging current of end cell, pass through The maximum output current of terminal charge circuit is adjusted, so as to realize control input to the electric current of rechargeable battery according to setting Change so that the charging process controllability of constant-current charging phase is stronger, improves the security and charge efficiency of charging, avoids terminal Battery because charger power deficiency and caused by damage.
In another embodiment, when being charged using the original-pack charger of charging terminal to terminal, constant current is filled The preset charged current data that the electric stage measures to obtain includes:The default maximum charging current that the charging circuit of terminal is supported Icc-limit, be actually filled with the default battery charge I of end cellcc-actualAnd predetermined system loss current Icc-cost
Wherein, predetermined system loss current subtracts default battery charge equal to default maximum charging current, i.e., Icc-cost=Icc-limit-Icc-actual
In another embodiment, determine whether current charging current data meets preparatory condition in the following manner.
Fig. 2 is a kind of flow chart of terminal charging method according to another exemplary embodiment, as shown in Fig. 2 root Determine whether current charging current data meets preparatory condition according to preset charged current data, including:
In the step s 21, the currently practical present battery charging current for being filled with end cell is sampled;
In step S22, when default battery charge is more than with sampling the difference of obtained present battery charging current First pre-set current value, and when the obtained present battery charging current of sampling changes over time less and less, it is determined that current charging Current data meets preparatory condition.
Present battery charging current is Isample-actual, the first pre-set current value is Ifixed-set1.Work as Icc-actual- Isample-actual> Ifixed-set1When, and the present battery charging current I that sampling obtainssample-actualChange over time increasingly Hour, it is determined that current charging current data meets preparatory condition.
In the present embodiment, when being charged using non-original-pack charger to end cell, terminal is filled with to currently practical The present battery charging current of battery is detected, and present battery charging current is filled less than original-pack charger to end cell The default battery charge of electricity, and when present battery charging current changes over time less and less, i.e., when non-original-pack charger Power output it is less and less when, the maximum output current of the charging circuit of terminal is adjusted.
In such manner, it is possible to the electric current of constant-current charging phase is more precisely controlled, to realize control input to rechargeable battery Electric current changes according to setting so that the charging process controllability of constant-current charging phase is stronger, improves security and the charging of charging Efficiency, avoid end cell because charger power deficiency and caused by damage.
Fig. 3 is a kind of flow chart of terminal charging method according to another exemplary embodiment, as shown in figure 3, root Determine whether current charging current data meets preparatory condition according to preset charged current data, in addition to:
In step S31, the adjustment time of the maximum output current of last adjustment charging circuit is obtained;
In step s 32, when the adjustment time of the maximum output current of the last adjustment charging circuit of distance is more than or waits When prefixed time interval, it is determined that current charging current data meets preparatory condition.
For example, can be 10 minutes by the prefixed time interval, i.e., be just triggered every 10 minutes to the maximum defeated of charging circuit Go out the adjustment process of electric current.
In the present embodiment, it is defined by the adjustment time interval of the maximum output current to charging circuit, avoids frequency Numerous maximum output current to charging circuit is adjusted so as to cause to be filled with the curent change of battery frequent, is reduced to battery Infringement.In addition, reduce the consumption to the disposal ability of terminal system.
In another embodiment, the currently practical present battery charging current for being filled with end cell is sampled, wrapped Include:
The currently practical present battery charging current for being filled with end cell is sampled using n sampled point as the cycle, its In, n is the integer more than or equal to 2.
Fig. 4 is a kind of flow chart of terminal charging method according to another exemplary embodiment, as shown in figure 4, root Determine whether current charging current data meets preparatory condition according to preset charged current data, including:
In step S41, the average value for the present battery charging current that each periodic sampling obtains is calculated;
In step S42, when the average value of each cycle present battery charging current reduces with periodicity, it is determined that sampling Obtained present battery charging current changes over time less and less.
For example, since a certain fixed sample point sample [start], filled using n sampled point as the cycle to currently practical The present battery charging current for entering end cell is sampled, wherein, n is the integer more than or equal to 2.Obtain the 1st~3 cycle Present battery charging current average value:
As AVG (1_n) > AVG (n+1_2n+1) > AVG (2n+2_3n+2), it is determined that the present battery that sampling obtains fills Electric current changes over time less and less.
Fig. 5 is a kind of flow chart of terminal charging method according to another exemplary embodiment, as shown in figure 5, root Determine whether current charging current data meets preparatory condition according to preset charged current data, including:
In step s 51, it is the cycle to the currently practical present battery charging current for being filled with end cell using n sampled point Sampled, wherein, n is the integer more than or equal to 2.
In step S52, judge that default battery charge is with the difference for sampling obtained present battery charging current It is no to be more than the first pre-set current value, if it is, step S53 is performed, if not, performing step S57.
In step S53, the average value for the present battery charging current that each periodic sampling obtains is calculated;
In step S54, judge whether the average value of each cycle present battery charging current reduces with periodicity, if It is to perform step S54, if not, performing step S57.
In step S55, whether the adjustment time of the maximum output current of the last adjustment charging circuit of judging distance is big In or equal to prefixed time interval, if it is, step S56 is performed, if not, performing step S57.
In step S56, the operation of the maximum output current of the charging circuit of triggering adjustment terminal.
In step S57, terminate.
In the present embodiment, determine whether current charging current data meets preparatory condition by three factors, i.e., whether Trigger the adjustment to the maximum output current of end cell.So, the electric current of constant-current charging phase is more precisely controlled, with reality Existing control input to the electric current of rechargeable battery changes according to setting so that and the charging process controllability of constant-current charging phase is stronger, Improve the security and charge efficiency of charging.Meanwhile avoid frequently being adjusted the maximum output current of charging circuit so as to Cause the curent change for being filled with battery frequent, reduce the infringement to battery.In addition, reduce disappearing to the disposal ability of terminal system Consumption.
Meet preparatory condition in current charging current data, that is, trigger the adjustment to the maximum output current of end cell Afterwards, following adjustment specifically is done to the maximum output current of end cell.
Fig. 6 is a kind of flow chart of terminal charging method according to another exemplary embodiment, as shown in fig. 6, can Choosing, the maximum output current of the charging circuit of terminal is adjusted according to current charging current data and preset charged current data, Including:
In step S61, the present battery charging current that m-th of periodic sampling obtains is obtained, wherein, m is whole more than 1 Number;
In step S62, the average value and predetermined system loss current of the present battery charging current in m-th of cycle are calculated Sum, the maximum output current after being adjusted.
For example, the present battery charging current sample [start+2n+ that the 3rd periodic sampling can be selected to obtain 2],......,sample[start+3n+2].The average value of the present battery charging current in the 3rd cycle is AVG (2n+2_ 3n+2), predetermined system loss current is Icc-cost.Calculate the maximum output current I after adjustmentadapter_limit=AVG (2n+2_3n +2)+Icc-cost
, being averaged according to the present battery charging current for being actually needed one of them sampling period of selection in the present embodiment Value determines the maximum output current of the charging circuit of terminal.So as to the output current by adjusting charging circuit, control input Electric current to rechargeable battery changes according to setting so that the charging process controllability of constant-current charging phase is stronger, improves charging Security and charge efficiency.
Fig. 7 is a kind of flow chart of terminal charging method according to another exemplary embodiment, as shown in fig. 7, can Choosing, the maximum output current after adjustment is write in the register of charging circuit, including:
In step S71, judge whether the maximum output current after adjustment is more than or equal to the second pre-set current value;
In step S72, when the maximum output current after adjustment is more than or equal to the second pre-set current value, after adjustment Maximum output current write-in charging circuit register in.
Wherein the second pre-set current value can select the default minimum current value of current charger, or selection preset charged Larger value is as the second pre-set current value in cut-off current, or both selections.
If the maximum output current after adjustment is less than the second pre-set current value, do not adjust out processing.
Fig. 8 is a kind of flow chart of terminal charging method according to another exemplary embodiment, as shown in figure 8, can Choosing, before determining whether current charging current data meets preparatory condition according to preset charged current data, this method is also wrapped Include:
In step S81, determine whether in constant-current charging phase, whether the screen of terminal is closed and Whether the central processing unit of terminal is in idle condition;
In step S82, when be currently at constant-current charging phase, the screen of terminal is closed and the center of terminal When processor is in idle condition, triggering performs determines whether current charging current data meets according to preset charged current data The operation of preparatory condition.
In the present embodiment, only when terminal currently meets certain condition, i.e., terminal be currently at constant-current charging phase and User in using terminal, when terminal is also not carried out task, is not just adjusted to the output current of charging circuit, avoids adjusting Operation influences terminal task and performs and then influence usage experience of the user to terminal.
In addition, the central processing unit of the screen opening, terminal when terminal exits from idle status or constant-current charging phase terminates, That is any of three conditions are not met, and the maximum output current of terminal charge circuit is adjusted all without performing.
The overall flow of disclosure terminal charging method is described in detail below.
Fig. 9 a are a kind of flow charts of terminal charging method according to another exemplary embodiment, as illustrated in fig. 9, This method comprises the following steps.
In step S901, whether judgement is currently in constant-current charging phase, if it is, step S902 is performed, if not, Perform step S913.
In step S902, judge whether the screen of terminal is closed, if it is, step S903 is performed, if It is no, perform step S913.
In step S903, judge whether the central processing unit of terminal is in idle condition, if it is, performing step S904, if not, performing step S913.
In step S904, the currently practical present battery for being filled with end cell is charged using n sampled point as the cycle electric Stream is sampled, wherein, n is the integer more than or equal to 2.
In step S905, judge that default battery charge is with the difference for sampling obtained present battery charging current It is no to be more than the first pre-set current value, if it is, step S906 is performed, if not, performing step S913.
In step S906, the average value for the present battery charging current that each periodic sampling obtains is calculated;
In step s 907, judge whether the average value of each cycle present battery charging current reduces with periodicity, such as Fruit is to perform step S908, if not, performing step S913.
In step S908, whether the adjustment time of the maximum output current of the last adjustment charging circuit of judging distance is big In or equal to prefixed time interval, if it is, step S909 is performed, if not, performing step S913.
In step S909, the present battery charging current that m-th of periodic sampling obtains is obtained, wherein, m is more than 1 Integer;
In step S910, the average value and predetermined system loss electricity of the present battery charging current in m-th of cycle are calculated Flow sum, the maximum output current after being adjusted.
In step S911, judge whether the maximum output current after adjustment is more than or equal to the second pre-set current value, such as Fruit is to perform step S912, if not, terminating.
In step S912, the maximum output current after adjustment is write in the register of charging circuit.
In step S913, terminate.
In the present embodiment, when the power output of charger reduces, be less and less to the charging current of end cell, pass through The maximum output current of terminal charge circuit is adjusted, so as to realize control input to the electric current of rechargeable battery according to setting Change so that the charging process controllability of constant-current charging phase is stronger, improves the security and charge efficiency of charging, avoids terminal Battery because charger power deficiency and caused by damage.
Fig. 9 b are the schematic diagrames of the charging stage curent change according to an exemplary embodiment, as shown in figure 9b, can It is more next in constant-current charging phase, its charging current due to its power output deficiency when seeing that the non-original-pack charger of use is charged Smaller, therefore, in order to improve charge efficiency, delay battery life is, it is necessary to pass through the maximum output current to terminal charge circuit It is adjusted, accurately controls input to the electric current of rechargeable battery.
Following is embodiment of the present disclosure, can be used for performing embodiments of the present disclosure.
Figure 10 is a kind of block diagram of terminal charging device according to an exemplary embodiment, and the device can be by soft Part, hardware or both are implemented in combination with as some or all of of electronic equipment.As shown in Figure 10, the terminal charge fills Put, including:
First determining module 101, it is configured as whether determining current charging current data according to preset charged current data Meet preparatory condition, preset charged current data is when preset charged device charges to terminal, and constant-current charging phase is entered Row measurement obtains;
Adjusting module 102, if being configured as current charging current data meets preparatory condition, according to current charging current number According to and preset charged current data adjustment terminal charging circuit maximum output current;
Writing module 103, it is configured as posting for the write-in charging circuit of the maximum output current after adjusting module 102 is adjusted In storage.
In the present embodiment, the power output for determining charger in the first determining module reduces, the charging electricity to end cell When flowing less and less, the maximum output current of terminal charge circuit is adjusted by adjusting module, writing module will adjust In the register of maximum output current write-in charging circuit afterwards.So as to realize control input to the electric current of rechargeable battery according to setting Put change so that the charging process controllability of constant-current charging phase is stronger, improves the security and charge efficiency of charging, avoids end End-cell because charger power deficiency and caused by damage.
In another embodiment, when being charged using the original-pack charger of charging terminal to terminal, constant current is filled The preset charged current data that the electric stage measures to obtain includes:The default maximum charging current that the charging circuit of terminal is supported Icc-limit, be actually filled with the default battery charge I of end cellcc-actualAnd predetermined system loss current Icc-cost
Wherein, predetermined system loss current subtracts default battery charge equal to default maximum charging current, i.e., Icc-cost=Icc-limit-Icc-actual
In another embodiment, the first determining module can have following several structures.
Figure 11 is the block diagram of the first determining module according to an exemplary embodiment, and as shown in figure 11, first determines Module 101 includes:The determination sub-module 112 of submodule 111 and first is sampled,
Submodule 111 is sampled, is configured as adopting the currently practical present battery charging current for being filled with end cell Sample;
First determination sub-module 112, it is configured as default battery charge and works as with what sampling submodule sampled to obtain The difference of preceding battery charge is more than the first pre-set current value, and the present battery charging current that sampling obtains changes over time When less and less, it is determined that current charging current data meets preparatory condition.
Present battery charging current is Isample-actual, the first pre-set current value is Ifixed-set1.Work as Icc-actual- Isample-actual> Ifixed-set1When, and the present battery charging current I that sampling obtainssample-actualChange over time increasingly Hour, it is determined that current charging current data meets preparatory condition.
In the present embodiment, when being charged using non-original-pack charger to end cell, sampling submodule is to current real The present battery charging current that border is filled with end cell is sampled, and the first determination sub-module determines that present battery charging current is small The default battery charge to be charged in original-pack charger to end cell, and present battery charging current changes over time When less and less, i.e., when the power output of non-original-pack charger is less and less, to the maximum output electricity of the charging circuit of terminal Stream is adjusted.
In such manner, it is possible to the electric current of constant-current charging phase is more precisely controlled, to realize control input to rechargeable battery Electric current changes according to setting so that the charging process controllability of constant-current charging phase is stronger, improves security and the charging of charging Efficiency, avoid end cell because charger power deficiency and caused by damage.
Figure 12 is the block diagram of the first determining module according to another exemplary embodiment, as shown in figure 12, optionally, First determining module 101 also includes:Acquisition submodule 113,
Acquisition submodule 113, it is configured as obtaining the adjustment time of the maximum output current of last adjustment charging circuit;
First determination sub-module 112, it is configured as the last adjustment charging circuit of distance that acquisition submodule is got The adjustment time of maximum output current when being more than or equal to prefixed time interval, it is determined that current charging current data meet it is default Condition.
For example, can be 10 minutes by the prefixed time interval, i.e., be just triggered every 10 minutes to the maximum defeated of charging circuit Go out the adjustment process of electric current.
In the present embodiment, it is defined by the adjustment time interval of the maximum output current to charging circuit, avoids frequency Numerous maximum output current to charging circuit is adjusted so as to cause to be filled with the curent change of battery frequent, is reduced to battery Infringement.In addition, reduce the consumption to the disposal ability of terminal system.
Optionally, submodule 111 is sampled, is configured as being filled with end cell to currently practical using n sampled point as the cycle Present battery charging current sampled, wherein, n is integer more than or equal to 2.
Figure 13 is the block diagram of the first determining module according to another exemplary embodiment, as shown in figure 13, optionally, First determining module 101 also includes:The determination sub-module 115 of calculating sub module 114 and second,
Calculating sub module 114, it is configured as calculating the average value for the present battery charging current that each periodic sampling obtains;
Second determination sub-module 115, it is configured as each cycle present battery charging current of calculating sub module calculating Average value when reducing with periodicity, it is determined that the present battery charging current that sampling obtains change over time it is less and less.
For example, since a certain fixed sample point sample [start], filled using n sampled point as the cycle to currently practical The present battery charging current for entering end cell is sampled, wherein, n is the integer more than or equal to 2.Calculating sub module 114 is counted Calculate the average value of the present battery charging current in the 1st~3 cycle:
As AVG (1_n) > AVG (n+1_2n+1) > AVG (2n+2_3n+2), the second determination sub-module 115 determines sampling Obtained present battery charging current changes over time less and less.
In the present embodiment, determine whether current charging current data meets preparatory condition by three factors, i.e., whether Trigger the adjustment to the maximum output current of end cell.So, the electric current of constant-current charging phase is more precisely controlled, with reality Existing control input to the electric current of rechargeable battery changes according to setting so that and the charging process controllability of constant-current charging phase is stronger, Improve the security and charge efficiency of charging.Meanwhile avoid frequently being adjusted the maximum output current of charging circuit so as to Cause the curent change for being filled with battery frequent, reduce the infringement to battery.In addition, reduce disappearing to the disposal ability of terminal system Consumption.
Figure 14 is the block diagram of the adjusting module according to an exemplary embodiment, as shown in figure 14, optionally, adjusts mould Block 102 includes:
Acquisition submodule 141, it is configured as obtaining the present battery charging current that m-th of periodic sampling obtains, wherein, m For the integer more than 1;
Calculating sub module 142, it is configured as calculating the present battery charging current in m-th of cycle that acquisition submodule obtains Average value and predetermined system loss current sum, the maximum output current after being adjusted.
For example, acquisition submodule 141 obtains the present battery charging current sample [start that the 3rd periodic sampling obtains +2n+2],......,sample[start+3n+2].The present battery charging current in the 3rd cycle of calculating sub module 142 Average value is AVG (2n+2_3n+2), and predetermined system loss current is Icc-cost.Calculate the maximum output current after adjustment Iadapter_limit=AVG (2n+2_3n+2)+Icc-cost
, being averaged according to the present battery charging current for being actually needed one of them sampling period of selection in the present embodiment Value determines the maximum output current of the charging circuit of terminal.So as to the output current by adjusting charging circuit, control input Electric current to rechargeable battery changes according to setting so that the charging process controllability of constant-current charging phase is stronger, improves charging Security and charge efficiency.
Figure 15 is the block diagram of the writing module according to an exemplary embodiment, as shown in figure 15, optionally, writes mould Block 103 includes:
Judging submodule 151, it is configured as judging whether the maximum output current after adjusting module adjustment is more than or equal to Second pre-set current value;
Submodule 152 is write, judging submodule is configured as and judges that the maximum output current after adjustment is more than or equal to During the second pre-set current value, the maximum output current after adjustment is write in the register of charging circuit.
Wherein the second pre-set current value can select the default minimum current value of current charger, or selection preset charged Larger value is as the second pre-set current value in cut-off current, or both selections.
If the maximum output current after adjustment is less than the second pre-set current value, do not adjust out processing.
Figure 16 is a kind of block diagram of terminal charging device according to an exemplary embodiment, as shown in figure 16, optional , the device also includes:
Second determining module 104, it is configured as whether determining current charging current data according to preset charged current data Before meeting preparatory condition, determine whether to be closed in constant-current charging phase, the screen of terminal and whole Whether the central processing unit at end is in idle condition;
Trigger module 105, it is configured as the second determining module and determines to be currently at constant-current charging phase, the screen of terminal It is closed and when the central processing unit of terminal is in idle condition, triggering performs to be determined according to preset charged current data Whether current charging current data meets the operation of preparatory condition.
In the present embodiment, only when the second determining module determines that terminal currently meets certain condition, i.e., terminal is currently located In constant-current charging phase and user is not in using terminal, and when terminal is also not carried out task, trigger module is just triggered to charging electricity The output current on road is adjusted, and avoiding adjustment operation from influenceing, terminal task performs and then influence user uses body to terminal Test.
The disclosure also provides a kind of terminal charging device, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, processor is configured as:
Determine whether current charging current data meets preparatory condition, preset charged electric current according to preset charged current data Data are when preset charged device charges to terminal, measure what is obtained to constant-current charging phase;
If current charging current data meets preparatory condition, according to current charging current data and preset charged current data Adjust the maximum output current of the charging circuit of terminal;
By in the register of the maximum output current write-in charging circuit after adjustment.
Figure 17 is a kind of block diagram of device for terminal charge according to an exemplary embodiment, and the device is applicable In terminal device.For example, device 1700 can be video camera, sound pick-up outfit, mobile phone, computer, digital broadcast terminal, disappear Cease transceiver, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Device 1700 can include following one or more assemblies:Processing component 1702, memory 1704, power supply module 1706, multimedia groupware 1708, audio-frequency assembly 1710, the interface 1712 of input/output (I/O), sensor cluster 1714, and Communication component 1716.
The integrated operation of the usual control device 1700 of processing component 1702, such as communicated with display, call, data, The operation that camera operation and record operation are associated.Processing component 1702 can include one or more processors 1720 to perform Instruction, to complete all or part of step of above-mentioned method.In addition, processing component 1702 can include one or more moulds Block, the interaction being easy between processing component 1702 and other assemblies.For example, processing component 1702 can include multi-media module, To facilitate the interaction between multimedia groupware 1708 and processing component 1702.
Memory 1704 is configured as storing various types of data to support the operation in equipment 1700.These data Example includes being used for the instruction of any application program or method operated on device 1700, contact data, telephone book data, Message, picture, video etc..Memory 1704 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Power supply module 1706 provides electric power for the various assemblies of device 1700.Power supply module 1706 can include power management System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 1700.
Multimedia groupware 1708 is included in the screen of one output interface of offer between described device 1700 and user. In some embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch and passed Sensor is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or slip be dynamic The border of work, but also detect the duration and pressure related to the touch or slide.In certain embodiments, it is more Media component 1708 includes a front camera and/or rear camera.When equipment 1700 is in operator scheme, mould is such as shot When formula or video mode, front camera and/or rear camera can receive outside multi-medium data.Each preposition shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 1710 is configured as output and/or input audio signal.For example, audio-frequency assembly 1710 includes a wheat Gram wind (MIC), when device 1700 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone quilt It is configured to receive external audio signal.The audio signal received can be further stored in memory 1704 or via communication Component 1716 is sent.In certain embodiments, audio-frequency assembly 1710 also includes a loudspeaker, for exports audio signal.
I/O interfaces 1712 provide interface, above-mentioned peripheral interface module between processing component 1702 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and Locking press button.
Sensor cluster 1714 includes one or more sensors, and the state for providing various aspects for device 1700 is commented Estimate.For example, sensor cluster 1714 can detect opening/closed mode of equipment 1700, the relative positioning of component, such as institute The display and keypad that component is device 1700 are stated, sensor cluster 1714 can be with detection means 1700 or device 1,700 1 The position of individual component changes, the existence or non-existence that user contacts with device 1700, the orientation of device 1700 or acceleration/deceleration and dress Put 1700 temperature change.Sensor cluster 1714 can include proximity transducer, be configured in no any physics The presence of object nearby is detected during contact.Sensor cluster 1714 can also include optical sensor, as CMOS or ccd image are sensed Device, for being used in imaging applications.In certain embodiments, the sensor cluster 1714 can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1716 is configured to facilitate the communication of wired or wireless way between device 1700 and other equipment.Dress The wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof can be accessed by putting 1700.It is exemplary at one In embodiment, communication component 1716 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1716 also includes near-field communication (NFC) module, to promote short distance Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1700 can be by one or more application specific integrated circuits (ASIC), numeral Signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 1704 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 1720 of device 1700.Example Such as, the non-transitorycomputer readable storage medium can be ROM, it is random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 1200 When device performs so that the method that device 1200 is able to carry out above-mentioned terminal charge, methods described include:
Determine whether current charging current data meets preparatory condition, the preset charged according to preset charged current data Current data is when preset charged device charges to terminal, measures what is obtained to constant-current charging phase;
If current charging current data meets preparatory condition, according to the current charging current data and the preset charged Current data adjusts the maximum output current of the charging circuit of the terminal;
Maximum output current after the adjustment is write in the register of the charging circuit.
Optionally, the preset charged current data includes:The default maximum charge that the charging circuit of the terminal is supported Electric current, the default battery charge for being actually filled with the end cell, predetermined system loss current;
It is described to determine whether current charging current data meets preparatory condition according to preset charged current data, including:
The currently practical present battery charging current for being filled with the end cell is sampled;
When the difference for the present battery charging current that the default battery charge obtains with sampling is more than first Pre-set current value, and when the obtained present battery charging current of sampling changes over time less and less, determine described current Charging current data meets preparatory condition.
It is optionally, described to determine whether current charging current data meets preparatory condition according to preset charged current data, Also include:
Obtain the adjustment time of the last maximum output current for adjusting the charging circuit;
When the adjustment time of the last maximum output current for adjusting the charging circuit of distance is more than or equal to default Between when being spaced, determine that the current charging current data meets preparatory condition.
Optionally, it is described that the currently practical present battery charging current for being filled with the end cell is sampled, including:
The currently practical present battery charging current for being filled with the end cell is adopted using n sampled point as the cycle Sample, wherein, n is the integer more than or equal to 2.
It is optionally, described to determine whether current charging current data meets preparatory condition according to preset charged current data, Including:
Calculate the average value for the present battery charging current that each periodic sampling obtains;
When the average value of each cycle present battery charging current reduces with periodicity, it is determined that sampling obtain it is described work as Preceding battery charge changes over time less and less.
Optionally, it is described that the terminal is adjusted according to the current charging current data and the preset charged current data Charging circuit maximum output current, including:
The present battery charging current that m-th of periodic sampling obtains is obtained, wherein, m is the integer more than 1;
Calculate the average value of the present battery charging current in m-th of cycle and the predetermined system loss current it With the maximum output current after being adjusted.
Optionally, the maximum output current by after the adjustment is write in the register of the charging circuit, including:
Judge whether the maximum output current after the adjustment is more than or equal to the second pre-set current value;
When the maximum output current after the adjustment is more than or equal to the second pre-set current value, by after the adjustment most Big output current is write in the register of the charging circuit.
Optionally, it is described according to preset charged current data determine current charging current data whether meet preparatory condition it Before, methods described also includes:
Determine whether in constant-current charging phase, whether the screen of the terminal is closed and the terminal Central processing unit whether be in idle condition;
When be currently at constant-current charging phase, the screen of the terminal is closed and the central processing of the terminal When device is in idle condition, triggering performs that according to preset charged current data to determine whether current charging current data meets default The operation of condition.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice disclosure disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (16)

  1. A kind of 1. terminal charging method, it is characterised in that including:
    Determine whether current charging current data meets preparatory condition, the preset charged electric current according to preset charged current data Data are when preset charged device charges to terminal, measure what is obtained to constant-current charging phase;
    If current charging current data meets preparatory condition, according to the current charging current data and the preset charged electric current The maximum output current of the charging circuit of terminal described in data point reuse;
    Maximum output current after the adjustment is write in the register of the charging circuit;
    The preset charged current data includes:The default maximum charging current of the charging circuit support of the terminal, actually fill Enter default battery charge, the predetermined system loss current of the end cell;
    It is described to determine whether current charging current data meets preparatory condition according to preset charged current data, including:
    The currently practical present battery charging current for being filled with the end cell is sampled;
    Preset when the difference for the present battery charging current that the default battery charge obtains with sampling is more than first Current value, and when the obtained present battery charging current of sampling changes over time less and less, determine the current charging Current data meets preparatory condition.
  2. 2. according to the method for claim 1, it is characterised in that described that current charging is determined according to preset charged current data Whether current data meets preparatory condition, in addition to:
    Obtain the adjustment time of the last maximum output current for adjusting the charging circuit;
    Between the adjustment time of the last maximum output current for adjusting the charging circuit of distance is more than or equal to preset time Every when, determine that the current charging current data meets preparatory condition.
  3. 3. method according to claim 1 or 2, it is characterised in that described to be filled with the end cell to currently practical Present battery charging current is sampled, including:
    The currently practical present battery charging current for being filled with the end cell is sampled using n sampled point as the cycle, its In, n is the integer more than or equal to 2.
  4. 4. according to the method for claim 3, it is characterised in that described that current charging is determined according to preset charged current data Whether current data meets preparatory condition, including:
    Calculate the average value for the present battery charging current that each periodic sampling obtains;
    When the average value of each cycle present battery charging current reduces with periodicity, it is determined that the current electricity that sampling obtains Pond charging current changes over time less and less.
  5. 5. according to the method for claim 3, it is characterised in that described according to the current charging current data and described pre- If charging current data adjusts the maximum output current of the charging circuit of the terminal, including:
    The present battery charging current that m-th of periodic sampling obtains is obtained, wherein, m is the integer more than 1;
    The average value of the present battery charging current in m-th of cycle and the predetermined system loss current sum are calculated, is obtained Maximum output current after to adjustment.
  6. 6. according to the method for claim 1, it is characterised in that the maximum output current by after the adjustment writes institute In the register for stating charging circuit, including:
    Judge whether the maximum output current after the adjustment is more than or equal to the second pre-set current value;
    , will be maximum defeated after the adjustment when the maximum output current after the adjustment is more than or equal to the second pre-set current value Go out electric current to write in the register of the charging circuit.
  7. 7. according to the method for claim 1, it is characterised in that described that current charging is determined according to preset charged current data Before whether current data meets preparatory condition, methods described also includes:
    Determine whether be closed and in the terminal in constant-current charging phase, the screen of the terminal Whether central processor is in idle condition;
    When be currently at constant-current charging phase, the screen of the terminal is closed and at the central processing unit of the terminal When idle condition, triggering performs determines whether current charging current data meets preparatory condition according to preset charged current data Operation.
  8. A kind of 8. terminal charging device, it is characterised in that including:
    First determining module, for determining whether current charging current data meets default bar according to preset charged current data Part, the preset charged current data are when preset charged device charges to terminal, and constant-current charging phase is measured Obtain;
    Adjusting module, if meeting preparatory condition for current charging current data, according to the current charging current data and institute State the maximum output current that preset charged current data adjusts the charging circuit of the terminal;
    Writing module, the register of the charging circuit is write for the maximum output current after the adjusting module is adjusted In;
    The preset charged current data includes:The default maximum charging current of the charging circuit support of the terminal, actually fill Enter default battery charge, the predetermined system loss current of the end cell;First determining module includes:Sampling Module and the first determination sub-module,
    The sampling submodule, for being sampled to the currently practical present battery charging current for being filled with the end cell;
    First determination sub-module, for when the default battery charge and the institute for sampling submodule and sampling to obtain The difference for stating present battery charging current is more than the first pre-set current value, and the obtained present battery charging current of sampling with When time change is less and less, determine that the current charging current data meets preparatory condition.
  9. 9. device according to claim 8, it is characterised in that first determining module also includes:Acquisition submodule,
    The acquisition submodule, for obtaining the adjustment time of the last maximum output current for adjusting the charging circuit;
    First determination sub-module, the last adjustment charging circuit of distance for being got when the acquisition submodule The adjustment time of maximum output current when being more than or equal to prefixed time interval, determine that the current charging current data meets Preparatory condition.
  10. 10. device according to claim 8 or claim 9, it is characterised in that the sampling submodule, for using n sampled point as Cycle samples to the currently practical present battery charging current for being filled with the end cell, wherein, n is more than or equal to 2 Integer.
  11. 11. device according to claim 10, it is characterised in that first determining module also includes:Calculating sub module With the second determination sub-module,
    The calculating sub module, the average value of the present battery charging current obtained for calculating each periodic sampling;
    Second determination sub-module, for the flat of each cycle present battery charging current for being calculated when the calculating sub module When average reduces with periodicity, it is determined that the obtained present battery charging current of sampling change over time it is less and less.
  12. 12. device according to claim 10, it is characterised in that the adjusting module includes:
    Acquisition submodule, the present battery charging current obtained for obtaining m-th of periodic sampling, wherein, m is whole more than 1 Number;
    Calculating sub module, the present battery charging current in m-th of the cycle obtained for calculating the acquisition submodule are averaged Value and the predetermined system loss current sum, the maximum output current after being adjusted.
  13. 13. device according to claim 8, it is characterised in that said write module includes:
    Judging submodule, for judging whether the maximum output current after the adjusting module adjustment is default more than or equal to second Current value;
    Submodule is write, it is default to be more than or equal to second for the maximum output current after judging submodule judges to adjust During current value, the maximum output current after the adjustment is write in the register of the charging circuit.
  14. 14. device according to claim 8, it is characterised in that described device also includes:
    Second determining module, for determining whether current charging current data meets preparatory condition according to preset charged current data Before, determine whether in constant-current charging phase, whether the screen of the terminal be closed and the terminal Whether central processing unit is in idle condition;
    Trigger module, for when second determining module determine be currently at constant-current charging phase, the terminal screen at When the central processing unit of closed mode and the terminal is in idle condition, triggering performs true according to preset charged current data Whether settled preceding charging current data meets the operation of preparatory condition.
  15. A kind of 15. terminal charging device, it is characterised in that including:
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, the processor is configured as:
    Determine whether current charging current data meets preparatory condition, the preset charged electric current according to preset charged current data Data are when preset charged device charges to terminal, measure what is obtained to constant-current charging phase;
    If current charging current data meets preparatory condition, according to the current charging current data and the preset charged electric current The maximum output current of the charging circuit of terminal described in data point reuse;
    Maximum output current after the adjustment is write in the register of the charging circuit;
    The preset charged current data includes:The default maximum charging current of the charging circuit support of the terminal, actually fill Enter default battery charge, the predetermined system loss current of the end cell;
    It is described to determine whether current charging current data meets preparatory condition according to preset charged current data, including:
    The currently practical present battery charging current for being filled with the end cell is sampled;
    Preset when the difference for the present battery charging current that the default battery charge obtains with sampling is more than first Current value, and when the obtained present battery charging current of sampling changes over time less and less, determine the current charging Current data meets preparatory condition;
    The preset charged current data includes:The default maximum charging current of the charging circuit support of the terminal, actually fill Enter default battery charge, the predetermined system loss current of the end cell;
    It is described to determine whether current charging current data meets preparatory condition according to preset charged current data, including:
    The currently practical present battery charging current for being filled with the end cell is sampled;
    Preset when the difference for the present battery charging current that the default battery charge obtains with sampling is more than first Current value, and when the obtained present battery charging current of sampling changes over time less and less, determine the current charging Current data meets preparatory condition.
  16. 16. a kind of computer-readable recording medium, is stored thereon with computer instruction, it is characterised in that the instruction is by processor The step of the claims 1-7 methods describeds are realized during execution.
CN201510857501.6A 2015-11-30 2015-11-30 terminal charging method and device Active CN105337368B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510857501.6A CN105337368B (en) 2015-11-30 2015-11-30 terminal charging method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510857501.6A CN105337368B (en) 2015-11-30 2015-11-30 terminal charging method and device

Publications (2)

Publication Number Publication Date
CN105337368A CN105337368A (en) 2016-02-17
CN105337368B true CN105337368B (en) 2018-02-02

Family

ID=55287733

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510857501.6A Active CN105337368B (en) 2015-11-30 2015-11-30 terminal charging method and device

Country Status (1)

Country Link
CN (1) CN105337368B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110212598A (en) * 2016-04-12 2019-09-06 Oppo广东移动通信有限公司 Battery charging management method, apparatus and user equipment
CN107009907B (en) * 2017-03-27 2023-05-19 深圳市前海中电新能源科技有限公司 Output sampling method and device of charging device
CN110392968A (en) 2018-09-06 2019-10-29 Oppo广东移动通信有限公司 A kind of charging method of adjustment, terminal and computer storage medium
CN112865207A (en) * 2019-11-28 2021-05-28 北京小米移动软件有限公司 Charging control method and device, mobile terminal and storage medium
CN111175654B (en) * 2020-01-13 2022-05-13 广州小鹏汽车科技有限公司 Power battery charging remaining time calculation method and device, vehicle and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103326078A (en) * 2012-03-23 2013-09-25 深圳富泰宏精密工业有限公司 Mobile device charging method and system
CN104539004A (en) * 2014-12-09 2015-04-22 惠州Tcl移动通信有限公司 Charging protection mobile terminal and method of charging protection mobile terminal
CN104779675A (en) * 2015-04-28 2015-07-15 惠州Tcl移动通信有限公司 Mobile terminal current control method and device thereof
EP3007306A1 (en) * 2013-06-05 2016-04-13 Kimree Hi-Tech Inc. Electronic cigarette charging method and electronic cigarette case

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW486181U (en) * 2000-07-24 2002-05-01 Twinhead Int Corp Charging circuit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103326078A (en) * 2012-03-23 2013-09-25 深圳富泰宏精密工业有限公司 Mobile device charging method and system
EP3007306A1 (en) * 2013-06-05 2016-04-13 Kimree Hi-Tech Inc. Electronic cigarette charging method and electronic cigarette case
CN104539004A (en) * 2014-12-09 2015-04-22 惠州Tcl移动通信有限公司 Charging protection mobile terminal and method of charging protection mobile terminal
CN104779675A (en) * 2015-04-28 2015-07-15 惠州Tcl移动通信有限公司 Mobile terminal current control method and device thereof

Also Published As

Publication number Publication date
CN105337368A (en) 2016-02-17

Similar Documents

Publication Publication Date Title
CN105337368B (en) terminal charging method and device
CN104539009B (en) charging management method and device
CN110868626B (en) Method and device for preloading content data
CN104281432A (en) Method and device for regulating sound effect
CN104219383A (en) Terminal power information prompting method and device
CN108256555A (en) Picture material recognition methods, device and terminal
CN106712219A (en) Charging protection method and device
CN104090741A (en) Statistical method and device for electronic book reading
CN105100197B (en) The method and device of application is installed
CN105376903A (en) Method and device for adjusting brightness
CN106846638A (en) The surplus management method and device of intelligence instrument
EP3657144B1 (en) Circuitry and method for detecting temperature of wireless charging coil, and storage medium
CN106250430A (en) The sort method of smart machine list and device
CN103888601A (en) Method, device and terminal for information warning
CN108121631A (en) Screen abnormality based reminding method and device
CN104464674B (en) Liquid crystal display method of adjustment and device
CN106786997A (en) Charging method and device
CN107509118A (en) Main broadcaster's display methods, device and computer-readable recording medium
CN105446858A (en) Replacement prompt method and apparatus for battery
CN105630655B (en) A kind of method and apparatus of prompt charging connection
CN107193716A (en) Resource occupation display methods and device
CN104501790B (en) The calibration method and device of electronic compass
CN105098882B (en) input current distribution method and device
CN106599191A (en) User attribute analysis method and device
CN104485713A (en) Charge control method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant