Claims
- 1. A digital controller for controlling a regulated output of an output regulator, the output regulator responsive to a pulse width signal for controlling the transfer of energy between an input source and the regulated output, comprising:
a duty cycle estimator to determine a nominal duty cycle; and an adjust determiner to determine an adjustment value to combine with the nominal duty cycle to generate an adjusted duty cycle, the pulse width signal being a function of the adjusted duty cycle.
- 2. The digital controller of claim 1 wherein the adjust determiner includes a selectable loop gain for determining the adjustment value.
- 3. The digital controller of claim 2 wherein the selectable loop gain is selectable at a rate greater than a switching frequency of the output regulator.
- 4. The digital controller of claim 2 wherein the selectable loop gain is controlled as a function of a regulator parameter of the output regulator.
- 5. The digital controller of claim 4 wherein the regulator parameter is selected from a group consisting of a voltage range of an error signal corresponding to the regulated output, a voltage range of the regulated output, the nominal duty cycle, and the adjusted duty cycle.
- 6. The digital controller of claim 1 further comprising a counter, responsive to the adjusted duty cycle, to generate an initial pulse width.
- 7. The digital controller of claim 6 further comprising a control block to generate a delay control signal as a function of the nominal duty cycle and the initial pulse width; and
a delay line, responsive to the initial pulse width and the delay control signal, to generate the pulse width signal having a finetuned pulse width.
- 8. The digital controller of claim 1 further comprising a duty cycle limiter to limit the adjusted duty cycle as a function of a regulator characteristic.
- 9. The digital controller of claim 8 wherein the duty cycle limiter operates on the finetuned pulse width.
- 10. The digital controller of claim 1 wherein the pulse width signal has a variable frequency.
- 11. The digital controller of claim 1 wherein the adjust determiner includes loop compensation to stabilize a loop response of the output regulator, the loop compensation controllable at a rate in a range of approximately equal to the switching frequency of the output regulator up to a sampling frequency of the digital controller.
- 12. The digital controller of claim 11 wherein the loop compensation includes an adjustable constant to vary a ratio of an error portion and a trend portion of the loop compensation.
- 13. The digital controller of claim 1 wherein the adjust determiner further includes a computation sequence as follows:
- 14. The digital controller of claim 13 wherein the adjust determiner includes loop compensation to stabilize a loop response of the output regulator, the loop compensation represented within the computation sequence as a ratio of g(ek) to h(trendk).
- 15. The digital controller of claim 1 wherein the adjustment value is a function of an estimated trend of error, the error based on a difference between a reference and the regulated output.
- 16. The digital controller of claim 15 wherein the estimated trend of the error is based on a mathematical function of the error including a running average, a mean, a peak value, and a weighted average.
- 17. The digital controller of claim 1 wherein the adjustment value is a function of a predetermined slope constant.
- 18. The digital controller of claim 1 wherein the adjustment value is a function of a slope constant, and the slope constant is selectable at a rate greater than a switching frequency of the output regulator.
- 19. The digital controller of claim 1 wherein the adjustment value is a function of an error history of error, the error based on a difference between a reference and the regulated output; and
the error history based on a mathematical function of prior values of the error including a running average, a mean, a peak value, and a weighted average.
- 20. A duty cycle estimator for determining a duty cycle for controlling a regulated output of an output regulator, the output regulator responsive to the duty cycle for controlling a transfer of energy between an input source and the regulated output, comprising:
an error generator to compare the regulated output to an output reference to generate an output error; an accumulator to determine an accumulated error of the output error over a time period of at least N times a switching period of the output regulator; a reference generator to generate reference levels; and a comparator to compare the accumulated error to the reference levels such that a single zero is generated, and to generate the duty cycle based on the comparing.
- 21. The duty cycle estimator of claim 20 wherein the accumulated error is selected from a group consisting of running error, average error, mean error, weighted average error, and combinations thereof.
- 22. The duty cycle estimator of claim 20 wherein N is at least approximately 1000.
- 23. The duty cycle estimator of claim 20 wherein the reference levels include at least a first reference level and a second reference level; and
the comparator to compare the accumulated error to each of the reference levels and in response to control the duty cycle by steps.
- 24. The duty cycle estimator of claim 23 wherein each of the steps include a predetermined portion of the duty cycle in a range of approximately 0.1% of a maximum duty cycle to 5% of the maximum duty cycle.
- 25. The duty cycle estimator of claim 23 wherein if the accumulated error is less than the first reference level, the comparator to reduce the duty cycle by at least one step; and
if the accumulated error is greater than the second reference level, the comparator to increase the duty cycle by at least one step.
- 26. The duty cycle estimator of claim 20 wherein the duty cycle corresponds to an on-time; and the output regulator has a variable switching frequency.
- 27. A digital controller for controlling a regulated output of an output regulator, the output regulator responsive to a pulse width signal for controlling the transfer of energy between an input source and the regulated output, comprising:
means for estimating a nominal duty cycle; and means for determining an adjustment value to combine with the nominal duty cycle to generate an adjusted duty cycle, the pulse width signal being a function of the adjusted duty cycle.
- 28. The digital controller of claim 27 wherein the determining means includes a selectable loop gain for determining the adjustment value.
- 29. The digital controller of claim 28 wherein the selectable loop gain is selectable at a rate greater than a switching frequency of the output regulator.
- 30. The digital controller of claim 28 wherein the selectable loop gain is controlled as a function of a regulator parameter of the output regulator.
- 31. The digital controller of claim 30 wherein the regulator parameter is selected from a group consisting of a voltage range of an error signal corresponding to the regulated output, a voltage range of the regulated output, the nominal duty cycle, and the adjusted duty cycle.
- 32. The digital controller of claim 27 further comprising means for counting, responsive to the adjusted duty cycle, to generate an initial pulse width.
- 33. The digital controller of claim 32 further comprising means for controlling to generate a delay control signal as a function of the nominal duty cycle and the initial pulse width; and
means for delaying, responsive to the initial pulse width and the delay control signal, to generate the pulse width signal having a finetuned pulse width.
- 34. The digital controller of claim 27 further comprising means for duty cycle limiting to limit the adjusted duty cycle as a function of a regulator characteristic.
- 35. The digital controller of claim 34 wherein the means for duty cycle limiting operates on the finetuned pulse width.
- 36. The digital controller of claim 27 wherein the pulse width signal has a variable frequency.
- 37. The digital controller of claim 27 wherein the determining means includes loop compensation to stabilize a loop response of the output regulator, the loop compensation controllable at a rate in a range of approximately equal to the switching frequency of the output regulator up to a sampling frequency of the digital controller.
- 38. The digital controller of claim 37 wherein the loop compensation includes an adjustable constant to vary a ratio of an error portion and a trend portion of the loop compensation.
- 39. The digital controller of claim 27 wherein the determining means further includes a computation sequence as follows:
- 40. The digital controller of claim 39 wherein the determining means includes loop compensation to stabilize a loop response of the output regulator, the loop compensation represented within the computation sequence as a ratio of g(ek) to h(trendk).
- 41. The digital controller of claim 27 wherein the adjustment value is a function of an estimated trend of error, the error based on a difference between a reference and the regulated output.
- 42. The digital controller of claim 41 wherein the estimated trend of the error is based on a mathematical function of the error including a running average, a mean, a peak value, and a weighted average.
- 43. The digital controller of claim 27 wherein the adjustment value is a function of a predetermined slope constant.
- 44. The digital controller of claim 27 wherein the adjustment value is a function of a slope constant, and the slope constant is selectable at a rate greater than a switching frequency of the output regulator.
- 45. The digital controller of claim 27 wherein the adjustment value is a function of an error history of error, the error based on a difference between a reference and the regulated output; and
the error history based on a mathematical function of prior values of the error including a running average, a mean, a peak value, and a weighted average.
- 46. A duty cycle estimator for determining a duty cycle for controlling a regulated output of an output regulator, the output regulator responsive to the duty cycle for controlling a transfer of energy between an input source and the regulated output, comprising:
means for error generating to compare the regulated output to an output reference to generate an output error; means for accumulating to determine an accumulated error of the output error over a time period of at least N times a switching period of the output regulator; means for generating to generate reference levels; and means for comparing to compare the accumulated error to the reference levels such that a single zero is generated, and to generate the duty cycle based on the comparing.
- 47. The duty cycle estimator of claim 46 wherein the accumulated error is selected from a group consisting of running error, average error, mean error, weighted average error, and combinations thereof.
- 48. The duty cycle estimator of claim 46 wherein the time period is at least approximately 1000 times the switching period of the output regulator.
- 49. The duty cycle estimator of claim 46 wherein the reference levels include at least a first reference level and a second reference level; and
the comparing means to compare the accumulated error to each of the reference levels and in response to control the duty cycle by steps.
- 50. The duty cycle estimator of claim 49 wherein each of the steps include a predetermined portion of the duty cycle in a range of approximately 0.1% of a maximum duty cycle to 5% of the maximum duty cycle.
- 51. The duty cycle estimator of claim 49 wherein if the accumulated error is less than the first reference level, the comparing means to reduce the duty cycle by at least one step; and
if the accumulated error is greater than the second reference level, the comparing means to increase the duty cycle by at least one step.
- 52. The duty cycle estimator of claim 46 wherein the duty cycle corresponds to an on-time; and the output regulator has a variable switching frequency.
- 53. A method for controlling a regulated output of an output regulator, the output regulator responsive to a pulse width signal for controlling the transfer of energy between an input source and the regulated output, comprising:
estimating a nominal duty cycle; determining an adjustment value; and combining the adjustment value with the nominal duty cycle to generate an adjusted duty cycle, the pulse width signal being a function of the adjusted duty cycle.
- 54. The method of claim 53 wherein the determining includes controlling a selectable loop gain for determining the adjustment value.
- 55. The method of claim 54 wherein the selectable loop gain is selectable at a rate greater than a switching frequency of the output regulator.
- 56. The method of claim 54 wherein the controlling includes controlling the selectable loop gain as a function of a regulator parameter of the output regulator.
- 57. The method of claim 56 wherein the regulator parameter is selected from a group consisting of a voltage range of an error signal corresponding to the regulated output, a voltage range of the regulated output, the nominal duty cycle, and the adjusted duty cycle.
- 58. The method of claim 53 further comprising counting pulses of a clock signal as a function of the adjusted duty cycle, to generate an initial pulse width.
- 59. The method of claim 58 further comprising generating a delay control signal as a function of the nominal duty cycle and the initial pulse width; and
applying a delay to an edge of the pulse width signal to generate a finetuned pulse width, the delay being responsive to the initial pulse width and the delay control signal.
- 60. The method of claim 53 further comprising limiting the adjusted duty cycle as a function of a regulator characteristic.
- 61. The method of claim 60 wherein the limiting operates on the finetuned pulse width.
- 62. The method of claim 53 wherein the pulse width signal has a variable frequency.
- 63. The method of claim 53 further including applying loop compensation to stabilize a loop response of the output regulator; and controlling the loop compensation at a rate in the range of approximately equal to the switching frequency of the output regulator up to a sampling frequency of the digital controller.
- 64. The method of claim 63 wherein the loop compensation includes an adjustable constant to vary a ratio of an error portion and a trend portion of the loop compensation.
- 65. The method of claim 53 wherein the determining the adjustment value further includes a computation sequence as follows:
- 66. The method of claim 65 wherein the determining the adjustment value includes loop compensation to stabilize a loop response of the output regulator, the loop compensation represented within the computation sequence as a ratio of g(ek) to h(trendk).
- 67. The method of claim 53 wherein the adjustment value is a function of an estimated trend of error, the error based on a difference between a reference and the regulated output.
- 68. The method of claim 67 wherein the estimated trend of the error is based on a mathematical function of the error including a running average, a mean, a peak value, and a weighted average.
- 69. The method of claim 53 wherein the adjustment value is a function of a predetermined slope constant.
- 70. The method of claim 53 wherein the adjustment value is a function of a slope constant, and selecting the slope constant at a rate greater than a switching frequency of the output regulator.
- 71. The method of claim 53 wherein the adjustment value is a function of an error history of error, the error based on a difference between a reference and the regulated output; and
the error history based on a mathematical function of prior values of the error including a running average, a mean, a peak value, and a weighted average.
- 72. A method for determining a duty cycle for controlling a regulated output of an output regulator, the output regulator responsive to the duty cycle for controlling a transfer of energy between an input source and the regulated output, comprising:
comparing the regulated output to an output reference to generate an output error; accumulating the output error over a time period of at least 100 times a switching period of the output regulator to determine an accumulated error; generating reference levels; and comparing the accumulated error to the reference levels such that a single zero is generated, and to generate the duty cycle based on the comparing.
- 73. The method of claim 72 wherein the accumulated error is selected from a group consisting of running error, average error, mean error, weighted average error, and combinations thereof.
- 74. The method of claim 72 wherein the time period is at least approximately 1000 times the switching period of the output regulator.
- 75. The method of claim 72 wherein the reference levels include at least a first reference level and a second reference level; and
the comparing further includes comparing the accumulated error to each of the reference levels and in response controlling the duty cycle by steps.
- 76. The method of claim 75 wherein each of the steps include a predetermined portion of the duty cycle in a range of approximately 0.1% of a maximum duty cycle to 5% of the maximum duty cycle.
- 77. The method of claim 75 wherein if the accumulated error is less than the first reference level, then reducing the duty cycle by at least one step; and
if the accumulated error is greater than the second reference level, then increasing the duty cycle by at least one step.
- 78. The method of claim 72 wherein the duty cycle corresponds to an on-time; and the output regulator has a variable switching frequency.
- 79. The duty cycle estimator of claim 20 wherein N is at least approximately 10.
- 80. The duty cycle estimator of claim 46 wherein N is at least approximately 10.
- 81. The duty cycle estimator of claim 20 wherein N is at least approximately 100.
- 82. The duty cycle estimator of claim 46 wherein N is at least approximately 100.
- 83. The duty cycle estimator of claim 1 included in the output regulator.
- 84. The duty cycle estimator of claim 20 included in the output regulator.
- 85. The duty cycle estimator of claim 27 included in the output regulator.
- 86. The duty cycle estimator of claim 46 included in the output regulator.
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application is a divisional of application Ser. No. 10/460,825, filed Jun. 12, 2003 which claims the benefit of the filing date of U.S. provisional applications Nos. 60/395,115 filed Jul. 10, 2002, and 60/395,697 filed Jul. 12, 2002, the entire contents of which are herein incorporated by reference.
Provisional Applications (2)
|
Number |
Date |
Country |
|
60395115 |
Jul 2002 |
US |
|
60395697 |
Jul 2002 |
US |
Divisions (1)
|
Number |
Date |
Country |
Parent |
10460825 |
Jun 2003 |
US |
Child |
10827634 |
Apr 2004 |
US |