[go: up one dir, main page]

CA2345456A1 - Method and apparatus for controlling lights - Google Patents

Method and apparatus for controlling lights Download PDF

Info

Publication number
CA2345456A1
CA2345456A1 CA002345456A CA2345456A CA2345456A1 CA 2345456 A1 CA2345456 A1 CA 2345456A1 CA 002345456 A CA002345456 A CA 002345456A CA 2345456 A CA2345456 A CA 2345456A CA 2345456 A1 CA2345456 A1 CA 2345456A1
Authority
CA
Canada
Prior art keywords
waveform
zero crossing
input
output
half cycle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
CA002345456A
Other languages
French (fr)
Inventor
Alexei Bogdan
Marc Oliver Hoffknecht
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lumion Corp
Original Assignee
Lumion Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lumion Corp filed Critical Lumion Corp
Priority to CA002345456A priority Critical patent/CA2345456A1/en
Publication of CA2345456A1 publication Critical patent/CA2345456A1/en
Abandoned legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B41/00Circuit arrangements or apparatus for igniting or operating discharge lamps
    • H05B41/14Circuit arrangements
    • H05B41/36Controlling
    • H05B41/38Controlling the intensity of light
    • H05B41/39Controlling the intensity of light continuously
    • H05B41/392Controlling the intensity of light continuously using semiconductor devices, e.g. thyristor
    • H05B41/3921Controlling the intensity of light continuously using semiconductor devices, e.g. thyristor with possibility of light intensity variations
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/175Controlling the light source by remote control
    • H05B47/185Controlling the light source by remote control via power line carrier transmission

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

A control circuit for controlling the operation of an electrical lighting device, such as a gas discharge ballast or an incandescent lamp, and which can replace a standard switch and requires connection only to the hot wire of an AC power line. The control circuit has a switch encoder which couples two opposite polarity thyristors between the hot wire of an AC
power line and the hot wire running through the wall to the fixture. The thyristors are controlled by switches such that the AC waveform is transmitted over the power wires either with the small zero crossing step delays inherent in thyristor switching, or with a chopped waveform such that the transmitted AC waveform has positive going zero crossing step delays or negative going zero crossing step delays. The transmitted AC power waveform is used to power the electrical lighting device as well as to control the operation of the electrical lighting device by connection to a decoder.
The decoder decodes the transmitted AC power waveform by generating a voltage pulse waveform having pulse widths corresponding to the duration of the zero crossing step delays, determining the differences in time spans between successive pairs of pulse falling edges and comparing these time differences with a threshold duration. A load controller receives the decoder output and appropriately controls the operation of the electrical lighting device. Since the waveform chopped positive and negative going step delays are generated near the zero crossing of the AC voltage waveform, the transmitted AC power waveform does not generate any substantial signal distortion or cause any significant power factor loss.

Description

T~Ig: METHOD AND APPARATUS FOR CONTROLLING LIGHTS
FIELD OF THE INVENTION
The present invention relates generally to lighting control circuitry, and in particular to a dimmer for use with gas discharge lamp ballasts and incandescent lamps.
BACKGROUND OF THE INVENTION
Dimming circuits for incandescent lamps are well-known and extensively used. However, there are fewer commercially available dimming circuits suitable for use with gas discharge lamps, such as fluorescent lamps. Available gas-discharge lamp dimming circuits contain complex circuitry and a high number of components which makes them expensive to build, install and retrofit to existing ballasts. Consequently, most residential and commercial fluorescent installations do not have dimming capability.
Dimming of fluorescent and other gas discharge lamps is commonly accomplished by a digital dimming circuit located in the ballast and controlled using the "0 to 10V" signalling protocol. This protocol uses a pair of dedicated wires to send a dimming control signal represented by a voltage signal of value between 0 and 10 volts to the ballast dimming circuitry. The ballast dimming circuitry then converts this control signal into a signal adapted to change ballast operating conditions. While this dimming method is popular for dimming fluorescent and other gas discharge lamps, it suffers from several significant disadvantages.
In order to provide dimming for existing lighting installations, the dedicated wires of this signalling system must be installed within ceilings and walls, resulting in significant installation costs. Further, since each ballast requires a separate set of wires, the lighting system is complex to wire and can pose a safety threat if any of the wires are improperly installed (i.e., if the dimming signal wires are mistakenly connected to the main power source, the ballast will short, severely damaging the device and possibly injuring the installer).
-2-Further, signal wires from one ballast must be galvanically isolated from possible interference and noise produced by other ballast signal wires. Such isolation may require the use of additional components which significantly adds to the expense and complexity of a lighting system comprising a number of ballasts. Moreover, since the main power wires are often in close proximity to the signal wires, control signals are still often affected by electrical interference and noise. Corrupted control signals consequently can cause device malfunctions.
A dimming protocol which offers independent fixture addressing is a digital protocol method developed by Tridonic Corporation. This protocol uses signal wires to transmit digital information representing the desired brightness level (i.e., 128 or 256 levels of brightness) and other information such as the particular address of the target ballast to be dimmed. While this method allows for increased unit flexibility and better signal wire economy, the system still requires the use of complex decoders within each ballast and stand alone dimming ballasts which are typically twice as expensive as the existing 0-10 Volt protocol dimming ballasts. In addition, the digital signal sent to the ballasts is susceptible to electrical noise and interference.
Another dimming signalling system is shown in U.S. Pat. No.
4,181,873 to Nuver. U.S. Pat. No. 4,181,873 avoids the need for a separate set of signal leads to a lamp ballast by encoding a high frequency signal (200 kHz to 400 kHz) on an AC line voltage. This signal provides control information which is used to control the gating to a triac for dimming a lamp.
However, this dimming protocol is rarely used because such RF
communications are very sensitive to the electrical noise commonly found on an AC line. Further, this signalling protocol generates what is known as "RF pollution" which affects radio frequency transmissions and which violates FCC Regulations regarding the maximum level of radio frequency interference that any industrial or commercial electrical device may produce.
Finally, a power line control system is disclosed in U.S. Pat. No.
5,614,811 to Sagalovich. U.S. Pat. No. 5,614,811 discloses encoding
-3-voltage pulses within an AC power line voltage at zero crossing points of any one-half AC cycle. The voltage pulses act as control signals for any electrical device which is connected to the AC power line through a receiver/control apparatus. While this control system alleviates some disadvantages associated with RF pollution, the system utilizes relatively complex transmitter and receiver circuits and still creates some RF
pollution. Further, this control system cannot be implemented within a European power system as it requires electrical connection to both hot and neutral wires. In Europe, the neutral wire of the AC line is typically provided directly to the lamp or device and is not available for connection to an intermediate control device.
Thus, there is a need for a dimmer circuit for gas discharge lamp ballasts and incandescent or halogen lamps, which can be implemented in a cost-effective manner and which facilitates easy and safe installation, which is not susceptible to electrical interference or corruption, which meets established FCC radio interference noise regulations, which can be easily retrofitted to operate within any dimming ballast, and which can be used in association with European power systems.
BRIEF SUMMARY OF THE INVENTION
The present invention provides a dimmer circuit for controlling an electrical lighting device having a load input, said dimmer circuit including:
(a) a power input terminal coupled to a first wire of an AC
power line, said AC power line generating an input AC
waveform across said first wire and a second wire, said input AC waveform having a selected waveform energy, (b) an encoding circuit coupled to said input terminal for selectively wave chopping the half cycles of said input AC waveform in the vicinity of the zero crossings of input AC waveform to generate a plurality of output waveforms across an output terminal and said second
-4-wire, said output waveforms including said input AC

waveform having at least some half cycle zero crossing step delays, each output waveform having a waveform energy substantially the same as said selected waveform energy, (c) a controller coupled to said encoding circuit and operative to cause said encoding circuit to produce across said output terminal and said second wire a selected one of said output waveforms, (d) said load input being adapted to be coupled to said output terminal and to said second wire for receiving said selected output waveform so that said selected output waveform provides operational power to said electrical lighting device, and (e) a decoder adapted to be coupled to said output terminal and to said second wire and to said electrical lighting device and responsive to the selected output waveform from said encoding circuit for controlling said electrical lighting device.

In a nother aspect, the present invention provides a dimmer circuit for controllingan electrical lighting device having a load input, said dimmer circuit including:

(a) a power input terminal coupled to a first and second wires of an AC power line, said AC power line generating an input AC waveform across said first and said second wires, said input AC waveform having a selected waveform energy, said input AC
waveform having a succession of zero crossings, (b) an encoding circuit coupled to said input terminal including at least one switching transistor having substantially zero resistance when closed and a microcontroller, said microcontroller opening said at
-5-least one switching transistor at voltage zero crossings of said input AC waveform for selectively wave chopping the half cycles of said input AC
waveform adjacent said zero crossings of input AC
waveform to generate a plurality of output waveforms across first and second output terminals, said output waveforms including said input AC waveform having at least some half cycle zero crossing step delays, each output waveform having a waveform energy substantially the same as said selected waveform energy, (c) a controller coupled to said encoding circuit and operative to cause said encoding circuit to produce across said first and second output terminals, a selected one of said output waveforms, (d) said load input being adapted to be coupled to said first and second output terminals for receiving said selected output waveform so that said selected output waveform provides operational power to said electrical lighting device, and (e) a decoder adapted to be coupled to said first and second output terminals and to said second wire and to said electrical lighting device and responsive to the selected output waveform from said encoding circuit for controlling said electrical lighting device.
In another aspect, the present invention provides a method of controlling an electrical lighting device at a first location connected to an AC power line at a second location, said AC power line having first and second wires and providing an AC waveform across said first and second wires, said AC waveform having a selected waveform energy, said method including the steps of:
(a) selectively wave chopping the half cycles of said input
-6-AC waveform in the vicinity of the zero crossings of input AC waveform, to generate a plurality of output waveforms across an output terminal and said second wire, said output waveforms including said AC
waveform having at least some half cycle zero crossing step delays, (b) selectively transmitting one of said output waveforms from said second location across said first and second wires to said electrical load, to provide operational power to said load, (c) decoding said power waveforms at said first location, and controlling said electrical lighting device in accordance therewith.
Further objects and advantages of the invention will appear from the following description, taken together with the accompanying drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
In the accompanying drawings:
FIG. 1 is a block diagram view of a lamp with a universal dimmer connected thereto, according an embodiment of the present invention;
FIG. 2 is a schematic diagram of a switch encoder according to the present invention;
FIG. 3a is a waveform diagram of an encoded voltage waveform V23 generated across the output terminals AC2 and AC3 of the switch encoder of FIG. 2 when switch SW3 is depressed and neither switch SW~ nor SWZ of FIG. 2 is depressed;
FIG. 3b is a waveform diagram of an encoded voltage waveform V23 generated across the output terminals AC2 and AC3 of the switch encoder of FIG. 2 when switches SW~ and SW3 of FIG. 2 are depressed;

_ 7 _ FIG. 3c is a waveform diagram of an encoded voltage waveform V23 generated across the output terminals AC2 and AC3 of the switch encoder of FIG. 2 when switches SW2 and SW3 of FIG. 2 are depressed;
FIG. 3d is a waveform diagram of an encoded voltage waveform V23 generated across the output terminals ACZ and AC3 of the switch encoder of FIG. 2 when switches SW~ and SW2 and SW3 of FIG. 2 are depressed;
FIG. 4 is a schematic diagram of a decoder according to the present invention;
FIG. 5a is a waveform diagram of an encoded voltage waveform V23 generated at the output terminals AC2 and AC3 of the switch encoder of FIG. 2 before and after switch SW~ of FIG. 2 is depressed;
FIG. 5b is a waveform diagram of the voltage pulse waveform Vp which is generated by the decoder circuit of FIG. 4 at node D in response to the encoded voltage waveform V23 of FIG. 5a;
FIG. 5c is a timing diagram showing instances of the falling edge of the voltage pulse waveform Vp of FIG. 5b;
FIG. 6a is a block diagram of a typical load controller and power circuit for use with a typical incandescent lamp;
FIG. 6b is a block diagram of a typical load controller and power circuit for use with a typical gas discharge lamp ballast;
FIG. 7 is a block diagram of an alternate encoder circuit;
FIG. 8a is a diagram showing an encoded voltage waveform V23 generated by the encoder of FIG. 7;
FIG. 8a is a diagram showing another encoded voltage waveform V23 generated by the encoder of FIG. 7;
FIG. 9 is a block diagram showing a modification of the encoder circuit of FIG. 7 adapted for use with an alternate decoder circuit;
FIGS. 10a, 10b and 10c are graphs of the current, and voltage waveforms of the switch encoder of FIG. 2 and decoder of FIG. 4 for loads with unity power factor;

