A distance measurement method based on TDOA and CSS technology

By adopting the ranging method based on TDOA and CSS technology in LPWAN, and using the signal processing technology of dual-antenna CSS wireless base stations, the frequency resolution and phase difference measurement accuracy are improved, and the existing technology is solved in the low accuracy and complex environment. Positioning problems achieve high-precision wireless positioning and provide high ranging accuracy within the communication coverage range.

CN114630268BActive Publication Date: 2024-12-03NANJING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210166570.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-23
Publication Date
2024-12-03
Estimated Expiration
2042-02-23

AI Technical Summary

Technical Problem

Existing wireless positioning technology is difficult to achieve high-precision ranging in complex environments, especially in the field of LPWAN. Traditional TOA methods have low accuracy and increasing sampling rate will increase cost and power consumption. LoRa's TDOA and RSSI positioning accuracy is insufficient, and LoRa's The physical layer security cannot be guaranteed.

Method used

The distance measurement method based on TDOA and CSS technology is adopted to increase the frequency resolution by extending the signal transmission time and significantly improve the phase difference measurement accuracy. The dual-antenna CSS wireless base station generates up chirp and downchirp signals, and eliminates carrier bias through FFT and cross-correlation operations. shift, calculate the phase difference to determine the node position.

Benefits of technology

It improves the ranging accuracy, reduces the implementation complexity and power consumption of nodes, enhances anti-interference ability, is suitable for the needs of medium and high-precision positioning in LPWAN, and provides high ranging accuracy within the communication coverage range.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114630268B_ABST
    Figure CN114630268B_ABST
Patent Text Reader

Abstract

The present invention discloses a ranging method based on TDOA and CSS technology, which uses the CSS symbol characteristics to convert the phase difference into a frequency difference, and improves the frequency resolution by extending the signal duration to improve the phase difference resolution accuracy, thereby improving the ranging accuracy; in addition, the ranging method can be well combined with data transmission, and the ranging code can be regarded as a data frame for transmitting long continuous 0s. The ranging function is mainly completed on the base station side, which greatly reduces the implementation complexity of the node. As a physical layer data communication and ranging solution. The anti-interference characteristics of CSS spread spectrum communication are used to achieve a wider coverage range. At the same time, the proposed ranging solution can achieve a higher ranging accuracy within the communication coverage range, so it has a good application prospect in LPWAN.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a distance measurement method, in particular to a distance measurement method based on TDOA and CSS technologies, belonging to the technical field of wireless communication. Background Art

[0002] With the development of Internet of Things (IoT) technology, the application of IoT technology in various industries is becoming more and more extensive. Different application environments and fields have their specific needs and considerations. The widely used wireless transmission technology has the characteristics of short transmission distance and fast speed, but it is not suitable for the narrow bandwidth, low power consumption and long-distance communication required by IoT data transmission. Therefore, there is an emerging technology: Low-Power Wide-Area Network (LPWAN). As a wide-area low-power radio communication network technology, it is obviously different from the wireless access technology used in traditional mobile communication network technology. LPWAN has the advantages of long transmission distance, long standby, low cost, wide coverage and easy deployment. In terms of working mode, LPWAN will only establish a connection under the condition of data transmission to reduce terminal power consumption. Therefore, LPWAN can support a large number of terminal communications with a small amount of data and transmission equipment. LPWAN includes several typical technologies such as Sigfox, LoRa, NB-IoT, Telensa, PTC, etc. Among them, the CSS modulation technology used by LoRa has better anti-interference performance and natural resistance to the Doppler effect. It is an increasingly popular modulation scheme in LPWAN communications.

[0003] With the advancement of wireless communication technology, target positioning has become a key aspect of emerging applications in wireless sensor networks and the Internet of Things. People's demand for wireless positioning and direction finding is becoming increasingly significant, and many application fields require location information. Among the existing positioning technologies, satellite positioning systems have obvious application limitations and are difficult to cover many occasions such as indoors and underground tunnels; visual positioning technology, infrared technology, and ultrasonic technology all have the disadvantage of small signal coverage; although the coverage of WiFi positioning has been improved, the accuracy is insufficient, and due to the complex and changeable indoor environment and serious non-line-of-sight phenomenon, it is difficult to obtain an accurate signal strength attenuation model; Bluetooth positioning technology is easily interfered by external noise signals, the signal stability is poor, and the communication range is small. Therefore, achieving high-precision wireless positioning for complex environments is still a research hotspot and difficulty.

[0004] At present, the most widely used ranging solution based on CSS technology is the arrival time TOA, which calculates the distance between two communication nodes based on the two-way transmission time of the message packet between the transmitting and receiving nodes. Its ranging accuracy is closely related to the sampling interval time. For example, the corresponding distance of a single sampling point at a sampling rate of 10Msps is 30m, and this ranging accuracy cannot meet the requirements of many applications. If the sampling rate is increased, the cost and power consumption of the computing unit will increase, which is inconsistent with the needs of the Internet of Things. In addition, this method requires two transmissions, and the measured node must also complete the corresponding ranging operation, which increases the node overhead.

[0005] The TDOA-based positioning function provided by LoRa has an accuracy of 20-200m, and the RSSI-based positioning accuracy is 1000-2000m, which still cannot meet many application scenarios. In order to make the geographic location more accurate, LoRa requires at least three gateways to receive data packets, which puts higher requirements on the deployment of gateways. Since the physical layer of LoRa is completely controlled by Semtech, a US company, and the underlying implementation has not been made public, it has caused concerns among regulatory authorities in many countries in the world, and its security cannot be guaranteed. This requires consideration when it is used in fields that require confidentiality, such as national economic data. Summary of the invention

[0006] In order to solve the problems existing in the prior art, the present invention proposes a ranging method based on TDOA and CSS technology, which can add a ranging function on the basis of CSS communication, improve the frequency resolution by extending the signal transmission time, thereby significantly improving the phase difference measurement accuracy and achieving high-precision ranging.

[0007] To achieve the above object, the technical solution adopted by the present invention is: a ranging method based on TDOA and CSS technology, including a CSS wireless terminal to be located and two dual-antenna CSS wireless base stations with known positions, and the specific steps are as follows:

[0008] Step 1: The dual-antenna CSS wireless base station continuously generates a local up chirp signal with a modulation value of 0 and inverts its imaginary part to generate a local down chirp signal;

[0009] Step 2: The node to be measured transmits a ranging frame to the dual-antenna CSS wireless base station. The ranging frame consists of a preamble, a synchronization code, a frame header, and a ranging code.

[0010] Step 3: The dual-antenna CSS wireless base station multiplies the signal received by one antenna with the locally generated downchirp signal to perform FFT, and determines whether a signal frame is received;

[0011] Step 4, the dual-antenna CSS wireless base station interpolates 8 phases of the local downchirp signal through a multiphase filter, and uses it to perform multiplication and accumulation operations with the signal received by this antenna, and adjusts the phase of the local downchirp signal to the phase corresponding to the maximum value of the multiplication and accumulation operation; at the same time, continue to perform the multiplication FFT operation of the received signal and the local downchirp signal to check whether the maximum amplitude still exceeds the gate value, and whether the maximum position is at the 0 frequency point at this time. When both conditions are met, proceed to the next step, otherwise continue to adjust the local downchirp signal phase; this step is to eliminate the decimal symbol time offset STO in the received signal;

[0012] Step 5. The dual-antenna CSS wireless base station multiplies the signal received at this antenna with the locally generated upchirp signal, and generates 17 frequency sine waves and performs cross-correlation operation on the multiplication result. The correlation operation refers to the operation of the cross-correlation value of the two signals, which is a mathematical operation to compare the similarity of two sequences. The maximum value obtained by the correlation operation is compared with the maximum value generated by the FFT operation in step 3, and the FFT operation of multiplying the received signal and the local downchirp signal is continued to check whether the maximum value amplitude still exceeds the gate value, and whether the maximum value position is at the 0 frequency point at this time. If both conditions are met, continue this step, otherwise return to step 3. This step is to eliminate the integer carrier frequency offset CFO in the received signal.

