METHOD AND APPARATUS FOR CALCULATING AN AVERAGE VALUE OF AN INACCESSIBLE CURRENT FROM AN ACESSIBLE CURRENT
In a power converter, a circuit determines an average value of an inaccessible current from an average value of an accessible current and a value of the operating duty cycle of the converter. A method of measuring an average value of an inaccessible current from a measured value of a current in a power converter by a duty cycle of a pulse width modulation (PWM) signal representing a duty cycle of the power converter. Coupling a voltage representing the measured value to an input of a low pass filter during a time period (D) and coupling the input of the low pass filter to a reference voltage during a time period (1−D).
This patent application claims priority from U.S. Provisional Application No. 61/919,416, filed on Dec. 20, 2013 and from U.S. Provisional Application 61/870,590, filed on Aug. 27, 2013, which are incorporated herein by reference in their entirety for all purposes. This patent application is related to U.S. application Ser. No. ______ (TI-73759) filed on even date and U.S. application Ser. No. ______ (TI-75188) filed on even date, both of which are incorporated herein by reference in their entirety for all purposes.
FIELDThe invention relates to power converters and more specifically to power converters in which it is necessary to measure and/or control the converter utilizing an inaccessible current.
BACKGROUNDIt may be necessary to measure a current within a power converter and/or control a power converter utilizing a measurement of a current which is inaccessible. As used herein, the term “inaccessible” includes, but is not limited to, a situation in which the power converter cannot access a measurement of a current within a load, because they are physically separate, for example. The load may not have means for measuring the desired current and it may not be possible to add such means or provide access to such measurement for a physically separate power converter. The term “inaccessible” is also intended to mean the situation in which the measurement of the current may be accessible, but the measurement may be difficult and/or expensive to make. For example, the result of the measurement, which may be a voltage, may be referred to a different ground or to a higher voltage, thus making a measuring or control circuit both difficult and/or expensive to make, in addition to being complex. Another possibility is that the current to be measured may be on the wrong side of the isolation barrier where it is undesirable to penetrate the barrier. Furthermore, the term “inaccessible” is intended to cover the situation in which the measurement of the current may be accessible and the cost and/or complexity of the circuit needed to make the measurement may be reasonable, but the measurement requires a high power dissipation. This can occur, for example, if a resistive shunt is used to measure the current in a high current power converter where producing a usable voltage across the shunt (e.g. 100 mV) may result in high power dissipation due to the high current passing through the shunt. Those skilled in the art will recognize that there are other situations in which the current desired to be measured and/or used to control a power converter may be “inaccessible”.
It should be noted that although power converter circuits are sometimes called “regulators,” the term “power converters” or “converters” as used herein should be considered as referring to a buck circuit, a boost circuit, or a buck-boost (flyback) circuit.
Thanks to the work of Vorperian and others who proposed a pulse width modulation (PWM) switch concept, there are known relationships between different average currents in the three types of converters, if the converter is operating in transition mode (TM) or continuous current mode (CCM). These relationships are:
Buck: Isw=Iin=Iout*D=IDiode*D/(1−D) equation (1)
Boost: Isw=Iin*D=Iout*(1−D)/D=IDiode*(1−D)/D equation (2)
Buck-Boost: Isw=Iin=Iout*(1−D)/D=IDiode*D/(1−D) equation (3)
where ISW is the current in the switch;
-
- IN is the input current to the converter;
- IOUT is the output current from the converter;
- IDiode is the current in the rectifier diode or synchronous switch;
- D is the duty cycle of the PWM switch; and
- (1−D) is the duty cycle of the rectifier.
As can readily be seen by analysis of the equations, if the desired current to be measured or controlled is “inaccessible” (as defined herein), we can sense a more convenient current and then solve the appropriate equation from equations 1-3 to obtain a replica of the desired current which can then be used to provide the measurement and/or can be used as the control variable.
A problem with solving one of these equations is that it requires multiplication and/or division. As is well known to those skilled in the art, analog multiplication and division circuits are inaccurate, expensive, take up a lot of room on an integrated circuit and consume considerable power. On the other hand, utilizing digital circuits for this purpose requires an ADC circuit at the input and a DAC circuit at the output, if analog control is to be implemented. Thus, digital multiplication or division does not provide the desired solution, either.
Thus, there is a need for a simple, inexpensive, high-performance and reliable circuit to permit analog multiplication or division within a power converter to enable the use of inaccessible current measurement to provide a desired current for measurement and/or control in the power converter.
SUMMARYIt is a general object to provide analog multiplication or division within a power converter to enable the use of inaccessible current measurement to provide a desired current for measurement and/or control in the power converter.
In an aspect, a buck converter having a regulated output current comprises a current measuring device measuring an input current to the converter. A switch is coupled to the current measuring device. A pulse width modulation (PWM) circuit is coupled to receive an output voltage from the measuring device. An analog multiplier is coupled to an output of the pulse width modulation (PWM) circuit to receive a signal (D) related to the duty cycle of the regulator and to a voltage representative of a predetermined value of output current from the converter.
In an aspect, a boost converter having a regulated average output current comprises a switch coupled to receive input current from the converter. A current measuring device measures the input current to the converter and generates a voltage representative thereof a voltage represents a constant related to a value at which the output current is regulated to. A first analog multiplier is coupled to the voltage representing the constant multiplying the constant K by a signal representative of one minus the duty cycle of the converter (1−D) to generate a signal K*(1−D). A second analog multiplier is coupled between the voltage representative of the input current and a first input to a pulse width modulation (PWM) circuit. A second input to the pulse width modulation (PWM) circuit being coupled to receive the signal K*(1−D).
In an aspect, a buck voltage to current converter comprises a source of AC input voltage. A switch is coupled to a load through an inductor. A current measuring device measures current through the switch. A current source is coupled to an analog multiplier for multiplying a current value by a duty cycle of the converter. A pulse width modulation (PWM) circuit receives a voltage output from the multiplier at one terminal thereof and receives a voltage related to the current measured by the current measuring device, the pulse width modulation (PWM) circuit generating a signal related to a duty cycle of the converter (D), wherein the switch is operated by the signal to generate a current through the load related to a constant times the input voltage.
In an aspect, a method for operating a dimmable LED comprises coupling an LED driver circuit to a rectified output of an AC dimmer. Providing a current related to an input voltage of the LED driver circuit. Multiplying the value of the current by the input voltage, and a duty cycle of the LED driver to generate a first voltage. Comparing the first voltage with a voltage representative of current through a switch in the LED driver circuit to generate a comparison signal. Utilizing the comparison signal to generate a pulse width modulation (PWM) signal utilized to control the switch and the multiplication to drive the LED.
Further aspects of the invention will appear from the appending claims and from the following detailed description given with reference to the appending drawings.
Those skilled in the art will recognize that, normally when a current is measured, a voltage analog of current is generated where the amplitude of the voltage is related to the amplitude of the current. Common methods of measuring current are to use a resistive shunt, a current transformer or a Hall effect device. The voltage generated by one of these devices can be used within the converter, in conjunction with one of the equations 1-3, to control the operation of the converter and/or provide the desired measurement.
The multiplier 100 takes advantage of the pulse width modulation (PWM) signal 108 which is already generated within the converter for the operation of the converter. The signal (D) represents the duty cycle of the main switch of the converter and the signal (1−D), which is generated by inverting the signal (D) via inverter 110, represents the duty cycle of a rectifier or synchronous switch of the converter. The switch 104 is closed when the signal (D) is in a first logic state and the switch 106 is open when the signal (1−D) is in a second logic state. The switch 104 is open when the signal (D) is in the second logic state and the switch 106 is closed when the signal (1−D) is in the first logic state. The first logic state may represent a digital “1” and the second logic state may represent a digital “0”, for example. The voltage on node 112 is low pass filtered by the RC filter 114, 116 to generate a signal D*A at the output terminal 118. Thus, circuit 100 requires only two additional switches 104, 106, a resistor 114 and capacitor 116 to produce a simple multiplication circuit.
The divider 200 takes advantage of the pulse width modulation (PWM) signals 208 which are already generated within the converter for the operation of the converter. The signal (D) represents the duty cycle of the main switch of the converter and the signal (1−D), which is generated by inverting the signal (D) via inverter 218, represents the duty cycle of a rectifier or synchronous switch of the converter. The switch 212 is closed when the signal (D) is in a first logic state and the switch 216 is open when the signal (1−D) is in a second logic state. The switch 212 is open when the signal (D) is in the second logic state and the switch 216 is closed when the signal (1−D) is in the first logic state. The first logic state may represent a digital “1” and the second logic state may represent a digital “0”, for example. In steady-state operation, the average voltages at the inverting and non-inverting inputs to the operational amplifier 204 must be equal. Therefore, A=Vout*D. Consequently, Vout=A/D. Thus circuit 200 requires the addition of only two switches 212, 216 a resistor R 208, a capacitor C 210 and operational amplifier 204, to produce a simple division circuit. Normally, division circuits are far more complex than multiplication circuits. Here, however, the only difference is the addition of the operational amplifier 204. It should be noted that if the voltage (A) is a DC voltage, the value of RC should be much much greater than the period of the switching signal used to generate the pulse width modulation (PWM) signal.
The divider 300 takes advantage of the pulse width modulation (PWM) signals which are already generated within the converter for the operation of the converter. The signal (D) represents the duty cycle of the main switch of the converter (not shown) and the signal (1−D), which may be generated by inverting the signal (D) represents the duty cycle of a rectifier or synchronous switch of the converter (not shown). The switch 320 is closed when the signal (D) is in a first logic state and the switch 324 is open when the signal (1−D) is in a second logic state. The switch 320 is open when the signal (D) is in the second logic state and the switch 324 is closed when the signal (1−D) is in the first logic state. The first logic state may represent a digital “1” and the second logic state may represent a digital “0”, for example.
A pulsed input signal is generated by the switch (not shown) at 302 which passes through the primary winding 304 of current transformer 301. This generates a current through the secondary winding 306 equal to Iin*K1. That current flows through diode 308 and resistor R11 312 to ground. The voltage generated across resistor R11 312 is representative of the current Iin multiplied by the ratio K1. This voltage is averaged by the low pass filter comprising resistor R1 310 and capacitor C1 314 to generate a voltage representative of the average value of the input current Iin*K1.
The signal Iin*K1 is applied to the non-inverting input of operational amplifier 316. Thus, the output voltage of the operational amplifier V1*D is equal to Iin*K1. Solving the equation for V1:
V1=Iin*K1/D
Recalling equation 1, for a buck circuit:
Iin=Iout*D
so that
Iout=Iin/D
Therefore:
V1=Iout*K1
We now have Iout*K1 which is related to the diode Iin by the turns ratio (constant) K1. If the turns ratio is in unity, for example, then V1 equals Iout. Thus, through the use of the equations and an average value of an accessible current, we can obtain the value of an inaccessible current. This value can also be used as the variable for control of the power converter. In this particular case, the ripple in the filter 310, 314 is in phase with the ripple in filter 318, 322 which allows very low values of the resistors and capacitors to be used in the filters (less than the period of the switching frequency); therefore, response time is excellent.
The power converter 500 works by regulating the current utilizing the equation 1:
Iout*D=Iin
solving for Iout
Iout=Iin/D
The loop regulates the output current by forcing it to K2, the value of the current reference 530. Thus, the current through the LED(s) can be maintained constant, as is preferable for operating LED(s), without actually measuring the current therethrough.
In
The simplicity of the circuit shown in
In operation, the voltage K4 is chosen to select the desired output current from the converter. In the converter illustrated in
- Therefore: V1=V2
- Thus: Vamp1=K4*D/(1−D).
Assuming amplifier to 926 is properly operating and in steady-state, the voltage at both inputs must be equal. Therefore, utilizing equation 2, we know that:
Isw=Vamp1, which =K4*D/(1−D).
We also know that:
Isw=Iout*(1−D)/D.
Solving the equation for Iout:
Iout=Isw*(1−D)/D.
Therefore:
Iout=K4*D/(1−D)*(1−D)/D, which =K4.
Therefore, the current has been regulated to a value represented by the voltage K4.
As with the embodiments shown in
In
In operation, the signal (D) is used to operate the switches S1 1036 and S3 1024. The inverse of the signal (D), (1−D), is used to operate the switches S2 1040 and S4 1020. The voltage K5 is related to the current which is desired to be regulated through the load, herein, LED(s). The resistor R1 1034 and capacitor C1 1032 form a low pass filter for the signal at node 1038. Therefore, the voltage V1 at node 1033 will be equal to K5*(1−D). The filter circuit formed by resistor R2 1018 and C2 1023 averages the voltage across Rshunt 1014. This average voltage is applied to the multiplier comprising switches S3 1024 and S4 1020 which multiplies the value Isw by (1−D) to generate a signal Isw*(1−D) which is applied to the inverting input of current error amplifier 1030. If the circuit is operating properly and in steady-state, the voltage at both the inverting and non-inverting inputs of the current amplifier 1030 must be equal; Therefore:
V1=V2
If V1 equals V2, then:
Isw*(1−D)=K5*D
Isw=K5*D/(1−D)
We know from equation 2 that:
Iout=ISW*(1−D)/D
Substituting, the result is that Iout is equal to K5. The result is that the output current is equal to a chosen voltage representative of the desired output current and is the same for the circuit shown in
In
In the circuit shown in
Isw=Iin.
Here Isw is equal to K6*Vin*D.
In addition:
Iout=Iin/D
-
- This results in Iout=K6*Vin.
Therefore, the output current through the LED 1112 is a linear function of the input voltage, which produces the desired dimming effect without the LED driver fighting the change in voltage produced by the dimmer 1102.
In operation, the switch 1328 is operated by the signal (D) output from pulse width modulation (PWM) circuit 1316 and the switch 1330 is operated by the signal (1−D) which can be generated by inverting the signal (D), for example (not shown). The voltage generated at node 1329 is low pass filtered by resistor 1332 in capacitor 1334 to generate a signal K7*D which is input to the non-inverting terminal of amplifier 1336. Amplifier 1336, capacitor 1338, resistor 1340 and switches 1342 and 1344 form a division circuit which divides the signal K7*D by (1−D). That signal is applied to the non-inverting input of error amplifier 1318.
Given the fact that this is a buck-boost circuit, utilizing equation 3, we know that:
Iout*(1−D)=Iin
Therefore Iout=Iin(1−D)/D
Iin=K*D(1−D)
Thus, if we force:
Iin=K7*D/(1−D),
then;
Iout=K7*D/(1−D)*(1−D)/D
which means that:
Iout=K7
The signal applied to the non-inverting input of error amplifier 1318 is K*D/(1−D). The signal applied to the inverting input of error amplifier 1318 is related to Iin. Therefore, the circuit will operate to maintain the output current through the LED 1312 equal to K7 and thus provide a constant current output.
Although the invention has been described in detail, it should be understood that various changes, substitutions and alterations can be made thereto without departing from the spirit and scope of the invention as defined by the appended claims.
Claims
1. A buck converter having a regulated output current comprising:
- a current measuring device measuring an input current to the converter;
- a switch coupled to the current measuring device;
- a pulse width modulation (PWM) circuit coupled to receive an output voltage from the measuring device;
- an analog multiplier coupled to an output of the pulse width modulation (PWM) circuit to receive a signal (D) related to the duty cycle of the regulator and to a voltage representative of a predetermined value of output current from the converter.
2. The converter of claim 1 wherein the analog multiplier comprises:
- a first switch coupled between the voltage representative of the predetermined value of output current and a node;
- a second switch coupled between the node and a reference voltage;
- a low pass filter coupled between the node and input to an error amplifier, wherein the first switch is operated by a signal representative of D and the second switch is operated by a signal representative of (1−D).
3. The converter of claim 2 wherein the pulse width modulation (PWM) circuit comprises an error amplifier coupled to the current measuring device by a resistor and capacitor in a feedback loop of the error amplifier, the resistor and capacitor averaging the output voltage from the measuring device to generate a signal related to average input current to the converter.
4. The converter of claim 3 wherein the current measuring device comprises a resistive shunt.
5. The converter of claim 4 wherein a load of the regulator is an LED.
6. A boost converter having a regulated average output current comprising:
- a switch coupled to receive input current from the converter;
- a current measuring device measuring the input current to the converter and generating a voltage representative thereof;
- a voltage representing a constant related to a value at which the output current is regulated to; a first analog multiplier coupled to the voltage representing the constant multiplying the constant K by a signal representative of one minus the duty cycle of the converter (1−D) to generate a signal K*(1−D); a second analog multiplier coupled between the voltage representative of the input current and a first input to a pulse width modulation (PWM) circuit; a second input to the pulse width modulation (PWM) circuit being coupled to receive the signal K*(1−D).
7. The converter of claim 6 wherein the analog multiplier comprises: wherein the first switch is operated by a signal representative of (1−D) and the second switch is operated by signal representative of D.
- a first switch coupled between the voltage representative of the predetermined value of output current and a node;
- a second switch coupled between the node and a reference voltage;
- a low pass filter coupled between the node and input to an error amplifier,
8. The converter of claim 7 wherein the pulse width modulation (PWM) circuit comprises an error amplifier coupled to the current measuring device by a resistor and a capacitor in a feedback loop of the error amplifier, the resistor and capacitor averaging the output voltage from the current measuring device to generate a signal related to average input current to the converter.
9. The converter of claim 8 wherein the current measuring device comprises a resistive shunt.
10. The converter of claim 4 wherein a load of the converter is an LED.
11. A buck voltage to current converter comprising:
- a source of AC input voltage;
- a switch coupled to a load through an inductor;
- a current measuring device for measuring current through the switch;
- a current source coupled to an analog multiplier for multiplying a current value by a duty cycle of the converter;
- a pulse width modulation (PWM) circuit receiving a voltage output from the multiplier at one terminal thereof and for receiving a voltage related to the current measured by the current measuring device, the pulse width modulation (PWM) circuit generating a signal related to a duty cycle of the converter (D), wherein the switch is operated by the signal to generate a current through the load related to a constant times the input voltage.
12. The buck voltage to current converter of claim 11 wherein the analog multiplier comprises a switch operated by a signal related to 1−D coupled between a node which is an input to the multiplier and a reference voltage and a diode coupled to the node and an output of the multiplier.
13. The buck voltage to current converter of claim 12 further comprising a capacitor and a resistor coupled between an output of the analog multiplier and the reference voltage.
14. The buck voltage to current converter of claim 13 wherein the current measuring device is a resistive shunt.
15. The buck voltage to current converter of claim 11 wherein the source of DC voltage is a rectified dimmed AC voltage.
16. The buck voltage to current converter of claim 15 wherein the load is an LED which may be dimmed by an AC dimmer.
17. A method for operating a dimmable LED comprising:
- coupling an LED driver circuit to a rectified output of AC dimmer;
- providing a current related to an input voltage of the LED driver circuit;
- multiplying the value of the current by the input voltage and a duty cycle of the LED driver to generate a first voltage;
- comparing the first voltage with a voltage representative of current through a switch in the LED driver circuit to generate a comparison signal;
- utilizing the comparison signal to generate a pulse width modulation (PWM) signal utilized to control the switch and the multiplication to drive the LED.
18. The method of claim 17 in which the multiplication is performed by an analog multiplier which comprises a switch operated by a signal related to 1−D coupled between a node which is input to the multiplier and a reference voltage and a diode coupled to the node and output of the multiplier.
19. The method of claim 18 further comprising a resistive shunt for providing the voltage representative of the current through the switch.
20. The method of claim 19 further comprising a resistor coupled between a rectifier receiving the output of an AC dimmer for providing the current related to an input voltage of the LED driver circuit.
Type: Application
Filed: Aug 8, 2014
Publication Date: Mar 5, 2015
Inventor: Isaac Cohen (Dix Hills, NY)
Application Number: 14/455,582
International Classification: H05B 33/08 (20060101); H02M 3/158 (20060101);