Disclosure of Invention
In order to solve the problems in the prior art, the present disclosure aims to provide a method, a system and a device for calculating a distance between a ue and a ue based on a TA value. The method and the device can greatly improve the distance calculation precision of the user terminal, further improve the positioning precision and better meet the requirement of high-precision positioning.
The method for calculating the distance of the user terminal based on the TA value comprises the following steps:
s01, estimating the distance between the target user terminal and the base station according to the uplink timing advance TA value of the target user terminal, and recording as the estimated distance
;
S02, receiving a target signal sent by a target user terminal and sampling frequency
Analog-to-digital converting the target signal and->
Wherein is present>
Represents a reference sampling frequency, <' > or>
For characterizing the sampling frequency->
A sampling frequency multiple relative to a reference sampling frequency;
s03, generating a local time domain DMRS signal according to the PUSCH configuration parameter of the target user terminal
And based on the sampling frequency multiple>
Obtaining information regarding the local time-domain DMRS signal >>
Is greater than or equal to>
;
S04, filtering the target signal;
s05, extracting the uplink time domain DMRS signal of the target signal according to the frame timing determined by the uplink timing advance TA value
And based on said sampling frequency multiple>
And an upstream window length of said target signal>
Obtaining a DMRS signal @ in relation to the uplink time domain>
Is greater than or equal to a second dimension->
;
S06, according to the sampling frequency multiple
And an upstream window length of said target signal>
Obtaining a calculation window length>
Separately for said local time domain DMRS signal->
And the uplink time-domain DMRS signal->
Long/long in the calculation window>
Internally calculating correlation values, taking the module values of the two correlation value calculation results, and combining the two correlation value calculation results to obtain a correlation value combination result which is used for combining the values>
;
S07, merging results in the correlation value
The position corresponding to the medium search maximum->
Based on the position->
Calculating to obtain an uplink timing deviation of->
Sampling points;
s08, according to the uplink timing deviation
Computationally obtaining information regarding said evaluated distance>
Is greater than or equal to>
;
S09, estimating the distance according to the distance
And said distance deviation>
And calculating and obtaining the accurate distance between the target user terminal and the base station>
。
Preferably, the step S01 is specifically:
estimating the estimated distance between the target user terminal and the base station according to the following formula
:
Preferably, the step S03 specifically includes:
generating corresponding frequency domain DMRS signals according to PUSCH configuration parameters and protocols of a target user terminal, converting the obtained frequency domain DMRS signals into time domains, and obtaining the local time domain DMRS signals of 2 time slots
The first dimension
。
Preferably, the step S04 is specifically:
and moving the center point of the resource block occupied by the target signal to the center of zero frequency, and then filtering the target signal by taking the width of the resource block occupied by the target signal as the passband bandwidth.
Preferably, the step S05 specifically includes:
advancing the DMRS timing position of the target signal according to the frame timing determined by the TA value
A sampling point for extracting the uplink time domain DMRS signal(s) in 2 time slots of the target signal>
Wherein
Said second dimension->
。
Preferably, step S07 is specifically:
calculating the uplink timing offset according to the following formula
:
Preferably, the step S08 specifically includes:
calculating the distance deviation as follows
:/>
The step S09 is specifically:
calculating the precise distance according to the following formula
:
The disclosed user terminal distance calculation system based on TA value includes:
an estimation module, configured to estimate a distance between the target ue and the base station according to the TA value of the uplink timing advance of the target ue, which is recorded as an estimated distance
;
An analog-to-digital conversion module for receiving a target signal sent by a target user terminal and sampling frequency
Analog-to-digital converting the target signal and->
In which>
Represents a reference sampling frequency, <' > or>
For characterizing a sampling frequency>
A sampling frequency multiple relative to a reference sampling frequency;
a local time domain DMRS signal generation module for generating a local time domain DMRS signal according to the PUSCH configuration parameter of the target user terminal
And based on the sampling frequency multiple>
Obtaining information regarding the local time-domain DMRS signal >>
Is greater than or equal to>
;
The filtering module is used for carrying out filtering processing on the target signal;
an uplink time domain DMRS signal extraction module, configured to extract the uplink time domain DMRS signal of the target signal according to the frame timing determined by the uplink timing advance TA value
And based on the sampling frequency multiple>
And an upstream window length of said target signal>
Obtaining a DMRS signal @ in relation to the uplink time domain>
Is greater than or equal to a second dimension->
;
A correlation value combination result calculation module for calculating the correlation value combination result according to the sampling frequency multiple
And an upstream window length of said target signal>
Obtain the calculation window length->
Separately for said local time domain DMRS signal->
And the uplink time domain DMRS signal
Long/long in the calculation window>
Internally calculating correlation values, taking the modulus of the two correlation value calculation results, and combining to obtain a correlation value combination result->
;
A timing offset calculation module for combining results at the correlation values
Position corresponding to the maximum value of the medium search
Based on said position>
Calculating to obtain an uplink timing offset->
;
A distance deviation calculation module for calculating the uplink timing deviation according to the uplink timing deviation
Calculating to obtain the estimated distance
Is greater than or equal to>
;
A precise distance calculation module for calculating a distance based on the estimated distance
And said distance deviation>
And calculating and obtaining the accurate distance between the target user terminal and the base station>
。
A computer device of the present disclosure comprises a processor and a memory in signal connection, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program, when loaded by the processor, executes the method for calculating the distance between the user terminals based on the TA value as described above.
A computer-readable storage medium of the present disclosure has at least one instruction or at least one program stored thereon, which when loaded by a processor, performs the method for calculating a distance between a user equipment and a mobile station based on a TA value as described above.
The method, the system and the equipment for calculating the distance of the user terminal based on the TA value have the advantages that:
the distance deviation is obtained through calculation of the timing deviation pair, the estimated distance obtained by using the TA value is corrected based on the distance deviation, and then the precision of the finally obtained accurate distance can reach
Level, specifically reachable
The distance calculation precision of the user terminal can be greatly improved, the positioning precision is further improved, and the high-precision positioning requirement can be better met;
meanwhile, the positioning precision can be further improved by improving the sampling frequency of the target signal, for example, the sampling frequency of the target signal is improved
Multiple times, the corresponding positioning precision can be achieved>
The positioning device can be designed according to the positioning precision requirement, can meet the occasion of high-precision positioning requirement, and is wider in application and more flexible in use.
Detailed Description
As shown in fig. 1, a method for calculating a distance between a ue and a TA according to the present disclosure includes the following steps:
s01, estimating the distance between the target user terminal and the base station according to the uplink timing advance TA value of the target user terminal, and recording as the estimated distance
(ii) a Specifically, by adopting a conventional TA value distance estimation method, the base station acquires the uplink timing advance TA of a target user terminal, such as a target mobile phone, and preliminarily estimates the estimated distance ≥ based on the following formula>
:
Estimating distance
In order to estimate the obtained distance by using the conventional TA value, the error is large, and it needs to be corrected by the subsequent steps.
S02, receiving a target signal sent by a target user terminal and sampling frequency
Analog-to-digital converting the target signal and->
In which>
Represents a reference sampling frequency, <' > based on>
For characterizing a sampling frequency>
A sampling frequency multiple relative to a reference sampling frequency;
specifically, in the actual 4G LTE system, the signal bandwidth is 20M, and the sampling frequency is 30.72MHz, so in this step, the reference sampling frequency is set as the reference sampling frequency
Equal to 30.72MHz, there are:
and is
Typically 1 or 2 or 4.
S03, generating a local time domain DMRS (Demodulation Reference Signal) Signal according to a Physical Uplink Shared Channel (PUSCH) configuration parameter of a target user terminal
And based on said sampling frequency multiple>
Obtaining information regarding the local time-domain DMRS signal >>
In a first dimension +>
;
Specifically, a corresponding frequency domain DMRS signal is generated according to the PUSCH configuration parameters and the 3GPP36.211 protocol of the target user terminal, and the obtained frequency domain DMRS signal is converted into a time domain through conventional time-frequency domain conversion processing, so that the local time domain DMRS signal of 2 time slots is obtained
The local time domain DMRS signal >>
Is greater than or equal to a first dimension->
。
In a specific embodiment, when information sent by a target terminal needs to be acquired, down-sampling processing may be performed on a target signal from a frame header position, a sampling frequency of data is restored to 30.72MHz, then data of a first subframe is extracted from a subframe header position, and then information sent by the target terminal to a base station may be acquired through PUSCH channel analysis.
S04, filtering the target signal; specifically, the center point of a Resource Block (RB) occupied by the target signal is moved to the center of zero frequency, and then the target signal is filtered by taking the width of the Resource Block occupied by the target signal as the passband bandwidth, so that only the DMRS signal is reserved in the frequency domain.
S05, extracting the uplink time domain DMRS signal of the target signal according to the frame timing determined by the uplink timing advance TA value
And based on the sampling frequency multiple>
And an upstream window length of said target signal>
ObtainingWith respect to the uplink time-domain DMRS signal >>
In a second dimension +>
;
Specifically, the DMRS timing position of the target signal is advanced according to the frame timing determined by the TA value of the uplink timing advance
A sampling point for extracting the uplink time domain DMRS signal(s) in 2 time slots of the target signal>
Wherein
,/>
1024 may be taken.
S06, according to the sampling frequency multiple
And an upstream window length of said target signal>
Obtain the calculation window length->
In particular, the calculation window length->
。
Respectively aiming at the local time domain DMRS signals
And the uplink time-domain DMRS signal->
At the calculated window length
Internally calculating the correlation values, and respectively recording the calculation results of the two correlation values as->
And &>
All dimensions are->
。
And combining the two correlation value calculation results after taking the modulus value to obtain the correlation value combination result
All dimensions are
。
S07, combining results in the correlation value
The position corresponding to the medium search maximum->
Based on the position->
The uplink positioning deviation is calculated and obtained as ^ based on the following formula>
Sampling points:
s08, according to the uplink timing deviation
The evaluation distance is determined in relation to the evaluation distance as calculated in the following formula>
Is greater than or equal to>
:/>
S09, estimating the distance according to the
And the distance deviation->
The estimated distance ≥ obtained in step S01 is determined as follows>
Correcting, calculating to obtain the accurate distance between the target user terminal and the base station>
:
In order to verify the effectiveness of the calculation method of the embodiment, the distance errors of the target mobile phone are respectively tested in three scenes, namely a near scene, a middle scene and a far scene, the testing is carried out 10000 times in each scene, the test result graphs are respectively shown in fig. 2, fig. 3 and fig. 4, from the analysis of the test results, the calculation method of the embodiment can accurately position in the three scenes, namely the near scene, the middle scene and the far scene, the probability of the positioning error within 10 meters can reach more than 95%, and the calculation method of the embodiment has the effect of high positioning accuracy.
The distance deviation is obtained through calculation of the timing deviation pair, the estimated distance obtained by using the TA value is corrected based on the distance deviation, and then the precision of the finally obtained accurate distance can reach
Class, specifically reachable
The distance calculation precision of the user terminal can be greatly improved, the positioning precision is further improved, and the high-precision positioning requirement can be better met;
meanwhile, the positioning precision can be further improved by improving the sampling frequency of the target signal, for example, the sampling frequency of the target signal is improved
Multiple times, the corresponding positioning precision can be achieved>
The positioning device can be designed according to the positioning precision requirement, can meet the occasion of high-precision positioning requirement, and is wider in application and more flexible in use.
The embodiment further provides a TA value-based user terminal distance calculating system, including:
an estimation module, configured to estimate a distance between the target ue and the base station according to the TA value of the uplink timing advance of the target ue, which is recorded as an estimated distance
;
An analog-to-digital conversion module for receiving a target signal transmitted by a target user terminal and sampling the signal at a sampling frequency
Analog-to-digital converting the target signal and->
Wherein is present>
Represents a reference sampling frequency, <' > or>
For characterizing the sampling frequency->
Relative to each otherA sampling frequency multiple at a reference sampling frequency;
a local time domain DMRS signal generation module for generating a local time domain DMRS signal according to the PUSCH configuration parameter of the target user terminal
And based on the sampling frequency multiple>
Obtaining information regarding the local time-domain DMRS signal >>
Is greater than or equal to>
;
The filtering module is used for carrying out filtering processing on the target signal;
an uplink time domain DMRS signal extraction module, configured to extract the uplink time domain DMRS signal of the target signal according to the frame timing determined by the uplink timing advance TA value
And based on the sampling frequency multiple>
And an upstream window length of said target signal>
Obtaining a DMRS signal @ in relation to the uplink time domain>
Is greater than or equal to a second dimension->
;
A correlation value combination result calculation module for calculating the correlation value combination result according to the sampling frequency multiple
And an upstream window length of said target signal>
Obtaining a calculation window length>
Separately for said local time domain DMRS signal->
And the uplink time domain DMRS signal
Long/long in the calculation window>
Internally calculating correlation values, taking the modulus of the two correlation value calculation results, and combining to obtain a correlation value combination result->
;
A timing offset calculation module for combining results at the correlation values
Position corresponding to the maximum value of the medium search
Based on said position>
Calculating an uplink timing skew>
;
A distance deviation calculation module for calculating the uplink timing deviation according to the uplink timing deviation
Calculating to obtain information about the estimated distance
Is greater than or equal to>
;
A precise distance calculation module for calculating a precise distance based on the estimated distance
And the distance deviation->
And calculating and obtaining the accurate distance between the target user terminal and the base station>
。
The TA value-based ue distance calculating system of the present embodiment is based on the same inventive concept as the method embodiments described above, and can be understood by referring to the description of the method embodiments above, which is not repeated herein.
As shown in fig. 5, this embodiment further provides a computer device, which includes a processor 101 and a memory 102 connected by a bus signal, where the memory 102 stores at least one instruction or at least one program, and when the at least one instruction or the at least one program is loaded by the processor 101, the method for calculating the distance between the user terminals based on the TA value is performed. The memory 102 may be used to store software programs and modules, and the processor 101 executes various functional applications by running the software programs and modules stored in the memory 102. The memory 102 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, application programs required for functions, and the like; the storage data area may store data created according to use of the apparatus, and the like. Further, the memory 102 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 102 may also include a memory controller to provide the processor 101 access to the memory 102.
The method embodiments provided by the embodiments of the present disclosure may be executed in a computer terminal, a server or a similar computing device, that is, the computer device may include a computer terminal, a server or a similar computing device. The internal structure of the computer device may include, but is not limited to: a processor, a network interface, and a memory. The processor, the network interface and the memory in the computer device may be connected by a bus or other means.
The processor 101 (or CPU) is a computing core and a control core of the computer device. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI, mobile communication interface, etc.). The Memory 102 (Memory) is a Memory device in the computer device for storing programs and data. It is understood that the memory 102 may be a high-speed RAM memory device, or may be a non-volatile memory device (non-volatile memory), such as at least one magnetic disk memory device; optionally, at least one memory device located remotely from the processor 101. The memory 102 provides storage space that stores an operating system of the electronic device, which may include, but is not limited to: a Windows system (an operating system), linux (an operating system), android (Android, a mobile operating system) system, IOS (a mobile operating system) system, and the like, which are not limited by the present disclosure; also, one or more instructions, which may be one or more computer programs (including program code), are stored in the memory space and are adapted to be loaded and executed by the processor 101. In this embodiment, the processor 101 loads and executes one or more instructions stored in the memory 102 to implement the method for calculating the distance between the ue and the TA based on the TA value according to the above method embodiment.
The disclosed embodiments also provide a computer-readable storage medium, on which at least one instruction or at least one program is stored, and when the at least one instruction or the at least one program is loaded by the processor 101, the method for calculating the distance between the user terminals based on the TA value is performed. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. Examples may include, but are not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
In the description of the present disclosure, it is to be understood that the orientation or positional relationship indicated by the directional terms such as "front, rear, upper, lower, left, right", "lateral, vertical, horizontal" and "top, bottom", etc., are generally based on the orientation or positional relationship shown in the drawings, and are used for convenience in describing and simplifying the present disclosure, and in the absence of a contrary explanation, these directional terms are not intended to indicate and imply that the device or element being referred to must have a specific orientation or be constructed and operated in a specific orientation, and therefore, should not be considered as limiting the scope of the present disclosure.
Various other modifications and changes may be made by those skilled in the art based on the above-described technical solutions and concepts, and all such modifications and changes should fall within the scope of the claims of the present disclosure.