A user environment, such as a residence or an office building for example, may be configured using various types of load control systems. A lighting control system may be used to control the lighting loads in the user environment. A motorized window treatment control system may be used to control the natural light provided to the user environment. A heating, ventilation, and air conditioning (HVAC) system may be used to control the temperature in the user environment.
Each load control system may include various control devices, including control-source devices and control-target devices. The control-target devices may receive messages (e.g., digital messages), which may include commands (e.g., control instructions, such as load control instructions), for controlling an electrical load from one or more of the control-source devices. The control-target devices may be capable of controlling an electrical load. The control-source devices may be capable of controlling the electrical load via the control-target device. Examples of control-target devices may include lighting control devices (e.g., a dimmer switch, an electronic switch, a ballast, or a light-emitting diode (LED) driver), a motorized window treatment, a temperature control device (e.g., a thermostat), an AC plug-in load control device, and/or the like. Examples of control-source devices may include remote control devices, occupancy sensors, daylight sensors, temperature sensors, and/or the like.
Although control-source devices may be capable of controlling a control-target device, a control-source device may not be capable of controlling a control-target device, based on a user location and/or a mobile device. For example, a control-source device may not be capable of setting a control-target device to a lighting intensity, based on a user and/or mobile device located within the load control system. This may be desirable, for example, for users located in an office that may desire to have a lighting intensity, temperature level, and/or natural light provided at a predefined level.
A load control system for controlling a plurality of lighting loads located in a space may be configured to provide real time location services. For example, the load control system may be configured the track the location of one or more tracked devices throughout the load control system. The load control system may comprise a system controller that is configured to transmit messages for controlling one or more of a plurality of lighting loads. For example, the messages for controlling the lighting load may be transmitted to a lighting control device configured to control a respectively lighting load via a wireless communication network. Each of the plurality of lighting control devices that receive the messages from the system controller may be configured to control at least one of the plurality of lighting loads in response to the message.
The location of one or more tracked devices may be tracked throughout the load control system. The tracked devices may be configured to transmit beacon messages, which may be used to track the location of a respective tracked device. Each of the plurality of lighting control devices may be further configured to receive beacon messages from a tracked device. For example each of the beacon messages may include a beacon identifier of the tracked device. Each of the plurality of lighting control devices may measure a communication quality metric of each of the beacon messages. Each of the plurality of lighting control devices may process the measured communication quality metrics of each of the beacon messages received over a period of time to determine a processed communication quality metric for the tracked device. The processed communication quality metric for the tracked device may be a maximum of the measured communication quality metrics of each of the beacon messages received over the period of time. For example, the processed communication quality metric for the tracked device may be an average of the measured communication quality metrics of each of the beacon messages received over the period of time.
Each of the plurality of lighting control devices may be further configured to determine a path loss value for the tracked device, wherein the determined path loss value is based on the processed communication quality metric for each of the beacon messages received over the period of time. For example, the tracking data transmitted by the each of the plurality of lighting control devices may further include the path loss value of the tracked device. Each of the plurality of lighting control devices may be further configured to determine a transmit power associated with the tracked device. For example, the tracking data transmitted by each of the plurality of lighting control devices may further include the transmit power associated with the tracked device.
Each of the plurality of lighting control devices may be configured to transmit tracking data to the system controller. For example, the tracking data may include the beacon identifier of the tracked device and the processed communication quality metric for the tracked device. The system controller may be further configured to receive the tracking data from each of the plurality of lighting control devices. The system controller may further determine, based on processed communication quality metrics received from each of the plurality of lighting control devices, a location of the tracked device with respect to one or more of the lighting control devices. For example, the system controller may be configured to determine the location of the tracked device via trilateration.
The system controller (e.g., or another device, such as a network device or a remote computing device) may be further configured to identify three or more lighting control devices that are closest to the tracked device. The system controller may determine a distance between the tracked device and each of the three or more lighting control devices that are closest to the tracked device. The system controller may be further configured to retrieve x-y coordinates for each of the three or more lighting control devices that are closest to the tracked device. The system controller may calculate a gradient function for the tracked device. For example, the gradient function for the tracked device may be based on the retrieved x-y coordinates for each of the three or more lighting control devices. Using the gradient function, the system controller may determine an estimated location of the tracked device. The system controller may further adjust the estimated location for the tracked device until a sign associated with the gradient function for the tracked device changes. For example, the determined location of the tracked device may be the estimated location of the track device when the sign associated with the gradient function changes.
The load control system may further comprise a network device. The network device may receive the determined location of the tracked devices from the system controller. The network device may be configured to retrieve a floorplan for the load control system. For example, the floorplan may include coordinates for the plurality of load control devices of the load control system. The network device may, based on the locations for each of the one or more tracked devices, determine coordinates for each of the one or more tracked devices. The network device may display a representation of the floorplan for the load control system. For example, the representation may comprise indications of the determined coordinates for each of the one or more tracked devices.
The system controller may receive tracking data from the plurality of lighting control devices. For example, the tracking data may include a beacon identifier of a respective tracked device and a processed communication quality metric. The system controller may, based on the tracking data, identify one or more tracked devices for which tracking data has been received. The system controller may determine, based on the tracking data, a location for each of the one or more tracked devices for which tracking data has been received. For example, the determined location for each of the one or more tracked devices for which tracking data has been received may be relative to at least one of the plurality of lighting control devices.
The system controller may determine the location for each of the one or more tracked devices for which tracking data has been received over the period of time via trilateration. The system controller may identify, for each of the one or more tracked devices, three or more lighting control devices that are closest to a respective tracked device of the one or more tracked devices. The system controller may determine, for each of the one or more tracked devices, a distance between the respective tracked device and each of the three more lighting control devices that are closest to a respective tracked device. The system controller may retrieve x-y coordinates for each of the three or more lighting control devices that are closest to the respective tracked device. The system controller may calculate a gradient function based on the retrieved x-y coordinates for each of the three or more lighting control devices that are closest to the respective tracked device. For example, the system controller may use the gradient function for each of the one or more tracked devices to determine an estimated location for each of the one or more tracked devices. The system controller may adjust the estimated location for each of the one or more tracked devices until a sign associated with the gradient function changes.
Control devices (e.g., a control-source device and/or a control-target device) may communicate with each other and/or other devices via a wired and/or a wireless communication link. For example, the control devices may communicate on a first wireless communication link (e.g., a first wireless network communication link) via radio frequency (RF) signals 170. The RF signal 170 may be transmitted via any known RF communication protocol (e.g., a first wireless network communication protocol). For example, the first wireless network communication protocol may comprise a standard communication protocol (e.g., the BLUETOOTH, BLUETOOTH LOW ENERGY (BLE), WI-FI, THREAD, and/or ZIGBEE protocols) and/or a proprietary communication protocol, such as the CLEAR CONNECT protocol (e.g., the CLEAR CONNECT A and/or CLEAR CONNECT X protocols). A control device may be both a control-target and a control-source device. As described herein, the control devices of the load control environment 100 may use the RF signals 170 to communication with each other, for example, to enable control of the respective control devices in the load control environment 100.
A control-source device may be an input device that indirectly controls the amount of power provided to an electrical load by transmitting messages (e.g., digital messages) to the control-target device. The messages may include commands (e.g., control instructions, such as load control instructions) or another indication that causes the control-target device to determine commands for controlling an electrical load. Example control-source devices may include a remote control devices 116, 142, and 154, an occupancy sensor 112, a daylight sensor 150, a window sensor 180, and/or a network device 128. The control-source devices may include a wired or wireless device. The control-source devices may include a control device, such as a dimmer switch, an electronic switch, or the like. The first wireless network communication link may allow for communication of the commands (e.g., load control instructions) via the RF signals 170.
The load control system 100 may be commissioned to enable control of electrical loads based on commands communicated between control devices (e.g., control-source devices and control-target devices) configured to control the electrical loads. For example, control devices may be associated with one another and association information may be stored thereon, or at other devices, which may be used to communicate and identify digital commands at associated devices for controlling electrical devices in the system. The association information may include a device identifier (e.g., a unique device identifier) of one or more of the associated devices. The association information may be stored at the control devices, or at other devices that may be implemented to enable communication and/or identification of digital commands between the control devices.
The remote control devices 116, 142, and 154 may be wireless devices capable of controlling a control-target device via wireless communications. The remote control devices 116, 142, and 154 may be attached to the wall or detached from the wall. Examples of remote control devices are described in greater detail in U.S. Pat. No. 5,248,919, issued Sep. 28, 1993, entitled LIGHTING CONTROL DEVICE; U.S. Pat. No. 8,471,779, issued Jun. 25, 2013, entitled WIRELESS BATTERY POWERED REMOTE CONTROL WITH LABEL SERVING AS ANTENNA ELEMENT; and U.S. Patent Application Publication No. 2014/0132475, published May 15, 2014, entitled WIRELESS LOAD CONTROL DEVICE, the entire disclosures of which are hereby incorporated by reference.
The occupancy sensor 112 may be configured to detect occupancy and/or vacancy conditions in the load control environment 100 in which the load control system is installed. The occupancy sensor 112 may transmit messages to control-target devices via the RF signals 170 in response to detecting the occupancy or vacancy conditions. The occupancy sensor 112 may operate as a vacancy sensor, such that messages are transmitted in response to detecting a vacancy condition (e.g., messages may not be transmitted in response to detecting an occupancy condition). Examples of RF load control systems having occupancy and/or vacancy sensors are described in greater detail in U.S. Pat. No. 8,009,042, issued Aug. 30, 2011, entitled RADIO-FREQUENCY LIGHTING CONTROL SYSTEM WITH OCCUPANCY SENSING; U.S. Pat. No. 8,199,010, issued Jun. 12, 2012, entitled METHOD AND APPARATUS FOR CONFIGURING A WIRELESS SENSOR; and U.S. Pat. No. 8,228,184, issued Jul. 24, 2012, entitled BATTERY-POWERED OCCUPANCY SENSOR, the entire disclosures of which are hereby incorporated by reference.
The daylight sensor 150 may be configured to measure a total light intensity in the visible area of the load control environment 100 in which the load control system is installed. The daylight sensor 150 may transmit messages including the measured light intensity via the RF signals 170 for controlling control-target devices in response to the measured light intensity. The daylight sensor 150 may enter an association mode and may transmit association messages via the RF signals 170 in response to actuation of a button 152 on the daylight sensor 150. Examples of RF load control systems having daylight sensors are described in greater detail in U.S. Pat. No. 8,410,706, issued Apr. 2, 2013, entitled METHOD OF CALIBRATING A DAYLIGHT SENSOR; and U.S. Pat. No. 8,451,116, issued May 28, 2013, entitled WIRELESS BATTERY-POWERED DAYLIGHT SENSOR, the entire disclosures of which are hereby incorporated by reference.
The window sensor 180 may be configured to measure an exterior light intensity coming from outside the load control environment 100 in which the load control system is installed. The window sensor 180 may be mounted on a façade of a building, such as the exterior or interior of a window, to measure the exterior natural light intensity depending upon the location of the sun in the sky. The window sensor 180 may detect when direct sunlight is directly shining into the window sensor 180, is reflected onto the window sensor 180, or is blocked by external means, such as clouds or a building, and may send messages indicating the measured light intensity. The window sensor 180 may transmit messages including the measured light intensity via the RF signals 170. The messages may be used to control an electrical load via one or more control-target devices. The window sensor 180 may enter an association mode and may transmit association messages via the RF signals 170 in response to actuation of a button on the window sensor 180.
The load control system of the load control environment 100 may include other types of control-source devices, such as, for example, temperature sensors, humidity sensors, radiometers, cloudy-day sensors, shadow sensors, pressure sensors, smoke detectors, carbon monoxide detectors, air-quality sensors, motion sensors, security sensors, proximity sensors, fixture sensors, partition sensors, keypads, multi-zone control units, slider control units, kinetic or solar-powered remote controls, key fobs, cell phones, smart phones, tablets, personal digital assistants, personal computers, laptops, timeclocks, audio-visual controls, safety devices, power monitoring devices (e.g., power meters, energy meters, utility submeters, utility rate meters, etc.), central control transmitters, residential controllers, commercial controllers, industrial controllers, or any combination of control-source devices.
The load control system of the load control environment 100 may include a system controller 160 operable to transmit and/or receive messages via wired and/or wireless communications. For example, the system controller 160 may be configured to transmit and/or receive the RF signals 170 via the first wireless network communication link to communicate with one or more control devices (e.g., control-source devices and/or control-target devices). The system controller 160 may communicate messages between associated control devices, for example. The system controller 160 may be also coupled to one or more wired control devices (e.g., control-source devices and/or control-target devices) via a wired digital communication link. The system controller 160 may be on-site at the load control environment 100 or at a remote location. Though the system controller 160 is shown as a single device, the load control system of the load control environment 100 may include multiple system controllers and/or the functionality thereof may be distributed across multiple devices.
The system controller 160 may also be configured to communicate via a second wireless network communication link using RF signals 172. The RF signals 172 may be transmitted via any known RF communication protocol (e.g., WI-FI protocol or another Internet-protocol-based protocol, and/or a cellular-based communication protocol). For example, the second wireless network communication link may allow for high bandwidth communication. The system controller 160 may communicate over the Internet 164 and/or another network (e.g., a local area network) using the RF signals 172. The RF signals 172 may be transmitted using a different protocol and/or wireless band than the RF signals 170. In addition, the RF signals 172 may be transmitted using the same protocol and/or wireless band as the RF signals 170.
The system controller 160 may be configured to transmit and receive messages between control devices. For example, the system controller 160 may transmit messages to the control-target devices in response to the messages received from the control-source devices. The messages may include association information for being stored at the control devices or commands (e.g., control instructions) for controlling an electrical load. The commands may be used to control the electrical load of a control-target device or to control the electrical load according to control configuration information. The system controller 160 may receive commands from a control-source device and may perform a lookup of the control-target devices associated with the control-source device. The system controller 160 may send messages that include commands to the associated control-target devices for controlling electrical loads. The system controller 160 may store the association information from association messages communicated between control devices, or may query control devices for association information stored thereon.
Once a control-source device is associated with a control-target device, the control-source device may send messages to the control-target device to cause the control-target device to control an amount of power provided to an electric load. For example, the associated remote control device 116 may instruct the lighting control devices of the lighting fixtures 108a, 108b, 108c, 108d to increase or decrease the lighting level of the respective lighting loads, instruct the motorized window treatment 120 to raise or lower the covering material 122, instruct the AC plug-in load control device 124 to raise or lower the lighting level of the floor lamp 126, and/or instruct the temperature control device 136 to raise or lower the temperature in one or more rooms. The associated occupancy sensor 112 may send similar commands to a control-target device based on the detection of an occupancy or vacancy condition within the room 102. The daylight sensor 150 may send similar messages to a control-target device based on the detection of an amount of natural light within the room 106.
The lighting control devices in each of the lighting fixtures of the load control environment 100 (e.g., lighting fixtures 108a, 108b, 108c, 108d in room 102; lighting fixtures 138a, 138b, 138c, 138d in room 104; and lighting fixtures 146a, 146b, 146c, 146d in room 106) may be configured to communicate messages using the RF signals 170. In certain scenarios, the lighting control device in each of the lighting fixtures may be a load regulation device including the communication circuit that is configured to transmit and/or receive messages for controlling the lighting load of the lighting fixture via the RF signals 170. Also, or alternatively, the lighting control device in each of the lighting fixtures may be a fixture controller (e.g., a separate communication device) that may include the communication circuit that is configured to transmit and/or receive messages for controlling the lighting load of the lighting fixture via RF signals 170, and may be configured to control a load regulation device (e.g., a separate load regulation device) in the lighting fixture to control the lighting load. The lighting control devices in the lighting fixtures may communicate with and/or be responsive to commands (e.g., control instructions included in the messages transmitted using RF signals 170) received form an associated control-source device.
The system controller 160 may include control configuration information according to which one or more control-target devices may be controlled. For example, control configuration information may include preset configurations. The system controller 160 may generate messages according to the preset configurations to set a dimming level of the lighting fixtures to a predefined level, to set a level of the covering material 122 to a predefined level, to set a dimming level of the floor lamp 126 to a predefined level, or to set a temperature of the temperature control device 136 to a predefined level. Different presets may be configured to control different control-target devices to control a corresponding electrical load differently. Example preset configurations may include bedtime preset for when a user is going to bed, a movie watching preset for when the user is watching television or a movie, an away preset for when a user is away from the building, a home preset for when the user is in the building, or other preset configurations a user may define for an occasion.
The control configuration information may include zone configurations. The zone configurations may define one or more zones in which control-target devices are defined for being controlled. The zones may be a group of control devices for being associated that have a group identifier. The control-target devices in different zones may be separately controlled by sending messages having commands for controlling each zone. Different zones may be identified by a zone identifier (e.g., group identifier) that may be stored at the system controller 160 and/or the control devices in the zone. Each zone may be defined as a location having a zone identifier that is a location identifier. Though the zone may be described herein as a location having a location identifier, other zone configurations may be similarly implemented as described herein for locations.
The load control system of the load control environment 100 may include a network device, such as the mobile device 128. The mobile device 128 may perform wired and/or wireless communications. Examples of the mobile device 128 may comprise a mobile device, e.g., a wireless phone, a tablet, a laptop, a personal digital assistant (PDA), a wearable device (e.g., a watch, glasses, etc.), or another computing device. In addition, the mobile device 128 may comprise a personal computer (PC), a server, and/or another computing device connected to the Internet 164. The mobile device 128 may be a user device operated by a user 132. The mobile device 128 may communicate wirelessly by sending messages on the second wireless network communication link via the RF signals 172 (e.g., via the Internet and/or a local area network). The mobile device 128 may communicate by transmitting messages (e.g., in one or more Internet protocol packets) over the Internet 164 and/or another network (e.g., a local area network) using the RF signals 172. The mobile device 128 may communicate messages in response to a user actuation of one or more buttons on the mobile device 128. Examples of load control systems having control devices configured to transmit message via the Internet, such as smart phones and tablet devices, are described in greater detail in U.S. Patent Application Publication No. 2013/0030589, published Jan. 31, 2013, entitled LOAD CONTROL DEVICE HAVING INTERNET CONNECTIVITY; and U.S. Pat. No. 9,413,171, issued Aug. 9, 2016, entitled NETWORK ACCESS COORDINATION OF LOAD CONTROL DEVICES, the entire disclosures of which are incorporated herein by reference.
Although not shown in
The mobile device 128 may communicate with the system controller 160 using messages transmitted on the second wireless network communication link via RF signals 172 to allow the mobile device 128 to associate control devices (e.g., control-source devices and/or control-target devices) and/or control electrical loads. When the RF signals 170 and the RF signals 172 are communicated using the same communication protocol, the mobile device 128 may operate as the system controller 160, as described herein.
The mobile device 128 may execute a control/configuration application for displaying information received from the system controller 160 and/or receiving user input for communicating information to the system controller 160. For example, the control/configuration application may be executed locally at the mobile device 128. Also, or alternatively, the control/configuration application or portions thereof may be executed by a network device external to the load control environment 100 (e.g., connected to the Internet), and the mobile device 128 may access the control/configuration application using the RF signals 172. The mobile device 128 may comprise a visual display 110 for displaying information for the user 132 and may be configured to receive user inputs from the user 132. The system controller 160 may be accessed from the mobile device 128 via a web interface (e.g., a web browser) and/or via the control/configuration application (e.g., a load control application and/or configuration application) at the mobile device 128, for example. The user 132 may, using the control/configuration application, generate and store association information on the mobile device 128 for associating control-source devices and control-target devices.
The mobile device 128 may, using the control/configuration application, store configuration data for the load control environment 100 and/or the respective rooms 102, 104, 106. For example, using the mobile device 128, the user 132 may generate and/or store association information for associating control-source devices (e.g., the remote control devices 116, 142, 154) and control-target devices (e.g., the lighting fixtures 108a-d, 138a-d, 146a-d, and their respective lighting control devices). For example, the user 132 (e.g., via the mobile device 128) may use the control/configuration application to generate and/or store association information for associating control-source devices using the control/configuration application executed at the mobile device 128. The user 132 (e.g., via the mobile device 128) may also, or alternatively, use the control/configuration application for controlling the control devices in the load control environment 100.
The control/configuration application may be configured to display a graphical user interface (GUI) on the visual display 110 of the mobile device 128. The graphical user interface may include one or more representations (e.g., a floorplan) of the load control environment 100 and/or a respective room within the load control environment 100 (e.g., one or more of the rooms 102, 104, and 106). These representations may also indicate or illustrate the control devices (e.g., the lighting control devices of the lighting fixtures 108a-d, 138a-d, 146a-d) within the load control environment 100 and/or respective room. In addition, the user 132 (e.g., via the mobile device 128) may define area data associated with each of the control devices (e.g., a location of a respective control device within the load control environment 100). For example, each of the control devices in the load control system of the load control environment 100 may be assigned or associated with area data using the control/configuration application. For example, the area data for lighting fixtures 108a-d may indicate that they are located in room 102 and/or their respective positions (e.g., represented by x-y coordinates) within the room 102. Similarly, the area data for lighting fixtures 1038a-d may indicate that they are located in room 104, and the area data for lighting fixtures 1046a-d may indicate that they are located in room 106.
The association information may be stored in the form of a table or database that associates a unique device identifier (e.g., serial number) of a control-target device with a location and/or a unique device identifier (e.g., serial number) of one or more control-source devices. The association information may include a device type identifier that indicates a device type of the control-target device (e.g., lighting control device, motorized window treatment, plug-in load control device, temperature control device, etc.) and/or a device type of the control-source devices (e.g., remote control device, occupancy sensor, daylight sensor, window sensor, etc.). The association information may be sent from the mobile device 128 to the system controller 160. The system controller 160 may store the association information. The system controller 160 may identify the association information corresponding to each control-target device by identifying the device identifier of the control-target device and the corresponding associated devices (e.g., device identifiers of the control-source devices) to transmit the association information to each control-target device for storage thereon. The system controller 160 may identify other information, such as control configuration information, corresponding to each control-target device and may transmit the information to each control-target device for storage thereon, such that the control-target devices may respond according to the information.
The control devices may be associated with a location for enabling control of electrical loads in the location. The control devices may also be associated with other control devices in the location for enabling the control of the electrical loads. For example, a control device may be associated with a location by storing a location identifier at the control device, such that the control device may detect messages sent to control devices in the identified location. The control device (e.g., control-target device) may be associated with other control devices (e.g., control-source devices) by storing an identifier of the control devices, such that the control device (e.g., control-target device) may detect messages sent from associated control devices (e.g., control-source devices) for controlling an electrical load. When a control-target device is associated with a control-source device, the control-target device may be responsive to the control-source device.
The load control environment 100 may include one or more tracked devices, such as tracked devices 134a, 134b. A tracked device may include any device for which the location of the respective tracked device may be tracked through the load control environment 100. For example, the tracked device 134a may be a mobile device (e.g., a wireless phone, a tablet, a laptop, a personal digital assistant (PDA), and/or a wearable device) used by a user 133. In some embodiments, the mobile device 128 may be the tracked device 134a. The tracked device 134b may be a battery powered communication device (e.g., a tag), which may be attached to an object 135 (e.g., another device or item, such as a piece of inventory, merchandise, test equipment, etc.) that is to be tracked across the load control environment 100. Also, or alternatively, the tracked devices 134a, 134 may be another control device within the load control environment that can perform wireless communications, such as the remote control devices 116, 142, and 154, and/or the mobile device 128. As further described herein, each of the tracked devices 134a, 134b may be configured to transmit beacon messages via a short-range wireless communication link. For example, the tracked devices may transmit the beacon messages via RF signals 174. The RF signals 174 may be transmitted via any known RF communication protocol (e.g., a short-range wireless communication protocol, such as the BLUETOOTH LOW ENERGY (BLE) protocol). The beacon messages respectively transmitted by the tracked devices 134a, 134b may be used to determine the location of that tracked device in the load control environment 100. For example, the beacon messages transmitted by tracked device 134a may be used to determine that tracked device 134a is located in room 102. Similarly, the beacon messages transmitted by tracked device 134b may be used to determine that tracked device 134b is located in room 104. In addition, the remote control devices 116, 142, and 154, and/or the mobile device 128 may be configured to transmit the beacon message on the short-range wireless communication link via the RF signals 174.
The lighting control devices in the lighting fixtures 108a-d, 138a-d, and 146a-d may also be configured to communicate via the short-range wireless communication link. For example, the lighting control devices in the lighting fixtures 108a-d, 138a-d, 146a-d may use a short-range wireless communication link to periodically receive the beacon messages transmitted by the tracked devices 134a, 134b (e.g., via the RF signals 174). As further described herein, the lighting control devices in the lighting fixtures in the load control environment 100 may be configured to process the beacon messages received from a respective tracked devices to determine tracking data associated with that tracked device. As illustrated in
The lighting control devices in the lighting fixtures may also be configured to transmit the tracking data to the system controller 160 (e.g., or the mobile device 128 and/or other computing device, as described herein), which may further process the tracking data to identify a location of the tracked device 134a, 134b within the load control environment 100. For example, the lighting control devices in the lighting fixtures may transmit the tracking data to the system controller 160 via the RF signals 172. The lighting control devices in the lighting fixture may process the tracking data before transmitting processed tracking data to the system controller 160 to try to reduce the number of messages required to transmit the processed tracking data via the RF signals 172. The system controller 160 may process the tracking data to identify a location of the respective device. For example the system controller 160 may process the tracking data to identify an area location of a respective tracked device (e.g., a room, or an area within the room, in which the tracked device is located) or a fixture location of the respective tracked device (e.g., a lighting fixture(s) that is closest to the tracked device). Further, the location (e.g., area location and/or fixture location) of the respective tracked device may be displayed (e.g., displayed on the floorplan that represents the load control environment 100) on the mobile device 128 and/or another computing device.
The lighting control device in each of the lighting fixtures F1-F24 may be configured to transmit and/or receive wireless signals (e.g., RF signals). The lighting control device in each of the lighting fixtures F1-F24 may be configured to communicate messages via the RF signals via a first wireless communication link (e.g., a wireless network communication link) using a first wireless communication protocol (e.g., a wireless network communication protocol, such as the CLEAR CONNECT or THREAD protocols). The lighting control device in each of the lighting fixtures F1-F24 may also be configured to communicate messages via the RF signals via a second wireless communication link (e.g., a short-range wireless communication link) using a second wireless communication protocol (e.g., a short-range wireless communication protocol, such as the BLUETOOTH LOW ENERGY (BLE) protocol). For example, the lighting control device in each of the lighting fixtures F1-F24 may be configured to receive messages including commands for controlling the respective lighting load via the wireless network communication link and/or receive messages including configuration information via the short-range wireless communication link. In addition, the lighting control device in each of the lighting fixtures F1-F24 may be configured to periodically transmit and/or receive beacon messages via the short-range wireless communication link.
The space 200 may also comprise a system controller 210 (e.g., the system controller 160 of the load control system of the load control environment 100 shown in
The space 200 may also comprise one or more tracked devices T1-T4. Each of the tracked devices T1-T4 may be configured to transmit beacon messages via the short-range wireless communication link. The beacon messages transmitted by one of the tracked devices T1-T4 may be used to determine the location of the tracked device in the space 200 and/or the building in which the space is located. The beacon messages may each include a beacon identifier (e.g., a unique beacon identifier) of the tracked device T1-T4 that transmitted the beacon message. For example, the beacon messages may be transmitted using the BLE protocol. Each time that one of the tracked devices T1-T4 transmits a beacon message, the tracked device T1-T4 may transmit the beacon message on three different communication channels (e.g., at three different frequencies). For example, each of the tracked devices T1-T4 may comprise a mobile device, such as a smart phone or a tablet. In addition, each of the tracked devices T1-T4 may comprise a tag that may be configured to transmit beacon messages.
The lighting control devices in the lighting fixtures F1-F24 may be configured to receive the beacon messages transmitted by the tracked devices T1-T4 via the short-range wireless communication link. The lighting control device in each lighting fixture F1-F24 may be configured to receive the beacon message on each of the three different communication channels that the beacon message is transmitted on. The lighting control device in each lighting fixture F1-F24 may be configured to determine a communication quality metric of each of the received beacon message on each of the different communication channels. For example, the communication quality metric may comprise a received signal strength magnitude of the received beacon message on one of the communication channels, e.g., such as a received signal strength indicator (RSSI). The lighting control device in each lighting fixture F1-F24 may be configured to store the received signal strength magnitude of each of the beacon messages received on the different communication channels.
The lighting control device in each lighting fixture F1-F24 may be configured to transmit tracking data regarding the received beacon messages to the system controller 210. For example, the lighting control device may be configured to transmit the beacon identifier included in a received beacon messages as well as the communication quality metric (e.g., received signal strength magnitude) of the received beacon message to the system controller 210. However, a space, such as the space 200, may include numerous lighting fixtures (e.g., the lighting fixture F1-F24). If, for example, each lighting control device transmit tracking data in response to every beacon message that the lighting control device receives, the network over which the tracking data is transmitted (e.g., the first wireless network communication link via the RF signals 170) may be overloaded, which may cause the receipt of messages transited over that network to be delayed and/or fail. Message delays and/or failures may similarly increase as the number of tracked devices (e.g., and/or the number of beacon messages transmitted by each of the tracked devices) in a space increases.
Each of the lighting control devices may be configured to process (e.g., aggregate and/or filter) the tracking data prior to transmitting the tracking data to the system controller in order to minimize the number of transmissions on the wireless network communication link. For example, each lighting control device may be configured to process a subset of the received signal strength magnitudes of beacon messages received on a communication channel from a particular one of the tracked devices T1-T4 to determine a processed signal strength magnitude. Each lighting control device may be configured to determine the processed signal strength magnitude, for example, by determining a maximum value of the subset of the received signal strength magnitudes received from a particular one of the tracked devices T1-T4 over a period of time. In addition, the lighting control device may be configured to determine the processed signal strength magnitude by determining an average value of the subset of the received signal strength magnitudes received from a particular one of the tracked devices T1-T4 over a period of time. The lighting control device may be configured to transmit the processed signal strength magnitude if the processed signal strength has changed (e.g., changed by a threshold amount) since the processed signal strength magnitude was last transmitted for a particular tracked device T1-T4.
The system controller 210 may be configured to process the tracking data received from the lighting control devices in the lighting fixtures F1-F24 in the space 200 to determine the locations of one or more of the tracked devices T1-T4. The system controller 210 may be configured to use the area data regarding the areas 202-208 in which the various lighting fixtures F1-F24 are located to determine the locations of the tracked devices T1-T4 in the space 200. The system controller 210 may be configured to determine an area location of one of the tracked devices T1-T4, which may be an area in which the tracked device may be located. In addition, the system controller 210 may be configured to determine a fixture location relative to one of the tracked devices T1-T4. For example, the fixture location may indicate the one or more lighting fixtures that are nearest to a respective tracked device, which may allow the tracked device to be located.
In addition, the system controller 210 may be configured to determine the locations of one or more of the tracked devices T1-T4 using a trilateration technique.
The system controller 210 may be configured to process the tracking data received from the lighting control devices (e.g., in at least three of the lighting fixtures) in order to determine the junction point of the spheres around the respective lighting fixtures and thus the location of the tracked device 300. For example, errors in the determination of the location of the tracked device 300 may be greatly reduced when the number of lighting control device for which the tracking data is processed to determine the location of the tracked device 300 is four or greater. Thus, the system controller may process the tracking data from lighting control devices in at least four lighting fixtures in order to determine the junction point of the spheres around the respective lighting fixtures and thus the location of the tracked device 300.
At 412, the lighting control device may select (e.g., start on) an initial frequency (e.g., an initial communication channel) for receiving and/or processing beacon message. At 414, the lighting control device may listen on the selected frequency for a beacon message. If the lighting control device receives a beacon message at 416, the lighting control device may determine a communication quality metric (e.g., a received signal strength magnitude) of the received beacon message at 418. For example, the lighting control device may measure a received signal strength indicator of the received beacon message at 420. At 420, the lighting control device may store the received signal strength magnitude of the beacon message. In addition, the lighting control device may also store at 420 a transmit power pt of the beacon message, which may be included in the received beacon message.
The lighting control device may be configured to listen on the selected frequency for a scan time period (e.g., approximately 100 msec). If the scan time period is not complete at 422, the lighting control device may continue to listen on the selected frequency at 414. When the scan time period is complete at 422, the lighting control device may determine if the scan mode should be exited at 424. If not, the lighting control device may switch to the next frequency at 426 and listen on the newly selected frequency at 414. When the scan mode should be exited at 424, the lighting control device exits the procedure 400. For example, the lighting control device may listen on each frequency (e.g., each of the three frequencies on which a beacon message may be transmitted) before exiting the procedure 400. In addition, the lighting control device may continuously listen on each frequency and may only exit the procedure 400 upon receiving a command to exit the procedure 400.
At 512, the lighting control device may determine a list of beacon identifiers of the one or more tracked devices from which beacon messages were received during the first interval. At 514, the lighting control device may select a first beacon identifier from the list. At 516, the lighting control device may process the received signal strength indicators for a subset of beacon messages received from the tracked device having the selected beacon identifier over a second interval to determine a processed received signal strength indicator. The second interval may be longer than the first interval, e.g., such as 2 seconds. For example, the lighting control device may determine at 516 a maximum value (e.g., peak value) of the received signal strength indicators of the beacon messages received from the tracked device across all three frequencies (e.g., communication channels) on which the beacon messages were transmitted. In addition, the lighting control device may determine at 516 an average value of the received signal strength indicators of the beacon messages received from the tracked device across all three frequencies (e.g., communication channels).
At 518, the lighting control device may be configured to calculate a path loss for the tracked device. For example, the path loss may be calculated by subtracting a transmit power value pt at which the beacon messages are transmitted by the tracked device on one of the communication channels from a receive power value of the beacon messages as received by the lighting control device. For example, the receive power value may be the processed received signal strength indicator RSSIp (e.g., as determined at 516). The transmit power value pt may indicate a power level at which the beacon message was transmitted by the tracked device. The lighting control device may receive the transmit power value in the received beacon message from the tracked device. In addition, the transmit power value pt for the tracked device may be stored in memory in the lighting control device, and may differ for different types of tracked devices. The lighting control device may calculate the path loss value for the lighting control device by subtracting the transmit power value pt from the receive power value (e.g., the processed received signal strength indicator RSSIp), e.g.,
=RSSIp−pt.
The path loss may be an indicator of the distance between a respective lighting fixture and the tracked device.
The lighting control device may be configured to transmit (e.g., only transmit) tracking data to the system controller when needed (e.g., to reduce the number of transmissions on the wireless network communication link). For example, the lighting control device may only transmit the tracking data if the path loss value calculated at 518 has changed (e.g., as compared to a previously reported path loss value) at 520. As described herein, the load control system may include numerous lighting control devices. Accordingly, if the lighting control devices in the load control system only transmit tracking data for a respective tracked device when the path loss value e calculated has changed (e.g., as compared to a previously reported path loss value), the volume of tracking data being transmitted may decrease. The lighting control device may transmit tracking data, including the path loss value e, at 522. Alternatively or additionally, the lighting control device may determine if the processed received signal strength indicator RSSIp has changed at 520, and transmit tracking data including the processed received signal strength indicator RSSIp at 522. In addition, the lighting control device may include the transmit power value pt in the tracking data with the processed received signal strength indicator RSSIp. If the processed received signal strength indicator RSSIp is included in the tracking data, step 518 may be omitted. If there are more beacon identifiers for which to transmit tracking data at 524, the lighting control device may select the next beacon identifier in the list at 526 and process the received signal strength indicators for the next beacon identifier at 516. If there are not more beacon identifiers for which to transmit tracking data at 524, the lighting control device may exit the procedure 500.
At 612, the system controller may be configured to determine a path loss table for the tracked device. The path loss table may include the path loss values for each of the lighting control devices from which the system controller received tracking data for the tracked device. The pass loss values for each lighting control device may be included in the received tracking data (e.g., as determined by the lighting control device at 518), and the system controller may simply include the path loss values in the path loss table at 612. In addition, the system controller may be configured to receive a received signal strength indicator RSSIn of a particular lighting control device (e.g., an nth lighting device) in the tracking data (e.g., the processed received signal strength indicator RSSIp as determined by the lighting control device at 516). The system controller may calculate a path loss n for the lighting control device for by subtracting a transmit power value pn at which the beacon messages are transmitted by the tracked device from the received signal strength indicator RSSIn of the beacon messages as received by the lighting control device. The transmit power value pn may also be included in the tracking data. The system controller may receive the transmit power value pn in the tracking data from the lighting control device. In addition, the transmit power value pn for the tracked device may be stored in memory in the system controller, and may differ for different types of tracked devices. The system controller may determine the transmit power value pn and the received signal strength indicator RSSIn from the tracking data, and calculate the path loss value n for the lighting control device by subtracting the transmit power value pn from the received signal strength indicator RSSIn, e.g.,
n=RSSIn−pn.
The system controller may calculate the path loss value n for each of the lighting devices from which the system controller received tracking data for the tracked device. The system controller may include all of the path loss values n in the path loss table along with the device identifiers of the respective lighting control devices associated with that path loss values n.
At 614, the system controller may determine the area location (e.g., an area in which the tracked device may be located) using the path loss values in the path loss table. For example, the system controller may determine if the path loss value for one of the lighting control devices in the path loss table is much less than all of the other path loss values in the path loss table (e.g., separated by a threshold amount, such as 6 dB). If so, the system controller may determine that the tracked device is in the area in which the lighting fixture of that lighting control device is located. In addition, the system controller may determine an average value of the path loss values of the lighting control devices in each area, and determine that the tracked device is in the area that has the lowest average value of path loss values. The system controller may use the area data stored in memory to the determine the areas in which the lighting control devices are located.
At 616, the system controller may determine the fixture location (e.g., one or more lighting fixtures near which the tracked device may be located) using the path loss values in the path loss table. For example, the system controller may determine if the path loss value for one of the lighting control devices in the path loss table is much less than all of the other path loss values in the path loss table (e.g., separated by a threshold amount, such as 6 dB). If so, the system controller may determine that the tracked device is near the lighting fixture in which that lighting control device is installed. In addition, the system controller may determine a combined path loss value for each pair of lighting fixtures in each area in which there are lighting control device having path loss values in the path loss table, and determine that the tracked device is near the pair of lighting fixtures (e.g., between the lighting fixtures) that has the lowest value of combined path loss values. If only the area location is desired, step 616 may be omitted from the procedure 600.
At 618, the system controller may report location data regarding the tracked device, before the procedure 600 exits. For example, the system controller may report the most-commonly determined area location (e.g., as determined at 614 over a number of executions of the procedure 600) as well as the most-recently reported fixture location from that area of the most-commonly reported area location. In addition, the system controller may report a fixture location of the lighting fixture having the lighting control device with the minimum path loss value in the path loss table, e.g., from all of the areas in the space (e.g., which may be a different area than the most-commonly reported area location). The system controller may report (e.g., only report) the location data when the number of times that the most-commonly determined area location exceeds a threshold value.
At 712, the system controller may determine a gap (e.g., the difference) between the top two minimum path loss values in the path loss table (e.g., the path loss table determined at 612 of the procedure 600 shown in
If the gap (e.g., as determined at 712) is not greater than or equal to the threshold value at 714, the system controller may build a list of areas that have lighting control devices with associated path loss values in the path loss table at 718. For example, if the path loss table includes path loss values for the lighting control devices in the lighting fixtures F3, F4, F7, F8, F11, F12, and F21, the system controller may build a list of areas (e.g., areas 202, 204, and 208 of
At 812, the system controller may determine a gap (e.g., the difference) between the top two minimum path loss values in the path loss table (e.g., the path loss table determined at 612 of the procedure 600 shown in
If the gap (e.g., as determined at 812) is not greater than or equal to the threshold value at 814, the system controller may determine, at 818, a combined path loss value Lm,n for each pair of lighting fixtures (e.g., a fixture pair {m, n}) in each area of the lighting control devices in the path loss table. Fixture pairs may be limited to adjacent lighting fixtures (e.g., side-by-side or diagonally adjacent, as shown in
L
m-n=cube root of (m3+n3).
In addition, the system controller may determine the combined path loss value Lm-n for one of the fixture pairs by calculating an average value of the fixture loss values m and n of the lighting control devices in each lighting fixtures at 818. At 820, the system controller may determine the fixture pair (e.g., from all of the fixture pairs in the determined area) that has the minimum value for the combined path loss value Lm-n. At 822, the system controller may store the fixture pair that has the minimum value for the combined path loss value Lm-n (e.g., as determined at 820) as the fixture location of the tracked device, and may exit the procedure 800.
At 912, the system controller may determine a most-commonly determined area location from a number N (e.g., four) of consecutive iterations of the procedure 900 (e.g., a number N of consecutive iterations of 614 of the procedure 600 of
If the number M is greater than or equal to the threshold value THM at 916, the system controller may report location data regarding the tracked device at 918, before the procedure 900 exits. For example, the system controller may report the most-commonly determined area location at 918. In addition, the system controller may report at 918 the most-recently reported fixture location from that area of the most-commonly determined area location (e.g., as determined at 916 of the procedure 900). Further, the system controller may report at 918 a fixture location of the lighting fixture having the lighting control device with the minimum path loss value in the path loss table, e.g., from all of the areas in the space (e.g., which may be a different area than the most-commonly determined area location determined at 912). The system controller may report the area locations and/or fixture locations by transmitting the location data in one or more messages to a network device, such as a mobile device and/or a computing device (e.g., a personal computer and/or server). Also or alternatively, the system controller may be configured to control one or more of the lighting control devices in the load control system to indicate the determined area locations and/or fixture locations. For example, the system controller may transmit messages to control the lighting control devices in the load control system such that the intensity of lighting loads near the determined area locations and/or fixture locations are increased (e.g., as compared to the lighting loads that are not near the determined area locations and/or fixture locations). Further, the intensity of lighting loads may increase as the distance between a respective lighting load and the determined area locations and/or fixture locations decreases.
At 1012, the network device may receive and store new location data for a tracked device. At 1014, the network device may determine if coordinates (e.g., x-y coordinates) are available for the fixture locations included in the location data. For example, the configuration data (e.g., floorplan data) stored by the network device may include x-y coordinates for the various lighting fixtures along with the device identifiers of the lighting control devices installed in the respective lighting fixtures. The x-y coordinates of a lighting fixture may indicate a location on the floorplan image at which the lighting fixture may be located. The configuration data may also include the locations of the areas of the load control system on the floorplan image. If the coordinates of the fixture locations are not known at 1014, the network device may highlight the area associated with the area location of the tracked device (e.g., as included in the location data) at 1016, before the procedure 1000 exits.
If the coordinates of the fixture locations are known at 1014, the network device may determine the x-y coordinates of the fixture locations from the configuration data based on the device identifiers of the lighting control devices in the lighting fixtures at the fixture locations 1018. For example, if the fixture location is a single lighting fixture (e.g., as determined at 816 of procedure 800), the network device may determine a single set of x-y coordinates (x0, y0) associated with the single lighting fixture using on the configuration data. If the fixture location is a fixture pair (e.g., as determined at 822 of the procedure 800 shown in
At 1020, the network device may determine a weighted fixture location (xw, yw) from the x-y coordinates determined at 1018. For example, if the fixture location is a single lighting fixture, the network device may calculate the weighted fixture location (xw, yw) using the set of x-y coordinates (x0, y0) of the fixture location and the set of x-y coordinates (xlow, ylow) of the fixture location of the lighting fixture having the lighting control device with the minimum path loss value in the path loss table, e.g.,
x
w=[(4·x0)+xlow]/5; and
y
w=[(4·y0)+ylow]/5.
In addition, if the fixture location is a fixture pair, the network device may calculate the weighted fixture location (xw, yw) using the two sets of x-y coordinates (x1, y1) and (x2, y2) of the fixture location and the set of x-y coordinates (xlow, ylow) of the fixture location of the lighting fixture having the lighting control device with the minimum path loss value in the path loss table, e.g.,
x
w=[(2·x1)+(2·x2)+xlow]/5; and
y
w=[(2·y1)+(2·y2)+ylow]/5.
At 1022, the network device may place a marker for the tracked device at the location of the weighted fixture location (xw, yw) on the floorplan image, before the procedure 1000 exits.
Although
The computing device may process the tracking data from lighting control devices in a plurality of the lighting fixture (e.g., at least four lighting fixtures) in order to determine the location of the tracked device using the trilateration technique. At 1112, the computing device may determine a number N (e.g., four) of the lighting fixtures having the lighting control devices with the highest communication metrics (e.g., received signal strength magnitudes) of the beacon messages received from the tracked device and/or with the lowest path loss values in the tracking data. At 1114, the computing device may determine a distance Ri from each of the number N of the lighting fixtures to the tracked device. For example, the computing device may calculate the distance Ri for each of the number N of the lighting fixtures using a received signal strength magnitude SSi of the beacon messages received from the tracked device and a calibrated transmit power SS0 at a known distance R0 from the respective lighting fixture, e.g.,
R
i
=R
0·10A, where A=(SSi−SS0)/n,
and where n is a path loss exponent, which may be a constant that depends on the wireless transmission medium through which the beacon messages and typically ranges from 2 to 4. In some cases, constant values of the calibrated transmit power SS0, the distance R0, and/or the path loss exponent n may be used for all of the lighting fixtures.
At 1116, the computing device may establish initial conditions for the procedure 1100. For example, the computing device may establish load initial values in a location (xt, yt, zt) of the tracked device. For example, the computing device may set the initial values of the x-coordinate xt and the y-coordinate yt to be equal to the x-coordinate and y-coordinate of the location of the lighting fixture having the lighting control devices with the highest communication metric (e.g., highest received signal strength magnitude) of the beacon messages received from the tracked device and/or with the lowest path loss value in the tracking data. Since the lighting fixtures are typically installed on a ceiling and the tracked device (e.g., mobile device and/or tag) may be approximately six feet below the ceiling, the computing device may set the initial value of the z-coordinate zt to be approximately −6 feet. In addition, the computing device may initialize a counter COUNT to zero at 1116.
During the procedure 1100, the computing device may attempt to minimize the value of a function (e.g., a gradient function) f(xt, yt, zt). The computing device may repetitively calculate a value of the gradient function f(xt, yt, zt) and then adjust the values of the coordinates xt, yt, zt to try to move the value of the gradient function f(xt, yt, zt). The computing device may increment the counter COUNT each time that the computing device adjusts the values of the location (xt, yt, zt) of the tracked device. For example, the gradient function f(xt, yt, zt) may be based on the equation for a sphere, e.g.,
R
f=(xt−xf)2+(yt−yf)2+(zt−zf)2,
where (xt, yt, zt) is the location of the lighting fixture around which the sphere is located. The computing device may be configured to attempt to find values for the location (xt, yt, zt) of the tracked device that get the radius Rf in the above equation as close as possible to the values of the distances Ri calculated at 1114. At 1118, the computing device may calculate the present value of the gradient function f(xt, yt, zt), e.g.,
f(xt,yt,zt)=Σ[(xt−xi)2(yt−yi)2+(zt−zi)2−Ri], for i=1 to N.
For example, the first time that the computing device calculates the value of the gradient function f(xt, yt, zt), the computer device may use the initial values of the location (xt, yt, zt) of the tracked device determined at 1116.
Since the received signal strength magnitudes SSi used to calculate the distances Ri between the tracked device and the various lighting fixtures are affected by many non-idealities and variables in the environment of the area in which the load control system is installed, the computing device most likely may not be able to find values for the location (xt, yt, zt) of the tracked device that achieve a value of the gradient function f(xt, yt, zt) of zero. Therefore, the computing device uses one or more factors to determine when to end iterating on the location (xt, yt, zt) of the tracked device. The system controller may determine to stop adjusting the location (xt, yt, zt) of the tracked device when the calculated value of the gradient function f(xt, yt, zt) changes sign (e.g., from positive to negative, or vice versa) at 1120. The system controller may also determine to stop adjusting the location (xt, yt, zt) of the tracked device when the calculated value of the gradient function f(xt, yt, zt) is less than a minimum threshold value THMIN at 1122. The system controller may also determine to stop adjusting the location (xt, yt, zt) of the tracked device when the value of the counter COUNT (e.g., the number of iterations of the calculation of the gradient function f(xt, yt, zt)) is equal a maximum counter value COUNTMAX (e.g., 100 iterations) at 1124.
When the value of the gradient function f(xt, yt, zt) does not changes sign at 1120, the value of the gradient function f(xt, yt, zt) is not less than the minimum threshold value THMIN at 1122, and the value of the counter COUNT does not equal the maximum counter value COUNTMAX at 1124, the computing device may adjust the location (xt, yt, zt) of the tracked device. For example, the computing device may calculate values for the partial derivatives of the gradient function f(xt, yt, zt), e.g., δf(xt, yt, zt)/δxt, δf(xt, yt, zt)/δyt, δf(xt, yt, zt)/δzt, at 1126. At 1128, the computing device may determine if any of the partial derivatives changed sign (e.g., from positive to negative, or vice versa) since the last iteration. If so, the computing device may determine to hold constant the values of the coordinates of the location (xt, yt, zt) of the tracked device for which the partial derivative changed sign (e.g., which may indicate that the respective coordinate of the position is as close as possible to a final value) at 1130. At 1132, the computing device may calculate new values for the coordinates of the location (xt, yt, zt) of the tracked device for those coordinates that were not determined to be held constant at 1130. For example, the computing device may calculate the new values for the coordinates of the location (xt, yt, zt) of the tracked device using the values of the partial derivatives computed at 1126, e.g.,
x
t
=x
t
−λ·δf(xt,yt,zt)/δxt;
y
t
=y
t
−λ·δf(xt,yt,zt)/δyt; and
z
t
=z
t
−λδf(xt,yt,zt)/δzt,
where λ is a constant that is used to limit how much the coordinates of the location (xt, yt, zt) are changed during each iteration (e.g., to minimize overshoot) and may have a value much smaller than zero. In addition, since the lighting fixtures may be mounted on the ceiling, the value of the z-coordinate zt may be limited to be less than zero at 1132. The computing device may increment the counter COUNT at 1134, and then calculate the value of the gradient function f(xt, yt, zt) again at 1118 using the new values of the coordinates of the location (xt, yt, zt) (e.g., as determined at 1132).
When the value of the gradient function f(xt, yt, zt) has changed sign at 1120, the value of the gradient function f(xt, yt, zt) is less than the minimum threshold value THMIN at 1122, or the value of the counter COUNT is equal to the maximum counter value COUNTMAX at 1124, the computing device may store the final values of the location (xt, yt, zt) as the location of the tracked device at 1136, before the procedure 1100 exits. The location (xt, yt, zt) may be used to locate a marker on a floorplan image of the space in which the load control system is installed (e.g., as at 1022 of the procedure 1000 shown in
The network device 1200 may include a communications circuit 1208 for transmitting and/or receiving information. The communications circuit 1208 may perform wireless and/or wired communications. The communications circuit 1208 may include an RF transceiver or other circuit capable of performing wireless communications via an antenna. Communications circuit 1208 may be in communication with control circuit 1202 for transmitting and/or receiving information.
The control circuit 1202 may also be in communication with a display 1206 for providing information to a user. The processor 1202 and/or the display 1206 may generate GUIs for being displayed on the network device 1200. The display 1206 and the control circuit 1202 may be in two-way communication, as the display 1206 may include a touch screen module capable of receiving information from a user and providing such information to the control circuit 1202. The network device may also include an actuator 1212 (e.g., one or more buttons) that may be actuated by a user to communicate user selections to the control circuit 1202.
Each of the modules within the network device 1200 may be powered by a power source 1210. The power source 1210 may include an AC power supply or DC power supply, for example. The power source 1210 may generate a supply voltage VCC for powering the modules within the network device 1200.
The system controller 1300 may include a communications circuit 1306 for transmitting and/or receiving information. The communications circuit 1306 may perform wireless and/or wired communications. The system controller 1300 may also, or alternatively, include a communications circuit 1308 for transmitting and/or receiving information. The communications circuit 1306 may perform wireless and/or wired communications. Communications circuits 1306 and 1308 may be in communication with control circuit 1302. The communications circuits 1306 and 1308 may include RF transceivers or other communications modules capable of performing wireless communications via an antenna. The communications circuit 1306 and communications circuit 1308 may be capable of performing communications via the same communication channels or different communication channels. For example, the communications circuit 1306 may be capable of communicating (e.g., with a network device, over a network, etc.) via a wireless communication channel (e.g., BLUETOOTH®, near field communication (NFC), WIFI®, WI-MAX®, cellular, etc.) and the communications circuit 1308 may be capable of communicating (e.g., with control devices and/or other devices in the load control system) via another wireless communication channel (e.g., WI-FI® or a proprietary communication channel, such as CLEAR CONNECT™).
The control circuit 1302 may be in communication with an LED indicator 1312 for providing indications to a user. The control circuit 1302 may be in communication with an actuator 1314 (e.g., one or more buttons) that may be actuated by a user to communicate user selections to the control circuit 1302. For example, the actuator 1314 may be actuated to put the control circuit 1302 in an association mode and/or communicate association messages from the system controller 1300.
Each of the modules within the system controller 1300 may be powered by a power source 1310. The power source 1310 may include an AC power supply or DC power supply, for example. The power source 1310 may generate a supply voltage VCC for powering the modules within the system controller 1300.
The control circuit 1404 may store information in and/or retrieve information from the memory 1406. For example, the memory 1406 may maintain a registry of associated control devices and/or control configuration instructions. The memory 1406 may include a non-removable memory and/or a removable memory. The load control circuit 1408 may receive command from the control circuit 1404 and may control the electrical load 1414 based on the received commands. The load control circuit 1408 may send status feedback to the control circuit 1404 regarding the status of the electrical load 1416. The load control circuit 1408 may receive power via the hot connection 1412 and the neutral connection 1414 and may provide an amount of power to the electrical load 1416. The electrical load 1416 may include any type of electrical load.
The control circuit 1404 may be in communication with an actuator 1418 (e.g., one or more buttons) that may be actuated by a user to communicate user selections to the control circuit 1404. For example, the actuator 1418 may be actuated to put the control circuit 1404 in an association mode or discovery mode and may communicate association messages or discovery messages from the load control device 1400.
The control circuit 1502 may store information in and/or retrieve information from the memory 1504. The memory 1504 may include a non-removable memory and/or a removable memory, as described herein.
The control-source device 1500 may include a communications circuit 1508 for transmitting and/or receiving information. The communications circuit 1508 may transmit and/or receive information via wired and/or wireless communications. The communications circuit 1508 may include a transmitter, an RF transceiver, or other circuit capable of performing wired and/or wireless communications. The communications circuit 1508 may be in communication with control circuit 1502 for transmitting and/or receiving information.
The control circuit 1502 may also be in communication with an input circuit 1506. The input circuit 1506 may include an actuator (e.g., one or more buttons) or a sensor circuit (e.g., an occupancy sensor circuit, a daylight sensor circuit, or a temperature sensor circuit) for receiving input that may be sent to a device for controlling an electrical load. For example, the control-source device may receive input from the input circuit 1506 to put the control circuit 1502 in an association mode and/or communicate association messages from the control-source device. The control circuit 1502 may receive information from the input circuit 1506 (e.g. an indication that a button has been actuated or sensed information). Each of the modules within the control-source device 1500 may be powered by a power source 1510.
The control circuit 1602 may store information in and/or retrieve information from the memory 1604. The memory 1604 may include a non-removable memory and/or a removable memory, as described herein.
The tracked device 1600 may include a communications circuit 1606 for transmitting and/or receiving information. The communications circuit 1606 may transmit and/or receive information via wired and/or wireless communications. The communications circuit 1606 may include a transmitter, an RF transceiver, or other circuit capable of performing wired and/or wireless communications. The communications circuit 1606 may be in communication with control circuit 1602 for transmitting and/or receiving information. Each of the modules within the control-source device 1500 may be powered by a power source 1610.
Although features and elements are described herein in particular combinations, each feature or element can be used alone or in any combination with the other features and elements. The methods described herein may be implemented in a computer program, software, or firmware incorporated in a computer-readable medium for execution by a computer or processor. Examples of computer-readable media include electronic signals (transmitted over wired or wireless connections) and computer-readable storage media. Examples of computer-readable storage media include, but are not limited to, a read only memory (ROM), a random access memory (RAM), removable disks, and optical media such as CD-ROM disks, and digital versatile disks (DVDs).
This application is a continuation of U.S. Non-Provisional patent application Ser. No. 17/580,238, filed Jan. 20, 2022, which is a continuation of U.S. Non-Provisional patent application Ser. No. 17/112,706, filed Dec. 4, 2020, the disclosures of which are incorporated herein by reference in their entireties.
Number | Date | Country | |
---|---|---|---|
Parent | 17580238 | Jan 2022 | US |
Child | 18082107 | US | |
Parent | 17112706 | Dec 2020 | US |
Child | 17580238 | US |