Summary of the invention
In view of this; The object of the present invention is to provide a kind of new Digital power control circuit and control method; The fiducial value of utilizing the dynamic component of compensating signal to come real-time regulated analog to digital converter ADC; Improve the governing speed of digital power control circuit, improved the dynamic response performance of digital power.
According to a kind of digital power control circuit of one embodiment of the invention, be applied to comprise in the digital power:
Analog to digital converter in order to receiving the output voltage of said digital power, and compares with n fiducial value, and comparative result converts the current output voltage that characterizes said digital power and the digital error signal of the error between the desired output voltage, n >=3 into;
Digital compensation circuit receives said digital error signal, with the digital duty cycle signals of corresponding generation; The dynamic component of wherein said digital duty cycle signals is passed to said analog to digital converter, with the numerical value of the said one group of fiducial value of corresponding change;
The DPWM module; According to the said digital duty cycle signals that receives; Produce pwm control signal and control the switch motion of the power switch in the said digital power, guarantee that the output voltage of said digital power is consistent with desired output voltage, and; When the output voltage of said digital power and desired output voltage are inconsistent, guarantee that the output voltage of said digital power returns to said desired output voltage fast.
Further, the number n of said fiducial value is an odd number, and the numerical value of a said n fiducial value is the center with the desired output voltage of said digital power, is distributed in the both sides of the desired output voltage of said digital power.
Further, said analog to digital converter comprises n comparator, and the first input end of a said n comparator receives the output voltage of said digital power, and second input receives a said n fiducial value respectively.
Further, said analog to digital converter comprises digital decoder, in order to receiving the output signal of a said n comparator, and is said digital error signal with said output conversion of signals.
Further, said analog to digital converter comprises and said n fiducial value n digital to analog converter one to one;
According to the dynamic component of said digital duty cycle signals and (n-1)/2 magnitude relationship of a reference value, regulate the input signal of a said n digital to analog converter; Wherein, the numerical value of said (n-1)/2 reference value is provided with according to the desired output electric current of said digital power, and successively decreases successively;
When the dynamic component of said digital duty cycle signals during less than (n-1)/2 reference value, a said n digital to analog converter is kept current state;
When the dynamic component of said digital duty cycle signals during greater than first reference value, the input signal of then said n digital to analog converter all subtracts 1;
Greater than second reference value, then the input signal of second digital to analog converter to the n-1 digital to analog converter all subtracts 1 less than first reference value when the dynamic component of said digital duty cycle signals;
Greater than the 3rd reference value, then the input signal of the 3rd digital to analog converter to the n-2 digital to analog converter all subtracts 1 less than second reference value when the dynamic component of said digital duty cycle signals;
And the like, greater than the k+1 reference value, then the input signal of k+1 digital to analog converter to the n-k digital to analog converter all subtracts 1 less than the k reference value when the dynamic component of said digital duty cycle signals;
The output signal of a said n digital to analog converter is as a said n fiducial value.
Further, said analog to digital converter also comprises n counter and (n-1)/2 register; Wherein, said (n-1)/2 reference value is stored in respectively in the register of said (n-1)/2; A said n counter and a said n digital to analog converter connect one to one.
According to a kind of digital power control method of one embodiment of the invention, be applied to may further comprise the steps in the digital power:
The sample output voltage of said digital power;
The output voltage and a said n fiducial value of said digital power are compared respectively, obtain n comparison signal;
Convert a said n comparison signal into the current output voltage of the said digital power of sign and the digital error signal of the error between the desired output voltage, n >=3;
According to said digital error signal, produce said digital duty cycle signals;
According to said digital duty cycle signals; Produce pwm control signal and control the switch motion of the power switch in the said digital power; The output voltage that guarantees said digital power is consistent with desired output voltage; And, when the output voltage of said digital power and desired output voltage are inconsistent, guarantee that the output voltage of said digital power returns to said desired output voltage fast.
Further, the number n of said fiducial value is an odd number, and the numerical value of a said n fiducial value is the center with the desired output voltage of said digital power, is distributed in the both sides of the desired output voltage of said digital power.
Further, the generation of a said n fiducial value may further comprise the steps:
The dynamic component of the digital duty cycle signals of sampled, digital power supply;
The dynamic component of said digital duty cycle signals and (n-1)/2 reference value are compared; The numerical value of said (n-1)/2 reference value is provided with according to the desired output voltage of said digital power, and successively decreases successively;
When the dynamic component of said digital duty cycle signals during less than (n-1)/2 reference value, n digital to analog converter kept current state;
When the dynamic component of said digital duty cycle signals during greater than first reference value, the input signal of a said n digital to analog converter all subtracts 1;
Greater than the k+1 reference value, then the input signal of k+1 digital to analog converter to the n-k digital to analog converter all subtracts 1 less than the k reference value when the dynamic component of said digital duty cycle signals;
The output signal of a said n digital to analog converter is as n fiducial value.
According to a kind of digital power of one embodiment of the invention, comprise above-mentioned described arbitrary digital power control circuit, also comprise power stage circuit; The pwm control signal of said digital power control circuit output is controlled the switch motion of the power switch in the said digital power; The output voltage that guarantees said digital power is consistent with desired output voltage; And; When the output voltage of said digital power and desired output voltage are inconsistent, guarantee that the output voltage of said digital power returns to said desired output voltage fast.
Digital power control circuit and control method according to the embodiment of the invention; A plurality of fiducial values of coming real-time regulated analog to digital converter ADC with the dynamic component of the digital duty cycle signals of compensating circuit; Said dynamic component has characterized the control information of the current output voltage of digital power; Therefore, utilize said dynamic component to the conditioned reaction of fiducial value current control information.When said dynamic component hour, also less accordingly to the adjusting of fiducial value; When said dynamic component is big, the adjusting of fiducial value is increased accordingly.Make the output of analog to digital converter ADC can follow the control information of current output voltage fast through this adjusting; Thereby come this control information is responded fast through follow-up compensating circuit; Promptly regulate said digital duty cycle signals fast; Realize the quick adjustment to the power switch of digital power, output voltage has obtained adjustment fast thereupon, has significantly improved the dynamic response performance of digital power.
Embodiment
Below in conjunction with accompanying drawing several preferred embodiments of the present invention is described in detail, but the present invention is not restricted to these embodiment.The present invention contain any on marrow of the present invention and scope, make substitute, modification, equivalent method and scheme.Understand for the public is had completely the present invention, in the following preferred embodiment of the present invention, specified concrete details, and do not had the description of these details also can understand the present invention fully for a person skilled in the art.
With reference to figure 2, be depicted as theory diagram according to the digital power control circuit of one embodiment of the invention.In this embodiment, digital power control circuit 200 comprises analog to digital converter ADC 23, digital compensation circuit 22 and DPWM module 21.
Wherein, analog to digital converter 23 receives the output voltage V of digital power
Out, and with n fiducial value (V
Ref1, V
Ref2, V
Ref3V
Refn) compare, comparative result converts the current output voltage of the said digital power of sign and the digital error signal E_digital of the error between the desired output voltage into, and the n value is n>=3 here;
Further, the number of a said n fiducial value is an odd number, and the numerical value of a said n fiducial value is the center with the desired output voltage of said digital power, is distributed in the both sides of the desired output voltage of said digital power.For example, a said n fiducial value can be set to arithmetic progression, and the numerical value of (n+1)/2 fiducial value is consistent with said desired output voltage, and then said n fiducial value is the center with said desired output voltage, is evenly distributed on the both sides of said desired output voltage.Those skilled in the art can learn that according to instruction of the present invention the number range of n fiducial value of other any suitable forms all goes for embodiments of the invention.
Digital compensation circuit 22 receives said digital error signal E_digital, and produces corresponding digital duty cycle signals D_digital according to this; The dynamic component Δ D_digital feedback of wherein digital duty cycle signals D_digital inputs to analog to digital converter 23, comes adjusting n real-time fiducial value (V
Ref1, V
Ref2, V
Ref3V
Refn) numerical value;
DPWM module 21 receives said digital duty cycle signals D_digital; Circuit such as timer output pwm control signal on the application sheet; Drive the conducting and the off state of the power switch pipe in the digital power, guarantee that the output voltage of said digital power is consistent with desired output voltage, and; When the output voltage of said digital power and desired output voltage are inconsistent, guarantee that the output voltage of said digital power returns to said desired output voltage fast.
Here, analog to digital converter ADC 23 can comprise fiducial value generation circuit 201, n comparator (202-2,202-2,202-3 ... 202-n) with digital decoder 203.
Fiducial value generation circuit 201 comes real-time regulated n fiducial value (V according to the dynamic component Δ D_digital of the said digital duty cycle signals in the digital power that receives
Ref1, V
Ref2, V
Ref3V
Refn) numerical value.The dynamic component Δ D_digital of said digital duty cycle signals characterizes the current output voltage of digital power and the control information between the desired output voltage.When the dynamic component Δ D_digital of said digital duty cycle signals hour, the current output voltage and the error between the desired output voltage that characterize digital power are less, therefore, at this moment only to n fiducial value (V
Ref1, V
Ref2, V
Ref3V
Refn) in the part value regulate.When the dynamic component Δ D_digital of said digital duty cycle signals was big, the current output voltage and the error between the desired output voltage that characterize digital power were bigger, therefore, and at this moment with n fiducial value (V
Ref1, V
Ref2, V
Ref3V
Refn) in whole or most of values regulate.
N comparator (202-1,202-2,202-3 ... Inverting input 202-n) receives the output voltage V out of digital power respectively, also can be the feedback voltage that characterizes the output voltage of digital power, and in-phase input end receives said n fiducial value (V respectively
Ref1, V
Ref2, V
Ref3V
Refn), n comparator (202-1,201-2,201-3 ... Output characterization 201-n) control information between current output voltage and the desired output voltage.
Said n comparator (202-1,201-2,201-3 that digital decoder 203 will receive ... Output conversion of signals 201-n) is digital error signal E_digital, inputs to digital compensation circuit 22 then.
It is thus clear that; Digital power control circuit according to the embodiment of the invention shown in Figure 2; A plurality of fiducial values of coming real-time regulated analog to digital converter ADC with the dynamic component of the digital duty cycle signals of digital compensation circuit 22; Said dynamic component has characterized the control information of the current output voltage of digital power, therefore, utilize said dynamic component to the conditioned reaction of fiducial value current control information.When said dynamic component hour, also less accordingly to the adjusting of fiducial value, when said dynamic component is big, the adjusting of fiducial value is increased accordingly.Make the output of analog to digital converter ADC can follow the control information of current output voltage fast through above-mentioned adjusting to fiducial value; Thereby come this control information is responded fast through follow-up compensating circuit; Promptly regulate said digital duty cycle signals fast; Realize the quick adjustment to the power switch of digital power, output voltage has obtained adjustment fast thereupon, has significantly improved the dynamic response performance of digital power.
With reference to figure 3, be depicted as theory diagram according to the digital power control circuit of another embodiment of the present invention.This embodiment has further specified a kind of concrete implementation of reference voltage generating circuit on the basis of embodiment shown in Figure 2.Below will be described in detail the operation principle of reference voltage generating circuit, the part identical with embodiment shown in Figure 2 will repeat no more.
In this embodiment, said reference voltage generating circuit 201 comprises n digital to analog converter (DAC1, DAC2, DAC3 ... DACn), n counter, (n-1)/2 register and processor DSP.Wherein, Said (n-1)/2 register has (n-1)/2 reference value (REF1, REF2, REF3 accordingly respectively ... REF (n-1)/2); The numerical value of said (n-1)/2 reference value successively decreases successively, and carries out relative set according to the desired output voltage of said digital power; For example, can be chosen as the arithmetic progression that successively decreases.A said n counter respectively with a corresponding n digital to analog converter (DAC1, DAC2, DAC3 ... DACn) one in is connected.
The dynamic component Δ D_digital of said digital duty cycle signals and said (n-1)/2 reference value (REF1, REF2, REF3 ... REF (n-1)/2) carry out numerical value and in processor DSP, compare,
When said dynamic variable during less than (n-1)/2 reference value, the input signal of a said n digital to analog converter is kept current state;
As the dynamic component Δ D_digital of said digital duty cycle signals during greater than the first reference value REF1, the input signal of then said n digital to analog converter all subtracts 1 through counter 1 to counter n;
Greater than the second reference value REF2, then the input signal of second digital to analog converter to the n-1 digital to analog converter all subtracts 1 through counter 2 to counter (n-1) less than the first reference value REF1 as the dynamic component Δ D_digital of said digital duty cycle signals;
Greater than the 3rd reference value REF3, then the input signal of the 3rd digital to analog converter to the n-2 digital to analog converter all subtracts 1 through counter 3 to counter (n-2) less than the second reference value REF2 as the dynamic component Δ D_digital of said digital duty cycle signals;
And the like; As the dynamic component Δ D_digital of said digital duty cycle signals less than k reference value REFk greater than k+1 reference value REF (k+1), then the input signal of k+1 digital to analog converter to the n-k digital to analog converter all subtracts 1 through counter k+1 to counter n-k;
The output signal of a said n digital to analog converter is as said n fiducial value (V
Ref1, V
Ref2, V
Ref3V
Refn).
Digital power control circuit according to the embodiment of the invention shown in Figure 3, n the fiducial value of coming real-time regulated analog to digital converter ADC with the dynamic component of the digital duty cycle signals of digital compensation circuit 22.According to the dynamic component of current digit duty cycle signals in (n-1)/2 a reference value (REF1; REF2; REF3 ... REF (n-1)/2) position in the number range of expression; Come the corresponding counter that passes through to obtain the set of number signal, obtain said n fiducial value (V through the digital to analog converter conversion again
Ref1, V
Ref2, V
Ref3V
Refn).
Said dynamic component has characterized the control information of the current output voltage of digital power; Therefore; Utilize said dynamic component to the conditioned reaction of fiducial value current control information, when said dynamic component hour, also less accordingly to the adjusting of fiducial value; When said dynamic component is big, the adjusting of fiducial value is increased accordingly.Therefore; The output of analog to digital converter ADC can be followed the control information of current output voltage fast; Thereby come this control information is responded fast through follow-up compensating circuit, promptly regulate said digital duty cycle signals fast, realize quick adjustment the power switch of digital power; Output voltage has obtained adjustment fast thereupon, has significantly improved the dynamic response performance of digital power.
With reference to figure 4, be depicted as flow chart according to the digital power control method of one embodiment of the invention, may further comprise the steps:
S401: the output voltage of sampled, digital power supply;
S402: with output voltage and n fiducial value (V of said digital power
Ref1, V
Ref2, V
Ref3V
Refn) compare respectively, obtain n comparison signal, n>=3;
S403: convert a said n comparison signal into the current output voltage of the said digital power of sign and the digital error signal of the error between the desired output voltage;
S404: according to said digital error signal, produce digital duty cycle signals, and the numerical value of a said n fiducial value is regulated according to the dynamic component of said digital duty cycle signals;
S405: according to said digital duty cycle signals; Produce pwm control signal and control the switch motion of the power switch in the said digital power; The output voltage that guarantees said digital power is consistent with desired output voltage; And, when the output voltage of said digital power and desired output voltage are inconsistent, guarantee that the output voltage of said digital power returns to said desired output voltage fast.
Wherein, the number of a said n fiducial value is an odd number, and the numerical value of a said n fiducial value successively decreases successively, is distributed in the both sides of the desired output voltage of said digital power.The numerical value of a said n fiducial value can carry out corresponding setting according to actual needs; For example; Numerical value that can a said n fiducial value is set to an arithmetic progression; And the numerical value of (n+1)/2 fiducial value is consistent with said desired output voltage, and then said n fiducial value is the center with said desired output voltage, is evenly distributed on the both sides of said desired output voltage.Those skilled in the art can learn that according to instruction of the present invention the number range of n fiducial value of other any suitable forms all goes for embodiments of the invention.
And; The numerical value of a said n fiducial value can carry out real-time regulated according to the dynamic component of said digital duty cycle signals; The dynamic component of said digital duty cycle signals characterizes the current output voltage and the control information between the desired output voltage of digital power, therefore, and when the dynamic component of said digital duty cycle signals greatly the time; The current output voltage and the error between the desired output voltage of expression digital power are bigger; At this moment, all or part of numerical value in n the fiducial value is adjusted to the desired output voltage of said digital power draws close, to strengthen regulating effect; When the dynamic component of said digital duty cycle signals hour, the current output voltage and the error between the desired output voltage of expression digital power are less, if error is enough little, can the numerical value of n fiducial value not regulated; If error is bigger, then the numerical value of the part fiducial value in n the fiducial value is adjusted to the desired output voltage of said digital power and draws close.
Therefore; According to the digital power control method of the embodiment of the invention, digital error signal can be followed the tracks of the control information of current output voltage fast, thereby this control information is responded fast; Promptly regulate said digital duty cycle signals fast; Realize the quick adjustment to the power switch of digital power, output voltage has obtained adjustment fast thereupon, has significantly improved the dynamic response performance of digital power.
With reference to figure 5, be depicted as flow chart according to the production method of n the fiducial value of one embodiment of the invention, it may further comprise the steps:
S501: the dynamic component of the digital duty cycle signals of sampled, digital power supply;
S502: a said dynamic component and (n-1)/2 reference value are compared;
The numerical value of said (n-1)/2 reference value successively decreases successively; The numerical value of said (n-1)/2 reference value is provided with according to the desired output voltage of said digital power;
S503: when said dynamic component during less than (n-1)/2 reference value, with a said n fiducial value one to one n digital to analog converter keep current state;
S504: when said dynamic component during greater than first reference value, the input signal of a said n digital to analog converter all subtracts 1;
S505: greater than the k+1 reference value, then the input signal of k+1 digital to analog converter to the n-k digital to analog converter all subtracts 1 less than the k reference value when said dynamic variable;
Further, can through with a said n digital to analog converter one to one n counter realize the change of logarithmic mode transducer input signal;
S506: the output signal of a said n digital to analog converter is as n fiducial value.
Production method through above-mentioned n fiducial value according to the embodiment of the invention; According to the position of said dynamic variable in the determined number range of (n-1)/2 reference value, regulate the numerical value of all or part of fiducial value in n the fiducial value through a set of counters accordingly.
With reference to figure 6, be depicted as theory diagram according to a kind of digital power of one embodiment of the invention.In this embodiment, said digital power 600 comprises power stage circuit 601 and digital power control circuit 602.Wherein, power stage circuit 601 can be for comprising power switch, and rectifier switch, boosts-voltage-dropping type or isolated topological structure at the voltage-dropping type of inductance and filter circuit, booster type; Digital power control circuit 602 can be for above-mentioned described arbitrary digital power control circuit according to the embodiment of the invention, like Fig. 2 and Fig. 3, and based on the reasonable distortion of the foregoing description disclosed by the invention.
The pwm control signal of said digital power control circuit output is controlled the switch motion of the power switch in the said digital power; The output voltage that guarantees said digital power is consistent with desired output voltage; And; When the output voltage of said digital power and desired output voltage are inconsistent, guarantee that the output voltage of said digital power returns to said desired output voltage fast.
Need to prove that the device function that title is identical between each embodiment of the present invention is also identical, and change progressive embodiment and can combine with above-mentioned a plurality of related embodiment respectively, but only on the basis of a last embodiment, illustrate during explanation.And; Below only be being that example describes the digital power control circuit in the present embodiment like Fig. 2 circuit shown in Figure 3; But comprising, the structure of these two kinds of circuit is not limited to above disclosed form, as long as can realize the function of the described interlock circuit of the embodiment of the invention, therefore; The relevant improvement that those skilled in the art are done on the basis of the disclosed circuit of the embodiment of the invention is also within the protection range of the embodiment of the invention.
In addition; Also need to prove; In this article; Relational terms such as first and second grades only is used for an entity or operation are made a distinction with another entity or operation, and not necessarily requires or hint relation or the order that has any this reality between these entities or the operation.And; Term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability; Thereby make and comprise that process, method, article or the equipment of a series of key elements not only comprise those key elements; But also comprise other key elements of clearly not listing, or also be included as this process, method, article or equipment intrinsic key element.Under the situation that do not having much more more restrictions, the key element that limits by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises said key element and also have other identical element.
As indicated above according to embodiments of the invention, these embodiment do not have all details of detailed descriptionthe, do not limit this invention yet and are merely described specific embodiment.Obviously, according to above description, can do a lot of modifications and variation.These embodiment are chosen and specifically described to this specification, is in order to explain principle of the present invention and practical application better, thereby person skilled can utilize the present invention and the modification on basis of the present invention to use well under making.The present invention only receives the restriction of claims and four corner and equivalent.