# Patent

## Title
Reference adjusting power supply for processor and control method thereof

## Abstract

The present invention provides a power supply for processor and control method thereof. The power supply comprises a reference adjusting circuit and a voltage regulator. The reference adjusting circuit is configured to receive a VID code from a processor, and adjust a reference voltage based on the VID code. The voltage regulator is coupled to the reference adjusting circuit and converts an input voltage into an output voltage in accordance to the reference voltage. The reference adjusting circuit adjusts the reference voltage in a plurality of steps until the reference voltage reaches a target value corresponding to the VID code. The reference adjusting circuit adjusts the reference voltage by a preset value during each step, and proceeds to adjust the reference voltage by a next step only after the output voltage reaches a predetermined scope of the reference voltage.

## Background
TECHNICAL FIELD
Embodiments of the present invention generally relates to power supplies, and more particularly, relates to power supplies for processors and control methods thereof.
BACKGROUND
In a computer system, the operating voltage supplied to the processor, such as the central process unit (CPU) or graphic process unit (GPU), is determined by a dynamic voltage identification (VID) code produced based on the requirement of the processor.
FIG. 1 is a block diagram of a prior power supply. A VID code is generated by a processor 103 in accordance to its required operating voltage. A reference adjusting circuit 101 receives the VID code, and based on the VID code, adjusts a previously set reference voltage Vrefint, and outputs the adjusted reference voltage Vref.
A voltage regulator 102 comprising at least one switch receives the adjusted reference voltage Vref, and converts an input voltage Vin into an output voltage Vout in accordance to the adjusted reference voltage Vref. The output voltage Vout is used as the operating voltage of the processor 103. Generally, the output voltage Vout is fed back and compared with the adjusted reference voltage Vref, so as to control the ON and OFF switching of the switches in the voltage regulator 102.
In some applications, the reference adjusting circuit 101 further receives a slew rate command together with the VID code from the processor 103. The slew rate command is used to indicate the required transition rate of the operating voltage. In the voltage regulation standard, VR12, set by Intel, there are 3 different slew rates: fast, slow, and decay.
When a slew rate command SetVID_Fast or SetVID_Slow and a VID code are received, the reference adjusting circuit 102 ramps up/down the previously set reference voltage Vrefint in a controlled rate until the adjusted reference voltage Vref reaches a target value corresponding to the VID code. The target value may be equal to the required operating voltage.
The decay slew rate command SetVID_Decay is normally used for VID down transition. In the prior art, when a SetVID_Decay command and a VID code are received, the reference adjusting circuit 102 directly changes the previously set reference voltage Vrefint into a target value corresponding to the VID code without controlling the slew rate. The switches in the voltage regulator 102 will all be shut down and the output voltage Vout decays at a rate proportional to the load current.
However, if the processor 103 sends out a SetVID_Fast or SetVID_Slow command with a new VID code before the output voltage Vout decays to reach the previously set reference voltage Vrefint, the switches in the voltage regulator 102 will be activated again. The reference adjusting circuit 102 will ramp up/down the previously set reference voltage Vrefint in a controlled rate. If the output voltage Vout is much bigger than the adjusted reference voltage Vref at the time, an undershoot of the output voltage Vout will be generated and the switches in the voltage regulator 102 may be damaged if there is no reverse current protection for the switches.
FIG. 2 is a waveform of the prior power supply shown in FIG. 1. At t=t0, the reference voltage Vref is VREF0 and the output voltage Vout is equal to the reference voltage Vref. At t=t1, a SetVID_Decay command and a first VID code VID1 are sent to the reference adjusting circuit 101 by the processor 103. The reference voltage Vref is directly changed into a first target value VREF1 corresponding to VID1. The switches in the voltage regulator 102 are all shut down and the output voltage Vout decays at a rate proportional to the load current.
At t=t2, a SetVID_Fast command and a second VID code VID2 are sent to the reference adjusting circuit 101, wherein VID2 is larger than VID1. The switches in the voltage regulator 102 are activated again and the reference voltage Vref is ramped up in a controlled rate. Since the output voltage Vout is much bigger than the reference voltage Vref at t=t2, an undershoot of the output voltage Vout is generated. The output voltage Vout is increased along with the reference voltage Vref after then. At t=t3, the reference voltage Vref and the output voltage Vout reach a second target value VREF2 corresponding to VID2.
SUMMARY
The present invention is directed to a power supply for processor and control method thereof. In an embodiment of the present disclosure, the power supply comprises a reference adjusting circuit and a voltage regulator. The reference adjusting circuit is configured to receive a VID code from a processor, and adjust a reference voltage based on the VID code. The voltage regulator is coupled to the reference adjusting circuit and converts an input voltage into an output voltage in accordance to the reference voltage. The reference adjusting circuit adjusts the reference voltage in a plurality of steps until the reference voltage reaches a target value corresponding to the VID code. The reference adjusting circuit adjusts the reference voltage by a preset value during each of the plurality of steps, and proceeds to adjust the reference voltage by a next step of the plurality of steps only after the output voltage reaches a predetermined scope of the reference voltage. In one embodiment, the reference adjusting circuit adjusts the reference voltage by reducing it.



