CROSS-REFERENCE TO RELATED APPLICATIONSThis application claims priority to U.S. application Ser. No. 16/184,685, entitled “Motion Detection Based on Beamforming Dynamic Information,” filed Nov. 8, 2018; U.S. Provisional Application No. 62/586,824 entitled “Motion Detection Based on Beamforming Dynamic Information” and filed Nov. 15, 2017; U.S. Provisional Application No. 62/633,789 entitled “Motion Detections Using a Central Computing Node” and filed Feb. 22, 2018; and U.S. Provisional Application No. 62/648,110 entitled “Motion Detection Based on Beamforming Dynamic Information” and filed Mar. 26, 2018, all of which are hereby incorporated by reference.
BACKGROUNDThe following description relates to motion detection.
Motion detection systems have been used to detect movement, for example, of objects in a room or an outdoor area. In some example motion detection systems, infrared or optical sensors are used to detect movement of objects in the sensor's field of view. Motion detection systems have been used in security systems, automated control systems and other types of systems.
DESCRIPTION OF DRAWINGSFIG. 1 is a diagram showing an example wireless communication system.
FIGS. 2A-2B are diagrams showing an example beamforming system comprising a beamformer and a beamformee.
FIGS. 3A-3B are diagrams of example wireless communication systems for detecting motion based on beamforming matrices.
FIGS. 4A-4B are diagrams showing an example wireless communication system that includes objects in a space between a transmitter and a receiver.
FIGS. 5A-5B are diagrams showing an example spatial map generation process for a first mode of a motion detection system.
FIGS. 6A, 6B, 6C are diagrams showing an example spatial map generation processes for a motion detection system.
FIG. 7 is a diagram showing the example system ofFIGS. 4A-4B with a person in the space.
FIG. 8 is a diagram showing an example system for generating a spatial map based on received wireless signals.
FIG. 9 is a flow diagram showing an example process of detecting motion based on received wireless signals.
FIG. 10 is a flow diagram showing an example process of detecting motion using a central controller.
FIG. 11 is a flow diagram showing an example process of processing a ping request.
FIGS. 12A-12C illustrate system architecture examples of a motion detection system.
DETAILED DESCRIPTIONIn some aspects of what is described, motion in a space is detected based on beamforming dynamic information. Beamforming dynamic information may refer to the behavior of, or information generated or used by, wireless communication devices in performing beamforming operations over time. For example, beamforming dynamic information may include feedback or steering matrices generated by wireless communication devices communicating according to an IEEE 802.11 standard (e.g., the IEEE 802.11-2012 standard or the IEEE 802.11ac-2013 standard, which are both hereby incorporated by reference). By analyzing changes in the beamforming dynamic information of wireless communication devices, motion in the space may be detected. For example, in some implementations, feedback and steering matrices generated by wireless communication devices in a beamforming wireless communication system may be analyzed over time to detect changes in the channel state (which may be caused by motion of an object). Beamforming may be performed between devices based on some knowledge of the channel state (e.g., through feedback properties generated by a receiver), which can be used to generate one or more steering properties (e.g., a steering matrix) that are applied by a transmitter device to shape the transmitted beam/signal in a particular direction or directions. Thus, changes to the steering or feedback properties used in the beamforming process indicate changes in the channel state, which may be caused by moving objects in the space accessed by the wireless communication system.
In some implementations, for example, a steering matrix may be generated at a transmitter device (beamformer) based on a feedback matrix provided by a receiver device (beamformee) based on channel sounding. Because the steering and feedback matrices are related to propagation characteristics of the channel, these matrices change as objects move within the channel. Changes in the channel characteristics are accordingly reflected in these matrices, and by analyzing the matrices, motion can be detected, and different characteristics of the detected motion can be determined. In some implementations, a spatial map may be generated based on one or more beamforming matrices. The spatial map may indicate a general direction of an object in a space relative to a wireless communication device. In some cases, “modes” of a beamforming matrix (e.g., a feedback matrix or steering matrix) can be used to generate the spatial map. The spatial map may be used to detect the presence of motion in the space or to detect a location of the detected motion.
Channel sounding may refer to the process performed to acquire Channel State Information (CSI) from each of the different receiver devices in a wireless communication system. In some instances, channel sounding is performed by sending training symbols (e.g., a null data packet (NDP) as specified in the IEEE 802.11ac-2013 standard) and waiting for the receiver devices to provide feedback that includes a measure of the channel. In some instances, the feedback includes a feedback matrix calculated by each of the receiver devices. This feedback may then be used to generate the steering matrix used to pre-code the data transmission by creating a set of steered beams, which may optimize reception at one or more receiver devices. The channel sounding process may be performed repeatedly by a wireless communication system. The steering matrix will therefore repeatedly update, such as, for example, to minimize the impact of the propagation channel change to the data transmission quality. By observing changes in the steering matrix (or feedback matrix) over time, motion by an object in the channel can be detected. Further, in some cases, different categories of motion (e.g., human motion vs. dog/cat motion) can be identified.
Changes in the beamforming or feedback matrices can be analyzed to detect motion in a number of ways. In some cases, for example, a variance for each entry in the matrix is analyzed, or the linear independence of matrix columns (e.g., rank) may be analyzed. This information can, for example, allow for determining a number of independently fading paths present in the channel. In some cases, if the coefficients of this linear independence are changing, the changes could be due to a moving object restricted to a certain zone. If the number of linearly independent columns itself changes, the changes could be due to wide-spread changes across the channel, allowing different kinds of multipath to be created and destroyed. In some cases, the time series of this inter-column correlation can be analyzed to determine, for example, how slow or fast these changes are occurring.
In some instances, the beamforming is performed according to a standardized process. For example, the beamforming may be performed according to an IEEE 802.11 standard (e.g., 802.11g, 802.11n, or 802.11ac standards). The beamforming may be an optional or mandatory feature of the standard. Beamforming may be performed according to another standard, or in another manner. In some cases, the 802.11 standard applies adaptive beamforming using multi-antenna spatial diversity to improve data transmission quality between network nodes. Moving objects change spatial characteristics of the environment by changing multipath propagation of transmitted wireless signals. As a result, such movement can influence a beamforming steering configuration performed by a device according to the 802.11 standard. By observing how the spatial configuration (e.g., beamforming) of the beamformer changes over time (e.g., via the steering matrix generated by the beamformer based on a feedback matrix), physical motion within the area covered by wireless transmission may be detected.
The systems and techniques described here may provide one or more advantages in some instances. For example, motion may be detected using wireless signals transmitted through a space using two or more wireless communication devices. In addition, motion may be detected according to known protocols or processes (e.g., aspects of the IEEE 802.11 standard) already being implemented on wireless communication devices.
FIG. 1 illustrates an examplewireless communication system100. The examplewireless communication system100 includes three wireless communication devices—a firstwireless communication device102A, a secondwireless communication device102B, and a thirdwireless communication device102C. The examplewireless communication system100 may include additional or fewer (e.g., two) wireless communication devices and may include other components (e.g., additional wireless communication devices, one or more network servers, network routers, network switches, cables, or other communication links, etc.). In some instances, the wireless communication devices102 perform beamforming operations to increase network efficiency (e.g., through higher SNR) or for other purposes.
The examplewireless communication devices102A,102B,102C can operate in a wireless network, for example, according to a wireless network standard or another type of wireless communication protocol. For example, the wireless network may be configured to operate as a Wireless Local Area Network (WLAN), a Personal Area Network (PAN), a metropolitan area network (MAN), or another type of wireless network. Examples of WLANs include networks configured to operate according to one or more of the 802.11 family of standards developed by IEEE (e.g., Wi-Fi networks), and others. Examples of PANs include networks that operate according to short-range communication standards (e.g., BLUETOOTH®, Near Field Communication (NFC), ZigBee), millimeter wave communications, and others.
In some implementations, thewireless communication devices102A,102B,102C may be configured to communicate in a cellular network, for example, according to a cellular network standard. Examples of cellular networks include networks configured according to 2G standards such as Global System for Mobile (GSM) and Enhanced Data rates for GSM Evolution (EDGE) or EGPRS; 3G standards such as Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Universal Mobile Telecommunications System (UMTS), and Time Division Synchronous Code Division Multiple Access (TD-SCDMA); 4G standards such as Long-Term Evolution (LTE) and LTE-Advanced (LTE-A); and others.
In the example shown inFIG. 1, thewireless communication devices102A,102B,102C can be, or they may include, standard wireless network components. For example, thewireless communication devices102A,102B,102C may be commercially-available Wi-Fi access points or another type of wireless access point (WAP) performing one or more operations as described herein that are embedded as instructions (e.g., software or firmware) on the modem of the WAP. In some cases, thewireless communication devices102A,102B,102C may be nodes of a wireless mesh network, such as, for example, a commercially-available mesh network system (e.g., GOOGLE WIFI). In some cases, the wireless mesh network operates according to an IEEE 802.11 mesh standard protocol (e.g., 802.11s). In other cases, thewireless communication devices102A,102B,102C may form a star or an ad-hoc network. These networks, e.g. mesh, star, or ad-hoc, may form a motion sensing network. In some cases, another type of standard or conventional Wi-Fi transmitter device may be used. Thewireless communication devices102A,102B,102C may be implemented without Wi-Fi components; for example, other types of standard or non-standard wireless communication may be used for motion detection. In some cases, thewireless communication devices102A,102B,102C can be, or they may be part of, a dedicated motion detection system. For example, the dedicated motion detection system can include a hub device and one or more beacon devices (as remote sensor devices), and thewireless communication devices102A,102B,102C can be either a hub device or a beacon device in the motion detection system. In some implementations,wireless communication devices102A,102B,102C may be a user equipment (UE), mobile phone, smart phone, tablet, computer, PDA, Internet of Things (IOT) device, smart device, wearable device, or any device capable of wireless communication.
As shown inFIG. 1, the examplewireless communication device102C includes amodem112, aprocessor114, amemory116, and apower unit118; any of thewireless communication devices102A,102B,102C in thewireless communication system100 may include the same, additional or different components, and the components may be configured to operate as shown inFIG. 1 or in another manner. In some implementations, themodem112,processor114,memory116, andpower unit118 of a wireless communication device are housed together in a common housing or other assembly. In some implementations, one or more of the components of a wireless communication device can be housed separately, for example, in a separate housing or other assembly.
Theexample modem112 can communicate (receive, transmit, or both) wireless signals. For example, themodem112 may be configured to communicate radio frequency (RF) signals formatted according to a wireless communication standard (e.g., Wi-Fi or Bluetooth). Themodem112 may be implemented as theexample transmitter212 orreceiver222 shown inFIG. 2B, or themodem112 may be implemented in another manner, for example, with other types of components or subsystems. In some implementations, theexample modem112 includes a radio subsystem and a baseband subsystem. In some cases, the baseband subsystem and radio subsystem can be implemented on a common chip or chipset, or they may be implemented in a card or another type of assembled device. The baseband subsystem can be coupled to the radio subsystem, for example, by leads, pins, wires, or other types of connections.
In some cases, a radio subsystem in themodem112 can include one or more antennas and radio frequency circuitry. The radio frequency circuitry can include, for example, circuitry that filters, amplifies or otherwise conditions analog signals, circuitry that up-converts baseband signals to RF signals, circuitry that down-converts RF signals to baseband signals, etc. Such circuitry may include, for example, filters, amplifiers, mixers, a local oscillator, etc. The radio subsystem can be configured to communicate radio frequency wireless signals on the wireless communication channels. As an example, the radio subsystem may include a radio chip, an RF front end, and one or more antennas. A radio subsystem may include additional or different components. In some implementations, the radio subsystem can be or include the radio electronics (e.g., RF front end, radio chip, or analogous components) from a conventional modem, for example, from a Wi-Fi modem, pico base station modem, etc. In some implementations, the antenna includes multiple antennas.
In some cases, a baseband subsystem in themodem112 can include, for example, digital electronics configured to process digital baseband data. As an example, the baseband subsystem may include a baseband chip. A baseband subsystem may include additional or different components. In some cases, the baseband subsystem may include a digital signal processor (DSP) device or another type of processor device. In some cases, the baseband system includes digital processing logic to operate the radio subsystem, to communicate wireless network traffic through the radio subsystem, to detect motion based on motion detection signals received through the radio subsystem or to perform other types of processes. For instance, the baseband subsystem may include one or more chips, chipsets, or other types of devices that are configured to encode signals and deliver the encoded signals to the radio subsystem for transmission, or to identify and analyze data encoded in signals from the radio subsystem (e.g., by decoding the signals according to a wireless communication standard, by processing the signals according to a motion detection process, or otherwise).
In some instances, the radio subsystem in theexample modem112 receives baseband signals from the baseband subsystem, up-converts the baseband signals to radio frequency (RF) signals, and wirelessly transmits the radio frequency signals (e.g., through an antenna). In some instances, the radio subsystem in theexample modem112 wirelessly receives radio frequency signals (e.g., through an antenna), down-converts the radio frequency signals to baseband signals, and sends the baseband signals to the baseband subsystem. The signals exchanged between the radio subsystem and the baseband subsystem may be digital or analog signals. In some examples, the baseband subsystem includes conversion circuitry (e.g., a digital-to-analog converter, an analog-to-digital converter) and exchanges analog signals with the radio subsystem. In some examples, the radio subsystem includes conversion circuitry (e.g., a digital-to-analog converter, an analog-to-digital converter) and exchanges digital signals with the baseband subsystem.
In some cases, theexample modem112 can communicate wireless network traffic (e.g., data packets) on the wireless communication network through the radio subsystem on one or more wireless communication channels. For example, in some implementations, a first modem of a first wireless communication device can communicate a null data packet (NDP) on the wireless communication network. A second modem of a second wireless communication device can receive the NDP and generate a feedback matrix based on the NDP, which can be communicated back to the first modem for use in the determination of a steering matrix, which may be used to steer or beamform wireless network traffic sent on the one or more wireless communication channels. Other types of data packets may be used in a similar manner.
Theexample processor114 can execute instructions, for example, to generate output data based on data inputs. The instructions can include programs, codes, scripts, or other types of data stored in memory. Additionally or alternatively, the instructions can be encoded as pre-programmed or re-programmable logic circuits, logic gates, or other types of hardware or firmware components. Theprocessor114 may be or include a general-purpose microprocessor, as a specialized co-processor or another type of data processing apparatus. In some cases, theprocessor114 performs high level operation of thewireless communication device102C. For example, theprocessor114 may be configured to execute or interpret software, scripts, programs, functions, executables, or other instructions stored in thememory116. In some implementations, theprocessor114 may be included in themodem112.
Theexample memory116 can include computer-readable storage media, for example, a volatile memory device, a non-volatile memory device, or both. Thememory116 can include one or more read-only memory devices, random-access memory devices, buffer memory devices, or a combination of these and other types of memory devices. In some instances, one or more components of the memory can be integrated or otherwise associated with another component of thewireless communication device102C. Thememory116 may store instructions that are executable by theprocessor114. For example, the instructions may include instructions for detecting motion, such as through one or more of the operations of theexample process900 ofFIG. 9, theexample process1000 ofFIG. 10, or theexample process1100 ofFIG. 11.
Theexample power unit118 provides power to the other components of thewireless communication device102C. For example, the other components may operate based on electrical power provided by thepower unit118 through a voltage bus or other connection. In some implementations, thepower unit118 includes a battery or a battery system, for example, a rechargeable battery. In some implementations, thepower unit118 includes an adapter (e.g., an AC adapter) that receives an external power signal (from an external source) and coverts the external power signal to an internal power signal conditioned for a component of thewireless communication device102C. Thepower unit118 may include other components or operate in another manner.
In the example shown inFIG. 1, thewireless communication devices102A,102B transmit wireless signals (e.g., according to a wireless network standard, a motion detection protocol, or otherwise). For instance,wireless communication devices102A,102B may broadcast wireless signals (e.g., reference signals, beacon signals, status signals, etc.), or they may send wireless signals addressed to other devices (e.g., a user equipment, a client device, a server, etc.), and the other devices (not shown) as well as thewireless communication device102C may receive the wireless signals transmitted by thewireless communication devices102A,102B. In some cases, the wireless signals transmitted by thewireless communication devices102A,102B are repeated periodically, for example, according to a wireless communication standard or otherwise.
In the example shown, thewireless communication device102C processes the wireless signals from thewireless communication devices102A,102B to detect motion of an object in a space accessed by the wireless signals, to determine a location of the detected motion, or both. For example, thewireless communication device102C may perform one or more operations of the example processes described below with respect toFIGS. 3-11, or another type of process for detecting motion or determining a location of detected motion. The space accessed by the wireless signals can be an indoor or outdoor space, which may include, for example, one or more fully or partially enclosed areas, an open area without enclosure, etc. The space can be or can include an interior of a room, multiple rooms, a building, or the like. In some cases, thewireless communication system100 can be modified, for instance, such that thewireless communication device102C can transmit wireless signals and thewireless communication devices102A,102B can processes the wireless signals from thewireless communication device102C to detect motion or determine a location of detected motion.
The wireless signals used for motion detection can include, for example, a beacon signal (e.g., Bluetooth Beacons, Wi-Fi Beacons, other wireless beacon signals), another standard signal generated for other purposes according to a wireless network standard, or non-standard signals (e.g., random signals, reference signals, etc.) generated for motion detection or other purposes. In some examples, the wireless signals propagate through an object (e.g., a wall) before or after interacting with a moving object, which may allow the moving object's movement to be detected without an optical line-of-sight between the moving object and the transmission or receiving hardware. Based on the received signals, the thirdwireless communication device102C may generate motion detection data. In some instances, the thirdwireless communication device102C may communicate the motion detection data to another device or system, such as a security system, that may include a control center for monitoring movement within a space, such as a room, building, outdoor area, etc.
In the example shown inFIG. 1, thewireless communication system100 is a wireless mesh network, with wireless communication links between each of the respective wireless communication devices102. In the example shown, the wireless communication link between the thirdwireless communication device102C and the firstwireless communication device102A can be used to probe a firstmotion detection field110A, the wireless communication link between the thirdwireless communication device102C and the secondwireless communication device102B can be used to probe a secondmotion detection field110B, and the wireless communication link between the firstwireless communication device102A and the secondwireless communication device102B can be used to probe a thirdmotion detection field110C. In some instances, each wireless communication device102 detects motion in the motion detection fields110 accessed by that device by processing received signals that are based on wireless signals transmitted by the wireless communication devices102 through the motion detection fields110. For example, when theperson106 shown inFIG. 1 moves in the firstmotion detection field110A and the thirdmotion detection field110C, the wireless communication devices102 may detect the motion based on signals they received that are based on wireless signals transmitted through the respective motion detection fields110. For instance, the firstwireless communication device102A can detect motion of the person in bothmotion detection fields110A,110C, the secondwireless communication device102B can detect motion of theperson106 in themotion detection field110C, and the thirdwireless communication device102C can detect motion of theperson106 in themotion detection field110A.
In some instances, the motion detection fields110 can include, for example, air, solid materials, liquids, or another medium through which wireless electromagnetic signals may propagate. In the example shown inFIG. 1, the firstmotion detection field110A provides a wireless communication channel between the firstwireless communication device102A and the thirdwireless communication device102C, the secondmotion detection field110B provides a wireless communication channel between the secondwireless communication device102B and the thirdwireless communication device102C, and the thirdmotion detection field110C provides a wireless communication channel between the firstwireless communication device102A and the secondwireless communication device102B. In some aspects of operation, wireless signals transmitted on a wireless communication channel (separate from or shared with the wireless communication channel for network traffic) are used to detect movement of an object in a space. The objects can be any type of static or moveable object, and can be living or inanimate. For example, the object can be a human (e.g., theperson106 shown inFIG. 1), an animal, an inorganic object, or another device, apparatus, or assembly), an object that defines all or part of the boundary of a space (e.g., a wall, door, window, etc.), or another type of object. In some implementations, motion information from the wireless communication devices may be analyzed to determine a location of the detected motion. For example, as described further below, one of the wireless communication devices102 (or another device communicably coupled to the devices102) may determine that the detected motion is nearby a particular wireless communication device.
FIGS. 2A-2B are diagrams showing anexample beamforming system200 comprising abeamformer210 and abeamformee220. In the examples shown, thebeamformer210 sends asignal202 to thebeamformee220 over thechannel230 using thetransmitter212. In some instances, thesignal202 includes a null data packet (NDP), also referred to as a sounding packet. Thebeamformee220 receives thesignal202 using thereceiver222. Thetransmitter212 may include aradio subsystem215, abaseband subsystem213, andmultiple antennas217 as shown inFIG. 2B. Likewise, thereceiver222 may include aradio subsystem223, abaseband subsystem225, andmultiple antennas227 as shown inFIG. 2B. The respective radio and baseband subsystems may be implemented as described above. In some cases, thetransmitter212 and thereceiver222 each include multiple antennas, and form a multiple-input/multiple-output (MIMO) system.
Thebeamformee220 determines channel state information (CSI)224 based on the signal(s) received at thereceiver222. Thebeamformee220 then computes, using thefeedback matrix calculator226, afeedback matrix204 based on theCSI224. In some cases, thefeedback matrix calculator226 generates afeedback matrix204 that correlates to changes in the environment, e.g. the channel in which signal202 is transmitted. For example, changes within the feedback matrix may be correlated to location and intensity of motion. Thefeedback matrix204 is then sent to thebeamformer210. In some cases, thefeedback matrix204 is sent to the beamformer in a compressed format (e.g., as a compressed version of thefeedback matrix204 computed by the feedback matrix calculator226). Thebeamformer210 then generates, using thesteering matrix calculator216, asteering matrix214 based on thefeedback matrix204. Thesteering matrix214 is then used by thetransmitter212 to shape the beam for the next signal transmitted to thebeamformee220. In some cases, the changes tosteering matrix214 quantifies changes to the environment since any change to theradio transmitter212 orreceiver222 surroundings will cause a change in the propagation ofsignal202. For example, as a result of continuous channel sounding performed bysystem200, steeringmatrix214 will be continuously updated to attempt to minimize the impact of propagation channel changes to the data transmission quality, e.g. the transmission quality ofsignal202. By observing changes insteering matrix214 over time, a motion or presence detection process may determine changes in the physical environment, and in some cases, classify types of physical motion.
In some implementations, the beamforming process performed by thesystem200 is based on a standard, such as, for example, an IEEE 802.11 standard. For instance, in some cases, the beamforming process is based onSections 9, 20, and/or 22 of the IEEE 802.11ac-2013 standard. In some cases, thesystem200 can be modeled by Equation (1):
yk=Hkxk+n (1)
where xkrepresents a vector [x1, x2, . . . , xn] transmitted in subcarrier frequency k by thetransmitter212, ykrepresents a vector [y1, y2, . . . , yn] received by thereceiver222, Hkrepresents a channel response matrix of dimensions NRX×NTX(where NRXis the number of antennas at the receiver and NRXis the number of antennas at the transmitter), and n represents white (spatially and temporally) Gaussian noise. When a beamforming process is used, thebeamformer210 applies a steering matrix Qkto the transmit signal. Thesystem200 can thus be modeled by Equation (2):
yk=HkQkxk+n (2)
where Qkis a matrix of dimension NTX×NSTS(where NSTSis the number of elements in xk).
In some implementations, explicit beamforming may be used. For example, explicit beamforming requires explicit feedback from thebeamformee220 of the current channel state. In such implementations, thebeamformee220 computes the channel matrices Hkbased on the Long Training Field (LTF) of the beamformer210 (which is included in a null data packet transmitted by the beamformer210). The channel matrices may then be encoded into a matrix Vk. An example encoding process is outlined in Sections 20.3.12.5 (uncompressed) and 20.3.12.6 (compressed) of the IEEE 802.11 standard. In some cases, the matrix Vkis sent in the Beamforming Report Field (as discussed in Sections 8.4.1.28 and 8.4.1.29 of the IEEE 802.11ac-2013 standard) using the Action No Ack Management Frame (as discussed in Section 8.3.3.14 of the IEEE 802.11ac-2013 standard). Thebeamformee220 may also perform a similar beamforming process to determine a steering matrix for sending beamformed signals to thebeamformer210. In other implementations, implicit beamforming may be used. For example, implicit beamforming requires that thebeamformer210 calculate beamforming information as no feedback on the current channel state is provided by thebeamformee220. In an example of implicit beamforming, thebeamformer210 requests thebeamformee220 to send a sounding frame. Thebeamformee220 sends the sounding frame (e.g. a null data packet) to thebeamformer210 in response to the request. Thebeamformer210 receives the sounding frame and determines the current channel state, e.g. computes matrices Hk, based on reciprocity of the channel with thebeamformee220.
FIGS. 3A-3B are diagrams of examplewireless communication systems310,320 for detecting motion based on beamforming matrices. In some cases, thewireless communication systems310,320 communicate according to one or more aspects of the IEEE 802.11 wireless communication standard. In the example shown inFIG. 3A, thewireless communication system310 includes a wireless access point (WAP)302, multiple client devices304 connected to theWAP302, anetwork306, and aserver308. In the example shown inFIG. 3B, thewireless communication system320 includesmultiple WAPs302 communicating according to a wireless mesh protocol, multiple client devices304 connected to theWAPs302, anetwork306, and aserver308. Theserver308 include amodem312,processor314,memory316, andpower unit318. Themodem312 may be implemented similarly to themodem112 ofFIG. 1, theprocessor314 may be implemented similarly to theprocessor114 ofFIG. 1, thememory316 may be implemented similarly to thememory116 ofFIG. 1, and thepower unit318 may be implemented similar to thepower unit118 ofFIG. 1. Thenetwork306 may be any type of network that communicably couples theserver308 to theWAPs302 and devices304 (e.g., LAN, WAN, the Internet, or a combination thereof).
In the examples shown, thewireless communication systems310,320 implement a beamforming protocol, e.g. to generate and transmit beamforming information from one wireless device to another wireless device. For example, the wireless communication devices can implement a beamforming protocol similar to those described above. In each example, the WAP(s)302, client devices304, or both can detect motion of theobjects330 based on analyzing beamforming dynamic information (e.g., steering or feedback matrices). In some examples (e.g., the wireless communication system310), sounding and beamforming is performed between aWAP302 and client devices304, and motion is detected at theWAP302 by observing changes in a beamforming matrix (e.g., the steering matrix). Motion may also be localized by theWAP302 based on changes in the respective beamforming matrices for each connection with a client device304. In mesh examples (e.g., the wireless communication system320), sounding and beamforming is performed betweenWAPs302 and their respective client devices304 and motion information is determined at each of theWAPs302. The motion information can then be sent to a hub device (e.g., one of the WAPs302) or another device (e.g., the server308) to analyze the motion information and make an overall determination of whether motion has occurred in the space, detect a location of detected motion, or both. In some examples, the client devices304 may also determine motion information based on beamforming matrices (e.g., feedback matrices). In such cases, motion may be detected based on channel state information (CSI) or the feedback matrix estimation that is calculated as a result of receiving a null data packet frame or other type of WIFI frame. The motion information may then be passed to a hub device (e.g., one of the WAPs302) or another device (e.g., the server308) to make an overall determination of whether motion has occurred in the space, detect a location of detected motion, or both.
FIGS. 4A-4B are diagrams showing an examplewireless communication system400 withobjects410,420,430 in a space between atransmitter402 and areceiver404. In the examples shown, signals406,408 are sent between the respective antennas of thetransmitter402 andreceiver404. In this example, thesignal406 is reflected offobject410, and signal408 is reflected offobject420.
As illustrated inFIG. 4B, depicting a view of the right-hand side ofFIG. 4A, because of the angle of arrival θ of the signals,e.g. signal406, and the distance d between the respective antennas of thereceiver404, the signals must traverse an additional distance δθ to arrive at the RX2antenna404-2 versus the RX1antenna404-1 of thereceiver404. Thus, in an example, thesignal406 arrives at the antennas404-1,404-2 of thereceiver404 at different times. As shown, the distance δθ can be determined as a function of the angle θ, the distance d, and the wavelength λ of the signal. The values d and A are generally constant, and thus, the distance δθ may be mainly based on the angle θ. Thesystem400 may generally be modeled by Equation (3):
or specifically, in the example shown, by Equation (4):
Here, Rx1represents the signal received by the antenna404-1, Rx2represents the signal received by the antenna404-2, Tx1represents the signal transmitted by a first antenna of thetransmitter402, and Tx2represents the signal transmitted by a first antenna of thetransmitter402. From the above, it is seen that, in this example with two transmitter antennas and two receiver antennas, the H-matrix can be written
In some implementations, a spatial map of observed “modes” (created by objects in the space) may be generated. Each mode may be represented by a portion of the square matrix H in Equations (3) and (4). For instance, a first mode may be represented by the matrix
while a second mode may be represented by
The composition of the matrix H in Equations (3) and (4) indicates that its rows represent an impact of the transmitter, and the columns represent an impact of the receiver. A channel response may be considered as a superposition of many different scattering modes. However, close to the receiver, the receive mode can be dominant. We can therefore extract columns from the H matrix, and understand them as receive modes which carry spatial information. Each receive mode can be converted to a spatial map that shows relative power levels of received signals in the angular domain. In some cases, the spatial map can be created by performing a Fourier analysis on the extracted columns of the H matrix. The Fourier analysis may correspond to multiplying and accumulating the extracted columns with exponential functions representing projection of different angles of arrival on the receive antenna array. This projection represents an angular sine wave that a certain inclined ray will create on the multiplicity of receive antennas. By multiplying and accumulating the column vector with difference Fourier basis, a picture of where energy is located in the angular domain may be generated. This energy-angle picture would be increasingly accurate in the vicinity of the receiver. In some implementations, the peaks of the spatial map or the overall shape can be tracked using different tracking filters to determine whether motion has occurred in a space.
In some cases, each of the extracted modes can be Fourier analyzed to create its constituent components, and those components can be tracked to yield information on the changes occurring in the channel. Some changes like angles are directly translate-able to physical intuition while others are indirectly related. Even though changes may be indirectly related, they can be associated with different actions (e.g., using a supervised training classifier such as a neural network).
In some implementations, the feedback matrix generated by a receiver (e.g., thefeedback matrix204 ofFIG. 2A) can be used to create a spatial map, since thefeedback matrix204 represents the matrix H above. In some implementations, the steering matrix generated by a transmitter (e.g., thesteering matrix214 ofFIG. 2A) can be used to create a spatial map, since it can be thought of as an inverse of the feedback matrix (one can be used to reconstruct the other). In some cases, a beamformer and beamformee can change roles and determine information on the reciprocal channel. For example, the roles of thebeamformer210 andbeamformee220 may alternate between two wireless communication devices as they communicate with each other. Either or both of the devices can use the information generated by the beamforming process to determine whether motion has occurred in the space between the devices.
In some instances, a first device may send a wireless signal to a second device, which may be denoted as an observation device. In one example, with respect toFIG. 3A,WAP302 may be the first device. There may be one or many observation devices in communication with the first device, for example, one or more ofclient devices304A-C illustrated inFIG. 3A may be observation devices. In one example, the first device may be a central controller. In some cases, the central controller may be configured for detecting motion. In some cases, the first device may be comprised in a motion detection system. In this example, a second device may comprise a user device, for example, a personal computer, laptop, mobile phone, smart phone, and wearables, Internet of things (IOT) device, or other wireless device. In one implementation, the one or more second devices do not contain motion detection software and are not otherwise configured to perform motion detection in a motion detection system.
In one aspect, in response to receiving a wireless signal from a first device, a second device computes a feedback matrix or other beamforming dynamic information. For example, the second device may compute an H-matrix and/or V-matrix. The H-matrix, e.g. Hk, and V-matrix (or matrix V), e.g. Vk, are described above. In some cases, the second device may compute any other beamforming dynamic information related to the wireless environment based on the wireless signal. In an implementation, the H-matrix, V-matrix, and/or other beamforming dynamic information related to the environment, that has been computed is fed back from the second device. In this example, the wireless signal is not indicated as a motion detection signal, or other signal requesting motion measurements. In some cases, the first device does not compute a steering matrix based on feedback from the second device. The H-matrix, V-matrix, and/or other beamforming dynamic information computed by the second device is based on the wireless signal transmitted by the first device. In some cases, the H-matrix, V-matrix, and/or other beamforming dynamic information computed by the second device is transmitted to the first device via a wireless protocol that exists between the two wireless devices. In some cases, the protocol is a wireless standard protocol. In some cases, the second device sends an H-matrix feedback response. In other cases, the second device may send V-matrix feedback response. In other cases, the second device may send other beamforming dynamic information based on the wireless signal. In one implementation, the first device may detect motion occurring between the first device and the second devices based on the feedback received from one or more second devices.
FIGS. 5A-5B are diagrams showing an example spatial map generation process for a first mode of a motion detection system. In particular,FIG. 5A shows anexample filter500 for generating a spatial map for the first mode listed above (corresponding to theobject410 ofFIG. 4A), andFIG. 5B shows an examplespatial map510 generated from the output of thefilter500. Theexample filter500 performs a summing operation over a range of values for n and θ, where n is an integer ranging from 1 to N (where N represents the granularity of the spatial map) and θ is a value ranging from 0 to π/2. Thefilter500 may produce an output as shown byfilter output512 ofFIG. 5B. In some cases, a number of values are generated by the summing operation performed by thefilter500, with each value being associated with an angle θ. The values may be mapped as shown by thespatial map510 to display a spatial readout of the objects in the space (relative to the angle θ). Thespatial map510 may represent a relative intensity of the radiation as a function of direction. Thus, maxima of thespatial map510 may indicate a direction of an object (e.g., the object410) in the space relative to the receiving wireless communication device.
FIGS. 6A-6B are diagrams showing an example spatial map generation process for a second mode of a motion detection system. In particular,FIG. 6A shows anexample filter500 for generating a spatial map for the second mode listed above (corresponding to theobject420 ofFIG. 4A), andFIG. 6B shows an examplespatial map610 generated from the output of thefilter600 along with thespatial map510 generated by the output of thefilter500. Thespatial map610 may represent a relative intensity of the radiation as a function of direction. Thus, maxima of thespatial map610 may indicate a direction of an object (e.g., the object420) in the space relative to the receiving wireless communication device.
Filters similar to thefilters500 and600 may be setup for higher order MIMO systems, as shown inFIG. 6C.FIG. 6C illustratesexample filter650 for generating a spatial map for a mode in which there are three receive antennas, denoted by the entries in the first column. Similar tofilters500 and600, theexample filter650 produces an output, the values of which may be mapped to display a spatial readout (not shown) of the objects in the space (relative to the angle θ). In some cases, the number of modes for a wireless communication system may be dependent on the number of transmit/receive antenna pairs.
FIG. 7 is a diagram showing theexample system400 ofFIGS. 4A-4B with aperson702 in the space. Also shown inFIG. 7 is aspatial map710 for the mode represented by theobject410. When theperson702 moves within the space as shown, theincident angle720 of the wireless signals to the antennas of thereceiver404 will change, causing a corresponding change in the maximum730 of thespatial map710. Thus, by analyzing or tracking changes in the maxima of spatial maps, motion of an object (e.g., theperson702 or another type of object) may be detected in a space accessed by wireless signals. In addition, a relative location of the detected motion may be determined using the spatial maps, since the maxima may indicate a direction of the object scattering the signals in the space.
FIG. 8 is a diagram showing anexample system800 for generating a spatial map based on received wireless signals. In the example shown, thesystem800 extracts a certain mode and converts it into a spatial map (e.g., similar to thespatial maps510,610,710 ofFIGS. 5B, 6B, 7, respectively). In the example shown, unique modes are extracted from theMIMO channel802. In some cases, the unique modes are equivalent to the rank of a channel matrix (e.g., the matrix H of Equation (3)), as the unique modes may specify the number of unique paths existing within a channel. The independence of the paths in a channel is what allows MIMO systems to send multiple data streams simultaneously. In some implementations, a number of independent modes present in the channel matrix is determined. This determination may include decomposing the channel matrix into its eigen (effective) components and performing a nonlinear thresholding over those eigen components to come up with an effective number of significant components that comprise the channel matrix.
Once the significant components and their significance values are determined, one or more of the values may be tracked. In the example shown inFIG. 8, themode uniqueness calculator804 computes these components and sends them to themode selector806, which tracks the significant components. Each of the tracked components is passed to a channel tospace mapper808A,808B, corresponding to the mode. The example channel to space mappers transform their respective components into some measure of variation happening in the channel. For example, a channel to space mapper can map an eigen component to different representations in time-domain, angular domain, or other domain, to derive a measure of physical changes happening in the channel at any given instant. The channel to space mappers provide their output to acombiner810, which combines all the detected changes and provides its output to atracker812 that tracks changes (e.g., using a tracking filter like Kalman). In the example shown, the combiner is seeded with link signal-to-noise ratio (SNR)information814, which allows the combiner to weight down decisions from different channel instances based on the respective SNRs.
FIG. 9 is a flow diagram showing anexample process900 of detecting motion based on beamforming dynamic information. In some instances, theprocess900 may be implemented to detect motion of an object in a space based on signals transmitted on a selected wireless communication channel. Operations in the example process700 may be performed by a data processing apparatus (e.g., theprocessor114 of the examplewireless communication device102C inFIG. 1) to detect motion based on signals received at wireless communication devices (e.g.,wireless communication device102C ofFIG. 1). Theexample process900 may be performed by another type of device. For instance, operations of theprocess900 may be performed by a system other than thewireless communication device102C that receives the signals (e.g., a computer system connected to thewireless communication system100 ofFIG. 1 that aggregates and analyzes signals received by thewireless communication device102C).
Theexample process900 may include additional or different operations, and the operations may be performed in the order shown or in another order. In some cases, one or more of the operations shown inFIG. 9 are implemented as processes that include multiple operations, sub-processes or other types of routines. In some cases, operations can be combined, performed in another order, performed in parallel, iterated, or otherwise repeated or performed another manner.
At902, beamforming dynamic information is obtained. Beamforming dynamic information may be based on a set of wireless signals transmitted through a space from a first wireless communication device to a second wireless communication device, such as,wireless communication devices302 and304 shown inFIG. 3A. The beamforming dynamic information may include a beamforming matrix, such as a feedback or steering matrix generated by a beamformee or beamformer, respectively, in a beamforming communication protocol. For example, the beamforming matrix may include a feedback matrix similar to thefeedback matrix204 ofFIG. 2A, or a steering matrix similar to thesteering matrix214 ofFIG. 2A. In some implementations, the beamforming dynamic information is obtained as part of a standardized process. For example, in some cases, the beamforming dynamic information is obtained as part of an IEEE 802.11 standard (e.g., the IEEE 802.11ac-2013 standard).
At904, a spatial map is generated based on the beamforming dynamic information obtained at902. The spatial map may be a representation of relative intensity of the radiation of received wireless signals as a function of direction (with respect to the receiver). In some implementations, the spatial maps are generated based on a beamforming matrix obtained at902 (e.g., a feedback or steering matrix). The spatial maps may include a representation of each mode in the wireless communication system. For example, the spatial map may be similar to thespatial map610 ofFIG. 6B. The spatial map may be generated using a filter, similar to thefilters500,600 ofFIGS. 5A, 6A.
At906, motion of an object in the space is detected. The motion may be detected based on the beamforming dynamic information obtained at902, the spatial map(s) generated at904, or a combination thereof. For example, motion may be detected based on a change over time seen in a feedback matrix obtained at902. As another example, motion may be detected based on a change over time seen in a spatial map generated at904. In some cases, a neural network may be used at908 to detect whether motion has occurred in the space. For example, a neural network (convolutional or fully-connected) may be trained with past known motion/no-motion data such that it can identify, as an output, whether motion is occurring at a current time based on an unknown inputs of the beamforming dynamic information, spatial maps, or both.
FIG. 10 is a flow diagram showing anexample process1000 of an observation device, e.g. a receiver, receiving a wireless signal from a computing device, e.g. a transmitter device. In one implementation, a computing device, e.g. aWAP302 illustrated inFIGS. 3A and 3B, which may be further configured as a central controller, sends a wireless signal. The computing device may transmit the wireless signal using one or more antennas of the computing device. At1002, the wireless signal may be received by one or more observation devices, for example, any ofdevices304A-C inFIG. 3A. An observation devices may receive the wireless signal using one or more antennas of the observation device. In an example, the central controller may control themotion detection process1000 by collecting feedback from one or more observation devices for use in detection motion in a space. In some cases, the computing device and the one or more observation devices may form an ad-hoc network.
At,1004, each of the observation devices that receive the wireless signal computes an H-matrix, V-matrix, or other beamforming dynamic information related to the environment. At1006, the observation device feeds back its respective H-matrix, V-matrix, or other beamforming dynamic information to the computing device. Motion may be detected at the computing device by analyzing any changes that occur in the H-matrix, the V-matrix, and/or any other beamforming dynamic information related to the environment, provided by the observation devices. In some cases, the computing device may detect motion occurring in a space traversed by wireless signals transmitted between the observation devices and the computing device. In some instances, the computing device transmits a wireless standard protocol message in the wireless signal to one or more observation devices. For example, the wireless standard protocol message may be an explicit beamforming request, implicit beamforming request, PROBE request, ping, etc. In some cases, the wireless standard protocol message may also include standard data traffic. In one case, the wireless standard protocol message may be defined by one of the IEEE 802.11 standards. In some cases, the one or more observation devices respond with a wireless standard protocol response to the wireless signal received from the computing device. For example, one or more of the observation devices may respond to a wireless standard protocol message from the computing device with a response in accordance with a protocol of the wireless standard, e.g. an IEEE 802.11 standard. In one example, one or more of the observation devices may transmit an H-matrix, V-matrix, or other beamforming dynamic information to the computing device, in response to receiving a wireless standard protocol message from the computing device. In some cases, the wireless standard protocol message may be sent individually to one or more devices,e.g. device304A, and in other cases, may be broadcast to all the observation devices,e.g. devices304A-C, communicating wirelessly with the computing device. In some cases, the number of observation devices in communication with the computing device is not fixed. In some instances, observation devices,e.g. devices304A-C, are not configured for motion detection, for example, the observation devices may not be configured as motion detection devices, e.g. with programmed motion detection hardware or software, in a motion detection system. In some cases, the computing device and the observation devices form an ad-hoc motion detection network. In an example, the standard protocol message sent by the computing device is a standard PROBE Request message, and an observation device sends a response to a PROBE Request message in accordance with the protocol. In some cases, the computing device sends a ping signal, also referred to as, a sounding signal, Null Data Packet (NDP) channel sounding signal, or pilot signal. For example, an observation device may recognize the ping signal and its structure. In other cases, the computing device may send a signal which the observation device does not recognize. A signal whose structure is not recognized by the observation device may be referred to as a blind-aided channel estimator, a data-aided decision channel estimator, or a decision-aided channel estimator. However, these types of signals may produce a large amount of noise, which in some cases, may affect the observation device's measurements.
In another aspect, a computing device, e.g. transmitter device, may send a wireless signal to all neighbor devices. The transmitter device, in some examples, may be a first device, as described above. For example, the transmitter device may be configured as aWAP302, illustrated in eitherFIG. 3A or 3B, or may be a central controller. Neighbor devices may be observation devices that are reachable by the transmitter device, e.g. devices that are in proximity to the transmitter device and able to receive wireless signals transmitted from the transmitter device. However, the transmitter device may not have knowledge of which devices, or the number of devices, that may be in proximity to the transmitter device. Neighbor devices, in some examples, may be second devices (or observation devices), as described above. In some cases, neighbor devices may include devices configured asother WAPs302 or any other wireless device capable of receiving wireless signals, such as, user device, a personal computer, laptop, mobile phone, smart phone, and wearables, Internet of things (IOT) device, or other wireless device, or a combination thereof.
In one instance, the transmitter device may transmit a single wireless signal to all neighbor devices. In an example, the wireless signal may be a ping signal (described above). The ping signal may be transmitted via broadcast to all neighbor devices, or may be multicast or unicast to select neighbor devices, which may be determined based on the wireless standard or the wireless configuration of the transmitter device. When a neighbor device receives a ping signal, it may use the ping signal as a reference signal to generate an H-matrix (or the V-matrix), also referred to as a feedback matrix. In some cases, the ping signal is transmitted according to a standard protocol, e.g. IEEE 802.11, and the neighbor device processes the ping signal to generate a feedback matrix, according to the corresponding wireless standard protocol response. The neighbor device, in some cases, may use the H-matrix and/or V-matrix to compute motion indicator values at the neighbor device. In some cases, the computed values may be used by the neighbor device to detect motion, or in other cases, may be sent back to the transmitter device for further analysis. In another example, the ping signal indicates to the neighbor devices to compute the H-matrix and/or V-matrix based on the ping signal and send the matrix, or matrices, in raw form, e.g. without any additional processing by the neighbor device. In that case, the transmitter device performs further analysis on the H-matrix (or V-matrix) to detect motion.
FIG. 11 is aflowchart1100 that illustrates an example of neighbor devices processing a ping signal from a transmitter device. In some cases the transmitter device may send a different type of wireless signal, e.g. an explicit beamforming request, an implicit beamforming request, or a PROBE request, as discussed inFIG. 10. In some cases, each neighbor device may determine, or otherwise have knowledge, regarding whether it is configured with motion detection capabilities, e.g. whether it has motion detection software, such as motion detection device1220 (described below and inFIG. 12). At1102, each neighbor device receives the ping signal from the transmitter device. At,1104, each neighbor device generates beamforming information feedback, such as a feedback matrix, e.g. an H-matrix and/or V-matrix, and in some cases a compressed V-matrix (depending on the device capabilities), in response to receiving the ping signal. At1106, each of the neighbor devices determines whether to compute motion indicator values at the device itself at1108, or to feedback information to the transmitter, at1110, so that the transmitter may compute the motion indicator values. For example, in one case, the ping signal may indicate to the neighbor device that the device should feedback its respective H-matrix or V-matrix. In another case, a neighbor device may feedback its respective H-matrix or V-matrix when the neighbor device is not configured with motion detection capabilities. However, in other cases, when a neighbor device is configured with motion detection capabilities, the corresponding motion detection process may determine which action the neighbor device takes, e.g. the motion detection process may direct the neighbor device to either compute motion indicator values at the device, or in other cases, to feedback its respective H-matrix or V-matrix rather than compute motion at the neighbor device. In some cases, the H-matrix and/or V-matrix are sent to the transmitter device in raw form, e.g. without further processing by the neighbor device.
In an example, if motion is detected in the space by a device, e.g. at a neighbor device, then a motion indicator value (MIV) is computed by the device. The MIV represents a degree of motion detected by the device based on the wireless signals transmitted or received by the device. For instance, higher MIVs can indicate a high level of channel perturbation (due to the motion detected), while lower MIVs can indicate lower levels of channel perturbation. Higher levels of channel perturbation may indicate motion in close proximity to the device. The MIVs may include aggregate MIVs (representing a degree of motion detected in the aggregate by the respective device402), link MIVs (representing a degree of motion detected on particular communication links between respective devices402), path MIVs (representing a degree of motion detected on particular communication paths between hardware signal paths of respective devices402), or a combination thereof. In some implementations, MIVs are normalized, e.g. to a value from zero (0) to one hundred (100).
FIGS. 12A, 12B, and 12C illustrate system architecture examples of a motion detection system. These system architecture examples describe and, in some cases, expand the types of connectivity supported between nodes that form a motion detection system, such as the systems shown inFIGS. 1, 3A, and 3B, for example. In theexample system architecture1200A shown inFIG. 12A, the different types of nodes are limited in the ways they may be connected in a motion detection system. For example, the node connectivity is mostly homogenous in that like devices are connected to like devices to form a motion detection system. In each of the example configurations inFIG. 12A, motion may be detected between each pair of connected nodes, including through walls. Each motion detection system configuration described inFIG. 12A can provide motion detection coverage of a large area. The motion detection system configurations inFIG. 12A may also be able to determine the proximity of the motion to a particular node. The motion detection system configurations inFIG. 12A may also limit false detections of motion in the coverage area. Inexample configuration1200A-1, the motion detection system may be comprised of access points (APs)1210 (e.g.WAP302 inFIG. 3A) and leaf nodes1215 (e.g. devices304 inFIG. 3A). TheAPs1210, for example, may form a mesh network in which each of theAPs1210 are connected to at least one other AP. A mesh network may be composed of two or more devices, e.g. APs1210 (e.g. WAPs302A,302B,302C inFIG. 3B).Leaf nodes1215 may be connected to each of the Aps (e.g. devices304A,304B,30C inFIG. 3B). Aleaf node1215 may be a Wi-Fi device that acts as a sensor device. In one example, a smart phone may be a leaf node (e.g. device34B inFIG. 3B). In some cases, it is preferable thatleaf nodes1215 of the motion detection system are stationary and have a steady power supply, e.g. the smart phone is plugged in. In some cases, theAPs1210 and theleaf nodes1215 may conform to the IEEE 802.11ac or higher standard protocol, and do not require motion detection-specific hardware or software to form a motion detection system.
Inexample configuration1200A-2, the motion detection system is comprised of at least twomotion detection devices1220 that are configured with motion detection capabilities (e.g.wireless communication devices102A,102B,102C inFIG. 1). Themotion detection devices1220 may be connected to form a mesh network, e.g. of two or moremotion detection devices1220. In some instances, themotion detection devices1220 may be configured with a motion detection software. Themotion detection devices1220 may comprise dedicated motion detection hardware and/or software. In the example shown, the examplemotion detection devices1220 may only connect to other motion detection devices similarly configured.
Inexample configuration1200A-3, the motion detection system may comprise twoclient devices1230 forming a client-to-client connection. Theclient devices1230 may be Wi-Fi enabled devices, e.g. devices304 inFIG. 3B may be Wi-Fi cameras, or other Wi-Fi devices, that are configured with motion detection software. In some cases, the configuration ofclient devices1230 provides a point-to-point motion sensor. In an example, theclient devices1230 may interact with each other to determine motion occurring between the devices.
FIG. 12B illustrates anothersystem architecture1200B that has less restrictive connectivity of different types of nodes in a motion detection system. For example, each of the different types of nodes may be able to connect to theAPs1210, which are configured in a mesh network (e.g. WAPs302A,302B,302C inFIG. 3B). In this example, theleaf nodes1215, for example, devices conforming to 802.11ac or higher, or devices that can provide beamforming information (such as, H-matrix and/or V-matrix), and also improvedleaf nodes1225, for example, any 802.11 devices that either provide H-matrix and/or V-matrix, and/or a compressed V-matrix, may connect to any of the APs1210 (e.g. devices304A,304B,304C inFIG. 3B).Client devices1230 may be connected to theAPs1210, in addition to each other, e.g. the configuration may comprise an AP mesh network including nodes1210 (e.g. the network ofdevices302A,302B,302C shown inFIG. 3B) and a client mesh network including any of theleaf nodes1215,1225 or client nodes1230 (e.g. devices304A,304B,304C). Further, improvedmotion detection devices1240 may be configured with motion detection hardware, e.g. dedicated hardware, but may additionally support connectivity toAPs1210. This type of configuration utilizing additional nodes, and therefore, additional data for detecting motion, in the motion detection system as illustrated inFIG. 12B provides improved data collection and thus, improved features, such as, occupancy detection (e.g. whether a person or object is present), localization of motion based on unsupervised machine learning (determining where motion is occurring without human input/assistance), and enhanced motion type detection (e.g. is a human/dog/cat/etc. moving).
FIG. 12C illustrates anothersystem architecture1200C in which the different types of devices may connect to any other device. For example,leaf devices1215,1225 may connect to client devices1230 (e.g. devices304A,304B,304C may each connect to each other in this example), which connections were not supported in the configuration illustratedFIG. 12B. Further, this configuration does not include, or require, anymotion detection devices1220,1240, e.g. devices that are specifically configured with dedicated motion detection hardware and/or software. In some cases, the hardware components in the motion detection system inFIG. 12C may be comprised of commercially available devices,e.g. leafs1215,1225,clients1230, and APs1210 (which may include devices304 andWAPs302 shown inFIG. 3B). Therefore, this configuration facilitates having significantly more nodes contributing data to the motion detection system. In this example, the configuration may form a large multi-standard network (e.g. having greater than 10 nodes). Further, each device-to-device connection (e.g. connections betweenleafs1215,1225 and clients1230) may constitute a motion link, where motion measurements may be taken. In this example, there may be hundreds of motion links providing motion data thereby increasing the amount of data collected by the system. As a result, motion detection analytics are improved because more data is available to analyze and to develop more specific contexts for the data. For example, a motion detection system with the configuration ofFIG. 12C may collect enough data to be able to provide unsupervised multi-target localization and target count (e.g. track multiple movements and objects), provide statistical target identification (e.g. based on labeling a movement that is statistically the same overtime, such as, a slow moving person compared to a fast moving person, or an electric fan), and reliably detect respiratory activity (e.g. when a person or animal is stationary).
Some of the subject matter and operations described in this specification can be implemented in digital electronic circuitry, or in computer software, firmware, or hardware, including the structures disclosed in this specification and their structural equivalents, or in combinations of one or more of them. Some of the subject matter described in this specification can be implemented as one or more computer programs, i.e., one or more modules of computer program instructions, encoded on a computer-readable storage medium for execution by, or to control the operation of, data-processing apparatus. A computer-readable storage medium can be, or can be included in, a computer-readable storage device, a computer-readable storage substrate, a random or serial access memory array or device, or a combination of one or more of them. Moreover, while a computer-readable storage medium is not a propagated signal, a computer-readable storage medium can be a source or destination of computer program instructions encoded in an artificially generated propagated signal. The computer-readable storage medium can also be, or be included in, one or more separate physical components or media (e.g., multiple CDs, disks, or other storage devices). The computer-readable storage medium can include multiple computer-readable storage devices. The computer-readable storage devices may be co-located (instructions stored in a single storage device), or located in different locations (e.g., instructions stored in distributed locations).
Some of the operations described in this specification can be implemented as operations performed by a data processing apparatus on data stored in memory (e.g., on one or more computer-readable storage devices) or received from other sources. The term “data processing apparatus” encompasses all kinds of apparatus, devices, and machines for processing data, including by way of example a programmable processor, a computer, a system on a chip, or multiple ones, or combinations, of the foregoing. The apparatus can include special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit). The apparatus can also include, in addition to hardware, code that creates an execution environment for the computer program in question, e.g., code that constitutes processor firmware, a protocol stack, a database management system, an operating system, a cross-platform runtime environment, a virtual machine, or a combination of one or more of them. In some instances, the data processing apparatus includes a set of processors. The set of processors may be co-located (e.g., multiple processors in the same computing device) or located in different location from one another (e.g., multiple processors in distributed computing devices). The memory storing the data executed by the data processing apparatus may be co-located with the data processing apparatus (e.g., a computing device executing instructions stored in memory of the same computing device), or located in a different location from the data processing apparatus (e.g., a client device executing instructions stored on a server device).
A computer program (also known as a program, software, software application, script, or code) can be written in any form of programming language, including compiled or interpreted languages, declarative or procedural languages, and it can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, object, or other unit suitable for use in a computing environment. A computer program may, but need not, correspond to a file in a file system. A program can be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program, or in multiple coordinated files (e.g., files that store one or more modules, sub programs, or portions of code). A computer program can be deployed to be executed on one computer or on multiple computers that are located at one site or distributed across multiple sites and interconnected by a communication network.
Some of the processes and logic flows described in this specification can be performed by one or more programmable processors executing one or more computer programs to perform actions by operating on input data and generating output. The processes and logic flows can also be performed by, and apparatus can also be implemented as, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit).
Processors suitable for the execution of a computer program include, by way of example, both general and special purpose microprocessors, and processors of any kind of digital computer. Generally, a processor will receive instructions and data from a read-only memory or a random-access memory or both. Elements of a computer can include a processor that performs actions in accordance with instructions, and one or more memory devices that store the instructions and data. A computer may also include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., non-magnetic drives (e.g., a solid-state drive), magnetic disks, magneto optical disks, or optical disks. However, a computer need not have such devices. Moreover, a computer can be embedded in another device, e.g., a phone, a tablet computer, an electronic appliance, a mobile audio or video player, a game console, a Global Positioning System (GPS) receiver, an Internet-of-Things (IOT) device, a machine-to-machine (M2M) sensor or actuator, or a portable storage device (e.g., a universal serial bus (USB) flash drive). Devices suitable for storing computer program instructions and data include all forms of non-volatile memory, media and memory devices, including by way of example semiconductor memory devices (e.g., EPROM, EEPROM, flash memory devices, and others), magnetic disks (e.g., internal hard disks, removable disks, and others), magneto optical disks, and CD ROM and DVD-ROM disks. In some cases, the processor and the memory can be supplemented by, or incorporated in, special purpose logic circuitry.
To provide for interaction with a user, operations can be implemented on a computer having a display device (e.g., a monitor, or another type of display device) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse, a trackball, a stylus, a touch sensitive screen, or another type of pointing device) by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback, e.g., visual feedback, auditory feedback, or tactile feedback; and input from the user can be received in any form, including acoustic, speech, or tactile input. In addition, a computer can interact with a user by sending documents to and receiving documents from a device that is used by the user; for example, by sending web pages to a web browser on a user's client device in response to requests received from the web browser.
A computer system may include a single computing device, or multiple computers that operate in proximity or generally remote from each other and typically interact through a communication network. The communication network may include one or more of a local area network (“LAN”) and a wide area network (“WAN”), an inter-network (e.g., the Internet), a network comprising a satellite link, and peer-to-peer networks (e.g., ad hoc peer-to-peer networks). A relationship of client and server may arise by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
In a general aspect of some of the examples described, motion is detected based on beamforming matrices.
In a first example, beamforming dynamic information is obtained based on a set of wireless signals transmitted through a space from a first wireless communication device to a second wireless communication device. Motion of an object in the space is detected based the beamforming dynamic information.
Implementations of the first example may, in some cases, include one or more of the following features. Motion is detected by analyzing changes over time in the beamforming dynamic information. Spatial maps are generated based on the beamforming dynamic information for each respective wireless signal, and changes in the spatial maps over time are analyzed to detect motion. Spatial maps represent relative intensity of received wireless signals as a function of direction. Detecting a location of the object in the space based on the beamforming dynamic information.
The beamforming dynamic information includes feedback matrices for each respective wireless signal in the set of wireless signals, each feedback matrix generated by the second wireless communication device. The beamforming dynamic information includes steering matrices associated with each respective wireless signal in the set of wireless signals, each steering matrix generated by the first wireless communication device based on feedback received from the second wireless communication device. The feedback matrix is generated by the second wireless device in response to a channel sounding process executed with the first wireless device. The feedback matrix is one of an H-matrix, a V-matrix, or a compressed V-matrix. The first device is a beamformer having a plurality of transmit antennas and the second device having a plurality of receive antennas in a multiple-input multiple-output (MIMO) system, the spatial maps are associated with respective modes, and the modes correspond to communication between respective pairs of the transmit antennas and receive antennas.
In a second example, a second wireless communication device receives a wireless signal transmitted through a space from a first wireless device. A feedback matrix is generated based on the wireless signal. The feedback matrix is used to detect motion in the space, or the feedback matrix is transmitted to the first wireless communication device for use in detecting motion in the space.
Implementations of the second example may, in some cases, include one or more of the following features. The first wireless communication device is a central controller and the second wireless communication device is an observation device. The first wireless communication device and the second wireless communication device comprise an ad-hoc motion sensing network. The wireless signal is a wireless standard protocol message, and the second wireless communication device sends the feedback matrix to the first wireless communication device in a corresponding wireless standard protocol response. The wireless standard protocol message comprises data traffic. The wireless signal includes a broadcast signal. The feedback matrix is an H-matrix, a V-matrix, or a compressed V-matrix. The first wireless communication device and the second wireless communication communicate in a mesh network. The wireless signal comprises a wireless standard protocol message generated by the first wireless communication device according to a wireless communication standard. The wireless standard protocol message includes a ping addressed to the second wireless communication device. The wireless standard protocol message comprises a ping to a plurality of neighbor devices including the second wireless communication device. The wireless standard protocol message comprises data traffic. Using the feedback matrix to detect a location of the object in the space. Determining to use the feedback matrix to detect motion by operation of motion detection software on the second wireless communication device based on identifying that the second wireless communication device comprises the motion detection software. Determining to transmit the feedback matrix to the first wireless communication device for motion detection based on identifying that the second wireless communication device does not comprise motion detection software.
In a third example, a wireless communication device transmits a wireless standard protocol message through a space to one or more neighbor devices. A corresponding wireless standard protocol response is received that includes beamforming information feedback in response to the wireless standard protocol message from each of the one or more neighbor devices. Motion of an object is detected in the space based on the beamforming information feedback from each of the neighbor devices.
Implementations of the third example may, in some cases, include one or more of the following features. The wireless standard protocol message is generated by the wireless communication device according to a wireless communication standard, and the wireless standard protocol response is generated according to the wireless communication standard. The beamforming information feedback includes an H matrix, a compressed H matrix, or a V matrix. The wireless communication device and one or more neighbor devices form a star, mesh, or an ad-hoc motion sensing network. The wireless standard protocol message includes an explicit beamforming request, an implicit beamforming request, a PROBE request, or a ping. The wireless standard protocol message further includes data traffic. The wireless communication device computes motion indicator values from the beamforming information. The wireless standard protocol is IEEE 802.11. The wireless standard protocol is a mesh network standard. The wireless standard protocol message includes a ping addressed to a particular neighbor device. The wireless standard protocol message includes a ping broadcast to a plurality of neighbor devices. The wireless standard protocol message includes data traffic. The beamforming information feedback matrix is an H-matrix, a V-matrix, or a compressed V-matrix. The wireless communication device and one or more neighbor devices form an ad-hoc motion sensing network. Using the beamforming information feedback to detect a location of the object in the space.
In some implementations, a computer-readable medium stores instructions that are operable when executed by a data processing apparatus to perform one or more operations of the first and second examples. In some implementations, a system (e.g., a wireless communication device, computer system, a combination thereof, or other type of system communicatively coupled to the wireless communication device) includes one or more data processing apparatuses and memory storing instructions that are operable when executed by the data processing apparatus to perform one or more operations of the first and second examples.
While this specification contains many details, these should not be construed as limitations on the scope of what may be claimed, but rather as descriptions of features specific to particular examples. Certain features that are described in this specification in the context of separate implementations can also be combined. Conversely, various features that are described in the context of a single implementation can also be implemented in multiple embodiments separately or in any suitable sub combination.
A number of embodiments have been described. Nevertheless, it will be understood that various modifications can be made. Accordingly, other embodiments are within the scope of the following claims.