WO2013126585A1 - System and method of extending the communication range in a visible light communication system - Google Patents
System and method of extending the communication range in a visible light communication system Download PDFInfo
- Publication number
- WO2013126585A1 WO2013126585A1 PCT/US2013/027157 US2013027157W WO2013126585A1 WO 2013126585 A1 WO2013126585 A1 WO 2013126585A1 US 2013027157 W US2013027157 W US 2013027157W WO 2013126585 A1 WO2013126585 A1 WO 2013126585A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- communication
- remote control
- visible light
- control device
- message
- Prior art date
Links
- 230000006854 communication Effects 0.000 title claims abstract description 277
- 238000004891 communication Methods 0.000 title claims abstract description 277
- 238000000034 method Methods 0.000 title claims abstract description 26
- 230000004044 response Effects 0.000 claims description 38
- 230000001360 synchronised effect Effects 0.000 claims description 8
- 230000009471 action Effects 0.000 claims description 4
- 230000008859 change Effects 0.000 claims description 4
- 230000003287 optical effect Effects 0.000 description 52
- 238000010586 diagram Methods 0.000 description 32
- 230000001276 controlling effect Effects 0.000 description 16
- 230000006870 function Effects 0.000 description 15
- 230000008901 benefit Effects 0.000 description 10
- 230000007704 transition Effects 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 5
- 230000007175 bidirectional communication Effects 0.000 description 4
- 230000000875 corresponding effect Effects 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 230000005670 electromagnetic radiation Effects 0.000 description 3
- 238000005286 illumination Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000001228 spectrum Methods 0.000 description 3
- 230000001413 cellular effect Effects 0.000 description 2
- 230000002596 correlated effect Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000737 periodic effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- XUIMIQQOPSSXEZ-UHFFFAOYSA-N Silicon Chemical compound [Si] XUIMIQQOPSSXEZ-UHFFFAOYSA-N 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 230000003466 anti-cipated effect Effects 0.000 description 1
- 238000001816 cooling Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000010438 heat treatment Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 229920000729 poly(L-lysine) polymer Polymers 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 229910052710 silicon Inorganic materials 0.000 description 1
- 239000010703 silicon Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/11—Arrangements specific to free-space transmission, i.e. transmission through air or vacuum
- H04B10/114—Indoor or close-range type systems
- H04B10/116—Visible light communication
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C23/00—Non-electrical signal transmission systems, e.g. optical systems
- G08C23/04—Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C2201/00—Transmission systems of control signals via wireless link
- G08C2201/90—Additional features
- G08C2201/93—Remote control using other portable devices, e.g. mobile phone, PDA, laptop
Definitions
- This invention relates to visible light communication system and, more particularly, to using remote control devices with cameras to communicate with controlled devices using visible light.
- Remote controllers have become ubiquitous for controlling all sorts of electronic components including TVs, sound systems, ceiling fans, projectors, computers, thermostats, lighting systems, etc.
- each remote controller is typically unique for the particular associated electronic device.
- Universal remote controllers have had some success combining functions in one handheld device; however, they are expensive, cumbersome, and subject to being lost.
- Remote control can be useful for a number of different reasons.
- the most common advantage is being able to change channels on a TV set without having to move from the comfort of a chair or couch.
- Another advantage is being able to control a device, such as a light or ceiling fan that may be attached to a high ceiling and out of reach.
- Another advantage is that having a remote controller can reduce the size and complexity of the device being controlled. For instance, the remote controller can have multiple buttons and indicators or even a touch screen and computer for controlling the device. This can enable the controlled device to simply be configured to send and receive wireless data.
- Remote controllers can communicate using a variety of wireless communication protocols, but typically use infrared light or radio frequency (RF) electromagnetic radiation based physical layers.
- RF radio frequency
- many commercial and residential lighting systems have remote controllers that enable lights to be controlled locally.
- these remote controllers typically use infrared physical layers, which require the light fixtures to have infrared transceivers. This inevitably increases the cost of the lighting control system.
- VLC virtual reality-based communication
- Lighting control systems that use VLC have many advantages over conventional lighting control systems that use infrared remote controllers and transceivers, or employ other types of wired and wireless communication protocols.
- One big advantage is that the visible light spectrum is currently globally unregulated, and does not suffer from the congestion and interference common in RF- based communication systems.
- Another advantage is cost savings.
- a lighting control system employing visible light communication may transmit optical data using the same light fixture used to provide illumination, e.g., in a room of a building.
- the light fixture comprises one or more LEDs
- the LEDs can also be used as light detectors for receiving optically transmitted data.
- no dedicated wires are needed in a system that transmits optical data using visible light traveling through free space. This is especially important for installation of lighting control systems in existing buildings.
- a limitation of the visible light communication protocol and specifically, a protocol that transmits optical data using visible light traveling through free space, is that it is typically limited in communication range and generally restricted to line of sight.
- optical data transmitted through free space typically cannot be communicated around corners or through walls between various rooms in a building, or between light fixtures and other devices that are too far away and outside of the optical communication range of the remote control device.
- a system, remote control device and method are provided herein for communicating with and controlling various devices using visible light communication (VLC).
- VLC visible light communication
- the system and method described herein may use a smart phone, or other device, as a remote control device to communicate with and control various other devices using optically modulated data transmitted through free space using visible light.
- visible light refers to a portion of the electromagnetic spectrum that is visible to (can be detected by) the human eye, and typically includes
- Electromagnetic radiation in this range of wavelengths is called visible light or simply light. In the system described herein, only visible light sources are used to transmit optical data.
- free space refers to communication within space, but not confined to, for example, an optical fiber.
- transfer of data 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.
- a “smart phone” refers to any mobile phone that uses RF transceivers to communicate bi-directionally according to well-known cellular protocols.
- a “smart phone” as used herein may generally include a memory for storing one or more software applications (typically referred to as smart phone applications or “apps"), a processor for executing the one or more software applications and a display screen for displaying a graphical user interface associated with the software applications.
- the display screen may be a touch screen display comprising a backlight for illuminating the touch screen display and a touch sensitive surface for receiving user input.
- the smart phone may also include a camera and a camera flash.
- a smart phone configured for visible light communication may use the camera flash as a light source and optical transmitter, and the camera image sensor as an optical receiver.
- the remote control device described herein is not limited to a smart phone, and the light source does not have to be a flash.
- a laptop computer, a desktop computer, a hand-held device, or a wall-mounted unit could operate as a VLC remote control device, for example, by modulating the backlight of a display screen (or other light source) for the purpose of transmitting optical data to one or more controlled devices.
- the remote control device and the controlled devices may each include one or more light emitting diodes (LEDs). LEDs are desirable as they can be alternately configured to receive light and to emit light.
- LEDs may be configured for transmitting optical data by modulating the drive current supplied to an LED to produce light modulated with data.
- the remote control device described herein may be used to communicate with light fixtures and lighting systems for controlling such lights, and to enable the lighting system to provide a communication channel between the remote control device and various remotely controlled devices.
- the system, remote control device and method provided herein are not limited to such and may be configured for controlling a wide variety of controlled devices.
- the devices being controlled may be a light fixture, a thermostat, a security system component, a tv, a ceiling fan, a home appliance or other type of remotely controlled electronic device.
- a remote control device may transmit data to a controlled device by modulating the light produced by the LED flash of a camera included within the remote control device.
- the device being controlled e.g., a light fixture, a thermostat or other type of remotely controlled device
- the device being controlled may configure its LED as a photo-detector to receive the data sent optically through free space by the LED flash on the remote control device.
- the controlled device can respond by driving it's LED with high current modulated with data to produce light modulated with data.
- the remote control device may then detect this light and the data being modulated using an image sensor in the camera, for example.
- the LED(s) of the controlled device(s) may be periodically and momentarily turned off to measure incoming light from the remote control device. This may be done at a relatively high rate (e.g., 360Hz) that can't be seen by the human eye, and is preferably higher than the modulation rate of the light produced by the camera flash when transmitting data.
- the LED lights of the controlled devices may be synchronized to a common source (e.g., an AC mains), and thus to each other, so that they all turn off at the same time, and consequently do not interfere with data communication between each other, the remote control device, or any other remotely controlled devices. The times when the LEDs are not producing light are referred to herein as communication gaps.
- a controlled device can measure the incoming light level during each communication gap, preferably using the same LEDs used for emission, and produce a stream of data proportional to the incoming light level. From such data streams, the controlled device may identify light level changes, which correspond to modulated data transitions.
- Circuitry in the controlled device may decode the data to determine the message being sent by the remote control device.
- each controlled device can respond to the remote control device by modulating the brightness and/or color of the light being produced by its LED.
- Image processing software stored within and executed by the remote control device may then be used to determine the location of each controlled device and the data being communicated.
- the remote control device may turn on the camera's image sensor and record a video for an amount of time anticipated for a response from the device or devices being controlled.
- Software within the remote control device may then analyze the video to determine the location of the device or devices responding with light and the data being communicated.
- the software may detect optically transmitted data by scanning one or more frames of video data for the brightness and potentially color of the light emitted from the LED of a controlled device. By analyzing successive video frames, the software can determine when the brightness and/or color of the light produced by a particular controlled device changes, which indicates transitions in the modulated data being communicated from the controlled device to the remote control device. In order to ensure accurate detection, the transitions in the modulated data should occur at a rate slower than the frame rate of the camera.
- the remote control device described herein preferably uses a camera to receive light emitted from the controlled devices. This is because cameras have two-dimensional image sensors, which typically have millions of pixels that can be used to detect light of different wavelengths that fall within the camera's field of view.
- the image processing software within the remote control device can identify the location of many light sources within the camera's field of view, and track the changes in brightness and/or color over time. This enables the remote control device to receive data or messages from many controlled devices simultaneously.
- the method described so far enables a remote control device to broadcast messages to all controlled devices located within a given communication range, and for all such devices within the field of view of the camera to communicate back to the remote control device.
- the system and method described herein also enables a remote control device to communicate bi-directionally with an individually addressed device.
- a system and method for establishing a bi-directional communication link between a remote control device and a selected one of the controlled devices.
- the remote control device may initiate communication by broadcasting a message to all controlled devices located within a communication range of the remote control device, wherein such broadcast message includes a request to respond with a random number or unique pre-programmed ID.
- the application software on the remote control device can then produce an image on the display screen showing all of the devices detected within the camera's field of view, and identifying each device that responded to the broadcast message.
- the user of the remote control device can then touch one of the devices displayed in the image to select that device for subsequent communication.
- a bi-directional communication link between the remote control device and the selected device is thereafter established by using the random number or unique ID of the selected device as an address in subsequent
- the user may position the camera of the remote control device to take a picture of the 100 lights, or some portion thereof, and push a button provided by the graphical user interface (GUI) on the touch screen of the remote control device.
- GUI graphical user interface
- the remote control device may then modulate light from the camera flash, for example, to send a broadcast message to all lights that can receive the message requesting those lights to respond with a random number or unique ID.
- the remote control device may then start recording a video. All lights that received the broadcast message may respond with the random number or unique ID by modulating each light's output brightness (or color) with data.
- the application software within the remote control device may then analyze the video, identify the location (set of pixels) of each light within each video frame, determine the brightness (and/or color) of each light as a function of time, and determine the data being sent from each light from changes in the brightness (and/or color) of each light over time.
- the application software can make sure that all random numbers or IDs received are unique, and can display one frame of the video on the touch screen display designating each light with a unique number and a circle, for instance.
- the graphical user interface may allow the user to zoom in on a region of the light to be adjusted, and select that light with a double touch, for instance.
- a menu could then pop up that provides buttons, sliders, etc. that enable the user to configure or monitor various parameters, functions, etc of the selected light.
- Such parameters could be color, brightness, etc, or things like diagnostics, power consumption, or status could be read.
- the camera on the remote control device could be used to measure the color point of the light, and to provide feedback to the light to adjust the output color to a particular color point or correlated color temperature (CCT).
- CCT correlated color temperature
- a message may be sent to the selected light using the random number or unique ID in the address field of the message transmitted by the camera flash. All lights within range will receive the message, however, only the selected light with that random number or ID will respond. As such, bi-directional communication with individual devices can be achieved.
- a system and method for increasing the optical power and extending the communication range of optical data transmitted in a visible light communication system.
- This embodiment uses the controlled devices themselves (e.g., the multitude of lights in an auditorium) to amplify the optical power of the messages transmitted by the remote control device, or messages transmitted between controlled devices, in order to extend the communication range of the visible light communication system.
- a “communication range” refers to an optical communication range, and specifically, a range of distances within which a receiving device can receive optical data transmitted from a sending device through free space using visible light.
- the communication range extends from the sending device up to a maximum distance at which a receiving device can receive optical data from the sending device. A receiving device located beyond the maximum distance is said to be located outside of the communication range of the sending device.
- the maximum distance may be generally determined by the brightness and directionality of the visible light emitted by the sending device, as well as the light detection sensitivity of the receiving device. In some cases, however, the maximum distance may be affected by obstacles in the communication path (such as walls or other optically dense structures in a room), or deviations from a straight line communication path (such as when light is to be transmitted around corners).
- the embodiment described herein increases the communication range of a visible light communication system by using one or more of the controlled devices to retransmit the communication messages received by the controlled devices.
- Controlled devices may receive communication messages from the remote control device, and/or retransmitted communication messages from other controlled devices.
- the retransmission of communication messages may enable controlled devices outside of the communication range of the remote control device to receive retransmitted messages from controlled devices located within range of the remote control device.
- the communication range of the visible light communication system may be extended by using one or more controlled devices to amplify a sequence of communication messages transmitted by a remote control device.
- the remote control device may be configured to send two (or more) communication messages sequentially with a fixed timing between each message. In one example, a first communication message and a second
- communication may be sent by the remote control device, wherein the second communication message is substantially identical to the first communication message.
- the first message could be broadcast to all controlled devices within range of the remote control device, group cast to a set of controlled devices, or uni-cast to an individual controlled device.
- the first message may include a plurality of data fields, one of which contains information that the first message should be amplified or repeated by the controlled devices that receive the first message.
- the controlled devices that properly receive the first message may adjust their bit timing to that of the received first message, and retransmit the first message in synchronization with a second message being sent from the remote control device. Since the second message is substantially identical to the first message, retransmitting the first message in synchronization with the second message effectively increases the optical power of the second message sent by the remote control device.
- the optical power and communication range of the second message can be orders of magnitude larger than simply relying on the optical power of the remote control device alone.
- the communication range may be extended by using one or more controlled devices to retransmit a communication message sent from the remote control device, wherein the communication message is retransmitted by the controlled devices a specified number (N) of times.
- the communication message may include a plurality of data fields, one of which contains information that the communication message should be retransmitted by the controlled devices that receive the communication message.
- the communication message may contain a repeat field that specifies a number (N) of times the communication message should be retransmitted by the controlled devices.
- the number 'N' may be substantially any number greater than or equal to 1. Controlled devices that receive the communication message from the remote control device decrement the number (e.g., N-l) in the repeat field of the received message, and retransmit the communication message with the decremented number in the repeat field of the retransmitted message.
- the remote control device may be configured for sending only one communication message (i.e., a first communication message) to nearby controlled devices within range of the remote control device. After decrementing the number (N) in the repeat field of the received message, the nearby controlled devices may retransmit the communication message to controlled devices outside of the communication range of the remote control device. In this manner, the communication range may be extended by using the controlled devices to relay messages to other devices.
- the controlled devices do not synchronize retransmissions to the bit timing of the received first message. Instead, the controlled devices may be synchronized to a common timing reference, and thus, may communicate in synchronization with each other. By synchronizing the timing of the controlled devices to a common timing reference, the controlled devices are able to receive and retransmit communication messages to other controlled devices in synchronization with each other.
- the controlled devices may be coupled to a common power source, such as the AC mains of a building, and may be synchronized to a common timing reference generated from the AC power source.
- the controlled devices may each comprise a phase-locked loop (PLL) configured to generate the common timing reference by locking onto an AC signal provided by the AC power source.
- PLL phase-locked loop
- the retransmit command may be used to communicate with a device to be controlled when that device is very far away, but within line of sight of the remote control device.
- the light source e.g., the camera flash
- the remote control device may send one or more communication messages comprising retransmit commands to nearby controlled devices, possibly at the user's discretion.
- the nearby controlled devices receive the first communication message, and retransmit the first communication message to other controlled devices.
- the first communication message may be retransmitted in synchronization with a second message transmitted from the remote control device to amplify the total transmitted optical power of the second message.
- the first communication message may be retransmitted in synchronization with a common timing reference generated within the controlled devices.
- a retransmit command may only be necessary when transmitting messages from the remote control device to a controlled device, which is far away but located within the field of view of the camera.
- a camera is much more sensitive to incoming light than a simple LED connected to an amplifier.
- a camera has a lens that focuses light onto an image sensor having millions of detectors, while a simple LED measures the total light power coming in from all directions. Therefore, if the LED of the controlled device falls within the field of view of the camera, communication from the controlled device to the camera can occur over relatively long distances.
- the retransmit commands described herein are not limited to messages sent from the remote control device to the controlled devices and can also be sent bi-directionally and between controlled devices, themselves. This further extends the control and communication range of the system by enabling the remote control device to communicate with controlled devices that are not within the field of view or line of sight of the remote control device. For instance, a remote control device (or even a device with just an LED for transmitting and receiving light instead of a camera) could send a communication message containing a retransmit command to nearby devices, which would receive and retransmit the communication message in different directions. Not only would this increase the transmit optical power of the message, but a controlled device could receive a message from a controlling device located around a corner, for instance.
- bi-directional communication is made possible between the controlling and the controlled devices by using the retransmit commands to relay communication messages around corners.
- the retransmit commands can be used to retransmit messages many times.
- a sending device e.g., either a remote control device, a controlled device, or any device that can communicate using visible light
- a controlled device may decrement the number specified in the repeat field of the received message, and retransmit the communication message with the decremented number in the repeat field of the retransmitted message. Controlled devices that receive the retransmitted message will retransmit the received message in accordance with the decremented number in the repeat field.
- a sending device could specify that the communication message be retransmitted twice by storing a corresponding bit value in the repeat field of a communication message. Nearby controlled devices within range of the sending device will receive the communication message and retransmit the communication message twice, each time with the bit value in the repeat field decremented accordingly. Controlled devices that are outside the range of the sending device, but within range of the nearby controlled devices, will receive the first retransmitted communication message and transmit the final communication message in synchronization with the controlled devices within range of the sending device. Any number of retransmissions is possible, which can provide virtually unlimited communication range.
- a system and method for using a preamble and a CRC checksum in messages sent by a remote control device or other device using light to minimize the probability of such devices responding to incorrect data.
- the preamble may include a unique sequence that does not exist within the rest of the message. Only after the unique pattern is detected, does a receiver begin decoding a message. A CRC checksum calculated at the receiving device is compared to the CRC checksum generated at the transmitting device and sent with the message. Only if both checksums match does a receiving device accept a message.
- the CRC checksum enables a device manufacturer to provide remote control device applications that can communicate only with that manufacturer's devices. By programming a unique manufacturer ID into each controlled device and using such ID as a seed for the CRC checksum, only messages sent by applications that use the same ID as the CRC checksum seed will be accepted.
- the remote control device described herein is not necessarily limited to communicating with devices provided by only one manufacturer.
- the controlled devices can perform two CRC checks on all received messages using two different seed values.
- One seed value can be manufacturer specific, while the second seed can be common to all manufacturers. In this way, applications can be written to control only a specific manufacturer's devices, or all devices from all manufacturers.
- a memory medium containing program instructions, which are executable on a processor of a remote control device for communicating with and controlling one or more controlled devices.
- the program instructions may comprise first program instructions, second program instructions and third program instructions.
- the first program instructions may be executable for providing a user interface on a display screen of the remote control device.
- the user interface may be configured to receive user input for controlling the one or more controlled devices, and in some cases, may be a graphical user interface (GUI).
- GUI graphical user interface
- the second program instructions may be executable for generating a communication message based on the user input received by the user interface. As described herein, the generated communication message may include a plurality of data fields.
- the plurality of data fields includes a repeat field that specifies a number of times the communication message should be retransmitted by controlled devices that receive the optically modulated data.
- the third program instructions may be executable for modulating a visible light source of the remote control device with data contained within the plurality of data fields to produce optically modulated data, which is transmitted from the remote control device through free space to the one or more controlled devices.
- the program instructions may further comprise fourth program instructions, which are executable for configuring a light detector of the remote control device to receive optically modulated data transmitted from the one or more controlled devices.
- the optically modulated data transmitted from the one or more controlled devices may be transmitted through free space using visible light.
- the fourth program instructions may configure an image sensor of the remote control device to capture a sequence of images of the controlled devices, and the program instructions may further comprise fifth, sixth, seventh and eighth program instructions.
- the fifth program instructions may be executable for analyzing the sequence of images to determine a location of the controlled devices, and to determine the optically modulated data sent from the one or more controlled devices by detecting a change in light output from the controlled devices over time.
- the sixth program instructions may be executable for displaying one of the images of the controlled devices on the display screen of the remote control device.
- the seventh program instructions may be executable for enabling a user to select a particular controlled device by touching a portion of the display screen corresponding to the location of the particular controlled device in the displayed image.
- the eighth program instructions may be executable for generating and directing subsequent communication messages to only the particular controlled device. Additional and/or alternative program instructions may also be included.
- the visible light communication systems, methods and memory mediums described herein provide fundamental advantages that are practically impossible with RF wireless communication protocols. Since the wavelength of RF electromagnetic radiation is orders of magnitude longer than visible light, discrimination between multiple light sources transmitting simultaneously is not possible. With visible light communication, the remote control device, or any device with a camera, can receive light from thousands of sources simultaneously. Further, since RF communication (e.g., Bluetooth) involves frequency and phase modulation of transmitter carrier frequencies, which are generated locally and out of synchronization with other devices, the concept of message amplification is not possible since multiple devices transmitting simultaneously will interfere with each other, instead of amplifying each other. As such, the visible light communication systems and methods described herein have significant practical advantages over today's state of the art communication and control systems.
- RF communication e.g., Bluetooth
- FIG. 1 is an exemplary illustration of a remote control system in which a remote control device communicates with a plurality of controlled devices using visible light, according to one embodiment.
- FIG. 2 is an exemplary illustration of a remote control device (e.g., a smart phone) displaying icons for remote control applications.
- a remote control device e.g., a smart phone
- FIG. 3 is an exemplary illustration of a remote control device (e.g., a smart phone) displaying a remote controlled lighting application.
- a remote control device e.g., a smart phone
- FIG. 4 is an exemplary illustration of a remote control device (e.g., a smart phone) displaying a remote controlled HVAC application.
- a remote control device e.g., a smart phone
- FIG. 5 is an exemplary block diagram of a remote control device (e.g., a smart phone), according to one embodiment.
- a remote control device e.g., a smart phone
- FIG. 6 is an exemplary block diagram of a controlled device, according to one embodiment.
- FIG. 7 is an exemplary timing diagram of communication between a remote control device (e.g., a smart phone) and a plurality of controlled devices.
- a remote control device e.g., a smart phone
- FIG. 8 is an exemplary diagram of a message structure for a communication sent from a remote control device and a response sent from a controlled device.
- FIG. 9 is a timing diagram of an exemplary message encoding scheme.
- FIG. 10 is a timing diagram of an exemplary message preamble.
- FIG. 11 is an exemplary block diagram of a CRC encoder and decoder.
- FIG. 12 is an exemplary circuit diagram to generate CRC codes.
- FIG. 13 is an exemplary timing diagram for a controlled device receiving a remote control message.
- FIG. 14 is an exemplary timing diagram for a controlled device transmitting data.
- FIG. 15 is an alternative exemplary timing diagram for a controlled device transmitting data.
- FIG. 16 is an exemplary timing diagram for a remote control device (e.g., a smart phone) receiving data using the camera.
- a remote control device e.g., a smart phone
- Smart phones with touch screen displays and cameras with LED flash are becoming commonplace, and typically include radio frequency (RF) transceivers for communicating bi- directionally, using the RF spectrum, according to cellular phone protocols for long-range communication and Bluetooth protocols for short-range communication.
- RF radio frequency
- Smart phone devices typically have substantial processing power and run software applications that can be downloaded off the Internet and executed on the smart phone for many different purposes. Some of these applications are used to control the smart phone camera flash for functions unrelated to the camera, such as providing strobe lighting or a flashlight feature. While useful for seeing in the dark, these applications cannot be used to transmit optical data from the smart phone.
- the remote control device described herein utilizes various software applications that function to control a light source (e.g., a camera flash or display screen backlight) of a smart phone, or other device, for the purpose of sending and/or receiving optical data to/from a variety of controlled devices using visible light.
- a light source e.g., a camera flash or display screen backlight
- Different software applications can be used to control different devices.
- the software applications described herein can be downloaded (e.g., from the Internet) or otherwise stored onto a memory medium of the remote control device, and generally consist of program instructions that may be executed by a processor of the remote control device to effectuate visible light communication between the remote control device and one or more controlled devices.
- FIG. 1 depicts one example of a remote control system 10 that uses the flash and camera of a smart phone 11 to control light fixture 12 and other devices using visible light.
- remote control system 10 comprises smart phone 11, light fixture (or lamp) 12, and thermostat 13 in room 15. Thermostat 13 connects to the HVAC system 14 though wire 20.
- smart phone 11 modulates the light 16 produced by the flash to transmit optical data through free space to lamp 12 and thermostat 13.
- Lamp 12 and thermostat 13 can respond to messages from smart phone 1 1 through modulated light 18 and 19, respectively. Modulated light 18 and 19 is recorded and decoded by smart phone 11 using its camera in this example.
- Lamp 12 can also repeat messages that are communicated through modulated light 17 to extend the communication range of messages sent from smart phone 11 to other devices, which may be too far away or out of the line of sight of smart phone 11, such as thermostat 13 or additional lamps or devices (not shown).
- FIG.l is just one example of many possible remote control systems 10.
- smart phone 11 can control substantially any type of controlled device having a light sensor, and optionally, a light emitter.
- Examples of possible controlled devices include, but are not limited to, security systems, ceiling fans, televisions, home appliances, and a wide variety of other types of electronic devices.
- the remote control device does not have to be a smart phone, and the light source on the remote control device does not have to be a flash.
- the remote control device described herein may be substantially any type of electronic device having at least a camera and a light source.
- a laptop computer, a desktop computer, a hand-held unit or a wall-mounted unit could operate as a remote control device, for example, by modulating the backlight of a display screen (or other light source) for the purpose of transmitting optical data to a lamp or other type of remotely controlled device.
- the remote control system 10 is not limited to the embodiment specifically illustrated in FIG. 1.
- smart phone 11 could simply control one or more lamps 12 in remote control system 10, and may not communicate at all with thermostat 13.
- lamp 12 repeats messages from smart phone 11 once (via modulated light 17) to extend the optical range of smart phone 11.
- any number of lamps or other type of controlled device with a light emitter
- Such lamps or devices can retransmit in synchronization with each other, and optionally with smart phone 11, to amplify the optical signal communicated through free space using visible light.
- the optical signal grows in intensity with each repetition as additional devices join the retransmission.
- smart phone 11 could also communicate using WiFi, Bluetooth, or any other communication protocol with a controlled device comprising such communication protocol interface and a light emitter, such as an LED.
- a controlled device may convert WiFi messages, for example, to optically modulated signals, which are transmitted to and detected by other controlled devices in the system 10.
- FIG. 2 is an exemplary illustration of smart phone 11 with a touch screen display showing graphical user interface icons, for example, corresponding to three different remote control applications 21, 22, and 23.
- applications 21, 22, and 23 can be provided by the smart phone manufacturer, or downloaded by smart phone 1 1 via the Internet and appear as icons on the display.
- a user may touch one of the icons shown on the display screen to open a corresponding application and invoke the program instructions associated therewith.
- applications 21 and 22 respectively control the lamp(s) 12 and thermostat 13 in remote control system 10. It is noted, however, that applications 21, 22, and 23 are merely illustrations depicting essentially any type and any number of applications that may be used by a smart phone (or other type of electronic device) for controlling any type and any number of controlled devices.
- FIG. 3 is an exemplary illustration of smart phone 11 displaying one embodiment of a remotely controlled lighting application 21, which comprises sliders or buttons 30, 31, 32, 33, 34 and 35.
- group button 30 may be divided into many smaller buttons that enable different groups of lights to be controlled independently.
- Brightness slider 31 in this example can be adjusted to control the dimming level of a lamp 12, a group of lamps, or all lamps within communication range of the system 10.
- Color button 32 could be a set of buttons, a slider, or even a two dimensional region to adjust the color of a lamp 12.
- a set of buttons could allow preset color points or Correlated Color Temperatures (CCTs) to be selected, such as 2700K, 3000K, 3500K, and 5000K.
- CCTs Correlated Color Temperatures
- a slider could allow a user to adjust the CCT of lamp 12 anywhere within a certain range.
- a two dimensional region could enable a user to select any color within the gamut provided by lamp 12.
- Ambient button 33 could also be a set of buttons or a slider, for instance, which could be used to adjust the relationship between brightness and ambient light level.
- ambient button or slider 33 could be used to adjust the ambient light above which lamp 12 would dim or turn off.
- the ambient light level could be a limit or threshold about which lamp 12 is fully on, and below which lamp 12 is fully off.
- lamp 12 could gradually adjust brightness as the ambient light level changes. Lamp 12 may implement hysteresis in the case that lamp 12 turns fully on and off with ambient light level.
- Timer 34 could be a set of buttons, a slider, or even a link to a more extensive sub-menu to control when lamp 12 turns on and off. For example, timer 34 could enable a user to configure lamp 12 to turn on at a certain time of day and turn off at another time. As another example, timer 34 could enable a user to adjust the amount of time that lamp 12 stays on after being turned on. As such, timer 34 represents a wide range of functionality associated with any timers in lamp 12.
- Send button 35 can initiate the message transmission from smart phone 11 to adjust any of the properties or functions provided by buttons 31 , 32, 33 and 34. For example, a user could first push a button within group 30 to select a particular group of lamps, adjust the position of brightness slider 31, and finally touch the send 35 button to adjust the brightness of the lamps within the selected group.
- send button 35 illustrates just one way to initiate the transmission of a message from smart phone 11 to lamp 12.
- a button or slider a message can be sent to a controlled device (such as lamp 12).
- a message can be sent to a controlled device in response to a voice
- a software program running on the smart phone, or on another device connected to the smart phone may automatically send messages to one or more of the controlled devices based on sensor output (e.g., ambient light detection), scheduling, or some other factor.
- sensor output e.g., ambient light detection
- any input can result in the smart phone 11, or other electronic devices, transmitting a message optically to lamp 12 or device 13, for instance.
- FIG. 3 provides an example of common functions that lighting application 21 might control through the execution of program instructions stored within a memory of the smart phone 11.
- Many other functions and user interfaces are possible with different sliders, buttons, and other means to control and monitor a lighting system.
- Other functions could include color calibration in which the camera in smart phone 11 is used to determine the color point of the light produced by a lamp 12. Smart phone 11 could then provide feedback to lamp 12 to adjust the color to a desired point.
- other sensors and interfaces on smart phone 11 could be used to monitor other aspects of the light output from a lamp 12 and provide feedback.
- FIG. 4 is an exemplary illustration of smart phone 11 displaying one embodiment of a remotely controlled thermostat application 22, which comprises graphical user interface fields 40, 41, 42, and 43.
- Time versus temperature field 40 could comprises buttons, sliders, or a link to a sub-menu, or could comprise a two dimensional mapping of time of day versus temperature that can be adjusted by a user via touch.
- Status field 41 could be a region of the display that reports HVAC status (such as heating, cooling, or fan) and current temperature for instance.
- Temperature field 42 could comprise a slider that enables a user to adjust the temperature continually over a range of temperatures.
- Send button 43 could operate the same or differently from the Send 35 button shown in FIG. 3.
- FIG. 3 and FIG. 4 are illustrations of possible software applications that may be used for controlling lights and thermostats using visible light communication from a smart phone or other remote control device.
- a wide variety of application programs and user interfaces are possible.
- applications for controlling a wide variety of controlled devices are also possible.
- visible light communication is the preferred communication method, some applications may communicate using WiFi or any other protocol to a controlled device that accepts such protocol, but produces messages using modulated light.
- FIG. 5 is an example block diagram of a smart phone 11 that uses visible light communication to control lamp 12 and thermostat 13.
- Smart phone 11 comprises touch screen display 55 for displaying a graphical user interface associated with software applications 21 and 22, for instance, and for optionally displaying images of devices to be controlled or monitored.
- the software applications 21 and 22 may be downloaded (e.g., from the Internet) or otherwise stored within a memory medium of smart phone 11, such as memory 54 depicted in FIG. 5.
- the software applications 21 and 22 may be invoked, e.g., when a user touches an icon (not shown) displayed on the touch screen display 55. Once invoked, the software applications 21 and 22 may be executed on a processor of smart phone 11, such as processor 58.
- processor 58 receives user input through the touch screen display 55 and passes data to be transmitted to the camera flash controller 59.
- the data sent from processor 58 to camera flash controller 59 may include a communication message, which is to be transmitted optically via controller 59 and LED 60 to one or more controlled devices.
- the communication message may include a plurality of data fields as shown, e.g., in FIG. 8 and described in more detail below.
- the communication message may include a repeat field specifying the number of times the communication message should be repeated or retransmitted by a controlled device that receives the communication message.
- the camera flash controller 59 Upon receiving the communication message, the camera flash controller 59 transmits optically modulated data by turning LED 60 on and off in response to the data sent from processor 58.
- the optically modulated data may be produced in accordance with a well-known encoding scheme, such as the bi-phase encoding scheme shown in FIG. 9.
- modulated light 16 from LED 60 is transmitted to lamp 12 and thermostat 13.
- Lamp 12 and thermostat 13 respond with modulated light 18 and 19, respectively.
- Camera 50 which comprises lens 51 and image sensor 52, measures the light produced by lamp 12 and thermostat 13 as a function of time.
- Optional image processor 53 can compensate for non-idealities, among other things, and store a video recording of lamp 12 and/or thermostat 13 in memory 54.
- Processor 53 or processor 58 can analyze the video recording to determine the location of light sources on the controlled devices, which can include lamp 12 and/or thermostat 13, and can analyze the change in light output over time to determine the data being sent from such devices. After analyzing the video recording, processor 53 or 58 can report the response to the touch screen display 55, pass the data to another program running on another computer, or store the data in memory 54, for example.
- smart phone 11 Since smart phone 11 uses camera 50 to receive data, the smart phone 11 can receive data from many controlled devices at the same time. In some cases, smart phone 11 can display a still image from the video recording that identifies the location of the controlled devices (e.g., lamp 12 and thermostat 13) from which smart phone 11 received valid responses. A user can then touch an image 56 of lamp 12 or an image 57 of thermostat 57 to select that device for further communication.
- the controlled devices e.g., lamp 12 and thermostat 13
- FIG. 5 is just one block diagram depicting exemplary components and functionality that may be provided by smart phone 11.
- Smart phone 11 may be configured differently in alternative embodiments.
- smart phone 11 could transmit optical data by modulating the light from the backlight of the display screen (instead of the flash 60), or could use an optional ambient light sensor to receive optical data (instead of the camera image sensor 52).
- Camera 50 could comprise different internal components, such as the optional image processor 53.
- Processor 58 and memory 54 could reside in the same integrated circuit or different ones.
- Smart phone 11 could communicate with many lamps or groups of lamps instead of just lamp 12.
- Smart phone 11 could also communicate with many different types of controlled devices instead of just lamp 12 and thermostat 13.
- smart phone 11 may communicate simultaneously with substantially any number and any type of device within the field of view of camera 50.
- Smart phone 11 could also communicate, for example, using WiFi or another communication protocol to a controlled device having the same protocol interface and an optical emitter.
- the controlled device could convert received WiFi messages to optical messages, and smart phone 11 could use camera 50 to receive responses optically from the controlled devices.
- FIG. 6 is one example of a block diagram for lamp 12, which is connected to AC mains 61 and comprises power supply 62, timing 63, VLC network controller 64, physical layer interface (PLI) 65, LEDs 66, and memory 67.
- Power supply 62 converts the AC power from AC mains 61 to DC power, which provides current to the LEDs 66 and voltage to the remaining circuitry in lamp 12.
- Timing 63 typically comprises a phase locked loop (PLL) that locks to the AC signal provided by AC mains 61 and provides timing information to visible light
- timing 63 can be used to synchronize all lamps 12 and other devices in the system 10, and in some cases, may also be used to time power supply 62 to minimize noise coupling into PLI 65.
- PLI 65 typically comprises an LED driver circuit that produces substantially DC current to produce illumination from LEDs 66 and modulated current to transmit optical data from LEDs 66.
- the AC and DC currents provided by the LED driver circuit can be combined in many different ways to produce illumination and transmit data using the same light source. For example, periodic time slots can be produced in synchronization with the AC mains 61 during which the DC current is turned off and the AC current is turned on to transmit optical data within the periodic time slots, or communication gaps.
- PLI 65 also typically comprises a receiver circuit that detects current induced in LEDs 66 when the LEDs 66 receive optical data transmitted using visible light through free space.
- the receiver circuit included within PLI 65 converts the photo-current induced in LEDs 66 to voltage, which is then compared to a reference voltage to determine a sequence of ones and zeros sent by the transmitting device.
- VLC network controller 64 interfaces with PLI 65 and memory 67 to receive optical data transmitted from a transmitting device using visible light through free space, to implement the functionality of lamp 12, and in some cases, to re-transmit the received optical data during communication gap times.
- the optical data received by LEDs 66 can be interpreted by VLC network controller 64, stored in memory 67 and/or further processed. For instance, the brightness or color of LEDs 66 can be adjusted by adjusting the substantially DC current applied to LEDs 66 using the LED driver circuit included within PLI 65.
- Optical data intended for other or additional electronic devices can be stored in memory 67 and retransmitted by PLI 65 and LEDs 66 in various ways.
- lamp 12 is just one example of many possible lamps 12, which are configured to receive optical data communicated through free space and re-transmit the received optical data to other electronic devices using visible light.
- the configuration of lamp 12 may be substantially different from the example shown in FIG. 6.
- lamp 12 could be DC or solar powered, and thus, may not be connected to AC mains 61.
- LEDs 66 are preferred, since they can be used as both a light source and light detector, any type of light source may be included within lamp 12 including, but not limited to, fluorescent tubes, compact fluorescent lights, incandescent light, etc. If an alternative light source is used, lamp 12 may comprise an additional light detector, such as a silicon photo-diode, for receiving the optically transmitted data.
- FIG. 7 illustrates an exemplary timing diagram for the visible light communication illustrated in FIG. 1 between smart phone 11, lamp 12, and thermostat device 13.
- smart phone 11 transmits a communication message 16 to lamp 12 through free space using visible light.
- the communication message 16 may be temporarily stored, e.g., within memory 67 of lamp 12 (as shown in FIG. 6).
- lamp 12 may retransmit communication message 16 once (as communication message 17) to extend the range of communication between smart phone 11 and thermostat 13.
- Lamp 12 and thermostat 13 transmit responses 18 and 19, respectively, which may be saved in smart phone 11 as video recording 70.
- smart phone 11 may send communication message 16 twice, with the second time being in synchronization with the same communication message 17 being sent from lamp 12.
- the lamp 12 may adjust its bit timing to that of the first received message 16, and retransmit the message (as communication message 17) in synchronization with the second communication message 16 being transmitted by the smart phone.
- communication messages 16 and 17 may each comprise a repeat field (81, FIG. 8) that specifies the number of times the message is to be repeated.
- the content of the repeat field is ⁇ ' during the first transmission of communication message 16 from smart phone 11.
- lamp 12 receives message 16 the first time it is transmitted, however, thermostat 13 is out of
- communication messages 16 and 17 may further comprise an address field (82, FIG. 8) that can specify broadcast, group cast, or uni-cast messages.
- Broadcast messages target all devices, group cast messages target groups of devices, and uni-cast message target individual devices within signal range.
- communication messages 16 and 17 are broadcast to all devices, to which both lamp 12 and thermostat 13 respond with responses 18 and 19, respectively.
- Smart phone 11 records a video 70 of the responses 18 and 19 from lamp 12 and thermostat 13, and decodes the data from the modulated optical power detected by the pixels of image sensor 52.
- smart phone 11 can display an image from video recording 70 to enable a user to select a particular device for subsequent communication, for example, by touching display 55 in the region of the particular device in the image (see, e.g., FIG. 5).
- communication messages 16 and 17 may further comprise a communication field (83, FIG. 8) that specifies the action to be taken by an addressed device or devices.
- One command which is typically broadcast or group cast, instructs all targeted devices to respond with a random number.
- smart phone 11 records the responses within the field of view of camera 50 and recovers the random number transmitted from each device.
- a user of smart phone 11 can then select a particular device from the image displayed on touch screen display 55 for subsequent communication, which may use the random number as the address (82, FIG. 8) for uni-cast communication with the selected device.
- Such a mechanism is useful, among other things, for setting an individual or group address for each lamp or device when commissioning a new lighting system, for instance.
- FIG. 7 represents just one of many possible timing diagrams for visible light communication between smart phone 11, lamp 12 and thermostat 13.
- smart phone 11 may send communication message 16 only once, instead of the two times shown in FIG. 7.
- the devices being controlled by smart phone 11 e.g., lamps 12 and possibly thermostat 13
- the controlled devices may be coupled to a common power source, such as the AC mains of a building, and may be synchronized to a common timing reference generated from the AC power source.
- the controlled devices may include a phase-locked loop (PLL) for generating the common timing reference by locking onto the AC signal provided by the AC power source.
- PLL phase-locked loop
- Alternative remote control systems 10 having possibly many different types and/or numbers of controlled devices may operate in accordance with substantially different communication timing diagrams. For instance, communication messages may not be repeated at all, or may be repeated many times. In some cases, communication messages may target individual devices in which only one controlled device may produce a response. In some cases, no responses may be provided. In other cases, responses from controlled devices may be repeated by other controlled devices to extend the communication range of responses sent from the controlled devices back to the smart phone 11. Further, smart phone 11 , or any other type of device that initiates optical communication, may not have or make use of a camera 50, and consequently, may not record video 70.
- FIG. 8 illustrates an exemplary remote control message structure for message 16 and 17 and responses 18 and 19.
- communication messages 16 and 17 comprise preamble field 80, repeat field 81, address field 82, command field 83, data field 84, and CRC checksum 85.
- the preamble field 80 comprises bits 0 through 3
- the repeat field 81 comprises bits 4 through 7
- the address field 82 comprises bits 8 through 15
- the command field 83 comprises bits 16 through 23
- the data field 84 comprises bits 24 through 31
- the CRC checksum 85 comprises bits 32 through 39.
- the preamble field 80 identifies the start of communication message 16/17 or response 18/19 and comprises a unique data sequence or pattern that does not exist within the rest of message or response.
- preamble 80 may include a coding violation (e.g., as used in bi-phase coding) or a control symbol (as used, e.g., in 4b5b or 8bl0b coding).
- Receiving devices such as lamp 12 and thermostat 13, identify the start of a message 16/17 when the unique pattern in preamble 80 is detected.
- receiving devices may also synchronize their internal timing to the bit timing of preamble 80, which enables devices without accurate timing references (e.g., PLLs) to communicate effectively.
- the repeat field 81 instructs a receiving device to retransmit a received communication message 16 by specifying the number of times the message 16 is to be repeated by the receiving devices.
- the repeat field 81 comprises four bits, which enables message 16 to be repeated up to 15 times.
- all controlled devices that receive message 16 with a non-zero repeat field may decrement the value in the repeat field and retransmit message 16 in synchronization with other devices including smart phone 11.
- all devices except smart phone 11 may repeat messages 16.
- only some types of devices may repeat messages.
- the mechanism for repeating and amplifying the optical power of messages is available and can be used in many different ways.
- the address field 82 specifies the controlled device or devices targeted by the communication message 16.
- address field 82 may include one particular code, for instance OxFF, to indicate a broadcast message to be transmitted to all devices.
- address field 82 may include a range of codes that identify a group of devices to target. For instance, the four most significant bits (8 through 11) being high can indicate a group cast message with the four least significant bits (12 through 15) indicating one of sixteen different groups of devices. In this example, all remaining codes could identify uni-cast messages to individual devices. Further, a certain range of uni-cast codes could be allocated for random number addressing as described previously, with another range of uni-cast codes allocated for pre-programmed addresses.
- the command field 83 specifies the action to be taken by the target device or devices. Such commands and associated actions can be different for different types of devices. For instance, lamp 12 may interpret the command field 83 to perform the functions shown in application 21, while thermostat 13 may interpret the command field 83 to perform the functions shown in application 22. Some codes within the command field 83 can be reserved for system 10 management and interpreted the same by all devices. For instance, the code to respond with a random number that can be used for subsequent addressing could be the same for all devices independent of function. Other system management codes may be included to support a variety of functions. [0106] The data field 84 may contain information associated with each command field 83 code.
- the code to adjust the brightness of a lamp may include a data code value within data field 84 to indicate what the brightness should be.
- the code to adjust the color temperature of a lamp may include a data code value within data field 84 to indicate the desired CCT.
- Some command field 83 codes may have no data field 84 code associated therewith. For instance, the code to turn off a lamp may not need any data information, and consequently, the data field 84 may not be included with such command codes.
- the CRC checksum field 85 contains a code that is determined by the sequence of data bits between the preamble 80 and the CRC checksum field 85, and is typically used by a receiving device for error checking.
- CRC codes are well known in the industry and can be implemented with a variety of polynomials. Both transmitting and receiving devices generate the CRC code using the same polynomial and the same seed value.
- a transmitting device sends the CRC code in the CRC checksum field 85 of a message. When the message is received, a receiving device generates it's own CRC code and compares the result to the code in the CRC checksum field 85 of the received message. If the codes match, the message was received properly. If the codes do not match, an error occurred and the message can be ignored.
- the seed value used to generate CRC codes can be substantially any value, provided that the same seed value is used in both the transmitting and receiving devices. To allow devices from different manufacturers to be independently addressed, different seed value is used in both the transmitting and receiving devices. To allow devices from different manufacturers to be independently addressed, different seed value is used in both the transmitting and receiving devices. To allow devices from different manufacturers to be independently addressed, different seed value is used in both the transmitting and receiving devices. To allow devices from different manufacturers to be independently addressed, different
- manufacturers can program unique seed values into their devices, which in turn, can be stored within smart phone 11 for use in communications with those devices.
- unique seed values enables the smart phone 11 applications to selectively communicate with only a specific manufacturer's devices, and to ignore messages that may be transmitted from a different manufacturer's device. For example, since the seed values are different for different
- manufacturer's devices all devices used in the system 10, including those made by different manufacturers, can be configured to generate two different CRC codes using two different seed values when receiving messages.
- One seed value can be manufacturer specific and the other seed value can be the same for all manufacturers. If either of the generated CRC codes matches the value in the CRC checksum field 85 in the received message, an error is not generated and the message is properly processed by the receiving device.
- the message structure of responses 18/19 may be similar to the message structure of communication messages 16/17.
- responses 18 and 19 may include a preamble field 80, a repeat field 81, a data field 84, and a CRC checksum field 85.
- the repeat field 81 specifies the number of times a response is to be repeated.
- the data field 84 provides the device's response, or the information requested in the received message 16 and 17, to smart phone 11 for instance. For example, in response to a broadcast message 16 requesting such information, a device may include a random number or unique manufacturer ID within the data field 84 of response 18 or 19.
- the random number or unique manufacturer ID provided by the device within the data field 84 may be used for subsequent uni- cast messages between the smart phone 11 and the device.
- the CRC checksum field 85 in the response 18 or 19 can be generated using any seed value, but typically would be generated using the seed value from the received message 16/17.
- FIG. 8 illustrates one of many possible message structures for communication messages 16/17 and responses 18/19; however, other message and/or response formats may be used. For instance, the size and/or order of any of the fields shown in FIG. 8 can be different. Further, other fields can be added or some fields, such as the data field 84 may not be used. As such, FIG. 8 is just one exemplary message structure.
- FIG. 9 illustrates an example coding scheme for communication messages and responses, which is a well-known bi-phase coding scheme operating at 60 Baud.
- the LED 60 of common smart phones, such as Apple's iPhone 4 can be modulated at a frequency up to 60 times per second. This 60Hz rate is indicated by clock 90 in FIG. 9.
- the data bits 91 are first bi-phase encoded at the 60Hz rate to produce bi-phase encoded bits 92.
- the bi-phase encoded data 92 transitions at the end of each data 91 bit period, and further transitions in the middle of a data 91 bit period when data 91 is high.
- the data 91 bit rate in this example is 30 bits per second.
- LED 60 produces light when bi-phase encoded bits 92 are high (data 91 bit periods 1, 4, 5 and 7), and does not produce light when bi-phase encoded bits 92 are low (data 91 bit periods 2, 3, and 6).
- the light produced by the LED flash 60 of smart phone 11 is modulated with bi-phase encoded data 92 at 60 baud, which produces a data 91 throughput of 30 bits per second.
- Bi-phase coding is just one of many possible coding schemes that may be used for communicating communication messages 16/17 and responses 18/19.
- a commonly known 4b5b and 8b 10b coding scheme could be used, instead of bi-phase coding, or data 91 could be communicated without any encoding.
- LED 60 could be modulated faster or slower than 60Hz, which increases or decreases data 91 throughput.
- FIG. 9 is just one example of a data communication protocol that may be used in the remote control visible light communication system 10.
- FIG. 10 illustrates an example preamble 100 code that may be included within the preamble field 80 in communication messages 16/17 and responses 18/19.
- Clock 90 illustrates one exemplary rate at which LED 60 can be controlled.
- preamble 100 comprises emitted light for three clock 90 cycles, no light for one clock 90 cycle, light for one clock 90 cycle, and no light for three clock 90 cycles. Since bi-phase encoded data 91 transitions every two clock 90 cycles, preamble 100 contains two coding violations 101 that only occur in the preamble field 80 of messages 16/17 and responses 18/19.
- Preamble 100 comprises the longest light pulses, three clock 90 cycles, and the shortest light pulses, one clock 90 cycles, which enables a receiving node to properly synchronize to the timing of a transmitting device.
- FIG. 10 illustrates just one of many possible preamble 100 data that may be included within the preamble field 80 of messages 16/17 and responses 18/19.
- many other preamble 100 data with or without coding violations are possible.
- the preamble 100 data can be shorter or longer than shown in FIG. 10. If messages are encoded using other encoding schemes, such as 4b5b or 8b 10b, preamble 100 can be
- preamble 100 can be a control symbol that is not used for encoding data 91.
- FIG. 11 illustrates an example block diagram for CRC generation and checking in transmitting 110 and receiving 111 devices, respectively.
- transmitting device 110 the data for the repeat 81, address 82, communication 83, and data 84 fields resides in memory 112. This data is passed, along with preamble 116 and the CRC code generated by CRC generator 113, to multiplexer 114 for generating a communication message or response. The data is also serially applied to CRC generator 113 through input port 124. Seed value 115 provides the initial state of CRC generator 113, and can be substantially any value. In some cases, seed value 115 may include a manufacturer specific code used to provide communication only with that
- the resulting CRC code produced by CRC generator 113 is passed through output port 125 and inserted by multiplexer 114 at the end of the communication message or response.
- the output of multiplexer 114 is typically encoded before being used to modulate the light produced by LED 60 in smart phone 11 , for instance.
- encoded data is recovered from the received light and applied to AND gates 117 and 118.
- Message bits 32 through 39 pass through AND gate 118 to comparator 120.
- Seed value 115 is also applied to CRC generator 119, which produces a checksum that is compared by comparator 120 to the CRC code contained within the CRC field 85 of the received message. If the generated and received codes match, no error is detected and the received message is accepted. If the codes do not match, an error is detected and the message can be ignored.
- CRC generator 119 can produce two different checksums using both seed 115 values. If either resulting checksum from CRC generator 119 match the CRC code contained within the CRC field 85 of the received message, no error is detected and the message is accepted.
- FIG. 11 is just one of many possible block diagrams for CRC generation and checking in transmitting 110 and receiving 111 devices.
- the functionality illustrated in the block diagrams can be performed in hardware, software or a combination of hardware and software, and can be implemented in many different ways.
- FIG. 11 is intended to be representative of basic functionality, and is not restricted to any particular componentry or configuration.
- FIG. 12 is an exemplary diagram illustrating one embodiment of how the CRC generators 113/119 shown in FIG. 11 may be implemented.
- the CRC generator may include a data input port 124 and a CRC code output port 125.
- CRC generator 113/119 uses the polynomial X A 8 + X + 1 to produce the resulting CRC code.
- exclusive OR gates 127, 128, and 129 produce the terms ⁇ ⁇ 8, X, and 1 respectively, while data serially shifts through register bits 126.
- Seed value 115 provides the initial state for register bits 126, and is loaded into register bits 126 through inputs So through S 7 .
- FIG. 12 illustrates just one of many possible block diagrams for implementing CRC generator 113/119.
- the functionality illustrated in the CRC generator block diagram can be implemented in hardware, software or a combination of hardware and software.
- FIG. 12 is intended to be representative of basic functionality, and is not restricted to any particular componentry or configuration.
- FIG. 13 illustrates an exemplary timing diagram for a lamp 12 receiving a
- lamp 12 is connected to AC mains 61, the voltage of which is represented by 60Hz AC signal 90.
- the timing block 63 included within lamp 12 phase locks to the 60 Hz AC signal from AC mains 61 and produces repetitive communication gaps 133 in the light output 130 from lamp 12.
- the communication gaps 133 occur at six times the AC mains 61 frequency, or approximately 360Hz.
- LEDs 66 can operate as light emitters.
- LEDs 66 can operate as light detectors for receiving communication message(s) 16 via light in 131 and data in 132.
- FIG. 14 illustrates an exemplary timing diagram for a lamp 12 transmitting a message 17 relative to the AC mains timing signal 90.
- the data out signal 140 represents data bits of a message 17 to be transmitted by lamp 12.
- Light out 141 represents the light produced by lamp 12, which in this example is modulated by data out 140.
- FIG. 14 indicates that light out 141 from lamp 12 is turned completely on and off, the light out 141 from lamp 12 can be modulated between any two brightness levels, some of which may be observed as flicker and others that may not be.
- the rate of data out 140 is illustrated in FIG. 14 to be 30 bits per second, or one bit for every two cycles of the 60Hz reference clock 90 of the AC mains 61, which can be readily detected by a camera 50 operating at a 60Hz frame rate. If camera 50 in smart phone 11 operates substantially faster than 60Hz, the rate of data out 140 can be even higher. Likewise, if lamp 12 is communicating with other lamps or devices with other optical detectors, the rate of data out 140 can also be higher. As such, FIG. 14 is an example of just one possible timing diagram for transmitting a message via lamp 12.
- FIG. 15 illustrates an alternative method for transmitting messages 17 from a lamp 12 in which only the light 141 produced by lamp 12 during the communication gaps 133 is modulated by data out 140.
- other lamps 12 or devices locked to the AC signal of the AC mains 61 can detect such light modulation and properly receive the data out 140 signal.
- FIG. 16 illustrates an example timing diagram of camera 50 and a pixel within image sensor 52 of a smart phone 11 receiving a response 18/19.
- the video clock 160 within camera 50 is operating at a 60Hz frame rate.
- the light into the pixel through the lens 51 from a lamp 12, for instance, varies as illustrated by light in 161.
- Light in 161 could be generated by a lamp 12 operating with the transmit timing diagram illustrated in the example of FIG. 14.
- the light in 161 bit rate is half the 60Hz frame rate and slightly out of phase with the video clock 160.
- FIG. 16 is an illustration of possible timing and functionality of camera 50 and smart phone 11 receiving optical signals from a lamp 12 or other types of devices.
- Pixel voltage 162 is intended to simply represent the relative brightness of pixels of within an image as a function of time. Pixel voltage 162 may or may not represent the actual signal in image sensor 52.
- the data rate of light in 161 may be faster or slower than the rate shown in FIG. 16.
- FIG. 16 is just one example.
Landscapes
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Physics & Mathematics (AREA)
- Optical Communication System (AREA)
- Selective Calling Equipment (AREA)
Abstract
A system, remote control device and method are provided herein for communicating with and controlling various devices using visible light communication (VLC). According to one embodiment, a method is provided for extending a communication range of a visible light communication system comprising a remote control device and a plurality of controlled devices. Such a method may include, for example, transmitting a communication message from a remote control device to a first controlled device located within range of the remote control device, wherein the communication message is transmitted through free space using visible light, and extending the communication range of the visible light communication system to a second controlled device, which is located outside of the range of the remote control device, by using the first controlled device to retransmit the communication message through free space using visible light to the second controlled device.
Description
SYSTEM AND METHOD OF EXTENDING THE COMMUNICATION RANGE IN A VISIBLE LIGHT COMMUNICATION SYSTEM
BACKGROUND OF THE INVENTION
1. Field of the Invention
[0001] This invention relates to visible light communication system and, more particularly, to using remote control devices with cameras to communicate with controlled devices using visible light.
2. Description of Related Art
[0002] Remote controllers have become ubiquitous for controlling all sorts of electronic components including TVs, sound systems, ceiling fans, projectors, computers, thermostats, lighting systems, etc. However, each remote controller is typically unique for the particular associated electronic device. Universal remote controllers have had some success combining functions in one handheld device; however, they are expensive, cumbersome, and subject to being lost.
[0003] Remote control can be useful for a number of different reasons. The most common advantage is being able to change channels on a TV set without having to move from the comfort of a chair or couch. Another advantage is being able to control a device, such as a light or ceiling fan that may be attached to a high ceiling and out of reach. Another advantage is that having a remote controller can reduce the size and complexity of the device being controlled. For instance, the remote controller can have multiple buttons and indicators or even a touch screen and computer for controlling the device. This can enable the controlled device to simply be configured to send and receive wireless data.
[0004] Remote controllers can communicate using a variety of wireless communication protocols, but typically use infrared light or radio frequency (RF) electromagnetic radiation based physical layers. For example, many commercial and residential lighting systems have remote controllers that enable lights to be controlled locally. However, these remote controllers
typically use infrared physical layers, which require the light fixtures to have infrared transceivers. This inevitably increases the cost of the lighting control system.
[0005] Some lighting control systems have been introduced that use visible light
communication (VLC) to communicate optical data to light fixtures or other devices. Lighting control systems that use VLC have many advantages over conventional lighting control systems that use infrared remote controllers and transceivers, or employ other types of wired and wireless communication protocols. One big advantage is that the visible light spectrum is currently globally unregulated, and does not suffer from the congestion and interference common in RF- based communication systems. Another advantage is cost savings.
[0006] For example, light fixtures controlled by visible light do not use infrared transceivers for communicating with infrared remote controllers, and thus, do not incur the costs associated with conventional lighting control systems. In addition, a lighting control system employing visible light communication may transmit optical data using the same light fixture used to provide illumination, e.g., in a room of a building. In the case that the light fixture comprises one or more LEDs, the LEDs can also be used as light detectors for receiving optically transmitted data. Finally, no dedicated wires are needed in a system that transmits optical data using visible light traveling through free space. This is especially important for installation of lighting control systems in existing buildings. These advantages, and possibly others, enable the visible light communication protocol to be implemented within a lighting control system for very little cost.
[0007] A limitation of the visible light communication protocol, and specifically, a protocol that transmits optical data using visible light traveling through free space, is that it is typically limited in communication range and generally restricted to line of sight. In other words, optical data transmitted through free space typically cannot be communicated around corners or through walls between various rooms in a building, or between light fixtures and other devices that are too far away and outside of the optical communication range of the remote control device.
Therefore, a need exists for a system and method that can extend the communication range in a visible light communication system.
SUMMARY OF THE INVENTION
[0008] A system, remote control device and method are provided herein for communicating with and controlling various devices using visible light communication (VLC). According to one embodiment, the system and method described herein may use a smart phone, or other device, as a remote control device to communicate with and control various other devices using optically modulated data transmitted through free space using visible light.
[0009] As used herein, the term "visible light" refers to a portion of the electromagnetic spectrum that is visible to (can be detected by) the human eye, and typically includes
wavelengths from about 390 to about 700 nm. Electromagnetic radiation in this range of wavelengths is called visible light or simply light. In the system described herein, only visible light sources are used to transmit optical data.
[0010] As used herein, the term "free space" refers to communication within space, but not confined to, for example, an optical fiber. Thus, transfer of data 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.
[0011] As used herein, the term "smart phone" refers to any mobile phone that uses RF transceivers to communicate bi-directionally according to well-known cellular protocols. In addition to RF transceivers, a "smart phone" as used herein may generally include a memory for storing one or more software applications (typically referred to as smart phone applications or "apps"), a processor for executing the one or more software applications and a display screen for displaying a graphical user interface associated with the software applications. The display screen may be a touch screen display comprising a backlight for illuminating the touch screen display and a touch sensitive surface for receiving user input. In some cases, the smart phone may also include a camera and a camera flash.
[0012] In some embodiments, a smart phone configured for visible light communication may use the camera flash as a light source and optical transmitter, and the camera image sensor as an optical receiver. However, the remote control device described herein is not limited to a smart phone, and the light source does not have to be a flash. In alternative embodiments, a laptop computer, a desktop computer, a hand-held device, or a wall-mounted unit could operate as a VLC remote control device, for example, by modulating the backlight of a display screen (or other light source) for the purpose of transmitting optical data to one or more controlled devices.
[0013] In some embodiments, the remote control device and the controlled devices may each include one or more light emitting diodes (LEDs). LEDs are desirable as they can be alternately configured to receive light and to emit light. In addition, LEDs may be configured for transmitting optical data by modulating the drive current supplied to an LED to produce light modulated with data.
[0014] In one exemplary application, the remote control device described herein may be used to communicate with light fixtures and lighting systems for controlling such lights, and to enable the lighting system to provide a communication channel between the remote control device and various remotely controlled devices. Although described here in the context of a lighting control system, the system, remote control device and method provided herein are not limited to such and may be configured for controlling a wide variety of controlled devices. For example, the devices being controlled may be a light fixture, a thermostat, a security system component, a tv, a ceiling fan, a home appliance or other type of remotely controlled electronic device.
[0015] According to one embodiment, a remote control device (e.g., a smart phone) may transmit data to a controlled device by modulating the light produced by the LED flash of a camera included within the remote control device. The device being controlled (e.g., a light fixture, a thermostat or other type of remotely controlled device) may configure its LED as a photo-detector to receive the data sent optically through free space by the LED flash on the remote control device. Depending on the message, the controlled device can respond by driving it's LED with high current modulated with data to produce light modulated with data. The remote control device may then detect this light and the data being modulated using an image sensor in the camera, for example.
[0016] In order to receive optically transmitted data from the remote control device, the LED(s) of the controlled device(s) may be periodically and momentarily turned off to measure incoming light from the remote control device. This may be done at a relatively high rate (e.g., 360Hz) that can't be seen by the human eye, and is preferably higher than the modulation rate of the light produced by the camera flash when transmitting data. In some embodiments, the LED lights of the controlled devices may be synchronized to a common source (e.g., an AC mains), and thus to each other, so that they all turn off at the same time, and consequently do not interfere with data communication between each other, the remote control device, or any other remotely controlled
devices. The times when the LEDs are not producing light are referred to herein as communication gaps.
[0017] According to one embodiment, a controlled device can measure the incoming light level during each communication gap, preferably using the same LEDs used for emission, and produce a stream of data proportional to the incoming light level. From such data streams, the controlled device may identify light level changes, which correspond to modulated data transitions.
Circuitry in the controlled device may decode the data to determine the message being sent by the remote control device. Depending on the message, each controlled device can respond to the remote control device by modulating the brightness and/or color of the light being produced by its LED. Image processing software stored within and executed by the remote control device may then be used to determine the location of each controlled device and the data being communicated.
[0018] After transmitting a message using the LED camera flash, the remote control device may turn on the camera's image sensor and record a video for an amount of time anticipated for a response from the device or devices being controlled. Software within the remote control device may then analyze the video to determine the location of the device or devices responding with light and the data being communicated. For example, the software may detect optically transmitted data by scanning one or more frames of video data for the brightness and potentially color of the light emitted from the LED of a controlled device. By analyzing successive video frames, the software can determine when the brightness and/or color of the light produced by a particular controlled device changes, which indicates transitions in the modulated data being communicated from the controlled device to the remote control device. In order to ensure accurate detection, the transitions in the modulated data should occur at a rate slower than the frame rate of the camera.
[0019] Although an LED or photodiode could be used for such purpose, the remote control device described herein preferably uses a camera to receive light emitted from the controlled devices. This is because cameras have two-dimensional image sensors, which typically have millions of pixels that can be used to detect light of different wavelengths that fall within the camera's field of view. By utilizing an image sensor, instead of a discrete LED or photodiode, the image processing software within the remote control device can identify the location of many light sources within the camera's field of view, and track the changes in brightness and/or color
over time. This enables the remote control device to receive data or messages from many controlled devices simultaneously.
[0020] The method described so far enables a remote control device to broadcast messages to all controlled devices located within a given communication range, and for all such devices within the field of view of the camera to communicate back to the remote control device. As set forth in more detail below, the system and method described herein also enables a remote control device to communicate bi-directionally with an individually addressed device.
[0021] According to one embodiment, a system and method is provided herein for establishing a bi-directional communication link between a remote control device and a selected one of the controlled devices. In some cases, the remote control device may initiate communication by broadcasting a message to all controlled devices located within a communication range of the remote control device, wherein such broadcast message includes a request to respond with a random number or unique pre-programmed ID. The application software on the remote control device can then produce an image on the display screen showing all of the devices detected within the camera's field of view, and identifying each device that responded to the broadcast message. The user of the remote control device can then touch one of the devices displayed in the image to select that device for subsequent communication. A bi-directional communication link between the remote control device and the selected device is thereafter established by using the random number or unique ID of the selected device as an address in subsequent
communication messages.
[0022] As an example, suppose there are 100 lights (controlled devices) in the high ceiling of an auditorium. The user may position the camera of the remote control device to take a picture of the 100 lights, or some portion thereof, and push a button provided by the graphical user interface (GUI) on the touch screen of the remote control device. The remote control device may then modulate light from the camera flash, for example, to send a broadcast message to all lights that can receive the message requesting those lights to respond with a random number or unique ID. The remote control device may then start recording a video. All lights that received the broadcast message may respond with the random number or unique ID by modulating each light's output brightness (or color) with data. The application software within the remote control device may then analyze the video, identify the location (set of pixels) of each light within each video frame, determine the brightness (and/or color) of each light as a function of time, and
determine the data being sent from each light from changes in the brightness (and/or color) of each light over time.
[0023] From the data that the remote control device decodes from each light, the application software can make sure that all random numbers or IDs received are unique, and can display one frame of the video on the touch screen display designating each light with a unique number and a circle, for instance. In some cases, the graphical user interface may allow the user to zoom in on a region of the light to be adjusted, and select that light with a double touch, for instance. A menu could then pop up that provides buttons, sliders, etc. that enable the user to configure or monitor various parameters, functions, etc of the selected light. Such parameters could be color, brightness, etc, or things like diagnostics, power consumption, or status could be read. For example, the camera on the remote control device could be used to measure the color point of the light, and to provide feedback to the light to adjust the output color to a particular color point or correlated color temperature (CCT).
[0024] Once the user selects something from the graphical user interface by selecting a touch screen button, for instance, a message may be sent to the selected light using the random number or unique ID in the address field of the message transmitted by the camera flash. All lights within range will receive the message, however, only the selected light with that random number or ID will respond. As such, bi-directional communication with individual devices can be achieved.
[0025] According to another embodiment, a system and method is provided herein for increasing the optical power and extending the communication range of optical data transmitted in a visible light communication system. This embodiment uses the controlled devices themselves (e.g., the multitude of lights in an auditorium) to amplify the optical power of the messages transmitted by the remote control device, or messages transmitted between controlled devices, in order to extend the communication range of the visible light communication system.
[0026] As used herein, a "communication range" refers to an optical communication range, and specifically, a range of distances within which a receiving device can receive optical data transmitted from a sending device through free space using visible light. The communication range extends from the sending device up to a maximum distance at which a receiving device can receive optical data from the sending device. A receiving device located beyond the
maximum distance is said to be located outside of the communication range of the sending device.
[0027] In a visible light communication system, the maximum distance may be generally determined by the brightness and directionality of the visible light emitted by the sending device, as well as the light detection sensitivity of the receiving device. In some cases, however, the maximum distance may be affected by obstacles in the communication path (such as walls or other optically dense structures in a room), or deviations from a straight line communication path (such as when light is to be transmitted around corners). The embodiment described herein increases the communication range of a visible light communication system by using one or more of the controlled devices to retransmit the communication messages received by the controlled devices. Controlled devices may receive communication messages from the remote control device, and/or retransmitted communication messages from other controlled devices. In addition to amplifying the optical power of the communication messages transmitted by the remote control device, the retransmission of communication messages may enable controlled devices outside of the communication range of the remote control device to receive retransmitted messages from controlled devices located within range of the remote control device.
[0028] In some cases, the communication range of the visible light communication system may be extended by using one or more controlled devices to amplify a sequence of communication messages transmitted by a remote control device. In general, the remote control device may be configured to send two (or more) communication messages sequentially with a fixed timing between each message. In one example, a first communication message and a second
communication may be sent by the remote control device, wherein the second communication message is substantially identical to the first communication message.
[0029] The first message could be broadcast to all controlled devices within range of the remote control device, group cast to a set of controlled devices, or uni-cast to an individual controlled device. The first message may include a plurality of data fields, one of which contains information that the first message should be amplified or repeated by the controlled devices that receive the first message. The controlled devices that properly receive the first message may adjust their bit timing to that of the received first message, and retransmit the first message in synchronization with a second message being sent from the remote control device. Since the second message is substantially identical to the first message, retransmitting the first message in
synchronization with the second message effectively increases the optical power of the second message sent by the remote control device. By utilizing the optical power of the controlled devices to amplify the second message sent by the remote control device, the optical power and communication range of the second message can be orders of magnitude larger than simply relying on the optical power of the remote control device alone.
[0030] In other cases, the communication range may be extended by using one or more controlled devices to retransmit a communication message sent from the remote control device, wherein the communication message is retransmitted by the controlled devices a specified number (N) of times. As in the previous case, the communication message may include a plurality of data fields, one of which contains information that the communication message should be retransmitted by the controlled devices that receive the communication message. In this example, the communication message may contain a repeat field that specifies a number (N) of times the communication message should be retransmitted by the controlled devices. In general, the number 'N' may be substantially any number greater than or equal to 1. Controlled devices that receive the communication message from the remote control device decrement the number (e.g., N-l) in the repeat field of the received message, and retransmit the communication message with the decremented number in the repeat field of the retransmitted message.
[0031] In this case, the remote control device may be configured for sending only one communication message (i.e., a first communication message) to nearby controlled devices within range of the remote control device. After decrementing the number (N) in the repeat field of the received message, the nearby controlled devices may retransmit the communication message to controlled devices outside of the communication range of the remote control device. In this manner, the communication range may be extended by using the controlled devices to relay messages to other devices.
[0032] Unlike the previous case, the controlled devices do not synchronize retransmissions to the bit timing of the received first message. Instead, the controlled devices may be synchronized to a common timing reference, and thus, may communicate in synchronization with each other. By synchronizing the timing of the controlled devices to a common timing reference, the controlled devices are able to receive and retransmit communication messages to other controlled devices in synchronization with each other.
[0033] In one embodiment, the controlled devices may be coupled to a common power source, such as the AC mains of a building, and may be synchronized to a common timing reference generated from the AC power source. For example, the controlled devices may each comprise a phase-locked loop (PLL) configured to generate the common timing reference by locking onto an AC signal provided by the AC power source.
[0034] Regardless of how the retransmitted messages are synchronized, the retransmit command may be used to communicate with a device to be controlled when that device is very far away, but within line of sight of the remote control device. In this case, the light source (e.g., the camera flash) on the remote control device may not have sufficient optical power to send messages to a distant controlled device. In order to reach the distant controlled device, the remote control device may send one or more communication messages comprising retransmit commands to nearby controlled devices, possibly at the user's discretion. The nearby controlled devices receive the first communication message, and retransmit the first communication message to other controlled devices. In some cases, the first communication message may be retransmitted in synchronization with a second message transmitted from the remote control device to amplify the total transmitted optical power of the second message. In other cases, the first communication message may be retransmitted in synchronization with a common timing reference generated within the controlled devices. By retransmitting or relaying communication messages in such a manner, the distant controlled device may be able to receive the
communication message and respond accordingly.
[0035] In some cases, a retransmit command may only be necessary when transmitting messages from the remote control device to a controlled device, which is far away but located within the field of view of the camera. This is because a camera is much more sensitive to incoming light than a simple LED connected to an amplifier. For example, a camera has a lens that focuses light onto an image sensor having millions of detectors, while a simple LED measures the total light power coming in from all directions. Therefore, if the LED of the controlled device falls within the field of view of the camera, communication from the controlled device to the camera can occur over relatively long distances.
[0036] The retransmit commands described herein are not limited to messages sent from the remote control device to the controlled devices and can also be sent bi-directionally and between controlled devices, themselves. This further extends the control and communication range of the
system by enabling the remote control device to communicate with controlled devices that are not within the field of view or line of sight of the remote control device. For instance, a remote control device (or even a device with just an LED for transmitting and receiving light instead of a camera) could send a communication message containing a retransmit command to nearby devices, which would receive and retransmit the communication message in different directions. Not only would this increase the transmit optical power of the message, but a controlled device could receive a message from a controlling device located around a corner, for instance.
[0037] A controlled device that is not in the line of sight of a remote control device, or any controlling device with or without a camera, can also communicate back to the controlling device using the retransmit commands described herein. Thus, bi-directional communication is made possible between the controlling and the controlled devices by using the retransmit commands to relay communication messages around corners.
[0038] In some cases, the retransmit commands can be used to retransmit messages many times. For instance, a sending device (e.g., either a remote control device, a controlled device, or any device that can communicate using visible light) could specify that a communication message be retransmitted any number of times by including the number in a repeat field of the communication message. Upon receiving the communication message, a controlled device may decrement the number specified in the repeat field of the received message, and retransmit the communication message with the decremented number in the repeat field of the retransmitted message. Controlled devices that receive the retransmitted message will retransmit the received message in accordance with the decremented number in the repeat field.
[0039] As an example, a sending device could specify that the communication message be retransmitted twice by storing a corresponding bit value in the repeat field of a communication message. Nearby controlled devices within range of the sending device will receive the communication message and retransmit the communication message twice, each time with the bit value in the repeat field decremented accordingly. Controlled devices that are outside the range of the sending device, but within range of the nearby controlled devices, will receive the first retransmitted communication message and transmit the final communication message in synchronization with the controlled devices within range of the sending device. Any number of retransmissions is possible, which can provide virtually unlimited communication range.
[0040] According to another embodiment, a system and method is provided herein for using a preamble and a CRC checksum in messages sent by a remote control device or other device using light to minimize the probability of such devices responding to incorrect data. For example, the preamble may include a unique sequence that does not exist within the rest of the message. Only after the unique pattern is detected, does a receiver begin decoding a message. A CRC checksum calculated at the receiving device is compared to the CRC checksum generated at the transmitting device and sent with the message. Only if both checksums match does a receiving device accept a message.
[0041] In addition to providing error protection, the CRC checksum enables a device manufacturer to provide remote control device applications that can communicate only with that manufacturer's devices. By programming a unique manufacturer ID into each controlled device and using such ID as a seed for the CRC checksum, only messages sent by applications that use the same ID as the CRC checksum seed will be accepted.
[0042] Of course, the remote control device described herein is not necessarily limited to communicating with devices provided by only one manufacturer. In some embodiments, the controlled devices can perform two CRC checks on all received messages using two different seed values. One seed value can be manufacturer specific, while the second seed can be common to all manufacturers. In this way, applications can be written to control only a specific manufacturer's devices, or all devices from all manufacturers.
[0043] According to one embodiment, a memory medium is provided herein containing program instructions, which are executable on a processor of a remote control device for communicating with and controlling one or more controlled devices. In some cases, the program instructions may comprise first program instructions, second program instructions and third program instructions. The first program instructions may be executable for providing a user interface on a display screen of the remote control device. In general, the user interface may be configured to receive user input for controlling the one or more controlled devices, and in some cases, may be a graphical user interface (GUI). The second program instructions may be executable for generating a communication message based on the user input received by the user interface. As described herein, the generated communication message may include a plurality of data fields. In some cases, the plurality of data fields includes a repeat field that specifies a number of times the communication message should be retransmitted by controlled devices that
receive the optically modulated data. The third program instructions may be executable for modulating a visible light source of the remote control device with data contained within the plurality of data fields to produce optically modulated data, which is transmitted from the remote control device through free space to the one or more controlled devices.
[0044] In some cases, the program instructions may further comprise fourth program instructions, which are executable for configuring a light detector of the remote control device to receive optically modulated data transmitted from the one or more controlled devices. Like the optically modulated data transmitted from the remote control device, the optically modulated data transmitted from the one or more controlled devices may be transmitted through free space using visible light.
[0045] In some cases, the fourth program instructions may configure an image sensor of the remote control device to capture a sequence of images of the controlled devices, and the program instructions may further comprise fifth, sixth, seventh and eighth program instructions. The fifth program instructions may be executable for analyzing the sequence of images to determine a location of the controlled devices, and to determine the optically modulated data sent from the one or more controlled devices by detecting a change in light output from the controlled devices over time. The sixth program instructions may be executable for displaying one of the images of the controlled devices on the display screen of the remote control device. The seventh program instructions may be executable for enabling a user to select a particular controlled device by touching a portion of the display screen corresponding to the location of the particular controlled device in the displayed image. The eighth program instructions may be executable for generating and directing subsequent communication messages to only the particular controlled device. Additional and/or alternative program instructions may also be included.
[0046] The visible light communication systems, methods and memory mediums described herein provide fundamental advantages that are practically impossible with RF wireless communication protocols. Since the wavelength of RF electromagnetic radiation is orders of magnitude longer than visible light, discrimination between multiple light sources transmitting simultaneously is not possible. With visible light communication, the remote control device, or any device with a camera, can receive light from thousands of sources simultaneously. Further, since RF communication (e.g., Bluetooth) involves frequency and phase modulation of transmitter carrier frequencies, which are generated locally and out of synchronization with other
devices, the concept of message amplification is not possible since multiple devices transmitting simultaneously will interfere with each other, instead of amplifying each other. As such, the visible light communication systems and methods described herein have significant practical advantages over today's state of the art communication and control systems.
BRIEF DESCRIPTION OF THE DRAWINGS
[0047] 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.
[0048] FIG. 1 is an exemplary illustration of a remote control system in which a remote control device communicates with a plurality of controlled devices using visible light, according to one embodiment.
[0049] FIG. 2 is an exemplary illustration of a remote control device (e.g., a smart phone) displaying icons for remote control applications.
[0050] FIG. 3 is an exemplary illustration of a remote control device (e.g., a smart phone) displaying a remote controlled lighting application.
[0051] FIG. 4 is an exemplary illustration of a remote control device (e.g., a smart phone) displaying a remote controlled HVAC application.
[0052] FIG. 5 is an exemplary block diagram of a remote control device (e.g., a smart phone), according to one embodiment.
[0053] FIG. 6 is an exemplary block diagram of a controlled device, according to one embodiment.
[0054] FIG. 7 is an exemplary timing diagram of communication between a remote control device (e.g., a smart phone) and a plurality of controlled devices.
[0055] FIG. 8 is an exemplary diagram of a message structure for a communication sent from a remote control device and a response sent from a controlled device.
[0056] FIG. 9 is a timing diagram of an exemplary message encoding scheme.
[0057] FIG. 10 is a timing diagram of an exemplary message preamble.
[0058] FIG. 11 is an exemplary block diagram of a CRC encoder and decoder.
[0059] FIG. 12 is an exemplary circuit diagram to generate CRC codes.
[0060] FIG. 13 is an exemplary timing diagram for a controlled device receiving a remote control message.
[0061] FIG. 14 is an exemplary timing diagram for a controlled device transmitting data.
[0062] FIG. 15 is an alternative exemplary timing diagram for a controlled device transmitting data.
[0063] FIG. 16 is an exemplary timing diagram for a remote control device (e.g., a smart phone) receiving data using the camera.
[0064] 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
[0065] Smart phones with touch screen displays and cameras with LED flash are becoming commonplace, and typically include radio frequency (RF) transceivers for communicating bi- directionally, using the RF spectrum, according to cellular phone protocols for long-range communication and Bluetooth protocols for short-range communication. Smart phones are not used to control lighting fixtures in conventional infrared-based lighting control systems, because they do not contain the infrared transceivers necessary for interfacing with these systems.
[0066] Recently, smart phones have been used to in lighting control systems to communicate with lighting fixtures, or with specialized appliances attached to the fixtures, using radio frequency signals transmitted, e.g., from a Bluetooth radio. However, these lighting control systems require the controlled devices (i.e., the lighting fixtures or the specialized appliances) to also include relatively expensive and limited-range Bluetooth radios. A need remains for a smart phone, or other similar device, that can be used as a remote control device for communicating with and controlling devices that do not include Bluetooth radios (or other RF receivers). In addition to lighting control systems, it is contemplated that such a remote control device may be used for controlling a wide variety of controlled devices using visible light.
[0067] Smart phone devices typically have substantial processing power and run software applications that can be downloaded off the Internet and executed on the smart phone for many
different purposes. Some of these applications are used to control the smart phone camera flash for functions unrelated to the camera, such as providing strobe lighting or a flashlight feature. While useful for seeing in the dark, these applications cannot be used to transmit optical data from the smart phone.
[0068] The remote control device described herein utilizes various software applications that function to control a light source (e.g., a camera flash or display screen backlight) of a smart phone, or other device, for the purpose of sending and/or receiving optical data to/from a variety of controlled devices using visible light. Different software applications can be used to control different devices. The software applications described herein can be downloaded (e.g., from the Internet) or otherwise stored onto a memory medium of the remote control device, and generally consist of program instructions that may be executed by a processor of the remote control device to effectuate visible light communication between the remote control device and one or more controlled devices.
[0069] Turning now to the drawings, FIG. 1 depicts one example of a remote control system 10 that uses the flash and camera of a smart phone 11 to control light fixture 12 and other devices using visible light. In the particular embodiment depicted in FIG. 1, remote control system 10 comprises smart phone 11, light fixture (or lamp) 12, and thermostat 13 in room 15. Thermostat 13 connects to the HVAC system 14 though wire 20.
[0070] In the exemplary embodiment of FIG. 1, smart phone 11 modulates the light 16 produced by the flash to transmit optical data through free space to lamp 12 and thermostat 13. Lamp 12 and thermostat 13 can respond to messages from smart phone 1 1 through modulated light 18 and 19, respectively. Modulated light 18 and 19 is recorded and decoded by smart phone 11 using its camera in this example. Lamp 12 can also repeat messages that are communicated through modulated light 17 to extend the communication range of messages sent from smart phone 11 to other devices, which may be too far away or out of the line of sight of smart phone 11, such as thermostat 13 or additional lamps or devices (not shown).
[0071] FIG.l is just one example of many possible remote control systems 10. For instance, smart phone 11 can control substantially any type of controlled device having a light sensor, and optionally, a light emitter. Examples of possible controlled devices include, but are not limited to, security systems, ceiling fans, televisions, home appliances, and a wide variety of other types of electronic devices. It is also noted that the remote control device does not have to be a smart
phone, and the light source on the remote control device does not have to be a flash. In general, the remote control device described herein may be substantially any type of electronic device having at least a camera and a light source. As an example, a laptop computer, a desktop computer, a hand-held unit or a wall-mounted unit could operate as a remote control device, for example, by modulating the backlight of a display screen (or other light source) for the purpose of transmitting optical data to a lamp or other type of remotely controlled device.
[0072] The remote control system 10 is not limited to the embodiment specifically illustrated in FIG. 1. For example, smart phone 11 could simply control one or more lamps 12 in remote control system 10, and may not communicate at all with thermostat 13. In the example of FIG. 1, lamp 12 repeats messages from smart phone 11 once (via modulated light 17) to extend the optical range of smart phone 11. However, any number of lamps (or other type of controlled device with a light emitter) can retransmit messages any number of times to provide virtually unlimited communication range. Such lamps or devices can retransmit in synchronization with each other, and optionally with smart phone 11, to amplify the optical signal communicated through free space using visible light. When communicating in synchronization, the optical signal grows in intensity with each repetition as additional devices join the retransmission.
[0073] Although visible light communication is preferred, smart phone 11 could also communicate using WiFi, Bluetooth, or any other communication protocol with a controlled device comprising such communication protocol interface and a light emitter, such as an LED. In this embodiment, a controlled device may convert WiFi messages, for example, to optically modulated signals, which are transmitted to and detected by other controlled devices in the system 10.
[0074] FIG. 2 is an exemplary illustration of smart phone 11 with a touch screen display showing graphical user interface icons, for example, corresponding to three different remote control applications 21, 22, and 23. In this example, applications 21, 22, and 23 can be provided by the smart phone manufacturer, or downloaded by smart phone 1 1 via the Internet and appear as icons on the display. As known in the art, a user may touch one of the icons shown on the display screen to open a corresponding application and invoke the program instructions associated therewith. In the exemplary embodiments shown in FIGS. 1-4, applications 21 and 22 respectively control the lamp(s) 12 and thermostat 13 in remote control system 10. It is noted, however, that applications 21, 22, and 23 are merely illustrations depicting essentially any type
and any number of applications that may be used by a smart phone (or other type of electronic device) for controlling any type and any number of controlled devices.
[0075] FIG. 3 is an exemplary illustration of smart phone 11 displaying one embodiment of a remotely controlled lighting application 21, which comprises sliders or buttons 30, 31, 32, 33, 34 and 35. In this example, group button 30 may be divided into many smaller buttons that enable different groups of lights to be controlled independently. Brightness slider 31 in this example can be adjusted to control the dimming level of a lamp 12, a group of lamps, or all lamps within communication range of the system 10.
[0076] Color button 32 could be a set of buttons, a slider, or even a two dimensional region to adjust the color of a lamp 12. A set of buttons could allow preset color points or Correlated Color Temperatures (CCTs) to be selected, such as 2700K, 3000K, 3500K, and 5000K. A slider could allow a user to adjust the CCT of lamp 12 anywhere within a certain range. A two dimensional region could enable a user to select any color within the gamut provided by lamp 12.
[0077] Ambient button 33 could also be a set of buttons or a slider, for instance, which could be used to adjust the relationship between brightness and ambient light level. In one example, ambient button or slider 33 could be used to adjust the ambient light above which lamp 12 would dim or turn off. The ambient light level could be a limit or threshold about which lamp 12 is fully on, and below which lamp 12 is fully off. On the other hand, lamp 12 could gradually adjust brightness as the ambient light level changes. Lamp 12 may implement hysteresis in the case that lamp 12 turns fully on and off with ambient light level.
[0078] Timer 34 could be a set of buttons, a slider, or even a link to a more extensive sub-menu to control when lamp 12 turns on and off. For example, timer 34 could enable a user to configure lamp 12 to turn on at a certain time of day and turn off at another time. As another example, timer 34 could enable a user to adjust the amount of time that lamp 12 stays on after being turned on. As such, timer 34 represents a wide range of functionality associated with any timers in lamp 12.
[0079] Send button 35 can initiate the message transmission from smart phone 11 to adjust any of the properties or functions provided by buttons 31 , 32, 33 and 34. For example, a user could first push a button within group 30 to select a particular group of lamps, adjust the position of brightness slider 31, and finally touch the send 35 button to adjust the brightness of the lamps
within the selected group. However, send button 35 illustrates just one way to initiate the transmission of a message from smart phone 11 to lamp 12. As another example, any time a button or slider is adjusted a message can be sent to a controlled device (such as lamp 12). As another example, a message can be sent to a controlled device in response to a voice
communication or any other type of input to smart phone 11. In another example, a software program running on the smart phone, or on another device connected to the smart phone, may automatically send messages to one or more of the controlled devices based on sensor output (e.g., ambient light detection), scheduling, or some other factor. In general, any input can result in the smart phone 11, or other electronic devices, transmitting a message optically to lamp 12 or device 13, for instance.
[0080] The functionality illustrated in FIG. 3 provides an example of common functions that lighting application 21 might control through the execution of program instructions stored within a memory of the smart phone 11. Many other functions and user interfaces are possible with different sliders, buttons, and other means to control and monitor a lighting system. Other functions could include color calibration in which the camera in smart phone 11 is used to determine the color point of the light produced by a lamp 12. Smart phone 11 could then provide feedback to lamp 12 to adjust the color to a desired point. Likewise, other sensors and interfaces on smart phone 11 could be used to monitor other aspects of the light output from a lamp 12 and provide feedback.
[0081] FIG. 4 is an exemplary illustration of smart phone 11 displaying one embodiment of a remotely controlled thermostat application 22, which comprises graphical user interface fields 40, 41, 42, and 43. Time versus temperature field 40 could comprises buttons, sliders, or a link to a sub-menu, or could comprise a two dimensional mapping of time of day versus temperature that can be adjusted by a user via touch. Status field 41 could be a region of the display that reports HVAC status (such as heating, cooling, or fan) and current temperature for instance. Temperature field 42 could comprise a slider that enables a user to adjust the temperature continually over a range of temperatures. Send button 43 could operate the same or differently from the Send 35 button shown in FIG. 3.
[0082] FIG. 3 and FIG. 4 are illustrations of possible software applications that may be used for controlling lights and thermostats using visible light communication from a smart phone or other remote control device. However, a wide variety of application programs and user
interfaces are possible. Additionally, applications for controlling a wide variety of controlled devices are also possible. Although visible light communication is the preferred communication method, some applications may communicate using WiFi or any other protocol to a controlled device that accepts such protocol, but produces messages using modulated light.
[0083] FIG. 5 is an example block diagram of a smart phone 11 that uses visible light communication to control lamp 12 and thermostat 13. Smart phone 11 comprises touch screen display 55 for displaying a graphical user interface associated with software applications 21 and 22, for instance, and for optionally displaying images of devices to be controlled or monitored. The software applications 21 and 22 may be downloaded (e.g., from the Internet) or otherwise stored within a memory medium of smart phone 11, such as memory 54 depicted in FIG. 5. The software applications 21 and 22 may be invoked, e.g., when a user touches an icon (not shown) displayed on the touch screen display 55. Once invoked, the software applications 21 and 22 may be executed on a processor of smart phone 11, such as processor 58.
[0084] In addition to running applications 21 and 22, processor 58 receives user input through the touch screen display 55 and passes data to be transmitted to the camera flash controller 59. In some cases, the data sent from processor 58 to camera flash controller 59 may include a communication message, which is to be transmitted optically via controller 59 and LED 60 to one or more controlled devices. In general, the communication message may include a plurality of data fields as shown, e.g., in FIG. 8 and described in more detail below. In some cases, the communication message may include a repeat field specifying the number of times the communication message should be repeated or retransmitted by a controlled device that receives the communication message. Upon receiving the communication message, the camera flash controller 59 transmits optically modulated data by turning LED 60 on and off in response to the data sent from processor 58. In some cases, the optically modulated data may be produced in accordance with a well-known encoding scheme, such as the bi-phase encoding scheme shown in FIG. 9.
[0085] In the example shown in FIG. 5, modulated light 16 from LED 60 is transmitted to lamp 12 and thermostat 13. Lamp 12 and thermostat 13 respond with modulated light 18 and 19, respectively. Camera 50, which comprises lens 51 and image sensor 52, measures the light produced by lamp 12 and thermostat 13 as a function of time. Optional image processor 53 can compensate for non-idealities, among other things, and store a video recording of lamp 12 and/or
thermostat 13 in memory 54. Processor 53 or processor 58 can analyze the video recording to determine the location of light sources on the controlled devices, which can include lamp 12 and/or thermostat 13, and can analyze the change in light output over time to determine the data being sent from such devices. After analyzing the video recording, processor 53 or 58 can report the response to the touch screen display 55, pass the data to another program running on another computer, or store the data in memory 54, for example.
[0086] Since smart phone 11 uses camera 50 to receive data, the smart phone 11 can receive data from many controlled devices at the same time. In some cases, smart phone 11 can display a still image from the video recording that identifies the location of the controlled devices (e.g., lamp 12 and thermostat 13) from which smart phone 11 received valid responses. A user can then touch an image 56 of lamp 12 or an image 57 of thermostat 57 to select that device for further communication.
[0087] FIG. 5 is just one block diagram depicting exemplary components and functionality that may be provided by smart phone 11. Smart phone 11 may be configured differently in alternative embodiments. For instance, smart phone 11 could transmit optical data by modulating the light from the backlight of the display screen (instead of the flash 60), or could use an optional ambient light sensor to receive optical data (instead of the camera image sensor 52). Camera 50 could comprise different internal components, such as the optional image processor 53. Processor 58 and memory 54 could reside in the same integrated circuit or different ones. Smart phone 11 could communicate with many lamps or groups of lamps instead of just lamp 12. Smart phone 11 could also communicate with many different types of controlled devices instead of just lamp 12 and thermostat 13. In general, smart phone 11 may communicate simultaneously with substantially any number and any type of device within the field of view of camera 50.
[0088] Smart phone 11 could also communicate, for example, using WiFi or another communication protocol to a controlled device having the same protocol interface and an optical emitter. The controlled device could convert received WiFi messages to optical messages, and smart phone 11 could use camera 50 to receive responses optically from the controlled devices.
[0089] FIG. 6 is one example of a block diagram for lamp 12, which is connected to AC mains 61 and comprises power supply 62, timing 63, VLC network controller 64, physical layer interface (PLI) 65, LEDs 66, and memory 67. Power supply 62 converts the AC power from AC
mains 61 to DC power, which provides current to the LEDs 66 and voltage to the remaining circuitry in lamp 12. Timing 63 typically comprises a phase locked loop (PLL) that locks to the AC signal provided by AC mains 61 and provides timing information to visible light
communication (VLC) network controller 64 and physical layer interface (PLI) 65. The timing information provided by timing 63 can be used to synchronize all lamps 12 and other devices in the system 10, and in some cases, may also be used to time power supply 62 to minimize noise coupling into PLI 65.
[0090] PLI 65 typically comprises an LED driver circuit that produces substantially DC current to produce illumination from LEDs 66 and modulated current to transmit optical data from LEDs 66. The AC and DC currents provided by the LED driver circuit can be combined in many different ways to produce illumination and transmit data using the same light source. For example, periodic time slots can be produced in synchronization with the AC mains 61 during which the DC current is turned off and the AC current is turned on to transmit optical data within the periodic time slots, or communication gaps.
[0091] PLI 65 also typically comprises a receiver circuit that detects current induced in LEDs 66 when the LEDs 66 receive optical data transmitted using visible light through free space. The receiver circuit included within PLI 65 converts the photo-current induced in LEDs 66 to voltage, which is then compared to a reference voltage to determine a sequence of ones and zeros sent by the transmitting device.
[0092] VLC network controller 64 interfaces with PLI 65 and memory 67 to receive optical data transmitted from a transmitting device using visible light through free space, to implement the functionality of lamp 12, and in some cases, to re-transmit the received optical data during communication gap times. The optical data received by LEDs 66 can be interpreted by VLC network controller 64, stored in memory 67 and/or further processed. For instance, the brightness or color of LEDs 66 can be adjusted by adjusting the substantially DC current applied to LEDs 66 using the LED driver circuit included within PLI 65. Optical data intended for other or additional electronic devices (such as thermostat 13) can be stored in memory 67 and retransmitted by PLI 65 and LEDs 66 in various ways.
[0093] The block diagram illustrated in FIG. 6 is just one example of many possible lamps 12, which are configured to receive optical data communicated through free space and re-transmit the received optical data to other electronic devices using visible light. In some embodiments,
the configuration of lamp 12 may be substantially different from the example shown in FIG. 6. For instance, lamp 12 could be DC or solar powered, and thus, may not be connected to AC mains 61. Although LEDs 66 are preferred, since they can be used as both a light source and light detector, any type of light source may be included within lamp 12 including, but not limited to, fluorescent tubes, compact fluorescent lights, incandescent light, etc. If an alternative light source is used, lamp 12 may comprise an additional light detector, such as a silicon photo-diode, for receiving the optically transmitted data.
[0094] FIG. 7 illustrates an exemplary timing diagram for the visible light communication illustrated in FIG. 1 between smart phone 11, lamp 12, and thermostat device 13. In the exemplary timing diagram of FIG. 7, smart phone 11 transmits a communication message 16 to lamp 12 through free space using visible light. The communication message 16 may be temporarily stored, e.g., within memory 67 of lamp 12 (as shown in FIG. 6). In the case that the thermostat 13 is too far away or out of the line of sight of smart phone 1 1, lamp 12 may retransmit communication message 16 once (as communication message 17) to extend the range of communication between smart phone 11 and thermostat 13. Lamp 12 and thermostat 13 transmit responses 18 and 19, respectively, which may be saved in smart phone 11 as video recording 70.
[0095] As shown in FIG. 7, smart phone 11 may send communication message 16 twice, with the second time being in synchronization with the same communication message 17 being sent from lamp 12. Upon receiving the first communication message 16 from the smart phone 11, the lamp 12 may adjust its bit timing to that of the first received message 16, and retransmit the message (as communication message 17) in synchronization with the second communication message 16 being transmitted by the smart phone.
[0096] As described in more detail below, communication messages 16 and 17 may each comprise a repeat field (81, FIG. 8) that specifies the number of times the message is to be repeated. In the example of FIG. 7, the content of the repeat field is Ί ' during the first transmission of communication message 16 from smart phone 11. In this example, lamp 12 receives message 16 the first time it is transmitted, however, thermostat 13 is out of
communication range and does not receive the message 16 transmitted from smart phone 11. Both smart phone 11 and lamp 12 decrement the repeat field and retransmit the communication message 16/17. In the example of FIG. 7, message 16 and message 17 are the same, with the
exception that message 16 is transmitted by smart phone 11 and message 17 is transmitted by lamp 12. Since message 17 and message 16 are the same, and since they are transmitted in synchronization, the optical power is increased and the range of the optical signal is extended. This enables thermostat 13 to receive the second transmission of the message 17 even though the thermostat 13 may be out of communication range of smart phone 11.
[0097] In addition to a repeat field, communication messages 16 and 17 may further comprise an address field (82, FIG. 8) that can specify broadcast, group cast, or uni-cast messages.
Broadcast messages target all devices, group cast messages target groups of devices, and uni-cast message target individual devices within signal range. In the example of FIG. 7, communication messages 16 and 17 are broadcast to all devices, to which both lamp 12 and thermostat 13 respond with responses 18 and 19, respectively. Smart phone 11 records a video 70 of the responses 18 and 19 from lamp 12 and thermostat 13, and decodes the data from the modulated optical power detected by the pixels of image sensor 52. In some cases, smart phone 11 can display an image from video recording 70 to enable a user to select a particular device for subsequent communication, for example, by touching display 55 in the region of the particular device in the image (see, e.g., FIG. 5).
[0098] As set forth below, communication messages 16 and 17 may further comprise a communication field (83, FIG. 8) that specifies the action to be taken by an addressed device or devices. One command, which is typically broadcast or group cast, instructs all targeted devices to respond with a random number. When this communication is transmitted, smart phone 11 records the responses within the field of view of camera 50 and recovers the random number transmitted from each device. A user of smart phone 11 can then select a particular device from the image displayed on touch screen display 55 for subsequent communication, which may use the random number as the address (82, FIG. 8) for uni-cast communication with the selected device. Such a mechanism is useful, among other things, for setting an individual or group address for each lamp or device when commissioning a new lighting system, for instance.
[0099] FIG. 7 represents just one of many possible timing diagrams for visible light communication between smart phone 11, lamp 12 and thermostat 13. In some cases, smart phone 11 may send communication message 16 only once, instead of the two times shown in FIG. 7. In this case, the devices being controlled by smart phone 11 (e.g., lamps 12 and possibly thermostat 13) may be synchronized to something other than the bit timing of the first
communication message 16. In one embodiment, the controlled devices may be coupled to a common power source, such as the AC mains of a building, and may be synchronized to a common timing reference generated from the AC power source. In such an embodiment, the controlled devices may include a phase-locked loop (PLL) for generating the common timing reference by locking onto the AC signal provided by the AC power source. By synchronizing the timing of the controlled devices to a common timing reference, the controlled devices are able to receive and retransmit communication messages to other controlled devices in synchronization with each other. This eliminates any need for the controlled devices to be synchronized to remote control device.
[0100] Alternative remote control systems 10 having possibly many different types and/or numbers of controlled devices may operate in accordance with substantially different communication timing diagrams. For instance, communication messages may not be repeated at all, or may be repeated many times. In some cases, communication messages may target individual devices in which only one controlled device may produce a response. In some cases, no responses may be provided. In other cases, responses from controlled devices may be repeated by other controlled devices to extend the communication range of responses sent from the controlled devices back to the smart phone 11. Further, smart phone 11 , or any other type of device that initiates optical communication, may not have or make use of a camera 50, and consequently, may not record video 70.
[0101] FIG. 8 illustrates an exemplary remote control message structure for message 16 and 17 and responses 18 and 19. In the illustrated embodiment, communication messages 16 and 17 comprise preamble field 80, repeat field 81, address field 82, command field 83, data field 84, and CRC checksum 85. In the example of FIG. 8, the preamble field 80 comprises bits 0 through 3, the repeat field 81 comprises bits 4 through 7, the address field 82 comprises bits 8 through 15, the command field 83 comprises bits 16 through 23, the data field 84 comprises bits 24 through 31, and the CRC checksum 85 comprises bits 32 through 39.
[0102] The preamble field 80 identifies the start of communication message 16/17 or response 18/19 and comprises a unique data sequence or pattern that does not exist within the rest of message or response. For instance, preamble 80 may include a coding violation (e.g., as used in bi-phase coding) or a control symbol (as used, e.g., in 4b5b or 8bl0b coding). Receiving devices, such as lamp 12 and thermostat 13, identify the start of a message 16/17 when the
unique pattern in preamble 80 is detected. In some embodiments, receiving devices may also synchronize their internal timing to the bit timing of preamble 80, which enables devices without accurate timing references (e.g., PLLs) to communicate effectively.
[0103] The repeat field 81 instructs a receiving device to retransmit a received communication message 16 by specifying the number of times the message 16 is to be repeated by the receiving devices. In the example of FIG. 8, the repeat field 81 comprises four bits, which enables message 16 to be repeated up to 15 times. In some applications, all controlled devices that receive message 16 with a non-zero repeat field may decrement the value in the repeat field and retransmit message 16 in synchronization with other devices including smart phone 11. In some applications, all devices except smart phone 11 may repeat messages 16. In some applications, only some types of devices may repeat messages. The mechanism for repeating and amplifying the optical power of messages is available and can be used in many different ways.
[0104] The address field 82 specifies the controlled device or devices targeted by the communication message 16. In some cases, address field 82 may include one particular code, for instance OxFF, to indicate a broadcast message to be transmitted to all devices. In other cases, address field 82 may include a range of codes that identify a group of devices to target. For instance, the four most significant bits (8 through 11) being high can indicate a group cast message with the four least significant bits (12 through 15) indicating one of sixteen different groups of devices. In this example, all remaining codes could identify uni-cast messages to individual devices. Further, a certain range of uni-cast codes could be allocated for random number addressing as described previously, with another range of uni-cast codes allocated for pre-programmed addresses.
[0105] The command field 83 specifies the action to be taken by the target device or devices. Such commands and associated actions can be different for different types of devices. For instance, lamp 12 may interpret the command field 83 to perform the functions shown in application 21, while thermostat 13 may interpret the command field 83 to perform the functions shown in application 22. Some codes within the command field 83 can be reserved for system 10 management and interpreted the same by all devices. For instance, the code to respond with a random number that can be used for subsequent addressing could be the same for all devices independent of function. Other system management codes may be included to support a variety of functions.
[0106] The data field 84 may contain information associated with each command field 83 code. For instance, the code to adjust the brightness of a lamp may include a data code value within data field 84 to indicate what the brightness should be. As another example, the code to adjust the color temperature of a lamp may include a data code value within data field 84 to indicate the desired CCT. Some command field 83 codes may have no data field 84 code associated therewith. For instance, the code to turn off a lamp may not need any data information, and consequently, the data field 84 may not be included with such command codes.
[0107] The CRC checksum field 85 contains a code that is determined by the sequence of data bits between the preamble 80 and the CRC checksum field 85, and is typically used by a receiving device for error checking. CRC codes are well known in the industry and can be implemented with a variety of polynomials. Both transmitting and receiving devices generate the CRC code using the same polynomial and the same seed value. A transmitting device sends the CRC code in the CRC checksum field 85 of a message. When the message is received, a receiving device generates it's own CRC code and compares the result to the code in the CRC checksum field 85 of the received message. If the codes match, the message was received properly. If the codes do not match, an error occurred and the message can be ignored.
[0108] In general, the seed value used to generate CRC codes can be substantially any value, provided that the same seed value is used in both the transmitting and receiving devices. To allow devices from different manufacturers to be independently addressed, different
manufacturers can program unique seed values into their devices, which in turn, can be stored within smart phone 11 for use in communications with those devices. The use of unique seed values enables the smart phone 11 applications to selectively communicate with only a specific manufacturer's devices, and to ignore messages that may be transmitted from a different manufacturer's device. For example, since the seed values are different for different
manufacturers, a CRC code generated in a transmitting device from one manufacturer will not match the CRC code generated in a receiving device from another manufacturer. Consequently, all messages received by the receiving device from the transmitting device will produce errors and be ignored by the receiving device.
[0109] In order to allow some applications 21, 22, and 23 to communicate with all
manufacturer's devices, all devices used in the system 10, including those made by different manufacturers, can be configured to generate two different CRC codes using two different seed
values when receiving messages. One seed value can be manufacturer specific and the other seed value can be the same for all manufacturers. If either of the generated CRC codes matches the value in the CRC checksum field 85 in the received message, an error is not generated and the message is properly processed by the receiving device.
[0110] In some cases, the message structure of responses 18/19 may be similar to the message structure of communication messages 16/17. As shown in FIG. 8, for example, responses 18 and 19 may include a preamble field 80, a repeat field 81, a data field 84, and a CRC checksum field 85. Just as messages 16 and 17 can be repeated on transmission, so can responses 18 and 19. The repeat field 81 specifies the number of times a response is to be repeated. The data field 84 provides the device's response, or the information requested in the received message 16 and 17, to smart phone 11 for instance. For example, in response to a broadcast message 16 requesting such information, a device may include a random number or unique manufacturer ID within the data field 84 of response 18 or 19. As described above, the random number or unique manufacturer ID provided by the device within the data field 84 may be used for subsequent uni- cast messages between the smart phone 11 and the device. As noted above, the CRC checksum field 85 in the response 18 or 19 can be generated using any seed value, but typically would be generated using the seed value from the received message 16/17.
[0111] FIG. 8 illustrates one of many possible message structures for communication messages 16/17 and responses 18/19; however, other message and/or response formats may be used. For instance, the size and/or order of any of the fields shown in FIG. 8 can be different. Further, other fields can be added or some fields, such as the data field 84 may not be used. As such, FIG. 8 is just one exemplary message structure.
[0112] FIG. 9 illustrates an example coding scheme for communication messages and responses, which is a well-known bi-phase coding scheme operating at 60 Baud. The LED 60 of common smart phones, such as Apple's iPhone 4, can be modulated at a frequency up to 60 times per second. This 60Hz rate is indicated by clock 90 in FIG. 9. In order to transmit data bits 91 from smart phone 11, the data bits 91 are first bi-phase encoded at the 60Hz rate to produce bi-phase encoded bits 92. The bi-phase encoded data 92 transitions at the end of each data 91 bit period, and further transitions in the middle of a data 91 bit period when data 91 is high. As such, the data 91 bit rate in this example is 30 bits per second.
[0113] In the example of FIG. 9, LED 60 produces light when bi-phase encoded bits 92 are high (data 91 bit periods 1, 4, 5 and 7), and does not produce light when bi-phase encoded bits 92 are low (data 91 bit periods 2, 3, and 6). As such, the light produced by the LED flash 60 of smart phone 11 is modulated with bi-phase encoded data 92 at 60 baud, which produces a data 91 throughput of 30 bits per second.
[0114] Bi-phase coding is just one of many possible coding schemes that may be used for communicating communication messages 16/17 and responses 18/19. For example, a commonly known 4b5b and 8b 10b coding scheme could be used, instead of bi-phase coding, or data 91 could be communicated without any encoding. Further, LED 60 could be modulated faster or slower than 60Hz, which increases or decreases data 91 throughput. As such, FIG. 9 is just one example of a data communication protocol that may be used in the remote control visible light communication system 10.
[0115] FIG. 10 illustrates an example preamble 100 code that may be included within the preamble field 80 in communication messages 16/17 and responses 18/19. Clock 90 illustrates one exemplary rate at which LED 60 can be controlled. In this example FIG. 10, preamble 100 comprises emitted light for three clock 90 cycles, no light for one clock 90 cycle, light for one clock 90 cycle, and no light for three clock 90 cycles. Since bi-phase encoded data 91 transitions every two clock 90 cycles, preamble 100 contains two coding violations 101 that only occur in the preamble field 80 of messages 16/17 and responses 18/19. Preamble 100 comprises the longest light pulses, three clock 90 cycles, and the shortest light pulses, one clock 90 cycles, which enables a receiving node to properly synchronize to the timing of a transmitting device.
[0116] FIG. 10 illustrates just one of many possible preamble 100 data that may be included within the preamble field 80 of messages 16/17 and responses 18/19. For the bi-phase encoding example, many other preamble 100 data with or without coding violations are possible. In addition, the preamble 100 data can be shorter or longer than shown in FIG. 10. If messages are encoded using other encoding schemes, such as 4b5b or 8b 10b, preamble 100 can be
significantly different. In such coding schemes, preamble 100 can be a control symbol that is not used for encoding data 91.
[0117] FIG. 11 illustrates an example block diagram for CRC generation and checking in transmitting 110 and receiving 111 devices, respectively. In transmitting device 110, the data for
the repeat 81, address 82, communication 83, and data 84 fields resides in memory 112. This data is passed, along with preamble 116 and the CRC code generated by CRC generator 113, to multiplexer 114 for generating a communication message or response. The data is also serially applied to CRC generator 113 through input port 124. Seed value 115 provides the initial state of CRC generator 113, and can be substantially any value. In some cases, seed value 115 may include a manufacturer specific code used to provide communication only with that
manufacturer's devices, or a general code that provides communication with all manufacturers' devices. The resulting CRC code produced by CRC generator 113 is passed through output port 125 and inserted by multiplexer 114 at the end of the communication message or response. Although not shown in FIG. 11 for the sake of brevity, the output of multiplexer 114 is typically encoded before being used to modulate the light produced by LED 60 in smart phone 11 , for instance.
[0118] In receiving device 111, encoded data is recovered from the received light and applied to AND gates 117 and 118. Message 16 bits 4 through 31, which comprise the repeat 81, address 82, communication 83, and data 84 fields, pass through AND gate 117 to memory 121 and CRC generator 119. Message bits 32 through 39 pass through AND gate 118 to comparator 120. Seed value 115 is also applied to CRC generator 119, which produces a checksum that is compared by comparator 120 to the CRC code contained within the CRC field 85 of the received message. If the generated and received codes match, no error is detected and the received message is accepted. If the codes do not match, an error is detected and the message can be ignored.
[0119] To support both manufacturer specific seed 115 values and general seed 115 values, CRC generator 119 can produce two different checksums using both seed 115 values. If either resulting checksum from CRC generator 119 match the CRC code contained within the CRC field 85 of the received message, no error is detected and the message is accepted.
[0120] FIG. 11 is just one of many possible block diagrams for CRC generation and checking in transmitting 110 and receiving 111 devices. The functionality illustrated in the block diagrams can be performed in hardware, software or a combination of hardware and software, and can be implemented in many different ways. FIG. 11 is intended to be representative of basic functionality, and is not restricted to any particular componentry or configuration.
[0121] FIG. 12 is an exemplary diagram illustrating one embodiment of how the CRC generators 113/119 shown in FIG. 11 may be implemented. As shown in FIG. 12, the CRC generator may include a data input port 124 and a CRC code output port 125. In the example embodiment of FIG. 12, CRC generator 113/119 uses the polynomial XA8 + X + 1 to produce the resulting CRC code. In this example, exclusive OR gates 127, 128, and 129 produce the terms ΧΛ8, X, and 1 respectively, while data serially shifts through register bits 126. Seed value 115 provides the initial state for register bits 126, and is loaded into register bits 126 through inputs So through S7.
[0122] FIG. 12 illustrates just one of many possible block diagrams for implementing CRC generator 113/119. The functionality illustrated in the CRC generator block diagram can be implemented in hardware, software or a combination of hardware and software. FIG. 12 is intended to be representative of basic functionality, and is not restricted to any particular componentry or configuration.
[0123] FIG. 13 illustrates an exemplary timing diagram for a lamp 12 receiving a
communication message 16. In the example of FIG. 13, lamp 12 is connected to AC mains 61, the voltage of which is represented by 60Hz AC signal 90. Referring to FIGS. 6 and 13, the timing block 63 included within lamp 12 phase locks to the 60 Hz AC signal from AC mains 61 and produces repetitive communication gaps 133 in the light output 130 from lamp 12. In the exemplary timing diagram of FIG. 13, the communication gaps 133 occur at six times the AC mains 61 frequency, or approximately 360Hz. Between communication gaps 133, LEDs 66 can operate as light emitters. During communication gaps 133, however, no light is produced and LEDs 66 can operate as light detectors for receiving communication message(s) 16 via light in 131 and data in 132.
[0124] During communication gaps 133, for example, the light 131 into the lamp 12 is measured and passed to PLI 65 (FIG. 6), which filters successive light measurements and produces the data in 132 signal. In the illustrated example, prior light in 131 transitions are detected at the end of the next communication gap 133 at times 134 and 135. Although smart phone 11 may have a precise 60Hz reference clock and lamp 12 maybe be locked to the precise 60Hz reference clock of the AC mains 61, the phase of the two 60Hz reference clocks may be unknown. This is illustrated by the phase difference between light in 131 and data in 132.
[0125] FIG. 14 illustrates an exemplary timing diagram for a lamp 12 transmitting a message 17 relative to the AC mains timing signal 90. The data out signal 140 represents data bits of a message 17 to be transmitted by lamp 12. Light out 141 represents the light produced by lamp 12, which in this example is modulated by data out 140. Although FIG. 14 indicates that light out 141 from lamp 12 is turned completely on and off, the light out 141 from lamp 12 can be modulated between any two brightness levels, some of which may be observed as flicker and others that may not be.
[0126] The rate of data out 140 is illustrated in FIG. 14 to be 30 bits per second, or one bit for every two cycles of the 60Hz reference clock 90 of the AC mains 61, which can be readily detected by a camera 50 operating at a 60Hz frame rate. If camera 50 in smart phone 11 operates substantially faster than 60Hz, the rate of data out 140 can be even higher. Likewise, if lamp 12 is communicating with other lamps or devices with other optical detectors, the rate of data out 140 can also be higher. As such, FIG. 14 is an example of just one possible timing diagram for transmitting a message via lamp 12.
[0127] FIG. 15 illustrates an alternative method for transmitting messages 17 from a lamp 12 in which only the light 141 produced by lamp 12 during the communication gaps 133 is modulated by data out 140. In this example, other lamps 12 or devices locked to the AC signal of the AC mains 61 can detect such light modulation and properly receive the data out 140 signal.
[0128] FIG. 16 illustrates an example timing diagram of camera 50 and a pixel within image sensor 52 of a smart phone 11 receiving a response 18/19. In this example, the video clock 160 within camera 50 is operating at a 60Hz frame rate. The light into the pixel through the lens 51 from a lamp 12, for instance, varies as illustrated by light in 161. Light in 161 could be generated by a lamp 12 operating with the transmit timing diagram illustrated in the example of FIG. 14. In this example, the light in 161 bit rate is half the 60Hz frame rate and slightly out of phase with the video clock 160.
[0129] During video frames 164 and 166, light in 161 is high and low respectively for the entire frame. In this case, the pixel voltage integrates light in 161 over the entire 60Hz cycle and produces a maximum difference between light and dark. During frames 163 and 165, however, the light in 161 is on part of the 60Hz cycle and off part of the 60Hz cycle, which results in the pixel voltage, or image brightness, to be at some intermediate level. With such timing, image processing software in image processor 53 or processor 58 of smart phone 11 can detect the
modulation of light from a lamp 12 and properly receive a response 18/19. Additional image processing may also be used to compensate for motion of the camera 50 or transmitting devices.
[0130] FIG. 16 is an illustration of possible timing and functionality of camera 50 and smart phone 11 receiving optical signals from a lamp 12 or other types of devices. Pixel voltage 162 is intended to simply represent the relative brightness of pixels of within an image as a function of time. Pixel voltage 162 may or may not represent the actual signal in image sensor 52.
Likewise, the data rate of light in 161 may be faster or slower than the rate shown in FIG. 16. FIG. 16 is just one example.
[0131] 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.
Claims
1. A visible light communication system comprising:
a remote control device configured to transmit a first communication message through free space using visible light; and
a plurality of controlled devices, wherein a first one of the controlled devices is
configured to receive the first communication message and retransmit the first communication message through free space using visible light to a second one of the controlled devices.
2. The visible light communication system as recited in claim 1, wherein the first one of the controlled devices is located within a communication range of the remote control device and the second one of the controlled devices is located outside of the communication range of the remote control device.
3. The visible light communication system as recited in claim 1, wherein the remote control device is further configured to transmit a second communication message, and wherein the first and second communication messages are transmitted sequentially with a fixed timing between each communication message.
4. The visible light communication system as recited in claim 3, wherein the first one of the controlled devices is configured to retransmit the first communication message to the second one of the controlled devices in synchronization with the second communication message transmitted from the remote control device.
5. The visible light communication system as recited in claim 1, wherein the plurality of controlled devices is synchronized to a common timing reference, and wherein the first one of the controlled devices is configured to retransmit the first communication message to the second one of the controlled devices in synchronization with the common timing reference.
6. The visible light communication system as recited in claim 5, wherein each of the plurality of controlled devices is coupled to an AC power source, and wherein each of the plurality of controlled devices comprises a phase-locked loop (PLL) configured to generate the common timing reference by locking onto an AC signal provided by the AC power source.
7. The visible light communication system as recited in claim 1, wherein the first communication message comprises information indicating that the first communication message should be retransmitted.
8. The visible light communication system as recited in claim 1, wherein the first communication message comprises a repeat field that specifies a number of times the first communication message should be retransmitted.
9. The visible light communication system as recited in claim 8, wherein upon receiving the first communication message from the remote control device, the first one of the controlled devices is configured to decrement the number specified in the repeat field of the received message and retransmit the first communication message with the decremented number in the repeat field of the retransmitted message.
10. The visible light communication system as recited in claim 1, wherein the first communication message comprises a plurality of data fields, which includes one or more of: a repeat field that specifies a number of times the first communication message should be retransmitted;
a preamble field containing a unique data sequence that identifies the start of the first communication message;
an address field containing a code specifying one or more controlled devices targeted by the first communication message;
a command field containing a code specifying an action to be taken by the targeted
devices;
a data field containing a data value associated with the command field code; and a CRC checksum field containing a CRC code.
11. The visible light communication system as recited in claim 1 , wherein upon receiving the first communication message from the remote control device, the first one of the controlled devices is configured to generate a CRC code and compare the generated CRC code to a CRC code received in the first communication message, and wherein the first one of the controlled devices is configured to accept the first communication message only if the generated CRC code matches the received CRC code.
12. The visible light communication system as recited in claim 11, wherein the generated CRC code and the received CRC code are each generated using the same seed value, and wherein the seed value comprises a unique manufacturer identification code, which enables the remote control device to selectively communicate with a specific manufacturer's controlled devices.
13. The visible light communication system as recited in claim 11, wherein upon receiving the first communication message from the remote control device, the first one of the controlled devices is configured to generate two different CRC codes using two different seed values, wherein one of the seed values is manufacturer specific and the other seed value is the same for all manufacturers, and wherein the first one of the controlled devices is configured to accept the first communication message if one of the generated CRC codes matches the received CRC code.
14. The visible light communication system as recited in claim 1, wherein the remote control device comprises a light source for producing visible light, and a controller for modulating the visible light with data to produce optically modulated data, which is transmitted through free space from the remote control device as the first communication message.
15. The visible light communication system as recited in claim 14, wherein the remote control device further comprises a light detector for receiving optically modulated data, which is transmitted through free space using visible light from one or more of the controlled devices.
16. The visible light communication system as recited in claim 15, wherein the light source and the light detector of the remote control device comprise one or more light emitting diodes (LEDs).
17. The visible light communication system as recited in claim 15, wherein the light source is selected from a group consisting of a camera flash and a display screen backlight, and wherein the light detector is selected from a group consisting of the light source, a camera image sensor and an ambient light sensor.
18. The visible light communication system as recited in claim 14, wherein the remote control device is selected from a group consisting of a smart phone, a laptop computer, a desktop computer, a hand-held device, and a wall-mounted unit.
19. The visible light communication system as recited in claim 1, wherein the plurality of controlled devices each comprise:
a light source configurable for both producing visible light and receiving optically
modulated data, which is transmitted through free space using visible light; and a controller for modulating the visible light with data to produce optically modulated data, which is transmitted through free space from the controlled devices as retransmitted communication messages or as responses to received communication messages.
20. The visible light communication system as recited in claim 19, wherein the light source of the controlled devices comprises one or more light emitting diodes (LEDs).
21. The visible light communication system as recited in claim 19, wherein the plurality of controlled devices are selected from a group of devices consisting of light fixtures, thermostats, security system components, tvs, ceiling fans and home appliances.
22. A method for extending a communication range of a visible light communication system comprising a remote control device and a plurality of controlled devices, the method comprising: transmitting a communication message from the remote control device to a first
controlled device located within range of the remote control device, wherein the communication message is transmitted through free space using visible light; and extending the communication range of the visible light communication system to a
second controlled device, which is located outside of the range of the remote control device, by using the first controlled device to retransmit the communication message through free space using visible light to the second controlled device.
23. The method as recited in claim 22, wherein the step of transmitting a communication message comprises transmitting a first communication message and a second communication message from the remote control device, wherein the first and second communication messages are transmitted sequentially with a fixed timing between each communication message.
24. The method as recited in claim 23, wherein the step of extending the communication range comprises configuring the first controlled device to retransmit the first communication message to the second controlled device in synchronization with the second communication message transmitted from the remote control device.
25. The method as recited in claim 22, wherein the step of extending the communication range comprises configuring the first controlled device to retransmit the first communication message N number of times, wherein N is greater than or equal to 1, and configuring the second controlled device to retransmit the first communication message N-l number of times.
26. The method as recited in claim 22, wherein prior to the step of transmitting a
communication message, the method further comprises generating the communication message so as to include a plurality of data fields, wherein one of the data fields is a repeat field specifying a number of times the communication message is to be retransmitted by the first controlled device.
27. The method as recited in claim 26, wherein upon receiving the communication message from the remote control device, the first controlled device is configured to decrement the number specified in the repeat field of the received message and retransmit the communication message to the second controlled device with the decremented number in the repeat field of the retransmitted message.
28. A memory medium containing program instructions, which are executable on a processor of a remote control device, the program instructions comprising:
first program instructions for providing a user interface on a display screen of the remote control device, wherein the user interface is configured to receive user input for controlling one or more controlled devices;
second program instructions for generating a communication message based on the user input, wherein the generated communication message includes a plurality of data fields; and
third program instructions for modulating a visible light source of the remote control device with data contained within the plurality of data fields to produce optically modulated data, which is transmitted from the remote control device through free space to the one or more controlled devices.
29. The memory medium as recited in claim 28, wherein the plurality of data fields includes a repeat field that specifies a number of times the communication message should be
retransmitted by controlled devices that receive the optically modulated data.
30. The memory medium as recited in claim 28, further comprising fourth program instructions for configuring a light detector of the remote control device to receive optically modulated data from the one or more controlled devices, wherein the optically modulated data is transmitted from the one or more controlled devices through free space using visible light.
31. The memory medium as recited in claim 30, wherein the fourth program instructions configure an image sensor of the remote control device to capture a sequence of images of the controlled devices.
32. The memory medium as recited in claim 31 , further comprising fifth program instructions for analyzing the sequence of images to determine a location of the controlled devices and to determine the optically modulated data sent from the one or more controlled devices by detecting a change in light output from the controlled devices over time.
33. The memory medium as recited in claim 32, further comprising:
sixth program instructions for displaying one of the images of the controlled devices on the display screen of the remote control device;
seventh program instructions that enable a user to select a particular controlled device by touching a portion of the display screen corresponding to the location of the particular controlled device in the displayed image; and
eighth program instructions for generating and directing subsequent communication
messages to only the particular controlled device.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US201261601153P | 2012-02-21 | 2012-02-21 | |
US61/601,153 | 2012-02-21 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2013126585A1 true WO2013126585A1 (en) | 2013-08-29 |
Family
ID=47846168
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/US2013/027157 WO2013126585A1 (en) | 2012-02-21 | 2013-02-21 | System and method of extending the communication range in a visible light communication system |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2013126585A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9130906B1 (en) | 2014-05-23 | 2015-09-08 | The United States Of America As Represented By The Secretary Of The Navy | Method and apparatus for automated secure one-way data transmission |
US9813676B2 (en) | 2013-12-11 | 2017-11-07 | Qualcomm Incorporated | Use of mobile device with image sensor to retrieve information associated with light fixture |
EP3618580A1 (en) * | 2018-08-29 | 2020-03-04 | Tridonic GmbH & Co. KG | Transmission coding scheme for a lighting system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0196347A1 (en) * | 1985-04-02 | 1986-10-08 | International Business Machines Corporation | Infrared communication system |
US4809359A (en) * | 1986-12-24 | 1989-02-28 | Dockery Devan T | System for extending the effective operational range of an infrared remote control system |
GB2307577A (en) * | 1995-10-31 | 1997-05-28 | Anthony Michael David Marvin | Communication system |
US20050053378A1 (en) * | 2003-09-05 | 2005-03-10 | Speakercraft, Inc. | Interference resistant repeater systems including controller units |
US20110299854A1 (en) * | 2010-06-07 | 2011-12-08 | Greenwave Reality, Inc. | Light Bulb with IR Transmitter |
-
2013
- 2013-02-21 WO PCT/US2013/027157 patent/WO2013126585A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0196347A1 (en) * | 1985-04-02 | 1986-10-08 | International Business Machines Corporation | Infrared communication system |
US4809359A (en) * | 1986-12-24 | 1989-02-28 | Dockery Devan T | System for extending the effective operational range of an infrared remote control system |
GB2307577A (en) * | 1995-10-31 | 1997-05-28 | Anthony Michael David Marvin | Communication system |
US20050053378A1 (en) * | 2003-09-05 | 2005-03-10 | Speakercraft, Inc. | Interference resistant repeater systems including controller units |
US20110299854A1 (en) * | 2010-06-07 | 2011-12-08 | Greenwave Reality, Inc. | Light Bulb with IR Transmitter |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9813676B2 (en) | 2013-12-11 | 2017-11-07 | Qualcomm Incorporated | Use of mobile device with image sensor to retrieve information associated with light fixture |
US9130906B1 (en) | 2014-05-23 | 2015-09-08 | The United States Of America As Represented By The Secretary Of The Navy | Method and apparatus for automated secure one-way data transmission |
EP3618580A1 (en) * | 2018-08-29 | 2020-03-04 | Tridonic GmbH & Co. KG | Transmission coding scheme for a lighting system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11210934B2 (en) | Visible light communication system and method | |
US9386643B2 (en) | Visible light communications using a remote control | |
US9386668B2 (en) | Lighting control system | |
KR100910994B1 (en) | Mesh network of intelligent devices communicating via powerline and radio frequency | |
KR101594549B1 (en) | A system and method for controlling the access to a networked control system | |
JP3670393B2 (en) | IR repeater | |
US20110299854A1 (en) | Light Bulb with IR Transmitter | |
US20120001567A1 (en) | Lighting Control System | |
JP5615916B2 (en) | Push bit for semi-synchronized pointing | |
JP2013522998A (en) | Light source selection | |
TW201543958A (en) | Controlling system based on synchronizing with AC frequency and controlling method thereof | |
WO2013126585A1 (en) | System and method of extending the communication range in a visible light communication system | |
WO2016116988A1 (en) | Communications device, load control system, and load control device | |
KR102490485B1 (en) | Apparatus for visible light communication and method for the same | |
USRE49454E1 (en) | Lighting control system | |
WO2020030463A1 (en) | Method and controller for reducing the energy consumption of a lighting system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 13708981 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 13708981 Country of ref document: EP Kind code of ref document: A1 |