Lighting control system

RE049454 · 2023-03-07

Assignee

Inventors

Cpc classification

International classification

Abstract

Intelligent illumination device are disclosed that use components in an LED light to perform one or more of a wide variety of desirable lighting functions for very low cost. The LEDs that produce light can be periodically turned off momentarily, for example, for a duration that the human eye cannot perceive, in order for the light to receive commands optically. The optically transmitted commands can be sent to the light, for example, using a remove control device. The illumination device can use the LEDs that are currently off to receive the data and then configure the light accordingly, or to measure light. Such light can be ambient light for a photosensor function, or light from other LEDs in the illumination device to adjust the color mix.

Claims

1. An electronic device coupled to AC mains for controlling a lighting system, the electronic device comprising: a light source configured to provide illumination and to transmit data optically through free space using visible light; a light detector configured to receive data transmitted optically through free space using visible light; a human machine interface (HMI) configured to receive input from a user; a network interface configured to receive data from a network; and control circuitry configured to produce commands in synchronization with a frequency of the AC mains for controlling the lighting system in response to the input received from the user through the HMI, the data received by the light detector, and the data received through the network interface, and to transmit said commands to the lighting system using the light source.

2. The electronic device as recited in claim 1, wherein the light source is one or more LEDs.

3. The electronic device as recited claim 2, wherein the light detector is one or more of the LEDs used as the light source.

4. The electronic device as recited in claim 1, wherein the HMI comprises at least one of a display screen and a set of buttons, and wherein the light source illuminates the at least one of the display screen and the set of buttons of the HMI.

5. The electronic device as recited in claim 1, further comprising a wireless communication device, configured to modulate light from a camera flash or a display of the wireless communication device.

6. The electronic device as recited in claim 5, wherein light from the display is modulated with alternating light and dark frames of a video to produce light modulated with the data.

7. The electronic device as recited in claim 1, wherein the network interface is connected to a cable over which data is communicated, and wherein the cable communicates data according to a protocol selected from a group consisting of DALI and Ethernet.

8. The electronic device as recited in claim 1, wherein the network interface communicates data using radio waves, and wherein the radio waves communicate data according to a protocol selected from a group consisting of Zigbee, IEEE802.11, and Bluetooth.

9. The electronic device as recited in claim 1, wherein the data received by the light detector and the data transmitted by the light source are communicated using a visible light communication (VLC) network controller of the electronic device.

10. A lamp coupled to AC mains in a lighting system, the lamp comprising: a light source configured to provide illumination and to transmit data optically through free space using visible light, wherein the data is transmitted during periodic gaps in illumination in synchronization with a frequency of the AC mains; a light detector configured to receive data transmitted optically through free space using visible light; a network interface configured to receive data from a network; and control circuitry configured to produce commands for controlling the lighting system in response to the data received by the light detector and the data received through the network interface, and to transmit said commands to the lighting system using the light source.

11. The lamp as recited in claim 10, wherein the control circuitry is configured to retransmit the same command through the light source that is received by the light detector to enable commands to be communicated to other lamps in the lighting system.

12. The lamp as recited in claim 10, wherein the network interface is connected to a cable over which data is communicated, and wherein the cable communicates data according to a protocol selected from a group consisting of DALI and Ethernet.

13. The lamp as recited in claim 10, wherein the network interface communicates data using radio waves, and wherein the radio waves communicate data according to a protocol selected from a group consisting of Zigbee, IEEE802.11, and Bluetooth.

14. A lighting system comprising: an LED configured to both illuminate and to transmit and receive commands optically through free space using visible light; a building controller configured to control the lighting system; and an electronic device configured to control the lighting system, the electronic device comprising: a human machine interface (HMI) configured to receive input from a user; and a network interface configured to receive commands from the building controller; wherein the electronic device is configured to produce commands in response to the user input to the HMI, and to forward at least one of said commands to the .[.light source.]. .Iadd.LED .Iaddend.optically through free space using visible light.

15. The lighting system as recited in claim 14, wherein the building controller communicates with the electronic device over copper wire or an RF communication channel.

16. The lighting system as recited in claim 14, wherein the LED and the electronic device communicate in synchronization with each other.

17. The lighting system as recited in claim 16, wherein the LED and the electronic device are coupled to an AC mains and communicate in synchronization with a frequency or phase of the AC mains.

18. The lighting system as recited in claim 14, wherein the building controller communicates with the electronic device using the DALI protocol.

19. The lighting system as recited in claim 14, wherein the building controller communicates with the electronic device using Ethernet.

20. The lighting system as recited in claim 14, wherein the building controller communicates with the electronic device using Zigbee, IEEE 802.11, or Bluetooth.

21. The lighting system as recited in claim 14, wherein the electronic device enables the user to control the lighting system independent of and/or overriding the commands from the building controller.

22. The lighting system as recited in claim 14, wherein the electronic device comprises: a light source configured for illuminating the HMI and for transmitting the at least one of said commands to the light source optically through free space using visible light; and a light detector configured for receiving data from the .[.light source.]. .Iadd.LED .Iaddend.of the lighting system.

23. The lighting system as recited in claim 22, wherein the HMI comprises a touch screen or a set of buttons that are illuminated by the light source, wherein the touch screen or the set of buttons are configured for displaying information about the lighting system or for receiving the input from the user.

