The present disclosure relates to fluorescent lamp electronic dimming devices, and, more particularly, to an electronic dimming device using a pulse width modulation (PWM) generator receiving a clock frequency from a very high resolution tunable oscillator.
With the motivation to switch to more efficient methods of generating light, such as use of fluorescent lamps, a need exists to provide features such as dimming at an economical cost. A typical resonant circuit fluorescent lighting ballast and fluorescent lamp are shown in
When the fluorescent lamp 112 is off, the ballast is first driven at frequency, FHigh. This frequency is chosen to be above the resonant frequency point of the RLC circuit, and is design specific, but may be for example purposes about 100 kHz. At this frequency,
Lamp ‘ignition’ means that the gas is now ionized enough to conduct an electric current. The lamp 112 is now said to be on (producing visible light). At this point,
To control the fluorescent lamp, the dead time unit must receive a variable frequency signal with a duty cycle of about 50%. A signal may be provided in a microcontroller based application by a pulse width modulation (PWM) generator in combination with a clock, e.g., resistor capacitor (RC) oscillator. The PWM generator has the ability to generate digital signals with controllable variable frequency and duty cycle. The frequency of the PWM signal is adjusted by changing the value of a PWM period register, while the duty cycle is maintained at substantially fifty (50) percent by changing the value of a PWM duty register (see
Florescent light ballast manufacturers require ultra high frequency resolution to provide smooth and accurate dimming control of the fluorescent lamps. The frequency step resolution of the PWM generator is a function of the input clock frequency thereto and the desired lamp excitation frequency. However, in typical PWM generator applications, the PWM period register adjustment is not capable of producing small enough frequency steps for precise control of the lamp current (light intensity). In order to provide such resolution, for example at 100 kHz, it would require a pulse width modulation (PWM) generator, used for controlling the fluorescent lamp dimming, to be driven with a clock frequency in excess of 50 MHz.
What is needed is a way to improve dimming control of fluorescent lamps. Accordingly, by supplying a tunable oscillator as a clock input to a pulse width modulation (PWM) generator, a very high resolution frequency PWM generator can be achieved without the necessity for an ultra-high frequency oscillator. By using an oscillator that can be tuned in small frequency steps, the same results can be achieved with an input clock frequency of about, for example but not limited to, 16 MHz instead of having to resort to a power consuming ultra-high frequency oscillator, e.g., in excess of 50 MHz. Use of a much lower frequency clock oscillator also has the advantage of lower generated electromagnetic interference (EMI), lower power consumption, and lower device fabrication and process costs.
According to the teachings of this disclosure, a tuning register, OSCTUN, in combination with a RC oscillator may be used to create a precision variable frequency clock source that supplies a precision tunable clock frequency to a PWM generator that may be used in a fluorescent lamp dimming device for precision control of light intensity of a fluorescent lamp(s).
The OSCTUN register can be used in these cases to provide fine frequency adjustment of the RC oscillator, which is the PWM generator clock source. For each value of the PWM period register, the OSCTUN register can be modified to provide one or more intermediate frequency adjustment steps. The RC oscillator output may optionally be connected to a PLL to increase the frequency of the PWM generator clock.
According to a specific example embodiment of this disclosure, a dimmable fluorescent lamp system having an electronic lighting ballast using pulse width modulation (PWM) to control the amount of light produced by a fluorescent lamp comprises: a clock oscillator capable of generating any one of a plurality of clock frequencies; a pulse width modulation (PWM) generator for generating a PWM signal, wherein the PWM generator receives a clock signal from the clock oscillator at the selected one of the plurality of clock frequencies; a circuit for converting the PWM signal to high and low drive signals; a first power switch controlled by the high drive signal; a second power switch controlled by the low drive signal; an inductor coupled to the first and second power switches, wherein the first power switch couples the inductor to a supply voltage, the second power switch couples the inductor to a supply voltage common, and the first and second power switches decouple the inductor from the supply voltage and supply voltage common, respectively; a direct current (DC) blocking capacitor coupled to the supply voltage common; a fluorescent lamp having first and second filaments, wherein the first filament is coupled to the inductor and the second filament is coupled to the DC blocking capacitor; and a filament capacitor coupling together the first and second filaments of the fluorescent lamp; wherein course frequency steps of the PWM signal are provided by the PWM generator and fine frequency steps of the PWM signal are provided by selecting appropriate frequencies from the plurality of clock frequencies.
According to another specific example embodiment of this disclosure, a method for controlling dimmable electronic lighting ballasts using pulse width modulation (PWM) comprises the steps of: generating a clock signal having a frequency selected from a plurality of clock frequencies; and generating a pulse width modulation (PWM) signal having any one of a plurality of PWM signal frequencies, wherein the PWM signal is derived from the clock signal; wherein the PWM signal has course frequency steps are provided by period and duty cycle values of the PWM generator, and fine frequency steps are provided by selecting appropriate frequencies from the plurality of clock frequencies.
According to yet another specific example embodiment of this disclosure, a digital device for supplying a variable frequency pulse width modulation (PWM) signal for controlling light brightness of a fluorescent lamp comprises: a clock oscillator capable of generating any one of a plurality of clock frequencies; a pulse width modulation (PWM) generator for generating a PWM signal, wherein the PWM generator receives a clock signal from the clock oscillator at the selected one of the plurality of clock frequencies; and a circuit for converting the PWM signal to high and low drive signals; wherein course frequency steps of the PWM signal are provided by the PWM generator and fine frequency steps of the PWM signal are provided by selecting appropriate frequencies from the plurality of clock frequencies.
A more complete understanding of the present disclosure thereof may be acquired by referring to the following description taken in conjunction with the accompanying drawings wherein:
While the present disclosure is susceptible to various modifications and alternative forms, specific example embodiments thereof have been shown in the drawings and are herein described in detail. It should be understood, however, that the description herein of specific example embodiments is not intended to limit the disclosure to the particular forms disclosed herein, but on the contrary, this disclosure is to cover all modifications and equivalents as defined by the appended claims.
Referring now to the drawing, the details of specific example embodiments are schematically illustrated. Like elements in the drawings will be represented by like numbers, and similar elements will be represented by like numbers with a different lower case letter suffix.
According to teachings of this disclosure, a pulse width modulation technique for dimming a fluorescent lamp may be implemented by using an integrated circuit digital device, e.g., microcontroller integrated circuit. Referring now to
The AC power at the specific frequencies generate an AC line voltage that is applied to the combination of the inductor 110, fluorescent lamp 112 and the DC blocking capacitor 114. The specific frequencies are selectable for initiating lamp gas ionization and controlling the current through the ionized gas, thereby controlling light intensity from the fluorescent lamp 112.
The digital device 502 comprises a pulse width modulation (PWM) generator 504, a variable frequency clock 506 used as the timing signal for the PWM generator 504, and a variable frequency clock register 508 for storing digital representations of “veneer frequency” offsets of the variable frequency clock 506. The variable frequency clock 506 enables being able to use finer frequency granularity when selecting a power drive frequency to be generated by the PWM generator 504, as more fully described herein. The variable frequency clock 506 may comprise an resistor-capacitor (RC) oscillator or any other type of oscillator that may be tuned over a small range of frequencies.
Referring to
By selecting appropriate duty cycle and period values in combination with the frequencies of the clock signal 622, a substantially fifty (50) percent duty cycle square wave over a wide range of frequencies can be generated for dimming control of the light intensity (brightness) from the fluorescent lamp 112. The clock signal 622 may be varied over a narrow range of frequencies so as to fine tune the PWM signal frequency between what is normally available between changes to the period value, as more fully described herein. This enables finer granularity of the PWM frequency so that there is more precise and smoother control when dimming the fluorescent lamp light intensity (brightness).
The PWM frequency is the clock signal 622 frequency divided by the value in the period register. A corresponding value is loaded into the duty cycle register so that the PWM signal 620 has substantially a 50 percent duty cycle, e.g., on for about half of a PWM period and off for the other half of the PWM period. The PWM period is the reciprocal of the PWM frequency. Thus, the frequency of the PWM signal 620 is determined by the frequency of the clock signal 622 divided by the “period count value” stored in the period register 604. For example, using a clock frequency of 16 MHz and a period count value of 160 will produce a PWM signal 620 at a frequency of 100 KHz. Table I below shows some of the PWM signal frequencies and associated period count values at a clock frequency of 16 MHz. Not every period count value is shown in Table I, but one having ordinary skill in the art of digital circuits in PWM generation and the benefit of this disclosure would readily understand that the period count value can be incremented or decremented by one (1).
According to the teachings of this disclosure, when the clock frequency is offset plus or minus in frequency, a finer frequency granularity control is achieved as shown in Table II below. The variable frequency clock 506 (
When the frequency of the clock signal 622 is fixed at 16,000,000 Hertz (Hz), the frequency steps of the PWM signal 620 can only change at about 340 to 345 Hz per step (period register value). These frequency steps may be too course for smooth dimming control of fluorescent lamp light intensity (brightness).
When the clock frequency can be set to any one of a plurality of frequencies as indicated in Table II above, then the frequency steps available from the PWM signal 620 are much finer in granularity and may change at about 48 Hz per step. This size frequency step change allows very smooth dimming control of fluorescent lamp light intensity according to the teachings of this disclosure. Modifying the tunable oscillator for even finer adjustment steps can further increase resolution without the need for high PWM frequencies. Therefore, it is contemplated and within the scope of this disclosure that other and further frequency step change sizes may be used according to the teachings of this disclosure. A range of clock frequencies are also contemplated herein, for example, in Table II above clock frequencies are shown to vary a little over plus or minus two (2) percent. Depending upon the number of bits of the PWM generator allowing a certain range of frequency step changes, the clock frequencies may be varied, but is not limited to, from about one (1) percent to about five (5) percent of the center frequency of the clock oscillator.
Referring to
Referring to
There are a number of feedback control techniques that may be implemented to stabilize the operation of the fluorescent lamp brightness. A common technique known in the literature as PID control (proportional-integral-differential) may be implemented in software to maximize stability of the fluorescent lamp brightness. A PID control loop may use this analog input representing fluorescent lamp brightness to adjust the lamp dimming circuit so as to deliver a consistent perceived lamp brightness level.
That is, if the user of the lamp adjusts the lamp control to demand a 70 percent brightness level, the software program running on the digital device 502a may consider this as the demanded brightness level. A check of the current through the fluorescent lamp 112 will indicate the present apparent brightness of the fluorescent lamp 112. If the values don't agree, the dimming of the fluorescent lamp 112 may be adjusted up or down to increase or decrease the current through the fluorescent lamp 112. As the fluorescent lamp 112 increases or decreases in temperature because of its new brightness setting, the brightness may drift. The feedback control via the microcontroller's software program will maintain the demanded brightness regardless of temperature transitions (e.g., drift or transients) in the fluorescent lamp 112.
While embodiments of this disclosure have been depicted, described, and are defined by reference to example embodiments of the disclosure, such references do not imply a limitation on the disclosure, and no such limitation is to be inferred. The subject matter disclosed is capable of considerable modification, alteration, and equivalents in form and function, as will occur to those ordinarily skilled in the pertinent art and having the benefit of this disclosure. The depicted and described embodiments of this disclosure are examples only, and are not exhaustive of the scope of the disclosure.
This application claims priority to commonly owned U.S. Provisional Patent Applications Ser. No. 61/168,651; filed Apr. 13, 2009; entitled “High Resolution Pulse Width Modulation (PWM) Frequency Control Using a Tunable Oscillator,” by Stephen Bowling, James Baffling and Igor Wojewoda; and is hereby incorporated by reference herein for all purposes.
Number | Date | Country | |
---|---|---|---|
61168651 | Apr 2009 | US |