BRIEF DESCRIPTION OF THE DRAWING
The present invention can be further understood with reference to the following detailed description and the appended drawings, wherein like elements are provided with like reference numerals.
FIG. 1 is a block diagram of a prior power supply.
FIG. 2 is a waveform of the power supply shown in FIG. 1.
FIG. 3 is a block diagram of a power supply, in accordance with an embodiment of the present disclosure.
FIG. 4 is a waveform of the power supply shown in FIG. 3, in accordance with an embodiment of the present disclosure.
FIG. 5 is a block diagram of a power supply, in accordance with an embodiment of the present disclosure.
FIG. 6 is a table illustrating a dynamic VID code corresponding to a required output voltage, in accordance with one embodiment of the present disclosure.
FIG. 7 is a flow chart of a control method of power supply, in accordance with an embodiment of the present disclosure.



DETAILED DESCRIPTION
Reference will now be made in detail to the preferred embodiments of the invention, examples of which are illustrated in the accompanying drawings. While the invention will be described in conjunction with the preferred embodiments, it will be understood that they are not intended to limit the invention to these embodiments. On the contrary, the invention is intended to cover alternatives, modifications and equivalents, which may be included within the spirit and scope of the invention as defined by the appended claims. Furthermore, in the following detailed description of the present invention, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, it will be obvious to one of ordinary skill in the art that the present invention may be practiced without these specific details. In other instances, well-known methods, procedures, components, and circuits have not been described in detail so as not to unnecessarily obscure aspects of the present invention.
A power supply comprising a reference adjusting circuit and a voltage regulator is disclosed. The reference adjusting circuit receives a VID code from a processor, and adjusts a reference voltage based on the VID code. The voltage regulator is coupled to the reference adjusting circuit, and converts an input voltage into an output voltage in accordance to the reference voltage. The reference adjusting circuit adjusts the reference voltage in a plurality of steps until the reference voltage reaches a target value corresponding to the VID code. The reference adjusting circuit adjusts the reference voltage by a preset value during each of the plurality of steps, and proceeds to adjust the reference voltage by a next step of the plurality of steps only after the output voltage reaches a predetermined scope of the reference voltage.
FIG. 3 is a block diagram of a power supply 300, in accordance with an embodiment of the present disclosure. The power supply 300 comprises a reference adjusting circuit 301 and a voltage regulator 302. The reference adjusting circuit 301 receives the VID code from a processor 303, and adjusts a reference voltage Vref based on the VID code. The reference adjusting circuit 301 may receive the VID code through serial or parallel communication. The processor 303 may be CPU, GPU or other signal processors. In one embodiment, the reference adjusting circuit 301 receives the VID code through a Serial VID bus which is a three wire (clock, data, alert) serial source synchronous interface used to transfer power management information.
The voltage regulator 302 is coupled to the reference adjusting circuit 301, and converts an input voltage Vin into an output voltage Vout in accordance to the reference voltage Vref. In one embodiment, an offset value is added to the VID code to form a modified VID code. The voltage regulator 302 converts the input voltage Vin into the output voltage Vout in accordance to the modified VID code.
The reference adjusting circuit 302 adjusts the reference voltage Vref in a plurality of steps until the reference voltage Vref reaches a target value corresponding to the VID code. The reference adjusting circuit 302 adjusts the reference voltage Vref by a preset value during each of the plurality of steps, and proceeds to adjust the reference voltage Vref by a next step of the plurality of steps only after the output voltage Vout reaches a predetermined scope of the reference voltage Vref.
In one embodiment, the reference adjusting circuit 302 adjusts the reference voltage Vref by reducing it. The reference adjusting circuit 302 reduces the reference voltage step by step (for example, N steps in total, N2) until the reference voltage Vref reaches a target value corresponding to the VID code. The reference adjusting circuit 302 reduces the reference voltage Vref by a preset value Vpre—i during each step, and proceeds to the next step only after the output voltage Vout reaches a predetermined scope of the reference voltage Vref, wherein i=1, 2, . . . , N. In one embodiment, the preset value of each step, Vpre—1, Vpre—2, . . . , Vpre—N, may be unequal. In another embodiment, these preset values may be equal to Vpre.
In one embodiment, the VID code is generated by the processor 303 in accordance to its required operating voltage. The processor 303 is coupled to the voltage regulator 302 to receive the output voltage Vout. In another embodiment, the VID code is generated by the processor 303 in accordance to the requirement of a load. The load, instead of the processor 303, is coupled to the voltage regulator 302 to receive the output voltage Vout.
In one embodiment, the reference adjusting circuit 301 comprises a reference descending circuit 304 and a voltage regulation settled detection circuit 305. The voltage regulation settled detection circuit 305 is coupled to the voltage regulator 302 and generates a voltage regulation settled signal VRSET when the output voltage Vout reaches a predetermined scope of the reference voltage Vref. The reference descending circuit 304 is coupled to the voltage regulation settled detection circuit 305, adjusts the reference voltage Vref in the plurality of steps based on the voltage regulation settled signal VRSET, until the reference voltage Vref reaches the target value.
In one embodiment, the voltage regulator 302 comprises a controller 306 and a switching converter 307. The switching converter 307 comprises at least one switch, converts the input voltage Vin into the output voltage Vout through the ON and OFF switching of the at least one switch. The controller 306 is coupled to the reference adjusting circuit 301, generates a control signal CTRL to control the ON and OFF of the at least one switch in accordance to the reference voltage Vref. The controller 306 may be a PWM controller or PFM controller. The switching converter 307 may be configured in any AC/DC topology or DC/DC topology. In one embodiment, the output voltage Vout is fed back to adjust the control signal CTRL. In another embodiment, both the load current and the output voltage Vout are fed back to adjust the control signal CTRL. In one embodiment, the reference adjusting circuit 301 and the controller 306 are integrated in an IC.
In one embodiment, the target value corresponding to the VID code is equal to the required output voltage. The output voltage Vout is compared with a thresholds Vth1 related to the reference voltage Vref. The output voltage Vout is deemed as reaching the predetermined scope of the reference voltage Vref if the output voltage Vout is smaller than the threshold Vth1. In another embodiment, the output voltage Vout is compared with thresholds Vth1 and Vth2 which are related to the reference voltage Vref, wherein the threshold Vth1 is larger than the threshold Vth2. The output voltage Vout is deemed as reaching the predetermined scope of the reference voltage Vref if the output voltage Vout is larger than the threshold Vth2 and smaller than the threshold Vth1. In one embodiment, the threshold Vth1 is a sum of the reference voltage Vref and a settle value Vsettle (Vth1=Vref+Vsettle), and the threshold Vth2 is a difference between the reference voltage Vref and the settle value Vsettle (Vth2=Vref−Vsettle). In one embodiment, the settle value Vsettle is 10 mV.
In one embodiment, the output voltage Vout is sensed and an output sensing signal is generated accordingly. The output sensing signal is fed back to adjust the control signal CTRL, and compared with the thresholds above to detect whether the output voltage Vout reaches the predetermined scope of the reference voltage Vref.
In one embodiment, the reference adjusting circuit 301 further receives a slew rate command from the processor 303. When a first slew rate command, such as SetVID_Decay, is received together with the VID code, the reference adjusting circuit 301 reduces the reference voltage Vref step by step until the reference voltage Vref reaches the target value corresponding to the VID code. The reference adjusting circuit 301 reduces the reference voltage Vref by a preset value Vpre—i during each step, and proceeds to the next step after the output voltage Vout reaches a predetermined scope of the reference voltage Vref. When a second slew rate command, such as SetVID_Fast or SetVID_Slow, is received together with the VID code, the reference adjusting circuit 301 ramps up/down the reference voltage Vref in a controlled rate until the reference voltage Vref reaches the target value corresponding to the VID code.
FIG. 4 is a waveform of the power supply shown in FIG. 3, in accordance with an embodiment of the present disclosure. At t=t0, the reference voltage Vref is VREF0 the output voltage Vout is equal to the reference voltage Vref. At t=t1, a SetVID_Decay command and a first VID code VID1 are sent to the reference adjusting circuit 301. The switches in the switching converter 307 are all shut down and the output voltage Vout decays at a rate proportional to the load current. The reference voltage Vref is reduced step by step. The reference voltage Vref is reduced by a preset value Vpre during each step, and the next step is triggered only after the output voltage Vout reaches a predetermined scope of the reference voltage Vref (Vref−Vsettle≦Vout≦Vref+Vsettle).
At t=t2, a SetVID_Fast command and a second VID code VID2 are sent to the reference adjusting circuit 301, wherein VID2 is larger than VID1. The switches in the switching converter 307 are activated again and the reference voltage Vref is ramped up in a controlled rate. Since the output voltage Vout is not far away from the reference voltage Vref at t=t2 (the difference is at most Vpre+Vsettle), the output voltage Vout will increase along with the reference voltage Vref without any undershoot. At t=t4, the reference voltage Vref and the output voltage Vout reach the second target value VREF2 corresponding to VID2.
Since the output voltage Vout is kept around the reference voltage Vref during the decay transition, the large reverse current and the undershoot of the output voltage Vout are eliminated. The time used to achieve the second target value VREF2 is also shortened.
FIG. 5 is a block diagram of a power supply 500, in accordance with an embodiment of the present disclosure. The power supply 500 comprises a reference adjusting circuit 501 and a voltage regulator 502. The voltage regulator 302 converts an input voltage Vin into an output voltage Vout in accordance to a reference voltage Vref. The reference adjusting circuit 501 receives a VID code from a processor 503, and adjusts the reference voltage Vref based on the VID code.
The reference adjusting circuit 501 comprises a reference descending circuit 504, a voltage regulation settled detection circuit 505 and a digital to analog converter 510. The digital to analog converter 510 converts a digital input signal DIN into the reference voltage Vref. The voltage regulation settled detection circuit 505 is coupled to the voltage regulator 502, and generates a voltage regulation settled signal VRSET when the output voltage Vout reaches a predetermined scope of the reference voltage Vref. The reference descending circuit 504 is coupled to the voltage regulation settled detection circuit 505 and the digital to analog converter 510, adjust the digital input signal DIN in the plurality of steps based on the voltage regulation settled signal VRSET, until the digital input signal DIN becomes equal to the VID code.
In one embodiment, the reference descending circuit 502 reduces the digital input signal DIN by a step value STEP during each step, and proceeds to the next step only after the output voltage Vout reaches a predetermined scope of the reference voltage Vref. In one embodiment, the step value STEP is 1 LSB (least significant bit). In one embodiment, the reference descending circuit 504 is a microprocessor which executes a program to realize the actions above.
In one embodiment, the reference descending circuit 504 comprises a comparison unit 508 and a subtraction unit 509. The comparison unit 508 compares the digital input signal DIN with the VID code. The subtraction unit 509 is coupled the comparison unit 508, the voltage regulation settled detection circuit 505 and the digital to analog converter 510, subtracts the step value STEP from the digital input signal DIN based on the voltage regulation settled signal VRSET and the comparison result of the comparison unit 508.
In one embodiment, the voltage regulation settled detection circuit 505 comprises an AND gate AND1, comparators COM1 and COM2. The non-inverting input terminal of the comparator COM1 receives the first threshold Vth1 (Vth1=Vref+Vsettle). The inverting input terminal of the comparator COM1 and the non-inverting input terminal of the comparator COM2 are coupled to the output terminal of the switching converter 510 to receive the output voltage Vout. The inverting input terminal of the comparator COM2 receives the second threshold Vth2 (Vth2=Vref−Vsettle). The two input terminals of the AND gate AND1 are coupled to the output terminals of the comparators COM1 and COM2 separately. The output terminal of the AND gate AND1 provides the voltage regulation settled signal VRSET.
In one embodiment, the reference adjusting circuit 501 further receives a slew rate command from the processor 503. When a SetVID_Decay Command and a VID code are received, the reference adjusting circuit 501 reduces the digital input signal DIN by only 1 LSB instead of changing it immediately into the VID code. The reference adjusting circuit 501 waits until the output voltage Vout settles (reaches a predetermined scope of the reference voltage Vref), and reduces another 1 LSB. The reference adjusting circuit 501 keeps doing this until the digital input signal DIN reaches the VID code. By doing this, the output voltage Vout tracks the reference voltage Vref with a small error throughout the decay operation. This ensures that the output voltage Vout is ready to ramp to the next required output voltage without discharging the output at the start of the new ramp, even if a new slew rate command (SetVID_Fast or SetVID_Slow) is received during the decay operation.
FIG. 6 is a table illustrating a dynamic VID code corresponding to a required output voltage, in accordance with one embodiment of the present disclosure. The VID code and the digital input signal DIN are 8-bit signals. Given the previous digital input signal DIN is 0F1H (11110001B) and the previous output voltage Vout is 2.9V, if a VID code 15H (00010101B) and a SetVID_Decay command are received from the processor 503, the digital input signal DIN will be decreased from 0F1H to 15H step by step. The output voltage Vout will decay from 2.9V to 0.7V at a rate proportional to the load current. In one embodiment, the step value STEP is 01H (00000001B) and the settle value Vsettle is 10 mV. During each step, the digital input signal DIN is reduced by 01H. The next step is triggered only after the output voltage Vout reaches ±10 mV of the reference voltage Vref.
If a SetVID_Fast or SetVID_Slow command is received together with a new VID code, such as 0FBH (11111011B), during the decay operation, the digital input signal DIN will be changed into the new VID code in a controlled rate.
A control method of a power supply is also disclosed. The power supply comprises a voltage regulator which converts an input voltage into an output voltage in accordance to a reference voltage. The control method comprising: receiving a VID code indicative of the required output voltage from a processor, and adjusting the reference voltage in a plurality of steps until the reference voltage reaches a target value corresponding to the VID code. The reference voltage is adjusted by a preset value during each of the plurality of steps, and the reference voltage is adjusted by a next step of the plurality of steps only after the output voltage reaches a predetermined scope of the reference voltage.
FIG. 7 is a flow chart of a control method of power supply, in accordance with an embodiment of the present disclosure. The power supply comprises a voltage regulator which converts an input voltage Vin into an output voltage Vout in accordance to a reference voltage Vref. The reference voltage Vref is generated by a digital to analog converter in accordance to a digital input signal DIN. The control method comprises steps 721 ̃726.
At Step 721, a VID code indicative of the required output voltage is received from a processor.
At Step 722, a step value STEP is subtracted from the digital input signal DIN.
At Step 723, whether the output voltage reaches a predetermined scope of the reference voltage is detected. If yes, go to Step 724, else, keep detecting. In one embodiment, the output voltage is compared with a first threshold voltage and a second threshold voltage, wherein the first threshold voltage is larger then the second threshold voltage. The output voltage is deemed as reaching the predetermined scope of the reference voltage if the output voltage is larger than the second threshold voltage and smaller than the first threshold voltage. In one embodiment, the first threshold voltage is a sum of the reference voltage and a settle value voltage, and the second threshold voltage is a difference between the reference voltage and the settle value voltage
At Step 724, the digital input signal DIN is compared with the VID code. If the digital input signal DIN is equal to the VID code, go to Step 725, else, go to Step 722.
At Step 725, the VID transition is finished.
In one embodiment, the control method further comprises: receiving a slew rate command from the processor; when a first slew rate command is received together with a first VID code, reducing the reference voltage step by step until the reference voltage reaches a first target value corresponding to the first VID code; and when a second slew rate command is received together with a second VID code, changing the reference voltage into a second target value corresponding to the second VID code in a controlled rate.
Obviously many modifications and variations of the present invention are possible in light of the above teachings. It is therefore to be understood that within the scope of the appended claims the invention may be practiced otherwise than as specifically described. It should be understood, of course, the foregoing disclosure relates only to a preferred embodiment (or embodiments) of the invention and that numerous modifications may be made therein without departing from the spirit and the scope of the invention as set forth in the appended claims. Various modifications are contemplated and they obviously will be resorted to by those skilled in the art without departing from the spirit and the scope of the invention as hereinafter defined by the appended claims as only a preferred embodiment(s) thereof has been disclosed.