24. A method to transmit data from a visible light source coupled to an AC mains, the method comprising: supplying current to the visible light source at a first level sufficient to produce light; periodically reducing the current supplied to the visible light source to produce communication gaps at regular, periodic intervals of each cycle of the AC mains, wherein the current is reduced from the first level to a second level less than the first level; transmitting data solely within a subset of said communication gaps by modulating the current supplied to the visible light source between the second level and a third level, which is higher than the first level; and immediately preceding each of the subset of said communications gaps, reducing the current supplied to the visible light source to the second level for a period of time, such that an average brightness of light produced by the visible light source is the same whether or not data is transmitted during said communication gaps.

25. The method as recited in claim 24, wherein the step of transmitting data comprises modulating the current supplied to the visible light source within each of the subset of said communication gaps, so that the visible light source emits light at two different output light levels.

26. The method as recited in claim 24, further comprising restricting .[.the.]. .Iadd.a .Iaddend.time duration of said communication gaps to be less than one quarter of each cycle of said AC mains.

.Iadd.27. A lamp configured to be coupled to AC mains, the lamp comprising: a light source configured to provide illumination and to transmit data optically using visible light, wherein the data is transmitted during periodic gaps in illumination in synchronization with a frequency of the AC mains; a network interface configured to receive data from a network; and control circuitry configured to produce commands for controlling at least one other lamp in response to the data received through the network interface, and to transmit the commands to the at least one other lamp using the light source..Iaddend.

.Iadd.28. The lamp as recited in claim 27, further comprising: a light detector configured to receive data transmitted optically using visible light; and wherein the control circuitry is further configured to receive a command received by the light detector, and retransmit the same command as received by the light detector through the light source..Iaddend.

.Iadd.29. The lamp as recited in claim 27, wherein the network interface is configured to be connected to a cable over which data is communicated..Iaddend.

.Iadd.30. The lamp as recited in claim 29, wherein the network interface is configured to communicate data over the cable according to a protocol that comprises DALI or Ethernet..Iaddend.

.Iadd.31. The lamp as recited in claim 27, wherein the network interface is configured to communicate data using radio waves..Iaddend.

.Iadd.32. The lamp as recited in claim 31, wherein the network interface is configured to communicate data via the radio waves according to a protocol that comprises Zigbee, IEEE802.11, or Bluetooth..Iaddend.

.Iadd.33. The lamp as recited in claim 27, wherein the control circuitry is further configured to receive a command through the network interface, and retransmit the same command as received through the network interface through the light source..Iaddend.

.Iadd.34. A controller, comprising: physical layer interface (PLI) circuitry to provide power to one or more operatively coupled light emitting diode (LED) strings; visible light communication (VLC) circuitry operatively coupled to the PLI circuitry, the VLC circuitry to cause the one or more LED strings to communicate via visible light communication with at least one external device by selectively altering an illumination output level of the LED strings, the VLC circuitry configured to: cause the PLI circuitry to periodically cycle, in synchronization with an AC main supply, the power supplied to the one or more LED strings between a first interval in which the one or more LED strings provide a first illumination output level and a second interval in which the one or more LED strings provide a second illumination output level less than the first illumination output level, the second interval to provide periodic gaps in illumination produced by the one or more LED strings; and cause the PLI circuitry to sequentially, selectively provide power to at least a portion of the one or more LED strings sufficient to cause the portion of the one or more LED strings to provide a third illumination output level greater than the first illumination output level during at least a portion of the second interval to transmit a visible light communication..Iaddend.

.Iadd.35. The controller of claim 34, further comprising: timing circuitry operatively coupled to the VLC circuitry and to the PLI circuitry, the timing circuitry to synchronize the PLI circuitry and the VLC circuitry with a frequency of the AC main supply..Iaddend.

.Iadd.36. The controller of claim 35, wherein the timing circuitry includes phase-locked loop (PLL) circuitry..Iaddend.

.Iadd.37. The controller of claim 34, further comprising: one or more photodetectors operatively coupled to the VLC circuitry..Iaddend.

.Iadd.38. The controller of claim 37, the VLC circuitry configured to further: receive, via the one or more photodetectors during the second interval, a visible light communication from a remote device, the visible light communication using one or more LED strings included in the remote device, wherein the visible light communication includes a binary sequence created by a sequential, selective provision of power, synchronized with the AC main supply, to at least a portion of the one or more LED strings in the remote device sufficient to cause the portion of the one or more LED strings in the remote device to provide the third illumination output level..Iaddend.

.Iadd.39. The controller of claim 34, wherein transmission of the visible light communication comprises transmission of an instruction via a visible light binary sequence created by causing the portion of the one or more LED strings to generate a sequential output that includes the third illumination output level and the second illumination output level during at least a portion of one or more second intervals..Iaddend.

.Iadd.40. The controller of claim 39, further comprising: memory circuitry operatively coupled to the VLC circuitry..Iaddend.

.Iadd.41. The controller of claim 40, wherein the instruction comprises an instruction retrieved by the VLC circuitry from the memory circuitry..Iaddend.

.Iadd.42. The controller of claim 38, further comprising: wireless radio frequency (RF) transceiver circuitry operatively coupled to the VLC circuitry..Iaddend.

.Iadd.43. The controller of claim 42, wherein the VLC circuitry configured to further: translate an instruction received via the wireless RF transceiver circuitry and stored in memory circuitry to provide the visible light communication..Iaddend.

