The content of the invention
In view of above-mentioned the deficiencies in the prior art, it is an object of the invention to provide being precisely controlled mobile terminal charging current
System and method, solves the problems, such as that prior art can not be precisely controlled mobile terminal charging current.
It is up to above-mentioned purpose, the invention provides following technical scheme:
Be precisely controlled the system of mobile terminal charging current, including the charging inlet, electric current setup module being sequentially connected and
Charging module, also includes:The fine setting module being connected with electric current setup module and charging module respectively, wherein,
The electric current setup module, for when the input current that charging inlet is input into not for unit electric current integral multiple when,
Input current is adjusted to and rounds electric current, and start fine setting module, the electric current that rounds is more than input current and electric with input
Immediate N times of unitary current is flowed, wherein, N is positive integer;
The fine setting module, for rounding current distributing, shunt current be round electric current and input current electric current it
Difference.
The described system for being precisely controlled mobile terminal charging current, wherein, also include:
Input current acquisition module, for obtaining the current value of the input current of charging inlet input;
The electric current setup module is specifically included:
Floor module, for when input current is not the integral multiple of unit electric current, rounding to the current value of input current
Computing;
Assignment module, for giving depositor after adding 1 by the numerical value that input current rounding operation is obtained;
Output module, rounds electric current, the product for rounding value and unitary current that electric current is depositor for output.
The described system for being precisely controlled mobile terminal charging current, wherein, also include:
Closedown module, for when input current for unit electric current integral multiple when, close fine setting module.
The described system for being precisely controlled mobile terminal charging current, wherein, it is described fine setting module include gate-controlled switch and
Variable resistance, wherein,
The gate-controlled switch, disconnects in integral multiple of the input current for unit electric current, is not unit electricity in input current
Close during the integral multiple of stream;
The variable resistance, adjusts shunt current size for adjusting self-resistance value.
The described system for being precisely controlled mobile terminal charging current, wherein, the unitary current is 50mA.
It is corresponding with said method, present invention also offers the method for being precisely controlled mobile terminal charging current, finely tunes mould
Block is communicated to connect with electric current setup module, is electrically connected with charging module, further comprising the steps of:
A, when charging inlet input input current for unit electric current integral multiple when, input current is adjusted to and is rounded
Electric current, and start fine setting module, the electric current that rounds is more than input current and N times of unit electricity immediate with input current
Stream, wherein, N is positive integer;
B, fine setting module are the difference between currents for rounding electric current and input current to rounding current distributing, shunt current.
The described method for being precisely controlled mobile terminal charging current, wherein, also include before step A:
Obtain the current value of the input current of charging inlet input;
Step A is specifically included:
A100, when input current not for unit electric current integral multiple when, the current value rounding operation to input current;
A200, by input current rounding operation obtain numerical value add 1 after give depositor;
A300, output round electric current, the product for rounding value and unitary current that electric current is depositor.
The described method for being precisely controlled mobile terminal charging current, wherein, also include:
When integral multiple of the input current for unit electric current, fine setting module is closed.
The described method for being precisely controlled mobile terminal charging current, wherein, it is described fine setting module include gate-controlled switch and
Variable resistance, wherein,
The gate-controlled switch, disconnects in integral multiple of the input current for unit electric current, is not unit electricity in input current
Close during the integral multiple of stream;
The variable resistance, adjusts shunt current size for adjusting self-resistance value.
The described method for being precisely controlled mobile terminal charging current, wherein, the unitary current is 50mA.
Compared with prior art, the system and method for being precisely controlled mobile terminal charging current provided by the present invention,
Mobile terminal is additionally arranged fine setting module, and fine setting module is to round electric current and input current to rounding current distributing, shunt current
Difference between currents, span is between zero and unitary current.So, mobile terminal on the basis of electric current is rounded to rounding electricity
Flow point stream, realizes and mobile terminal charging current is precisely controlled, and also ensures the input current of charging inlet and fill
The output current of electric module(Charging current)Always.
Specific embodiment
The invention provides the system and method for mobile terminal charging current is precisely controlled, to make the purpose of the present invention, skill
Art scheme and effect are clearer, clear and definite, referring to the drawings and give an actual example that the present invention is described in more detail.Should manage
Solution, specific embodiment described herein only to explain the present invention, are not intended to limit the present invention.
Before illustrating to technical solution of the present invention, it is emphasized that, charging current of the present invention refers to charging
The electric current of module output, refers to the charging current of the actual employing of mobile terminal, and the charging current described in background technology is to round
Electric current, to round electric current identical with the electric current that charging module is exported, i.e., the prior art described in background technology rounds electric current reality
Matter is with regard to charging current but different from the charging current of technical solution of the present invention, and the charging current described in technical solution of the present invention is
Refer to the electric current of mobile terminal charging module output.In addition, unitary current of the present invention refers to the minimum electricity that depositor is adopted
Stream, the unitary current are electric current of the value of depositor when being 1.
Fig. 1 is referred to, Fig. 1 is the system construction drawing for being precisely controlled mobile terminal charging current of the present invention.Such as Fig. 1
It is shown, the system for being precisely controlled mobile terminal charging current of the present invention, including the charging inlet 101, electricity that are sequentially connected
Stream setup module 102 and charging module 104, also include:It is micro- with what electric current setup module 102 and charging module 104 were connected respectively
Mode transfer block 103, wherein,
The electric current setup module 102, for the integer not for unit electric current of the input current when the input of charging inlet 101
Times when, input current is adjusted to and rounds electric current, and start fine setting module, it is described round electric current be more than input current and with it is defeated
Enter the immediate N times of unitary current of electric current, wherein, N is positive integer;
The fine setting module 103, for rounding current distributing, shunt current is the electric current for rounding electric current and input current
Difference.
System as above, its scheme substantially:When charging inlet is input into input current, input current is obtained
Value, and input current value is compared with unitary current, if input current is the integral multiple of unit electric current, electric current setup module is pressed
Depositor is set according to the integral multiple of gained, the value for making depositor is the integral multiple of gained, can thus make the defeated of charging module
Go out electric current equal with the input current of charging inlet, it is ensured that the accuracy of charging;If input current integer not for unit electric current
Times when, the current value rounding operation to input current, by rounding operation obtain numerical value add 1 after give depositor, thus make
The output current of charging module is more than input current(When not increasing fine setting module), technical solution of the present invention is additionally arranged fine setting mould
Block, the output current to increasing are shunted, and the size of shunt current is equal to the difference between currents for rounding electric current and input current, this
The output current of increase is just diminished by sample, makes the electric current of true output equal with input current, it is ensured that to be precisely controlled to electric current.
The described system for being precisely controlled mobile terminal charging current, wherein, also include:Input current acquisition module, uses
In the current value of the input current for obtaining charging inlet input;
The electric current setup module is specifically included:
Floor module, for when input current is not the integral multiple of unit electric current, rounding to the current value of input current
Computing;
Assignment module, for giving depositor after adding 1 by the numerical value that input current rounding operation is obtained;
Output module, rounds electric current, the product for rounding value and unitary current that electric current is depositor for output.
System as above, with unitary current as 50 mA, when input current is 510 mA, floor module is to input electricity
The current value 510 of stream does rounding operation, and rounding operation is the integer ratios for obtaining input current and unitary current, such as 510/50=
10, then the result of 510 rounding operations is 10;Then assignment is carried out, deposit after Jia 1 by the numerical value 10 that rounding operation is obtained, is given
Device, that is, depositor is given by 11, so, in the case where module is not finely tuned, the output of register controlled output module
Output current is 11*50=550 mA, has been more than 510 mA of input current, in other words, electric current setup module and charging module it
Between electric current be 550 mA;The present invention is additionally arranged fine setting module, shunts to rounding electric current, shunt current for round electric current with
The difference between currents of input current, that is to say, that shunt current is equal to 550 mA -510 mA=40 mA, this reduces and rounds
Electric current, the electric current for making the acquisition of charging module are 550 mA -40 mA=510 mA, it is ensured that charging current of charging module etc.
In input current.
The described system for being precisely controlled mobile terminal charging current, wherein, also include:Closedown module, for when input
When electric current is the integral multiple of unit electric current, fine setting module is closed.It should be noted that only the value of depositor be input current with
In the case of the ratio of unitary current, fine setting module is just closed, the electric current one of input current at this moment and the output of electric current setup module
Cause, it is not necessary to shunt.
The described system for being precisely controlled mobile terminal charging current, wherein, it is described fine setting module include gate-controlled switch and
Variable resistance, wherein, the gate-controlled switch disconnects in integral multiple of the input current for unit electric current, in input current is not
Close during the integral multiple of unitary current;The variable resistance, adjusts shunt current size for adjusting self-resistance value.The present invention
Described fine setting module includes gate-controlled switch and variable resistance, and one section of gate-controlled switch is electrically connected with variable resistance, other end connection
On wire between electric current setup module, charging module or electric current setup module and charging module, the variable-resistance other end
Ground connection, gate-controlled switch are communicated to connect with electric current setup module, are controlled by electric current setup module, are unit electric current in input current
Disconnect during integral multiple, close when input current is not the integral multiple of unit electric current;The variable resistance, for adjusting itself electricity
Resistance adjusts shunt current size.
The described system for being precisely controlled mobile terminal charging current, it is preferred that the unitary current is 50mA.Unit electricity
Stream can be set according to practical situation, such as 100 mA, arrange 50 mA, and the maximum current that can make mobile terminal is 256*50=
12800 mA。
Fig. 2 is referred to, Fig. 2 is the method flow diagram for being precisely controlled mobile terminal charging current of the present invention.Such as Fig. 2
Shown, the method for being precisely controlled mobile terminal charging current of the present invention finely tunes module and electric current setup module communication link
Connect, electrically connect with charging module, it is further comprising the steps of:
Step 201, when charging inlet input input current for unit electric current integral multiple when, input current is adjusted
To round electric current, and start fine setting module, the electric current that rounds is more than input current and N times of list immediate with input current
Position electric current, wherein, N is positive integer, as detailed above;
Step 202, fine setting module to rounding current distributing, shunt current be round electric current and input current electric current it
Difference, as detailed above.
The described method for being precisely controlled mobile terminal charging current, wherein, also include before step 201:
The current value of the input current of charging inlet input is obtained, as detailed above;
The step 201 is specifically included:
Step one, when input current not for unit electric current integral multiple when, the current value rounding operation to input current, tool
Body is as described above;
Step 2, by rounding operation obtain numerical value add 1 after give depositor, as detailed above;
Step 3, output round electric current, the product for rounding value that electric current is depositor and unitary current, specifically as above
It is described.
The described method for being precisely controlled mobile terminal charging current, wherein, also include:
When integral multiple of the input current for unit electric current, fine setting module is closed, as detailed above.
The described method for being precisely controlled mobile terminal charging current, wherein, it is described fine setting module include gate-controlled switch and
Variable resistance, wherein,
The gate-controlled switch, disconnects in integral multiple of the input current for unit electric current, is not unit electricity in input current
Close during the integral multiple of stream, as detailed above;
The variable resistance, adjusts shunt current size for adjusting self-resistance value, as detailed above.
The described method for being precisely controlled mobile terminal charging current, wherein, the unitary current is 50mA, specifically as above
It is described.
In sum, the system and method for being precisely controlled mobile terminal charging current provided by the present invention, mobile whole
End is additionally arranged fine setting module, fine setting module to rounding current distributing, shunt current be round electric current and input current electric current it
Difference, span is between zero and unitary current.So, mobile terminal divides to rounding electric current on the basis of electric current is rounded
Stream, realizes and mobile terminal charging current is precisely controlled, and also ensures the input current and charging mould of charging inlet
The output current of block(Charging current)Always.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, and for those of ordinary skills, can
To be improved according to the above description or be converted, all these modifications and variations should all belong to the guarantor of claims of the present invention
Shield scope.