A single antenna positioning method, device, equipment and storage medium based on CSI

By obtaining CSI data from the receiving antenna and calculating the ToF matrix, it solves the problem of single-antenna indoor positioning, achieves efficient and low-cost indoor positioning, and reduces the difficulty and cost of operation.

CN112881976BActive Publication Date: 2024-09-06TP-LINK INT SHENZHEN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110015957.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-06
Publication Date
2024-09-06
Estimated Expiration
2041-01-06

AI Technical Summary

Technical Problem

The existing technology requires at least two antennas to be configured to complete indoor positioning, which results in high operational difficulty and cost, and cannot effectively solve the indoor positioning requirements of high precision, high reliability, and low cost.

Method used

Obtain the original CSI data through the receiving antenna, remove the linear error, calculate the CSI phase difference matrix, and substitute it into the radio wave flight time matrix relationship to obtain the ToF matrix. Finally, the position information of the point to be positioned is calculated based on the ToF matrix correction result to achieve single Antenna indoor positioning.

Benefits of technology

It reduces the computing pressure of node wireless devices and the time required for positioning, enables positioning with a single antenna, greatly reduces operating difficulty and system costs, and broadens the scope of applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112881976B
    Figure CN112881976B
Patent Text Reader

Abstract

The present invention discloses a single-antenna positioning method, device, equipment and storage medium based on CSI. The method includes obtaining CSI raw data of a point to be positioned through a receiving antenna, and obtaining a corresponding original CSI phase matrix according to the CSI raw data; removing the linear error in the original CSI phase matrix to obtain a corrected CSI phase matrix; making a difference in the CSI phase in the corrected CSI phase matrix according to the subcarrier of the receiving antenna to obtain a CSI phase difference matrix; substituting the CSI phase difference matrix into a preset relationship between the CSI phase difference matrix and the radio wave flight time matrix to obtain a corresponding ToF matrix; averaging the radio wave flight time matrix to obtain a ToF matrix correction result; and calculating the position information of the point to be positioned according to the ToF matrix correction results of the three receiving antennas. The present invention can overcome the technical difficulty of the prior art that indoor positioning can only be achieved by relying on multiple antennas, and realizes indoor positioning with a single antenna.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of wireless positioning technology, and in particular to a CSI-based single-antenna positioning method, device, equipment and storage medium. Background Art

[0002] With the increasing popularity of location-based services (LBS), the demand for location-based services in life is also increasing. In outdoor environments, some mature satellite positioning systems such as GPS, GLONASS, and Beidou satellite navigation systems provide convenience for people to obtain more accurate positioning and navigation services. However, in indoor environments, due to problems such as weak satellite signals and inability to penetrate buildings, satellite positioning systems cannot work effectively. Therefore, the research on high-precision, high-reliability, and low-cost indoor positioning systems is a new challenge to current indoor positioning technologies.

[0003] In recent years, the widespread popularity of indoor Wi-Fi has led to the continuous development of indoor positioning technology based on Wi-Fi. Typical technologies include positioning methods based on received signal strength indication (RSSI) and channel state information (CSI). In indoor environments, due to the influence of obstacles, RSSI will produce certain deviations and is easily affected by interference from other signals and indoor multipath effects, so it cannot provide sufficient accuracy and reliability. Compared with RSSI, CSI has a certain multipath resolution capability and can perceive the slight fluctuations of signals on the propagation path. Therefore, CSI has higher sensitivity, larger perception range and stronger perception reliability.

[0004] The existing technology obtains the original data of the CSI matrix through the receiving antenna array, and uses the CSI matrix to describe the transmission process from the transmitting antenna to the receiving antenna. However, due to the limitations of the matrix algorithm, the existing technology requires that each node be configured with at least two antennas, which places high demands on the wireless equipment of the node, increasing the operating difficulty and cost of the positioning system. Summary of the invention

