# Patent

## Title
Primary-side based control of secondary-side current for a transformer

## Abstract

A power control system includes a transformer and a controller regulates a current on a secondary-side of the transformer based on a primary-side signal value. In at least one embodiment, the secondary-side current is a current out of a filter coupled to a rectifier and the secondary-side of the transformer and into a load. In at least one embodiment, the primary-side signal value is a sample of a current in the primary-side windings of the transformer. In at least one embodiment, the primary-side signal value represents a sample value of a primary-side transformer current. Proper timing of sampling the primary-side signal value substantially eliminates contributions of a transformer magnetizing current from the primary-side transformer current sample. Sampling the primary-side signal value when contributions of the transformer magnetizing current are substantially eliminated allows at least an average of the secondary-side current to be determined from the primary-side signal value.

## Background
CROSS REFERENCE TO RELATED APPLICATIONS
This application claims the benefit under 35 U.S.C. §119(e) of U.S. Provisional Application No. 61/120,455, filed Dec. 7, 2008, and entitled “Power Converter With Primary Side Current Control.” U.S. Provisional Application No. 61/120,455 includes exemplary systems and methods and is incorporated by reference in its entirety.


BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates in general to the field of signal processing, and more specifically to a system and method that includes primary-side based control of secondary-side current for a transformer.
2. Description of the Related Art
Power control systems often utilize a switching power converter to convert alternating current (AC) voltages to direct current (DC) voltages or DC-to-DC. Power control systems often provide power factor corrected and regulated output voltages to many devices that utilize a regulated output voltage. Switching power converters have been used as interfaces between triac-based dimmers and LOADs. The LOAD can be virtually any load that utilizes converted power, such as one or more light emitting diodes (LEDs).
LEDs are becoming particularly attractive as main stream light sources in part because of energy savings through high efficiency light output and environmental incentives, such as the reduction of mercury. LEDs are semiconductor devices and are driven by direct current. The lumen output intensity (i.e. brightness) of the LED approximately varies in direct proportion to the current flowing through the LED. Thus, increasing current supplied to an LED increases the intensity of the LED and decreasing current supplied to the LED dims the LED. Current can be modified by either directly reducing the direct current level to the white LEDs or by reducing the average current through duty cycle modulation.
FIG. 1 depicts a power control system 100, which includes a switching power converter 102. Voltage source 104 supplies an alternating current (AC) input voltage Vin to a full bridge diode rectifier 106. Capacitor 107 provides high frequency filtering. The voltage source 104 is, for example, a public utility, and the AC voltage Vin is, for example, a 60 Hz/110 V line voltage in the United States of America or a 50 Hz/220 V line voltage in Europe. The rectifier 106 rectifies the input voltage Vin and supplies a rectified, time-varying, line input voltage VX to the switching power converter 102.
The power control system 100 includes a controller 108 to regulate an output voltage VL of switching power converter 102 and control a primary-side transformer interface 116. Voltage VL is referred to as a “link voltage”. Controller 108 generates a pulse-width modulated control signal CS0 to control conductivity of switch 110 and, thereby, control conversion of input voltage VX to link voltage VL. Switch 110 is a control switch. The controller 108 controls an ON (i.e. conductive) and OFF (i.e. nonconductive) state of switch 110 by varying a state of pulse width modulated control signal CS0. Switching power converter 102 can be any of a variety of types, such as a boost converter. Controller 108 utilizes feedback signals VX—FB and VL—FB to generate switch control signal CS0 to regulate the link voltage VL. Feedback signal VX—FB represents input voltage VX, feedback signal VL—FB represents link voltage VL.
Power control system 100 includes an isolation transformer 112 to isolate the primary-side 122 and secondary-side 124 of power control system 100. Depending upon the type of switching power converter 102, the link voltage VL is either a multiple or a fraction of the input voltage VX. For a boost type switching power converter 102, the link voltage VL can be several hundred volts. Often the LOAD 114 does not require such high voltages. Transformer 112 steps down the link voltage VL to a lower secondary voltage VS. A lower secondary voltage VS can have several advantages. For example, lower voltages are generally safer. Additionally, LOAD 114 may have a metal heat sink, such as a heat sink to dissipate heat from one or more LEDs. The cost of insulation requirements implemented by regulatory associations for LOAD 114 generally decreases as the secondary voltage VS decreases below various voltage thresholds. Therefore, a lower voltage across LOAD 114 can lower manufacturing costs.
The power control system 100 includes a primary-side transformer interface 116 between the switching power converter 102 and the primary-side of transformer 112. Since link voltage VL is a regulated, generally constant voltage over a period of time, the primary-side transformer interface 116 converts the link voltage VL into a time-varying voltage VP. The transformer 112 induces the secondary-side voltage VS from the primary voltage VP. A variety of topologies for interfaces 116 exist, such as half-bridge, full-bridge, and push-pull interfaces. The primary-side interface 116 includes one or more switches (not shown) arranged in accordance with the topology of interface 116. The controller 108 generates pulse width modulated switch control signals {CS1 . . . CSM} to control the respective conductivity of switches (not shown) in interface 116. The set of switch control signals {CS1 . . . CSM} allows the interface 116 to convert the link voltage VL into the primary-side voltage VP, which can be passed by transformer 112. Thus, the control signals {CS1 . . . CSM} control the coupling of the primary-side voltage VP to the secondary-side 124. Exemplary primary-side transformer interfaces 116 are discussed in chapter 6 of Fundamentals of Power Electronics—Second Edition by Erickson and Maksimović, publisher Springer Science+Business Media, LLC, copyright 2001 (“Fundamentals of Power Electronics”). The power control system 100 also includes a secondary-side transformer interface 118 between the secondary-side of transformer 112 and LOAD 114 to convert the secondary voltage VS into an output voltage VOUT. A variety of interfaces 118 exist, such as half-bridge buck converter and full-bridge buck converters. Exemplary secondary-side transformer interfaces 118 are also discussed in chapter 6 of Fundamentals of Power Electronics. 
For a load 114 that utilizes a regulated secondary-side current iLOAD(t), controller 108 regulates the link voltage VL and the primary-side voltage VP to establish a particular value for secondary-side load current iLOAD(t). The secondary-side current iLOAD(t) is a function of an integral of the primary-side voltage VP over time. Controller 108 regulates the primary-side voltage VP by controlling the duty cycles of control signals {CS1 . . . CSM}. If the value of secondary side current iLOAD(t) is too large, controller 108 decreases the duty cycle of control signals {CS1 . . . CSM}, and, if the value of secondary side current iLOAD(t) is too small, controller 108 increases the duty cycle D of control signals {CS1 . . . CSM}. For a transformer with NP primary-side windings and NS secondary-side windings, the primary-side voltage VP and the secondary side voltage VS are related to each other in accordance with Equation [1], where NP and NS represent the respective number of primary-side and secondary-side windings:

VP·NS=VS·NP  [1].

For an ideal transformer, the primary-side current iP(t) and the secondary-side windings current iS(t) are related in accordance with Equation [2]:

iP(t)·NP−iS(t)·NS=0  [2].

The secondary-side windings current iS(t) is one example of a secondary-side current. The secondary-side windings current iS(t) is the current in the secondary windings of transformer 112. The secondary-side load current iLOAD(t) also represents a secondary-side current. The secondary-side load current iLOAD(t) is a function of the secondary-side windings current iS(t) as modified by the secondary-side transformer interface 118.
For a real transformer 112, the primary-side current iP(t) has a magnetizing current component, iM(t). Equation [3] depicts a relationship between the primary-side current iP(t) and the magnetizing current component iM(t).:

iP(t)=iP′(t)+iM(t)  [3].

The current iP′(t) is related to the secondary-side windings current iS(t) in accordance with Equation [4]:

iP′(t)=iS(t)·NS/NP  [4].

Thus, the primary-side current iP(t) is related to the secondary-side windings current iS(t) in accordance with Equation [5]:

iP(t)=iS(t)·NS/NP+iM(t)  [5].

In at least one embodiment, the magnetizing current on the primary-side of transformer 112 is not directly measurable. Accordingly, it is very difficult to monitor changes in the secondary-side load current iLOAD(t) without actually sampling the secondary-side current iLOAD(t).
To regulate the secondary-side load current iLOAD(t), controller 108 utilizes feedback signal iLOAD(t)—FB to generate switch control signals CS1 . . . CSM. Feedback signal iLOAD(t)—FB represents the secondary-side load current iLOAD(t). Power control system 100 includes coupler 120 to receive feedback signal iLOAD(t)FB. The feedback signal iLOAD(t)—FB is, for example, a current or voltage that represents the value of secondary-side current iLOAD(t). Coupler 120 is, for example, an optical coupler that maintains isolation between the primary-side 122 and secondary-side 124 of power control system 100. In another embodiment, coupler 120 is a resistor. When using a resistor, insulation of LOAD 114 and other components can be used to address safety concerns. In any event, the coupler 120 and any auxiliary materials, such as insulation, add cost to power control system 100.
Some conventional electronic systems, such as electronic system 100, limit the secondary-side load current iLOAD(t) to protect load 114. To simply limit secondary-side load current iLOAD(t), controller 108 can limit secondary-side load current iLOAD(t) by observing the primary-side current iP(t) without receiving feedback signal iLOAD(t)—FB. The controller 108 can compare a peak target value of primary-side current iP(t) and the observed primary-side current iP(t), and limit the primary-side current iP(t) to the peak target value. Limiting the primary-side current iP(t) limits the secondary side load current iLOAD(t). However, because of many variables, such as the magnetizing current iM(t) and variations in the duty cycles of switch control signal CS1 . . . CSM due to ripple in the input voltage VX and link voltage VL, limiting the secondary-side load current iLOAD(t) based on a peak target value of primary-side current iP(t) results in controlling the secondary-side load current with, for example, a 15-50% margin of error. Thus, limiting the secondary-side current iLOAD(t) does not regulate the secondary-side current iLOAD(t).
SUMMARY OF THE INVENTION
In one embodiment of the present invention, an apparatus includes a controller to regulate a load current to a load coupled to a secondary-side of a transformer to an approximately average value based on an observed primary-side signal value. The controller is configured to generate one or more duty cycle modulated switch control signals to control a voltage on a primary-side of the transformer based on the primary-side signal value. The load current represents a current into the load and out of a filter. The filter is coupled to a rectifier, and the rectifier is coupled to the secondary-side of the transformer.
In another embodiment of the present invention, a method includes regulating a load current to a load coupled to a secondary-side of a transformer to an approximately average value based on an observed primary-side signal value. Regulating the output current includes generating one or more duty cycle modulated switch control signals to control a voltage on a primary-side of the transformer based on the primary-side signal value. The load current represents a current into the load and out of a filter. The filter is coupled to a rectifier, and the rectifier is coupled to the secondary-side of the transformer.
In a further embodiment of the present invention, an electronic system includes a controller. The controller is configured to receive a feedback signal from a primary-side of a transformer, wherein the feedback signal represents a current in the primary-side of the transformer. The controller is further configured to generate control signals for circuitry coupled to the primary-side of the transformer to regulate a load current on a secondary-side of the transformer to an approximately average value based on the feedback signal from the primary-side of the transformer without using a feedback signal from a secondary-side of the transformer.



BRIEF DESCRIPTION OF THE DRAWINGS
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.
FIG. 1 (labeled prior art) depicts a power control system with transformer isolation and secondary-side current feedback.
FIG. 2 depicts a power control system that includes a controller to set a value of a secondary-side current based on primary-side signal value.
FIG. 3 depicts an embodiment of the power control system of FIG. 2 and a boost-type switching power converter.
FIG. 4 depicts exemplary power control system signals occurring during operation of the power control system of FIG. 3.
FIG. 5 depicts relationships between an average secondary-side current, a magnetizing current, switch control signals, and a primary-side current during one pulse of the switch control signals.
FIG. 6 depicts a secondary-side current controller.
FIG. 7 depicts a power control system with an exemplary half-bridge primary-side transformer interface.
FIG. 8 depicts signal waveforms for the system of FIG. 7.
FIG. 9 depicts a power control system with an exemplary half-bridge primary-side transformer interface.
FIG. 10 depicts a power control system with multiple loads.



