The present application claims priority from Australian provisional patent application number 2022903996 filed on 23 Dec. 2022, the contents of which are incorporated herein by cross-reference.
The present disclosure generally relates to wireless communications. Specifically, aspects of the present disclosure are related to receiving wireless signals with adaptive frequency shift correction.
A wireless network, for example a Wireless Local Area Network (WLAN) such as a Wi-Fi (based on at least one of the Institute of Electrical and Electronics Engineers (IEEE) 802.11 standards) network, includes one or more Access Points (APs) that communicate with one or more Stations (STAs). The APs serve the STAs by a shared wireless communication medium over a specific frequency band. For example, the IEEE 802.11ah standard, also referred to as Wi-Fi Halow, uses sub-1 GHz license-exempt frequency bands to provide extended range Wi-Fi networks. IEEE 802.11ah also benefits from lower energy consumption, allowing the creation of large groups of stations or sensors that cooperate to share signals, and supporting the concept of the Internet of Things (IoT). The license-exempt frequency band below 1 GHz for Wi-Fi Halow, excluding the TV white spaces, varies from country to country.
A Direct Current (DC) offset in a received wireless signal is an undesirable impairment in receivers. The DC offset in the received wireless signal is typically caused by the leakage of a Local Oscillator (LO) energy at a mixer stage and through the Power Amplifier (PA) into the receiver. The mixer of a direct conversion receiver translates the modulation around a Radio Frequency (RF) carrier to a zero Intermediate Frequency (IF) based on an LO output signal with a fixed amplitude sinusoid, where the LO frequency is set to equal to the RF frequency. Any LO energy leakage in the RF path will self-mix and produce a DC offset. This LO energy leakage is inevitable in System on Chip (SoC) solutions as it is difficult to achieve perfect isolation between components that sit on the same substrate. The receiver performance can be degraded due to the DC offset. The DC offset can limit the dynamic range of the front-end receiver, especially the Analog to Digital Converter (ADC). This is more critical in Wi-Fi systems employing Orthogonal Frequency Division Modulation (OFDM) for modulation which has a high Peak to Average Power Ratio (PAPR). The system can maximize the utilization of the front-end dynamic range including the power amplifiers and the ADC when the received signal is centered around zero DC. In a conventional receiver, the DC offset can be reduced by calibrating the radio front-end, however, this radio front-end calibration is usually insufficient to completely remove the DC offset. In practice, there will be a remaining DC offset left in the system after calibration, and this remaining DC offset is called a residual DC component. A High Pass Filter (HPF) is typically employed to filter the received wireless signal to remove the residual DC component.
The residual DC component impact on the performance of a Wi-Fi OFDM system becomes more severe if there is a frequency offset in either ends of the system, and the DC impact becomes more noticeable as the magnitude of the frequency offset increases. The frequency offset results from a drift in the crystal oscillator clock frequency in the transmitter side and/or the receiver side. For example, at a high/low temperature, the Phase Lock Loop (PLL) frequency change introduces a frequency offset of up to + or −20 parts per million (ppm). The quality of the received Wi-Fi signal degrades if this frequency offset is not corrected in time. The performance degrades significantly especially when the Wi-Fi signal is modulated using a high Modulation Coding Scheme (MCS). In low modulation coding schemes where more redundancy codes are used for error correction or employing modulation types that are less susceptible to noise, the performance is less impacted by the frequency offset, however, in high modulation coding schemes that have low coding redundancy rates or employing modulation types that are more susceptible to noise, the performance degradation due to the frequency drift is much severe.
A frequency offset can be corrected by digitally estimating a phase drift that results from the frequency offset, and then compensating the phase drift on digital time domain samples. The effect of having a frequency offset on a received signal is like shifting the entire spectrum of the received signal in a frequency domain according to the frequency offset. This frequency shift moves the received signal away from the pre-configured LO frequency, which means that the residual DC component of the signal is not residing on the zero frequency. The residual DC component is now located at a frequency, F_offset, which is equal to the frequency offset of the system. This is a problem because the residual DC component is now a tone or a narrow band interference that is located within the desired frequency bandwidth.
The sub-carriers of an IEEE 802.11ah system are very close to each other, where the spacing between sub-carriers in the IEEE 802.11ah system is one-tenth of that of a legacy Wi-Fi system (e.g. 802.11ac). This makes the IEEE 802.11ah system more vulnerable to Inter-Carrier Interference (ICI) due to frequency offsets as even a minor frequency drift can cause interference between sub-carriers. If a DC tone, due to frequency shift, falls exactly on a sub-carrier frequency, then it will only impact that particular sub-carrier, however, if the DC tone falls anywhere between sub-carriers, its impact will extend to influence more sub-carriers, which is usually the case in real systems.
The following summary presents technical features relating to one or more aspects disclosed herein and should not be considered as an extensive overview relating to all contemplated aspects, nor should the following summary be considered to identify key or critical elements relating to all contemplated aspects or to delineate the scope associated with any aspect. Accordingly, the following summary has the sole purpose to present certain concepts relating to one or more aspects relating to the algorithms disclosed herein in a simplified form to precede the detailed description presented below.
Disclosed are methods and wireless communication devices for processing wireless signals with adaptive frequency shift correction. According to at least one illustrative example, a method of adaptive frequency shift correction through Phase Lock Loop (PLL) frequency compensation is provided. Some embodiments of the method include receiving a current frame carried in a wireless signal by a receiver, performing packet detection to detect at least a portion of a preamble part of the current frame according to a default frequency output from a PLL, estimating a frequency offset between the default frequency and a frequency used to carry information in the preamble part of the current frame, reconfiguring the PLL according to the frequency offset to output a compensated frequency, and processing a packet part of the current frame using the compensated frequency output from the PLL. The portion of the preamble part includes a periodic structure for packet detection and frequency acquisition. An example of the default frequency output from a PLL is a default Local Oscillator (LO) frequency.
Some embodiments of packet detection include correlating samples of the wireless signal with one or more correlators based on the default frequency output from the PLL and detecting the portion of the preamble part depending on power levels of correlation outputs. In some embodiments, the step of processing a packet part includes demodulating the packet part based on the compensated frequency output from the PLL after packet detection.
In an aspect of the method, the adaptive frequency shift correction is achieved by a packet based PLL frequency compensation method, which includes resetting the PLL to the default frequency after completely processing the current frame. The method further receives and performs packet detection on at least a portion of a preamble part of a subsequent frame according to the default frequency and reconfigures the PLL to output a new compensated frequency for processing a packet part of the subsequent frame. That is, the packet based PLL frequency compensation method can promptly corrects a frequency offset for each received frame by deriving a PLL compensated frequency from the frequency offset measured in one part of a received frame and processing another part of the received frame using the PLL compensated frequency.
In an aspect of the method, the step of estimating a frequency offset includes detecting a phase drift of the current frame in radians and converting the phase drift in radians to the frequency offset in Hertz. Some embodiments of reconfiguring the PLL to output the compensated frequency include increasing or decreasing the default frequency by the frequency offset. The PLL is reconfigured to output the compensated frequency during processing the preamble part of the current frame before processing the packet part of the current frame.
In some embodiments, the method further includes applying a High Pass Filter (HPF) to filter the wireless signal carrying the current frame to remove a residual DC component of the wireless signal after reconfiguring the PLL to output the compensated frequency.
In some embodiments of the present invention, the current frame is a Wi-Fi frame, and the portion of the preamble part is a Short Training Field (STF). The preamble part further includes a Long Training Field (LTF). The STF of the current frame is detected using the default frequency output from the PLL according to some embodiments. In an aspect of the present invention, the method further includes performing Automatic Gain Control (AGC) before performing packet detection on the STF and LTF of the current frame, determining a settling time of reconfiguring the PLL according to the frequency offset, and performing packet detection on the LTF according to the compensated frequency output from the PLL after the settling time. The settling time is a time required for reacting PLL compensation from a radio domain to a digital domain. For example, the settling time is determined based on a filter delay time. In some embodiments of the present invention when AGC is applied for receiving the wireless signal, the LTF packet detection is delayed by a predetermine period to prevent packet detection on the LTF of the current frame before the settling time.
In an aspect of the present invention, a wireless communication device for processing wireless signals with adaptive frequency shift correction is provided. The wireless communication device includes a receiver having a PLL, a processor communicatively coupled with the receiver, and one or more memory banks communicatively coupled to the processor and storing process readable codes. The wireless communication device is configured for receiving a current frame carried in a wireless signal by the receiver, performing packet detection on at least a portion of a preamble part of the current frame according to a default frequency output from the PLL, estimating a frequency offset between the default frequency and a frequency used to carry information in the preamble part of the current frame, reconfiguring the PLL according to the frequency offset to output a compensated frequency, and processing a packet part of the current frame using the compensated frequency output from the PLL. The portion of the preamble part includes a periodic structure for packet detection and frequency acquisition, for example, the portion of the preamble part is a training field such as an STF.
Other objects and advantages associated with the aspects disclosed herein will be apparent to those skilled in the art based on the accompanying drawings and detailed description.
Illustrative aspects of the present application are described in detail below with reference to the following drawing figures:
Certain aspects and embodiments of this disclosure are provided below. Some of these embodiments may be applied independently and some of them may be applied in conjunction as would be apparent to those of skill in the art. In the following description, for the purposes of explanation, specific details are set forth in order to provide a thorough understanding of aspects of the application. However, it will be apparent that various embodiments may be practiced without these specific details. The figures and description are not intended to be restrictive. The following description of the embodiments will provide those skilled in the art with an enabling description for implementing an example aspect. It should be understood that changes may be made in the function and arrangement of elements without departing from the spirit and scope of the application as set forth in the claims.
The wireless communication device 100 includes a Radio Frequency (RF) transmitter module 102, an RF receiver module 104, an antenna unit 106, one or more memory banks 108, input and output interfaces 110, and a system bus 112. The RF transmitter module 102 and the RF receiver module 104 are also known as a modem (modulator-demodulator), which transmits data by modulating one or more carrier wave signals to encoded digital information, as well as receives data by demodulating the signal to recreate the original digital information. As illustrated, the wireless communication device 100 further includes a MAC processor 114, a PHY processor 116, and a HOST processor 118. These processors can be any type of Integrated Circuit (IC) including a general processing unit, an Application Specific Integrated Circuit (ASIC) or Reduced Instruction Set Computer-five (RISC-V) based ICs, amongst others.
Memory banks 108 store software and/or computer-readable instructions, including software (and/or computer-readable instructions) that can be used to implement at least some functions of the MAC layer. Memory bank 108 can include multiple different types of memory with different performance characteristics. Each processor included in the wireless communication device 100 (e.g., MAC processor 114, PHY processor 116, or HOST processor 118) executes respective software to implement the functions of the respective communication/application layer. Each processor can include a general-purpose processor and a hardware or software services configured to control the processor or a special-purpose processor where software instructions are incorporated into the processor design.
The PHY processor 116 includes a transmitting signal processing unit and a receiving signal processing unit (not shown) and is used to manage the interface with the Wireless Medium (WM). The PHY processor 116 operates on Physical layer Protocol Data Units (PPDUs) by exchanging digital samples with the radio module which includes the RF transmitter 102, the RF receiver 104, Analog-to-Digital Converters (ADCs), and digital filters. The MAC processor 114 executes MAC level instructions and manages the interface between the STA application software and the WM, through the PHY processor 116. The MAC processor 114 is responsible for coordinating access to the WM so that the AP and STAs in range can communicate effectively. The MAC processor 114 adds header and tail bytes to units of data provided by the higher levels in the STA and sends them to the PHY layer for transmission. The reverse happens when receiving data from the PHY layer. If a frame is received in error, the MAC processor 114 manages the retransmission of the frame. The HOST processor 118 interfaces with the MAC layer and is responsible for running higher level functionalities of the wireless communication device 100.
The peripheral bus 120 connects to several peripherals that support core functions of the wireless communication device 100, including timers, interrupts, radio/filters/system registers, counters, Universal Asynchronous Receiver Transmitter (UART), General Purpose Input/Output (GPIO) interfaces, among others. The memory bank 108 may further store an operating system and applications. In some embodiments, the memory stores recorded information about captured frames and packets. The input/output interfaces 110 allow for exchange of information with a user of the wireless communication device 100. The antenna unit 106 includes a single antenna and/or multiple antennas that can be used to implement Multiple Input Multiple Output (MIMO) techniques.
Once a packet is detected and the relevant subchannel is established, samples are forwarded to an upper-level PHY module 164. The upper-level PHY module 164 together with the lower-level PHY module 162 are included in the PHY processor 116 illustrated in
As previously described, a DC offset in a wireless signal typically caused by the LO leakage is defined as a mean magnitude of the wireless signal in a time domain. A residual DC component remained after calibrating the DC offset is undesirable and can be suppressed by applying a High Pass Filter (HPF).
Conventional receivers correct the frequency offset by estimating a digital phase drift of the received signal and compensating the digital phase drift on digital time domain samples.
Instead of shifting the received wireless signal to compensate for the frequency offset by digital phase correction, embodiments of the adaptive frequency shift correction methods or devices shift a Local Oscillator (LO) frequency of a Phase Lock Loop (PLL) in the receiver. This ensures that the DC component remains on the DC frequency (i.e. zero frequency).
Some embodiments of the adaptive frequency shift correction methods or devices perform PLL frequency compensation in every receiving frame. This method can be done on a per packet basis where a frequency offset is estimated for each packet and the estimated frequency offset is added to the PLL output frequency before completely processing the entire frame. This is feasible especially for communication systems employing wireless frames with a relatively long symbol duration. The receiver can reconfigure the PLL according to an estimated frequency offset for each receiving frame. Some other embodiments regularly or adaptively perform PLL frequency compensation at an interval or upon receiving every Nth frame, where N is a configurable integer.
In some embodiment, the PLL is reconfigured to output a compensated frequency according to an estimated frequency offset of a received frame, and this compensated frequency is used to process the packet part of the received frame. The PLL of an embodiment does not reset to a default frequency (e.g. F_LO as shown in
As shown in
Receivers typically have a limited dynamic signal amplitude range within which signals can be successfully received. High power incoming signals with an amplitude higher than the dynamic signal amplitude range can cause the RF receiving front-end to saturate, result in demodulation failure. Automatic Gain Control (AGC) uses a closed-loop feedback regulating circuit to adjust a front-end gain to ensure that the incoming signal is within the dynamic range of the receiver. The AGC circuit maintains a suitable signal amplitude within the dynamic range at its output, despite variation of the signal amplitude at the input. In the receiving data flow, when the AGC circuit is in operation for receiving high power signals, a signal is processed by the AGC circuit before packet detection. For example, the receiver processes the signal with AGC to control the signal strength before Short Training Field (STF) detection and Long Training Field (LTF) detection of a received frame. As a result of executing AGC before packet detection, PLL frequency compensation may be delayed to just before the start of processing the LTF in the received frame. After PLL frequency compensation is accomplished, there is a settling time for PLL configuration. The settling time depends on the digital filter delay time. During the settling time of PLL configuration, the receiver waits for new samples, after PLL compensation, from the radio domain to reach the digital domain before the receiver continues to process the LTF. The end of the settling time usually falls within the period of processing the STF, however, in some cases, the settling time falls partially within the period of processing the LTF. In an embodiment of the frequency shift correction method, LTF detection is delayed by a predetermined period to avoid packet detection for the LTF during the settling time. In some embodiments, the predetermined period is selected to be long enough to ensure LTF detection always happens after the settling time.
Embodiments of the adaptive frequency shift correction method or system described herein reconfigure a PLL to process at least a portion of a current frame using a compensated frequency derived from the current frame.
Although the invention is illustrated and described herein with reference to specific embodiments, the invention is not intended to be limited to the details shown. Rather, various modifications may be made in the details within the scope and range of equivalents of the claims and without departing from the invention. It is to be understood that the above description is illustrative of the invention and is not to be construed as limiting the invention. Various modifications, applications and/or combinations of the embodiments may occur to those skilled in the art without departing from the scope of the invention as defined by the claims. Well-known circuits, processes, algorithms, structures, and techniques may be shown without unnecessary detail to avoid obscuring the aspects.
Processes and methods according to the above-described examples can be implemented using computer-executable instructions that are stored or otherwise available from computer-readable media. Such instructions can include, for example, instructions and data which cause or otherwise configure a general-purpose computer, special purpose computer, or a processing device to perform a certain function or group of functions. Portions of computer resources used can be accessible over a network. The computer executable instructions may be, for example, binaries, intermediate format instructions such as assembly language, firmware, source code, etc. Devices implementing processes and methods according to these disclosures can include hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof, and can take any of a variety of form factors. When implemented in software, firmware, middleware, or microcode, the program code or code segments to perform the necessary tasks may be stored in a computer-readable or machine-readable medium. The computer-readable medium may comprise memory or data storage media, such as Random-Access Memory (RAM) such as Synchronous Dynamic Random-Access Memory (SDRAM), Read-Only Memory (ROM), Non-Volatile Random-Access Memory (NVRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), FLASH memory, magnetic or optical data storage media, and the like. The techniques additionally, or alternatively, may be realized at least in part by a computer-readable communication medium that carries or communicates program code in the form of instructions or data structures and that can be accessed, read, and/or executed by a computer, such as propagated signals or waves. The program code may be executed by a processor, which may include one or more processors, such as one or more Digital Signal Processors (DSPs), general purpose microprocessors, an Application Specific Integrated Circuits (ASICs), Field Programmable Logic Arrays (FPGAs), or other equivalent integrated or discrete logic circuitry. Such a processor may be configured to perform any of the steps described in this disclosure. A general-purpose processor may be a microprocessor; alternatively, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices.
To clearly illustrate the interchangeability of hardware and software, various illustrative components, blocks, modules, engines, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
Number | Date | Country | Kind |
---|---|---|---|
2022903996 | Dec 2022 | AU | national |