- $ -FIGS. 11 a, 11 b and 11 c are graphs of the current, and voltage waveforms of the switch encoder of FIG. 2 and decoder of FIG. 4 for loads with a power factor other than zero;
FIG. 12 is a schematic diagram of an alternative switch encoder according to the present invention;
FIG. 13 is a schematic diagram of an alternative decoder according to the present invention;
FIG. 14 is a waveform diagram of an encoded voltage waveform V24 received by alternative decoder of FIG. 13; and FIGS. 15A, 15B, 15C, and 15D are graphical diagrams showing the processing steps executed by the microcontroller of alternative decoder of FIG. 13.
DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS
The present invention is a further variation on the general technique of simultaneously controlling and powering electrical devices including electrical lighting devices as discussed in U.S. Patent No.
5,614,811 entitled "Power Line Control System" and which issued March 25, 1997 naming Alex Bogdan as an inventor, and in co-pending U.S. patent application Ser. No. 09/009,376 filed January 20, 1998, which is the patent application of the present continuation application. The description and drawings of the said prior patent and application are hereby incorporated by reference into this application in their entirety.
Reference is first made to FIG. 1, which shows a universal dimmer 10 according to a preferred embodiment of the invention. Dimmer 10 uses a switch encoder 12, a decoder 14 and a load controller 16 to dim a lamp 18 (either incandescent or gas discharge) by appropriately controlling the operation of a power circuit 20 associated with lamp 18.
Switch encoder 12 is connected to the hot wire 21 of an AC
power line at terminal AC 1. The AC power line is typically a 120 Volt 60 Hz power line from a distribution panel, although any world-wide AC line standard voltage can be accommodated. In particular, it should be noted _g_ that dimmer 10 is compatible with the standard electrical power system used in many European countries, as switch encoder 12 only requires electrical connection with hot wire 21. Switch encoder 12 is typically mounted in a conventional wall switch box and is attached to existing wiring.
Switch encoder 12 includes three manual or electronic switches, namely dimming switches SW~ and SW2 and an on/off switch SW3 (FIG. 2). When one dimming switch SW~ or SW2 is "closed" (or depressed) and on/off switch SW3 is closed, a distinct voltage waveform V23 is produced across the output terminal AC2 of switch encoder 12 and the terminal AC3 of neutral wire 22 of the AC power line.
Decoder 14 is installed within a typical lighting fixture 24 (FIG. 1). Fixture 24 contains a power terminal 26 which is coupled to the output terminal AC2 of switch encoder 12 and to terminal AC3 of neutral wire 22 of the AC power line. If dimmer 10 is used in association with a lamp that utilizes a ballast, then decoder 14 may be specifically integrated within power circuit 20 (i.e. integrated within a dimming ballast) in fixture 24. For application to an incandescent or halogen lamp, decoder 14 can be simply installed at a convenient location within fixture 24. The voltage waveform V2s produced by switch encoder 12 across terminals AC2 and AC3 is received by decoder 14 which in turn generates an appropriate control voltage V~ across terminals LAMPS and LAMP2 for input into load controller 16.
Load controller 16 is used to control the operation of a typical power circuit 20 for lamp 18, in accordance with the voltage waveform V23 across terminals AC2 and AC3. Load controller 16 can be used to adapt dimmer 10 for use with a gas discharge lamp, such as fluorescent, high intensity discharge and others associated with any type of power circuit 20 such as a conventional non-dimming ballast. Alternatively, load controller 16 can adapt dimmer 10 for use with a non-ballast lamp 18 such as an incandescent or halogen lamp which uses a power circuit 20 which would otherwise connect lamp 18 across hot and neutral wires 21 and 22 of the AC power line. Accordingly, power circuit 20 is connected both to load controller 16 and to power terminal 26 (through one or two wires, depending on the type of lamp), to provide operational power and dimming functionality to lamp 18.
FIG. 2, which shows an electrical schematic of switch encoder 12, will now be discussed in more detail. As shown, switch encoder 12 includes dimming switches SW~, SW2 and on/off switch SW3, thyristors Q3 and Q~, bilateral switches Q~ and Q2, capacitors C4, C5, C6, C9, C ~ o, and resistors R~ o, R~ 2 and R ~ 4. Switch encoder 12 generates five different voltage waveforms across terminals AC2 and terminal AC3.
Specifically, switch SW3 operates as an on/off switch such that when switch SW3 is "open" (or non-depressed), no voltage is provided across terminals AC2 and AC3. The other four voltage waveforms correspond to the four possible configurations of switches SW~ and SW2 when switch SW3 is "closed" (or depressed), as will be explained. The inventors have found that the following component values provide desirable operation of switch encoder 12.
DesignationDescription DesignationDescription (or (or Part No.j Q3 and Q~ Part No.j C9 100 nF

Q~ and Q2 MBS4991 Coo 4700 pF

C4 4700 pF Rio 33 k~2 C5 4700 pF R~2 33 kf~

C6 4700 pF R~4 10 k~

Thyristors Q3 and Q~ are conventional and conduct when triggered through bilateral switches Q~ and Q2, respectively. Bilateral switches Q~ and Q2 are conventional silicon bilateral switches which conduct when their breakdown voltage has been exceeded. Thyristor Q3 is forward connected across terminals ACS and AC2 and thyristor Q~ is reverse connected across terminals ACS and AC2. It should be understood that when thyristors Q3 and Q~ are operating in a blocking state (i.e. during zero crossings), the impedance of switch encoder 12 is substantially higher than the impedance of the load (i.e. power circuit 20 connected with lamp 18).
Capacitor C4 and resistor R~2 are series connected and are together coupled across the cathode and anode of thyristor Q3. The center point of the capacitor C4 and resistor R~2 branch is coupled at node A
to the gate of thyristor Q3 through bilateral switch Q~. Correspondingly, capacitor C6 and resistor Rio are series connected and together are coupled across the cathode and anode of thyristor Q~ with their center point at node B coupled to the gate of thyristor Q~ through bilateral switch Q2.
Switch SW3 operates as the main on/off switch for lamp 18, such that when switch SW3 is closed (or depressed), the AC voltage waveform across terminal AC3 and node C is applied to lamp 18 and when switch SW3 is open (or non-depressed), lamp 18 is disconnected from AC
power line. Most of the description of the operation of dimmer 10 which follows will assume that switch SW3 is closed (or depressed). Switch SW~, when closed (or depressed) connects capacitor C5 in parallel with capacitor C4. Switch SW2, when closed (or depressed) connects capacitor C ~ o in parallel with capacitor C6. Finally, capacitor C9 and resistor R~4 form a snubber network which serves to protect thyristors Q3 and Q~, as is conventionally known.
When both switches SW~ and SW2 are open (or non-depressed) and switch SW3 is closed (or depressed), the voltage waveform V23 (FIG. 3a) generated across terminals AC2 and AC3 exhibits a very slight zero crossing step characteristic (i.e. as results from waveform chopping) due to the standard turn-on characteristics of bilateral switches Q~ and Q2, as is conventionally known. Until the voltage at node A exceeds its breakthrough voltage, bilateral switch Q~ will exhibit high forward and reverse resistance and thyristor Q3 will be in a blocking state (i.e. non-conducting). Similarly, until the voltage at node B exceeds its breakthrough voltage, bilateral switch Q2 will exhibit high forward and reverse resistance and thyristor Q~ will be in a blocking state.
In particular, when a positive AC voltage waveform (rising from zero) is applied across terminals ACS and AC3, capacitor C4 will begin charging up until the voltage at node A reaches the breakthrough threshold voltage of bilateral switch Q~ (e.g. 8 volts). Once this breakthrough threshold voltage is reached, bilateral switch Q~ will conduct and the charge of capacitor C4 will be transferred onto the gate of thyristor Q3, turning thyristor Q3 on. This causes a small zero crossing delay 100, followed by an abrupt increase in the voltage waveform V23 or a small "step" 102 at the point where the breakover threshold voltage is met. It should be noted that the duration of small zero crossing step delay 100 of voltage waveform V23 in FIG. 3a has been somewhat exaggerated for illustrative purposes. The inventors have determined that when the exemplary circuit values of switch encoder 12 listed above are employed, the duration of small zero crossing step delay 100 has a phase angle of less than 1 degree.
Once thyristor Q3 conducts, switch encoder 12 will enter into a low impedance state and the voltage waveform V23 generated across terminals AC2 and AC3 will mirror the AC voltage waveform provided by the AC power line across terminals AC ~ and AC3 for the rest of the positive cycle of the AC waveform. When the AC voltage waveform provided across terminals AC ~ and AC3 falls back towards its negative cycle, the current passing through thyristor Q3 will drop below the thyristor holding current and thyristor Q3 will enter into a blocking state again.
An analogous waveform characteristic will be produced for the subsequent negative voltage cycle due to the corresponding operation and polarity of bilateral switch Q2 and thyristor Q~ and the corresponding configuration of switch SW2, capacitors C6 and Coo and resistor Rio.
Accordingly, the resulting voltage waveform V23 generated across terminals AC2 and AC3 will be generated as shown in FIG. 3a. It should be noted that the small zero crossing delay 100 has an insignificant effect on the character of the AC voltage waveform provided by the AC power line due to its short duration and the fact that very low energy characteristics are associated with an AC voltage waveform close to its zero crossing.
When switch SW~ is closed (or depressed) and SW2 is open (or non-depressed) and on/off switch SW3 is closed (or depressed), the voltage waveform V23 generated across terminals AC2 and AC3 will exhibit a more pronounced zero crossing step during its positive cycle (FIG.
3b). When switch SW~ is closed, capacitor C5 will be connected in parallel with capacitor C4 which will increase the time that it takes bilateral switch Q ~
to turn on. The increase in effective capacitance due to the parallel connection of capacitors C5 and C4 will result in a longer turn-on time for bilateral switch Q~ which then turns thyristor Q3 on. Thus, a more pronounced thyristor-switched positive going zero crossing step delay 104 will result, as shown in FIG. 3b. The duration of positive going zero crossing step delay 104 of voltage waveform V23 in FIG. 3b has been somewhat exaggerated for illustrative purposes. It should be noted that the values of capacitors C4, C5 and resistor R~2 are chosen such that the duration of this positive going zero crossing step delay 104 is less than 1/20 of a half cycle period of the voltage waveform generated by the AC power line or so that the phase angle occupied by delay 104 is less than 9 degrees.
When switch SW~ is open (or non-depressed), SW2 is closed (or depressed) and on/off switch SW3 is closed, the voltage waveform V2s generated across terminals AC2 and AC3 will exhibit a more pronounced negative going zero crossing step delay 106 during the negative cycle. When switch SW2 is closed, capacitor C~ o will be connected in parallel with capacitor C6 which will increase the time that it takes bilateral switch Q2 to turn on. The increase in effective capacitance due to the parallel connection of capacitors Coo and C6 will result in a longer turn-on time for bilateral switch Q2 which then turns thyristor Q~ on. Thus, a more pronounced thyristor-switched negative going zero crossing step delay 106 will result.
The resulting voltage V23 is shown in FIG. 3c. The duration of negative going zero crossing step delay 106 of voltage waveform V23 in FIG. 3c has been somewhat exaggerated for illustrative purposes.lt should be noted that the values of capacitors C6, Coo and resistors Rio are chosen such that the duration of the negative going zero crossing step delay 106 is less than 1/20 of a half cycle period of the voltage waveform generated by the AC power line or so that the phase angle of delay 106 is less than 9 degrees.

The inventors have determined that the exemplary component values listed for switch encoder 12 generate positive and negative going zero cross step delays 104 and 106, such that each delay has a duration of approximately 7 degrees. However, with suitable component values, the inventors have determined that the positive and negative going zero cross step delays 104 and 106 can have a much lower phase delay (eg. 0.5 degrees) and still be suitable for encoding information, as long as the duration of the small zero crossing step delay 100 has a sufficiently short duration so as to be distinguishable from the positive and negative going zero cross step delays 104 and 106.
When both switches SW~ and SW2 are closed (or depressed), and on/off switch SW3 is closed, the voltage waveform V23 generated across terminals AC2 and AC3 will exhibit pronounced positive and negative going zero crossing step delays 104, 106. This occurs due to the combined action of both thyristor circuits described above. The duration of the zero crossing step delays 104, 106 are together less than 1/20 of the full period of the AC
voltage waveform generated by the AC power line. The resulting voltage waveform V23 is shown in FIG. 3d. It should be noted that while this waveform is not utilized by decoder 14 to change lamp running conditions (as will be described), it should be understood that it would be possible to utilize this signal to provide additional functionality such as by turning lamp 18 on and off (instead of using on/off switch SW3).
Once switches SW~ and SW2 are returned to their normal non-depressed positions and on/off switch SW3 is closed, the AC voltage waveform V23 of FIG. 3a is again provided across terminals AC2 and AC3. In this way, switch encoder 12 produces different AC voltage waveforms V2s (corresponding to configurations of switches SW~ and SW2) for transmission over existing power wires running from an installed light switch to fixture 24. It should be noted that when these distinct AC signals are provided to lamp power terminal 26 of incandescent lamps or gas discharge lamp ballasts, these devices will continue to operate in a normal fashion. The inventors have determined that as long as the duration of the positive and negative going zero crossing step delays 104 and 106 each have a phase angle of less than 9 degrees, the energy lost due to the step will not have any appreciable effect on the operation or light output of lamp 18. This is due in part to the fact that very low energy is associated with an AC voltage waveform close to its zero crossing. Further, depending on the particular lamp 18 and power circuit 20, the inventors have found that this signalling technique generates low signal distortion.
Thus, switch encoder 12 is "transparent" to a load which consists of either an incandescent lamp or a ballast and gas discharge lamp. That is, the load will not notice the changes in input power waveform and will continue to operate normally regardless of whether the applied voltage signal is a normal full wave AC signal, or any of the encoded voltage waveforms V23 shown in FIGS. 3a, 3b, 3c, 3d. However, the changes in waveform can be used for signalling and hence control, without creating any significant RF pollution and without being particularly susceptible to noise.
It should be noted that it is possible to effect "one-switch"
dimming protocol which is common to European lighting applications, by replacing one switch (e.g. SW2) and its associated circuitry (e.g. bilateral switch Q2, thyristor Q ~, capacitors C6 and C ~ o, and resistor R ~ o) with a simple diode configuration within decoder 12. Accordingly, encoded voltage waveform V23 will be generated containing only small zero crossing step delays 100 and positive zero crossing step delays 104.
FIG. 4 is a schematic diagram of decoder 14. Decoder 14 includes a microcontroller Quo, such as PIC 12c 509 manufactured by Microchip Technology Inc. of Chandler, Arizona, U.S.A., which can be readily programmed for various applications, as is well known. Further, decoder 14 also includes a bridge rectifier BRA, transistors Q5 and Q~2, optocoupler OCR, zener diode D~, diode D4, capacitors C~, C2 and C3, and resistors R~, R2, R3, R4, R5, R6, R~, R9, R~~, R~8, R~9. Decoder 14 receives encoded voltage signal V23 across terminals AC2 and AC3 and outputs a dimming control voltage V~ for a standardized 0 to 10 volt interface according to the appropriate dimming standard across terminals LAMPS and LAMP2 to load controller 16 (not shown in FIG. 4). Specifically, inventors have found that the following component values provide desirable operation of decoder 14:
DesignationDescription DesignationDescription (or (or Part No.) Part No.) Q~2 2N3906 R4 33 k~2 D~ 5.1 volts R5 33 k~2 D4 1 N4148 R6 100 k0 C~ 100 nF R~ 10 k~2 C2 47 NF R9 2 k~2 C3 47 NF R~~ 10 kf~

R~ 2 k~2 R~$ 51 k~2 R2 47 k~ R~9 10 k0 The encoded voltage waveform V23 across terminals AC2 and AC3 is applied to full wave bridge rectifier BRA through resistors R4 and R5 and is regulated by zener diode D~ and filter capacitor C2. Capacitor C2 provides energy to decoder 14 and serves to regulate the supply voltage while the encoded voltage waveform V23 is below the voltage on capacitor C2. Diode D4 shields this regulated voltage from appearing at its anode. As a result, the center point of the voltage divider formed by resistors R2 and R~
will not provide enough voltage at the base of transistor Q5 and transistor Q5 will not conduct. This will result in node D being pulled "high" through resistor R6. Thus, while the absolute value of encoded voltage waveform V2s is below a certain threshold voltage VT, node D will remain "high". Once the absolute value rises above the threshold voltage VT, transistor Q5 will turn on and node D will be pulled "low" to ground. In this way a voltage pulse waveform Vp is produced at node D having pulses with pulse widths that correspond to the time that encoded voltage waveform V23 is less than threshold voltage VT.
Microcontroller Quo has pin 1 connected to a positive supply voltage (e.g +5.1 volts) and pin 8 connected to ground and to power supply through capacitor C~. Input pin 2 is connected to node D at the collector of transistor Q5 such that voltage pulse waveform Vp is provided to microcontroller Quo. As discussed, voltage pulse waveform Vp is high when the absolute value of encoded voltage waveform V23 is below the threshold value VT and is low when encoded voltage waveform V23 is above the threshold value VT. Input pin 6 is connected to terminal AC2 through resistor R3 and the input signal at pin 6 is used by microcontroller Quo to distinguish between the positive and negative cycles of encoded voltage waveform V23.
The threshold voltage VT is chosen so that it is lower than the absolute value of the encoded voltage waveform V23 immediately after a positive or negative going zero crossing step delay 104 or 106 has occurred (e.g. threshold voltage VT is approximately 12 volts in the present example).
Since the encoded voltage waveform V23 rises in a rapid step-like manner following a zero crossing step delay 104 or 106, the time at which encoded voltage waveform V23 exceeds the threshold voltage VT will be an accurate determination of the time at which the "step" of the zero crossing step delay 104 or 106 occurs.
Now referring to FIGS. 5a, 5b and 5c, the operating characteristics of microcontroller Quo which determine whether a positive or a negative going zero crossing step delay 104 and 106 has been encoded in encoded voltage waveform V23 will be discussed. It should be understood that various methods of detecting positive or negative going zero crossing step delays 104 and 106 could be implemented by appropriately programming microcontroller Quo, as would be conventionally known.
In a preferred method, however, Microcontroller Quo first determines whether a zero crossing step delay (i.e. either positive or negative going 104 or 106) is present in encoded voltage waveform V23 by monitoring voltage pulse waveform Vp at pin 2. If a zero crossing step delay 104 or 106 has been detected, microcontroller Q~o determines from the input at pin 6 whether the encoded voltage waveform V23 being input through resistors R5 and R3 at pin 6 is being detected during a positive or negative cycle using a known circuit configuration. Finally, microcontroller Q~o is programmed so that output pin 5 provides a pulse width modulated (PWM) voltage signal VPwM having a pulse width that depends on the inputs received at pins 2 and 6, as will be described.
A sample encoded voltage waveform V23 is shown in FIG. 5a and the corresponding voltage pulse waveform Vp generated at node D of decoder 14 is shown in FIG. 5b. Microcontroller Quo has an internal clock speed of 4 MHz and is programmed to sample voltage pulse waveform Vp every 8 microseconds. Microcontroller Quo is programmed to identify the falling edge of voltage pulse waveform Vo as shown in the timing diagram of FIG. 5c. As shown, the time span between successive falling edges is determined (e.g. to, to +x, to - x, etc.) The inventors have determined that by calculating the time difference between the time spans between successive pairs of falling edges of voltage pulse waveform Vp,, it is possible to accurately determine whether a zero crossing step delay (i.e. one of a positive or a negative going zero crossing step delay 104 or 106) has occurred. This determination can be accomplished in spite of frequency variations that commonly exist in AC power mains.
As an illustration, half cycles P, Q and S each have small zero crossing step delays 100 and half cycle R has a positive zero crossing step delay 104 (FIG. 5a). As previously described, voltage pulse waveform Vp is generated such that the duration of each zero crossing step delay 100 or 104 is represented by the pulse width of the corresponding pulses T, U, V, and W (FIG. 5b). Specifically, the longer duration of positive going zero crossing step delay 104 is reflected in the longer pulse width of the pulse V.
The time span between the falling edge of pulses T and U is to (at X), the time span between the falling edge of pulses U and V is (to + x) (at Y), and the time span between the falling edge of pulses V and W is (to - x) (at Z) as shown in FIG. 5c. It should be noted that x is the difference between delays 100 and 104.
Accordingly, the absolute time difference between time spans Y and X is x and the time difference between time spans Z and Y is 2x. It should be understood that as long as switch SW~ is depressed, positive going zero crossing step delays 104 will continue and the corresponding time difference between future time spans will remain at 2x due to the "lopsided" character of the full cycle of the resulting encoded voltage waveform V23 (FIG. 5a). Correspondingly, if switch SW2 is depressed and held, the time difference between the time spans between two successive pairs of falling edges will be x for one initial cycle and then remain at 2x.
Further, if both switches SW~ and SW2 are depressed, both positive and negative going zero crossing step delays 104 and 106 will occur, and the time difference between time spans between successive pairs of falling edges will become approximately the same (i.e. there will be no difference between them) since the full cycle of the resulting encoded voltage waveform V23 is now "balanced" (as it in the case where no step delays 104 or 106 are present).
In the example given, where delay 104 is 7 degrees and delay 100 is approximately 1 degree, then for a 60 Hz signal, x will be .27 milliseconds. This time difference x (or double this time difference 2x for future cycles where switch SW~ continues to be depressed) is compared to a threshold duration (e.g. 40 microseconds). The threshold is selected so that detection accuracy can be maintained even in the presence of frequency variations that commonly exist in AC power mains. If the time difference is greater than the threshold duration then a zero crossing step delay (i.e.
either positive or negative going 104 or 106) has been detected. If it is less than this threshold duration then the encoded voltage waveform V2s consists of an unmodified AC waveform. If a zero crossing step delay has been detected then microcontroller Quo determines from the input at pin 6 whether the encoded voltage waveform V23 being input through resistors R5 and R3 at pin 6 containing the zero crossing step delay was detected during a positive or negative cycle using a known circuit configuration.
If a positive going zero crossing step delay 104 (i.e. a zero crossing step delay in a positive cycle), then switch SW~ must have been depressed (indicating that lighting intensity should be reduced) and accordingly, microcontroller Quo will decrease the pulse width of the PWM
voltage waveform VPwM pulses at pin 5. If a negative going zero crossing step delay 106 (i.e. a zero crossing step delay in a negative cycle), then switch SW2 must have been depressed (indicating that lighting intensity should be increased) and microcontroller Quo will increase the pulse width of the PWM voltage waveform VPwM pulses at pin 5. If either none or both step delays 104 and 106 are detected, microcontroller Quo will remain inactive.
Microcontroller Q ~ o has been programmed such that when switch SW3 of dimmer 10 is closed from an opened state, lamp 18 will receive maximum power. Subsequently, the operation of switches SW~ and SW2 will serve to dim and brighten lamp 18. However, it should be noted that by appropriately adapting and programming microcontroller Q ~o, many different lighting control protocols may be implemented.
Referring back to FIG. 4, PWM voltage waveform VPs from pin 5 of microcontroller Q~ is applied to cathode of the LED of optocoupler OCR
and the anode of the LED is connected to the power supply (e.g. +5.1 volts) through resistor R~. It should be noted that optocoupler OCR is used to provide isolation between load controller 16 and the AC power line-fed decoder 14. As is conventionally known, when current flows through optocoupler OCR, light is emitted by the LED and is received by the phototransistor detector. The amount of light received determines the amount of current allowed to pass from the collector to the emitter of the phototransistor detector. By decreasing (increasing) the pulse width of PWM
voltage waveform VpWM, the average current flow through resistor R9 will be proportionally decreased (increased).
Thus, in conjunction with a standardized 0-10 volt interface acting as a voltage sources a proportional control voltage V~ will be generated at terminals LAMPS and LAMP2 which depends on the pulse width of PWM voltage waveform VPwM. Any resulting ripple in control voltage V~ is smoothed by filter capacitor C3. It should be noted that microcontroller Quo changes the value of the output at pin 5 in accordance with the inputs at pins 2 and 6 at fixed intervals of time so that a user can effect dimming in discrete time intervals. It should be noted that the voltage generated across terminals LAMPS and LAMP2 is between 0 and 10 volts in accordance with the well known 0-10 volt standard dimming protocol. As conventionally known, a number of dimming steps (e.g. 30~ are provided within the 0 to 10 volt range, with each step having a fixed duration (e.g. 300 milliseconds).
"Brown-out" protection is provided by a commercially available sub-circuit comprising transistor Q~2 and resistors R~~, R~8 and R~9, manufactured by Microchip Technology Inc. This sub-circuit resets microcontroller Quo in the event of momentary drops in the power supply (provided at pin 1). If the voltage supply provided to the voltage divider comprising resistors R~8 and R~9 is at or below a certain operational level (as defined by the values of resistors R~$ and R~9), there will not be enough voltage at the center point of this voltage divider, and therefore not enough current to drive transistor Q~2. As a result, pin 4 of microcontroller Quo will be held low by resistor R~~ and consequently, microcontroller Quo will be reset.
When the voltage supply is high enough for transistor Q~2 to conduct, pin 4 will be pulled "high" through transistor Q~2.
When both switches SW~ and SW2 are open (non-depressed) and switch SW3 is first closed, the voltage waveform V23 of FIG. 3a will be generated by switch encoder 12 and provided to terminals AC2 and AC3. As previously described, microcontroller Quo determines whether a zero crossing step delay (i.e. either positive or negative going 104 or 106) has been detected and if so whether it was detected in a positive or negative cycle of encoded voltage waveform V23_ Since the positive and negative cycles of encoded voltage waveform V23 have only small zero crossing steps 100, microcontroller Quo will set the pulse width of PWM voltage waveform VPWM and the value of control voltage V~ initially to a maximum level. They will remain unchanged as long as neither switches SW~ nor SW2 are closed. Accordingly, load controller 16 will operate on the basis of the maximum control voltage V~ and will maintain the running conditions of lamp 18 through power circuit 18 at this level indefinitely.

When switch SW~ is closed (depressed), the positively encoded voltage waveform V23 of FIG. 3b will be generated by switch encoder 12 and provided to terminals AC2 and AC3. It should be noted that when a user depresses switch SW~, switch encoder 12 will produce this encoded voltage waveform V23 within one full AC cycle, that is, before the user can physically release switch SW~ to ensure operational reliability.
Microcontroller Quo will determine the time difference between the time spans between successive pairs of falling edges and compare this time difference to the threshold duration, as previously discussed. Since the measured time difference will be longer than the threshold duration, microcontroller Q~o will determine that a full zero crossing step delay 104 or 106 exists.
Based on the input received at pin 6, microcontroller Quo will then determine that a positive cycle is being detected and consequently that positive going zero crossing step delays 104 have been encoded.
Accordingly, the pulse width of PWM voltage waveform VPWM pulses and the value of control voltage V~ will be decreased and laad controller 16 will alter the running conditions of lamp 18 through power circuit 18 to dim lamp 18.
As previously described, if the user continues to depress switch SW~, dimmer 10 will reduce the intensity of lamp 18 in gradual steps (e.g. three light intensity steps per second). By appropriately selecting the size of the steps and their frequency, the overall dimming characteristic can achieve a smoothed quality due to capacitor C3.
When switch SW2 is closed (depressed) and switch SW~ i s opened (non-depressed), the negatively encoded voltage waveform V23 of FIG. 3c will be generated by switch encoder 12 and provided to terminals AC2 and AC3. Since encoded voltage waveform V23 has zero crossing step delays 106, microcontroller Q~owill determine the time difference between the time spans between successive pairs of falling edges and compare the time difference to the threshold duration. Sincg the measured time difference will be longer than the threshold duration, microcontroller Quo will determine that a full zero crossing step delay 104 or 106 exists.

Based on the input received at pin 6, microcontroller Quo will further determine that a negative cycle is being detected and consequently that negative going zero crossing step delays 106 have been encoded.
Accordingly, the pulse width of PWM voltage waveform VPs pulses and the value of control voltage V~ will be increased and load controller 16 will alter the running conditions of lamp 18 through power circuit 20 to increase the intensity of lamp 18. As previously described, if the user continues to depress switch SW2, dimmer 10 will increase the intensity of lamp 18 in gradual steps (e.g. every 2 or 3 seconds).
When both switches SW~ and SW2 are closed (depressed), dimming control 12 generates the positively and negatively encoded voltage waveform V23 of FIG. 3d. Since both full "steps" 104, 106 are present, the time difference between the time spans between successive pairs of falling edges will be approximately the same and microcontroller Quo will remain inactive until one of the switches is released. In order to turn lamp 18 off, user must then open switch SW3 so as to disconnect power to lamp 18.
As previously discussed, it is possible to effect a "one-switch"
dimming protocol by eliminating one switch (e.g. SW2) and its associated circuitry (e.g. bilateral switch Q2, thyristor Q~, capacitors C6 and Coo, and resistor Rio) in decoder 12. Since an encoded voltage waveform V23 will be generated containing small zero crossing step delays 100 and positive zero crossing step delays 104 only, microcontroller Quo of a corresponding decoder 14 will no longer be required to distinguish between the positive and negative cycles of encoded voltage waveform V23 to determine when switch SW~ has been pressed. According to the "one-switch" dimming protocol, load controller 16 would be instructed by microcontroller Q~o to cycle through increased and decreased lighting intensity.
FIG. 6a shows an exemplary load controller 16a for use in association with an incandescent lamp 18 and power circuit 20. Load controller 16a comprises a microcontroller 40, timer circuit 42 and a triac Q 15~ It should be noted that while a simple dimming method for incandescent lamps has been chosen for illustrative purposes, load controller 16a may be adapted to incorporate various other known incandescent dimming circuitry.
Microcontroller 40 may be any commercially available programmable device such as a Motorola 6800 microcontroller, although it should be understood that any type of logic circuit with similar operating functions can be utilized. Storage of program instructions and other static data is provided by a read only memory (ROM) 44, while storage of dynamic data is provided by a random access memory (RAM) 46. Both memory units 44 and 46 are controlled and accessed by microcontroller 40.
Timer 42 is a widely used Model 555 timer which utilizes an RC oscillator to produce a constant timing frequency signal. An applied reference signal produces a first polarity output. An opposite polarity output is produced at a time thereafter determined by an applied DC level.
Triac Q~5 is a conventionally bidirectional thyristor or a triac. It should be understood that triac Q~ o could be any other type of semiconductor switching element, such as a single thyristor or two thyristors arranged in anti-parallel configuration. Triac Q~5 is connected in series with lamp 18 to control the application of power from lamp power terminal 26 to lamp 18 in a known manner. When triac Q~5 is mostly conducting, a maximum amount of power (approximately 95%) is delivered to lamp 18. When triac Q~5 is mostly not conducting, a minimum amount of current (approximately 5%) flows through lamp 18. By controlling the period of conduction of triac Q~5, the current through lamp 18 can be varied between the dim and full lamp current values. Power circuit 20a simply effects electrical connections between lamp power terminal 26 and triac Q~5 of load controller 16a and lamp 18, as shown.
Microcontroller 40 operates in accordance with the voltage present across terminals LAMPS and LAMP2. Microcontroller 40 uses timer circuit 42 to generate a gate signal which, when applied to the gate of triac Q~S, will affect the time of firing (or the electrical conduction angle) of triac Q15~ BY controlling the time of firing of the triac Q~S, microcontroller 40 can control the percentage of time lamp 18 is on, and thus the intensity of lamp brightness.
Microcontroller 40 is programmed to poll the voltage present across terminals LAMPS and LAMP2, on a regular basis, such as (e.g.) every .1 seconds. Microcontroller 40 will generate a sharp pulse to time triac Q~5 after a certain time T after a zero crossing in accordance with the control voltage V~ present across terminals LAMPS and LAMP2. Current will flow through lamp 18 after time T and until the next zero crossing such that the average power delivered to lamp 18 can be controlled by varying time T. If microcontroller 40 detects an increased or decreased control voltage V~, microcontroller 40 is programmed to appropriately increase or decrease, respectively time T at which microcontroller 40 will fire triac Q~5 in a step-wise manner. Microcontroller 40 will adjust time T until no further change is detected across terminals LAMPS and LAMP2 or until a maximum or minimum brightness is reached. Each increment step has a duration of (e.g.) approximately 300 microseconds (e.g. for a standard 0-10 volt protocol) to allow the user sufficient time to select the appropriate brightness for lamp 18.
As long as both switches SW~ and SW2 are open, the voltage present across terminals LAMPS and LAMP2 will remain constant at a particular control voltage V~. Accordingly, microcontroller 40 will simply apply the appropriate frequency to the gate of triac Q ~ 5. If switch SW~ is depressed then microcontroller 40 will detect a decreased control voltage V~ and will decrease the frequency of the gating signal accordingly. If switch SW2 is depressed then microcontroller 40 will detect an increased control voltage V~ across terminals LAMPS and LAMP2 and increase the frequency of the gating signal accordingly.
FIG. 6b shows an exemplary load control 16b adapted for use with a ballast-type gas discharge lamp 18. Load control 16b utilizes a microcontroller 50 and a timer 52 to change the operating oscillation frequency or duty cycle of the inverter signal of a typical electronic ballast.
Microcontroller 50 is of similar specification to microcontroller 40 with ROM
51 and RAM 53. It should be noted that although the following discussion relates to the adaptation of a very simple and typical electronic ballast, it is possible to adapt the present invention within any type of lamp ballast by suitably controlling ballast power.
Power circuit 20b comprises a typical electronic ballast, as is well known, and includes a bridge rectifier 54, a boost converter 56, an inverter 58 and a resonance circuit 60. AC power from lamp power terminal 26 is passed through bridge rectifier 54 and into boost converter 56. Boost converter 56 provides a regulated voltage to inverter 58. Inverter 58 changes the DC voltage to AC voltage at high frequencies and includes transistors Qi~ and Qi2 at its output. The signal generated by transistors Qi~ and Qi2 is typically applied to resonance circuit 60. Resonance circuit 60 is directly coupled to lamp 18 and is commonly used to avoid the necessity of an output transformer. Dimming is typically achieved by varying the frequency of operation of inverter 58 by controlling the operation of transistors Qi~ and Qi2.
Microcontroller 50 and timer 52 are configured to form a voltage controlled oscillator which changes the oscillation frequency or duty cycle of ballast power, in response to the control voltage V~ across terminals LAMPS and LAMP2. Specifically, microcontroller 50 provides a variable square wave output to drive transistors Qi~ and Qi2 of inverter 58 to change the frequency of operation of inverter 58. By varying the frequency of the square wave output of microcontroller 50, the operational frequency of inverter 58 is suitably affected.
As previously described, microcontroller 50 regularly polls to check the control voltage V~ present across terminals LAMPS and LAMP2 and provide a control voltage to inverter 58 such that the running conditions of lamp 18 are adjusted to correspond with the level indicated by control voltage V~.
Accordingly, dimmer 10 can be adapted for use with a variety of lamps including gas discharge, halogen and incandescent lamps, using an appropriate load controller 16a or 16b and an appropriate power circuit 20a or 20b.

FIG. 2 may be depicted more generally in association with a control circuit 84 as shown in FIG. 7. Terminal ACS is connected to an encoder 82 such that an encoded voltage waveform V23 is generated across terminals AC2 and AC3. Encoder 82 contains a switch 80 which is controlled by control circuit 84. In FIG. 2, encoder 82 is switch encoder 12 and switch 80 is comprised of switches SW~, SW2 and SW~. Control circuit 84 may include a microcontroller or other automatic control apparatus for controlling the operation of switches SW~, SW2 and SW3.
As described, positive going zero crossing step delays 104 as shown in FIG. 3b or negative going zero crossing step delays 106 as shown in FIG. 3c have been used for signalling and hence control, but as always, without significantly affecting the energy of the relevant half cycle of the AC
power waveform. As discussed, while the AC supply voltage from the mains may fluctuate, such fluctuations will not affect the operation of dimmer 10 since they have little or no influence on the ability of microcontroller Quo to accurately detect the presence of zero crossing step delays 104, 106 which are used for signalling and control. In addition, the method described introduces insignificant harmonic distortion into the power waveform, and insubstantially affects the power factor since any such distortion due to the step characteristic occur in the vicinity of zero crossings of the AC power waveform and thus have relatively low power attributes. As mentioned, the method is transparent to the load, which treats each encoded voltage waveform V23 as if it were an unmodified AC waveform.
It will be realized, however, that other methods can be used for signalling which have all or substantially all of the advantages of the system described above. Sequences such as that shown in FIGS. 8a and 8b can be generated by the circuit of FIG. 7, using an appropriate control circuit 84 having a suitably programmed microcontroller for controlling switches SW~, SW2 and SW3 with high timing precision. As should be conventionally understood, there are many ways of encoding sequences which can represent, and be suitably decoded, as code words (e.g. simple binary code).

For example, as shown in FIG. 8a, the AC power waveform can be encoded to generate an encoded voltage waveform V23 with a fixed number of full wave cycles (e.g. 1) with small zero crossing step delays 100 (the full cycle being representing a "zero") and a fixed number of full wave cycles (e.g. 1) with negative going zero crossing steps 106 (the full cycle representing a "one"). As discussed above, the steps of zero crossing valuation and detection of the falling edges of voltage pulse waveform Vp could be performed in respect of the fixed number of full AC power waveform cycles (e.g within one full AC power waveform cycle in this example).
Assuming that a full AC power waveform cycle starts with the zero crossing of the positive half-cycle, the time difference between time spans between successive pairs of falling edges within a full cycle can be used for decoding.
By evaluating whether there is a zero or non-zero time difference between the two successive pairs of falling edges within one full AC power waveform cycle, it is possible to determine whether a "zero" or a "one" has been transmitted. That is, if there is a non-zero time difference then a "one" has been transmitted and if there has been a zero time difference than a "zero" has been transmitted. Obviously, many other combinations of the different possible encoded waveforms V23 could be utilized to generate an analogous code (e.g. using small zero crossing step delays 100 ("zero") with positive going zero crossing steps 106 ("one") and assuming a full AC power waveform cycle begins with a negative cycle, etc.) Another possible method of encoding an AC power waveform to generate a code would be to generate an encoded voltage waveform V2s having a fixed number of full wave cycles (e.g. 1) which either contain positive going zero crossing steps 104 (which can be considered as a "one") or contain negative going zero crossing steps 106 (which can be considered as a "zero"), as shown in FIG. 8b. As discussed above, the steps of zero crossing valuation and detection of the falling edges of voltage pulse waveform Vp could be performed on each fixed number of full wave cycles (e.g within one full AC power waveform cycle in this example).

Assuming that a full AC power waveform cycle starts with the zero crossing of the positive half-cycle, the time difference between time spans between successive pairs of falling edges within the full cycle can be used for decoding.
If the time span between the first pair of falling edges is shorter than the time span between the second pair of falling edges (a "positive"
time difference), then a positive going zero crossing step delay 104 has occurred to shorten the time lapse between the first pair of edges (i.e. a "one"). Similarly, if the time span between the first pair of falling edges is longer than the time span between the first pair of falling edges (a "negative"
time span), then a negative going zero crossing step delay 106 has occurred to shorten the time lapse between the second pair of edges (i.e. a "zero").
To continue with these exemplary methods, FIGS. 8a and 8b waveforms can be decoded by any appropriate decoder that includes circuitry similar to that used by decoder 14 of FIG. 4. Microprocessor Quo would be additionally programmed to determine whether there is a zero or non-zero time difference or a positive or negative time difference between the time spans between successive pairs of falling edges of voltage pulse waveform Vp (depending on the particular code protocol utilized) as described above and as would be apparent to someone skilled in the art.
Further, such a decoder could be adapted to provide an appropriate control signal V~ to the load controller 16 or to any other load controlled by the system.
Moreover, if desired, a single encoder 82 can be used to control more than one lamp or electrical device as shown in FIG. 9. This can be accomplished by using a similar encoder 82 and control circuit 84 arrangement of FIG. 7 in association with two separate sets of decoders 14a, 14b, load control circuits 16c and 16d to independently control two loads 18a and 18b. Terminals AC2, AC3 are connected through a common set of wires 90 to two decoders 14a, 14b which in turn are connected to respective dimming interfaces or load control circuits 16c, 16d, which in turn are connected to lamps 18a, 18b.
Control circuit 84 can be programmed to cause encoder 82 to generate output waveform sequences of no crossing step delays and positive going step delays 104 to effect the code protocol illustrated in FIG.
8a or encoder 82 can be causes to generate output waveform sequences of positive and negative going zero crossing steps delays 104 and 106 to effect the protocol illustrated in FIG. 8b. These codes can contain addresses, as conventionally known, to direct certain control words to a particular lamp 18a or 18b. Specifically, control circuit 84 can cause encoder 82 to transmit a code for use by decoder 14a to control load control circuit 16c which controls lamp 18a. Similarly, control circuit 84 can cause encoder 82 to transmit a code for use by decoder 14b to control load control circuit 16d which controls lamp 18b.
In all cases, power for both loads is conducted along the common wires 90 and may be unmodified AC or may be the particular sequences of positive and negative going zero crossing steps delays 104 and 106 which are also used for control, as discussed above. Control circuit 84 could contain any appropriate user-friendly interface, e.g. two slide switches, or a single slide switch operated in one direction to operate lamp 18a and in the other direction to operate lamp 18b (if the loads are intended to operate only alternatively), with appropriate programming. Similarly, three or more loads can be powered and controlled along a common set of wires, by using sufficient selected sequences of small zero crossing step delays 100, positive or negative going zero crossing step delays 104 and 106 as codes, for control, and for power. In all cases, the energy of each half cycle will be substantially the same as for corresponding half cycles of the unmodified AC waveform.
It is of course important in all cases, and particularly in the circuit shown in FIG. 9, to ensure that the total harmonic distortion (in the transmitted AC waveform) does not exceed a selected limit, preferably 20%
and more preferably 10%. In addition, the method used for signalling should not reduce the power factor of the transmitted waveform (at terminals AC2, A3) below 90% as compared with the power factor of the input waveform (at terminals ACS, AC3). Further, it is important that minimal high frequency components for signalling (e.g. minimal frequency components above about 100 kHz should have low power). However, desirably, each half cycle of the signal is used for signalling (e.g. positive or negative going zero crossing step delays 104 or 106 as shown in FIGS. 3b and 3c, or coded as shown in FIG. 8). This arrangement does not substantially affect the power factor, introduces substantial harmonic distortion, does not substantially change the energy of the power signal, does not require any additional wiring, and is relatively simple to use in practice.
FIGS. 10A, 10B, and 10C illustrate the operational current waveform I (i.e. current flowing through switch encoder 12 and decoder 14), switch encoder 12 voltage waveform VSE, and decoder voltage waveform Vp when dimmer 10 is coupled to a load (i.e. lighting ballast power circuit 20 or directly to a lamp 18) with a power factor of one. As previously discussed, switch encoder 12 selectively creates zero crossing step delays in a transmitted AC waveform when switch SW~ and/or SW2 are depressed.
These step delays are preferably small and accordingly either thyristor Q3 or Q~ will be conducting for most of the time. As is conventionally known, thyristor Q3 or Q~ will stop conducting once operational current I drops below the thyristor's holding current, which is approximately zero. When there is no current flow, switch encoder 12 will present a high impedance and the load will have a relatively low impedance. The AC supply voltage across hot wire 21 and neutral wire 22 of AC power line will then appear primarily across switch encoder 12 instead of across the load.
Switch encoder 12 of FIG. 2 generates a delay in the current waveform I immediately after the zero crossing point in the current waveform (see FIG. 10A). Accordingly, the voltage VSE will appear across the switch encoder 12 (FIG. 10B) consisting of a step in voltage after the zero crossing in the operational current. Also, the voltage Vp will appear across the load (FIG. 10C) consisting of a zero crossing step delay superimposed on the AC
supply voltage waveform at that given moment. Subsequently, switch encoder 12 will transition into the low-impedance mode again (i.e. when another of the thyristors Q3 or Q~ is conducting) and decoder 14 will see a step in the voltage after current zero crossing. It should be noted that for loads with a unity power factor (resistive loads), current and voltage waveforms are in phase and the step in voltage at decoder 14 or Vp, will appear right after the voltage zero crossing.
FIGS. 11A, 11B, and 11C illustrate the operational current waveform I (i.e. current flowing through switch encoder 12 and decoder 14), switch encoder 12 voltage waveform VSE, and decoder voltage waveform Vp when dimmer 10 is coupled to a load (i.e. lighting ballast power circuit 20 or directly to a lamp 18) with a power factor other than one. For these kinds of loads, current and voltage waveforms are not in phase and the current zero crossing point does not coincide with the voltage zero crossing point.
Consequently, the voltage step at the load V~ shifts. It should be noted however, that the voltage VSE across switch encoder 12 is unaffected, since voltage VSE only reacts to the current waveform and accordingly is not affected by the power factor of the load.
It should be understood that decoder 14 cannot practically monitor current instead of the voltage. This is because current flows through switch encoder 12 and decoder 14 only in the case of a single decoder system. In the case where multiple decoders are placed in parallel, switch encoder 12 will conduct the sum of the current of each decoder and generate a step immediately after this sum experiences a zero crossing.
The current flowing through each load would not necessarily be a fraction of this sum, depending on the characteristics of the load. While the current is interrupted by the transmitter, equalizing current can flow from one load to another (e.g. capacitive loads) and accordingly the use of a decoder which monitors current instead of voltage is not an viable option. It is, however, an option for switch encoder 12 and it is possible to design a switch encoder 12 that generates the step after the voltage zero crossing, as will be discussed. Another option that will be presented, is to track and identify the step anywhere in the voltage waveform.

FIG. 12 shows a block diagram of an alternative switch encoder 112, which has been designed to overcome the above-noted difficulty associated with loads which do not have unity power factors and which can be used in association with decoder 14 of FIG. 4. In this case, switch encoder 112 requires access to both hot wire 21 and neutral wire 22 of the AC source at terminals ACS and AC3 in order to sense the voltage zero crossing. Switch encoder 112 includes a microcontroller Q~ 10, a MOSFET
driver 122, back to back configured MOSFETs MOSFET~ and MOSFET2, an independent power supply 124, current limiting resistor R~ and input device 126.
Microcontroller Q ~ ~ o is implemented by a PIC 12c 509 manufactured by Microchip Technology Inc. of Chandler, Arizona, U.S.A., which can be readily programmed for various applications, as is well known. Microcontroller Q~~o receives input from input device 126 (e.g.
keypad with buttons, a PC or other controlling device) either directly or through serial port communication (i.e. RS 232). Power is supplied to microcontroller Quo by power supply 124 and synchronization with the input AC voltage waveform is achieved by coupling the input AC voltage waveform to microcontroller Quo through current limiting resistor R~, as is conventionally known.
Microcontroller Q~~o is coupled to a conventional MOSFET
driver 122 which is used to operate MOSFETs s MOSFET~ and MOSFET2 in a conventional manner. It should be noted that SCRs or triacs cannot be practically used within switch encoder 112. This is because these devices cannot be switched off once they are conducting current and switch encoder 112 interrupts the AC waveform after the voltage zero crossing (i.e.
regardless of the current at that particular moment). Accordingly, MOSFETs generally are more conductive for application in switch encoder 112, due to their low operational resistance. However, power MOSFETs have an internal parasitic diode which requires the use of two MOSFETs MOSFET~ and MOSFET2 back to back, in order to eliminate the effect of these diodes.
When microcontroller Q~~o senses a voltage zero crossing, microcontroller Q ~ ~ o opens the MOSFETs MOSFET~ and MOSFET2 (i.e. so they do not conduct) for a certain duration in order to generate a step signal in the voltage signal produced across terminals AC2 and AC3 for transmission to decoder 14 of FIG. 4. In this way, digital communication can be established in the form of dimming commands to a ballast as previously disclosed. If the principal behaviour of the load is known (i.e. inductive or capacitive behaviour) and only one signal bit is required per full waveform, then only one of MOSFETs MOSFET~ and MOSFET2 is required and MOSFET driver 122 is not required. This substantially reduces the complexity and cost of switch encoder 112.
Since switch encoder 112 always generates a step right after the voltage zero crossing, switch encoder 112 is able to establish communication to decoder 14, regardless of the power factor associated with the load. The only disadvantage of this approach is that switch encoder 112 will interrupt the current if the power factor of the load is not unity.
That is, when there is a phase shift between the load's voltage and current, when the voltage is zero and it is desired to generate a step, the current will not be zero (i.e. might be lagging and has not yet crossed the zero current point or is leading and is already positive). As is conventionally known, sharp discontinuities in current can cause electromagnetic interference. However, since the power factor of modern lighting loads is generally reasonably close to unity, this phenomenon is not significant. As stated earlier, electronic ballasts typically show a phase shift of only 100 microseconds.
The step in current is therefore less than 4% of its peak value, which can easily be controlled by filter means. For comparison purposes, dimmers for incandescent lamps generate steps with a magnitude of the peak current when chopping at 90° phase angle.
FIG. 13 is a schematic diagram of an alternative decoder 114 which has been designed to overcome the above-noted difficulty associated with loads which do not have unity power factors and which can either be used in association with switch encoder 12 of FIG. 2 or with the switch encoder 112 of FIG. 12.

Decoder 114 includes a microcontroller Q2~o such as PIC
12c671 (manufactured by Microchip Technology Inc. of Chandler, Arizona, U.S.A.), which includes an analog to digital converter (ADC) and which can be readily programmed for various applications, as is well known. Decoder 114 also includes a voltage regulator circuit ICS, a comparator circuit IC2, and a memory circuit IC3. Further, decoder 114 also includes a bridge rectifier BRA, zener diode Z~, diode D2, capacitors C~, C2, C3, C4, and C5 and resistors R ~ , R2, R 3, R4, R 5A, R5B, R 6, R ~, R8, R9, R ~ o, R~ ~ , R ~ 2.
Decoder 114 receives encoded voltage signal V24 across terminals AC2 and AC3 and outputs a dimming control voltage V~ for a standardized 0 to 10 volt interface according to the appropriate dimming standard across terminals LAMP
and LAMP2 to load controller 16 (not shown in FIG. 13). Specifically, inventors have found that the following component values provide desirable operation of decoder 114:
DesignationDescription DesignationDescription (or (or Part No.) Part No.) Z~ 15 volts R5B 15 k~

D2 1 N4007 R6 30 kf~

C~ 10 nF R~ 1 Mf2 C2 2 NF R8 680 k~

C3 220 nF R9 750 k~

C4 220 nF R~o 10 k~2 C5 100 nF R~ ~ 10 k~2 R~ 200 kD R~2 1 M~

R2 200 ks2 ICS VB406 R3 10 k~ IC2 LMV331 R4 1 k~ IC3 24C00 R5A 3 ks2 BRA DF005-DF10 The encoded voltage waveform V23 across terminals AC2 and AC3 is applied to full wave bridge rectifier BRA and the output of the full wave bridge rectifier BRA is applied to a voltage divider circuit consisting of resistors R~, R2 and R3. The SIGNAL output is derived at the node between resistors R2 and R3. Capacitor C~ acts along with resistors R~, R2, and R3 as a low pass filter for the SIGNAL output and diode D2 isolates capacitor C2 from this SIGNAL network such that instantaneous voltage can be measured. The voltage regulator ICS is configured with resistors R4 and R5 as is conventionally known to provide a regulated voltage at PIN 2. Capacitor C2 is used to maintain a relatively smooth high voltage level at PIN 2.
The SIGNAL output of the voltage divider network of resistors R~, R2 and R3 is provided to the analog-to-digital converter of microcontroller Q2~o (i.e. at PIN 7). Information about the sign of the AC voltage waveform is derived by using a large value current limiting resistor R~2 as is provided in the operational specification of microcontroller Q2~o. The sign information as well as the SIGNAL input are used by microcontroller Q210 to generate a corresponding pulse width modulated (PWM) signal is provided at PIN 5, as will be described.
Microcontroller Q2~o samples and records the AC voltage waveform at a maximum sample rate. It is noteworthy that a low-cost microcontroller could spend most of its processing power carrying out the sample and recording steps throughout the waveform cycle. However, the step in voltage is expected to appear around the voltage zero crossing, even if switch encoder 12 or 112 is synchronized to the current zero crossing, due to good load power factors. Accordingly, the step in voltage would roughly be expected to occur in a relatively narrow time region A around the voltage zero cross as illustrated in see FIG. 14 and microcontroller Q2~o can be programmed only to sample and record data points within region A.
Consequently, during the peaks of the AC voltage waveform (i.e. the wide time region B in FIG. 14) there is therefore enough time for data processing, even using low-cost microcontrollers.
Accordingly, within the wide time region B, microcontroller Q2~o can be utilized to analyze the data recorded and to detect the presence of a step in voltage, if applicable. As is conventionally known, the sine of a value is approximately the value itself for small values (i.e. sin (x) is approximately x for a small x). The derivative of the AC waveform as recorded within the small time region A will therefore be almost constant and the data recorded will roughly fall within a straight line (see points on line A in FIG. 15A).
Decoder 114 utilizes microcontroller Q2~o to interpolate the approximately linear data by averaging the first few data points and the last few data points and calculating the values of the interpolated line A as shown in FIG. 15A.
Microcontroller Q210 then subtracts the actual waveform (Curve B in FIG.
15A) from the interpolated line to produce a resultant line C as shown in FIG.15B.
Microcontroller Q2~o then performs a simple form of pattern recognition to identify a step characteristic in the waveform as shown in FIG.
15C and 15D. One way of performing such a simple form of pattern recognition is to analyze the slope of the derivative of the waveform (i.e.
the slope of the waveforms shown in FIGS. 15A and 15B as represented by curve D in FIG. 15C). A step is characterized by a sudden increase in slope (positive) followed by a steep fall (negative) of curve D as depicted in the values E in the slope gradient plot shown in FIG. 15D. It is preferable to associate a probability with the result from the pattern detection algorithm, such as step detected with a likelihood of 85%', since this information can be valuable for the optimal data error correction. A Viterbi decoder with soft-decision for example can utilize such probability information.
Resistors R~o and R~~ are used in association with PINS 2 and 3, respectively to couple microcontroller Q2~o to a memory circuit IC3 which can be implemented by memory chip 24C00 (manufactured by Microchip Technology Inc. of Chandler, Arizona, U.S.A.) Memory IC3 can be used to store valuable information to allow for customization of decoder 114 for a particular installation of lighting devices. For example, in a lighting matrix, unique address information for each individual lighting element can be stored along with specific brightness and fade settings for a particular lighting scene recognizable by microcontroller Q210~ The use of memory chip IC3 allows for the en masse production of a generic version of decoder 14 which can then be programmed for specific data to be recorded within memory IC3.
The output PWM signal from microcontroller Q210 IS then provided to an output circuit which converts the PWM signal into a conventional 0 to 10 volt lighting control signal. Specifically, the PWM
signal is provided across a resistor/capacitor network consisting of resistors RSB, R6 and C3. Capacitor C3 is charged by the PWM signal up to a maximum of 2/3 of the value of the upper voltage of the PWM signal. It should also be noted that the time constant within this network is equivalent to (R5B
parallel to R6 times C3). Accordingly, the signal provided to PIN 1 of the comparator circuit IC2 is of reduced amplitude and has been low pass filtered. This is necessary in order to reduce the range of the input signal provided to PIN1 to within the operational range (i.e. 0 to 2/3 * 5 volts) of comparator circuit IC2.
Comparator circuit IC2 effectively compares the value of the signal on PIN 1 with the value of the signal on PIN 3 and if the value on PIN
1 exceeds that on PIN 3, then the internal transistor of comparator circuit is triggered and capacitor C4 is shorted through resistor R9 to ground.
Otherwise, the internal transistor is not triggered and the voltage across LAMPS and LAMPZ is not altered by this output circuit. The specific comparative value set at PIN 3 is set through the comparative values of resistors R~ and R8 and accordingly the specific relative values of these resistors along with the relative values of resistors R5B and R6 are chosen so that the range of signals provided to comparator circuit ICZ falls within the operational range of the device. Zener diode Z~ is configured within decoder 114 as a protection diode which ensures that the voltage across terminals LAMPS and LAMP2 does not appreciably exceed 10 volts as is conventionally known.
Typical lamp ballasts feature current sources with a certain impedance which will cause the voltage across the terminals LAMPS and LAMP2 towards a value of 10 volts. When the internal transistor of comparator circuit IC2 is open then capacitor C4 will rapidly charge up to the value of 10 volts. When the internal transistor of comparator circuit IC2 is shorted (i.e. when the amplitude adjusted PWM signal rises above the preset comparative threshold established by resistors R~ and R8) capacitor C4 will discharge and accordingly, a representative 0 to 10 volt signal will be provided across terminals LAMPS and LAMP2 for input to load controller 16, as previously discussed.
Accordingly, in contrast to decoder 14, decoder 114 can operate in association with a load that has a non-unity power factor. The additional cost associated with decoder 114 is a result of adding an analog-to-digital converter to the decoder 14 circuit and is normally not a substantial. It should be noted that the main difference between the operation of decoder 14 and decoder 114 is that decoder 114 uses measurement of the AC waveform to determine the location of the step delay in the encoded voltage waveform. It should be understood that it is contemplated that decoder 14 could be configured with alternative back end circuitry to adapt the PWM signal to any required power controlling input signal for a lighting device and that the 0 to 10 volt standard is simply an illustrative example for implementation.
In addition to providing dimming control for lighting ballasts and lamps, the present invention may also be used to control any type of conventional AC powered general household devices. Since dimmer 10 provides an AC signal, dimmer 10 can be directly employed with any AC
devices. In this way, such household devices can be controlled by a device interface comprising any logic circuit which can differentiate between the signals described and which controls the device accordingly. Control of such devices may be achieved using a stand-alone computer or other remote control device connected to a wall outlet and does not require the installation of special switches or the running of separate communication wires to the device.
Finally, although the preferred embodiment has been described in connection with a two phase 60 Hz power line, the principle of the present invention can be applied to multiple-phase configurations, e.g.

three phase configurations.
As will be apparent to persons skilled in the art, various modifications and adaptations of the structure described above are possible without departure from the present invention, the scope of which is defined in the appended claims.

Claims (44)

WE CLAIM:
1. A dimmer circuit for controlling an electrical lighting device having a load input, said dimmer circuit including:

(a) a power input terminal coupled to a first wire of an AC
power line, said AC power line generating an input AC
waveform across said first wire and a second wire, said input AC waveform having a selected waveform energy, said input AC waveform having a succession of zero crossings, (b) an encoding circuit coupled to said input terminal for selectively wave chopping the half cycles of said input AC waveform adjacent said zero crossings of input AC

waveform to generate a plurality of output waveforms across an output terminal and said second wire, said output waveforms including said input AC waveform having at least some half cycle zero crossing step delays, each output waveform having a waveform energy substantially the same as said selected waveform energy, (c) a controller coupled to said encoding circuit and operative to cause said encoding circuit to produce across said output terminal and said second wire a selected one of said output waveforms, (d) said load input being adapted to be coupled to said output terminal and to said second wire for receiving said selected output waveform so that said selected output waveform provides operational power to said electrical lighting device, and (e) a decoder adapted to be coupled to said output terminal and to said second wire and to said electrical lighting device and responsive to the selected output waveform from said encoding circuit for controlling said electrical lighting device.
2. A dimmer circuit according to claim 1 wherein said output waveforms include said input AC waveform having at least some positive half cycle zero crossing step delays.
3. A dimmer circuit according to claim 1 wherein said output waveforms include said input AC waveform having at least some negative half cycle zero crossing step delays.
4. A dimmer circuit according to claim 1 wherein said output waveforms include said input AC waveform having at least some positive half cycle zero crossing step delays and at least some negative half cycle zero crossing step delays.
5. A dimmer circuit according to any of claims 1 to 4 wherein each said half cycle step delay begins immediately after a zero crossing of said input AC waveform.
6. A dimmer circuit according to claim 1 wherein the sequence of said half cycle zero crossing step delays in said output waveform comprises a code.
7. A dimmer circuit according to claim 1 wherein said output waveforms include said input AC waveform having a plurality of positive half cycle zero crossing step delays and a plurality of negative half cycle zero crossing step delays, the sequence of said positive and negative zero crossing step delays in said output waveform comprising a code.
8. A dimmer circuit according to claim 1 wherein the length of each of said half cycle zero crossing step delays has a phase angle equal to or less than 9 degrees.
9. A dimmer circuit according to claim 1 wherein each of said output waveforms has total harmonic distortion of less than or equal to 20%.
10. A dimmer circuit according to claim 1 wherein the power factor of each of said output waveforms differs from the power factor of said input AC waveform by less than 10%.
11. A dimmer circuit according to claim 1 wherein said encoding circuit includes at least one controlled rectifier configured within said encoding circuit so as to provide a full half cycle of said input AC
waveform when conducting and to chop said half cycle of said input AC
waveform when non-conducting.
12. A dimmer circuit according to claim 11 wherein said encoding circuit includes a first controlled rectifier being forward connected so as to provide the full positive half cycle of said input AC waveform when conducting and to chop said positive half cycle of said input AC waveform when non-conducting and a second controlled rectifier being reverse connected so as to provide the full negative half cycle of said input AC
waveform when conducting and to chop said negative half cycle of said input AC waveform when non-conducting.
13. A dimmer circuit according to claim 12 wherein said encoding circuit includes a triggering circuit responsive to said controller for selectively delaying the turn-on said first controlled rectifier so as to produce a first output waveform comprising said input AC waveform having positive half cycle zero crossing step delays and the turn-on of said second controlled rectifier to produce a second output waveform comprising said input AC waveform having negative half cycle zero crossing step delays.
14. A dimmer circuit according to claim 13 wherein said controller comprises at least one manually operated switch coupled to said encoding circuit for controlling said triggering circuit so that said first wire of AC power line is normally connected to said power output through conducting said first and second controlled rectifiers, and for momentarily delaying the turn-on of at least one of said first and second controlled rectifiers so as to selectively produce said first and second waveforms.
15. A dimmer circuit according to claim 14 wherein said controller includes a microcontroller coupled to said encoding circuit for controlling the sequence of the positive and negative half cycle zero crossing step delays of the output waveform produced across said power output terminal and said second wire.
16. A dimmer circuit according to claim 1 wherein said output waveforms include said input AC waveform having small zero crossing step delays.
17. A dimmer circuit according to claim 16 wherein said decoder includes a zero crossing detection circuit for generating a voltage pulse waveform having pulses with pulse widths corresponding to the duration of any small zero crossing step delays, positive half cycle zero crossing step delays, and negative half cycle crossing step delays present in output waveform.
18. A dimmer circuit according to claim 17 wherein said decoder further includes an edge detector for detecting the falling edge of the pulses of said voltage pulse waveform.
19. A dimmer circuit according to claim 18 wherein said decoder further includes a processor for calculating the time difference between the time spans between successive pairs of said falling edges and determining whether the time difference is longer than a threshold length of time.
20. A dimmer circuit according to claim 19 wherein said decoder further includes a phase detector for determining whether a falling edge was present within one of a positive half cycle and a negative half cycle.
21. A dimmer circuit according to claim 1 wherein said decoder includes a microcontroller for detecting a voltage step in the selected output waveform in proximity of a zero crossing and for generating a voltage waveform that contains representation of the duration of any zero crossing step delays present in the selected output waveform.
22. A dimmer circuit according to claim 1, wherein said microcontroller generates a voltage pulse waveform having pulses with pulse widths corresponding to the duration of any zero crossing step delays present in the selected output waveform.
23. A dimmer circuit according to claim 21 wherein for each cycle of the selected output waveform, said microcontroller is programmed to execute a plurality of steps to detect a voltage step in the selected output waveform, said steps comprising:

(a) averaging the initial few and the last few data points of the selected output waveform within the cycle;

(b) interpolating a first sample waveform based on the results in (a);

(c) subtracting the selected output waveform from the sample line to form a second sample waveform; and (d) performing pattern recognition to identify a step in the second sample waveform.
24. A dimmer circuit according to claim 23 wherein step (d) comprises analyzing the slope of the second sample waveform to determine if there is a sudden increase in slope followed by a sudden decrease in slope.
25. A dimmer circuit according to claim 1 wherein said load control circuit includes a lead for applying power to said electrical lighting device.
26. A dimmer circuit according to claim 1 wherein said electrical lighting device is connected across said output terminal and said second wire and includes a further control circuit connected to said load control circuit and responsive to the operation thereof for controlling said electrical lighting device.
27. A dimmer circuit for controlling an electrical lighting device having a load input, said dimmer circuit including:

(a) a power input terminal coupled to a first and second wires of an AC power line, said AC power line generating an input AC waveform across said first and said second wires, said input AC waveform having a selected waveform energy, said input AC waveform having a succession of zero crossings, (b) an encoding circuit coupled to said input terminal including at least one switching transistor having substantially zero resistance when closed and a microcontroller, said microcontroller opening said at least one switching transistor at voltage zero crossings of said input AC waveform for selectively wave chopping the half cycles of said input AC
waveform adjacent said zero crossings of input AC
waveform to generate a plurality of output waveforms across first and second output terminals, said output waveforms including said input AC waveform having at least some half cycle zero crossing step delays, each output waveform having a waveform energy substantially the same as said selected waveform energy, (c) a controller coupled to said encoding circuit and operative to cause said encoding circuit to produce across said first and second output terminals, a selected one of said output waveforms, (d) said load input being adapted to be coupled to said first and second output terminals for receiving said selected output waveform so that said selected output waveform provides operational power to said electrical lighting device, and (e) a decoder adapted to be coupled to said first and second output terminals and to said second wire and to said electrical lighting device and responsive to the selected output waveform from said encoding circuit for controlling said electrical lighting device.
28. A dimmer circuit according to claim 26 wherein said output waveforms include said input AC waveform having at least some positive half cycle zero crossing step delays.
29. A dimmer circuit according to claim 27 wherein said output waveforms include said input AC waveform having at least some negative half cycle zero crossing step delays.
30. A dimmer circuit according to claim 27 wherein said output waveforms include said input AC waveform having at least some positive half cycle zero crossing step delays and at least some negative half cycle zero crossing step delays.
31. A dimmer circuit according to any of claims 27 to 30 wherein each said half cycle step delay begins immediately after a zero crossing of said input AC waveform.
32. A dimmer circuit according to claim 27 wherein the sequence of said half cycle zero crossing step delays in said output waveform comprises a code.
33. A dimmer circuit according to claim 27 wherein the length of each of said half cycle zero crossing step delays has a phase angle equal to or less than 7 degrees.
34. A dimmer circuit according to claim 27 wherein said controller comprises at least one manually operated switch coupled to said encoding circuit for controlling said triggering circuit so that said first and second wires of AC power line are normally connected to said power output through conducting said at least one switching transistor, and for momentarily delaying the turn-on of at least one switching transistor so as to selectively produce said first and second waveforms.
35. A dimmer circuit according to claim 27 wherein said controller includes a microcontroller coupled to said encoding circuit for controlling the sequence of the positive and negative half cycle zero crossing step delays of the output waveform produced across said power output terminal and said second wire.
36. A dimmer circuit according to claim 27 wherein said decoder includes a zero crossing detection circuit for generating a voltage pulse waveform having pulses with pulse widths corresponding to the duration of any zero crossing step delays present in output waveform.
37. A method of controlling an electrical lighting device at a first location connected to an AC power line at a second location, said AC power line having first and second wires and providing an AC waveform across said first and second wires, said AC waveform having a selected waveform energy and a succession of zero crossings, said method including the steps of:
(a) selectively wave chopping the half cycles of said input AC waveform adjacent said zero crossings to generate a plurality of output waveforms, said output waveforms including said AC waveform having at least some half cycle zero crossing step delays, (b) selectively transmitting one of said output waveforms from said second location across said first and second wires to said electrical lighting device, to provide operational power to said electrical lighting device, (c) decoding said power waveforms at said first location, and controlling said electrical lighting device in accordance therewith.
38. A method according to claim 37 wherein step (a) further comprises the steps of selectively wave chopping positive half cycles of said input AC waveform adjacent said zero crossings to produce a first output waveform consisting of the AC waveform with positive half cycle zero crossing step delays and selectively wave chopping negative half cycles of said input AC waveform adjacent said zero crossings of said input AC
waveform to produce a second output waveform consisting of the AC
waveform with negative half cycle zero crossing step delays.
39. A method according to claim 37 wherein said output waveforms include said input AC waveform with small half-cycle zero crossing step delays.
40. A method according to claim 37 wherein the step of decoding further comprises the steps of:
(d) generating a voltage pulse waveform having pulses with pulse widths corresponding to the duration of any said small zero crossing step delays, said positive half cycle zero crossing step delays, and said negative half cycle crossing step delays present in output waveform, (e) detecting the falling edge of the pulses of said voltage pulse waveform, calculating the time difference between the time spans between successive pairs of said falling edges, and (f) determining whether said time difference is longer than a threshold length of time.
41. A method according to claim 37 wherein the step of decoding further comprises the step of determining whether a falling edge was present within one of a positive half cycle and a negative half cycle.
42. A method according to claim 37, including using said first and second output waveforms to increase and decrease the brightness of said electrical lighting device.
43. A method according to claim 37 wherein the step of decoding further comprises the steps of:
(d) generating a voltage pulse waveform having pulses with pulse widths corresponding to the duration of any said positive half cycle zero crossing step delays, and said negative half cycle crossing step delays present in output waveform;

(e) modulating the operating voltage for the electrical lighting device according to said voltage pulse waveform.
44. A method according to claim 43 wherein step (d) comprises the steps of:
(f) averaging the initial few and the last few data points of the selected output waveform within the cycle;
(g) interpolating a first sample waveform based on the results in (f);
(h) subtracting the selected output waveform from the sample line to form a second sample waveform; and (i) performing pattern recognition to identify a step in the second sample waveform.
CA002345456A 2001-04-27 2001-04-27 Method and apparatus for controlling lights Abandoned CA2345456A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CA002345456A CA2345456A1 (en) 2001-04-27 2001-04-27 Method and apparatus for controlling lights

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CA002345456A CA2345456A1 (en) 2001-04-27 2001-04-27 Method and apparatus for controlling lights

Publications (1)

Publication Number Publication Date
CA2345456A1 true CA2345456A1 (en) 2002-10-27

Family

ID=4168921

Family Applications (1)

Application Number Title Priority Date Filing Date
CA002345456A Abandoned CA2345456A1 (en) 2001-04-27 2001-04-27 Method and apparatus for controlling lights

Country Status (1)

Country Link
CA (1) CA2345456A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1494507A1 (en) * 2003-07-01 2005-01-05 TridonicAtco GmbH & Co. KG Digital interface with a potentiometer
WO2011054552A1 (en) * 2009-11-04 2011-05-12 Osram Gesellschaft mit beschränkter Haftung Method for transmitting a control information item from a control device to a lamp unit and a lighting system suitable therefor, and a lamp unit and a control device
WO2011138476A2 (en) * 2010-05-07 2011-11-10 Ernesto Garcelan Rodriguez Remote control device with narrow-band communication using the electrical grid

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1494507A1 (en) * 2003-07-01 2005-01-05 TridonicAtco GmbH & Co. KG Digital interface with a potentiometer
US7466084B2 (en) 2003-07-01 2008-12-16 Tridonicatco Gmbh & Co. Kg Digital interface with potentiometer
WO2011054552A1 (en) * 2009-11-04 2011-05-12 Osram Gesellschaft mit beschränkter Haftung Method for transmitting a control information item from a control device to a lamp unit and a lighting system suitable therefor, and a lamp unit and a control device
US8217589B2 (en) 2009-11-04 2012-07-10 Osram Gesellschaft Mit Beschrankter Haftung Method for transmitting control information from a control device to a lamp unit as well as a corresponding illuminating system, lamp unit and control device
CN102656948A (en) * 2009-11-04 2012-09-05 欧司朗有限公司 Method for transmitting a control information item from a control device to a lamp unit and a lighting system suitable therefor
CN102656948B (en) * 2009-11-04 2014-12-03 欧司朗有限公司 Method for transmitting a control information item from a control device to a lamp unit and a lighting system suitable therefor
WO2011138476A2 (en) * 2010-05-07 2011-11-10 Ernesto Garcelan Rodriguez Remote control device with narrow-band communication using the electrical grid
WO2011138476A3 (en) * 2010-05-07 2012-08-02 Ernesto Garcelan Rodriguez Remote control device with narrow-band communication using the electrical grid

Similar Documents

Publication Publication Date Title
US6225759B1 (en) Method and apparatus for controlling lights
US20230131904A1 (en) Digital load control system providing power and communication via existing power wiring
US6727662B2 (en) Dimming control system for electronic ballasts
US7847440B2 (en) Load control device for use with lighting circuits having three-way switches
US8143806B2 (en) Multiple location dimming system
US8129976B2 (en) Load control device having a gate current sensing circuit
EP2170014B1 (en) Multiple location load control system
US12075535B2 (en) Load control device configured to operate in two-wire and three-wire modes
US4682083A (en) Fluorescent lamp dimming adaptor kit
EP0427709B1 (en) Power control circuit
CA2607559C (en) Dimmer for use with a three-way switch
US8390435B2 (en) Apparatus for controlling integrated lighting ballasts in a series scheme
JPS6373870A (en) Power control system
CN1407842A (en) Dimmers for compact fluorescent lamps
WO2006006085A1 (en) Lamp-dimming through bypassing of phase-cutting
CA2345456A1 (en) Method and apparatus for controlling lights
US6181072B1 (en) Apparatus and methods for dimming gas discharge lamps using electronic ballast

Legal Events

Date Code Title Description
FZDE Discontinued