.Iadd.44. A method of transmitting a visible light communication, the method comprising: cycling physical layer interface (PLI) circuitry in synchronization with an AC main supply, to periodically supply power to one or more LED strings such that during a first interval the one or more LED strings provide a first illumination output level and during a second interval the one or more LED strings provide a second illumination output level less than the first illumination output level, the second interval to provide periodic gaps in illumination produced by the one or more LED strings; and causing the PLI circuitry to sequentially, selectively provide power to at least a portion of the one or more LED strings sufficient to cause the portion of the one or more LED strings to provide a third illumination output level greater than the first illumination output level during at least a portion of the second interval to transmit a visible light communication..Iaddend.

.Iadd.45. The method of claim 44, further comprising: synchronizing, by timing circuitry operatively coupled to the PLI circuitry, the frequency of the AC main supply with cycling the power supplied to the one or more LED strings during the first interval..Iaddend.

.Iadd.46. The method of claim 45, wherein synchronizing the frequency of the AC main supply with cycling the power supplied to the one or more LED strings during the first interval further comprises: synchronizing, by phase-lock loop (PLL) circuitry coupled to the PLI circuitry, the frequency of the AC main supply with cycling the power supplied to the one or more LED strings during the first interval..Iaddend.

.Iadd.47. The method of claim 45, further comprising: receiving, via one or more photodetectors during the second interval, a visible light communication from a remote device, the visible light communication using one or more LED strings included in the remote device, wherein the visible light communication includes a binary sequence created by a sequential, selective provision of power, synchronized with the AC main supply, to at least a portion of the one or more LED strings in the remote device sufficient to cause the portion of the one or more LED strings in the remote device to provide the third illumination output level..Iaddend.

.Iadd.48. The method of claim 44, wherein sequentially, selectively providing power to at least the portion of the one or more LED strings sufficient to cause the portion of the one or more LED strings to provide the third illumination output level greater than the first illumination output level during at least the portion of the second interval further comprises: causing the PLI circuitry to sequentially, selectively provide power to at least the portion of the one or more LED strings sufficient to cause the portion of the one or more LED strings to provide the third illumination output level greater than the first illumination output level during at least the portion of the second interval to transmit an instruction to an external device via a visible light binary sequence..Iaddend.

.Iadd.49. The method of claim 45, further comprising: retrieving the instruction from memory circuitry..Iaddend.

.Iadd.50. The method of claim 49, further comprising: translating an instruction received via wireless RF circuitry to provide the visible light binary sequence..Iaddend.

Description

DESCRIPTION OF THE DRAWINGS

(1) The present invention may be better understood, and its numerous objects, features, and advantages made apparent to those skilled in the art by referencing the accompanying drawings.

(2) FIG. 1 is an exemplary block diagram of a lighting control system comprising a plurality of lamps, an electronic device and optional wireless communication device.

(3) FIG. 2 is an exemplary block diagram of a lamp that communicates with an electronic device and/or other lamps through free space using visible light.

(4) FIG. 3 is an exemplary block diagram of a lamp that communicates with other lamps through free space using visible light and with a network and other controlling devices through a Wi-Fi interface.

(5) FIG. 4 is an exemplary diagram for the structure of a Wi-Fi data communication packet.

(6) FIG. 5 is an exemplary diagram for a packet communicated through free space using visible light.

(7) FIG. 6 is an exemplary drawing of an electronic device with an HMI, wherein the electronic device controls a lighting system by communicating with lamps through free space with visible light and communicating with a network and other controlling devices through Wi-Fi and Ethernet interfaces.

(8) FIG. 7 is an exemplary block diagram of an electronic device with an HMI, wherein the electronic device controls a lighting system by communicating with lamps through free space with visible light and communicating with a network and other controlling devices through Wi-Fi and Ethernet interfaces.

(9) FIG. 8 is an exemplary timing diagram for communicating between an HMI and lamps through free space using visible light.

(10) The use of the same reference symbols in different drawings indicates similar or identical items. While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that the drawings and detailed description thereto are not intended to limit the invention to the particular form disclosed, but on the contrary, the intention is to cover all modifications, equivalents and alternatives falling within the spirit and scope of the present invention as defined by the appended claims.

DETAILED DESCRIPTION

(11) Turning now to the drawings, FIG. 1 is one example of a building lighting system 10 that comprises building controller 11 configured for controlling the lighting system and a network 12 that connects room1 13, room2 14, and roomN 15 to building controller 11. The lighting system 10 shown in FIG. 1 further includes an electronic device 16, or possibly a lamp 22, which communicates with the network 12. The designation room1 through roomN represents any number of rooms in a building or even multiple buildings to one of more central controllers represented by building controller 11. Within any particular room, a plurality of lamps (e.g., lamps 17, 18, and 19 within room1, or lamps 22, 23 and 24 within room2) may communicate with each other and with an electronic device 16 through modulated visible light shown in FIG. 1 with bi-directional arrows.

(12) In example room1 13, electronic device 16 interfaces between network 12, lamps 17, 18, and 19, and optionally wireless communication device 20. Wireless communication device 20 may or may not be part of building lighting system 10, but if included, can be any type of mobile device including but not limited to mobile phones, smart phones, personal digital assistants (PDA), and mobile computers such as netbooks, notebooks, and laptops. Wireless communication device 20 could also be a stationary device, such as a desktop computer. In some embodiments, wireless communication device 20 may communicate with electronic device 16 using any radio or infra-red frequency wireless communication protocol including, but not limited to, Zigbee, Wi-Fi, and Bluetooth. In some embodiments, wireless communication device 20 may be configured for controlling the lighting system, similar to electronic device 16, and may be considered to be a hand held electronic device.