[0013] Step 6, the dual-antenna CSS wireless base station simultaneously multiplies the signal received at this antenna with the locally generated upchirp signal, and generates 17 frequency sine waves and performs cross-correlation operations on the correlation results, and compares the maximum value obtained by the correlation operation with the maximum value generated by the FFT operation in step 3. If it is greater, it means that the second downchirp signal in the synchronization code is detected, and the frequency value compensated by the carrier offset compensation module and the phase of the local downchirp signal are adjusted according to the frequency point corresponding to the maximum value of the correlation operation, and then proceed to the next step; at the same time, continue to perform the multiplication FFT operation of the received signal and the local downchirp signal to check whether the maximum value amplitude still exceeds the gate value, and whether the maximum value position is at the 0 frequency point at this time. When both conditions are met, continue this step, otherwise return to step 3; this step is to eliminate the fractional carrier frequency offset CFO in the received signal;

[0014] Step 7: The dual-antenna CSS wireless base station multiplies the signal received by the antenna with the locally adjusted downchirp signal to perform FFT, queries the FFT output maximum position index, obtains the node information and the transmission function according to the transmission information, and proceeds to step 8 if it is a data transmission function, and proceeds to step 9 if it is a ranging function;

[0015] Step 8: The dual-antenna CSS wireless base station multiplies the signal received by the antenna with the locally adjusted downchirp signal to perform FFT, and queries the FFT output maximum position index, which is the 7-bit data transmitted for this symbol;

[0016] Step 9. The dual-antenna CSS wireless base station multiplies the two signals received from the two antennas with the locally generated downchirp signal, performs phase compensation, and calculates the phase difference of the signals received by the two antennas, thereby calculating the difference in distance from the node to the two antennas of the dual-antenna CSS wireless base station, and determining the hyperbola where the node is located based on the positions of the two antennas; the node position can be determined by calculating the hyperbolas based on the distance differences obtained by averaging multiple measurements of the two dual-antenna CSS wireless base stations.

[0017] Furthermore, in step 2, the preamble code is composed of 6 to 256 reference up chirp signals with a modulation value of 0, the synchronization code is composed of two reference down chirp signals with a modulation value of 0, the frame header is composed of up chirp signals with multiple modulation values ​​carrying node information and function information, and the ranging code is composed of a large number of reference up chirp signals with a modulation value of 0.

[0018] Furthermore, in step 3, it is checked whether the maximum amplitude of the FFT output exceeds the gate value. If it exceeds the gate value, it is determined that the signal frame is received; at the same time, the local downchirp signal phase is adjusted according to the FFT maximum position index, and the multiplication FFT operation is continued to check whether the maximum amplitude still exceeds the gate value, and whether the maximum position is at the 0 frequency point. When both conditions are met, proceed to the next step, otherwise continue to adjust the local downchirp signal phase; this step is to eliminate the integer symbol time offset STO in the received signal.

[0019] Furthermore, in step 5, the dual-antenna CSS wireless base station multiplies the signal received at this antenna with the locally generated up chirp signal, and generates 17 frequency sine waves and performs cross-correlation operation on the multiplication result. If the maximum value in the cross-correlation operation result is greater than the signal detection gate value, it means that the first downchirp signal in the synchronization code is detected, and the frequency value compensated by the carrier offset compensation module is adjusted according to the frequency point corresponding to the maximum value of the correlation operation and the phase of the local downchirp signal and proceeds to the next step.

[0020] Furthermore, in step 9, frequency resolution refers to the ability to separate two adjacent spectrum peaks. The longer the observation period of the signal, the better the frequency resolution effect obtained after signal processing. Generally speaking, an observation window with an observation time of T can separate frequency components separated by more than 1 / T Hz.

[0021] Furthermore, in step 9, the base station multiplies the two signals received from the two antennas with the locally generated downchirp signal, and performs phase compensation on the two received signals and the local downchirp signal between the two sampling points at the two ends of the local downchirp signal corresponding to the maximum, second largest, minimum, and second smallest instantaneous frequency; then CIC filtering and downsampling are performed on the two multiplied and compensated signals, one channel of data after downsampling is conjugate processed and multiplied with the other channel of data, and then FFT operation is performed. The frequency difference can be calculated by checking the index corresponding to the maximum value of the FFT operation, thereby calculating the phase difference of the signals received by the two antennas, and further calculating the distance difference between the node and the two antennas of this base station.

