Switching power supply with AC waveform capability

Information

  • Patent Grant
  • 6208121
  • Patent Number
    6,208,121
  • Date Filed
    Tuesday, January 19, 1999
    25 years ago
  • Date Issued
    Tuesday, March 27, 2001
    23 years ago
Abstract
A switching power supply which generates AC power, as opposed to DC power. A transistor opens and closes to thereby generate charge-discharge cycles through an inductor-resistor combination. Each charging current is compared with a reference waveform which changes slowly over time, compared with the opening and closing of the transistor. When each charging current exceeds the then-current value of the waveform, the transistor is opened, inducing a discharge cycle. This operation produces an output power waveform which is a replica of the reference waveform.
Description




SUMMARY OF THE INVENTION




The invention concerns a power supply which converts DC power to AC output power, in which the shape of the waveform of the output, as well as its frequency, can be controlled.




BACKGROUND OF THE INVENTION





FIG. 1

shows a simplified “buck” type voltage regulator. Such regulators provide very high performance in terms of constant output voltage, low output ripple voltage, and controlled transient behavior. These performance advantages are somewhat offset by the facts that they can be heavy and bulky. These regulators are used to convert a high DC voltage into a lower DC voltage.




The regulator alternates between the two conditions shown in FIG.


1


A and FIG.


1


B. In

FIG. 1A

, the switch S is closed, and a charging current I


CHARGE


flows through the inductor L. In

FIG. 1B

, the switch S is open, and a discharging current I


DISCH


flows through diode D. If it is assumed that capacitor C is large, so that V


C


remains constant, and that the switch S and diode D are ideal elements, then

FIG. 2

illustrates the approximate behavior of the apparatus of

FIGS. 1A and 1B

.





FIG. 2A

illustrates the time-behavior of switch S. A duty cycle D is defined as the ratio of t


1


/T, as indicated.

FIG. 2B

illustrates the current I


L


through the inductor L. The current remains positive at all times, and swings from I


L1


to I


L2


, and back.

FIG. 2C

illustrates the voltage V


L


across the inductor. It swings from a positive value of (V


1


−V


C


) to a negative value of (−V


C


).





FIG. 2D

illustrates the voltage across diode D. When the switch S is closed, V


1


appears across the diode D. When the switch S is open, a zero voltage appears across the diode, because the diode is assumed to be ideal.





FIG. 2E

illustrates the voltage across the switch S. In a sense, this voltage is opposite to that across the diode D. When the switch S is open, V


1


appears across the switch S. When the switch S is closed, a zero voltage appears across the switch S.





FIG. 2F

illustrates the current I


C


flowing into the capacitor. When the switch S is closed, the capacitor C charges. When the switch S opens, inductor L is placed in parallel with the capacitor C, but with a negative voltage, thereby causing the current charging the capacitor C to diminish, in region R


1


in

FIG. 2F

, and then to become negative, in region R


2


, which represents a discharge of capacitor C. Then, when the switch S closes again, in region R


3


, the capacitor C charges again. The hatched regions represent equal charges, because current multiplied by time equals charge.




The plots of

FIG. 2

are justified by the following equations. The variables are defined in

FIGS. 1A

,


1


B and


2


.




V


1


=constant








V




C


=average “on” time of switch=


D*V




1












V




L




=L dI




L




/dt










Switch off:


V




C




=L


(


DEL I




L


)/(


DEL T


)=


L


(


I




L2




−I




L1


)/


t




1





I




L2




−I




L1




=V




C




t




1




/L










Switch on:


V




1




−V




C




=L


(


DEL I




L


)/(


DEL T


)=


L


(


I




L2




−I




L1


)/


t




2





I




L2




−I




L1




=t




2


(


V




1




−V




C


)/


L








The preceding four equations justify FIG.


2


B.

FIG. 2C

is based on an application of Kirchoff's voltage Law (KVL) to

FIGS. 1A and 1B

, and the stipulation that V


C


is constant.

FIGS. 2D and 2E

are also based on KVL.





