Summary of the invention
Main purpose of the present invention is to provide a kind of method, device and terminal of LTE master sync signal detection, under different initial frequency deviation, improves the power that is detected as of master sync signal.
In order to achieve the above object, the present invention proposes the method that a kind of 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 append to each frequency offseting value on the time domain data of input by engagement arithmetic;
The time domain data that adds the overfrequency deviant is carried out sampled point separate, and the time domain data after the sampled point separation is carried out time domain with three kinds of local characteristic sequences respectively slide relevant;
Correlated results is carried out performance number calculate, get the big person's output of discrete sampling point performance number, obtain multichannel frequency deviation branch data;
Obtain the maximum in the multichannel frequency deviation branch data correlation peak, the local characteristic sequence of this maximum correspondence 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 that each frequency offseting value is 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 of each branch's correspondence;
According to the frequency offseting value of described each branch's correspondence 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 the multichannel time domain data.
Preferably, described engagement arithmetic comprises that at least cordic algorithm or rotation search algorithm.
Preferably, describedly correlated results is carried out performance number calculate the performance number comprise every antenna of receiver and add up.
Preferably, the sample rate before sampled point separates is the integral multiple of 960K, comprises a kind of among 1.92M or the 3.84M at least.
Preferably, described sampled point separates and comprises that the odd even sampling point separates.
The present invention also proposes the device that a kind of LTE master sync signal detects, and comprising:
Computing module is used for frequency deviation range is divided into a plurality of branches, the corresponding frequency offseting value of each branch, and append to each frequency offseting value on the time domain data of input by engagement arithmetic;
The matched filtering module is used for that the time domain data that adds the overfrequency deviant is carried out sampled point and separates, and the time domain data after the sampled point separation carried out time domain with three kinds of local characteristic sequences respectively slide relevant;
Performance number is calculated and is selected module, is used for that correlated results is carried out performance number and calculates, and gets the big person's output of discrete sampling point performance number, obtains multichannel frequency deviation branch data;
The peak value searching module is used for obtaining the maximum of multichannel frequency deviation branch data correlation peak, and the local characteristic sequence of this maximum correspondence is the master sync signal of current area.
Preferably, described computing module comprises:
Frequency deviation branch division unit is used for according to current environment frequency deviation range being divided into a plurality of branches;
The frequency offseting value determining unit is used for determining the frequency offseting value of each branch's correspondence;
The angle value computing unit is used for calculating the required angle value of described engagement arithmetic according to the frequency offseting value of described each branch's correspondence and the sample rate of data;
Extra cell is used to utilize described engagement arithmetic that each frequency offseting value is appended to the time domain data of input, obtains the multichannel time domain data.
Preferably, the sample rate before sampled point separates is the integral multiple of 960K, comprises a kind of among 1.92M or the 3.84M at least.
Preferably, described sampled point separates and comprises that at least the odd even sampling point separates.
The present invention also proposes the terminal that a kind of LTE master sync signal detects, and described terminal comprises aforesaid device.
Method, device and terminal that a kind of LTE master sync signal that the present invention proposes detects, under different initial frequency deviation, improved the success rate of the detection of master sync signal position greatly, enlarged the scope that detects frequency deviation, simultaneously at IC (Integrated Circuit, integrated circuit) hardware designs the time, reduces system resource greatly, realize very convenient.Particularly, there is following beneficial effect in it compared to existing technology:
1, local characteristic sequence and frequency plot skew binding are not multiplied each other, but the time domain data of input is carried out the phase place rotation, can realize configurable frequency shift (FS) like this, hardware flexibility is strong;
2, received signal and frequency deviation branched sequence are not slided relevantly, but it is relevant that the postrotational received signal of phase place and this landlord synchronizing sequence are slided, and can realize the multiplexing of matched filter like this, saves resource;
3, under the data of over-sampling, carry out sampled point and select, 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 invention is, do not having under the prerequisite of prior information, avoid big frequency deviation that synchronization accuracy and master sync signal are detected Effect on Performance, the data of input are carried out 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.
Be example with TDD LTE system below, with execution mode technical solution of the present invention be described in detail in conjunction with the accompanying drawings.
As shown in Figure 1, it is the frame format of TDD LTE, and the 1st, 6 subframes are used for special subframe.The transmission cycle of master sync signal is 5ms, and the content that 2 fields in front and back send is identical.According to the existing standard agreement, PSCH adopts Zadoff-Chu (ZC) sequence, and its expression formula is:
Wherein u has comprised the information of ID in the group, and this ZC sequence all has extraordinary correlation in time domain and frequency domain.The embodiment of the invention is utilized the relativity of time domain of ZC sequence just.
As shown in Figure 2, one embodiment of the invention proposes the method that a kind of LTE master sync signal detects, and comprising:
Step S101 is divided into a plurality of branches with frequency deviation range, the corresponding frequency offseting value of each branch, and append to each frequency offseting value 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 present embodiment, and specifically is that example describes in the following embodiments with the cordic algorithm.
The division of present embodiment medium frequency deviation range (hereinafter to be referred as frequency deviation) branch is determined according to current environment.Because the 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.The frequency offseting value Δ f of these 5 branch's correspondences is-12KHz ,-6KHz, 0KHz ,+6KHz ,+12KHz.Then, calculate the angle value of each CORDIC iteration according to every the frequency offseting value and the sample rate of data.
The angle initial value of concrete CORDIC iteration generates as shown in Figure 3.
Present embodiment utilizes cordic algorithm, and 5 kinds of frequency offseting values are added on the time domain data of input.The precision of initial frequency deviation estimation is ± 3KHz like this.Through after the iteration of CORDIC, export 5 road time domain datas.
Wherein, for the complexity and the amount of calculation that reduce 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 is configurable in the present embodiment, therefore, can carry out repeatedly CORDIC iteration, realize the further estimation of frequency deviation.As branch is divided into-2.5KHz~-1.5KHz ,-1.5KHz~-0.5KHz ,-0.5KHz~+ 0.5KHz ,+5KHz~+ 1.5KHz and+1.5KHz~+ 2.5KHz, like this frequency offseting value Δ f of each branch's correspondence be-2KHz ,-1KHz, 0KHz ,+1KHz ,+2KHz.At this moment, the initial frequency deviation estimated accuracy is ± 0.5KHz.
Step S102 carries out sampled point to the time domain data that adds the overfrequency deviant and separates, and the time domain data after the sampled point separation is carried out time domain with three kinds of local characteristic sequences respectively slide relevant;
Wherein, sample rate before sampled point separates is the integral multiple of 960K, sampled point separates 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 the employing rate is 1.92M, then be that the base idol is separated, if the employing rate is 3.84M, then be four/some separation, present embodiment is separated into example with odd even and describes.
With the time domain data of the different frequency deviations of 5 road 1.92M after the CORDIC iteration, carry out odd even point and separate, be equivalent to 2 times of down-sampling processes.Can obtain 10 road time domain datas (5 kinds of frequency deviations of 2 kinds of down-sampling point *) like this.Behind the down-sampling, utilize 3 local characteristic sequences (ID in corresponding respectively three kinds of groups) to slide relevant with 10 circuit-switched data respectively.Because behind the down-sampling, the data rate of time domain data is 960K, therefore the sampling number of each symbol is 64 at this moment, and the sampling number of every 5ms is 4800.Therefore, the process that slip is relevant 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 the LTE system, the main synchronous characteristic sequence that the frequency domain of three this locality is arranged, after the main synchronous characteristic sequence benefit 0 with this frequency domain of three 62, 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 three local characteristic sequence * 10 road IQ=30 road branch datas thus altogether, every road branch data is 4800.
In the present embodiment, local characteristic sequence and frequency shift (FS) are not multiplied each other, but will import time domain data and frequency offseting value multiplies each other, so just can realize that the time domain of multiple frequency deviation is relevant by multiplexing three matched filters (respectively corresponding three kinds of master sync signals).When IC designs, saved great resource.
Step S103 carries out performance number to correlated results and calculates, and gets the big person's output of discrete sampling point performance number, obtains multichannel frequency deviation branch data;
Time domain correlated results to the output of every road matched filter carries out power calculation, when receiver adopts double antenna to receive, need the performance number of double antenna be added up.Owing in the CORDIC iteration, carried out the down-sampling of time domain data, therefore, need select the wherein big person's output of performance number at the 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, 30 road branch datas become 15 road branch datas in the above-mentioned correlated results, corresponding to 5 kinds of frequency deviations of 3 local characteristic sequence *.
Sampled point in this step is selected, and can improve the precision of master sync signal when realizing over-sampling rate under the situation that does not increase RAM.
In order to improve the success rate of detection, can adopt correlated results to add up smoothly to a plurality of fields, be the cycle promptly with 4800, the correlation of the position of correspondence is added up.
Step S104 obtains the maximum in the multichannel frequency deviation branch data correlation peak, and the master sync signal of this maximum correspondence is the master sync signal of current area.
Get the maximum in a plurality of frequency deviation branch, with the local characteristic sequence of this maximum correspondence master sync signal as current area, simultaneously, the frequency deviation of this frequency deviation branch correspondence is the frequency offseting value of initial estimation.
The principle that master sync signal detects in the present embodiment 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 with frequency deviation range;
Step S1012 determines the frequency offseting value of each branch's correspondence;
Step S1013 according to the frequency offseting value of each branch's correspondence and the sample rate of data, calculates the required angle value of engagement arithmetic;
For cordic algorithm,, can calculate the angle value of the each iteration of CORDIC according to the frequency offseting value of each branch's correspondence and the sample rate of data.
Step S1014 utilizes engagement arithmetic that each frequency offseting value is appended on the time domain data of input, obtains the 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 are selected module 703 and peak value searching module 704, wherein:
Computing module 701 is used for frequency deviation range is divided into a plurality of branches, the corresponding frequency offseting value of each branch, and append to each frequency offseting value on the time domain data of input by engagement arithmetic;
Matched filtering module 702 is used for that the time domain data that adds the overfrequency deviant is carried out sampled point and separates, and the time domain data after the sampled point separation carried out time domain with three kinds of local characteristic sequences respectively slide relevant;
Performance number is calculated and is selected module 703, is used for that correlated results is carried out performance number and calculates, and gets the big person's output of discrete sampling point performance number, obtains multichannel frequency deviation branch data;
Peak value searching module 704 is used for obtaining the maximum of multichannel frequency deviation branch data correlation peak, and the local characteristic sequence of this maximum correspondence is the master sync signal of current area.
Engagement arithmetic can be searched algorithm etc. for cordic algorithm or rotation in the present embodiment, compare rotation and search algorithm, cordic algorithm has better operational precision, so the preferred cordic algorithm of present embodiment, and specifically is that example describes in the following embodiments with the cordic algorithm.
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 the 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.The frequency offseting value Δ f of these 5 branch's correspondences is-12KHz ,-6KHz, 0KHz ,+6KHz ,+12KHz.Then, calculate the angle value of each CORDIC iteration according to every the frequency offseting value and the sample rate of data.
The angle initial value of concrete CORDIC iteration generates as shown in Figure 3.
Present embodiment utilizes cordic algorithm, and 5 kinds of frequency offseting values are added on the time domain data of input.The precision of initial frequency deviation estimation is ± 3KHz like this.Through after the iteration of CORDIC, export 5 road time domain datas.
Wherein, for the complexity and the amount of calculation that reduce 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 separates can adopt odd even point separation or four/some separation etc., and present embodiment is separated into example with odd even and describes.
Because the angle value of each frequency offset of input computing module 701 is configurable in the present embodiment, therefore, can repeatedly dispatch this computing module, realizes the further estimation of frequency deviation.As branch is divided into-2.5KHz~-1.5KHz ,-1.5KHz~-0.5KHz ,-0.5KHz~+ 0.5KHz ,+5KHz~+ 1.5KHz and+1.5KHz~+ 2.5KHz, like this per minute prop up corresponding frequency offseting value Δ f for-2KHz ,-1KHz, 0KHz ,+1KHz ,+2KHz.At this moment, the initial frequency deviation estimated accuracy is ± 0.5KHz.
Matched filtering module 702 is carried out the time domain data of the different frequency deviations of 5 road 1.92M of computing module 701 outputs odd even point and is separated, and is equivalent to 2 times of down-sampling processes.Can obtain 10 road time domain datas (5 kinds of frequency deviations of 2 kinds of down-sampling point *) like this.Behind the down-sampling, utilize 3 local characteristic sequences (ID in corresponding respectively three kinds of groups) to slide relevant with 10 circuit-switched data respectively.Because behind the down-sampling, the data rate of time domain data is 960K, therefore the sampling number of each symbol is 64 at this moment, and the sampling number of every 5ms is 4800.Therefore, the process that slip is relevant 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 the LTE system, the main synchronous characteristic sequence that the frequency domain of three this locality is arranged, after the main synchronous characteristic sequence benefit 0 with this frequency domain of three 62, 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 three local sequence * 10 road IQ=30 road branch datas thus altogether, every road branch data is 4800.
In the present embodiment, local characteristic sequence and frequency shift (FS) are not multiplied each other, but will import time domain data and frequency offseting value multiplies each other, so just can realize that the time domain of multiple frequency deviation is relevant by multiplexing three matched filters (respectively corresponding three kinds of master sync signals).When IC designs, saved great resource.
Performance number is calculated and is selected the time domain correlated results of 703 pairs of every roads of module matched filter output to carry out power calculation, when receiver adopts double antenna to receive, need the performance number of double antenna be added up.Owing in the CORDIC iteration, carried out the down-sampling of time domain data, therefore, need select the wherein big person's output of performance number at the 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, 30 road branch datas become 15 road branch datas in the above-mentioned correlated results, corresponding to 5 kinds of frequency deviations of 3 local characteristic sequence *.
Sampled point in this step is selected, and can improve the precision of master sync signal when realizing over-sampling rate under the situation that does not increase RAM.
In order to improve the success rate of detection, can adopt correlated results to add up smoothly to a plurality of fields, be the cycle promptly with 4800, the correlation of the position of correspondence is added up.
Peak value searching module 704 is got the maximum in a plurality of frequency deviation branch, and with the local characteristic sequence of this maximum correspondence master sync signal as current area, simultaneously, the frequency deviation of this frequency deviation branch correspondence is the frequency offseting value of initial estimation.
The principle that master sync signal detects in the present embodiment 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 is used for according to current environment frequency deviation range being divided into a plurality of branches;
Frequency offseting value determining unit 7012 is used for determining the frequency offseting value of each branch's correspondence;
Angle value computing unit 7013 is used for calculating the required angle value of engagement arithmetic according to the frequency offseting value of each branch's correspondence and the sample rate of data;
Extra cell 7014 is used to utilize engagement arithmetic that each frequency offseting value is appended to the time domain data of input, obtains the 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 aforesaid device 901.
Method, device and terminal that embodiment of the 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 the phase place rotation, can realize configurable frequency shift (FS) like this, hardware flexibility is strong; It is relevant received signal and described frequency deviation branched sequence not to be slided, but it is relevant that the postrotational received signal of phase place and this landlord synchronizing sequence are slided, and can realize the multiplexing of matched filter like this, saves resource; Under the data of over-sampling, carry out sampled point and select, greatly improve the precision that main synchronizing sequence peak value detects, and do not increase storage RAM; Adopt and use engagement arithmetic such as frequency shift (FS)s to received signal such as cordic algorithms, resource consumption is little, and configurability is strong.
The above only is the preferred embodiments of the present invention; be not so limit claim of the present invention; every equivalent structure or flow process conversion that utilizes specification of the present invention and accompanying drawing content to be done; or directly or indirectly be used in other relevant technical field, all in like manner be included in the scope of patent protection of the present invention.