Summary of the invention
The Rake receiving method and the hardware unit that the object of the present invention is to provide a kind of dynamic time sequence to adjust are handled in real time to data in the receiving course of data, save hardware spending, and simplify the management process in path in the Rake receiving course.
The present invention by the following technical solutions, a kind of rake reception device comprises with the lower part:
Dynamic descrambling and de-spreading module, the routing information that obtains according to Cell searching and route searching, and the channel scrambler and the spreading code of software arrangements, finish the descrambling and de-spreading of corresponding data channel data frame, and with output data channel signal and Primary Common Pilot Channel data deliver to dynamic channel estimation module and described data cache module respectively, if the position of current path changes, then described dynamic descrambling and de-spreading module finishes the processing of current data frame, begins new path position is carried out descrambling and de-spreading; Described dynamic channel estimation module links to each other with described dynamic descrambling and de-spreading module, and carries out channel estimating according to the Primary Common Pilot Channel data that receive from dynamic descrambling and de-spreading module; Interpolation/abstraction module links to each other with described dynamic channel estimation module, finishes the interpolation/extraction of channel estimation value and handles;
The dynamic channel compensating module links to each other respectively with described data cache module with described interpolation/abstraction module, is used for according to the principle of channel compensation data channel being carried out corresponding channel compensation.
Data cache module links to each other with described dynamic channel compensating module with dynamic descrambling and de-spreading module respectively, is used for the data of data channel are carried out buffer memory;
Rake merges module, and the The data high specific on each path after the compensation is merged.
Further, described dynamic descrambling and de-spreading module also comprises in order to produce the scrambler generator of channel scrambler, in order to the spreading code generator of generation spreading code with in order to the descrambling and de-spreading device to the channel data frame descrambling and de-spreading.
Further, described dynamic channel estimation module also comprises dynamic channel estimated value computing module and dynamic channel estimated value filter module;
Described dynamic channel estimated value computing module is used for calculating channel estimation value according to the Primary Common Pilot Channel data symbol that receives;
Described dynamic channel estimated value filter module is the FIR filter, is used for described channel estimating Value Data is carried out Filtering Processing.
Further, the data channel of described dynamic descrambling and de-spreading module support is DPCH or Secondary Common Control Physical Channel.
Further, the interpolation of described interpolation/abstraction module is treated to zeroth order maintenance interpolation or first-order linear interpolation.
In order to solve the problems of the technologies described above, the present invention also provides a kind of Rake receiving method, said method comprising the steps of:
Step 1, dynamically the descrambling and de-spreading module is according to the positional information in each path that obtains from Cell searching and route searching unit, and according to the scrambler and the spreading code of the channel that obtains from software, Primary Common Pilot Channel and data channel to each path carry out descrambling and de-spreading, obtain the Primary Common Pilot Channel in each path and the data symbol of data channel respectively;
Step 2, dynamic channel estimation module and interpolation/abstraction module use Primary Common Pilot Channel data described in the step 1 to carry out channel estimating and interpolation/extraction, obtain the channel estimation value in each path; Simultaneously, data cache module is carried out buffer memory to the data of described data channel;
Step 3, the dynamic channel compensating module carries out channel compensation according to the principle of channel compensation to the data of data channel;
Step 4, Rake merge the data symbol of module after to the compensation in each path and carry out high specific and merge.
Further, in the described step 1, if the position of current path changes, then described dynamic descrambling and de-spreading module finishes the processing of current data frame, begins new path position is carried out descrambling and de-spreading.
Further, in the described step 2,, then keep previous channel estimation value constant if, can not calculate channel estimation value because the variation of path position causes the Primary Common Pilot Channel Frame imperfect.
Further, in the described step 3,, perhaps do not have corresponding channel estimating to compensate, then export remainder certificate if, cause the current data frame loss of data because the current path position changes.
Compared with prior art, dynamic time sequence of the present invention is adjusted Rake receiving method and device, has greatly simplified the management process in path during Rake receives, and has saved the time of hardware handles, has realized the real-time of Base-Band Processing simultaneously.And this rake reception device does not need to take the DSP resource, has saved hardware resource and software overhead, has reduced system cost.
Embodiment
Below in conjunction with accompanying drawing the specific embodiment of the present invention is elaborated.
As shown in Figure 4, be the Rake receiver structure chart of first embodiment of the invention.This device comprises: dynamic descrambling and de-spreading module, and the dynamic channel estimation module, interpolation/abstraction module, data cache module, the dynamic channel compensating module, Rake merges module.Wherein,
With reference to shown in Figure 4, be the Rake receiver structure chart of first embodiment of the invention.This device comprises: dynamic descrambling and de-spreading module, and the dynamic channel estimation module, interpolation/abstraction module, data cache module, the dynamic channel compensating module, Rake merges module.Wherein,
The dynamic routing information that obtains according to Cell searching and route searching of descrambling and de-spreading module, and the channel scrambler and the spreading code of software arrangements are finished the descrambling and de-spreading process of respective channels Frame.This descrambling and de-spreading module comprises the scrambler generator, spreading code generator and descrambling despreader three parts.Support data channel, as DPCH (Dedicated Physical Channel, DPCH) and Secondary Common Control Physical Channel (Secondary Common Control Physical Channel, S-CCPCH) etc. descrambling and de-spreading, and with output data channel signal and Primary Common Pilot Channel data deliver to dynamic channel estimation module and described data cache module respectively;
The dynamic channel estimation module comprises two parts: dynamic channel estimated value computing module and dynamic channel estimated value filter module.Described dynamic channel estimated value computing module calculates channel estimation value according to the P-CPICH symbol that receives.For the influence of filtering noise, also need the channel estimation value that calculates is carried out Filtering Processing, dynamic channel estimated value filter module is finished this function, and what the channel estimating value filtering adopted is the FIR filter.
After channel estimation value carried out the FIR filter process, obtain the precise channels estimated value in order to make data channel, interpolation/abstraction module is finished interpolation/extraction of channel estimating and is handled.Can use zeroth order to keep interpolation, perhaps first-order linear interpolation to the interpolation of channel estimation value.After channel estimation value finished interpolation/extraction, make channel estimation value corresponding one by one with data symbol, speed is mated fully.
Data cache module links to each other with described dynamic descrambling and de-spreading module, is used for the data of data channel are carried out buffer memory.
The dynamic channel compensating module links to each other respectively with described data cache module with described interpolation/abstraction module, according to the principle of channel compensation data channel is carried out corresponding channel compensation.
Rake merges module the The data high specific on each path after compensating is merged.
As shown in Figure 5, be second embodiment of the present invention Rake receiving method flow chart.The method comprising the steps of:
Step 501: obtain the position in each path from Cell searching and route searching unit, obtain the scrambler and the spreading code of channel from software;
Step 502: P-CPICH channel and data channel to each path in dynamic descrambling and de-spreading module carry out descrambling and de-spreading, obtain the P-CPICH in each path and the data symbol of data channel respectively.When the position of current path changed, the descrambling and de-spreading module can finish the processing of current data frame, brought into use new path position to carry out descrambling and de-spreading.Because the variation of path position is arranged, cause some symbol can not carry out complete descrambling and de-spreading, these symbols will be dropped, and the Frame of descrambling and de-spreading module output might be imperfect like this;
Step 503: in dynamic channel estimated value computing module to each path, use P-CPICH to carry out channel estimation calculation, if because the variation of path position, the P-CPICH channel data frame is imperfect, can not calculate channel estimation value, then keep previous channel estimation value constant;
Step 504: in dynamic channel estimated value filtration module, the channel estimation value that calculates is carried out filter filtering.If this moment, path position changed, then current filter is resetted, use new path position to restart filtering;
Step 505: in interpolation/abstraction module, filtered channel estimation value is carried out interpolation/extraction, obtain the channel estimation value in each path;
Step 506: the data to data channel in data cache module are carried out buffer memory;
Step 507: the data to data channel in the dynamic channel compensating module are carried out channel compensation.If, cause the current data frame loss of data because the current path position changes, perhaps there is not corresponding channel estimating to compensate, then export remainder certificate;
Step 508: the data symbol after the compensation in each path is carried out high specific merge.
Come technical scheme of the present invention is described below by the example in concrete the application.In an application example of the present invention, in DRP data reception process, the process that system finishes the Rake reception is as follows:
1), dsp software initiates a Cell searching and route searching process, Cell searching has obtained information such as the scrambler of current area and spreading code.Feed back to dsp software.Simultaneously, begin to carry out route searching, the routing information that searches is sent to dynamic time sequence adjust Rake receiver.
2), DSP adjusts the Rake machine to dynamic time sequence and disposes corresponding scrambler, spreading code information, simultaneously, dynamic time sequence is adjusted the Rake machine and is received the routing information that path searcher module sends over, dynamically carry out descrambling and de-spreading in the descrambling and de-spreading module, obtaining P-CPICH channel data and data channel signal behind the descrambling and de-spreading.With reference to shown in Figure 6, with the P-CPICH channel is example, if the variation of path position has taken place this moment, promptly change to path position 1 from path position 0, dynamic time sequence is adjusted the Rake machine and is received new path from path searcher module, and promptly path position 1, restarts to carry out descrambling and de-spreading from path position 1, the symbol that does not have descrambling and de-spreading to finish in the former frame (frame 1) all abandons, and symbol 9 abandons as shown in the figure.The tentation data channel is DPCH, and the phase bias of itself and P-CPICH channel is 0, and the spreading factor of DPCH is 256, the then same because variation in path, and last symbol that causes DPCH channel frame 1 is that symbol 9 abandons.
3), dynamic channel estimated value computing module uses the P-CPICH channel to carry out channel estimation value and calculates, generally speaking, two P-CPICH symbols calculate a channel estimation value, as shown in Figure 7.If, cause the CPICH symbol of postamble not occur in pairs, as shown in Figure 8 because path position changes.Because path position changes, the 9th symbol of P-CPICH channel lost, and channel estimation module can not calculate corresponding channel estimation value, the channel estimation value 3 that channel estimation module will once calculate before will keeping.
4), in dynamic channel estimated value filtration module, the channel estimation value that calculates is carried out filtering is obtained the channel estimation value in path.If path position changes, then when beginning, new route need reset to filter, supposing to have limit for length's impact response filter (FIR) is 3 rank mean filters, after the path changes, preceding 3 channel estimation values that new route calculates are followed successively by F1, F2, F3, then the reseting procedure of filter is as follows:
After receiving first channel estimation value, FIR is output as: F1+F1+F1.
After receiving second channel estimation value, FIR is output as: F2+F1+F1.
After receiving the 3rd channel estimation value, FIR is output as: F3+F2+F1.
Recover normal with postfilter work.
5), in interpolation/abstraction module, carry out interpolation/extraction processing to getting channel estimation value after the filtering.
6), when the calculating channel estimated value, in data cache module to carrying out buffer memory with constantly data channel.
7), after channel estimation value produces, the dynamic channel compensating module can be read corresponding channel data constantly and carry out channel compensation from data cache module.If because path change causes data channel signal to lose or the CPICH channel does not have effective channel estimation value, then the compensation result of these data is zero.As shown in Figure 9, the DPCH channel causes symbol 8 not have corresponding channel estimation value because path change causes symbol 9 to be lost simultaneously, and therefore, the channel compensation result of symbol 8 is output as 0.
8), the channel data after the compensation of each paths sends into Rake and merges module, merges, and produces final channel data.
9), the data symbol after Rake merged sends Rake receiver, carries out subsequent treatment.
Certainly; the present invention also can have other numerous embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; be familiar with those of ordinary skill in the art and can make various corresponding changes and distortion, but these corresponding changes and distortion all should belong to protection range of the presently claimed invention according to the present invention.