[0022] Compared with the prior art, the beneficial effects of the present invention are as follows: since the traditional measurement accuracy based on TOA and SDS-TWR algorithms is low, and the node side also needs to perform ranging operations, the overhead of the node side is increased. The present invention utilizes the CSS symbol characteristics to convert the phase difference into a frequency difference, and improves the frequency resolution by extending the signal duration to improve the phase difference resolution accuracy, thereby improving the ranging accuracy; in addition, the ranging method can be well combined with data transmission, and the ranging code can be regarded as a data frame for transmitting long continuous 0s. The ranging function is mainly completed on the base station side, which greatly reduces the implementation complexity of the node. Third, the implementation complexity of the ranging algorithm on the base station side is also low.

[0023] The present invention is mainly used in LPWAN as a physical layer data communication and ranging solution. The anti-interference characteristics of CSS spread spectrum communication are used to achieve a wider coverage range. At the same time, the proposed ranging solution can achieve higher ranging accuracy within the communication coverage range, so it has a good application prospect in LPWAN. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a system composition block diagram of the present invention.

[0025] Figure 2 It is a schematic diagram of the result when the phase is not compensated during the ranging process of the present invention.

[0026] Figure 3 It is a schematic diagram of the result after phase compensation in the ranging process of the present invention. DETAILED DESCRIPTION

[0027] The embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be interpreted as limiting the present invention.

[0028] This embodiment proposes a distance measurement method based on TDOA and CSS technology, such as Figure 1 As shown, a CSS wireless terminal to be located and two dual-antenna CSS wireless base stations are required, and the locations of the two wireless base stations are known. The wireless terminal consists of an FPGA and an SX1255 RF module. The wireless base station consists of an FPGA and an AD9361 RF module, where the two RF receivers of the AD9361 use the same clock. Taking the CSS signal bandwidth BW = 500KHz, the spreading factor SF = 7, and the sampling rate Fs = 500Ksps as an example, the ranging method based on TDOA and CSS technology specifically includes the following steps:

[0029] Step 1: The base station continuously generates a local up chirp signal with a modulation value of 0 and inverts its imaginary part to generate a local down chirp signal.

[0030] Step 2: The node to be measured transmits a ranging frame to the base station. The ranging frame consists of a preamble, a synchronization code, a frame header, and a ranging code. The preamble consists of a certain number of reference up chirp signals with a modulation value of 0, the synchronization code consists of two reference down chirp signals with a modulation value of 0, the frame header consists of multiple up chirp signals with modulation values ​​carrying node information and function information, and the ranging code consists of a large number of reference up chirp signals with a modulation value of 0.

[0031] Step 3: The base station multiplies the signal received by the antenna at one end with the locally generated downchirp signal to perform FFT, and checks whether the maximum amplitude of the FFT output exceeds the gate value. If so, it is determined that the signal frame is received. At the same time, the local downchirp signal phase is adjusted according to the FFT maximum position index, and the multiplication FFT operation is continued to check whether the maximum amplitude still exceeds the gate value and whether the maximum position is at the 0 frequency point. If both conditions are met, proceed to the next step, otherwise continue to adjust the local downchirp signal phase. This step is to eliminate the integer symbol time offset STO in the received signal.

[0032] Step 4: The base station side interpolates the 8 phases of the local downchirp signal through the multiphase filter, and uses it to perform multiplication and accumulation operations with the signal received by this antenna, and adjusts the phase of the local downchirp signal to the phase corresponding to the maximum value of the multiplication and accumulation operation. At the same time, continue to perform the multiplication FFT operation of the received signal and the local downchirp signal to check whether the maximum amplitude still exceeds the gate value and whether the maximum position is at the 0 frequency point. If both conditions are met, proceed to the next step, otherwise continue to adjust the local downchirp signal phase. This step is to eliminate the decimal symbol time offset STO in the received signal.

[0033] Step 5: The base station multiplies the signal received at this antenna with the locally generated up chirp signal, and generates a sine wave of 17 frequencies [-8:1:8]*FFT bin (FFT bin=BW / 2^SF) to perform correlation operation with it. The maximum value obtained by the correlation operation is compared with the maximum value generated by the FFT operation in step 3. If it is greater, it means that the first downchirp signal in the synchronization code is detected, and the frequency value compensated by the carrier offset compensation module and the phase of the local downchirp signal are adjusted according to the frequency point corresponding to the maximum value of the correlation operation and enter the next step. At the same time, continue to perform the FFT operation of multiplying the received signal and the local downchirp signal to check whether the maximum amplitude still exceeds the gate value and whether the maximum position is at the 0 frequency point. If both conditions are met, continue this step, otherwise return to step 3. This step is to eliminate the integer carrier frequency offset CFO in the received signal.

[0034] Step 6: The base station multiplies the signal received at this antenna with the locally generated up chirp signal at the same time, and generates a sine wave of 17 frequencies [-1:1 / 8:1]*FFT bin (FFT bin=BW / 2^SF) to perform correlation operation with it. The maximum value obtained by the correlation operation is compared with the maximum value generated by the FFT operation in step 3. If it is greater, it means that the second downchirp signal in the synchronization code is detected, and the frequency value compensated by the carrier offset compensation module and the phase of the local downchirp signal are adjusted according to the corresponding frequency point of the maximum value of the correlation operation and enter the next step. At the same time, continue to perform the FFT operation of multiplying the received signal and the local downchirp signal to check whether the maximum amplitude still exceeds the gate value and whether the maximum position is at the 0 frequency point. If both conditions are met, continue this step, otherwise return to step 3. This step is to eliminate the fractional carrier frequency offset CFO in the received signal.

[0035] Step 7: The base station multiplies the signal received by this antenna with the locally adjusted downchirp signal to perform FFT, queries the FFT output maximum position index, obtains the node information and the transmission function according to the transmission information, and proceeds to step 8 if it is a data transmission function, and proceeds to step 9 if it is a ranging function.

[0036] Step 8: The base station multiplies the signal received by this antenna with the locally adjusted downchirp signal to perform FFT, and queries the position index of the maximum value of the FFT output, which is the 7-bit data transmitted for this symbol.

[0037] Step 9: The base station multiplies the two signals received from the two antennas with the locally generated downchirp signal, and performs phase compensation on the two received signals and the local downchirp signal between the two sampling points at the two ends of the local downchirp signal instantaneous frequency corresponding to the maximum, second largest, minimum, and second smallest. Then, the two signals after multiplication and compensation are downsampled by CIC filtering, and one of the downsampled data is conjugated and multiplied with the other data, and then FFT operation is performed. The frequency difference can be calculated by checking the index corresponding to the maximum value of the FFT operation, thereby calculating the phase difference of the signals received by the two antennas, and further calculating the distance difference between the node and the two antennas of this base station, thereby determining the hyperbola where the node is located according to the positions of the two antennas. The node position can be determined by the hyperbolas calculated based on the distance difference obtained by averaging multiple measurements of the two base stations.

[0038] Take the chirp signal with bandwidth BW = 500KHz and spreading factor SF = 7 as an example. Its duration is Its slope Assuming that the distance difference between the signal and the two antennas is Δd, the arrival time difference is Where c is the speed of light. The frequency difference of the single tone signal generated by multiplying the two signals with the same downchirp signal is Therefore, a distance difference of 1m will produce a frequency difference of about 6.5Hz for this chirp signal.

[0039] Frequency resolution refers to the ability to separate two adjacent spectrum peaks. The longer the signal observation period, the better the frequency resolution effect after signal processing. Generally speaking, an observation window with an observation time of T can separate frequency components separated by more than 1 / T Hz. Therefore, to resolve a frequency difference of 6.5 Hz, a single-frequency signal with a duration of at least about 154 ms is required, that is, more than 600 up chirp signals with a modulation value of 0 are required to form a ranging code. Increasing the ranging code length to improve the frequency resolution can further improve the ranging accuracy.