## Claims

1. A power supply, comprising:
a reference adjusting circuit configured to receive a VID code from a processor, and based on the VID code, a reference voltage is adjusted by the reference adjusting circuit; and
a voltage regulator coupled to the reference adjusting circuit, wherein the voltage regulator converts an input voltage into an output voltage in accordance to the reference voltage; wherein
the reference adjusting circuit adjusts the reference voltage in a plurality of steps until the reference voltage reaches a target value corresponding to the VID code, and wherein the reference adjusting circuit adjusts the reference voltage by a preset value during each of the plurality of steps, and the reference adjusting circuit is configured to proceed to adjust the reference voltage by a next step of the plurality of steps only after the output voltage reaches a predetermined scope of the reference voltage.

2. The power supply of claim 1, wherein the reference adjusting circuit adjusts the reference voltage by reducing it.

3. The power supply of claim 1, wherein the reference adjusting circuit comprises:
a voltage regulation settled detection circuit coupled to the voltage regulator, wherein the voltage regulation settled detection circuit is configured to generate a voltage regulation settled signal when the output voltage reaches a predetermined scope of the reference voltage; and
a reference descending circuit coupled to the voltage regulation settled detection circuit, wherein the reference descending circuit is configured, based on the voltage regulation settled signal, to adjust the reference voltage in the plurality of steps until the reference voltage reaches the target value.