FIG. 2F

is based on the fact that the steady-state average of I


C


must be zero.








I




R




=V




2




/R












I




L(avg)


=(


I




L1




+I




L2


)/2


=V




2




/R


-->>


I




L2




+I




L1


=2


V




2




/R








Combining the last with the “switch on” equations gives








I




L2




=V




2


(


I




L(avg)




/R+t




1


/2


L


)










I




L1




=V




2


(


I




L(avg)




/R−t




1


/2


L


)






The capacitor ripple current is computed by








I




C




=I




L




−V




C




/R








This equation justifies the shape of the plot in FIG.


2


F: it is the plot of

FIG. 2B

, minus a constant, namely V


C


/R. The following two equations determine the vertical position of the plot of FIG.


2


F.








I




C2




=I




L2


−(


I




L1




+I




L2


)/2=(


I




L2




−I




L1


)/2










I




C1




=I




L1


−(


I




L1




+I




L2


)/2=−(


I




L2




−I




L1


)/2






It can be shown that, if the inductance L has an internal resistance r, then V


C


equals V


1


multiplied by the factor [R/(R+r)]×D. V


1


has been reduced. The buck regulator acts as a voltage reducer.




The regulator just described provides a DC output, with a small ripple. In some situations, an AC output is desired.




SUMMARY OF THE INVENTION




An object of the invention is to provide an improved power converter.




In one aspect, this invention comprises a switching power supply, which contains a switch which pulses current through an inductor, the improvement comprising means for measuring a current controlled by the switch and means for comparing that current with a time-varying reference and, at the time of comparison, if the current exceeds the reference, opening the switch.




In another aspect, this invention comprises method of operating a switching power supply, comprising the steps of applying a voltage to an inductor-resistor combination, to generate an increasing current in the combination, comparing a signal indicating the current with a time-varying reference and if the current attains a predetermined relation to the reference, removing said voltage from the combination.




In still another aspect, this invention comprises a switching power supply improvement comprising means for generating a reference AC waveform and means for generating an output waveform which is a magnified replica of the reference waveform.




In yet another aspect, this invention comprises a power supply which receives an input waveform and supplies current to a load (R) comprising a capacitor in parallel with the load (R), an inductor in series with the capacitor, a first switch (IGBT


1


), which sources current to the inductor, when closed, a second switch (IGBT


2


), which sinks current from the inductor, when closed, a first flip-flop (FF


1


), whose output controls closure of the first switch (IGBT


1


), a second flip-flop (FF


2


), whose output controls closure of the second switch (IGBT


2


), a clock connected to the set (S) inputs of both flip-flops, first and second current measurement means (HALL


1


, HALL


2


) for measuring current through the respective first and second switches (IGBT


1


, IGBT


2


), a first comparator (COMP


1


) for comparing measured current through the first switch (IGBT


1


) with the input waveform and, when the former exceeds the latter, applying a reset signal to the first flip-flop (FF


1


), to thereby open the first switch (IGBT


1


), and a second comparator (COMP


2


) for comparing measured current through the second switch (IGBT


2


) with the waveform and, when the former exceeds the latter, applying a reset signal to the second flip-flop (FF


2


), to thereby open the second switch (IGBT


1


) wherein a signal is generated in the load (R) which approximately replicates the input waveform.




A further object of the invention is to provide a voltage regulator which produces a controllable waveform.




In one form of the invention, a buck regulator is used to provide a high-current, high-voltage replica of a reference waveform.




Other objects and advantages of the invention will be apparent from the following description, the accompanying drawings, and the appended claims.











BRIEF DESCRIPTION OF THE DRAWINGS





FIGS. 1A and 1B

illustrate a prior-art buck regulator;





FIGS. 2A-2F

illustrate plots of the behavior of the regulator of

FIGS. 1A and 1B

;





FIG. 3

illustrates one form of the invention;





FIG. 4

illustrates a plot of the behavior of the apparatus of

FIG. 3

, when the switch is opened and closed by a clock;





FIGS. 5 and 6

