CN112738878B - Wireless time synchronization method and system - Google Patents

Wireless time synchronization method and system Download PDF

Info

Publication number
CN112738878B
CN112738878B CN202011550859.1A CN202011550859A CN112738878B CN 112738878 B CN112738878 B CN 112738878B CN 202011550859 A CN202011550859 A CN 202011550859A CN 112738878 B CN112738878 B CN 112738878B
Authority
CN
China
Prior art keywords
signal
reference signal
external
time
positioning chip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011550859.1A
Other languages
Chinese (zh)
Other versions
CN112738878A (en
Inventor
王海峰
张升康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Institute of Radio Metrology and Measurement
Original Assignee
Beijing Institute of Radio Metrology and Measurement
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Institute of Radio Metrology and Measurement filed Critical Beijing Institute of Radio Metrology and Measurement
Priority to CN202011550859.1A priority Critical patent/CN112738878B/en
Publication of CN112738878A publication Critical patent/CN112738878A/en
Application granted granted Critical
Publication of CN112738878B publication Critical patent/CN112738878B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0682Clock or time synchronisation in a network by delay compensation, e.g. by compensation of propagation delay or variations thereof, by ranging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/0055Synchronisation arrangements determining timing error of reception due to propagation delay

Abstract

The invention discloses a wireless time synchronization method and a wireless time synchronization system, which solve the problem that the existing method and system cannot obtain the absolute time difference between external time bases of nodes by using a positioning system of a positioning chip. The method, comprising: calculating a first time interval by using the edge of the first external time reference signal as a synchronous enabling trigger signal of the first positioning chip; calculating a second time interval by using the edge of the second external time reference signal as a synchronous enabling trigger signal of the second positioning chip; the method comprises the steps that a first distance measuring signal is transmitted and a second distance measuring signal is received through a first positioning chip, the first link delay from the second positioning chip to the first positioning chip is calculated, the second distance measuring signal is transmitted and the first distance measuring signal is received through the second positioning chip, and the second link delay from the first positioning chip to the second positioning chip is calculated; an internal time base difference and an external time base difference are calculated. The system uses the method. The invention can realize time difference measurement superior to nanosecond level.

Description

Wireless time synchronization method and system
Technical Field
The present invention relates to the field of wireless communication and positioning, and in particular, to a wireless time synchronization method and system.
Background
The ultra-wideband technology realizes wireless transmission by sending and receiving extremely narrow pulses with the nanosecond or microsecond level or below, can realize ultra-wideband on a frequency spectrum, has strong multipath resistance, high timestamp precision, strong electromagnetic compatibility and low power consumption, and is particularly suitable for application scenes of personnel and articles in theaters, power plants, prisons, hospitals and parking lots for real-time positioning and the like. In the existing ultra-wideband communication positioning chip, each node in the system provides a reference by means of external high-precision frequency and time signals, people need to know absolute position information and acquire absolute time difference information of external time bases among the nodes in the system, and the existing positioning chip is only limited to positioning and is not used for nanosecond-level high-precision wireless time synchronization of the external time bases.
Disclosure of Invention
The invention provides a wireless time synchronization method and a wireless time synchronization system, which solve the problem that the positioning system of the existing method and system using a positioning chip cannot obtain the absolute time difference between external time bases of nodes.
In order to solve the problems, the invention is realized as follows:
the embodiment of the invention provides a wireless time synchronization method, which comprises the following steps: firstly, the edge of a first external time reference signal is used as a synchronous enabling trigger signal of a first positioning chip, and then a first time interval is calculated: taking an edge of the first external time reference signal as a first door opening signal, and taking the same edge of a first external frequency reference signal after the first door opening signal as a first door closing signal, wherein the first time interval is a time difference between the first door opening signal and the first door closing signal; firstly, using the edge of the second external time reference signal as a synchronous enabling trigger signal of the second positioning chip, and then calculating a second time interval: taking an edge of the second external time reference signal as a second door opening signal, and taking the same edge of a first second external frequency reference signal after the second door opening signal as a second door closing signal, wherein the second time interval is a time difference between the second door opening signal and the second door closing signal; the first positioning chip is used for transmitting a first ranging signal and receiving a second ranging signal, the first link delay from the second positioning chip to the first positioning chip is calculated, the second positioning chip is used for transmitting the second ranging signal and receiving the first ranging signal, and the second link delay from the first positioning chip to the second positioning chip is calculated; calculating an internal time base time difference and an external time base difference:
τ=(τ ABBA )/2
T=T A +τ-T B
wherein τ and T are the internal time-base time difference and the external time-base difference, τ AB 、τ BA Respectively, said first and second link delays, T A 、T B The first time interval and the second time interval are respectively.
Further, clearing an internal timer of a first positioning chip while using an edge of a first external time reference signal as a synchronous enabling trigger signal of the first positioning chip; and clearing an internal timer of the second positioning chip while using the edge of the second external time reference signal as a synchronous enabling trigger signal of the second positioning chip.
Further, if the duration of the high level or the low level of the first external time reference signal is greater than one period duration of the first external frequency reference signal, performing compressed pulse width conversion processing on the first external time reference signal to make the duration of the high level or the low level thereof less than one period duration of the first external frequency reference signal; and if the duration of the high level or the low level of the second external time reference signal is longer than the duration of one period of the second external frequency reference signal, performing compressed pulse width conversion processing on the second external time reference signal to enable the duration of the high level or the low level of the second external time reference signal to be shorter than the duration of one period of the second external frequency reference signal.
Preferably, the edge of the first external time reference signal is a rising or falling edge of the first external time reference signal.
Preferably, the edge of the second external time reference signal is a rising edge or a falling edge of the second external time reference signal.
Preferably, the first positioning chip and the second positioning chip are both DW1000 chips.
The embodiment of the invention also provides a wireless time synchronization system, and the method comprises the following steps: the system comprises a first positioning chip, a second positioning chip, a first time interval counter, a second time interval counter and a calculating module; the first positioning chip is used for receiving a first external time reference signal, taking the edge of the first external time reference signal as a synchronous enabling trigger signal, and also used for transmitting a first ranging signal and receiving a second ranging signal; the first time interval counter is configured to receive the first external time reference signal, use an edge of the corresponding first external time reference signal as a first door opening signal, receive a first external frequency reference signal, and use a same edge of a first external frequency reference signal after a time of the first door opening signal as a first door closing signal; the second positioning chip is used for receiving a second external time reference signal, taking the edge of the second external time reference signal as a synchronous enabling trigger signal, and also used for transmitting the second ranging signal and receiving the first ranging signal; the second time interval counter is configured to receive the second external time reference signal, use an edge of the corresponding second external time reference signal as a second door opening signal, receive a second external frequency reference signal, and use a same edge of a first external frequency reference signal after a time of the second door opening signal as a second door closing signal; the calculation module is used for calculating a first time interval according to the first door opening signal and the first door closing signal, calculating a second time interval according to the second door opening signal and the second door closing signal, calculating a first link delay and a second link delay, and calculating an internal time base time difference and an external time reference difference.
Preferably, the system further comprises: a pulse width processing module; the pulse width processing module is configured to, when the duration of the high level or the low level of the first external time reference signal is longer than one period of the first external frequency reference signal, perform compressed pulse width conversion processing on the first external time reference signal so that the duration of the high level or the low level of the first external time reference signal is shorter than one period of the first external frequency reference signal; and when the duration of the high level or the low level of the second external time reference signal is longer than the duration of one period of the second external frequency reference signal, performing compressed pulse width conversion processing on the second external time reference signal to enable the duration of the high level or the low level of the second external time reference signal to be shorter than the duration of one period of the second external frequency reference signal.
The beneficial effects of the invention include: the invention utilizes the external synchronous trigger function of the positioning chip, utilizes the time interval counter to measure the time difference between the external time reference signal and the internal time base signal in real time, simultaneously utilizes the two-way distance measurement principle to obtain the time difference between the internal time base signals of the two positioning chips, and finally indirectly calculates to obtain the absolute time difference between the two external time bases.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a flowchart of an embodiment of a method for wireless time synchronization;
FIG. 2 is an external time reference absolute time difference embodiment;
FIG. 3 is a diagram of an embodiment of a wireless time synchronization system;
fig. 4 is a diagram of an embodiment of a wireless time synchronization system including a pulse width processing module.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the specific embodiments of the present invention and the accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
The innovation points of the invention are as follows: the invention utilizes the external synchronous triggering function of the positioning chip, utilizes the time interval counter to measure the time difference between the external time reference signal and the internal time base signal of the positioning chip in real time, simultaneously utilizes the two-way distance measurement principle to obtain the time difference between the internal time base signals of the two positioning chips, and finally indirectly calculates to obtain the absolute time difference between the two external time bases.
The technical solutions provided by the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
Fig. 1 shows an embodiment of a wireless time synchronization method, which can be used for existing ultra-wideband wireless communication and measurement of absolute time difference of a positioning chip, and as an embodiment of the present invention, the wireless time synchronization method includes the following steps 101 to 104:
step 101, firstly, the edge of the first external time reference signal is used as a synchronization enabling trigger signal of the first positioning chip, and then the first time interval is calculated.
In step 101, an edge of the first external time reference signal is used as a first door opening signal, and the same edge of a first external frequency reference signal after the first door opening signal is used as a first door closing signal, where the first time interval is a time difference between the first door opening signal and the first door closing signal.
The edge of the first external time reference signal may be a rising edge or a falling edge of the first external time reference signal, and is not particularly limited herein. The same edge of the first external frequency reference signal refers to the same edge as the first external time reference signal, and if the edge of the first external time reference signal is a rising edge, the corresponding rising edge of the first external frequency reference signal is used as a first door-closing signal; otherwise, the first external frequency reference signal and the first external time reference signal both use the falling edge as the trigger edge.
For example, a falling edge of the first external time reference signal is used as a first door opening signal, and a first falling edge of a subsequent first external frequency reference signal is used as a first door closing signal.
In step 101, an edge of the first external time reference signal is used as a synchronization enable trigger signal of the first positioning chip, and an internal timer of the first positioning chip is cleared to count the first positioning chip from a time when the synchronization enable trigger signal is received.
And 102, taking the edge of the second external time reference signal as a synchronous enabling trigger signal of the second positioning chip, and then calculating a second time interval.
In step 102, an edge of the second external time reference signal is used as a second door opening signal, and the same edge of a first second external frequency reference signal after the second door opening signal is used as a second door closing signal, where the second time interval is a time difference between the second door opening signal and the second door closing signal.
The edge of the second external time reference signal may be a rising edge or a falling edge of the second external time reference signal, and is not particularly limited herein. The same edge of the second external frequency reference signal refers to the same edge as the second external time reference signal, and if the edge of the second external time reference signal is a rising edge, the corresponding rising edge of the second external frequency reference signal is used as a second door-closing signal; and otherwise, the second external frequency reference signal and the second external time reference signal both use the falling edge as a trigger edge.
For example, a falling edge of the second external time reference signal is used as a second door-open signal, and a first falling edge of a second external frequency reference signal after that is used as a second door-close signal.
In step 102, the internal timer of the second positioning chip is cleared while the edge of the second external time reference signal is used as the synchronization enable trigger signal of the second positioning chip.
The edge of the first external time reference signal and the edge of the second external time reference signal may be the same or different.
Step 103, transmitting a first ranging signal and receiving a second ranging signal through the first positioning chip, calculating a first link delay from the second positioning chip to the first positioning chip, transmitting the second ranging signal and receiving the first ranging signal through the second positioning chip, and calculating a second link delay from the first positioning chip to the second positioning chip.
In step 103, the first positioning chip is in a normal operating mode, and transmits a first ranging signal and receives a second ranging signal; the second positioning chip is in a normal working mode, and transmits a second ranging signal and receives the first ranging signal.
Step 104, calculating an internal time base time difference and an external time base difference:
τ=(τ ABBA )/2 (1)
T=T A +τ-T B (2)
wherein τ and T are the internal time-base time difference and the external time-base difference, τ AB 、τ BA Respectively said first and second link delays, T A 、T B Respectively the first time periodAnd a second time interval.
In step 104, the external time reference difference is a time difference from a first door opening signal of the first positioning chip to a second door opening signal of the second positioning chip, which is an absolute time difference between the two positioning chips.
In the embodiment of the present invention, in the process of measuring the external time reference time difference by using the above steps 101 to 104, if the duration of the high level or the low level of the first external time reference signal is greater than the duration of one cycle of the first external frequency reference signal, the first external time reference signal is subjected to a pulse width compression conversion process, so that the duration of the high level or the low level is less than the duration of one cycle of the first external frequency reference signal; and if the duration of the high level or the low level of the second external time reference signal is longer than the duration of one period of the second external frequency reference signal, performing compressed pulse width conversion processing on the second external time reference signal to enable the duration of the high level or the low level of the second external time reference signal to be shorter than the duration of one period of the second external frequency reference signal.
The purpose of this processing is to avoid full cycle ambiguity in the unit of the external frequency reference signal during the time difference measurement, resulting in inaccurate final time difference measurements.
In the embodiment of the present invention, the first positioning chip and the second positioning chip are both DW1000 chips, and it should be noted that the first positioning chip and the second positioning chip may also be other chips having wireless communication and positioning functions, and also have a time synchronization triggering function.
It should be noted that the present invention is not limited to two positioning chips, and if the system includes a plurality of positioning chips, the method of the present invention may also be used to implement the measurement of the absolute time difference between two positioning chips, so as to implement the measurement of the time difference between all the positioning chips for the system including a plurality of positioning chips.
The invention discloses a high-precision wireless time synchronization system and method based on a positioning chip, which solve the problem that the positioning system utilizing the positioning chip cannot obtain absolute time difference between external time references of nodes, and the time difference measurement precision can be superior to nanosecond level.
Fig. 2 shows an external time-base absolute time difference embodiment, which uses a DW1000 chip as a positioning chip to measure the absolute time difference between two positioning chips.
In an embodiment of the present invention, an edge of the first external time reference signal is a rising edge, and an edge of the second external time reference signal is also a rising edge.
As shown in the figure, the node a inputs a first external time reference signal of the node a to the first DW1000 as a synchronization enable trigger signal, and the first DW1000 performs a zero clearing operation on an internal timer thereof at a clock rising edge when the first external time reference signal is high; meanwhile, the node B inputs the second external time reference signal to the second DW100 as a synchronization enable trigger signal, and the second DW1000 performs a clear operation on its internal timer at a rising edge of the clock when the second external time reference signal is high.
In this embodiment of the present invention, the node a uses an edge of the first external time reference signal as a first door opening signal, uses the same edge of a first external frequency reference signal after the first door opening signal as a first door closing signal, and uses the first time interval as a time difference between the first door opening signal and the first door closing signal.
As shown, node A inputs its own first external time reference signal to channel 1 of the first time interval counter, whose rising edge is the gate-on signal T measured in time interval A0 (i.e., first door opening signal), the node A inputs its own first external frequency reference signal to the 2 nd channel of the first time interval counter, and when the first external time reference signal goes high, the first rising edge of the first external frequency reference signal is used as the door closing signal T measured by the time interval A1 (i.e., the first door-closing signal), the first time interval T is read out by a time interval counter A =T A0 -T A1
Similarly, the node B uses an edge of the second external time reference signal as a second door opening signal, and uses the same edge of a first second external frequency reference signal after the second door opening signal as a second door closing signal, where the second time interval is a time difference between the second door opening signal and the second door closing signal.
As shown, the node B inputs its own second external time reference signal to channel 1 of the second time interval counter, whose rising edge is the door-open signal T measured as a time interval B0 (i.e., second door open signal), the node B inputs its own second external frequency reference signal to the 2 nd channel of the second time interval counter, and when the second external frequency reference signal goes high, the first rising edge of the second external frequency reference signal is used as the door close signal T measured at the time interval B1 (i.e., the first door-closing signal), the first time interval T is read by a time interval counter B =T B0 -T B1
In the embodiment of the invention, according to the normal working mode of the DW1000 chip, the node A transmits a UWB (ultra Wide band) ranging signal (namely, a first ranging signal) of the node A, receives a UWB signal (namely, a second ranging signal) transmitted by a measuring node B, measures and obtains the link delay from the node B to the node A as a first link delay tau AB (ii) a Next, the node B receives and measures the UWB signal (first ranging signal) transmitted by the node a according to the normal operation mode of the DW1000 chip, and measures and obtains the link delay from the node a to the node B as the second link delay τ BA
By using the two-way comparison principle, the time difference of the two DW1000 internal time bases calculated according to the formula 1 is the internal time base time difference tau, and the internal time base time difference is the time difference of the corresponding moments of the first door-closing signal and the second door-closing signal, namely T in the graph A1 And T B1 The time difference between them.
Calculating the external time reference difference according to the formula 2, which is the time difference between the corresponding moments of the first door opening signal and the second door opening signal, i.e. T in the graph A0 And T B0 The time difference therebetween.
The above is the measurement process of the node a and the node B, and when multiple nodes need to perform external time reference time difference measurement, polling measurement needs to be performed between the multiple nodes according to the measurement process of the node a and the node B to obtain the time difference information between the nodes.
Note that the a node and the B node refer to two location nodes in the wireless communication process.
Fig. 3 shows an embodiment of a wireless time synchronization system, which can implement wireless time synchronization using the method of the present invention, and as an embodiment of the present invention, the wireless time synchronization system comprises: the device comprises a first positioning chip 1, a second positioning chip 2, a first time interval counter 3, a second time interval counter 4 and a calculating module 5.
The first positioning chip is used for receiving a first external time reference signal, taking the edge of the first external time reference signal as a synchronous enabling trigger signal, and also used for transmitting a first ranging signal and receiving a second ranging signal; the first time interval counter is configured to receive the first external time reference signal, use an edge of the corresponding first external time reference signal as a first door opening signal, receive a first external frequency reference signal, and use a same edge of a first external frequency reference signal after a time of the first door opening signal as a first door closing signal; the second positioning chip is used for receiving a second external time reference signal, taking the edge of the second external time reference signal as a synchronization enabling trigger signal, and also used for transmitting the second ranging signal and receiving the first ranging signal; the second time interval counter is configured to receive the second external time reference signal, use an edge of the corresponding second external time reference signal as a second door opening signal, receive a second external frequency reference signal, and use a same edge of a first one of the second external frequency reference signals after a time of the second door opening signal as a second door closing signal; the calculation module is used for calculating a first time interval according to the first door opening signal and the first door closing signal, calculating a second time interval according to the second door opening signal and the second door closing signal, calculating a first link delay and a second link delay, and calculating an internal time base time difference and an external time reference difference.
In the embodiment of the present invention, the methods of the first positioning chip, the second positioning chip, the first time interval counter, the second time interval counter and the calculating module are all mentioned in the previous embodiments, and are not repeated here.
Preferably, the first positioning chip and the second positioning chip are both DW1000 positioning chips.
The wireless time synchronization system of the embodiment of the invention can realize the measurement of absolute time difference of the positioning chip in the UWB wireless communication and positioning field, and reaches nanosecond level.
Fig. 4 is an embodiment of a wireless time synchronization system including a pulse width processing module, which is an embodiment of the present invention and includes: the device comprises a first positioning chip 1, a second positioning chip 2, a first time interval counter 3, a second time interval counter 4, a calculating module 5 and a pulse width processing module 6.
The first positioning chip is used for receiving a first external time reference signal, taking the edge of the first external time reference signal as a synchronous enabling trigger signal, and also used for transmitting a first ranging signal and receiving a second ranging signal; the first time interval counter is configured to receive the first external time reference signal, use an edge of the corresponding first external time reference signal as a first door opening signal, receive a first external frequency reference signal, and use a same edge of a first external frequency reference signal after a time of the first door opening signal as a first door closing signal; the second positioning chip is used for receiving a second external time reference signal, taking the edge of the second external time reference signal as a synchronous enabling trigger signal, and also used for transmitting the second ranging signal and receiving the first ranging signal; the second time interval counter is configured to receive the second external time reference signal, use an edge of the corresponding second external time reference signal as a second door opening signal, receive a second external frequency reference signal, and use a same edge of a first one of the second external frequency reference signals after a time of the second door opening signal as a second door closing signal; the calculation module is used for calculating a first time interval according to the first door opening signal and the first door closing signal, calculating a second time interval according to the second door opening signal and the second door closing signal, calculating a first link delay and a second link delay, and calculating an internal time base time difference and an external time reference difference.
The pulse width processing module is configured to, when the duration of the high level or the low level of the first external time reference signal is longer than one period of the first external frequency reference signal, perform compressed pulse width conversion processing on the first external time reference signal so that the duration of the high level or the low level of the first external time reference signal is shorter than one period of the first external frequency reference signal; and when the duration of the high level or the low level of the second external time reference signal is longer than the duration of one period of the second external frequency reference signal, performing compressed pulse width conversion processing on the second external time reference signal to enable the duration of the high level or the low level of the second external time reference signal to be shorter than the duration of one period of the second external frequency reference signal.
It should be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
The above description is only an example of the present invention, and is not intended to limit the present invention. Various modifications and alterations to this invention will become apparent to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (6)

1. A method for wireless time synchronization, comprising the steps of:
firstly, the rising or falling edge of a first external time reference signal is used as a synchronous enabling trigger signal of a first positioning chip, and then a first time interval is calculated: taking a rising edge or a falling edge of the first external time reference signal as a first door opening signal, and taking the same edge of a first external frequency reference signal after the first door opening signal as a first door closing signal, wherein the first time interval is a time difference between the first door opening signal and the first door closing signal;
firstly, the rising edge or the falling edge of the second external time reference signal is used as a synchronous enabling trigger signal of the second positioning chip, and then a second time interval is calculated: taking a rising edge or a falling edge of the second external time reference signal as a second door opening signal, and taking the same edge of a first second external frequency reference signal after the second door opening signal as a second door closing signal, wherein the second time interval is a time difference between the second door opening signal and the second door closing signal;
the first positioning chip is used for transmitting a first ranging signal and receiving a second ranging signal, the first link delay from the second positioning chip to the first positioning chip is calculated, the second positioning chip is used for transmitting the second ranging signal and receiving the first ranging signal, and the second link delay from the first positioning chip to the second positioning chip is calculated;
calculating an internal time base difference and an external time base difference:
τ=(τ ABBA )/2
T=T A +τ-T B
wherein τ and T are the internal time-base time difference and the external time-base difference, τ AB 、τ BA Respectively said first and second link delays, T A 、T B The first time interval and the second time interval are respectively.
2. The wireless time synchronization method of claim 1,
clearing an internal timer of a first positioning chip while taking the edge of a first external time reference signal as a synchronous enabling trigger signal of the first positioning chip;
and clearing an internal timer of the second positioning chip while taking the edge of the second external time reference signal as a synchronous enabling trigger signal of the second positioning chip.
3. The wireless time synchronization method of claim 1,
if the duration of the high level or the low level of the first external time reference signal is longer than one period of the first external frequency reference signal, performing compressed pulse width conversion processing on the first external time reference signal to enable the duration of the high level or the low level of the first external time reference signal to be shorter than one period of the first external frequency reference signal;
and if the duration of the high level or the low level of the second external time reference signal is longer than the duration of one period of the second external frequency reference signal, performing compressed pulse width conversion processing on the second external time reference signal to enable the duration of the high level or the low level of the second external time reference signal to be shorter than the duration of one period of the second external frequency reference signal.
4. The wireless time synchronization method of claim 1, wherein the first positioning chip and the second positioning chip are both DW1000 chips.
5. A wireless time synchronization system using the method of any one of claims 1 to 4, comprising: the system comprises a first positioning chip, a second positioning chip, a first time interval counter, a second time interval counter and a calculation module;
the first positioning chip is used for receiving a first external time reference signal, taking the edge of the first external time reference signal as a synchronous enabling trigger signal, and also used for transmitting a first ranging signal and receiving a second ranging signal;
the first time interval counter is configured to receive the first external time reference signal, use an edge of the corresponding first external time reference signal as a first door opening signal, receive a first external frequency reference signal, and use a same edge of a first external frequency reference signal after a time of the first door opening signal as a first door closing signal;
the second positioning chip is used for receiving a second external time reference signal, taking the edge of the second external time reference signal as a synchronization enabling trigger signal, and also used for transmitting the second ranging signal and receiving the first ranging signal;
the second time interval counter is configured to receive the second external time reference signal, use an edge of the corresponding second external time reference signal as a second door opening signal, receive a second external frequency reference signal, and use a same edge of a first external frequency reference signal after a time of the second door opening signal as a second door closing signal;
the calculating module is used for calculating a first time interval according to the first door opening signal and the first door closing signal, calculating a second time interval according to the second door opening signal and the second door closing signal, calculating a first link delay and a second link delay, and calculating an internal time base time difference and an external time reference difference.
6. The wireless time synchronization system of claim 5, wherein the system further comprises: a pulse width processing module;
the pulse width processing module is used for processing the pulse width,
when the duration of the high level or the low level of the first external time reference signal is longer than the duration of one period of the first external frequency reference signal, carrying out compressed pulse width conversion processing on the first external time reference signal to enable the duration of the high level or the low level of the first external time reference signal to be shorter than the duration of one period of the first external frequency reference signal;
and when the duration of the high level or the low level of the second external time reference signal is longer than the duration of one period of the second external frequency reference signal, performing compressed pulse width conversion processing on the second external time reference signal to enable the duration of the high level or the low level of the second external time reference signal to be shorter than the duration of one period of the second external frequency reference signal.
CN202011550859.1A 2020-12-24 2020-12-24 Wireless time synchronization method and system Active CN112738878B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011550859.1A CN112738878B (en) 2020-12-24 2020-12-24 Wireless time synchronization method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011550859.1A CN112738878B (en) 2020-12-24 2020-12-24 Wireless time synchronization method and system

Publications (2)

Publication Number Publication Date
CN112738878A CN112738878A (en) 2021-04-30
CN112738878B true CN112738878B (en) 2022-11-22

Family

ID=75615248

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011550859.1A Active CN112738878B (en) 2020-12-24 2020-12-24 Wireless time synchronization method and system

Country Status (1)

Country Link
CN (1) CN112738878B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114614910A (en) * 2022-03-09 2022-06-10 江苏斯菲尔电气股份有限公司 Pulse signal low-power-consumption wireless transmission system and method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7492316B1 (en) * 2005-12-23 2009-02-17 Multispectral Solutions, Inc. Wireless time reference system and method
CN101958785A (en) * 2009-07-17 2011-01-26 中国科学院沈阳计算技术研究所有限公司 Transfer time difference-based numerical control system on-site bus time synchronization method and device
CN105634643A (en) * 2016-01-27 2016-06-01 中国人民解放军国防科学技术大学 Fiber time and frequency transfer method, device and system based on bidirectional spread spectrum ranging
CN106851817A (en) * 2017-02-20 2017-06-13 成都物梦工场信息技术有限公司 A kind of high-accuracy clock synchronization method between base station
CN107659369A (en) * 2017-10-26 2018-02-02 顺丰科技有限公司 A kind of locating base station clock synchronization apparatus and its synchronous method
CN109525351A (en) * 2018-10-26 2019-03-26 中国科学院国家授时中心 A kind of equipment for realizing time synchronization with time reference station

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7492316B1 (en) * 2005-12-23 2009-02-17 Multispectral Solutions, Inc. Wireless time reference system and method
CN101958785A (en) * 2009-07-17 2011-01-26 中国科学院沈阳计算技术研究所有限公司 Transfer time difference-based numerical control system on-site bus time synchronization method and device
CN105634643A (en) * 2016-01-27 2016-06-01 中国人民解放军国防科学技术大学 Fiber time and frequency transfer method, device and system based on bidirectional spread spectrum ranging
CN106851817A (en) * 2017-02-20 2017-06-13 成都物梦工场信息技术有限公司 A kind of high-accuracy clock synchronization method between base station
CN107659369A (en) * 2017-10-26 2018-02-02 顺丰科技有限公司 A kind of locating base station clock synchronization apparatus and its synchronous method
CN109525351A (en) * 2018-10-26 2019-03-26 中国科学院国家授时中心 A kind of equipment for realizing time synchronization with time reference station

Also Published As

Publication number Publication date
CN112738878A (en) 2021-04-30

Similar Documents

Publication Publication Date Title
CN108964867B (en) Distance measurement method and distance measurement system
Malajner et al. UWB ranging accuracy
Thorbjornsen et al. Radio frequency (RF) time-of-flight ranging for wireless sensor networks
US20160259033A1 (en) Locating a tag in an area
US9519047B2 (en) System and method of implementing asynchronously-clocked fixed-location devices for a distance determination by a roaming client device
CN112738878B (en) Wireless time synchronization method and system
Fischer et al. An impulse radio UWB transceiver with high-precision TOA measurement unit
CN101488802B (en) A kind of receiving and sending synchronization method for wireless channel absolute time delay test
CN103123392B (en) Asynchronous ultra wide band positioning method and system based on two-way distance measurement
Wang et al. Time of flight based two way ranging for real time locating systems
Bonafini et al. Exploiting time synchronization as side effect in UWB real-time localization devices
CN103176045A (en) Method and system for pilot frequency bi-phase coincidence detection based on coincidence pulse counting
CN202372798U (en) Nano-second (ns) grade time interval measurement device
Wang et al. Improved SDS-TWR ranging technology in UWB positioning
CN102104384B (en) Differential delay chain unit and time-to-digital converter comprising same
Vashistha et al. A novel E-DTDOA based one-way ranging using UWB-IR with unsynchronized anchors
CN102928814B (en) Method and system for performing ultra-wide band asynchronous positioning under nonideal conditions
Hedley et al. System and algorithms for accurate indoor tracking using low-cost hardware
CN107561918B (en) TOA estimation method and device are positioned based on FPGA ultra wide band
Huan et al. Wireless location for indoor based on UWB
Kreiser et al. Simple and efficient localization method for IR-UWB systems based on two-way ranging
Adler et al. Measuring the distance between wireless sensor nodes with standard hardware
Zhou et al. Research on UWB localization based on TOA in indoor NLOS environment
Corral et al. Distance estimation system based on ZigBee
Zhang et al. Threshold selection for ultra-wideband TOA estimation based on skewness analysis

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant