LTE signal detecting methods and system
【Technical field】
The present invention relates to wireless communication technology field, more particularly to a kind of LTE signal detecting methods and system.
【Background technology】
With the fast development of the communication technology, 4G LTE (Long Term Evolution, Long Term Evolution) are by its frequency spectrum
The advantage such as efficiency and message transmission rate progressively obtains commercial in every country, but the development from global radio communication user becomes
From the point of view of the Evolution Tendency of gesture and wireless technology, 2G/3G/4G technologies are not a simple substitutional relations, at least following 5 to 10
Still in the relation for being complementary to one another, mutually coexisting in year.Therefore, in order to carry out more targeted process to LTE signals, multiple
Complete to be significant the detection of LTE signals under miscellaneous signal background.
At present mainly by means of cell searching completing the identification of LTE signals, i.e., by detect main synchronizing sequence (PSS) and
Secondary synchronization sequences (SSS) are realized.Concrete operations are exactly related to signal using locally stored PSS data sequences, by detection
The peak value of correlated results confirms sector mark ID;Using main confirmation of synchronization sector mark ID determined by secondary synchronization code, with number
It is further related according to making, complete the identification of synchronizing process realization to LTE signals.But knowable to during this, the synchronization
Process can only directly obtain the type or frequency point information of signal, but LTE signals have 6 kinds of different signal bandwidths at present, therefore only
Signal type or frequency point information are obtained, far from enough, the Er Qiezeng for the complicated signal transactings such as peak clipping, carrier wave separation
Equipment restriction is when in use added.Accordingly, it would be desirable to further complete the confirmation of signal bandwidth information.But at present LTE is believed
Number bandwidth information be mainly by the basis of synchronization to signal resolution obtaining, its process performs comparatively laborious.
【The content of the invention】
Based on this, connected applications of the present invention need, and realize obtaining for LTE signal bandwidth information using the mode of energy measuring
Know, it is simple to operate, it is easy to accomplish.Present invention is as follows:
A kind of LTE signal detecting methods, comprise the steps:
Effective frequency to be measured is obtained from effective frequency point sets of LTE signals and predeterminated frequency side-play amount is obtained;
Frequency shift (FS) is carried out according to effective frequency to be measured and the predeterminated frequency side-play amount, optical mixing process is completed and is obtained
To mixing data;
The mixing data pick-up filtering is obtained into the desired signal at effective frequency to be measured in pre-set bandwidths;
Mean power statistics is carried out to the desired signal, mean power and effective frequency to be measured at frequency shift (FS) is calculated
The ratio of the mean power at place;
Judge whether the ratio of the mean power at mean power at the frequency shift (FS) and effective frequency to be measured is more than
First thresholding;
When the ratio of the mean power at the mean power at frequency shift (FS) with effective frequency to be measured is more than the first thresholding,
The bandwidth of to be measured effective frequency at carrier wave is calculated according to predeterminated frequency side-play amount then.
Present invention also offers a kind of LTE signal detection systems, including:
Presetting module, for effective frequency to be measured is obtained from effective frequency point sets of LTE signals and predeterminated frequency is obtained
Side-play amount;
Frequency mixing module, it is for carrying out frequency shift (FS) according to effective frequency to be measured and the predeterminated frequency side-play amount, complete
Into be mixed and obtain be mixed data;
Signal separation module, for the mixing data pick-up filtering is obtained at effective frequency to be measured in pre-set bandwidths
Desired signal;
Power statistic module, counts and calculates average at frequency shift (FS) for mean power is carried out to the desired signal
The ratio of the mean power at power and effective frequency to be measured;
Judge module, for judging the mean power at the mean power at the frequency shift (FS) and effective frequency to be measured
Whether ratio is more than the first thresholding;
Bandwidth information determining module, for determining the bandwidth of carrier wave at effective frequency to be measured;At the frequency shift (FS)
When the ratio of the mean power at mean power and effective frequency to be measured is more than the first thresholding, then gauge is offset according to predeterminated frequency
Calculate the bandwidth of carrier wave at effective frequency to be measured.
The present invention realizes knowing that step is simple to LTE signal bandwidth information using the mode of energy measuring, it is easy to engineering
Realize, process for sophisticated signals such as follow-up peak clipping, carrier wave separation and feasibility is provided.
【Description of the drawings】
Fig. 1 is the flow chart of LTE signal detecting methods in the embodiment of the present invention one;
Fig. 2 is the flow chart of the effective frequency point sets preparation method of LTE signals in the embodiment of the present invention two;
Flow charts of the Fig. 3 for three kinds of master sync signal availability deciding methods of the embodiment of the present invention;
Fig. 4 is the structure chart of LTE signal detection systems in the present invention;
Fig. 5 is the structure chart of effective frequency point sets acquisition system in LTE signal detection systems of the present invention
Fig. 6 is the structure chart of anti-noise processing module in LTE signal detection systems of the present invention;
Fig. 7 is the structure chart of whole judging module in LTE signal detection systems of the present invention.
【Specific embodiment】
Present disclosure is further described below in conjunction with specific embodiment and accompanying drawing.
Embodiment one
Fig. 1 is refer to, a kind of LTE signal detecting methods comprise the steps:
S110 obtains effective frequency to be measured from effective frequency point sets of LTE signals and obtains predeterminated frequency side-play amount;
S120 carries out frequency shift (FS) according to effective frequency to be measured and the predeterminated frequency side-play amount, completes optical mixing process
And obtain being mixed data;
The mixing data pick-up filtering is obtained the desired signal at effective frequency to be measured in pre-set bandwidths by S130;
S140 carries out mean power statistics to the desired signal, and the mean power calculated at frequency shift (FS) is effective with to be measured
The ratio of the mean power at frequency;
Whether S150 judges the ratio of the mean power at mean power at the frequency shift (FS) and effective frequency to be measured
More than the first thresholding;
The ratio of mean powers of the S160 at the mean power at frequency shift (FS) with effective frequency to be measured is more than first
In limited time, then the bandwidth of carrier wave at effective frequency to be measured is calculated according to predeterminated frequency side-play amount.
According to the method for the present embodiment, it is possible to achieve the bandwidth information of LTE signals is detected.For the LTE signals for receiving,
Effective frequency point information of signal can be obtained by method of the prior art, according to effective frequency point information, one is formed effectively
Frequency point sets.In order to know the bandwidth information of carrier wave at all effective frequencies in effective frequency point sets, frequency can be progressively selected
Side-play amount is being tested.
First, an effective frequency F to be measured is selected from effective frequency point setsi, and set a predeterminated frequency side-play amount
Δf.Due to effective frequency FiPositioned at the middle of current carrier, therefore left avertence right avertence is capable of achieving bandwidth detection, in the present embodiment
By the way of right avertence, signal to be detected is carried out into frequency shift (FS), moved to frequency (F by frequency mixeri+ Δ f) places, complete
Optical mixing process mixing data Data after being mixedmix1.At present, LTE supports six kinds of bandwidth allocations:1.4MHz, 3MHz,
5MHz, 10MHz, 15MHz and 20MHz, therefore, it is the speed for accelerating bandwidth detection, frequency offset Δ f can be for LTE's
Six kinds of bandwidth are designed, and can sequentially take 0MHz, 0.7MHz, 1.5MHz, 2.5MHz, 5MHz, 7.5MHz, 10MHz.
Then, to being mixed data Datamix1Carry out down-sampled, be down to baseband rate fs, obtain after filtering extraction to be measured
Effectively frequency FiDesired signal Data in place's pre-set bandwidthsmid.The step can be by Digital Down Convert (DDC) and digital lowpass
Wave filter is realizing.Wherein, pre-set bandwidths are relevant with the actually active bandwidth of carrier wave, and in the present embodiment, pre-set bandwidths can be arranged
For 0.6MHz, baseband rate fsFor 3.84MSPS.
To desired signal DatamidMean power statistics is carried out, statistics points can be a frame length, the length and base band
Speed fsCorresponding, concrete mean power statistical formula is:
Wherein, frequency shift (FS) (F is only used in detection processiThe mean power at+Δ f) places and effective frequency FiThe average work(at place
Rate is compared, therefore calculating process need to only retain two results, therefore n only takes 1,2, zero it is inclined when (Δ f takes zero) can consolidate
Surely it is f to take 1, Ts*10ms。
Average power to counting judges that zero need not then compare when inclined, when frequency offset Δ f takes other values
Calculate Power1/Power2Result, if the result be more than the first thresholding, then it is assumed that a width of 2* Δs of band of current carrier frequency
F, on the contrary frequency offset Δ f repeat step S110 to S160 are then changed, finally confirm effective frequency F to be measurediThe band of place's carrier wave
It is wide.Wherein, the selection of the first thresholding is affected by radio frequency link parameter, can be optimized by actual hardware system data acquisition result
Arrange, the first thresholding desirable 10 in the present embodiment.
Current effective frequency F to be measured can be obtained by above stepiThe bandwidth information of place's carrier wave, then from effective frequency
Next effectively frequency is chosen in set, the bandwidth of carrier wave at effective frequency is obtained using same method, until being had
The bandwidth information of carrier wave at all effective frequencies in frequency point sets is imitated, the detection to LTE signals is completed.
Embodiment two
Fig. 2 is refer to, in the lump with reference to Fig. 1.Effective frequency point information of LTE signals can be obtained according to the present embodiment, then
Method in one in conjunction with the embodiments, it is possible to achieve the detection of LTE signals.
In this enforcement, the acquisition methods of the effective frequency point information of LTE signals comprise the steps:
S210 receives LTE signals, obtains frequency to be measured, and obtains corresponding master sync signal according to the frequency to be measured;
S220 carries out matched filtering to the master sync signal according to this landlord synchronizing sequence data in time domain;
S230 carries out anti-noise sonication to the result of the matched filtering;
S240 carries out peakvalue's checking to the result of the anti-noise sonication, obtains maximum and second largest value, and calculates described
The duplicate ratio of maximum and the second largest value;
Whether maximum described in S250 is more than the second thresholding with the duplicate ratio of the second largest value;
When the duplicate ratio is more than the second thresholding, S260 judges that frequency to be measured is alternative frequency,
S270 obtains alternative frequency point sets;
S280 carries out whole judgement to the alternative frequency point sets, filters out effective frequency, obtains effective frequency of LTE signals
Set.
According to the method described above, according to the LTE signals for receiving, it is f to arrange current frequency to be measuredn, using the side of prior art
Method, by frequency mixer by fnThe signal at place is moved to zero-frequency, data Data after being mixedmix2。
To Datamix2Filtering extraction is carried out, and baseband rate is down to for fs' sample rate, and leach middle 1.08MHz
Signal in bandwidth, this signal are frequency f to be measurednCorresponding master sync signal Datapss, fs' desirable 1.92MSPS,
3.84MSPS, 7.68MSPS, 15.36MSPS, 23.04MSPS and 30.72MSPS etc., in order that bandwidth estimation is estimated to make with frequency
Maximum resource sharing, fs' desirable 3.84MSPS, with the f in embodiment onesIt is identical.
It is corresponding in frequency domain that the Zadoff-Chu sequence specified according to the consensus standard of 3GPP produces LTE three cells of signal
This landlord synchronizing sequence data Pss, according to process baseband rate fs', frequency domain data is carried out into IFFT of the corresponding points for N
Conversion, obtains this landlord synchronizing sequence data P in time domainpss, and prestore in systems as look-up table.Due to this reality
Apply a fs' it is 3.84MSPS, therefore points N desirable 256.
Then according to this landlord synchronizing sequence data Ppss, matched filter is constructed, to master sync signal DatapssCarry out
With filtering, its computing formula is:
Wherein, P 'pss,iK () is that this landlord synchronizing sequence goes to conjugation.
Then anti-noise sonication is carried out to the result of above-mentioned matched filtering, the method adopted in the present embodiment is to matching filter
The modulus value of the result of ripple square carries out the data investigation of preset times by the cycle of a preset length
Length (correspondence baseband rate f are carried out speciallys' half frame length) superposition, altogether be superimposed n field data
As output, cause the peak value of indivedual main synchronizing sequence correlated results not obvious due to every frame data signal to noise ratio difference to overcome
And there is the situation that correlation peak deteriorates under Frequency Offset, which realizes that formula is:
Preset length length takes 19200 herein, to take into account 5ms and 10ms frame structures, preset times n desirable 4.
The result of antagonism noise processed carries out peakvalue's checking, obtains maximum and second largest value.Due to the number after anti-noise process
According to periodically, therefore only detect one of cycle data.Maximum is the maximum amplitude in a cycle, second largest value
Scan in the value outside each half matched filtering length N/2 of maximum or so.The duplicate ratio of maximum and second largest value is only
It is greater than current frequency f to be measured by the second thresholdingnAlternately frequency.Radio frequency link parameter is received in the selection of the second thresholding
Affect, setting can be optimized by actual hardware system data acquisition result.Second thresholding can use 10 in the present embodiment.
Then frequency to be measured is scanned with default stepping, and the present embodiment adopts LTE channel numbers to be spaced 100kHz for stepping
It is scanned, repeat step S210 to S250, retouches and filter out all alternative frequencies, obtain alternative frequency point sets, then to by frequency-selecting
Point set carries out whole judgement, filters out effective frequency.
A kind of whole decision method is provided in this enforcement, it is first determined between alternatively in frequency point sets between each alternative frequency
Every;
Then alternative frequency is judged according to the interval between frequency;When current alternative frequency and the alternative frequency of surrounding
When interval is more than predetermined interval value, judge current alternative frequency as effective frequency;When the interval between multiple alternative frequencies is less than
During predetermined interval value, judge the maximum alternative frequency of duplicate ratio described in the plurality of alternative frequency as effective frequency.Wherein preset
Spacing value is arranged according to LTE signal bandwidths minimum of a value, and predetermined interval is 700kHz herein.
By said method, the detection to effective frequency point information is completed, obtain an effective frequency point sets, then using reality
The method for applying LTE signal detections in example one, can obtain the bandwidth information of LTE signals, just repeat no more here.
Embodiment three
As shown in figure 3, and referring to Fig. 1, Fig. 2 in the lump.The present embodiment is added to main synchronization on the basis of embodiment two
The availability deciding of signal, can realize the detection of LTE signals in conjunction with embodiment one.
The process that master sync signal carries out availability deciding is comprised the steps in the present embodiment:
S310 obtains frequency to be measured;
S320 obtains corresponding master sync signal according to the frequency to be measured;
S330 continuously counts the master sync signal of a frame data length;
S340 judges whether the absolute value of the amplitude of the master sync signal of the frame data length is respectively less than the 3rd thresholding;
S350 is if it is not, judge that the master sync signal is effective;If so, then reacquire frequency to be measured.
Specifically, for the master sync signal Data obtained in embodiment twopssAvailability deciding is carried out, one is continuously counted
Frame data length, if the absolute value of amplitude is respectively less than the 3rd thresholding, then it is assumed which is noise, no longer carries out the number such as subsequent detection
According to process, detecting step is jumped to into step S310, this mode shortens detection time, improves detection efficiency.Wherein
The selection of three thresholdings is affected by radio frequency link parameter, can be optimized setting by actual hardware system data acquisition result.This reality
Apply the 3rd thresholding desirable 100 in example.
By the present embodiment provide master sync signal availability deciding method, in conjunction with the embodiments two and embodiment one in
Method can detect the bandwidth information of carrier wave at the effective frequency of LTE signals, detailed process is repeated no more here.
Present invention also offers a kind of LTE signal detection systems, as shown in figure 4, including:
Presetting module 110, for effective frequency to be measured is obtained from effective frequency point sets of LTE signals and default frequency is obtained
Rate side-play amount;
Frequency mixing module 120, for carrying out frequency shift (FS) according to effective frequency to be measured and the predeterminated frequency side-play amount,
Complete optical mixing process and obtain being mixed data;
Signal separation module 130, for the mixing data pick-up filtering is obtained pre-set bandwidths at effective frequency to be measured
Interior desired signal;
Power statistic module 140, counts and calculates at frequency shift (FS) for carrying out mean power to the desired signal
The ratio of the mean power at mean power and effective frequency to be measured;
Judge module 150, for judging the average work(at the mean power at the frequency shift (FS) and effective frequency to be measured
Whether the ratio of rate is more than the first thresholding;
Bandwidth information determining module 160, for determining the bandwidth of carrier wave at effective frequency to be measured;
Specifically, presetting module 110 from the effective frequency point sets of LTE signals obtained by prior art is selected one and is treated
Survey effective frequency Fi, and set predeterminated frequency offset Δ f.Then signal to be detected is entered line frequency by frequency mixing module 120
Rate offsets, and is moved to frequency (F by frequency mixeri+ Δ f) or (Fi- Δ f) places, complete optical mixing process and mixed after being mixed
Frequency evidence.
Then, the mixing of signal separation module 130 pairs data carry out down-sampled, are down to baseband rate fs, filtering extraction
After obtain effective frequency F to be measurediDesired signal in place's pre-set bandwidths.Wherein, pre-set bandwidths are had with the actually active bandwidth of carrier wave
Close, pre-set bandwidths may be configured as 0.6MHz, baseband rate fs3.84MSPS can be set to.
The desired signal that power statistic module 140 pairs is isolated carries out mean power statistics, calculates flat at frequency shift (FS)
Equal power and zero F of effective frequencyiThe ratio of the mean power at place, wherein statistics points can be a frame length, the length and base
Tape speed fsCorrespondence.
Judge module 150 is to the mean power at frequency shift (FS) and zero F of effective frequencyiWhether the ratio of the mean power at place
Judged more than thresholding, if the ratio is more than the first thresholding, bandwidth information determining module 160 judges the currently active frequency
The a width of 2* Δs f of band of place's carrier wave, on the contrary frequency offset Δ f is changed by presetting module 110 then, finally confirm effective frequency to be measured
Point FiThe bandwidth of place's carrier wave.Wherein, the selection of the first thresholding is affected by radio frequency link parameter, can be adopted by actual hardware system data
Collection result is optimized setting.
The bandwidth information of carrier wave at all effective frequencies in effective frequency point sets can be obtained by said system, complete right
The detection of LTE signals.
As shown in figure 5, for obtain LTE signals effective frequency point sets, the present invention LTE signal detection systems can also wrap
Include an effective frequency point sets and obtain system, including:
Acquisition module 210, for receiving LTE signals, obtains frequency to be measured, and obtains corresponding according to the frequency to be measured
Master sync signal;
Matched filtering module 220, enters to the master sync signal for this landlord synchronizing sequence data of the basis in time domain
Row matched filtering;
Anti-noise processing module 230, carries out anti-noise sonication for the result to the matched filtering;
Peak detection block 240, for carrying out peakvalue's checking to the result of the anti-noise sonication, obtain maximum with it is secondary
It is big to be worth, and calculate the duplicate ratio of the maximum and the second largest value;
Pre- judging module 250, for judging alternative frequency, the duplicate ratio that will be greater than the second thresholding corresponding treats frequency measurement
Alternately frequency is put, alternative frequency point sets are obtained;
Whole judging module 260, for carrying out whole judgement to the alternative frequency point sets, filters out effective frequency, obtains LTE
Effective frequency point sets of signal.
Specifically, acquisition module 210 can arrange current frequency f to be measuredn, by fnThe signal at place is moved to zero-frequency, is obtained
Then data after mixing are carried out filtering extraction and obtain master sync signal by the data after mixing.
Matched filtering module 220 produces LTE signals three according to the Zadoff-Chu sequence that the consensus standard of 3GPP specifies
Frequency domain data is carried out IFFT conversion, obtains the sheet in time domain by corresponding this landlord synchronizing sequence data Pss in frequency domain of cell
Landlord's synchronizing sequence data Ppss, and prestore in systems as look-up table.Then according to this landlord synchronizing sequence data
Ppss, matched filter is constructed, matched filtering is carried out to master sync signal.
Anti-noise processing module 230 carries out anti-noise sonication to the result that matched filtering module 220 is exported, as shown in fig. 6, this
In embodiment, anti-noise processing module 230 includes two submodules:
Modulo block 231, for calculate the modulus value of the result of the matched filtering square;
Data investigation module 232, for square carrying out preset times as the cycle with a preset length to the modulus value
Data investigation
Modulo block 231 calculate the modulus value of 220 output result of matched filtering module square, then data investigation module
232 pairs of 231 output results of modulo block carry out the data investigation of preset times by the cycle of a preset length, to overcome by
Cause the peak value of indivedual main synchronizing sequence correlated results unobvious in every frame data signal to noise ratio difference and there is phase under Frequency Offset
Close the situation that peak value deteriorates.
Peak detection block 240 carries out peakvalue's checking to the result that anti-noise processing module 230 is exported, obtain maximum with it is secondary
It is big to be worth.As the data after anti-noise process have periodically, therefore one of cycle data is only detected, then calculate maximum
The duplicate ratio of value and second largest value.
Pre- judging module 250 is made decisions according to the result that peak detection block 240 is exported, as long as maximum and second largest value
Duplicate ratio more than the second thresholding will be current frequency f to be measurednAlternately frequency, forms after obtaining whole alternative frequencies
One alternative frequency point sets.The selection of the second thresholding is affected by radio frequency link parameter, can be tied by actual hardware system data acquisition
Fruit is optimized setting.
The alternative frequency point sets of 260 pairs of outputs of pre- judging module 250 of whole judging module carry out whole judgement, filter out effective frequency
Point, obtains effective frequency point sets of LTE signals.
As shown in fig. 7, whole judging module 260 includes two submodules in the present embodiment:
Interval calculation module 261, for determining the interval of each alternative frequency in the alternative frequency point sets;
Effectively frequency determination module 262, for judging to alternative frequency according to the interval, filters out effective frequency
Point.
Interval between the alternative frequency that effectively frequency determination module 262 is determined according to interval calculation module 261 is according to as follows
Method is judged:
When the interval of current alternative frequency and the alternative frequency of surrounding is more than predetermined interval value, judges current alternatively frequency as
Effective frequency;When the interval between multiple alternative frequencies is less than predetermined interval value, judge to put down described in the plurality of alternative frequency
Side is effective frequency than maximum alternative frequency.
Wherein predetermined interval value is arranged according to LTE signal bandwidths minimum of a value, and predetermined interval is 700kHz herein.
By said system, the detection to the effective frequency point information of LTE signals is completed, obtains an effective frequency point sets,
It can be follow-up bandwidth detection service.
In addition, in the LTE signal detection systems of the present invention, also include availability deciding module, for according to described to be measured
After frequency obtains corresponding master sync signal, and basis time domain local synchronization sequence data to the master sync signal
Before carrying out matched filtering, judge whether master sync signal is effective.
In the present embodiment, availability deciding module may include two submodules:
Statistical module, for the master sync signal of one frame data length of continuous statistics;
Whether amplitude judge module, the absolute value for judging the amplitude of the master sync signal of the frame data length are little
In the 3rd thresholding.
For the master sync signal obtained by acquisition module 210, statistical module continuously counts a frame data length, amplitude
Judge module judges whether the absolute value of the amplitude of the master sync signal of the frame data length is respectively less than the 3rd thresholding, if so,
The master sync signal is then judged as noise, no longer carry out follow-up data process, can so shorten detection time, improve detection effect
Rate.The selection of wherein the 3rd thresholding is affected by radio frequency link parameter, can be optimized by actual hardware system data acquisition result
Arrange.
Embodiment described above only expresses the several embodiments of the present invention, and its description is more concrete and detailed, but and
Therefore the restriction to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art
For, without departing from the inventive concept of the premise, some deformations and improvement can also be made, these belong to the guarantor of the present invention
Shield scope.Therefore, the protection domain of patent of the present invention should be defined by claims.