A kind of digital filtering method and device for LTE carrier waves
Technical field
The invention belongs to the technical field of filtering of wireless communication system, more particularly to a kind of numeral filter for LTE carrier waves
Wave method and device.
Background technology
LTE (Long Term Evolution) project is 3G evolution, and it improves and enhances 3G aerial access skill
Art.Using sole criterions of the OFDM and MIMO as its wireless network evolution.3GPP LTE main performance target includes:
20MHz spectral bandwidths can provide descending 100Mbps, up 50Mbps peak rate;Improve the performance of Cell Edge User;
Improve cell capacity;Reduce system delay;Paired or non-paired frequency spectrum, and six kinds of bandwidth of flexibly configurable are supported, are respectively:
1.4MHz、3MHz、5MHz、10MHz、15MHz、20MHz。
FIR (Finite Impulse Response) wave filter, there is limit for length's unit impulse response wave filter, also known as non-
Recursiveness wave filter, is most basic unit in digital information processing system.Its feature can be achieved on any amplitude versus frequency characte,
And keep strict linear phase-frequency characteristic.Because its unit sample respo is time-limited, the wave filter of the type is
Stable system.FIR filter has in fields such as communication, image procossing, pattern-recognitions to be widely applied very much.
FPGA (Field Programmable Gate Array, field programmable gate array) with its internal logic and
Row operation, high speed operation clock, abundant input and output pin resource, the serial transceiver module of integrated high-speed, special interface agreement
The advantage such as IP-Core (Intellectual Property Core, IP core) resource, be widely used in communication hardware and set
In standby system, the functions such as the logic control of plate level, interface conversion, data transfer, algorithm process are completed.
In order to be adapted to various LTE network bandwidth configuration situation and meet rear class signal transacting demand, it is necessary to design one kind
Method realizes the filter function of six kinds of bandwidth of real-time switching for LTE signals, reaches FPGA processing speed and takes resource
The optimal effect of two aspects, and rationally reduce the design complexities of filtering system.
The content of the invention
It is a primary object of the present invention to the shortcoming and deficiency for overcoming prior art, there is provided a kind of number for LTE carrier waves
Word filtering method, it, which can solve the problem that, needs asking for switching various bandwidth carrier wave filtering in real time in some specific LTE receiver devices
Topic, realizes FPGA processing speed and takes the optimal effect of the aspect of resource two, rationally the design of reduction filtering system is complicated
Degree.
Another object of the present invention is to the shortcoming and deficiency for overcoming prior art, there is provided a kind of number for LTE carrier waves
Word filter, can solve the problem that needs to switch the problem of various bandwidth carrier wave is filtered in real time in some specific LTE receiver devices,
Realize FPGA processing speed and take the optimal effect of the aspect of resource two, rationally the design complexities of reduction filtering system.
The purpose of the present invention is realized by following technical scheme:
A kind of digital filtering method for LTE carrier waves, comprises the following steps:
1st, the step of sample rate of regulation input signal and/or output signal makes adaptive system demand;
2nd, according to signal bandwidth size, the signal of no more than 5MHz bandwidth is divided into one group, by filtration module A processing,
It is filtered in certain sample rate;The signal that will be greater than 5MHz bandwidth is divided into another set, by filtration module B processing, certain
It is filtered in sample rate;
3rd, the signal after filtration module B processing, further across the processing of time delay adjusting module, so as to ensure filtration module A
With the uniformity of filtration module B two paths of signals time delays;
4th, control module completes parsing carrier bandwidths, control filtration module A and filtration module B switchings and delay of control is adjusted
The step of mould preparation block.
It is preferred that, regulation input signal and/or output signal sample rate the step of include:Rational sample rate is selected to enter
Row filtering, when sample rate is higher than filtering demands, carries out 2 times of extraction operations several times, sample rate is reduced into certain value;When adopting
When sample rate is less than filtering demands, 2 times of interpolation operations several times are carried out, sample rate is brought up into certain value;And adopted filtered
Sample rate is adjusted in same sample rate.
Further, the signal for being not more than 5MHz bandwidth is filtered with sample rate 7.68Msps;To more than 5MHz bands
Wide signal is filtered with sample rate 30.72Msps.
It is preferred that, methods described also includes step:Analysis filtration module A and filtration module B filtering obtains two
The delay inequality of module, using the delay inequality as parameter read-in to time delay adjusting module.
Further, when filtration module A or filtration module B filter coefficient change, two paths need to be analyzed again
Delay inequality, and update arrive time delay adjusting module.
It is preferred that, to the heavily loaded function of the signal application FIR filter of different bandwidth in real time according to selected filtering bandwidth to letter
Number it is filtered:The carrier band width values that coefficient heavy duty module is issued according to control module select different filter factors, according to spy
Selected filter factor is loaded into the heavily loaded FIR filter of coefficient by timing sequence, and coefficient heavy duty FIR filter completes corresponding filtering
Function.
It is preferred that, no more than the signal of 5MHz bandwidth includes tri- kinds of situations of 1.4MHz, 3MHz, 5MHz, more than 5MHz bandwidth
Signal include tri- kinds of situations of 10MHz, 15MHz, 20MHz.
A kind of digital filter apparatus for LTE carrier waves, including filtration module A, filtration module B, time delay adjusting module and
Control module;
Filtration module A includes the heavily loaded FIR filter of half-band filter, the first coefficient for the 2 times of extractions of two-stage being sequentially connected
With the half-band filter of 2 times of interpolation of two-stage;
Filtration module B includes the heavily loaded FIR filter of the second coefficient, while filtration module B is connected with time delay adjusting module;
Input signal is divided into two-way according to bandwidth, and the no more than signal of 5MHz bandwidth is exported after filtration module A processing, greatly
Exported in the signal of 5MHz bandwidth after filtration module B and the processing of time delay adjusting module;Control module completion parsing carrier bandwidths,
Control filtration module A and filtration module B switching, and delay of control adjusting module function.
It is preferred that, coefficient heavy duty FIR filter is connected with the heavily loaded module of coefficient, coefficient heavy duty module storage different bandwidth
Filter coefficient.
It is preferred that, time delay adjusting module is realized based on dual port RAM.
The present invention compared with prior art, has the following advantages that and beneficial effect:
1st, the present invention is divided into two groups according to six kinds of configurable bandwidths of LTE network agreement, selects rational sample rate to carry out
Filtering, can reach more preferable filter effect, reduce the complexity of filtering process, effectively save the resources such as FPGA multiplier.
2nd, the heavily loaded function of present invention application FIR filter can be filtered according to selected filtering bandwidth to signal in real time.
3rd, by the present invention in that ensureing that the time delay of Liang Zu filtering process branch is consistent with time delay adjusting module.
Brief description of the drawings
Fig. 1 is the processing module schematic diagram of embodiment;
Fig. 2 is the multiple-stage filtering schematic diagram of embodiment.
Embodiment
With reference to embodiment and accompanying drawing, the present invention is described in further detail, but embodiments of the present invention are not limited
In this.
Six kinds of bandwidth of LTE network are respectively:1.4MHz, 3MHz, 5MHz, 10MHz, 15MHz and 20MHz.According to band
It is roomy small, one group will be divided into a width of tri- kinds of situations of 1.4MHz, 3MHz, 5MHz, filtered on compared with low sampling rate 7.68Msps
Ripple;It is divided into another set with a width of tri- kinds of situations of 10MHz, 15MHz, 20MHz, is filtered on compared with high sampling rate 30.72Msps
Ripple.As shown in figure 1, filtration module A handles the carrier wave of low sampling rate, filtration module B handles the carrier wave of high sampling rate.Filtration module
A completes the signal filtering less than 5MHz bandwidth;Filtration module B completes the signal filtering more than 5MHz bandwidth.Because bandwidth is less than
5MHz filtering process all the way has more used FIR filtering compared to the filtering process all the way that band is wider than 5MHz, and compared with
It is filtered in low sample rate, therefore the time delay that bandwidth is less than 5MHz signal all the way is bigger.To ensure two paths of signals time delay
Uniformity, after band is wider than 5MHz signal transacting, adds a time delay adjusting module.Control module completes parsing carrier band
Wide, control switching switch, and delay of control adjusting module function.
Specifically, setting input is the zero intermediate frequency I or Q data that sample rate is 122.88Msps, being output as sample rate is
30.72Msps zero intermediate frequency data, as shown in Figure 2.
Pending data are sample rate 122.88Msps broadband zero intermediate frequency I or Q data, according to system requirements by the width
Band signal is filtered by LTE six kinds of bandwidth;Filtered zero intermediate frequency I or Q data need to transmit with sample rate 30.72Msps
To module below.Because the sample rate of input signal is 122.88Msps, it is necessary to carry out 2 times of extractions twice, sample rate is dropped
It is low to arrive 30.72Msps, to meet the signal filtering demand with a width of 10MHz, 15MHz, 20MHz.By sample rate 30.72Msps's
Signal carries out 2 times of extractions twice, and sample rate is reduced to 7.68Msps, is filtered with meeting the signal with a width of 1.4MHz, 3MHz, 5MHz
Ripple demand.Because the output signal sample rate of the system requirements module is 30.72Msps, therefore it is 7.68Msps to need sample rate
One group of signal carry out 2 times of interpolation operations twice, obtain the data that sample rate is 30.72Msps.
Here 2 times of extractions or 2 times of interpolation operations are carried out using half-band filter and filtered.First by sample rate
Half-band filter of the 122.88Msps signal by 2 times of extractions of two-stage, sample rate is reduced to 30.72Msps.It is divided into two herein
Branch.Branch's B process bandwidths are 10MHz, 15MHz and 20MHz signal, are filtered when sample rate is reduced to 30.72Msps
Ripple processing, can take into account bandwidth 20MHz situation.Branch A needs half-band filter again by 2 times of extractions of two-stage, sample rate
It is reduced to 7.68Msps.Bandwidth 1.4MHz, 3MHz and 5MHz signal are filtered on the basis of sample rate is 7.68Msps
Processing, can take into account bandwidth 5MHz situation.Half-band filters of the branch A again Jing Guo 2 times of interpolation of two-stage brings up to sample rate
30.72Msps, it is identical with branch B sample rate, it is easy to subsequent treatment.
Respectively using the FIR filter with the heavily loaded function of coefficient in two processing branches, by the heavily loaded module root of coefficient
The carrier band width values issued according to control module select different filter factors, load selected filter factor according to specific time sequence
Corresponding filter function is completed to coefficient heavy duty FIR, coefficient heavy duty FIR.As shown in Fig. 2 the FIR filter of two groups of signals is each
Coefficient of correspondence heavy duty modules A and the heavily loaded module B of coefficient.Coefficient heavy duty modules A memory bandwidth is 1.4MHz, 3MHz, 5MHz filter
Ripple device coefficient, coefficient heavy duty module B memory bandwidths are 10MHz, 15MHz, 20MHz filter coefficient, the heavily loaded mould of two coefficients
Block completes the function to corresponding coefficient heavy duty FIR loading coefficients.
Time delay adjusting module is based on dual port RAM realization, the time delay uniformity for adjusting branch A and branch B.Due to branch
A processing is complicated, and completes filtering operation under relatively low sample rate, larger compared to the time delay that branch B is introduced.In order to ensure two
The time delay of individual branch process is consistent, therefore a time delay adjusting module is added in branch B.According to analysis branch A and branch B filter
Wave process obtains the delay inequality of Liang Ge branches, using the delay inequality as parameter read-in to time delay adjusting module.When branch A or branch
During B filter coefficient change, the delay inequality in two paths need to be analyzed again, and update to time delay adjusting module.
Which finally, judged to select the output data of branch according to the carrier band width values of control module.Such design side
The problem of case has taken into full account saving resource and reduction design complexities, disclosure satisfy that and switch in real time in LTE signal processings
Filtering bandwidth, optimizes the complexity of filtering system, and ensure that the uniformity of Time Delay of Systems.
Above-described embodiment is preferably embodiment, but embodiments of the present invention are not by above-described embodiment of the invention
Limitation, other any Spirit Essences without departing from the present invention and the change made under principle, modification, replacement, combine, simplification,
Equivalent substitute mode is should be, is included within protection scope of the present invention.