The present invention relates to wireless communications, and more particularly, to a method and apparatus for performing packet detection by jointly considering multiple parameters derived from signal strength of a received signal.
In a wireless communication environment, the signals that transfer through it are very susceptible to changing in amplitude and phase due to many factors such as multipath loss which leads to phenomenon called fading. Fading refers to the fluctuations in signal strength when received at the receiver and multipath fading (also called channel effect) is a common phenomenon that occurs in wireless signal transmission. In a wireless communication system such as a Bluetooth (BT) system, an antenna switch method may be used to avoid or mitigate the channel effect. However, this method requires an extra antenna switching time and a fast and accurate packet detection algorithm. In the future, a BT system may employ Wake-up Radio (WuR) for reducing the power consumption. Similarly, a BT system with WuR also needs a fast and accurate packet detection algorithm. One typical packet detection algorithm may rely on receive signal strength indication (RSSI) measurement. However, multipath fading (also called channel effect) has an impact on the RSSI measurement.
Another typical packet detection algorithm may perform correlation between an access code of a BT packet and a bit sequence of a received signal. In general, the longer correlation time, the better performance to detect the existence of a packet. Since the access code of a BT packet is immediately followed by payload of the BT packet, the packet detection timing is too late. When antenna switch is performed in response to the packet detection result, the following payload will be destroyed by switching of antennas. Furthermore, the correlation-based packet detection needs more power consumption and chip area, and is a time-consuming task that needs more computation time.
One of the objectives of the claimed invention is to provide a method and apparatus for performing packet detection by jointly considering multiple parameters derived from signal strength of a received signal.
According to a first aspect of the present invention, an exemplary wireless communication method is disclosed. The exemplary wireless communication method includes: deriving a first received signal at a target channel from a first radio-frequency (RF) signal received through a first antenna; deriving a plurality of different parameters from signal strength of the first received signal; and performing a first packet detection operation for detecting if a packet is included in the first received signal by jointly considering the plurality of different parameters of the first received signal.
According to a second aspect of the present invention, an exemplary wireless communication apparatus is disclosed. The exemplary wireless communication apparatus includes a first receive (RX) circuit, a computation circuit, and a decision circuit. The first RX circuit is arranged to receive a first radio-frequency (RF) signal from a first antenna, and derive a first received signal at a target channel from the first RF signal. The computation circuit is arranged to derive a plurality of different parameters from signal strength of the first received signal. The decision circuit is arranged to perform a first packet detection operation for detecting if a packet is included in the first received signal by jointly considering the plurality of different parameters of the first received signal.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Certain terms are used throughout the following description and claims, which refer to particular components. As one skilled in the art will appreciate, electronic equipment manufacturers may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not in function. In the following description and in the claims, the terms “include” and “comprise” are used in an open-ended fashion, and thus should be interpreted to mean “include, but not limited to . . . ”. Also, the term “couple” is intended to mean either an indirect or direct electrical connection. Accordingly, if one device is coupled to another device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections.
The RX circuit 102 may include a low-noise amplifier (LNA) 112, a mixer 114, a band-pass filter (BPF) 116, and an analog-to-digital converter (ADC) 118. The RX circuit 102 is arranged to receive a radio-frequency (RF) signal S_RF from the antenna 10, and derive a received signal S_BB at a target channel from the RF signal S_RF. In this embodiment, the received signal S_BB is a digital baseband signal output from the ADC 118, and includes a sample sequence xk{xk, k=0, 1, . . . , N−1} that is used for packet detection, where the number of samples included in the sample sequence xx is equal to N. For example, assuming that the BT signal to be received by the wireless communication apparatus 100 is a Bluetooth Low Energy (BLE) signal with a data rate of 1 megabits per second (Mbps), the ADC 118 may operate at a higher sampling rate to obtain 16 or 32 samples per bit time, i.e., 16 or 32 samples per microsecond (us). In this embodiment, the sample sequence xx may include N samples obtained during one bit time of the BLE signal. Alternatively, the sample sequence xx may include N samples obtained during more than one bit time of the BLE signal. Since the principle of the RX circuit 102 is known by those skilled in the art, further description is omitted here for brevity.
The computation circuit 108 is arranged to derive a plurality of different parameters P1-PM (M≥2) from signal strength of the received signal S_BB. For example, one of the parameters P1-PM may be a mean value of the signal strength (e.g., energy or power) of the received signal S_BB, and another of the parameters P1-PM may be a variance value of the signal strength (e.g., energy or power) of the received signal S_BB. For another example, one of the parameters P1-PM may be a mean value of the signal strength (e.g., energy or power) of the received signal S_BB, and another of the parameters P1-PM may be a standard deviation value (or normalized variance value) of the signal strength (e.g., energy or power) of the received signal S_BB. The decision circuit 110 is arranged to perform a packet detection operation for detecting if a packet is included in the received signal S_BB by jointly considering the different parameters P1-PM of the received signal S_BB.
The BLE signal is a Gaussian frequency-shift keying (GFSK) modulated signal. Hence, the BLE signal is a CE modulated signal. The present invention leverages inherent characteristics of the CE modulation to achieve ultra-fast packet detection. Please refer to
The target channel (i.e., in-band channel) is represented by CH=0. The non-target channels (i.e., out-of-band channels) include adjacent channels represented by CH=−4, CH=−3, CH=−2, CH=−1, CH=1, CH=2, CH=3, CH=4. Suppose that a packet (e.g., BLE packet) is present at the target channel. The BPF 116 shown in
The CE modulation has one key characteristic that a variance value of the signal strength is theoretically zero. However, if a signal component (e.g., out-of-band signal component) of a CE modulated signal is disrupted during signal processing (e.g., out-of-band interference suppression), the variance value of the signal component is no longer zero, but becomes significantly larger. Since signal components at the non-target channels CH=1, CH=2, CH=3, CH=4, CH=−1, CH=−2, CH=−3, CH=−4 are attenuated/destroyed by BPF 116 shown in
If an interference signal (which is not a CE modulated signal) is present at the target channel (i.e., in-band channel) CH=0, the mean value and the variance value calculated for the target channel do not have such characteristics mentioned above. Please refer to
Suppose that the interference signal is a Wi-Fi signal (which may employ quadrature amplitude modulation (QAM) that is not CE modulation). The mean value calculated for the target channel (i.e., in-band channel) CH=0 used by Wi-Fi transmission is large. However, the variance value calculated for the target channel (i.e., in-band channel) CH=0 used by Wi-Fi transmission is also larger due to the fact that Wi-Fi transmission does not adopt CE modulation. Specifically, because a Wi-Fi signal is not CE modulated, the variance value is relatively large no matter whether the Wi-Fi signal is on the target channel or non-target channels.
Based on above observation, the computation circuit 108 may be arranged to refer to samples of the sample sequence xk included in the received signal S_BB (which is a digital baseband signal at the target channel) for calculating an RSSI value as a parameter P1. For example, when samples of the sample sequence xk {xk, k=0, 1, . . . , N−1} are sequentially received by the computation circuit 108, the computation circuit 108 may calculate an accumulation value of samples included in the sample sequence xk (i.e., Σk=0N−1|xk|) and an accumulation value of squares of samples included in the sample sequence xk (i.e., Ek=0N−1|xk|2) for later use, wherein Σk=0N−1 |xk|2 is deemed as the signal strength in a given period of time. Hence, the RSSI value RSSI0 (which is a mean value of the signal strength of the received signal S_BB) may be computed using the following formula.
In addition, the computation circuit 108 may be arranged to calculate a variance value VAR0 of the samples of the sample sequence xk (i.e., RSSI variance). A second parameter P2 is derived from at least the variance value VAR0. The variance value VAR0 may be computed using the following formula.
In one embodiment, the second parameter P2 may be set by the variance value VAR0. In another embodiment, the second parameter P2 may be set by a normalized variance value EVM0. The normalized variance value EVM0 may be computed using the following formula.
The sample sequence xk {xk, k=0, 1, . . . , N−1} may include N samples that are obtained from sampling an analog filter output of the BPF 116 during one bit time (e.g., 1 us) of a BLE signal with a data rate of 1 Mbps. It should be noted that the number N of samples used for computing RSSI value RSSI0, variance value VAR0, and normalized variance value EVM0 may be adjusted, depending upon actual design considerations. Since an average operation is involved in computation of RSSI value RSSI0, variance value VAR0, and normalized variance value EVM0, characteristics of the CE modulated signal as illustrated in
In further detail, in a circumstance where the received signal S_BB is the CE modulated signal accompanied with the noise signal, the variance value of the received signal S_BB is dominated by the noise signal due to the fact that the variance value of the CE modulated signal is zero. Moreover, due to usage of the average operation, the variance value of the noise signal is further reduced to 1/N of its original value, where N is positively correlated to detection time. Conversely, in a circumstance where the received signal S_BB is not the CE modulated signal but still accompanied with the noise signal, the variance value of the received signal S_BB is instead dominated by the non-CE modulated signal, which has a variance value significantly larger than that of the noise signal. In a short period of time, the average operation cannot significantly reduce the variance value of the non-CE modulated signal. As a result, the shorter the detection time the more effectively the CE modulated signal can be distinguished from the non-CE modulated signal, enabling ultra-fast packet detection.
After the parameters P1 (e.g., P1=RSSI0) and P2 (e.g., P2=VAR0 or EVM0) are available, the decision circuit 110 performs a packet detection operation for detecting if a packet (e.g., BLE packet) is included in the received signal S_BB at the target channel by jointly considering the parameters P1 (e.g., P1=RSSI0) and P2 (e.g., P2=VAR0 or EVM0). For example, the decision circuit 110 may check if the parameter P1 (e.g., P1=RSSI0) is larger than one threshold value TH0 and the parameter P2 (e.g., P2=VAR0 or EVM0) is lower than another threshold value TH1. When the parameter P1(e.g., P1=RSSI0) is found larger than the threshold value TH0 and the parameter P2 (e.g., P2=VAR0 or EVM0) is found lower than the threshold value TH1, the decision circuit 110 determines that a packet is detected (i.e., a packet is present at the received signal S_BB). When the parameter P1 (e.g., P1=RSSI0) is not found larger than the threshold value TH0 or the parameter P2 (e.g., P2=VAR0 or EVM0) is not found lower than the threshold value TH1, the decision circuit 110 determines that no packet is detected (i.e., no packet is present at the received signal S_BB).
In the above embodiment, only the parameters P1 (e.g., P1=RSSI0) and P2 (e.g., P2=VAR0 or EVM0) derived from signal strength of the received signal S_BB at the target channel are jointly considered for packet detection of the target channel. However, this is for illustrative purposes only, and is not meant to be a limitation of the present invention. In an alternative design, parameters derived from signal strength of other received signal(s) at non-target channel(s) may also be jointly considered for packet detection of the target channel.
In addition to the parameters P1-PM of the target channel, the computation circuit 608 further generates parameters P1_1-PL_1, . . . , P1_K-PL_K (L≥1 & K≥1) for received signals ACIBB_1-ACIBB_K (K≥1) at non-target channel(s). The decision circuit 610 performs a packet detection operation for detecting if a packet is included in the received signal S_BB at the target channel by jointly considering parameters P1-PM of the target channel and parameters P1_1-PL_1, . . . , P1_K-PL_K of non-target channel(s).
Taking the generation of parameters P1_1-PL_1for example, the RX circuit 602 (particularly, LNA 612_1, mixer 614_1, BPF 616_1 and ADC 618_1 of RX circuit 602) derives a received signal ACIBB_1 (which is a digital baseband signal) at a non-target channel (which is an adjacent channel of the target channel) from the RF signal S_RF received through the antenna 10, and the computation circuit 608 derives one or more parameters P1_1-PL_1 (L≥1) from signal strength of the received signal ACIBB_1. For example, one of the parameters P1_1-PL_1 may be a mean value of the signal strength (e.g., energy or power) of the received signal ACIBB_1, and another of the parameters P1_ 1-PL_1 may be a variance value of the signal strength (e.g., energy or power) of the received signal ACIBB_1. For another example, one of the parameters P1_1-PL_1 may be a mean value of the signal strength (e.g., energy or power) of the received signal ACIBB_1, and another of the parameters P1_1-PL_1 may be a standard deviation value (or normalized variance value) of the signal strength (e.g., energy or power) of the received signal ACIBB_1. The mean value of the signal strength of the received signal ACIBB_1 may be computed using the aforementioned formula (1). The variance value of the signal strength of the received signal ACIBB_1 may be computed using the aforementioned formula (2). The normalized variance value of the signal strength of the received signal ACIBB_1 may be computed using the aforementioned formula (3).
In addition to the parameters P1-PM of the received signal S_BB at the target channel, the proposed packet detection design also checks parameter(s) of received signal(s) ACIBB_1-ACIBB_K (K≥1) at non-target channel(s). In this way, the packet detection accuracy can be improved due to more useful information provided from non-target channel(s).
Considering a case where the mean value (RSSI value) S4 of the target channel CH=0, additional mean values (RSSI values) S3 and S5 of the non-target channels CH=−1 and CH=1, and the (normalized) variance value V4 of the target channel CH=0 are generated by the computation circuit 608 and provided to the decision circuit 610, the decision circuit 610 may check if these conditions {(S4-S3)>thu1&&(S4-S5)>thu1&&(V4-0)<thuv1} are met, to determine if a packet is present at the received signal S_BB at the target channel CH=0, where the threshold values thu1 and thuv1 may be set by experiment or simulation.
Considering another case where the mean value (RSSI value) S4 of the target channel CH=0, additional mean values (RSSI values) S0, S1, S2, S3, S5, S6, S7, S8 of the non-target channels CH=−4, CH=−3, CH=−2, CH=−1, CH=1, CH=2, CH=3, and CH=4, the (normalized) variance value V4 of the target channel CH=0, and additional (normalized) variance values V0-V3 and V4-V8 of the non-target channels CH=−4, CH=−3, CH=−2, CH=−1, CH=1, CH=2, CH=3, and CH=4 are generated by the computation circuit 608 and provided to the decision circuit 610, the decision circuit 610 may check if these conditions {(S4-S3)>thu1 && (S4-S5)>thu1 && (S3-S2)>thu2 && (S5-S6)>thu2 && (S4-S2)>thu3 && (S4-S6)>thu3 && S1<thd1 && S7<thd1 && SO<thd2 && S8<thd2 && (V4-0)<thuv1 && both V3 and V5>thuv2 && both V2 and V6>thuv3&& (V2-V3)>thuv4 && (V6-V5)>thuv4&& (V2-V1)>thuv5&& (V6-V7)>thuv5} are partially or all met, to determine if a packet is present at the received signal S_BB at the target channel CH=0, where the threshold values thu1, thu2, thu3, thd1, thd2, thuv1, thuv2, thuv3, thuv4, and thuv5 may be set by experiment or simulation.
In a wireless communication system such as a BT system, an antenna switch method may be used to avoid or mitigate the channel effect. In some embodiments of the present invention, the proposed packet detection method may be integrated with an antenna switch method for selecting a target antenna (i.e., best antenna) among multiple antennas.
In addition to different parameters P1-PM (M≥2) that are derived from signal strength of the received signal S_BB, the computation circuit 708 is further arranged to derive different parameters P1_1-PM_1 from signal strength of the received signal S_BB_1, and different parameters P1_K-PM_K from signal strength of the received signal S_BB_K. For example, one of the parameters P1_1-PM_1 (P1_K-PM_K) may be a mean value of the signal strength (e.g., energy or power) of the received signal S_BB_1 (S_BB_K), and another of the parameters P1_1-PM_1 (P1_K-PM_K) may be a variance value of the signal strength (e.g., energy or power) of the received signal S_BB_1 (S_BB_K). For another example, one of the parameters P1_1-PM_1 (P1_K-PM_K) may be a mean value of the signal strength (e.g., energy or power) of the received signal S_BB_1 (S_BB_K), and another of the parameters P1_1-PM_1 (P1_K-PM_K) may be a standard deviation value (or normalized variance value) of the signal strength (e.g., energy or power) of the received signal S_BB_1 (S_BB_K). The mean value of the signal strength of the received signal S_BB_1 (S_BB_K) may be computed using the aforementioned formula (1). The variance value of the signal strength of the received signal S_BB_1 (S_BB_K) may be computed using the aforementioned formula (2). The normalized variance value of the signal strength of the received signal S_BB_1 (S_BB_K) may be computed using the aforementioned formula (3).
The decision circuit 710 is further arranged to perform a packet detection operation for detecting if a packet is included in the received signal S_BB_1 by jointly considering the different parameters P1_1-PM_1 of the received signal S_BB_1. Similarly, the decision circuit 710 is further arranged to perform a packet detection operation for detecting if a packet is included in the received signal S_BB_K by jointly considering the different parameters P1_K-PM_K of the received signal S_BB_K.
Since the wireless communication apparatus 700 is equipped with multiple antennas 10 and 70_1-70_K (K≥1), the decision circuit 710 may select a best antenna from all available antennas according to parameters provided from the computation circuit 708.
Suppose that the wireless communication apparatus 700 has two antennas 10 and 70_1 (K=1). When the antenna switch procedure starts, the antenna switch circuit 702 is controlled to first select one of the antennas 10 and 70_1 for allowing the computation circuit 708 to compute parameters needed by the decision circuit 710, and then controlled to select another of the antennas 10 and 70_1 for allowing the computation circuit 708 to compute other parameters needed by the decision circuit 710. Hence, the decision circuit 710 selects a target antenna (i.e., best RX antenna) from multiple antennas 10 and 70_1 according to parameters P1-PM of the received signal S_BB and parameters P1_1-PM_1 of the received signal S_BB_1. Specifically, the decision circuit 710 performs a comparison operation according to parameters P1-PM of the received signal S_BB (e.g., RSSI0 and VAR0, or RSSI0 and EVM0) and parameters P1_1-PM_1 of the received signal S_BB_1 (e.g., RSSI1 and VAR1, or RSSI1 and EVM1), and selects the target antenna from multiple antennas 10 and 70_1 according to comparison results. For example, the decision circuit 710 may select an antenna which has a smaller (or minimum) EVM value from antennas 10 and 70_1 if both conditions {RSSI0>TH_High && RSSI1>TH_High} are met, where the threshold value TH_High may be set by experiment or simulation. For another example, the decision circuit 710 may select an antenna which has a smaller (or minimum) EVM value from antennas 10 and 70_1 if both conditions {|RSSI0-RSSI1|<TH_0 && |EVM0-EVM1|>TH_1} are met, where the threshold values TH_0 and TH_1 may be set by experiment or simulation. For yet another example, the decision circuit 710 may select an antenna which has a smaller (or minimum) EVM value from antennas 10 and 70_1 if both conditions RSSI0>TH_High && RSSI1>TH_High are met. If the conditions {RSSI0>TH_High && RSSI1>TH_High} are not met, the decision circuit 710 may select an antenna which has a smaller (or minimum) EVM value from antennas 10 and 70_1 if both conditions {|RSSI0-RSSI1|<TH_0&& |EVM0-EVM1|>TH_1} are met.
Compared to a typical method which uses an access code for packet detection, the proposed method starts the packet detection before a start of the access code (i.e., before an end of the preamble). Since switching of antennas occurs much earlier than a start of the payload, data carried by the payload are protected from being destroyed by the antenna switch operation used to avoid or mitigate the channel effect. In addition, the proposed method performs packet detection by using power/energy detection rather than access code correction, power consumption, chip area and processing time can be effectively reduced. Furthermore, the proposed method can monitor CE characteristics (e.g., RSSI and RSSI variance) of multiple channels, including a target channel and at least one non-target channel, to get a more accurate packet detection result. The characteristics of a CE modulated signal are more observable from parameters computed using a sample sequence with samples obtained from a received signal during a shorter period of time. Hence, the proposed method can get the accurate packet detection result in a very short period of time, and can be applicable to any wireless communication apparatus that needs fast and accurate packet detection. For example, the wireless communication apparatus 100/600/700 may be a WuR receiver that requires fact and accurate packet detection.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
This application claims the benefit of U.S. Provisional Application No. 63/465, 891, filed on May 12, 2023. The content of the application is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
63465891 | May 2023 | US |