Summary of the invention
Embodiments provide the method for supplying power to of a kind of charger and charger, it is possible to solve charger
The problem that in charge cable, pressure drop is excessive, it is ensured that the charging current of the rechargeable battery of terminal unit is constant, thus improve charging effect
Rate, reduces the charging interval.
First aspect, it is provided that a kind of charger, the voltage output end of described charger is for by described charging wire
Cable is connected with the charging end of terminal unit;Described charger includes a voltage compensation module;
Described voltage compensation module includes: testing circuit, compensation circuit and Switching Power Supply;
Described testing circuit, for detecting the output voltage of the voltage output end of described charger and arriving described
The charging voltage of the charging end of terminal unit, compares and obtains described output voltage and the difference of described charging voltage;
Described compensation circuit, for calculating the sum of the described difference of described output voltage and 2 times, the output after being compensated
Voltage;
Described Switching Power Supply, for regulating the output voltage of described charger so that described output voltage is equal to described
Output voltage after compensation.
In the first possible implementation of first aspect, described voltage compensation module also includes:
Threshold decision circuit, the relation between output voltage and default high threshold after relatively described compensation,
If the output voltage after described compensation is more than or equal to described high threshold, then make the output voltage after described compensation equal to described
High threshold, then output is to described Switching Power Supply.
In conjunction with in the first possible implementation of first aspect and first aspect, the second in first aspect may
Implementation in, described charge cable includes: external shielding layer and ground wire;
One end that described ground wire is connected with the voltage output end of described charger is the first end, described ground wire and described end
One end that the charging end of end equipment is connected is the second end;
Second end of described ground wire and the external shielding layer short circuit of described charge cable;
Described testing circuit includes: difference amplifier;
The normal phase input end of described difference amplifier connects the first end of the ground wire of described charge cable, described difference amplifier
Anti-phase input terminate described external shielding layer, described difference amplifier output terminate described compensation circuit input;
Described difference amplifier, for detecting the output voltage of the voltage output end of described charger and arriving described end
The charging voltage of the charging end of end equipment, compares and obtains described output voltage and the difference of described charging voltage, and output is to described
Compensate circuit.
In conjunction with in the first possible implementation of first aspect and first aspect, in the third possibility of first aspect
Implementation in, described charge cable includes: external shielding layer and ground wire;
One end that described ground wire is connected with the voltage output end of described charger is the first end, described ground wire and described end
One end that the charging end of end equipment is connected is the second end;
Second end of described ground wire and the external shielding layer short circuit of described charge cable;
Described testing circuit includes: analog-digital converter and microprocessor;
The normal phase input end of described analog-digital converter connects the first end of the ground wire of described charge cable, described analog-digital converter
Anti-phase input terminate described external shielding layer, described analog-digital converter output terminate described microprocessor input;
Described analog-digital converter, sets for the output voltage and described terminal detecting the voltage output end of described charger
The charging voltage of standby charging end, compares and obtains described output voltage and the difference of described charging voltage, and exports and described difference
The digital signal extremely described microprocessor that value is corresponding;
Described microprocessor, after described difference is processed, output to described compensation circuit.
Second aspect, it is provided that the method for supplying power to of a kind of charger, described method includes:
Detect output voltage and the charging voltage of incoming terminal equipment of described charger, compare and obtain described output electricity
Pressure and the difference of described charging voltage;
Calculate the sum of the described difference of described output voltage and 2 times, the output voltage after being compensated;
Regulate the output voltage of described charger so that described output voltage is equal to the output voltage after described compensation.
In the first possible implementation of second aspect, after the output voltage after described being compensated, institute
Before stating the output voltage regulating described charger, described method also includes:
The relatively relation between output voltage and the default high threshold after described compensation, if defeated after described compensation
Go out voltage and be more than or equal to described high threshold, then make the output voltage after described compensation equal to described high threshold.
Compared with prior art, in charger described in the embodiment of the present invention, including a voltage compensation module, this module can
The output voltage obtaining the voltage output end of charger with detection and the charging of the charging end being actually reached described terminal unit
Voltage, by calculating described output voltage and the difference of charging voltage, the output voltage that can obtain described charger arrives
During terminal unit, the voltage loss value in charge cable, then according to this voltage loss value output voltage to charger
Compensate so that during output voltage incoming terminal equipment after compensation, remain to keep preferable charging voltage value.The most permissible
Solve the problem that in the charge cable of charger, pressure drop is excessive, it is ensured that the pressure reduction of the rechargeable battery of terminal unit, maintain charging
The charging current of battery is constant, thus improves charge efficiency, reduces the charging interval.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Whole description, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments.Based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise
Embodiment, broadly falls into the scope of protection of the invention.
Embodiments provide the method for supplying power to of a kind of charger and charger, it is possible to solve charger
The problem that in charge cable, pressure drop is excessive, it is ensured that the charging current of the rechargeable battery of terminal unit is constant, thus improve charging effect
Rate, reduces the charging interval.
With reference to Fig. 2, for the structure chart of the charger described in the embodiment of the present invention one.As in figure 2 it is shown, described charger
The voltage output end of 10 is for being connected with the charging end of terminal unit 30 by described charge cable 20, for described terminal unit 30
Charging.
Charger 10 described in the embodiment of the present invention includes a voltage compensation module.Described voltage compensation module includes: inspection
Slowdown monitoring circuit 101, compensation circuit 102 and Switching Power Supply 103.
Wherein, the output of described testing circuit 101 terminates the input of described compensation circuit 102;Described compensation circuit 102
Output terminate described Switching Power Supply 103 input.
Described testing circuit 101, for detecting the output voltage Va of the voltage output end of described charger 10 and arriving
Reach charging voltage Vc of the charging end of described terminal unit 30, compare and obtain described output voltage Va and described charging voltage Vc
Difference Vac, and by the output of described difference Vac to described compensation circuit 102.
Described compensation circuit 102, for calculating the sum of described difference Vac of described output voltage Va and 2 times, is compensated
After output voltage Va ', and the output voltage Va ' after described compensation is exported to described Switching Power Supply 103.
Concrete, Va '=Va+2 × Vac.
Described Switching Power Supply 103, for regulating the output voltage of described charger 10 so that described output voltage is equal to
Output voltage Va ' after described compensation.
In charger described in the embodiment of the present invention, including a voltage compensation module, this module can detect is charged
The output voltage Va of the voltage output end of equipment 10 and charging voltage Vc of the charging end being actually reached described terminal unit 30, lead to
Crossing and calculate described output voltage Va and the difference of charging voltage Vc, the output voltage that can obtain described charger 10 arrives eventually
During end equipment 30, the voltage loss value in charge cable 20, then according to this voltage loss value output to charger 10
Voltage compensates so that during output voltage incoming terminal equipment 30 after compensation, remain to keep preferable charging voltage value.By
This can solve the problem that in the charge cable of charger 10, pressure drop is excessive, it is ensured that the pressure reduction of the rechargeable battery of terminal unit,
The charging current maintaining rechargeable battery is constant, thus improves charge efficiency, reduces the charging interval, strengthens Consumer's Experience.
It should be noted that for the rechargeable battery of terminal unit 30, its charging voltage the most all has certain the highest
Threshold value, when its charging voltage is higher than described high threshold, described rechargeable battery likely can be burned out.Such as, described terminal
The preferable charging voltage of the rechargeable battery of equipment 30 is generally 5V, and plays high threshold and be generally 6V to 6.5V.Fill when described
Piezoelectric voltage exceed this high threshold time, this rechargeable battery is likely to be burned out.In the embodiment of the present invention, if after described compensation
Output voltage Va ' exceeded described in high threshold and be directly output to described terminal unit 30, then be likely to result in described in fill
Electricity battery is burned out.The embodiment of the present invention two can solve the problem that this problem.
With reference to Fig. 3, for the structure chart of the charger described in the embodiment of the present invention two.As it is shown on figure 3, the embodiment of the present invention
The charger of two is with the difference of embodiment one: the voltage compensation module of described charger 10 can also include a threshold value
Decision circuitry 104.
Described threshold decision circuit 104, the output voltage Va ' after relatively described compensation and the high threshold preset it
Between relation, if the output voltage Va ' after described compensation less than described high threshold, then exports the electricity of the output after described compensation
Pressure Va ' is to described Switching Power Supply 103;If the output voltage Va ' after described compensation is more than or equal to described high threshold, then make institute
State the output voltage Va ' after compensation to export again to described Switching Power Supply 103 equal to after described high threshold.
Charger described in the embodiment of the present invention two, on the basis of embodiment one, also includes a threshold decision circuit
104, by the relation between output voltage Va ' and the default high threshold after relatively described compensation, when after described compensation
When output voltage Va ' is more than or equal to the high threshold preset, directly output is equal to the output electricity after the compensation of described high threshold
Va ' is to Switching Power Supply 103 for pressure.Thus can be prevented effectively from because compensating the charging voltage caused too high, thus cause terminal unit
The phenomenon that the rechargeable battery of 30 is burned out, advantageously ensures that the safety in utilization of charger, strengthens the use of terminal unit 30
Life-span.
With reference to Fig. 4, for the structure chart of the voltage compensation module described in the embodiment of the present invention one.It is real that Fig. 4 gives the present invention
Execute a kind of concrete implementation form of the voltage compensation module of charger described in example one, with voltage compensation module shown in Fig. 4
As a example by, the operation principle of the charger described in the embodiment of the present invention is described in detail.
Under regular situation, described charge cable 20 may include that by power line, ground wire, positive voltage data wire and negative voltage
Data wire constitute line group, be arranged on the conductive layer outside described line group, be arranged on the insulating barrier outside described conductive layer and
It is arranged on the external shielding layer outside described insulating barrier.It follows that each bar circuit in described external shielding layer and described line group is equal
Separate.Owing to the composition of described charge cable 20 is techniques well known, therefore the most detailed in the embodiment of the present invention
Introduce.
In the embodiment of the present invention, set the ground wire of described charge cable 20 and the voltage output end phase of described charger 10
One end even is the first end, and one end that described ground wire is connected with the charging end of described terminal unit 30 is the second end.
In the embodiment of the present invention, the second end of described ground wire (is the charging of described ground wire and described terminal unit 30
One end that end is connected) and the external shielding layer short circuit of described charge cable 20.
Meanwhile, described testing circuit 101 includes a difference amplifier 1011.The positive input of described difference amplifier 1011
Terminate first end (being one end that described ground wire is connected with the voltage output end of described charger 10) of described ground wire, described
The anti-phase input of difference amplifier 1011 terminates described external shielding layer;The output of described difference amplifier 1011 terminates described compensation
The input of circuit 102.
Other parts of charger described in the embodiment of the present invention three are identical with the embodiment of the present invention one, repeat no more.
The normal phase input end detection of described difference amplifier 1011 obtains the defeated of the voltage output end of described charger 10
Going out voltage Va, the detection of its inverting input obtains charging voltage Vc of the charging end of the described terminal unit of described arrival 30, passes through
Relatively obtain described output voltage Va and difference Vac of described charging voltage Vc, and export to described compensation circuit 102.
In conjunction with Fig. 4, the operation principle of the charger described in the embodiment of the present invention three is described in detail.
Concrete, as shown in Figure 4, in one end that described charge cable 20 is connected with described terminal unit 30, fill described
The ground wire of electric wire cable 20 and the external shielding layer short circuit of described charge cable 20.So that, at terminal unit 30 end, described external screen
Cover the voltage voltage equal to the second end of described ground wire of layer;Further, due to the second end of described ground wire it is and described end
The charging end of end equipment 30 is connected, and therefore, described external shielding layer is equal to described arrival institute at the voltage of terminal unit 30 end
State charging voltage Vc of the charging end of terminal unit 30.
Owing to there is insulating barrier between the line group of described external shielding layer and described charging cable 20, the most described external shielding layer
In do not have electric current to flow through, the voltage on described external shielding layer is the most equal.In the charge cable 20 of described charger with described
One end that charger 10 is connected, described external shielding layer sets in terminal equal to described external shielding layer at the voltage of charger 10 end
The voltage of standby 30 ends, equal to charging voltage Vc of the charging end of the described terminal unit of described arrival 30.
Meanwhile, in one end that described charge cable 20 is connected with described charger 10, described difference amplifier 1011
Anti-phase input terminates described external shielding layer, and therefore, the reverse inter-input-ing voltage of described difference amplifier 1011 is equal to described external screen
Cover the layer voltage at charger 10 end, be also equal to charging voltage Vc of the charging end of the described terminal unit of described arrival 30.
And, the normal phase input end of described difference amplifier 1011 connects the first end of described ground wire, meanwhile, and the of described ground wire
One voltage output end terminating described charger 10, therefore, the positive input voltage of described difference amplifier 1011 is equal to
The output voltage Va of the voltage output end of described charger 10.
The described difference amplifier 1011 positive input voltage to receiving and reverse inter-input-ing voltage compare, and obtain two
The difference of person, is described output voltage Va and difference Vac of described charging voltage Vc, namely the output electricity of charger 10
It is pressed onto when reaching terminal unit 30, the voltage loss value in described charge cable 20.
Then by compensating circuit, according to the described voltage loss value of 2 times, the output voltage of described charger 10 is entered
Row compensates, the output voltage Va ' after being compensated.Such as, described output voltage Va is 5V, is calculated described voltage loss value
Vac is 0.1V, the output voltage after the most described compensation: Va '=5V+2 × 0.1V=5.2V.
The output voltage of described charger 10 is regulated so that described output voltage is equal to by described Switching Power Supply 103
Output voltage Va ' (such as 5.2V) after described compensation.When defeated equal to after described compensation of the output voltage of this charger 10
When going out voltage Va ', during the charging end of the output voltage Va ' incoming terminal equipment 30 after this compensation, through described charge cable 20
Line loss after, its voltage is down to 5V, is exactly equal to the ideal charging voltage of described terminal unit 30, meets described terminal
The charge requirement of equipment 30.
In the embodiment of the present invention two, by the second end of the ground wire of described charge cable 20 (is described ground wire and institute
State one end that the charging end of terminal unit 30 is connected) and the external shielding layer short circuit of described charge cable 20, utilize described external shield
The principle that on layer, voltage is the most equal so that the voltage on described external shielding layer is equal to filling of the charging end of described terminal unit 30
Piezoelectric voltage Vc.The anti-phase input of the difference amplifier 1011 that described testing circuit 101 includes terminates outside described charging cable 20
Screen layer so that its reverse inter-input-ing voltage is equal to charging voltage Vc of the charging end of described terminal unit 30.Meanwhile, described difference
The normal phase input end of amplifier 1011 connects the first end of described ground wire and (is the voltage of described ground wire and described charger 10
One end that outfan is connected), its positive input voltage is the output voltage Va of the voltage output end of described charger 10.Thus
Understanding, the positive input voltage of described difference amplifier 1011 and reverse inter-input-ing voltage are respectively described ground wire and are positioned at described charging
The voltage of equipment 10 end and described ground wire are positioned at the voltage of described terminal unit 30 end, by relatively described positive input voltage and
Reverse inter-input-ing voltage, both can obtain in the voltage difference at described ground wire two ends, this difference i.e. described charge cable 20
Voltage loss value.Utilize this voltage loss value that the output voltage of charger 10 is compensated, it is possible to make compensate after defeated
When going out voltage incoming terminal equipment 30, remain to keep preferable charging voltage value.Thus can solve the charging wire of charger
The problem that on cable, pressure drop is excessive, it is ensured that the pressure reduction of the rechargeable battery of terminal unit, the charging current maintaining rechargeable battery is constant, from
And improve charge efficiency, reduce the charging interval, strengthen Consumer's Experience.
Certainly, for the charger described in the embodiment of the present invention three shown in Fig. 4, may further include threshold value too
Decision circuitry.
Described threshold decision circuit, between output voltage Va ' and the default high threshold after relatively described compensation
Relation, if the output voltage Va ' after described compensation less than described high threshold, then exports the output voltage after described compensation
Va ' is to described Switching Power Supply 103;If the output voltage Va ' after described compensation is more than or equal to described high threshold, then order is described
Output voltage Va ' after compensation exports to described Switching Power Supply 103 equal to after described high threshold again.
In this embodiment, by the relation between output voltage Va ' and the default high threshold after relatively described compensation,
When the output voltage Va ' after described compensation is more than or equal to the high threshold preset, directly output is equal to described high threshold
Output voltage Va ' after compensation is to Switching Power Supply 103.Thus can be prevented effectively from because compensating the charging voltage caused too high, from
And the phenomenon causing the rechargeable battery of terminal unit 30 to be burned out, advantageously ensure that the safety in utilization of charger, strengthen eventually
The service life of end equipment 30.
With reference to Fig. 5, for the structure chart of the voltage compensation module described in the embodiment of the present invention two.It is real that Fig. 5 gives the present invention
Execute the another kind of concrete implementation form of the voltage compensation module of charger described in example.
Described in embodiment illustrated in fig. 5 four, charger is with the difference of embodiment three: described testing circuit 101 includes mould
Number converter 1012 and microprocessor 1013.
The normal phase input end of described analog-digital converter 1012 connects the first end of described ground wire and (is described ground wire 202 and institute
State one end that the voltage output end of charger 10 is connected), the anti-phase input of described analog-digital converter 1013 terminates described external screen
Cover layer;The output of described analog-digital converter 1013 terminates the input of described microprocessor 1013.
The output of described microprocessor 1013 terminates the input of described compensation circuit 102.
Other parts of charger described in the embodiment of the present invention four are identical with the embodiment of the present invention three, repeat no more.
Concrete, the normal phase input end detection of described analog-digital converter 1012 obtains the voltage output of described charger 10
The output voltage Va of end, the detection of its inverting input obtains the charging voltage of the charging end of the described terminal unit of described arrival 30
Vc, obtains described output voltage Va and difference Vac of described charging voltage Vc by comparing, and exports and described difference Vac pair
The digital signal answered is to described microprocessor 1013.
After described difference Vac is processed by described microprocessor 1013 accordingly, then output is to described compensation circuit
102。
Compared with the charger described in embodiment three, described in embodiment four, the advantage of charger is: pass through modulus
Difference Vac comparing described output voltage Va and described charging voltage Vc obtained can be converted to numeral letter by transducer 1012
Number output to microprocessor 1013, introduce corresponding optimized algorithm by described microprocessor 1013, described difference Vac carried out
Export again to described compensation circuit 102 after respective handling.Such as, when system initial stage circuit state less stable, increase corresponding
Delay process, it is achieved incrementally adjust, to avoid adjusting the problem etc. of punching.Thus so that, to described charger
The adjustment of output voltage is more stable, it is ensured that for the safety and stability of terminal unit 30 charging process.
Certainly, previous embodiment only gives two kinds of concrete implementation shapes of voltage compensation module of charger
Formula.In actual applications, described voltage compensation module can also be realized by other circuit form.
The charger provided corresponding to the embodiment of the present invention, the embodiment of the present invention also provides for the power supply of a kind of charger
Method.Described charger provides charge power supply for terminal unit.
With reference to Fig. 6, for the flow chart of the method for supplying power to of the charger described in the embodiment of the present invention.As shown in Figure 6, described
Method may comprise steps of:
Step S601: detect output voltage Va and charging voltage Vc of incoming terminal equipment of described charger, than
Relatively obtain described output voltage Va and difference Vac of described charging voltage Vc.
Step S602: calculate the sum of described difference Vac of described output voltage Va and 2 times, the output electricity after being compensated
Pressure Va '.
Concrete, Va '=Va+2 × Vac.
Step S603: regulate the output voltage of described charger so that described output voltage is equal to after described compensation
Output voltage Va '.
In the method for supplying power to of charger described in the embodiment of the present invention, detection obtains output voltage Va and the reality of charger
Border arrives charging voltage Vc of described terminal unit, by calculating described output voltage Va and the difference of charging voltage Vc, permissible
When obtaining the output voltage incoming terminal equipment of described charger, the voltage loss value in charge cable, then according to being somebody's turn to do
The output voltage of charger is compensated by voltage loss value so that during output voltage incoming terminal equipment after compensation, still
Preferable charging voltage value can be kept.Thus can solve the problem that in the charge cable of charger, pressure drop is excessive, it is ensured that eventually
The pressure reduction of the rechargeable battery of end equipment, the charging current maintaining rechargeable battery is constant, thus improves charge efficiency, when reducing charging
Between, strengthen Consumer's Experience.
It should be noted that for the rechargeable battery of terminal unit, its charging voltage the most all has the highest certain threshold
Value, when its charging voltage is higher than described high threshold, described rechargeable battery likely can be burned out.Such as, described terminal sets
The preferable charging voltage of standby rechargeable battery is generally 5V, and plays high threshold and be generally 6V to 6.5V.When described charged electrical
Pressure exceed this high threshold time, this rechargeable battery is likely to be burned out.In the embodiment of the present invention, if the output after described compensation
Voltage Va ' exceeded described in high threshold and be directly output to described terminal unit, then be likely to result in described rechargeable battery
It is burned out.The following embodiment of the present invention can solve the problem that this problem.
Preferably, method described in the embodiment of the present invention is after step S602, before step S603, it is also possible to including: ratio
The relation between output voltage Va ' and default high threshold after more described compensation, if the output voltage after described compensation
Va ' is more than or equal to described high threshold, then make the output voltage Va ' after described compensation equal to described high threshold.
In above-described embodiment, by the pass between output voltage Va ' and the default high threshold after relatively described compensation
System, when the output voltage Va ' after described compensation is more than or equal to the high threshold preset, directly output is equal to described high threshold
Compensation after output voltage Va '.Thus can be prevented effectively from because compensating the charging voltage caused too high, thus cause terminal to set
The phenomenon that standby rechargeable battery is burned out, advantageously ensures that the safety in utilization of charger, strengthens the use longevity of terminal unit
Life.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, the system of foregoing description,
The specific works process of device and unit, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, permissible
Realize by another way.Such as, device embodiment described above is only schematically, such as, and described unit
Dividing, be only a kind of logic function and divide, actual can have other dividing mode, the most multiple unit or assembly when realizing
Can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not performs.Another point, shown or
The coupling each other discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit
Close or communication connection, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit
The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme
's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any
Those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with scope of the claims.