Summary of the invention
The method, device and the terminal that provide a kind of LTE master sync signal to detect are provided main purpose of the present invention, under different initial frequency deviation, improve the power that is detected as of master sync signal.
In order to achieve the above object, the present invention proposes a kind of method that LTE master sync signal detects, and comprising:
Frequency deviation range is divided into a plurality of branches, the corresponding frequency offseting value of each branch, and each frequency offseting value is appended on the time domain data of input by engagement arithmetic;
To adding the time domain data of overfrequency deviant, carry out sampled point separation, and respectively with three kinds of local characteristic sequences of the time domain data after sampled point separation are carried out to time domain and slide relevant;
Correlated results is carried out to performance number calculating, get the large person's output of discrete sampling point performance number, obtain multichannel frequency deviation branch data;
Obtain the maximum in multichannel frequency deviation branch data correlation peak, local characteristic sequence corresponding to this maximum is the master sync signal of current area.
Preferably, described frequency deviation range is divided into a plurality of branches, the corresponding frequency offseting value of each branch, and the step each frequency offseting value being appended to by engagement arithmetic on the time domain data of input comprises:
According to current environment, frequency deviation range is divided into a plurality of branches;
Determine the frequency offseting value that each branch is corresponding;
According to frequency offseting value corresponding to described each branch and the sample rate of data, calculate the required angle value of described engagement arithmetic;
Utilize described engagement arithmetic that each frequency offseting value is appended on the time domain data of input, obtain multichannel time domain data.
Preferably, described engagement arithmetic at least comprises that cordic algorithm or rotation search algorithm.
Preferably, describedly correlated results is carried out to performance number calculate and to comprise the performance number of every antenna of receiver is added up.
Preferably, the integral multiple that the sample rate before sampled point separation is 960K, at least comprises a kind of in 1.92M or 3.84M.
Preferably, described sampled point separation comprises that odd even sampling point is separated.
The present invention also proposes the device that a kind of LTE master sync signal detects, and comprising:
Computing module, for frequency deviation range being divided into a plurality of branches, the corresponding frequency offseting value of each branch, and each frequency offseting value is appended on the time domain data of input by engagement arithmetic;
Matched filtering module, for carrying out sampled point separation to adding the time domain data of overfrequency deviant, and carries out time domain by respectively with three kinds of local characteristic sequences of the time domain data after sampled point separation and slides relevant;
Performance number is calculated and is selected module, for correlated results is carried out to performance number calculating, gets the large person's output of discrete sampling point performance number, obtains multichannel frequency deviation branch data;
Peak value searching module, for obtaining the maximum of multichannel frequency deviation branch data correlation peak, local characteristic sequence corresponding to this maximum is the master sync signal of current area.
Preferably, described computing module comprises:
Frequency deviation branch division unit, for being divided into a plurality of branches according to current environment by frequency deviation range;
Frequency offseting value determining unit, for determining frequency offseting value corresponding to each branch;
Angle value computing unit, for according to frequency offseting value corresponding to described each branch and the sample rate of data, calculates the required angle value of described engagement arithmetic;
Extra cell, for utilizing described engagement arithmetic each frequency offseting value to be appended to the time domain data of input, obtains multichannel time domain data.
Preferably, the integral multiple that the sample rate before sampled point separation is 960K, at least comprises a kind of in 1.92M or 3.84M.
Preferably, described sampled point separation at least comprises that odd even sampling point is separated.
The present invention also proposes the terminal that a kind of LTE master sync signal detects, and described terminal comprises device as above.
Method, device and terminal that a kind of LTE master sync signal that the present invention proposes detects, under different initial frequency deviation, improved greatly the success rate of the detection of master sync signal position, expanded the scope that detects frequency deviation, simultaneously at IC (Integrated Circuit, integrated circuit) when hardware designs, reduce greatly system resource, realize very convenient.Particularly, there is following beneficial effect compared to existing technology in it:
1, local characteristic sequence and frequency plot skew binding are not multiplied each other, but the time domain data of input is carried out to phase rotating, can realize configurable frequency shift (FS) like this, hardware flexibility is strong;
2, reception signal and frequency deviation branched sequence are not slided relevantly, but it is relevant that the reception signal after phase rotating and this landlord synchronizing sequence are slided, and can realize the multiplexing of matched filter, saving resource like this;
3, under the data of over-sampling, carry out Samples selecting, greatly improve the precision that main synchronizing sequence peak value detects, and do not increase storage RAM;
4, adopt CORDIC or rotation to search algorithm frequency shift (FS) to received signal, resource consumption is little, and configurability is strong.
Embodiment
The core of the embodiment of the present invention is, do not having under the prerequisite of prior information, avoid large frequency deviation synchronization accuracy and master sync signal to be detected to the impact of performance, the data of input are carried out to the interpolation of frequency deviation, relevant by the input signal of additional frequency offset and local characteristic sequence are slided, realize the calculating of master sync signal position and the initial estimation of frequency deviation.
The TDD LTE system of take is below example, with execution mode, technical solution of the present invention is described in detail by reference to the accompanying drawings.
As shown in Figure 1, it is the frame format of TDD LTE, and the 1st, 6 subframes are for special subframe.The transmission cycle of master sync signal is 5ms, and the content that 2 of front and back field sends is identical.According to existing standard agreement, PSCH adopts Zadoff-Chu (ZC) sequence, and its expression formula is:
Wherein u has comprised the information of ID in group, and this ZC sequence all has extraordinary correlation in time domain and frequency domain.The embodiment of the present invention is utilized the relativity of time domain of ZC sequence just.
As shown in Figure 2, one embodiment of the invention proposes a kind of method that LTE master sync signal detects, and comprising:
Step S101, is divided into a plurality of branches by frequency deviation range, the corresponding frequency offseting value of each branch, and each frequency offseting value is appended on the time domain data of input by engagement arithmetic;
Wherein engagement arithmetic can be searched algorithm etc. for cordic algorithm or rotation, compare rotation and search algorithm, cordic algorithm has better operational precision, so the preferred cordic algorithm of the present embodiment, and specifically take in the following embodiments cordic algorithm and describe as example.
The division of the present embodiment frequency offset scope (hereinafter to be referred as frequency deviation) branch is determined according to current environment.Because LTE system subcarrier is spaced apart 15KHz, therefore branch can be divided into-15KHz~-9KHz ,-9KHz~-3KHz ,-3KHz~+ 3KHz ,+3KHz~+ 9KHz and+9KHz~+ 12KHz 5 branches altogether.Frequency offseting value Δ f corresponding to these 5 branches be-12KHz ,-6KHz, 0KHz ,+6KHz ,+12KHz.Then according to the frequency offseting value of every and the sample rate of data, calculate the angle value of each CORDIC iteration.
The angle initial value of concrete CORDIC iteration generates as shown in Figure 3.
The present embodiment utilizes cordic algorithm, and 5 kinds of frequency offseting values are added on the time domain data of input.The precision that initial frequency deviation is estimated is like this ± 3KHz.After the iteration of CORDIC, output 5 road time domain datas.
Wherein, in order to reduce complexity and the amount of calculation of calculating, the time domain data of input can adopt the sample rate of 1.92M, and the sampling number of each symbol is 128 like this.
Because the angle value of each frequency offset of CORDIC iteration in the present embodiment is configurable, therefore, can carry out repeatedly CORDIC iteration, realize the further estimation of frequency deviation.Be divided into-2.5KHz of Ru Jiang branch~-1.5KHz ,-1.5KHz~-0.5KHz ,-0.5KHz~+ 0.5KHz ,+5KHz~+ 1.5KHz and+1.5KHz~+ 2.5KHz, frequency offseting value Δ f corresponding to each branch is-2KHz ,-1KHz, 0KHz ,+1KHz ,+2KHz like this.Now, initial frequency deviation estimated accuracy is ± 0.5KHz.
Step S102, carries out sampled point separation to adding the time domain data of overfrequency deviant, and respectively with three kinds of local characteristic sequences of the time domain data after sampled point separation is carried out to time domain and slide relevant;
Wherein, sample rate before sampled point separation is the integral multiple of 960K, sampled point separation can adopt odd even point separation or four/some separation etc., which kind of separation of concrete employing becomes corresponding relation with aforementioned employing rate, if employing rate is 1.92M, be that base is even separated, if employing rate is 3.84M, be four/some separation, the present embodiment is separated into example with odd even and describes.
By the time domain data of the different frequency deviations of 5 road 1.92M after CORDIC iteration, carry out the separation of odd even point, be equivalent to 2 times of down-sampling processes.Can obtain like this 10 road time domain datas (* 5 kinds of frequency deviations of 2 kinds of down-sampling points).After down-sampling, utilize 3 local characteristic sequences (ID in corresponding three kinds of groups respectively) respectively with 10 circuit-switched data to slide relevant.After down-sampling, the data rate of time domain data is 960K, and therefore now the sampling number of each symbol is 64, and the sampling number of every 5ms is 4800.Therefore, the relevant process of sliding can realize with 64 rank matched filters of time domain.
The expression formula of the matched filter of time domain is:
Wherein X (k) is the time domain data of input, P
*(n-k) be the conjugation of local characteristic sequence.The structure of concrete matched filter as shown in Figure 4.
Wherein, the production method of local characteristic sequence is: in LTE system, the main synchronous characteristic sequence that has three local frequency domains, after the main synchronous characteristic sequence of this frequency domain of three 62 is mended to 0, carry out 64 IFFT operations, can obtain the main synchronizing sequence P (K) of three time domains, the main synchronizing sequence P (K) of these three time domains is three local characteristic sequences described in the present embodiment.
Can obtain altogether thus three local characteristic sequence * 10 IQ=30 road, road branch datas, every road branch data is 4800.
In the present embodiment, local characteristic sequence and frequency shift (FS) are not multiplied each other, but input time domain data and frequency offseting value are multiplied each other, so just can realize the time domain of multiple frequency deviation by multiplexing three matched filters (respectively corresponding three kinds of master sync signals) relevant.When IC designs, saved great resource.
Step S103, carries out performance number calculating to correlated results, gets the large person's output of discrete sampling point performance number, obtains multichannel frequency deviation branch data;
The time domain correlated results of Dui Mei road matched filter output carries out power calculation, when receiver adopts double antenna to receive, need to add up to the performance number of double antenna.Owing to having carried out the down-sampling of time domain data in CORDIC iteration, therefore, need to select the wherein large person's output of performance number at singular point and the pair-point of down-sampling.The selection of odd even sampling point can improve the success rate that master sync signal detects.Therefore, above-mentioned correlated results Zhong30 road branch data becomes 15 road branch datas, corresponding to 5 kinds of frequency deviations of 3 local characteristic sequence *.
Samples selecting in this step, can, in the situation that not increasing RAM, improve the precision of master sync signal when realizing over-sampling rate.
In order to improve the success rate of detection, can adopt the correlated results of a plurality of fields is added up smoothly, take at 4800 as the cycle, the correlation of corresponding position is added up.
Step S104, obtains the maximum in multichannel frequency deviation branch data correlation peak, and master sync signal corresponding to this maximum is the master sync signal of current area.
Get the maximum in a plurality of frequency deviation branch, the master sync signal using local characteristic sequence corresponding to this maximum as current area, meanwhile, frequency deviation corresponding to this frequency deviation branch is the frequency offseting value of initial estimation.
The principle that in the present embodiment, master sync signal detects as shown in Figure 5.
As shown in Figure 6, step S101 comprises:
Step S1011, is divided into a plurality of branches according to current environment by frequency deviation range;
Step S1012, determines the frequency offseting value that each branch is corresponding;
Step S1013, according to the sample rate of frequency offseting value corresponding to each branch and data, calculates the required angle value of engagement arithmetic;
For cordic algorithm, according to the sample rate of frequency offseting value corresponding to each branch and data, can calculate the angle value of the each iteration of CORDIC.
Step S1014, utilizes engagement arithmetic that each frequency offseting value is appended on the time domain data of input, obtains multichannel time domain data.
As shown in Figure 7, one embodiment of the invention proposes the device that a kind of LTE master sync signal detects, and comprising: computing module 701, matched filtering module 702, performance number are calculated and selected module 703 and peak value searching module 704, wherein:
Computing module 701, for frequency deviation range being divided into a plurality of branches, the corresponding frequency offseting value of each branch, and each frequency offseting value is appended on the time domain data of input by engagement arithmetic;
Matched filtering module 702, for carrying out sampled point separation to adding the time domain data of overfrequency deviant, and carries out time domain by respectively with three kinds of local characteristic sequences of the time domain data after sampled point separation and slides relevant;
Performance number is calculated and is selected module 703, for correlated results is carried out to performance number calculating, gets the large person's output of discrete sampling point performance number, obtains multichannel frequency deviation branch data;
Peak value searching module 704, for obtaining the maximum of multichannel frequency deviation branch data correlation peak, local characteristic sequence corresponding to this maximum is the master sync signal of current area.
In the present embodiment, engagement arithmetic can be searched algorithm etc. for cordic algorithm or rotation, compare rotation and search algorithm, cordic algorithm has better operational precision, so the preferred cordic algorithm of the present embodiment, and specifically take in the following embodiments cordic algorithm and describe as example.
The present embodiment basic principle is as follows:
Wherein the division of 701 pairs of frequency deviation range of computing module (hereinafter to be referred as frequency deviation) branch is determined according to current environment.Because LTE system subcarrier is spaced apart 15KHz, therefore branch can be divided into-15KHz~-9KHz ,-9KHz~-3KHz ,-3KHz~+ 3KHz ,+3KHz~+ 9KHz and+9KHz~+ 12KHz 5 branches altogether.Frequency offseting value Δ f corresponding to these 5 branches be-12KHz ,-6KHz, 0KHz ,+6KHz ,+12KHz.Then according to the frequency offseting value of every and the sample rate of data, calculate the angle value of each CORDIC iteration.
The angle initial value of concrete CORDIC iteration generates as shown in Figure 3.
The present embodiment utilizes cordic algorithm, and 5 kinds of frequency offseting values are added on the time domain data of input.The precision that initial frequency deviation is estimated is like this ± 3KHz.After the iteration of CORDIC, output 5 road time domain datas.
Wherein, in order to reduce complexity and the amount of calculation of calculating, the time domain data of input can adopt the sample rate of 1.92M, and the sampling number of each symbol is 128 like this.Sampled point separation can adopt odd even point separation or four/some separation etc., and the present embodiment is separated into example with odd even and describes.
Owing to inputting the angle value of each frequency offset of computing module 701 in the present embodiment, be configurable, therefore, can repeatedly dispatch this computing module, realize the further estimation of frequency deviation.Be divided into-2.5KHz of Ru Jiang branch~-1.5KHz ,-1.5KHz~-0.5KHz ,-0.5KHz~+ 0.5KHz ,+5KHz~+ 1.5KHz and+1.5KHz~+ 2.5KHz, frequency offseting value Δ f corresponding to every like this branch be-2KHz ,-1KHz, 0KHz ,+1KHz ,+2KHz.Now, initial frequency deviation estimated accuracy is ± 0.5KHz.
Matched filtering module 702, by the time domain data of the different frequency deviations of 5 road 1.92M of computing module 701 outputs, is carried out the separation of odd even point, is equivalent to 2 times of down-sampling processes.Can obtain like this 10 road time domain datas (* 5 kinds of frequency deviations of 2 kinds of down-sampling points).After down-sampling, utilize 3 local characteristic sequences (ID in corresponding three kinds of groups respectively) respectively with 10 circuit-switched data to slide relevant.After down-sampling, the data rate of time domain data is 960K, and therefore now the sampling number of each symbol is 64, and the sampling number of every 5ms is 4800.Therefore, the relevant process of sliding can realize with 64 rank matched filters of time domain.
The expression formula of the matched filter of time domain is:
Wherein X (k) is the time domain data of input, P
*(n-k) be the conjugation of local characteristic sequence.The structure of concrete matched filter as shown in Figure 4.
Wherein, the production method of local characteristic sequence is: in LTE system, the main synchronous characteristic sequence that has three local frequency domains, after the main synchronous characteristic sequence of this frequency domain of three 62 is mended to 0, carry out 64 IFFT operations, can obtain the main synchronizing sequence P (K) of three time domains, the main synchronizing sequence P (K) of these three time domains is three local characteristic sequences described in the present embodiment.
Can obtain altogether thus three local sequence * 10 IQ=30 road, road branch datas, every road branch data is 4800.
In the present embodiment, local characteristic sequence and frequency shift (FS) are not multiplied each other, but input time domain data and frequency offseting value are multiplied each other, so just can realize the time domain of multiple frequency deviation by multiplexing three matched filters (respectively corresponding three kinds of master sync signals) relevant.When IC designs, saved great resource.
Performance number is calculated and is selected the time domain correlated results of module 703Dui Mei road matched filter output to carry out power calculation, when receiver adopts double antenna to receive, need to add up to the performance number of double antenna.Owing to having carried out the down-sampling of time domain data in CORDIC iteration, therefore, need to select the wherein large person's output of performance number at singular point and the pair-point of down-sampling.The selection of odd even sampling point can improve the success rate that master sync signal detects.Therefore, above-mentioned correlated results Zhong30 road branch data becomes 15 road branch datas, corresponding to 5 kinds of frequency deviations of 3 local characteristic sequence *.
Samples selecting in this step, can, in the situation that not increasing RAM, improve the precision of master sync signal when realizing over-sampling rate.
In order to improve the success rate of detection, can adopt the correlated results of a plurality of fields is added up smoothly, take at 4800 as the cycle, the correlation of corresponding position is added up.
Peak value searching module 704 is got the maximum in a plurality of frequency deviation branch, the master sync signal using local characteristic sequence corresponding to this maximum as current area, and meanwhile, frequency deviation corresponding to this frequency deviation branch is the frequency offseting value of initial estimation.
The principle that in the present embodiment, master sync signal detects as shown in Figure 5.
As shown in Figure 8, computing module 701 comprises: frequency deviation branch division unit 7011, frequency offseting value determining unit 7012, angle value computing unit 7013 and extra cell 7014, wherein:
Frequency deviation branch division unit 7011, for being divided into a plurality of branches according to current environment by frequency deviation range;
Frequency offseting value determining unit 7012, for determining frequency offseting value corresponding to each branch;
Angle value computing unit 7013, for according to the sample rate of frequency offseting value corresponding to each branch and data, calculates the required angle value of engagement arithmetic;
Extra cell 7014, for utilizing engagement arithmetic each frequency offseting value to be appended to the time domain data of input, obtains multichannel time domain data.
As shown in Figure 9, one embodiment of the invention proposes the terminal that a kind of LTE master sync signal detects, and this terminal comprises device 901 as above.
Method, device and terminal that embodiment of the present invention LTE master sync signal detects, compared to existing technology, local characteristic sequence and frequency plot skew binding are not multiplied each other, but the time domain data of input is carried out to phase rotating, can realize configurable frequency shift (FS) like this, hardware flexibility is strong; Reception signal and described frequency deviation branched sequence are not slided relevant, but it is relevant that the reception signal after phase rotating and this landlord synchronizing sequence are slided, and can realize the multiplexing of matched filter, saving resource like this; Under the data of over-sampling, carry out Samples selecting, greatly improve the precision that main synchronizing sequence peak value detects, and do not increase storage RAM; Adopt with engagement arithmetic such as the frequency shift (FS) to received signal such as cordic algorithm, resource consumption is little, and configurability is strong.
The foregoing is only the preferred embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or flow process conversion that utilizes specification of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical field, be all in like manner included in scope of patent protection of the present invention.