CONTROL DEVICE HAVING BUTTONS WITH AUTOMATICALLY ADJUSTABLE BACKLIGHTING
20220159798 · 2022-05-19
Assignee
Inventors
- Daniel L. Twaddell (Bethlehem, PA, US)
- Matthew Philip McDonald (Phoenixville, PA, US)
- Jason C. Killo (Emmaus, PA, US)
- Jonathan Robert Quayle (Bethlehem, PA, US)
Cpc classification
H05B47/11
ELECTRICITY
Y02B20/40
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
H02B15/00
ELECTRICITY
H01H13/83
ELECTRICITY
International classification
H01H13/83
ELECTRICITY
H05B47/11
ELECTRICITY
Abstract
A control device may comprise a plurality of buttons, a plurality of light sources located behind the respective buttons and configured to illuminate the buttons, a light detector circuit configured to measure an ambient light level around the control device, and/or a control circuit configured to control the light sources to adjust surface illumination intensities of the respective buttons in response to the measured ambient light level. Each button may comprise indicia indicating a function of the button. The control circuit set the first button as active and the second button as inactive in response to an actuation of the first button. The control circuit may, based on the measured ambient light level, control the light sources to illuminate the first button to an active surface illumination intensity, and to illuminate the second button to an inactive surface illumination intensity that is less than the active surface illumination intensity.
Claims
1. A system to control backlighting of two or more keys on a keypad, comprising: a plurality of buttons a plurality of light sources, each of the plurality of light sources to backlight an indicia disposed on a respective one of the plurality of buttons; memory circuitry to store: a table of inactive button light source output parameters; and a table of active button light source luminous output parameters; and control circuitry communicatively coupled to the memory circuitry to: cause each of the plurality of light sources to produce a luminous output having a first set of output parameters for each of the plurality of buttons, the first set of output parameters determined using the stored table of inactive button light source output parameters; receive an input indicative of a user interaction with a first button included in the plurality of buttons; and responsive to receipt of the input indicative of the user interaction with the first button: cause the light source that backlights the first button to produce a luminous output having a second set of output parameters, the second set of output parameters determined using the stored table of active button light source output parameters; and maintain the remaining plurality of light sources at the first set of output parameters.
2. The system of claim 1, the control circuitry to further: maintain the light source that backlights with the first button at the second set of output parameters for the duration of the input indicative of the user interaction with the first button.
3. The system of claim 2, the control circuitry to further: maintain the light source that backlights the first button at the second set of output parameters for a defined temporal duration after loss of the input indicative of the user interaction with the first button.
4. The system of claim 1 wherein the first set of output parameters include at least one of: output intensity or output spectrum.
5. The system of claim 1 wherein the second set of output parameters include at least one of: output intensity or output spectrum.
6. The system of claim 1: wherein each of the plurality of buttons comprises a translucent member coated with an opaque material; and wherein the indicia on each of the plurality of buttons is etched into the opaque material such that at least a portion of the illumination produced by the light sources exits the translucent member through the indicia.
7. The system of claim 1 wherein the plurality of light sources comprise a plurality of light-emitting diodes (LEDs).
8. A method to control backlighting of two or more keys on a keypad, the method comprising: causing, by control circuitry, each of a plurality of light sources to produce a luminous output having a first set of output parameters, each of the plurality of light sources to backlight an indicia disposed on a respective one of a plurality of buttons, the first set of output parameters determined using a table of inactive button light source output parameters stored in memory circuitry communicatively coupled to the control circuitry; receiving, by the control circuitry, an input indicative of a user interaction with a first button included in the plurality of buttons; and responsive to receipt of the input indicative of the user interaction with the first button: causing, by the control circuitry, the light source that backlights the first button to produce a luminous output having a second set of output parameters, the second set of output parameters determined using the table of active button light source output parameters stored in the memory circuitry; and maintaining, by the control circuitry, the remaining light sources at the first set of output parameters.
9. The method of claim 8, further comprising: maintaining, by the control circuitry, the light source that backlights the first button at the second set of output parameters for the duration of the input indicative of the user interaction with the first button.
10. The method of claim 9, further comprising: maintaining, by the control circuitry, the light source associated with the first button at the second set of output parameters for a defined temporal duration after loss of the input indicative of the user interaction with the first button.
11. The method of claim 8 wherein causing each of the plurality of light sources to produce the luminous output having the first set of output parameters further comprises: causing, by control circuitry, each of a plurality of light sources to produce a luminous output having a first set of output parameters that include at least one of: an output intensity or an output spectrum.
12. The method of claim 8 wherein causing the light source that backlights the first button to produce the luminous output having the second set of output parameters further comprises: causing, by control circuitry, the light source that backlights the first button to produce the luminous output having the second set of output parameters that include at least one of: output intensity or output spectrum.
13. A non-transitory, machine-readable, storage device that includes instructions that, when executed by keypad backlight control circuitry, cause the control circuitry to: cause each of a plurality of light sources to produce a luminous output having a first set of output parameters, each of the plurality of light sources to backlight an indicia disposed on a respective one of a plurality of buttons, the first set of output parameters determined using a table of inactive button light source output parameters stored in memory circuitry communicatively coupled to the control circuitry; receive an input indicative of a user interaction with a first button included in the plurality of buttons; and responsive to receipt of the input indicative of the user interaction with the first button: cause the light source that backlights the first button to produce a luminous output having a second set of output parameters, the second set of output parameters determined using the table of active button light source output parameters stored in the memory circuitry; and maintain the remaining light sources at the first set of output parameters.
14. The non-transitory, machine-readable, storage device of claim 13 wherein the instructions, when executed by keypad backlight control circuitry, further cause the control circuitry to: maintain the light source that backlights the first button at the second set of output parameters for the duration of the input indicative of the user interaction with the first button.
15. The non-transitory, machine-readable, storage device of claim 14 wherein the instructions, when executed by keypad backlight control circuitry, further cause the control circuitry to: maintain the light source associated with the first button at the second set of output parameters for a defined temporal duration after loss of the input indicative of the user interaction with the first button.
16. The non-transitory, machine-readable, storage device of claim 13 wherein the instructions that cause the keypad backlight control circuitry to cause each of the plurality of light sources to produce the luminous output having the first set of output parameters further cause the control circuitry to: cause each of a plurality of light sources to produce a luminous output having a first set of output parameters that include at least one of: an output intensity or an output spectrum.
17. The non-transitory, machine-readable, storage device of claim 13 wherein the instructions that cause the keypad backlight control circuitry to cause the light source that backlights the first button to produce the luminous output having the second set of output parameters further cause the control circuitry to: cause the light source that backlights the first button to produce the luminous output having the second set of output parameters that include at least one of: output intensity or output spectrum.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0008]
[0009]
[0010]
[0011]
[0012]
[0013]
[0014]
DETAILED DESCRIPTION
[0015]
[0016] The keypad 100 may be configured to transmit a digital message to one or more external load control device via a communication link for controlling respective electrical loads. The communication link may comprise a wired communication link or a wireless communication link, such as a radio-frequency (RF) communication link. Alternatively, the keypad 100 may comprise an internal load control circuit for controlling the power delivered to one or more electrical loads. Examples of load control systems having remote control devices, such as the keypad 100, are described in greater detail in commonly-assigned U.S. Pat. No. 6,803,728, issued Oct. 12, 2004, entitled SYSTEM FOR CONTROL OF DEVICES, and U.S. Patent Application Publication No. 2014/0001977, published Jan. 2, 2014, entitled LOAD CONTROL SYSTEM HAVING INDEPENDENTLY-CONTROLLED UNITS RESPONSIVE TO A BROADCAST CONTROLLER, the entire disclosures of which are hereby incorporated by reference.
[0017] One or more of the buttons 104 may comprise indicia, such as text 120, for indicating a preset (e.g., a lighting scene) or command (e.g., on/off, raise/lower, etc.) that may be transmitted in response to an actuation of the button 104. Alternatively or additionally, the indicia on the button 104 may comprise an icon or symbol. The buttons 104 may be backlit to allow the indicia to be read in a wide range of ambient light levels. Each button 104 may be made of a translucent (e.g., transparent, clear, and/or diffusive) material, such as plastic or glass. Alternatively or additionally, each buttons 104 may comprise a plastic surface, a glass surface, or a metallic surface. The buttons 104 may be illuminated by one or more light sources (e.g., LEDs) located behind or to the side of each button (e.g., inside of the keypad 100), for example, such that light is emitted through the indicia and the indicia is illuminated.
[0018] In some embodiments, each button 104 may have a translucent body (not shown) and an opaque material, e.g., a metallic sheet (not shown), adhered to a front surface of the body. The text 120 may be etched into the metallic sheet of each button 104 (e.g., through a machining process, laser cutting, photo-etching, or other metal-removal process). The illumination from the light source may shine through the translucent body, but not through the metallic sheet, such that the text 120 of each button (e.g., that is etched away from the metallic sheet) is illuminated. Alternatively, the buttons 104 may be coated with another type of opaque material, such as paint, and the text 120 may be etched into the paint. The body 112 of the button 104 may be made of another type of translucent material, such as glass. The opaque material (such as paint) may be coated onto the rear surface 118 of the body 110 and the text 118 may be etched into paint on the rear surface of the body.
[0019] The faceplate 102 may comprise indicia that, for example, may be backlit to allow the indicia to be read in a wide range of ambient light levels. The indicia of the faceplate 102 may be backlit by one or more light sources (e.g., LEDs) located behind or to the side of the faceplate 102. For example, the faceplate 102 and the indicia may be composed in a manner similar to the buttons 104 and/or the light source(s) associated with the faceplate 102 may be illuminated in a similar manner as described with respect the light sources associated with the buttons 104.
[0020] One or more of the buttons 104 may be selected by a user (e.g., via actuation of the button), while the remaining button(s) 104 may be unselected. The keypad 100 may operate to backlight the buttons 104, such that the text 120 of the selected button 104 (e.g., a selected preset or an “active” preset) is illuminated to an active surface illumination intensity L.sub.SUR1, and the text 120 of the unselected buttons 104 (e.g., the other presets or “inactive” presets) is illuminated to an inactive surface illumination intensity L.sub.SUR2. The active surface illumination intensity L.sub.SUR1 may be greater than the inactive surface illumination intensity L.sub.SUR2, such that a user may indentify which of the buttons 104 is selected based upon the intensity of the illumination of the text 120.
[0021] The ambient light level in the room in which the keypad 100 is installed may affect a user's ability to read the text 120 on the buttons 104. Additionally, the color of the walls, floors, keypad 100, etc. may also affect the surface illumination intensity L.sub.SUR1, L.sub.SUR2 perceived by the user. For example, if the contrast between the brightness of the illuminated text 120 and the brightness of the adjacent surface of the button 104 is too low, the illuminated text may appear washed out to the user. Accordingly, the keypad 100 may comprise an ambient light detection circuit (not shown), which may be located inside of the keypad and may be configured to measure the ambient light level in the room in which the keypad 100 is installed. For example, the keypad 100 may comprise an opening 130 in the adapter 108 through which the ambient light detection circuit may receive light to make a determination of the ambient light level in the room. Alternatively or additionally, the keypad 100 may comprise an opening in the faceplate 102 and/or one or more of the buttons 104 for allowing the ambient light detection circuit to receive light. In addition, the ambient light detection circuit may be configured to receive light through the gaps between the buttons 104 and/or through the material of the buttons. The ambient light detection circuit may also be positioned behind a semi-transparent or dark window and may be configured to receive light through the window. The keypad 100 may comprise a light pipe for directing light from outside of the keypad to the ambient light detection circuit.
[0022] The keypad 100 may be configured to adjust the active and inactive surface illumination intensities L.sub.SUR1, L.sub.SUR2 in response to the measured ambient light level. For example, the keypad 100 may be configured to increase the active and inactive surface illumination intensities L.sub.SUR1, L.sub.SUR2 if the ambient light level increases, and configured to decrease the active and inactive surface illumination intensities L.sub.SUR1, L.sub.SUR2 if the ambient light level decreases. As such, the keypad 100 may reduce the affect that the ambient light level in the room and other external factors (e.g., color of the walls, floor, keypad 100, etc.) have on the user's ability to read the text 120 on the buttons 104, and for example, distinguish between a selected an unselected button 104.
[0023]
[0024] The control device 200 may further comprise a communication circuit 214, such as, a wired communication circuit or a wireless communication circuit (e.g., an RF transmitter coupled to an antenna for transmitting RF signals). The control circuit 210 may be coupled to the communication circuit 214 for transmitting digital messages in response actuations of the actuators. Alternatively or additionally, the communication circuit 214 may include an RF receiver for receiving RF signals, an RF transceiver for transmitting and receiving RF signals, or an infrared (IR) transmitter for transmitter IR signals. The control circuit 210 may be configured to receive a digital message including, for example, a selected preset and/or the status of an electrical load controlled by an external load control device. The control circuit 210 may also be configured to one or more digital messages including configuration information for the control device 200, for example, from a system controller of the load control system in which the control device is operating and/or from a network device, such as a laptop, a smart phone, a tablet, or similar device.
[0025] The control device 200 may also include a memory 216 communicatively coupled to the control circuit 210. The control circuit 210 may be configured to use the memory 216 for the storage and/or retrieval of, for example, commands and/or preset information to transmit in response to actuations of the buttons 104. The memory 216 may be implemented as an external integrated circuit (IC) or as an internal circuit of the control circuit 210.
[0026] The control device 200 may also comprise a power supply 218 for generating a direct-current (DC) supply voltage V.sub.CC for powering the control circuit 210, the communication circuit 214, the memory 216, and/or other low-voltage circuitry of the control device. The power supply 218 may be coupled to an alternating-current (AC) power source or an external DC power source via electrical connections 219. The control device 200 may comprise an internal power source (e.g., one or more batteries) for supplying power to the power supply 218.
[0027] The control device 200 may comprise a backlighting circuit 220 for illuminating indicia on one or more buttons (e.g., the buttons 104 of the keypad 100). For example, the backlighting circuit 220 may comprise four LEDs 222 coupled respective ports on the control circuit 210 respective resistors 224. The control circuit 210 may be configured to individually turn each LED 222 on by pulling the respective port low towards circuit common, such that the LED is coupled between the supply voltage V.sub.CC and circuit common through the respective resistor 224. The control circuit 210 may be configured to adjust (e.g., dim) the illumination of each LED 222. For example, the control circuit 210 may be configured to adjust the illumination of an LED 222 by pulse-width modulating (PWM) the LED current conducted through the LED and adjusting a duty cycle DC.sub.LED of the pulse-width modulated LED current.
[0028] While the control device 200 shown in
[0029] The control circuit 210 may be configured to backlight buttons (e.g., the buttons 104), such that the text of a specific button (e.g., a button having indicia indicating a selected preset, which may be referred to as “the selected button” or “the active button”) is illuminated to an active surface illumination intensity L.sub.SUR1, and the indicia of each of the other buttons (e.g., which may be referred to as “the unselected buttons” or “the inactive buttons”) is illuminated to an inactive surface illumination intensity L.sub.SUR2, where the inactive surface illumination intensity L.sub.SUR2 is less than the active surface illumination intensity L.sub.SUR1. To illuminate the text of one of the buttons 104 to the active surface illumination intensity L.sub.SUR1, the control circuit 210 may pulse-width modulate the LED current through the LED behind the selected button using a first LED duty cycle DC.sub.LED1 to cause the respective LED to illuminate to a first LED illumination intensity L.sub.LED1. To illuminate the text of one of the buttons 104 to the inactive surface illumination intensity L.sub.SUR2, the control circuit 210 may pulse-width modulate the LED current through the LED behind the button using a second LED duty cycle DC.sub.LED2 to cause the respective LED to illuminate to a second LED illumination intensity L.sub.LED2. The second LED illumination intensity L.sub.LED2 may be less that the first LED illumination intensity L.sub.LED1, such that the light illuminated by the second LED is less than the light illuminated by the first LED (e.g., the inactive surface illumination intensity L.sub.SUR2 is less than the active surface illumination intensity L.sub.SUR1).
[0030] The control circuit 210 may be configured to backlight two or more locations of the control device 200 to different surface illumination intensities (e.g., the active surface illumination intensity L.sub.SUR1 and the inactive surface illumination intensity L.sub.SUR2) based on a measured ambient light level. For example, the control device 200 may include a faceplate (e.g., faceplate 102), and the faceplate may include indicia (e.g., that may indicate a name of the control device 200, a user's name, and/or other indicia). The control device 200 may be configured to illuminate different indicia of the faceplate to different surface illumination intensities, and/or the control device 200 may be configured to illuminate indicia of the faceplate to one surface illumination intensity and one or more buttons to another surface illumination intensity. Further, the control circuit 210 may be configured to illuminate different locations of a single button of the control device 200 to different surface illumination intensities.
[0031] The control device 200 may comprise an ambient light detector 230 (e.g., an ambient light detection circuit) for measuring an ambient light level L.sub.AMB in the room in which the control device 200 is installed. The ambient light detector 230 may generate an ambient light detect signal, which may indicate the ambient light level L.sub.AMB and may be received by the control circuit 210. The ambient light detect signal may be an analog signal or a digital signal. The control circuit 210 may be configured to adjust the first and second LED illumination intensities L.sub.LED1, L.sub.LED2 in response to the measured ambient light level L.sub.AMB, for example, as may be determined from ambient light detect signal. For example, the control circuit 210 may be configured to increase the first and second LED illumination intensities L.sub.LED1, L.sub.LED2 to increase the active and inactive surface illumination intensities L.sub.SUR1, L.sub.SUR2 if the ambient light level increases. The control circuit 210 may be configured to decrease the first and second LED illumination intensities L.sub.LED1, L.sub.LED2 to decrease the active and inactive surface illumination intensities L.sub.SUR1, L.sub.SUR2 if the ambient light level decreases.
[0032] The control circuit 210 may be configured to adjust the first and second LED illumination intensities L.sub.LED1, L.sub.LED2 by adjusting the duty cycle DC.sub.LED of the LED current through each of the LED behind the respective buttons. For example, the control circuit 210 may adjust the first duty cycle DC.sub.LED1 of the LED current through the LED behind the button having the active preset in response to the measured ambient light level L.sub.AMB according an active LED adjustment curve DC.sub.ACTIVE, and adjust the second duty cycle DC.sub.LED2 of the LED current through each of the LEDs behind the buttons having the inactive presets in response to the measured ambient light level L.sub.AMB according an inactive LED adjustment curve DC.sub.INACTIVE.
[0033] The control circuit 210 may store the active LED adjustment curve DC.sub.ACTIVE and the inactive LED adjustment curve DC.sub.INACTIVE in the memory 216. The active LED adjustment curve DC.sub.ACTIVE and the inactive LED adjustment curve DC.sub.INACTIVE may be stored in tables with a value of the duty cycle DC.sub.LED for each of multiple measured ambient light levels L.sub.AMB. The active LED adjustment curve DC.sub.ACTIVE and the inactive LED adjustment curve DC.sub.INACTIVE may be defined by predetermined functions characterized by one or more parameters, such as, a scaling factor (e.g., a slope) and an offset (e.g., a y-axis intercept). The control circuit 210 may be configured to receive the active LED adjustment curve DC.sub.ACTIVE and/or the inactive LED adjustment curve DC.sub.INACTIVE (e.g., the tables and/or the parameters) via the communication circuit 214. The control circuit 210 may then store the active LED adjustment curve DC.sub.ACTIVE and the inactive LED adjustment curve DC.sub.INACTIVE (e.g., the tables and/or the parameters) in the memory 216. The control circuit 210 may use the active LED adjustment curve DC.sub.ACTIVE to determine the duty cycle DC.sub.LED of the LED current through the LED behind the selected (or active) button. The control circuit 210 may use the inactive LED adjustment curve DC.sub.INACTIVE to determine the duty cycle DC.sub.LED of the LED current through each of the LEDs behind the unselected (or inactive) buttons.
[0034] The active LED adjustment curve DC.sub.ACTIVE and the inactive LED adjustment curve DC.sub.INACTIVE (e.g., the values of the table and/or the parameters) may be adjusted. For example, the active LED adjustment curve DC.sub.ACTIVE and the inactive LED adjustment curve DC.sub.INACTIVE may be adjusted by the system controller and/or the network device of the load control system, which may transmit new values for the table and/or parameters to the control circuit 210 via the communication circuit 214. Alternatively or additionally, the control circuit 210 may store multiple curves for each of the active LED adjustment curve DC.sub.ACTIVE and the inactive LED adjustment curve DC.sub.INACTIVE in the memory 216, and may recall one of the multiple curves for each of the active LED adjustment curve DC.sub.ACTIVE and the inactive LED adjustment curve DC.sub.INACTIVE in response to a digital message received via the communication circuit 214.
[0035]
[0036] If, for example, the control circuit is using the active and inactive adjustment curves DC.sub.ACTIVE, DC.sub.INACTIVE 301, 302 and if the measured ambient light level L.sub.AMB is approximately 500 Lux, then the control circuit will determine to control the first duty cycle DC.sub.LED1 of the LED current through the LED behind the control button having the active preset (e.g., the selected button) to approximately 66%, and determine to control the second duty cycle DC.sub.LED2 of the LED current through each of the LEDs behind the control buttons having the inactive presets (e.g., the unselected buttons) to approximately 17%. Similarly, if the control circuit is using the active and inactive adjustment curves DC.sub.ACTIVE, DC.sub.INACTIVE 401, 402 and if the measured ambient light level L.sub.AMB is approximately 10 Lux, then the control circuit will determine to control the first duty cycle DC.sub.LED1 of the LED current through the LED behind the control button having the active preset (e.g., the selected button) to approximately 3.5%, and determine to control the second duty cycle DC.sub.LED2 of the LED current through each of the LEDs behind the control buttons having the inactive presets (e.g., the unselected buttons) to approximately 0.4%.
[0037] The human eye has a more difficult time discerning contrast in low ambient light levels than in high ambient light levels. Thus, the first duty cycle DC.sub.LED1 of the active adjustment curve DC.sub.ACTIVE may be, for example, over ten times greater than the second duty cycle DC.sub.LED2 of the inactive adjustment curve DC.sub.INACTIVE near a minimum ambient light level L.sub.AMB-MIN (e.g., approximately 0 Lux) as shown in
[0038] The active and inactive adjustment curves DC.sub.ACTIVE and DC.sub.INACTIVE may be non-linearly related (e.g., not proportional), for example, as shown by the example graph 300 in
[0039]
[0040] The control circuit may determine if the variable n is equal to the selected-button number N.sub.SEL at 518. If the control circuit determines that the variable n is equal to the selected-button number N.sub.SEL at 518 (e.g., the present button is the selected button), then, at 520, the control circuit may determine the first LED duty cycle DC.sub.LED1 for the nth LED from the active adjustment curve DC.sub.ACTIVE (e.g., according to graph 300 or graph 400) using the measured ambient light level L.sub.AMB. The control circuit may pulse-width modulate the LED current conducted through the nth LED using the first LED duty cycle DC.sub.LED1 at 522. If the control circuit determines that the variable n is not equal to the selected-button number N.sub.SEL at 518, then, at 524, the control circuit may determine the second LED duty cycle DC.sub.LED2 for the nth LED from the inactive adjustment curve DC.sub.INACTIVE (e.g., accordingly to graph 300 or graph 400) using the measured ambient light level L.sub.AMB. The control circuit may pulse-width modulate the LED current conducted through the nth LED using the second LED duty cycle DC.sub.LED2 at 526.
[0041] At 528, the control circuit may determine if the variable n is equal to a maximum number N.sub.MAX (e.g., the number of buttons 104 on the keypad 100). If the control circuit determines that the variable n is not equal to the maximum number N.sub.MAX at 528, then, at 530, the control circuit may increment the variable n by one, and the backlighting procedure 500 may loop around to control the intensity of the next LED (e.g., back to 518). If the control circuit determines that the variable n is equal to the maximum number N.sub.MAX at 528, then the backlighting procedure 500 may exit.
[0042] Illumination from the light source (e.g., LED) behind a button, such as the selected button, may affect the surface illumination intensity of the adjacent buttons (e.g., to not be equal to the second surface illumination intensity L.sub.SUR2). For example, the illumination from the LED behind the selected button may shine directly on and/or be reflected or refracted onto the rear surfaces of the bodies of the adjacent buttons and cause the surface illumination intensity of the adjacent buttons to increase (and not be equal to the second surface illumination intensity L.sub.SUR2). Accordingly, to cause all of the buttons other than the selected button to be illuminated to the second illumination intensity L.sub.SUR2, the control circuit may be configured to decrease the intensities of the LEDs of the buttons next to the selected button below the second LED illumination intensity L.sub.LED2, such that the resulting illumination intensity of the indicia on the buttons is approximately the second surface illumination intensity L.sub.SUR2.
[0043] Since the indicia of the buttons may be located at a position other than the middle of the button (e.g., towards the topside of the buttons, such as is shown by the text 120 on the buttons 104), the light source behind a specific button (e.g., the selected button) may have a greater effect on the surface illumination intensity of a button closest to the indicia of the specific button (e.g., above the specific button) than on the surface illumination intensity on a button further from the indicia of the specific button (e.g., button below that specific button). For example, assuming the indicia is located towards the topside of the buttons and the buttons are configured in a vertical orientation, the LED behind a selected button may cause a first amount of change Δ.sub.LED-BELOW (e.g., approximately 9%) on the surface illumination of the button below the selected button and a second, greater amount of change Δ.sub.LED-ABOVE (e.g., approximately 15%) on the surface illumination of the button above the selected button. The first and second amount of change Δ.sub.LED-BELOW, Δ.sub.LED-ABOVE may be predetermined (e.g., and stored in memory) or may be calculated by the control circuit (e.g., using the ambient light detection circuit).
[0044] The control circuit may be configured to adjust for the effect caused by the location of the indicia on the buttons. Using the example provided above, the control circuit may be configured to control the LED of the button below the selected button to a third LED illumination intensity L.sub.LED3, and to control the LED of the button above the selected button to a fourth LED illumination intensity L.sub.LED4. The fourth LED illumination intensity L.sub.LED4 may be less than the third LED illumination intensity L.sub.LED3. The control circuit may be configured to control the illumination of the LEDs to the third and fourth LED illumination intensities L.sub.LED3, L.sub.LED4, for example, by controlling the LED current through the respective LED using respective third and fourth LED duty cycles DC.sub.LED2′, DC.sub.LED2″.
[0045] The third and fourth LED duty cycles DC.sub.LED2′, DC.sub.LED2″ may be calculated using the inactive duty cycle curve DC.sub.INACTIVE and/or the second LED duty cycle DC.sub.LED2. For example, the third and fourth LED duty cycles DC.sub.LED2′, DC.sub.LED2″ may be calculated by multiplying the second LED duty cycle DC.sub.LED2 by predetermine values (e.g., a first predetermined value based on the predetermined amount of change Δ.sub.LED-BELOW, and a second predetermined value based on the predetermined amount of change Δ.sub.LED-ABOVE). If the indicia on the buttons is located towards the center of the buttons, the control circuit may be configured to control the LEDs of the buttons below and above the selected button to the same LED illumination intensity (e.g., the amount of change Δ.sub.LED-BELOW may be the same as the amount of change Δ.sub.LED-ABOVE).
[0046]
[0047] At 622, the control circuit may determine whether the variable n is equal to the selected-button number N.sub.SEL. If the control circuit determines that the variable n is equal to the selected-button number N.sub.SEL at 622 (e.g., the present button is the selected button), then the control circuit may control the LED current conducted through the LED behind the selected button using the first LED duty cycle DC.sub.LED1 at 624. If the control circuit determines that the variable n is not equal to the selected-button number N.sub.SEL at 622, then the control circuit determines whether variable n is equal to the selected-button number N.sub.SEL plus one at 626. If the control circuit determines that the variable n is equal to the selected-button number N.sub.SEL plus one at 626 (e.g., determines that the button is the button below the selected button), then the control circuit may calculate the third LED duty cycle DC.sub.LED2′ at 628. For example, the control circuit may calculate the third LED duty cycle DC.sub.LED2′ based on the first amount of change Δ.sub.LED-BELOW caused by the LED behind the selected button on the button below the selected button. For example, the control circuit may calculate the third LED duty cycle DC.sub.LED2′ according to
DC.sub.LED2′=DC.sub.LED2−(DC.sub.LED-BELOW−DC.sub.LED2).Math.Δ.sub.LED-BELOW.
At 630, the control circuit may pulse-width modulate the LED current conducted through the LED behind the button below the selected button using the third LED duty cycle DC.sub.LED2′.
[0048] If the control circuit determines that the variable n is not equal to the selected-button number N.sub.SEL plus one at 626, then the control circuit may determine whether the variable n is equal to the selected-button number N.sub.SEL minus one at 632. If the control circuit determines that the variable n is equal to the selected-button number N.sub.SEL minus one at 632 (e.g., determines that the button is the button above the selected button), then the control circuit may calculate the fourth LED duty cycle DC.sub.LED2″ at 634. For example, the control circuit may calculate the fourth LED duty cycle DC.sub.LED2″ based on the second amount of change Δ.sub.LED-ABOVE caused by the LED behind the selected button on the button above the selected button. For example, the control circuit may calculate the fourth LED duty cycle DC.sub.LED2″ according to
DC.sub.LED2″=DC.sub.LED2−(DC.sub.LED-BELOW−DC.sub.LED2).Math.Δ.sub.LED-ABOVE.
At 636, the control circuit may pulse-width modulate the LED current conducted through the LED behind the button above the selected button using the fourth LED duty cycle DC.sub.LED2″. If the control circuit determines that the variable n is not equal to the selected-button number N.sub.SEL minus one at 632, then the control circuit may pulse-width modulate the LED current conducted through the nth LED using the second LED duty cycle DC.sub.LED2 at 638.
[0049] After setting the LED illumination intensity at 624, 630, 636, and 638, the control circuit may determine if the variable n is equal to a maximum number N.sub.MAX (e.g., the number of buttons 104 on the keypad 100) at 640. If the variable n is not equal to the maximum number N.sub.MAX at 640, the control circuit may increment the variable n by one at 642, before the procedure 600 loops around the set the LED illumination intensity for the next LED (e.g., the procedure returns to 622). If the variable n is equal to the maximum number N.sub.MAX at 640, the procedure 600 may exit.
[0050] A user may customize one or more of the adjustment curves (e.g., the active and/or inactive adjustment curves DC.sub.ACTIVE, DC.sub.INACTIVE), for example, using a control device (e.g., the control device 200), an external device (e.g., the system controller or the network device of the load control system), and/or the ambient light detection circuit. The control device may generate one or more adjustment curves based on user input. For example, the user may customize one or more adjustment curves by adjusting one or more parameters, such as, a scaling factor (e.g., a slope) and/or an offset (e.g., a y-axis intercept) of each adjustment curve, by adjusting an intensity contrast between the curves, by setting an LED illumination intensity L.sub.LED at a particular ambient light level L.sub.AMB, and/or the like. When adjusting the parameters of the curves, the parameters of both the active adjustment curve DC.sub.ACTIVE and the inactive adjustment curve DC.sub.INACTIVE may be adjusted (e.g., simultaneously). When adjusting the intensity contrast between the curves, the parameters of one of the curves (e.g., the active adjustment curve DC.sub.ACTIVE) may be adjusted while the other curve (e.g., the inactive adjustment curve DC.sub.INACTIVE) remains constant. For example, adjusting the parameters of both curves may be beneficial when the user would like to make both curves more or less bright, and adjusting the intensity contrast may be beneficial when the user would like to increase or decrease the contrast between the selected and unselected buttons.
[0051] The user may customize an adjustment curve, for example, via a user interface located on the control device (e.g., the button 104 of the keypad 100), through an external user interface (e.g., via a smartphone that communicates with the control device through wireless communication, through a device that communicates with the control device through wired communication, etc.), and/or the like. For example, an external device (e.g., smartphone, tablet, PC, etc.) may include a user interface that allows the user to customize one or more adjustment curves, and the customized adjustment curve(s) may be downloaded by and stored in memory on the control device. The user may select between a plurality of predefined adjustment curves, and/or the user may create and/or customize one or more adjustment curves. For example, the control device may be configured such that the user may set/select the active and/or inactive surface illumination intensities L.sub.SUR1, L.sub.SUR2 for the when the room is dark (e.g., one or more lights in the room are off), and set/select the active and inactive surface illumination intensities L.sub.SUR1, L.sub.SUR2 for when the room is bright (e.g., one or more lights in the room are on, for example, at full intensity). Thereafter, the control device may automatically generate the active and/or inactive adjustment curves DC.sub.ACTIVE, DC.sub.INACTIVE by scaling between those two points. For example, the y-axis intercept of the active adjustment curve DC.sub.ACTIVE may be set according to the selected active surface illumination intensity L.sub.SUR1 at the measured ambient light level L.sub.AMB when the room is dark. The scaling factor of the active adjustment curve DC.sub.ACTIVE may be set so as to cause the predetermined function defining the active adjustment curve DC.sub.ACTIVE to reach the selected active surface illumination intensity L.sub.SUR1 at the measured ambient light level L.sub.AMB when the room is bright.
[0052] A user may customize one or more of the adjustment curves using the ambient light detection circuit. The control device may, for example, receive an input (e.g., from an external device) that indicates a change in the ambient light detection circuit, which may adjust one or more of the adjustment curves. For example, the input may indicate a change in the gain of the ambient light detection circuit, which in turn would adjust the measured ambient light and the adjustment curves themselves.
[0053] After the user creates or selects the adjustment curves, the control circuit (e.g., the control circuit 210) may store the customized adjustment curves (e.g., tables and/or parameters) in memory for use when determining a first duty cycle DC.sub.LED (e.g., based on the active adjustment curve DC.sub.ACTIVE, and for controlling the LED behind the selected button) and a second duty cycle DC.sub.LED (e.g., based on the inactive adjustment curve DC.sub.INACTIVE, and for controlling the LED behind an unselected button). The control circuit may be configured with (e.g., store) more than one active adjustment curve DC.sub.ACTIVE and/or more than one inactive adjustment curve DC.sub.INACTIVE. As such, the control device user may select between multiple active/inactive adjustment curves quickly and easily. Further, the adjustment curves may be shared between multiple different control devices (e.g., control devices located throughout the same room, in different rooms in the same building, and/or in different rooms in different buildings) via direct communication between the control devices and/or through a central hub. The adjustment curves may be copied from one control device to another control device (e.g., may be transmitted between control devices and stored by the receiving control device).
[0054]
[0055] The control device may receive one of the active adjustment curves 702, 703, and 704 via a communication circuit and may store the received one of the active adjustment curves 702, 703, and 704 in memory for use when determining a first duty cycle DC.sub.LED (e.g., for controlling the LED behind the selected button)
[0056] The control devices described herein (e.g., the keypad 100 and/or the control device 200) may be configured to control a variety of electrical loads. For example, one or more of the embodiments described herein may be performed by a variety of load control devices that are configured to control of a variety of electrical load types, such as, for example, a LED driver for driving an LED light source (e.g., an LED light engine); a screw-in luminaire including a dimmer circuit and an incandescent or halogen lamp; a screw-in luminaire including a ballast and a compact fluorescent lamp; a screw-in luminaire including an LED driver and an LED light source; a dimming circuit for controlling the intensity of an incandescent lamp, a halogen lamp, an electronic low-voltage lighting load, a magnetic low-voltage lighting load, or another type of lighting load; an electronic switch, controllable circuit breaker, or other switching device for turning electrical loads or appliances on and off; a plug-in load control device, controllable electrical receptacle, or controllable power strip for controlling one or more plug-in electrical loads (e.g., coffee pots, space heaters, other home appliances, and the like); a motor control unit for controlling a motor load (e.g., a ceiling fan or an exhaust fan); a drive unit for controlling a motorized window treatment or a projection screen; motorized interior or exterior shutters; a thermostat for a heating and/or cooling system; a temperature control device for controlling a heating, ventilation, and air conditioning (HVAC) system; an air conditioner; a compressor; an electric baseboard heater controller; a controllable damper; a humidity control unit; a dehumidifier; a water heater; a pool pump; a refrigerator; a freezer; a television or computer monitor; a power supply; an audio system or amplifier; a generator; an electric charger, such as an electric vehicle charger; and an alternative energy controller (e.g., a solar, wind, or thermal energy controller). A single control circuit may be coupled to and/or adapted to control multiple types of electrical loads in a load control system.