4. The power supply of claim 3, wherein the reference adjusting circuit further comprises:
a digital to analog converter configured to convert a digital input signal into the reference voltage; wherein
the reference descending circuit is coupled to the digital to analog converter, and the reference descending circuit is configured to adjust the digital input signal in the plurality of steps based on the voltage regulation settled signal until the digital input signal becomes equal to the VID code.

5. The power supply of claim 1, wherein the output voltage is compared with a first threshold voltage and a second threshold voltage, wherein the output voltage is deemed as reaching the predetermined scope of the reference voltage if the output voltage is larger than the second threshold voltage and smaller than the first threshold voltage, wherein the first threshold voltage is larger than the second threshold voltage.

6. The power supply of claim 5, wherein the first threshold voltage is a sum of the reference voltage and a settle value voltage, and the second threshold voltage is a difference between the reference voltage and the settle value voltage.

7. The power supply of claim 1, wherein the voltage regulator comprises:
a switching converter, having at least one switch, wherein the switching converter is configured to convert the input voltage into the output voltage through the ON and OFF switching of the at least one switch; and
a controller coupled to the reference adjusting circuit, wherein the controller is configured to generate a control signal to control the ON and OFF of the at least one switch in accordance to the reference voltage.

8. The power supply of claim 1, wherein the reference adjusting circuit further receives a slew rate command from the processor, when a first slew rate command is received together with the VID code, the reference adjusting circuit reduces the reference voltage step by step until the reference voltage reaches the target value corresponding to the VID code; when a second slew rate command is received together with the VID code, the reference adjusting circuit changes the reference voltage into the target value in a controlled rate.