(13) Network 12 typically might communicate according to the wired DALI or Ethernet standards, or the wireless ZigBee or Wi-Fi standards, but could communicate according to any data communication protocol using wired, wireless, powerline, fiber optic, or any other type of communication channels. Network 12 and optional wireless communication device 20 can communicate according to the same or different wireless protocols, or can communicate over different protocols using different wired or wireless communication channels.

(14) Electronic device 16 represents any electronic device that provides an interface between lamps 17, 18 and 19 and network 12, and that also provides a human machine interface (HMI) 21. HMI 21 is configured to receive input from a user, which is typically used, but not limited to, local control of lamps 17, 18, and 19 in room1 13, for instance. In one embodiment, electronic device 16 could be a device mounted on a wall within room1 13 that enables a user to control the lighting within room1 13 independent of and/or overriding commands from building controller 11. Electronic device 16 could be a device about the size of a conventional light switch or a ganged light switch. In one example, electronic device 16 could be implemented with an HMI 21, such as a display and touch screen that enables a user to select lighting functions from a menu or nested menus for instance. Electronic device 16 also, for instance, could be implemented with an HMI 21, such as a set of buttons that are dedicated to particular functions, such as on/off, dimming, color, timing, and other functions such as those described in the one or more priority application listed herein.

(15) In the example lighting system of FIG. 1, electronic device 16 communicates with lamps 17, 18, and 19 through modulated visible light. According to one embodiment, electronic device 16 could comprise a dedicated light source, which is configured to provide illumination and to transmit data optically through free space using visible light, and optionally an additional light detector, which is configured to receive data transmitted optically through free space using visible light. According to another embodiment, the dedicated light source may be used to both illuminate the HMI 21 and to communicate modulated visible light uni-directionally or bi-directionally with lamps 17, 18, and 19 in the example room1 13 of FIG. 1.

(16) In order for the HMI 21 to be visible in the dark, for instance, the electronic device typically comprises a backlight (or a light source positioned behind the HMI) that illuminates the HMI (e.g., various push buttons or an LCD display with an overlaid touch screen sensor) from behind. Many possible HMIs are possible with the commonality that a light source is typically necessary for a user to see in at least a dark environment. Such a light source typically will be an LED or array of LEDs, but could comprise any type of light source including, for instance, Cold Cathode Fluorescent lamps (CCFL). If the light source is a CCFL or, for instance, a white LED with a phosphor coating, preferentially the electronic device also comprises an additional photo-detector.

(17) According to one embodiment of the invention, the light emitted from the backlight of the HMI is modulated in such a way that one or more of lamps 17, 18, and 19 can detect the data represented by such modulation. In some embodiments, electronic device 16 can also receive data sent by lamps 17, 18, or 19, e.g., through the additional photo-detector, or through the backlight. For example, if the backlight comprises one or more LEDs for illumination and data transmission, and preferentially mono-chromatic LEDs such as red, green, and blue, the LEDs used for illumination and data transmission may also be used to receive data sent by lamps 17, 18, or 19.

(18) According to another embodiment of the invention, wireless communication device 20, which could be any type of computing device with a backlit display such as a smart phone, PDA, or a tablet, netbook, notebook, or desktop computer, may communicate directly with electronic device 16 or with lamps 17, 18, and 19 through free space using visible light. For example, wireless communication device 20 may produce commands in response to input received directly from a user, and may transmit such commands to the electronic device 16 or directly to the lamps 17, 18 and 19 using visible light. As with electronic device 16, the backlight for the display of the wireless communication device 20 can be modulated to transmit data or commands optically to the electronic device 16 or directly to lamps 17, 18, and 19. This can be accomplished in various ways including, but not limited to, playing a video with alternating light and dark frames producing the transmitted data. The ambient light sensor available on many wireless communication devices can also be used as a light sensor to receive data. Alternatively, the camera flash, which typically comprises one or more LEDs on a smart phone, for instance, can also be modulated through software to transmit data to electronic device 16 or to lamps 17, 18, and 19 in the example of FIG. 1.

(19) According to another embodiment, a lamp may be used to interface with the network 12 instead of an electronic device. As represented by room2 14, for instance, lamp 22 provides an interface between the lamps 22, 23, and 24 within room2 14 and network 12. As such, lamp 22 comprises a network interface, which is capable of communicating with network 12 according to any protocol using any communication channel including, but not limited to, RF wireless, wired, fiber optic, or power line. In this example room2 14, lamp 22 further comprises a light source for illumination and data transmission, and a light detector for receiving data from lamps 23 and 24. In one embodiment of the invention, if the light source is one or more LEDs, then such LEDs can also operate as the light detector depending on when data is to be sent or received.

(20) As in example room1 13 and wireless communication device 20, wireless communication device 25 in room2 14, for instance, can locally control lamps 22, 23, and 24 by overriding commands from building controller 11 or can implement any functionality supported by lighting system 10. In this example room2 14, wireless communication device 25 communicates with lamp 22, which also provides the interface to network 12. As such, according to one embodiment of the invention, lamp 22 further comprises a wireless interface compatible with wireless (RF, infra-red, etc) communication device 25 and an interface compatible with network 12.

