1. Field of the Invention
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 an ambient light threshold adjustment procedure for a load control device that is operable to control the electrical load in response to detected occupancy and ambient light conditions.
2. Description of the Related Art
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.
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. Digital dimmers and switches may further comprise occupancy detection circuits such that the dimmers and switches are able to operate as occupancy sensors to automatically turn on lighting loads in response to the presence of an occupant (i.e., an occupancy condition) and automatically turn off the lighting loads in response to detecting the absence of an occupant (i.e., a vacancy condition).
Such a digital device may further comprise an ambient light detector such that the device will only turn on the lighting load in response to an occupancy condition when the detected (or measured) ambient light is below a predetermined ambient light level threshold. This provides energy savings as the lighting load is not turned on unnecessarily (i.e., the lighting load is not turned on in an already brightly illuminated space each time an occupant is detected). However, the value of the predetermined ambient light level threshold may not be suitable in some applications and may require adjustment once the device is installed. Some prior art digital devices do not provide for the predetermined ambient light level threshold to be adjusted once the device is installed. Other prior art digital devices may comprise a dedicated mechanism such as a knob or button for adjusting the value of the ambient light level threshold. However, such a dedicated mechanism adds additional cost to the device. Further, such a mechanism may not be visible to a user once the device is installed in a standard wallbox, thus the user may not realize that such a mechanism exists or that the ambient light level threshold can even be adjusted.
Therefore, there exists a need for an improved method of adjusting the ambient light level threshold of a digital load control device.
According to an embodiment of the present invention, a method for controlling the power delivered from an AC power source to an electrical load is provided. The method includes detecting an occupancy condition and comparing a measured ambient light level to an initial ambient light level threshold. The method further includes receiving an actuation to change the state of the electrical load within a predetermined time period after detecting the occupancy condition, and accordingly generating an adjusted ambient light level threshold in response to the step of receiving an actuation.
According to a second embodiment of the present invention, a load control device is adapted to be coupled between an AC power source and an electrical load such that the load control device can control the power delivered to the load. The load control device includes 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 the controllably conductive device to render the controllably conductive device conductive and non-conductive. The load control device includes an actuator operatively coupled to the controller such that the controller is operable to render the controllably conductive device conductive and non-conductive in response to actuations of the actuator. The load control device further includes an occupancy detection circuit for detecting the presence or absence of an occupant, and an ambient light detector for measuring the ambient light level, both of which being operatively coupled to the controller. The controller is operable to render the controllably conductive device conductive and non-conductive in response to the occupancy detection circuit and the ambient light detector. The controller is further operable to automatically adjust an ambient light level threshold in response to detecting an actuation of the actuator that occurs within a predetermined time period of detecting the presence of an occupant.
According to a third embodiment of the present invention, a load control system controls the power delivered to a load, and includes at least one actuator operable to receive actuations to turn the load on or off in response to the actuations. The load control system includes an occupancy detector for detecting the presence or absence of an occupant and an ambient light detector for measuring the ambient light level. The load control system includes a controller that is operable to respond to actuations of the actuator, the detected presence or absence of the occupant, and the measured ambient light level. The load control system also includes a load control device adapted to be coupled between an AC power source and the load for controlling the power delivered to the load in response to the controller. The controller is operable to automatically adjust an ambient light level threshold in response to detecting an actuation of the actuator that occurs after detecting the presence of an occupant.
Other features and advantages of the present invention will become apparent from the following description of the invention that refers to the accompanying drawings.
The invention will now be described in greater detail in the following detailed description with reference to the drawings in which:
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.
As shown in
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 110 comprises a lens 120 for directing the infrared energy from the occupant to an occupancy detection circuit 230 (
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 Ser. No. 12/203,500, filed Sep. 3, 2008, entitled BATTERY-POWERED OCCUPANCY SENSOR, the entire disclosure of which is hereby incorporated by reference.
The relay 210 is 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. A zero-crossing detector 222 is coupled in series electrical connection between the hot terminal H and the ground terminal G as well as the switched hot terminal SH and the ground terminal G, and the zero-crossing detector determines the zero-crossings of the input AC waveform from the AC power supply 102. A zero-crossing is defined as the time at which the AC supply voltage transitions from positive to negative polarity, or from negative to positive polarity, at the beginning of each half-cycle. The zero-crossing information is provided as an input to the controller 214. The controller 214 controls the latching relay 210 such that the latching relay is rendered conductive near the zero-crossings of the input AC waveform to minimize electrical stress on the contacts of the relay and is used to detect loss of power.
The electronic switch 110 comprises a power supply 220 to generate a DC supply voltage VCC (e.g., having an average magnitude of approximately three volts). The controller 214 and other low-voltage circuitry of the electronic switch 110 are powered from the DC supply voltage VCC. The power supply 220 is operable to generate the DC supply voltage VCC in response to the leakage current flowing from the hot terminal H to the ground terminal G and from the switched hot terminal SH to the ground terminal G.
The controller 214 is coupled to the control actuator 116 such that the controller receives inputs in response to actuations of the control actuator 116 of the electronic switch 110. Accordingly, the controller 214 is operable to control the relay 210 to toggle the lighting load 104 on and off in response to actuations of the control actuator 116. The controller 214 is further operable to control the visual indicator 118 to be illuminated when the lighting load 104 is on and not illuminated when the lighting load is off. According to an alternate embodiment, the visual indicator 118 may not be present on the electronic switch. The controller 214 is also coupled to a memory 228 for storage of operational characteristics of the electronic switch 110. The memory 228 may be implemented as an external integrated circuit (IC) or as an internal circuit of the controller 214.
The electronic switch 110 may further comprise a communication circuit 240. The communication circuit 240 may be coupled to a wired communication link (not shown) such the controller 214 can receive and/or transmit signals or digital messages from other devices in the lighting control system 100. The controller 214 may be operable to control the relay 210 in response to the signals or digital messages received via the wired communication link. Alternatively, the communication circuit 240 may comprise a radio-frequency (RF) transceiver (not shown) and an antenna (not shown) for transmitting and receiving digital messages via 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. Pat. No. 5,982,103, issued Nov. 9, 1999, and U.S. Pat. No. 7,362,285, issued Apr. 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.
As previously mentioned, the electronic switch 110 comprises the occupancy detection circuit 230 that includes an internal detector, e.g., a pyroelectric infrared (PIR) detector. The internal detector is mounted in the electronic switch 110 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 in response to the occupancy detection circuit 230.
The electronic switch 110 also comprises an ambient light detector 234 (e.g., a photocell) for detecting the level of ambient light around the electronic switch. The controller 214 is coupled to the ambient light detector 234 and regularly measures and filters the ambient light level. When an occupancy condition is first detected, a measured ambient light level LM is compared to a predetermined ambient light level threshold LT. If the measured ambient light level LM is less than the predetermined ambient light level threshold LT when an occupancy condition is detected by the electronic switch 110, the controller 214 controls the latching relay 210 to be conductive. On the other hand, if the measured ambient light level LM is greater than the ambient light level threshold LT when an occupancy condition is first detected, the controller does not control the latching relay 210 to be conductive. Accordingly, the electronic switch 110 does not turn on the lighting load 104 if the ambient light level in the space is sufficiently high.
The occupancy detection procedure 400 begins after occupancy has first been detected at step 401, and the controller 214 sets and begins decrementing a user-adjust timer (TimerU
If the measured ambient light level LM is greater than the ambient light level threshold LT, the controller 214 maintains the relay 210 non-conductive (i.e., does not render the latching relay to be conductive) at step 406 such that the lighting load 104 remains off. Then, at step 408, the controller 214 checks to see whether the control actuator 116 has been actuated to turn on the lighting load 104. If the control actuator has not been actuated to turn on the lighting load 104, the controller then checks whether the user-adjust timer has expired at step 414. If the user-adjust timer has not expired, the controller 214 continues to look for actuations until the user-adjust timer expires at step 414 at which time the controller 214 exits the occupancy detection procedure 400.
If the user does actuate the control actuator 116 to turn on the lighting load 104 at step 408, then the controller 214 executes the ambient light level threshold increase adjustment procedure 500 to increase the value of the predetermined ambient light level threshold LT before rendering the relay conductive at step 409 (to respond to the actuation of the control actuator 116) and exiting the occupancy detection procedure 400. In other words, the controller 214 initially determines that there is sufficient ambient light in the space at step 404 based on the predetermined ambient light level threshold LT, and then accordingly, does not turn on the lighting load 104 at step 406. However, because the user manually turned on the lighting load 104 at step 408 (i.e., indicating that there was, in fact, not sufficient ambient light in the space), the controller 214 may increase the value of the ambient light level threshold LT during the ambient light level threshold increase adjustment procedure 500. Thus, the next time that the occupancy detection procedure 400 is executed, the controller 214 may rely upon a slightly increased value of the ambient light level threshold LT such that at step 404, the controller may be more likely to turn on the lighting load 104 during conditions when the measured ambient light level LM is approximately equal to the currently measured ambient light level.
If the measured ambient light level LM is not greater than the ambient light level threshold LT at step 404, the controller 214 renders the latching relay 210 to be conductive at step 410 (i.e., the lighting load 104 turns on). Then, the controller 214 checks whether the control actuator 116 has been actuated to turn off the lighting load 104. If the control actuator 116 has been actuated to turn off the lighting load 104, then the controller 214 executes the ambient light level threshold decrease adjustment procedure 600 to decrease the predetermined ambient light level threshold LT before rendering the relay non-conductive at step 413 (to respond to the actuation of the control actuator 116) and subsequently exiting the occupancy detection procedure 400. In other words, the controller 214 initially determines that there is not sufficient ambient light in the space at step 404 based on the initial value of the ambient light level threshold LT, and then accordingly, turns on the lighting load 104 at step 410. However, because the user manually turned off the lighting load 104 at step 412 (i.e., indicating that there was, in fact, sufficient ambient light in the space before the controller 214 rendered the relay 210 conductive), the controller 214 decreases the value of the ambient light level threshold LT during ambient light level threshold decrease adjustment procedure 600. Thus, the next time that the occupancy detection procedure 400 is executed, the controller 214 will use an ambient light level threshold LT having a slightly decreased value such that at step 404, the controller will be less likely to turn on the lighting load 104 during conditions when the measured ambient light level LM is approximately equal to the currently measured ambient light level.
If the controller 214 does not receive any actuations of the control actuator 116 at step 412, the controller then checks whether the user-adjust timer has expired at step 416. If the user-adjust timer has not expired, the controller 214 continues to look for actuations until the user-adjust timer expires upon which the controller 214 exits the occupancy detection procedure 400.
Delta=|LM−LT|. (Equation 1)
At step 504, an adjusted ambient light level threshold LT
L
T
ADJ
=L
M+(Delta*FS
where FS
Then, at step 510 the adjusted ambient light level threshold LT
L
T
=[L
T
ADJ
+L
T
1+(LT
where LT
L
T
ADJ
=L
M−(Delta*FS
where FS
Additionally, when the user does not adjust or override the automatic response of the electronic switch 110 during the occupancy detection procedure 400, the controller 214 may be operable to capture that event and apply it to a digital filter. In other words, if the automatic response of the electronic switch based on the present ambient light level threshold LT, did not result in any subsequent user actuations, then it may be valuable to factor that event into the formulation of the ambient light level threshold. More particularly, if the user-adjust timer expires at steps 414 or 416 (i.e., actuator is not accessed by a user during the time window) during the occupancy detection procedure 400, the controller 214 is further operable to update a new value of the ambient light level threshold LT, for example, using a digital filter characterized by the following equation:
L
T
=[L
T
+L
T
1+(LT
to appropriately factor the current ambient light level threshold LT into the digital filter. Equation 5 is essentially the same as equation 4, however, equation 5 relies upon the current ambient light level threshold LT rather than the adjusted ambient light level threshold LT
In short, the controller 214 of the electronic switch 110 digitally filters historical data of user actuations to appropriately adjust the ambient light level threshold LT based on usage representative of typical everyday use of the electronic switch. Alternatively, the controller 214 may process the historical data of user actuations in a different fashion than described above, for example, by using a box car average technique or a box car median technique to update the appropriate ambient light level threshold.
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, 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.
Additionally, the concepts of the present invention could be used in load control systems where the ambient light detector and/or occupancy detector and/or control actuator, etc are located remotely from the controller and are operable to communicate over a wired or wireless communication link. Examples of such load control systems are described in greater detail in commonly-assigned U.S. patent application Ser. No. 12/845,016, filed Jul. 28, 2010, entitled LOAD CONTROL SYSTEM HAVING AN ENERGY SAVINGS MODE, the entire disclosure of which is hereby incorporated by reference.
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.
This application is a non-provisional application of commonly-assigned U.S. Provisional Application No. 61/495,457, filed Jun. 10, 2011, entitled METHOD AND APPARATUS FOR ADJUSTING AN AMBIENT LIGHT THRESHOLD, the entire disclosure of which is hereby incorporated by reference.
Number | Date | Country | |
---|---|---|---|
61495457 | Jun 2011 | US |