[0040] Since there is an instantaneous frequency jump from the end of the previous symbol to the beginning of the next symbol between adjacent symbols of the ranging code, and the local downchirp signal still has a certain phase difference with the received signal after being adjusted by the preamble synchronization code, the single-frequency signal generated by multiplying the received signal with the local downchirp signal will produce a phase jump between chirp symbols, such as Figure 2As shown, in order to reduce interference during frequency resolution, this phase jump needs to be compensated. Since the phase of the local downchirp signal is aligned with the received upchirp signal during the preamble and synchronization code, the alignment accuracy depends on the phase accuracy of the multi-phase filter, which is 1 / 8 of the sampling frequency. Select two sampling points at the ends of the maximum, second largest, minimum, and second smallest instantaneous frequency of the local downchirp signal. The phase jump of the single-frequency signal occurs between these two points. Take the conjugate of the complex received signal collected at the latter sampling point and multiply it with the complex received signal of the previous sampling point to obtain the normalized phase compensation value. Multiply the subsequent received signal by this value to make the single-frequency signal phase continuous. Figure 3 This compensation needs to be done between each chirp symbol.

[0041] It should be noted that the above-mentioned embodiments illustrate rather than limit the invention and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims.

Claims

1. A distance measurement method based on TDOA and CSS technology, characterized in that: The method includes a CSS wireless terminal to be located and two dual-antenna CSS wireless base stations whose positions are known, and the specific steps are as follows: Step 1: The dual-antenna CSS wireless base station continuously generates a local up chirp signal with a modulation value of 0 and inverts its imaginary part to generate a local down chirp signal; Step 2: The node to be measured transmits a ranging frame to the dual-antenna CSS wireless base station. The ranging frame consists of a preamble, a synchronization code, a frame header, and a ranging code. Step 3: The dual-antenna CSS wireless base station multiplies the signal received by one antenna with the locally generated downchirp signal to perform FFT, and determines whether a signal frame is received; Step 4, the dual-antenna CSS wireless base station interpolates 8 phases of the local downchirp signal through a multiphase filter, and uses it to perform multiplication and accumulation operations with the signal received by this antenna, and adjusts the phase of the local downchirp signal to the phase corresponding to the maximum value of the multiplication and accumulation operation; at the same time, continue to perform the multiplication FFT operation of the received signal and the local downchirp signal to check whether the maximum amplitude still exceeds the gate value, and whether the maximum position is at the 0 frequency point at this time. When both conditions are met, proceed to the next step, otherwise continue to adjust the local downchirp signal phase; this step is to eliminate the decimal symbol time offset STO in the received signal; Step 5, the dual-antenna CSS wireless base station multiplies the signal received at this antenna with the locally generated up chirp signal at the same time, and generates 17 frequency sine waves and performs cross-correlation operation with the multiplication result, wherein the correlation operation refers to the operation of the cross-correlation value of the two signals, which is a mathematical operation for comparing the similarity of two sequences; the maximum value obtained by the correlation operation is compared with the maximum value generated by the FFT operation in step 3, and the FFT operation of multiplying the received signal with the local downchirp signal is continued to check whether the maximum value amplitude still exceeds the gate value, and whether the maximum value position is at the 0 frequency point at this time, and if both conditions are met, continue this step, otherwise return to step 3; this step is to eliminate the integer carrier frequency offset CFO in the received signal; Step 6, the dual-antenna CSS wireless base station simultaneously multiplies the signal received at this antenna with the locally generated up chirp signal, and generates 17 frequency sine waves and performs cross-correlation operation with the correlation results, and compares the maximum value obtained by the correlation operation with the maximum value generated by the FFT operation in step 3. If it is greater, it means that the second downchirp signal in the synchronization code is detected, and the frequency value compensated by the carrier offset compensation module and the phase of the local downchirp signal are adjusted according to the frequency point corresponding to the maximum value of the correlation operation, and then proceed to the next step; at the same time, continue to perform the multiplication FFT operation of the received signal and the local downchirp signal to check whether the maximum value amplitude still exceeds the gate value, and whether the maximum value position is at the 0 frequency point at this time. When both conditions are met, continue this step, otherwise return to step 3; this step is to eliminate the fractional carrier frequency offset CFO in the received signal; Step 7: The dual-antenna CSS wireless base station multiplies the signal received by the antenna with the locally adjusted downchirp signal to perform FFT, queries the FFT output maximum position index, obtains the node information and the transmission function according to the transmission information, and proceeds to step 8 if it is a data transmission function, and proceeds to step 9 if it is a ranging function; Step 8: The dual-antenna CSS wireless base station multiplies the signal received by the antenna with the locally adjusted downchirp signal to perform FFT, and queries the FFT output maximum position index, which is the 7-bit data transmitted for this symbol; Step 9, the dual-antenna CSS wireless base station multiplies the two signals received from the two antennas with the locally generated downchirp signal, performs phase compensation, and calculates the phase difference of the signals received by the two antennas, thereby calculating the difference in distance from the node to the two antennas of the dual-antenna CSS wireless base station, and determining the hyperbola where the node is located according to the positions of the two antennas; The node position can be determined by calculating the hyperbolas based on the average distance difference obtained by multiple measurements of two dual-antenna CSS wireless base stations.