(21) Within the example room1 13 and room2 14, lamps 17, 18, and 19, and lamps 22, 23, and 24 respectively communicate between each other using modulated visible light. When observed by the human eye, although the light is visible, the modulation of the light is typically not discernable and is typically perceived as constant and unchanging light. The maximum distance between any two lamps, for instance lamps 17 and 18, is determined by the brightness and directionality of the data transmitting lamp and the light detection sensitivity of the data receiving lamp. In the example room1 13, lamps 17 and 18 are positioned within such maximum communication distance, and lamps 17 and 19 for instance are positioned beyond such maximum communication distance. According to another embodiment of the invention, lamp 18 in the example room1 13 relays messages sent through modulated visible light between lamps 17 and 19 to enable communication between large numbers of lamps that are large distances apart.

(22) According to the invention, lamps that relay commands first receive data on a light detector and forward such input to control circuitry that regenerates commands in response to such input. For instance, commands can be directed from lamp 17 to lamp 19 only, while lamp 18 simply receives and retransmits such commands along a dedicated path as in the Internet. Alternatively, messages from an example lamp 17 can be broadcast to all lamps in which lamp 18 for instance responds to such broadcast command and also retransmits such command to lamp 19 for instance. As such, commands can be sent through a network of lamps as broadcast messages or through dedicated or ad-hoc paths between particular lamps or groups of lamps. Ad-hoc paths are well known to those practicing in the field of mesh networking, which is commonly used in Zigbee wireless networks for instance.

(23) FIG. 1 is just one example of many possible lighting control systems 10, which could comprise any number of buildings, rooms within each building, and lamps within each room, hallway, entryway, etc. Additionally, lighting control system 10 may comprise of any number of building controllers and any type or multi-types of networks between rooms. The networks 12 between rooms can communicate according to any type of protocol including standards such as Ethernet, DALI, Wi-Fi, and others that use wired, RF, power line, fiber optic, or any other type of data communication channel.

(24) The embodiments of the invention illustrated by this example FIG. 1 include, but are not limited to, the following devices: a. electronic device 16 that produces commands in response to input received directly from a user through an HMI 21, from a lighting control network 12, or from a wireless communication device 20, and transmits such commands using the same light source that is used to illuminate the HMI 21 of the electronic device 16; b. wireless communication device 20 that produces commands in response to input directly from a user and transmits such commands to the electronic device 16 or directly to the lamps 17, 18 or 19 using the backlight or the flash of the wireless communication device 20; c. lamp 22 that produces commands in response to input received from a lighting control network 12 or a wireless communication device 25 and transmits such commands to lamps 23 and 24 using the same light source that is used for illumination; d. lamp 17 that produces commands in response to input received from another lamp 18 or 19 or an electronic device 16 and detected by the light sensor, and transmits such commands using the same light source that is used for illumination.

(25) Preferentially, lamps 17, 18, 19, 22, 23, and 24 and optionally electronic device 16 communicate between each other in synchronization with the AC mains 31, as described in one or more priority applications listed herein; however, such devices could communicate according to any communication protocol that uses visible light traveling through free space. Such communication can be between devices that are in or out of synchronization and according to any modulation technique, data rate, or distance. Likewise, any routing or mesh networking protocol can be implemented using such devices that receive and retransmit commands optically through free space. As noted herein, the term “free space” refers to communication within space, but not confined to, for example, an optical fiber. Thus, transfer of commands occurs optically, but not constrained within an optical fiber or any other type of waveguide device, yet is free and able to travel optically in any non-obstructed direction. The example of a building lighting system 10 does not limit the embodiment to a single building, but can be among several buildings or within a portion of the building. Moreover, each room shown in the lighting system 10 is configured according to one example if, for example, there are several rooms controlled by a lighting system. If the system controls only a single room, then the example in FIG. 1 would apply to different sub-regions within that room, each having a different interface to a network. Likewise, each room or sub-regions of a room can be controlled according to that shown in room1 13, room2 14, or both.

(26) Thus, the lighting system can be controlled with an electronic device 16 that comprises a HMI 21 and provides an interface between lamps 17, 18, 19 and network 12. Alternatively, the lighting system can be controlled with a wireless communication device, e.g., device 25, and interface to the network 12 can be achieved solely with a light source (e.g., lamp 22), which can also function as a light detector. In this case, the HMI can be achieved by a wireless communication device (e.g., device 25) that need not be configured between the lamps 22, 23, and 24 and the network 12.

(27) Accordingly, an electronic device is provided herein having both a light source and a light detector, as well as control circuitry, which is configured to produce commands for controlling the lighting system in response to received input and/or data. The electronic device can further comprise an HMI configured to receive input from a user, and/or a network interface configured to receive data from a network, depending on the configuration shown in the examples of FIG. 1. Various embodiments of lamps are also provided herein having a light source, a light detector and control circuitry that produces commands transmitted by the light source in response to commands received through the light detector. In some embodiments, a lamp may be configured to produce commands in response to input received from a network 12 or a wireless communication device 25 and to transmit such commands to other lamps using the same light source that is used for illumination.

(28) FIG. 2 is one example of a block diagram of a lamp 30 comprising a light source that is configured to provide illumination and transmit data optically through free space, a light detector that is configured to receive data transmitted optically through free space, and a control circuit that produces commands transmitted by the light source in response to commands received through the light detector. According to one embodiment, LEDs 36 may be configured at different times as both the light source and the light detector. Example lamps 17, 18, 19, 23 or 24 could comprise the circuitry represented by this example FIG. 2. As such, in addition to providing general illumination, a lamp comprising such control circuitry can receive messages sent via modulated visible light (e.g., from electronic device 16, wireless communication device 20 or 25, or another lamp) and can retransmit such information according to any pre-determined fixed routing or any ad-hoc mesh networking protocols for instance.

