Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
POWER SUPPLY FOR A LOAD CONTROL DEVICE
Document Type and Number:
WIPO Patent Application WO/2012/016119
Kind Code:
A1
Abstract:
A load control device adapted to be coupled between an AC power source and an electrical load for controlling the power delivered to the load includes a power supply having an energy storage capacitor (C out) and a charge pump circuit (222) adapted to conduct an input charging current through the load and to conduct an output charging current through the energy storage capacitor to thus generate a DC supply voltage (Vcc) across the energy storage capacitor, where the output charging current has a magnitude greater than the input charging current. The charge pump circuit includes a switched capacitor (C10-C60) operable to charge through the load during a first half -cycle, and to discharge into the energy storage capacitor in a second, subsequent half -cycle. The charge pump circuit operates at line frequency and the magnitude of the input charging current is substantially small so as to avoid generating noise in a noise - sensitive circuit of the load control device.

Inventors:
CARMEN DANIEL F (US)
Application Number:
PCT/US2011/045851
Publication Date:
February 02, 2012
Filing Date:
July 29, 2011
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
LUTRON ELECTRONICS CO (US)
CARMEN DANIEL F (US)
International Classes:
H02M5/293; H02M1/08
Foreign References:
US5903139A1999-05-11
US20050062441A12005-03-24
US20100052894A12010-03-04
US20350008A2008-09-03
US5982103A1999-11-09
US7362285B22008-04-22
Attorney, Agent or Firm:
DUJMICH, Louis C. et al. (1180 Avenue of the AmericasNew York, New York, US)
Download PDF:
Claims:
What is claimed is: CLAIMS

1. A load control device adapted to be coupled between an AC power source and an electrical load for controlling the power delivered to the load, the load control device comprising:

a controllably conductive device adapted to be coupled between the source and the load for controlling the power delivered to the load;

a controller operatively coupled to a control input of the controllably conductive device for rendering the controllably conductive device conductive and non-conductive; and

a power supply coupled in parallel with controllably conductive device for generating a DC supply voltage for powering the controller when the controllably conductive device is non-conductive, the power supply comprising an energy storage capacitor and a charge pump circuit adapted to conduct an input charging current through the load and to conduct an output charging current through the energy storage capacitor to thus generate the DC supply voltage across the energy storage capacitor, the output charging current having a magnitude greater than the input charging current.

2. The electronic switch of claim 1, wherein the charge pump circuit comprises a first switched capacitor that is operable to charge by conducting the input charging current through the load in a first half-cycle, and to discharge into the energy storage capacitor in a second, subsequent half-cycle, such that the energy storage capacitor conducts the output charging current.

3. The electronic switch of claim 2, wherein the first switched capacitor is operable to charge during the positive half-cycles of the AC power source, and to discharge into the energy storage capacitor during the negative half-cycles.

4. The electronic switch of claim 3, wherein the charge pump circuit further comprises a second switched capacitor that is operable to charge during the negative half-cycles, and to discharge into the energy storage capacitor during the positive half-cycles.

5. The electronic switch of claim 4, further comprising:

a first switching device coupled between the first switched capacitor and the energy storage capacitor, the first switching device rendered conductive during the negative half-cycles, such that the first switched capacitor discharges into the energy storage capacitor during the negative half-cycles; and

a second switching device coupled between the second switched capacitor and the energy storage capacitor, the second switching device rendered conductive during the positive half-cycles, such that the second switched capacitor discharges into the energy storage capacitor during the positive half-cycles.

6. The electronic switch of claim 4, wherein the second switching device is rendered conductive in response to the first switched capacitor conducting the input charging current during the positive half-cycles.

7. The electronic switch of claim 2, wherein the charge pump circuit comprises a second switched capacitor coupled in series with the first switched capacitor during the positive half-cycles of the AC power source, such that the first and second switched capacitors conduct in the input charging current during the positive half-cycles.

8. The electronic switch of claim 7, wherein the first and second switched capacitors are operable to be electrically coupled in parallel during the negative half-cycles, such that each of the capacitors conducts a discharge current, the energy storage capacitor operable to conduct the discharge current of each of the switched capacitors during the negative half-cycles, such that the energy storage capacitor conducts the output charging current, which is the sum of the discharge currents of the switched capacitors.

9. The electronic switch of claim 2, further comprising:

a switching device coupled between the first switched capacitor and the energy storage capacitor, the switching device rendered conductive in response to the first switched capacitor conducting the input charging current during the second half-cycle, such that the first switched capacitor discharges into the energy storage capacitor during the second half-cycle.

10. The electronic switch of claim 1, wherein the controllably conductive device comprises a relay for turning the load on and off, the power supply operable to generate the DC supply voltage when the load is off.

11. The electronic switch of claim 10, further comprising:

a current limit circuit coupled in series with the charge pump circuit for limiting the magnitude of the leakage current conducted through the load.

12. The electronic switch of claim 11, wherein electrical load comprises a lighting load and the current limit circuits limits the magnitude of the leakage current to a maximum leakage current such that the lighting load is not illuminated when the relay is non-conductive.

13. The electronic switch of claim 12, wherein the maximum leakage current is less than approximately one milliamp.

14. The electronic switch of claim 10, further comprising:

an in-line power supply coupled in series with the relay, the in-line power supply further coupled to the energy storage capacitor for controlling when the energy storage capacitor charges in order to generate the DC supply voltage across the energy storage capacitor when the relay is conductive;

wherein a voltage developed across the in-line power supply when the energy storage capacitor is charging has a substantially small magnitude as compared to a peak voltage of an AC line voltage of the AC power source, the energy storage capacitor adapted to conduct the load current for at least a portion of a line cycle of the AC power source when the relay is conductive.

15. The electronic switch of claim 1, further comprising:

an occupancy detection circuit for detecting the presence or absence of an occupant in the space around the electronic switch;

wherein the controller is operable to turn the lighting load off in response to the occupancy detection circuit detecting the absence of the occupant in the space.

16. The electronic switch of claim 15, wherein the controller is operable to turn the lighting load on in response to the occupancy detection circuit detecting the presence of the occupant in the space.

17. A power supply for a two-wire load control device adapted to be coupled between an AC power source and an electrical load for controlling the power delivered to the load, the power supply comprising:

at least two switched capacitors adapted to be electrically coupled in series during a first half-cycle, such that the series-connected capacitors conduct a first charging current, the switched capacitors further adapted to be electrically coupled in parallel during a second, subsequent half-cycle, such that each of the capacitors conduct an individual discharge current; and

an energy storage capacitor operable to store a DC supply voltage and to conduct the discharge currents of each of the switched capacitors during the second half-cycle, such that the energy storage capacitor conducts a second charge current, which is the sum of the discharge currents of the switched capacitors and has a magnitude greater than the magnitude of the first charging current.

18. The power supply of claim 17, further comprising:

a switching device operatively coupled in between the switched capacitors and the energy storage capacitor and rendered conductive during the second half-cycle, such that the switched capacitors conduct the discharge currents into the energy storage capacitor when the switching device is conductive during the second half-cycle.

19. The power supply of claim 17, wherein the energy storage capacitor is coupled in series with the switched capacitors during the first half-cycle to conduct the first charging current.

20. The power supply of claim 17, further comprising:

two additional switched capacitors adapted to be electrically coupled in series during the second half-cycle, such that the additional series-connected capacitors conduct a third charging current, the additional switched capacitors further adapted to be electrically coupled in parallel during the first half-cycle to each conduct discharge currents into the energy storage capacitor; wherein, during the first half-cycle, the energy storage capacitor conducts a fourth charge current that has a magnitude greater than the magnitude of the first charging current.

21. A power supply for a two-wire load control device adapted to be coupled between an AC power source and an electrical load for controlling the power delivered to the load, the power supply comprising:

a first switched capacitor operable to charge during the positive half-cycles of the AC power source;

a second switched capacitor operable to charge during the negative half-cycles of the AC power source; and

an energy storage capacitor for storing a DC supply voltage, the energy storage capacitor coupled to the first and second switched capacitors, such that the first and second switched capacitors are operable to discharge into the energy storage capacitor during the negative and positive half-cycles, respectively, and the DC supply voltage is produced across the energy storage capacitor.

22. The power supply of claim 21, further comprising:

a first switching device operatively coupled in between the first switched capacitor and the energy storage capacitor and rendered conductive during the negative half-cycles, such that the first switched capacitor is operable to discharge into the energy storage capacitor during the negative half-cycles; and

a second switching device operatively coupled in between the second switched capacitor and the energy storage capacitor and rendered conductive during the positive half-cycles, such that the second switched capacitor is operable to discharge into the energy storage capacitor during the positive half-cycles.

23. The power supply of claim 22, wherein the second switching device is rendered conductive in response to the first switched capacitor charging during the positive half-cycles.

24. The power supply of claim 22, further comprising:

a third switched capacitor electrically coupled in series with the first switched capacitor during the positive half-cycles, such that the first and third switched capacitors conduct a first charging current, the first and third switched capacitors further adapted to be electrically coupled in parallel when the first switching device is rendered conductive during the negative half-cycles, such that the first and third switching capacitors are operable to discharge into the energy storage capacitor in parallel; and

a fourth switched capacitor electrically coupled in series with the second switched capacitor during the negative half-cycles, such that the second and fourth switched capacitors conduct a second charging current, the second and fourth switched capacitors further adapted to be electrically coupled in parallel when the second switching device is rendered conductive during the positive half-cycles, such that the second and fourth switching capacitors are operable to discharge into the energy storage capacitor in parallel.

25. A power supply for a load control device adapted to be coupled between an AC power source and an electrical load for controlling the power delivered to the load, the power supply comprising:

an energy storage capacitor for storing a DC supply voltage;

a switched capacitor circuit comprising a switched capacitor and a switching device, the switched capacitor operable to conduct a charging current through the load when the switching device is non-conductive and a discharge current into the energy storage capacitor when the switching device is conductive, the switching device rendered conductive and non-conductive at a predetermined frequency, such that the DC supply voltage is produced across the energy storage capacitor; and a current limit circuit coupled in series with the switched capacitor circuit for limiting the magnitude of the charging current.

26. The power supply of claim 25, wherein the predetermined frequency comprises a line frequency of the AC power source.

27. The power supply of claim 26, wherein the switching device is coupled between the switched capacitor and the energy storage capacitor and is rendered conductive during the negative half-cycles of the AC power source.

28. A load control device adapted to be coupled between an AC power source and an electrical load for controlling the power delivered to the load, the load control device comprising:

a controllably conductive device adapted to be coupled between the source and the load for controlling the power delivered to the load;

a controller operatively coupled to a control input of the controllably conductive device for rendering the controllably conductive device conductive and non-conductive;

a noise-sensitive circuit coupled to the controller, such that the controller is responsive to the noise-sensitive circuit; and

a power supply coupled in parallel with controllably conductive device for generating a DC supply voltage for powering the controller and the noise-sensitive circuit when the controllably conductive device is non-conductive, the power supply comprising an energy storage capacitor and a switched capacitor circuit adapted to conduct an input charging current through the load and to conduct a discharge current through the energy storage capacitor at a predetermined switching frequency to thus generate the DC supply voltage across the energy storage capacitor;

wherein the magnitude of the input charging current and the predetermined switching frequency are both substantially small so as to avoid generating noise in the noise-sensitive circuit.

29. The electronic switch of claim 28, wherein the predetermined frequency comprises a line frequency of the AC power source.

30. The electronic switch of claim 29, wherein the magnitude of the input charging current is less than approximately one milliamp.

31. The electronic switch of claim 28, further comprising:

a current limit circuit coupled in series with the charge pump circuit for limiting the magnitude of the leakage current conducted through the load.

32. The electronic switch of claim 28, wherein the noise-sensitive circuit comprises an occupancy detection circuit for detecting the presence or absence of an occupant in the space around the electronic switch, the controller operable to turn the lighting load off in response to the occupancy detection circuit detecting the absence of the occupant in the space.

Description:
POWER SUPPLY FOR A LOAD CONTROL DEVICE

BACKGROUND OF THE INVENTION Field of the Invention

[0001] The present invention relates to load control devices for control of the power delivered from an alternating-current (AC) power source to an electrical load, and more particularly, to a two-wire electronic switch having a power supply that draws only a small amount of current through the load when the load is off.

Description of the Related Art

[0002] Typical load control devices are operable to control the amount of power delivered to an electrical load, such as a lighting load or a motor load, from an alternating-current (AC) power source. Wall-mounted load control devices are adapted to be mounted to standard electrical wallboxes. A dimmer switch comprises a controllably conductive device (e.g., a bidirectional semiconductor switch, such as, a triac), which is coupled in series between the power source and the load. The controllably conductive device is controlled to be conductive and non-conductive for portions of a half-cycle of the AC power source to thus control the amount of power delivered to the load (e.g., using a phase-control dimming technique). A "smart" dimmer switch (i.e., a digital dimmer switch) comprises a microprocessor (or similar controller) for controlling the semiconductor switch and a power supply for powering the microprocessor. In addition, the smart dimmer switch may comprise a memory, a communication circuit, and a plurality of light-emitting diodes (LEDs) that are all powered by the power supply.

[0003] An electronic switch (i.e., a digital switch) comprises a controllably conductive device (such as a relay or a bidirectional semiconductor switch), a microprocessor, and a power supply. In contrast to a smart dimmer switch, the controllably conductive device of an electronic switch is not controlled using the phase-controlled dimming technique, but is controlled to be either conductive or non-conductive during each half-cycle of the AC power source to thus toggle the electrical load on and off. Often, wall-mounted electronic switches do not require a connection to the neutral side of the AC power source (i.e., the electronic switch is a "two-wire" device). This is particularly useful when the electronic switch is installed in a retro-fit installation (i.e., to replace an existing switch or load control device in an electrical wallbox in which there is no neutral connection).

[0004] In order to charge, the power supply of a two-wire electronic switch must develop an amount of voltage across the power supply. As a result, not all of the AC line voltage of the AC power source is available to power the electrical load and the electrical load may not operate properly. For example, if the electrical load is a lighting load, the lighting load may not be illuminated to the maximum possible intensity. In addition, the power supply must draw current through the controlled electrical load in order to charge, which may cause problems for some types of electrical loads. For example, when the electrical load is a lighting load, the magnitude of the power supply current must not be great enough to cause the lighting load to illuminate or to flicker when the load is being controlled to be off. Further, some electrical loads, such as compact fluorescent lamps, do not conduct sinusoidal currents, and as a result, current cannot be conducted through these electrical loads during certain portions of the line cycle of the AC power source.

[0005] Therefore, there exists a need for an electronic switch that has a controller for turning the load on and off and a single power supply that operates in a manner that does not result in inappropriate operation of the load.

SUMMARY OF THE INVENTION

[0006] According to an embodiment of the present invention, a load control device adapted to be coupled between an AC power source and an electrical load for controlling the power delivered to the load comprises a power supply having an energy storage capacitor and a charge pump circuit adapted to conduct an input charging current through the load and to conduct an output charging current through the energy storage capacitor to thus generate a DC supply voltage across the energy storage capacitor, where the output charging current has a magnitude greater than the input charging r r p nt The* InaH rnntrnl H p i r further comprises a controllably conductive device adapted to be coupled between the source and the load for controlling the power delivered to the load, and a controller operatively coupled to a control input of the controllably conductive device for rendering the controllably conductive device conductive and non-conductive. The power supply is coupled in parallel with controllably conductive device for generating the DC supply voltage for powering the controller when the controllably conductive device is non-conductive.

[0007] According to another embodiment of the present invention, a load control device adapted to be coupled between an AC power source and an electrical load for controlling the power delivered to the load comprises a noise-sensitive circuit, and a power supply comprising an energy storage capacitor and a switched capacitor circuit adapted to conduct an input charging current through the load and to conduct a discharge current through the energy storage capacitor at a predetermined switching frequency to thus generate a DC supply voltage across the energy storage capacitor, where the magnitude of the input charging current and the predetermined switching frequency are both substantially small so as to avoid generating noise in the noise-sensitive circuit. The load control device further comprises a controllably conductive device adapted to be coupled between the source and the load for controlling the power delivered to the load, and a controller operatively coupled to a control input of the controllably conductive device for rendering the controllably conductive device conductive and non-conductive. The noise-sensitive circuit is coupled to the controller, such that the controller is responsive to the noise-sensitive circuit. The power supply is coupled in parallel with controllably conductive device for generating the DC supply voltage for powering the controller and the noise-sensitive circuit when the controllably conductive device is non-conductive.

[0008] In addition, power supply for a two-wire load control device adapted to be coupled between an AC power source and an electrical load for controlling the power delivered to the load is also described herein. The power supply comprises an energy storage capacitor operable to store a DC supply voltage, and at least two switched capacitors adapted to be electrically coupled in series during a first half-cycle, and in parallel during a second, subsequent half-cycle. The

series-connected capacitors conduct a first charging current during the first half-cycle, and each conduct an individual discharge current during the second half-cycle. The energy storage capacitor conducts the discharge currents of each of the switched capacitors during the second half-cycle, such that the energy storage capacitor conducts a second charge current, which is the sum of the discharge currents of the switched capacitors and has a magnitude greater than the magnitude of the first charging current.

[0009] According to another embodiment of the present invention, a power supply for a two-wire load control device adapted to be coupled between an AC power source and an electrical load for controlling the power delivered to the load comprises an energy storage capacitor for storing a DC supply voltage, and first and second switched capacitors operable to charge during the positive and negative half-cycles of the AC power source, respectively. The energy storage capacitor is coupled to the first and second switched capacitors, such that the first and second switched capacitors are operable to discharge into the energy storage capacitor during the negative and positive half-cycles, respectively, and the DC supply voltage is produced across the energy storage capacitor.

[0010] According to another embodiment of the present invention, a power supply for a load control device adapted to be coupled between an AC power source and an electrical load for controlling the power delivered to the load comprises an energy storage capacitor for storing a DC supply voltage, a switched capacitor circuit, and a current limit circuit. The switched capacitor circuit comprises a switched capacitor and a switching device. The switched capacitor conducts a charging current through the load when the switching device is non-conductive, and conducts a discharge current into the energy storage capacitor when the switching device is conductive. The switching device is rendered conductive and non-conductive at a predetermined frequency, such that the DC supply voltage is produced across the energy storage capacitor. The current limit circuit is coupled in series with the switched capacitor circuit for limiting the magnitude of the charging current.

[0011] Other features and advantages of the present invention will become apparent from the following description of the invention that refers to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The invention will now be described in greater detail in the following detailed description with reference to the drawings in which:

[0013] Fig. 1 is a simplified diagram of a radio-frequency (RF) lighting control system comprising a two-wire electronic switch and two remote vacancy sensors according to a first embodiment of the present invention;

[0014] Fig. 2 is a simplified block diagram of the two-wire electronic switch of Fig. 1;

[0015] Fig. 3 is a simplified schematic diagram of an in-line on-state power supply of the two-wire electronic switch of Fig. 2;

[0016] Fig. 4A is a simplified diagram of waveforms illustrating the operation of the power supply of Fig. 3 showing an asynchronous charging current conducted through an output capacitor of the power supply;

[0017] Fig. 4B is a simplified diagram of waveforms illustrating the operation of the power supply of Fig. 3 showing a synchronous charging current conducted through the output capacitor of the power supply;

[0018] Fig. 5 is a simplified schematic diagram of a latching relay, a bidirectional semiconductor switch, a drive circuit, and the in-line on-state power supply of the two-wire electronic switch of Fig. 2;

[0019] Fig. 6 is a simplified schematic diagram of the electronic switch of Fig. 1 showing an off-state power supply and a current limit circuit in greater detail;

[0020] Fig. 7 is a simplified flowchart of a button procedure executed by a controller of the electronic switch of Fig. 2;

[0021] Fig. 8 is a simplified flowchart of an occupancy detection procedure executed by the controller of the electronic switch of Fig. 2; [0022] Fig. 9 is a simplified flowchart of a relay timer procedure executed by the controller of the electronic switch of Fig. 2; and

[0023] Fig. 10 is a simplified flowchart of a bidirectional semiconductor switch (BSS) timer procedure executed by the controller of the electronic switch of Fig. 2.

DETAILED DESCRIPTION OF THE INVENTION

[0024] The foregoing summary, as well as the following detailed description of the preferred embodiments, is better understood when read in conjunction with the appended drawings. For the purposes of illustrating the invention, there is shown in the drawings an embodiment that is presently preferred, in which like numerals represent similar parts throughout the several views of the drawings, it being understood, however, that the invention is not limited to the specific methods and instrumentalities disclosed.

[0025] Fig. 1 is a simple block diagram of a lighting control system 100 including a two-wire electronic switch 110 according to a first embodiment of the present invention. The electronic switch 110 comprises a hot terminal H and a switched hot terminal SH and is adapted to be coupled in series electrical connection between an alternating current (AC) power source 102 (e.g., 120 V AC @ 60 Hz or 240 V AC @ 50 Hz) and a lighting load 104 for controlling the power delivered to the lighting load. The electronic switch 110 generates a switched hot voltage V SH at the switched hot terminal SH, which is coupled to the lighting load 104.

[0026] As shown in Fig. 1, the electronic switch 110 is adapted to be wall-mounted in a standard electrical wallbox. The electronic switch 110 comprises a faceplate 112 and a bezel 114 received in an opening of the faceplate. The electronic switch 110 further comprises a control actuator 116 (i.e., a control button) that may be actuated by a user for toggling (i.e., turning off and on) the lighting load 104, and a load visual indicator 118 for providing feedback of whether the lighting load is on or off. Alternatively, the electronic switch 110 could be implemented as a controllable screw-in module adapted to be screwed into an electrical socket (e.g., an Edison socket) of a lamp, or as a plug-in load control device adapted to be plugged into a standard electrical receptacle for receipt of power and further adapted to have a plug-in electrical load electrically connected thereto.

[0027] The electronic switch 110 also operates as an occupancy sensor to turn on the lighting load 104 in response to the presence of an occupant in the vicinity of the electronic switch (i.e., an occupancy condition), and to turn off the lighting load in response to the absence of the occupant (i.e., a vacancy condition). The electronic switch 1 10 comprises a lens 120 for directing the infrared energy from the occupant to an internal detector an occupancy detection circuit 230 (Fig. 2), such that the electronics switch is operable to detect the occupancy and vacancy conditions. The electronic switch 110 comprises an occupancy visual indicator 122 that is illuminated when the electronic switch has detected an occupancy condition in the space.

[0028] Alternatively, the electronic switch 110 could operate as a vacancy sensor. When operating as a vacancy sensor, the electronic switch 110 would only operate to turn off the lighting load 104 in response to detecting a vacancy condition in the space. The electronic switch 110 would not turn on the lighting load 104 in response to detecting an occupancy condition. Therefore, when the electronic switch operates as a vacancy sensor, the lighting load 104 must be turned on manually (e.g., in response to a manual actuation of the control actuator 116). Examples of occupancy and vacancy sensors are described in greater detail in U.S. Patent Application No. 12/203,500, filed September 3, 2008, entitled BATTERY-POWERED OCCUPANCY SENSOR, the entire disclosure of which is hereby incorporated by reference.

[0029] Fig. 2 is a simplified block diagram of the electronic switch 110. The electronic switch 110 comprises a controllably conductive device (e.g., a latching relay 210) connected in series electrical connection between the hot terminal H and the switched hot terminal SH. The relay 210 conducts a load current I L from the AC power source 102 to the lighting load 104 when the relay is closed (i.e., conductive). The load current I L may have, for example, a magnitude of approximately five amps depending upon the type of lighting load 104. The electronic switch 110 further comprises a bidirectional semiconductor switch 212 coupled in parallel electrical connection with the relay 210 for minimizing the inrush current conducted through the relay 210 (and thus limiting any arcing that may occur at the contacts of the relay) when the lighting load 104 is first turned on. Specifically, the bidirectional semiconductor switch 212 is controlled to be conductive before the relay 210 is rendered conductive when the electronic switch 110 is turning on the lighting load 104, and is controlled to be non-conductive after the relay is rendered non-conductive when the electronic switch is turning of the lighting load. The bidirectional semiconductor switch 212 may comprise, for example, a triac, a field-effect transistor (FET) in a rectifier bridge, two FETs in anti-series connection, one or more silicon-controlled rectifiers (SCRs), one or more insulated-gate bipolar junction transistors (IGBTs), or any other suitable type of bidirectional semiconductor switch.

[0030] The relay 210 and the bidirectional semiconductor switch 212 are independently controlled by a controller 214. For example, the controller 214 may be a microcontroller, but may alternatively be any suitable processing device, such as a programmable logic device (PLD), a microprocessor, an application specific integrated circuit (ASIC), or a field-programmable gate array (FPGA). The controller 214 is coupled to SET and RESET terminals (e.g., SET and RESET coils) of the relay 210 for causing the relay to become conductive and non-conductive, respectively. Specifically, the controller 214 generates a relay-set control signal V RLY - SET for driving the SET coil and a relay-reset control signal V RLY - RESET for driving the RESET coil. The controller 214 also provides a BSS-drive control signal V BSS - DRIVE to a control input of the bidirectional semiconductor switch 212 via a gate drive circuit 216 for rendering the bidirectional semiconductor switch conductive.

[0031] The controller 214 receives inputs from a momentary tactile (i.e., mechanical) switch S225, which temporarily closes in response to actuations of the control actuator 112 of the electronic switch 110. The series combination of the switch S225 and a resistor R226 (e.g., having a resistance of approximately 15 kQ) is coupled between the DC supply voltage Vcc and the circuit common. When the control actuator 112 is actuated and the switch S225 is temporarily closed, the input port of the controller 214 is pulled down towards circuit common, thus signaling to the controller 214 that the switch S225 has been actuated. Accordingly, the controller 214 is operable to control the relay 210 and the bidirectional semiconductor switch 212 to toggle the lighting load 104 on and off in response to actuations of the switch S225. The controller 214 is further operable to control the visual indicator 114 to be illuminated when the lighting load 104 is on and not illuminated when the lighting load is off. The controller 214 is also coupled to a memory 228 for - Si - storage of operational characteristics of the electronic switch 1 10. The memory 228 may be implemented as an external integrated circuit (IC) or as an internal circuit of the controller 214.

[0032] As previously mentioned, the electronic switch 1 10 comprises an occupancy detection circuit 230 that includes the internal detector, e.g., a pyroelectric infrared (PIR) detector. The internal detector is mounted in the electronic switch 1 10 so as to receive the infrared energy of the occupant in the space through the lens 120. The controller 214 is coupled to the occupancy detection circuit 230, such that the controller is operable to process the output of the internal detector to determine whether an occupancy condition or a vacancy condition is presently occurring in the space, for example, by comparing the output of the PIR detector to a predetermined occupancy voltage threshold. Alternatively, the internal detector could comprise an ultrasonic detector, a microwave detector, or any combination of PIR detectors, ultrasonic detectors, and microwave detectors. The controller 214 operates in an "occupied" state or a "vacant" state in response to the detections of occupancy or vacancy conditions, respectively, in the space. The controller 214 is operable to control the relay 210 and the bidirectional semiconductor switch 212 in response to the occupancy detection circuit 230.

[0033] The electronic switch 1 10 may further comprise a radio-frequency (RF) transceiver

(not shown) and an antenna (not shown) for transmitting and receiving RF signals. The

controller 214 may be operable to control the relay 210 and the bidirectional semiconductor switch 212 in response to the digital messages received via the RF signals. Examples of RF load control devices and antennas for wall-mounted load control devices are described in greater detail in commonly-assigned U. S. Patent No. 5,982, 103, issued November 9, 1999, and U. S. Patent

No. 7,362,285, issued April 22, 2008, both entitled COMPACT RADIO FREQUENCY

TRANSMITTING AND RECEIVING ANTENNA AND CONTROL DEVICE EMPLOYING SAME, the entire disclosures of which are hereby incorporated by reference.

[0034] The electronic switch 1 10 comprises two power supplies: an on-state (in-line) power supply 220 and an off-state power supply 222. Both power supplies 220, 222 operate to generate a DC supply voltage Vcc (e.g., having an average magnitude of approximately five volts) across an output capacitor COUT (i.e., an energy storage capacitor), which may have, for example, a

capacitance of approximately 680 μΡ. The controller 214 and other low-voltage circuitry of the electronic switch 110 are powered from the DC supply voltage V C c- The bidirectional semiconductor switch 212 is coupled in series electrical connection with the parallel combination of the relay 210 and the on-state power supply 220. The on-state power supply 220 operates to generate the DC supply voltage Vcc when the relay 210 is closed and the lighting load 104 is on as will be described in greater detail below. The off-state power supply 222 is coupled in parallel electrical connection with the relay 210 and the bidirectional semiconductor switch 212 and operates to generate the DC supply voltage Vcc when the relay 210 is open and the lighting load 104 is off.

[0035] The output capacitor C OUT is also coupled in series with an over-current detect resistor R OCD (e.g., having a resistance of approximately 0.1 Ω) and a positive-temperature- coefficient (PTC) thermistor R PTC , which allow for the detection of fault conditions (e.g., an over-current or an over-temperature condition in the electronic switch 110), as will be described in greater detail below with reference to Fig. 5. For example, the PTC thermistor R PTC may comprise part number B59807A0090A062, manufactured by EPCOS, Inc., which has a maximum nominal resistance of approximately 400 Ω. A fault voltage V FAULT is generated across the series

combination of the PTC thermistor R PTC and the output capacitor C OUT and has a magnitude approximately equal to the magnitude of the DC supply voltage Vcc during normal operating conditions (i.e., in absence of a fault condition).

[0036] The off-state power supply 222 generates the DC supply voltage V C c when the relay 210 and the bidirectional semiconductor switch 212 (i.e., the electronic switch 110 is controlling the lighting load 104 to be off). The off-state power supply 222 conducts only a small leakage current I LEAK (i.e., an input charging current) through the lighting load 104, such that the lighting load is not illuminated when the lighting load is supposed to be off. The off-state power supply 222 conducts an off-state charging current I CH - OFF (i.e., an output charging current) through the output capacitor C OUT for charging the output capacitor. The magnitude of the off-state charging current I CH - OFF conducted through the output capacitor C OUT is greater than the magnitude of the leakage current I LEAK conducted through the lighting load 104 as will be described in greater detail below. A current-limit circuit 224 is coupled in series with the off-state power supply 222 and limits the magnitude of the leakage current I LEAK to a maximum leakage current I L - MAX (e.g., less than approximately one mA), such that the lighting load 104 is not illuminated when the relay 210 is non-conductive and the lighting load is supposed to be off.

[0037] The on-state power supply 220 generates the DC supply voltage Vcc while allowing the electronic switch 1 10 to provide substantially all of the AC line voltage to the lighting load 104 when the lighting load is on. When the output capacitor C 0UT is charging through the on-state power supply 220 (while the relay 210 is conductive), the voltage developed across the on-state power supply has a substantially small magnitude (e.g., approximately the DC supply voltage Vcc, i.e., approximately five volts) as compared to the peak voltage of the AC line voltage of the AC power source 102. In other words, the on-state power supply 220 imposes a substantially low voltage drop as compared to the peak voltage of the AC line voltage of the AC power source 102, such that the voltage provided to the lighting load 104 (i.e., switched hot voltage V SH ) is only slightly smaller when the output capacitor C OUT is charging. For example, the peak voltage of the AC line voltage is approximately 340 volts when the RMS voltage of the AC power source 102 is 240 V A c, while the voltage developed across the on-state power supply 220 is equal to approximately the DC supply voltage Vcc (i.e., approximately five volts) for only a portion of each half-cycle of the AC power source 102.

[0038] The on-state power supply 220 conducts an on-state charging current I CH - ON (Fig. 3) through the output capacitor C OUT for charging the output capacitor. The output capacitor C OUT is adapted to conduct the load current I L for at least a portion of a line cycle of the AC power source 102 when the relay is conductive. Accordingly, the on-state charging current I CH - ON is equal to the load current I L for at least a portion of a line cycle of the AC power source 102 when the relay is conductive. The on-state power supply 220 is able to operate properly when the lighting load 104 is a low-power load, e.g., having a power rating down to approximately 25 W (and a voltage rating of 240 V AC )- In other words, the on-state power supply 220 is operable to appropriately charge the output capacitor C OUT to keep the controller 214 powered when the load current I L has a magnitude as low as approximately 100 mA.

[0039] Since the lighting load 104 may cause the load current I L of the on-state power supply 220 to be a non-sinusoidal current (e.g., if the lighting is a compact fluorescent lamp), the output capacitor C OUT may not be able to conduct the on-state charging current I CH - ON through the lighting load during certain portions of the line cycle of the AC power source 102. Accordingly, the on-state power supply 220 controls when the output capacitor C OUT is able to charge in a manner that is asynchronous with respect to the frequency of the AC line voltage of the AC power source 102, such that the power supply is operable to start and stop charging at any time during each half-cycle (i.e., at any time between the beginning and the end of the half-cycle). Specifically, the on-state power supply 220 is operable to begin charging the output capacitor C OUT when the magnitude of the DC supply voltage Vcc drops to a minimum supply voltage VCC- MI N (e.g., approximately five volts). However, the output capacitor C OUT may not begin charging until the output capacitor C OUT is able to conduct the load current I L through the lighting load 104 (i.e., if the load current I L is

non-sinusoidal). The on-state power supply 220 always stops charging when the magnitude of the DC supply voltage rises to a maximum supply voltage VCC- MAX (e.g., approximately six volts).

When the lighting load 104 is a resistive load, such as an incandescent lamp (i.e., the load current I L is sinusoidal), the on-state charging current I CH - ON of the on-state power supply 220 may be asynchronous with respect to the frequency of the AC line voltage (as shown Fig. 4A).

Alternatively, if the lighting load 104 conducts a non-sinusoidal load current I L , the on-state charging current I CH - ON may be synchronous with respect to the line voltage frequency (as shown in Fig. 4B).

[0040] In order to minimize visible flickering in the lighting load 104, the on-state power supply 220 draws current from the AC power source 102 at least once every half-cycle of the AC power source 102. Accordingly, the time period between any two consecutive pulses of the on-state charging current I CH - ON is less than the period T HC of a half-cycle (e.g., approximately ten

milliseconds for a 50-Hz power source), and thus the frequency of the pulses of the on-state charging current I CH - ON is greater than the twice the line voltage frequency (e.g., approximately 100 Hz), so as avoid visible flickering in the lighting load 104. The time period between any two consecutive pulses of the on-state charging current I CH - ON may be approximately equal to the period T H c of a half-cycle if the on-state charging current I CH - ON is synchronous with respect to the line voltage frequency (as shown in Fig 4B).

[0041] The controller 214 is operable to monitor the operation of the on-state power supply 220 in order to determine the appropriate times to perform actions that require larger amounts of current to be drawn from the output capacitor C OUT , such as energizing the coils of the relay 210. The on-state power supply 220 provides to the controller 214 a feedback control signal V FB , which is representative of whether the output capacitor C OUT is charging or not as will be described in greater detail below. The controller 214 may be operable to energize the SET and RESET coils of the relay 210 immediately after the output capacitor C OUT stops charging, i.e., when the magnitude of the DC supply voltage Vcc is equal to the maximum supply voltage V CC - MAX and the maximum amount of voltage is available to energize the coils.

[0042] Fig. 3 is a simplified schematic diagram of the in-line power supply 220 according to the first embodiment of the present invention. The on-state power supply 220 includes a

bidirectional semiconductor switch 310 comprising, for example, two FETs Q312, Q314 coupled in anti-series connection. The on-state power supply 220 also comprises a full-wave rectifier bridge that includes the body diodes of the two FETs Q312, Q314 in addition to two diodes D316, D318, which are all coupled to the output capacitor C OUT , for allowing the output capacitor to charge from the AC power source 102 through the lighting load 104. The rectifier bridge has AC terminals coupled in series between the switched hot terminal SH and the relay 210, and DC terminals for providing a rectified voltage V RECT - The output capacitor C OUT is coupled in series between the DC terminals of the rectifier bridge, such that the output capacitor is able to charge from the AC power source 102 through the rectifier bridge and the lighting load 104. The anti-series-connected

FETs Q312, Q314 are coupled in parallel electrical connection with the AC terminals of the rectifier bridge, such that the FETs are operable to conduct the load current I L from the AC power source 102 to the lighting load 104 when the FETs are conductive, and the output capacitor C OUT is operable to conduct the load current I L when the FETs are non-conductive.

[0043] The on-state power supply 220 comprises a control circuit 320, which operates, during normal operation, to render the FETs Q312, Q314 non-conductive to temporarily and briefly block the load current I L . This allows the output capacitor C OUT to conduct the load current I L and to thus charge for at least a portion of a line cycle of the AC power source 102 when the relay 210 in conductive. Accordingly, the magnitude of the DC supply voltage V C c increases when the bidirectional semiconductor switch 310 is non-conductive and decreases when the bidirectional semiconductor switch is conductive. Specifically, the control circuit 320 renders the FETs Q312, Q314 non-conductive when the magnitude of the DC supply voltage V C c drops to the minimum supply voltage V CC - MIN (i.e., approximately five volts) and renders the FETs conductive when the magnitude of the DC supply voltage Vcc rises to the maximum supply voltage VCC- MAX (i.e., approximately six volts).

[0044] The control circuit 320 of the on-state power supply 260 comprises, for example, an analog circuit having a comparator U322 for controlling when the FETs Q312, Q314 are conductive in response to the magnitude of the DC supply voltage Vcc A resistor divider comprising two resistors R324, R326 is coupled between the DC supply voltage Vcc and circuit common and provides a scaled voltage that is representative of the magnitude of the DC supply voltage V C c to the positive terminal of the comparator U322. The resistors R324, R326 may have, for example, resistances of approximately 40.2 kQ and 11 kQ, respectively.

[0045] The control circuit 320 comprises a shunt regulator D328 (e.g., part number TLV431 manufactured by Texas Instruments) having a cathode connected to the DC supply voltage V C c through a resistor R330 (e.g., having a resistance of approximately 11 kQ). The cathode of the shunt regulator D328 is coupled to the reference terminal of the shunt regulator and to the negative terminal of the comparator U322, such that a fixed reference voltage (e.g., approximately 1.24 V) is provided at the negative terminal. A resistor R332 (e.g., having a resistance of approximately 47 kQ) is coupled between the positive terminal and the output terminal of the comparator U322 for providing some hysteresis in the operation of the on-state power supply 220. The output of the comparator U322 is pulled up to the DC supply voltage Vcc through a resistor R334 (e.g., having a resistance of approximately 11 kQ). When the scaled voltage at the positive terminal of the comparator U322 is less than the fixed reference voltage (i.e., 1.24 V) at the negative terminal of the comparator, the output terminal of the comparator U322 is driven low, so as to render the

FETs Q312, Q314 non-conductive as will be described below. Alternatively, the control circuit 320 of the on-state power supply 220 could comprise a digital circuit that includes, for example, a microprocessor, a PLD, an ASIC, an FPGA, or other suitable type of integrated circuit. The comparator U322 may comprise part number LM2903 manufactured by National Semiconductor Corporation. [0046] The output of the comparator U322 is coupled to the base of an PN bipolar junction transistor Q335 via a resistor R336 (e.g., having a resistance of approximately 22 kQ). The collector of the transistor Q335 is coupled to the DC supply voltage Vcc via two resistors Q338, Q340 (e.g., having resistances of 100 kQ and 22 kQ, respectively). The base of a P P bipolar junction transistor Q342 is coupled to the junction of the two resistors Q338, Q340. The collector of the transistor Q342 is coupled to the gates of the FETs Q312, Q314 via two respective gate

resistors R344, R346 (e.g., both having a resistance of approximately 8.2 kQ). When the output terminal of the comparator U322 is pulled high towards the DC supply voltage Vcc, the

transistors Q335, Q342 are both rendered conductive. Accordingly, the DC supply voltage Vcc is coupled to the gates of the FETs Q312, Q314 via the respective gate resistors R344, R346, thus rendering the FETs conductive. When the output terminal of the comparator U322 is driven low (i.e., approximately at circuit common) and the transistors Q335, Q342 are rendered non-conductive, the gate capacitances of the gates of the FETs discharge through a resistor R348 (e.g., having a resistance of approximately 8.2 kQ) and the FETs are rendered non-conductive.

[0047] Fig. 4A is a simplified diagram of example waveforms illustrating the operation of the on-state power supply 220 when the lighting load 104 is a resistive load, such as an incandescent lamp, and the on-state charging current I CH - ON is asynchronous with respect to the frequency of the AC power source 102. While the FETs Q312, Q314 are non-conductive, the DC supply voltage V C c increases in magnitude (from the minimum supply voltage V CC - MIN to the maximum supply voltage VCC- MAX ) during a charging time T CHR G- During the charging time T CHR G, the scaled voltage at the positive terminal of the comparator U322 (which is representative of the magnitude of the DC supply voltage Vcc) is less than the reference voltage of the shunt regulator D328 at the negative terminal. When the magnitude of the DC supply voltage V C c exceeds the maximum supply voltage V CC - MAX , the output of the comparator U322 is driven high towards the DC supply voltage Vcc and the FETs Q312, Q314 are rendered conductive (as shown by the gate voltages V G in Fig. 4A). At this time, the voltage at the positive terminal of the comparator U322 is pulled high towards the DC supply voltage V C c- Since the FETs Q312, Q314 are conductive, the magnitude of the DC supply voltage Vcc and the magnitude of the scaled voltage at the negative terminal of the comparator U322 begin to decrease as the controller 214 and other low-voltage circuits of the electronic switch 110 draw current from the output capacitor CQ UT - [0048] When the magnitude of the DC supply voltage V C c drops below the minimum supply voltage Vcc-MiN, the scaled voltage at the positive terminal of the comparator U322 becomes less than the reference voltage of the shunt regulator D328 at the negative terminal. The output of the comparator U322 is driven low towards circuit common, and the FETs Q312, Q314 are rendered non-conductive, thus allowing the output capacitor C 0UT to charge and the DC supply voltage V C c to increase in magnitude during the charging time T CHRG - AS a result of the operation of the power supply 220, only a low-voltage drop (i.e., approximately five volts) is developed across the power supply and the switched hot voltage V SH has only small "notches" (i.e., small changes in magnitude) when the output capacitor C OUT is charging as shown in Figs. 4A. Note that the worst case charging time T CHRG may be equal to approximately the period T H c of a half-cycle of the AC power source 102 if the output capacitor C OUT charges and discharges such that the magnitude of the DC supply voltage Vcc does not exceed the maximum supply voltage VCC- MAX -

[0049] Fig. 4B is a simplified diagram of example waveforms illustrating the operation of the on-state power supply 220 when the load current I L is non-sinusoidal (e.g., the lighting load 104 is a compact fluorescent lamp), and the on-state charging current I CH - ON is synchronous with respect to the frequency of the AC power source 102. As shown in Fig. 4B, the charging current I CHRG does not immediately begin flowing when the magnitude of the DC supply voltage drops below the minimum supply voltage V CC - MIN even though the gate voltages V G are driven low and the

FETs Q312, Q314 are rendered non-conductive. The on-state charging current I CH - ON begins flowing when the lighting load 104 begins conducting the load current I L , which occurs at approximately the same time each half-cycle, such that the on-state charging current I CH - ON is symmetric with respect to the frequency of the AC power source 102. Once again, only a low- voltage drop is developed across the power supply 220 and the switched hot voltage V SH has only small notches when the output capacitor C OUT is charging as shown in Fig. 4B.

[0050] Referring back to Fig. 3, the feedback control signal V FB , which is provided to the controller 214, is generated at the collector of the transistor Q335. Thus, the feedback control signal V FB is the inverse of the gate voltage V G shown in Figs. 4A and 4B. When the

transistor Q335 is conductive (i.e., the FETs Q312, Q314 are conductive and the output

capacitor C OUT is discharging), the feedback control signal V FB is driven low towards circuit common (i.e., a logic low level). When the transistor Q335 is non-conductive (i.e., the FETs Q312, Q314 are non-conductive and the output capacitor C OUT is charging), the feedback control signal V FB is pulled up towards the DC supply voltage Vcc (i.e., a logic high level). When the controller 214 is ready to render the relay 210 conductive or non-conductive, the controller may wait until the feedback control signal V FB transitions from high to low (i.e., the magnitude of the DC supply voltage Vcc is at the maximum supply voltage V CC - MAX ) before energizing either the SET coil or the RESET coil of the relay.

[0051] Fig. 5 is a simplified schematic diagram showing how the in-line on-state power supply 220 is coupled to the latching relay 210 and the drive circuit 216 for the bidirectional semiconductor switch 212 to provide for fault detection and protection of the electronic switch 110. The SET coil of the relay 210 is coupled between the relay-set control signal V RLY - SET and the DC supply voltage Vcc- When the controller 214 drives the relay-set control signal V RLY -S ET low to approximately circuit common, the mechanical switch of the relay 210 is rendered conductive. The RESET coil of the relay 210 is coupled between the relay-reset control signal V RLY - RESET and the fault voltage V FAULT , which has a magnitude approximately equal to the magnitude of the DC supply voltage Vcc during normal operating conditions (i.e., in absence of an over-temperature condition). The relay-reset control signal V RLY - RE S ET is also coupled to the DC supply voltage Vcc through a diode D305. When the controller 214 drives the relay-reset control signal V RLY - RESET low to approximately circuit common during normal operating conditions, the mechanical switch of the relay 210 is rendered non-conductive.

[0052] If the output capacitor C OUT were to fail shorted when the latching relay 210 is conductive, the temperatures of the FETs Q312, Q314 of the on-state power supply 220 may increase to undesirable levels. When an over-temperature condition is detected in the FETs Q312, Q314 of the on-state power supply 220, the electronic switch 110 controls the latching relay 210 (e.g., to open the relay) in order to remove the over-temperature condition. Specifically, the PTC thermistor R PTC is thermally coupled to the FETs Q312, Q314, such that the resistance of the PTC thermistor increases as the combined temperature of the FETs increases during the over-temperature condition, thus causing the fault voltage V FAULT to increase in magnitude. Since the series combination of the diode D305 and the RESET coil of the relay 210 is coupled between the fault voltage VFAULT and the DC supply voltage V C c (i.e., in parallel with the output PTC

thermistor RPTC), current begins to flow through the RESET coil as the resistance of the PTC thermistor increases and the magnitude of the fault voltage VFAULT increases. The relay 210 is rendered non-conductive when the combined temperature of the FETs Q312, Q314 increases above a predetermined temperature threshold T FA ULT (e.g., approximately 90°F). In other words, the relay 210 is rendered non-conductive when the fault voltage VFAULT increases such that the voltage across the RESET coil renders the relay 210 non-conductive. Accordingly, the current through the FETs Q312, Q314 is controlled to zero amps and the fault condition is removed (i.e., the

temperatures of the FETs will decrease below the undesirable levels). The relay 210 is rendered conductive in response to the over-temperature condition independent of the magnitude of the relay-reset control signal VRLY-RESET- In addition, the relay 210 could be rendered conductive in response to an over-temperature condition in other circuits of the electronic switch 110.

[0053] As shown in Fig. 5, the bidirectional semiconductor switch 212 is implemented as a triac. The drive circuit 216 comprises an optocoupler U360 having an output phototriac coupled in series with the gate of the bidirectional semiconductor switch 212. When the output phototriac of the optocoupler U360 is conductive, the output phototriac conducts a gate current through two resistors R362, R364 each half-cycle of the AC power source 102, thus rendering the bidirectional semiconductor switch 216 conductive each half-cycle. The resistors R362, R364 may both have, for example, resistances of approximately 100 Ω.

[0054] The optocoupler U360 also has an input photodiode having an anode coupled to the rectified voltage VRECT of the on-state power supply 220. An PN bipolar junction transistor Q365 is coupled in series with the input photodiode of the optocoupler U360. The controller 214 is coupled to the base of the transistor Q365 via a resistor R366 (e.g., having a resistance of

approximately 1 kQ). When the transistor Q365 is rendered conductive, the transistor conducts a drive current through the input photodiode of the optocoupler U360 and a resistor R368 (e.g., having a resistance of approximately 330 Ω), thus rendering the output optotriac and the bidirectional semiconductor switch 212 conductive.

[0055] When an over-current condition is detected in the in-line on-state power supply 220, the electronic switch 110 uses the bidirectional semiconductor switch 212 to remove the over-current condition. The over-current condition may be caused by an inrush current conducted through the relay 210, for example, when the lighting load 104 is a capacitive load, such as a screw-in compact fluorescent lamp or an electronic low-voltage (ELV) lighting load. For example, the inrush current may have a magnitude greater than approximately three hundred amps and last for approximately two milliseconds as defined by the NEMA 410 Standard published by the National Electrical Manufacturers Association (NEMA). To protect the on-state power supply 220 from the over- current condition, the bidirectional semiconductor switch 212 is rendered conductive when the current through the over-current detect resistor R OCD of the on-state power supply 220 exceeds a predetermined current threshold I FAULT (e.g., approximately forty amps). At this time, the voltage across the on-state power supply 220 is reduced to approximately the on-state voltage of the bidirectional semiconductor switch 212 (e.g., approximately one volt), which causes the power supply to stop charging the output capacitor C OUT , and eliminates the over-current condition.

[0056] Referring back to Fig. 5, the over-current detect resistor R OCD of the on-state power supply 220 is coupled in parallel with the series combination of the input photodiode of the optocoupler U360, a diode D370, and a resistor R372 (e.g., having a resistance of approximately 47 Ω). When the current through the over-current detect resistor R OCD exceeds the predetermined current threshold I FAULT , the voltage generated across the series combination of the input photodiode of the optocoupler U360, the diode D370, and the resistor R372 causes the output phototriac of the optocoupler to be rendered conductive. Accordingly, the bidirectional semiconductor switch 212 is rendered conductive and the over-current condition is eliminated. Since the bidirectional semiconductor switch 212 is a triac, the bidirectional semiconductor switch becomes non-conductive at the end of the half-cycle when the current through the bidirectional semiconductor switch drops to approximately zero amps. The bidirectional semiconductor switch 212 will be rendered conductive once again during the next half-cycle if the over-current condition remains.

[0057] Fig. 6 is a simplified schematic diagram of the electronic switch 110 showing the off-state power supply 222 and the current limit circuit 224 in greater detail. The off-state power supply 222 comprises a switched capacitor circuit (e.g., a charge pump circuit) having a plurality of capacitors that are able to charge in series and discharge in parallel. The switched capacitor circuit is controlled to charge and discharge the capacitors at a predetermined frequency fsw, which is a relatively low frequency, such that the off-state power supply does not generate substantial noise that may interfere with the operation of noise-sensitive circuits of the electronic switch 1 10, such as, for example, the occupancy detection circuit 230 or the RF transceiver.

[0058] Specifically, the switched capacitor circuit of the off-state power supply 222 includes a first leg 350 of capacitors C I O, C 12, C 14, C 16 that are able to charge in the positive half-cycles of the AC power source 102, and a second leg 355 of capacitors C50, C52, C54, C56 that are able to charge in the negative half-cycles. The capacitors C 10-C 16, C50-C56 of both legs 350, 355 may each have a capacitance of, for example, approximately 10 μΡ. The capacitors C 10-C 16 of the first leg 350 are operable to charge in series during the positive half-cycles by conducting a positive half-cycle charging current IC-PHC through the lighting load 104. In addition, the output

capacitor COUT conducts the positive half-cycle charging current IC-PHC during the positive half-cycles. The capacitors C 10-C 16 of the first leg 350 are operable to discharge in parallel into the output capacitor COUT during the negative half-cycles, such that each of the capacitors C 10-C 16 conducts an individual discharge current, and the output capacitor COUT conducts a negative half-cycle discharge current ID-NHC, which is the sum of the individual discharge currents of each of the capacitor C 10-C 16.

[0059] Similarly, the capacitors C50-C56 of the second leg 355 are operable to charge in series during the negative half-cycles (by conducting a negative half-cycle charging current IC-NHC through the output capacitor COUT and the lighting load 104) and to discharge in parallel into the output capacitor COUT during the positive half-cycles, such that the output capacitor COUT conducts a positive half-cycle discharge current ID-PHC, which is the sum of the individual discharge currents of each of the capacitor C50-C56. The leakage current ILEAK conducted through the lighting load 104 is the sum of the positive half-cycle charging current IC-PHC and the negative half-cycle charging current IC-NHC- Since the capacitors C 10-C 16 of the first leg 350 are operable to charge during the positive half-cycles and discharge during the negative half-cycles, and the capacitors C50-C56 of the second leg 355 are operable to charge during the negative half-cycles and discharge during the positive half-cycles, the predetermined switching frequency f S w of the switched capacitor circuit is approximately equal to the line frequency of the AC power source 102, e.g., approximately 120 Hz. [0060] Because the output capacitor C OUT conducts the positive and negative half-cycle charging currents IC- PH C, IC-N H C, as well as the positive and negative half-cycle discharge

currents I D - PH C, I D -N H C, the off-state charging current IC H -O FF is the sum of these currents, i.e.,

IcH-oFF = IC-PHC + IC-NHC + ID-PHC + ID-NHC- (Equation 1)

Since each of the positive and negative half-cycle discharge currents I D - PHC , I D - NHC are the sum of the respective individual discharge currents of the capacitors in each leg 350, 355, the magnitude of the off-state charging current I CH - OFF is greater than the magnitude of the leakage current I LEAK conducted through the lighting load 104. Accordingly, the off-state power supply 222 can be described as operating as a current multiplier. In other words, the off-state power supply 222 multiplies the leakage current I LEAK by a factor M that is dependent upon the number of capacitors in each leg 350, 355 to generate the off-state charging current I CH - OFF current. Since the output capacitor COU T conducts the positive and negative half-cycle charging currents IC- PH C, IC-N H C, as well as the positive and negative half-cycle discharge currents I D - PHC , I D - NHC , the factor by which the input current is multiplied is one more than the number of capacitors in each leg 350, 355, i.e.,

ICH-OFF = (M + 1) · ILEAK- (Equation 2)

For example, when there are four capacitors in each leg 350, 355 as shown in Fig. 6, the magnitude of the off-state charging current I CH - OFF is five times greater than the magnitude of the leakage current I LEAK -

[0061] As shown in Fig. 6, the capacitors C10-C16 of the first leg 350 are coupled in series with diodes D10-D18, such there is one diode between each of the capacitors and at each end of the leg. The first leg 350 of capacitors C10-C16 and diodes D10-D18 are coupled to the positive DC terminal of the full-wave rectifier bridge formed by the body diodes of the two FETs Q312, Q314 the diodes D316, D318 of the on-state power supply 220 (i.e., to the rectified voltage V RECT ) through a resistor R80 (e.g., having a resistance of approximately 56 kQ). During the positive half-cycles, the first leg 350 of capacitors C10-C16 is operable conduct the positive half-cycle charging current I C - PHC from the hot terminal H, through the current limit circuit 224, the diodes D10-D18, the resistor R80, the over-current detect resistor R OCD , the PTC thermistor Rp-re, the output

capacitor C OUT , and the body diode of the FET Q314 to the switched hot terminal SH. Accordingly, the capacitors C10-C16 and the output capacitor C OUT are operable to charge in response to conducting the positive half-cycle charging current I C - PHC - [0062] A zener diode Z40 is coupled across the first leg 350 of capacitors C 10-C16 and operates to limit the voltage generated across the leg to a break-over voltage VBR (e.g.,

approximately 40 volts). Accordingly, during the positive half-cycles, each of the

capacitors C10-C16 of the first leg 350 is operable to charge up to a maximum capacitor voltage Vc-MAx (that is slightly less than approximately 10 volts), i.e.,

Vc-MAx = [V B R - (M - 1) · V D ] / M,

where VD is the forward voltage drop of the diodes D12-D16, e.g., approximately 0.7 volts.

[0063] The negative terminal of each of the capacitors C10-C 16 of the first leg 350 is coupled to circuit common through a respective diode D30-D36. The positive terminal of each of the capacitors C10-C16 of the first leg 350 is coupled to the positive DC terminal of the full-wave rectifier bridge formed of the on-state power supply 220 (i.e., to the rectified voltage VRECT) through a respective diodes D20-D26, a first switching device (e.g., a PNP bipolar junction transistor Q82), and a resistor R84 (e.g., having a resistance of approximately 22 Ω). Accordingly, when the transistor Q82 is rendered conductive, the capacitors C 10-C 16 of the first leg 350 are operable to discharge into the output capacitor COUT during the negative half-cycles as will be described in greater detail below.

[0064] The capacitors C50-C56 of the second leg 355 are coupled in series with

diodes D50-D58 in a similar manner as the first leg 350. The second leg 355 of capacitors C50-C56 and diodes D50-D58 are coupled to circuit common through two resistors R85, R86 (e.g., having resistances of 56 kQ and 22 kQ, respectively). During the negative half-cycles, the second leg 355 of capacitors C50-C56 is operable conduct the negative half-cycle charging current IC-NHC from the switched hot terminal SH, through the diode D318, the output capacitor COUT, the PTC

thermistor RPTC, the over-current detect resistor ROCD, the resistors R85, R86, the diodes D50-D58, the current limit circuit 224 to the hot terminal H. A zener diode Z42 is coupled across the second leg 350 of capacitors C50-C56 and diodes D50-D58 and has a break-over voltage of, for example, approximately 40 V, such that the zener diode is operable to limit the voltage generated across the second leg and thus limit the voltages across each of the capacitors C50-C56 to the maximum capacitor voltage VC-MAX- The positive terminals of the capacitors C50-C56 are coupled to respective diodes D60-D66, while the negative terminals are connected to respective diodes D70-D76, such that the capacitors C50-C56 are operable to discharge into the output capacitor C OUT through a second switching device (e.g., an PN bipolar junction transistor Q94) and a resistor R95 (e.g., having a resistance of approximately 22 Ω) when the transistor Q94 is rendered conductive during the positive half-cycles as will be described in greater detail below.

[0065] The resistor R85 is coupled across the base-emitter junction of an NPN bipolar junction transistor Q88. The collector of the transistor Q88 is coupled to the base of the

transistor Q82 through a resistor R90 (e.g., having a resistance of approximately 118 kQ). A resistor R92 is coupled across the base-emitter junction of the transistor Q82 and has, for example, a resistance of approximately 56 kQ. When the second leg 355 of capacitors C50-C56 and diodes D50-D58 begins to conduct the negative half-cycle charging current I C - NHC through the resistor R85 during the negative half-cycles, the transistor Q88 is rendered conductive, such that current is conducted through the resistor R92 and the transistor Q82 is rendered conductive.

Accordingly, the capacitors C10-C16 of the first leg 350 are operable to discharge into the output capacitor C OUT when the transistor Q82 is rendered conductive during the negative half-cycles.

[0066] The resistor R80, which is coupled in series with the first leg 350 of

capacitors C10-C16 and diodes D10-D18, is coupled across the base-emitter junction of a PNP bipolar junction transistor Q96. The collector of the transistor Q96 is coupled to the base of the transistor Q94 through a resistor R98 (e.g., having a resistor of approximately 118 kQ), while a resistor R99 (e.g., having a resistor of approximately 56 kQ) is coupled across the base-emitter junction of the transistor Q94. When the first leg 350 of capacitors C10-C16 and diodes D10-D18 conducts the positive half-cycle charging current I PH c through the resistor R80 during the positive half-cycles, the transistor Q96 is rendered conductive, thus rendering the transistor Q94 conductive and allowing the capacitors C50-C56 of the second leg 355 to discharge into the output

capacitor COU T -

[0067] As previously mentioned, the current limit circuit 224 is coupled in series with the off-state power supply 222 and limits the magnitude of the leakage current I LEAK to the maximum leakage current I L - MAX - The current limit circuit 224 comprises a full-wave rectifier bridge BR380, having AC terminals coupled in series with a resistor R382 (e.g., having a resistance of

approximately 1 kQ) for conducting the leakage current I LEAK - The positive DC terminal of the bridge BR380 is coupled to the gate of a FET Q384 through a resistor R386 (e.g., having a resistance of approximately 664 kQ). Shortly after the beginning of each half-cycle, the FET Q384 is rendered conductive and conducts the leakage current ILEAK through a resistor R388 (e.g., having a resistance of approximately 5.19 kQ). The resistor R388 is coupled across the series combination of the base-emitter junction of an PN bipolar junction transistor Q390 and a zener diode Z392 (e.g., having a breakover voltage of approximately 3.9 volts). A zener diode Z394 is coupled between the gate and the drain of the FET Q384 for limiting the magnitude of the voltage at the gate of the FET to thus protect the FET from damage due to overvoltage conditions. When the resistor R388 is conducting the leakage current ILEAK, the transistor Q390 is rendered conductive, such that the voltage across the resistor R388 is limited to approximately the rated base-emitter voltage of the transistor Q390 plus the breakover voltage of the zener diode Z392 (i.e., approximately 4.6 volts). Accordingly, the maximum leakage current IL-MAX of the current limit circuit 224 may be, for example, approximately 0.88 milliamps.

[0068] While ensuring that the lighting load 104 does not illuminate when the relay 210 is non-conductive, the maximum leakage current IL-MAX of the current limit circuit 224 also helps to helps to reduce the noise generated in the off-state power supply 222. Since the leakage

current ILEAK only has a small magnitude, the off-state power supply 222 does not generate substantial noise that may interfere with the operation of the noise-sensitive circuits of the electronic switch 1 10 (i.e., the occupancy detection circuit 230).

[0069] Fig. 7 is a simplified flowchart of a button procedure 400 executed by the

controller 214 of the electronic switch 1 10 is response to an actuation of the switch S225 at step 410. The controller 214 uses two timers, e.g., a relay timer and a bidirectional semiconductor switch (BSS) timer, to control when the relay 210 and the bidirectional semiconductor switch 212 become conductive and non-conductive. When the relay timer expires, the controller 214 executes a relay timer procedure 600 to render the relay 210 conductive if the lighting load 104 is off and to render the relay non-conductive if the lighting load is on (as will be described in greater detail below with reference to Fig. 8). When the BSS timer expires, the controller 214 executes a BSS timer procedure 700 to control the bidirectional semiconductor switch 212 to become conductive if the lighting load 104 is off and to become non-conductive if the lighting load is on (as will be described in greater detail below with reference to Fig. 9). The controller 214 executes a received keypad message procedure (not shown), which is similar to the button procedure 400, in response to receiving an on command (when the on button 122 is actuated) and an off command (when the off button 124).

[0070] Referring to Fig. 7, if the lighting load 104 is off at step 412, the controller 214 initializes the BSS timer to a BSS-turn-on time tBss-oN, and starts the BSS timer decreasing in value with respect to time at step 414. The controller 214 then initializes the relay timer to a relay-turn-on time tRLY-oN, and starts the relay timer decreasing in value with respect to time at step 416, before the button procedure 400 exits. For example, the BSS-turn-on time tBss-oN may be approximately zero milliseconds and the relay-turn-on time tRLY-oN may be approximately thirty milliseconds, such that the bidirectional semiconductor switch 212 will be rendered conductive before the relay 210 is rendered conductive. If the lighting load 104 is on at step 412, the controller 214 immediately renders the bidirectional semiconductor switch 212 conductive at step 418. The controller 214 then initializes the relay timer to a relay -turn-off time IRLY-OFF, and starts the relay timer decreasing in value with respect to time at step 420. Finally, the controller 214 initializes the BSS timer to a BSS-turn-off time tBss-oFF, and starts the BSS timer decreasing in value with respect to time at step 422, before the button procedure 400 exits. For example, the relay-turn-off time IRLY-OFF may be approximately thirty milliseconds and the BSS-turn-off time tBss-oFF may be approximately sixty milliseconds, such that the relay 210 will be rendered non-conductive before the bidirectional semiconductor switch 212 becomes non-conductive.

[0071] Fig. 8 is a simplified flowchart of an occupancy detection procedure 500 executed by the controller 214 of the electronic switch 1 10 whenever the occupancy detection circuit 230 has detected a change in the occupied and vacant states at step 5 10. If the controller 214 is operating as an occupancy sensor at step 5 12 and the occupancy detection circuit 230 has just detected that the space has become occupied at step 5 14, the controller turns on the lighting load 104 by initializing and starting the BSS timer (using the BSS-turn-on time tess-oN) at step 5 16, and initializing and starting the relay timer (using the relay -turn-on time IRLY-ON) at step 5 18, before the occupancy detection procedure 500 exits. If the controller 214 is operating as an occupancy sensor at step 5 12 and the occupancy detection circuit 230 has just detected that the space has become vacant at step 520, the controller controls the lighting load 104 off by immediately rendering the bidirectional semiconductor switch 212 conductive at step 522, initializing and starting the relay timer (using the relay -turn-off time I RLY - OFF ) at step 524, and initializing and starting the BSS timer (using the BSS-turn-off time I BSS - OFF ) at step 526, before the occupancy detection procedure 500 exits. If the controller 214 is operating as a vacancy sensor at step 512, the controller does not respond when the occupancy detection circuit 230 has detected that the space has become occupied at step 514. When the controller 214 is operating as a vacancy sensor at step 512, the controller only turns off the lighting load 104 in response to the occupancy detection circuit 230 detecting that the space has just become vacant at step 520.

[0072] Fig. 9 is a simplified flowchart of a relay timer procedure 600 executed by the controller 214 when the relay timer expires at step 610. First, the controller 214 waits until the feedback control signal V FB transitions from high to low at step 612 indicating that the magnitude of the DC supply voltage V C c is equal to the maximum supply voltage V CC - MAX - When the

controller 214 detects that the feedback control signal V FB has transitioned from high to low at step 612, the controller immediately renders the relay 210 conductive or non-conductive depending upon the present state of the lighting load 104. If the lighting load 104 is off at step 614, the controller 214 renders the relay 210 conductive at step 616 by conducting current through the SET coil of the relay and the relay timer procedure 600 exits. If the lighting load 104 is off at step 614, the controller 214 renders the relay 210 non-conductive at step 618 by conducting current through the RESET coil and the relay timer procedure 600 exits.

[0073] Fig. 10 is a simplified flowchart of a BSS timer procedure 700 executed by the controller 214 when the BSS timer expires at step 710. If the lighting load 104 is off at step 712, the controller 214 controls the drive circuit 216 to render the bidirectional semiconductor switch 212 conductive at step 714 and illuminates the visual indicator 214 at step 716, before the BSS timer procedure 700 exits. If the lighting load 104 is off at step 712, the controller 214 controls the drive circuit 216 such that the bidirectional semiconductor switch 212 becomes non-conductive at step 718. The controller 214 then controls the visual indicator 214 to be off at step 720 and the BSS timer procedure 700 exits. [0074] While the present invention has been described with reference to the electronic switch 110 controlling the power delivered to a connected lighting load, the concepts of the present invention could be used in any type of control device of a load control system, such as, for example, a dimmer switch for adjusting the intensity of a lighting load (such as an incandescent lamp, a magnetic low-voltage lighting load, an electronic low-voltage lighting load, and a screw-in compact fluorescent lamp), a remote control, a keypad device, a visual display device, a controllable plug-in module adapted to be plugged into an electrical receptacle, a controllable screw-in module adapted to be screwed into the electrical socket (e.g., an Edison socket) of a lamp, an electronic dimming ballast for a fluorescent load, and a driver for a light-emitting diode (LED) light source, a motor speed control device, a motorized window treatment, a temperature control device, an audio/visual control device, or a dimmer circuit for other types of lighting loads, such as, magnetic low-voltage lighting loads, electronic low-voltage lighting loads, and screw-in compact fluorescent lamps.

[0075] Although the present invention has been described in relation to particular embodiments thereof, many other variations and modifications and other uses will become apparent to those skilled in the art. It is preferred, therefore, that the present invention be limited not by the specific disclosure herein, but only by the appended claims.