DETAILED DESCRIPTION
In at least one embodiment, a power control system includes a transformer, such as an isolation transformer, and a controller regulates a current on a secondary-side of the transformer based on an observed primary-side signal value. In at least one embodiment, the controller is configured to generate one or more duty cycle modulated switch control signals to control a voltage on a primary-side of the transformer based on the observed primary-side signal value and the secondary-side current represents a load current into a load and out of a filter coupled to a rectifier coupled to the secondary-side of the transformer. In at least one embodiment, the load includes one or more LEDs. In at least one embodiment, the primary-side signal value is a sample of a current in the primary-side windings of the transformer. “Regulation” of a particular signal means that the signal can be controlled with less than a 10% error. In at least one embodiment, the controller regulates the load current within 10% of a target value. In at least one embodiment, the controller regulates the load current within 5% of the target value. It is possible to regulate within closer limits, such as within 1%, 2%, 3%, or 4%. Generally closer regulation requires more expensive components. Unlike peak current limiting, in at least one embodiment, there is no theoretical limit to the regulation that can be achieved by the power control system described herein.
In at least one embodiment, the primary-side signal value represents an observed value, such as a sampled value, of a primary-side transformer current. In at least one embodiment, proper timing of the sampling of the primary-side signal value substantially eliminates contributions of a transformer magnetizing current from the primary-side transformer current sample. Sampling the primary-side signal value when contributions of the transformer magnetizing current are substantially eliminated allows at least an average of the secondary-side current to be determined from the primary-side signal value. “Substantially eliminated” means completely eliminated or reduced to a point where the influence of the magnetizing current does not prevent regulation of the secondary-side current based on the primary-side signal value. In at least one embodiment, the primary-side transformer current is sampled at a midpoint of a pulse of at least one of the switch control signals. In at least one embodiment, the midpoint of the pulse coincides with an average value of the secondary-side current and coincides with a zero value magnetizing current. With a zero value magnetizing current, the primary-side transformer current and the secondary-side current are directly related by the turns ratio of the isolation transformer. Because the turns ratio is an easily obtainable, fixed number, in at least one embodiment, the controller can accurately control the secondary-side current based on the primary-side signal value, such as the primary-side transformer current sample, without using a value of an input voltage at the primary-side or inductance values on the primary and secondary sides of the transformer and without a secondary-side current feedback signal.
In at least one embodiment, basing control of the secondary-side current on a primary-side signal value without using a secondary-side feedback signal reduces costs and increase operational efficiency of the electronic system utilizing the controller. In another embodiment, an average of the primary-side transformer current during one or more pulses of at least one of the switch control signals corresponds to an average value of the secondary-side transformer current. In another embodiment, an average of the primary-side transformer current during one or more periods of at least one of the switch control signals corresponds to an average value of the secondary-side transformer current.
The controller is configured to generate the one or more switch control signals based on the primary-side signal value. In at least one embodiment, the controller utilizes the primary-side signal value to generate one or more switch control signals to control a voltage on a primary-side of the transformer. In at least one embodiment, the voltage controlled is a voltage across primary-side windings of the transformer. In at least one embodiment, the controller regulates an output current on a secondary-side of the transformer to an approximately average value. Regulation of the output current can be accomplished in any number of ways. For example, in at least one embodiment, the controller regulates the output current on the secondary-side of the transformer by adjusting a duty cycle of at least one of the one or more switch control signals.
FIG. 2 depicts a power control system 200 that includes a controller 202 to regulate an approximately average value of an exemplary secondary-side current, such as secondary-side load current iLOAD(t), based on a primary-side signal value, such as primary-side current feedback signal iP(t)—FB. The term “approximately average” indicates the value is either the average value or differs from the average value by an amount resulting from precision limitations in circuitry used to observe and/or determine the primary-side signal value. In at least one embodiment, “observing” includes any form of monitoring, sampling, inspecting, obtaining, or detecting or any combination thereof. Controller 202 generates switch control signals G0 . . . GR to modulate the primary-side transformer voltage VP. In at least one embodiment, the switch control signals G0 . . . GR are duty cycle modulated switch control signals, such as pulse width modulated switch control signals.
In at least one embodiment, proper timing of the sampling of the primary-side feedback signal iP(t)—FB eliminates contributions of a transformer magnetizing current from the primary-side transformer current. For example, by sampling the primary-side feedback signal iP(t)—FB at a midpoint of pulses of at least one of the control signals G0 . . . GR, the primary-side current iP(t) is directly related to the secondary-side winding current iS(t) by the turns ratio NS /NP, i.e. iP·(t) NS/NP=iS(t). The relationship between the secondary-side current iS(t) and the load current iLOAD(t) is also a known function of the transfer function of the secondary-side transformer interface 208. The particular transfer function is a function of the components in the secondary-side transformer interface 208.
The input voltage VIN is supplied to the primary-side transformer interface 204, and primary-side transformer interface 204 converts the input voltage VIN into a time-varying primary-side voltage VP. The source of the input voltage VIN can be any source. In at least one embodiment, the input voltage VIN is a regulated output voltage of a switching power converter (not shown).
The transformer 206 induces the secondary-side voltage VS from the primary-side voltage VP. Transformer 206 includes NP primary winding turns and NS secondary winding turns, where NP and NS respectively represent the number of primary and secondary winding turns. The primary-side voltage VP and secondary-side voltage VS are related to each in accordance with Equation [1]. The secondary-side transformer interface 208 generates an output voltage, which causes the secondary-side current iLOAD(t) to flow into load 210. In at least one embodiment, load 210 includes one or more LEDs.
The midpoint of the pulses of control signals G0 . . . GR coincides with an average value of the secondary-side load current iLOAD(t) and also coincides with a zero value magnetizing current of transformer 206. With a zero value magnetizing current, the primary-side transformer current and the secondary-side current are directly related by the turns ratio of the isolation transformer. Because the turns ratio is an easily obtainable, fixed number, in at least one embodiment, the controller can accurately control the secondary-side currents iS(t) and iLOAD(t) based on the primary-side signal value, such as the primary-side transformer feedback signal iP(t)—FB, without using a value of input voltage VIN or inductance values on the primary and secondary sides of transformer 206 and without a secondary-side current feedback signal. In at least one embodiment, controller 202 compensates for circuit non-idealities of, for example, the primary-side primary transformer interface to sample the primary-side transformer feedback signal iP(t)—FB. For example, system delays, such as delays caused by parasitic capacitances, can cause delays between the correlation of the midpoint of switch control signals G0 . . . GR and the sample of the primary-side transformer feedback signal iP(t)—FB. Thus, in at least one embodiment, to increase the accuracy of the regulation of the secondary-side current, controller 202 compensates for the system delays.
In another embodiment, an average of the primary-side current iP(t) during one or more pulses of at least one of the switch control signals G0 . . . GR corresponds to an average value of the secondary-side load current iLOAD(t). In another embodiment, an average of the primary-side transformer feedback signal iP(t) during one or more periods of at least one of the switch control signals G0 . . . GR corresponds to an average value of the secondary-side transformer load current iLOAD(t).
In at least one embodiment, the controller 202 generates switch control signals G0 . . . GR to modulate the primary-side transformer voltage VP, where R+1 represents the number of switch control signals and R is greater than or equal to zero. Changing the duty cycle of the primary-side transformer voltage VP changes the secondary-side voltage VS and, thus, changes the secondary-side current iLOAD(t). The particular value of R is a matter of design choice and depends, for example, on the type of primary-side transformer interface 204. Primary-side transformer interface 204 can be any type of interface such as a push-pull, full bridge, or half-bridge interface. Secondary-side transformer interface 208 can also be any type of interface such as a half-bridge/buck converter. The particular type of transformer interfaces is a matter of design choice and depends, for example, on the type of load 210 and desired characteristics of, for example, secondary-side current iLOAD(t). Load 210 can be any type of load including one or more LEDs arranged in one or more serial or parallel strings.
FIG. 3 depicts power control system 300. Power control system 300 represents one embodiment of power control system 200 and also includes a boost-type switching power converter 302. In at least one embodiment, controller 304 generates switch control signal CS2 to control switch 306 to regulate the link voltage VL and to provide power factor correction. U.S. patent application Ser. No. 11/967,269, entitled “POWER CONTROL SYSTEM USING A NONLINEAR DELTA-SIGMA MODULATOR WITH NONLINEAR POWER CONVERSION PROCESS MODELING”, filed Dec. 31, 2007, inventor John L. Melanson, and assignee Cirrus Logic, Inc. (referred to herein as “Melanson I”) describes exemplary control of switching power converter 302. In general, switch control signal CS2 causes switch 306 to conduct, and the voltage across inductor 308 increases. When switch control signal CS2 controls switch 306 to stop conducting, current flows through diode 310 and charges capacitor 312 towards a sum of the input voltage VX and the voltage across inductor 308. The voltage across capacitor 312 is the link voltage VL. Capacitor 312 is sized so as to maintain an approximately constant link voltage VL. In at least one embodiment, switch control signal CS2 is also modulated to provide power factor correction. The link voltage VL can be any voltage that is sufficient to drive load 340. In at least one embodiment, link voltage VL is approximately 200 V. In at least one embodiment, controller 304 utilizes feedback signals VX—FB and VL—FB to generate switch control signal CS2. Feedback signal VX—FB represents input voltage VX, feedback signal VL—FB represents link voltage VL.
A push-pull circuit 316 represents one embodiment of primary-side transformer interface 204. Push-pull circuit 316 generates a primary-side transformer voltage to induce a secondary-side voltage in the secondary-side windings of transformer 318. Transformer 318 is an isolation transformer that provides isolation between the primary-side 346 and secondary-side 348. Push-pull circuit includes Zener diode 320 and diodes 322 and 324 configured as a snubber circuit to provide stability at voltage node 326. Push-pull circuit 316 also includes switches 328 and 330 having conductivity that is respectively controlled by switch control signals G0 and G1. As subsequently explained in more detail, switch control signals G0 and G1 control the secondary-side current iLOAD(t). Transistors 328 and 330 represent one type of switch. The type of switches 328 and 330 is a matter of design choice. In at least one embodiment, switches 328 and 330 are n-channel field effect transistors.
Secondary-side transformer interface 332 includes diodes 334 and 336 plus inductor 338 arranged in a half-bridge, buck converter configuration. Inductor 338 represents one embodiment of a filter at the output of the rectifier 334. Any filter can be utilized. For example, in at least one embodiment, the filter also includes an optional capacitor 354 (shown in dotted lines) to form an LC filter. Secondary-side transformer interface 332 represents one embodiment of secondary-side transformer interface 208. Load 340 includes three LEDs. Power control system 300 also includes optional auxiliary secondary windings 342 to provide auxiliary power to controller 304.
FIG. 4 depicts power control system signals 400, which represent exemplary signals occurring during operation of power control system 300. FIG. 5 depicts the relationships between the average secondary-side current iLOAD(t)AVG, the magnetizing current iM(t), the switch control signals G0 and G1, and the primary-side current iP(t) during one pulse of switch control signals G0 and G1. Referring to FIGS. 3, 4, and 5, controller 304 includes a secondary-side current controller 344 to control the primary-side voltage VP. The secondary-side current controller 344 generates duty cycle modulated switch control signals G0 and G1 based on a primary-side signal value, which in one embodiment is feedback voltage VP(t)—FB. Sense resistor 350 is connected between switches 328 and 330 and a voltage reference 352, such as a ground reference voltage. The primary current iP(t) develops the feedback voltage VP(t)—FB across sense resistor 350. The resistance value of sense resistor 350 is a matter of design choice. In at least one embodiment, the value of sense resistor 350 is designed to provide a voltage drop, such as a few tenths of a volt, that is sufficiently large to be observed by secondary-side current controller 344. Because of i2R losses across sense resistor 504 and a primary-side voltage being higher than secondary-side voltage VS, locating sense resistor 350 on the primary-side 346 is more efficient due to, for example, lower thermal losses, relative to locating sense resistor 350 on the secondary-side 348. Additionally, in at least one embodiment, locating sense resistor 350 on the primary-side 350 eliminates primary-to-secondary-side feedback coupling and/or extra insulation for load 340, thus, reducing component costs.
The secondary-side current controller 344 alternates pulses of switch control signals G0 and G1 so that the primary voltage VP and secondary voltage VS cycles between positive and negative values. FIG. 4 depicts the secondary voltage VS. The primary voltage VP, not shown in FIG. 4, is a scaled version of the secondary voltage VS in accordance with Equation [1]. The number of primary windings NP and the number of secondary windings NS is a matter of design choice and depends on the value of the link voltage VL and the desired maximum secondary-side voltage VS.
During a pulse of switch control signal G0, such as between times t0 and t1, switch 328 conducts and causes secondary-side voltage VS to pulse positive. The magnetizing current iM(t) is related to the integral of the secondary-side voltage VS. So, when the secondary-side voltage VS pulses positive, the magnetizing current iM(t) ramps up. From times t1 to t2, secondary-side current controller 344 drives both switch control signals G0 and G1 low and the secondary-side voltage VS drops to zero. When the secondary-side voltage VS is zero, the magnetizing current iM(t) remains essentially unchanged. From times t2 to t3, switch control signal G0 is low, and switch control signal G1 pulses high causing the secondary voltage VS to drop to a negative value. When the secondary voltage VS drops to the negative value, the magnetizing current iM(t) ramps down. The average value of the secondary voltage VS is zero, so at the midpoint of each pulse of secondary voltage VS, e.g. at times tS0, tS1, and tS2, the value of the magnetizing current iM(t) is also zero. In at least one embodiment, controller 304 compensates for system delays due to, for example, parasitic capacitances in primary-side transformer interface 316 when sampling the feedback voltage VP(t)—FB by sampling the feedback voltage VP(t)—FB at the midpoint times tS0, tS1, and tS2 plus the system delay. Thus, the sampled feedback voltage VP(t)—FB corresponds to the midpoint times when the magnetizing current iM(t) is zero. The midpoint of each pulse of secondary voltage VS corresponds with the midpoint of each pulse of switch control signals G0 and G1. Since secondary-side current controller 344 controls the timing of switch control signals G0 and G1, the midpoint times tS0, tS1, and tS2 and, thus, the times at which the magnetizing current iM(t) is zero is known by secondary-side controller 344. In at least one embodiment, the secondary-side controller 344 includes a memory or can access a memory that stores the values of NS, NP, and the value RS of sense resistor 350 and includes a processor, either analog, digital, or mixed analog and digital.
The half-bridge configuration of diodes 334 and 336 rectifies the secondary-side voltage VS to generate a square wave output voltage VO between diode 334 and inductor 338. The secondary-side current iLOAD(t) is a function of an integral of output voltage VO, so the secondary-side current ramps up when output voltage VO pulses high, such as between times t0 and t1, and ramps down when output voltage VO drops to zero, such as between times t1 and t2. The midpoints of the secondary-side current iLOAD(t) occur at the midpoint times, e.g. tS0, tS1, and tS2, of switch control signals G0 and G1 when the magnetizing current iM(t) is zero. The midpoints of the secondary-side current iLOAD(t) represent an average value iP(t)AVG of secondary-side current iLOAD(t).
In at least one embodiment, the primary-side current iP(t) is related to the secondary-side windings current iS(t) in accordance with Equation [5]. In at least one embodiment, the secondary-side current controller 344 observes the primary-side current iP(t) via the primary-side signal value voltage VP(t)—FB at the midpoint times of switch control signals G0 and G1 (and, thus, at the midpoint times of secondary-side current iLOAD(t)). In at least one embodiment, the magnetizing current iM(t) is not directly measurable. However, since the magnetizing current iM(t) is zero at the midpoint times, e.g. tS0, tS1, and tS2, Equation [5] becomes Equation [6] at the midpoint times, e.g. tS0, tS0, and tS2:

iP(t)=iS(t)NS/NP  [6], and

iP(t)=iLOAD(t)AVG NS/NP  [7].

Equation [7] is true at the midpoint times, e.g. tS0, tS1, and tS2. The value of the primary-side current iP(t), and, thus, the average value of the secondary-side current iLOAD(t), is determined by the duty cycle of the switch control signals G0 and G1. Increasing the duty cycle of switch control signals G0 and G1 increases the value of primary-side current iP(t), and, thus, increases the average value of secondary-side current value iLOAD(t)AVG. Decreasing the duty cycle of switch control signals G0 and G1 decreases the value of primary-side current iP(t), and, thus, decreases the average value of secondary-side current value iLOAD(t)AVG. Thus, the secondary-side current controller 344 controls the average secondary-side current value iLOAD(t). Because the average secondary-side current iLOAD(t)AVG is directly related to the primary-side current iP(t) at the known midpoint times of switch control signals G0 and G1, e.g. tS0, tS1, and tS2, the secondary-side current controller 344 can set a value of the secondary-side current iLOAD(t) based on the exemplary primary-side signal value VP(t)—FB, which is directly proportional to the primary-side current iP(t), i.e. VP(t)—FB α iP(t), where “α” is a proportionality indicator. In at least one embodiment, VP(t)—FB=iP(t)/RS, where RS is the resistance value of sense resistor 350. In at least one embodiment, the secondary-side current controller 344 sets the average value iLOAD(t)AVG of secondary-side current iLOAD(t) when the magnetizing current iM(t) is at a predetermined value, e.g. at iM(t)=0.
The average value iLOAD(t)AVG of secondary-side current iLOAD(t) can be determined in any number of other ways also. For example, in at least one embodiment, the average value of the primary-side current iP(t) during each pulse of switch control signals G0 and G1 or over a number of pulses also corresponds to the average value of the secondary-side current value iLOAD(t)AVG. For example, the primary-side current iP(t) is zero when switch control signals G0 and G1 cause switches 328 and 330 to turn OFF, e.g. for an n-channel FET embodiments of switches 328 and 330, the primary-side current iP(t) is zero when switch control signals G0 and G1 are low. Thus, an average value iP(t)—AVG of the primary-side current iP(t) over a period of switch control signals G0 and G1 or when switch control signals G0 and G1 cause switches 328 and 330 to conduct also equals iLOAD(t)AVG in accordance with Equation [8]:

iP(t)—AVG=iLOAD(t)AVG NS/NP  [8].

Thus, in at least one embodiment, secondary-side current controller 344 determines an average value of the secondary-side current value iLOAD(t)AVG by determining the average value of the primary-side current iP(t) during each pulse of switch control signals G0 and G1 or over a number of pulses and multiplying the value by the turns ratio NS/NP.
In at least one embodiment, the average value of the primary-side current iP(t) during each period of switch control signals G0 and G1 or over a number of periods also corresponds to the average value of the secondary-side current value iLOAD(t)AVG. Thus, in at least one embodiment, secondary-side current controller 344 determines an average value of the secondary-side current value iLOAD(t)AVG by determining the average value of the primary-side current iP(t) during each period of switch control signals G0 and G1 or over a number of periods M (such as two consecutive samples of primary-side current iP(t)) and multiplying the value by the turns ratio NS/NP divided by (D·M). M is a number that represents the number of periods and D represents the duty cycle of switch control signals G0 and G1. In at least one embodiment, averaging two consecutive samples of the primary-side current iP(t) cancels any offset in the magnetizing current iM(t).
FIG. 6 depicts secondary-side current controller 600 having components to generate the switch control signals G0 and G1 to set a secondary-side current average value iLOAD(t)AVG and to compensate for imbalances in primary-side transformer interface 316. Secondary-side current controller 600 represents one embodiment of secondary-side controller 344 (FIG. 3). Summer 602 adds a target value iTARGET to a determined value iLOAD(t)AVG DET of the actual secondary-side current value iLOAD(t) to generate a comparison signal iLOAD(t)AVG—COMP. In at least one embodiment, the value of iLOAD(t)AVG—DET=NS/NP·VP(t)—FB/RS. The target value ITARGET depends on the desired current draw by load 340. In at least one embodiment, the target value itarget represents a desired average load current value iLOAD(t)—AVG. In at least one embodiment, the desired current draw of load 340 is directly related to a desired brightness of the LEDs of load 340. The desired brightness can be a fixed amount or can be obtained from lighting data received from, for example, a dimmer or external brightness detector. Because of the relationships among signals of the primary-side 346 and secondary-side 348, such as the relationships depicted in Equations [1] through [6], the particular manner of generating the switch control signals G0 and G1 to set a value, e.g. iLOAD(t)AVG, of the secondary-side current based on the primary-side signal value, e.g. VP(t)—FB is a matter of design choice.
The push-pull circuit 316 may have imbalances that would cause the primary-side current iP(t) to have a waveform that varies depending upon when switch 328 conducts and when switch 330 conducts. Imbalances in push-pull circuit 316 can cause the secondary voltage VS to fluctuate some relative to the depiction of secondary voltage VS in FIG. 4. Imbalances can be caused by, for example, mismatched characteristics of switches 328 and 330. In at least one embodiment, secondary-side current controller 344 compensates for the imbalances so that secondary voltage VS generally behaves as depicted in FIG. 4. The primary-side current iP(t) signal 604 depicts an exemplary imbalance caused by, for example, an on-time resistance of switch 330 being higher than an on-time resistance of switch 328. Push-pull circuit 316 includes a compensator 606 to compensate for imbalances in push-pull circuit 316 to, for example, prevent saturation of transformer 318. The compensator has two signal paths. The first signal path includes proportional-integrator (PI) 608. PI 608 generates an output signal iLOAD(t)—P1 that smoothly responds to changes in comparison signal iLOAD(t)AVG—COMP to guard against abrupt changes in comparison signal iLOAD(t)AVG—COMP and, thus, abrupt changes in the average value iLOAD(t)AVG of secondary-side current iLOAD(t).
In at least one embodiment, the compensator 606 compensates for imbalances by decreasing the duty cycle of switch control signal G0 (or, equivalently, increasing the duty cycle of switch control signal G1) relative to the duty cycle of switch control signal G1 if the feedback voltage VP(t)—FB indicates that the primary-side current iP(t) has a higher value when switch 328 is ON than when switch 330 is ON. Likewise, in at least one embodiment, the compensator 606 compensates for imbalances by decreasing the duty cycle of switch control signal G1 (or, equivalently, increasing the duty cycle of switch control signal G0) relative to the duty cycle of switch control signal G0 if the feedback voltage VP(t)—FB indicates that the primary-side current iP(t) has a higher value when switch 330 is ON than when switch 328 is ON.
The second signal path includes a multiplier 610 that alternately multiplies the comparison signal iLOAD(t)AVG—COMP by alternating sequences of 1 and (−1) at the frequency of switch control signals G0 and G1. The imbalance output signal IMB of multiplier 610 represents a difference in the primary-side current iP(t) from respective pulses of switch control signals G0 and G1. PI 612 generates signal IMB_PI which smoothes abrupt changes in the imbalance output signal IMB. Multiplier 614 multiplies signal IMB_PL by 1 when generating switch control sign G0 and by −1 when generating switch control signal G1 to generate imbalance correction signal IMB_C. Adder 616 adds output signal iLOAD(t)—P1 and imbalance correction signal IMB_C to generate a desired pulse width signal G_PW of the switch control signals G0 and G1. Delta sigma modulator 618 processes the desired pulse width signal G_PW to shift noise in the pulse width signal G_PW out of a baseband of switch control signals G0 and G1. Pulse width modulator 620 converts the modulated output signal GPW_A into a pulse width modulated signal. Pulse width modulator 620 generates the modulated output signal GPW at twice the frequency of switch control signals G0 and G1. Flip-flop 622 is connected to AND gates 624 and 626 to alternately enable the outputs of AND gates 624 and 626. Thus, the modulated output signal GPW alternately becomes switch control signal G0 and switch control signal G1.
Referring to FIG. 3, in at least one embodiment, controller 304 can also utilize the primary-side signal value, e.g. voltage VP(t)—FB, to control link voltage VL alone or together with controlling switch control signals G0 and G1 in order to set a value of the secondary-side current iLOAD(t). Melanson I describes an exemplary process for regulating the link voltage VL.
The particular type of primary-side transfer interface 204 is a matter of design choice. FIG. 7 depicts power control system 750 with a half-bridge primary-side transfer interface 700. Half-bridge primary-side transfer interface 700 represents one embodiment of the primary-side interface 204. N-channel FETs 702 and 704 operate as switches and are alternately turned ON and OFF with both transistors 702 and 704 being OFF immediately following each ON time. Capacitor 705 is sufficiently large to maintain an approximately constant capacitor voltage. The primary-side current iP(t) develops the voltage VP(t)—FB across sense resistor 350, and controller 706 generates a pulse width modulated control signal TS. Control signal TS is applied to the input terminal of inverter 710 and to the input terminal of inverter 712. Inverter 712 is serially connected to inverter 714 so that the input to inverter 712 is the same as the output of inverter 714. Transformer 708 induces a voltage in a secondary-side 716 of transformer 708 when control signal TS is LOW sufficient to turn transistor 702 ON. Transformer 708 induces a voltage for a secondary-side 716 sufficient when control signal TS is HIGH and sufficient to turn transistor 704 ON. In at least one embodiment, transistors 702 and 704 are isolated from controller 706 to provide stability to voltage node 718. Controller 706 adjusts the pulse width and duty cycle of control signal TS to compensate for imbalance and to control the primary-side voltage VP and, thus, control the secondary-side current iLOAD(t) based on the primary-side signal value voltage VP (t)—FB.
FIG. 8 depicts exemplary signals in power control system 750. The primary-side current iP(t) is inverted when transistor 704 is ON. Thus, Equation [6] is valid when transistor 702 is ON, and the primary-side current iP(t) is related to the secondary-side current average value iLOAD(t)AVG in accordance with Equation [9]:

iLOAD(t)AVG·NS=−iP(t)NP  [9].

In at least one embodiment, transformer 720 has one primary-side winding and one secondary-side winding. In at least one embodiment, an additional secondary winding (not shown) provides auxiliary power for controller 706.
FIG. 9 depicts embodiment of a half-bridge primary-side interface 900, which represents an additional embodiment of primary-side interface 204. Half-bridge primary-side interface 900 operates the same as half-bridge primary-side transfer interfaces 700 except that interface 900 includes a gate drive integrated circuit (IC) 902 to drive transistor 702. The gate drive IC 902 is coupled to the controller 904 via a transformer 906, and transistor 704 is directly coupled to gate drive circuitry internal to controller 904. Half bridge driver part number IR2111 by Internal Rectifier of California, USA, represents one embodiment gate drive IC 902. Controller 904 operates in the same manner as controller 706 except that separate gate drive signals GG0 and GG1 are developed having the same waveform as the respective output signals of inverters 710 and 714 of power control system 750 shown in FIG. 7.
Although several, exemplary primary-side transformer interfaces have been described, the selection of a primary-side transformer interface is a matter of design choice. Regardless of the type of primary-side transformer interface, at least one secondary-side current value, such as the average value iLOAD(t)AVG of a secondary-side current iLOAD(t), can be determined or implied from a primary-side signal value, such as voltage VP(t)—FB. In at least one embodiment, the average secondary-side current value iLOAD(t)AVG can be implied by the relationship in Equation [6] when the magnetizing current is zero.
FIG. 10 depicts power control system 1000 having multiple loads 210.0-210.Y, where Y+1 represents the number of loads and Y is a positive integer. In at least one embodiment, controller 202 generates each set of switch control signals {G0.0, G1.0} . . . {G0.Y, G1.Y} in the same manner as the generation of switch state control signals G0 and G1 by controller 304 in FIG. 3. Thus, controller 202 can control multiple secondary-side output currents iLOAD(t).0 . . . iLOAD(t).Y based on respective primary-side signal values, such as voltages VP(t)—FB.0 . . . VP(t)—FB.Y. Additionally, although a single link voltage VL is depicted, different link voltages could be supplied to primary-side transformer interfaces 204.0 . . . 204.Y.
Thus, in at least one embodiment, an electronic system includes a transformer. In at least one embodiment, a controller is configured to regulate a current on a secondary-side of the transformer based on a primary-side signal value. In at least one embodiment, the primary-side signal value is a sample of the primary-side transformer current and the secondary-side current is a current to a load, and, in at least one embodiment, the controller does not receive feedback from the secondary-side of the transformer. In at least one embodiment, the load includes one or more LEDs.
Although the present invention has 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.

