The present invention relates to a voltage integrator, comprising a resistor and a capacitor connected in series between an input voltage and ground, wherein the resistance of said resistor and the capacitance of said capacitor are adapted such that a voltage across said capacitor approximates the integral of said input voltage.
When using such a capacitive integrator circuit, it is often required to initialize the output voltage of this integrator at the start of the integrating interval. One example is when the magnetic flux in a transformer of a switched mode power supply is to be measured. As is well known, this flux can be determined by integrating the voltage across any transformer winding. If the integrator is not initialized at the start of each switching cycle of the power supply, the integrator output waveform still resembles the flux waveform. However, the position of this integrator output waveform with respect to ground does not reflect the actual flux.
Normally, this initialization is performed by a switching element connected in parallel to the capacitor, which discharges the capacitor at the beginning of each period. This switching element must be driven by an additional control circuit, which in turn needs to be synchronized with the switching frequency of the power supply. Examples of such control, and the difficulties related thereto are described in Halbleiter Schaltungstechnik, U. Tietze & Ch. Schenk, Springer Verlag, 1986. Two of the basic issues are that the initializing speed is limited by RC discharge times and/or the switching times of the switch element used, and that the (periodic) control of the switching element providing the initialization is difficult.
Available solutions to these problems are complex and expensive. Further, most integrators use a floating integrating capacitor, which has no permanent connection to ground, making accurate control even more difficult. In summary, satisfactory integrator initialization by means of traditional schemes requires complex and expensive circuitry.
It is an object of the present invention to overcome these problems, and to provide an integrator circuit where initialization is accomplished without any switching element as described in the prior art.
A further object of the invention is to provide integrator initialization with satisfactory performance that is simple to implement and cost efficient.
These and other objects are achieved with an integrator of the kind mentioned in the introduction, further comprising means for preventing said capacitor voltage from falling below a lower limit.
According to the invention, the integration is performed by a simple RC filter, which has been dimensioned to approximate a true integrator. As the RC-filter is connected to ground, problems with a floating capacitor are avoided. Further, means are arranged to prevent the capacitor voltage from falling below a lower limit, thus securing a minimum voltage across the capacitor.
The invention is based on the insight that by regulating the minimum capacitor voltage to a predetermined level, automatic initialization of the integrator output voltage is accomplished after each integration cycle. This initialization is a non-switched method, eliminating all the problems associated with the classical methods including a switching element in parallel with the capacitor.
If the means for preventing the capacitor voltage from falling below a lower limit are implemented in an IC, the use of the simple RC integrator is very beneficial. Because of the grounded capacitor used in the integrator, only one pin of the IC is required to connect the resistor and capacitor to the IC. Conventional integrators, with a floating capacitor, require two pins. Although there are other integrator solutions using a grounded capacitor, they typically include several resistors and capacitors, which have to be matched to each other in order to provide satisfactory performance. Such solutions are not practical to implement in an IC.
Preferably, the RC time constant is significantly larger than the interval of the signal to be integrated. For example, the time constant can be 5-10 times larger.
In many applications, such as the mentioned flux measurement, the signal to be integrated is a periodic signal. In this case, each period includes an interval to be integrated. In between these integrating intervals, the integrator is initialized, as mentioned above. Such a dimensioning of the resistance and capacitance will ensure that the resistor acts like a constant current source during the signal period, so that the voltage across the capacitor will rise and fall linearly. The RC filter will then very closely approximate an integrator. This is illustrated in
A further advantage with this dimensioning of the RC filter, is that the filter will act as a low pass filter and effectively damps any high frequency content in the signal to be integrated. This is especially of importance when implementing the integrator for measuring the magnetic flux in a self-oscillating flyback converter, as any sinusoidal content in the winding voltage will be damped.
The preventing means, used to regulate the lower limit of the capacitor voltage, can be implemented as a diode, connected in parallel to the capacitor, with its anode to ground. In some applications, however, the lower limit of the integrator voltage is preferably greater than zero, in order to secure a positive voltage across the capacitor. For example, when the clamp circuit is integrated in an IC, which is designed to operate from a single power supply, only positive voltages can be handled. To have maximum design flexibility, the actual RC integrator is kept externally. The output of the integrator, being connected to the internal clamp via one of the IC pins, must now be prevented from going negative.
In order to secure a positive voltage across the capacitor, the preventing means can be implemented as a clamp transistor having an emitter connected to a junction between said resistor and capacitor, a collector connected to a supply voltage, and a base connected to a base voltage. The base voltage can be fixed, or arranged to be compensated for any temperature variations.
The integrator according to the invention can advantageously be used for measuring the magnetic flux in a transformer, and especially in power supply topologies in which the transformer core excitation is only single sided, such as forward and flyback topologies. The flyback power supplies are very widely used within consumer electronics such as set-top boxes, satellite receivers, DVD players, and television applications.
This and other aspects of the present invention will now be described in more detail, with reference to the appended drawings showing a currently preferred embodiment of the invention.
a-b shows the integrator in
a and 6b shows the performance of the integrator in
A schematic block diagram of an integrator according to the invention is shown in
In a first embodiment, shown in
In an alternative embodiment of the clamp embodiment, shown in
In yet a further alternative of the clamp embodiment, shown in
An implementation of an integrator according to the embodiment in
Besides the main output winding ns delivering the main output voltage Vo, use is made of a auxiliary winding na from which a negative output voltage Vneg may be derived. The winding voltage Vaux of this auxiliary winding is used to derive a voltage being proportional to the transformer flux. The voltage Vaux is fed to the RC filter 1, being dimensioned in such a way that RC>>(ton+tfly), where ton is the conduction time of the primary switch S and tfly is the duration of the flyback stroke.
The transformer flux reaches zero (the transformer core is demagnetized) at the end of each flyback stroke tfly. Immediately after the demagnetization, the primary inductance Lp starts oscillating with the parasitic capacitance of the primary switch, and an oscillation occurs in the voltage over the switch S. In order to minimize the switching losses in the primary switch, it is turned on every time in the “valley” of this sinusoid. In case of a self-oscillating flyback converter, a load decrease and/or an increase of the input voltage, causes the number of sinusoidal periods before each switch ON to increase.
The sinusoidal content of the voltage over the switch S will also be present in Vaux, and will therefore typically also be integrated when measuring the flux. With the integrator according to the invention, however, the sinusoidal part in Vaux will be damped to a large extent by the RC integrator, forming a low-pass filter 1.
As mentioned above, RC>>(ton+tfly) to have a good integrating behavior. In general, the frequency of the sinusoid oscillation is much higher than the switching frequency of the flyback converter. If we denote the period time of the sinusoidal oscillation by Tosc, we have RC>>Tosc or
Here, fk is the −3 dB frequency of the RC filter and fosc, is the frequency of the sinusoidal oscillation. This means that the RC integrator effectively damps the sinusoidal part in Vaux.
In a practical flyback converter, the voltage across the primary switch contains high frequency ringing just after the primary switch S turns off. This ringing is caused by the primary leakage inductance oscillating with the parasitic capacitance of the primary switch. The amplitude of the leakage ringing depends on the operating condition of the power supply, and is highest in case of minimum input voltage together with maximum load. This leakage ringing is to some extent being present in all transformer winding voltages. The amount of leakage ringing present in a secondary transformer winding depends on the coupling of this winding with the primary winding.
Therefore, some leakage ringing will also be present in the Vaux voltage, resulting in some distortion of the integrator output voltage. In order to reduce or eliminate this ringing, the RC-filter 1 can be preceded by an additional resistor 6 and capacitor 7, together forming a second RC-filter having a time constant RfCf. As the leakage ringing has a much higher frequency than the switching frequency of the flyback converter, the RfCf time constant can be selected much smaller than the RC time constant of the actual integrator filter 4, 5. This then means that the RfCf filter acts as a sole resistor Rf for frequencies close to the switching frequency of the converter (the impedance of Cf at the switching frequency is still large). Therefore, the actual integration is not disturbed by the addition of this leakage filter. The design constraint to obtain a true integral of the winding voltage Vaux now becomes (R+Rf)C>>(ton+tfly).
It should be noted that with only the filter 1, the Vc waveform would shift around zero depending on the input voltage Vin and the load of the power supply. Here, the clamp transistor 10 prevents Vc from going negative, and in this way an automatic initialization of Vc at the start of each switching cycle is accomplished.
Depending on the auxiliary turns na, the amplitude of Vc may be too small for practical use and a non-inverting amplifier 3, feedback with two resistors R1 and R2, may be needed.
a and 6b show two relevant measurements carried out in the setup of
The measurements of
a and 6b also show that the lower level of VC is slightly above zero, as required. But, this lower level shifts somewhat dependent on the operating conditions of the power supply. This is caused by the fixed base voltage of clamp transistor 10; if less clamp current iC is required, the base-emitter voltage of the clamp transistor 10 must decrease and, as a consequence, the emitter voltage must rise. Therefore, the lower level of VC shifts upward when less clamp current iC is required as
If this shift of the lower level of VC is unacceptable, use can be made of the implementation shown in
The circuit in
Note that the opamp 25 operates as an error amplifier only when the voltage Vc tends to decrease below a reference value, given by Vref(R1+R2)/R2. During a large part of the switching period, the voltage Vc is higher, and the opamp output is low. This means that during each switching period the feedback system is switched on and off, and the error amplifier output reaches its steady-state value only after a certain settling time. As a result, operation of this voltage controlled current source is limited to relatively low frequencies. This problem can of course be overcome, but available solutions increase the complexity of the system.
The person skilled in the art realizes that the present invention by no means is limited to the preferred embodiments described above. On the contrary, many modifications and variations are possible within the scope of the appended claims. For example, the bipolar transistors used in the embodiments above can be replaced by field effect transistors or other transistors, as long as suitable adjustment of the circuits are made.
Further, the integrator has here been described mainly in relation to measurements of the magnetic flux in a transformer. Such measurements can be used to detect the demagnetization of the flyback transformer by comparing the integrator output voltage VC with a reference voltage. This reference voltage equals the minimum level of the integrator output voltage, which may be zero. Now, when the integrator output voltage decreases down to the reference voltage, the comparator collapses, indicating the end of the flyback stroke. In this application, the approximation of the integration must be very good as to avoid timing errors (tx in
However, the integrator may of course advantageously be used in other applications, where an integration of a periodic voltage is required. One example is the derivation of a triangle waveform, which is synchronized with the switching frequency of the power supply. As this triangle wave, with the use of an integrator according to the invention, is kept above zero, it can be used in a PWM control system.
Number | Date | Country | Kind |
---|---|---|---|
05100572.6 | Jan 2005 | EP | regional |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/IB06/50267 | 1/25/2006 | WO | 00 | 7/25/2007 |