1. Field of the Invention
The present invention relates in general to the field of electronics, and more specifically to a method and system for determining control data from primary-side sensing of a secondary-side voltage in a switching power converter.
2. Description of the Related Art
Many electronic systems utilize switching power converters to efficient convert power from one source into power useable by a device (referred to herein as a “load”). For example, power companies often provide alternating current (AC) power at specific voltages within a specific frequency range. However, many loads utilize power at a different voltage and/or frequency than the supplied power. For example, some loads, such as light emitting diode (LED) based lamps operate from a direct current (DC). “DC current” is also referred to as “constant current”. “Constant” current does not mean that the current cannot change over time. The DC value of the constant current can change to another DC value. Additionally, a constant current may have noise or other minor fluctuations that cause the DC value of the current to fluctuate. “Constant current devices” have a steady state output that depends upon the DC value of the current supplied to the devices.
LEDs are becoming particularly attractive as main stream light sources in part because of energy savings through high efficiency light output, long life, and environmental incentives such as the reduction of mercury. LEDs are semiconductor devices and are best driven by direct current. The brightness of the LED varies in direct proportion to the DC current supplied to the LED. Thus, increasing current supplied to an LED increases the brightness of the LED and decreasing current supplied to the LED dims the LED.
The controller 106 provides a control signal CS0 to switching power converter 110 to control the conversion of rectified input voltage VX into a link voltage VLINK. The switching power converter 110 can be any type of switching power converter, such as a boost, buck, boost-buck, or Cúk type switching power converter. The link voltage VLINK is generally a DC voltage that is maintained at an approximately constant level by switching power converter 110. Controller 106 also generates control signal CS1 to control load drive switch 112. When control signal CS1 causes switch 112 to conduct, a primary-side current iPRIMARY flows into a primary coil 114 of transformer 116 to magnetize the primary coil 114. When control signal CS1 opens switch 112, primary coil 114 demagnetizes. The magnetization and demagnetization of the primary coil 114 induces a secondary voltage VS across a secondary coil 118 of transformer 116. Primary voltage VP is N times the secondary voltage VS, i.e. VP=N·VS, and “N” is a ratio of coil turns in the primary coil 114 to the coil turns in the secondary coil 118. The secondary-side current iSECONDARY is a direct function of the secondary voltage VS and the impedance of diode 120, capacitor 122, and load 104. Diode 120 allows the secondary-side current iSECONDARY to flow in one direction. The secondary-side current iSECONDARY charges capacitor 122, and capacitor 122 maintains an approximately DC voltage VLOAD across load 104. Thus, secondary-side current iSECONDARY is a DC current.
Since the control signal CS1 generated by the controller 106 controls the primary-side current iPRIMARY, and the primary-side current iPRIMARY controls the voltage VP across the primary coil 114, the energy transfer from the primary coil 114 to the secondary coil 118 is controlled by the controller 106. Thus, the controller 106 controls the secondary-side current iSECONDARY.
The controller 106 operates the switching power converter 110 in a certain mode, such as quasi-resonant mode. In quasi-resonant mode, the control signal CS1 turns switch 112 ON at a point in time that attempts to minimize the voltage across switch 112, and, thus, minimize current through switch 112. Controller 106 generates the control signal CS1 in accordance with a sensed primary-side current iPRIMARY
To deliver a known amount of power to the load 104, the controller 106 can determine the amount of power delivered to the load 104 by knowing the values of the secondary-side voltage VS and the secondary-side current iSECONDARY. The controller 106 can derive the secondary-side voltage VS from the primary-side voltage VP in accordance with VP=N·VS, as previously discussed. The controller 106 determines the value of the secondary-side current iSECONDARY by monitoring the value of iSECONDARY
However, directly sensing the secondary-side current iSECONDARY generally requires an opto-coupler or some other relatively expensive component to provide connectivity to the secondary-side of transformer 116.
In one embodiment of the present invention, a method includes receiving a sense signal from a primary-side of a transformer of a switching power converter. The sense signal represents a secondary-side voltage across a secondary-side of the transformer. The method further includes determining one or more times between approximately zero crossings of the secondary-side voltage during one or more resonant periods of the secondary-side voltage. Each resonant period occurs after the secondary-side voltage decreases to zero and before a current in the primary-side of the transformer increases from approximately zero. The method also includes determining one or more resonant period factors from the one or more times between approximately zero crossings of the secondary-side voltage. The method also includes determining one or more switching power converter control parameters using (i) the one or more resonant period factors and (ii) an occurrence of an approximate zero voltage crossing of the secondary-side voltage during a resonant period of the secondary-side voltage.
In another embodiment of the present invention, an apparatus includes a controller. The controller includes an input to receive a sense signal from a primary-side of a transformer of a switching power converter. The sense signal represents a secondary-side voltage across a secondary-side of the transformer, and the controller is capable to determine one or more times between approximately zero crossings of the secondary-side voltage during one or more resonant periods of the secondary-side voltage. Each resonant period occurs after the secondary-side voltage decreases to zero and before a current in the primary-side of the transformer increases from approximately zero. The controller is further capable to determine one or more resonant period factors from the one or more times between approximately zero crossings of the secondary-side voltage. The controller is further capable to determine one or more switching power converter control parameters using (i) the one or more resonant period factors and (ii) an occurrence of an approximate zero voltage crossing of the secondary-side voltage during a resonant period of the secondary-side voltage.
In a further embodiment of the present invention, an apparatus includes a switching power converter. The switching power converter includes a transformer having a primary-side and a secondary-side. The apparatus further includes a controller The controller includes an input to receive a sense signal from a primary-side of a transformer of a switching power converter. The sense signal represents a secondary-side voltage across a secondary-side of the transformer, and the controller is capable to determine one or more times between approximately zero crossings of the secondary-side voltage during one or more resonant periods of the secondary-side voltage. Each resonant period occurs after the secondary-side voltage decreases to zero and before a current in the primary-side of the transformer increases from approximately zero. The controller is further capable to determine one or more resonant period factors from the one or more times between approximately zero crossings of the secondary-side voltage. The controller is further capable to determine one or more switching power converter control parameters using (i) the one or more resonant period factors and (ii) an occurrence of an approximate zero voltage crossing of the secondary-side voltage during a resonant period of the secondary-side voltage. The apparatus also includes a load coupled to the secondary-side of the transformer of the switching power converter.
The present invention may be better understood, and its numerous objects, features and advantages made apparent to those skilled in the art by referencing the accompanying drawings. The use of the same reference number throughout the several figures designates a like or similar element.
A power distribution system includes controller of a switching power converter to control the switching power converter and determine one or more switching power converter control parameters. In at least one embodiment, the switching power converter utilizes a transformer to transfer energy from a primary-side of the transformer to a secondary-side. An input voltage source is connected to the primary-side, and a load is connected to the secondary-side. The controller utilizes the switching power converter control parameters to control a current control switch on the primary-side of the switching power converter, which controls the energy transfer process.
In at least one embodiment, the controller determines the one or more switching power converter control parameters using a resonant period factor from a reflected secondary-side voltage and an occurrence of an approximate zero voltage crossing of the secondary-side voltage during a resonant period of the secondary-side voltage. In at least one embodiment, the switching power converter control parameters include (i) an estimated time of a minimum value of the secondary-side voltage during the resonant period and (ii) an estimated time at which a current in the secondary-side of the transformer decayed to approximately zero. In at least one embodiment, causing the current control switch to conduct and allow current to flow through the primary-side of the transformer at an estimated time of a minimum value of the secondary-side voltage during the resonant period reduces energy losses and is, thus, more energy efficient. In at least one embodiment, determining an estimated time at which a current in the secondary-side of the transformer decayed to approximately zero allows the controller to determine the amount of energy transferred to a load and, thus, control the switching power converter to meet the power demand of a load. The term “approximately” as used herein means exact or sufficiently close to exact to allow a component, system, or process to achieve its intended function.
The secondary-side voltage enters a decaying resonant period after the current decayed to zero in the secondary-side winding. As previously mentioned, causing the current control switch to conduct at an estimated time of a minimum value of the secondary-side voltage is efficient; however, determining when the minimum value will occur presents a challenge. In at least one embodiment, the resonant period of the secondary-side voltage is relatively stable from cycle-to-cycle of the primary-side switch. By indirectly sensing the secondary-side voltage, such as sensing a reflected secondary-side voltage in an auxiliary winding, the controller can sense zero crossings of the secondary-side voltage. By sensing the time between at least two of the zero crossings, the controller can determine a resonant period factor. Since the time between a zero crossing and a minimum value of the secondary-side resonant voltage equals the resonant period divided by 4 (referred to at “TRES/4”), in at least one embodiment, the controller can determine the timing of the minimum value by adding the resonant period factor TRES/4 to the time of the detected zero crossing.
In at least one embodiment, the controller generally operates the switching power converter in discontinuous conduction mode, critical conduction mode, or quasi-resonant mode. However, in at least one embodiment, the controller probes a reflected, secondary-side voltage to determine the resonant period by extending a duration of the current control switch cycle to include one or more consecutive resonant periods. In at least one embodiment, probing the resonant period occurs during multiple consecutive and/or non-consecutive switch cycles to determine the duration of multiple resonant periods. In at least one embodiment, the controller includes a digital filter to process the multiple resonant periods to obtain a single estimation of the resonant period. For example, in at least one embodiment, the digital filter averages the multiple resonant periods to obtain an average resonant period. Additionally, in at least one embodiment, the current control switch is a field effect transistor (FET). In at least one embodiment, the controller probes the reflected, secondary-side voltage when an input voltage to the primary-side of the transformer is sufficient to reverse bias a body diode of the current control switch to more accurately determine the resonant period factor.
Additionally, the secondary-side current leads the secondary-side voltage in phase by ninety degrees (90°). Thus, in at least one embodiment, the controller can determine when the secondary-side current decayed to approximately zero by subtracting the resonant period factor TRES/4 from an initial occurrence during a switch conduction cycle of a zero crossing of the secondary-side voltage. Additionally, in at least one embodiment, the determination of the switching power converter control parameters occurs using data sensed from a reflected secondary-side voltage without a physical connection to the secondary-side.
The controller 202 regulates the power delivered to load 208 by regulating the primary-side current iPRIMARY conducted by the primary-side coil 210. Load 208 can be any type of load, such as one or more light emitting diodes (LEDs). In at least one embodiment, the controller 202, the switching power converter 216, and the load 208 are included as part of a lamp (not shown). The controller 202 includes a control signal generator 211 to generate a control signal CS2 to control the switching power converter 216. The control signal generator 211 regulates the primary-side current iPRIMARY by regulating the duty cycle of control signal CS2, which regulates the duty cycle of exemplary current control switch 212. The current control switch 212 can be any type of switch and, in at least one embodiment, is a field effect transistor (FET). The primary-side current iPRIMARY energizes the primary-side coil 210 when the control signal CS2 causes the switch 212 to conduct during period T1 as shown in the exemplary waveforms 218. As indicated by the dot configuration of the transformer 206, when the primary-side current iPRIMARY flows from the primary side coil 210 towards the switch 212, the induced secondary-side voltage VS reverse biases diode 214. When diode 214 is reversed biased, the secondary-side current iSECONDARY is zero, and the capacitor 215 supplies energy to the load 208. When switch 212 stops conducting at the end of the period T1, period T2 begins, and the polarity of the primary-side voltage VP and the secondary-side voltage reverses, which is often referred to as the flyback period. The reversal of the secondary-side voltage VS forward biases diode 214. When the diode 214 is forward biased, the secondary-side current iSECONDARY rises virtually instantaneously and then ramps down to zero when the switching power converter 216 operates in discontinuous conduction mode or critical conduction mode.
The controller 202 senses the primary-side current via primary-side sense current iPRIMARY
The amount of energy delivered to the secondary-side of transformer 206 depends in part on knowing the ending time of period T2, which corresponds to the time at which the secondary-side current iSECONDARY decays to zero. Controller 202 utilizes primary-side sensing of the secondary-side voltage to determine the end of period T2. The particular location, components, and method of primary-side sensing is a matter of design choice. In at least one embodiment, the controller 202 performs primary-side sensing from node 217. When using primary-side sensing, the secondary current iSECONDARY is not directly observable by the controller 202. However, the control parameter generator 220 is capable of determining the one or more switching power converter control parameters, such as (i) an estimated time of a minimum value of the secondary-side voltage during the resonant period and (ii) an estimated time at which a current in the secondary-side of the transformer decayed to approximately zero, by determining a resonant period factor of the secondary-side voltage and knowing an approximate timing relationship between the secondary-side voltage and the secondary-side current iSECONDARY.
Generating the control signal CS2 to cause the switch 202 to begin conducting at an estimated time of a minimum value of the secondary-side voltage VS during the resonant period increases the energy efficiency of the power distribution system 200. The switch 202 includes parasitic impedances, such as the parasitic capacitor 222. The energy efficiency is increased, for example, because when the secondary-side voltage VS is at a minimum value, the parasitic capacitor 222 is discharged. Thus, when control signal CS2 causes the switch 202 to conduct at an estimated time of a minimum value of the secondary-side voltage, the parasitic capacitor 222 does not charge or at least discharge is minimized when the switch 202 is turned ON.
To determine an estimated time of a minimum value of the secondary-side voltage VS during the resonant period, the controller 202 detects zero crossings of the signal ZCD during a resonant period of the secondary-side voltage VS. As subsequently described in more detail, if switch 212 remains non-conductive after the secondary-side voltage VS drops to zero during a period of the control signal CS2, the secondary-side voltage VS will resonate. By detecting at least two zero crossings of the resonating secondary-side voltage VS and determining the elapsed time between the detected zero crossings, the control parameter generator 220 can determine the resonant period factor. The minimum value of the resonating secondary-side voltage VS occurs 90° after each zero crossing, and 90° represents ¼ of the resonant period TRES. Thus, the minimum value of the resonating secondary-side voltage VS occurs at the time of the detected zero crossing plus TRES/4. The resonant period TRES is generally in the range of 0.667 μsec to 2 μsec. For example, if the time between two adjacent zero crossings of the resonant secondary-side voltage VS is 0.5 μsec, then the resonant period TRES is (0.5 μsec)·(2)=1.0 μsec and the resonant period factor TRES/4=0.25 μsec. Thus, when the control parameter generator 220 detects a zero crossing of the secondary-side voltage VS at time t0, then the control parameter generator 220 determines that the minimum value of the resonating secondary-side voltage VS will occur at time t0 plus 0.25 μsec.
When the secondary-side voltage VS resonates, the secondary-side voltage VS lags the secondary-side current iSECONDARY by X degrees, where X is a number. The resonant period factor for determining an estimated time at which secondary-side current decayed to approximately zero is represented by TRES·X/360°. In at least one embodiment, X is 90°, which equates to a resonant period factor of TRES/4. During the resonance of the secondary-side voltage VS and after the secondary-side current iSECONDARY decays to zero, the secondary-side voltage VS reaches approximately 0V X degrees after the secondary-side current decays to zero. By detecting a subsequent zero crossing of the secondary-side voltage VS, the control parameter generator 220 determines the resonant period factor TRES·X/360°. For example, if the time between two adjacent zero crossings of the resonant secondary-side voltage VS is 0.5 μsec, then the resonant period TRES is (0.5 μsec)·(2)=1.0 μsec. If X equals 90°, then the resonant period factor TRES/4 to determine the estimated time at which secondary-side current decayed to approximately zero=1.0 μsec/4=0.25 μsec. Thus, when the control parameter generator 220 detects a zero crossing of the secondary-side voltage VS at time t0, then the control parameter generator 220 determines that estimated time at which secondary-side current iSECONDARY decayed to approximately zero occurred at time t0 minus 0.25 μsec. The secondary-side voltage VS equals the primary-side voltage VP/N, and N is a number representing the turns ratio between the primary-side coil 210 and the secondary-side coil 204. The control signal generator 211 can utilize the estimated time at which secondary-side current iSECONDARY decayed to approximately zero to determine the power delivered to the load 208 since the power delivered to the secondary-side 208 equals approximately the integral of the secondary-side current iSECONDARY times the secondary-side voltage VS.
The frequency and timing of determining the resonant period factor or factors is a matter of design choice. In at least one embodiment, the control signal generator 211 generates the control signal CS2 to extend the time when the switch 212 is nonconductive to allow the control parameter generator 220 to probe the resonating secondary-side voltage VS to detect at least two zero crossings of a resonating secondary-side voltage VS. In at least one embodiment, the control parameter generator 220 detects the multiple zero crossings to determine the resonant period factors for multiple cycles of the control signal CS2 during a single cycle of an AC version of the input voltage VIN. In at least one embodiment, the control parameter generator 220 determines the resonant period factors at least three times during a single cycle of an AC version of the input voltage VIN. In at least one embodiment, the control parameter generator 220 probes the secondary-side voltage VS when the input voltage VIN is sufficient to reverse bias a body diode of the current control switch 212 to more accurately determine the resonant period factors. In at least one embodiment, the controller 202 also generates a control signal CS3 to control another switching power converter as, for example, described in U.S. Pat. No. 7,719,246, entitled “Power Control System Using a Nonlinear Delta-Sigma Modulator with Nonlinear Power Conversion Process Modeling”, assigned to Cirrus Logic, Inc., and inventor John L. Melanson, which is hereby incorporated by reference in its entirety. In at least one embodiment, the controller 202 also responds to a DIM signal generated by a dimmer (not shown) to modify the power delivered to the load 208 in accordance with a dimmer level indicated by the DIM signal. Exemplary systems and method of interfacing with a dimmer signal are described in, for example, U.S. patent application Ser. No. 12/570,550, entitled “Phase Control Dimming Compatible Lighting Systems”, assigned to Cirrus Logic, Inc., inventors William A. Draper and Robert Grisamore, which is hereby incorporated by reference in its entirety.
Referring to
At time t1, control generator 304 turns FET 308 OFF (i.e. non-conductive), the primary-side voltage VP and secondary-side voltage VS reverse, and the secondary-side current iSECONDARY quickly rises. At the beginning of period T2OBSERVED and T2ACTUAL, the secondary-side voltage VS experiences brief oscillations followed by a time of an approximately constant value. The secondary-side current iSECONDARY flows through the now forward biased diode 316 and charges capacitor 317 to develop a voltage VLOAD across LEDs 319. The secondary-side current iSECONDARY decays to zero at time t2. Time t2 marks the end of the actual period T2ACTUAL. At time t2, which is the end of the actual period T2ACTUAL, the secondary-side voltage VS begins to resonate and reaches a first zero crossing during the cycle of control signal CS2 at time t3. In at least one embodiment, it is difficult to detect the exact time t2, and, thus, difficult to determine the exact end of period T2ACTUAL.
Transformer 312 includes an auxiliary coil 318 on the primary-side of transformer 310 that senses a reflected secondary-side voltage VS. The auxiliary voltage VAUX across the auxiliary coil 318 represents the sensed secondary-side voltage VS. Resistors 320 and 322 provide a voltage divider so that the zero crossing detection ZCD represents a scaled version of the auxiliary voltage VAUX and, thus, also represents a sensed version of the secondary-side voltage VS. In addition to sensing the secondary-side voltage VS, the auxiliary voltage VAUX also generates a current iAUX through resistor 324 and diode 326 to generate the controller supply voltage VDD across capacitor 328.
The value of the zero crossing detection signal ZCD tracks the secondary-side voltage VS and indicates a zero crossing of the secondary-side voltage VS at time t3. The elapsed time between time t1 and time t3 represents an observed period T2OBSERVED. In operation 402 during the resonant period of the secondary-side voltage VS, the control parameter generator 330 senses at least two instances of when the zero crossing detection signal ZCD reaches approximately 0V during a current control switch period TTSWITCH. For example, in at least one embodiment, the control parameter generator 330 senses the first zero crossing of the secondary-side voltage VS at time t3 and the second zero crossing at time t5. In operation 404, the control parameter generator 330 determines at least one resonant period factor. The elapsed time between times t5 and t3 equals ½ of the resonant period TRES. In at least one embodiment, the control parameter generator 330 also detects additional zero crossings, such as the zero crossing at time t6 and generates an average value of the resonant period TRES and/or a fraction of the resonant period TRES, such as TRES/4. The manner of detecting the 0V value of the zero crossing detection signal ZCD is a matter of design choice. In at least one embodiment, the control parameter generator 330 includes a digital microprocessor (not shown) connected to a memory (not shown) storing code that is executable by the processor to determine the control parameters. Other exemplary embodiments are discussed in more detail in
The minimum value of the secondary-side voltage VS occurs at the lowest valley of the secondary-side voltage during the resonant period TRES. As evident in
Operation 410 determines the time tiS
Determining how often to repeat the switching power converter control parameter determination process 400 from operation 402 is a matter of design choice.
Thus, in at least one embodiment, operation 412 causes the control parameter generator 330 to repeat from operation 402 (corresponding to
The logical comparator generates the output signal tZC(n) at the time ZCD(n) that is approximately zero and provides tZC(n) to control parameter determination stage 806. Counter 808 receives tZC(n) and determines the time between tZC(n) and tZC(n+1), which equals TRES/2. The resonant period factor generator 810 determines the resonant period factor from the time between tZC(n) and tZC(n+1). Filter 812 averages M number of resonant period factors generated by the resonant period factor 810. M is an integer greater than or equal to two. The control parameter processor performs operations 406-412 to determine the time tiS
Thus, a power distribution system includes a controller that determines one or more switching power converter control parameters using a resonant period factor from a reflected secondary-side voltage and an occurrence of an approximate zero voltage crossing of the secondary-side voltage during a resonant period of the secondary-side voltage.
Although embodiments have been described in detail, it should be understood that various changes, substitutions, and alterations can be made hereto without departing from the spirit and scope of the invention as defined by the appended claims.
This application claims the benefit under 35 U.S.C. §119(e) and 37 C.F.R. §1.78 of U.S. Provisional Application No. 61/492,871, filed Jun. 3, 2011, and entitled “Resonant Period Extractor for Switching Mode Power Supply”,” which is incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
61492871 | Jun 2011 | US |