[0005] The embodiments of the present invention provide a CSI-based single-antenna positioning method, apparatus, device and storage medium to solve the technical problem that the prior art requires at least two antennas to complete positioning, resulting in high operating difficulty and cost, thereby realizing single-antenna indoor positioning of the transmitter, broadening the scope of application, and reducing operating difficulty and cost.

[0006] In order to solve the above technical problems, an embodiment of the present invention provides a single-antenna positioning method based on CSI, including:

[0007] Obtain the CSI raw data of the point to be located through the receiving antenna, and obtain the corresponding raw CSI phase matrix according to the CSI raw data;

[0008] Remove the linear error in the raw CSI phase matrix to obtain a corrected CSI phase matrix;

[0009] Calculate the difference of the CSI phases in the corrected CSI phase matrix according to the subcarriers of the receiving antenna to obtain a CSI phase difference matrix;

[0010] Substitute the CSI phase difference matrix into the preset relationship between the CSI phase difference matrix and the radio wave flight time matrix to obtain the corresponding ToF matrix;

[0011] Perform an averaging process on the radio wave flight time matrix to obtain a corrected result of the ToF matrix;

[0012] Calculate the position information of the point to be located according to the corrected results of the ToF matrices of the three receiving antennas.

[0013] As one of the preferred solutions, the calculating the difference of the CSI phases in the corrected CSI phase matrix according to the subcarriers of the receiving antenna to obtain a CSI phase difference matrix specifically includes:

[0014] Based on the formula Calculate the difference of the CSI phases in the corrected CSI phase matrix according to the subcarriers with adjacent subcarrier numbers of the receiving antenna, and the obtained CSI phase difference matrix Γ(t) is:

[0015]

[0016] where 0 < i < M, M represents the number of subcarriers, represents the CSI phase corresponding to the receiving antenna i in the corrected CSI phase matrix, csiγ i (t) represents the i-th CSI phase difference in the CSI phase difference matrix; t represents the acquisition time.

[0017] As one of the preferred solutions, the substituting the CSI phase difference matrix into the preset relationship between the CSI phase difference matrix and the radio wave flight time matrix to obtain the corresponding ToF matrix specifically includes:

[0018] The preset relationship between the CSI phase difference matrix and the radio wave flight time matrix is:

[0019] csiγ M-1 (t) = 2π * τ * Δf

[0020] Calculate the radio wave flight time matrix Ψ(t) according to the described relational expression:

[0021]

[0022] where 0 < i < M, M represents the number of subcarriers, τ represents the radio wave flight time, Δf represents the frequency difference between adjacent subcarriers, and csiγ i (t) represents the i-th CSI phase difference in the CSI phase difference matrix; t represents the acquisition time.

[0023] As one of the preferred solutions, the averaging process on the radio wave flight time matrix to obtain the ToF matrix correction result specifically includes:

[0024] Average the elements in the radio wave flight time matrix to obtain the first average result;

[0025] Average the first average result by the number of samplings to obtain the ToF matrix correction result.

[0026] As one of the preferred solutions, calculating the position information of the to-be-located point according to the ToF matrix correction results of the three receiving antennas specifically includes:

[0027] Obtain the transmission distance corresponding to the ToF matrix correction result of each receiving antenna;

[0028] Calculate the position information of the to-be-located point according to the transmission distances of the ToF matrix correction results of the three receiving antennas.

[0029] Another embodiment of the present invention provides a single-antenna positioning device based on CSI, including:

[0030] An original CSI phase matrix acquisition module, configured to obtain the CSI raw data of the to-be-located point through a receiving antenna, and obtain the corresponding original CSI phase matrix according to the CSI raw data;

[0031] A corrected CSI phase matrix acquisition module, configured to remove the linear error in the original CSI phase matrix to obtain a corrected CSI phase matrix;

[0032] A CSI phase difference matrix acquisition module, configured to subtract the CSI phases in the corrected CSI phase matrix according to the subcarriers of the receiving antenna to obtain a CSI phase difference matrix;

[0033] A radio wave flight time matrix acquisition module, configured to substitute the CSI phase difference matrix into the relational expression between the preset CSI phase difference matrix and the radio wave flight time matrix to obtain a corresponding ToF matrix;

[0034] The ToF result processing module is used to perform averaging processing on the radio wave flight time matrix to obtain a ToF matrix correction result;

[0035] The position information acquisition module is used to calculate the position information of the point to be located according to the ToF matrix correction results of the three receiving antennas.

[0036] As one of the preferred solutions, the CSI phase difference matrix acquisition module is further used for:

[0037] Based on the formula Taking the difference of the CSI phases in the corrected CSI phase matrix for the subcarriers with adjacent subcarrier numbers of the receiving antenna to obtain the CSI phase difference matrix Γ(t) as:

[0038]

[0039] where 0 < i < M, M represents the number of subcarriers, represents the CSI phase corresponding to the receiving antenna i in the corrected CSI phase matrix, csiγ i (t) represents the i-th CSI phase difference in the CSI phase difference matrix; t represents the acquisition time.

[0040] As one of the preferred solutions, the radio wave flight time matrix acquisition module is further used for:

[0041] The relational expression between the preset CSI phase difference matrix and the radio wave flight time matrix is:

[0042] csiγ M-1 (t) = 2π * τ * Δf

[0043] Calculating the radio wave flight time matrix Ψ(t) according to the relational expression:

[0044]

[0045] where 0 < i < M, M represents the number of subcarriers, τ represents the radio wave flight time, Δf represents the frequency difference between adjacent subcarriers, csiγ i (t) represents the i-th CSI phase difference in the CSI phase difference matrix; t represents the acquisition time.

[0046] An embodiment of the present invention further provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, the above-mentioned CSI-based single-antenna positioning method is implemented.

[0047] An embodiment of the present invention also provides a computer-readable storage medium, which includes a stored computer program; wherein, when the computer program is running, it controls the device where the computer-readable storage medium is located to execute the CSI-based single antenna positioning method as described above.

[0048] Compared with the prior art, the beneficial effect of the embodiment of the present invention is that the CSI raw data of the point to be located is collected by receiving the antenna array, the corresponding original CSI phase matrix is ​​obtained according to the CSI raw data, and then the linear error in the original CSI phase matrix is ​​removed, and the CSI phase in the corrected CSI phase matrix is ​​subtracted according to the subcarrier of the receiving antenna to obtain the CSI phase difference matrix, and then the CSI phase difference matrix is ​​substituted into the relationship between the preset CSI phase difference matrix and the radio wave flight time matrix to obtain the corresponding ToF matrix, and finally the position information of the point to be located is calculated according to the correction results of the three ToF matrices. The embodiment of the present invention does not need to perform complex MUSIC-AOA matrix solution. By making full use of CSI information, the computing pressure of the chip of the node's wireless device and the time required for positioning can be reduced, thereby realizing that each node can complete positioning based on a single antenna. Compared with the prior art that requires at least 2 antennas to complete positioning, it can greatly reduce the difficulty of operation and system cost, and has a wider range of applications. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 is a schematic diagram of a flow chart of a CSI-based single-antenna positioning method in one embodiment of the present invention;

[0050] Figure 2 is a schematic diagram of three-point circle drawing positioning in one embodiment of the present invention;

[0051] Figure 3 It is a schematic diagram of a matrix transformation process of a CSI-based single antenna positioning method in one embodiment of the present invention;

[0052] Figure 4 is a structural block diagram of a single-antenna positioning device based on CSI in one embodiment of the present invention;

[0053] Figure 5 It is a structural block diagram of another preferred embodiment of a CSI-based single-antenna positioning device in one embodiment of the present invention. DETAILED DESCRIPTION

[0054] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0055] In the description of this application, the terms "first", "second", "third", etc. are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first", "second", "third", etc. may explicitly or implicitly include one or more of the feature. In the description of this application, unless otherwise specified, "plurality" means two or more.

[0056] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0057] In the description of this application, it should be noted that, unless otherwise defined, all technical and scientific terms used in the present invention have the same meaning as those commonly understood by those skilled in the art. The terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood by specific circumstances.