illustrate how the duty cycle of the clock controls the average value, AVG, of the current in the apparatus of

FIG. 3

;





FIG. 7

illustrates one form of the invention;





FIG. 8

illustrates three plots of the behavior of the apparatus of

FIG. 7

;





FIG. 9

illustrates another form of the invention;





FIGS. 10-17

illustrate various output waveforms produced by the invention, and their corresponding Fourier spectra;





FIG. 18

illustrates how the invention produces an output which is a replica of the reference waveform REF of

FIG. 7

;





FIG. 19

illustrates one form of the invention;





FIG. 20

illustrates operation of the apparatus of

FIG. 19

during a positive half-cycle of the INPUT WAVEFORM; and





FIG. 21

illustrates operation of the apparatus of

FIG. 19

during a negative half-cycle of the INPUT WAVEFORM.











DETAILED DESCRIPTION OF THE INVENTION





FIGS. 1A and 1B

was used to provide a simple analysis of a buck regulator.

FIG. 3

shows the apparatus of

FIGS. 1A and 1B

, but with the capacitor C removed, and the switch S located at a different position. In

FIG. 3

, immediately after the switch S closes, the current I rises toward the value V/R, as indicated by the plot labeled CHARGING, at the upper right part of the Figure. When the switch S opens, the current I immediately begins discharging toward zero, as indicated by the plot labeled DISCHARGING, at the lower right part of the Figure.





FIG. 4

is a plot of a sequence of the events shown in

FIG. 3

, which occur when the switch S repeatedly opens and closes. However, in

FIG. 4

, the CHARGING plot in

FIG. 3

is not allowed to reach the value V/R, because the switch S is opened when the current I reaches point P


1


at the lower part of FIG.


4


. Also, the DISCHARGING plot is not allowed to reach zero, because the switch S is closed when the current I reaches point P


2


. Consequently, the sequence shown in

FIG. 4

is obtained. An average current, indicated by the dashed line AVG, is attained.




This average value depends on the relative position of the transition point TRANS within the period T, shown in the upper part of FIG.


4


. For example, if point TRANS is close to the termination point of T, as in

FIG. 5

, the average AVG will be large. Conversely, if point TRANS is close to the beginning of T, as in

FIG. 6

, the average AVG will be small.




The fact that the relative position of TRANS within T allows control of the average current through resistor R in

FIG. 3

enables the invention to obtain arbitrary, and programmable, waveforms of the current through resistor R.





FIG. 7

illustrates one form of the invention, together with a flow chart of logic which controls switch S.

FIG. 8

illustrates output which the invention produces. The output, in this example, is a replica of the waveform REF in

FIG. 8

, center. This replica is attained by creating the charge-discharge cycle-pairs (I


A


, I


B


), (I


C


, I


D


), (I


E


, I


F


) , etc. As shown at the bottom of

FIG. 8

, they have an average AVG


2


which resembles the waveform REF.




In

FIG. 7

, three primary events take place:




1. Two waveforms are received from an external source: (A) a clock signal, shown at the upper left, and a reference signal REF, shown at the lower right. The reference REF runs at a lower frequency than the clock's frequency;




2. Whenever the clock is high, the flip flop is set and the switch S in

FIG. 7

is closed; and




3. While the switch is closed, the current I is compared to the reference REF. If I exceeds REF, the switch is opened, despite the fact that the clock may be high. If I does not exceed REF, the switch is left ON.




A step-by-step analysis will now explain operation of the invention.

FIG. 8

, top, illustrates the clock, CK. The clock pulses are numbered CK


1


-CK


13


.

FIG. 8

, center, illustrates the reference REF.




Prior to CK


1


, the switch S is open in

FIG. 7

, and no current I flows. When the leading edge LE of CK


1


arrives, decision block


100


in

FIG. 7

closes switch S. Now a charging current I


A


in

FIG. 8

arises, which is analogous to any of the charging currents approaching a point P


1


in FIG.


4


.




Block


120


measures the current I. Block


125


