This application claims priority to and the benefit of Korean Patent Application No. 10-2011-0093117 filed in the Korean Intellectual Property Office on Sep. 15, 2011, the entire contents of which are incorporated herein by reference.
(a) Field of the Invention
The present invention relates to a method and apparatus for acquiring synchronization, and more particularly, to a method and apparatus for acquiring synchronization for signal reception in a local wireless communication system.
(b) Description of the Related Art
Orthogonal frequency division multiplexing (OFDM) is used in a wireless communication system because it makes efficient use of limited frequency resources and provides a high data transmission rate.
Because of this merit, OFDM is used as the core technology of wireless access systems, such as IEEE (Institute of Electrical and Electronics Engineers) 802.16 and LTE (Long Term Evolution). In OFDM, however, signals are simultaneously transmitted through a plurality of subcarriers. Thus, if a time or frequency synchronization error exists, inter-subcarrier interference as well as interference between adjacent signals exist, thereby significantly degrading performance. Such a synchronization error leads to significant degradation of the handoff performance of a terminal. For proper handoff support, strict time and frequency synchronizations are required even between base stations.
A short training symbol and a long training symbol are repeatedly included and transmitted in a preamble to achieve time and frequency synchronization. In this case, a method of detecting a boundary between a short training symbol interval and a long training symbol interval by performing cross correlation and peak detection are performed using the short training symbol or the long training symbol as a reference signal may be used.
Since such a method is a synchronization algorithm using an IEEE 802.11a preamble structure, there is a demand for a new synchronization algorithm which is to be applied to a new frame structure applied to an OFDM SUN system being standardized in IEEE802.15.3a.
The above information disclosed in this Background section is only for enhancement of understanding of the background of the invention, and therefore it may contain information that does not form the prior art that is already known in this country to a person of ordinary skill in the art.
The present invention has been made in an effort to provide a method and apparatus for efficiently acquiring synchronization according to a given frame structure in an OFDM-based local wireless communication system.
An exemplary embodiment of the present invention provides a method for acquiring synchronization, the method including: receiving and sampling a reception signal, the reception signal containing an STF (short training field) and data, the STF containing a first number of STF patterns and a second number of STF patterns, the second number of STF patterns having an opposite code to that of the first number of STF patterns; performing first frequency offset estimation on a plurality of STF patterns of the reception signal to acquire a phase error of each sample constituting the STF patterns, and correcting the frequency of the STF patterns based on the acquired phase error; performing second frequency offset estimation on a plurality of STF patterns output subsequent to the first frequency offset estimation and correction to acquire a phase error of each sample constituting the STF patterns, and correcting the frequency of the STF patterns based on the acquired phase error; and performing cross correlation on a predetermined number of STF patterns, among a plurality of STF patterns output subsequent to the second frequency offset estimation and correction, to detect frame timing.
The method may further include finding a position from which STF patterns output subsequent to the detection of the frame timing have an opposite code and detecting the position as a frame boundary.
The first frequency offset estimation and correction may include: calculating a metric value for frequency offset estimation by performing complex multiplication on a set number of STF pattern pairs at a first preset interval and adding the results together; calculating a phase error of each sample constituting the STF patterns by converting the calculated metric value into a phase value and then dividing the phase value by the first interval at which the complex multiplication has been performed; and correcting a frequency offset by calculating a first correction value based on the phase error of each sample and multiplying STF patterns output subsequent to the frequency offset estimation by the calculated first correction value.
The second frequency offset estimation and correction may include: calculating a metric value for frequency offset estimation by performing complex multiplication on a set number of STF patterns at a second preset interval and adding the results together; calculating a phase error of each sample constituting the STF patterns by converting the calculated metric value into a phase value and then dividing the phase value by the second interval at which the complex multiplication has been performed; and correcting a frequency offset by calculating a second correction value based on the phase error of each sample and multiplying STF patterns output subsequent to the frequency offset estimation by the calculated second correction value.
Another embodiment of the present invention provides an apparatus for acquiring synchronization, which acquires synchronization from a reception signal, the apparatus including: a packet detector that detects a packet based on a plurality of STF patterns, the reception signal containing an STF (short training field) and data, the STF containing a first number of STF patterns and a second number of STF patterns, the second number of STF patterns having an opposite code to that of the first number of STF patterns; a gain controller that measures power based on a plurality of STF patterns output subsequent to the packet detection and controls an amplification gain of the reception signal based on the measured power; a first processor that performs first frequency offset estimation on a plurality of STF patterns of the gain-controlled reception signal to acquire a phase error of each sample constituting the STF patterns, and corrects the frequency of the STF patterns based on the acquired phase error; a second processor that performs second frequency offset estimation on a plurality of STF patterns output subsequent to the first frequency offset estimation and correction to acquire a phase error of each sample constituting the STF patterns, and corrects the frequency of the STF patterns based on the acquired phase error; and a timing synchronization unit that performs cross correlation on a predetermined number of STF patterns, among a plurality of STF patterns output subsequent to the second frequency offset estimation and correction, to detect frame timing.
In the following detailed description, only certain exemplary embodiments of the present invention have been shown and described, simply by way of illustration. As those skilled in the art would realize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention. Accordingly, the drawings and description are to be regarded as illustrative in nature and not restrictive. Like reference numerals designate like elements throughout the specification.
Throughout the specification, unless explicitly described to the contrary, the word “comprise” and variations such as “comprises” or “comprising” will be understood to imply the inclusion of stated elements but not the exclusion of any other elements.
Hereinafter, a method and apparatus for acquiring synchronization in a wireless communication system according to an exemplary embodiment of the present invention will be described with reference to the accompanying drawings.
An exemplary embodiment of the present invention provides a method and apparatus for acquiring synchronization by using an STF (short training field) consisting of short training sequences in an orthogonal frequency division multiplexing (OFDM)-based wireless communication system.
The attached
When IFFT (inverse fast Fourier transform) is performed by multiplying STF values of the frequency domain exemplified in
Although the method and apparatus for acquiring synchronization to be described hereinafter operate based on STF, the present invention is not necessarily limited to the STF exemplified in
Although the method and apparatus for acquiring synchronization according to an exemplary embodiment of the present invention will be described as operating in an environment where a signal having the above-described STF is transmitted via a fading channel and an AWGN (additive white Gaussian noise) channel while having a frequency error, under the condition that a maximum frequency error of about 37,120 Hz is generated between a transmission device and a reception device, for example, at a 928 MHz band in a local wireless communication system having a tolerance of 20 ppm, the present invention is not limited thereto.
In the exemplary embodiment of the present invention, the transmission device transmits a packet containing an STF having the above-described structure in a plurality of subcarriers, and training sequences S are repeatedly transmitted through the STF. For example, a total of 40 patterns including training sequences are included, the length of each pattern may be 0.8 μs, and each pattern contains 32 data segments.
The reception device receives and processes such a signal. The received signal is sampled and output according to a sampling clock. As used herein, the reception signal is over-sampled two times and then output.
A synchronization acquisition apparatus of the reception device recognizes an STF contained in a sampled reception signal and detects the presence or absence of a packet to perform packet synchronization, and then performs timing synchronization by continuously comparing the reception signal and a reference signal by cross correlation.
Specifically, the synchronization acquisition apparatus detects a frame, i.e., a packet, from the sampled reception signal. Sequences of the STF are used to detect a packet. As used herein, a plurality of “s” patterns as shown in the following Equation 1, rather than one sequence “s” pattern, are used in consideration of a significantly large frequency offset.
Herein, CC[m] denotes a metric value (also referred to as “first metric value”) for detecting a packet in an m-th frame, n denotes the index number of a sequence “s” of the STF, and k denotes the index number of a sample in a sequence “s”. Accordingly, STF*[k] denotes the value of a k-th sample of an n-th sequence “s”. Rx_in denotes a reception signal.
If the metric value CC[m] calculated according to Equation 1 is equal to or more than a set detection value, it is determined that a packet is detected. If the metric value CC[m] is less than the set value, it is determined that no packet is detected.
In the above-described packet detection process according to Equation 1, the value of n can be changed without accumulating the index numbers n from 0 to 3 in Equation 1. In this case, in
Once a packet is detected, auto gain control (AGC) is performed. The power of a reception signal, which is measured during auto gain control, and a preset power value are compared, and an amplification gain of a received analog frame signal is controlled according to a difference between the two powers. In such an auto gain control process, a preset power value is optionally changeable for VGA (variable gain control), and such a preset power value is variable based on power measurement.
Auto gain control according to an exemplary embodiment of the present invention is repeatedly performed, and
Referring to the attached
As exemplified in
After gain control of a reception signal is performed, frequency offset estimation process is performed. A frequency offset estimation (FOE) process according to an exemplary embodiment of the present invention includes first frequency offset estimation (FOE—1) and second frequency offset estimation (FOE—2).
A frequency offset may be generated between a signal transmitted from the transmission device and a signal transmitted from the reception device. For example, the frequency offset is about 37,120 Hz at a 928 MHz band. To prevent an integer level frequency offset, an operation of estimating the generated frequency offset and correcting the frequency of the reception signal based on an estimation result is performed.
A reception signal from which a packet is detected has an interval of 32 samples. The reception signal having an interval of 32 samples can be indicated by R[k] (n is the index number of a sequence S, which is an STF pattern, and k is the index number of a sample in a predetermined pattern of an STF).
Frequency estimation is performed using the reception signal having such a repetition characteristic. In general, provided that a subcarrier frequency offset exists, OFDM symbols with conjugate complex symmetry form sample pairs as predetermined numbers of symbols, starting from a reference symbol for conjugate complex symmetry, and are positioned at equal time intervals. As a sample pair of OFDM symbols with conjugate complex symmetry becomes more distant from the reference symbol with conjugate complex symmetry, the phase rotation angle represented by the product of the two samples linearly increases.
In the exemplary embodiment of the present invention, complex multiplication is performed on 8 STF pattern pairs at an interval of 1 sequence, i.e., 1 STF pattern, of an STF, and the results are added together to calculate a metric value for frequency offset estimation. Such a metric value (also referred to as a second metric value) for frequency offset estimation can be calculated by a formula such as Equation 2.
The second metric value for frequency offset estimation, calculated according to Equation 2, is converted into a phase value, and then divided by the interval at which the complex multiplication has been performed, thereby calculating a phase offset per sample. Once the second metric value is converted into a phase value, the following phase value (theta) is acquired.
Herein, * denotes the complex conjugate of a complex number.
The phase value (theta) calculated according to Equation 3 is divided by the interval at which complex multiplication has been performed, i.e., by 32, which is the number of samples, thereby acquiring a phase error
of each sample.
A first frequency offset estimation process (FOE—1) is performed by the above procedure, and a first frequency offset correction (FOC) process is performed based on an estimated offset.
In the first frequency offset estimation (FOC—1) process, a frequency offset is corrected by multiplying each sequence of an STF by a first correction value
based on the phase error
per sample acquired according to the above first frequency offset estimation (FOE—1) process (k is an integer incrementing from 0). Since frequency offset estimation is performed based on 8 pairs of STF patterns, starting from an STF pattern in which a packet is detected, frequency offset correction is performed by multiplying STF patterns, starting from an (a+9)-th STF pattern, by the above correction value. Here, “a” denotes the index number of the first STF pattern in which the first frequency offset correction process is started.
Assuming that an output signal according to the first frequency offset correction (FOC—1) process is RF1[k], the second frequency offset correction (FOE—2) process is performed on a signal on which the first frequency offset correction is performed. The second frequency offset correction (FOE—2) is performed in the same way as the first frequency offset correction (FOE)1) process, except that complex multiplication is performed at an interval of (32×4) samples, and the results are added together, thereby calculating a third metric value for frequency offset estimation as in the following Equation 4.
The third metric value acquired according to Equation 4 is converted into a phase value as follows.
The phase value (theta), acquired according to the second frequency offset estimation (FOE—2) process, is divided by the interval at which complex multiplication has been performed, i.e., by (4×32), which is the number of samples, thereby calculating a phase error of
each sample.
The second frequency offset estimation (FOE—2) process is performed by the above procedure, and a second frequency offset correction (FOC—2) process is performed based on an estimated offset.
In the second frequency offset estimation (FOC—2) process, a frequency offset is corrected by multiplying each pattern of an STF by a second correction value
based on the phase error
per sample acquired according to the above second frequency offset estimation (FOE—2) process (k is an integer incrementing from 0). Herein, frequency offset correction is performed by multiplying STF patterns, starting from an (a+15)-th STF pattern, by the second correction value.
In the above-described first and second frequency offset estimation process (FOE—1 and FOE—2), frequency offset estimation is properly performed within a range in which an integer level frequency offset is not generated according to the signal to noise ratio (SNR) for each channel.
After the above-described frequency offset and correction processes are performed, timing synchronization and frame boundary detection processes are performed.
In the timing synchronization (TS) and frame boundary detection (FBD) processes according to an exemplary embodiment of the present invention, first of all, cross correlation is performed for timing synchronization, as shown in
Once frame synchronization is detected according to the timing synchronization process, and a frame boundary detection process RFD for detecting a boundary at which a frame is started is performed based on the detected frame synchronization timing, as shown in
To this end, a position from which a predetermined number of STF patterns have a reverse code is found. An STF according to an exemplary embodiment of the present invention includes a total of 40 STF patterns, as shown in
Next, a reception device that operates according to the above-described method for acquiring reception synchronization will be described.
As shown in
Here, the packet detector 13, the gain controller 14, the first frequency offset estimator 15, the first offset corrector 16, the second frequency offset estimator 17, the second offset corrector 18, the timing synchronization unit 19, and the frame boundary detector 20 may be collectively referred to as a “synchronization acquisition apparatus”. Also, the first frequency offset estimator 15 and the first offset corrector 16 may be collectively referred to as a “first processor”, and the second frequency offset estimator 17 and the second offset corrector 18 may be collectively referred to as a “second processor”.
As shown in
A signal having such an STF is received and processed by the RF reception device 11 via an antenna, and the sampler 12 samples and outputs the received signal (S100). Here, the sampler 12 over-samples the reception signal two times and then outputs it.
The packet detector 13 recognizes the STF contained in the sampled reception signal and detects the presence or absence of a packet (S110 and S120). Specifically, a first metric value for packet detection is calculated according to Equation 1 by using a plurality of STF patterns. If the calculated first metric value is equal to or more than a set detection value, it is determined that a packet has been detected. If the calculated first metric value is less than the set detection value, it is determined that no packet has been detected.
For a plurality of STF patterns output subsequent to the packet detection, the gain controller 14 repeatedly performs an operation of measuring the power of each signal, comparing it with a set power value, controlling the gain of an amplifier (not shown) of the RF receiver 11 according to the difference between the two power values, and controlling an amplification gain of a received analog frame signal (S130).
After the gain control of the reception signal is performed, the first frequency offset estimator 15 calculates a second metric value for frequency offset estimation by performing complex multiplication on a predetermined number (e.g. 8) of STF pattern pairs at a first interval (e.g., interval of 1 STF pattern, which is equal to 32), for a plurality of STF patterns output subsequent to the gain control, and adding the results together. Then, the second metric value is converted into a phase value, and divided by the first interval at which the complex multiplication has been performed, thereby calculating a phase error of each sample (S140).
The first offset corrector 16 calculates a first correction value based on the phase error per sample estimated by the first frequency offset estimator 15, and STF patterns output after the frequency offset estimation are multiplied by the calculated first correction value, thereby correcting a frequency offset (S150).
Next, the second frequency offset estimator 17 performs frequency offset estimation on signals output subsequent to the frequency offset estimation by the first offset corrector 16. Concretely, complex multiplication is performed on the STF patterns at a second interval (e.g., interval of (32×4) samples), and the results are added together, thereby calculating a third metric value for frequency offset estimation. Then, the third metric value is converted into a phase value, and then divided by the second interval at which the complex multiplication has been performed, thereby calculating a phase error of each sample (S160).
The second offset corrector 18 calculates a second correction value based on the phase error per sample estimated by the second frequency offset estimator 17, and STF patterns output after the frequency offset estimation by the second frequency offset estimator 17 are multiplied by the calculated second correction value, thereby correcting a frequency offset (S170).
After frequency offset estimation and correction are performed by the first and second frequency offset estimators 15 and 17 and the first and second offset correctors 16 and 18, the timing synchronization unit 19 performs cross correlation on a predetermined number of STF patterns in an output signal. The timing at which a value obtained by cross correlation becomes the highest is detected as frame timing (S180).
Upon detection of frame timing, the frame boundary detector 20 detects a boundary at which a frame is started, based on the detected frame timing (S190). That is, a position from which STF patterns output subsequent to the detection of the frame timing have a reverse code is found. In other words, a position from which the second number of STF patterns having an opposite code to that of the first number of STF patterns is started is found. The thus-detected position is used as a frame boundary.
The reception device 1 is able to acquire subsequent data based on the frame boundary detected through this procedure.
According to an exemplary embodiment of the present invention, synchronization can be acquired easily and efficiently from a reception signal having a frame structure including an STF (short training field) consisting of repeated patterns in a local wireless communication system.
Embodiments of the present invention are not only realized by the method and device, but are also realized by a program for realizing the functions corresponding to the configuration of embodiments of the present invention or a recording medium for recording the program, which can be easily realized by a person skilled in the art.
While embodiments of this invention has been described, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
10-2011-0093117 | Sep 2011 | KR | national |