[0058] The embodiment of the present invention provides a single antenna positioning method based on CSI. For details, see Figure 1 , Figure 1 The figure shows a flow chart of a CSI-based single antenna positioning method in one embodiment of the present invention, which includes:

[0059] S1. Acquire CSI original data of the point to be located through a receiving antenna, and acquire a corresponding original CSI phase matrix according to the CSI original data;

[0060] S2. Remove the linear error in the original CSI phase matrix to obtain a corrected CSI phase matrix;

[0061] S3, subtracting the CSI phase in the corrected CSI phase matrix according to the subcarriers of the receiving antenna to obtain a CSI phase difference matrix;

[0062] S4, substituting the CSI phase difference matrix into a preset relationship between the CSI phase difference matrix and the radio wave flight time matrix to obtain a corresponding ToF matrix;

[0063] S5, performing average processing on the radio wave flight time matrix to obtain a ToF matrix correction result;

[0064] S6. Calculate the position information of the point to be located based on the ToF matrix correction results of the three receiving antennas.

[0065] It should be noted that the positioning method in the embodiment of the present invention can be executed by a network device including an antenna array, such as an AP. In the process of communication between the point to be positioned and any AP in the room, the antenna of the point to be positioned corresponds to the transmitting antenna, and the antenna of the AP corresponds to the receiving antenna. The AP receives the wireless signal transmitted by the point to be positioned through the receiving antenna array, from which the CSI original data of the point to be positioned can be collected. According to the collected CSI original data, the corresponding original CSI phase matrix can be obtained. The original CSI phase matrix can describe the transmission process of the wireless signal from the transmitting antenna array to the receiving antenna array, which includes the relative position relationship between the transmitting antenna array and the receiving antenna array. In order to remove the linear error in the original CSI phase matrix, preferably, the least squares method can be used to perform linear correction on the original CSI phase matrix to obtain a corrected CSI phase matrix. Then, according to the position relationship of each receiving antenna in the receiving antenna array, adjacent CSI phases corresponding to adjacent receiving antennas in the corrected CSI phase matrix are subtracted to obtain a CSI phase difference matrix. After mathematical operations, the ToF matrix is ​​obtained from the phase difference matrix, and then the elements in the ToF matrix are averaged, and then the sampling times are averaged to obtain the processed ToF result. Finally, the ToF results obtained by three single-antenna receivers can be used to calculate the transmitter position estimate through three-point circle positioning, thereby completing the positioning and obtaining the position information.

[0066] For indoor positioning, the existing technology generally adopts the process of the positioning algorithm based on CSI-AOA, which includes: obtaining the original data of the CSI matrix through the receiving antenna array (the number of antennas must be greater than 1, so a single antenna cannot complete it); performing the least square method on the subcarrier phase corresponding to the entire subcarrier sequence to remove the linear error in the original data of the CSI matrix, thereby obtaining a corrected CSI matrix; using the classic MUSIC algorithm to process the CSI matrix to obtain the arrival angle information of the transmission process; using the arrival angle information, the relative position relationship between the transmitting antenna and the receiving antenna is obtained, thereby completing the positioning. It can be seen that the existing process of the positioning algorithm based on CSI-AOA includes at least the following defects: First, each node is required to have 2 or more antennas, which has high requirements on the wireless device of the node and increases the cost of the positioning system; second, the CSI matrix needs to be processed using the MUSIC algorithm, which increases the computing pressure on the chip of the wireless device of the node and increases the time required for positioning.

[0067] A CSI-based single-antenna positioning method provided in an embodiment of the present invention collects CSI raw data of a point to be positioned by receiving an antenna array, obtains a corresponding original CSI phase matrix according to the CSI raw data, then removes the linear error in the original CSI phase matrix, and makes a difference in the CSI phase in the corrected CSI phase matrix according to the subcarrier of the receiving antenna to obtain a CSI phase difference matrix, then substitutes the CSI phase difference matrix into a relationship between a preset CSI phase difference matrix and a radio wave flight time matrix to obtain a corresponding ToF matrix, and finally calculates the position information of the point to be positioned according to the correction results of the three ToF matrices. The embodiment of the present invention does not require complex MUSIC-AOA matrix solution, and by making full use of CSI information, can reduce the computing pressure and positioning time required for the chip of the node's wireless device, thereby achieving each node can be positioned based on a single antenna. Compared with the prior art, which requires at least two antennas to be configured to complete positioning, the operation difficulty and system cost are greatly reduced, and the application range is wider.

