POWER SUPPLY CONTROL METHOD FOR CONSTANT CURRENT CONSTANT POWER CONTROL
First Claim
Patent Images
1. A power supply controller for controlling a switching power supply, comprising:
- a voltage control circuit, including;
a voltage error circuit providing a voltage error signal or value based at least partially on a reference voltage signal or value and an output voltage of the switching power supply, anda voltage compensator circuit providing a voltage control duty cycle signal or value based at least partially on the voltage error signal or value;
a current control circuit, including;
a current error circuit providing a current error signal or value based at least partially on a reference current signal or value and an output current of the switching power supply, anda current compensator circuit providing a current control duty cycle signal or value based at least partially on the current error signal or value;
a pulse width modulation circuit operative to pulse width modulate at least one switch of the switching power supply at least partially according to a duty cycle input signal or value; and
a control circuit selectively operative in a first mode to provide the voltage control duty cycle signal or value as the duty cycle input signal or value, and in a second mode to provide the current control duty cycle signal or value as the duty cycle input signal or value, the control circuit comprising a logic circuit operative to;
switch the control circuit from the first mode to the second mode if a sum of the voltage control duty cycle signal or value plus a predetermined non-zero hysteresis value is greater than the current control duty cycle signal or value, andselectively preset the voltage control duty cycle signal or value to a predetermined duty cycle signal or value and then switch the control circuit from the second mode to the first mode if the voltage control duty cycle signal or value is less than the current control duty cycle signal or value.
2 Assignments
0 Petitions
Accused Products
Abstract
A digital power supply and power supply controller are presented, including a voltage control loop and a current control loop, with a controller for pulse width modulating a switching power supply according to a voltage control loop duty cycle output or a current control loop duty cycle output, in which the controller selectively presets the voltage control loop duty cycle output to a predetermined value before switching from current loop control to voltage loop control and/or inhibits increase in a voltage loop integrator value during current loop control to mitigate voltage overshoot.
-
Citations
20 Claims
-
1. A power supply controller for controlling a switching power supply, comprising:
-
a voltage control circuit, including; a voltage error circuit providing a voltage error signal or value based at least partially on a reference voltage signal or value and an output voltage of the switching power supply, and a voltage compensator circuit providing a voltage control duty cycle signal or value based at least partially on the voltage error signal or value; a current control circuit, including; a current error circuit providing a current error signal or value based at least partially on a reference current signal or value and an output current of the switching power supply, and a current compensator circuit providing a current control duty cycle signal or value based at least partially on the current error signal or value; a pulse width modulation circuit operative to pulse width modulate at least one switch of the switching power supply at least partially according to a duty cycle input signal or value; and a control circuit selectively operative in a first mode to provide the voltage control duty cycle signal or value as the duty cycle input signal or value, and in a second mode to provide the current control duty cycle signal or value as the duty cycle input signal or value, the control circuit comprising a logic circuit operative to; switch the control circuit from the first mode to the second mode if a sum of the voltage control duty cycle signal or value plus a predetermined non-zero hysteresis value is greater than the current control duty cycle signal or value, and selectively preset the voltage control duty cycle signal or value to a predetermined duty cycle signal or value and then switch the control circuit from the second mode to the first mode if the voltage control duty cycle signal or value is less than the current control duty cycle signal or value. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A switching power supply, comprising:
-
an input configured to receive input power from a connected source; an output operative to provide output power to a connected load; at least one switch operative according to a switching control signal to selectively convert the input power from the input to provide the output power to the output; and a power supply controller operative to provide the switching control signal to the at least one switch, the power supply controller comprising; a voltage control circuit, including; a voltage error circuit providing a voltage error signal or value representing a difference between a reference voltage signal or value and an output voltage of the switching power supply, and a voltage compensator circuit with a digital adder circuit providing an integrator signal or value based at least partially on a current error value and previous error samples, the voltage compensator circuit providing a voltage control duty cycle signal or value based at least partially on the voltage error signal or value and on the integrator signal or value, the voltage compensator circuit comprising a digital proportional integral derivative (PID) circuit operative to compute a proportional compensation value based on the digital voltage error value and a proportional constant, to compute an integral compensation value based on a current sample of the digital voltage error value, the integrator value, and an integral constant, to compute a derivative compensation value based on a difference between a current sample of the digital voltage error value and a preceding sample of the digital voltage error value, and an a derivative constant, and to compute a digital voltage control duty cycle value as a sum of the proportional compensation value, the integral compensation value, and the derivative compensation value, and a presetting circuit operative to provide the voltage control duty cycle signal or value as either the digital voltage control duty cycle value or as the predetermined duty cycle signal or value based on a preset control signal, a current control circuit, including; a current error circuit providing a current error signal or value based at least partially on a reference current signal or value and an output current of the switching power supply, and a current compensator circuit providing a current control duty cycle signal or value based at least partially on the current error signal or value, a pulse width modulation circuit operative to pulse width modulate at least one switch of the switching power supply at least partially according to a duty cycle input signal or value, and a control circuit selectively operative in a first mode to provide the voltage control duty cycle signal or value as the duty cycle input signal or value, and in a second mode to provide the current control duty cycle signal or value as the duty cycle input signal or value, the control circuit comprising a logic circuit operative to switch the control circuit from the first mode to the second mode if a sum of the voltage control duty cycle signal or value plus a predetermined non-zero hysteresis value is greater than the current control duty cycle signal or value, to selectively preset the voltage control duty cycle signal or value to a predetermined duty cycle signal or value by providing the preset control signal to the presetting circuit if the current control duty cycle signal or value is less than the voltage control duty cycle signal or value and then switch the control circuit from the second mode to the first mode if the voltage control duty cycle signal or value is less than the current control duty cycle signal or value, and to selectively prevent increase of the integrator signal or value of the voltage compensator circuit while the control circuit is in the second mode.
-
-
12. A power supply controller for controlling a switching power supply, comprising:
-
a voltage control circuit operative to determine a voltage error signal or value based on a difference between a reference voltage signal or value and an output voltage of the switching power supply, and to determine an integrator value based at least partially on prior samples of the voltage error signal or value, the voltage control circuit providing a voltage control duty cycle signal or value based at least partially on the voltage error signal or value and the integrator value; a current control circuit providing a current control duty cycle signal or value based at least partially on a reference current signal or value and an output current of the switching power supply; a pulse width modulation circuit operative to pulse width modulate at least one switch of the switching power supply at least partially according to a duty cycle input signal or value; and a control circuit selectively operative in a first mode to provide the voltage control duty cycle signal or value as the duty cycle input signal or value, and in a second mode to provide the current control duty cycle signal or value as the duty cycle input signal or value, the control circuit comprising a logic circuit operative to; switch the control circuit from the first mode to the second mode for constant current control of the switching power supply if a sum of the voltage control duty cycle signal or value plus a predetermined non-zero hysteresis value is greater than the current control duty cycle signal or value, selectively prevent increase of the integrator value while the control circuit is in the second mode, and switch the control circuit from the second mode to the first mode for constant power or constant voltage control of the switching power supply if the voltage control duty cycle signal or value is less than the current control duty cycle signal or value. - View Dependent Claims (13, 14, 15, 16)
-
-
17. A method of providing pulse width modulation signals for pulse width modulation of at least one switch of a switching power supply, the method comprising:
-
comparing a voltage loop duty cycle to a current loop duty cycle; pulse width modulating the at least one switch according to the current loop duty cycle if a sum of the voltage loop duty cycle plus a predetermined non-zero hysteresis value is greater than the current loop duty cycle; and if the voltage loop duty cycle is less than the current loop duty cycle, selectively presetting the voltage loop duty cycle to a predetermined duty cycle, and then pulse width modulating the at least one switch according to the voltage loop duty cycle. - View Dependent Claims (18, 19, 20)
-
Specification