The present invention is directed, in general, to power electronics and, more specifically, to a controller for a power converter and method of operating the same.
A switched-mode power converter (also referred to as a “power converter” or “regulator”) is a power supply or power processing circuit that converts an input voltage waveform into a specified output voltage waveform. DC-DC power converters convert a direct current (“dc”) input voltage that may be derived from an alternating current (“ac”) source by rectification into a dc output voltage. Controllers associated with the power converters manage an operation thereof by controlling conduction periods of power switches employed therein. Some power converters include a controller coupled between an input and output of the power converter in a feedback loop configuration (also referred to as a “control loop” or “closed control loop”) to regulate an output characteristic of the power converter.
Typically, the controller measures the output characteristic (e.g., an output voltage, an output current, or a combination of an output voltage and an output current) of the power converter, and based thereon modifies a duty cycle or an on time (or conduction period) of a power switch of the power converter to regulate the output characteristic. To increase an efficiency of a flyback power converter, a capacitor is coupled across a power switch to limit a voltage of the power switch while a transformer of the power converter is reset when the power switch is turned off. A flyback power train topology may be configured as a quasi-resonant flyback power converter.
In a common application of a flyback power converter, an output current of the power converter is regulated. With conventional design approaches, however, it is difficult to achieve quasi-resonant power converter operation and, at the same time, regulate an output current of the power converter. In one conventional approach, an on time of a diode on a secondary side of the power converter is sensed and a peak value of primary current is held constant, the output current is kept constant by controlling an off time of a power switch on a primary side of the power converter. This process may defeat quasi-resonant switching operation of the power converter.
In another approach, an output current is sensed and a power switch on a primary side of the power converter is controlled employing an optocoupler to transmit a signal of the secondary side of the power converter to a controller referenced to the primary side of the power converter. This approach increases power converter cost due to the presence of the optocoupler. In yet another approach, a regulation of an output current is implemented through the controller by calculating an output current employing an average of input current and a duty cycle of a power switch on a primary side of the power converter. This approach preserves quasi-resonant switching without the need for an optocoupler, but requires a complex calculation in the controller.
Thus, a controller that regulates an output current of a power converter such as a quasi-resonant flyback power converter that preserves primary-to-secondary side isolation of the power converter and efficient quasi-resonant operation still presents unresolved design challenges. Accordingly, what is needed in the art is a design approach and related method to implement a controller for a power converter such as a quasi-resonant flyback power converter without compromising end-product performance, and that can be advantageously adapted to high-volume manufacturing techniques.
These and other problems are generally solved or circumvented, and technical advantages are generally achieved, by advantageous embodiments of the present invention, including a controller for a power converter and method of operating the same. In one embodiment, the controller includes a primary peak current circuit configured to produce a reference voltage corresponding to a primary peak current through a primary winding of a transformer of a power converter, and an offset corrector configured to provide an offset voltage to compensate for delays in the power converter. The controller also includes a summer configured to provide an offset reference voltage as a function of the reference voltage and the offset voltage, and a comparator configured to produce a signal to turn off a power switch coupled to the primary winding of the transformer as a function of the offset reference voltage.
In a related, but alternative embodiment, a primary peak current circuit of the controller includes a timing circuit configured to estimate a time interval when an output current is delivered to an output of the power converter. The primary peak current circuit also includes a divider configured to multiply a constant with a ratio of a switching frequency of the power switch and the time interval to provide an initial reference voltage. The primary peak current circuit still further includes a limiter configured to limit a value of the initial reference voltage to a predefined range to provide a reference voltage corresponding to a primary peak current through the primary winding of the transformer of the power converter.
The foregoing has outlined rather broadly the features and technical advantages of the present invention in order that the detailed description of the invention that follows may be better understood. Additional features and advantages of the invention will be described hereinafter, which form the subject of the claims of the invention. It should be appreciated by those skilled in the art that the conception and specific embodiment disclosed may be readily utilized as a basis for modifying or designing other structures or processes for carrying out the same purposes of the present invention. It should also be realized by those skilled in the art that such equivalent constructions do not depart from the spirit and scope of the invention as set forth in the appended claims.
For a more complete understanding of the present invention, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
Corresponding numerals and symbols in the different figures generally refer to corresponding parts unless otherwise indicated, and may not be redescribed in the interest of brevity after the first instance. The FIGUREs are drawn to illustrate the relevant aspects of exemplary embodiments.
The making and using of the present exemplary embodiments are discussed in detail below. It should be appreciated, however, that the present invention provides many applicable inventive concepts that can be embodied in a wide variety of specific contexts. The specific embodiments discussed are merely illustrative of specific ways to make and use the invention, and do not limit the scope of the invention.
The present invention will be described with respect to exemplary embodiments in a specific context, namely, a controller for a power converter (e.g., a quasi-resonant flyback power converter) configured to control a power switch thereof by sensing signals in the power converter such as on the primary side of the power converter. While the principles of the present invention will be described in the environment of a power converter, any application that may benefit from a power converter including a motor drive or a power amplifier is well within the broad scope of the present invention.
Turning now to
When the power switch Q1 is switched off, energy stored in magnetizing and leakage inductances of transformer T1 causes a current to continue flowing in the primary winding of the transformer T1 that produces a charge in a primary resonant capacitor CR1. A voltage built up across terminals of the primary resonant capacitor CR1 contributes to resetting the magnetic flux in the core of transformer T1. The power switch Q1 conducts alternately with the switching frequency fs in response to a gate-drive signal GD produced by the PWM controller 110. The duty cycle D is adjusted by the PWM controller 110 to regulate an output characteristic of the power converter such as output voltage Vout, an output current Iout, or a combination of the two. Energy stored in the magnetizing inductance of transformer T1 also produces a pulsating forward current in a diode D1 that provides an output current Iout of the power converter. The ac voltage appearing on the secondary winding of the transformer T1 is rectified by the diode D1, and the dc component of the resulting waveform is coupled to the output of the power converter through a low-pass output filter formed with an output filter capacitor Cout to produce the output voltage Vout. A secondary resonant capacitor CR2 is also frequently coupled across terminals of the diode D1 in a quasi-resonant flyback power converter to limit a peak inverse voltage produced across terminals of the diode D1 when the power switch Q1 is turned on.
In general, the duty cycle D of the power switch Q1 may be adjusted by the PWM controller 110 to maintain a regulation of the output voltage Vout or the output current Iout of the power converter. Those skilled in the art should understand that the PWM controller 110 may include an isolation device such as an optocoupler with its attendant cost to provide metallic isolation between the primary and secondary sides of the power converter.
Turning now to
The PWM controller 210 regulates an output current Iout of the power converter. To calculate the primary peak current Ip through a primary winding of a transformer T1 to control an on time of the power switch Q1, the PWM controller 210 estimates a time interval tsec, of current flow in the secondary winding of the transformer T1 through a diode D1 to an output filter capacitor Cout, and the duration of one switching cycle ts=1/fs. The duration of one switching cycle ts is generally known by the PWM controller 210 because the PWM controller 210 initiates the beginning of each switching cycle.
The average output current is calculated employing equation (1):
I
out
=Ip·(tsec/ts)·(Np/Ns)·η/2 (1)
where Ip=primary peak current,
The primary and secondary turns Np, Ns are generally constant, and efficiency η is effectively constant over a range of output currents Iout and is generally known from modeling and prototype models of the power converter. Thus, the primary peak current Ip for a constant output current Iout can be represented by equation (2):
Ip=(ts/tsec)·k (2)
where the parameter k is a constant representative of the particular power converter design. Thus, if the primary peak current Ip is controlled to be proportional to ts/tsec, the output current Iout of the power converter will be constant. For an explanation of the other components of the power converter, see the description of the power converter illustrated with respect to
Turning now to
To terminate conduction of the power switch Q1, thereby setting the primary peak current Ip through the primary winding of the transformer T1 to the correct value to produce the desired output current Iout, the first comparator CM1 compares a sense voltage Vsense at a sense resistor Rsense in series with the power switch Q1 with an offset reference voltage Voref produced by a primary peak current circuit 320 and corrected by an offset corrector 310. The sense voltage Vsense at the sense resistor Rsense is proportional to the primary peak current Ip that flows through the primary winding of the transformer T1. The output of the first comparator CM1 is coupled to a reset input of the S-R flip-flop 340. When the sense voltage Vsense at the sense resistor Rsense exceeds the offset reference voltage Voref, the power switch Q1 is turned off by the action of a signal SCM1 from the first comparator CM1 to the S-R flip-flop 340 and a gate-drive signal GD from the S-R flip-flop 340 to the power switch Q1.
Two reference voltages are calculated according to equations (3) and (4):
Vref=(Iout/η)(ts/tsec)Rsense*2 (3)
Voref=Vref−Vofs (4)
wherein Iout corresponds to a desired output current of the power converter, η is the assumed power conversion efficiency, and Vofs is an offset voltage that compensates the generally unknown power converter delays. The primary peak current circuit 320 provides computation of the reference voltage Vref according to equation (3). The summer 330 provides subtraction according to equation (4). It should be understood that analog and/or digital circuits may perform the computation described by equation (3) in accordance with the primary peak current circuit 320. For example, an integrated circuit designated AD534 produced by Analog Devices, Inc. and described in data sheet entitled “Internally Trimmed Precision IC Multiplier,” 1999, which is incorporated herein by reference, can be employed to perform the calculation of equation (3).
The offset corrector 310 provides a mechanism to compensate for the uncertain delays in the power converter elements such as the first comparator CM1 and the turn-on time of the power switch Q1. The offset corrector 310 computes the value of the offset voltage Vofs to provide this compensation. When the sense voltage Vsense exceeds the reference voltage Vref, then the output of an offset comparator CMOS provides a current to an offset capacitor COS through an offset diode DOS and a first offset resistor ROS2, thereby incrementing the voltage across terminals of the offset capacitor COS. The voltage across the terminals of the offset capacitor COS is continually decreased by a second offset resistor ROS2. As a result, if the sense voltage Vsense (e.g., maximum sense voltage Vsense) at the sense resistor Rsense exceeds the reference voltage Vref during a switching cycle, then the offset voltage Vofs is increased. If the sense voltage Vsense (e.g., maximum sense voltage Vsense) at the sense resistor Rsense does not exceed the reference voltage Vref during a switching cycle, the offset voltage Vofs is slowly decreased. Thus, the offset voltage Vofs is a function of the reference voltage Vref and the sense voltage Vsense. In this manner, the output of the offset corrector 310 is continually adjusted so that the peak value of the sense voltage Vsense slightly exceeds the reference voltage Vref computed in the primary peak current circuit 320. The offset corrector 310 thereby compensates for uncertain delays in the power converter.
Turning now to
Turning now to
Vin+Vout·(Np/Ns).
When the energy stored in the magnetizing inductance of transformer T1 is exhausted, the drain voltage Vdrain falls below a threshold voltage Vthresh at time t2, and reaches a value such as a minimum value at time t3. At the time t3, the controller initiates a new switching cycle. The time interval beginning at the time t1 and terminating at the time t2 defines the time interval tsec during which current flows through the diode D1 to an output of the power converter via the output filter capacitor Cout.
Turning now to
dV/dt=i
RT
/C
T,
wherein,
Thus, the timing capacitor CT performs an integration of the current that flows thereto. Preferably, the R·C time constant of the timing resistor RT and the timing capacitor CT is long enough to obtain reasonably accurate integration of the current flowing into the timing capacitor CT. A sample-and-hold circuit 620 acquires a voltage such as the maximum voltage across the timing capacitor CT, which is proportional to the time interval tsec. The sample-and-hold circuit 620 accordingly produces an estimate of the time interval tsec. A control switch S1, illustrated in
Additionally, and as illustrated in the timing circuit of
Turning now to
Thus, a controller for a power converter (e.g., a quasi-resonant flyback power converter) has been introduced that controls a power switch thereof. In one embodiment, the controller includes a primary peak current circuit configured to produce a reference voltage corresponding to a primary peak current through a primary winding of a transformer of a power converter, and an offset corrector configured to provide an offset voltage to compensate for delays in the power converter. The offset voltage may be a function of the reference voltage from the primary peak current circuit and a sense voltage from a sense resistor in series with the power switch. The offset corrector may include an offset comparator, an offset capacitor, an offset diode and an offset resistor or, alternatively, an offset comparator, a counter, counter logic and a digital-to-analog converter.
The controller also includes a summer configured to provide an offset reference voltage as a function of the reference voltage and the offset voltage, and a comparator configured to produce a signal to turn off the power switch coupled to the primary winding of the transformer as a function of the offset reference voltage. The comparator is configured to produce the signal to turn off the power switch when a sense voltage from a sense resistor in series with the power switch exceeds the offset reference voltage. The controller further includes a set-reset flip-flop configured to provide a gate drive signal to the power switch responsive to the signal from the comparator. The set-reset flip-flop is also configured to turn on the power switch responsive to a signal from another comparator detecting a drain voltage of the power switch falling below a threshold voltage.
In a related, but alternative embodiment, a primary peak current circuit of the controller includes a timing circuit configured to estimate a time interval when an output current is delivered to an output of the power converter. The primary peak current circuit also includes a divider configured to multiply a constant with a ratio of a switching frequency of the power switch and the time interval to provide an initial reference voltage. The constant may include a desired output current of the power converter divided by a power conversion efficiency of the power converter. The primary peak current circuit still further includes a limiter configured to limit a value of the initial reference voltage to a predefined range to provide a reference voltage corresponding to a primary peak current through the primary winding of the transformer of the power converter.
The timing circuit of the primary peak current circuit includes a comparator configured to provide a current to a timing capacitor when a drain voltage of the power switch exceeds a threshold voltage, wherein the timing capacitor is configured to perform an integration of the current. The primary peak current circuit also includes a sample-and-hold circuit configured to acquire a voltage across the timing capacitor that is proportional to and produces the estimate of the time interval, and a control switch configured to discharge the timing capacitor to enable the integration to start over as a function of a gate drive signal to the power switch. The primary peak current circuit still further includes a delay circuit configured to enable the sample-and-hold circuit to acquire the voltage across the timing capacitor before the timing capacitor is discharged by the control switch. The comparator is configured to provide the current to the timing capacitor through a timing resistor or a current source when the drain voltage of the power switch exceeds the threshold voltage. Additionally, the primary peak current circuit may include a timing circuit configured to estimate the switching frequency of the power switch.
Those skilled in the art should understand that the previously described embodiments of a controller for a power converter configured to control a power switch and related methods of operating the same are submitted for illustrative purposes only. While a controller has been described in the environment of a power converter, these processes may also be applied to other systems such as, without limitation, a power amplifier or a motor controller, which are broadly included herein in the term “power converter.”
For a better understanding of power converters, see “Modern DC-to-DC Power Switch-mode Power Converter Circuits,” by Rudolph P. Severns and Gordon Bloom, Van Nostrand Reinhold Company, New York, N.Y. (1985) and “Principles of Power Electronics,” by J. G. Kassakian, M. F. Schlecht and G. C. Verghese, Addison-Wesley (1991).
Also, although the present invention and its advantages have been described in detail, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the invention as defined by the appended claims. For example, many of the processes discussed above can be implemented in different methodologies and replaced by other processes, or a combination thereof.
Moreover, the scope of the present application is not intended to be limited to the particular embodiments of the process, machine, manufacture, composition of matter, means, methods, and steps described in the specification. As one of ordinary skill in the art will readily appreciate from the disclosure of the present invention, processes, machines, manufacture, compositions of matter, means, methods, or steps, presently existing or later to be developed, that perform substantially the same function or achieve substantially the same result as the corresponding embodiments described herein may be utilized according to the present invention. Accordingly, the appended claims are intended to include within their scope such processes, machines, manufacture, compositions of matter, means, methods, or steps.