9. A reference adjusting circuit, configured to receive a VID code from a processor, and based on the VID code, a reference voltage of a voltage regulator is adjusted by the reference adjusting circuit, wherein
the reference adjusting circuit adjusts the reference voltage in a plurality of steps until the reference voltage reaches a target value corresponding to the VID code, and wherein the reference adjusting circuit adjusts the reference voltage by a preset value during each of the plurality of steps, and the reference adjusting circuit is configured to proceed to adjust the reference voltage by a next step of the plurality of steps only after the output voltage of the voltage regulator reaches a predetermined scope of the reference voltage.

10. The reference adjusting circuit of claim 9, wherein the reference adjusting circuit adjusts the reference voltage by reducing it.

11. The reference adjusting circuit of claim 9, comprising:
a voltage regulation settled detection circuit coupled to the voltage regulator, wherein the voltage regulation settled detection circuit is configured to generate a voltage regulation settled signal when the output voltage reaches a predetermined scope of the reference voltage; and
a reference descending circuit coupled to the voltage regulation settled detection circuit, wherein the reference descending circuit is configured, based on the voltage regulation settled signal, to adjust the reference voltage in the plurality of steps until the reference voltage reaches the target value.

12. The reference adjusting circuit of claim 11, further comprising:
a digital to analog converter configured to convert a digital input signal into the reference voltage; wherein
the reference descending circuit is coupled to the digital to analog converter, and the reference descending circuit is configured to adjust the digital input signal in the plurality of steps based on the voltage regulation settled signal until the digital input signal becomes equal to the VID code.

