A kind of charging method and device
Technical field
The present invention relates to technical field of electronic products, more particularly to a kind of charging method and device.
Background technology
At present, with the development of science and technology recent years, under mobile terminal fast development, increasing crowd can be with
Using to intelligent mobile terminal, the popular universalness of mobile terminal will be already into development trend.
The charging inlet of mobile terminal has good compatibility at present, can compatible different model charging adapter,
The power of the charging adapter of various models, rated voltage, rated current etc. are mostly different, user for convenience, in movement
When terminal carries charging adapter loss or left behind, mobile terminal is charged using non-standard charging adapter.
Particularly there are various different fast charge charging adapters again in the recent period, make the charging adapter that can not be standardized originally
Market is more chaotic.And user is filled under unwitting situation using the non-charging adapter carried to mobile terminal
Electricity, because all types of charging adapter output current values is different, and mobile terminal can not be to the output current of charging adapter
Value is carried out adaptively, because of this, it is very likely that damage mobile terminal occur, can not being charged or mobile terminal occur always
Restart, the phenomenon that recharge and charging unfinished just stop charging always.Differ in face of charging adapter standard, quality
It is uneven to bring the problem of above-mentioned to user, mobile terminal user's experience is had a greatly reduced quality.
The content of the invention
The invention provides a kind of charging method and device, to solve existing for existing charging scheme in charging process
Mobile terminal can not carry out adaptive to the output current value of charging adapter and damage mobile terminal or intelligent mobile occur
The problem of terminal repeats to restart always, recharge and charging unfinished just stop charging always.
In order to solve the above problems, the invention discloses a kind of charging method, methods described includes:
When being charged using charging adapter to mobile terminal, the charging that the charging adapter currently exports is determined
Voltage;Judge the charging voltage whether in the first preset range;If the charging voltage is in the first preset range, and institute
When to state charging adapter be standard charging adapter, using the first pre-set current value as step values are incremented by, increase the charging stepwise
The output charging current of adapter;The output voltage of the charging adapter is monitored in real time, according to the output voltage and in advance
If electric current determines rule, determine that charging current higher limit charges to the mobile terminal.
Preferably, it is described to determine rule according to the output voltage and predetermined current, determine charging current higher limit pair
The step of mobile terminal is charged includes:Judge whether the output voltage is decreased to the first preset voltage value;When subtracting
As low as first preset voltage value when, stopping increases the charging current stepwise, and by current flow and the second predetermined current
The difference of value charges as charging current higher limit to the mobile terminal.
Preferably, it is described to determine rule according to the output voltage and predetermined current, determine charging current higher limit pair
The mobile terminal, which is charged, also to be included:When the output voltage is not decreased to the first preset voltage value, filled described in judgement
Whether Electric adapter, which enters, terminates output state;If the output voltage is not decreased to the first preset voltage value and the charging
When adapter enters termination output state, using the difference of current flow and second pre-set current value as the charging current upper limit
Value, charges to the mobile terminal.
Preferably, methods described also includes:It is default with the 3rd when the charging adapter is non-standard charging adapter
Current value charges to mobile terminal.
Preferably, methods described also includes:When current charging voltage is not in first preset range, filled described in control
Electric adapter stops charging to the mobile terminal.
In order to solve the above problems, the invention also discloses a kind of charging device, described device includes:Determine voltage-mode
Block, for when being charged using charging adapter to mobile terminal, determining the charging that the charging adapter currently exports
Voltage;Judge module, for judging the charging voltage whether in the first preset range;First charging module, if for institute
It is charging voltage in the first preset range to state the judged result of judge module, and the charging adapter is standard charging adaptation
During device, using the first pre-set current value as step values are incremented by, increase the output charging current of the charging adapter stepwise;Detect mould
Block, for monitoring the output voltage of the charging adapter in real time;Determining module, for according to the output voltage and default
Electric current determines rule, determines that charging current higher limit charges to the mobile terminal.
Preferably, the determining module includes:First judging submodule, for judging whether the output voltage is decreased to
First preset voltage value;Second determination sub-module, when being decreased to first preset voltage value, stop filling described in increase stepwise
Electric current, and the mobile terminal is carried out using the difference of current flow and the second pre-set current value as charging current higher limit
Charging.
Preferably, the determining module also includes:Second judging submodule, for sentencing when first judging submodule
When disconnected result is that output voltage is not decreased to the first preset voltage value, judges whether the charging adapter enters and terminate output shape
State;Second determination sub-module, for not to be decreased to first pre- for output voltage when the judged result of first judging submodule
, will be current if the judged result of magnitude of voltage and second judging submodule enters termination output state for charging adapter
The difference of electric current and second pre-set current value charges as charging current higher limit to the mobile terminal.
Preferably, described device also includes:Second charging module, for being fitted when the charging adapter for non-standard charging
During orchestration, mobile terminal is charged with the 3rd pre-set current value.
Preferably, described device also includes:Stopping modular, for being current charging when the judged result of the judge module
When voltage is not in first preset range, the charging adapter is controlled to stop charging to the mobile terminal.
Compared with prior art, the present invention has advantages below:
Charging scheme provided in an embodiment of the present invention, when being charged using standard charging adapter to mobile terminal,
It is determined that the charging voltage currently exported;Judge charging voltage whether in the first preset range;If with the first predetermined current
It is worth for incremental step values, increases the output charging current of the charging adapter stepwise;The output of monitoring charging adapter in real time
Voltage, rule is determined according to output voltage and predetermined current, determines that charging current higher limit charges to mobile terminal.Can
See, charging scheme provided in an embodiment of the present invention, mobile terminal can determine charging current higher limit for charging adapter, right
The charging current of charging adapter output is carried out adaptively, adaptive due to that can be carried out to the charging current that charging adapter exports
Should, therefore can avoid occurring in charging process that mobile terminal repeats to restart always or charging unfinished just stops asking for charging
Topic.
Brief description of the drawings
Fig. 1 is a kind of step flow chart of charging method of the embodiment of the present invention one;
Fig. 2 is a kind of step flow chart of charging method of the embodiment of the present invention two;
Fig. 3 is a kind of structured flowchart of charging device of the embodiment of the present invention three;
Fig. 4 is a kind of structured flowchart of charging device of the embodiment of the present invention four;
Fig. 5 is a kind of connection structure diagram of charging device of the embodiment of the present invention five.
Embodiment
In order to facilitate the understanding of the purposes, features and advantages of the present invention, it is below in conjunction with the accompanying drawings and specific real
Applying mode, the present invention is further detailed explanation.
Embodiment one
Reference picture 1, show a kind of step flow chart of charging method of the embodiment of the present invention one.
The embodiment of the present invention comprises the following steps to charging method:
Step S101:When being charged using charging adapter to mobile terminal, determine that charging adapter currently exports
Charging voltage.
Charging voltage detection module, sampling resistor and charging process module, charging voltage mould are provided with mobile terminal
Block is on the charging path being directly parallel between charging adapter and charging process module, and charging voltage detection module passes through interior
Portion's ADC, which can be read, is calculated charging adapter output voltage.
Step S102:Judge charging voltage whether in the first preset range;If so, step S103 is then performed, if it is not, then
Perform setting operation.
Wherein, setting operation can be:Control charging adapter stops charging to mobile terminal.
Charging voltage detection module is by the charging voltage real-time delivery read to charging process module, charging process module
Charging behavior is operated according to the charge voltage range of setting.
By detected current charging voltage and the higher limit of the first preset range, compared with lower limit, judge
Whether charging voltage is in the first preset range
Step S103:If charging voltage is in the first preset range, and when charging adapter is standard charging adapter, with
First pre-set current value is to be incremented by step values, increases the output charging current of charging adapter stepwise.
When higher limit of the detected current charging voltage less than the first preset range, more than under the first preset range
During limit value, meanwhile, mobile terminal can carry out Handshake Protocol with charging adapter, and identification charging adapter is standard charging adapter
Also criteria of right and wrong charging adapter.After mobile terminal and charging adapter carry out Handshake Protocol, current charging adapter is judged
For standard charging adapter, mobile terminal needs to carry out adaptively charging current.Specifically, mobile terminal can be filled by configuring
The charging current of electric treatment module sets register, increases charging current value stepwise according to every rank with the default step values that are incremented by, right
Mobile terminal is charged.Wherein, it can be 64mA to be incremented by step values.
Step S104:The output voltage of monitoring charging adapter in real time, rule are determined according to output voltage and predetermined current
Then, determine that charging current higher limit charges to mobile terminal.
While mobile terminal sets storage drive to increase charging current step by step by charging process module charging current, fill
Electric treatment module detects the output voltage of charging adapter in real time.After determining charging current higher limit, in charging process
It is adaptive to complete to carry out charging current by charging current control within charging current higher limit.
Charging method provided in an embodiment of the present invention, when being charged using standard charging adapter to mobile terminal,
It is determined that the charging voltage currently exported;Judge charging voltage whether in the first preset range;If with the first predetermined current
It is worth for incremental step values, increases the output charging current of the charging adapter stepwise;The output of monitoring charging adapter in real time
Voltage, rule is determined according to output voltage and predetermined current, determines that charging current higher limit charges to mobile terminal.Can
See, charging method provided in an embodiment of the present invention, mobile terminal can determine charging current higher limit for charging adapter, right
The charging current of charging adapter output is carried out adaptively, adaptive due to that can be carried out to the charging current that charging adapter exports
Should, therefore can avoid occurring in charging process that mobile terminal repeats to restart always or charging unfinished just stops asking for charging
Topic.
Embodiment two
Reference picture 2, show a kind of step flow chart of charging method of the embodiment of the present invention two.
The embodiment of the present invention comprises the following steps to charging method:
Step S201:When being charged using charging adapter to mobile terminal, determine that charging adapter currently exports
Charging voltage.
In charging, charging adapter one end is connected with the charging inlet of mobile terminal, and the other end is connected with charge power supply.
When mobile terminal has detected charging adapter access, then flow is started to charge up.
Charging voltage detection module, sampling resistor and charging process module, charging voltage mould are provided with mobile terminal
Block is on the charging path being directly parallel between charging adapter and charging process module, and charging voltage detection module passes through interior
Portion's ADC, which can be read, is calculated charging adapter output voltage, and charging process module is real by the charging voltage received
When be delivered to charging process module, charging process module operates according to the charge voltage range of setting to charging behavior.
Step S202:Judge charging voltage whether in the first preset range;If charging voltage in the first preset range,
Step S203 is then performed, if charging voltage not in the first preset range, performs step S211.
By detected current charging voltage and the higher limit of the first preset range, compared with lower limit, judge
Whether charging voltage is in the first preset range
It should be noted that the first preset range can be configured according to the actual requirements by those skilled in the art, this
This is not specifically limited in inventive embodiments.Such as:First preset range could be arranged to:4.4V-20V.
Step S203:If charging voltage in the first preset range, judges whether charging adapter is standard charging adaptation
Device;If charging adapter is standard charging adapter, step S204 is performed, if charging adapter is non-standard adaptive charging
Device, then perform step S210.
Come when there is charging adapter to tap into, charging process module can detect the output voltage of charging adapter, if charging
Adapter output voltage is in the default safe input voltage range of charging process module, then it represents that charging voltage is default first
In the range of, mobile terminal proceeds by the behaviour of adaptive charging current by carrying out BC1.2 Handshake Protocols with charging adapter
Make.
Step S204:When charging adapter is standard charging adapter, using the first pre-set current value as incremental step values,
Increase the output charging current of institute's Electric adapter stepwise.
Mobile terminal needs to carry out adaptively charging current.Specifically, mobile terminal can be by configuring charging process mould
The charging current of block sets register, starts to increase charging current value step by step with the default step values that are incremented by according to every rank, to movement
Terminal is charged.Wherein, those skilled in the art can be configured to the first pre-set current value according to specific needs, not
64mA is confined to, such as:First pre-set current value could be arranged to:32mA, 16mA etc..
Charging current detection module is additionally provided with mobile terminal, charging current detection module is that detection charging adapter arrives
The voltage on sampling resistor on the charging path of charging process module, by Ohm's law I=U/R, calculates adaptive charging
Device output current.Wherein U is the voltage at sampling resistor both ends, and R is sampling resistor resistance, and sampling resistor is that resistance small-power is big
Power resistor.
Step S205:The output voltage of monitoring charging adapter in real time.
Step S206:Judge whether output voltage is decreased to the first preset voltage value;It is pre- that if output voltage is decreased to first
If magnitude of voltage, then step S207 is performed, if output voltage is not decreased to the first preset voltage value, perform step S208.
While mobile terminal sets storage drive to increase charging current step by step by charging process module charging current, fill
Electric treatment module detects the output voltage of charging adapter in real time.
Step S207:When being decreased to the first preset voltage value, stopping increases charging current stepwise, and by current flow with
The difference of second pre-set current value charges as charging current higher limit to mobile terminal.Determine charging current higher limit it
Afterwards, charging current is controlled within charging current higher limit in charging process, it is adaptive to complete to carry out charging current.
Because the U/I curve characteristics of charging adapter, when charging current increases step by step, the output voltage of charging adapter must
It can so decline, when dropping to the first preset voltage value of charging process module, charging process module is sent to mobile terminal stops
Stop signal, stop increase charging current step by step and will not further increase charging current, and subtract the second according to current charging current and preset electricity
The difference of flow valuve is arranged to pairs of maximum charging current values, can so ensure the electric current of charging process module extraction in charging adapter
In the range of output loading capability, it will not enter charging adapter and terminate output state, mobile terminal is played a protective role.
Wherein, those skilled in the art can be configured to the second pre-set current value according to specific needs, not limit to
In 128mA, such as:First pre-set current value could be arranged to:64mA, 32mA, 6mA etc..
So far, charging process terminates.
Step S208:When output voltage is not decreased to the first preset voltage value, judge whether charging adapter enters eventually
Only output state, if charging adapter, which enters, terminates output state, perform step S209.
, will be detected when the charging voltage that charging detection voltage module detects is not reduced to the first preset voltage value
Charging voltage, which is sent to charging process module, charging process module control charging adapter, stops output current.
Step S209:When charging adapter, which enters, terminates output state, by current flow and the second pre-set current value
Difference charges as charging current higher limit to mobile terminal.
When the voltage of charging adapter does not drop to the first preset voltage value of charging process module, charging current now
Subtracting the second, pre-set current value is the pairs of maximum charging current values for changing charging process module, and after waiting the several seconds, charging adapter exports again,
Charging process module will be transformation orchestration maximum output charging current value according to the current value calculated before, can so ensure to fill
The electric current that electric treatment module extracts will not enter charging adapter and terminate within the scope of charging adapter output loading capability
The state of output.
So far, charging process terminates.
Step S210:When charging adapter is non-standard charging adapter, with the 3rd pre-set current value to mobile terminal
Charged.
If mobile terminal is identified as non-standard charging adapter, charging process module is configured to the 3rd pre-set current value to moving
Dynamic terminal carries out continuing charging.
Wherein, the 3rd pre-set current value can be 500mA.
So far, terminated using the charging process of non-standard charging adapter.
Step S211:When current charging voltage is not present in the first preset range, control charging adapter stops to moving
Dynamic terminal is charged.
When charging voltage is not present and two kinds of situations in the first preset range, be present, one kind be more than the first preset range,
One kind is that according to P=UI horse-power formulas, mobile terminal rated power is definite value less than preset range, be less than when charging voltage or
When person is more than the first preset range, the actual power calculated is more than or less than rated power, with the actual power calculated
Mobile terminal can be damaged by carrying out charging to mobile terminal.So when charging voltage is not present in the first preset range, charging is suitable
Orchestration stops charging to mobile terminal.
Charging method provided in an embodiment of the present invention, when being charged using standard charging adapter to mobile terminal,
It is determined that the charging voltage currently exported;Judge charging voltage whether in the first preset range;If with the first predetermined current
It is worth for incremental step values, increases the output charging current of the charging adapter stepwise;The output of monitoring charging adapter in real time
Voltage, rule is determined according to output voltage and predetermined current, determines that charging current higher limit is filled to the mobile terminal
Electricity.It can be seen that charging method provided in an embodiment of the present invention, mobile terminal can determine the charging current upper limit for charging adapter
Value, the charging current of charging adapter output is carried out adaptively, because the charging current that can be exported to charging adapter is entered
Row is adaptive, therefore can avoid occurring in charging process that mobile terminal repeats to restart always or charging unfinished just stops filling
The problem of electric.
Embodiment three
Reference picture 3, show a kind of structured flowchart of charging device of the embodiment of the present invention three.
The charging device of the embodiment of the present invention includes:Voltage module 301 is determined, for working as using charging adapter to movement
When terminal is charged, the charging voltage that charging adapter currently exports is determined;Judge module 302, for judging the charging
Whether voltage is in the first preset range;First charging module 303, if the judged result for judge module exists for charging voltage
In first preset range, and when charging adapter is standard charging adapter, using the first pre-set current value to be incremented by step values, by
Rank increases the output charging current of the charging adapter;Detection module 304, for monitoring the output electricity of charging adapter in real time
Pressure;Determining module 305, for determining rule according to output voltage and predetermined current, determine charging current higher limit to movement
Terminal is charged.
Charging device provided in an embodiment of the present invention, when being charged using standard charging adapter to mobile terminal,
It is determined that the charging voltage currently exported;Judge charging voltage whether in the first preset range;If with the first predetermined current
It is worth for incremental step values, increases the output charging current of the charging adapter stepwise;The output of monitoring charging adapter in real time
Voltage, rule is determined according to output voltage and predetermined current, determines that charging current higher limit is filled to the mobile terminal
Electricity.It can be seen that charging device provided in an embodiment of the present invention, mobile terminal can determine the charging current upper limit for charging adapter
Value, the charging current of charging adapter output is carried out adaptively, because the charging current that can be exported to charging adapter is entered
Row is adaptive, therefore can avoid occurring in charging process that mobile terminal repeats to restart always or charging unfinished just stops filling
The problem of electric.
Example IV
Reference picture 4, show a kind of structured flowchart of charging device of the embodiment of the present invention four.
The charging device of the embodiment of the present invention includes:Voltage module 401 is determined, for working as using charging adapter to movement
When terminal is charged, the charging voltage that charging adapter currently exports is determined;Judge module 402, for judging the charging
Whether voltage is in the first preset range;First charging module 403, if the judged result for judge module exists for charging voltage
In first preset range, and when charging adapter is standard charging adapter, using the first pre-set current value to be incremented by step values, by
Rank increases the output charging current of the charging adapter;Detection module 404, for monitoring the output electricity of charging adapter in real time
Pressure;Determining module 405, for determining rule according to output voltage and predetermined current, determine charging current higher limit to movement
Terminal is charged.
Preferably, determining module includes:First judging submodule 4051, for judging whether output voltage is decreased to first
Preset voltage value;Second determination sub-module 4052, when being decreased to the first preset voltage value, stopping increases the charging electricity stepwise
Stream, and the difference of current flow and the second pre-set current value is charged as charging current higher limit to mobile terminal.
Preferably, determining module also includes:Second judging submodule 4053, for when the judgement knot of the first judging submodule
When fruit is that output voltage is not decreased to the first preset voltage value, judges whether charging adapter enters and terminate output state;Second
Determination sub-module 4054, the first default electricity it is not decreased to for the judged result when the first judging submodule 4051 for output voltage
When the judged result of pressure value and the second judging submodule 4053 is that charging adapter enters termination output state, by current flow
Difference with the second pre-set current value charges as charging current higher limit to mobile terminal.
Preferably, device also includes:Second charging module 406, for being fitted when the charging adapter for non-standard charging
During orchestration, mobile terminal is charged with the 3rd pre-set current value.
Preferably, device also includes:Stopping modular 407, for being current charging electricity when the judged result of judge module 402
When pressure is not in the first preset range, control charging adapter stops charging to the mobile terminal.
Charging device provided in an embodiment of the present invention, when being charged using standard charging adapter to mobile terminal,
It is determined that the charging voltage currently exported;Judge charging voltage whether in the first preset range;If with the first predetermined current
It is worth for incremental step values, increases the output charging current of the charging adapter stepwise;The output of monitoring charging adapter in real time
Voltage, rule is determined according to output voltage and predetermined current, determines that charging current higher limit is filled to the mobile terminal
Electricity.It can be seen that charging device provided in an embodiment of the present invention, mobile terminal can determine the charging current upper limit for charging adapter
Value, the charging current of charging adapter output is carried out adaptively, because the charging current that can be exported to charging adapter is entered
Row is adaptive, therefore can avoid occurring in charging process that mobile terminal repeats to restart always or charging unfinished just stops filling
The problem of electric.
Embodiment five
Reference picture 5, show a kind of connection structure diagram of charging device of the embodiment of the present invention five.
The charging device of the embodiment of the present invention includes:Charging adapter 501, charging process module 505, charging current detection
Module 503, charging voltage detection module 504, sampling resistor 502, sampling resistor A506, battery 507, central processing unit 508.Its
In, charging process module 505, charging current detection module 503, charging voltage detection module 504, sampling resistor 502, sampling electricity
A506, battery 507 are hindered, central processing unit 508 is arranged in mobile terminal.
Charging adapter 501 is used to charge to mobile terminal.Charging process module 505 is charging management chip, right
Charging current, charging voltage are configured.
Charging current detection module 503 is used for the output current for detecting charging adapter 501.
Charging voltage detection module 504 is used for the output voltage for detecting charging adapter 501.
Sampling resistor 502 is the power resistor on charging adapter 501 to the path of charging process module 505, for detecting
The electric current inputted inside battery 507.
Battery 507 is the power supply of whole mobile terminal, and mobile terminal is configuration charging process module 505, detects battery 507
Input current and the voltage of battery 507;Above modules combine the charging current backoff algorithm of the present invention, realize charging current
Adaptive intelligent mobile terminal system.
Battery 507 refers to fill electrolyte solution and metal electrode to produce the cup of electric current, groove or other containers or compound
The segment space of container, chemical energy can be changed into the device of electric energy.Point with positive pole, negative pole, is generally moved in the market
It is lithium battery 507 that dynamic terminal, which uses,.Battery 507 is powered to mobile terminal, and charging adapter 501 can pass through charging process
Module 505 charges to battery 507.
Charging voltage detection module 504, charging voltage module are directly parallel in charging adapter 501 and charging process module
On charging path between 505, charging voltage detection module 504 is read by internal module and charging adapter 501 is calculated
Output voltage charging process module 505;Charging voltage detection module 504 is by the charging voltage real-time delivery read to juice point
The reason charging process module 505 of module 505 will operate according to the charge voltage range of setting to charging behavior, if charging electricity
Pressure is more than OVP (over-voltage protection, overpressure protection) voltage of charging process module 505, charging process module
505, which will stop charging behavior by force, stops charging.If charging voltage is less than charging process module 505 also by force termination charging row
To stop charging.
Charging adapter 501, there is U/I curve characteristics, when 501 output current increase of charging adapter, adaptive charging
The output voltage of device 501 will be reduced slowly, when the output current of charging adapter 501 reaches maximum load capability, adaptive charging
Device 501 itself terminates output, the output termination of charging adapter 501 to protect by output voltage i.e. charging adapter 501 is terminated
After several seconds, will normally it export again, whether the electric current that confirming adapter output loading needs, which is reduced to adapter, can bear to load
Ability, if bearing load ability, will continue output current to load;If being also above load capacity itself, fill
Electrical equipment will ceaselessly repeat to stop output, the action normally exported, allow the experience of user to show as stopping after charging normal the several seconds
Charging charges normal again, so repeats.
Charging process module 505 is detected in real time by charging current detection module 503 and charging voltage detection module 504
The electric current and output voltage exported to charging adapter 501, and the electric current by sampling resistor A506 detections into battery 507.
Come when there is charging adapter 501 to tap into, charging process module 505 can detect the output voltage of charging adapter 501, if charging
The output voltage of adapter 501 in the default safe input voltage range of charging process module 505, then mobile terminal by with fill
Electric adapter 501 carries out BC1.2 Handshake Protocols, proceeds by the operation of adaptive charging current.
The charging process module 505 that the present invention uses is bq24773, suitable to the input voltage range 4.4-20V that charges, charging
Orchestration 501.If the output voltage of charging adapter 501 exceedes the safe input voltage range of charging process module 505, fill
Electric treatment module 505 is by direct force termination charging operations.Mobile terminal charging current sets register that juice point is adjusted
The charging current of module 505 is managed, and when charging adapter 501 accesses, and meet charging process module 505 to fill by configuring
505 safe input voltage range of electric treatment module, then mobile terminal can be with the progress BC1.2 Handshake Protocols of charging adapter 501, knowledge
Other charging adapter 501 is the also criteria of right and wrong charging adapter 501 of standard charging adapter 501.If mobile terminal identification is filled
Electric adapter 501 is non-standard adaptive charging, then intelligent mobile terminal can be by configuring the charging current of charging process module 505
Register is set to limit the charge current to 500mA, so 505 meetings of charging process module are taken out from the maximum of charging adapter 501
500mA charging current is taken to be charged to battery of mobile terminal 507.
If mobile terminal identification charging adapter 501 is standard charging adapter 501, mobile terminal can be filled by configuring
The charging current of electric treatment module 505 sets register, increases charging current step by step since 0mA according to every rank 64mA, is moving
While dynamic terminal increases charging current step by step by configuring the charging current of charging process module 505 setting register, juice point
Reason module 505 monitors the output voltage of charging adapter 501 in real time, because the characteristic of the U/I curves of charging adapter 501, when
Charging current increases step by step, and the output voltage of charging adapter 501 will necessarily decline, and when dropping to, charging process module 505 is default
During DPM values, charging process module 505 notifies mobile terminal, and stopping increases charging current, will not further increase charging current step by step,
And subtract 128mA by current charging current, value be set to pairs of maximum charging current values, it is ensured that charging process module 505 extract electric current
Within the scope of the output loading capability of charging adapter 501, charging adapter 501 will not be made to enter the state for terminating output;When
The voltage of charging adapter 501 enters when not dropping to the DPM values of charging process module 505 terminates output, charging current now
It is the pairs of maximum charging current values of charging adapter 501 to subtract 128mA, and after waiting the several seconds, charging adapter 501 is had the hiccups and exported again, is filled
Electric treatment module 505 will be the adapter maximum output charging current value according to the current value calculated before, so equally can be with
Ensure that the electric current of the extraction of charging process module 505 within the scope of the output loading capability of charging adapter 501, will not fit charging
Orchestration 501 enters the state for terminating output;The method to be retracted using above-mentioned electric current ensure that different charging adapters 501 access
Afterwards, charging process module 505 can adaptive its charging current.
Charging device provided in an embodiment of the present invention, when being charged using standard charging adapter to mobile terminal,
It is determined that the charging voltage currently exported;Judge charging voltage whether in the first preset range;If with the first predetermined current
It is worth for incremental step values, increases the output charging current of the charging adapter stepwise;The output of monitoring charging adapter in real time
Voltage, rule is determined according to output voltage and predetermined current, determines that charging current higher limit is filled to the mobile terminal
Electricity.It can be seen that charging device provided in an embodiment of the present invention, mobile terminal can determine the charging current upper limit for charging adapter
Value, the charging current of charging adapter output is carried out adaptively, because the charging current that can be exported to charging adapter is entered
Row is adaptive, therefore can avoid occurring in charging process that mobile terminal repeats to restart always or charging unfinished just stops filling
The problem of electric.
Each embodiment in this specification is described by the way of progressive, what each embodiment stressed be with
The difference of other embodiment, between each embodiment identical similar part mutually referring to.For system embodiment
For, because it is substantially similar to embodiment of the method, so description is fairly simple, referring to the portion of embodiment of the method in place of correlation
Defend oneself bright.
Above to charging method provided by the present invention and device, it is described in detail, it is used herein specifically individual
Example is set forth to the principle and embodiment of the present invention, and the explanation of above example is only intended to help to understand the present invention's
Method and its core concept;Meanwhile for those of ordinary skill in the art, according to the thought of the present invention, in specific embodiment party
There will be changes in formula and application, in summary, this specification content should not be construed as limiting the invention.