## Claims

1. An apparatus comprising:
a controller to regulate a load current to a load coupled to a secondary-side of a transformer to an approximately average value based on an observed primary-side signal value, wherein (i) the controller is configured to (a) generate one or more duty cycle modulated switch control signals to control a voltage on a primary-side of the transformer based on the primary-side signal value and (b) compensate for imbalances in a primary-side interface of the transformer and (ii) the load current represents a current into the load and out of a filter coupled to a rectifier coupled to the secondary-side of the transformer.

2. The apparatus of claim 1 wherein the load comprises a light emitting diode.

3. The apparatus of claim 1 wherein the primary-side signal value represents a current in the primary-side of the transformer.

4. The apparatus of claim 3 wherein the primary-side signal value is a voltage signal.

5. The apparatus of claim 1 wherein the controller is configured to generate the one or more switch control signals based on a value of the primary-side signal value occurring at a sampling time during a period of at least one of the switch control signals.

6. The apparatus of claim 5 wherein the primary-side signal value represents a current in the primary-side of the transformer and the sampling time is when an average value of the current in the primary-side is reached.

7. The apparatus of claim 5 wherein the primary-side signal value represents a current in the primary-side of the transformer and the sampling time corresponds to a midpoint during a pulse of at least one of the one or more switch control signals.

8. The apparatus of claim 5 wherein the sampling time occurs when a magnetizing current of the transformer is approximately zero.

9. The apparatus of claim 1 wherein the one or more switch control signals control a plurality of switches coupled to one or more windings of the primary side of the transformer, wherein the one or more windings and the switches are configured in a push-pull configuration and the controller is configured to generate a plurality of the one or more switch control signals to control conductivity of the switches.

