1. Field of the Invention
The invention relates to an electronic ballast and to an operating method for a gas discharge lamp, having a d.c. voltage converter, fed from a d.c. voltage source, with clocked switch and regulated output voltage, an inverter fed from the output d.c. voltage of the d.c. voltage converter, and a regulation circuit to which there is delivered a desired value signal and an actual value signal corresponding to the output d.c. voltage of the d.c. voltage converter, and which generates as setting value signal pulse width modulated switch-on pulses for the clocked switch.
2. Description of the Related Art
Such an electronic ballast is for example known from U.S. Pat. No. 5,705,897.
The d.c. voltage source for such an electronic ballast is normally a rectifier connected to the mains. The d.c. voltage converter then forms a PFC intermediate circuit (PFC=power factor correction), the task of which is to appear with respect to the mains as a quasi ohmic load. At the input of the d.c. voltage converter there lie the mains half-waves. The input current is formed by pulses the amplitudes of which likewise appear as sinusoidal half-waves. Between the half-waves of the input voltage of the input voltage and the half-waves formed by the amplitudes of the current pulses there is no phase displacement, so that a reactive loading of the mains is avoided and the generation of disruptive harmonics is reduced to a permissible level.
There are known different types of d.c. voltage converters which are for example described in the book by U. Tietze and Ch. Schenk “Semiconductor Circuit Techniques” (“Halbleiterschaltungstechnik”), publisher: Springer-Verlag, 1991, 9th Edition, pages 561-586. It is common to all that they include at least one clocked switch and at least two storage elements. For electronic ballasts there is mostly employed an upwards converter type, which—seen from the input to the output—consists of a charging choke in a first longitudinal branch, a clocked switch in a first transverse branch, a diode in a second longitudinal branch and a storage capacitor in a second transverse branch.
There has long been the tendency to produce electronic ballasts—as far as possible—using integrated circuit technology, i.e. as ASICs (application specific integrated circuits).
The object of the invention is to indicate a proposal for the regulation circuit for the clocked switch which is likewise suitable for realization within the framework of an ASIC.
This object is achieved in accordance with the invention by means of the features of the independent claims. The dependent claims further develop, in advantageous manner, the central concept of the invention.
In accordance with one aspect of the invention the regulation circuit includes a first and a second counter. The bit width of the first counter is at least equal to the bit width of the second counter. The first counter is one with reversible count direction, which in dependence upon whether the actual value signal is greater or smaller than the desired value signal counts in the one or in the other direction, possibly with variable step size. The second counter carries out at the time point of the switching-on of the switch a new counting procedure. The output signals of the two counters are compared in a (digital) comparator (possibly after scaling) for obtaining the setting value signal. The pulse width of the switch-on pulse for the clocked switch is determined through the temporal spacing between a start signal for a new count procedure of the second counter and the attainment of equality of the two counters compared with one another.
The counters and the comparator are standard digital circuitry components which in line with the object to be achieved allow themselves well to be incorporated into an ASIC design.
As d.c. voltage converter for the present purpose there is suitable a per se known upwards converter which—considered from the input to the output—has a storage choke in a first series branch, a switch in a first transverse branch, a diode in a second longitudinal branch and a charge capacitor in a second transverse branch.
Starting from the employment of the above indicated upwards converter an expedient further development of the invention may further consist in that there is connected with the second counter a zero crossing detector for the d.c. current flowing through the storage choke of the d.c. voltage converter, which zero crossing detector can trigger the reset signal for the second counter when the reducing d.c. current flowing through the storage choke, with open switch, reaches the zero point.
A further configuration of the electronic ballast in accordance with the invention can consist in that the actual value signal is generated by means of a d.c. voltage sensor which measures the output d.c. voltage of the d.c. voltage converter, in that the actual value signal and the desired value signal are delivered in analog form to the two inputs of a 1-bit A/D converter, which compares these two signals and on the output side generates the digital value ONE if the actual value signal is greater than or equal to the setting value signal, and generates the digital value ZERO when the actual value signal is smaller than the desired value signal, or vice versa, in that the output of the 1-bit-A/D converter is connected with the first counter, and in that the first counter counts upwards when the digital value ZERO is delivered thereto and counts downwards when the digital value ONE is delivered thereto, or vice versa. In generalization of this concept, the deviation between the actual value signal and the desired value signal can also be processed as n-bit information, whereby the step size of the counter then varies in dependence upon the level of the regulation deviation.
The invention further relates to a method of operating an electronic ballast for a gas discharge lamp, having a d.c. voltage converter, with clocked switch and regulated output d.c. voltage, fed from a d.c. voltage source, an inverter fed from the output d.c. voltage of the d.c. voltage converter, and a regulation circuit to which there is supplied a desired value signal and an actual value signal corresponding to the output d.c. voltage of the d.c. voltage converter, and which generates switch-on pulses for the clocked switch. Thereby, the method has the following steps:
In accordance with a still further aspect of the present invention, the actual value signal is compared with the desired value signal for generating a digital difference signal. The digital difference signal is digitally filtered. The value of the filtered difference signal is compared with a count of a second counter which in each case begins a counting procedure in response to a start or RESET signal. The switch (S) is in each case switched on after expiry after the predetermined time or if the current through a charge coil (L) of the d.c. voltage converter reaches the zero point. At the same time the count procedure of the second counter is started. The switch is switched off when the value of the filtered difference signal is equal to the count of the second counter.
Exemplary embodiments of the invention are described below with reference to the drawings. In the drawings:
a-c illustrates developments of current through the charge coil in various scenarios; and
a-c illustrate various possibilities for starting or resetting the second counter shown in
The ballast shown in
It is remarked in advance that all components of the regulation means described in more detail below can be realized by means of software, hardware or a hybrid solution. In particular, a (slow) counter Z1 can be implemented by means of software. Another counter Z2 may preferably be formed by means of a hardware module.
The d.c. voltage converter 3 consists of a charge choke L in a first longitudinal branch, a clocked switch S in a first transverse branch, a diode D in a second longitudinal branch and a storage capacitor C in a second transverse branch. The clocked switch S is switched to be conductive with pulse-width modulated switch-on pulses. The switch-on pulses are shown in
If the switch S is switched through, there flows through the charging choke L an increasing charging current iL. If the switch S is switched to be interrupted, the energy stored in the choke (charging coil) L discharges via the diode D to the storage capacitor C. In the discharging phase the current flowing through the charging choke L falls—as can be seen in
The longer is the switch-on time ton of the switch in comparison to the overall time T, the higher rises the output d.c. voltage U of the d.c. voltage converter 3. If the switch-on pulses are shortened, the output d.c. voltage U falls correspondingly. Thus, by means of purposive variation of the switch-on time ton it is possible to maintain constant the output d.c. voltage U.
The switch-on pulse control for the clocked switch S is effected by means of the regulation circuit 7. For example there is delivered to the regulation circuit 7, from an external desired value provider 13, the analogue desired value Usoll for the output d.c. voltage U. For generating the actual value Uist of the output d.c. voltage U there serves a d.c. voltage sensor 14′, which measures the output d.c. voltage U of the d.c. voltage converter 3.
With a zero crossing detector 13′ (for example a d.c. current sensor as illustrated, or a voltage divider) the time point is detected at which the d.c. current flowing through the charging choke L in the falling phase reaches the zero point. At this time point, the reset signal Un is generated in the present exemplary embodiment (see
Otherwise, the zero point of the current through the charging choke can be determined also from the voltage being applied at the point 13′.
The regulation circuit 7 includes a first counter Z1 and a second counter Z2. The two counters Z1 and Z2 are connected with a system clock 11, which generates system clock pulses CLK shown in
The second counter Z2 is operated only in the upwards count direction and has for example 29 count stages, which are represented by means of the bits 0-8. The reset input of the second counter Z2 is connected in the present exemplary embodiment with a d.c. current sensor 13. When the reset signal Un appears at the reset input, the running count process of the second counter Z2 is interrupted. At the same time—as is shown in
The first counter Z1 has for example 224 count stages, which are represented by means of the bits 0-23. It can count in both directions, that is upwards and downwards.
Further, with the first counter Z1 there is connected the output of a (here) 1-bit A/D converter 10 to the two inputs of which the analogue actual value signal Uist and the analogue desired value Usoll are delivered. At the output of the 1-bit A/D converter there is issued a digital signal in the form of a ONE or ZERO. The digital value ONE is thereby generated if the actual value signal Uist is greater than or equal to the desired value Usoll. The digital value ZERO is correspondingly generated when the actual value signal Uist is smaller than the desired value signal Usoll.
When the digital value ZERO is delivered to the first counter Z1, it counts upwards. When the digital value ONE is delivered to the first counter, it counts downwards.
The counter state of the 29 count stages of the second counter Z2 are compared by means of a comparator 12 with the corresponding 29 higher value counter stages of the first counter Z1. The 29 higher value count stages of the first counter Z1 are represented by means of the bits 15-23. The digital comparator 12 determines the time point at which the bits of the Z1 and Z2 to be compared come into agreement and reports this agreement to a control circuit 14 for the switch S. There is further delivered to the control circuit 14 the reset signal Un generated by the d.c. voltage sensor 13′. The control circuit 14 switches the switch S on, i.e. into the conductive condition, when it receives the reset signal Un, and it switches the switch S off, i.e. into the blocked condition, when the comparator 12 reports the equality (agreement) of the counter states of the bits of the two counters Z1 and Z2 which are to be compared.
Control of the inverter 4 is effected via a circuit block 9 which is responsible for the lamp frequency management.
As a result of the high number of count stages of the counter Z1 the regulation frequency is relatively low, and the regulation changes are effected in small steps. In that the number of count stages of the counter Z2 is significantly lower than those of the counter Z1, an oversampling is ensured. If, for example the system clock operates with a clock frequency of 10 MHz, the switch S is switched with a switching frequency between 5 MHz and 39 kHz. The regulation frequency determined by means of the counter Z1 is, in contrast, only 75 Hz.
The lower value count stages of the counter Z1, which are represented by means of the bits 0-14, serve practically as a digital integrator. The higher value count stages, which are represented by the bits 15-23, in contrast determine the switch-on time ton for the switch S.
The d.c. voltage converter 3 forms a PFC intermediate circuit for the electronic ballast. It ensures that, with respect to the mains, the ballast acts as an ohmic load.
In general in accordance with the invention, as shown in
The step size of this counter Z1 is now variable and depends upon the absolute value of the difference Xist. If there is present for example a high deviation between desired value UREF and actual value Uist, the step size is thus increased since through this a more rapid adaptation of the switch-on time for the switch S is obtained. Oppositely, in the case of merely slight deviations between desired value Usoll and actual value Uist, the step size of the counter Z1 is reduced.
Control of the step size is effected via a digital filter, in particular an input block of the counter Z1 constituted as a so-called FIR filter (FIR=Finite Impulse Response) 17. The digital filter may also for example be an IIR (Infinite Impulse Response) filter.
The upstream FIR filter 17 is in the present exemplary embodiment a linear, temporally discreet system, the output signal of which represents the weighted sum of the current input signals and a certain number of past sample values. The concrete characteristics of the FIR filter can be set by means of appropriate selection of the weighting coefficients.
In accordance with the implementation in
Overall, the combination of the FIR filter 17 with the first counter Z1 forms a PI regulation structure. The P component is thereby attained through the combination of the differentiating effect of the delay member 21 with the integrating effect of the counter Z1. The I component is correspondingly constituted by means of the proportional member 19 and the counter Z1.
The data format of the input of the FIR filter 17 is usually smaller than that of the output. At least at the output, a fixed point format is preferably employed.
The output value of the counter Z1 is divided, for example by a whole number factor, by means of a scaling member 23 and the result Z1′ passed on as first input signal to the comparator 12. If the whole number factor is a power of “2”, the scaling corresponds to the reading out of the higher value bits in
Beyond this it is shown in
For this purpose (optionally) the output signal of the zero point detector 13′ is delivered to the logic unit 24. To it there is also delivered the output signal of the comparator 12. The logic unit 24 generates on the one hand the RESET signal for the counter Z2 and the start signal START for the control unit 14 (for example a flip-flop), in response to which START signal the control unit 14 switches on the switch S (beginning of the switch-on pulse). The reset procedure of the counter Z2 can if appropriate be effected even before the start procedure of the counter Z2 and thus independently of the start of the count procedure of the counter Z2. In this case, the count procedure of the counter Z2 (increasing from zero) is likewise initiated by means of the signal start of the logic unit 24.
In principle, the logic unit 24 can issue the start signal START for the switching-on of the switch S upon detection of the zero crossing of the current through the charge coil and/or upon expiry of a defined time (for example generated by means of a time base or a further counter of the logic unit 24).
The signal developments thus provided are illustrated in
a shows the case that upon detection of the zero crossing of the current through the charge coil the counter Z2 is newly started and the switch S switched-on (signal START). The RESET procedure of the counter Z2 is initiated independently thereof, temporally before the start of the count procedure by means of the signal RESET. This can be effected for example when the logic unit 24 detects that a further counter (not shown), which has the function of a time base, has attained a certain count (highest count). It is to be remarked that the reset procedure is still effected independently and temporally after the switching off of the switch S by means of the comparator 12. The counter Z2 thus runs further upwards for a certain time after the switching off of the switch S.
b shows the case that again upon detection of the zero crossing of the current through the charge coil the counter Z2 is started and the switch S is switched on (signal START). There is no separate RESET and START signal for the counter Z2; rather there is effected in one RESET and start of the counter process of the counter Z2 upon detection of the zero crossing.
c finally shows the case that the counter Z2 is caused to effect a reset procedure and is newly started, and at the same time the switch S is switched-on (signal START) not through detection of the zero crossing of the current through the charge coil but after expiry of a defined time (for example detected by means of a further counter). In this case the switch-on process of the switch S is thus effected at fixed intervals, although the switch-on pulse duration is variable (PWM).
In each case, on the one hand the new start of the second counter Z2 falls together with the switching on of the switch S and on the other hand the switch S is switched off when the compared output signals of the two counters Z1, Z2 attain equality.
Possible temporal developments of the d.c. current through the charging choke in relation to the mains current is shown in
As shown in
As is shown in
On the other hand, there can arise the case, as shown in
The circuit illustrated in
Insofar as the current actual value Uist of the output d.c. voltage is greater than the desired voltage Usoll, the 1-bit A/D converter 15 issues the value 1. The value received from the comparison block 18 is then −1+0.5=−0.5. The value calculated by the P member 19 and thus by the input block 17 is in this case −0.5*2=−1, i.e. the counter Z1 counts downwards in the case of a too high value of the output d.c. voltage, through which the switch-on time for the switch S is reduced. If, in contrast, the output d.c. voltage Uist is below the desired voltage Usoll, the 1-bit A/D converter 15 issues the value zero. The value received from the comparison block 18 is then 0+0.5=+0.5 and the value delivered to the counter Z1 is 0.5*2=1. In this case, the first counter Z1 thus counts upwards. This 1-bit variant thus represents a particularly simple possibility for regulating the output d.c. voltage.
Both in the 1-bit variant and also in general n-bit forms the circuit in accordance with the invention has the advantage that it is of standard digital circuitry components which in line with the object to be achieved allow themselves well to be integrated into ASIC design.
Number | Date | Country | Kind |
---|---|---|---|
101 63 032.8 | Dec 2001 | DE | national |
This is a Continuation of application PCT/EP02/14669 filed on Dec. 20, 2002, and published in German but not English as WO 03/055278 A1 on Jul. 3, 2003, the priority of which is claimed herein (35 U.S.C. §120) and which claims priority of German Application No. 101 63 032.8 filed Dec. 20, 2001, the priority of which is also claimed herein (35 U.S.C. §119).
Number | Date | Country | |
---|---|---|---|
Parent | PCT/EP02/14669 | Dec 2002 | US |
Child | 10870062 | Jun 2004 | US |