[0068] In another preferred embodiment, for the above step S3: subtracting the CSI phase in the corrected CSI phase matrix according to the subcarriers of the receiving antenna to obtain the CSI phase difference matrix specifically includes:

[0069] Based on the formula The CSI phase in the corrected CSI phase matrix is ​​subtracted according to the subcarriers of the adjacent subcarrier numbers of the receiving antenna to obtain a CSI phase difference matrix Γ(t):

[0070]

[0071] where 0 < i < M, M represents the number of subcarriers, represents the CSI phase corresponding to the receiving antenna i in the corrected CSI phase matrix, csiγ i (t) represents the i-th CSI phase difference in the CSI phase difference matrix; t represents the acquisition time.

[0072] It should be noted that for the original CSI phase matrix obtained in step S1, the i-th element in the CSI original phase matrix can be approximately expressed as:

[0073]

[0074] where represents the true value of the phase, Δt represents the delay caused by packet detection delay and sampling frequency offset, β represents the unknown phase offset error caused by the center frequency offset, m i represents the number of the i-th subcarrier, N is the length of the FFT transform, m i and the specific definitions of N can be found in the 802.11 standard.

[0075] As described in step S2 of this embodiment, in order to remove the linear error in the original CSI phase matrix, the embodiment of the present invention preferably uses the least squares method, specifically: the CSI phase error can be expressed as a linear relationship The estimated slope can be obtained through the following least squares formula and the intercept β:

[0076]

[0077]

[0078] In the above formula, represents the average value of all m i where i = 1...M

[0079] Knowing the estimated values of the slope and intercept, the estimated value of the error e i is known, and thus the estimated value of the true value of the CSI phase is known.

[0080] By the steps described above, the CSI phase difference matrix Γ(t) can be obtained by taking the difference of the CSI phases in the corrected CSI phase matrix according to the subcarrier pairs of the adjacent subcarrier numbers of the receiving antenna.

[0081] In addition, for eliminating the linear error, the data processing method adopted in the embodiment of the present invention uses the relatively common least squares method. Of course, other common fitting methods such as the least absolute value method can also be used to achieve the correction.

[0082] In yet another preferred embodiment, for step S4: substituting the CSI phase difference matrix into the relational expression between the preset CSI phase difference matrix and the radio wave flight time matrix to obtain the corresponding ToF matrix specifically includes:

[0083] The relational expression between the preset CSI phase difference matrix and the radio wave flight time matrix is:

[0084] csiγ M-1 (t) = 2π * τ * Δf

[0085] Calculating the radio wave flight time matrix Ψ(t) according to the relational expression:

[0086]

[0087] where 0 < i < M, M represents the number of subcarriers, τ represents the radio wave flight time, Δf represents the frequency difference between adjacent subcarriers (obtainable from the 802.11 protocol), and csiγ i (t) represents the i-th CSI phase difference in the CSI phase difference matrix; t represents the acquisition time.

[0088] In yet another preferred embodiment, for step S5: performing an averaging process on the radio wave flight time matrix to obtain the ToF matrix correction result specifically includes:

[0089] Averaging the elements in the radio wave flight time matrix to obtain a first average result;

[0090] Averaging the first average result by the number of sampling times to obtain the ToF matrix correction result.

[0091] In yet another preferred embodiment, for step S6: calculating the position information of the to-be-located point according to the ToF matrix correction results of the three receiving antennas specifically includes:

[0092] Obtaining the transmission distance corresponding to the ToF matrix correction result of each receiving antenna;