10. The apparatus of claim 1 wherein the one or more switch control signals control a plurality of switches coupled to one or more windings of the primary side of the transformer, wherein the one or more windings and the switch are configured in a half-bridge configuration and the controller is configured to generate the one or more switch control signals to control conductivity of the switches.

11. The apparatus of claim 1 wherein the controller is configured to determine at least one of the one or more switch control signals independently of a value of an input voltage at the primary-side and independently of inductance values on the primary and secondary sides of the transformer.

12. The apparatus of claim 1 wherein the controller is further configured to control power factor correction of a switching power converter.

13. The apparatus of claim 1 wherein the controller is further configured to receive lighting data and the approximately average value of the current on the secondary-side of the isolation transformer is determined by the lighting data.

14. The apparatus of claim 13 wherein the lighting data is received from a dimmer.

15. The apparatus of claim 1 wherein the controller is further configured to generate multiple sets of one or more switch control signals to drive primary-sides of a plurality of transformers, wherein, for each of the transformers, the controller is configured to regulate an output current on a secondary-side of the transformer to an approximately average value based on a primary-side signal value, wherein the controller is configured to generate one or more switch control signals to control a voltage on a primary-side of the transformer based on the primary-side signal value.

16. A method comprising:
regulating a load current to a load coupled to a secondary-side of a transformer to an approximately average value based on an observed primary-side signal value, wherein regulating the output current comprises (i) generating one or more duty cycle modulated switch control signals to control a voltage on a primary-side of the transformer based on the primary-side signal value and (b) compensating for imbalances in a primary-side interface of the transformer and the load current represents a current into the load and out of a filter coupled to a rectifier coupled to the secondary-side of the transformer.

17. The method of claim 16 wherein the load comprises a light emitting diode.

18. The method of claim 16 wherein the primary-side signal value represents a current in the primary-side of the transformer.

19. The method of claim 18 primary-side signal value is a voltage signal.

20. The method of claim 16 further comprising:
sampling the primary-side signal value at a sampling time during a period of at least one of the switch control signals.

21. The method of claim 20 wherein the primary-side signal value represents a current in the primary-side of the transformer and the sampling time is when an average value of the current in the primary-side is reached.

22. The method of claim 20 wherein the primary-side signal value represents a current in the primary-side of the transformer and the sampling time corresponds to a midpoint during a pulse of at least one of the one or more switch control signals.

23. The method of claim 20 wherein the sampling time occurs when a magnetizing current of the transformer is approximately zero.

24. The method of claim 16 wherein the one or more switch control signals control a plurality of switches coupled to one or more windings of the primary side of the transformer, wherein the one or more windings and the switches are configured in a push-pull configuration and the method further comprises:
generating a plurality of the one or more switch control signals to control conductivity of the switches.

25. The method of claim 16 wherein the one or more switch control signals control a plurality of switches coupled to one or more windings of the primary side of the transformer, wherein the one or more windings and the switch are configured in a half-bridge configuration and the method further comprises:
generating the one or more switch control signals to control conductivity of the switches.

26. The method of claim 16 further comprising:
determining at least one of the one or more switch control signals independently of a value of an input voltage at the primary-side and independently of inductance values on the primary and secondary sides of the transformer.

27. The method of claim 16 further comprising:
controlling power factor correction of a switching power converter.

28. The method of claim 16 further comprising:
receiving lighting data; and
determining the approximately average value of the current on the secondary-side of the isolation transformer using the lighting data.

29. The apparatus of claim 28 wherein the lighting data is received from a dimmer.

30. The method of claim 16 further comprising:
generating multiple sets of one or more switch control signals to drive primary-sides of a plurality of transformers; and
for each of the transformers, regulating an output current on a secondary-side of the transformer to an approximately average value based on a primary-side signal value, wherein regulating the output current comprises generating one or more switch control signals to control a voltage on a primary-side of the transformer based on the primary-side signal value.

31. An electronic system comprising:
a controller, wherein the controller is configured to:
receive a feedback signal from a primary-side of a transformer, wherein the feedback signal represents a current in the primary-side of the transformer;
generate control signals for circuitry coupled to the primary-side of the transformer to regulate a load current on a secondary-side of the transformer to an approximately average value based on the feedback signal from the primary-side of the transformer without using a feedback signal from a secondary-side of the transformer and
compensate for imbalances in a primary-side interface of the transformer.

32. The electronic system of claim 31 wherein the controller is further configured to:
process the feedback signal to eliminate influence of a magnetizing current of the transformer.

33. The electronic system of claim 31 wherein the controller is configured to generate the one or more switch control signals based on a value of the primary-side signal value occurring at a sampling time during a period of at least one of the switch control signals.

34. The electronic system of claim 33 wherein the primary-side signal value represents a current in the primary-side of the transformer and the sampling time is when an average value of the current in the primary-side is reached.

35. The electronic system of claim 33 wherein the primary-side signal value represents a current in the primary-side of the transformer and the sampling time corresponds to a midpoint during a pulse of at least one of the one or more control signals.

36. The apparatus of claim 1 wherein the controller is further configured to generate switch control signals to control a push-pull circuit of the primary-side interface of the transformer.

37. The apparatus of claim 36 wherein the controller is configured to compensate for imbalances in a primary-side interface of the transformer by decreasing or increasing a duty cycle of a first of the switch control signals relative to a duty cycle of a second of the switch control signals.

38. The method of claim 16 the method further comprising:
generating switch control signals to control a push-pull circuit of the primary-side interface of the transformer.

39. The apparatus of claim 38 wherein generating the switch control signals further comprises:
decreasing or increasing a duty cycle of a first of the switch control signals relative to a duty cycle of a second of the switch control signals.

40. The electronic system of claim 31 wherein the controller is further configured to generate switch control signals to control a push-pull circuit of the primary-side interface of the transformer.

41. The apparatus of claim 40 wherein the controller is configured to compensate for imbalances in a primary-side interface of the transformer by decreasing or increasing a duty cycle of a first of the switch control signals relative to a duty cycle of a second of the switch control signals.