(29) As shown in FIG. 2, lamp 30 connects to the AC mains 31 that provides power and synchronization in this example. Power supply 32 converts AC power to DC power that provides current to LEDs 36 and voltage to the remaining circuitry in lamp 30. Timing 33 typically comprises a phase locked loop (PLL) that locks to the AC mains 31 frequency and/or phase, and provides timing information to visible light communication (VLC) network controller 34 and physical layer interface (PLI) 35. Since the example electronic device 16 and lamps 17, 18, 19, 22, 23, and 24 (FIG. 1) are all coupled and thus synchronized to the same AC mains 31, the timing of the VLC network controllers 34 and PLIs 35 in all such example devices is substantially the same, which simplifies data communication as described in one or more priority applications listed herein.

(30) PLI 35 typically comprises an LED driver circuit (not shown) that produces a substantially DC current to produce illumination from LEDs 36 and modulated current to transmit data from LEDs 36. Such substantially AC and DC currents can be combined in many different ways to produce both illumination and transmit data using the same light source. Periodic time slots can be produced in synchronization with the AC mains 31 during which the example DC current is turned off and the example AC current is turned on during gaps in which data is transmitted.

(31) PLI 35 also typically comprises a receiver circuit (not shown) that in this example FIG. 2 detects photo-current induced in LEDs 36 while receiving data transmitted using visible light through free space. Such receiver typically converts such photo-current to voltage, which is then compared to a reference voltage to determine a sequence of ones and zeros sent by the transmitting device. The details of one example PLI 35 are described in one or more priority applications listed herein.

(32) VLC network controller 34 interfaces with PLI 35 and memory 37 to receive commands transmitted using visible light through free space, to implement the necessary control circuit functionality of lamp 30, and in some cases, re-transmit commands using LEDs 36 that were previously received by LEDs 36 during gap times. Commands received by the light detector, in this case LEDs 36, can be stored in memory 37 and further processed. Commands that target lamp 30 can be interpreted by VLC network controller 34 and processed locally. For instance, the brightness or color of LEDs 36 can be adjusted by adjusting the substantially DC current applied to LEDs 36 by the driver function within PLI 35. Commands that target other or additional lamps can be stored in memory 37 and re-transmitted by PLI 35 and LEDs 36 during subsequent gap times for instance. Such commands can be routed through a pre-determined path, through an ad-hoc mesh network, or broadcast to all electronic devices for instance. VLC network controller 34 may be configured to communicate such commands according to a visible light communication protocol.

(33) In this example FIG. 2, timing 33 can not only synchronize all electronic devices and lamps 30 in the network, but can also provide timing to power supply 32 to minimize noise coupling into PLI 35. As such, FIG. 2 is just one example of many possible lamps 30 that receive commands communicated through free space using a light detector and re-transmit such commands to other electronic devices or lamps using visible light. The preferential visible light communication protocol is described in one or more priority applications listed herein, however, any visible light communication protocol and multiplexing scheme between illumination and data communication are possible. Additionally, lamp 30 could have a variety of block diagrams different from this example FIG. 2. For instance, lamp 30 could be DC or solar powered for instance. Likewise, any type of light source is possible including, but not limited to, fluorescent tubes, compact fluorescent lights, incandescent light, etc. In particular, lamp 30 could comprise a light detector, such as a silicon photo-diode in addition to the light source, which in this example FIG. 2 is LEDs 36.

(34) FIG. 3 is one example block diagram of a lamp 40 (e.g., lamp 22 in FIG. 1) that can transmit and receive data communicated using visible light through free space, and can also communicate according to the wireless 802.11 protocol with building controller 11 and wireless communication devices 20 and 25. As in lamp 30, lamp 40 comprises LEDs 36, PLI 35, VLC Network Controller 34, memory 37, and timing 33. Power supply 41 may be slightly different from power supply 32 due to the additional load provided by the additional processor 42 and Wi-Fi interface 43.

(35) In this example lamp 40, LEDs 36 operate as both the light source and the light detector for transmitting and receiving data using visible light communicated through free space. LEDs 36 also provide illumination. Wireless 802.11 interface 43 can receive messages from wireless communication devices (e.g., a smart phone) 20 and 25, or from building controller 11, and can forward such messages to processor 42, which can implement the control circuitry functionality necessary to interpret or translate such messages to commands that can be transmitted through free space using visible light (e.g., using LEDs 36 as the light source). Likewise, commands transmitted optically through free space can be received by LEDs 36 operating as light detectors, interpreted or translated by processor 42, and transmitted by Wi-Fi interface 43 back to wireless communication devices 20 and 25 or building controller 11.

(36) Whether or not a lamp includes a processor and separate Wi-Fi interface, as shown in FIG. 3, it is appreciated that the lamp operates as a light source and a light detector via one or more LEDs to which it controls. When a separate processor and Wi-Fi interface are not included, as in the embodiment of FIG. 2, the VLC network 34 of the lamp 30 provides the control circuitry through the PLI 35 to the light source and light detector dual purpose function of the LEDs 36. The controllable LEDs can control other LEDs within optical range, both within a bank of LEDs 36 or external to the bank of LEDs as shown by the bi-directional arrows of FIGS. 2 and 3.