receives the value of the reference signal REF which occurs at this instant, which is assumed to be value V


1


. If current I exceeds REF, then block


135


opens the switch S. Now, a discharging current I


B


in

FIG. 8

, center, occurs.




Then the logic returns to decision block


100


. The logic repeats, but, in this iteration, the switch is opened when REF reaches a higher value, namely, V


2


. The charge-discharge cycle of I


C


and I


D


is generated.




This repeated operation produces the train of PULSES shown in

FIG. 8

, center. They have an average value AVG


2


, shown at

FIG. 8

, bottom.





FIG. 7

illustrated a digital version of the invention.

FIG. 9

illustrates an analog version. A small resistor R


2


, in the range of a few tenths of an ohm, generates a voltage indicative of the current passed by Field-Effect Transistor, FET, M. Other current-measurement techniques are possible. This voltage is compared with a reference REF, which is produced by a signal generator


200


. A comparator COMP compares the current-indicating voltage, produced by R


2


, and the reference REF. When the former exceeds REF, comparator COMP produces a low signal on its output


205


. This output


205


is fed to the flip flop.




The operation of the circuit of

FIG. 9

follows the logic explained in

FIG. 7

, although in the analog domain. A high signal applied to the gate G of FET M causes the FET to turn on, that is, to act like a closed switch. This high signal only occurs when both (1) the CLOCK is high, and (2) output


205


is high.




This high signal on gate G is pulled low when the current passed by FET M exceeds reference REF.




Additional Considerations




1. Signal generator


200


in

FIG. 9

can generate more than one type of signal, for example, a DC signal, a square wave, a sinusoidal wave, a rectified sinusoid, sawtooth waves, etc. At any given time, the user selects the waveform of interest. These can be adjustable in magnitude, phase, and frequency. Common laboratory signal generators provide these functions.




These adjustments can alter the frequency spectrum of the output plot shown in FIG.


8


. The reader is reminded that the invention controls the location of the transition point TRANS, in

FIG. 4

, top, with respect to period T.




The frequency spectrum of several charge-discharge cycles, having TRANS at different locations, was computed using the software package


MATHEMATICA


, available from Wolfram Research, Champaign, Ill.

FIG. 10

, top illustrates a waveform having an early transition point TRANS.

FIG. 10

, bottom, illustrates the frequency spectrum obtained from the Fourier transform of the waveform.





FIG. 11

is a repetition of the computation for

FIG. 10

, but made with the vertical axes at different scales, to thereby magnify the plots.





FIG. 12

, top, shows a later transition point TRANS.

FIG. 12

, bottom, shows the frequency spectrum.





FIG. 13

is a repetition of the computation for

FIG. 12

, but made with the vertical axes at different scales.





FIG. 14

, top, shows a still later transition point TRANS.

FIG. 14

, bottom, shows the frequency spectrum.





FIG. 15

is a repetition of the computation for

FIG. 14

, but made with the vertical axes at different scales.





FIG. 16

, top, shows a yet later transition point TRANS.

FIG. 16

, bottom, shows the frequency spectrum.





FIG. 17

, top, shows a very late transition point TRANS.

FIG. 17

, bottom, shows the frequency spectrum.




Clearly, the frequency spectrum shifts as the transition point TRANS shifts. The shift in the transition point TRANS continually occurs, as

FIG. 8

, for example, illustrates. The charge-discharge cycle-pairs grow in amplitude because the transition point TRANS is progressively delayed.




2. The invention is inherently very safe. Overcurrents through FET M in

FIG. 9

are inhibited by comparator COMP.




3. A typical clock frequency lies in the range of 5 kHz to 50 kHz. A typical reference frequency lies in the range of a few Hz to a few hundred Hz. Specifically included are 50 Hz, 60 Hz, and other standard electric power frequencies.




4. Instead of measuring current passed by the FET M in

FIG. 9

, the inductor L and resistor R can represent a load, and a current may be sensed in the load using a sensor (not shown), and compared with REF, as indicated at the upper right of FIG.