[0093] Calculating the position information of the to-be-located point according to the transmission distances of the ToF matrix correction results of the three receiving antennas.

[0094] Specifically, please refer to Figure 2 , Figure 2 which shows a schematic diagram of circle drawing positioning with three points in one embodiment of the present invention. The ToF results obtained by three single-antenna receivers (the transmission distance d can be obtained from ToF, where d = ToF * c, and c is the speed of light). Through circle drawing positioning with three points, the position estimation of the transmitter can be calculated.

[0095] For easier understanding, see Figure 3 , Figure 3 The figure shows a schematic diagram of the matrix transformation process of the CSI-based single antenna positioning method in one embodiment of the present invention, wherein the original CSI matrix is ​​transformed into the original CSI phase, and then the original CSI phase is transformed into the corrected CSI phase, and the CSI phase difference matrix is ​​obtained by calculation, and substituted into the relationship of the preset radio wave flight time matrix to calculate the ToF matrix, and finally the mean processing is performed to obtain the ToF matrix after the mean processing. The entire positioning algorithm does not need to perform complex MUSIC-AOA matrix solution, which greatly reduces the CPU resource occupancy and operation time, and makes full use of the relationship between the subcarrier phase difference and the radio wave flight time, and makes more full use of the CSI information.

[0096] Another embodiment of the present invention provides a CSI-based single antenna positioning device, which can implement all processes of the CSI-based single antenna positioning method described in any of the above embodiments. The functions of each module and unit in the device and the technical effects achieved are respectively the same as the functions and technical effects achieved by the CSI-based single antenna positioning method described in the above embodiments, and will not be repeated here.

[0097] See also Figure 4 , Figure 4 The structure block diagram of a single-antenna positioning device based on CSI in one embodiment of the present invention is shown, and the device includes:

[0098] The original CSI phase matrix acquisition module 11 is used to obtain the CSI original data of the point to be located through the receiving antenna, and obtain the corresponding original CSI phase matrix according to the CSI original data;

[0099] A corrected CSI phase matrix acquisition module 12 is used to remove the linear error in the original CSI phase matrix to obtain a corrected CSI phase matrix;

[0100] A CSI phase difference matrix acquisition module 13, configured to make a difference in the CSI phase in the corrected CSI phase matrix according to the subcarriers of the receiving antenna to obtain a CSI phase difference matrix;

[0101] The radio wave flight time matrix acquisition module 14 is used to substitute the CSI phase difference matrix into the preset relationship between the CSI phase difference matrix and the radio wave flight time matrix to obtain the corresponding ToF matrix;

[0102] A ToF result processing module 15 is used to average the radio wave flight time matrix to obtain a ToF matrix correction result;

[0103] A position information acquisition module 16, configured to calculate the position information of the to-be-located point according to the ToF matrix correction results of the three receiving antennas.

[0104] Preferably, the CSI phase difference matrix acquisition module 13 is further configured to:

[0105] Based on the formula Take the difference of the CSI phases in the corrected CSI phase matrix for the subcarriers with adjacent subcarrier numbers of the receiving antennas to obtain the CSI phase difference matrix Γ(t) as:

[0106]

[0107] where 0 < i < M, M represents the number of subcarriers, represents the CSI phase corresponding to the receiving antenna i in the corrected CSI phase matrix, csiγ i (t) represents the i-th CSI phase difference in the CSI phase difference matrix; t represents the acquisition time.

[0108] Preferably, the radio wave flight time matrix acquisition module 14 is further configured to:

[0109] The relational expression between the preset CSI phase difference matrix and the radio wave flight time matrix is:

[0110] csiγ M-1 (t) = 2π * τ * Δf

[0111] Calculate the radio wave flight time matrix Ψ(t) according to the relational expression:

[0112]

[0113] where 0 < i < M, M represents the number of subcarriers, τ represents the radio wave flight time, Δf represents the frequency difference between adjacent subcarriers, csiγ i (t) represents the i-th CSI phase difference in the CSI phase difference matrix; t represents the acquisition time.

