The described embodiments relate to starter units for fluorescent lamps.
Fluorescent light fixtures include tubular fluorescent bulbs. A fluorescent bulb is also referred to here as a fluorescent lamp. The tube is a glass tube that contains an ionizable gas and a small amount of mercury. There are filaments at each end of the tube. Upon application of proper electrical voltages, the filaments can be made to heat up and to ionize the ionizable gas in the tube. If a voltage of adequate magnitude is then provided between the filaments, an electrical arc can be started through the gas in the tube between the filaments. The arc involves a flow of current from one filament, through the ionized gas, and to the other filament. Energetic electrons in this current flow collide with the mercury atoms, thereby exciting the mercury atoms and causing them to emit ultraviolet radiation. The emitted ultraviolet radiation is absorbed by and excites a phosphor coating on the inside of the walls of the tube. The phosphor coating fluoresces and emits radiation in the visible spectrum (i.e., visible light). The visible light passes outward through the glass and is usable for illuminating purposes.
Some such fluorescent light fixtures involve a circuit referred to as a “starter”. In a first step, a switch in the starter closes and forms an electrical connection between the filament at one end of a tube and the filament at the other end of the tube such that an alternating current can flow from an AC power source, through a ballast, through one filament, through the closed switch of the starter, and through the second filament, and back to the AC power source. This alternating current flow causes the filaments to heat. The heating of the filaments causes gas surrounding the filaments to ionize. Once the gas is ionized in this way, then the switch in the starter is opened. The opening of the switch cuts current flow through the ballast, thereby causing a large voltage spike to develop. Due to the circuit topology, this large voltage is present between the two filaments. The voltage is large enough to strike an arc through the gas. Once the arc is established, the resistance between the two filaments through the gas decreases. This allows the current to continue to flow through the gas without a large voltage being present between the filaments. The switch is left open, the current continues to flow, filaments continue to be heated, the arc is maintained, and the current flow is regulated by the ballast. The fluorescent lamp is then on and emits visible light to illuminate an area.
In fluorescent light fixtures, the starter may fail. The starter is therefore sometimes made to be a replaceable unit. Great numbers of fluorescent light fixtures with replaceable starter units are installed throughout the world. Large numbers of such fluorescent light fixtures are installed in public buildings, office buildings, and other large buildings. Quite often the fluorescent lights are left on and consume electrical energy even though the area served does not need to be illuminated. A way of preventing this waste of electrical energy is desired.
Infrared motion detecting wall switches are often employed to prevent the waste of energy due to lights being left on when lighting is not needed. If an infrared motion detector in the wall switch does not detect motion of an infrared emitter (for example, a human body) in the vicinity of the wall switch, then circuitry in the wall switch determines that the room is not occupied by a person. Presumably if a person were in the room, the person would be moving to some extent and would be detected as a moving infrared emitter. If the wall switch determines that the room is unoccupied because it does not detect any such moving infrared emitter, then the wall switch turns off the fluorescent lights on the circuit controlled by the wall switch. The wall switch turns off the fluorescent lights by cutting AC power flowing to the fluorescent lamp light fixtures through power lines hardwired into the building. If, however, the wall switch detects a moving infrared emitter, then the wall switch turns on the lights by energizing the hardwired power lines so that AC power is supplied to the fluorescent light fixtures through the hardwired power lines.
The wall switch motion detection system involving hardwired power lines embedded in the walls and ceilings of buildings is quite popular, but a wireless system has been proposed whereby each of the replaceable starter units is to be provided with an RF receiver. The starter unit is then to turn on or off the fluorescent lamp of its light fixture in response to RF commands received from a central motion detecting occupancy detector. Turning off a fluorescent lamp using a starter unit instead of a wall switch, however, sometimes does not work because the lamp re-ignites. A system is sought in which a starter unit can reliably turn off a fluorescent lamp without using a wall switch.
A method determines a local minimum of a current monitoring signal in a starter unit that turns off a fluorescent lamp without using a wall switch. An illuminating current is stopped from flowing through a gas in the lamp by closing a main switch in the starter unit. The current monitoring signal provides an indication of the current flowing through the main switch. The method determines that a local minimum of the current monitoring signal has been reached by identifying a valid increasing sample of the signal after finding a sliding window of four valid samples. A sample is valid if it does not differ from the last valid sample by more than a threshold difference based on the known properties of the current monitoring signal. By rejecting and skipping over invalid samples, the local minimum of the current monitoring signal is accurately determined to have been reached despite transient noise spikes in the signal that would likely trip a voltage threshold used to locate the local minimum. The main switch is then opened after a predetermined time interval after the local minimum is determined to have been reached. The lamp is not re-ignited when the main switch is opened because the illuminating current does not begin to flow again through the gas.
The sliding sample window method can be used to turn off fluorescent lamps that are associated with both inductive-type ballasts and capacitive-type ballasts. When turning off a lamp with a capacitive-type ballast, the predetermined time interval is chosen such that the main switch is opened as the current monitoring signal approaches a local maximum. When turning off a lamp with an inductive-type ballast, the predetermined time interval is zero such that the main switch is opened as soon as possible after the local minimum.
One embodiment of the sliding sample window method involves closing the main switch of the starter unit to stop the illuminating current from flowing through the gas of the fluorescent lamp. A first magnitude of a current monitoring waveform is determined at a first time. A second magnitude of the waveform is then determined at a second time that occurs after the first time. Then a third magnitude of the waveform is determined at a third time that occurs after the second time. A first difference between the third magnitude and the second magnitude is determined, and a threshold difference for the waveform between the second time and the third time is determined. The threshold difference is determined based on the known typical characteristics of the ideal waveform. For example, it is known that the amplitude of the ideal waveform does not change by more than a certain percentage within a certain time period. The third magnitude is a valid sample if the first difference is smaller than the threshold difference. Samples that are not valid are skipped. By skipping over invalid samples, the local minimum of the waveform is accurately determined to have been reached despite transient noise spikes in the waveform that are themselves local minima at a higher frequency than the periodic cycles of the waveform. If the first difference is smaller than the threshold difference, the third magnitude is then compared to the first magnitude. A local minimum of the waveform is determined to have been reached if the third magnitude exceeds the first magnitude. If the local minimum of the waveform has been reached, the switch is opened at a predetermined time interval after the third time, and the lamp does not re-ignite.
In another embodiment of the sliding sample window method, an illuminating current is stopped from flowing through the gas of a fluorescent lamp by closing a main switch of a starter unit. Samples of a shunt current that flows through the main switch are taken when the switch is closed and the samples of the shunt current are decreasing. The switch is then opened at a predetermined time interval after the samples of the shunt current first begin to increase after the samples of the shunt current are decreasing. For a fluorescent lamp with an inductive-type ballast, the predetermined time interval is zero such that the switch is opened as soon as possible after the samples of the shunt current first begin to increase. For a fluorescent lamp with a capacitive-type ballast, the predetermined time interval is chosen such that the switch is opened as the shunt current waveform approaches a local maximum.
An apparatus includes a fluorescent lamp, a ballast and a means for opening a switch at a certain time. The fluorescent lamp is coupled to the ballast, and the ballast is adapted to receive an alternating current from an AC line voltage supply. The alternating current flows through the switch when the switch is closed, and flows through a gas of the fluorescent lamp when both the switch is open and the fluorescent lamp is on. The means opens the switch when a predetermined time interval elapses following a local minimum of the waveform of the alternating current by determining when samples of the alternating current begin to increase. The means also stops the alternating current from flowing through the gas without disconnecting the AC line voltage supply from the fluorescent lamp. The means determines the local minimum of the waveform despite the waveform exhibiting transient noise spikes within a quarter cycle of the waveform before and after the local minimum. For an inductor-type ballast, the predetermined time interval is less than one quarter of a cycle of the waveform. For an inductive-type ballast, the predetermined time interval is between one quarter and one half of a cycle of the waveform.
Further details and embodiments and techniques are described in the detailed description below. This summary does not purport to define the invention. The invention is defined by the claims.
The accompanying drawings, where like numerals indicate like components, illustrate embodiments of the invention.
Reference will now be made in detail to background examples and some embodiments of the invention, examples of which are illustrated in the accompanying drawings.
Master unit 11 has a radio-frequency (RF) transceiver (transmitter and receiver) for engaging in RF communication, including an RF communication 25 with the starter units 15-16 of system 10. As pictured, master unit 11 need not be connected to any hardwired electrical wiring in the building. The master unit 11 is a self-contained, battery-powered unit that is fixed to the ceiling 21 of the room illuminated by system 10. Master unit 11 can be easily fixed to ceiling 21 by application of adhesive tape or by a screw or other common attachment mechanism. Each fluorescent light fixture of system 10 includes a replaceable starter unit. Starter unit 15 pictured in
Fluorescent lamp interface circuitry 29 includes a full wave rectifier 35 that receives a 230-volt alternating-current (AC) signal between terminals 26 and 27 and outputs a full wave rectified signal (VRECT) between nodes 36 and 37. Power switch 38 is a switch that is used to turn on, and to turn off, fluorescent lamp 13. Power switch 38 is a power field effect transistor (FET) that is controlled by microcontroller 30 via gate drive circuitry of circuitry 29. Microcontroller 30 drives the gate of switch 38 and controls and monitors the remainder of interface circuitry 29 via signals communicated across conductors 39. Microcontroller 30 monitors and traces the alternating current and voltage waveforms between nodes 36 and 37 using an analog-to-digital converter (ADC) that is part of the microcontroller. Microcontroller 30 monitors and traces the waveform of the current flowing through switch 38 by using its ADC to monitor a voltage dropped across a sense resistor 40. Microcontroller 30 uses an on-board comparator and a timer to detect and time zero-crossings and minima of the AC signals on nodes of the circuitry 29. Microcontroller 30 determines when and how to control switch 38 based on the detected voltage and current between nodes 36 and 37, the time of the zero-crossings of the AC signal on terminals 26-27, and the magnitude of current flowing through switch 38.
Power supply 28 receives the full wave rectified signal between nodes 36 and 37 and generates therefrom a direct current (DC) supply voltage VDD used to power microcontroller 30, RF transceiver 31, and interface circuitry 29. Power supply 28 includes a capacitance that is charged to the DC supply voltage VDD. This capacitance is large enough that it continues to power the microcontroller and RF transceiver of the starter unit for more than five seconds after the 230-volt AC power is removed from terminals 26-27. If the starter unit 15 is installed in light fixture 12, and if wall switch 22 is toggled on and off faster than once every five seconds, then interface circuitry 29, microcontroller 30, and transceiver 31 remain powered and operational.
Microcontroller 30 communicates with and controls RF transceiver 31 via a bidirectional serial SPI bus and serial bus conductors 41. In one embodiment, microcontroller 30 is a Z8F2480 8-bit microcontroller integrated circuit available from Zilog, Inc., 6800 Santa Teresa Blvd., San Jose, Calif. 95119. Microcontroller 30 includes an amount of non-volatile memory (FLASH memory) that can be written to and read from under software control during operation of starter unit 15. In one embodiment, RF transceiver 31 is a SX1211 transceiver integrated circuit available from Semtech Corporation, 200 Flynn Road, Camarillo, Calif. 93012. Transceiver 31 is coupled to antenna 32 via an impedance matching network (not shown) and a SAW filter (not shown). The SAW filter may, for example, be a B3716 SAW filter available from the Surface Acoustic Wave Components Division of EPCOS AG, P.O. Box 801709, 81617 Munich, Germany. Antenna 32 may, for example, be a fifty ohm 0868AT43A0020 antenna available from Johanson Technology, Inc., 4001 Calle Tecate, Camarillo, Calif. 93012. RF transceiver 31 operates in a license free frequency band in the 863-878 MHz range (for example, about 868 MHz), in accordance with a reference design available from Semtech Corporation. The RF antenna and transceiver of starter unit 15 can receive an RF communication 25 (see
When switch 38 is closed, current from AC MAINS voltage supply 42 flows through switch 38 and stops flowing through the gas in lamp 13, and lamp 13 stops illuminating. Switch 38 will burn out, however, if it remains closed indefinitely. So switch 38 is soon opened at a point in the current waveform flowing through ballast 43, filaments 45-46 and switch 38 that will not re-ignite the gas in lamp 13. About 5 ms after switch 38 is closed, microcontroller 30 begins to monitor the current flowing through switch 38 by tracing the voltage amplitude dropped across current sense resistor 40. The voltage amplitude across current sense resistor 40 is indicated by a current monitoring signal (IMON). Starter unit 15 determines when a local minimum of the current monitoring signal IMON occurs, and then opens switch 38 a predetermined time interval after the local minimum has occurred so that the gas in lamp 13 does not re-ignite.
The predetermined time interval that starter units 15 and 16 wait from the local minimum until opening switch 38 is different for an inductance-type ballast and a capacitance-type ballast. Switch 38 is opened when the amount of energy stored in the ballast is at a minimum so that a surge in voltage from the ballast upon opening switch 38 will not re-ignite the gas between the filaments and turn the lamp back on.
The voltage across inductive ballast 43 is a minimum when the first derivative of the current waveform flowing through inductive ballast 43 is zero at a local minimum. [V=L(dI/dT)=0 when dI/dT=0] Although the voltage across inductive ballast 43 is also zero at a local maximum, the energy stored in inductive ballast 43 is at a minimum at a local minimum of the current waveform. Consequently, starter unit 15 opens switch 38 near the local minimum, and the predetermined time interval is zero or near zero.
The inductive component of ballast 43 performs a current limiting function to stabilize current flow through lamp 13. Similarly, ballast 44 also has an inductive component to stabilize current flow through lamp 14. In addition, however, ballast 44 also includes a capacitive component for purposes of power factor correction as is well known in the art. The LC tank of ballast 44 stores energy in a different manner than the lone inductor of ballast 43. The point in the current waveform flowing through switch 38 at which the energy stored in ballast 44 is at a minimum is phase shifted from the point of minimum energy of ballast 43. It was empirically determined that the energy in capacitive-type ballast 44 is at a minimum when the current monitoring signal IMON approaches a local maximum. For a 60-Hz AC mains power signal that is rectified by rectifier 35 into a 120-Hz rectified voltage signal (VRECT), the local minima of the current monitoring signal IMON are 8.33 ms apart, and the predetermined time interval after a local minimum at which switch 38 is opened is about 4.0 ms.
The difference in reactance between ballasts 43 and 44 causes an overall phase shift between the AC voltage supplied to fluorescent lamp 13 and the AC voltage supplied to fluorescent lamp 14. Based on this phase shift, the predetermined time intervals after the local minima of the IMON signals are adjusted such that the switches 38 of starter units 15-16 are opened closer to the same time in order to reduce the probability that one lamp will re-ignite the other due to electro-magnetic coupling effects. In one embodiment, the first predetermined time interval at which switch 38 is opened after a local minimum of the IMON signal through starter unit 15 and the second predetermined time interval at which switch 38 is opened after a local minimum of the IMON signal through starter unit 16 are adjusted such that the switches 38 of starter units 15-16 are opened within one millisecond of each other.
For additional details on how starter units turn off fluorescent lamps without using a wall switch, see U.S. patent application Ser. No. 12/587,152 entitled “Registering A Replaceable RF-Enabled Fluorescent Lamp Starter Unit To A Master Unit,” filed on Oct. 1, 2009, U.S. patent application Ser. No. 12/587,130 entitled “Turning Off Multiple Fluorescent Lamps Simultaneously Using RF-Enabled Lamp Starter Units,” filed on Oct. 3, 2009, and U.S. patent application Ser. No. 12/587,169 entitled “Dimming A Multi-Lamp Fluorescent Light Fixture By Turning Off An Individual Lamp Using A Wireless Fluorescent Lamp Starter,” filed on Oct. 3, 2009. The subject matter of all three patent documents is incorporated herein by reference.
In an initial condition when lamp 13 is off, switch 38 of starter unit 15 is open, and no current is flowing through filaments 45-46. The filaments 45-46 are relatively cold. Microcontroller 30 then controls switch 38 to close by deasserting an OFF signal present on one of the pins of the microcontroller. The node on which the OFF signal is present is illustrated in
As illustrated in
After enough of the energy stored in inductor 49 has been dissipated and after filaments 45-46 have stopped ionizing gas to an adequate , then the clamping operation ceases and switch 38 is opened on a constant basis without igniting an arc. There is no current flow through either lamp 13 or starter unit 15, and the filaments 45-46 begin to cool. Fluorescent lamp 13 is then said to be in the off condition.
But even when switch 38 is opened at the bottom of the IMON waveform for an inductive-type ballast or near a peak of the IMON waveform for a capacitive-type ballast, the lamps 13-14 sometimes re-ignite. A problem has been recognized that the lamps re-ignite when the local minima of the IMON waveform is inaccurately determined due to transient noise spikes in the waveform. Where the electric utility company generates 230-volt AC MAINS voltage 42 with transient noise spikes, the noise spikes pass through rectifier 35 and appear as noise spikes on the IMON waveform. Where a local minimum of IMON signal 85 is determined by when the IMON waveform passes below a low voltage threshold, a low-voltage spike sometimes passes the threshold before the actual waveform would pass the threshold and results in a premature threshold crossing indication.
A novel method for determining the location of a local minimum of a current monitoring signal in starter unit 15 uses a sliding window of samples as opposed to a threshold. A local minimum of the IMON signal 85 is determined to have occurred when the magnitude of a fifth sample is larger than the magnitude of a first sample of the sliding window of samples. Samples within the sliding window are rejected if their magnitudes differ from those of the preceding samples by amounts larger than would correspond to the predetermined slope of the IMON signal 85.
In a first step 87, the illuminating current is stopped from flowing through the gas of lamp 14 by closing main switch 38. Starter unit 16 receives an RF communication 25 from master unit 11 indicating that lamp 14 should be turned off. Upon receiving the RF communication 25, microcontroller 30 identifies a spike (falling edge) in the ZXMON signal, waits about 2.5 ms, and then deasserts the OFF signal, which causes the GATE signal to be asserted, as shown in
In a first embodiment of the sliding sample window method, a local minimum is now located, after which switch 38 is opened. In a second embodiment, a first local minimum is located, and then the starter unit searches for a second local minimum after waiting a predetermined period after the first local minimum. Then switch 38 is opened a predetermined time interval after the second local minimum. Both the first local minimum and the second local minimum are determined in the same manner. The second embodiment is described here. After the OFF signal is deasserted and switch 38 is closed, microcontroller 30 waits for about 5 ms before monitoring samples of IMON signal 85, as shown in
First, a window of four valid samples is acquired. In the beginning, if at least three consecutive valid samples are not found, all acquired samples are discarded, and a new attempt is made to acquire four valid samples. A sample is not valid if the difference in the magnitude of the sample and that of the closest preceding valid sample exceeds an allowable threshold difference. The threshold difference is determined based on the known typical characteristics of the ideal IMON waveform. For example, it is known that the amplitude of the ideal IMON waveform never changes by more than a certain percentage within a 200-μs period. In the example of
After a fourth valid sample is acquired at interval seven, the next sample is monitored to determine whether (i) the next sample is a valid sample, and (ii) the next sample has a magnitude that exceeds that of the first sample in the window of four valid samples. In the exemplary sample sequence, however, the sample at interval eight is not valid because of transient noise spike 86. Consequently, the window slides one increment, and the sample at interval nine is monitored to determine whether it is valid. The sample at interval nine is determined to be valid because its magnitude does not differ from the magnitude of the last valid sample at interval seven by more than the threshold difference. Here, the threshold difference is twice the threshold difference applied to the third sample because two sample intervals now separate the sample at interval nine from the last valid sample at interval seven. The threshold difference is based on the maximum possible slope (in either direction) of the IMON waveform, so the applied threshold difference is larger where the last valid sample is separated by more intervening invalid samples. Next, the sample at interval ten is monitored to determine whether it is valid and its magnitude exceeds that of the first sample in the window of four valid samples. The local minimum of IMON signal 85 is determined not yet to have occurred at interval ten because the magnitude of the sample at interval ten does not exceed the magnitude of the first sample in the window at interval five. In
The illustration of the sliding sample window method skips to interval seventeen. In the exemplary sample sequence, the local minimum has not yet been located by interval seventeen.
In step 88, a first magnitude of the IMON waveform is determined at a first time. The first time is the end of interval seventeen at which time the first valid sample of the four-sample window is identified. The samples at intervals eighteen and nineteen are also determined to be valid.
In step 89, a second magnitude of the IMON waveform is determined at a second time at interval twenty that occurs after the first time at interval seventeen. The sample at interval twenty is determined to be valid.
In step 90, a third magnitude of the IMON waveform is determined at a third time at interval twenty-one that occurs after the second time at interval twenty.
In step 91, a first difference between the third magnitude of interval twenty-one and the second magnitude of interval twenty is determined.
In step 92, a threshold difference is determined for the IMON waveform between the second time at the end of interval twenty and the third time at the end of interval twenty-one. The threshold difference represents the maximum amount that the IMON waveform without noise could possibly change from one interval to the next.
In step 93, the third magnitude at interval twenty-one is compared to the first magnitude at interval seventeen if the first difference between the third magnitude and the second magnitude is smaller than the threshold difference between the second time and the third time. In the exemplary sample sequence, the sample at interval twenty-one is valid because the first difference between the magnitudes of the samples at the twenty-first and twentieth intervals is smaller than the threshold difference. In addition, the third magnitude of the sample at interval twenty-one is determined to be larger than the first magnitude of the sample at interval seventeen.
In step 94, after the comparing in step 93, a local minimum of the IMON waveform is determined to have been reached because the third magnitude exceeded the first magnitude.
In step 95, switch 38 is opened at a predetermined time interval after the third time at the end of interval twenty-one. The waveforms of
The novel sliding sample window method for determining the local minimum of IMON signal 85 is most appropriately used for turning off fluorescent lamps associated with capacitive-type ballasts because the point at which minimum energy is stored in capacitive-type ballasts occurs several milliseconds after the local minimum of IMON signal 85 is reached. The additional time required by microcontroller 30 to determine that the local minimum has been reached can simply be subtracted from the total predetermined time interval that must elapse before switch 38 is opened. The novel sliding sample window method can also, however, be used to determine the local minimum of IMON signal 85 when turning off lamps associated with inductive-type ballasts. It is not as critical to open switch 38 exactly at the point at which minimum energy is stored in an inductive-type ballast. Lamp 14 with associated inductive-type ballast 44 will typically not re-ignite even if switch 38 is opened about one millisecond after the local minimum of IMON signal 85. In addition, the 0.7 ms consumed during the calculations of the sliding sample window method can be reduced by more compact coding of the steps and by using a faster processing speed. For example, a microcontroller other than an 8-bit Z8F2480 microcontroller can be used. To avoid a lamp associated with an inductive-type ballast from re-igniting when switch 38 is opened, the predetermined time interval should be less than one quarter of a cycle of IMON signal 85.
Although certain specific embodiments are described above for instructional purposes, the teachings of this patent document have general applicability and are not limited to the specific embodiments described above. Although system 10 for turning off a fluorescent lamp wirelessly using a starter unit is described as being powered by a 230-volt, 60-Hz AC MAINS voltage, system 10 can also be implemented in other electrical power environments. For example, starter units 15-16 can be used to turn off fluorescent lamps that are powered by 50-Hz alternating current. And system 10 can be implemented equally well in different electrical power environments, such as those of North America and Europe. Accordingly, various modifications, adaptations, and combinations of various features of the described embodiments can be practiced without departing from the scope of the invention as set forth in the claims.
This application is a continuation of, and claims priority under 35 U.S.C. §120 from, nonprovisional U.S. patent application Ser. No. 12/802,090 entitled “Rejecting Noise Transients While Turning Off a Fluorescent Lamp Using a Starter Unit,” filed on May 27, 2010, the subject matter of which is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | 12802090 | May 2010 | US |
Child | 13961544 | US |