9


. When that measured voltage exceeds REF, a zero signal is fed to the AND gate, thereby opening FET M. It does not operate at the clock frequency, but requires a bandwidth sufficient to handle the load frequency, which is a few hundred Hz, as just explained.




5. A buck, or step-down, regulator has been described. Other types of regulator can be used with the invention, such as boost (step up), buck-boost (step down, step up), bridge-type circuits, push-pull circuits, and Cuk converters. These are described in chapter 14 of


Reference Data for Engineers: Radio, Electronic, Computer, and Communications


, E. C. Jordan, Editor (SAMS publishing, 7th ed., 1985), ISBN 0-672-21563-2. This chapter is incorporated by reference.




These regulators are generically referred to as “switching” type regulators, because one, or more, transistors is switched from the fully conducting state to the fully off state. They are used to produce power which, with the exception of ripple, is DC-type.




The chapter just identified, on page 16, states, in reference to these circuits: “Load voltage control is provided by adjustment of the repetition rate, pulse width, or on-to-off ratio.” However, it is emphasized that this voltage is DC, whereas the invention provides an AC output.




6. Filtering of the output can be done, as by a low-pass filter.




7.

FIG. 8

illustrated a very slow clock, in order to illustrate the individual charge-discharge cycles. In actual operation, the clock frequency is quite high, compared with that of the reference waveform. Consequently, the current I in

FIG. 7

will assume the form of a magnified replica of the reference waveform, but with a small amount of ripple.

FIG. 18

provides an example. A fast clock CK is shown. If the reference waveform is a sinusoid SIN, then the current I will be a magnified replica, but “fuzzy,” due to the ripple, as shown at the bottom of the Figure.




8. The reference waveform REF in

FIGS. 7 and 8

is small in magnitude, and does not supply much current, because the input impedance of comparator COMP is very high. One, or a few, milliamps would be considered excessive. Thus, the reference waveform is a “signal” waveform. It is not used to deliver significant power.




Conversely, the current I is a power signal. It can deliver tens, hundreds, or thousands of watts. As a specific example, a representative reference signal REF may deliver a few milliwatts, but the current I may carry hundreds of watts, or even several kilowatts.




Additional Embodiments





FIG. 19

illustrates another form of the invention. Two power supplies, labeled +24 VDC and −24 VDC, supply current to a load R


OOUT


. Inductor L


3


and capacitor C


3


have the values indicated.




Two switches, in the form of IGBT


1


and IGBT


2


control the current. Two Hall probes, labeled HALL


1


and HALL


2


, sense the current through the respective switches. Two flip-flops FF control the voltages of the gates G of the respective switches, through voltage amplifiers AMP. An oscillator OSC is connected to the “set” input of both flip-flops FF. Comparators COMP


1


and COMP


2


feed the “reset” inputs of the flip-flops FF.




The apparatus can be divided into two sub-parts, shown in

FIGS. 20 and 21

, each of which operate as described above, in connection with FIG.


7


.





FIG. 20

illustrates operation during the positive half-cycle P of the INPUT WAVEFORM. In

FIG. 20

, only the components of

FIG. 19

which are active during the positive half-cycle P are shown. The Oscillator OSC continually clocks the “set” input S of the flip-flop FF


1


. Each clock pulse causes the flip-flip FF


1


to turn on IGBT


1


, thereby allowing current I to flow. IGBT


1


sources current to the resistor R


3


. During each clock pulse, the current I, measured by HALL


1


, is compared with the INPUT WAVEFORM, by comparator COMP


1


. When the current reaches the value of the INPUT WAVEFORM, COMP


1


activates the “reset” input of the flip-flop FF


1


, thereby turning off IGBT


1


. This process repeats, producing the output voltage V


OUT


having the positive half-waveform P


2


indicated.





FIG. 21

illustrates operation during the negative half-cycle P of the INPUT WAVEFORM. In

FIG. 21

, only the components of

FIG. 19

which are active during the positive half-cycle P are shown. The Oscillator OSC continually clocks the “set” input S of the flip-flop FF