(37) FIG. 4 illustrates the typical data frame format 50 for Wi-Fi, which comprises up to thirty bytes for header 60, zero to two thousand three hundred twelve (2312) bytes for data 58, and four bytes for frame check sequence (FCS) 59. Header 60 typically comprises two bytes for frame control 51, two bytes for the duration ID 52, six bytes for source address 53, six bytes for destination address 54, six bytes for receiver address 55, two bytes for sequence control 56, and six bytes for transmitter address 57. Typically in a Wi-Fi network, data 58 comprises packets that conform to the Internet Protocol (IP), which comprise up to an additional 20 bytes of header.

(38) FIG. 5 illustrates a possible data frame format, which is generally compatible with the ZigBee wireless RF protocol, for communicating with visible light. The data frame format shown in FIG. 5 comprises a Physical Protocol Data Unit (PPDU) 70, which further comprises four bytes for preamble sequence 66, one byte for start of frame delimiter 67, one byte for frame length 68, and up to 128 bytes for Mac Protocol Data Unit (MPDU) 69. MPDU 69 comprises two bytes for frame control 61, one byte for data sequence number 62, four to twenty bytes for address information 63, N bytes for data 64, and four bytes for Frame Check Sequence (FCS) 65.

(39) In the example lamp 40 illustrated in FIG. 3, Wi-Fi interface 43 can forward received data frames conforming to the example Wi-Fi protocol illustrated in FIG. 4 to processor 42. Processor 42 interprets such data frames and creates data frames conforming to the example visible light communication protocol illustrated in FIG. 5. Processor 42 inputs such data frames to VLC network controller 34 for transmission through PLI 35 and LEDs 36. Likewise, data frames input to VLC network controller 34 through LEDs 36 and PLI 35 can be processed and transmitted through PLI 35 and LEDs 36 or forwarded to processor 42, which can interpret such data frames, create data frames conforming to the example Wi-Fi protocol and forward such data frames to Wi-Fi interface 43 for transmission over such Wi-Fi network.

(40) FIG. 3 is just one of many possible block diagrams for lamp 40. For instance, instead of the LEDs 36 shown in FIG. 3, the light source could be a fluorescent bulb or any other type of light source. Lamp 40 could also comprise a photo-detector, such as a silicon photodiode, instead of using LEDs 36 as both the light source and light detector. Lamp 40 does not need to be synchronized to the AC mains and comprise timing block 33. Many other means of synchronization are possible and communication even without synchronization is possible. Lamp 40 could be battery or solar powered, for instance, and as such would have a different or no power supply 41. VLC network controller 34 and PLI 35 in this example implement the data frame format illustrated in FIG. 5, but could implement any type of communication protocol using visible light. For instance, the protocol described uses substantially the same frame format as ZigBee, however, any frame format including substantially simpler versions with smaller headers are possible.

(41) Wi-Fi interface 43 is just one example of many different network interfaces using many different types of communication channels that are possible. It is also possible to have multiple interfaces to different networks. Some other network examples include X10, DMX512, DALI, Ethernet, ZigBee, HomePlug, LonWorks, C-Bus, Dynalite, Bluetooth, and even SONET and ATM. A typical configuration for lamp 22 in FIG. 1 could include a Wi-Fi interface 43 for communicating with a smart phone for instance for local control, and an Ethernet interface (not shown) for communicating with a building controller 11.

(42) FIG. 6 illustrates one embodiment of the electronic device 16 from FIG. 1 that interfaces to network 12, wireless communication device 20, and lamps 17, 18 and 19. In this example FIG. 6, a user can also control lamps 17, 18, and 19 within room1 13, and potentially the entire lighting system 10, by pushing regions of touch screen 80 that overlay menu 84 that is an image produced by LCD 81 and illuminated by backlight 82. The example menu 84 provides various buttons to turn lights on and off (ON/OFF), adjust brightness (DIM), change color (COLOR), set the timer (TIMER), adjust the ambient light sensor (AMB), and access advanced programming functions (PROG). In this example FIG. 6, electronic device 16 is powered by the AC mains 31 and is contained within housing 83. The HMI in FIG. 6 is provided by the touch screen 80 and LCD 81.

(43) Electronic device 16 communicates with building controller 11 through network 12 according to any one of many different data communication protocols over any of a variety communication channels including but not limited to CAT5 or twisted pair cable, RF wireless, powerline or fiber optics. Although it need not communicate with device 20, electronic device 16 can also optionally communicate with wireless communication device 20 (which could be a smart phone) using any one of many different RF, infrared, or other wireless communication protocols, including but not limited to Wi-Fi, ZigBee, Bluetooth, IRDA, or others. According to one embodiment of the invention, electronic device 16 communicates with lamps 17, 18, or 19 through free space using modulated visible light that also provides illumination for electronic device 16.

(44) FIG. 7 is an example functional block diagram of the electronic device 16 that comprises a touch screen 80, LCD 81, backlight 82, and housing 83, as shown in FIG. 6. Housing 83 can comprise the same timing 33, memory 37, VLC network controller 34, PLI 35 and Wi-Fi interface 43 as illustrated in FIG. 3, and can also comprise Ethernet interface 91, touch screen controller 93, graphic controller 94, and processor 92. LEDs 36 in the examples of FIG. 6 and FIG. 7 reside in backlight 82 and produce illumination for LCD 81, and transmit data through free space using visible light. Additionally, LEDs 36 (which in the example of FIG. 7 could be red LEDs) can also operate as light detectors for receiving data transmitted through free space using visible light.

