The following description relates to eliciting multiple-input/multiple-output (MIMO) transmissions from wireless communication devices, for example, for wireless 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.
In some aspects of what is described here, a wireless sensing system can process wireless signals (e.g., radio frequency signals) transmitted through a space between wireless communication devices for wireless sensing applications. Example wireless sensing applications include detecting motion, which can include one or more of the following: detecting motion of objects in the space, motion tracking, localization of motion in a space, breathing detection, breathing monitoring, presence detection, gesture detection, gesture recognition, human detection (e.g., moving and stationary human detection), human tracking, fall detection, speed estimation, intrusion detection, walking detection, step counting, respiration rate detection, sleep pattern detection, apnea estimation, posture change detection, activity recognition, gait rate classification, gesture decoding, sign language recognition, hand tracking, heart rate estimation, breathing rate estimation, room occupancy detection, human dynamics monitoring, and other types of motion detection applications. Other examples of wireless sensing applications include object recognition, speaking recognition, keystroke detection and recognition, tamper detection, touch detection, attack detection, user authentication, driver fatigue detection, traffic monitoring, smoking detection, school violence detection, human counting, metal detection, human recognition, bike localization, human queue estimation, Wi-Fi imaging, and other types of wireless sensing applications. For instance, the wireless sensing system may operate as a motion detection system to detect the existence and location of motion based on Wi-Fi signals or other types of wireless signals.
The examples described herein may be useful for home monitoring. In some instances, home monitoring using the wireless sensing systems described herein may provide several advantages, including full home coverage through walls and in darkness, discreet detection without cameras, higher accuracy and reduced false alerts (e.g., in comparison with sensors that do not use Wi-Fi signals to sense their environments), and adjustable sensitivity. By layering Wi-Fi motion detection capabilities into routers and gateways, a robust motion detection system may be provided.
The examples described herein may also be useful for wellness monitoring. Caregivers want to know their loved ones are safe, while seniors and people with special needs want to maintain their independence at home with dignity. In some instances, wellness monitoring using the wireless sensing systems described herein may provide a solution that uses wireless signals to detect motion without using cameras or infringing on privacy, generates alerts when unusual activity is detected, tracks sleep patterns, and generates preventative health data. For example, caregivers can monitor motion, visits from health care professionals, and unusual behavior such as staying in bed longer than normal. Furthermore, motion is monitored unobtrusively without the need for wearable devices, and the wireless sensing systems described herein offer a more affordable and convenient alternative to assisted living facilities and other security and health monitoring tools.
The examples described herein may also be useful for setting up a smart home. In some examples, the wireless sensing systems described herein use predictive analytics and artificial intelligence (AI), to learn motion patterns and trigger smart home functions accordingly. Examples of smart home functions that may be triggered included adjusting the thermostat when a person walk through the front door, turning other smart devices on or off based on preferences, automatically adjusting lighting, adjusting HVAC systems based on present occupants, etc.
In some instances, aspects of the systems and techniques described here provide technical improvements and advantages over existing approaches. In some wireless network environments, certain wireless communication devices may not automatically send MIMO transmissions in response to certain PHY layer or MAC layer messages. The PHY layer, also known as the physical layer, can refer to Layer 1 of the Open System Interconnection (OSI) model, and the MAC layer, also known as the data link layer, can refer to Layer 2 of the OSI model. In aspects of the systems and techniques described, messages initiated by protocols in higher layers (e.g., layers above Layers 1 and 2 of the OSI model) may be used to elicit MIMO transmissions from wireless communication devices. For example, network layer messages (e.g., ICMP Ping, ARP Ping, or modified versions of these and other network layer processes) and transport layer messages (e.g., TCP Ping, or modified versions of this and other transport layer processes) may be used to cause one or more wireless communication devices to send a wireless transmission that includes a MIMO training field.
The MIMO training field contains signals having a higher frequency resolution, a greater number of subcarrier frequencies, and a higher frequency bandwidth compared to Legacy training fields in the PHY frame. Use of the MIMO training field for motion detection provides more accurate motion detection capabilities. For example, in some instances, motion detection can be performed with higher spatial and temporal resolution, precision, and accuracy with the use of PHY frames, each having a respective MIMO training field. Further, since the MIMO transmissions are elicited using protocols in higher layers, MIMO transmissions may be elicited from a broader range of wireless communication devices, in a more efficient manner, or both. The ability of a wireless sensing system to elicit MIMO transmissions from a broader range of wireless communication devices can allow the wireless sensing system to operate in more diverse environments and to cover greater spatial areas. In addition, MIMO transmissions may be elicited using existing resources on the responding device, for instance, without having to install any additional hardware, software, or firmware on the responding device (e.g., reducing or eliminating a requirement for specialized motion detection hardware in some cases). Further, the systems and techniques described here may be utilized in wireless motion detection systems or other types of wireless sensing systems. For instance, eliciting MIMO transmissions may be useful in a variety of wireless sensing systems that utilize channel state information (CSI) derived from wireless signals (e.g., systems that take a CSI channel response and apply digital-signal-processing, machine learning, or other types of analysis to the CSI channel response). The technical improvements and advantages achieved in examples where the wireless sensing system is used for motion detection may also be achieved in examples where the wireless sensing system is used for other wireless sensing applications.
In some instances, a wireless sensing system can be implemented using a wireless communication network. Wireless signals received at one or more wireless communication devices in the wireless communication network may be analyzed to determine channel information for the different communication links (between respective pairs of wireless communication devices) in the network. The channel information may be representative of a physical medium that applies a transfer function to wireless signals that traverse a space. In some instances, the channel information includes a channel response. Channel responses can characterize a physical communication path, representing the combined effect of, for example, scattering, fading, and power decay within the space between the transmitter and receiver. In some instances, the channel information includes beamforming state information (e.g., a feedback matrix, a steering matrix, channel state information (CSI), etc.) provided by a beamforming system. Beamforming is a signal processing technique often used in multi antenna (MIMO) radio systems for directional signal transmission or reception. Beamforming can be achieved by operating elements in an antenna array in such a way that signals at particular angles experience constructive interference while others experience destructive interference.
The channel information for each of the communication links may be analyzed by one or more motion detection algorithms (e.g., running on a hub device, a client device, or other device in the wireless communication network, or on a remote device communicably coupled to the network) to detect, for example, whether motion has occurred in the space, to determine a relative location of the detected motion, or both. In some aspects, the channel information for each of the communication links may be analyzed to detect whether an object is present or absent, e.g., when no motion is detected in the space.
In some instances, a motion detection system returns motion data. In some implementations, motion data is a result that is indicative of a degree of motion in the space, the location of motion in the space, the direction of motion in the space, a time at which the motion occurred, or a combination thereof. In some instances, the motion data can include a motion score, which may include, or may be, one or more of the following: a scalar quantity indicative of a level of signal perturbation in the environment accessed by the wireless signals; an indication of whether there is motion; an indication of whether there is an object present; or an indication or classification of a gesture performed in the environment accessed by the wireless signals.
In some implementations, the motion detection system can be implemented using one or more motion detection algorithms. Example motion detection algorithms that can be used to detect motion based on wireless signals include the techniques described in U.S. Pat. No. 9,523,760 entitled “Detecting Motion Based on Repeated Wireless Transmissions,” U.S. Pat. No. 9,584,974 entitled “Detecting Motion Based on Reference Signal Transmissions,” U.S. Pat. No. 10,051,414 entitled “Detecting Motion Based On Decompositions Of Channel Response Variations,” U.S. Pat. No. 10,048,350 entitled “Motion Detection Based on Groupings of Statistical Parameters of Wireless Signals,” U.S. Pat. No. 10,108,903 entitled “Motion Detection Based on Machine Learning of Wireless Signal Properties,” U.S. Pat. No. 10,109,167 entitled “Motion Localization in a Wireless Mesh Network Based on Motion Indicator Values,” U.S. Pat. No. 10,109,168 entitled “Motion Localization Based on Channel Response Characteristics,” U.S. Pat. No. 10,743,143 entitled “Determining a Motion Zone for a Location of Motion Detected by Wireless Signals,” U.S. Pat. No. 10,605,908 entitled “Motion Detection Based on Beamforming Dynamic Information from Wireless Standard Client Devices,” U.S. Pat. No. 10,605,907 entitled “Motion Detection by a Central Controller Using Beamforming Dynamic Information,” U.S. Pat. No. 10,600,314 entitled “Modifying Sensitivity Settings in a Motion Detection System,” U.S. Pat. No. 10,567,914 entitled “Initializing Probability Vectors for Determining a Location of Motion Detected from Wireless Signals,” U.S. Pat. No. 10,565,860 entitled “Offline Tuning System for Detecting New Motion Zones in a Motion Detection System,” U.S. Pat. No. 10,506,384 entitled “Determining a Location of Motion Detected from Wireless Signals Based on Prior Probability, U.S. Pat. No. 10,499,364 entitled “Identifying Static Leaf Nodes in a Motion Detection System,” U.S. Pat. No. 10,498,467 entitled “Classifying Static Leaf Nodes in a Motion Detection System,” U.S. Pat. No. 10,460,581 entitled “Determining a Confidence for a Motion Zone Identified as a Location of Motion for Motion Detected by Wireless Signals,” U.S. Pat. No. 10,459,076 entitled “Motion Detection based on Beamforming Dynamic Information,” U.S. Pat. No. 10,459,074 entitled “Determining a Location of Motion Detected from Wireless Signals Based on Wireless Link Counting,” U.S. Pat. No. 10,438,468 entitled “Motion Localization in a Wireless Mesh Network Based on Motion Indicator Values,” U.S. Pat. No. 10,404,387 entitled “Determining Motion Zones in a Space Traversed by Wireless Signals,” U.S. Pat. No. 10,393,866 entitled “Detecting Presence Based on Wireless Signal Analysis,” U.S. Pat. No. 10,380,856 entitled “Motion Localization Based on Channel Response Characteristics,” U.S. Pat. No. 10,318,890 entitled “Training Data for a Motion Detection System using Data from a Sensor Device,” U.S. Pat. No. 10,264,405 entitled “Motion Detection in Mesh Networks,” U.S. Pat. No. 10,228,439 entitled “Motion Detection Based on Filtered Statistical Parameters of Wireless Signals,” U.S. Pat. No. 10,129,853 entitled “Operating a Motion Detection Channel in a Wireless Communication Network,” U.S. Pat. No. 10,111,228 entitled “Selecting Wireless Communication Channels Based on Signal Quality Metrics,” and other techniques.
The example wireless communication system 100 includes three wireless communication devices 102A, 102B, 102C. The example wireless communication system 100 may include additional wireless communication devices 102 and/or other components (e.g., one or more network servers, network routers, network switches, cables, or other communication links, etc.).
The example wireless communication devices 102A, 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, the wireless communication devices 102A, 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); 5G standards, and others.
In some cases, one or more of the wireless communication devices 102 is a Wi-Fi access point or another type of wireless access point (WAP). In some cases, one or more of the wireless communication devices 102 is an access point of a wireless mesh network, such as, for example, a commercially-available mesh network system (e.g., GOOGLE Wi-Fi, EERO mesh, etc.). In some instances, one or more of the wireless communication devices 102 can be implemented as wireless access points (APs) in a mesh network, while the other wireless communication device(s) 102 are implemented as leaf devices (e.g., mobile devices, smart devices, etc.) that access the mesh network through one of the APs. In some cases, one or more of the wireless communication devices 102 is a mobile device (e.g., a smartphone, a smart watch, a tablet, a laptop computer, etc.), a wireless-enabled device (e.g., a smart thermostat, a Wi-Fi enabled camera, a smart TV), or another type of device that communicates in a wireless network.
In the example shown in
In the example shown in
In the example shown in
In some examples, the wireless signals may propagate through a structure (e.g., a wall) before or after interacting with a moving object, which may allow the object's motion to be detected without an optical line-of-sight between the moving object and the transmission or receiving hardware. In some instances, the motion detection system may communicate the motion detection event to another device or system, such as a security system or a control center.
In some cases, the wireless communication devices 102 themselves are configured to perform one or more operations of the motion detection system, for example, by executing computer-readable instructions (e.g., software or firmware) on the wireless communication devices. For example, each device may process received wireless signals to detect motion based on changes in the communication channel. In some cases, another device (e.g., a remote server, a cloud-based computer system, a network-attached device, etc.) is configured to perform one or more operations of the motion detection system. For example, each wireless communication device 102 may send channel information to a specified device, system or service that performs operations of the motion detection system.
In an example aspect of operation, wireless communication devices 102A, 102B may broadcast wireless signals or address wireless signals to the other wireless communication device 102C, and the wireless communication device 102C (and potentially other devices) receives the wireless signals transmitted by the wireless communication devices 102A, 102B. The wireless communication device 102C (or another system or device) then processes the received wireless signals to detect motion of an object in a space accessed by the wireless signals (e.g., in the zones 110A, 11B). In some instances, the wireless communication device 102C (or another system or device) may perform one or more operations of a motion detection system.
In some cases, a combination of one or more of the wireless communication devices 204A, 204B, 204C can be part of, or may be used by, a motion detection system. The example wireless communication devices 204A, 204B, 204C can transmit wireless signals through a space 200. The example space 200 may be completely or partially enclosed or open at one or more boundaries of the space 200. The space 200 may be or may include an interior of a room, multiple rooms, a building, an indoor area, outdoor area, or the like. A first wall 202A, a second wall 202B, and a third wall 202C at least partially enclose the space 200 in the example shown.
In the example shown in
As shown, an object is in a first position 214A at an initial time (t0) in
As shown in
In
The example wireless signals shown in
The transmitted signal may have a number of frequency components in a frequency bandwidth, and the transmitted signal may include one or more bands within the frequency bandwidth. The transmitted signal may be transmitted from the first wireless communication device 204A in an omnidirectional manner, in a directional manner or otherwise. In the example shown, the wireless signals traverse multiple respective paths in the space 200, and the signal along each path may become attenuated due to path losses, scattering, reflection, or the like and may have a phase or frequency offset.
As shown in
In the example shown in
In the example shown in
In the example shown in
When the client devices 232 seek to connect to and associate with their respective APs 226, 228, the client devices 232 may go through an authentication and association phase with their respective APs 226, 228. Among other things, the association phase assigns address information (e.g., an association ID or another type of unique identifier) to each of the client devices 232. For example, within the IEEE 802.11 family of standards for Wi-Fi, each of the client devices 232 may identify itself using a unique address (e.g., a 48-bit address, an example being the MAC address), although the client devices 232 may be identified using other types of identifiers embedded within one or more fields of a message. The address information (e.g., MAC address or another type of unique identifier) can be either hardcoded and fixed, or randomly generated according to the network address rules at the start of the association process. Once the client devices 232 have associated to their respective APs 226, 228, their respective address information may remain fixed. Subsequently, a transmission by the APs 226, 228 or the client devices 232 typically includes the address information (e.g., MAC address) of the transmitting wireless device and the address information (e.g., MAC address) of the receiving device.
In the example shown in
In the example shown in
The motion detection system, which may include one or more motion detection or localization processes running on the one or more of the client devices 232 or on one or more of the APs 226, 228, may collect and process data (e.g., channel information) corresponding to local links that are participating in the operation of the wireless sensing system. The motion detection system may be installed as a software or firmware application on the client devices 232 or on the APs 226, 228, or may be part of the operating systems of the client devices 232 or the APs 226, 228.
In some implementations, the APs 226, 228 do not contain motion detection software and are not otherwise configured to perform motion detection in the space 201. Instead, in such implementations, the operations of the motion detection system are executed on one or more of the client devices 232. In some implementations, the channel information may be obtained by the client devices 232 by receiving wireless signals from the APs 226, 228 (or possibly from other client devices 232) and processing the wireless signal to obtain the channel information. For example, the motion detection system running on the client devices 232 may have access to channel information provided by the client device's radio firmware (e.g., Wi-Fi radio firmware) so that channel information may be collected and processed.
In some implementations, the client devices 232 send a request to their corresponding AP 226, 228 to transmit wireless signals that can be used by the client device as motion probes to detect motion of objects in the space 201. The request sent to the corresponding AP 226, 228 may be a null data packet frame, a beamforming request, a ping, standard data traffic, or a combination thereof. In some implementations, the client devices 232 are stationary while performing motion detection in the space 201. In other examples, one or more of the client devices 232 may be mobile and may move within the space 201 while performing motion detection.
Mathematically, a signal f(t) transmitted from a wireless communication device (e.g., the wireless communication device 204A in
where ωn represents the frequency of nth frequency component of the transmitted signal, cn represents the complex coefficient of the nth frequency component, and t represents time. With the transmitted signal f(t) being transmitted, an output signal rk(t) from a path k may be described according to Equation (2):
where αn,k represents an attenuation factor (or channel response; e.g., due to scattering, reflection, and path losses) for the nth frequency component along path k, and ϕn,k represents the phase of the signal for nth frequency component along path k. Then, the received signal R at a wireless communication device can be described as the summation of all output signals rk (t) from all paths to the wireless communication device, which is shown in Equation (3):
Substituting Equation (2) into Equation (3) renders the following Equation (4):
The received signal R at a wireless communication device (e.g., the wireless communication devices 204B, 204C in
The complex value Yn for a given frequency component on indicates a relative magnitude and phase offset of the received signal at that frequency component ωn. The signal f(t) may be repeatedly transmitted within a time period, and the complex value Yn can be obtained for each transmitted signal f(t). When an object moves in the space, the complex value Yn changes over the time period due to the channel response αn,k of the space changing. Accordingly, a change detected in the channel response (and thus, the complex value Yn) can be indicative of motion of an object within the communication channel. Conversely, a stable channel response may indicate lack of motion. Thus, in some implementations, the complex values Yn for each of multiple devices in a wireless network can be processed to detect whether motion has occurred in a space traversed by the transmitted signals f(t). The channel response can be expressed in either the time-domain or frequency-domain, and the Fourier-Transform or Inverse-Fourier-Transform can be used to switch between the time-domain expression of the channel response and the frequency-domain expression of the channel response.
In another aspect of
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 beamforming 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.
In some implementations, the output of the motion detection system may be provided as a notification for graphical display on a user interface on a user device. In some implementations, the user device is the device used to detect motion, a user device of a caregiver or emergency contact designated to an individual in the space 200, 201, or any other user device that is communicatively coupled to the motion detection system to receive notifications from the motion detection system.
In some instances, the graphical display includes a plot of motion data indicating a degree of motion detected by the motion detection system for each time point in a series of time points. The graphical display can display the relative degree of motion detected by each node of the motion detection system. The graphical display can help the user determine an appropriate action to take in response to the motion detection event, correlate the motion detection event with the user's observation or knowledge, determine whether the motion detection event was true or false, etc.
In some implementations, the output of the motion detection system may be provided in real-time (e.g., to an end user). Additionally or alternatively, the output of the motion detection system may be stored (e.g., locally on the wireless communication devices 204, client devices 232, the APs 226, 228, or on a cloud-based storage service) and analyzed to reveal statistical information over a time frame (e.g., hours, days, or months). An example where the output of the motion detection system may be stored and analyzed to reveal statistical information over a time frame is in health monitoring, vital sign monitoring, sleep monitoring, etc. In some implementations, an alert (e.g., a notification, an audio alert, or a video alert) may be provided based on the output of the motion detection system. For example, a motion detection event may be communicated to another device or system (e.g., a security system or a control center), a designated caregiver, or a designated emergency contact based on the output of the motion detection system.
In some implementations, a wireless motion detection system can detect motion by analyzing components of wireless signals that are specified by a wireless communication standard. For example, a motion detection system may analyze standard headers of wireless signals exchanged in a wireless communication network. One such example is the IEEE 802.11ax standard, which is also known as “Wi-Fi 6.” A draft of the IEEE 802.11ax standard is published in a document entitled “P802.11ax/D4.0, IEEE Draft Standard for Information Technology—Telecommunications and Information Exchange Between Systems Local and Metropolitan Area Networks—Specific Requirements Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications Amendment Enhancements for High Efficiency WLAN,” March 2019, which is accessible at https://ieeexplore.ieee.org/document/8672643 and hereby incorporated by reference in its entirety. Standard headers specified by other types of wireless communication standards may be used for motion detection in some cases.
In some implementations, a motion detection algorithm used by a wireless motion detection system utilizes a channel response (an output of a channel estimation process) computed by a wireless receiver (e.g., a Wi-Fi receiver). For example, the channel responses computed by a channel estimation process according to a Wi-Fi 6 standard may be received as inputs to the motion detection algorithm. The channel estimation in the Wi-Fi 6 standard occurs at the PHY layer, using the PHY Frame (the PHY Frame is also called a PPDU) of the received wireless signal.
In some examples, a motion detection algorithm employed by a wireless motion detection system uses channel responses computed from orthogonal frequency-division multiplexing (OFDM)-based PHY frames (including those produced by the Wi-Fi 6 standard). The OFDM-based PHY frames can, in some instances, be frequency-domain signals having multiple fields, each having a corresponding frequency-domain signal. With this class of OFDM-based PHY frames, there are typically two types of PPDU fields that allow the Wi-Fi receiver to estimate the channel. The first is the Legacy-Training-Field, and the second are the MIMO-Training-Fields. Either or both fields may be used for motion detection. An example of a MIMO-Training-Field that may be used is the so-called “High-Efficiency Long Training Field” known as HE-PHY (e.g., in the Wi-Fi 6 standard, according to the IEEE 802.11ax standard).
In the example shown in
In some IEEE 802.11 standards, the PHY layer is broken into 2 sub-layers: the PLCP Sublayer (Physical Layer Convergence Procedure), and the PMD Sublayer (PHY Medium Dependant). The PLCP Sublayer (Physical Layer Convergence Procedure) takes data from the MAC layer and translates it into a PHY frame format. The format of the PHY frame is also referred to as a PPDU (PLCP Protocol Data Unit). A PPDU may include fields that are used for channel estimation. The PMD Sublayer (PHY Medium Dependant) provides a modulation scheme for the PHY layer. There are many different IEEE 802.11 based PHY frame formats defined. In some examples, a wireless motion detection system uses information derived from OFDM based PHY frames, such as, for example, those described in the following standard documents: IEEE 802.11a-1999: Legacy OFDM PHY; IEEE 802.11n-2009: HT PHY (High-Throughput); IEEE 802.11ac-2013: VHT PHY (Very-High-Throughput); IEEE 802.11ax (Draft 4.0, March 2019): HE PHY (High-Efficiency).
Other types of PHY layer data may be used, and each PHY layer specification may provide its own PPDU format. For instance, the PPDU format for a PHY layer specification may be found in some IEEE 802.11 standards under the section heading “<XXX> PHY Specification”==>“<XXX> PHY”==>“<XXX> PPDU Format”. The example PHY frame 300 shown in
In some IEEE 802.11 standards (e.g., IEEE 802.11a-1999), the OFDM PHY divides a 20 MHz channel into 64 frequency bins. Modulation and Demodulation is done using 64-point complex inverse Fast Fourier Transform (IFFT) and Fast Fourier Transform (FFT). In an example modulation process: data bits grouped (e.g., depending on QAM constellation), each group of bits is assigned to one of the subcarriers (or frequency bins); depending on QAM constellation, group of bits mapped to a complex number for each subcarrier; and a 64-point IFFT is performed to generate complex-time-domain I and Q waveforms for transmission. In an example demodulation process: complex I and Q time domain signals are received; a 64-point FFT is performed to compute complex number for each subcarrier; depending on QAM constellation, each subcarrier complex number is mapped to bits; and bits from each subcarrier are re-assembled into data. In a typical modulation or demodulation process, not all 64 subcarriers are used; for example, only 52 of the subcarriers may be considered valid for data and pilot, and the rest of the subcarriers may be considered NULLED. The PHY layer specifications in more recently-developed IEEE 802.11 standards utilize larger channel bandwidths (e.g., 40 MHz, 80 MHz, and 160 MHz).
As shown in
In some implementations, a wireless communication device computes a channel response, for example, by performing a channel estimation process based on a PHY frame. For instance, a wireless communication device may perform channel estimation based on the example PHY frame 300 shown in
In some instances, the channel information used for motion detection may include a channel response generated by channel estimation based on the L-LTF in the PHY frame. The L-LTF in the 802-11ax standard can be equivalent to the LTF in the IEEE 802.11a-1999 standard. The L-LTF may be provided in the frequency domain as an input to a 64-point IFFT. Typically, only 52 of the 64 points are considered valid points for channel estimation; and the remaining points (points [−32, −26) and (26, 31]) are zero. As described in the IEEE 802.11a-1999 standard, the L-LTF may be a long OFDM training symbol including 53 subcarriers (including a zero value at DC), which are modulated by the elements of a sequence L given by the following:
L
−26,26={1,1,−1,−1,1,1,−1,1,−1,1,1,1,1,1,1,1,1,1,−1,−1,1,1,−1,1,−1,1,1,1,1,0,1,−1,−1,1,1,−1,1,−1,1,−1,−1,−,−1,−1,1,1,−1,−1,1,−1,1,−1,1,1,1,1}
The example “L” vector shown above represents the complex frequency-domain representation of the field at baseband (centered around DC) and is described in page 13 of a draft of the IEEE 802.11a-1999 standard. The draft of the IEEE 802.11a-1999 standard is published in a document entitled “802.11a-1999—IEEE Standard for Telecommunications and Information Exchange Between Systems—LAN/MAN Specific Requirements—Part 11: Wireless Medium Access Control (MAC) and physical layer (PHY) specifications: High Speed Physical Layer in the 5 GHz band” and accessible at https://ieeexplore.ieee.org/document/815305. The example “L” vector is considered “Legacy”, as it was part of the original OFDM PHY specification, and is considered part of the legacy preamble. Hence in later specification versions, it is referred to as the L-LTF (for Legacy-Long Training Field).
In some instances, the channel information used for motion detection may include a channel response generated by channel estimation based on one or more of the MIMO training fields in the PHY frame (e.g., the HE-LTF, HT-LTF, or VHT-LTF fields). The HE-LTF may be provided in the frequency domain as an input to a 256-point IFFT. With a typical HE-LTF, there are 241 valid points (e.g., instead of 52 as in the legacy case). Each point in the HE-LTF represents a frequency range of 78.125 kHz, whereas each Legacy point represents a larger frequency range of 312.5 kHz. Therefore, the HE-LTF may provide higher frequency resolution, more frequency domain data points, and a larger frequency bandwidth, which can provide more accurate and higher-resolution (e.g., higher temporal and spatial resolution) motion detection. An example HE-LTF is described on page 561 of the draft of the IEEE 802.11ax standard as follows:
In a 20 MHz transmission, the 4× HE-LTF sequence transmitted on subcarriers [−122: 122] is given by Equation (27-42)
In some instances, a channel response can be estimated on a receiver device by performing an FFT of the received time-domain sequence (e.g., the example L-LTF and HE-LTF sequences shown above), and dividing by the expected result [CH(N)=RX(N)/L(N)]. The 64-Point FFT Bin 600 in the top portion of
In some aspects of what is described here, messages initiated by protocols in higher layers (e.g., layers above Layers 1 and 2 of the OSI model) may be used to elicit MIMO transmissions from wireless communication devices. The MIMO wireless signal can be used for motion detection or another type of wireless sensing application. In some implementations, the MIMO wireless signal includes a MIMO training field that can be used for motion detection. In some aspects, the HT-LTF, VHT-LTF or HE-LTF field in a PHY frame of a wireless transmission according to an IEEE Wi-Fi standard may be used for motion detection. Such wireless signals may be transmitted through a space over a time period, for example, from one wireless communication device to another. A MIMO training field (e.g., the HT-LTF, VHT-LTF or HE-LTF field) may be identified in the PHY frame of each wireless signal, and channel information may be generated based on the respective MIMO training fields. The channel information may then be used for wireless sensing (e.g., to detect motion of an object, to detect breathing, to detect gestures, etc.) of the space during the time period.
As shown in
In the example OSI model 700 shown in
In the example OSI model 700 shown in
In the example OSI model 700 shown in
In some systems, a motion detection algorithm employed by a wireless motion detection system uses channel responses computed from orthogonal frequency-division multiplexing (OFDM)-based PHY frames (including those defined by IEEE 802.11 standards for Wi-Fi networks). For OFDM modulation, Wi-Fi signals contain multiple fields that can be used to compute a channel estimation or response. First, there is the Legacy-LTF (Long Training Field), which is generally present on every Wi-Fi message. Second, there are the MIMO LTF's (HT-LTF, VHT-LTF, HE-LTF). For devices which support HE/VHT/HE modes, the MIMO fields are typically present for longer transmissions, and they consume airtime and can decrease the efficiency for short transmissions.
In some instances, for the motion detection system to measure the channel response, a client/leaf device needs to transmit a wireless message (e.g., a message addressed to an access point or another device in the Wi-Fi network). The IEEE 802.11 MAC layer standard contains a defined mechanism that states: if a device receives a data message, the device acknowledges that it was received correctly. This mechanism may provide a form of “sounding”/“illumination”, as it allows for a 0 payload length MAC frame (a Null Data Frame) to be sent to any Wi-Fi enabled device, knowing that it will return with an ACK message. In some systems, a limitation of the Null-Data/ACK mechanism is that the standard defines that the ACK must be transmitted using “legacy” mode, as switching to the MIMO mode for a short transmission is not efficient. In such systems, the wireless messages sent according to IEEE 802.11 standards do not provide a MIMO estimation unless the client/leaf device generates a large enough transmission to cause the radio to make use of the MIMO transmission mode.
Although some systems can use the Legacy training fields for motion detection, other systems may not support capturing the Legacy estimation due to hardware or other constraints, and hence only provide the ability to extract the MIMO estimations. Therefore, some systems are limited, in the sense that a higher layer in the OSI model may be required to elicit a MIMO channel estimation, for example, when there is no standardized mechanism in the MAC/PHY layers and the client/leaf does not necessarily support non-standard components. In some instances, utilizing a higher layer in the OSI model may reduce efficiency, for example, if larger data transmission overhead is required to generate a channel estimation.
A motion detection algorithm may also benefit from a MIMO estimation (e.g., relative to a Legacy estimation), as multiple antenna on both transmit and receive side introduce an element of spatial diversity, each illuminating or sensing a slightly different view or perspective of the environment due to the antenna's physical separation. To obtain these and other benefits offered by having a MIMO estimation, a mechanism using standard components within higher layers in the OSI model may be utilized to elicit a MIMO channel estimation in some cases.
In some aspects, the systems and techniques described here provide solutions for using a higher layer in the OSI model to elicit a MIMO channel estimation, for example, using components in the MAC/PHY layer specifications to elicit a client/leaf node to generate a message containing a MIMO training field. The solutions may exploit the fact that the higher layers encapsulate their messages into the payload of MAC/PHY “Data-Frames”, which can be transmitted containing the MIMO fields. Hence by eliciting a client/leaf node using existing standard components or protocols within the Network/Transport layers, a MIMO training field can be obtained from that device.
In some cases, a wireless communication device can use one or more layers above the MAC layer (e.g., transport layer, network layer, or another layer above the data link layer) to elicit a MIMO transmission from another wireless communication device. For example, an access point (AP) in a wireless network (e.g., a mesh node or another type of AP) may generate and send a network layer message or a transport layer message that causes a client device to send a response using MIMO transmission. The following discussion and the processes shown in
In some examples, software-implemented processes can utilize components (in some cases, existing components) in layers above the MAC layer to cause a client/leaf device transmit data. Such process may be used to enable motion detection functionality using the MIMO fields without the need to add or modify or add any software on the client/leaf device.
In some implementations, an address discovery process is used to obtain an address for communication with layers above the MAC layer. For example, channel estimation may be defined at the MAC/PHY layers, and the identification of a client/leaf device may be given by its MAC address (e.g., a 48-bit MAC address). In some instances, for higher layer transmission to a device, knowledge of the device's upper layer logical address (e.g., IP address) may be needed, and an address discovery process can be used to obtain the device's upper layer logical address (e.g., IP address) from its lower layer physical address (e.g., MAC address). At least in some contexts, the operation of obtaining the device's upper layer logical address (e.g., IP address) from its lower layer physical address (e.g., MAC address) requires a different (often more difficult) process than common procedures that obtain the lower layer physical address (e.g., MAC address) given an upper layer logical address (e.g., IP address).
In some instances, the upper layer logical address that is obtained from process 900 may be encapsulated in a payload field of a lower layer message. For example, in implementations where the process 900 is used to obtain a network address, the network address may be encapsulated in the payload field of a MAC layer message (e.g., as seen in
At 902, the cache is queried to determine if it contains an IPv4 neighbor table. In some implementations, the IPv4 neighbor table may also be referred to as the IPv4 Address Resolution Protocol (ARP) table. At 904, the process 900 determines whether the IPv4 neighbor table is stored in the cache. At 906, in response to a determination that the IPv4 neighbor table is stored in the cache, the network address (e.g., the IPv4 address) is obtained from the cache and the internet protocol (IP) variables for the IPv4 address are setup and initialized. As an example, the fields for the network layer packet shown in
At 908, in response to a determination that the IPv4 neighbor table is not stored in the cache, the cache is once again queried to determine if it contains an IPv6 neighbor table. At 910, the process 900 determines whether the IPv6 neighbor table is stored in the cache. At 912, in response to a determination that the IPv6 neighbor table is stored in the cache, the network address (e.g., the IPv6 address) is obtained from the cache and the IP variables for the IPv6 address are setup and initialized.
At 914, in response to a determination that the IPv6 neighbor table is not stored in the cache, the network is scanned. As an example, at 914, the process 900 iterates through the IPv4 and IPv6 link-local addresses to determine if one or more of the IPv4 and IPv6 link-local addresses elicits a response. At 916, the process 900 determines whether an error has occurred. In some instances, an error occurs when the scanning performed at 914 does not elicit any response. At 918, in response to a determination that an error has occurred, a delay for a predetermined time (e.g., in a range from about 5 seconds to about 15 seconds) occurs before the process 900 is iterated from 902. In the example shown in
One example technique that can be used to elicit a MIMO transmission from a wireless communication device is commonly referred to as an “ICMP Ping”. In some cases, an ICMP Ping process is defined in the network layer, and off-the-shelf applications exist to generate such messages (e.g., ping, ping6, fping). The ICMP Ping process may be explicitly defined to provide a response given a request, and may be used for network connectivity troubleshooting or other purposes. The ICMP Ping process may be natively built into the network stack, and may provide a mechanism for causing a client/leaf device produce a data transmission in certain instances. The ICMP Ping may utilize an IPv4, IPv6, or another similar network layer protocol. However, some devices (for security, privacy, or other reasons) disable ICMP. With ICMP disabled, a device which has received a ping message may not generate a response, and hence may not elicit a wireless transmission that can produce a channel response measurement. In some cases, existing ICMP Ping and related processes can be modified to provide advantages for wireless motion detection systems. For example, the ICMP Ping processes shown in
Another example technique that can be used to elicit a MIMO transmission from a wireless communication device is referred to here as “ARP Ping”, which in some implementations may utilize aspects of the standardized ARP Exchange mechanism. Address Resolution Protocol (ARP) is a protocol typically defined in the network layer; off-the-shelf applications for generating repeated standardized ARP Exchanges exist (e.g., arping). In many network contexts, communication is not possible without ARP, and APR is considered mandatory for every device. For example, ARP may be required for all IP networked devices. Devices may use ARP to obtain the data-link layer address of another device (which may be required for communication). The standardized ARP Exchange process is typically used to find the MAC address of the device that holds a given network layer (IP) address. In some systems, there are four addresses utilized: (1) the sender Network-Layer address, (2) the sender MAC-Layer address, (3) the target Network-Layer address, (4) the target MAC-Layer address. Both sender addresses (1 and 2) are known to the requester because they are the local addresses of the device making the request. The standardized ARP Exchange may be used when the target Network-Layer address (3) is known, but the target MAC-Layer address (4) is not known. The standardized ARP Exchange sends a broadcast MAC frame (Destination MAC Address=ff:ff:ff:ff:ff:ff), which means every device on the network receives the message. However, only the device that holds the given Target network layer (IP) Address can respond, and from that response, the Source MAC Address can be extracted. This exchange can create a request/response that is encapsulated into a MAC/PHY MIMO data transmission from the responding device in some instances. However, in other instances the standardized ARP Exchange does not elicit a MIMO transmission from the responding device. For example, some modern wireless communication devices may respond to the standardized ARP Exchange request using a legacy MAC/PHY data transmission, or can be cached and not actually transmitted.
As noted, a standardized ARP request is a broadcast layer-2 transmission (identified with the destination MAC address field set to ff:ff:ff:ff:ff:ff), which generally requires all devices belonging to the same logical network to receive the message. This means all layer-2 network devices (such as switches, bridges, wireless access points) are required to transmit the ARP request to all clients and can result in flooding the entire network with the single request. For the purpose of eliciting a single device to transmit a response for the purpose of motion sensing, flooding an entire network is not desirable and may introduce negative effects (e.g., power consumption, air-efficiency, or wired network resources). These negative effects may impact the network globally, whether or not specific clients are participating in the motion detection system. In some cases, the ARP Ping processes described here can be implemented in a manner that is more efficient and avoids the negative effects mentioned above. For example, the ARP Ping process shown in
Another example technique that can be used to elicit a MIMO transmission from a wireless communication device is referred to here as “TCP Ping”, which in some implementations may utilize aspects of the standardized TCP Handshake mechanism. In some cases, a TCP Ping can be used for sounding wireless communication devices to obtain wireless signals that can be used by a motion detection system. The TCP Ping process can be used to elicit MIMO transmissions from client/leaf devices in a variety of contexts, including scenarios where the client/leaf device is configured to not respond to ICMP requests (e.g., devices that do not have ICMP enabled), and scenarios where ARP responses from the client/leaf device result in a Legacy Wi-Fi transmission or a cached response. The Transmission Control Protocol (TCP) is typically defined in the transport layer; TCP generally operates as a connection-oriented protocol, meaning that data exchanges generally occur in both directions, which can be leveraged for eliciting MIMO transmissions from a device. Example TCP Ping processes are shown in
In some contexts, a typical execution of the standardized TCP Handshake starts by a client “requesting” to start a connection with a host. To start this transaction, the client populates the SRC and DST port fields, and sets the SYN flag. A host can do one of three actions: (1) It can accept the request, by responding with the ACK flag set; (2) It can reject the request, by responding with the RST flag set; or (3) It can do nothing and just drop the frame. The response from action (1) is received if there is an application listening to the given port on the host, and the connection has been accepted. The response from action (2) is typically received if either there is no application on the host listening to the given port, or potentially the port is blocked. And action (3) generally occurs if there is a firewall which has explicit instructions to drop any transmissions received by the specific host/port. Technically, a result of either action (1) or action (2) may create the ping request/response action that can produce a MIMO transmission. However, in some instances, action (1) is less desirable response because an additional message exchange is then required by the client to properly close the connection (and hence consume more air-time and reduce efficiency).
In some implementations, the TCP Ping process shown in
Implementations of the example process 1000 shown in
The example process 1000 shown in
At 1002, a network layer address of a device is determined. For example, the process 900 shown in
At 1010, 1012 and 1014, an ICMP Ping process is performed. As shown in
At 1020, 1022 and 1024, a TCP Ping process is performed. As shown in
At 1030, 1032 and 1034, an ARP Ping process is performed. As shown in
The example processes 1100, 1110, 1120 shown in
The example process 1100 in
In response to a determination that the timer has not been successfully setup, the ICMP Ping mechanism may be terminated (e.g., by performing the process 1110 shown in
In response to a determination that the socket has not been opened successfully, the ICMP Ping mechanism may be terminated (e.g., by performing the process 1110 shown in
At 1107, a sequence counter is initialized to zero. The sequence counter tracks the number of ICMP ping messages that are sent, and each ICMP ping message is matched to a respective sequence number (e.g., described in the example of
The example process 1110 in
The example process 1120 in
At 1121, an ICMP ping message is updated. In some instances, an ICMP ping message may be referred to as an echo request frame, and updating the ICMP ping message may include updating fields (e.g., the checksum field) of the ICMP ping message. At 1123, a timer tick is awaited. The timer tick allows for a predetermined period of time (e.g., about 100 milliseconds) to elapse so that a wireless signal (e.g., a MIMO transmission) can be received in response to a previously transmitted ICMP ping message. In some instances, the predetermined period of time may be equal to the period at which the space 200, 201 is sampled for motion. After the timer tick occurs, at 1125, the timestamp of the ICMP ping message that was updated at 1121 is determined. In some instances, the timestamp of the ICMP ping message is matched to the current sequence number. At 1127, the ICMP ping message that was updated at 1121 is sent. In some implementations, the ICMP ping message may be referred to as an ICMP echo request.
At 1129, a determination is made as to whether the predetermined number of consecutive ICMP ping messages (e.g., “BLOCKSIZE”) has been sent. In response to a determination that the predetermined number of consecutive ICMP ping messages has not been sent, the sequence counter is incremented (at 1131) and process 1120 is iterated from 1121. In response to a determination that the predetermined number of consecutive ICMP ping messages has been sent, a feedback or check mechanism is executed.
In the example process 1120, the feedback or check mechanism (e.g., including operations 1133, 1135, 1137, 1139) is executed after the block of ICMP ping messages has been sent. At 1133, the timestamps of the received responses are processed to determine a difference between the time a respective ICMP ping message was transmitted (e.g., obtained from the timestamp associated with the ICMP ping message) and the time its corresponding response was received. If the time difference associated with any ICMP ping message within the block of ICMP ping messages is greater than a threshold, then the entire block of ICMP ping messages is deemed to be a failed block. This failure logic may be implemented inside operation 1133 that processes timestamps of received responses.
At 1135, a determination is made as to whether the number of consecutive failed blocks is greater than a threshold number of failures. In the example shown in
In response to a determination that the number of consecutive failed blocks is not greater than the threshold number of failures, a secondary feedback check is performed. The secondary feedback check is referred to in
At 1137, a determination is made as to whether CSI rate feedback is enabled, and if so, a determination is made (at 1139) as to whether the average CSI rate is greater than or equal to twice the period at which the space 200, 201 is sampled for motion. A determination that the average CSI rate is greater than or equal to twice the period at which the space 200, 201 is sampled may indicate that MIMO transmissions (including CSI) are not being received at a rate that is fast enough to accurately or reliably detect motion in the space 200, 201. Consequently, in response to a determination that the average CSI rate is greater than or equal to twice the period at which the space 200, 201 is sampled, the ICMP Ping mechanism may be terminated in favor of attempting another type of mechanism. Conversely, if CSI rate feedback is not enabled or if the average CSI rate is less than twice the period at which the space 200, 201, the sequence counter is incremented (at 1131) and process 1120 is iterated from 1121.
The example processes 1200, 1210 shown in
The example processes 1200 determines the number of valid TCP ports in the network, obtains a valid local interface IP address, and initializes computing resources and message fields that are needed for the TCP ping process 1210. The example process 1200 includes scanning the network for TCP ports (at 1201). In some implementations, the network is scanned for TCP ports by sending a TCP packet with a set synchronize (SYN) flag to each port identifier. For example,
In response to a determination that there is less than or equal to one valid TCP port, the TCP ping setup is terminated (e.g., in favor of attempting another type of mechanism). Conversely, in response to a determination that there is more than one valid TCP port, a determination is made (at 1205) as to whether a timer has been set up successfully. In some implementations, an OS-level call similar to the OS-level call described for operation 1101 may be used to determine whether the timer has been set up successfully.
In response to a determination that the timer has not been setup successfully, the TCP ping setup is terminated (e.g., in favor of attempting another type of mechanism). Conversely, in response to a determination that the timer has been set up successfully, a determination is made (at 1207) as to whether a socket has been opened successfully. An OS-level call similar to the OS-level call described for operation 1103 may be used to determine whether the socket has been set up successfully.
In response to a determination that the socket has not been opened successfully, the TCP ping setup is terminated (e.g., in favor of attempting another type of mechanism). However, in response to a determination that the socket has been opened successfully, a local interface IP address is requested (at 1209). In some implementations, requesting a local interface IP address includes initiating an OS-level call requesting a local interface IP address from the OS. At 1211, a determination is made as to whether a valid local interface IP address has been obtained. A valid local interface IP address is obtained when there are sufficient computing resources available for the OS to provide the local interface IP address. In some instances, there may not be computing resources to provide a local interface IP address, and the OS may return an error message indicating this. Therefore, a valid local interface IP address is not obtained when there are insufficient computing resources available to provide the local interface IP address.
In response to a determination that a valid local interface IP address is not obtained, the TCP ping setup is terminated (e.g., in favor of attempting another type of mechanism). Conversely, in response to a determination that a valid local interface IP address has been obtained, variables of a TCP ping message are set up (at 1213). For example, the various fields of the example TCP packet shown in
At 1215, TCP fields and the contents of the datagram are initialized. For example, the various fields of the TCP packet shown in
At 1219, CSI rate feedback is initialized. In some implementations, the device from which MIMO transmissions are elicited can provide CSI to the device transmitting the ICMP ping messages. By initializing CSI rate feedback at 1219, CSI can be obtained from the MIMO transmissions that are elicited by the TCP ping messages, and the rate at which the CSI is being received can be determined to ascertain whether CSI is being received at a rate that is fast enough to accurately or reliably detect motion in the space 200, 201.
The example process 1210 in
At 1221, the select function is executed. The select function waits for an event included in the file descriptors to occur. In some implementations, the file descriptors can include the reception of a TCP packet having a set RST flag, expiration of the timer, or both. In essence, at 1221, a period of time is allowed to elapse so that a wireless signal (e.g., a MIMO transmission) can be received in response to a previously transmitted TCP ping message.
After the alert has been generated by the OS, a determination is made (at 1223) as to whether the timer has expired. The determination at 1223 ascertains whether the alert at 1221 can be attributed to the expiration of the timer. In response to a determination that the timer has not expired, a determination is made (at 1225) as to whether a TCP packet having a set RST flag was received. The determination at 1225 ascertains whether the alert at 1221 can be attributed to the reception of a TCP packet having a set RST flag. In response to a determination that a TCP packet having a set RST flag was not received, process 1210 is iterated starting at 1221. Conversely, in response to a determination that a TCP packet having a set RST flag was received, the timestamp of the received datagram is obtained and the timestamp is used to indicate the time at which the datagram is received (at 1227). The process 1210 is subsequently iterated starting at 1221.
Conversely, in response to a determination that the timer has expired, the datagram is updated (at 1229). In some instances, the port identifiers (e.g., 16-bit port identifiers) for a valid source port (indicated in
At 1231, the timestamp of the datagram that was updated at 1229 is determined. In some instances, the timestamp of the datagram is matched to the current sequence number. At 1233, the datagram that was updated at 1229 is sent (e.g., from the valid source port to the valid destination port). In some implementations, the datagram is sent as a TCP packet having a set SYN flag.
At 1235, a determination is made as to whether the predetermined number of consecutive datagrams (e.g., “BLOCKSIZE”) has been sent. In response to a determination that the predetermined number of consecutive datagrams has not been sent, the sequence counter is incremented, a valid source port is pseudo-randomly chosen, and the next valid destination port is selected (at 1237), and process 1210 is iterated from 1221. In response to a determination that the predetermined number of consecutive datagrams has been sent, a feedback or check mechanism is executed.
In the example process 1210, the feedback or check mechanism (e.g., including operations 1239, 1241, 1243, 1245) is executed after the block of datagrams has been sent. At 1239, the timestamps of the received responses are processed to determine a difference between the time a respective datagram was transmitted (e.g., obtained from the timestamp associated with the datagram) and the time its corresponding response was received. If the time difference associated with any datagram within the block of datagrams is greater than a threshold, then the entire block of datagrams is deemed to be a failed block. This failure logic may be implemented inside operation 1239 that processes timestamps of received responses.
At 1241, a determination is made as to whether the number of consecutive failed blocks is greater than a threshold number of failures. In the example shown in
In response to a determination that the number of consecutive failed blocks is not greater than the threshold number of failures, a secondary feedback check is performed. The secondary feedback check is referred to in
At 1243, a determination is made as to whether CSI rate feedback is enabled, and if so, a determination is made (at 1245) as to whether the average CSI rate is greater than or equal to twice the period at which the space 200, 201 is sampled for motion. A determination that the average CSI rate is greater than or equal to twice the period at which the space 200, 201 is sampled may indicate that MIMO transmissions (including CSI) are not being received at a rate that is fast enough to accurately or reliably detect motion in the space 200, 201. Consequently, in response to a determination that the average CSI rate is greater than or equal to twice the period at which the space 200, 201 is sampled, the TCP Ping mechanism may be terminated in favor of attempting another type of mechanism. Conversely, if CSI rate feedback is not enabled or if the average CSI rate is less than twice the period at which the space 200, 201, the sequence counter is incremented, a valid source port is pseudo-randomly chosen, and the next valid destination port is selected (at 1237), and process 1210 is iterated from 1221.
The example process 1300 shown in
The example process 1300 is used when the IPv4 protocol operates at the network layer, and at 1301, a determination is made as to whether the IPv4 protocol is used. The cache that is queried at 902 in
Conversely, in response to a determination that the IPv4 protocol is used, a determination is made (at 1303) as to whether a timer has been set up successfully. In some implementations, an OS-level call similar to the OS-level call described for operation 1101 may be used to determine whether the timer has been set up successfully.
In response to a determination that the timer has not been setup successfully, the ARP ping setup is terminated (e.g., in favor of attempting another type of mechanism). Conversely, in response to a determination that the timer has been set up successfully, a determination is made (at 1305) as to whether a socket has been opened successfully. An OS-level call similar to the OS-level call described for operation 1103 may be used to determine whether the socket has been set up successfully.
In response to a determination that the socket has not been opened successfully, the ARP ping setup is terminated (e.g., in favor of attempting another type of mechanism). However, in response to a determination that the socket has been opened successfully, a local interface IP address and a MAC address are requested (at 1307). In some implementations, requesting a local interface IP address and a MAC address includes initiating an OS-level call requesting a local interface IP address and a MAC address from the OS. At 1309, a determination is made as to whether a valid local interface IP address has been obtained. A valid local interface IP address is obtained when there are sufficient computing resources available for the OS to provide the local interface IP address. In some instances, there may not be computing resources to provide a local interface IP address, and the OS may return an error message indicating this. Therefore, a valid local interface IP address is not obtained when there are insufficient computing resources available to provide the local interface IP address.
In response to a determination that a valid local interface IP address is not obtained, the ARP ping setup is terminated (e.g., in favor of attempting another type of mechanism). Conversely, in response to a determination that a valid local interface IP address has been obtained, the process 1300 proceeds to initialize a raw ARP request frame (e.g., at 1311). At 1311, fields that are required for the ARP ping messages are initialized and placed in the payload of the IPv4 frame.
At 1313, CSI rate feedback is initialized. In some implementations, the device from which MIMO transmissions are elicited can provide CSI to the device transmitting the ARP ping messages. By initializing CSI rate feedback at 1313, CSI can be obtained from the MIMO transmissions that are elicited by the ARP ping messages, and the rate at which the CSI is being received can be determined to ascertain whether CSI is being received at a rate that is fast enough to accurately or reliably detect motion in the space 200, 201.
The process 1400 may be performed by a wireless communication device that seeks to elicit MIMO transmissions from another wireless communication device. At 1402, network or transport layer messages are generated. Network layer messages may be generated when an ICMP ping process (e.g., described in
At 1404 the network or transport layer messages are wirelessly transmitted to the device from which MIMO transmissions are sought. The network layer messages may be wirelessly transmitted according to the ICMP Ping process (e.g., described in
In some examples, the device that transmits the network or transport layer messages may detect a failure of the network or transport layer messages to elicit successful MIMO transmissions from the device to which the network or transport layer messages are addressed. For example, the failure of the network or transport layer messages to elicit successful MIMO transmissions may manifest itself as the number of consecutive failed blocks being greater than a threshold number of failures (e.g., at 1135 in
At 1406, MIMO transmissions are received from the device to which the network or transport layer messages are addressed. The MIMO transmissions can include MIMO training fields. The MIMO training fields contain signals (e.g., CSI) having a higher frequency resolution, a greater number of subcarrier frequencies, and a higher frequency bandwidth compared to Legacy training fields in the PHY frame. Use of the MIMO training field for motion detection provides more accurate motion detection capabilities. Therefore, at 1408, a training field is identified in each MIMO transmission, and channel information is generated based on the training field (at 1410). At 1412, the channel information is used to detect motion that occurred in a space (e.g., the space 200, 201).
The example interface 1530 can communicate (receive, transmit, or both) wireless signals. For example, the interface 1530 may be configured to communicate radio frequency (RF) signals formatted according to a wireless communication standard (e.g., Wi-Fi, 4G, 5G, Bluetooth, etc.). In some implementations, the example interface 1530 includes a radio subsystem and a baseband subsystem. The radio subsystem may include, for example, one or more antennas and radio frequency circuitry. 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. The baseband subsystem may include, for example, digital electronics configured to process digital baseband data. 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 or to perform other types of processes.
The example processor 1510 can execute instructions, for example, to generate output data based on data inputs. The instructions can include programs, codes, scripts, modules, or other types of data stored in memory 1520. 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 or modules. The processor 1510 may be or include a general-purpose microprocessor, as a specialized co-processor or another type of data processing apparatus. In some cases, the processor 1510 performs high level operation of the wireless communication device 1500. For example, the processor 1510 may be configured to execute or interpret software, scripts, programs, functions, executables, or other instructions stored in the memory 1520. In some implementations, the processor 1510 be included in the interface 1530 or another component of the wireless communication device 1500.
The example memory 1520 may include computer-readable storage media, for example, a volatile memory device, a non-volatile memory device, or both. The memory 1520 may 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 the wireless communication device 1500. The memory 1520 may store instructions that are executable by the processor 1510. For example, the instructions may include instructions to perform one or more of the operations described above.
The example power unit 1540 provides power to the other components of the wireless communication device 1500. For example, the other components may operate based on electrical power provided by the power unit 1540 through a voltage bus or other connection. In some implementations, the power unit 1540 includes a battery or a battery system, for example, a rechargeable battery. In some implementations, the power unit 1540 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 the wireless communication device 1500. The power unit 1520 may include other components or operate in another manner.
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 storage medium for execution by, or to control the operation of, data-processing apparatus. A computer 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 storage medium is not a propagated signal, a computer storage medium can be a source or destination of computer program instructions encoded in an artificially generated propagated signal. The computer 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).
Some of the operations described in this specification can be implemented as operations performed by a data processing apparatus on data stored 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.
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).
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 tablet, 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.
In a general aspect, MIMO transmissions are elicited from wireless communication devices and for wireless sensing.
In some aspects, a wireless sensing system (e.g., a motion detection system) initiates a message through a communication protocol defined in a layer above the physical (PHY) layer and the data link (MAC) layer in a first wireless communication device (e.g., in a transport layer or a network layer). The message is addressed to, and wirelessly transmitted to, a second wireless communication device. In response to the message, the second wireless communication device sends a MIMO transmission that traverses a space between the first and second wireless communication devices. The first wireless communication device senses the space (e.g., detects motion of an object in the space) based on the MIMO transmissions.
In a first example, a first wireless communication device: obtains a network layer address of a second wireless communication device; addresses network layer messages to the network layer address of the second wireless communication device; initiates wireless transmission of the network layer messages; in response to the network layer messages, receives MIMO transmissions from the second wireless communication device, where the MIMO transmissions traverse a space between the first and second wireless communication devices; generates a series of channel responses based on a training field in the MIMO transmissions; and detects motion of an object in the space based on the series of channel responses.
Implementations of the first example may include one or more of the following features. The network layer messages can be sent according to an ICMP Ping process, an ARP ping process, or another type of process. The MIMO training field can be an HE-LTF, VHT-LTF or an HT-LTF. The wireless sensing may include detecting motion of an object in the space.
In a second example, a first wireless communication device: generates a transport layer message addressed to a second wireless communication device; initiates wireless transmission of the transport layer messages; in response to the transport layer messages, receives MIMO transmissions from the second wireless communication device, where the MIMO transmissions traverse a space between the first and second wireless communication devices; generates a series of channel responses based on a training field in the MIMO transmissions; and performs wireless sensing of the space based on the series of channel responses.
Implementations of the second example may include one or more of the following features. The transport layer messages can be sent according to a TCP Ping process, or another type of process. The MIMO training field can be an HE-LTF, VHT-LTF or an HT-LTF. The wireless sensing may include detecting motion of an object in the space.
In a third example, a first wireless communication device: initiates a first mechanism to elicit a MIMO transmission from a second wireless communication device, and detects a failure of the first mechanism; initiates a second, different mechanism to elicit a MIMO transmission from the second wireless communication device, and detects a success of the second mechanism; generates a series of channel responses based on MIMO transmissions elicited from the second device using the second mechanism; and performs wireless sensing based on the series of channel responses.
Implementations of the third example may include one or more of the following features. The first mechanism and the second mechanism may include an ICMP Ping, a TCP Ping, an ARP Ping, or another type of request/response process. The first wireless communication device may initiate the first mechanism and the second mechanism (and possibly additional mechanisms) based on a state of a state machine. The wireless sensing may include detecting motion of an object in a space traversed by the MIMO transmissions.
In a fourth example, a first wireless communication device in a wireless communication network may: generate network or transport layer messages addressed to a second wireless communication device in the wireless communication network; wirelessly transmit the network or transport layer messages to the second wireless communication device to elicit multiple-input-multiple-output (MIMO) transmissions from the second wireless communication device; and receive MIMO transmissions from the second wireless communication device. The MIMO transmissions may traverse a space between the first wireless communication device and the second wireless communication device. The first wireless communication device may also identify a training field in each MIMO transmission; generate channel information based on the respective training fields; and detect motion that occurred in the space based on the channel information.
Implementations of the fourth example may include one or more of the following features. The network or transport layer messages includes network layer messages encapsulated into a payload field of respective Media Access Control (MAC) layer messages. The network layer messages are wirelessly transmitted according to an Internet Control Message Protocol (ICMP) Ping process. The first wireless communication device may further obtain a network layer address of the second wireless communication device; and encapsulate the network layer address of the second wireless communication device into the payload field of the respective MAC layer messages. The network or transport layer messages include transport layer messages encapsulated into a payload field of respective network layer messages, and the transport layer messages are wirelessly transmitted according to a Transmission Control Protocol (TCP) Ping process, an Address Resolution Protocol (ARP) Ping addressed to the second wireless communication device, or a combination thereof. The first wireless communication device may further detect a failure of the network or transport layer messages to elicit MIMO transmissions from the second wireless communication device; in response to detecting the failure, generate second network or transport layer messages addressed to the second wireless communication device; and wirelessly transmit the second network or transport layer messages to the second wireless communication device to elicit MIMO transmissions from the second wireless communication device. The network or transport layer messages are wirelessly transmitted according to a first type of communication process, and the second network or transport layer messages are wirelessly transmitted according to a second, different type of communication process. The first type of communication process and the second type of communication process are selected from the group consisting of an ICMP Ping, an ARP Ping addressed to the second wireless communication device, and a TCP Ping. Identifying the training field in each MIMO transmission includes identifying the training field in a PHY frame of each MIMO transmission.
In a fifth example, a non-transitory computer-readable medium stores instructions that are operable when executed by data processing apparatus to perform one or more operations of the first example, the second example, the third example, or the fourth example. In a sixth example, a system includes a plurality of wireless communication devices, and a device configured to perform one or more operations of the first example, the second example, the third example, or the fourth example.
Implementations of the sixth example may include one or more of the following features. One of the wireless communication devices can be or include the device. The device can be located remote from the wireless communication devices.
While this specification contains many details, these should not be understood 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 or shown in the drawings in the context of separate implementations can also be combined. Conversely, various features that are described or shown in the context of a single implementation can also be implemented in multiple embodiments separately or in any suitable subcombination.
Similarly, while operations are depicted in the drawings in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In certain circumstances, multitasking and parallel processing may be advantageous. Moreover, the separation of various system components in the implementations described above should not be understood as requiring such separation in all implementations, and it should be understood that the described program components and systems can generally be integrated together in a single product or packaged into multiple products.
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 description above.
This application claims priority to U.S. Provisional App. No. 62/944,177, filed Dec. 5, 2019, entitled “Eliciting MIMO Transmissions from Wireless Communication Devices,” and U.S. Provisional App. No. 62/928,684, filed Oct. 31, 2019, entitled “Using MIMO Training Fields for Motion Detection,” the contents of which are hereby incorporated by reference.
Number | Date | Country | |
---|---|---|---|
62944177 | Dec 2019 | US | |
62928684 | Oct 2019 | US |