2


. Each clock pulse causes the flip-flip FF


2


to turn on IGBT


2


, thereby allowing current I to flow. IGBT


2


sinks current from the resistor R


3


. During each clock pulse, the current I, measured by HALL


2


, is compared with the INPUT WAVEFORM, by comparator COMP


2


. When the current reaches the value of the INPUT WAVEFORM, COMP


2


activates the “reset” input of the flip-flop FF


2


, thereby turning off IGBT


2


. This process repeats, producing the output voltage V


OUT


having the negative half-waveform N


2


indicated.




Feedback can be provided, by closing switch SW


3


in FIG.


19


. Summer SUM


2


subtracts the output voltage V


OUT


from the INPUT WAVEFORM, to produce a difference signal DIFF. The signal DIFF is subtracted from the INPUT WAVEFORM in summer SUM


1


, thereby causing V


OUT


to more closely follow the INPUT WAVEFORM.




The current which is sensed, and used to control switching, could be that passing through load leg L


3


in FIG.


19


. The two Hall-effect sensors can be replaced by one sensor on leg L


3


which senses current in L


3


and switching of IGBT is accomplished in similar manner.




Numerous substitutions and modifications can be undertaken without departing from the true spirit and scope of the invention. What is desired to be secured by Letters Patent is the invention as defined in the following claims.



Claims
  • 1. In a switching power supply, which contains a switch which pulses current through an inductor, the improvement comprising:a) means for measuring a current controlled by the switch; and b) means for comparing that current with a time-varying reference and, at the time of comparison, if the current exceeds the reference, opening the switch, wherein i) the time-varying reference is generated by a signal generator, ii) the signal generator accepts user input and, in response, changes the waveform of the time-varying reference.
  • 2. The improvement according to claim 1, wherein the reference is a sinusoid.
  • 3. The improvement according to claim 1, wherein a sinusoidal output current is produced.
  • 4. The improvement according to claim 1, wherein the time-varying reference is generated independently of the output of the power supply.
  • 5. The improvement according to claim 1, wherein the time-varying reference is generated independently of the current passing through the switch.
  • 6. The improvement according to claim 1, wherein the time-varying reference is generated by a signal generator having an existence separate from the power supply.
  • 7. The improvement according to claim 1, whereini) the power supply produces an output waveform, and ii) the output waveform is a replica of the time-varying reference.
  • 8. The improvement according to claim 7, wherein the reference is a sinusoid.
  • 9. The improvement according to claim 7, wherein a sinusoidal output current is produced.
  • 10. The improvement according to claim 7, wherein the time-varying reference is generated independently of the output of the power supply.
  • 11. The improvement according to claim 7, wherein the time-varying reference is generated independently of the current passing through the switch.
  • 12. The improvement according to claim 7, wherein the time-varying reference is generated by a signal generator having an existence separate from the power supply.
CROSS-REFERENCE TO RELATED APPLICATION

This application is related to provisional patent application Serial No. 60/071,999, filed Jan. 20, 1998, to which Applicants claim the benefit of the earlier filing date.

US Referenced Citations (18)
Number Name Date Kind
4002963 Hunter Jan 1977
4006391 Deering et al. Feb 1977
4121136 Fournier et al. Oct 1978
4250469 Cooper et al. Feb 1981
4318167 Angquist Mar 1982
4419615 Muto et al. Dec 1983
4615000 Fujii et al. Sep 1986
4636711 Freymuth Jan 1987
4924373 Inaba et al. May 1990
5077540 Keith et al. Dec 1991
5089767 Neidorff Feb 1992
5099408 Chen et al. Mar 1992
5206540 de Sa e Silva et al. Apr 1993
5371666 Miller Dec 1994
5422562 Mammano et al. Jun 1995
5770940 Goder Jun 1998
5774323 Innes et al. Jun 1998
5804944 Alberkrack et al. Sep 1998
Provisional Applications (1)
Number Date Country
60/071999 Jan 1998 US