Summary of the invention
Judge in order to solve the information of only utilizing most powerful path in the prior art whether " synchronous sequence relation " changes, erroneous judgement easily, thereby make the unfavorable shortcoming of receiver performance, the invention provides uplink synchronization tracking method and device in a kind of TD-SCDMA system, it asks the energy square at all effective multipaths, and the relativeness of utilizing the energy square to obtain target location set in energy matrix center of gravity position and the outer shroud Synchronization Control parameter carries out whether " synchronous sequence relation " is changed and judge.The effective information of Li Yonging not merely is a most powerful path like this, but all multipaths make uplink synchronization tracking become more reliable, thereby guarantees receiver performance.
The invention provides the uplink synchronization tracking method in a kind of TD-SCDMA system, can may further comprise the steps: step 1, calculate the threshold value that is used to judge effective diameter; Step 2 is selected effective diameter according to threshold value; Step 3 is carried out the thresholding interpolation processing to the peak phase of selected effective diameter, to improve the precision of peak phase; Step 4 is carried out computing energy matrix center of gravity to the effective diameter that carries out after the interpolation processing; And step 5, the relativeness of set target location is judged the change of synchronous sequence relation in the position of the energy matrix center of gravity that utilization calculates and the outer shroud Synchronization Control parameter, and generates simultaneous bias order.
Step 1 comprises: average and the energy variance of calculating the reported energy sequence; Search the maximum of reported energy sequence, utilize the maximum value calculation maximum threshold; And according to the average of the reported energy sequence of being calculated and energy variance and the coefficient calculations threshold value that requires emulation to obtain according to systematic function.
Step 2 comprises: choose greater than threshold value from the reported energy value sequence, and compare former and later two the energy all big energy adjacent with energy in the reported energy sequence; And will with the corresponding footpath of energy as effective diameter.
Step 3 comprises: the Energy distribution relative position relation that calculates 2 of the front and back in the peak point in every footpath and every footpath; Determine the phase pushing figure that every footpath needs are adjusted according to the Energy distribution relative position relation; And, the peak phase in every footpath is adjusted according to phase pushing figure.
Wherein, energy matrix center of gravity be by with the product of phase place after the corresponding peak energy of selected each effective diameter and the thresholding interpolation divided by the energy of each effective diameter and obtain.
Step 5 comprises following processing: if the right of set target location in outer shroud Synchronization Control parameter, the position of energy matrix center of gravity, and the threshold value that the relative position of set target location is determined greater than system emulation in the position of energy matrix center of gravity and the outer shroud Synchronization Control parameter then sends " proposing previous step-length time emission " order; If the left side of set target location in outer shroud Synchronization Control parameter, the position of energy matrix center of gravity, and the threshold value that the relative position of set target location is determined greater than system emulation in the position of energy matrix center of gravity and the outer shroud Synchronization Control parameter then sends " postponing a step-length time emission " order; And if the threshold value that the relative position of set target location is determined less than system emulation in the position of energy matrix center of gravity and the outer shroud Synchronization Control parameter, then send " remaining unchanged " order.
The present invention also provides the uplink synchronous tracking device in a kind of TD-SCDMA system, can comprise: the energy input module, be used to import the reported energy sequence and with the corresponding phase information of energy sequence; The thresholding computing module is connected to the energy input module, is used to calculate the threshold value that is used to judge effective diameter; Effective diameter is chosen module, is connected with the thresholding computing module, is used for selecting effective diameter according to threshold value; The energy threshold interpolating module is chosen module with effective diameter and is connected, and the peak phase that is used for effective diameter is chosen the selected effective diameter of module carries out the thresholding interpolation processing, to improve the precision of peak phase; The energy matrix center of gravity computing module is connected to the energy threshold interpolating module, is used for the effective diameter that carries out after the interpolation processing is carried out computing energy matrix center of gravity; And the simultaneous bias order generation module, be used for utilizing the relativeness of the set target location of the position of the energy matrix center of gravity that calculates and outer shroud Synchronization Control parameter to judge the change of synchronous sequence relation, and produce simultaneous bias order.
The thresholding computing module comprises: energy variance computing module is used for the variance of calculation training sequence channel impulse response energy; The average energy value computing module is used for the average of calculation training sequence channel impulse response energy; Maximum is searched module, is used to search the maximum of training sequence channel impulse response energy; The first thresholding computing module is used for the average according to energy, the variance of energy and the factor I of outside input and calculates first threshold value, and exports first threshold value to thresholding selection module; The second thresholding computing module is used for the average according to energy, the maximum of energy and the factor of outside input and calculates second threshold value, and exports second threshold value to thresholding selection module; The max threshold computing module is used for the maximum according to energy, calculates maximum threshold, and exports maximum threshold to thresholding selection module; And thresholding selection module, be used for from the threshold value of first threshold value, second threshold value and maximum threshold selection effective diameter, wherein factor I is the coefficient that requires emulation to obtain according to systematic function greater than 1; And factor is the coefficient that requires emulation to obtain according to systematic function greater than 0 and less than 1.
Wherein, the threshold value of the effective diameter smaller that to be first threshold value compare with maximum threshold with the greater between second threshold value.Effective diameter is chosen module and is chosen greater than threshold value from the reported energy value sequence, and compares former and later two the energy all big energy adjacent with energy in the reported energy sequence; And will with the corresponding footpath of energy as effective diameter.
The energy threshold interpolating module is used to calculate the Energy distribution relative position relation of 2 of the front and back in the peak point in every footpath and every footpath; Determine the phase pushing figure that every footpath needs are adjusted according to the Energy distribution relative position relation; And, the peak phase in every footpath is adjusted according to phase pushing figure.
Energy matrix center of gravity be by with the product of phase place after the corresponding energy of selected each effective diameter and the thresholding interpolation divided by the energy of each effective diameter and obtain.
In device according to the present invention, under the situation of the threshold value that the relative position of simultaneous bias order generation module set target location in the position of the right of set target location in outer shroud Synchronization Control parameter, position of energy matrix center of gravity and energy matrix center of gravity and outer shroud Synchronization Control parameter is determined greater than system emulation, send " proposing previous step-length time emission " order; Under the situation of the threshold value that the relative position of simultaneous bias order generation module set target location in the position of the left side of set target location in outer shroud Synchronization Control parameter, position of energy matrix center of gravity and energy matrix center of gravity and outer shroud Synchronization Control parameter is determined greater than system emulation, send " postponing a step-length time emission " to order; And under the situation of the threshold value determined less than system emulation of the relative position of simultaneous bias order generation module set target location in the position of energy matrix center of gravity and outer shroud Synchronization Control parameter, send " remaining unchanged " order.
Thereby, adopt the present invention, earlier the multipath that surpasses thresholding is carried out asking the energy square again after the thresholding interpolation, the relativeness of utilizing the energy square to obtain target location set in energy matrix center of gravity position and the outer shroud Synchronization Control parameter then carries out whether " synchronous sequence relation " is changed and judge.The effective information of Li Yonging not merely is a most powerful path like this, but all multipaths, utilization contains much information, and makes uplink synchronization tracking become more reliable, thereby has guaranteed the performance of receiver.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in qualification the present invention.
Fig. 1 is the operational flowchart according to uplink synchronization tracking method of the present invention.As shown in Figure 1, this method can may further comprise the steps:
Step S102 calculates the threshold value that is used to judge effective diameter;
Step S104 selects effective diameter according to threshold value;
Step S106 carries out the thresholding interpolation processing to the peak phase of selected effective diameter, to improve the precision of peak phase;
Step S108 carries out computing energy matrix center of gravity to the effective diameter that carries out after the interpolation processing; And
Step S110, the relativeness of set target location is judged the change of synchronous sequence relation in the position of the energy matrix center of gravity that utilization calculates and the outer shroud Synchronization Control parameter, and produces simultaneous bias order.
Step S102 comprises: average and the energy variance of calculating the reported energy sequence; Search the maximum of reported energy sequence, utilize the maximum value calculation maximum threshold; And according to the average of the reported energy sequence of being calculated and energy variance and the coefficient calculations threshold value that requires emulation to obtain according to systematic function.
Step S104 comprises: choose greater than threshold value from the reported energy value sequence, and compare former and later two the energy all big energy adjacent with energy in the reported energy sequence; And will with the corresponding footpath of energy as effective diameter.
Step S106 comprises: the Energy distribution relative position relation that calculates 2 of the front and back in the peak point in every footpath and every footpath; Determine the phase pushing figure that every footpath needs are adjusted according to the Energy distribution relative position relation; And, the peak phase in every footpath is adjusted according to phase pushing figure.
Wherein, energy matrix center of gravity be by with the product of phase place after the corresponding energy of selected each effective diameter and the thresholding interpolation divided by the energy of each effective diameter and obtain.
Step S110 comprises following processing: if the right of set target location in outer shroud Synchronization Control parameter, the position of energy matrix center of gravity, and the threshold value that the relative position of set target location is determined greater than system emulation in the position of energy matrix center of gravity and the outer shroud Synchronization Control parameter then sends " proposing previous step-length time emission " order; If the left side of set target location in outer shroud Synchronization Control parameter, the position of energy matrix center of gravity, and the threshold value that the relative position of set target location is determined greater than system emulation in the position of energy matrix center of gravity and the outer shroud Synchronization Control parameter then sends " postponing a step-length time emission " order; And if the threshold value that the relative position of set target location is determined less than system emulation in the position of energy matrix center of gravity and the outer shroud Synchronization Control parameter, then send " remaining unchanged " order.
Below introduce in detail process according to uplink synchronization tracking method of the present invention, specific as follows.
At first, calculate the limit value Thsd that is used to judge effective diameter, threshold value is calculated concrete operations and is:
(1) utilizes formula E
Mean=(E
0+ ...+E
M-1)/M calculates and reports " training sequence channel impulse response energy " sequence E
0, E
1..., E
M-1Average;
(2) utilize formula E
Var=(| E
0-E
Mean|+...+| E
M-1-E
Mean|)/M calculates " training sequence channel impulse response energy " serial variance;
(3) search the maximum E of " training sequence channel impulse response energy " sequence
Max
(4) utilize formula Thsd
Max=E
Max-1 calculates max threshold Thsd
Max
(5) utilize formula Thsd
0=E
Mean+ E
Var* Factor
0(Factor
0>1, concrete value requires emulation to obtain according to systematic function) calculating thresholding Thsd
0
(6) utilize formula Thsd
1=E
Mean+ (E
Max-E
Mean) * Factor
1(0<Factor
1<1, concrete value requires emulation to obtain according to systematic function) calculating thresholding Thsd
1And
(7) utilize formula Thsd=min (max (Thsd
0, Thsd
1), Thsd
Max) calculating thresholding (M represents the number of " training sequence channel impulse response energy " sequence).
Next, carry out effective diameter according to threshold T hsd and choose, effective diameter is chosen rule and is: " training sequence channel impulse response energy " sequence E
1..., E
M-2In, if E
iEnergy satisfies E simultaneously greater than the first thresholding Thsd
I-1<E
i, and E
i>E
I+1Then the footpath of this energy correspondence just is an effective diameter.
Then, the peak value (E of the effective diameter that the last step is selected
Peak) phase place carries out the thresholding interpolation processing, makes phase accuracy higher, the thresholding interpolation processing is as follows:
(1) utilizes formula R=[E
Peak-1-E
Peak+1]/E
Peak, calculate the Energy distribution relative position relation of 2 of every multipath peak point and its front and back;
(2) the thresholding Th that utilizes calculated energy distribution relative position relation R and system emulation to determine compares, thereby determines phase pushing figure Offset
DeltaAnd
(3) utilize peak phase P after formula calculates the effective diameter interpolation
Peak=P
Peak+ Offset
Delta
In (2), thresholding Th and phase deviation degree Offset
DeltaCorresponding relation determine by emulation.To thresholding Th and phase deviation degree Offset be described with an example below
DeltaCorresponding relation, suppose that their corresponding relation is as shown in the table, then when R approaching-3/16 the time, Offset
DeltaGet+1/8chip, when R approaching+3/16 the time, Offset
DeltaGet-1/8chip, when R approaching-3/8 the time, Offset
DeltaGet+2/8chip, when R approaching+3/8 the time, Offset
DeltaGet-2/8chip:
Th |
Offset
Delta |
-3/8 |
+2/8chip |
+3/8 |
-2/8chip |
-3/16 |
+1/8chip |
+3/16 |
-1/8chip |
After this, effective diameter energy information after the interpolation and phase information are used E respectively
Finger0, E
Finger1..., E
FingerK-1And P
Finger0, P
Finger1..., P
FingerK-1Characterize (the bar number that K represents effective diameter), utilize formula P
G=(E
Finger0* P
Finger0+ ... .+E
FingerK-1* P
FingerK-1)/(E
Finger0+ ... .+E
FingerK-1) come the center of gravity phase place P of calculating energy square
G
At last, utilize the energy matrix center of gravity information that calculates to carry out " synchronous sequence relation " and whether change judgement, concrete operations are: if energy matrix center of gravity P
GDeduct set target phase Peak in the outer shroud Synchronization Control parameter
TargetValue greater than the threshold T hsd of default
P, then simultaneous bias order SS equals 11, if set target phase Peak in the outer shroud Synchronization Control parameter
TargetDeduct energy matrix center of gravity P
GValue greater than the threshold T hsd of default
P, then simultaneous bias order SS equals 00, and other situation simultaneous bias order SS equals 01.
Fig. 2 is the block diagram according to the uplink synchronous tracking device 200 in the TD-SCDMA of the present invention system.As shown in Figure 2, this device comprises: energy input module 202, be used to import the reported energy sequence and with the corresponding phase information of energy sequence; Thresholding computing module 204 is connected to energy input module 202, is used to calculate the threshold value that is used to judge effective diameter; Effective diameter is chosen module 206, is connected 204 with the thresholding computing module, is used for selecting effective diameter according to threshold value; Energy threshold interpolating module 208 is chosen module 206 with effective diameter and is connected, and the peak phase that is used for effective diameter is chosen module 206 selected effective diameters carries out the thresholding interpolation processing, to improve the precision of peak phase; Energy matrix center of gravity computing module 210 is connected to energy threshold interpolating module 208, is used for the effective diameter that carries out after the interpolation processing is carried out computing energy matrix center of gravity; And simultaneous bias order generation module 212, be used for utilizing the relativeness of the set target location of the position of the energy matrix center of gravity that calculates and outer shroud Synchronization Control parameter to judge the change of synchronous sequence relation, and produce simultaneous bias order.
Thresholding computing module 204 comprises: energy variance computing module is used for the variance of calculation training sequence channel impulse response energy; The average energy value computing module is used for the average of calculation training sequence channel impulse response energy; Maximum is searched module, is used to search the maximum of training sequence channel impulse response energy; The first thresholding computing module is used for the average according to energy, the variance of energy and the factor I of outside input and calculates first threshold value, and exports first threshold value to thresholding selection module; The second thresholding computing module is used for the average according to energy, the maximum of energy and the factor of outside input and calculates second threshold value, and exports second threshold value to thresholding selection module; The max threshold computing module is used for the maximum according to energy, calculates maximum threshold, and exports maximum threshold to thresholding selection module; And thresholding selection module, be used for from the threshold value of first threshold value, second threshold value and maximum threshold selection effective diameter, wherein factor I is the coefficient that requires emulation to obtain according to systematic function greater than 1; And factor is the coefficient that requires emulation to obtain according to systematic function greater than 0 and less than 1.
Wherein, the threshold value of the effective diameter smaller that to be first threshold value compare with maximum threshold with the greater between second threshold value.Effective diameter is chosen module and is chosen greater than threshold value from the reported energy value sequence, and compares former and later two the energy all big energy adjacent with energy in the reported energy sequence; And will with the corresponding footpath of energy as effective diameter.
Energy threshold interpolating module 208 is used to calculate the Energy distribution relative position relation of 2 of the front and back in the peak point in every footpath and every footpath; Determine the phase pushing figure that every footpath needs are adjusted according to the Energy distribution relative position relation; And, the peak phase in every footpath is adjusted according to phase pushing figure.
Energy matrix center of gravity be by with the product of phase place after the corresponding energy of selected each effective diameter and the thresholding interpolation divided by the energy of each effective diameter and obtain.
In device according to the present invention, under the situation of the threshold value that the relative position of simultaneous bias order generation module 212 set target location in the position of the right of set target location in outer shroud Synchronization Control parameter, position of energy matrix center of gravity and energy matrix center of gravity and outer shroud Synchronization Control parameter is determined greater than system emulation, send " proposing previous step-length time emission " order; Under the situation of the threshold value that the relative position of simultaneous bias order generation module set target location in the position of the left side of set target location in outer shroud Synchronization Control parameter, position of energy matrix center of gravity and energy matrix center of gravity and outer shroud Synchronization Control parameter is determined greater than system emulation, send " postponing a step-length time emission " to order; And under the situation of the threshold value determined less than system emulation of the relative position of simultaneous bias order generation module set target location in the position of energy matrix center of gravity and outer shroud Synchronization Control parameter, send " remaining unchanged " order.
Fig. 3 is the structure chart according to the uplink synchronous tracking device of the embodiment of the invention.As shown in Figure 3, comprise that energy input module 300, effective diameter choose module 302, thresholding interpolating module 303, energy matrix center of gravity computing module 304, simultaneous bias (SS) order generation module 305, " thresholding Th and phase deviation degree Offset
DeltaMapping table " 306 and energy variance computing module 301.1, average energy value computing module 301.2, maximum search module 301.3, max threshold computing module 301.4, the first thresholding computing module 301.5, the second thresholding computing module 301.6, thresholding and choose module 301.7, factor Factor
0Input module 301.8, factor Factor
1Input module 301.9.
Wherein, energy input module 300 is used to import training sequence channel impulse response ENERGY E
Finger0, E
Finger1..., E
FingerK-1With corresponding phase information P
Finger0, P
Finger1..., P
FingerK-1
Energy variance computing module 301.1 utilizes formula E
Var=(| E
0-E
Mean|+...+| E
M-1-E
Mean|)/M calculates " training sequence channel impulse response energy " serial variance.
Average energy value computing module 301.2 utilizes formula E
Mean=(E
0+ ...+E
M-1)/M calculates and reports " training sequence channel impulse response energy " sequence E
0, E
1..., E
M-1Average.
Maximum is searched the maximum E that module 301.3 is used to search training sequence channel impulse response energy
Max, and output to the max threshold computing module.
Max threshold calculates mould sharp 301.4 and uses formula Thsd
Max=E
Max-1 calculates max threshold Thsd
MaxAnd maximum threshold Thsd
MaxExport to thresholding and select module 301.7.
The first thresholding computing module 301.5 utilizes formula Thsd
0=E
Mean+ E
Var* Factor
0(Factor
0>1, Factor
0By module 301.8 inputs) calculating thresholding Thsd
0, and export to thresholding and select module 301.7.
The second thresholding computing module 301.6 utilizes formula Thsd
1=E
Mean+ (E
Max-E
Mean) * Factor
1(0<Factor
1<1, Factor
1By module 301.9 inputs) calculating thresholding Thsd
1, and export to thresholding and select module 301.7.
Thresholding selects module 301.7 to utilize formula Thsd=min (max (Thsd
0, Thsd
1), Thsd
Max) calculate thresholding Thsd, and the result is outputed to effective diameter choose module 302.
Effective diameter is chosen module 302 and is chosen rule " training sequence channel impulse response energy " sequence E according to threshold T hsd and effective diameter
1..., E
M-2In, if E
iEnergy satisfies E simultaneously greater than the first thresholding Thsd
I-1<E
i, and E
i>E
I+1Then the footpath of this energy correspondence just is an effective diameter " carry out effective diameter and choose, and the information of choosing effective diameter is input to energy threshold interpolating module 303.
Energy threshold interpolating module 303 is according to the Energy distribution relative position relation of every multipath peak point and 2 of its front and back and " the thresholding Th and the phase deviation degree Offset of module 306 inputs
DeltaCorresponding relation ", the multipath peak value is carried out thresholding interpolation and phase place adjustment, and adjusted information is outputed to energy matrix center of gravity computing module 304.
Effective diameter energy information and phase information after 304 pairs of interpolation of energy matrix center of gravity computing module are used E respectively
Finger0, E
Finger1..., E
FingerK-1And P
Finger0, P
Finger1..., P
FingerK-1Characterize (the bar number that K represents effective diameter), utilize formula P
G=(E
Finger0* P
Finger0+ ... .+E
FingerK-1* P
FingerK-1)/(E
Finger0+ ... .+E
FingerK-1) come the center of gravity phase place P of calculating energy square
G, and energy barycenter information outputed to simultaneous bias (SS) order generation module.
Simultaneous bias (SS) order generation module 305 is according to target location relativeness set in residing phase place of energy matrix center of gravity and the outer shroud Synchronization Control parameter and module 307 " set target location Peak in the outer shroud Synchronization Control parameter
TargetAnd thresholding " produce simultaneous bias order.
In sum, adopt method and apparatus of the present invention, make uplink synchronization tracking become more reliable, thereby guaranteed the performance of receiver.
Be the preferred embodiments of the present invention only below, be not limited to the present invention, for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.