The present invention is related to an interference detection method applied to a wireless communication device, and more particularly, to an interference detection method that can effectively detect whether interference exists in a wireless transmission channel to thereby cause the wireless communication device to perform transmission parameter adjustment according to a detection result, in order to effectively reduce transmission errors caused by the interference.
In a wireless communication system, there are many ways to prevent or reduce interference, such as carrier sense multiple access (CSMA) and collision avoidance (CA). Collision or interference cannot be completely prevented, however, which will impact transmission. More particularly, in free channels such as 2 GHz/5 GHz/6 GHz operated by Wireless Fidelity (WiFi), many different communication systems share limited bandwidth at the same time but cannot easily detect each other, making collision and interference more likely to occur. In order to reduce the impact thereof, it is an important issue to effectively detect whether there is interference in a wireless transmission channel.
It is therefore one of the objectives of the present invention to provide a wireless communication device and an associated interference detection method to address the above-mentioned issues.
According to an embodiment of the present invention, a wireless communication device is provided. The wireless communication device comprises a wireless transceiver circuit, a baseband signal processing circuit, and an interference detection device. The wireless transceiver circuit is arranged to receive a wireless signal from a wireless transmission channel, and convert the wireless signal into a baseband signal. The baseband signal processing circuit is arranged to process the baseband signal, wherein the baseband signal comprises a plurality of packets. The interference detection device is coupled to the baseband signal processing circuit, and is arranged to perform a short-term interference detection and a long-term interference detection according to the plurality of packets, for determining whether interference exists in the wireless transmission channel and generate a detection result, wherein the short-term interference detection is an interference detection within a single packet, and the long-term interference detection is an interference detection across packets. When the detection result indicates that interference exists in the wireless transmission channel, the detection result further indicates a frequency band in which the interference exists.
According to an embodiment of the present invention, an interference detection method is provided. The interference detection method comprises receiving a wireless signal from a wireless transmission channel, converting the wireless signal into a baseband signal, and processing the baseband signal, wherein the baseband signal comprises a plurality of packets; and performing a short-term interference detection according to the plurality of packets, for determining whether an interference exists in the wireless transmission channel and generating a detection result, wherein the short-term interference detection is an interference detection of a single packet; wherein in response to the detection result indicating the interference exists in the wireless transmission channel, the detection result further indicates a frequency band in which the interference exists.
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.
The wireless transceiver circuit 120 may be arranged to receive a wireless signal (e.g., a radio frequency signal) from a wireless transmission channel through the at least one antenna 110, and process the wireless signal to obtain a transmitted packet. Alternatively, the wireless transceiver circuit 120 may process the packet to be transmitted to obtain a corresponding signal as the wireless signal, and transmit the wireless signal through the at least one antenna 110. For example, the wireless transceiver circuit 120 may perform power amplification or power attenuation upon the signal, as well as up-frequency or down-frequency conversion, in order to convert the baseband signal into the wireless signal or convert the received wireless signal into the baseband signal.
The baseband signal processing circuit 130 may be arranged to process the baseband signal. Specifically, the baseband signal processing circuit 130 may convert data to be transmitted into a transmitted packet according to a corresponding communication protocol, or convert the received packet into data that can be processed by a back-end circuit according to the corresponding communication protocol.
The processor 140 may be arranged to control operations of the wireless communication device 100. The processor 140 may include a plurality of sub-circuits/functional modules implemented by any one of or a combination of hardware, firmware, or software to perform required signal processing functions. For example, the processor 140 include may parameter adaptation a transmission module, a channel evaluation sub-circuit/functional sub-circuit/functional module, a signal quality evaluation sub-circuit/functional module, and a packet parsing circuit/functional module.
The interference detection device 150 may be coupled to the baseband signal processing circuit 130, and may be arranged to receive the baseband signal from the baseband signal processing circuit 130 and perform interference detection according to the baseband signal, for determining whether interference exists in the wireless transmission channel and determining a frequency band in which the interference exists.
The interference detection device 150 may be an independent device, or may be integrated into the baseband signal processing circuit 130 or the processor 140 (regarded as an interference detection sub-circuit/functional module). Through the collaborative operations of the devices, the circuits and the modules, when it is determined that interference exists in the wireless transmission channel, the processor 140 may adjust transmission behavior of the wireless communication device 100 and/or adaptively adjust transmission parameters according to a detection result, in order to improve transmission correctness and transmission performance.
The wireless communication device 100 may support a plurality of IEEE 802.11 standards, wherein the IEEE 802.11 standards may include, but are not limited to: IEEE 802.11a, 802.11g, 802.11n, 802.11ac, 802.11ax, or other advanced versions. For example, the wireless communication device 100 may be an access point (AP) or a station supporting the IEEE 802.11 standards, such as a cell phone, a smart watch, a tablet, or a laptop computer.
The received wireless signal may include a plurality of packets transmitted continuously or discontinuously. After the wireless signal is converted from a radio frequency signal to a baseband signal, and the baseband signal processing circuit 130 processes the baseband signal to identify the plurality of packets, the interference detection device 150 may perform at least one of a short-term interference detection and a long-term interference detection according to the plurality of packets, for determining whether interference exists in the wireless transmission channel and correspondingly generating a detection result, wherein the short-term interference detection is an interference detection within a single packet, and the long-term interference detection is an interference detection across packets. The interference detection channel circuit 150 may utilize state information (CSI) corresponding to different orthogonal frequency division multiplexing (OFDM) symbols or different parts in the same packet to perform the interference detection within the single packet. The interference detection circuit 150 may utilize the CSI corresponding to the same or different OFDM symbols within different packets to perform the interference detection across the packets. It should be noted that the target of performing the short-term interference detection is not limited to the same packet. In some embodiments, the interference detection circuit 150 may utilize CSI corresponding to different OFDM symbols within a relatively short time slot to perform the short-term interference detection. The interference detection circuit 150 may utilize CSI corresponding to the same or different OFDM symbols within a relatively long time slot to perform the long-term interference detection. A period of a time slot may cover one or more packets.
An OFDM packet of the IEEE 802.11 standard may include three fields (or parts), including a preamble part (labeled “Preamble” in
In the IEEE 802.11 standard, multiple subcarriers in a frequency domain may be utilized to transmit an OFDM symbol. For example, 52 or 64 subcarriers are utilized to carry the preamble symbol, the signaling symbol, and the data symbol. For the data symbol, the multiple subcarriers may be utilized to carry both the user data and a pilot signal, wherein pilot data will be transmitted as the pilot signal for tracking a carrier frequency offset.
Since the wireless transmission channel is a time-varying system, amplitude component and phase component of the channel response will change with time. For the same subcarrier, the channel response estimated at adjacent or close time points typically do not change drastically. Therefore, the wireless communication device 100 can utilize this characteristic of the wireless transmission channel to perform interference detection including performing at least one of the short-term interference detection long-term interference detection, for determining whether interference exists in the wireless transmission channel. The wireless communication device 100 may perform transmission parameter adjustment according to the detection result for effectively reducing transmission errors caused by the interference and improving e transmission performance.
In Step S402, a wireless signal is received and processed, wherein the wireless transceiver circuit 120 of the wireless communication device 100 may receive the wireless signal from a wireless transmission channel through the at least one antenna 110, and the wireless transceiver circuit 120 may convert the wireless signal into a baseband signal. The baseband signal is processed by the baseband signal processing circuit 130, wherein the baseband signal may include a plurality of packets transmitted continuously or discontinuously.
In Step S404, an interference detection is performed according to the received packets to determine whether interference exists in the wireless transmission channel and correspondingly generate a detection result. In addition, Step S404 may further include two sub-steps S404-1 and S404-2, and the interference detection device 150 (in some embodiments, the baseband signal processing circuit 130 or the processor 140) may perform at least one of sub-steps S404-1 and S404-2.
In sub-step S404-1, a short-term interference detection is performed according to the received packets, for determining whether interference exists in the wireless transmission channel and correspondingly generating the detection result.
In sub-step S404-2, a long-term interference detection is performed according to the received packets, for determining whether interference exists in the wireless transmission channel and correspondingly generating the detection result.
In Step S406, a communication frequency band is selected and/or a transmission parameter is adjusted according to the detection result.
When the detection result indicates interference exists in the wireless transmission channel, the detection result further indicates a frequency band in which the interference exists. As a result, in Step S406, the wireless communication device 100 may select a communication frequency band that is far away from the frequency band in which the interference exists. In addition, the adjusted transmission parameter may be selected from a group, where the group includes at least one of a contention window length, activation of a transmission mechanism of a requesting transmission/allowing transmission, activation of a retransmission mechanism, usage of a transmission opportunity, and a time length of the transmission opportunity.
It should be noted that the present invention is not limited to perform the short-term interference detection according to different signal components within the same packet. In some embodiments, the short-term interference detection may be performed according to different signal components with the same time slot. A period of a time slot may cover one or more OFDM packets. The interference detection device 150 may perform a predetermined operation upon channel responses estimated by utilizing preamble signals within the same time slot to obtain an operation result acting as corresponding channel responses of all transmitted preamble signals within the time slot, and/or perform a predetermined operation upon channel responses estimated by utilizing pilot signals within the same time slot to obtain an operation result acting as corresponding channel responses of all transmitted pilot signals within the time slot, for performing a subsequent comparison. Compared with the short-term interference detection, the long-term interference detection may perform a predetermined operation according to channel responses estimated by utilizing specific signals (e.g., the preamble signals or the pilot signals) within multiple time slots to obtain corresponding operation results acting as corresponding channel responses of all transmitted specific signals within the multiple time slots in order to perform a subsequent comparison.
In addition, the channel responses for the comparison should correspond to channel responses of the same subcarrier, and the channel responses may be included in CSI estimated by utilizing corresponding signals or may be regarded as the CSI.
In Step S512, first CSI “CSI(Preamble, t)” is obtained according to preamble signals of a time slot t, wherein the parameter t is an index value of the time slot, the first CSI “CSI(Preamble, t)” is CSI corresponding to preamble signals of a signal frame, and the signal frame is included in a packet of the time slot t. In one embodiment, a period of a time slot may be a time length of an OFDM packet (or may cover the time length of an ODFM packet). In some embodiments, a period of a time slot may cover a time length of multiple OFDM packets.
In Step S514, second CSI “CSI(pilot, t)” is obtained according to pilot signals included in a data symbol of the time slot t, wherein the second CSI “CSI(pilot, t)” is CSI corresponding to pilot signals within the same packet of the time slot t.
In Step S516, it is determined whether a difference value between an amplitude component or a phase component of the ith subcarrier of the first CSI and that of the second CSI is greater than a threshold value TH_ST, to determine whether interference exists in a wireless transmission channel. In response to the difference value being greater than the threshold value TH_ST, it is determined that the interference exists in the wireless transmission channel, and Step S518 is performed. In response to the difference value not being greater than the threshold value TH_ST, the method returns to Step S512 for performing the short-term interference detection 510 according to a next time slot or a next received packet.
The interference detection device 150 may perform a predetermined operation upon the first CSI “CSI(Preamble, t)” of the short-term interference detection 510 to obtain a first operation result corresponding to the first CSI “CSI(Preamble, t)” (i.e., an operation result corresponding to the preamble signals), perform a predetermined operation upon the second CSI “CSI(pilot, t)” of the short-term interference detection 510 to obtain a second operation result corresponding to the second CSI “CSI(pilot, t)” (i.e., an operation result corresponding to the pilot signals), and determine whether a difference value between the first operation result and the second operation result is greater than the threshold value TH_ST. The predetermined operation may include: obtaining an amplitude of a frequency response corresponding to the ith subcarrier, obtaining a phase of the frequency response corresponding to the ith subcarrier, utilizing a sliding window to obtain amplitudes and/or phases of frequency responses of multiple packets adjacent to the current packet, and calculating its average, its maximum value, its minimum value, or its variation.
In addition, the threshold value TH_ST may be determined according to an average or a variation of the current estimated CSI. For example, the threshold value TH_ST may be a sum of an adjustment value and the average or the variation of the amplitude and/or the phase of the frequency response corresponding to the ith subcarrier.
In Step S518, a communication frequency band is selected and/or a transmission parameter is adjusted.
In Step S522, the first CSI “CSI(Preamble, t)” is obtained according to preamble signals of one or more packets within the time slot t.
In Step S524, third CSI “CSI(Preamble, m)” is obtained according to preamble signals of one or more packets within a time slot m, wherein the parameter m is an index value of the time slot, a value of m is between (t−1) and (t−k), and k is a positive integer.
In Step S526, it is determined whether a difference value between an amplitude component or a phase component of the ith subcarrier of the first CSI “CSI(Preamble, t)” and that of the third CSI “CSI(Preamble, m)” is greater than a threshold value TH_LT, to determine whether interference exists in a wireless transmission channel. In response to the difference value being greater than the threshold value TH_LT, it is determined that the interference exists in the wireless transmission channel, and Step S528 is performed. In response to the difference value not being greater than the threshold value TH_LT, the method returns to Step S522 for performing the long-term interference detection 520 according to a next time slot or a next received packet.
The interference detection device 150 may perform a predetermined operation upon the first CSI “CSI(Preamble, t)” of the long-term interference detection 520 to obtain a first operation result corresponding to the first CSI “CSI(Preamble, t)” (i.e., an operation result corresponding to the preamble signals of the time slot t), perform a predetermined operation upon the third CSI “CSI(Preamble, m)” of the long-term interference detection 520 to obtain a second operation result corresponding to the third CSI “CSI(Preamble, m)” (i.e., an operation result corresponding to the preamble signals of the time slot m), and determine whether a difference value between the first operation result and the second operation result is greater than the threshold value TH_LT. The predetermined operation may include: obtaining an amplitude of frequency response corresponding to the ith subcarrier, obtaining a phase of the frequency response corresponding to the ith subcarrier, utilizing a sliding window to obtain amplitudes and/or phases of frequency responses of multiple packets adjacent to the current packet, and calculating its average, its maximum value, its minimum value, or its variation.
In addition, the threshold value TH_LT may be determined according to an average or a variation of the current estimated CSI. For example, the threshold value TH_LT may be a sum of an adjustment value and the average or the variation of the amplitude and/or phase of the frequency response corresponding to the ith subcarrier.
In Step S528, a communication frequency band is selected and/or a transmission parameter is adjusted.
The purpose of determining whether a difference value between the first CSI “CSI(Preamble, t)” and the third CSI “CSI(Preamble, m)” is greater than the threshold value TH_LT is to determine whether the variation of the first CSI “CSI(Preamble, t)” and the third CSI “CSI(Preamble, m)” is consistent with the long-term variation trend. If No, it is determined that interference exists in the wireless transmission channel, but the present invention is not limited thereto. In some embodiments, a filter result of an alpha-beta filter may be utilized to determine the variation trend of the CSI. In response to an absolute value of the latest CSI (e.g., an absolute value of the amplitude/phase of the frequency response) being greater than an absolute value of a sum of an adjustment value and the output of the alpha-beta filter, it is determined that the latest CSI has exceeded the expected trend, and therefore interference exists in the wireless transmission channel.
In addition, the interference detection device 150 is not limited to perform the long-term interference detection according to the preamble signals. In some embodiments, the interference detection device may perform the long-term interference detection according to the pilot signals.
Since the interference detection is performed according to the preamble signals and/or the pilot signals carried by the ith subcarrier, in response to interference existing in the wireless transmission channel, a frequency band corresponding to the ith subcarrier may be determined as a frequency band in which the interference exists.
A known frequency position in which interference exists may be utilized to optimize the transmission efficiency. For example, in response to the detection result indicating interference exists in the wireless transmission channel, the processor 140 may correspondingly adapt/adjust the transmission parameters and/or select a frequency band far away from the frequency band in which interference exists as an actual communication frequency band.
Specifically, when the wireless communication device 100 is implemented as an AP, the processor 140 may select a frequency band far away from the frequency band in which interference exists as a designated communication frequency band, and designate a station to transmit uplink packets to the communication frequency band, wherein the selected communication frequency band may be a set of multiple subcarriers. In this way, the uplink packet transmission correctness can be effectively improved.
When the wireless communication device 100 is implemented as a station, the processor 140 may modify a measurement result corresponding to the frequency band in which interference exists from an original value to a poor value, and transmit the modified measurement result to an AP for preventing the AP from transmitting downlink packets in the frequency band in which interference exists, wherein the measurement result is indicative of an indicator of a received signal strength. In this way, the downlink packet transmission correctness can be effectively improved. For example, when a multi-user beamforming protocol is implemented, the station must report an average signal-to-noise ratio (SNR) of each stream and the difference between the SNR and an average SNR of each subcarrier as the CSI. The processor 140 may modify an actual measurement result of the SNR of a subcarrier in which interference exists from an original value to a poor value, and generate the CSI according to the modified measurement result for reporting to the AP. After obtaining the CSI, the AP may determine that the SNR of the subcarrier in which interference exists is worse than that of other subcarriers, and therefore will not utilize the subcarrier with worse SNR to transmit data to the station, but instead select a subcarrier far away from the subcarrier with worse SNR to transmit data to the station.
The above selected frequency band and the frequency band in which interference exists may be two non-overlapping frequency bands, two frequency bands with a frequency distance greater than a threshold value, or two frequency bands with an overlapping part lower than a specific ratio.
In addition, regardless of whether the wireless communication device 100 is implemented as an AP or a station, the processor 140 may adapt or adjust the transmission parameter according to the detection result. As mentioned above, the transmission parameter may be selected from a group, and the group includes at least one of a contention window length, activation of a transmission mechanism of a requesting transmission/allowing transmission, activation of a retransmission mechanism, usage of a transmission opportunity, and a time length of the transmission opportunity.
The waiting time in the IEEE 802.11 standard is a distributed coordination function frame interval (DIFS) plus a contention window generated by a random number. When the processor 140 determines that interference exists in the wireless transmission channel according to the detection result, the selection of the contention window can be adjusted. For example, a selected value range of the random number can be enlarged or narrowed to adjust the contention window length and reduce the collision probability.
The IEEE 802.11 standard defines two transmission/protection mechanisms request to send (RTS)-clear to send (CTS) and CTS2SELF, but does not specify the usage timing. The processor 140 may determine whether to enable the RTS-CTS according to the detection result. For example, when it is determined that interference exists in the wireless transmission channel, the RTS-CTS is enabled for subsequent packet transmission.
Since a broadcast/multicast packet does not have a corresponding acknowledge, the transmitting terminal cannot know whether the receiving terminal has correctly received the broadcast packet. Therefore, the processor 140 may determine whether to enable a resend mechanism according to the detection result. For example, when it is determined that interference exists in the wireless transmission channel, the processor 140 will determine to resend the broadcast packet.
The IEEE 802.11e (QOS) standard defines a transmission opportunity (TxOP) to increase the channel usage efficiency. A parameter TxOP limit represents the maximum length transmitted at one time. During the TxOP, packets will be transmitted in sequence without competing for channel usage rights. Once a collision occurs during the TxOP, it is likely to cause continuous packet collisions, thereby affecting the channel usage efficiency. As a result, the processor 140 may determine whether to utilize the TxOP and/or adjust a time length of the TxOP according to the detection result. For example, when the detection result indicates that interference exists in the wireless transmission channel, the processor 140 may determine to suspend the TxOP for subsequent transmission or shorten the time length of the TxOP.
The processor may determine whether to adjust the transmission power according to the detection result. For example, when the detection result indicates that interference exists in the wireless transmission channel, the processor 140 may increase the transmission power to improve SNR of subsequent transmitted packets and reduce transmission errors.
In summary, by performing the short-term interference detection and the long-term interference detection in parallel or in sequence (or performing at least one of them), whether interference exists in a wireless transmission channel can be effectively detected. In response to a detection result indicating that interference exists in the wireless transmission channel, a processor can adjust transmission behavior of a wireless communication device and/or adaptively adjust transmission parameters according to the detection result, in order to improve transmission correctness and transmission performance.
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.
Number | Date | Country | Kind |
---|---|---|---|
112109770 | Mar 2023 | TW | national |