A kind of wireless charger adaptive power output power control method
Technical field
The present invention is used for the wireless charger of QI standards, required for the power that input DC power provides is less than output
During power, adjust automatically power output prevents chip reset to adapt to the demand of input power.
Background technology
In existing conventional wireless charging technology, QI standards have been increasingly becoming the wireless charging standard of main flow.The nothing of QI standards
The principle of micro USB electrical equipment such as Fig. 1, shown in Fig. 2, input direct-current 5V, by full-bridge or half-bridge inversion circuit, resonant LC-circuit is work(
Rate sends receiving terminal to, and receiving terminal is by loading the data of modulation communication circuit transmission receiving terminal, such as the power received, output
The physical quantitys such as the margin of error of voltage.Transmitting terminal receives data by loading demodulation telecommunication circuit, and transmitting terminal microprocessor receives
It is by control method regulating frequency or dutycycle that the margin of error regulation of output voltage is attached to 0 after the margin of error of output voltage
Closely.
Such as Fig. 3, the receiving terminal main circuit of wireless charger is formed, connect by double resonance system, rectifier bridge, linear stable
DC voltage after the detection rectification of receiving end chip, the error of this voltage and given voltage, by loading modulation communication electricity
Road is sent to the transmitting terminal of wireless charger, and transmitting terminal changes frequency or dutycycle to stablize receiving terminal by control method
DC voltage after rectification, to maintain the stabilization of output voltage.
QI standards specific control method such as Fig. 4, wireless charger control the hair of next bat by Fig. 4 control method
End electric current is penetrated, the instruction of transmitting terminal electric current produces required frequency or dutycycle, wherein j=by a PID approach
The order of 1,2,3 ... the control error information frames received labeled as transmitting terminal.It has received j-th of control error information frame
Afterwards, transmitting terminal calculates the new current-order of next data frame by below equation:
Wherein:Represent the upper finally stabilised actual current of a data frame, c(j)The control that receiving terminal is sent is represented to miss
Difference data.If c(j)It is the number of non-zero, transmitting terminal should be in tactiveInterior regulation transmitting terminal electric current.In order to realize this target,
Transmitting side controller can perform the control of digital rings, the iteration exponent number i=1 of loop control, and 2,3 ... represent.Transmitting
End calculates the error of digital control ring with following formula.
WhereinUpper one for current data frame claps iteration actual current
Control method uses Discrete PI control method:
Ratio controls:P(j,i)=Kp·e(j,i)
Integration control:I(j,i)=I(j,i-1)+Ki·e(j,i)·tinner
Differential controls:
PID(j,i)=P(j,i)+I(j,i)+D(j,i)
Wherein tinnnerIt is the interval time of each order iteration.
KpFor proportional control factor
KiFor integral control coefficient
KdFor derivative control coefficient
After obtaining PID controller output, desired rate-adaptive pacemaker is obtained by following formula or dutycycle exports:
v(j,i)=v(j,i-1)-Sv·PID(j,i)
According to this method, if load reaches 5 ohm, because output is a voltage source 5V, then output current meeting
Reach 1A, if the power of input adapter power supply only has 5W, it is clear that wireless charger in order to maintain export 5V voltage will
Working frequency is constantly reduced, with the increase of output current, input voltage is gradually pulled down to 4V even following, wireless chargings
Device will interrupt charging.That is, if wireless charger is powered from the USB port of computer, it will occurs interrupting wireless pass
It is defeated.In order to solve this problem, the present invention proposes a kind of improved control method, and the effect of this method is mainly dynamic
When, output current is quickly reduced, lifts input voltage, maintains the normal work of main control chip, is exported most when stable state
Big power.
The content of the invention
Wireless charger controls the transmitting terminal electric current of next bat, the instruction of transmitting terminal electric current by Fig. 4 control method
Required frequency or dutycycle are produced by a PID approach, wherein j=1,2,3 ... receive labeled as transmitting terminal
Control error information frame order.After have received j-th of control error information frame, transmitting terminal is calculated down by below equation
The new current-order of one data frame:
Wherein:Represent the upper finally stabilised actual current of a data frame, c(j)The control that receiving terminal is sent is represented to miss
Difference data.If c(j)It is the number of non-zero, transmitting terminal should be in tactiveInterior regulation transmitting terminal electric current.In order to realize this target,
Transmitting side controller can perform the control of digital rings, the iteration exponent number i=1 of loop control, and 2,3 ... represent.Transmitting
End calculates the error of digital control ring with following formula.
WhereinUpper one for current data frame claps iteration actual current
Control method uses Discrete PI control method:
Ratio controls:P(j,i)=Kp·e(j,i)
Integration control:I(j,i)=I(j,i-1)+Ki·e(j,i)·tinner
Differential controls:
PID(j,i)=P(j,i)+I(j,i)+D(j,i)
Wherein tinnnerIt is the interval time of each order iteration.
KpFor proportional control factor
KiFor integral control coefficient
KdFor derivative control coefficient
After obtaining PID controller output, desired rate-adaptive pacemaker is obtained by following formula or dutycycle exports:
v(j,i)=v(j,i-1)-Sv·PID(j,i)
It is 250ms due to controlling the transmission interval of error information frame, so the response speed of the controller is less than 250ms,
When load is dynamically added, input voltage can drag down moment, when the voltage is less than the minimum resetting voltage of main control chip, can draw
Play the interruption of power transmission.If the power required for being exported in addition in stable state is more than the power that input can be provided, also can
Cause input voltage to be less than the minimum resetting voltage of main control chip, cause the interruption of power transmission.
The present invention adds the Voltage loop of a variable-structure control on original controller, as shown in Figure 4.Dynamic
When, ratio control ring is cut, if input voltage falls, ratio control is swift in response, quick to reduce output current dimension
Input voltage is held no longer to fall.In order to maintain the stabilization of power output when stable state, and peak power output is kept, cut
PI control rings, the loop bandwidth is slower, to maintain stable power output.
Brief description of the drawings
Fig. 1, wireless charging system block diagram
Fig. 2, wireless charger receiving terminal circuit schematic diagram
Fig. 3, QI standard control method
Fig. 4, the control method for adding structure changes Voltage loop
Embodiment
In conjunction with accompanying drawing and example, the present invention is described in further detail.
Wireless charger controls the transmitting terminal electric current of next bat, the instruction of transmitting terminal electric current by Fig. 4 control method
Required frequency or dutycycle are produced by a PID approach, wherein j=1,2,3 ... receive labeled as transmitting terminal
Control error information frame order.After have received j-th of control error information frame, transmitting terminal is calculated down by below equation
The new current-order of one data frame:
Wherein:Represent the upper finally stabilised actual current of a data frame, c(j)The control that receiving terminal is sent is represented to miss
Difference data.If c(j)It is the number of non-zero, transmitting terminal should be in tactiveInterior regulation transmitting terminal electric current.In order to realize this target,
Transmitting side controller can perform the control of digital rings, the iteration exponent number i=1 of loop control, and 2,3 ... represent.Transmitting
End calculates the error of digital control ring with following formula.
WhereinUpper one for current data frame claps iteration actual current
Control method uses Discrete PI control method:
Ratio controls:P(j,i)=Kp·e(j,i)
Integration control:I(j,i)=I(j,i-1)+Ki·e(j,i)·tinner
Differential controls:
PID(j,i)=P(j,i)+I(j,i)+D(j,i)
Wherein tinnnerIt is the interval time of each order iteration.
KpFor proportional control factor
KiFor integral control coefficient
KdFor derivative control coefficient
After obtaining PID controller output, desired rate-adaptive pacemaker is obtained by following formula or dutycycle exports:
v(j,i)=v(j,i-1)-Sv·PID(j,i)
It is 250ms due to controlling the transmission interval of error information frame, so the response speed of the controller is less than 250ms,
When load is dynamically added, input voltage can drag down moment, when the voltage is less than the minimum resetting voltage of main control chip, can draw
Play the interruption of power transmission.If the power required for being exported in addition in stable state is more than the power that input can be provided, also can
Cause input voltage to be less than the minimum resetting voltage of main control chip, cause the interruption of power transmission.
The present invention adds the Voltage loop of a variable-structure control on original controller, as shown in Figure 4.Dynamic
When, ratio control ring is cut, if input voltage falls, ratio control is swift in response, quick to reduce output current dimension
Input voltage is held no longer to fall.In order to maintain the stabilization of power output when stable state, and peak power output is kept, cut
PI control rings, the loop bandwidth is slower, to maintain stable power output.
When the moment that receiving terminal has just been put up, load is not added up, and input voltage does not fall, therefore the Voltage loop does not act as
With.When load transients load, input voltage declines rapidly and functioned to more than the value of certain reservation, ratio control voltage ring,
Frequency is reduced, reduces output current, input voltage is begun to ramp up, while Voltage loop is changed to the PI controllers of low bandwidth, is maintained defeated
Go out stable, the raising stability of a system.