2. The distance measurement method based on TDOA and CSS technology according to claim 1, characterized in that: In step 2, the preamble is composed of 6 to 256 reference up chirp signals with a modulation value of 0, the synchronization code is composed of two reference down chirp signals with a modulation value of 0, the frame header is composed of up chirp signals with multiple modulation values ​​carrying node information and function information, and the ranging code is composed of a large number of reference up chirp signals with a modulation value of 0.

3. The distance measurement method based on TDOA and CSS technology according to claim 1, characterized in that: In step 3, check whether the maximum amplitude of the FFT output exceeds the gate value. If it exceeds the gate value, it is determined that the signal frame is received; at the same time, adjust the local downchirp signal phase according to the FFT maximum position index, and continue to perform multiplication FFT operations to check whether the maximum amplitude still exceeds the gate value, and whether the maximum position is at the 0 frequency point. When both conditions are met, proceed to the next step, otherwise continue to adjust the local downchirp signal phase; this step is to eliminate the integer symbol time offset STO in the received signal.

4. The distance measurement method based on TDOA and CSS technology according to claim 1, characterized in that: In step 5, the dual-antenna CSS wireless base station multiplies the signal received at this antenna with the locally generated up chirp signal, and generates 17 frequency sine waves to perform cross-correlation operation with the multiplication result. If the maximum value in the cross-correlation operation result is greater than the signal detection gate value, it means that the first downchirp signal in the synchronization code is detected, and the frequency value compensated by the carrier offset compensation module is adjusted according to the frequency point corresponding to the maximum value of the correlation operation and the phase of the local downchirp signal and enters the next step.

5. The distance measurement method based on TDOA and CSS technology according to claim 4, characterized in that: In step 9, frequency resolution refers to the ability to separate two adjacent spectrum peaks; the longer the observation period of the signal, the better the frequency resolution effect obtained after signal processing; generally speaking, an observation window with an observation time of T can separate frequency components separated by more than 1 / T Hz.

6. The distance measurement method based on TDOA and CSS technology according to claim 1, characterized in that: In the step 9, the base station multiplies the two signals received from the two antennas with the locally generated downchirp signal, and performs phase compensation on the two received signals and the local downchirp signal between the two sampling points at the two ends corresponding to the maximum, second largest, minimum, and second smallest instantaneous frequency of the local downchirp signal; then CIC filtering and downsampling are performed on the two multiplied and compensated signals, one channel of data after downsampling is conjugate processed and multiplied with the other channel of data, and then FFT operation is performed, and the frequency difference can be calculated by checking the index corresponding to the maximum value of the FFT operation, thereby calculating the phase difference of the signals received by the two antennas, and further calculating the distance difference between the node and the two antennas of this base station.