Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of detection method of TD-SCDMA system time gap up-downlink direction, can simply and effectively judge the up-downlink direction of all time slots, and judges the position of second transfer point according to judged result.
In addition, the technical problem to be solved in the present invention also is to provide the checkout gear of TD-SCDMA system time gap up-downlink direction, can make the repeater that is applied to the TD-SCDMA system judge the up-downlink direction of all time slots exactly, support the dynamic change of second position of conversion point well.
The technical scheme that realizes the object of the invention is as follows:
A kind of detection method of TD-SCDMA system time gap up-downlink direction comprises the steps:
Obtain the timing information of each time slot of TS0 to TS6;
Calculate the timing synchronism deviation of TS2 to TS6 respectively with respect to TS0;
Timing synchronism deviation and decision threshold with TS2 to TS6 compares respectively:
If there is time slot greater than decision threshold, then determine greater than decision threshold and have the time slot of maximum timeslot number, TS2 is ascending time slot to this time slot so, and the next time slot of this time slot is descending time slot to TS6;
If there is no greater than the time slot of decision threshold, then TS2 to TS6 is descending time slot.
Wherein: the timing information that obtains each time slot of TS0 to TS6 according to following steps:
Extract the intermediate code data of corresponding time slot;
Obtain channel impulse response by channel estimating;
Near the channel impulse response peak by interpolation obtaining the peak of 1/8 chip precision, thereby obtain the timing position of corresponding time slot.
Described decision threshold is the regular hour lead of determining according to actual environment.
Preferably, described Timing Advance is 3/8 chip.
In addition, the present invention also provides a kind of checkout gear of TD-SCDMA system time gap up-downlink direction, comprising:
Information process unit is used for obtaining from received signal the timing information of each time slot of TS0 to TS6;
The synchronism deviation computing unit is used for the timing information that utilization obtains and calculates the timing synchronism deviation of TS2 to TS6 with respect to TS0;
The direction judging unit is used for respectively synchronism deviation and the decision threshold of TS2 to TS6 are compared, and judges the up-downlink direction of each time slot:
If there is time slot greater than decision threshold, then determine greater than decision threshold and have the time slot of maximum timeslot number, TS2 is ascending time slot to this time slot so, and the next time slot of this time slot is descending time slot to TS6;
If there is no greater than the time slot of decision threshold, then TS2 to TS6 is descending time slot.
Preferably, described information process unit further comprises:
Rf receiver unit is used for received RF signal and it is down-converted to analog baseband signal;
The base band receiving element is used for described analog baseband signal is converted to digital baseband signal, and delivers to channel estimating unit and down-going synchronous unit respectively;
Channel estimating unit, be used for extracting the intermediate code data of corresponding time slot according to digital baseband signal, carry out channel estimating and obtain channel impulse response, and near the channel impulse response peak by interpolation obtaining the peak of 1/8 chip precision, thereby obtain the timing information of corresponding time slot;
The down-going synchronous unit is used to obtain and keeps down-going synchronous with the base station.
Described decision threshold is the regular hour lead of determining according to actual environment.
Preferably, described Timing Advance is 3/8 chip.
Compared with prior art, technical scheme provided by the invention has following beneficial effect:
The present invention makes full use of the intrinsic timing difference characteristic of TD-SCDMA system uplink and downlink timeslot, simply and effectively judges the up-downlink direction of all time slots.By obtaining the timing information of each time slot of TS0 to TS6, in order to calculate the timing synchronism deviation of TS2 to TS6 respectively with respect to TS0; Respectively timing synchronism deviation and the decision threshold of TS2 to TS6 compared again, thereby effectively judge the up-downlink direction of each time slot, can also be according to the judged result of each time slot up-downlink direction, conclude that accurately second transfer point is at the ascending time slot with maximum timeslot number and have between the descending time slot of minimum timeslot number.
In addition, use the TD-SCDMA system repeater of technical solution of the present invention and not only can support the situation that second position of conversion point is fixing, can also support the dynamic change of second position of conversion point well, thereby better meet the demand that TD-SCDMA system up-downgoing business can this key property of symmetrical arrangements.
Below in conjunction with the drawings and specific embodiments the present invention is further described.
Embodiment
For the TD-SCDMA system, first position of conversion point is fixed, and TS0 is fixed as descending time slot, and TS1 is fixed as ascending time slot, has only the position changeable of second transfer point, and therefore, as long as judgement or known TSn are ascending time slot, then TS2 to TSn is ascending time slot; Or as long as judgement or known TSm are descending time slot, then TSm to TS6 is descending time slot, and the possible value of n and m is [2,3,4,5,6].
At present, have only network side can know the position of second transfer point exactly, therefore also know the up-downlink direction of TS2 to TS6.Network side is the up-downgoing common signal channel, as Physical Random Access Channel (PRACH, Physical Random Access Channel), forward physical access channel (FPACH, Forward Physical Access Channel), Page Indication Channel (PCH, Paging IndicatorChannel) etc. distributed time slot can obtain from the system message of base station broadcast, if these time slots are not to be distributed in TS0 and TS1, then corresponding time slot direction can be used as Given information.
Be without loss of generality, following description all is assumed to the common signal channel distributed time slot not in TS2 to TS6 scope, and promptly network side is assigned as business time-slot with TS2 to TS6, and adopts technical solution of the present invention to detect the up-downlink direction of these time slots.
The present invention utilizes the intrinsic timing difference of uplink and downlink timeslot to judge the up-downlink direction of time slot.Basic principle is as follows:
The TD-SCDMA system is very strict to requirement regularly, and the up-downgoing synchronization accuracy requires to remain in the 1/8chip.Generally, the TD-SCDMA system is a frame timing reference point with the TS0 original position.After the down-going synchronous between repeater acquisition and the base station, the timing of each descending time slot and frame regularly are fully synchronous, and promptly the relative position of each descending time slot is completely fixed, and timing offset is constant to be 0.Yet, in actual applications, always there is certain propagation distance between repeater and the base station, so the timing of ascending time slot always has regular hour lead (0...255.875chips is with reference to 3GPP TS25.123) with respect to the standard ascending time slot position that with descending slot timing is reference.
TD-SCDMA system uplink and downlink timeslot timing difference is as shown in Figure 2: TS3 and TS4 are ascending time slot, TS5 is a descending time slot, and according to descending timing, the original position of TS4 is at t0, and the actual delivery time of TS4 has certain lead at t1 than the etalon time t0 that with descending timing is reference.There is inherent variability (transmission lead) in the timing that is uplink and downlink timeslot, and, propagation distance between repeater and base station is far away more, up transmission lead is big more, be that the up-downgoing timing offset is big more, this feature that the present invention makes full use of TD-SCDMA system uplink and downlink signals is used to distinguish the up-downlink direction of each time slot.
Below, be described in detail in the process that the TD-SCDMA system detects time slot up-downlink direction in conjunction with Fig. 3, specific as follows:
The timing information of step 301, each time slot of acquisition TS0 to TS6:
Particularly, the timing information of each time slot of TS0 to TS6 can pass through channel impulse response (CIR, Channel Impulse Response) and obtain, and can obtain according to following steps:
At first, extract the intermediate code data of corresponding time slot;
Then, carry out channel estimating, obtain channel impulse response;
At last, near the channel impulse response peak by interpolation to obtain the peak of 1/8 chip precision, this position is the timing position information of the 1/8 chip precision of calculating.
Step 302, according to the timing information of each time slot that obtains, calculate the timing synchronism deviation of TS2 to TS6 respectively with respect to TS0;
Step 303, timing synchronism deviation and the decision threshold with TS2 to TS6 compares respectively: if there is time slot greater than decision threshold, then continues step 304, otherwise change step 305 over to;
Step 304, determine greater than decision threshold and have the time slot of maximum timeslot number that TS2 is ascending time slot to this time slot so, this time slot is descending time slot to TS6;
Step 305, do not have the time slot greater than decision threshold, then having only TS1 is ascending time slot, and remaining TS2 to TS6 is descending time slot.
Wherein, in above-mentioned steps 303 to 305, if the timing position that calculates is equipped with the regular hour lead with respect to the normal bit that with downlink frame regularly is reference, then this time slot is up, so TS2 is ascending time slot to this time slot; If not free lead or basically identical then this time slot are descending, so TS2 to TS6 is descending time slot.Here consider the influence that measure error may be brought, get the regular hour lead as decision threshold, this judging threshold can draw according to emulation or field test.Decision threshold is big more, and then court verdict is reliable more, but requires the propagation distance between test point (as the position, repeater) and the base station far away more.Generally, this decision threshold can be decided to be 3/8chip.In the TD-SCDMA system, the corresponding propagation distance of 1/8chip is 29.3m, and the corresponding propagation distance of 3/8chip is 87.9m.
In addition, according to the judged result of above-mentioned time slot up-downlink direction, can conclude that second transfer point is at the ascending time slot with maximum timeslot number and have between the descending time slot of minimum timeslot number.If between maximum timeslot number ascending time slot that has judged and minimum timeslot number descending time slot, there is the time slot that does not have signal, then be assumed to descending time slot to repeater performance also not influence, be descending time slot to all time slots of TS6 afterwards so the present invention supposes maximum timeslot number ascending time slot.
Adopt determination methods of the present invention the repeater framework as shown in Figure 4, comprising:
Control unit (CU, Control Unit) 401 is the core component of repeater, and it mainly is to realize in the control unit of repeater that time slot up-downlink direction of the present invention is judged; This control unit can multiplexing donor antenna, also can use independently to detect antenna 405 and receive two-way signaling, and supposition is used and independently detected antenna among the figure.
And single-pole double-throw switch (SPDT) 402, be expressed as SW1 and SW2 in the drawings;
Unidirectional amplifying circuit 403 is expressed as P1 and P2 in the drawings.
After control unit 401 detects time slot up-downlink direction, control the forwarding work that two switches 402 and two amplifying circuits 403 are finished two-way signaling.
Again as shown in Figure 5, be the inside primary structure schematic diagram of control unit 401.This control unit 401 comprises: radio-frequency transmitter 501, band receiver of base 502, channel estimating unit 503, down-going synchronous unit 504, synchronism deviation computing unit 505, direction judging unit 506 and control signal generating unit 507.
Wherein: at first, radio-frequency transmitter 501 will detect the radiofrequency signal that antenna 405 receives and down-convert to analog baseband signal, be converted to digital baseband signal via band receiver of base 502; Then, deliver to channel estimating unit 503 and down-going synchronous unit 504, obtain down-going synchronous and keep down-going synchronous with the base station; Slot synchronization deviation calculation unit 505 utilizes the result of channel estimating and down-going synchronous to calculate the synchronism deviation of each time slot, by the up-downgoing direction of propagation of direction judging unit 506 each time slots of judgement, produce the switch and the amplifying circuit work of control signals control repeaters at last by control signal generating unit 507.
In the switch and amplifying circuit work of control repeater:
For downstream signal, switch SW 1 and SW2 all connect the P1 side, and the repeater receives the downstream signal that the base station sends by donor antenna 404, send to terminal by retransmitting antenna 406 after P1 amplifies;
For upward signal, switch SW 1 and SW2 all connect the P2 side, and the repeater receives by the upward signal of retransmitting antenna self terminal in 406 future, sends to the base station by donor antenna 404 after P2 amplifies.
Because these two switches are to move simultaneously all the time, so these two single-pole double-throw switch (SPDT)s also can replace with a double-point double-throw switch.
In addition, the timing information of each time slot obtains by channel impulse response, specifically be by above-mentioned channel estimating unit 503, extract the intermediate code data of corresponding time slot according to digital baseband signal, carry out channel estimating and obtain channel impulse response, near the channel impulse response peak by interpolation obtaining the peak of 1/8 chip precision, thereby obtain the timing position information of corresponding time slot.
In addition, detection method of the present invention can also be applied in the TD-SCDMA terminal module, again this terminal module be applied in the TD-SCDMA repeater as control unit.
Detection method of the present invention can be applied to other time division duplexs (TDD, Time DivisionDuplex) system equally, such as the high spreading rate option TD-CDMA system of 3G (Third Generation) Moblie standard definition.
Above-described embodiment of the present invention does not constitute the qualification to protection range of the present invention.Any any modification of being done within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within the claim protection range of the present invention.