[0114] An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program; wherein, when the computer program runs, it controls the device where the computer-readable storage medium is located to execute the CSI-based single-antenna positioning method described in any one of the above embodiments.

[0115] An embodiment of the present invention further provides a terminal device, see Figure 5As shown, it is a structural block diagram of another preferred embodiment of a CSI-based single antenna positioning device provided by the present invention, the device includes a processor 10, a memory 20, and a computer program stored in the memory 20 and configured to be executed by the processor 10, and the processor 10 implements the CSI-based single antenna positioning method as described in any of the above embodiments when executing the computer program.

[0116] Preferably, the computer program can be divided into one or more modules / units (such as computer program 1, computer program 2, ...), and the one or more modules / units are stored in the memory 20 and executed by the processor 10 to complete the present invention. The one or more modules / units can be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program in the device.

[0117] The processor 10 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor 10 may be any conventional processor. The processor 10 is the control center of the device, and various parts of the device are connected using various interfaces and lines.

[0118] The memory 20 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, etc., and the data storage area can store related data, etc. In addition, the memory 20 can be a high-speed random access memory, or a non-volatile memory, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, and a flash card (Flash Card), etc., or the memory 20 can also be other volatile solid-state storage devices.

[0119] It should be noted that the above-mentioned device may include, but is not limited to, a processor and a memory. Those skilled in the art will understand that Figure 5The structural block diagram is merely an example of the above-mentioned device and does not constitute a limitation of the device, which may include more or less components than shown in the figure, or a combination of certain components, or different components.

[0120] In summary, the embodiments of the present invention provide a CSI-based single-antenna positioning method, device, equipment and storage medium. The CSI raw data of the point to be located is collected by receiving an antenna array, and the corresponding original CSI phase matrix is ​​obtained according to the CSI raw data. Then, the linear error in the original CSI phase matrix is ​​removed, and the CSI phase in the corrected CSI phase matrix is ​​subtracted according to the subcarrier of the receiving antenna to obtain a CSI phase difference matrix. Then, the CSI phase difference matrix is ​​substituted into the relationship between the preset CSI phase difference matrix and the radio wave flight time matrix to obtain the corresponding ToF matrix. Finally, according to the correction results of the three ToF matrices, the position information of the point to be located is calculated. The embodiments of the present invention do not need to perform complex MUSIC-AOA matrix solution. By making full use of CSI information, the computing pressure of the chip of the node's wireless device and the time required for positioning can be reduced, thereby realizing that each node can be positioned based on a single antenna. Compared with the prior art, at least two antennas need to be configured to complete positioning, which greatly reduces the operation difficulty and system cost, and has a wider range of applications.

[0121] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A single antenna positioning method based on CSI, characterized in that: include: Acquire CSI raw data of the point to be located through the receiving antenna, and acquire a corresponding original CSI phase matrix according to the CSI raw data; Removing linear errors in the original CSI phase matrix to obtain a corrected CSI phase matrix; Differencing the CSI phase in the corrected CSI phase matrix according to the subcarriers of the receiving antenna to obtain a CSI phase difference matrix; Substituting the CSI phase difference matrix into a preset relationship between the CSI phase difference matrix and the radio wave flight time matrix to obtain a corresponding ToF matrix; Averaging the radio wave flight time matrix to obtain a ToF matrix correction result; The position information of the point to be located is calculated based on the ToF matrix correction results of the three receiving antennas; The relationship between the preset CSI phase difference matrix and the radio wave flight time matrix is: csiγ M-1 (t)=2π*τ*Δf where 0 < i < M, M represents the number of subcarriers, τ represents the radio wave flight time, Δf represents the frequency difference between adjacent subcarriers, and csiγ i (t) represents the i-th CSI phase difference in the CSI phase difference matrix; t represents the acquisition time.