(45) In this example FIG. 7, electronic device 16 interfaces with building controller 11 according to the Ethernet protocol, which typically uses CAT5 cable as the communication channel. Messages received by Ethernet interface 91 can be forwarded to processor 92, which can implement the control circuitry necessary to interpret or translate such messages to commands that can be transmitted through free space using visible light with LEDs 36 as the light source. As in FIG. 3, messages received through Wi-Fi interface 43 can also be forwarded to processor 92 for interpretation and translation to commands that can be transmitted through free space using visible light with LEDs 36 as the light source.

(46) In this example FIG. 7, commands transmitted optically through free space can also be received by LEDs 36 operating as light detectors, interpreted or translated by processor 92, and transmitted by Wi-Fi interface 43 back to wireless communication devices 20 or 25, or transmitted by Ethernet interface 91 to building controller 11. Likewise, processor 92 can route messages from any of Ethernet interface 91, Wi-Fi interface 43, and VLC network controller 34 to any other such network interface.

(47) The protocol for communicating through free space using visible light can be the same as, or different from, the protocol described in one or more priority applications listed herein. In this example FIG. 7, LEDs 36 can be configured to continuously provide illumination and communicate for instance with lamps 17, 18, or 19, building controller 11, or wireless communication device 20 at any time. As another possibility, LEDs 36 could typically be turned off and electronic device 16 could be in a low power state until a user first touches touch screen 80, after which electronic device 16 powers up, illuminates LEDs 36, and enables communication.

(48) FIG. 6 and FIG. 7 are just examples of many possible diagrams for an electronic device 16 comprising an HMI 21. Although FIGS. 6 and 7 illustrate the HMI 21 of the electronic device 16 as including a touch screen 80 and LCD 81, the HMI could have any one of many other possible mechanical forms that do not necessarily include touch screen 80 or LCD 81. For example, HMI 21 could comprise mechanical buttons that are illuminated from in front, behind, above, or below. As a further example, HMI 21 could comprise an Organic LED (OLED) display instead of an LCD. Backlight 82 can be any type of light source positioned in any manner to provide illumination for HMI 21, which may have a dedicated light detector (such as a silicon photodiode) or use LEDs 36 for both emitting and detecting light. If HMI 21 comprises an OLED or any other type of active matrix display, such light source could be such active matrix display. Likewise, an OLED display could be the detector as well.

(49) Electronic device 16 could be battery or solar powered, or powered in any other way instead of being powered by AC mains 31. Electronic device 16 could be synchronized to lamps 17, 18, and 19 through any one of a number means, or not at all. Electronic device 16 could be a mobile computing device such as a smart phone, PDA, or netbook, notebook, or laptop computer, or a stationary computing device such as a desktop computer or even a television.

(50) Menu 84 and the associated functionality described herein is just one possibility. Any number of different menus with totally different functionality is possible. If HMI 21 does not comprise some sort of display, then menu 84 may be replaced by pushbuttons for instance.

(51) The block diagram for the electronic device 16 illustrated in FIG. 7 is just one of many possible examples. For instance, the light source could be a CCFL or even a CFL instead of the LEDs 36. The electronic device 16 could also comprise an additional photodetector. Memory 37 could be a part of processor 92. Other than the Wi-Fi and Ethernet interfaces illustrated, any type of network interface is possible to communicate with building controller 11, network 12, or wireless communication device 20. Any number of network interfaces is also possible, including none. For instance, a smart phone could communicate directly with lamps 17, 18, and 19 by modulating the backlight or the camera flash, and as such, would not need a Wi-Fi interface 43 or Ethernet interface 91. Ambient light sensors could be used to receive data transmitted optically.

(52) FIG. 8 is an example timing diagram for transmitting data optically from electronic device 16 in a way that minimizes or eliminates flicker. The current through LEDs 36 is typically I1 103, which should produce sufficient light to see menu 84. As described in one or more priority applications listed herein, the current supplied to the LEDs 36 is periodically reduced from I1 103 to I0 102 to produce communication gaps 100 and 101 in synchronization preferentially with the AC mains 31. As noted in the priority applications, the communication gaps are produced at regular, periodic intervals of each cycle of the AC mains, and the time duration of said communication gaps may be less than one quarter of each cycle of the AC mains. During gaps 100 when data is not being transmitted, the current through LEDs 36 is reduced to I0 102, which could be a low level close to or equal to zero. During gaps 101 when data is being transmitted, the current through LEDs 36 is modulated between I0 102 and 12 104, which is higher than I0 102, so that the LEDs 36 emit light at two different output levels. I2 104 is preferentially, but not necessarily, the highest current LEDs 36 can tolerate in order to produce the most light to communicate the maximum distance. Any data modulation technique is possible including but not limited to Non-Return to Zero (NRZ) and Bi-phase.

(53) To minimize possible flicker produced by gaps 101 during which data is transmitted at high brightness, during time 105 preceding gap 101, as shown in FIG. 8, or after gap 101 (not shown), the current through LEDs 36 is reduced from I1 103 to I0 102, such that the average brightness of light produced by LEDs 36 is the same whether or not data is transmitted during the gap times.

(54) FIG. 8 is just one of many possible examples of a timing diagram for transmitting data optically from electronic device 16. For instance, communication gaps could occur at a faster or slower rate than the AC mains 31, at rates totally unrelated to the AC mains 31, or not at all. As an example, a video could be played on a smart phone that modulates the backlight or the light from an active display, such as an OLED, with light and dark frames in the video. The light from the electronic device could also be allowed to flicker for instance and as such could have a significantly different timing diagram from FIG. 8.

(55) While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown and described by way of example. It should be understood, however, that the drawings and detailed description thereto are not intended to limit the invention to the particular form disclosed.