Load control system with visible light sensor
By using visible light sensors and control circuits in the load control system, accurate detection and automated control of space occupancy and vacancy conditions are achieved, which solves the problem of low sensor efficiency in the existing system and improves the accuracy and efficiency of load control.
Patent Information
- Application Number
- CN202210134611.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2016-12-09
- Filing Date
- 2017-12-11
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2037-12-11
AI Technical Summary
Input devices in existing load control systems are inefficient, especially glare sensors, daylight sensors, and color temperature sensors that have inaccuracies in accurately controlling loads. Occupancy/vacancy sensors are difficult to accurately detect user presence or movement, resulting in system information processing and load control. Low efficiency.
A visible light sensor is used to detect the occupancy and vacancy status of the space through image recording and processing. It is combined with a control circuit to automatically configure the sensor mode to improve detection accuracy, and dynamically adjusts in response to environmental changes to control lighting loads and other electrical loads.
It improves the accuracy and efficiency of the load control system, can more accurately detect light levels and user presence in the space, dynamically adjust lighting zones to optimize energy use, and enhances the automation and intelligence of the system.
Smart Images

Figure CN114501721B_ABST
Abstract
Description
[0001] This application is a divisional application of the Chinese invention patent application filed on December 11, 2017, with application number 201780084945.8 and invention name “Load control system with visible light sensor”.
[0002] CROSS-REFERENCE TO RELATED APPLICATIONS
[0003] This application claims priority to U.S. Provisional Patent Application No. 62 / 432,477, filed on December 9, 2016. Background Art
[0004] For example, various load control systems may be used to configure a user environment such as a residence or office building. A lighting control system may be used to control lighting loads that provide artificial light within a user environment. An electric window treatment control system may be used to control the natural light provided to a user environment. An HVAC system may be used to control the temperature within a user environment.
[0005] Each load control system may include various control devices, including input devices and load control devices. The load control device may receive digital messages, which may include load control instructions, for controlling an electrical load from one or more input devices. The load control device may directly control an electrical load. The input device may indirectly control an electrical load via a load control device.
[0006] Examples of load control devices may include lighting control devices (e.g., dimmer switches, electronic switches, ballasts, or light emitting diode (LED) drivers), electric window treatments, temperature control devices (e.g., thermostats), AC plug-in load control devices, and the like. Examples of input devices may include remote control devices, occupancy sensors, daylight sensors, glare sensors, color temperature sensors, temperature sensors, and the like. The remote control device may receive user input for performing load control. The occupancy sensor may include an infrared (IR) sensor for detecting occupancy / vacancy of a space based on the movement of a user. The daylight sensor may detect the level of daylight received within the space. The glare sensor may be positioned facing the exterior of the building (e.g., at a window or exterior of the building) to identify the position of the sun when the glare sensor is taken into account. The color temperature sensor determines the color temperature within the user environment based on the wavelength and / or frequency of the light. The temperature sensor may detect the current temperature of the space.
[0007] As described herein, the current load control system implements many input devices, including a plurality of different sensors. Using many input devices results in the load control system taking readings from a variety of different devices and controlling the load based on many different types of inputs.
[0008] Input devices in current load control systems may also be inefficient for performing their independent functions in the load control system. For example, current load control systems may receive input from a glare sensor indicating that glare is being received from the sun, but the load control system may attempt to reduce or eliminate the amount of glare within the user environment using a predictive algorithm that predicts the portion of the user environment that is affected by glare. Attempts to reduce or eliminate the amount of glare within the user environment using these predictive algorithms may be unreliable.
[0009] Daylight sensors and color temperature sensors in load control systems may also be ineffective at collecting accurate information for performing load control. Current use of daylight sensors and color temperature sensors relies on the accuracy of the sensor location to detect how light intensity affects the user environment. It may be desirable to have a more accurate method to determine how the actual intensity and color of light provided within a user environment affects the users within the environment.
[0010] Because occupancy / vacancy sensors typically use passive infrared (PIR) technology to sense the presence or absence of people within a user environment, occupancy / vacancy sensors may not detect room occupancy due to the lack of user movement. Occupancy / vacancy sensors use the thermal movement of people to sense the presence of people. Vacancy sensors determine vacancy within a user environment when there is no thermal movement of a person within a specified timeout period. Occupancy / vacancy sensors can detect the presence or absence of a user within a user environment, but the sensor may not provide accurate results. For example, an occupancy / vacancy sensor may detect other heat sources within the user environment and inaccurately determine that the heat source is emanating from a person. In addition, occupancy / vacancy sensors cannot identify people who are not moving or are making minimal movements within the user environment. Therefore, it may be necessary to determine occupancy / vacancy within the user environment in other ways.
[0011] Since complex load control systems typically include many different types of input devices for collecting information about the load control environment, processing and transmitting information in such systems can be inefficient. In addition, since the information collected by many input devices may be inaccurate, controlling the load based on such information may also be inaccurate. Summary of the invention
[0012] The present disclosure relates to load control systems for controlling the amount of power delivered to one or more electrical loads, and more particularly to load control systems having visible light sensors for detecting occupancy and / or vacancy conditions in a space.
[0013] As described herein, a sensor for sensing an environmental characteristic of a space includes a visible light sensing circuit configured to record an image of the space and a control circuit responsive to the visible light sensing circuit. The control circuit can be configured to detect at least one of an occupied condition and a vacant condition in the space responsive to the visible light sensing circuit, and to measure a light level in the space responsive to the visible light sensing circuit.
[0014] The visible light sensor may perform differently depending on the mode in which the visible light sensor is operating. For example, the visible light sensor may detect and / or adjust environmental characteristics within a space based on the mode in which the visible light sensor is operating. The visible light sensor may operate in a particular mode for a period of time, and / or the visible light sensor may switch from one mode to another mode after the same or different time periods. The modes in which the visible light sensor may operate may include a daylight glare sensor mode, a daylighting sensor mode, a color temperature sensor mode, an occupancy / vacancy sensor mode, and the like.
[0015] The control circuitry may be configured to detect a first environmental characteristic of the space by applying a first mask to focus on a first region of interest of the image, and to detect a second environmental characteristic of the space by applying a second mask to focus on a second region of interest of the image. The control circuitry may be configured to apply the first mask to focus on the first region of interest of the image to detect at least one of an occupied condition and a vacant condition in the space. The control circuitry may be configured to apply the second mask to focus on the second region of interest of the image to measure a light level in the space.
[0016] The control circuitry may be configured to, in response to the image, perform a plurality of sequential sensor events for sensing a plurality of environmental characteristics. Each sensor event may be characterized by one of the plurality of environmental characteristics to be detected during the sensor event and a corresponding mask. The control circuitry may be configured to perform one of the sensor events to detect the corresponding environmental characteristic by applying the corresponding mask to the image to focus on the region of interest, and to process the portion of the image in the region of interest using a predetermined algorithm for sensing the corresponding environmental characteristic.
[0017] The visible light sensor can record the image and process the image to determine the location of at least one object within the space. Based on the location of the at least one object within the space, the operation of the sensor can be automatically configured in response to environmental characteristics of the space identified in the image.
[0018] A digital mask may be automatically configured for identifying unmasked portions of an image to be processed to sense environmental characteristics of a space. Motion and / or objects may be detected in unmasked portions of a space. Different sensitivity levels may be configured to detect motion in unmasked portions of a space. Transparent objects may be masked to avoid detecting motion through the transparent objects.
[0019] The operation of the sensor may be configured during a configuration process, or dynamically configured during operation after the configuration process.The dynamic configuration may be responsive to movement of the position of the object within the space.
[0020] The sensor may be automatically configured to control the lighting load during operation using a sensor mode and at least one control parameter. The sensor mode may be at least one of a daylighting sensor mode, a daylight glare sensor mode, a color sensor mode, an occupancy / vacancy sensor mode, or an occupant counting mode. The at least one control parameter may be at least one of light sensitivity, light gain, or color temperature.
[0021] Automatic configuration of zones may be performed based on an image of a space. Lighting zones may be automatically created to control lighting devices in the lighting zones. Lighting zones may be functional lighting zones or decorative lighting zones. For example, a lighting zone may be a daylighting zone based on identification of lighting fixtures in an image relative to a window. A lighting zone may include decorative lighting fixtures identified within an image. A lighting zone may be identified based on the location of identified lighting fixtures and / or the location of an illuminated portion of a space.
[0022] The visible light sensor may define regions of interest within the space based on the recorded images, and detect environmental characteristics in each region of interest during operation. The visible light sensor may be configured by a user to perform load control based on the detected environmental characteristics of each region of interest. The recorded images of the space may be sent to a network device, where a user indication may be received indicating the regions of interest defined at the visible light sensor. A user indication may be received at the network device indicating a control strategy and control parameters for performing load control on the regions of interest.
[0023] The visible light sensor may automatically identify objects within the image, and the automatically identified objects may be indicated to the user on a display of the network device. Regions of interest may be suggested to the user after being automatically detected. Control strategies may also be suggested to the user to perform load control based on environmental characteristics in the region of interest. The region of interest may be stored in a configuration template to be copied and applied to other similar spaces to perform load control.
[0024] A user indication of a selected object type may be provided to the visible light sensor for automatic identification within the space. Objects may be automatically identified in an image by the visible light sensor and associated with the selected object type. Operation of the visible light sensor may be configured based on the identified object having the selected object type. The selected object type may be a room feature, a piece of furniture, a task surface, or another device in a load control system.
[0025] The object may be identified in the image by a predefined object identifier for identifying the object in the image. The predefined object identifier may be a mobile device for identifying the boundary of the object identified in the image. The object may be identified in the image after the mobile device is positioned over the object for a predefined period of time to identify the object within the space. The object may be identified in the image after the predefined object identifier traces the boundary of the object to identify the object within the space.
[0026] The illumination level in the space may be determined by an image recorded by a visible light sensor and used to control the illumination level. An image of the space may be retrieved and the illumination level may be calculated using image data of pixels in the image. When calculating the illumination level, a portion of the image that is above or below a predefined threshold may be excluded. The predefined threshold may be a predefined brightness threshold or a predefined darkness threshold. The predefined threshold may be based on the size and / or contrast of the excluded portion of the image. The excluded portion of the image may be a bright spot or a dark spot in the space that is not desired for use in determining the illumination level.
[0027] The excluded portion of the image may be removed by converting the image to a grayscale image and removing portions of the grayscale image that are above or below a predefined threshold. The removed portion of the image may be backfilled before calculating the illumination level. The excluded portion of the image may be backfilled with a representative color (e.g., an average color) of pixels adjacent to the excluded portion of the image.
[0028] A mask may be applied to the excluded portions of the image so that the excluded portions of the image are not focused when performing image analysis. The mask may be applied to focus on portions of a user's task surface or other area of interest that do not include bright spots or dark spots. The bright spots or dark spots may represent objects on the task surface or other area of interest that are not desired for determining illumination levels. The illumination levels may be sent to a system controller, which may control one or more load control devices in response to the illumination levels.
[0029] The illumination level of a portion of an image may be identified in the space by using a baseline image contribution. The baseline image contribution may be determined from an image that includes ambient light in the space. The excluded portion of the image may be identified as a baseline contribution and removed from the captured image to generate a second image that includes a difference after the baseline contribution is removed. The baseline contribution may capture the contribution of artificial light from at least one lighting load. The second image may be processed after the baseline contribution is removed to determine the illumination level in the space.
[0030] A baseline contribution may be determined from at least one nighttime image of the space when at least one lighting load is turned on. Baseline contributions of different lighting loads on a surface or other portion of the space may be detected by turning on each lighting load independently and evaluating the contribution of the lighting load to portions or sub-areas of the surface or other portions of the space. The nighttime image may be used to minimize the presence of daylight or other ambient light. The nighttime image may be subtracted from the captured image to remove the portion of the artificial light intensity contributed by at least one lighting load that was turned on in the captured image.
[0031] The lighting fixtures may be controlled by a visible light sensor to obtain a predefined light distribution across a surface of the space. An image of the space may be retrieved by the visible light sensor. An illumination level may be determined for a first sub-area and a second sub-area within the space. A first lighting fixture and a second lighting fixture that affect the illumination level of the first sub-area and the second sub-area may be determined. The first lighting fixture and the second lighting fixture may be determined to have a maximum influence on the illumination level of the first sub-area and the second sub-area, respectively.
[0032] The first lighting fixture and the second lighting fixture may be adjusted to achieve a first target light level in the first sub-area and a second target light level in the second sub-area. The lighting level of each sub-area may be limited by an upper lighting level so as not to allow the lighting level to exceed the upper limit and not to drop below the target light level.
[0033] During the configuration process, prior to operations for performing load control, a light contribution may be determined for each of a plurality of lighting fixtures that affect the lighting level of a sub-area of a task surface or other portion of a space. The target light level may be obtained from a predefined light distribution. The predefined light distribution may be a uniform light distribution, where the target light level is the same for each sub-area, or may be a gradient distribution where the target light levels are different. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 is a diagram of an example load control system with a visible light sensor.
[0035] Figure 2A-2G An example image of a room that may be recorded by a camera of a visible light sensor is shown.
[0036] Figure 3 is a block diagram of an example visible light sensor.
[0037] Figure 4A and 4B is a sequence diagram for controlling a load control device based on an image captured by a visible light sensor.
[0038] Figure 5 A flow chart illustrating an example sensor event process that may be performed by a visible light sensor is shown.
[0039] Figure 6 A flow chart of an example occupancy / vacancy detection process that may be performed by a visible light sensor is shown.
[0040] Figure 7 A flow chart of an example idle time process that may be performed by a visible light sensor is shown.
[0041] Figure 8 A flow chart of an example baseline configuration process for generating and storing a baseline image is shown.
[0042] Fig.9A A flow chart illustrating an example process for determining the impact of light emitted by a lighting fixture on a sub-region of a space.
[0043] Figure 9B-9E An example nighttime image of a room with a mask applied is shown.
[0044] Fig. 10A A flow chart illustrating an example process for measuring and controlling lighting levels over a task area or other area of interest is shown.
[0045] Figures 10B-10D Example images showing the subtraction and backfilling process.
[0046] Figures 10E-10G Example images of an example baseline process are shown.
[0047] Fig.11 A flow chart of another example process for measuring and controlling lighting levels over a task area or other area of interest is shown.
[0048] Fig. 12A and 12B A flow chart illustrating an example process for controlling lighting fixtures to provide a uniform predefined light distribution over a task area or other area of interest.
[0049] Fig.13 A flow chart of an example baseline configuration process that may be performed by a visible light sensor and / or a system controller is shown.
[0050] Fig.14 A flow chart of an example process for controlling correlated color temperature (CTT) values based on an image is shown.
[0051] Fig.15 A flow chart of an example glare detection and control process is shown.
[0052] Fig.16 A flow chart of another example glare detection and control process is shown.
[0053] Fig.17A flow chart illustrating an example configuration process that may be performed to configure a visible light sensor and / or a system controller to operate.
[0054] Fig.18 A flow chart illustrating another example configuration process that may be performed to configure a visible light sensor and / or a system controller to operate.
[0055] Fig.19 A flow chart is shown of an example configuration process that may be performed to automatically configure a visible light sensor and / or a system controller to operate.
[0056] Fig. 20 A flow chart illustrating an example region configuration process that may be performed to configure one or more regions within a space is shown.
[0057] Fig.21 is a block diagram illustrating an example network device.
[0058] Fig. 22 is a block diagram illustrating an example system controller.
[0059] Fig.23 is a block diagram illustrating an example control target device. DETAILED DESCRIPTION
[0060] Figure 1 1 is a simplified diagram of an example load control system 100 for controlling the amount of power delivered to one or more electrical loads from an alternating current (AC) power source (not shown). The load control system 100 may be installed in a room 102 of a building. The load control system 100 may include a plurality of control devices configured to communicate with each other via wireless signals, such as radio frequency (RF) signals 108. Alternatively or additionally, the load control system 100 may include a wired digital communication link coupled to one or more control devices to provide communication between the load control devices. The control devices of the load control system 100 may include a plurality of control source devices (e.g., input devices operable to send digital messages in response to user input, occupancy / vacancy conditions, changes in measured light intensity, etc.) and a plurality of control target devices (e.g., load control devices operable to receive digital messages and control corresponding electrical loads in response to the received digital messages). A single control device of the load control system 100 may operate as both a control source and a control target device.
[0061] The control source device may be configured to send the digital message directly to the control target device. In addition, the load control system 100 may include a system controller 110 (e.g., a central processing unit or a load controller) that is operable to transmit digital messages to and from control devices (e.g., control source devices and / or control target devices). For example, the system controller 110 may be configured to receive a digital message from a control source device and, in response to the digital message received from the control source device, send the digital message to the control target device. The control source and control target devices and the system controller 110 may be configured to use a communication system such as The RF signal 108 is sent and received using a proprietary RF protocol of the protocol. Alternatively, the RF signal 108 may be sent using a different RF protocol such as a standard protocol, for example, one of the WIFI, ZIGBEE, Z-WAVE, KNX-RF, ENOCEAN RADIO protocols, or a different proprietary protocol.
[0062] The load control system 100 may include one or more load control devices, such as lighting control devices (e.g., dimmer switches, LED drivers, ballasts, etc.) for controlling one or more lighting fixtures 172, 174, 176, 178. Each of the lighting fixtures 172, 174, 176, 178 may include a lighting load (e.g., a light emitting diode (LED) light source) and a corresponding lighting control device (e.g., an LED driver) for controlling the lighting load of the lighting fixture.
[0063] The lighting control device (e.g., LED drivers for lighting fixtures 172, 174, 176, 178) can be configured to wirelessly receive digital messages via RF signals 108 (e.g., from system controller 110) and control lighting load 122 in response to the received digital messages. Examples of lighting control devices operable to send and receive digital messages are described in more detail in commonly assigned U.S. Patent Application Publication No. 2009 / 0206983, published on August 20, 2009, entitled COMMUNICATION SYSTEM FOR A RADIO-FREQUENCY LOAD CONTROL SYSTEM, the entire disclosure of which is incorporated herein by reference.
[0064] A lighting control device (e.g., an LED driver for lighting fixtures 172, 174, 176, 178) can receive instructions for controlling the color temperature of a corresponding lighting load. Examples of LED drivers configured to control the color temperature of an LED light source are described in more detail in commonly assigned U.S. Patent Application Publication No. 2014 / 0312777, entitled SYSTEMS AND METHODSFOR CONTROLLING COLOR TEMPERATURE, published on October 23, 2014, the entire disclosure of which is incorporated herein by reference. The load control system 100 can further include other types of remotely located load control devices, such as electronic dimming ballasts for driving fluorescent lamps.
[0065] The load control system 100 may include a plug-in load control device 140 for controlling plug-in electrical loads, such as plug-in lighting loads (such as a floor lamp 142 or a table lamp) and / or appliances (such as a television or a computer monitor). For example, the floor lamp 142 may be plugged into the plug-in load control device 140. The plug-in load control device 140 may be plugged into a standard electrical outlet 144 and may thus be coupled in series between the AC power source and the plug-in lighting load. The plug-in load control device 140 may be configured to receive digital messages via the RF signal 108 (e.g., from the system controller 110) and to turn on and off or adjust the intensity of the floor lamp 142 in response to the received digital messages.
[0066] Alternatively or additionally, the load control system 100 may include a controllable receptacle for controlling a plug-in electrical load plugged into the receptacle. The load control system 100 may include one or more load control devices or appliances capable of receiving wireless signals 108 directly from the system controller 110, such as a speaker 146 (e.g., part of an audio / visual or intercom system) that can produce audible sounds, such as alarms, music, intercom functions, etc.
[0067] The load control system 100 may include one or more daylight control devices, such as motorized window treatments 150, such as motorized cellular blinds, for controlling the amount of daylight entering the room 102. Each motorized window treatment 150 may include a window treatment fabric 152 suspended from a head rail 154 in front of a corresponding window 104. Each motorized window treatment 150 may further include a motor drive unit (not shown) located inside the head rail 154 for raising and lowering the window treatment fabric 152 to control the amount of daylight entering the room 102. The motor drive unit of the motorized window treatment 150 may be configured to receive a digital message via an RF signal 108 (e.g., from the system controller 110) and adjust the position of the corresponding window treatment fabric 152 in response to the received digital message. The load control system 100 may include other types of daylight control devices, such as cellular blinds, draperies, Roman shades, blinds, Persian blinds, pleated blinds, tensioned roller blind systems, electrochromic or smart windows, and / or other suitable daylight control devices. Examples of battery-powered motorized window treatments are described in more detail in U.S. Patent No. 8,950,461, issued on February 10, 2015, entitled MOTORIZED WINDOWTREATMENT, and U.S. Patent Application Publication No. 2014 / 0305602, published on October 16, 2014, entitled INTEGRATED ACCESSIBLE BATTERY COMPARTMENT FOR MOTORIZED WINDOW TREATMENT, the entire disclosures of which are incorporated herein by reference.
[0068] The load control system 100 may include one or more temperature control devices, such as a thermostat 160 for controlling the room temperature in the room 102. The thermostat 160 may be coupled to a heating, ventilation, and air conditioning (HVAC) system 162 via a control link (e.g., an analog control link or a wired digital communication link). The thermostat 160 may be configured to wirelessly communicate digital messages with a controller of the HVAC system 162. The thermostat 160 may include a temperature sensor for measuring the room temperature of the room 102, and may control the HVAC system 162 to adjust the room temperature to a set point temperature. The load control system 100 may include one or more wireless temperature sensors (not shown) located in the room 102 for measuring the room temperature. The HVAC system 162 may be configured to turn on and off a compressor to cool the room 102, and turn on and off a heating source to heat the room in response to a control signal received from the thermostat 160. The HVAC system 162 may be configured to turn on and off a fan of the HVAC system in response to a control signal received from the thermostat 160. Thermostat 160 and / or HVAC system 162 may be configured to control one or more controllable dampers to control airflow in room 102. Thermostat 160 may be configured to receive digital messages via RF signal 108 (e.g., from system controller 110) and adjust heating, ventilation, and cooling in response to the received digital messages.
[0069] The load control system 100 may include one or more other types of load control devices, such as: a screw-in lamp including a dimmer circuit and an incandescent or halogen lamp; a screw-in lamp including a ballast and a compact fluorescent lamp; a screw-in lamp including an LED driver and an LED light source; an electrical switch, a controllable circuit breaker, or other switching device for turning an electrical appliance on and off; a controllable electrical outlet or a controllable power strip for controlling one or more plug-in loads; a motor control unit for controlling a motor load such as a ceiling fan or exhaust fan; a drive unit for controlling a projection screen; electric interior or exterior blinds; an air conditioner; a compressor; an electric baseboard heater controller; a variable air volume controller; a fresh air intake controller; a ventilation controller; a hydraulic valve for use with radiators and radiant heating systems; a humidity control unit; a humidifier; a dehumidifier; a water heater; a boiler controller; a pool pump; a refrigerator; a freezer; a television or computer monitor; a video camera; an audio system or amplifier; an elevator; a power supply; a generator; a charger, such as an electric vehicle charger; an alternative energy controller; and / or another load control device.
[0070] The load control system 100 may include one or more input devices, such as, for example, a remote control device 170 and / or a visible light sensor 180. The input device may be a fixed or movable input device. The system controller 110 may be configured to send one or more digital messages to a load control device (e.g., a lighting control device of a lighting fixture 172, 174, 176, 178, a plug-in load control device 140, a motorized window treatment 150, and / or a thermostat 160) in response to a digital message received from the remote control device 170 and / or the visible light sensor 180. The remote control device 170 and / or the visible light sensor 180 may be configured to send digital messages directly to the lighting control devices of the lighting fixtures 172, 174, 176, 178, the plug-in load control device 140, the motorized window treatment 150, and the temperature control device 160.
[0071] The remote control device 170 may be configured to send a digital message to the system controller 110 (e.g., directly to the system controller) via the RF signal 108 in response to actuation of one or more buttons of the remote control device 170. For example, the remote control device 170 may be battery powered. The load control system 100 may include other types of input devices, such as temperature sensors, humidity sensors, radiometers, cloudy sensors, shadow sensors, pressure sensors, smoke detectors, carbon monoxide detectors, air quality sensors, motion sensors, security sensors, proximity sensors, light sensors, partition sensors, keypads, multi-zone control units, slider control units, kinetic or solar powered remote controls, key fobs, cellular phones, smart phones, tablet computers, personal digital assistants, personal computers, laptop computers, clocks, audio-visual controllers, security devices, power monitoring devices (e.g., power meters, energy meters, utility submeters, utility rate meters, etc.), central control transmitters, residential sensors, commercial controllers, industrial controllers, and / or any combination thereof.
[0072] The system controller 110 can be coupled to a network, such as a wireless or wired local area network (LAN), for example, for accessing the Internet. The system controller 110 can be wirelessly connected to the network, for example, using Wi-Fi technology. The system controller 110 can be coupled to the network via a network communication bus (e.g., an Ethernet communication link). The system controller 110 can be configured to communicate with one or more network devices, such as a mobile device 190 such as a personal computing device and / or a wearable wireless device, via the network. The mobile device 190 can be located on an occupant 192, for example, can be attached to the occupant's body or clothing or can be held by the occupant. The mobile device 190 can be characterized by a unique identifier (e.g., a serial number or address stored in a memory) that uniquely identifies the mobile device 190 and, therefore, the occupant 192. Examples of personal computing devices can include smart phones (e.g., Smartphone, Smartphone or smartphones), laptops and / or tablet devices (e.g. Handheld computing devices). Examples of wearable wireless devices may include activity tracking devices such as equipment, Device and / or Sony devices), smart watches, smart clothing (e.g. Smart wear, etc.) and / or smart glasses (such as Google In addition, the system controller 110 may be configured to communicate with one or more other control systems (eg, a building management system, a security system, etc.) via a network.
[0073] The mobile device 190 may be configured to send digital messages to the system controller 110, for example, in one or more Internet Protocol packets. For example, the mobile device 190 may be configured to send digital messages to the system controller 110 over a LAN and / or via the Internet. The mobile device 190 may be configured to send digital messages to an external service (e.g., If This Then That The load control system 100 may include other types of network devices coupled to the network, such as a desktop personal computer, a television with Wi-Fi or wireless communication capabilities, or any other suitable Internet protocol-enabled device. An example of a load control system operable to communicate with a mobile and / or network device on a network is described in more detail in commonly assigned U.S. Patent Application Publication No. 2013 / 0030589, entitled LOAD CONTROL DEVICE HAVING INTERNET CONNECTIVITY, published on January 31, 2013, the entire disclosure of which is incorporated herein by reference.
[0074] The system controller 110 can be configured to determine the location of the mobile device 190 and / or the occupant 192. The system controller 110 can be configured to control (e.g., automatically control) load control devices (e.g., lighting control devices of the lighting fixtures 172, 174, 176, 178, the plug-in load control device 140, the motorized window treatment 150, and / or the temperature control device 160) in response to determining the location of the mobile device 190 and / or the occupant 192.
[0075] One or more control devices of the load control system 100 may send a beacon signal, for example using a The load control system 100 may further include at least one beacon transmitting device 194 for transmitting beacon signals. The mobile device 190 may be configured to receive the beacon signal when it is located near a control device that is currently transmitting the beacon signal. The beacon signal may include a unique identifier that identifies the location of the load control device that transmitted the beacon signal. Since the beacon signal may be transmitted using close range and / or low power technology, the unique identifier may indicate the approximate location of the mobile device 190. The mobile device 190 may be configured to transmit the unique identifier to the system controller 110, which may be configured to use the unique identifier (e.g., using data stored in a memory or retrieved via the Internet) to determine the location of the mobile device 190. Examples of load control systems for controlling one or more electrical loads in response to the location of a mobile device and / or occupant within a building are described in more detail in commonly assigned U.S. Patent Application Publication No. 2016 / 0056629, published on February 25, 2016, entitled LOAD CONTROL SYSTEM RESPONSIVE TO LOCATION OF AN OCCUPANT AND MOBILED EVICES, the entire disclosure of which is incorporated herein by reference.
[0076] Visible light sensor 180 may include a camera that is directed into room 102 and may be configured to record images (e.g., still images and / or video) of room 102. For example, visible light sensor 180 may be mounted to the ceiling of room 102 and / or may be mounted to a wall of the room (e.g., Figure 1 102 ). Visible light sensor 180 may include a fisheye lens. If visible light sensor 180 is mounted to the ceiling, the image recorded by the camera may be a top view of room 102.
[0077] Figure 2A-2G 2 shows a simplified example image of a room 200 that may be recorded by a camera of a visible light sensor. Figure 2AAs shown, room 200 may include room features. Room features may include wall 210 with doorway 212 and window 214. Room 200 may include desk 220, on which computer monitor 222 and keyboard 224 may be located. Room 200 may also include chair 226, on which an occupant of room 200 may typically sit to use computer monitor 222 and keypad 224. This is provided for informational purposes only. Figure 2A-2G , and may not be the same as the actual image captured by visible light sensor 180. Since visible light sensor 180 may have a fisheye lens, the actual image captured by the camera may distort the image and may not be as Figure 2A-2G The actual two-dimensional image shown. In addition, Figure 2A-2G The example image of room 200 shown shows wall 210 having thickness, and the actual image captured by visible light sensor 180 may show the interior surfaces of room 102 .
[0078] Refer to Figure 1 , visible light sensor 180 may be configured to process the image recorded by the camera and, in response to the processed image, send one or more messages (e.g., digital messages) to the load control device. Visible light sensor 180 may be configured to detect one or more environmental characteristics of a space (e.g., room 102 and / or room 200) from the image. For example, control circuitry of visible light sensor 180 may be configured to evaluate the image and determine one or more environmental characteristics within a room (e.g., room 102) depicted in the image.
[0079] Environmental characteristics may include one or more details of the image, such as movement depicted in the image, lighting intensity (e.g., lighting intensity from sunlight 196 and / or artificial light), color temperature, occupancy and / or vacancy status, etc. The lighting intensity may include the percentage of light output by the lighting control device. As described herein, the lighting intensity may include the lighting intensity from sunlight 196, artificial light, the percentage of light output by the lighting control device, reflected light, brightness, and / or illuminance. Brightness may include the amount of light reflected from one or more surfaces and / or may indicate the optical power that may be sensed by the visible light sensor. Illuminance may include the amount of light falling on one or more surface areas and / or diffused on one or more surface areas. Brightness may be a measurable quantity. The visible light sensor 180 may determine illuminance based on (e.g., using a correction factor) the measured brightness. Brightness and illuminance may be related to the lighting intensity of the lighting fixture. For example, adjusting the lighting intensity of the lighting fixture may affect the amount (e.g., a measurable amount) of illuminance (e.g., the amount of light falling on one or more surface areas and / or diffused on one or more surface areas). As the amount of illuminance changes, the brightness may change.
[0080] The visible light sensor 180 may be configured to use one or more algorithms or image analysis techniques to determine environmental characteristics within a room. For example, the visible light sensor 180 may be configured to use background subtraction and / or background maintenance to determine environmental characteristics within a room. The visible light sensor 180 may use background subtraction to detect objects that change within an image. For example, background subtraction may be used to detect movement within an image and / or to detect occupancy / vacancy conditions within an image. Background maintenance may be used to perform background subtraction. Example algorithms that may be used to perform background maintenance may include adjacent frame difference algorithms, mean and threshold algorithms, mean and covariance algorithms, mixtures of Gaussian algorithms, normalized block correlation algorithms, and other algorithms. The visible light sensor 180 may also or alternatively provide images to the system controller 110 or another computing device for performing imaging analysis to determine environmental characteristics and / or control electrical loads / load control devices, as described herein.
[0081] The visible light sensor 180 may include communication circuits for sending and receiving RF and / or wired signals. For example, the visible light sensor 180 may include communication circuits for sending and receiving RF signals 108 and / or RF signals 109. The visible light sensor 180 may be configured to process one or more images recorded by the camera and send a digital message to the load control device and / or the system controller 110. The digital message may include a control instruction for controlling the electrical load at the corresponding load control device. The digital message may also or alternatively include an indication of the environmental characteristics identified in the image, and control instructions may be generated from these indications to control the electrical load at the load control device. The visible light sensor 180 may send the digital message to the load control device and / or the system controller periodically and / or based on another triggering event. The visible light sensor 180 may send the digital message to the load control device in response to the features of one or more images (e.g., in response to one or more environmental characteristics determined from the image), and send the digital message to the load control device. For example, visible light sensor 180 can be configured to use a camera to detect movement, lighting intensity (e.g., lighting intensity from sunlight 196 and / or artificial light), color temperature, and / or occupancy / vacancy conditions in room 102. Visible light sensor 180 can send a digital message to load control device and / or system controller 110 via RF signal 108 (e.g., using a proprietary protocol) in response to detecting movement, lighting intensity (e.g., lighting intensity from sunlight 196 and / or artificial light), color temperature, and / or occupancy / vacancy conditions.
[0082] The visible light sensor 180 may be operable to configure and / or control the load control system 100. The visible light sensor 180 may generate an image and identify and / or define objects in the image so as to be able to control devices in the load control system. The visible light sensor 180 may identify movement, light intensity, color temperature, occupancy / vacancy status from objects in the image. The load control system 100 may be configured according to the defined objects, movement, light intensity, color temperature, occupancy / vacancy status, and rules defined thereon.
[0083] The visible light sensor 180 can be configured to operate in one or more sensor modes (e.g., an occupancy and / or vacancy sensor mode, a daylighting sensor mode, a color sensor mode, a daylight glare detection sensor mode, an occupant counting sensor mode, etc.). The visible light sensor 180 can execute different algorithms to process the image in each sensor mode to determine the data to be sent to the load control device. The visible light sensor 180 can send a digital message via the RF signal 108 (e.g., using a proprietary protocol) in response to the image. The visible light sensor 180 can send the digital message (e.g., a control instruction) directly to the load control device and / or the system controller 110, which can then transmit the message to the load control device. The visible light sensor 180 may include a first communication circuit for sending and / or receiving the RF signal 108 using a proprietary protocol.
[0084] The user 192 may configure the visible light sensor 180 to perform an action within the room 102 according to the daylight glare sensor mode, the daylighting sensor mode, the color sensor mode, the occupancy / vacancy sensor mode, and / or the occupant counting sensor mode. The user 192 may configure the visible light sensor 180 to perform an action within one or more regions of interest within the room 102 according to the daylight glare sensor mode, the daylighting sensor mode, the color sensor mode, the occupancy / vacancy sensor mode, and / or the occupant counting sensor mode. For example, the user 192 may configure the visible light sensor 180 to set the total lighting intensity (e.g., artificial light and / or sunlight 196) to a preferred total illumination for a task area based on the user 192 entering the room 102, leaving the room 102, and / or residing in the room 102. The user 192 may additionally or alternatively configure the visible light sensor 180 to set the color temperature to a preferred color temperature based on the user 192 entering the room 102, leaving the room 102, and / or residing in the room 102. Visible light sensor 180 may apply one or more digital masks in different modes within room 102. Each sensor mode may have a different mask when visible light sensor 180 operates in the corresponding mode.
[0085] The visible light sensor 180 can be configured to perform multiple sensor events to detect various environmental characteristics of the space. For example, in order to perform sensor events, the visible light sensor 180 can be configured to operate in one or more sensor modes. Each sensor mode, when executed, can detect one or more sensor events. Sensor events can be detected using an algorithm that recognizes one or more environmental characteristics in an image. For example, in an occupied / vacant sensor mode, a sensor event can include a user entering the door of a room, movement detected within a predefined area of the room, or another occupied / vacant sensor event that can be detected by the environmental characteristics of the space. In addition, the visible light sensor 180 can be configured to obtain certain preconfigured control parameters (e.g., sensitivity, baseline value, threshold, limit value, etc.) from a memory, which can be used by the algorithm to detect environmental characteristics during a sensor event.
[0086] The visible light sensor 180 can be configured to focus on one or more regions of interest in an image recorded by the camera when processing the image to detect environmental characteristics during a sensor event. For example, certain areas of the image recorded by the camera can be masked (e.g., digitally masked) so that the visible light sensor 180 may not process portions of the image in the masked areas. When certain environmental characteristics of the sensor event are identified in the unmasked portion of the image, a control strategy can be triggered. The control strategy can be an algorithm for executing control (e.g., generating control instructions) of one or more load control devices based on the detected environmental characteristics.
[0087] The region of interest may be a region within the room 102 that is associated with an environmental characteristic within the room 102. For example, the region of interest may be a door 105 (e.g., or other room features), a user task area (e.g., desk 106, monitor 166, and / or keyboard 168), a user path from the door 105 to the user task area, etc. The visible light sensor 180 may be configured to determine one or more environmental characteristics present in the region of interest. For example, the visible light sensor 180 may be configured to determine the lighting intensity at the user task area. The visible light sensor 180 may determine the lighting intensity at the user task area, for example, to determine whether the lighting intensity present at the task area is a preferred lighting intensity. As another example, the visible light sensor 180 may be configured to determine the occupancy / vacancy status at the path from the door 105 to the user task area. The visible light sensor may be configured to determine the occupancy / vacancy status to adjust the control device (e.g., lighting fixtures 172, 174, 176, 178) based on whether the user 192 enters the room 102, leaves the room 102, or resides in the room 102.
[0088] Visible light sensor 180 may be configured to provide a mask (e.g., a digital mask) within room 102. Visible light sensor 180 may be configured to apply a mask (e.g., a predetermined digital mask that may be stored in memory) to focus on a particular region of interest and process the portion of the image in the region of interest. Additionally, visible light sensor 180 may be configured to simultaneously focus on multiple regions of interest in an image (e.g., Figure 2B-2G 105). For example, visible light sensor 180 may provide a mask over door 105 in room 102. In the event that door 105 is masked, visible light sensor 180 may ignore door 105 and / or movement at door 105. If a portion of room 102 is masked, visible light sensor 180 may focus on one or more areas of interest. For example, if door 105 is masked, visible light sensor 180 may focus on user task areas such as desk 106, monitor 166, and keyboard 168 (e.g., unmasked user areas). A specific mask may be defined for each sensor event.
[0089] Image processing (e.g., digital image processing) may be performed to digitally mask one or more portions of room 102. For example, image processing may digitally mask one or more portions of room 102 by selecting a group of pixels within an image where processing by visible light sensor 180 may or may not occur. Visible light sensor 180 may record an image of room 102 and digitally mask a portion of room 102 (e.g., door 105) by omitting one or more pixels of the image representing the portion of room 102 to be digitally masked.
[0090] The mask may be used to ignore portions of a space (e.g., room 102) that are less relevant or less relevant for a period of time to control the load control system 100. For example, the mask may be used to ignore portions of a room (e.g., door 105 within room 102 and / or interior windows in room 102) to prevent activity occurring outside of room 102 (e.g., walking and / or lighting in a hallway near room 102). Visible light sensor 180 may mask door 105 within room 102 and / or interior windows in room 102 by ignoring pixels of room 102 that depict objects and / or activity near door 105.
[0091] The mask may be used to ignore one or more objects within the room 102. For example, a mask may be used to ignore portions of the room other than the door 105 within the room 102. The door 105 may be monitored to identify an occupancy condition. For example, the visible light sensor 180 may be configured to monitor the occupancy condition by identifying a user entering and / or leaving the door 105 of the room 102. The visible light sensor 180 may control the load control system 100 based on the occupancy condition. When determining an occupancy / vacancy condition in the room 102, the visible light sensor 180 may not respond to movement and / or users in the masked area. The visible light sensor 180 may be configured to exclude movement within one or more portions of the room 102 from detection if the movement and / or users within a portion of the room 102 are not relevant to the load control system 100.
[0092] Visible light sensor 180 may be configured to dynamically change between sensor modes, apply digital masks to an image, and control parameters based on a current sensor event. For example, visible light sensor 180 may be configured to sequentially and / or periodically step through different sensor modes (e.g., occupancy / vacancy sensor mode, daylighting sensor mode, color sensor mode, daylight glare sensor mode, occupant counting mode, etc.) during operation. Each sensor event may be characterized by a sensor mode (e.g., specifying an algorithm to be used), one or more control parameters, and / or one or more digital masks. A sensor event may be detected during a sensor mode when an environmental characteristic is identified in an unmasked area of an image.
[0093] Visible light sensor 180 may be configured to cycle through different sensor modes during operation after a period of time has expired (e.g., via a cycling technique, such as giving each sensor mode in the sequence a predefined amount of time before returning to the first sensor mode of the sequence). Visible light sensor 180 may be configured to change its sensor mode based on current environmental characteristics identified from an image or changes in environmental characteristics identified from an image. For example, visible light sensor 180 may be configured to change its sensor mode based on user movement, light levels within room 102, daylight levels outside room 102, color temperature, daylight glare, etc. Visible light sensor 180 may be configured to change its sensor mode based on occupancy / vacancy conditions. For example, if room 102 is empty, visible light sensor 180 may operate in an occupancy / vacancy sensor mode, and other sensor modes may not be used during vacancy conditions. Sensor modes may be organized according to a set of priorities defined, for example, during configuration of visible light sensor 180.
[0094] The visible light sensor 180 may apply different masks to portions of the room 102. The different masks may be operated during different operating modes or associated with different objects for performing control. The different masks may be operated during the same sensor mode or associated with the same object for performing control. For example, the visible light sensor 180 may be configured to identify environmental characteristics of a first region of interest by applying a first mask to objects other than the first region of interest. The first mask may allow the visible light sensor, for example, to focus on the first region of interest and detect color intensity within the first region of interest. The visible light sensor 180 may be configured to ignore environmental characteristics of a second region of interest by applying a second mask to ignore objects other than the second region of interest. For example, the second mask may be associated with ignoring movement in regions other than the second region of interest. The visible light sensor 180 may be configured to apply a first mask to focus on a first region of interest in an image so as to detect at least one of movement, color temperature, occupancy / vacancy status, etc. in the first region of interest. The visible light sensor 180 may be configured to apply a second mask to ignore a second region of interest in an image to ignore lighting intensity, color temperature, occupancy / vacancy status, etc. in the second region of interest.
[0095] The first region of interest may be an area where the user performs tasks, such as a user's task area. For example, the first region of interest may include the user's desk 106, monitor 166, and / or keyboard 168. The second region of interest may be an area where the user performs tasks, or the second region of interest may be a control area that is unrelated to the user's performance of tasks. For example, the second region of interest may be a doorway 105, a window 104, and / or another location within a space where the control circuit will ignore movement, lighting intensity (e.g., lighting intensity from sunlight 196 and / or artificial light), color temperature, and / or occupancy / vacancy conditions. The visible light sensor 180 may be configured to apply a first mask to a first region of interest (e.g., the user's desk 106, monitor 166, and / or keyboard 168) and / or the visible light sensor 180 may be configured to apply a second mask to a second region of interest (e.g., doorway 108, window 104).
[0096] An object may be identified and / or defined using each of one or more regions of interest using an image of the region. Movement, light intensity, color temperature, and / or occupancy / vacancy status may be determined from the object identified and / or defined using the regions of interest. For example, a lighting intensity may be defined in a region of interest associated with a user's desk 106, which may be different from a lighting intensity that may be defined in a region of interest associated with a path from a door 105 to the user's desk. Portions of a region of interest may be defined as portions of one or more other regions of interest. For example, a keyboard 168 may be defined as a region of interest and / or a desk 106 may be defined as a separate region of interest, even though the keyboard 168 is located within the region of interest defined by the desk 106. Although a region of interest may be located within another region of interest, each region of interest may also be defined and / or controlled separately via a visible light sensor 180 (e.g., via control instructions and / or indications). For example, although the keyboard 168 is located within the region of interest defined by the desk 106, a load control device that provides lighting to the keyboard 168 may be defined and / or controlled independently of a load control device that provides lighting to the desk 106.
[0097] Visible light sensor 180 may be configured to focus on multiple areas of interest upon detecting an occupancy / vacancy condition within room 102. Visible light sensor 180 may be configured to apply one or more masks to one or more portions of room 102. For example, visible light sensor 180 may be configured to apply a first mask to a first portion of room 102 (e.g., window 104) to focus on motion within a first area of interest (e.g., user's desk 106), apply a second mask to a second portion of room 102 (e.g., desk 106) to focus on motion within a second area of interest (e.g., a path from door 105 to user's desk 106), and apply a third mask to a third portion of room 102 to ignore motion within a third area of interest (e.g., a doorway, such as door 105). Visible light sensor 180 may be configured to control one or more control devices based on the occupancy / vacancy condition. For example, visible light sensor 180 may be configured to determine that user 192 is occupying an area of interest, and visible light sensor 180 may be configured to provide lighting at the area of interest (eg, from lighting fixtures 172 , 174 , 176 , 178 ).
[0098] Visible light sensor 180 may be configured to operate in an occupancy / vacancy sensor mode to determine occupancy and / or vacancy conditions in a space in response to detecting movement within one or more regions of interest. When in occupancy / vacancy sensor mode, visible light sensor 180 may be configured to determine that a space is occupied using an occupancy and / or vacancy detection algorithm in response to an amount of movement and / or a speed of movement exceeding an occupancy threshold.
[0099] Visible light sensor 180 may compare the recorded image of room 102 with one or more other recorded images of room 102 (e.g., previously recorded images and / or subsequently recorded images) to determine if there are differences. For example, visible light sensor 180 may compare the recorded image of room 102 with one or more other recorded images of room 102 to determine if user 192 has entered the room and / or if user 192 has left room 102. For example, if user 192 appears in the image of room 102, visible light sensor 180 may determine that an occupied condition has occurred. If the user disappears from the image of room 102, visible light sensor 180 may determine that a vacant condition has occurred.
[0100] During a sensor event for detecting occupancy and / or vacancy, visible light sensor 180 may be configured to apply a predetermined mask to focus on one or more regions of interest in one or more images recorded by the camera, and determine occupancy or vacancy of the space based on detection or non-detection of motion in the regions of interest. Visible light sensor 180 may be responsive to movement in the regions of interest and not responsive to movement in the masked regions.
[0101] like Figure 2B As shown, visible light sensor 180 can be configured to apply mask 230 to an image of room 200 to exclude detection of motion in doorway 212 or window 214, and can focus on region of interest 232 including the interior space of room 200. Visible light sensor 180 can be configured to apply a first mask to focus on a first region of interest, apply a second mask to focus on a second region of interest, and determine occupancy or vacancy based on movement detected in any region of interest. In addition, visible light sensor 180 can be configured to simultaneously focus on multiple regions of interest in an image by applying different masks to the image.
[0102] Additionally, or alternatively, visible light sensor 180 may identify a user path when visible light sensor 180 is in an occupancy / vacancy sensor mode. A user path may be a predefined location and / or direction within room 200 where user 192 is located and / or where user 192 may move within room 200. For example, a user path may be a location and / or direction that user 200 may take or has been identified as taking when walking from doorway 212 toward chair 250. When occupancy / vacancy is identified in room 200, the user path may be illuminated.
[0103] Visible light sensor 180 may be configured to adjust certain control parameters (e.g., sensitivity) to be used by occupancy and / or vacancy algorithms based on the current sensor event. The occupancy threshold may depend on the sensitivity. For example, visible light sensor 180 may be configured to be more or less sensitive to motion in a first region of interest than to motion in a second region of interest.
[0104] like Figure 2C As shown, visible light sensor 180 can be configured to increase sensitivity and apply mask 240 to focus on region of interest 242 around keyboard 224 to be more sensitive to movement around the keyboard. In other words, by using a mask that focuses on "smaller" versus "larger" (e.g., keyboard versus the desktop on which the keyboard may be placed), visible light sensor 180 can be configured to increase and / or decrease sensitivity to detected or undetected movement. Additionally, by using a mask, visible light sensor 180 can be configured to detect not simply movement in space, but where movement occurs.
[0105] Visible light sensor 180 may be configured to determine occupancy and / or vacancy conditions in a space in response to occupants moving into or out of a bounded area. Figure 2D As shown, visible light sensor 180 may be configured to determine an occupancy condition in room 200 in response to an occupant crossing a boundary of bounded area 250 surrounding chair 226 to enter the bounded area. After the occupant crosses the boundary, visible light sensor 180 may assume that the space is occupied (e.g., independent of other sensor events of occupancy and / or vacancy) until the occupant leaves bounded area 250. Visible light sensor 180 may not be configured to determine a vacancy condition in room 200 until the occupant crosses the boundary of bounded area 250 to exit the bounded area. After the occupant leaves the bounded area, visible light sensor 180 may be configured to determine an occupancy condition in room 200, for example, in response to a condition such as Figure 2B As shown, a vacant condition is detected by determining that there is no motion in the area of interest 232. Thus, even if the occupant's movement is subtle (e.g., if the occupant is still sitting in the chair 226 or reading in the chair 226) or there is no movement (e.g., if the occupant is sleeping in the bed), the visible light sensor 180 can maintain the occupancy condition.
[0106] Bounded areas can be around different types of rooms (for example, Figure 2D 200 shown in FIG. 1 ). For example, if the bounded region surrounds a hospital bed in a room, the system controller 110 can be configured to send an alert to hospital staff in response to detecting movement outside of the region of interest (e.g., indicating a patient getting out of bed). Additionally, the visible light sensor 180 can be configured to count the number of occupants entering and leaving the bounded region.
[0107] Refer to Figure 1 In response to detecting an occupied or vacant condition, the visible light sensor 180 may send a digital message to the system controller 110 via the RF signal 108 (e.g., using a proprietary protocol). The system controller 110 may be configured to turn on and off the lighting loads (e.g., the lighting loads in the lighting fixtures 172, 174, 176, 178 and / or the lighting loads in the floor lamp 142) in response to receiving an occupied command and a vacant command, respectively. Alternatively, the visible light sensor 180 may send a digital message (including a control instruction) directly to the lighting control device of the lighting load (e.g., the lighting control device of the lighting fixtures 172, 174, 176, 178, the plug-in load control device 140, etc.). The visible light sensor 180 may operate as a vacant sensor, such that the lighting load is turned off only in response to detecting a vacant condition (e.g., not turned on in response to detecting an occupied condition). Examples of RF load control systems with occupancy and vacancy sensors are described in more detail in commonly assigned U.S. Patent No. 8,009,042, issued on August 30, 2011, entitled RADIO-FREQUENCYLIGHTING CONTROL SYSTEM WITH OCCUPANCY SENSING; U.S. Patent No. 8,199,010, issued on June 12, 2012, entitled METHOD AND APPARATUS FOR CONFIGURING A WIRELESS SENSOR; and U.S. Patent No. 8,228,184, issued on July 24, 2012, entitled BATTERY-POWERED OCCUPANCY SENSOR, the entire disclosures of which are incorporated herein by reference.
[0108] The visible light sensor 180 may be configured to adjust one or more light sources (e.g., lighting fixtures 172, 174, 176, 178) during an occupied / vacant mode (e.g., via control instructions) based on occupancy and activities performed within the room 102. For example, the visible light sensor 180 may determine that the user 192 occupies the room 102 and that the user 192 is typing or writing at a task area (e.g., desk 106). The visible light sensor 180 may adjust the lighting fixtures 172, 174, 176, 178 to provide a desired amount of lighting to the desk 106 based on the identified activity. For example, the visible light sensor 180 may be configured to provide more lighting to the desk 106 when the user 192 is writing or typing at the desk 106 than when the user 192 is not occupying the room 102 or when the user 192 is performing another activity at the desk 106.
[0109] Visible light sensor 180 can also be configured to operate in a daylighting sensor mode to measure lighting levels (e.g., illuminance or brightness due to daylight and / or artificial light) at spatial locations. For example, visible light sensor 180 can apply a digital mask to focus on specific locations in the space (e.g., on task areas such as Figure 1 The visible light sensor 180 may be configured to measure the brightness at the surface (e.g., the reflected light level). The visible light sensor 180 may be configured to calculate the lighting level using image data. The image data may include data associated with the lighting level and / or color of pixels in the image. The visible light sensor 180 may calculate the illuminance (e.g., the lighting level shining on the surface) from the measured brightness using a conversion factor. The conversion factor may be determined during a calibration process of the visible light sensor 180. For example, the illuminance at the task surface may be measured by a light meter and may be transmitted to the visible light sensor 180. The visible light sensor 180 may be configured to measure the brightness at the surface and may be configured to determine the conversion factor as the relationship between the illuminance measured by the light meter and the brightness measured by the visible light sensor.
[0110] like Figure 2E As shown, visible light sensor 180 may be configured to apply mask 260 to focus on region of interest 262 that includes the surface of desk 220. Visible light sensor 180 may be configured to combine light intensity values for pixels across the image over region of interest 262 to determine a measured lighting intensity or color at the surface of the desk.
[0111] If it is determined that the object is inconsistent with other objects in the room 102, the visible light sensor 180 can ignore the object in the room. For example, the visible light sensor 180 can ignore objects located on the desk 220 (e.g., one or more white papers, books, monitors, keyboards, computers, or other objects). The object located on the desk 220 can appear to have a brightness or color that is different from the brightness or color reflected by the desk 220 on which the object is located. The visible light sensor 180 can determine that the object on the desk 220 is not part of the desk. Therefore, when identifying the attributes of the desk 220 (e.g., size, shape, location, etc.), the visible light sensor 180 can mask the object located on the desk 220. The object on the desk 220 can be masked to control the load control system 100 based on the intensity or color reflected from the uncovered portion of the desk 220.
[0112] See again Figure 1, the visible light sensor 180 can send a digital message (e.g., including the measured lighting intensity) to the system controller 110 via the RF signal 108 to control the intensity of the lighting loads (e.g., the lighting loads in the lighting fixtures 172, 174, 176, 178 and / or the lighting loads in the floor lamp 142) in the load control environment 100 in response to the measured lighting intensity. The visible light sensor 180 can be configured to focus on multiple regions of interest in the image recorded by the camera and measure the lighting intensity of each of the different regions of interest. Alternatively, the visible light sensor 180 can send the digital message directly to the lighting control device for the lighting load (e.g., the lighting control device for the lighting fixtures 172, 174, 176, 178, the plug-in load control device 140, etc.). The visible light sensor 180 can be configured to adjust certain control parameters (e.g., gain) based on the region of interest for which the lighting intensity is currently being measured. Examples of RF load control systems with daylight sensors are described in more detail in commonly assigned U.S. Patent No. 8,410,706, issued on April 2, 2013, entitled “METHOD OF CALIBRATING A DAYLIGHT SENSOR,” and U.S. Patent No. 8,451,116, issued on May 28, 2013, entitled WIRELESS BATTERY-POWERED DAYLIGHT SENSOR, the entire disclosures of which are incorporated herein by reference.
[0113] Visible light sensor 180 may determine whether the lighting intensity at the region of interest is different (e.g., higher, lower) than the preferred total lighting intensity at the region of interest. For example, visible light sensor 180 may be configured to determine whether the lighting intensity presented at the user's task area (e.g., desk 106, a predefined distance around user 192, monitor 166, etc.) is the preferred total lighting intensity. The preferred total lighting intensity may be provided as a default preferred total intensity. The preferred total lighting intensity may be provided by user 192 (e.g., via mobile device 190 used by the user).
[0114] The system controller 110 may be configured to determine degradation of the light output of one or more lighting loads in the space (e.g., lighting loads in lighting fixtures 172, 174, 176, 178 and / or lighting loads in floor lamp 142), and control the intensity of the lighting loads to compensate for the degradation (e.g., lumen maintenance). For example, the system controller 110 may be configured to turn on each lighting load individually (e.g., when it is dark at night), and measure the magnitude of the light intensity at a certain location (e.g., on table 106 or desk 220). For example, the system controller 110 may be configured to turn on the lighting load 122 at night, and control the visible light sensor 180 to record an image of the room to apply a mask to focus on an area of interest illuminated by the lighting load 122 (e.g., the surface of the table 106 or desk 220), to measure the lighting intensity in the area of interest, and transmit the value to the system controller 110. The system controller 110 may store the value as a baseline value. At a certain time and / or date thereafter, the system controller 110 may repeat the measurement and compare the measurement result with the baseline value. If the system controller 110 determines that degradation will occur, it may control one or more lighting loads to compensate for the degradation, alarm maintenance, etc.
[0115] Visible light sensor 180 may also be configured to operate in a color sensor mode to detect the color (e.g., measure the color temperature) of light emitted by one or more lighting loads in the space (e.g., operate as a color sensor and / or a color temperature sensor). Figure 2F As shown, visible light sensor 180 may be configured to apply mask 270 to focus on region of interest 272 (including a portion of the surface of desk 220), and may use a color sensing algorithm to determine a measured color and / or color temperature in room 200. For example, visible light sensor 180 may integrate color values of pixels across an image over region of interest 272 to determine a measured color and / or color temperature in room 200. Region of interest 272 may include a portion of a desk having a known color (e.g., white), or a color wheel having colors for which RGB values may be identified.
[0116] Refer to Figure 1, the visible light sensor 180 can send a digital message (e.g., including the measured color temperature) to the system controller 110 via the RF signal 108 to control the color (e.g., color temperature) of the lighting loads (e.g., the lighting loads in the lighting fixtures 172, 174, 176, 178 and / or the lighting loads in the floor lamp 142) in response to the measured light intensity (e.g., color tuning of the light in the space). Alternatively, the visible light sensor 180 can send the digital message directly to the lighting loads. An example of a load control system for controlling the color temperature of one or more lighting loads is described in more detail in commonly assigned U.S. Patent Application Publication No. 2014 / 0312777, entitled SYSTEMS AND METHODS FOR CONTROLLING COLORTEMPERATURE, published on October 23, 2014, the entire disclosure of which is incorporated herein by reference.
[0117] Visible light sensor 180 may be configured to operate in a sunlight glare detection sensor mode. For example, visible light sensor 180 may be configured to execute a glare detection algorithm to determine the depth of direct sunlight penetration into a space from images recorded by a camera. For example, Figure 2G As shown, visible light sensor 180 may be configured to apply mask 280 to focus on region of interest 282 on the floor of room 200 near window 214 to detect the depth of penetration of direct sunlight into the room.
[0118] Reference again Figure 1 , when in the daylight glare sensor mode, visible light sensor 180 may mask one or more objects in room 102 except for the task area. For example, when visible light sensor 180 is in the daylight glare sensor mode, the masked image from visible light sensor 180 may show desk 106, keyboard 168, and monitor 166. Additionally or alternatively, when in the daylight glare sensor mode, visible light sensor 180 may mask one or more objects in room 102 outside of a predefined area around the task area. Visible light sensor 180 may maintain the task area and / or the predefined area around the task area to determine whether sunlight penetration has reached the task area and / or the predefined area around the task area.
[0119] Based on the detection and / or measurement of the depth of direct sunlight penetration into the room, the visible light sensor 180 can send a digital message to the system controller 110 via the RF signal 108 to limit the depth of direct sunlight penetration into the space, for example, to prevent direct sunlight from shining on a surface (e.g., table 106 or desk 220). The system controller 110 can be configured to lower the window treatment fabric 152 of each motorized window treatment 150 to prevent the depth of direct sunlight penetration from exceeding the maximum sunlight penetration depth. Alternatively, the visible light sensor 180 can be configured to directly control the window treatment 150 to lower the window treatment fabric 152. An example of a method for limiting sunlight penetration depth in a space is described in more detail in commonly assigned U.S. Patent No. 8,288,981, issued on October 16, 2012, entitled METHOD OF AUTOMATICALLY CONTROLLING A MOTORIZED WINDOW TREATMENT WHILE MINIMIZING OCCUPANT DISTRACTIONS, the entire disclosure of which is incorporated herein by reference.
[0120] During the daylight glare sensor mode, the visible light sensor 180 can be configured to control the covering material 152 of the electric window treatment 150 to prevent daylight glare from reaching an area of interest, such as a task area of a user. The visible light sensor 180 can determine whether the intensity of light presented at the area of interest is a preferred light intensity. For example, the user 192 may wish to prevent sunlight 196 from reaching an area of interest that is a task area (e.g., desk 106, a predefined distance around the user 192, monitor 166, etc.). The visible light sensor 180 can be configured to determine whether an undesirable amount of sunlight is presented to the area of interest (e.g., a task area) by comparing the lighting intensity and / or color temperature presented near the window 104 with the lighting intensity and / or color temperature presented on another part of the room 102 away from the window 104. For example, it can be determined that light presented near window 104 is a result of sunlight 196 (e.g., based on an image, the color temperature of the light in the image, control settings of lighting fixtures near the window, etc.), and it can be determined that light presented away from window 104 is a result of a light source other than sunlight 196 (e.g., based on an image, the color temperature of the light in the image, control settings of lighting fixtures away from the window, etc.).
[0121] The visible light sensor 180 can be configured to focus on daylight entering the space through, for example, one or both windows 104 (e.g., operating as a window sensor). The system controller 110 can be configured to control the lighting load (e.g., the lighting load of the lighting fixtures 172, 174, 176, 178 and / or the lamp of the floor lamp 142) in response to the amount of daylight entering the space. The system controller 110 can be configured to override the automatic control of the motorized window treatment 150, for example, in response to determining that it is cloudy or extremely sunny weather. Alternatively, the visible light sensor 180 can be configured to directly control the window treatment 150 to lower the window treatment fabric 152. An example of a load control system with a window sensor is described in more detail in commonly assigned U.S. Patent Application No. 2014 / 0156079, entitled METHOD OF CONTROLLING A MOTORIZED WINDOWTREATMENT, published on June 5, 2014, the entire disclosure of which is incorporated herein by reference.
[0122] The visible light sensor 180 can be configured to detect a source of glare (e.g., sunlight reflected from a surface) outside or inside the space in response to the image recorded by the camera. The system controller 110 can be configured to lower the window treatment fabric 152 of each motorized window treatment 150 to eliminate the source of glare. Alternatively, the visible light sensor 180 can be configured to directly control the window treatment 150 to lower the window treatment fabric 152 to eliminate the source of glare.
[0123] The visible light sensor 180 may also be configured to operate in an occupant counting mode and may execute an occupant counting algorithm to count the number of occupants in a particular area of interest and / or the number of occupants entering and / or leaving the area of interest. The occupant counting algorithm may identify environmental characteristics and / or may trigger sensor events for executing control strategies. For example, the system controller 110 may be configured to control the HVAC system 162 in response to the number of occupants in the space. The system controller 110 may be configured to control one or more load control devices in the load control system 100 in response to the number of occupants in the space exceeding an occupancy number threshold. Alternatively, the visible light sensor 180 may be configured to directly control the HVAC system 162 and other load control devices.
[0124] The operation of the load control system 100 can be programmed and configured using, for example, a mobile device 190 (e.g., when the mobile device is a personal computing device) or other network devices. The mobile device 190 can execute a graphical user interface (GUI) configuration software for allowing a user to program how the load control system 100 will operate. For example, the configuration software can run as a PC application or a web interface. The configuration software and / or the system controller 110 (e.g., via instructions from the configuration software) can generate a load control database that defines the operation of the load control system 100. For example, the load control database may include information about the operational settings of different load control devices (e.g., lighting fixtures 172, 174, 176, 178, plug-in load control devices 140, electric window treatments 150, and / or thermostats 160) of the load control system. The load control database may include information about associations between load control devices and input devices (e.g., remote control devices 170, visible light sensors 180, etc.). The load control database may include information about how the load control device responds to inputs received from the input devices. Examples of configuration processes for load control systems are described in more detail in commonly assigned U.S. Patent No. 7,391,297, issued on June 24, 2008, entitled HANDHELD PROGRAMMER FOR A LIGHTING CONTROL SYSTEM; U.S. Patent Application Publication No. 2008 / 0092075, published on April 17, 2008, entitled METHOD OF BUILDING A DATABASE OF ALIGHTING CONTROL SYSTEM; and U.S. Patent Application No. 2014 / 0265568, published on September 18, 2014, entitled COMMISSIONING LOAD CONTROL SYSTEMS, the entire disclosures of which are incorporated herein by reference.
[0125] User 192 may configure visible light sensor 180 to perform actions within one or more regions of interest within room 102 based on a daylight glare sensor mode, a daylighting sensor mode, a color sensor mode, an occupancy / vacancy sensor mode, and / or an occupant counting mode. For example, user 192 may configure visible light sensor 180 to set the total lighting intensity (e.g., artificial light and / or sunlight) to a preferred total illuminance over a task area based on user 192 entering room 102, exiting room 102, and / or residing within room 102. User 192 may additionally or alternatively configure visible light sensor 180 to set the color temperature to a preferred color temperature based on user 192 entering room 102, exiting room 102, and / or residing within room 102.
[0126] The user 192 may provide user preferences (e.g., overall intensity preferences, color temperature preferences, etc.) using one or more input devices such as the mobile device 190. For example, in a daylight glare sensor mode, the user 192 may input a preferred amount of daylight that may be presented at a user task area when the user 192 enters the room 102, leaves the room 102, and / or resides within the room 102. In a daylighting sensor mode, the user 192 may input a preferred lighting intensity that the lighting fixtures 172, 174, 176, 178 may present at a user task area (e.g., the desk 106, the monitor 166, a predefined area around the user 192, etc.) when the user 192 enters the room 102, leaves the room 102, and / or resides within the room 102. In a color sensor mode, the user 192 may input a preferred amount of color temperature that may be presented at a user task area when the user 192 enters the room 102, leaves the room 102, and / or resides within the room 102.
[0127] An image may be provided to the visible light sensor 180 via the mobile device 190 so that the visible light sensor 180 may identify a user 192 entering the room 102, leaving the room 102, and / or residing in the room. The image may be recorded via a camera feature of the mobile device 190. The image may be provided by an external server storing images of one or more users 192. For example, a company's database may include identification photos of employees of the company. The visible light sensor 180 may be configured to receive identification photos for identifying the user 192. The visible light sensor 180 may also or alternatively be configured to record an image of the user 192 to identify the user 192. For example, during the configuration of the visible light sensor 180, the user 192 may provide user preferences to the visible light sensor 180. The visible light sensor 180 may record an image of the user 192 while the user 192 configures the visible light sensor 180. For example, the visible light sensor 180 may record an image of the user 192 while the user 192 provides user preferences to the visible light sensor 180. In recording an image of user 192 while user 192 is configuring visible light sensor 180, visible light sensor 180 may establish an association between user 192 and the user preferences for configuring visible light sensor 180. Visible light sensor 180 may record a static image of user 192. Visible light sensor 180 may record user 192 performing movement within room 102, such as walking, and / or performing an action on a task surface or within a predefined distance of a task surface (e.g., typing on keyboard 166 and / or writing on desk 106).
[0128] Visible light sensor 180 may include a second communication circuit for sending and receiving RF signals 109 (e.g., directly with network device 190 using a standard protocol such as Wi-Fi or Bluetooth). During a configuration process of load control system 100, visible light sensor 180 may be configured to record an image of the space and send the image to network device 190 (e.g., directly to network device 190 via RF signals 109 using a standard protocol). Network device 190 may display the image on a visual display, and user 192 may configure the operation of visible light sensor 180 to set one or more configuration parameters (e.g., configuration data) of the visible light sensor. For example, for different environmental characteristics sensed for control by visible light sensor 180 (e.g., occupant movement, light levels within a room, daylight levels outside a room), a user may indicate different areas of interest on the image by tracing (e.g., with a finger or stylus) over masked areas on the image displayed on the visual display. Visible light sensor 180 may be configured to establish different masks and / or control parameters depending on environmental characteristics to be sensed (eg, occupant movement, light levels within the room, daylight levels outside the room, color temperature, etc.).
[0129] After configuration of visible light sensor 180 is completed at mobile device 190, mobile device 190 may send configuration information to the visible light sensor (e.g., directly to the visible light sensor via RF signal 109 using a standard protocol). Visible light sensor 180 may store the configuration data in a memory so that the visible light sensor may operate appropriately during normal operation. For example, for each sensor event that visible light sensor 180 is to monitor, mobile device 190 may send to visible light sensor 180 a sensor mode for the event, one or more masks defining a region of interest for the event, an indication of an algorithm that may be used to sense environmental characteristics of the event, and one or more control parameters for the event.
[0130] Configuration data may include a room identifier or other identifier stored for space configuration. Configuration data for a given room identifier or other identifier for a space may be used as a template (e.g., a configuration template) for configuring visible light sensors and / or load controls within similar spaces. Configuration templates may be copied and applied to other spaces to perform load control. Configuration templates may include similar masks, regions of interest, control strategies, etc.
[0131] Visible light sensor 180 can be configured to provide a predefined lighting intensity at one or more regions of interest. The predefined lighting intensity can be the same or different between regions of interest. Visible light sensor 180 can identify sunlight and / or artificial light including the lighting intensity provided to one or more regions of interest within room 102. Visible light sensor 180 can increase or decrease the lighting intensity or change the color temperature of lighting fixtures 172, 174, 176, 178 across a gradient across the room (e.g., from window 104, door 105, projector screen, television, or other presentation area).
[0132] Visible light sensor 180 may be configured to use objects located within room 102 to identify one or more areas of interest within room 102. For example, visible light sensor 180 may be configured to use the size, shape, and / or position of desk 106 to identify a task area (e.g., desk 106). That is, if visible light sensor 180 identifies an object with a predefined shape (e.g., rectangular or circular), size, and / or position within room 102, visible light sensor 180 may be configured to determine that the object is a desk. The predefined size and / or shape may be stored in a memory for comparison with the size of the object identified in the image. Visible light sensor 180 may be configured to use the size, position, and / or orientation of the object to determine other objects within room 102, such as door 105 and / or window 104. Visible light sensor 180 may determine that if the object is a predefined size of a door located at a wall of room 102, the object is door 105, and / or the orientation of the object represents a predefined orientation of the door.
[0133] The visible light sensor 180 may be configured to determine the intensity of illumination (e.g., sunlight, artificial light) that may be presented to one or more regions of interest. For example, the visible light sensor 180 may be configured to determine sunlight that may be presented to the regions of interest. The visible light sensor 180 may be configured to determine sunlight that may be presented to the regions of interest during configuration of the load control system 100 and / or during use of the load control system 100. For example, the visible light sensor 180 may determine that an undesirable amount of sunlight is presented at a first region of interest, such as a user's task area, during configuration and / or control of the load control system 100. The visible light sensor 180 may determine the identity and / or location of the user's task area by identifying predefined locations around the user 192. For example, the visible light sensor 180 may determine the identity and / or location of the user's task area by identifying predefined locations around the user 192 during predefined time periods each day.
[0134] The visible light sensor 180 can automatically determine the identification and / or location of the user's task area (e.g., using the size, location, and / or shape of the user area). For example, the visible light sensor 180 can define the desk 106 using a predefined size, shape, and / or color of the desk. The visible light sensor 180 can use the attributes of the task area to identify the task area of a particular user, and / or the visible light sensor 180 can use auxiliary objects (e.g., photos, mugs) placed on the user's task area to identify the task area of a particular user. The visible light sensor 180 can be configured to control one or more control devices (e.g., via control instructions) using the identification and / or location of the user's task area. For example, the visible light sensor 180 can be configured to determine the location of the user's task area and present the preferred lighting intensity of the lighting fixtures 172, 174, 176, 178 on the user's task area (e.g., via control instructions). The visible light sensor 180 can determine the location of the user's task area and control the covering material 152 of the electric window treatment 150 so that the preferred amount of daylight glare is presented on the user's task area.
[0135] Visible light sensor 180 may be configured to determine whether a task area of a user (e.g., desk 106, monitor 166, a predefined area around user 192, etc.) has moved. For example, visible light sensor 180 may be configured to determine whether desk 106 has moved from one side of room 102 to another side of room 102. Visible light sensor 180 may be configured to determine whether one or more other task areas (e.g., desk 106, monitor 166, etc.) have been added to room 102. For example, visible light sensor 180 may be configured to compare a recorded image of room 102 with one or more other recorded images of room 102 (e.g., previously recorded images and / or subsequently recorded images) to determine whether there are differences within room 102, such as movement of task areas and / or addition of task areas. During configuration, visible light sensor 180 may identify movement of users, occupants, furniture, partitions, and / or other objects within a room. Visible light sensor 180 may be configured to control one or more control devices based on the movement of one or more task areas (e.g., based on the movement of desk 106, monitor 166, etc.). For example, if a user's task area moves, visible light sensor 180 may recognize such movement and present a preferred lighting intensity and / or allow for preferred sunlight glare at the updated location of the task area.
[0136] Light fixtures within different regions of interest may be identified by the location of illumination levels within the image. Different light fixtures may be mapped to different portions of the image generated by the visible light sensor 180. Dimming levels in different regions of interest may be adjusted by predefined amounts, or may be adjusted to different dimming levels based on differences in illumination levels determined between different regions. For example, when a portion of the room 102 including sunlight 196 is determined to be 25% brighter, the visible light illumination sensor 180 may cause the dimming levels of the lighting fixtures 174, 178 to change by 25%. Examples of RF load control systems with daylight sensors are described in more detail in commonly assigned U.S. Patent Nos. 8,410,706, issued on April 2, 2013, entitled METHOD OF CALIBRATING A DAYLIGHT SENSOR, and 8,451,116, issued on May 28, 2013, entitled WIRELESS BATTERY-POWERED DAYLIGHT SENSOR, the entire disclosures of which are incorporated herein by reference.
[0137] Visible light sensor 180 may be configured to determine one or more areas of interest (e.g., zones) within room 102 by determining the locations of control devices located within room 102. For example, visible light sensor 180 may be configured to determine that a lighting control device providing a lighting load that is preferred for a demonstration is located at a particular location within room 102. Visible light sensor 180 may be configured to identify a demonstration lighting load for a demonstration area and determine (e.g., automatically determine) that the location of the demonstration lighting load is within the demonstration area of interest. Visible light sensor 180 may be configured to identify one or more motorized window treatments 150 and determine (e.g., automatically determine) that the location of the motorized window treatment 150 may receive additional lighting intensity (e.g., sunlight).
[0138] Visible light sensor 180 may be configured to determine that lighting control devices having the same intended functionality are grouped together in an area of interest (e.g., a zone). For example, a group of functional lighting devices within a predefined distance of a window may be grouped together in a daylighting zone. Visible light sensor 180 may be configured to determine that lighting control devices that illuminate a portion of room 102 are grouped together in an area of interest (e.g., a zone). For example, a group of lighting fixtures that illuminate a task area (e.g., desk 106, monitor 166, etc.) are grouped together in a zone. Visible light sensor 180 may be configured to determine that lighting control devices that are located near an object (e.g., within a predefined distance) or that affect the lighting level of an object are grouped together in an area of interest (e.g., a zone).
[0139] The visible light sensor 180 can be configured to operate in an occupied / vacant sensor mode. In the occupied / vacant sensor mode, the visible light sensor 180 can be configured to determine the occupied / vacant status (e.g., environmental characteristics) of one or more regions of interest. For example, the visible light sensor 180 can determine the occupied / vacant status of one or more regions of interest based on detecting the presence or motion or the absence or motion in an image captured in the region of interest. The visible light sensor 180 can use one or more algorithms and / or image analysis techniques to determine the occupied / vacant status. For example, the visible light sensor 180 can use background subtraction and / or background maintenance to determine the occupied / vacant status, as described herein. The visible light sensor 180 can identify the occupied / vacant status of one or more regions of interest and control the load control device in response to the occupied / vacant status. For example, when a user 192 and / or a mobile device 190 enters a room 102, the visible light sensor 180 can identify occupancy conditions in the room 102 and can send control instructions to lighting fixtures 172, 174, 176, 178, plug-in load control devices 140, motorized window treatments 150, and / or a thermostat 160 to control electrical loads in response to the occupancy conditions. Examples of RF load control systems with occupancy / vacancy sensors are described in more detail in commonly assigned U.S. Patent No. 8,009,042, issued on August 30, 2011, entitled RADIO-FREQUENCY LIGHTING CONTROL SYSTEM WITH OCCUPANCY SENSING, U.S. Patent No. 8,199,010, issued on June 12, 2012, entitled METHOD AND APPARATUS FOR CONFIGURING A WIRELESS SENSOR, and U.S. Patent No. 8,228,184, issued on July 24, 2012, entitled BATTERY-POWERED OCCUPANCY SENSOR, the entire disclosures of which are incorporated herein by reference.
[0140] Visible light sensor 180 may be unable to identify an occupancy condition based on movement and / or user presence detected within one or more regions of interest that visible light sensor 180 ignores. For example, visible light sensor 180 may apply a mask to a doorway, and visible light sensor 180 may exclude movement and / or users at the doorway when identifying an occupancy condition. If a user is not within room 102 and is standing outside the doorway, visible light sensor 180 may be unable to identify an occupancy condition within room 102. Visible light sensor 180 may determine when a user moves outside of a masked area and enters a region of interest in which visible light sensor 180 is configured to determine occupancy / vacancy conditions. Masking doorways, windows, and / or other transparent spaces in room 102 may prevent erroneous identification of objects outside of doorways, windows, and / or other transparent spaces.
[0141] Visible light sensor 180 can be configured to turn lighting loads (e.g., lighting fixtures 172, 174, 176, 178) on and off in response to detecting an occupied condition and a vacant condition, respectively. Visible light sensor 180 can operate as a vacancy sensor such that lighting loads are turned off in response to detecting a vacant condition (e.g., and not turned on in response to detecting an occupied condition).
[0142] Visible light sensor 180 may be configured to identify movement within an area of interest with a higher sensitivity than movement in one or more other areas of interest. For example, visible light sensor 180 may be configured to be more sensitive to movement in an area around a user's task surface (e.g., keyboard) than to movement in an area that is not frequently used by user 192. For example, visible light sensor 180 may be configured to increase sensitivity to identify a finger moving on keyboard 168 and / or user 192 writing on desk 106. Visible light sensor 180 may not detect small movements in one or more other areas of interest within room 102 to prevent false indications of occupancy. If visible light sensor 180 identifies movement in an area of interest to which visible light sensor 180 is more sensitive, visible light sensor 180 may adjust light fixtures 172, 174, 176, 178 to provide increased illumination to the sensitive area (e.g., keyboard 168).
[0143] The visible light sensor 180 may be configured to determine the occupancy / vacancy status in the room 102 in response to a user entering or leaving an area of interest. For example, the first area of interest may be a bed, an office, or a user task area. The second area of interest may be a path from the first area of interest to a door and / or another room (e.g., an office, a bathroom, etc.). The visible light sensor 180 may be configured to identify light zones as lights in and / or between areas of interest. In response to a user moving from one location to another (e.g., during a configuration process or after such user movement is identified a predefined number of times), the visible light sensor 180 may define lighting fixtures in the area. For example, the visible light sensor 180 may be configured to identify a user path from a bed to a bathroom. The visible light sensor 180 may be configured to define lighting fixtures in an area along the user path in the same zone for lighting control. The visible light sensor 180 may increase the light intensity provided by the lighting fixture in response to a user moving in the direction of one of the areas of interest defined in the zone.
[0144] The visible light sensor 180 may be used with a passive infrared sensor (PIR) 182. The PIR sensor 182 may be an electronic device that measures infrared (IR) light radiated from one or more objects in the field of view of the PIR sensor 182. The PIR sensor 182 may be used to identify motion within the field of view of the PIR sensor 182. The PIR sensor 182 may consume less power than the visible light sensor 180, and the PIR sensor 182 may be used to detect an occupied / vacant condition in an occupied / vacant sensor mode. For example, the PIR sensor 182 may be a low energy occupancy sensing circuit.
[0145] The PIR sensor 182 and the visible light sensor can operate in tandem because each sensor can identify different types of information. For example, the PIR sensor 182 can operate to trigger the visible light sensor 180 because the PIR sensor 182 can reduce the number of times that occupancy is falsely identified. The PIR sensor 182 can operate to trigger the visible light sensor 180 so that the visible light sensor 180 can begin recording images and / or controlling one or more control devices within the room 102. Since the visible light sensor 180 can operate to detect occupancy by the movement of objects within the image, the movement of objects other than the user can trigger an occupancy condition at the visible light sensor 180. However, the PIR sensor 182 can use infrared signals to detect the movement of the user in the room. The infrared signal can be used to trigger the visible light sensing circuit, which can track the object more accurately after determining occupancy. For example, when the user has little or no movement for a period of time (e.g., a slight motion event), the infrared signal can cause the lighting fixture to turn off. The visible light sensor is able to identify the presence of a user in an image even if the user has little or no movement for a period of time (e.g., a slight motion event).
[0146] Visible light sensor 180 can save power and / or memory used to store images by enabling visible light sensing circuitry when PIR sensor 182 detects movement. When PIR sensor 182 detects movement, visible light sensing can be enabled to generate an image of the space and detect users and / or movement. Visible light sensing circuitry can replace or be added to PIR sensor 182 to identify occupancy and / or vacancy conditions. For example, when the power source of visible light sensor 180 is a battery, using PIR sensor 182 limits the increased power consumption that may be caused by using visible light sensing circuitry.
[0147] Visible light sensor 180 may use PIR sensor 182 to help identify users and / or movement in one or more different settings. For example, visible light sensor 180 may use PIR sensor 182 in room 102 to determine occupancy in low light conditions. For example, PIR sensor 182 may be used to identify user 192 in bed at night. Visible light sensor 180 may use PIR sensor 182 if daylight glare conditions prevent and / or reduce visible light sensor 180 from identifying occupied / vacant conditions.
[0148] The visible light sensor 180 can identify the presence of the user 192, and the PIR sensor 182 can be used to identify the movement of the user 192. For example, the visible light sensor 180 can identify that the user goes to bed and / or the PIR sensor 182 can identify when the user 192 wakes up from the bed (e.g., based on the movement of the user 192). The visible light sensor 180 can control one or more control devices (e.g., lamps 172, 174, 176, 178) based on the user going to bed and / or waking up from the bed. For example, the visible light sensor 180 can use one or more scenes, such as a wake-up scene, to adjust the control device. The wake-up scene can include, for example, playing high-energy music and / or lighting the lamps 172, 174, 176, 178 to gradually increase the lighting intensity provided in the room 102.
[0149] After a period of vacancy in the area of interest, the visible light sensing circuit of the visible light sensor 180 can be disabled and the PIR sensor 182 can be enabled. When the PIR sensor 182 detects an occupancy condition in the room 102, the PIR sensor 182 can be configured to enable the visible light sensor 180 to generate an image and identify a continuous occupancy condition or a vacancy condition. After detecting the occupancy condition in the room 102, the PIR sensor 182 can immediately enable the visible light sensing circuit of the visible light sensor 180. If the visible light sensor 180 is enabled, the visible light sensor 180 can be configured to control one or more control devices based on the occupancy / vacancy condition. For example, the visible light sensor 180 can be configured to determine that the user 192 occupies the area of interest, and the visible light sensor 180 can be configured to provide lighting at the area of interest (e.g., from the lighting fixtures 172, 174, 176, 178). The visible light sensor 180 can operate in a manner similar to a daylight sensor using the PIR sensor 182. Examples of RF load control systems with daylight sensors are described in more detail in commonly assigned U.S. Patent No. 8,410,706, issued on April 2, 2013, entitled METHOD OF CALIBRATING ADAYLIGHT SENSOR, and U.S. Patent No. 8,451,116, issued on May 28, 2013, entitled WIRELESS BATTERY-POWERED DAYLIGHT SENSOR, the entire disclosures of which are incorporated herein by reference.
[0150] Visible light sensor 180 can be operated in a hospital to configure zones between areas of interest for patients. For example, visible light sensor 180 can identify the movement of a patient from a bed to a bathroom, and lighting fixtures can be configured along the path in the same zone for lighting control. When a patient is identified as moving along a path defining a zone, the zone can be turned on and / or controlled to a predefined dimming level. Visible light sensor 180 10 can be configured to provide an alarm such as a bedside alarm (e.g., flashing a lighting fixture if an immobile patient attempts to leave the bed).
[0151] If the user 192 exhibits a sleep condition (e.g., no movement for a predetermined amount of time and / or eyes closed for a predetermined amount of time), the visible light sensor 180 can recognize that the user 192 is in a sleep condition and the visible light sensor 180 can send a digital message (e.g., including control instructions) to the lighting control device to reduce the dimming level or turn off the light. If the user 192 exhibits a sleep condition, the motorized window treatment 150 can be lowered to a predefined level or a fully closed position. If the user 192 exhibits a sleep condition, the thermostat 160 can be lowered. If the user 192 exhibits a sleep condition, the color temperature of the lighting fixtures 172, 174, 176, 178 can be changed to a warmer (e.g., redder) color temperature to help the user 192 fall asleep or the color temperature of the lighting fixtures 172, 174, 176, 178 can be changed to a cooler (e.g., bluer) color temperature to help the user 192 stay awake and productive.
[0152] If the user 192 exhibits an alert condition (e.g., the user 192 is moving for a predefined amount of time and / or the user's eyes are open for a predetermined amount of time), the visible light sensor 180 can determine that the user is awake, and the visible light sensor 180 can send a digital message to the lighting control device to increase the dimming level or turn on the lights. If the user 192 exhibits an alert condition, the motorized window treatment 150 can be raised to a predefined level or fully open position, the thermostat 160 can be increased, and / or the color temperature of the lighting fixtures 172, 174, 176, 178 can be changed to a cooler (e.g., bluer) color temperature to help the user 192 stay awake and productive.
[0153] The visible light sensor 180 can determine an emergency condition and can control the load control device in response to the emergency condition. For example, the visible light sensor 180 can recognize that the user is performing an emergency gesture (e.g., waving hands in a predefined manner, moving the mouth in a predefined manner, etc.). The visible light sensor 180 can recognize an emergency condition (e.g., the user has fallen, the user is bleeding, the user is not breathing, etc.). The visible light sensor 180 can use the user's gesture and / or the user's condition to determine that it is in an emergency condition. The visible light sensor 180 can send a digital message (e.g., including a control instruction) to one or more load control devices to provide an emergency signal. For example, if an emergency condition is detected, the visible light sensor 180 can send a signal to the lighting fixtures 172, 174, 176, 178 to flash to change the color temperature of the lighting fixtures 172, 174, 176, 178. The visible light sensor 180 can be configured to send a digital message to a caregiver and / or notify emergency personnel based on the detection of an emergency condition.
[0154] The visible light sensor 180 may be configured to generate images that identify individual users. The visible light sensor 180 may use one or more recognition techniques such as facial recognition, gait recognition, body shape recognition, and / or another image recognition technology to identify a user entering, leaving, performing a task, and / or residing in the room 102. For example, the visible light sensor 180 may be configured to identify the user using the facial features of the user identified in the generated image. The visible light sensor 180 may be configured to use a feature-based approach to facial recognition to identify the user. In the feature-based approach, the visible light sensor 180 may analyze the image to identify, extract, and / or measure the user's facial features (e.g., unique facial features). For example, the visible light sensor 180 may analyze the image to identify, extract, and / or measure the user's eyes, mouth, nose, etc. Using the identified, extracted, and / or measured facial features, the visible light sensor 180 may be configured to calculate one or more geometric relationships between the facial features. By calculating the geometric relationships between the facial features, the facial features may be converted into vectors of geometric features. Statistical pattern recognition techniques may be used to use geometric features to match faces. Visible light sensor 180 may also or alternatively be configured to identify a user by the speed of the user's gait and / or the length of the user's gait. Visible light sensor may be configured to identify a user entering, leaving, performing a task, and / or residing within room 102.
[0155] Visible light sensor 180 can be mounted in one or more locations (e.g., on a wall) and / or orientations to provide the ability to identify a user. For example, a visible light sensor 180 mounted on a wall of room 102 can be in a better position to identify a user using facial recognition than a visible light sensor 180 mounted on a ceiling. One or more visible light sensor 180 devices can be used together to provide a composite identification of a user. For example, a wall-mounted visible light sensor 180 can be configured to identify a front profile of user 192, while a ceiling-mounted visible light sensor 180 can be configured to identify an upper profile of user 192. A ceiling-mounted visible light sensor 180 can better identify a user's gait. Visible light sensor 180 can be configured to combine a user's front profile and an upper profile to create a composite profile of the user.
[0156] The visible light sensor 180 can be configured to control one or more load control devices based on the identity of the user 192. For example, the user 192 may desire that an area of interest (e.g., the user's desk 106 area) be equipped with a predefined intensity of light, a predefined color temperature of light, and / or a predefined temperature. The visible light sensor 180 can identify when the user 192 enters and / or leaves the room 102. The visible light sensor 180 can use the identity of the user 192 to adjust the lighting fixtures 172, 174, 176, 178 to a predefined light intensity and / or color temperature. Using the identity of the user 192 entering, exiting, performing a task, and / or residing in the room 102, the visible light sensor 180 can adjust the HVAC 162 to a predefined temperature and / or the covering material 152 of the electric window treatment 150 to a predefined setting. For example, when the room 102 is vacant, the visible light sensor 180 can adjust the load control device to an energy-saving setting and / or another preferred setting.
[0157] The visible light sensor 180 can be configured to operate in a daylighting sensor mode. For example, the visible light sensor 180 can be configured to identify the amount of total lighting intensity in the area of the room 102 controlled by the lighting fixtures 172, 174, 176, 178, and control the dimming level of each lighting fixture 172, 174, 176, 178 to maintain the overall lighting level in the room 102. The total lighting intensity can be determined using one or more algorithms or image analysis techniques. For example, the total lighting intensity can be determined from a red, green, and blue (RGB) image. Using the RGB image, the total lighting intensity can be defined as (0.299*R+0.587*G+0.114*B).
[0158] The visible light sensor can determine the total lighting intensity of the room 102 or an area within the room 102 (e.g., including artificial light provided by one or more lighting control devices located within the room 102 and / or light provided by sunlight 196) and adjust the dimming level of the lighting fixtures 172, 174, 176, 178 so that the total lighting level can be achieved. The visible light sensor 180 can determine whether the light intensity in the room 102 is uniform and adjust the dimming level of one or more of the lighting fixtures 172, 174, 176, 178 to achieve a uniform total lighting level in the room 102. The light intensity provided by the lighting fixtures 172, 174, 176, 178 may be uneven due to one or more reasons, such as incorrect settings of the lighting control device, sunlight 196 entering the room 102, one or more lighting fixtures 172, 174, 176, 178 being in an abnormal working state, etc. Visible light sensor 180 and / or system controller 110 may be configured to send RF signals to lighting fixtures 172, 174, 176, 178 to provide preferred and / or recommended lighting intensity within room 102. For example, visible light sensor 180 may be configured to send RF signals 108 to provide uniform lighting intensity throughout room 102.
[0159] The visible light sensor 180 may transmit a digital message (e.g., including the measured lighting intensity) via the RF signal 108. For example, the visible light sensor 180 may transmit a digital message (e.g., an indication of an environmental characteristic from which a control instruction may be generated) to the system controller 110 to control the intensity of the lighting fixtures 172, 174, 176, 178 in response to the measured lighting intensity. The measured lighting intensity may be identified in different portions of the room 102 based on relative differences in lighting levels identified in the generated image. The visible light sensor 180 may identify the lighting intensity (illuminance) in one or more portions of the room 102 by performing an integration technique. For example, the visible light sensor 180 may integrate across a portion of the room 102. The visible light sensor 180 may identify relative differences in lighting levels in the image by determining the lighting intensity (illuminance) of the portion of the room 102 and averaging the lighting intensity (illuminance) of one or more pixels in the selected portion.
[0160] Visible light sensor 180 may identify portions of the generated image that include a predefined amount of reflected light that is brighter than other portions of the room. For example, visible light sensor 180 may identify sunlight 196 entering room 102 and dim lighting fixtures 174, 178 and / or LED light sources on portions of room 102 affected by sunlight 196. Visible light sensor 180 may be configured to focus on one or more regions of interest in an image recorded by the camera and measure the relative difference in illumination intensity in each different region of interest generated by the image.
[0161] Visible light sensor 180 may be configured to ignore one or more regions of interest in an image recorded by the camera, such that the illumination intensity in each irrelevant region of interest is not taken into account when control is performed. Visible light sensor 180 may adjust a control parameter (e.g., gain) of a light source based on the region of interest for which illumination intensity is currently being measured. Visible light sensor 180 may send a digital message (e.g., including control instructions) to system controller 110 to adjust lighting fixtures 172, 174, 76, 178 to a preferred illumination intensity, and / or visible light sensor 180 may send a digital message to system controller 110 to adjust lighting fixtures 172, 174, 76, 178 to a uniform illumination intensity.
[0162] The light fixtures within the different regions of interest may be identified by the location of the illumination levels within the image. The different light fixtures may be mapped to different portions of the image generated by the visible light sensor 180. Based on the differences in illumination levels identified between the different regions, the dimming levels in the different regions of interest may be adjusted by a predefined amount or may be adjusted to different dimming levels. For example, when the portion of the room 102 including the sunlight 196 is determined to be 25% brighter, the visible light illumination sensor 180 and / or the system controller 110 may cause the dimming levels of the lighting fixtures 174, 178 to change by 25%. Examples of RF load control systems with daylight sensors are described in more detail in commonly assigned U.S. Patent Nos. 8,410,706, issued on April 2, 2013, entitled METHOD OF CALIBRATING A DAYLIGHT SENSOR, and 8,451,116, issued on May 28, 2013, entitled WIRELESS BATTERY-POWERED DAYLIGHT SENSOR, the entire disclosures of which are incorporated herein by reference.
[0163] Visible light sensor 180 may determine a baseline total amount of light (e.g., artificial light and / or sunlight) present within room 102 or a portion thereof by analyzing the brightness of the generated image. The baseline may allow visible light sensor 180 to identify changes in lighting levels within room 102 to implement controls based on the identified lighting levels. The baseline light amount may be operated during daylighting sensor mode and / or daylight glare sensor mode.
[0164] The baseline light amount may be a zero light level, a full light level, and / or a plurality of interval light levels that may fall between the zero light level and the full light level. For example, the visible light sensor 180 may determine a baseline with zero light by recording an image of the room 102 with the lighting load in a closed state and no sunlight in the room 102 (e.g., at night). The visible light sensor 180 may determine a baseline with zero artificial light by recording an image of the room 102 with the lighting load in a closed state and the covering material 152 of the motorized window treatment 150 in a fully closed state (e.g., during the day). The visible light sensor 180 may determine a baseline with full artificial light levels by recording an image of the room 102 with one or more lighting loads turned on to their full dimming levels (e.g., 100% intensity). The visible light sensor 180 may determine a baseline at full light levels by recording an image of the room 102 with one or more lighting loads turned on to their full dimming levels (e.g., 100% intensity) and the covering material 152 of the motorized window treatment 150 in a closed state and / or an open state.
[0165] One or more combinations of the on-states of the lighting loads in the room 102 may be used to provide baseline intervals (e.g., 10%, 20%, 30%, etc., intensity) of artificial light in the room 102. The visible light sensor 180 may determine a baseline with different baseline intervals by recording images of the room 102 at times when one or more lighting loads are turned on to the corresponding intervals (e.g., 10%, 20%, 30%, etc.) and when the covering material 152 of the motorized window treatment 150 is in a closed state and / or an open state.
[0166] Baseline intervals of artificial light may be provided within one or more regions of interest. For example, baseline intervals may be provided over a user's task area (e.g., the user's desk 106) and / or other regions of interest. The visible light sensor 180 may record one or more images of the room 102 while the light source cycles through the lighting intensity levels. For example, the visible light sensor 180 may record images of the room as one or more lighting fixtures 172, 174, 176, 178 cycle through increasing lighting intensities of 10%, 25%, 30%, 50%, etc. The lighting fixtures 172, 174, 176, 178 may receive commands (e.g., including control instructions) from the system controller 110 to cycle through dimming levels (e.g., stay at each dimming level for a period of time or increase the dimming level for a period of time), or may receive commands (e.g., including control instructions) from the system controller 110 to change from each dimming level. The commands (e.g., including control instructions) may be triggered from the mobile device 190.
[0167] Visible light sensor 180 may record an image of room 102 and determine whether the image of room 102 is equal to one or more baseline images of room 102. The baseline images may be used to determine a target intensity level, a target color level, a color shift, a daylight contribution, etc. For example, visible light sensor 180 may determine whether the amount of light present in room 102 is equal to a baseline amount of light recorded in room 102. If the amount of light is different than the baseline, visible light sensor 180 may identify a baseline that is closest to the current lighting level.
[0168] Visible light sensor 180 can determine whether the light in room 102 is different than a preferred baseline amount of light in room 102 by comparing the amount of light in room 102 to a baseline amount of light in the room. Visible light sensor 180 can control lighting loads (e.g., lighting fixtures 172, 174, 176, 178) and / or motorized window treatments 150 to achieve a preferred lighting level that is equal to or greater than a previously recorded baseline.
[0169] The visible light sensor 180 may equate the baseline lighting intensity to the preferred lighting intensity within the space. The preferred artificial lighting intensity may be a lighting intensity defined by the user. For example, the user 192 may prefer a predefined lighting intensity at a user task area (e.g., a desk 106, a monitor 166, a predefined area around the user 192). The visible light sensor 180 may record an image of the user's task area and determine whether a preferred amount of light is provided to the user's task area. The visible light sensor 180 may determine whether a preferred amount of light is provided to the user's task area by comparing the lighting intensity with a baseline lighting intensity identified as the preferred lighting intensity within the space. If an undesirable amount of lighting intensity is provided to the user's task area, the visible light sensor 180 may send a digital message (e.g., including a control instruction) to a lighting control device (e.g., lamps 174, 178) or an electric window treatment 150 to provide additional or less lighting to the user's task area.
[0170] The visible light sensor 180 can use the image to determine a baseline amount of sunlight present in the space. The baseline amount of sunlight can be zero sunlight intensity, full sunlight intensity, and / or can fall within multiple intervals between zero sunlight intensity and full sunlight intensity. For example, the visible light sensor 180 can determine a baseline with zero sunlight intensity by recording an image of the room 102 when there is no sunlight (e.g., at night) and / or the visible light sensor 180 can determine a baseline with zero sunlight by recording an image when the covering material 152 of the electric window treatment 150 is in a fully closed state. The visible light sensor 180 can determine a baseline with full sunlight intensity by recording an image of the room 102 during the day when sunlight is predicted to be at full potential (e.g., using the time of day, the time of year, the location of the building, the direction of the window 104, the position of the sun in the sky, weather conditions, etc.) and / or when the covering material 152 of the electric window treatment 150 is in an open state.
[0171] The visible light sensor 180 can be configured to determine a baseline interval of sunlight within the room 102 (e.g., 10%, 20%, 30%, etc.). Each interval can be detected within the image generated by the visible light sensor by identifying an image that gradually brightens as sunlight enters the room 102. The baseline interval of daylight within the room 102 can be provided using one or more combinations of secondary conditions that affect the presence of sunlight (e.g., time of day, time of year, location of the building, orientation of the window 104, position of the sun in the sky, weather conditions, etc.). Additionally or alternatively, one or more positions of the covering material 152 of the motorized window treatment 150 can be used to provide a baseline interval of sunlight within the room 102. For example, the baseline interval can be provided in the room 102 at a time of day when the sun is predicted to provide full sunlight and / or the covering material 152 of the motorized window treatment 150 is closed by a predefined amount. Visible light sensor 180 can record one or more images of room 102 during times of varying daylight intensities and / or with covering material 152 of motorized window treatment 150 opened to varying amounts (e.g., opened to 10%, 30%, 50%, 70%, 90% capacity).
[0172] Visible light sensor 180 may record an image of room 102 and determine whether the image of room 102 is equal to one or more baseline images of room 102. The baseline image of room 102 may be associated with a baseline lighting intensity present within one or more regions of interest within room 102. For example, visible light sensor 180 may determine whether an amount of sunlight present within one or more regions of interest within room 102 is different from a baseline amount of sunlight present at the one or more regions of interest within room 102. Visible light sensor 180 may determine whether the sunlight present within room 102 is different from a previously captured baseline amount of sunlight present within room 102 by comparing the images. For example, visible light sensor 180 may determine whether sunlight in one or more regions of interest within room 102 has increased, decreased, or remained the same from a previously captured amount of sunlight present within room 102.
[0173] The visible light sensor 180 may control the motorized window treatment 150 so that the amount of daylight 196 present in one or more regions of interest within the room 102 is the preferred amount of daylight present in the one or more regions of interest. The visible light sensor 180 may control the motorized window treatment 150 so that the amount of daylight 196 present in one or more regions of interest within the room 102 is the same or similar to a baseline stored as having a preferred amount of daylight. The baseline may be defined during configuration of the load control system 100 and / or updated during a period (e.g., on a daily, monthly, etc. basis). The visible light sensor 180 may send a digital message (e.g., including control instructions) to the motorized window treatment 150 to adjust the covering material 152 of the motorized window treatment 150 until the preferred amount of sunlight is reached. During adjustment of the covering material 152, the visible light sensor 180 may record an image of the room 102 to identify the amount of sunlight present in the one or more regions of interest, and may continue to transmit digital messages to continue adjusting the covering material, or may continue to adjust the covering material 152 until a digital message to stop adjusting is received.
[0174] Visible light sensor 180 can equate the baseline lighting intensity to a preferred lighting intensity for light sources within room 102. The preferred lighting intensity can be a lighting intensity defined by a user, such as user 192. For example, a user may wish to minimize sunlight within room 102 (e.g., due to increased sensitivity to sunlight and / or increased privacy desires). That is, the preferred lighting intensity and / or color temperature can be a lighting intensity and / or color temperature with minimized sunlight, such as with covering material 152 of motorized window treatment 150 completely shut off. The user may wish to have a predefined amount of lighting intensity within room 102, and the predefined amount of lighting intensity can be set as the baseline lighting intensity.
[0175] The visible light sensor 180 can determine whether the total lighting intensity present in the room 102 is different from the baseline lighting intensity by comparing the total lighting intensity present in the room 102 to the baseline lighting intensity. The visible light sensor 180 can control the covering material 152 of the electric window treatment 150 so that the sunlight provided to the room 102 is equal to the user's preferred amount of sunlight. The dimming level of the lighting fixtures 172, 174, 176, 178 can be set to achieve the preferred total lighting intensity in the room 102. The amount of electricity used by the lighting fixtures 172, 174, 176, 178 can be reduced by allowing greater levels of sunlight into the room 102. Sunlight glare can be minimized by reducing the level of the covering material 152 of the electric window treatment 150, and the reduced lighting intensity can be compensated by the light provided by the lighting fixtures 172, 174, 176, 178.
[0176] The visible light sensor 180 can identify an area of interest where the lighting intensity generated by the sunlight 196 can meet the lighting intensity generated by other light sources (e.g., lighting fixtures 172, 174, 176, 178). For example, the visible light sensor 180 can identify points and / or lines where the sunlight can stop entering the room 102 (e.g., due to the level of the covering material 152 on the electric window treatment 150). The visible light sensor 180 can be configured to adaptively determine whether the lighting intensity generated by the sunlight presented at the area of interest (e.g., the task area) is the preferred light intensity. The visible light sensor 180 can be configured to control one or more devices based on whether the lighting intensity generated by the sunlight presented at the area of interest (e.g., the task area) is the preferred light intensity. For example, the visible light sensor 180 can be configured to determine the location of the user's task area and the preferred lighting intensity generated by the sunlight at the task area. The visible light sensor 180 can adjust the covering material 152 on the electric window treatment 150 so that the lighting intensity generated by the sunlight presented on the user's task area is similar to and / or equal to the preferred sunlight intensity at the task area.
[0177] The user may want sunlight to be present in the room 102, but prevent the sunlight from illuminating one or more areas of interest in the room 102. For example, the user may want sunlight to be present in the room 102, but prevent the sunlight from entering the user area of the room 102 (e.g., the desk 106). The visible light sensor 180 can control the motorized window treatment 150 to determine the level at which the covering material 152 can be opened to provide sunlight at one or more areas of interest and prevent sunlight at one or more areas of interest. The visible light sensor 180 can consider secondary conditions (e.g., time of day, time of year, location of the building, orientation of the window 104, position of the sun in the sky, weather conditions, etc.) when determining the amount to open the covering material 152 to provide sunlight at one or more areas of interest and prevent sunlight at one or more areas of interest. For example, the visible light sensor 180 can determine that on a cloudy day, in June, at 1:00 p.m., the covering material 152 of the motorized window treatment 150 should be closed 40% so that sunlight 196 is prevented from reaching the desk 106. Visible light sensor 180 can determine whether a user task area (e.g., desk 106, monitor 166, a predefined area around user 192, etc.) moves, and visible light sensor 180 can control motorized window treatment 150 to prevent sunlight 196 from reaching the user task area.
[0178] The visible light sensor 180 can be configured to adjust one or more lighting fixtures 172, 174, 176, 178 so that the lighting intensity presented to the area of interest is equal to a preferred or recommended lighting intensity. The preferred lighting intensity can be defined by the user 192. The recommended lighting intensity can be defined by the manufacturer or lighting designer. The preferred lighting intensity and / or the recommended lighting intensity can be defined when the load control system 100 is being configured and can be updated during operation.
[0179] Visible light sensor 180 may define a preferred lighting intensity to be used within room 102 after identifying the user. For example, visible light sensor 180 may identify user 192 via an image of user 192 within room 102, via mobile device 190 used by user 102 within room 102, and / or using another identification process (e.g., via audio recognition, login identification, etc.). Visible light sensor 180 may be configured to send a digital message to lighting fixtures 172, 174, 176, 178 so that lighting fixtures 172, 174, 176, 178 may present a light intensity corresponding to the user's preferred lighting intensity. For example, visible light sensor 180 may be configured to send a digital message to lighting fixtures 174 and lighting fixtures 178 to provide additional lighting to the user's keyboard 168 and / or desk 106 if user 192 prefers such lighting.
[0180] Visible light sensor 180 can be configured to adjust the light source to compensate for additional or insufficient artificial lighting or natural lighting (e.g., sunlight). For example, increased lighting intensity can be provided through window 104, such as through sunlight 196. To compensate for the increased lighting intensity provided by window 104, visible light sensor 180 can be configured to adjust the lighting load within a predefined distance of window 104 (e.g., during daylighting sensor mode). For example, visible light sensor 180 can be configured to send RF signals to lighting fixtures 174, 178 to provide less artificial lighting based on the increased amount of sunlight provided by window 104. In addition, or alternatively, visible light sensor 180 can be configured to send RF signals to lighting fixtures 172, 176 to provide additional lighting (e.g., during daylighting sensor mode). The amount of additional lighting can be based on the amount of daylight provided by window 104, so that the total light can reach a baseline lighting level or higher.
[0181] The preferred or recommended lighting intensity (illuminance) (e.g., with or without daylight) may be recorded in the image by the visible light sensor 180. The visible light sensor 180 may identify when the lighting level (brightness) is higher or lower than the preferred or recommended lighting intensity by the identified amount. The lighting level (brightness) may be identified by comparing a previously recorded image of the room 102 with a current image of the room. The lighting fixtures 172, 174, 176, 178 and / or the motorized window treatment 150 may be controlled to meet the preferred or recommended lighting intensity (illuminance). The motorized window treatment 150 may be adjusted before the lighting fixtures to avoid additional energy consumption. If the sunlight 196 admitted by the motorized window treatment 150 does not meet the preferred or recommended lighting intensity (illuminance), the lighting intensity of the lighting fixtures 172, 174, 176, 178 may be increased or decreased. When the preferred or recommended lighting intensity (illuminance) is identified in the image generated by the visible light sensor 180, the load control may be stopped for a predefined period of time or until the lighting level is again above or below the preferred or recommended lighting intensity (illuminance). Visible light sensor 180 can be configured to adjust the lighting at the task area to a lighting intensity other than the preferred or recommended lighting intensity (illuminance) when user 192 leaves the task area (e.g., for a predefined period of time). When the user is not in the task area, the lighting at the task area can be reduced to a predefined amount or turned off to avoid or reduce energy use.
[0182] An increased and / or decreased lighting intensity may be presented at the first region of interest and the second region of interest based on one or more characteristics of the light source. For example, the first region of interest and the second region of interest may have different lighting intensities depending on the age, model, size, operability, etc. of the light sources within the first region of interest and the second region of interest. The visible light sensor 180 may determine the lighting intensity presented at the region of interest to determine whether the dimming level of the light source should be adjusted within the region of interest. For example, the lighting fixtures 172, 176 may be illuminated at a level higher than or lower than the preferred lighting intensity within the second region of interest. Due to the age and / or operability of the lighting fixtures 172, 176, the lighting fixtures 172, 176 may be illuminated at different lighting intensities. The visible light sensor 180 may be configured to adjust the lighting fixtures 172, 176 to increase or decrease the lighting intensity provided by the lighting fixtures to compensate for the lower than preferred lighting intensity (e.g., increasing the dimming level for the reduced intensity due to aging).
[0183] The visible light sensor 180 can adjust one or more light sources (e.g., lamps 174, 178) to provide uniform lighting intensity in different regions of interest. Different regions of interest can be identified by relatively different levels of reflected light in each portion of the image generated by the room 102. The visible light sensor 180 can identify relative differences in lighting levels in the image by determining the lighting intensity (illuminance) of the region of interest of the room 102 and averaging the lighting intensity (illuminance) of one or more pixels in the selected region of interest. Sunlight 196 can enter the window 104 and can be present in the first region of interest, and the second region of interest can be unaffected. For example, the depth of sunlight can be identified in the first region of interest but not in the second region of interest. A lower level of artificial lighting intensity can be provided for the first region of interest than for the second region of interest. In order to account for sunlight 196 present in the first region of interest and not in the second region of interest, the lamps (e.g., lighting fixtures 174, 178) in the first region of interest can be adjusted to a lower dimming level in the region of interest than the lamps (e.g., lighting fixtures 172, 176) in the second region of interest.
[0184] Visible light sensor 180 can determine whether one or more regions of interest present a uniform lighting intensity. For example, a first region of interest can have an illumination intensity of artificial light that is higher than the illumination intensity of artificial light provided at a second region of interest. Other devices within the region of interest can also provide additional light in the region of interest. For example, lamp 142 can provide light in an area illuminated by lighting fixture 176. Peripheral devices (e.g., monitor 166) can illuminate the region of interest. Electric window treatment 150 can provide daylight in the region of interest. The region of interest can be a sub-region of an object within room 102, such as a sub-region of desk 106 having different lighting levels.
[0185] Visible light sensor 180 may adjust the illumination intensity of one or more of lighting fixtures 172, 174, 176, 178 to evenly illuminate one or more areas of interest within room 102. For example, visible light sensor 180 may adjust the illumination intensity of lighting fixtures 174, 178 so that lighting fixtures 174, 178 are evenly illuminated using the light intensity provided by lighting fixtures 172, 176. Visible light sensor 180 may adjust the illumination intensity of lighting fixtures 174, 178, for example, to account for the age and / or operation of lighting fixtures 174, 178.
[0186] The visible light sensor 180 can adjust the light source to compensate for the intensity of light (e.g., daylight and / or artificial light) at a first area of interest that is higher and / or lower than the intensity of light (e.g., daylight and / or artificial light) provided at a second area of interest. For example, the user's desk 106 can receive additional lighting 198 from the computer monitor 160. The additional lighting 198 can cause a sub-area of the desk 106 to have a lighting intensity that is greater than the lighting intensity provided on the remaining sub-areas of the desk 106. The additional lighting 198 can cause the sub-area of the desk 106 to have a greater lighting level than is preferred by the user 192 and / or otherwise desired (e.g., recommended by a lighting manufacturer). The visible light sensor 180 can send a digital signal to one or more lighting fixtures 172, 174, 76, 178 to reduce the lighting at the location of the user's desk 106 where the additional lighting 198 is provided. For example, the visible light sensor 180 may reduce the illumination at the defined portion of the user's desk 106 that receives the additional illumination 198 by transmitting an RF signal to control the light source within a predefined distance of the defined portion of the user's desk 106 or the light source that has the greatest impact on the illumination distribution of the defined portion of the user's desk 106, so that the light source reduces the light provided to the defined portion of the user's desk 106. By reducing the light of the user's desk 106 that receives the additional illumination 198, the sub-area of the computer monitor 166 that receives the additional illumination 198 may be uniform to the area that does not receive light via the computer monitor 166.
[0187] Visible light sensor 180 may send a message to user 192 notifying that one or more light sources are providing a lighting intensity that is less than preferred or recommended. Visible light sensor 180 may send a message to the user (e.g., via mobile device 190) notifying that one or more lighting fixtures 172, 174, 176, 178 have been adjusted or may be adjusted to compensate for the lighting intensity that is less than preferred or recommended. Visible light sensor 180 may send a message to the user (e.g., via mobile device 190) indicating the identity of lighting fixtures 172, 174, 176, 178 for which compensation is provided or recommended to be provided. Visible light sensor 180 may indicate to the user (e.g., via mobile device 190) the remaining lifespan (e.g., in hours, days, etc.) of lighting fixtures 172, 174, 176, 178 before they should be replaced. The original lifespan of the light source may be stored at visible light sensor 180 when the installation indication of the light source is received, and visible light sensor 180 may count down from the original lifespan using a clock.
[0188] As described herein, visible light sensor 180 may be configured to ignore movement, lighting intensity (e.g., lighting intensity from sunlight and / or artificial light), color temperature, occupancy / vacancy conditions, etc. at an area of interest when performing lighting control. A portion of room 102 may be masked separately from another portion of room 102. Masking a portion of room 102 may cause visible light sensor 180 to ignore a portion of room 102. For example, visible light sensor 180 may ignore movement at door 105, lighting intensity (e.g., lighting intensity from sunlight and / or artificial light), color temperature, occupancy / vacancy conditions, which may not be relevant to the operation of a load control device within room 102. Visible light sensor 180 may be configured to distinguish between different colors of light present at different areas of interest when performing lighting control.
[0189] The visible light sensor 180 may be configured to operate in a color sensor mode. In the color sensor mode, the visible light sensor 180 may be configured to determine the color temperature displayed within the image of the room 102. The color temperature of a light source may refer to the temperature of an ideal black body radiator that radiates light of a hue comparable to that of the light source. For example, candlelight, tungsten light (e.g., from an incandescent light bulb), early sunrise, and / or household light bulbs may appear to have a relatively low color temperature, such as in the range of 1,000-3,000 degrees Kelvin. Midday daylight, direct sunlight (e.g., sunlight above the atmosphere), and / or electronic flash may appear to have a color temperature value of approximately 4,000-5,000 degrees Kelvin and may have a green-blue hue. A cloudy day may appear to have a color temperature of approximately 7,000 degrees Kelvin and may even be bluer than midday daylight. The Northern Lights may be bluer and appear to have a color temperature in the range of 10,000 degrees Kelvin. Color temperatures over 5,000 degrees Kelvin are generally referred to as cool colors (eg, bluish white to dark blue), while lower color temperatures (eg, 2,700-3,000 degrees Kelvin) are generally referred to as warm colors (eg, reddish to yellowish white).
[0190] Visible light sensor 180 can be configured to sense the color of light (e.g., measure color temperature) emitted by one or more lighting fixtures 172, 174, 176, 178 in room 102. For example, visible light sensor 180 can be configured to operate as a color sensor or a color temperature sensor. Visible light sensor 180 can be configured to measure the color temperature within one or more regions of interest within room 102 based on the color temperature present within room 102.
[0191] Visible light sensor 180 can be configured to measure the color temperature of one or more areas of interest within room 102 using a color wheel. The color wheel can be configured to display one or more colors. For example, the color wheel can include standard RGB colors. Visible light sensor 180 can be configured to record an image of the color wheel and / or use the color wheel to measure the color temperature of light emitted by one or more lighting fixtures 172, 174, 176, 178. The colors on the color wheel can be identified in the generated image of room 102. The relative difference in color temperature from the colors on the color wheel can be identified in the reflected light captured in the generated image.
[0192] In the color sensor mode, the visible light sensor may send a digital message (e.g., including an indication of the identified color temperature or control instructions based on the identified color temperature) to one or more lighting fixtures 172, 174, 176, 178 to control the color (e.g., color temperature) provided by the lighting fixtures 172, 174, 176, 178. The visible light sensor 180 may send the digital message to the lighting fixtures 172, 174, 176, 178 via an RF signal such as the RF signal 108. The visible light sensor 180 may send the digital message to the lighting fixtures 172, 174, 176, 178 in response to the identified lighting intensity (e.g., the color adjustment of the light in the room).
[0193] The visible light sensor 180 may identify the portion of the room 102 occupied by the sunlight 196 as being a relatively redder color temperature than other portions of the room 102. The visible light sensor 180 may change the color temperature of the lighting fixtures 174, 178 to a different color temperature than the lighting fixtures 172, 176 in response to the color temperature of the sunlight 196 identified in the portion of the room. The color temperature of the lighting fixtures 174, 178 may be changed to a relatively cooler (e.g., bluer) color than the lighting fixtures 172, 176 inside the room to reduce the gradient of the color temperature of the room caused by the sunlight 196. The color temperature of the lighting fixtures 172, 176 may be changed to a relatively redder color temperature to reduce the gradient of the color of the sunlight 196 in the portion of the room affected by the sunlight 196. The color temperature of the lighting fixtures 172, 174, 176, 178 can be changed from a relatively red color temperature from the direction of the window 104, or to a relatively blue color temperature in the direction of the window 104 to reduce the gradient of color temperature caused by the sunlight 196. Examples of load control systems for controlling the color temperature of one or more lighting loads are described in more detail in commonly assigned U.S. Patent Application Publication No. 2014 / 0312777, published on October 23, 2014, entitled SYSTEMS AND METHODS FOR CONTROLLING COLOR TEMPERATURE, the entire disclosure of which is incorporated herein by reference.
[0194] Visible light sensor 180 may identify a baseline color temperature present within one or more regions of interest within a space (e.g., room 102) within a generated image. The baseline color temperature may be identified in an image representing relatively different color temperatures within room 102. An image including a baseline color temperature may range from a relatively blue temperature to a relatively red color temperature (e.g., a white spectrum).
[0195] The visible light sensor 180 can determine the baseline color temperature by controlling the lighting load to a relatively blue color temperature on the color spectrum and changing the color temperature of the lighting load to a relatively red color temperature to record an image of the room 102 or vice versa, and recording images at different color temperatures. For example, a color temperature over 5,000 degrees Kelvin can be referred to as a cool color (e.g., bluish white), while a color temperature of 2700-3000 degrees Kelvin can be referred to as a warm color (e.g., yellowish white to red). The color temperature can be incremented by a predefined amount to create a baseline image at each predefined amount. Images can be recorded when daylight or other ambient light is minimized in the space. For example, images can be recorded at night and / or when the covering material 152 of the electric window treatment 150 is in a closed state to prevent sunlight from affecting the baseline color temperature.
[0196] The color temperature may be determined by measuring an area (e.g., one or more pixels) where a pure white card may be placed. The visible light sensor 180 may generate an image of varying color temperature across a spectrum (e.g., a white spectrum) and store the image as a baseline image of the color temperature. For example, the visible light sensor 180 may identify changes in color temperature across the spectrum by a certain number of degrees Kelvin and store an image representing the interval changes as the next baseline interval of the color temperature. The image may be stored (e.g., by the visible light sensor 180) using a control setting for the color temperature. If intermediate and / or historical color calculations are used, the image may not be stored by the visible light sensor 180.
[0197] A baseline color temperature may be provided within one or more regions of interest. To determine the baseline color temperature, visible light sensor 180 may record one or more images of room 102 while the light source cycles through different colors at different regions of interest. While visible light sensor 180 analyzes the color of the image at one region of interest, other portions of room 102 may be masked. For example, visible light sensor 180 may record an image of the room while one or more lighting fixtures 172, 174, 176, 178 cycles through different colors across an illumination spectrum (e.g., a white light spectrum). The baseline color temperature for each region of interest may be stored in visible light sensor 180 for use in identifying color temperature changes in the region of interest and / or controlling the light in the region of interest to the identified color temperature.
[0198] Visible light sensor 180 may determine lumen drop-off or color shift in the light output of a light source (e.g., lighting fixtures 172, 174, 176, 178) by comparing the current color temperature of the light fixture to a baseline color temperature. For example, visible light sensor 180 may record an image of room 102 and determine whether the color temperature of room 102 is equal to one or more baseline color temperatures of room 102. Visible light sensor 180 may determine a color temperature difference between the current image and the baseline image. Visible light sensor 180 may determine the lumen drop-off or color shift of a light source based on the difference between the current color temperature within room 102 and the baseline color temperature present within room 102.
[0199] The visible light sensor 180 may be operated in a daylight glare sensor mode. In the daylight glare sensor mode, the visible light sensor 180 may be operated to reduce or eliminate the amount of daylight glare presented in the room 102. The visible light sensor 180 may be configured to increase, reduce, or eliminate the amount of daylight glare entering the room 102. For example, sunlight or daylight glare may be prevented from reaching the task area (e.g., desk 106) of the user 192. The visible light sensor 180 may identify the user task area (e.g., desk 106) of the user 192, identify daylight glare in the generated image, and reduce and / or eliminate the amount of daylight glare presented in the user task area. For example, the visible light sensor 180 may be configured to send a digital message (e.g., including an indication or control instruction of an environmental characteristic) to the system controller 110 and / or the motorized window treatment 150 to reduce the covering material 152 to a level that reduces or eliminates the amount of daylight glare presented in the user task area.
[0200] Visible light sensor 180 can identify the amount of sunlight glare within an area of interest (e.g., a user's task area, such as desk 106) by determining the depth of sunlight 196 entering room 102. Visible light sensor 180 can determine the depth of sunlight 196 penetrating into room 102 from images recorded by the camera. Sunlight 196 can be identified as light that comes from the direction of window 104 and is relatively brighter (e.g., brighter by a predefined threshold) than other light in room 104. Visible light sensor 180 can use an electronic compass to identify a direction (e.g., a direction within room 102, such as the direction of window 104). The electronic compass can be integrated into visible light sensor 180, or the electronic compass can be external to visible light sensor 180. Sunlight 196 may be further identified based on the location of the building, the orientation of windows 104 in the building (e.g., whether windows 104 face the direction of the sun), weather conditions (e.g., sunny), time of day (e.g., time of day when sunlight directly penetrates the window), time of year (e.g., time of year when sunlight directly penetrates the window), position of the sun in the sky, and / or other parameters that may be used to determine the intensity of sunlight glare for room 102. Visible light sensor 180 may use an electronic compass thereon to detect the direction of other objects, such as the direction of the sun or other environmental characteristics that may be determined based on the direction. Visible light sensor 180 may have a clock thereon to detect the time of day, time of year, or other parameters regarding time.
[0201] The penetration distance of sunlight 196 into the room can be detected as an area affected by sunlight glare (e.g., when each feature indicating that sunlight glare has passed through window 104 has been satisfied). When visible light sensor 180 is located on a wall facing window 104, visible light sensor 180 can identify the sun's celestial body through window 104 to identify sunlight glare in the image.
[0202] The visible light sensor 180 can be configured to send a digital message (e.g., including control instructions) to a load control device (e.g., a motorized window treatment 150) to limit or eliminate sunlight glare. The visible light sensor 180 can send a digital message (e.g., including control instructions) to a load control device (e.g., a motorized window treatment 150) to limit or eliminate the depth of sunlight 196 penetrating into the room 102. For example, the visible light sensor 180 can be configured to send a digital message (e.g., including control instructions) to a load control device (e.g., a motorized window treatment 150) to reduce or eliminate sunlight glare shining on the user 192 or the user's task area (e.g., desk 106, monitor 166, and / or keyboard 168). The visible light sensor 180 can be configured to lower the cover material 152 of each motorized window treatment 150 to prevent the penetration depth of sunlight 196 from exceeding the maximum sunlight penetration depth. An example of a method for limiting sunlight penetration depth in a space is described in more detail in U.S. Patent No. 8,288,981, issued on October 16, 2012, entitled METHOD OF AUTOMATICALLY CONTROLLINGA MOTORIZED WINDOW TREATMENT WHILE MINIMIZING OCCUPANT DISTRACTIONS, the entire disclosure of which is incorporated herein by reference.
[0203] The visible light sensor 180 can be configured to override or supplement the automatic control of the motorized window treatment 150. For example, the visible light sensor 180 can be configured to override or supplement the automatic control of the motorized window treatment 150 in response to the time of day, time of year, location of the building, orientation of the window 104, position of the sun in the sky, weather conditions, etc., which can be determined to be used to determine the intensity of sunlight at the room 102. The weather conditions, position of the sun, etc. can be derived from an external device (e.g., an external server such as a cloud server) and / or can be derived by the window sensor. An example of a load control system with a window sensor is described in more detail in U.S. Patent Application Publication No. 2014 / 0156079, entitled METHOD OF CONTROLLING A MOTORIZED WINDOW TREATMENT, published on June 5, 2014, the entire disclosure of which is incorporated herein by reference.
[0204] The visible light sensor 180 may be operated actively or reactively to control the electric window treatment 150. For example, the visible light sensor 180 may be operated reactively to lower the electric window treatment 150 after identifying the penetration distance of sunlight 196 on the user 192 or the user's task area. After identifying the sunlight 196 on the user 192 or the user's task area, the visible light sensor 180 may send a digital message (e.g., including control instructions) to turn off the electric window treatment 150 by a predefined distance or until the penetration distance of sunlight 196 is removed from the user 192 or the user's task area (e.g., removed by a predefined distance). The visible light sensor 180 may be operated actively by lowering the electric window treatment 150 before the penetration distance of sunlight 196 on the user 192 or the user's task area. When sunlight 196 is identified as being within a predefined distance of user 192 or the user's task area, visible light sensor 180 can send a digital message (e.g., including control instructions) to close electric window treatment 150 a predefined distance or until the penetration distance of sunlight 196 is within another predefined distance from user 192 or the user's task area.
[0205] Visible light sensor 180 may be configured to determine the number of users within one or more areas of interest (e.g., during an occupancy / vacancy sensor mode). Visible light sensor 180 may be configured to count the number of users that enter and / or leave the areas of interest. For example, visible light sensor 180 may be configured to determine that 10 users have entered room 102 and 4 users have left room 102. Visible light sensor 180 may mask the door and count the number of users in room 102, or mask the rest of room 102 and count the number of users that have entered and / or left room 102. Based on the number of users that have entered and / or left room 102, visible light sensor 180 may be configured to determine the number of users remaining in room 102.
[0206] The visible light sensor 1800 may be configured to control one or more load control devices within the room 102 in response to the number of users in the room 102. For example, the visible light sensor 180 may be configured to control the HVAC system 162 in response to the number of users in the room 102. The visible light sensor 180 may be configured to control one or more load control devices of the load control system 100 in response to the number of users in the room 102 exceeding a threshold number of occupants. For example, the visible light sensor 180 may be configured to provide an alert (e.g., flashing a light, changing the color of a light to red) if the number of users in the room 102 exceeds an undesirable and / or unsafe number threshold.
[0207] Visible light sensor 180 may increase or decrease the intensity of illumination provided by lighting fixtures 172, 174, 176, 178 based on the alertness and / or position of user 192. Visible light sensor 180 may adjust the color temperature provided by lighting fixtures 172, 174, 176, 178 based on the alertness and / or position of user 192. For example, if user 192 is at desk 106 and the user's eyes are closed for a predefined period of time, visible light sensor 180 may increase the intensity of illumination by lighting fixtures 172, 174, 176, 178. If user 192 is at desk 106 and the user's eyes are closed for a predefined period of time, visible light sensor 180 may adjust the color temperature of lighting fixtures 172, 174, 176, 178 to a cooler color temperature (e.g., blue). Alternatively, if the user is in bed and the user's eyes are closed for a predefined period of time, visible light sensor 180 can adjust the color temperature of lighting fixtures 172, 174, 176, 178 to a warmer color temperature (e.g., red) via positive feedback. The lighting intensity and / or color temperature provided by lighting fixtures 172, 174, 176, 178 based on the alertness and / or position of user 192 can be defined by the user and / or can be based on manufacturer settings.
[0208] Visible light sensor 180 may adjust lighting fixtures 172, 174, 176, 178 based on the location of user 192. For example, visible light sensor 180 may increase and / or decrease the intensity of lighting provided by lighting fixtures 174, 178 depending on the location of the user. For example, if user 192 is within a predefined distance of lighting fixtures 174, 178, visible light sensor 180 may increase the intensity of lighting provided by lighting fixtures 174, 178. If the user is outside the predefined range of lighting fixtures 172, 176, visible light sensor 180 may decrease the intensity of lighting provided by lighting fixtures 172, 176. Visible light sensor 180 may adjust lighting fixtures 172, 174, 176, 178 to emit a predefined color temperature depending on the location of the user. For example, if the user 192 is within a predefined distance of the lighting fixtures 172, 174, 176, 178, the visible light sensor 180 may adjust the lighting fixtures 172, 174, 176, 178 to emit a preferred color temperature. If the user is outside the predefined range of the lighting fixtures 172, 174, 176, 178, the visible light sensor 180 may adjust the lighting fixtures 172, 174, 176, 178 to emit a color temperature that indicates a vacant condition and / or to save energy.
[0209] The visible light sensor 180 can adjust the load control device to set a scene depending on the user's alertness and / or the user's position. For example, if the user is in bed and the user exhibits a sleep condition (e.g., the user's eyes are closed for a predefined time), the visible light sensor 180 can set a bedtime scene. The bedtime scene can include lowering the light intensity of lighting fixtures, playing soft music, and / or lowering the covering material 152 of the electric window treatment 150. The bed and / or an area within a predefined distance of the bed can be masked. For example, based on the privacy settings defined by the user 192, the bed and / or an area within a predefined distance of the bed can be masked.
[0210] The visible light sensor 180 can set a wake-up scene depending on the time of day, the user's location, and / or the user's alertness. For example, if the user is at the desk 106 and the user's eyes are closed for a predefined time, the visible light sensor 180 can control the lighting fixture to increase the lighting intensity. If the user wakes up in bed, the visible light sensor 180 can adjust the cover material 152 of the electric window treatment 150 to an open position and / or increase the lighting intensity of the lighting fixture. The visible light sensor 180 can adjust the lighting fixtures 172, 174, 176, 178 based on default settings and / or based on user preferences.
[0211] The visible light sensor 180 may be configured to determine a decay in the light output of one or more lighting fixtures 172, 174, 176, 178 in the room 102. The light output of the lighting fixtures 172, 174 may decay as a result of the age and / or use of the lighting fixtures 172, 174, 176, 178. The decay in light output may cause the lighting fixtures 172, 174, 176, 178 to provide a lighting intensity that is lower than preferred, a different color temperature than preferred, etc. The visible light sensor 180 may be configured to control the lighting intensity of the lighting fixtures 172, 174, 176, 178 to compensate for the decay of the lighting fixtures 172, 174, 176, 178. For example, the visible light sensor 180 may be configured to perform lumen maintenance of the lighting fixtures 172, 174, 176, 178.
[0212] Visible light sensor 180 may be configured to recognize that the color temperature provided by lighting fixtures 172, 174, 176, 178 has decayed. Visible light sensor 180 may be configured to control the intensity of illumination of the different colored LEDs in lighting fixtures 172, 174, 176, 178 to compensate for the decay of the color of lighting fixtures 172, 174, 176, 178. For example, visible light sensor 180 may be configured to increase the intensity of the blue LEDs of lighting fixtures 172, 174, 176, 178 to compensate for the decay in the blue LEDs, or to increase the intensity of the red LEDs of lighting fixtures 172, 174, 176, 178 to compensate for the decay in the blue LEDs. The changing color temperature may be captured in an image generated by visible light sensor 180, and visible light sensor 180 may stop adjusting when the appropriate color temperature is recognized in the image.
[0213] Configuration and / or operation of one or more devices (e.g., visible light sensor 180) within load control system 100 may be performed using mobile device 190 and / or another network device. Mobile device 190 may execute graphical user interface (GUI) performance software to allow a user to configure and / or operate load control system 100. For example, the performance software may run as a PC application or web interface (e.g., executed on system controller 110 or other remote computing device). The performance software and / or system controller 110 (e.g., via instructions from the configuration software) may generate a load control database that defines the operation of load control system 100. For example, the load control database may include information about control settings of different load control devices (e.g., lighting fixtures 172, 174, 176, 178, plug-in load control devices 140, electric window treatments 150, and / or thermostats 160) of the load control system. The load control database may include information about associations between load control devices and input devices (e.g., remote control device 170, visible light sensor 180, etc.). The load control database may include information about how the load control device responds to inputs received from the input device.
[0214] The load control database may define control instructions for the load control device in response to identifying different types of information in each mode described herein. The control instructions may be defined by a user 192. Examples of configuration processes for load control systems are described in more detail in commonly assigned U.S. Patent No. 7,391,297, issued on June 24, 2008, entitled HANDHELD PROGRAMMER FOR A LIGHTING CONTROL SYSTEM, U.S. Patent Application Publication No. 2008 / 0092075, published on April 17, 2008, entitled METHOD OF BUILDING A DATABASE OF ALIGHTING CONTROL SYSTEM, and U.S. Patent Application Publication No. 2014 / 0265568, published on September 18, 2014, entitled COMMISSIONING LOAD CONTROL SYSTEMS, the entire disclosures of which are incorporated herein by reference.
[0215] The operation of visible light sensor 180 may be programmed and / or configured using a network device such as mobile device 190. Visible light sensor 180 may include a network device for (e.g., using a network device such as Wi-Fi or The visible light sensor 180 may also or alternatively communicate indirectly via the system controller 110. During the configuration process of the load control system 100, the visible light sensor 180 may be configured to record an image of the room 102 and send the image to the mobile device 190 (e.g., directly to the mobile device 190 or indirectly via the system controller 110). The mobile device 190 may display the image on the visual display, and the user 192 may configure the operation of the visible light sensor 180 to set one or more configuration parameters (e.g., configuration data) of the visible light sensor 180. For example, the user 192 may indicate an area of interest on the image by tracing a masked area on the image displayed on the visual display. The visible light sensor 180 may be configured to receive the modified image from the mobile device 190 and identify the area of interest and establish different masks and / or control parameters depending on the environmental characteristics to be sensed (e.g., occupancy / vacancy conditions, light levels within the room 102, daylight levels outside the room 102, color temperature, etc.).
[0216] Mobile device 190 may send configuration data to visible light sensor 180. For example, mobile device 190 may send to visible light sensor 180 an area of interest defined by user 192, a preferred total light intensity (e.g., artificial light and / or sunlight) defined by the user, and / or a preferred color temperature defined by user 192. Mobile device 190 may also or additionally transmit to visible light sensor 180 a scene defined by the user. For example, network device 192 may transmit to visible light sensor a bedtime scene that may include a warm color temperature and / or a covering material 152 that will close motorized window treatment 150. Mobile device 190 may send configuration data directly to visible light sensor 180 via RF signal 109 using a standard protocol and / or mobile device 190 may send configuration data to the visible light sensor via one or more other devices (e.g., system controller 110). Visible light sensor 180 may store configuration data in a memory so that visible light sensor 180 may operate according to the provided configuration data.
[0217] As described herein, visible light sensor 180 may be configured to record images of room 102, which may capture one or more objects and / or activities within the room that user 192 may consider to be private or confidential. As a result, visible light sensor 180 may be configured to protect the privacy of user 192 while using the image data to configure and / or control load control devices within room 102.
[0218] Visible light sensor 180 may not be configured to transmit images, or may be configured to prevent the transmission of images, during normal operation. Visible light sensor 180 may be configured to use images only internally to sense desired environmental characteristics (e.g., to detect occupancy or vacancy, to measure ambient light levels, etc.). For example, visible light sensor 180 may be configured to transmit (e.g., only transmit) an indication of a detected state and / or a measured environmental characteristic during normal operation (e.g., via RF signal 108 using a proprietary protocol).
[0219] The visible light sensor 180 may be installed with special configuration software to be used during the configuration process (e.g., only during the configuration process). The configuration process may be performed prior to normal operation of the visible light sensor 180. The configuration process may be performed dynamically during normal operation to update the visible light sensor 180 (e.g., during normal operation of the visible light sensor 180 or in response to the movement of an object). The configuration software may allow the visible light sensor 180 to send a digital representation of an image recorded by a camera to the mobile device 190 only during the configuration process. The visible light sensor 180 may receive configuration data from the mobile device 190 (e.g., via the RF signal 109 using a standard protocol) and store the configuration data in a memory. The visible light sensor 180 may have the configuration software installed during manufacturing so that the visible light sensor 180 is ready to be configured when it is powered on for the first time after installation. In addition, the system controller 110 and / or the mobile device 190 may be configured to send the configuration software to the visible light sensor 180 during the configuration process of the load control system 100.
[0220] Visible light sensor 180 may be configured to install normal operating software in place of the configuration software after the configuration process is complete. The operating software may be configured for use in the sensor mode described herein. The normal operating software may not allow visible light sensor 180 to send images recorded by the camera to other devices. For example, during operation of visible light sensor 180, visible light sensor 180 may be configured to send metadata of images recorded by the camera. Visible light sensor 180 may have normal operating software stored in a memory, and may be configured to install the normal operating software after the configuration process is complete. In addition, system controller 110 and / or mobile device 190 may be configured to send the normal operating software to visible light sensor 180 after the configuration process is complete.
[0221] Rather than installing special configuration software onto visible light sensor 180 and then removing the special configuration software from the visible light sensor, a special configuration sensor (not shown) may be installed at the location of visible light sensor 180 (e.g., on or in place of visible light sensor 180) or within a predefined distance of the location of visible light sensor 180 during configuration of load control system 100. The configuration sensor may include the same camera and mechanical structure as visible light sensor 180. The configuration sensor may include a first communication circuit for sending and receiving RF signals 108 using, for example, a proprietary protocol, and a second communication circuit for sending and receiving RF signals 109 using, for example, a standard protocol. During the configuration process of load control system 100, the configuration sensor may be configured to record an image of the space and send the image to mobile device 190 (e.g., directly to a network device via RF signal 109 using a standard protocol). Mobile device 190 may display the image on a visual display, and a user may configure the operation of visible light sensor 180. For example, visible light sensor 180 and the configuration sensor may be mounted to a base portion that remains attached to a ceiling or wall so that the configuration sensor may be mounted in exactly the same location during configuration as the visible light sensor during normal operation.
[0222] The configuration sensor may then be uninstalled, and the visible light sensor 180 may be installed in its place for use during normal operation of the load control system 100. The visible light sensor 180 used during normal operation may not be capable of sending images via the RF signal 109 using a standard protocol. The visible light sensor 180 used during normal operation may only include communication circuitry for sending and receiving RF signals 108 using a proprietary protocol. After the visible light sensor 180 is installed, the mobile device 190 may send the configuration data to the system controller 110 via the RF signal 109 (e.g., using a standard protocol), and the system controller 110 may send the configuration data to the visible light sensor via the RF signal 108 (e.g., using a proprietary protocol). The visible light sensor 180 may store the configuration data in a memory of the sensor. During normal operation, the visible light sensor 180 may send an indication of the environmental characteristic sensed during normal operation via the RF signal 108 (e.g., using a proprietary protocol).
[0223] Visible light sensor 180 may include a removable configuration module for use during configuration of visible light sensor 180. Visible light sensor 180 may use the removable configuration module (e.g., USB) during configuration of visible light sensor 180 and may remove the removable configuration module for use in performing operation of a load-controlled device and performing sensor mode. Visible light sensor 180 may include a first installed (e.g., permanently installed) communication circuit for sending and receiving RF signals 108 (e.g., using a proprietary protocol). The removable configuration module may include a second communication circuit for sending and receiving RF signals 109 (e.g., using a standard protocol). When the configuration module is installed in visible light sensor 180 and the second communication circuit is electrically coupled to visible light sensor 180, visible light sensor 180 may record an image of room 102 and send the image to mobile device 190 (e.g., directly to a network device via RF signal 109 using a standard protocol). When the configuration module is still installed in visible light sensor 180, mobile device 190 may send configuration data to visible light sensor 180, and visible light sensor 180 may store the configuration data in memory. After configuring visible light sensor 180 (eg, during operation of visible light sensor 180), the configuration module may be removed from visible light sensor 180. With the configuration module removed, visible light sensor 180 may be unable to transmit images via RF signal 109 (eg, using a standard protocol).
[0224] Visible light sensor 180 may be configured to protect the privacy of user 192 by disabling the communication capabilities of visible light sensor 180. For example, visible light sensor 180 may be configured without network capabilities, such as without communication circuitry for sending and / or receiving digital signals. Visible light sensor 180 configured without network capabilities may not be able to send RF signal 108 (e.g., using a proprietary protocol), and visible light sensor 180 configured without network capabilities may not be able to send RF signal 109 (e.g., using a standard protocol). Visible light sensor 180 configured without network capabilities may not be able to send images of room 102 to devices external to visible light sensor 180.
[0225] When visible light sensor 180 is configured without network capability, visible light sensor 180 may be configured using a fully automated configuration process or manually configured using buttons on the visible light sensor. For example, visible light sensor 180 may include a visual display for displaying an image and allow configuration by user selection using buttons or portions of the visual display. When visible light sensor 180 performs normal operations without network capability, visible light sensor 180 may be directly connected to a load control device for the electrical load being controlled.
[0226] The visible light sensor 180 can be configured to protect the privacy of the user 192 using an integrated circuit (IC) during normal operation. The visible light sensor 180 can record an image of the room 102, and the IC can modify the image. For example, the IC can decimate the image so that one or more objects within the image are blurred and / or unrecognizable to the user 192. The IC can decimate the image by adding effects to the image, such as by adding roughness to the resolution of the image. The effects can be added to the image using layers and / or the effects can be added directly to the image. The roughness of the resolution can decimate the image so that the user 192 may not be able to discern one or more objects within the image. For example, the IC can decimate the image by converting the image to 16×16 pixels. The IC can be programmed to be unmodifiable and / or hacker-proof. For example, the IC can be an application-specific integrated circuit (ASIC) that is unmodifiable and / or hacker-proof.
[0227] The visible light sensor 180 can be used to configure (e.g., automatically configure) the load control system 100. The visible light sensor 180 can be used to configure the load control system 100 by determining which control devices may be located within the room 102. For example, during the configuration process of the load control system 100, the visible light sensor 180 can instruct the load control device to perform an identification function, such as blinking the lighting fixtures 172, 174, 176, 178 or changing their color, raising or lowering the covering material 152 of the motorized window treatment 150, blinking the lighting load in the floor lamp 142 via the plug-in load control device 140, blinking a visual indicator on one or more devices, etc. The visible light sensor 180 can be configured to detect identification features and determine the location of objects in the room 102.
[0228] Visible light sensor 180 may be configured to determine, from the visual appearance of the control devices as shown in the recorded image, that one or more control devices (e.g., a wall-mounted remote control device, a wall-mounted temperature control device 160, a wall-mounted speaker 146, etc.) are located in room 102. After determining the control devices located in room 102, visible light sensor 180 may receive unique identifiers (e.g., serial numbers) from the control devices and may generate (e.g., automatically generate) associations between the load control devices and input devices of the control devices located in the room, or in an area of interest within the room where the control devices are located.
[0229] Devices may be identified to define areas of interest within a room. Control devices may be associated with defined areas of interest and controlled according to their location within room 102. For example, computer monitor 166 may display an image or screen captured by an image generated by visible light sensor 180. The image or screen may be generated when a user actuates a button on keyboard 168 or mobile device 190. Visible light sensor 180 may recognize the image and define a computer monitor or a predefined area around the computer monitor (e.g., desk 106 or other predefined area) as a task area for the user.
[0230] Lighting fixtures 172, 174, 176, 178 may be turned on, off, or flashed, respectively, to identify the effect of lighting fixtures 172, 174, 176, 178 on the region of interest. When one of lighting fixtures 172, 174, 176, 178 is turned on and / or off, visible light sensor 180 may identify a difference in lighting intensity within the region of interest (e.g., by a predefined amount, such as moving the lighting intensity from one baseline interval to another baseline interval). When it is determined that lighting fixtures 172, 174, 176, 178 affect the region of interest, lighting fixtures 172, 174, 176, 178 may be associated with the region of interest to perform lighting control in the region of interest.
[0231] The visible light sensor 180 may be configured to identify one or more objects in the room 102, such as the door 105 and / or the window 104. The visible light sensor 180 may automatically identify objects (e.g., the door 105 and / or the window 104) within the room 102 based on a predefined size and / or shape of the object. The visible light sensor 180 may automatically identify objects within the room 102 based on a predefined location of the object. For example, the visible light sensor may automatically identify the door 105 based on the object in the room 102 being the size of a standard door and / or by the door 105 being located at a location within the room 102 where a door may be located. The visible light sensor 180 may be configured to mask one or more objects within the room 102 during configuration and / or control of the load control system 100. For example, when an object (e.g., the keyboard 168) is located on a task surface (e.g., the desk 106), a mask may be applied to the object. The object located on the task surface may be a mug, a stapler, etc. Multiple masks may be applied simultaneously. For example, when an object is located on a task surface (eg, desk 106), a first mask may be applied to the object on the task surface, while another mask may be applied to an area surrounding the task surface (eg, within a predefined distance).
[0232] Although functions may be described herein as being performed by a visible light sensor, the visible light sensor may record images and provide the images to a system controller to perform image analysis, control routines, and / or other functions described herein.
[0233] Figure 3 is a simplified block diagram of an example visible light sensor 300, which may be deployed as Figure 1 . The visible light sensor 180 of the load control system 100 shown in . The visible light sensor 300 may include a controller circuit 310, for example, a microprocessor, a programmable logic device (PLD), a microcontroller, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or any suitable processing device. The control circuit 310 may be coupled to a memory 312 for storing control parameters of the visible light sensor 300. The memory 312 may operate as an external integrated circuit (IC) or as an internal circuit of the control circuit 310. The memory 312 may have instructions stored thereon that, when executed by the control circuit 310, enable the visible light sensor 300 to perform the functions described herein.
[0234] The visible light sensor 300 may include a visible light sensing circuit 320 having an image recording circuit such as a camera 322. The camera 322 may be a removable configuration module, as described herein. The visible light sensor 300 may include an image processing circuit, such as an image processor 324. The image processor 324 may include a digital signal processor (DSP), a microprocessor, a programmable logic device (PLD), a microcontroller, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or any suitable processing device. The camera 322 may be positioned toward a space (e.g., into the room 102) where one or more environmental characteristics will be detected. The camera 322 may be configured to record an image that may be provided to the image processor 324. The image processor 324 may be configured to process the image and provide one or more signals representing the detected environmental characteristics (e.g., the occurrence of movement, the amount of movement, the direction of movement, the speed of movement, the number of users counted, the intensity of lighting, the color of light, the amount of direct sunlight penetration, etc.) to the control circuit 310. For example, the one or more signals provided to the control circuit 310 may represent movement in the space and / or a measured light level in the space. Image processor 324 may provide the entire image to control circuit 310 .
[0235] The visible light sensor 300 may include a first communication circuit 330 configured to send and receive digital messages via a first communication link using a first protocol. For example, the first communication link may include a wireless communication link, and the first communication circuit 330 may include an RF transceiver coupled to an antenna. In addition, or alternatively, the first communication link may include a wired digital communication link, and the first communication circuit 330 may include a wired communication circuit. The first protocol may include a proprietary protocol, such as a ClearConnect protocol. The control circuit 310 may be configured to send and / or receive digital messages via the first communication link during the operation of the visible light sensor 300. The control circuit 310 may be configured to send an indication of the detected environmental characteristics via the first communication link during the operation of the visible light sensor 300. For example, the control circuit 310 may be configured to send an indication of the detected state (e.g., occupied / vacant condition) and / or measured environmental characteristics (e.g., measured light level, color, etc.) via the first communication link during the operation of the visible light sensor 300.
[0236] The visible light sensor 300 may include a second communication circuit 332 configured to send and / or receive digital messages via a second communication link using a second protocol. For example, the second communication link may include a wireless communication link, and the second communication circuit 332 may include an RF transceiver coupled to an antenna. Additionally, or alternatively, the second communication link may include a wired digital communication link, and the second communication circuit 332 may include a wired communication circuit. The second protocol may include a standard protocol, such as a Wi-Fi protocol, The control circuit 310 may be configured to send and receive digital messages via the second communication link during configuration of the visible light sensor 300. For example, the control circuit 310 may be configured to send an image recorded by the camera 322 via the second communication link during configuration of the visible light sensor 300.
[0237] The visible light sensor 300 may include a compass (e.g., an electronic compass 334). The visible light sensor 300 may identify a direction using the electronic compass 334. For example, the visible light sensor 300 may use the electronic compass to identify the direction of one or more objects (e.g., the window 104, the door 105, etc.). The visible light sensor 300 may include a DC power supply voltage V for powering the control circuit 310, the memory 312, the image processor 324, the camera, the first communication circuit 330 and the second communication circuit 332, and other low voltage circuits of the visible light sensor 300. CCThe power supply 340 may include a power supply configured to receive an external power supply voltage from an external power supply (eg, an AC mains voltage power supply and / or an external DC power supply). In addition, the power supply 340 may include a battery for powering the circuit of the visible light sensor 300.
[0238] The visible light sensor 300 may further include a low power occupancy sensing circuit, such as a passive infrared (PIR) detector circuit 350 or a PIR detector circuit 350. The PIR detector circuit 350 may generate a PIR detection signal V in response to passive infrared energy detected in the space. PIR The control circuit 310 may be configured to detect an occupancy condition while saving energy. For example, when the power source 340 is a battery, the control circuit 310 may disable the light sensing circuit 320. The control circuit 310 may be configured to detect an occupancy condition while saving energy. For example, when the room 102 is vacant, the control circuit 310 may disable the light sensing circuit 320. The control circuit 310 may be configured to detect an occupancy condition while saving energy. PIR Detects occupancy conditions in the room 102 and can subsequently enable the visible light sensing circuit 320 to detect a sustained occupancy / vacancy condition. PIR After detecting the occupancy status in the room 102, the control circuit 310 can immediately enable the visible light sensing circuit 320. The control circuit 310 can also detect the occupancy status in the room 102 (for example, in response to the PIR detection signal V PIR ) and then keep the visible light sensing circuit 320 disabled. The control circuit 310 may keep disabling the visible light sensing circuit 320 until the PIR detection signal V PIR The control circuit 310 may not make a determination that the space is vacant until the visible light sensing circuit 320 subsequently indicates that the space is vacant.
[0239] Visible light sensor 300 may be configured in a manner that protects the privacy of occupants of the space. For example, control circuit 310 may execute special configuration software that allows control circuit 310 to send images recorded by camera 322 via the second communication link only during configuration of visible light sensor 300. The configuration software may be installed in memory 312 during manufacturing so that visible light sensor 300 is ready to be configured when it is powered on for the first time after installation. In addition, control circuit 310 may be configured to receive the configuration software via the first or second communication link and store the configuration software in memory during configuration of visible light sensor 300. Control circuit 310 may execute normal operating software after configuration of visible light sensor 300 is completed. The normal operating software may be installed in memory 312, or may be received via the first or second communication link during configuration of visible light sensor 300.
[0240] Second communication circuit 332 may be housed in a removable configuration module that may be installed in visible light sensor 320 only during configuration of the visible light sensor and electrically connected to control circuit 310. When the configuration module is installed in visible light sensor 300 and second communication circuit 332 is electrically coupled to control circuit 310, the control circuit may send images recorded by camera 322 via the second communication link. Control circuit 310 may then receive the configuration data via the first or second communication link and may store the configuration data in memory 312. The configuration module may then be removed from visible light sensor 300 so that control circuit 310 may then be unable to send images via the second communication link.
[0241] Additionally, during normal operation, visible light sensor 300 installed in the space may not include the second communication circuit, such that the visible light sensor is never able to send images via the second communication link. Visible light sensor 300 may be configured using a special configuration sensor that may have a second communication circuit. Figure 3 The control circuit 310 of the visible light sensor 300 may be configured to receive the configuration data via the first communication link and may store the configuration data in the memory 312.
[0242] Figure 4A and 4B4 shows a sequence diagram of an example control process 400, 400a for controlling a load control device 406 using a visible light sensor 402 (such as visible light sensor 180) as described herein. Figure 4A As shown, visible light sensor 402 can record an image at 410. Visible light sensor 402 can record one or more images including one or more unmasked regions of interest. Based on the recorded images, visible light sensor 402 can process the images at 412 to detect environmental characteristics of the one or more regions of interest (e.g., presence of sunlight on the user's task area, predefined lighting intensity at the user's task area, color temperature in the space, color temperature attenuation of one or more light sources, occupancy / vacancy status, etc.). The environmental characteristics can be detected by comparing the recorded images with a baseline image of the space. At 414, the visible light sensor can send the detected environmental characteristics to system controller 404.
[0243] The system controller 404 may determine, at 416, commands and / or load control devices 406 to be controlled based on the environmental characteristics detected in the image. The commands and / or load control devices 406 to be controlled may be associated with the detected environmental characteristics in a memory. The commands and / or load control devices 406 to be controlled may be system defined and / or user defined. User preference commands may be provided to the visible light sensor 402 to define user preferences for controlling the load control devices. The user preference commands may originate from a network device. The system controller 404 may send commands to the load control devices 406 in response to the features detected from the image at 418.
[0244] Figure 4A An example is shown in which the system controller 402 is implemented to determine commands and / or load control devices 406 to be controlled based on environmental characteristics detected in the image. The visible light sensor 402 itself may also or alternatively determine commands and / or load control devices 406 to be controlled based on environmental characteristics detected from the image. Figure 4B As shown, visible light sensor 402 can record an image at 420. Based on the recorded image, visible light sensor 402 can process the image at 422 to detect environmental characteristics (e.g., the presence of sunlight at the user's task area, predefined lighting intensity at the user's task area, color temperature in the space, color temperature attenuation of one or more light sources, occupancy / vacancy status, etc.). The environmental characteristics can be detected by comparing the recorded image with a baseline image of the space.
[0245] At 424, the visible light sensor 402 may determine a command and / or a load control device 406 to be controlled based on the environmental characteristics detected in the image. The command and / or the load control device 406 to be controlled may be associated with the detected environmental characteristics in the memory. The command and / or the load control device 406 to be controlled may be system defined and / or user defined. The visible light sensor 402 may send the command to the system controller 404 at 426 to be sent to the appropriate load control device 406 to be controlled in response to the detected environmental characteristics. The visible light sensor 402 may also or alternatively send the command to the load control device 406 at 428 in response to the features detected from the image. If the visible light sensor 402 sends the command directly to the load control device 406 at 428, the system controller 404 may hear the command and maintain the state of the load control device 406 in the memory. The visible light sensor 402 may continue to monitor the area of interest by recording the image, and may control the load control device based on the environmental characteristics in the space.
[0246] Figure 5 A flow chart of an example sensor event process 500 that may be performed by a sensor (e.g., visible light sensor 180, 300) is shown. The sensor event process 500 may be performed by a control circuit (e.g., control circuit 310) of a sensor to detect multiple environmental characteristics of a space (e.g., room 102 or room 200) step by step through sensor events. For example, the sensor event process 500 may begin at step 510 during normal operation of the sensor. At step 512, the control circuit may determine the next sensor event that may be stored in memory. For example, the first time the control circuit performs step 512, the control circuit may retrieve the first sensor event from memory. The control circuit may then retrieve an image from a camera and / or image processor (e.g., camera 322 and / or image processor 324) of the sensor at step 514. For example, the control circuit may retrieve a raw image (e.g., a frame acquisition from camera 322) or a pre-processed image (e.g., an image with a background subtracted).
[0247] At step 516, the control circuit may determine an algorithm for processing the image to detect environmental characteristics for the current sensor event. At step 518, the control circuit may determine control parameters to use when executing the algorithm for the current sensor event. At step 520, the control circuit may apply a mask (e.g., which may be stored in a memory for the current sensor event) to the image (e.g., which may be retrieved at step 514) to focus on one or more regions of interest in the image. The control circuit may then process the regions of interest of the image using the determined algorithm and control parameters for the current sensor event at step 522, and transmit the results at step 524 (e.g., via RF signal 108 using first communication circuit 330). If the control circuit should continue normal operation at step 526, the sensor event process 500 may loop to perform the next sensor event at steps 512-524. If the control circuit should stop normal operation at step 526 (e.g., in response to a user input to stop normal operation or other interruption of normal operation), the sensor event process 500 may exit.
[0248] Figure 6 A flow chart of an example occupancy / vacancy detection process 610 that may be performed by a sensor (e.g., visible light sensor 180, 300) to detect occupancy and / or vacancy sensor events or conditions in a space is shown. The occupancy / vacancy detection process 610 may be performed by a single device or distributed across multiple devices. The occupancy / vacancy detection process 610 may be performed by a control circuit of the sensor (e.g., control circuit 310) during an occupancy / vacancy sensor mode of the sensor for detecting occupancy / vacancy sensor events. Figure 6 As shown, the occupancy / vacancy detection process 610 can begin at 610. At 612, an image can be retrieved. The image can be a pre-recorded image retrieved from a memory, or an image recorded and retrieved from an image processor or camera. At 614, a background for the unmasked area can be established. The background can be a static image of the space. When a sensor captures an image of the space over a period of time, the background can be predefined or established. For example, a Gaussian mixture model can be used to establish the background over a period of time. The background can include objects within the image and static positions of objects over a period of time. At 616, a mask can be applied to the image so that masked portions of the image can be unprocessed.
[0249] A sensitivity level may be determined at 618 to process the image. The sensitivity level may be adjusted to prevent false triggers for occupancy based on smaller movements within the image. A higher sensitivity level may trigger an occupancy condition when smaller movements are identified in the image, while a lower sensitivity level may trigger an occupancy condition when larger movements are identified in the image. The sensitivity levels may be user configurable. The sensitivity level may be changed based on the region of interest. For example, a lower sensitivity level may be set when the region of interest is the entire room, while a higher sensitivity level may be set when the region of interest is located over an area of a user's desk (e.g., a keyboard, etc.) or other task areas within the room.
[0250] An image processing threshold may be set at 620 based on the determined sensitivity. The image processing threshold may be used to convert to a binary image. To create a binary image from gray levels, the gray level of each pixel (e.g., between white and black) may be compared to the image processing threshold to set the gray level pixel to a black or white pixel in the binary image based on the side of the color image processing threshold that the pixel is on. In an example, the image processing threshold may be set to 50% or a value of 128, and pixel color values above 128 may be set to white, while pixel color values equal to or below 128 may be set to black.
[0251] At 622, a difference between the background and the current frame can be determined. The difference can indicate a change in the position of one or more objects within the space. At 624, the difference between the background and the current frame can be converted into a binary image based on a processing threshold.
[0252] The binary image may include one or more binary large objects (BLOBs). At 626, the control circuit may apply a morphological operator to the BLOBs in the binary image. The morphological operator may include one or more of a closing operation and an opening operation. The closing operation may be an erosion operation followed by an expansion operation, while the opening operation may be an erosion operation followed by an expansion operation. The closing operation may fill in small gaps in the BLOB. The opening operation may exclude stray small BLOBs from the binary image. The closing operation and the opening operation together may improve jagged edges, fill in small gaps and remove small features of the BLOB. At 628, the control circuit may detect connected regions in the BLOB to define, for example, regions (e.g., different BLOBs) as independent BLOBs and regions as single BLOBs using a connected-component annotation algorithm. The connected-component annotation algorithm may identify and mark the separated BLOBs.
[0253] At 630, it may be determined whether the size of one or more BLOBs is greater than or equal to a predefined size threshold (e.g., a fixed detection threshold), which may indicate movement of an occupant of the space, thereby indicating an occupancy sensor event. If the size of one or more BLOBs is greater than or equal to the predefined size threshold (e.g., if occupancy has been determined), it may be determined at 632 whether the visible light sensor is operating in an occupied state. If the visible light sensor is not currently in an occupied state, the visible light sensor may change to operating in an occupied state at 634. After changing to the occupied state at 634, the visible light sensor may start a vacancy timer at 636 and send an occupancy message indicating that the space has been occupied at 638. If an occupancy condition determination is no longer being made at 630 (e.g., when the occupancy / vacancy detection process 610 is subsequently performed), the vacancy timer may run for a predetermined period of time before switching the visible light sensor back to the vacancy state. If the visible light sensor is currently operating in an occupied state, the visible light sensor may reset the vacancy timer at 640 and send an occupied digital message at 642 to indicate continued movement of an object in the space and that the space is still occupied. If the size of one or more of the BLOBs is less than a predefined size threshold at 630 (e.g., if vacant has been determined), the occupied / vacant detection process 610 can end (e.g., without resetting or stopping the vacancy timer and / or sending an occupied or vacant message).
[0254] Figure 7 is provided by visible light sensors such as Figure 1 The visible light sensor 180 and / or Figure 3 Flowchart of an example vacancy timer process 700 performed by visible light sensor 300 is shown in FIG. Control process 700 may operate during an occupancy / vacancy sensor mode of visible light sensor 180 , 300 .
[0255] When the vacancy timer expires at step 710, the vacancy timer process 700 can be periodically executed by the visible light sensor 300 control circuit 310. The control circuit 310 can change to an idle state at step 712 and send an idle message at step 714 (e.g., via the first communication link using a proprietary protocol). The vacancy timer process 700 can exit. When the visible light sensor is operated with an infrared (IR) sensor for detecting occupancy / vacancy, the control circuit 310 can disable the visible light sensing circuit 320 until the IR sensor detects the next occupancy. Although the vacancy timer process 700 is described as being operated by the visible light sensor, the vacancy timer process 700 or portions thereof can be operated by the system controller.
[0256] Figure 8A flow chart of an example baseline configuration process 800 for generating and storing a baseline (e.g., one or more baseline images and / or one or more baseline intensity levels) for a space (e.g., room 102) is shown. The baseline configuration process 800 can be performed by a sensor such as visible light sensor 180, 300. The baseline configuration process 800 can be performed by control circuitry of the sensor (e.g., control circuitry 310) during the configuration process to configure the operation of the sensor during a daylighting sensor mode. The baseline configuration process can be performed when daylight and / or ambient light are minimized in the space, such as at night, when covering material of a motorized window treatment in the space is in a fully closed position, and / or at another time when daylight and / or ambient light are minimized in the space.
[0257] The baseline configuration process 800 can begin at 810. The sensor can set the lighting intensity level to a starting lighting intensity level at 812. The starting lighting intensity level can be a minimum lighting intensity (e.g., approximately 1%), a maximum lighting intensity (e.g., approximately 100%), and / or a lighting intensity between the minimum intensity and the maximum intensity. The sensor can set the lighting intensity to the starting intensity level by adjusting (e.g., via control instructions) one or more lighting control devices (e.g., lighting fixtures 172, 174, 176, 178).
[0258] At step 814, the sensor may record an image. For example, the sensor may record one or more images of one or more areas of interest within a space (e.g., room 102). The sensor may store the recorded images as one or more baseline images at 816. The sensor may calculate a value that may represent, for example, an average light level in the baseline images that may be stored at 816 (e.g., Fig. 10A The calculated lighting intensity level may be set as a baseline lighting intensity level.
[0259] The sensor may record control settings of one or more control devices (e.g., lighting fixtures 172, 174, 176, 178; motorized window treatments 150, etc.) used when recording the baseline image and / or determining the baseline lighting intensity, and associate the control settings with the baseline lighting intensity image at step 818. For example, the sensor may associate a lighting fixture having a dimming level of 25% with the baseline lighting intensity in the recorded baseline image.
[0260] A similar process may be performed at different lighting intensity levels to store a baseline image and associated control settings for different lighting intensity levels. Thus, the sensor may start at a starting intensity level (e.g., 1% or 100%) and gradually (e.g., gradually) adjust the lighting intensity level by a predefined amount (e.g., 1%, 10%, 25%, 33%, etc.) to record and store the baseline and corresponding control settings. At 820, the sensor may determine whether the lighting intensity level is an ending lighting intensity level. For example, if the lighting intensity level is a 100% intensity level and the ending level is a maximum intensity (e.g., approximately 100%), the lighting intensity level and the ending lighting intensity level may be the same. If the lighting intensity level and the ending lighting intensity level are the same, process 800 may end. If the lighting intensity level and the ending lighting intensity level are different, the sensor may increase (e.g., gradually adjust) the lighting intensity level (e.g., the lighting intensity level within room 102) by a predefined amount at 822 and proceed to 812. After adjusting the lighting intensity level, process 800 can move to 814 and record an image with the adjusted lighting intensity level to store as a baseline image with associated control settings for the light source.
[0261] Fig.9A A flow chart of an example process 900 for determining the impact of light emitted by a lighting fixture on a sub-area of a space is shown. Process 900 can be performed by a sensor such as visible light sensor 180, 300. Process 900 can be performed by a control circuit of the sensor (e.g., control circuit 310) at a time when daylight and / or ambient light in the space is minimized, so that the contribution of artificial light emitted by the lighting fixture can be determined without being affected by the contribution of daylight and / or ambient light. Process 900 can be performed at night and / or when the covering material of a motorized window treatment in the space is in a closed state to prevent daylight from entering the space. Images stored during process 900 can be used during operation of the sensor's daylighting sensor mode.
[0262] Process 900 can start at 910. At 912, the next minimum controlled zone can be turned on. The minimum controlled zone can include one or more lighting loads that can be independently controlled (e.g., lighting fixtures 172, 174, 176, 178). For example, where each lighting fixture 172, 174, 176, 178 can be independently controlled, each minimum controlled zone can include a single lighting load, which means that the next lighting fixture can be turned on at 912. Each minimum controlled zone can have a single lighting load or multiple lighting loads. When the minimum controlled zone has multiple lighting loads, the areas can have the same number or different numbers of lighting loads. At 914, the sensor can record an image of the space. A daylighting mask can be applied to the image at 916. The daylighting mask can be applied to areas outside of task areas or other areas of interest, or to areas that are not affected by light emitted by the daylighting zone.
[0263] At 918, a subtraction process can be performed on the image to exclude bright spots and / or dark spots within the image. Bright spots and / or dark spots can indicate locations in the image where objects may be located (e.g., on a task area or other area of interest). Bright spots and / or dark spots can indicate locations in the image where reflected light may shine or shadows may be located. Objects in the image may not reflect light similarly to the rest of the space (e.g., the task area or other area of interest). The subtraction process can be performed on portions of the image that are above or below a predefined size (e.g., number of pixels) and / or contrast threshold. The subtraction process can be performed by subtracting portions of the image that are above a predefined brightness threshold and / or below a predefined darkness threshold. Instead of subtracting portions of the image, a mask can be applied to portions of the image that are above or below a predefined size (e.g., number of pixels) and / or contrast threshold.
[0264] If there are no objects in the image that produce bright and / or dark spots, the excluded bright and / or dark spots may be backfilled to simulate light emitted by one or more lighting loads turned on in the zone at 920. The excluded points may be backfilled by the average lighting intensity value of pixels near the points at 920. A nighttime image may be stored for the zone at 922 to identify the contribution of artificial light emitted by one or more lighting loads in the zone without being affected by the contribution of daylight and / or ambient light.
[0265] At 924, it can be determined whether additional zones are to be processed or updated. If additional zones are to be processed or updated, process 900 can return to 912 and the next smallest controlled zone can be turned on to record and process images while one or more lighting loads for that zone are turned on. If additional zones are not to be processed or updated, the light impact of each luminaire can be determined for each sub-area of the space (e.g., a task area or other area of interest). A sub-area can include a group of pixels identified within the image (e.g., within an unmasked area of the image).
[0266] The light impact of each lighting fixture in a sub-area (e.g., a task area or other area of interest) may be determined at 926 to understand the fixtures that have the greatest impact on the lighting intensity in each sub-area when turned on. At 926, the light impact of each device in a sub-area (e.g., a task area or other area of interest) may be determined using recorded images of each lighting fixture turned on in the space or one or more zones in the space and analyzing sub-areas of the images to identify the contribution of the lighting intensity reflected by the fixtures in the sub-areas. If there are more sub-areas (e.g., task areas or other areas of interest) to determine the light impact of each fixture at 928, the process 900 may return to 926 to determine the light impact of each fixture in the next sub-area. When the light impact of each sub-area (e.g., a task area or other area of interest) in the space has been determined, the fixtures may be ranked according to the impact of each sub-area at 930. The ranking may be used to understand that during the daylighting sensor mode, the fixtures are first controlled to have the greatest impact on the lighting level on the sub-areas in the space (e.g., in the task area or other area of interest), as shown in Figures 12a and 12b. Lighting fixtures that have the greatest impact on the lighting level of a sub-area may be controlled first to more quickly achieve a desired lighting level or uniform lighting level in the space (eg, over a task area or other area of interest).
[0267] Figure 9B-9E A collection of example night images 950a, 950b, 950c, 950d of a conference room is shown. The night images 950a, 950b, 950c, 950d have a mask 956 applied to the image, such as a daylighting mask, to mask a user task surface 952, such as an area outside a desk, so that analysis can be performed on the unmasked user task surface 952.
[0268] Each image 950a, 950b, 950c, 950d shows the lighting level contribution of a different lighting fixture while other lights in the conference room are not on or daylight is present in the room. Dark portions 954a, 954b, 954c, 954d represent portions of the corresponding image 950a, 950b, 950c, 950d having higher lighting intensities, which are caused by the lighting fixtures being turned on. The lighting fixtures in each image 950a, 950b, 950c, 950d may be turned on at full intensity (e.g., 100%). The night images 950a, 950b, 950c, 950d may be analyzed to identify the contribution of artificial light emitted by each lighting fixture without being affected by the contribution of daylight. If the user task surface 952 has four sub-areas (eg, one in each quadrant of the user task surface 952), the nighttime images 950a, 950b, 950c, 950d may be used to determine the impact of each lighting fixture on the corresponding sub-area.
[0269] Fig. 10A A flow chart of an example process 1000 for measuring and controlling lighting levels or daylighting lighting levels on task areas or other areas of interest in a space, such as room 102, is shown. Process 1000 may be performed by a visible light sensor, such as visible light sensor 180. Process 1000 may be performed by control circuitry of the sensor, such as control circuitry 310, during a daylighting sensor mode of the visible light sensor to control lighting loads for daylighting the space.
[0270] Process 1000 can begin at 1010. At 1012, an image of a task area or other area of interest can be retrieved. A previously captured image can be retrieved from a memory, or the image can be retrieved by capturing the image with a camera. A daylighting mask can be applied to the image at 1014. The daylighting mask can be applied to areas outside of the task area or other area of interest, and / or areas not affected by light emitted by the daylighting area.
[0271] At 1016, a subtraction process can be performed on the image to exclude bright spots and / or dark spots within the image. Bright spots and / or dark spots can represent locations in the image where objects may be located (e.g., on a task area or other area of interest). Objects in the image may not reflect light similarly to the rest of a similar space (e.g., a task area or other area of interest). The subtraction process can be performed by subtracting portions of the image that are above a predefined brightness threshold and / or below a predefined darkness threshold. If there are no objects in the image that produce bright spots and / or dark spots, the removed bright spots and / or dark spots can be backfilled at 1018 to simulate light emitted by one or more lighting loads in the area that is turned on. The removed points can be backfilled at 1018 by the average illumination intensity value of the pixels adjacent to the point.
[0272] Figures 10B-10D An image 1050a is shown for illustrating the subtraction and backfilling process. The image 1050a may have a mask 1056, such as a lighting mask, applied to the image to mask image areas outside of a user task surface 1052, such as a desk, so that analysis may be performed on the unmasked user task surface 1052. Figures 10B-10D As shown, artificial light may shine on the user task surface 1052 from a lighting device above the user task surface, and daylight may shine on the user task surface through the window 1054. The darker portion of the user task surface 1052 may represent an area of higher lighting levels on a side of the task surface 1052 that is closer to the window 1054, as shown in FIG. Figures 10B-10D shown.
[0273] like Fig. 10B As shown, task surface 1052 may include bright spots, such as bright spots 1060 represented as black spots, and dark spots, such as dark spots 1058 represented as white spots. Fig. 10C It is shown (for example, Fig. 10A ) is applied to Fig. 10B The result of the subtraction process of the bright spots 1060 and dark spots 1058 is shown in FIG. Fig. 10C As shown, the subtraction process can remove portions 1064 and 1062 that previously included bright spots 1060 and dark spots 1058, respectively. The removed portions 1062 and 1064 can be portions that are above a predefined brightness threshold and below a predefined darkness threshold. Fig. 10D It is shown (for example, Fig. 10A The image 1050a after the backfill process is performed) as shown in step 1018.
[0274] See again Fig. 10A , a baseline removal process can be performed at 1020. If the baseline removal process is performed, at 1020, process 1000 can calculate the daylight level. If the baseline removal process is not performed, at 1020, the process can calculate the total lighting level (e.g., daylight and artificial light) in the space. The baseline removal process can be performed to remove the portion of the artificial lighting intensity contributed by the lighting loads indicated in the baseline image, which can be an image taken at night or at another time when the artificial light in the space is not affected by daylight or other ambient light, depending on the baseline image and the currently retrieved image. The baseline image can reflect the baseline lighting intensity in the space when one or more lighting loads are turned on to their full potential (e.g., 100% intensity) or another control setting that is currently controlling the lighting loads. Removing the baseline lighting intensity from the current image can indicate the amount of natural light or ambient light added to the space.
[0275] Figures 10E-10GThe baseline processing (e.g., Fig. 10A As shown in step 1020). Fig.10E As shown, image 1050a may include a task surface with bright spots and dark spots removed (e.g., similar to Fig. 10D ). Fig.10F A baseline image 1050b is shown, which can represent the contribution of light emitted by the lighting fixture to the task surface 1052 when the lighting fixture is turned on at its current intensity. The baseline image 1050 can be obtained by turning on the lighting fixture to the current intensity (e.g., Figure 8 800) to record, or can be generated as Figure 9B-9E The combination of night images shown in Fig.9A During process 900) the maximum intensity is recorded and then scaled to the current intensity of the lighting fixture. Fig.10F In the example baseline image 1050b shown in FIG. 1 , the lighting fixtures may be turned on at the same intensity level, thereby creating a constant lighting level by the lighting devices across the task surface 1052 (eg, image 1050a appears as if it was taken at night with the current level of light). Figure 10G An image 1050a after baseline removal processing is shown (e.g., Fig. 10A 1020). Figure 10G The image 1050a shown in FIG. Fig.10E The image 1050a is deducted Fig.10F The results for the baseline image 1050b are shown in FIG. Figure 10G The image 1050a shown in FIG. 1050a may show a daylight contribution 1058 on the task surface 1052 , eg, with no artificial light contribution.
[0276] See again Fig. 10A , an average lighting level metric may be calculated over the unmasked area at 1022. The average light level metric may indicate a contribution to the total lighting intensity or total daylight contribution over the task area or other area of interest produced by the current control settings of the lighting control device and / or by any daylight or other ambient light. The calculated light level metric may be sent at 1024. When the light level metric is calculated at the visible light sensor, the light level metric may be sent from the visible light sensor to a system controller and / or one or more load control devices. When the light level metric is calculated at the system controller, the light level metric may be sent from the system controller to one or more load control devices. The light level metric may be used to increase or decrease the lighting intensity level of one or more lighting loads in the lighting fixtures to control the total lighting level over the task area or other area of interest. The lighting intensity level may be increased or decreased to achieve a target total lighting level over the task area or other area of interest.
[0277] When calculating the daylight illumination level (e.g., using the baseline removal process at step 1020), the visible light sensor can determine how much illumination intensity is produced from the lighting fixtures to achieve the target illumination level after deducting the daylight contribution. When calculating the total illumination level (e.g., without the baseline removal process at step 1020), the visible light sensor can determine how much illumination intensity is produced from the lighting fixtures to achieve the target illumination level.
[0278] Fig.11 A flow chart of another example process 1100 for measuring and controlling the overall lighting level (e.g., illuminance or brightness) over a task area or other area of interest in a space (e.g., room 102) is shown. Process 1100 may be performed by a visible light sensor such as visible light sensor 180. Process 1100 may be performed by control circuitry (e.g., control circuitry 310) of the sensor during a daylighting sensor mode of the sensor to control lighting loads for daylighting in the space.
[0279] Process 1100 may begin at 1110. An image of a task area or other area of interest may be retrieved at 1112. A previously captured image may be retrieved from a memory, or the image may be retrieved by capturing the image with a camera. A daylighting mask may be applied to the image at 1014. The daylighting mask may be applied to mask (e.g., exclude) areas outside of the task area or other area of interest, or areas not affected by light emitted by the daylighting area.
[0280] A subtraction process may be performed on the image at 1116 to remove bright spots and / or dark spots within the image. Bright spots and / or dark spots may represent locations in the image where an object may be located (e.g., on a task area or other area of interest). An object in an image may not reflect light similarly to the rest of a similar space (e.g., a task area or other area of interest). Bright spots and / or dark spots may represent locations in the image where reflected light may shine or shadows may be located. The subtraction process may be performed by subtracting portions of the image that are above a predefined brightness threshold and / or below a predefined darkness threshold. If there are no objects in the image that produce bright spots and / or dark spots, the removed bright spots and / or dark spots may be backfilled at 1118 to simulate light emitted by one or more lighting loads in the turned-on area. The removed points may be backfilled at 1118 by the average illumination intensity value of the pixels adjacent to the points.
[0281] An average light level metric may be calculated over the unmasked area at 1122. The average lighting level metric may indicate the contribution (e.g., brightness or illuminance) to the total lighting intensity at the task area or other area of interest produced by the current control settings of the lighting control device and / or any daylight or other ambient light. At 1124, it may be determined whether the calculated light level metric is within a predefined upper and / or lower limit. The predefined limits may be a preferred total lighting level for the task area or other area of interest. The preferred limits may depend on user preferences and / or the tasks performed in the task area or other area of interest. For example, an engineer may prefer a lighting intensity of 20 foot candles, while an average task worker may prefer a lighting intensity of 50 foot candles. After identifying one or more users within the space, the visible light sensor may define limits for the calculated light level metric. For example, the visible light sensor may identify from an image of the user, from a unique identifier of a network device used by a user in the room, an audio identifier, a login identifier, etc.
[0282] If the calculated lighting level metric is within the predefined limits, process 1100 can end. If the calculated light level metric is outside the predefined light predefined limits, the sensor can send one or more commands at 1126 to adjust the intensity level of the light source (e.g., lighting fixtures 172, 174, 176, 178). The sensor can continue to monitor the space during the adjustment, and process 1100 can return to 1112. When the calculated light level metric is identified as being within the predefined limits, the sensor can stop adjusting the lighting intensity level of the light source. The sensor can also or alternatively identify whether moving the covering material of the electric window treatment can increase or decrease the overall lighting level of the task area or other area of interest without generating undesirable daylight glare. If the covering material can be increased or decreased to change the overall lighting level of the task area or other area of interest without generating undesirable daylight glare, a command can be sent to the electric window treatment to affect the overall lighting level.
[0283] Fig. 12A and 12B A flow chart of an example process 1200 for controlling lighting fixtures to provide a uniform predefined light distribution over a task area or other area of interest is shown. Process 1200 can be performed by a visible light sensor such as visible light sensor 180. Process 1200 can be performed by a control circuit (e.g., control circuit 310) of a sensor during a daylighting sensor mode of the sensor to control a lighting load for daylighting in a space. The predefined light distribution can be a uniform light distribution to achieve a uniform light level across the task area, or a gradient distribution to achieve a varying light level across the task area (e.g., changing from a first target light level such as a measured daylight level to a second target light level such as a desired interior light level).
[0284] Process 1200 may start at 1210. At 1212, an image of a task area or other area of interest may be retrieved. A previously captured image may be retrieved from a memory, or the image may be retrieved by capturing the image with a camera. At 1214, a map (e.g., a target map) of the task area or other area of interest may be established. The map may define a target illumination level for each sub-region of an unmasked portion of the image, such as a task area or other area of interest. For example, the target map may define a uniform light distribution or a gradient distribution. The map may be defined as a target light distribution for the area of interest, which indicates target illumination levels for different sub-regions within the area of interest. The sub-regions may define regions (e.g., groups of one or more pixels) of the unmasked portion of the image that may be analyzed to achieve the target light level defined by the target map. For example, if the target map defines a uniform light distribution, the sub-regions may have the same target light level. If the target map defines a gradient distribution, the sub-regions may have different target illumination levels. The sub-regions may be as small as a pixel so that processing may be performed pixel by pixel. The sub-regions may also be groups of multiple pixels to save processing power. Each sub-region may include the same number of pixels or pixels within a predefined range of each other. Each sub-region may be distinct and not overlap with another sub-region.
[0285] The sub-regions may be established during a configuration process (e.g., using a network device such as mobile device 190). For example, an image may be displayed to a user on a network device, and the user may draw on the image of a task surface or other area of interest to establish each sub-region of the task surface during configuration of the sensor. The sub-regions may be established in a manner similar to the areas of interest. The user may also or alternatively select multiple sub-regions in the area of interest on the network device, and the network device and / or sensor may automatically divide the area of interest into the number of sub-regions. The area of interest may be automatically divided by detecting the sub-region with the closest light level.
[0286] If the target lighting level is uniform across the area of interest, the user can enter the desired target lighting level to be applied across the area of interest on the network device, which can be sent to the sensor. The user can also or alternatively specify a gradient across the area of interest and enter the lighting levels at each end of the gradient (e.g., the daylight lighting level measured near the window and the desired lighting level inside the space). When the user selects the endpoint lighting levels of the gradient, the visible light sensor can receive the endpoint lighting levels and automatically determine the target lighting level for each sub-area based on the input endpoint lighting levels. The sub-areas can be automatically divided by detecting the sub-area with the closest lighting level. The target lighting level for the gradient can be manually entered on the mobile device and sent to the visible light sensor. For example, a lighting designer may wish to be able to define sub-areas of the area of interest and / or enter a target lighting level for each sub-area.
[0287] Sub-areas and / or target lighting levels may be established (e.g., initially or updated) by a network device and / or a sensor that learns the sub-areas and / or target lighting levels. The network device and / or sensor may identify common areas of interest and / or sub-areas of areas of interest by analyzing images of occupants in the space. The network device and / or sensor may identify common lighting levels at task surfaces or sub-areas of task surfaces and automatically set the common lighting levels.
[0288] At 1216, a measured illumination level may be determined in each sub-region of the task area or other region of interest within the image. This may be done by a method similar to Fig. 10A The process 1000 shown in FIG. 1 determines the measured illumination level. To calculate the total light level in each sub-area at 1216, the Fig. 10A Alternatively, the daylight contribution in each sub-region may be determined at 1216, in which case a Fig. 10A At step 1020 of process 1000. A difference between a measured light level in each sub-region and a target light level for each sub-region may be determined at 1218. The difference may be calculated by subtracting the target illumination level from the measured illumination level in each sub-region. After calculating the difference, over-illuminated sub-regions are indicated by positive values. After calculating the difference, under-illuminated sub-regions are indicated by negative values. After calculating the difference, sub-regions having the target illumination level are represented by a value of 0. At 1222, each sub-region may be sorted based on a maximum difference between the measured illumination level and the target illumination level. The sorting may identify sub-regions having the greatest deficit in the total illumination level from the target illumination level (e.g., under-illuminated sub-regions). At 1224, the sub-regions may be sorted (e.g., based on the total illumination level). Fig.9AThe lighting fixture that has the greatest impact on the light level of the sub-area that is farthest from the target can be selected based on the ranking of the lighting fixtures calculated in . For example, the lighting fixture that has the greatest impact on the darkest sub-area of the task area can be selected.
[0289] At 1226, the visible light sensor may estimate the impact of the most influential luminaire selected at 1224 on the sub-area by mathematically adjusting the intensity level to obtain an estimated impact. The sensor may mathematically increase the intensity level of the most influential luminaire selected at 1224 on the sub-area by an increment (e.g., 1%, 5%, 10%, etc.). The mathematical increase may be performed by multiplying the baseline image of the selected luminaire by the dimming level of the luminaire. At 1226, the sensor may calculate an estimated illumination level for the sub-area after the intensity level of the selected luminaire has been increased by the increment to determine whether the target illumination level has been reached in the current sub-area (e.g., the sub-area having the largest deficit below the target light level). If it is determined at 1228 that the calculated illumination level in the current sub-area is not greater than or equal to the target illumination level, it may be determined at 1230 whether the currently selected luminaire is at full intensity. If the currently selected luminaire is not at full intensity, the visible light sensor may continue to mathematically increase the intensity level of the currently selected luminaire and calculate the estimated illumination level for the sub-area after the intensity level is increased until the target illumination level is reached or the currently selected luminaire is at full intensity.
[0290] If the sensor determines that the currently selected light fixture is at full lighting intensity, then at 1232, it may be possible (e.g., based on Fig.9A The lighting fixture with the next greatest impact on the lighting level of the sub-area is selected based on the ranking of the lighting fixtures calculated in Fig.9A The visible light sensor may determine the lighting fixture having the next greatest impact on the light level of the current sub-area from the fixtures determined in 1228. The intensity level of the next most influential fixture on the sub-area may be mathematically increased by an increment (e.g., 1%, 5%, 10%, etc.). Process 1200 may return to 1226, where the visible light sensor may calculate the illumination level of the sub-area after the intensity level of the selected fixture has been mathematically increased by the increment. The mathematical increase may be performed by multiplying the baseline image of the selected fixture by the dimming level of the fixture. The intensity level of the next most influential fixture on the sub-area may be mathematically increased until it is determined at 1228 that the calculated illumination level is greater than or equal to the target illumination level. When it is determined that the calculated illumination level is greater than or equal to the target illumination level, the visible light sensor may send a digital message to the lighting fixture with a control instruction for producing the calculated change.
[0291] At 1234, it can be determined whether the illumination level of each sub-area is greater than or equal to the target illumination level. If the illumination level of the sub-area is less than the target illumination level, the illumination level in each sub-area can be calculated at 1236 with the updated luminaire intensity level. Since the illumination level of the previously selected luminaire may affect the illumination levels of multiple sub-areas, the illumination level in each sub-area can be recalculated after attempting to increase the illumination level of a single sub-area. Process 1200 can proceed to 1220 to determine the difference between the updated luminaire intensity level and the target illumination level for each sub-area, and continue with steps 1222-1234 until the illumination level of each sub-area is greater than or equal to the target illumination level. The process can then proceed to Fig. 12B .
[0292] like Fig. 12B As shown, the lighting level in each sub-area can be calculated at 1238 with the current fixture intensity level. The lighting level in each sub-area can be analyzed to determine whether the lighting level in any sub-area is greater than an upper limit lighting level. The upper limit lighting level of the sub-area can be set to a target lighting level for the sub-area plus a predefined offset. If the lighting level of any sub-area is greater than or equal to the target plus the predefined offset at 1240, the lighting intensity level of the lighting fixture may be too bright and can be adjusted to be closer to the target lighting level. If it is determined at 1240 that the lighting level of each sub-area is above the target but less than the target plus the offset, the sensor can send one or more digital messages to the lighting fixture and / or system controller via a control instruction at 1256 to control the fixture to the determined intensity level.
[0293] If it is determined at 1240 that the illumination level of any sub-region is above the target plus a predefined offset, the difference between the calculated illumination level and the target illumination level for these sub-regions can be determined at 1242. The over-illuminated sub-regions can be sorted from the most over-illuminated sub-region to the least over-illuminated sub-region at 1244. The luminaire with the highest illumination intensity level that affects the illumination level of the sub-region can be selected for adjustment at 1246. A lower intensity level can be determined for the selected luminaire at 1248. The lower intensity level can be the lowest intensity level of the selected luminaire that does not cause any sub-region to fall below the target illumination level. The lower intensity level of the selected luminaire can be calculated as a percentage of the known amount of change for each sub-region based on the illumination distribution of the luminaires of the sub-regions and the percentage of the change in the intensity level of the selected luminaire. When the adjusted intensity level would cause the luminaire to turn off, it can be determined at 1250 whether the luminaire will turn off. If the lower illumination intensity level of the luminaire would cause the luminaire to turn off, the next highest luminaire above the target illumination level with the highest illumination intensity level that affects the illumination level of the sub-region can be selected for adjustment at 1252. At 1248, determining the minimum lighting intensity level for each selected light fixture may continue until it is determined at 1250 that the minimum lighting intensity level will not cause the selected light fixture to turn off.
[0294] After adjusting the lighting intensity level of at least one luminaire, it may be determined at 1254 whether there are additional sub-areas for which lighting levels should be calculated due to adjusting the luminaires. If there are additional sub-areas for which lighting levels should be calculated, process 1200 may return to 1238 to calculate lighting levels, and may continue to evaluate the sub-areas to determine at 1240 whether any sub-areas are above a target lighting level by an offset. The offset may be a tolerance level above the target lighting level. After calculating each sub-area after adjusting one or more luminaires and determining that it is above the target lighting level but below an upper target light level, at 1256 the sensor may send one or more digital messages to the lighting luminaires and / or the system controller via control instructions to control the luminaires to the determined intensity level.
[0295] Fig.13 A flow chart is shown of an example baseline configuration process 1300 that may be performed by a visible light sensor, such as visible light sensor 180. Baseline configuration process 1300 may be performed by a control circuit (e.g., control circuit 310) during a configuration process for configuring operation during a color sensor mode of the sensor.
[0296] The baseline configuration process 1300 can begin at 1310. The sensor can set the color temperature to a starting color temperature at 1312. The starting color temperature can be an extreme color temperature on the color spectrum (e.g., 2,000 Kelvin or 6,500 Kelvin on the black body curve). The sensor can set the color temperature to the starting color temperature by adjusting one or more lighting control devices (e.g., lighting fixtures 172, 174, 176, 178).
[0297] The sensor may record an image at 1314. For example, the visible light sensor may record one or more images including one or more regions of interest within the space. The sensor may store the recorded image as a baseline image at 1316. The color temperature presented within the image may be set as the baseline color temperature.
[0298] The sensor may record control settings of one or more control devices (e.g., lighting fixtures 172, 174, 176, 178, motorized window treatments 150, etc.) that exhibit the baseline color temperature. The sensor may associate the control settings with the baseline color temperature at step 1318. For example, the sensor may associate a lighting fixture that exhibits 4,500 Kelvin with the baseline color temperature.
[0299] The sensor may determine whether the color temperature is the end color temperature at 1320. For example, if the color temperature in the image is 4,500 Kelvin and the end color temperature is 4,500 Kelvin, the color temperature and the end color temperature may be the same.
[0300] A similar process may be performed at different color temperatures to store baseline images and associated control settings for different color temperatures. Similarly, the sensor may start with a starting color temperature (e.g., on a blackbody curve) and gradually adjust (e.g., by 1 Kelvin, 10 Kelvin, 50 Kelvin, 100 Kelvin, etc.) the color temperature by a predefined amount (e.g., along the blackbody curve) to record and store a baseline and corresponding control settings for each color temperature. If the color temperature and the ending color temperature are different, the sensor may move to 1322 and gradually adjust the color temperature (e.g., by a predefined amount along the blackbody curve). For example, the sensor may send a message to one or more lighting control devices to gradually adjust the color temperature to the ending color temperature. After adjusting the color temperature, the process may move to 1314 and record an image at the adjusted light color temperature. Process 1300 may continue until the ending color temperature is reached.
[0301] Fig.14A flow chart of an example process 1400 for controlling correlated color temperature (CTT) values based on an image is shown. The color temperature can be controlled to approximate the color temperature of a black body radiator, which most closely matches light from the sun for human color perception. Process 1400 can be performed by a visible light sensor such as visible light sensor 180. Process 1400 can be performed by control circuitry 310 of the sensor (e.g., control circuitry 310) during a color sensor mode of the sensor.
[0302] Process 1400 can begin at 1410. At 1412, an image of a task area or other area of interest can be retrieved. A previously captured image can be retrieved from a memory, or the image can be retrieved by capturing the image with a camera. A color control mask can be applied to the image at 1414. The color control mask can be applied to ignore portions of the image outside the area of interest having one or more known colors. For example, a color control mask can be applied to ignore areas outside a portion of the task area having a known color. The portion of the task area can include a color wheel or another object that can be identified in the image or in a predefined location (e.g., a piece of paper, a user's mobile device, a keyboard, a sensor, etc.).
[0303] The sensor may be configured to determine an RGB value for at least one pixel in the image at 1416. A camera on the visible light sensor may take R, G, and B readings per pixel. The R, G, and B readings may be included in the image data. The sensor may generate a high dynamic range (HDR) image or a low resolution image that includes different types of image data for processing.
[0304] In one example, an image may include a color wheel that may be configured to display one or more colors. The color wheel may include standard RGB colors. The sensor may use the color wheel to determine the RGB values. The sensor may be configured to record an image of the color wheel and use the color wheel to measure the color temperature of light emitted by one or more lighting fixtures (e.g., lighting fixtures 172, 174, 176, 178). The color on the color wheel may be identified in the reflected light in the generated spatial image. The relative difference in color temperature and the color on the color wheel may be identified in the reflected light captured in the generated image. The color temperature of the light in the space may cause the color detected by the sensor to shift from the color wheel. The sensor may calculate the shift of the color temperature from the known color on the color wheel. The shift may indicate the color temperature of the light in the space.
[0305] At 1418, CIE tristimulus values (XYZ) may be calculated from the RGB values. CIE coordinates (x, y) on a blackbody curve may be calculated from the CIE tristimulus XYZ values at 1420. The sensor may map the sensor response (RGB) to CIE tristimulus values (XYZ) to calculate chromaticity coordinates (x, y) and CCT. One or more equations may be used to map the RGB and XYZ values. For example, X may be calculated as (-0.14282)(R)+(1.54924)(G)+(-0.95641)(B); Y (e.g., illuminance) may be calculated as (-0.32466)(R)+(1.57837)(G)+(-0.73191)(B), and / or Z may be calculated as (-0.68202)(R)+(0.77073)(G)+(0.56332)(B). This example can vary based on other hardware on the camera and / or sensor. The color temperature present in a room can be based on one or more factors, including, for example, the presence and / or color of light emitting diodes (LEDs) that present a particular color, the age and / or operability of the LED light source, etc. The formula can be used Calculate the x coordinate of the CIE coordinate (x,y) from the CIE tristimulus XYZ value. You can use the formula The y coordinate of the CIE coordinate (x, y) is calculated from the CIE tristimulus XYZ value. At 1422, the CCT may be calculated from the CIE coordinate (x, y) using the McCamy formula. The calculated CCT value may be sent to a system controller or a lighting fixture to change the color temperature of light emitted by the lighting fixture. The system controller or load control device may generate a control instruction for changing the color temperature based on the calculated CCT value.
[0306] Fig.15 A flow diagram of an example glare detection and control process 1500 is shown. The glare detection and control process 1500 may be performed by a sensor, such as sensor 180. The glare detection and control process 1500 may operate during a daylight glare sensor mode of a sensor, such as sensor 180.
[0307] The glare detection and control process 1500 may begin at step 1510. At step 1512, the sensor may determine whether a glare condition is likely. For example, the sensor may determine whether a glare condition is likely based on the time of day, time of year, location of the building, orientation of windows, position of the sun in the sky, weather conditions, etc., which may be used to determine the intensity of sunlight in the space.
[0308] If it is determined at 1512 that a glare condition is not possible or will not occur, process 1500 can end. If it is determined that a glare condition is possible, process 1500 can move to step 1514 and the sensor can record an image. For example, the sensor can record one or more images including one or more areas of interest within the space.
[0309] At 1516, the sensor can analyze the image and identify the illumination intensity in one or more areas of the space. The sensor can analyze the image and identify the relative difference of the light in the space. For example, the sensor can determine whether two or more light intensities are presented in the space. Each illumination intensity can be determined by applying a corresponding mask or baseline to the region of interest. The two or more light intensities presented in the space can come from different sources or the same source. For example, the illumination intensity can be related to sunlight or ambient light presented in the space and / or the illumination intensity can be related to artificial light presented in the space. Sunlight can enter the space from the window, and artificial light can be presented in space lighting fixtures such as lighting fixtures 172, 174, 176, 178. The sensor can analyze the light intensity and identify whether the light intensity is sunlight or artificial light. For example, if the illumination intensity is presented within a predefined distance from the window, the sensor can identify the illumination intensity as sunlight. If the illumination intensity is artificial light at 1518, process 1518 can end. If the illumination intensity is sunlight provided from the window direction, process 1500 can move to 1520.
[0310] At 1520, the sensor may determine whether one or more light intensities (e.g., the illumination intensity associated with the sunlight provided by the window) exceed a daylight glare threshold. The daylight glare threshold may be a preferred daylight glare threshold provided by a user. The daylight glare threshold may be a recommended daylight glare threshold provided by a lighting manufacturer or lighting designer. A local measurement of the illumination intensity (e.g., illuminance) may provide a measure of the illumination intensity to determine whether it is glare. For example, a pixel area measure of illuminance may provide a measure of the illumination intensity to determine whether it is glare. If the illumination intensity associated with the sunlight fails to exceed the daylight glare threshold, process 1500 may end. If the illumination intensity associated with the sunlight does exceed the daylight glare threshold, the sensor may determine one or more regions of interest reached by the sunlight. For example, at 1522, the sensor may determine whether the sunlight reaches an area around (e.g., within a predefined distance) a user task area and / or a user task area (e.g., a predefined area around a desk 106, a monitor 166, a user 192).
[0311] If the sunlight fails to reach the task area, process 1500 can end. However, if the sunlight does reach the task area, the covering material of each electric window treatment in the adjustment can be adjusted. For example, the sensor can send an indication of solar glare at 1524. The sensor can send an indication of sunlight glare to the system controller or directly to the electric window treatment. The system controller can send an indication of sunlight glare or a control instruction for moving the covering material to the control instruction of the electric window treatment. The electric window treatment can adjust the covering material in response to the indication or control instruction so that the sunlight cannot reach the task area or the area around the task surface (e.g., within a predefined distance thereof). The covering material of each electric window treatment can be adjusted by a predefined amount (e.g., 10%, 30%, 60%, 90%, etc.) and / or the covering material of the electric window treatment is adjusted using the amount of sunlight allowed by the covering material of each electric window treatment. For example, the sensor can continuously send messages to adjust the covering material of each electric window treatment until it is identified in the generated image that the sunlight fails to reach or fails to reach a predefined distance from the task area. After the window treatment is appropriately adjusted, process 1500 can end.
[0312] Although steps may be described herein as being performed by sensors, the sensors may record the images and provide the images to a system controller to perform the image analysis, control processes, and / or other functions described herein.
[0313] like Fig.15 The sensor may be configured to identify whether one or more light intensities are sunlight or artificial light. For example, the sensor may determine that the lighting intensity is sunlight based on the lighting intensity being presented within a predefined distance of the window. The sensor may determine that the lighting intensity is artificial light based on the lighting intensity being presented outside the predefined distance of the window. However, the sensor may determine the sunlight glare condition in one or more additional ways. For example, the sensor may determine the sunlight glare condition using a baseline image captured by the sensor.
[0314] Fig.16 A flow chart of an example glare detection and control process 1600 that may be performed to detect and control glare within a space (e.g., room 102) is shown. Glare detection and control process 1600 may be performed by a sensor such as sensor 180. Glare detection and control process 1600 may be performed by control circuitry of the sensor (e.g., control circuitry 310) during a daylight glare sensor mode of the sensor.
[0315] The glare detection and control process 1600 may begin at step 1610. The glare detection and control process 1600 may determine one or more light intensities (e.g., sunlight intensities, such as a glare condition) within a space (e.g., room 102). At 1612, the sensor may determine whether a glare condition is likely. For example, the sensor may determine whether a glare condition is likely based on the time of day, time of year, location of the building, orientation of the window, position of the sun in the sky, weather conditions, etc., used to determine the sunlight intensity in the room.
[0316] If it is determined at 1612 that a glare condition is not possible or will not occur, process 1600 can end. If it is determined that a glare condition is possible, process 1600 can move to 1614 and the sensor can record an image. For example, the sensor can record one or more images of one or more areas of interest within a room.
[0317] At 1616, the sensor can analyze the image and identify the lighting intensity in the room (e.g., sunlight intensity, such as a glare condition). The sensor can identify a baseline lighting intensity (e.g., sunlight intensity, such as a glare condition). The baseline lighting intensity of the room can include a recorded image of the room, wherein the amount of sunlight can be zero sunlight, full sunlight, and / or can fall into multiple intervals between zero sunlight and full sunlight. For example, the sensor can determine a baseline with zero sunlight by recording an image of the room when there is no sunlight (e.g., at night). The sensor can determine a baseline with zero sunlight by recording an image when the covering material of the electric window treatment is in a fully closed state. The sensor can determine a baseline with full sunlight by recording an image of the room at a time of the day when the sunlight is predicted to be at full potential and when the covering material of the electric window treatment is in an open state.
[0318] The sensor can be configured to determine a baseline interval of sunlight in a room (e.g., 10%, 20%, 30%, etc.). For example, one or more positions of the covering material of the electric window treatment can be used to provide a baseline interval of sunlight in the room. In addition, or alternatively, a combination of one or more environmental characteristics that may affect the presence of sunlight (e.g., time of day, time of year, weather, position of the sun, direction of the window, location of the building, location of the room in the building, etc.) can be used to provide a baseline interval of sunlight in the room. For example, a baseline interval can be provided in the room at a time of the day when the sun is predicted to provide full sunlight and / or the covering material of the electric window treatment is opened by a predefined amount. The sensor can record one or more images of the room during times of different sunlight intensities and / or based on the level of opening different amounts of the covering material of the electric window treatment (e.g., opened to 10%, 30%, 50%, 70%, or 90% capacity).
[0319] At 1618, the sensor can determine whether the lighting intensity in the room is greater than a predefined lighting intensity. The predefined lighting intensity can be a baseline lighting intensity and / or another lighting intensity, such as a lighting intensity defined by a daylight glare threshold. If the lighting intensity in the room is less than or equal to the predefined lighting intensity, process 1600 can end. If the lighting intensity in the room is greater than the predefined lighting intensity (e.g., the baseline lighting intensity and / or the daylight glare threshold), the sensor can adjust the covering material of each electric window treatment at 1620. The window treatment can be adjusted by sending a digital message to the electric window treatment.
[0320] The sensor can adjust the covering material of each electric window treatment so that the lighting intensity (e.g., sunlight intensity) present in the room is equal to or similar to the lighting intensity of the predefined lighting intensity. The sensor can adjust the covering material of each electric window treatment to a setting of the covering material of each electric window treatment that records the predefined (e.g., baseline) lighting intensity. When adjusting the covering material of each electric window treatment to achieve the baseline lighting intensity, the sensor can take into account one or more secondary considerations (e.g., time of day, time of year, location of the building, orientation of the window, position of the sun in the sky, weather conditions, etc.).
[0321] At 1622, the sensor can determine whether sunlight is present above or within a predefined distance of a task area (e.g., a desk 106, a monitor 166, a predefined area around a user 192, etc.). If sunlight is not present above or within the predefined distance of the task area, process 1600 can end. However, if sunlight is present above or within the predefined distance of the task area, the covering material of each electric window treatment can be adjusted at 1620. For example, the sensor can adjust the covering material of each electric window treatment so that sunlight is not present above or within the predefined distance of the task area. The covering material of each electric window treatment can be adjusted by a predefined amount (e.g., 10%, 30%, 60%, 90%, etc.). The covering material of each electric window treatment can be adjusted based on the amount of daylight allowed by the covering material of each electric window treatment. For example, if sunlight is present above or within the predefined distance of the task area at 1622, the sensor can continuously adjust the covering material of each electric window treatment at 1620 until sunlight is not present above or within the predefined distance of the task area.
[0322] Fig.17A flow chart of an example configuration process 1700 that may be performed to configure a sensor (e.g., a visible light sensor) for operation is shown. Configuration process 1700 may be performed using configuration software that may be executed on one or more devices. Configuration process 1700 may be performed by a sensor such as visible light sensor 180, a system controller such as system controller 110, and / or a network device such as mobile device 190.
[0323] like Fig.17 As shown, the configuration process 1700 may begin at 1710. The sensor may record an image of the space at 1712. At 1714, the image may be received via a network device such as Figure 1 A graphical user interface (GUI) on a visual display of the mobile device 190 shown displays image data. A sensor, a system controller, or a network device may receive a recorded image of a space and generate image data from the recorded image. The image data may be associated with pixel data (e.g., having a red value, a green value, and a blue value). For example, the image data may be processed to indicate an object identified in the image data. At 1716, the network device may receive a user selection of a control strategy. The control strategy may be configured to perform control of one or more load control devices (e.g., generate control instructions) based on detected environmental characteristics when the sensor is operating in sensor mode. For example, a control strategy may be executed to control one or more load control devices in response to detecting a daylight sensor event, a daylight glare sensor event, an occupancy / vacancy sensor event, a color temperature sensor event, lighting intensity, or other environmental characteristics within the space during sensor mode.
[0324] At 1718, the network device may receive control parameters for the selected control strategy. For example, the network device may receive a user selection indicating a sensitivity (e.g., high, medium, or low) for detecting occupancy / vacancy sensor events during occupancy / vacancy sensor mode, a timeout for a vacancy timer, a target lighting level, a type of target lighting level control (e.g., Fig. 12A and 12B The control parameters may also or alternatively include preferred lighting intensity parameters, daylight glare parameters, color temperature parameters, etc.
[0325] At 1720, the network device may receive indications of user-defined areas of interest or disinterest for the selected control strategy. The network device may receive user-selected areas of interest that will not be masked or areas of disinterest that will be masked for the control strategy. For example, user-selected areas of interest for occupancy / vacancy control may include areas around a user's task area, a user's chair, a user's keyboard, etc. User-selected areas of disinterest for occupancy / vacancy control may include areas around doorways or windows, computer monitors, television screens, or other areas of disinterest, such that any movement detected within these areas of disinterest will not affect occupancy / vacancy control of the load control device.
[0326] A user may define a control strategy via a network device (e.g., mobile device 190). For example, a user may identify environmental characteristics that may be detected for performing load control according to one or more control strategies. The network device may list a variety of control strategies, such as common room occupancy sensing control, keyboard occupancy sensing control, task surface lighting level control, or sunlight penetration control. The network device may determine (e.g., automatically determine) based on the user's identification, sensor mode (e.g., occupancy sensor mode), and / or control parameters (e.g., high sensitivity) for the identified control strategy.
[0327] At 1722, it may be determined whether the configuration of the control strategy is complete. For example, the user may be asked by configuration software on the network device whether the configuration is complete. If the configuration is not complete, the configuration process 1700 may return to 1716, and the user may select a control strategy for configuration. If it is determined at 1722 that the configuration is complete, the configuration data may be sent to the appropriate device at 1724. The configuration data may include control parameters and / or areas of interest / no interest in the control strategy. The configuration data may be sent to a sensor, on which control instructions may be generated in response to an image recorded by the sensor. The sensor may be configured at 1726 to perform according to the configuration data during normal operation. For example, when operating to perform load control based on a selected control strategy, the sensor may be configured by the selected control parameters and / or a user-defined mask.
[0328] Since the sensor can be installed at a location where the sensor can record images of the space, the sensor can operate in a way that protects the privacy of users in the space. For example, the sensor can be configured to protect the privacy of space users via software, removable modules, special sensors, and / or communications on different communication links during the configuration and operation of the load control system. Configuration software that can be implemented during process 1700 can be used in a way that protects the privacy of space users. The configuration software can enable the sensor to communicate on a wired communication link, or a wireless communication link different from the sensor can operate during operation. When the configuration of the sensor is completed, the configuration software can be uninstalled from the sensor so that when the configuration of the sensor is completed, the sensor can leave the configuration mode and move to the operating mode of the sensor to identify images and send messages for load control. During the operation of the sensor, operating software can be installed by the sensor. The operating software can include an operating mode for identifying images and sending messages for load control. When the configuration software is installed, the operating software can prevent the sending of actual images or other image data that may be sent from the sensor. If the sensor is able to send images or other image data during operation, the sensor can use a wired or wireless communication link different from the communication link used for configuration.
[0329] During configuration of the sensor, the configuration module may be coupled to (eg, installed in) the sensor, which allows the sensor to send images or other image data. When the configuration module is installed in the sensor, the control circuit 310 ( Fig.13 ) can transmit images or other image data recorded by a camera such as camera 322 via a communication link. The module can have wired and / or wireless functionality. The sensor can include communication circuitry for sending and / or receiving RF signals 108 (e.g., using a proprietary protocol). The configuration module can include communication circuitry for sending and / or receiving RF signals 109 (e.g., using a standard protocol). When the configuration module is installed in the sensor and the communication circuitry of the configuration module is electrically coupled to the sensor, the sensor can record an image of the space and send the image or other image data to a system controller or network device. When the configuration module is installed in the sensor, the network device or system controller can send the configuration data to the sensor, and the sensor can store the configuration data in a memory. After configuring the sensor (e.g., during operation of the sensor for load control), the configuration module can be removed from the sensor, resulting in the sensor being unable to send images or other image data. By removing the configuration module, the sensor may be unable to send images or image data. If the sensor is able to send images or other image data during operation, the sensor may use a wired or wireless communication link different from the communication link used for configuration.
[0330] Another way to protect user privacy may be to use a special configuration sensor. The configuration sensor may be mounted on or at the same location as the sensor and may send an image of the room. The configuration sensor may have the same or similar structure as the sensor. The configuration sensor may be configured to record an image using a camera. The configuration sensor may send image data (e.g., an image or other image data) to a system controller and / or a network device. The configuration sensor may communicate over a communication link different from the sensor. Configuration data generated by the image data may be sent to the sensor. The configuration sensor may be uninstalled after the configuration sensor is configured. For example, when the configuration of the sensor is completed, the sensor may leave the configuration mode and move to the operating mode of the sensor. Using the configuration data generated by the image or other image data from the space, a visible light sensor may be installed in place of the configuration sensor for use during operation. The visible light sensor may not be able to send images or other image data after being installed in place of the configuration sensor or after the configuration sensor is removed. If the visible light sensor is able to send images or other image data during operation, the visible light sensor may use a wired or wireless communication link different from the communication link used for configuration.
[0331] Fig.18 A flow chart of an example configuration process 1800 that may be performed to configure a sensor (e.g., a visible light sensor) for operation is shown. Configuration process 1800 may be performed using configuration software, which may be executed on one or more devices. Configuration process 1800 may be performed by a visible light sensor such as visible light sensor 180 or 300, a system controller such as system controller 110, and / or a network device such as mobile device 190.
[0332] like Fig.18 As shown, the configuration process 1800 can begin at 1810. At 1812, an application can be opened on a network device. At 1814, a room identifier can be input and received by the network device. For example, a user can enter a room identifier, such as an identifier for a living room, a conference room, a hotel room, etc. When the room identifiers are stored to configure spaces in a room, the configuration of the space with a given room identifier can be used as a template (e.g., a configuration template) for configuring visible light sensors and / or load control within similar spaces. The configuration template can be copied and applied to other spaces to perform load control. The configuration template can include similar masks, regions of interest, control strategies, etc.
[0333] At 1816, the network device may receive a user selection of a control policy. A control policy may be defined for a sensor mode for controlling one or more load control devices in response to detecting one or more sensor events. For example, a control policy may include controlling one or more load control devices in response to daylight, daylight glare, occupancy / vacancy, color temperature, lighting intensity, or other environmental characteristics within a space.
[0334] At 1818, the network device may receive control parameters for the selected control strategy. For example, the network device may receive a user selection indicating a sensitivity (e.g., high, medium, or low) for detecting occupancy / vacancy conditions during occupancy sensing, a timeout for a vacancy timer, and / or other control parameters for performing control of the visible light sensor and / or one or more load control devices. The control parameters may also or alternatively include a preferred lighting intensity parameter, a daylight glare parameter, a color temperature parameter, and the like.
[0335] The network device may receive a selection from a user of an object type being identified for configuration at 1820. For example, the object type may be a user task area (e.g., a desk), a door, a window, or another object type for identification in an image during operation of the visible light sensor. At 1822, the network device may send configuration data, which may include control policies, control parameters, and / or the selected object type for definition. The configuration data may be sent to the visible light sensor.
[0336] The network device can be used to identify objects within the space. The identified objects can be used to mask areas of the space or detect other environmental characteristics within the space to perform load control. At 1824, it can be determined whether the user will define the boundaries of the selected object type by tracking the boundaries of the object. If the user does not track the boundaries of the object within the image, the user can define the selected type of object in the room in other ways. For example, at 1826, the user can place a network device (e.g., a mobile phone, a tablet, etc.) or other predefined object identifier on the selected type of object in the space. The visible light sensor can record an image of the network device on the selected type of object in the space. At 1828, the visible light sensor can determine and store the boundaries of the object where the network device is located within the image. The network device can be a predefined object identifier because it can be stored in the memory of the visible light sensor as an object for identifying other objects in the image. The boundaries of the object in the image can be determined by locating the boundaries of the next largest object where the network device resides in the image (e.g., a predefined time period). Although the network device can be described as being used to identify the boundaries of the selected object type, another type of object can be similarly identified within the image and used to identify the boundaries of another object within the image.
[0337] If the user wants to track the boundaries of an object within the image, then at 1824, the user can use an identification device (e.g., a finger, a laser pointer, a network device, etc.) to track the boundaries of the object. The visible light sensor can record an image of the user tracking the boundaries of the object using the identification device in the space, and identify the boundaries of the object being tracked within the image. For example, the user can use the user's network device (e.g., a mobile phone) that can be identified by the visible light sensor as having the boundaries of an object of the selected type to track the edge of a task area (e.g., a desk) or a doorway. The boundaries of the object can be stored at 1832.
[0338] At 1834, it may be determined whether the configuration in process 1800 is complete. For example, the user may be asked by configuration software on the network device whether the identification of objects for the selected control strategy is complete. If the configuration in process 1800 is not complete, the configuration process 1800 may return to 1816 and the user may select a control strategy for configuration. If it is determined that the configuration in process 1800 is complete, at 1834, the visible light sensor may be configured to operate normally at 1836. For example, configuration data including the boundaries of an object is defined in the configuration process 1800. The visible light sensor may use the boundaries of the object defined in the space to define a mask or identify environmental characteristics for performing load control.
[0339] An indication of a user's selection may be sent to the visible light sensor, and upon sending the indication, the visible light sensor may be configured to operate in response to the image recorded thereon. During configuration, the visible light sensor may be prevented from sending images to perform the configuration. This may protect the privacy of occupants within the space.
[0340] Fig.19 A flow chart of an example configuration process 1900 that may be performed to automatically configure a sensor (e.g., a visible light sensor) to operate is shown. Automatic configuration process 1900 may be performed using configuration software that may be executed on one or more devices. Automatic configuration process 1900 may be performed by a visible light sensor such as visible light sensor 180 or 300, a system controller such as system controller 110, and / or a network device such as mobile device 190.
[0341] like Fig.19 As shown, configuration process 1900 may begin at 1910. At 1912, an image may be recorded by a visible light sensor. At 1914, the image may be processed by the visible light sensor to find an object. The object may be predefined in size and / or shape. The object may have been previously defined (e.g., using Fig.18The configuration process 1800 in , or otherwise defined by the system). The object may have moved within the space, and the image may be processed to identify the object with the same boundaries in the changed position. The image may be processed to identify the presence of an object that was not previously present, or the absence of an object that was previously present.
[0342] At 1916, the image may be processed to determine the location and type of objects in the space. Control strategies and control parameters may be determined at 1918 based on the determined object types. For example, identification of a desk may indicate daylighting or glare control based on the location of a user task area, identification of a window may indicate glare control, and / or other predefined objects may be identified to indicate other types of control strategies. At 1920, the location and type of the object may be used to identify areas of interest or disinterest. For example, when a desk is identified, a mask may be applied to the rest of the room, or outside a predefined distance of the desk, to define an area of interest for detecting daylight or daylight glare. If multiple control strategies are determined for the same object, multiple masks may be applied to the same object. For example, when an area within or around a desk is used to detect occupancy / vacancy, a mask may be applied to the rest of the room, outside a predefined distance of the desk, or within a predefined space on the desk to define an area of interest for detecting occupancy / vacancy.
[0343] A determination may be made as to whether a mask already exists for the identified object at 1922. If a mask does not yet exist for the object, a mask may be created based on the identified position of the object in space at 1924. If a mask already exists for the object, the existing mask may be updated based on the identified position of the object (e.g., a change in the position of the object) at 1926.
[0344] Configuration data may be stored at 1928. The configuration data may include control strategies, control parameters, object types, object locations, areas of interest / no interest, any masks, and / or other configuration data. At 1930, it may be determined whether additional control options will be determined for the object. For example, if there is a task surface identified in the image, the visible light sensor may automatically configure an occupancy / vacancy sensing operation around the task surface. If there are more control options to configure at the task surface at 1930, the visible light sensor may automatically configure those other control options (e.g., daylighting operations, daylight glare control to prevent glare on the task surface, etc.). The configuration process may have multiple control options stored for a given object identified in the image. If there are no additional control options to be determined for the object, it may be determined at 1932 whether more objects are found in the image. If other objects have been found, process 1900 may return to 1916 to process the image to determine the location and type of the next object. Otherwise, process 1900 may end.
[0345] Fig. 20 A flow chart of an example zone configuration process 2000 that may be performed to configure one or more zones within a space is shown. The zone configuration process 2000 may be performed using configuration software that may be executed on one or more devices. The zone configuration process 2000 may be performed by a sensor (e.g., a visible light sensor such as visible light sensor 180), a system controller (e.g., system controller 110), and / or a network device (e.g., mobile device 190).
[0346] like Fig. 20 As shown, the zone configuration process 2000 can begin at 2010. At 2012, an image can be recorded by a visible light sensor. The image can be sent to a system controller for processing, or processed locally by the visible light sensor. The image can be processed at 2014 to find objects. The night image can be processed at 2016 to identify the lighting type and location. The lighting type can include functional lights and / or decorative lights. The functional lights can be downlights. The decorative lights can be wall washers, wall lights, and / or other decorative lights. The lighting type can be identified by the location of the light source, the location of the light output in the space, and / or the lighting pattern output by the light source.
[0347] At 2018, it can be determined whether the lighting is decorative lighting. If in 2018, the lighting fixtures include decorative lighting fixtures, the decorative lighting fixtures can be grouped by location. For example, if there are multiple decorative lights along one wall and multiple decorative lights along another wall, the decorative lights on each wall can be divided into two different zones, each zone including decorative lights located on the corresponding wall. In another example, decorative lights in a cabin in a room can be included in a group separate from other decorative lights in the room, such as wall washers. Groups can include decorative lighting fixtures on the same wall, decorative lighting fixtures in a space, decorative lighting fixtures within a predefined distance from each other, and the like. At 2022, lighting zones can be created for controlling the decorative lighting fixtures in each group. The lighting zones can be included in the configuration data stored in the visible light sensor to perform load control.
[0348] A determination may be made as to whether a window is identified in the space at 2024. If a window is identified in the space at 2024, lighting fixtures (e.g., functional and / or decorative lighting fixtures) within a predetermined distance from the window may be identified at 2026. The lighting fixtures within the predetermined distance from the window may be included in the daylighting zone created at 2028. The daylighting zone may be included in configuration data stored at the visible light sensor to perform load control.
[0349] At 2030, it may be determined whether a demonstration area is identified in the space. If a demonstration area is identified in the space at 2030, lighting fixtures (e.g., functional and / or decorative lighting fixtures) that illuminate the demonstration area may be identified at 2032. The lighting fixtures of the identified demonstration area may be included in the controlled zone created at 2034. The controlled zone may be included in the configuration data stored in the visible light sensor to perform load control.
[0350] Fig.21 2100 as described herein. For example, the network device 1800 may be a mobile device 190, such as Figure 1 As shown. The network device 2100 may include a control circuit 2102 for controlling the functions of the network device 2100, and the control circuit 2102 may include one or more general-purpose processors, special-purpose processors, traditional processors, digital signal processors (DSPs), microprocessors, integrated circuits, programmable logic devices (PLDs), application-specific integrated circuits (ASICs), etc. The control circuit 2102 may perform signal encoding, data processing, power control, image processing, input / output processing, and / or any other functions that enable the network device 2100 to perform as described herein.
[0351] The control circuit 2102 may store information in and / or retrieve information from the memory 2104. The memory 2104 may include non-removable memory and / or removable memory. The non-removable memory may include a random access memory (RAM), a read-only memory (ROM), a hard disk, or any other type of non-removable memory. The removable memory may include a subscriber identity module (SIM) card, a memory stick, a memory card, or any other type of removable memory.
[0352] The network device 2100 may include a communication circuit 2108 for sending and / or receiving information. The communication circuit 2108 may perform wireless and / or wired communication. The communication circuit 2108 may include an RF transceiver or other circuit capable of performing wireless communication via an antenna. The communication circuit 2108 may communicate with the control circuit 2102 for sending and / or receiving information.
[0353] The control circuit 2102 may also communicate with the display 2106 to provide information to the user. The processor 2102 and / or the display 2106 may generate a GUI for display on the network device 2100. The display 2106 and the control circuit 2102 may be two-way communications, as the display 2106 may include a touch screen module capable of receiving information from the user ...
Claims
1. A method of configuring a sensor installed in a space to record an image of the space, the method include: recording an image of the space; processing the image to determine a position of at least one object within the space; as well as Based on the location of the at least one object within the space, a first mask is automatically configured for identifying a first unmasked portion of the image to be processed to sense an environmental characteristic of the space.
2. The method according to claim 1, in, The environmental characteristic comprises motion in the first unmasked portion of the image.
3. The method according to claim 2, in, The at least one object includes a task surface, and the first mask identifies an area outside of and at least partially surrounding the task surface as the first unmasked portion of the image for processing to detect movement in the first unmasked portion of the image.
4. The method of claim 3, further comprising: include: Based on the position of a second object within the space, a second mask is automatically configured for identifying a second unmasked portion of the image to be processed to detect movement in the space.
5. The method according to claim 4, in, The second object includes a keyboard on the task surface, and the second mask identifies an area surrounding and including the keyboard as the second unmasked portion of the image to process to detect movement in the space. 6 . The method of claim 5 , further comprising automatically determining a first sensitivity for detecting motion in the first unmasked portion of the image and a second sensitivity for detecting motion in the second unmasked portion of the image.
7. The method of claim 3, further comprising: include: Based on a location of a second object within the space, the first mask is automatically configured to identify masked portions of the image that are not to be processed to detect movement in the space.
8. The method according to claim 7, in, The second object includes a doorway, a window, or other transparent object, and the first mask identifies the doorway, the window, or the other transparent object as the masked portion of the first mask to prevent erroneous occupancy indications based on objects outside the doorway, the window, or the other transparent object.
9. The method according to claim 1, in, The environmental characteristics include lighting levels in the space.
10. The method according to claim 9, in, The at least one object includes a task surface, and the first mask identifies an area outside of and at least partially surrounding the task surface as the first unmasked portion of the image to be processed to sense the environmental characteristic.
11. The method of claim 10, further comprising: include: Based on a location of a second object within the space, the first mask is automatically configured to identify masked portions of the image that are not to be processed to measure the illumination level in the space.
12. The method according to claim 11, in, The second object is located on the task surface, and the masked portion is located inside the first unmasked portion.
13. The method according to claim 10, in, The environmental characteristics include a target light level for the task surface.
14. The method of claim 1, in, The first unmasked portion of the image is automatically configured to prevent sunlight glare or sunlight penetration from reaching the location of the at least one object.
15. The method of claim 1, in, The first unmasked portion of the image is configured during a configuration process performed prior to operation of the sensor.
16. The method of claim 15, in, After the configuration process, the operation of the sensor is dynamically configured.
17. The method of claim 16, in, The configuration of the first unmasked portion of the image is responsive to a movement of a position of the at least one object within the space.
18. The method of claim 1, further comprising automatically controlling a lighting load using at least one sensor mode and at least one control parameter during operation of the sensor, in, The at least one sensor mode comprises at least one of a daylighting sensor mode, a daylight glare sensor mode, a color sensor mode, an occupancy / vacancy sensor mode, or an occupant counting mode, and wherein the at least one control parameter comprises at least one of light sensitivity, light gain, or color temperature.
19. The method of claim 1, in, The at least one object includes at least one of a window, a door, an occupant, a task surface, a task surface object, or another device.
20. A device, include: At least one processing device configured to: Receiving images of space; processing the image to determine a position of at least one object within the space; as well as Based on the location of the at least one object within the space, a first mask is automatically configured for identifying a first unmasked portion of the image to be processed to sense an environmental characteristic of the space.
21. The device according to claim 20, in, The environmental characteristic comprises motion in the first unmasked portion of the image.
22. The device according to claim 21, in, The at least one object includes a task surface, and the first mask identifies an area outside of and at least partially surrounding the task surface as the first unmasked portion of the image for processing to detect movement in the first unmasked portion of the image.
23. The device as claimed in claim 22, in, The at least one processing device is further configured to: Based on the position of a second object within the space, a second mask is automatically configured for identifying a second unmasked portion of the image to be processed to detect movement in the space.
24. The device as claimed in claim 23, in, The second object includes a keyboard on the task surface, and the second mask identifies an area surrounding and including the keyboard as the second unmasked portion of the image to process to detect movement in the space.
25. The device as claimed in claim 24, in, The at least one processing device is further configured to: A first sensitivity for detecting motion in the first unmasked portion of the image and a second sensitivity for detecting motion in the second unmasked portion of the image are automatically determined.
26. The apparatus of claim 22, in, The at least one processing device is further configured to: Based on a location of a second object within the space, the first mask is automatically configured to identify masked portions of the image that are not to be processed to detect movement in the space.
27. The device as claimed in claim 26, in, The second object includes a doorway, a window, or other transparent object, and the first mask identifies the doorway, the window, or the other transparent object as the masked portion of the first mask to prevent erroneous occupancy indications based on objects outside the doorway, the window, or the other transparent object.
28. The apparatus of claim 20, in, The environmental characteristics include lighting levels in the space.
29. The device as claimed in claim 28, in, The at least one object includes a task surface, and the first mask identifies an area outside of and at least partially surrounding the task surface as the first unmasked portion of the image to be processed to sense the environmental characteristic.
30. The device of claim 29, in, The at least one processing device is further configured to: Based on a location of a second object within the space, the first mask is automatically configured to identify masked portions of the image that are not to be processed to measure the illumination level in the space.
31. The device of claim 30, in, The second object is located on the task surface, and the masked portion is located inside the first unmasked portion.
32. The apparatus of claim 29, in, The environmental characteristics include a target light level for the task surface.
33. The apparatus of claim 20, in, The first unmasked portion of the image is automatically configured to prevent sunlight glare or sunlight penetration from reaching the location of the at least one object.
34. The apparatus of claim 20, in, The first unmasked portion of the image is configured during a configuration process performed prior to operation of the sensor.
35. The apparatus of claim 34, in, After the configuration process, the operation of the sensor is dynamically configured.
36. The device of claim 35, in, The configuration of the first unmasked portion of the image is responsive to a movement of a position of the at least one object within the space.
37. The apparatus of claim 34, in, The at least one processing device is further configured to: During operation of the sensor, a lighting load is automatically controlled using at least one sensor mode and at least one control parameter, wherein the at least one sensor mode includes at least one of a daylighting sensor mode, a daylight glare sensor mode, a color sensor mode, an occupancy / vacancy sensor mode, or an occupant counting mode, and wherein the at least one control parameter includes at least one of light sensitivity, light gain, or color temperature.
38. The apparatus of claim 20, in, The at least one object includes at least one of a window, a door, an occupant, a task surface, a task surface object, or another device.
39. A device for performing control based on an image of a space, the device include: an image recording circuit configured to capture an image of the space; as well as The control circuit is configured as follows: retrieving an image of the space from the image recording circuit; processing the image to determine a position of at least one object within the space; automatically configuring a first mask to identify a first unmasked portion of the image of the space based on the position of the at least one object within the space; as well as Based on the position of the at least one object within the space, a load control device is enabled to perform control on one or more electrical loads in the space.
40. The apparatus of claim 39, in, The control circuit is configured to enable the load control device to perform control on the one or more electrical loads in the space, including the control circuit being configured to: Based on the position of the at least one object within the space, control instructions for performing control of the one or more electrical loads in the space are generated.
41. The apparatus of claim 40, further comprising a communication circuit, in, The control circuit is further configured to transmit, via the communication circuit, the generated control instructions for executing control of the one or more electrical loads in the space.
42. The apparatus of claim 41, in, The generated control instructions are sent to the system controller.
43. The apparatus of claim 41, in, The generated control instruction is sent to the load control device.
44. The apparatus of claim 40, in, The control circuit is configured to generate control instructions for performing control including, the control circuit is further configured to process a first unmasked portion of the image of the space to sense environmental characteristics of the space.
45. The apparatus of claim 40, in, The control circuit is configured to generate a control instruction for executing control, and the control circuit is further configured to: A lighting zone is automatically created that includes a plurality of lighting control devices configured to control respective lighting loads affecting lighting in the location of the at least one object, wherein the lighting zone that includes the plurality of lighting control devices is configured to be uniformly controlled.