2. The CSI-based single-antenna positioning method according to claim 1, characterized in that: The step of performing a difference on the CSI phase in the corrected CSI phase matrix according to the subcarrier of the receiving antenna to obtain a CSI phase difference matrix specifically includes: Based on the formula The CSI phase in the corrected CSI phase matrix is ​​subtracted according to the subcarriers of the adjacent subcarrier numbers of the receiving antenna to obtain a CSI phase difference matrix Γ(t): where 0 < i < M, M represents the number of subcarriers, represents the CSI phase corresponding to the receiving antenna i in the corrected CSI phase matrix, csiγ i (t) represents the i-th CSI phase difference in the CSI phase difference matrix; t represents the acquisition time.

3. The CSI-based single-antenna positioning method according to claim 1, characterized in that: Substituting the CSI phase difference matrix into a preset relationship between the CSI phase difference matrix and the radio wave flight time matrix to obtain a corresponding ToF matrix specifically includes: The radio wave flight time matrix Ψ(t) is calculated according to the relationship: 。 4. The CSI-based single-antenna positioning method according to claim 1 or 3, characterized in that: The averaging process of the radio wave flight time matrix to obtain the ToF matrix correction result specifically includes: Averaging the elements in the radio wave flight time matrix to obtain a first average result; The first average result is averaged according to the number of sampling times to obtain the ToF matrix correction result.

5. The CSI-based single-antenna positioning method according to claim 1, characterized in that: The calculating and obtaining the position information of the point to be located according to the ToF matrix correction results of the three receiving antennas specifically includes: Obtaining a transmission distance corresponding to a ToF matrix correction result of each receiving antenna; The position information of the point to be located is obtained by calculating the transmission distance of the ToF matrix correction results of the three receiving antennas.

6. A single-antenna positioning device based on CSI, characterized in that: include: The original CSI phase matrix acquisition module is used to obtain the CSI original data of the point to be located through the receiving antenna, and obtain the corresponding original CSI phase matrix according to the CSI original data; A CSI phase matrix correction acquisition module is used to remove the linear error in the original CSI phase matrix to obtain a corrected CSI phase matrix; A CSI phase difference matrix acquisition module, used to make a difference in the CSI phase in the corrected CSI phase matrix according to the subcarriers of the receiving antenna to obtain a CSI phase difference matrix; A radio wave flight time matrix acquisition module, used to substitute the CSI phase difference matrix into a preset relationship between the CSI phase difference matrix and the radio wave flight time matrix to obtain a corresponding ToF matrix; A ToF result processing module, used for averaging the radio wave flight time matrix to obtain a ToF matrix correction result; A position information acquisition module, used to calculate the position information of the point to be located according to the ToF matrix correction results of the three receiving antennas; The relationship between the preset CSI phase difference matrix and the radio wave flight time matrix is: csiγ M-1 (t)=2π*τ*Δf Among them, 0 < i < M, M represents the number of subcarriers, τ represents the radio wave flight time, Δf represents the frequency difference between adjacent subcarriers, and csiγ i (t) represents the i-th CSI phase difference in the CSI phase difference matrix; t represents the acquisition time.

7. The single-antenna positioning device based on CSI according to claim 6, characterized in that: The CSI phase difference matrix acquisition module is also used for: Based on the formula The CSI phase in the corrected CSI phase matrix is ​​subtracted according to the subcarriers of the adjacent subcarrier numbers of the receiving antenna to obtain a CSI phase difference matrix Γ(t): where 0 < i < M, M represents the number of subcarriers, denotes the CSI phase corresponding to the receiving antenna i in the corrected CSI phase matrix, csiγ i (t) represents the i-th CSI phase difference in the CSI phase difference matrix; t represents the acquisition time.

8. The CSI-based single-antenna positioning device according to claim 6, characterized in that: The radio wave flight time matrix acquisition module is also used for: The radio wave flight time matrix Ψ(t) is calculated according to the relationship: 。 9. A terminal device, characterized in that: The system comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the CSI-based single-antenna positioning method according to any one of claims 1 to 5 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program; wherein, when the computer program is run, it controls the device where the computer-readable storage medium is located to execute the CSI-based single-antenna positioning method according to any one of claims 1 to 5.