13. The reference adjusting circuit of claim 9, wherein the output voltage is compared with a first threshold voltage and a second threshold voltage, wherein the output voltage is deemed as reaching the predetermined scope of the reference voltage if the output voltage is larger than the second threshold voltage and smaller than the first threshold voltage, wherein the first threshold voltage is larger than the second threshold voltage.

14. The reference adjusting circuit of claim 13, wherein the first threshold voltage is a sum of the reference voltage and a settle value voltage, and the second threshold voltage is a difference between the reference voltage and the settle value voltage.

15. The reference adjusting circuit of claim 9, further receiving a slew rate command from the processor, wherein
when a first slew rate command is received together with the VID code, the reference adjusting circuit reduces the reference voltage step by step until the reference voltage reaches the target value corresponding to the VID code; and
when a second slew rate command is received together with the VID code, the reference adjusting circuit changes the reference voltage into the target value in a controlled rate.

16. A control method used in a power supply, wherein the power supply comprises a voltage regulator which converts an input voltage into an output voltage in accordance to a reference voltage, the control method comprising:
receiving a VID code from a processor;
adjusting the reference voltage in a plurality of steps until the reference voltage reaches a target value corresponding to the VID code; wherein
the reference voltage is adjusted by a preset value during each of the plurality of steps, and the reference voltage is adjusted by a next step of the plurality of steps only after the output voltage reaches a predetermined scope of the reference voltage.

17. The control method of claim 16, wherein the reference voltage is generated by a digital to analog converter in accordance to a digital input signal, the control method further comprising:
adjusting the digital input signal in the plurality of steps until the digital input signal becomes equal to the VID code.

18. The control method of claim 16, wherein the output voltage is compared with a first threshold voltage and a second threshold voltage, wherein the output voltage is deemed as reaching the predetermined scope of the reference voltage if the output voltage is larger than the second threshold voltage and smaller than the first threshold voltage, wherein the first threshold voltage is larger then the second threshold voltage.

19. The control method of claim 18, wherein the first threshold voltage is a sum of the reference voltage and a settle value voltage, and the second threshold voltage is a difference between the reference voltage and the settle value voltage.

20. The control method of claim 16, further comprising:
receiving a slew rate command from the processor;
when a first slew rate command is received together the VID code, reducing the reference voltage step by step until the reference voltage reaches the target value corresponding to the VID code; and
when a second slew rate command is received together with the VID code, changing the reference voltage into the target value in a controlled rate.