Content of the invention
It is an object of the invention to provide a kind of searching method of center of housing estate frequency and mobile terminal are so that the present invention carries
For center of housing estate frequency searching method affected by downlink business less.
For solving above-mentioned technical problem, embodiments of the present invention provide a kind of searching method of center of housing estate frequency,
Comprise the steps of:
The time domain timing signal receiving for the search of center of housing estate frequency is sampled and fast Fourier transform,
Obtain the frequency-region signal of described time domain timing signal;
According to frequency domain master sync signal PSS, Coherent processing is carried out to the frequency-region signal that described conversion obtains, obtain relevant work(
Rate is composed;
According to described coherent power spectrum, calculate the power window ratio of receipt signal;
According to the size of described power window ratio, select center of housing estate frequency.
Embodiments of the present invention additionally provide a kind of mobile terminal, comprise:Receiver module, pretreatment module, coherent mold
Block, ratio calculation module, frequency selecting module;
Described receiver module receives the time domain timing signal for the search of center of housing estate frequency;
The time-domain signal that described pretreatment module is used for that described receiver module is received is sampled and fast Fourier becomes
Change, obtain the frequency-region signal of described time domain timing signal;
Described relevant module is used for according to frequency domain master sync signal PSS, carries out phase to the frequency-region signal that described conversion obtains
Dry-cure, obtains coherent power spectrum;
Described power window ratio calculation module is used for calculating the power window ratio of receipt signal according to described coherent power spectrum
Value;
Described frequency selecting module is used for the size according to described power window ratio, selects center of housing estate frequency.
Embodiment of the present invention in terms of existing technologies, will be used for the time domain timing signal of center of housing estate frequency search
After transforming to frequency domain, Coherent processing is carried out by frequency domain PSS signal, has obtained coherent power spectrum, then according to described relevant work(
Rate is composed, and calculates the power window ratio of receipt signal;According to the size of described power window ratio, select center of housing estate frequency;Permissible
Significantly eliminate the noise of band and out-of-band and interference so that embodiment of the present invention affected by downlink business less.
In addition, described according to frequency domain master sync signal PSS, coherent is carried out to the frequency-region signal that described conversion obtains
Reason, obtains in the step of coherent power spectrum, carries out Coherent processing to each section of frequency-region signal;Comprise following sub-step:
Generate frequency domain master sync signal PSS;
Insert direct current subcarrier in the frequency domain PSS signal of described generation, obtain new frequency domain PSS signal;Wherein, described
Energy on direct current subcarrier is 0;
Calculate described each section of frequency-region signal related with the conjugation aperiodic of described new frequency domain PSS signal, obtain frequency domain
Correlation;
According to correlation energy ratio value, described frequency domain correlation is merged, obtains the Coherent Power of each segment signal
Spectrum.
Because PSS signal has good autocorrelation performance and cross correlation in time domain, and the species of PSS signal is less
Can be traveled through, therefore can be utilized PSS signal distribution character over time and frequency, be calculated the relevant work(of receipt signal
Rate is composed, thus significantly eliminating noise and the interference of band and out-of-band.
In addition, described according to described coherent power spectrum, before calculating the step of power window ratio of receipt signal, comprising
Following steps:
According to the coherent power spectrum of described each segment signal, find in each section of frequency-region signal the maximum of correlation and right
The position answered;
By the maximum of all correlations finding, carry out correlation sequence according to descending order;
The correlation preceding T value of sequence is selected in the maximum of correlation from all each section of frequency-region signals finding
And correspond to frequency as initial search result, wherein, the value of described T presets.
By finding the maximum of correlation in each section, then find out sort in all maximums preceding several
Value, is found the maximum of correlation in two steps, can be gone out several frequencies of most likely center frequency point with fast search, accelerate to search
Suo Sudu, reduces complexity.
In addition, described according to described coherent power spectrum, calculating in the step of power window ratio of receipt signal, comprise with
Lower sub-step:
To described initial search result all of in system frequency band, it is ranked up according to correlation order from big to small;
Calculate the ratio between each correlation and correlation of maximum, obtain power window ratio.
Due to power window ratio is calculated according to coherent power spectrum, can significantly eliminate noise and the interference of band and out-of-band.
In addition, in the described ratio calculating between each correlation and correlation of maximum, obtaining power window ratio
In step, calculate power window ratio in default fixed-bandwidth.
By calculating power window ratio in default fixed-bandwidth, it is possible to reduce amount of calculation, accelerate search speed.
In addition, in the described size according to described power window ratio, finding in the step of center of housing estate frequency, comprising following
Sub-step:
Described ratio is selected to be more than or equal to the corresponding frequency of correlation of predetermined threshold value;
According to frequency order from small to large, the frequency of described selection and corresponding correlation are ranked up;
In the frequency range of the frequency of described selection, correlation is carried out with Singh's sinc function interpolation;
According to the correlation after interpolation, the correlation after interpolation and corresponding frequency are ranked up,
Using the correlation after sequence and corresponding frequency as center of housing estate frequency Search Results.
Because 3GPP agreement specifies that center of housing estate frequency is the integral multiple of 100KHz, therefore frequency is carried out according to 100KHz
Integral multiple row interpolation is entered to correlation, it is more accurate to make to finally give center of housing estate frequency Search Results.
Specific embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with each reality to the present invention for the accompanying drawing
The mode of applying is explained in detail.However, it will be understood by those skilled in the art that in each embodiment of the present invention,
In order that reader more fully understands that the application proposes many ins and outs.But, even if there is no these ins and outs and base
In following embodiment many variations and modification it is also possible to realize each claim of the application technical side required for protection
Case.
The first embodiment of the present invention is related to a kind of searching method of center of housing estate frequency, and the method is to the use receiving
Time domain timing signal in the search of center of housing estate frequency is sampled and fast Fourier transform, obtains described time domain timing signal
Frequency-region signal;Further according to frequency domain master sync signal PSS, the frequency-region signal that conversion is obtained carries out Coherent processing, is concerned with
Power spectrum;Then according to coherent power spectrum, calculate the power window ratio of receipt signal;Further according to the size of power window ratio, select
Select center of housing estate frequency;Noise and the interference of band and out-of-band can significantly be eliminated, so that embodiment of the present invention is by descending
Service impact is less.
The flow process of the method is as shown in figure 1, comprise the following steps that:
Step 101, receives 5 milliseconds of continued time domain timing signal on initial frequency, and will with predetermined sample frequency
Continued time domain signal is converted into discrete time-domain signal.
In the present embodiment it is assumed that initialization receives number of times r=0, the frequency of first time receiving data is fr=fstart
MHz, wherein, fstartRelevant with frequency range to be scanned;Predetermined sample frequency is 30.72MHz.
It is noted that terminal can also use other sample frequencys, as long as meeting sample frequency to make follow-up FFT
Frequency resolution is 15KHz.If no special instructions, analysis below all assumes that the sample frequency of 30.72MHz, and note is adopted
All points are x (0) ..., x (N-1), that is, the discrete time signal being converted to.
Step 102, to discrete time signal x (0) ..., x (N-1) carries out segmentation xm={x((m-1)·M),…,x(m·
M-1) }, m=1 ..., N/M, M are each section of size, and carry out fast Fourier transform to each section of discrete time signal, obtain
To frequency domain signal Xm=FFT(xm).
Because sample frequency is 30.72MHz, i.e. a width of 30.72MHz of terminal processes band, in order that FFT frequency resolution is
15KHz, so when carrying out segmentation to discrete time signal, each section of size is 2048, i.e. M=2048.
Step 103, according to frequency domain master sync signal PSS, the frequency-region signal that conversion is obtained carries out Coherent processing, obtains frequency
Domain correlation.
Because PSS signal has good autocorrelation performance and cross correlation in time domain, and the species of PSS signal is less
Can be traveled through, therefore can be utilized PSS signal distribution character over time and frequency(As shown in Figure 2), calculate and receive
The coherent power spectrum of signal, thus significantly eliminate noise and the interference of band and out-of-band.
Due to segmentation having been carried out to discrete time signal in step 102, therefore, in this step, each section of frequency domain is believed
Number XmCarry out Coherent processing, specifically, locally generate frequency domain master sync signal PSS signal firstnid2=0,1,2, its
Calculating formula is as follows:
Wherein, the value of radical exponent u is shown in Table 1.
nid2 |
Radical exponent u |
0 |
25 |
1 |
29 |
2 |
34 |
Table 1
Insert direct current subcarrier in the PSS frequency-region signal generating, on direct current subcarrier, energy estimate methods are 0, that is, obtain new
Frequency domain PSS signalnid2=0,1,2.
Calculate each section of frequency-region signal related with the conjugation aperiodic of new frequency domain PSS signal, obtain frequency domain correlation;?
That is, calculate X according to following relationmWithConjugation aperiodic related:
k=0,…,M-1
Wherein Xm(n)=0, n=M ..., M+61.
Step 104, merges to the frequency domain correlation obtaining, obtains the coherent power spectrum of each segment signal.
Have no knowledge about the value of the NID2 of cell during due to frequency sweep, need to merge process to correlated results, can take
Merge according to correlation energy ratio value.NoteTo each section of frequency-region signal with newly
Frequency domain PSS signal correlated results merge obtainFrequency domain correlated results such as Fig. 3 institute after merging
Show.
Step 105, according to the coherent power spectrum of each segment signal, finds the maximum of correlation and corresponding position;?
That is, in [abs (пm(0)),…,abs(пm(M-1) maximizing and corresponding position (п in)]m(pmax),pmax), m=
1,…,N/M.
Step 106, the maximum of all correlations finding carries out correlation sequence according to descending order;
The correlation preceding T value of sequence and corresponding frequency is selected to tie as initial search from the maximum of all correlations finding
Really, wherein, the value of T can preset;Such as, from the maximum { п findingm(pmax), m=1 ..., select related in N/M
Value sequence first three maximum and corresponding frequencyI=0,1,2 as present scan result, and preserve down
Come, whereinSubscript r represents the 5ms data of the r time reception.
Step 107, judges whether in system frequency band that all frequencies all scan and completes, if it is not, then execution step 108;If so,
Then execution step 109.
Step 108, starts and scans next time, using r+1 as the reception number of times scanning next time, the time of processing data is long
Degree is still 5ms, and reception processing bandwidth is still 30.72MHz, and the process bandwidth of this receiving data and a front process bandwidth have
1.4MHz is overlapping, and that is, the frequency of receiving data is fr=f0+(r-1)·fstep=f0+(r-1)·(30.72-1.4)=fstart+
29.32·(r-1)MHz.I.e. in frequency frThe upper continued time domain timing signal receiving 5 milliseconds, and the sampling frequency with 30.72MHz
Continued time domain signal is converted into discrete time-domain signal by rate.
Repeat step 102 arrives step 105, and up in system frequency band, all frequencies all scan and complete, and remember all previous in this frequency range
Scanning result isR is receiving data number of times in this frequency range.
Step 109, composes according to related power and calculates power window ratio, calculate the power window ratio of receipt signal, therefrom look for
To center of housing estate frequency.
Specifically, to initial search result all of in system frequency band, carry out according to correlation order from big to small
Sequence;And calculate ratio between each correlation and correlation of maximum, obtain power window ratio;Select ratio be more than or
Person is equal to the correlation of predetermined threshold value and corresponding frequency as center of housing estate frequency Search Results.
That is, it is rightAccording to correlation п (p(i)) from big to
Little order is ranked up obtainingTherefrom select to meet condition shown in following formula
Frequency is as the Search Results of center frequency point.
Additionally, it is it will be understood by those skilled in the art that basic in the searching method of the center of housing estate frequency of present embodiment
On, analysis further can also be found the position of PSS signal and determine NID2, thus improving the time of whole cell searching.
Second embodiment of the present invention is related to a kind of searching method of center of housing estate frequency.Second embodiment and first
Embodiment is roughly the same, is in place of the main distinction:In the first embodiment, in whole reception processing bandwidth (such as
Power window ratio is calculated in 30.72MHz).And in second embodiment of the invention, can be in default fixed-bandwidth(Such as
0.96MHz)Interior calculating power window ratio, thus reducing amount of calculation, accelerates search speed.
Due to transforming to time-domain signal after frequency domain, Coherent processing is carried out by frequency domain PSS signal, the work(after being concerned with
Rate Power estimation, so can significantly eliminate noise and the interference of band and out-of-band, therefore, it can in fixed-bandwidth(0.96M)Interior calculating
Power window ratio.Specifically, in the step 109 of first embodiment, right
According to correlation п (p(i)) order from big to small is ranked up obtainingAfterwards,
Select to meet the Search Results as center frequency point for the frequency of condition shown in following formula.
Third embodiment of the present invention is related to a kind of searching method of center of housing estate frequency.3rd embodiment is first
Do on the basis of embodiment and improved further, mainly theed improvement is that:In third embodiment of the invention, pre- selecting
If after the frequency of condition, interpolation processing is carried out to the frequency selected, make frequency Search Results more accurate.
According to 3GPP agreement, center of housing estate frequency is the integral multiple of 100KHz, therefore, it can enter row interpolation to frequency, tool
Body processing procedure is as follows:
Ratio is selected to be more than or equal to the corresponding frequency of correlation of predetermined threshold value;
According to frequency order from small to large, the frequency selecting and corresponding correlation are ranked up;
In the frequency range of the frequency selecting, correlation is carried out with Singh's sinc function interpolation;
According to the correlation after interpolation, the correlation after interpolation and corresponding frequency are ranked up,
Using the correlation after sequence and corresponding frequency as center of housing estate frequency Search Results.
That is, according toOrder from small to large is ranked up obtaining
L is the set sizes meeting the corresponding frequency of correlation that ratio is more than or equal to predetermined threshold value;
According to Ω in frequency rangeThe interior integral multiple according to 100KHz carries out sinc interpolation to correlation and obtains
ArriveΩ ' is ranked up according to the correlated results after interpolation
And report frequency Search Results.
The step of various methods divides above, is intended merely to describe clear, can merge into when realizing a step or
Some steps are split, is decomposed into multiple steps, as long as comprising identical logical relation, all in the protection domain of this patent
Interior;To adding inessential modification in algorithm or in flow process or introducing inessential design, but do not change its algorithm
With the core design of flow process all in the protection domain of this patent.
Four embodiment of the invention is related to a kind of mobile terminal, as shown in figure 4, comprising:Receiver module, pretreatment mould
Block, relevant module, ratio calculation module, frequency selecting module, segmentation maximum acquisition module, just search result acquisition module.
Specifically, receiver module receives the time domain timing signal for the search of center of housing estate frequency.
The time-domain signal that pretreatment module is used for receiver module is received is sampled and fast Fourier transform, obtains institute
State the frequency-region signal of time domain timing signal;
And pretreatment module comprises analog digital conversion submodule, segmentation submodule, Fourier transform submodule;Wherein, modulus
Transform subblock is used for, with predetermined sample frequency, the time domain receiving timing signal is converted into discrete time-domain signal;Segmentation
Module is used for carrying out segmentation to discrete time-domain signal;Fourier transform submodule is used for each section of discrete time signal is carried out
Fast Fourier transform, obtains frequency-region signal.
Relevant module is used for according to frequency domain master sync signal PSS, and the frequency-region signal that conversion is obtained carries out Coherent processing, obtains
To coherent power spectrum.
Because discrete time signal is carried out segment processing by segmentation submodule, so relevant module is also believed to each section of frequency domain
Number carry out Coherent processing;Comprise signal generation submodule, carrier wave insertion submodule, correlation computations submodule, merge submodule;Its
In, signal generation submodule is used for being locally generated frequency domain master sync signal PSS;Carrier wave inserts submodule and is used in the frequency generating
Insert direct current subcarrier in the PSS signal of domain, obtain new frequency domain PSS signal;Wherein, the energy on direct current subcarrier is 0;Related
Calculating sub module be used for calculate each section of frequency-region signal and the aperiodic of new frequency domain PSS signal conjugation related, obtain frequency domain phase
Pass is worth;Merge submodule to be used for according to correlation energy ratio value, frequency domain correlation is merged, obtains the phase of each segment signal
Dry power spectrum.
Segmentation maximum acquisition module is used for the coherent power spectrum according to each segment signal, finds in each section of frequency-region signal
The maximum of correlation and corresponding position.
Correlation order module is used for the maximum of all correlations finding, and carries out phase according to descending order
Pass value sequence.
Just search result acquisition module for selecting in the maximum of correlation from all each section of frequency-region signals finding
, as initial search result, wherein, the value of described T presets for the preceding T value of correlation sequence and corresponding frequency.
Power window ratio calculation module is used for calculating the power window ratio of receipt signal according to coherent power spectrum;Power window
Ratio calculation module comprises sorting sub-module, ratio calculation submodule.
Wherein, sorting sub-module is used for initial search result all of in system frequency band, according to correlation from big to small
Order be ranked up;
Ratio calculation submodule is used for calculating the ratio between each correlation and correlation of maximum, obtains power window
Ratio.
Frequency selecting module is used for the size according to power window ratio, selects center of housing estate frequency.Frequency selecting module is selected
Select ratio and be more than or equal to the correlation of predetermined threshold value and corresponding frequency as center of housing estate frequency Search Results.
It is seen that, present embodiment is the system embodiment corresponding with first embodiment, and present embodiment can be with
First embodiment is worked in coordination enforcement.The relevant technical details mentioned in first embodiment still have in the present embodiment
Effect, in order to reduce repetition, repeats no more here.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in
In first embodiment.
It is noted that involved each module in present embodiment is logic module, in actual applications, one
Individual logical block can be a part for a physical location or a physical location, can also be with multiple physics lists
The combination of unit is realized.Additionally, for the innovative part projecting the present invention, will not be with solution institute of the present invention in present embodiment
The unit that the technical problem relation of proposition is less close introduces, but this is not intended that in present embodiment there are not other lists
Unit.
Fifth embodiment of the invention is related to a kind of mobile terminal.5th embodiment and the 4th embodiment substantially phase
Same, it is in place of the main distinction:In the 4th embodiment, ratio calculation submodule calculates work(in whole reception processing bandwidth
Rate window ratio.And in fifth embodiment of the invention, ratio calculation submodule calculates power window in default fixed-bandwidth
Ratio, thus reducing amount of calculation, accelerates search speed.
Because second embodiment is mutually corresponding with present embodiment, therefore present embodiment can be mutual with second embodiment
Match enforcement.The relevant technical details mentioned in second embodiment are still effective in the present embodiment, in the second enforcement
The technique effect that can reach in mode is in the present embodiment similarly it is achieved that in order to reduce repetition, no longer superfluous here
State.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in second embodiment.
Sixth embodiment of the invention is related to a kind of mobile terminal.6th embodiment does on the basis of the 4th embodiment
Improve further, mainly the improvement is that:In sixth embodiment of the invention, frequency selecting module comprises:Frequency sieves
Select submodule, frequency sorting sub-module, interpolation submodule, correlation sorting sub-module, Search Results acquisition submodule;
Frequency screens the corresponding frequency of correlation that submodule is used for selecting ratio to be more than or equal to predetermined threshold value;
Frequency sorting sub-module is used for the order from small to large according to frequency and the frequency selecting and corresponding correlation is entered
Row sequence;
Interpolation submodule is used in the frequency range of the frequency selecting, correlation being carried out Singh's sinc function interpolation;
Correlation sorting sub-module is used for according to the correlation after interpolation, the correlation after interpolation and corresponding frequency being entered
Row sequence,
Search Results acquisition submodule is used for searching the correlation after sequence and corresponding frequency as center of housing estate frequency
Hitch fruit.
Because the 3rd embodiment is mutually corresponding with present embodiment, therefore present embodiment can be mutual with the 3rd embodiment
Match enforcement.The relevant technical details mentioned in 3rd embodiment are still effective in the present embodiment, in the 3rd enforcement
The technique effect that can reach in mode is in the present embodiment similarly it is achieved that in order to reduce repetition, no longer superfluous here
State.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in the 3rd embodiment.
It will be understood by those skilled in the art that the respective embodiments described above are to realize the specific embodiment of the present invention,
And in actual applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.