Time difference measurement method and device, computer equipment and readable storage medium
By calibrating the pulse arrival time, the problem of time difference measurement errors caused by clock asynchronousness and drift among multiple stations is solved, and high-precision time difference measurement and positioning accuracy are achieved, which is suitable for electronic systems.
Patent Information
- Application Number
- CN202410508909.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-26
- Publication Date
- 2024-08-30
AI Technical Summary
Existing time difference measurement technology is difficult to obtain high-precision measurement results when clocks among multiple stations are out of sync and drift, leading to positioning errors.
By using second pulses to calibrate the pulse arrival time, the effects of local clock drift and multi-station clock asynchrony on arrival time and time difference extraction are eliminated, and the calibrated pulse arrival time is calculated.
It improves the time difference measurement accuracy and system positioning accuracy, reduces the time difference measurement error between multiple stations, and has the advantages of high accuracy, flexibility and low resource consumption.
Smart Images

Figure CN118566831A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of time difference measurement, and in particular to a time difference measurement method, device, computer equipment and readable storage medium. Background Art
[0002] Time difference measurement plays an extremely important role in the field of electronic reconnaissance. Through time difference measurement, the direction information of the radiation source can be obtained and the positioning function can be realized. In time difference positioning applications, multi-station time difference positioning is mostly used, so the time difference measurement between multiple stations is more critical.
[0003] In the prior art, the time difference measurement technology often uses digital measurement methods, and its measurement accuracy is affected by the clock accuracy, clock stability, transmission link, etc. between multiple stations. Clock drift and clock asynchrony can easily cause time difference measurement errors and even positioning errors. Therefore, traditional multi-station time difference measurement can obtain high-precision time difference measurement results by constraining the accuracy of synchronized clocks, but it cannot solve the problems of clock asynchrony and drift between multiple stations.
[0004] How to improve the accuracy of time difference measurement between multiple stations and reduce the error of time difference measurement between multiple stations has become a technical problem to be solved by technical personnel in this field. Summary of the invention
[0005] The purpose of this application is to provide a time difference measurement method, device, computer equipment and readable storage medium in order to overcome the existing technical defects. The use of second pulses to calibrate the arrival time can eliminate the influence of local clock drift and multi-station clock asynchrony on the arrival time and time difference extraction.
[0006] The purpose of this application is achieved through the following technical solutions:
[0007] In a first aspect, the present application proposes a time difference measurement method, the method comprising:
[0008] Obtaining the clock accuracy of the local clock and the number of pulses in a second pulse according to a single digital receiver;
[0009] Calculate the sub-second time count and pulse arrival time based on the clock accuracy of the local clock and the number of pulses in the second pulse;
[0010] When the sub-second time count is less than the second pulse time interval, the error difference is calculated based on the sub-second time count;
[0011] The pulse arrival time is calibrated according to the error difference to obtain the calibrated pulse arrival time.
[0012] In a possible embodiment, the step of calculating the sub-second time count and the pulse arrival time according to the clock accuracy of the local clock and the number of pulses in the second pulse includes:
[0013] Count the number of pulses in the second pulse to obtain the local clock count;
[0014] The pulse arrival time is calculated based on the clock accuracy of the local clock and the local clock count;
[0015] The sub-second time count is calculated based on the clock accuracy of the local clock and the number of pulses in the second pulse.
[0016] In a possible embodiment, when the second pulse time interval is 1 second, the error difference is: 1-n*Δt, n is the number of pulses in the second pulse, and Δt is the clock accuracy of the local clock.
[0017] In a possible embodiment, the calibrated pulse arrival time is: TOA+n n *(1-n*Δt) / n, where TOA is the pulse arrival time, n is the number of pulses in a second pulse, Δt is the clock accuracy of the local clock, and n n Counts the local clock.
[0018] In a second aspect, the present application proposes a time difference measurement device, the device comprising:
[0019] An acquisition module, used for acquiring the clock accuracy of a local clock and the number of pulses in a second pulse according to a single digital receiver;
[0020] A first calculation module is used to calculate the sub-second time count and the pulse arrival time according to the clock accuracy of the local clock and the number of pulses in the second pulse;
[0021] A second calculation module is used to calculate the error difference according to the sub-second time count when the sub-second time count is less than the second pulse time interval;
[0022] The calibration module is used to calibrate the pulse arrival time according to the error difference to obtain the calibrated pulse arrival time.
[0023] In a possible embodiment, the first computing module is used to:
[0024] Count the number of pulses in the second pulse to obtain the local clock count;
[0025] The pulse arrival time is calculated based on the clock accuracy of the local clock and the local clock count;
[0026] The sub-second time count is calculated based on the clock accuracy of the local clock and the number of pulses in the second pulse.
[0027] In a possible embodiment, when the second pulse time interval is 1 second, the error difference is: 1-n*Δt, n is the number of pulses in the second pulse, and Δt is the clock accuracy of the local clock.
[0028] In a possible embodiment, the calibrated pulse arrival time is: TOA+n n *(1-n*Δt) / n, where TOA is the pulse arrival time, n is the number of pulses in a second pulse, Δt is the clock accuracy of the local clock, and n n Counts the local clock.
[0029] In a third aspect, the present application further proposes a computer device, comprising a processor and a memory, wherein the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the time difference measurement method as described in any one of the first aspects.
[0030] In a fourth aspect, the present application further proposes a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is loaded and executed by a processor to implement the time difference measurement method as described in any one of the first aspects.
[0031] The above-mentioned main scheme of the present application and its further options can be freely combined to form multiple schemes, all of which are schemes that can be adopted and claimed for protection in the present application; and in the present application, (non-conflicting options) options and other options can also be freely combined. After understanding the scheme of the present application, those skilled in the art can understand that there are multiple combinations based on the prior art and common knowledge, all of which are technical schemes to be protected by the present application, and they are not exhaustively listed here.
[0032] The present application discloses a time difference measurement method, device, computer equipment and readable storage medium. First, the clock accuracy of the local clock and the number of pulses in the second pulse are obtained according to a single digital receiver. Then, the sub-second time count and the pulse arrival time are calculated according to the clock accuracy of the local clock and the number of pulses in the second pulse. When the sub-second time count is less than the time interval of the second pulse, the error difference is calculated according to the sub-second time count. Finally, the pulse arrival time is calibrated according to the error difference to obtain the calibrated pulse arrival time. Compared with the prior art, the present application uses the second pulse to calibrate the arrival time to eliminate the influence of the local clock drift and the asynchronous multi-station clocks on the arrival time and time difference extraction, thereby improving the time difference measurement accuracy and system positioning accuracy. It has the advantages of high precision, strong flexibility, low resource consumption and easy operation in electronic systems. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 A schematic flow chart of a time difference measurement method proposed in an embodiment of the present application is shown.
[0034] Figure 2 A schematic diagram of the time calibration principle under a single station proposed in an embodiment of the present application is shown.
[0035] Figure 3 A principle block diagram of a digital receiving system proposed in an embodiment of the present application is shown.
[0036] Figure 4 A schematic diagram showing the results of conventional time difference measurement.
[0037] Figure 5 A schematic diagram showing the time difference measurement results proposed in this application. DETAILED DESCRIPTION
[0038] The following describes the embodiments of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0039] Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making any creative work shall fall within the scope of protection of this application.
[0040] In the prior art, the time difference measurement technology often uses digital measurement methods, and its measurement accuracy is affected by the clock accuracy, clock stability, transmission link, etc. between multiple stations. Clock drift and clock asynchrony can easily cause time difference measurement errors and even positioning errors. Therefore, traditional multi-station time difference measurement can obtain high-precision time difference measurement results by constraining the accuracy of synchronized clocks, but it cannot solve the problems of clock asynchrony and drift between multiple stations.
[0041] How to improve the accuracy of time difference measurement between multiple stations and reduce the error of time difference measurement between multiple stations has become a technical problem to be solved by technical personnel in this field.
[0042] In order to solve the above problems, the embodiments of the present application propose a time difference measurement method, device, computer equipment and readable storage medium. The use of second pulses to calibrate the arrival time can eliminate the influence of local clock drift and multi-station clock asynchrony on the arrival time and time difference extraction, thereby improving the time difference measurement accuracy and system positioning accuracy. It has the advantages of high precision and strong flexibility, and meets the advantages of low resource consumption, easy operation, flexibility and easy integration in electronic systems. It is described in detail below.
[0043] Please refer to Figure 1 , Figure 1A flow chart of a time difference measurement method proposed in an embodiment of the present application is shown. The time difference measurement error between multiple stations is reduced by calibrating the time difference of multiple station measurements. The method includes the following steps:
[0044] Step S100: Acquire the clock accuracy of the local clock and the number of pulses in the second pulse according to the stand-alone digital receiver.
[0045] Step S200: Calculate the sub-second time count and pulse arrival time according to the clock accuracy of the local clock and the number of pulses in the second pulse.
[0046] Step S300: Calculate the error difference according to the sub-second time count when the sub-second time count is less than the second pulse time interval.
[0047] Step S400: calibrate the pulse arrival time according to the error difference to obtain a calibrated pulse arrival time.
[0048] Since the local clocks of the single-unit digital receivers of two or more stations drift, errors will occur in the number of pulses per second and the time counts below one second. In theory, the pulse per second means a pulse signal appears every second, and the time count below one second is the number of local crystal oscillator clocks per second, which is distributed per second.
[0049] For the multi-machine time difference extraction scenario, the synchronization pulse is shared through the data link. First, the clock accuracy of the local clock and the number of pulses in the second pulse are obtained by using a single-machine digital receiver. The clock accuracy of the local clock is set to Δt ns, and the number of pulses in the second pulse is set to n. Next, the time count below one second and the pulse arrival time are calculated based on the clock accuracy of the local clock and the number of pulses in the second pulse.
[0050] Step S200, the step of calculating the sub-second time count and the pulse arrival time according to the clock accuracy of the local clock and the number of pulses in the second pulse, comprises:
[0051] Count the number of pulses in the second pulse to obtain the local clock count;
[0052] The pulse arrival time is calculated based on the clock accuracy of the local clock and the local clock count;
[0053] The sub-second time count is calculated based on the clock accuracy of the local clock and the number of pulses in the second pulse.
[0054] The calibrated pulse arrival time is: TOA+n n *(1-n*Δt) / n, where TOA is the pulse arrival time, n is the number of pulses in a second pulse, Δt is the clock accuracy of the local clock, and n n Counts the local clock.
[0055] If the number of pulses in a second pulse is n, then the local clock counts are n1, n2, n3…n n , where n1+n2+n3+…+n n =n, that is, the second pulse is divided into multiple local clock counts. The local clock count is the count of the local crystal oscillator. The pulse arrival time is calculated according to the clock accuracy of the local clock and the local clock count: TOA = local clock count * clock accuracy of the local clock. The time count below the second is calculated according to the clock accuracy of the local clock and the number of pulses in the second pulse: number of pulses in the second pulse * clock accuracy of the local clock (n*Δt).
[0056] When the sub-second time count is less than the second pulse time interval, the error difference is calculated based on the sub-second time count. When the second pulse time interval is 1 second, the error difference is: 1-n*Δt, n is the number of pulses in the second pulse, and Δt is the clock accuracy of the local clock.
[0057] The pulse arrival time is calibrated according to the error difference to obtain the calibrated pulse arrival time: TOA+n1*(1-n*Δt) / n, where TOA is the pulse arrival time, n is the number of pulses in a second pulse, Δt is the clock accuracy of the local clock, and n1 is the local clock count. The calibrated pulse arrival time can improve the measurement error of the arrival time and correspondingly reduce the time difference measurement between multiple stations.
[0058] In one possible embodiment, please refer to Figure 2 , Figure 2 The schematic diagram of the time calibration principle under a single station proposed in the embodiment of the present application is shown, from top to bottom: local oscillator crystal, pulse arrival time, second pulse. In the figure, the second pulses of the nth second and the n+1th second are selected as one second pulse, and the time interval of the second pulse is 1s. The number of pulses in the second pulse is n=2, so the local clock counts are n1 and n2 respectively, and the corresponding pulse arrival times are TOA2=n1*Δt and TOA3=n2*Δt respectively, and the time count below seconds is n*Δt. Since TOA1 belongs to the previous second pulse, it is not calculated in this second pulse.
[0059] Due to the drift and asynchrony of the local clock, the time n*Δt below one second may not be equal to 1 second and may change with time.
[0060] When the time count n*Δt is less than 1s, the error difference is (1-n*Δt) / n, and the calibrated TOA times are TOA2+n1*(1-n*Δt) / n and TOA3+n2*(1-n*Δt) / n. The measurement error of the local clock is evenly distributed to the local clock in the second pulse, which improves the accuracy of the pulse arrival time and the measurement accuracy of the time difference between multiple stations.
[0061] It is worth noting that the embodiments of the present application can be applied not only to a single stand-alone digital receiver, but also to multiple stand-alone digital receivers or a digital receiving system composed of multiple stand-alone digital receivers.
[0062] In one possible implementation, Figure 3 The principle block diagram of the digital receiving system proposed in the embodiment of the present application is shown. Two sets of identical equipment (front end, digital receiver) are multiplexed to complete the measurement of pulse arrival time and time below one second. The two stations are synchronized by externally supplied synchronization pulses. The actual time difference between the two stations is 0ns. According to the pulse signal measurement, the difference of multiple pulse arrival times is measured. The two sets of antennas receive the target signal and send it to the corresponding front end respectively. The corresponding front end extracts the radio frequency signal and sends it to the corresponding digital receiver. At the same time, the synchronization pulse source also sends synchronization pulse signals to multiple digital receivers. The digital receiver extracts the time below one second and the pulse arrival time, and uses the pulse arrival time to obtain the measurement error. The time difference measurement is calibrated according to the measurement error.
[0063] In another possible implementation, the time difference measurement method proposed in the present application is compared with the traditional time difference measurement method in the prior art to verify the advantages of the time difference measurement method proposed in the present application.
[0064] Please refer to Figure 4 and Figure 5 , Figure 4 A schematic diagram showing the results of conventional time difference measurements, Figure 5 A schematic diagram of the time difference measurement results proposed in the present application is shown, with the horizontal axis being the pulse number and the vertical axis being the time difference (ns). The figure shows the time difference measurement results under multiple pulses measured, and the data is analyzed through matlab. The standard deviation produced by the traditional time difference measurement method is 82.5198ns, and the mean is -211.7073ns. The standard deviation produced by the time difference measurement method of the present application is increased by 60ns, and the mean is increased by about 200ns. Comparing the time difference measurement method of the present application with the traditional time difference measurement method, the time difference measurement method of the present application greatly improves the time difference measurement accuracy.
[0065] Traditional multi-station time difference measurement obtains high-precision time difference measurement results by constraining the accuracy of synchronized clocks, but cannot solve the problems of clock asynchrony and drift among multiple stations. Therefore, compared with the prior art, the embodiments of the present application have the following beneficial effects:
[0066] By calibrating the arrival time extracted by a single machine, the cumulative error caused by clock drift is reduced, thereby improving the time difference measurement error between multiple stations and the multi-station time difference measurement accuracy of the entire system, solving the positioning accuracy problem under multi-station time difference positioning. The technology of this application is mature and compatible with existing electronic devices, and is easy to integrate and apply with software.
[0067] A possible implementation of a time difference measurement device is provided below, which is used to execute the various execution steps and corresponding technical effects of the time difference measurement method shown in the above embodiment and possible implementation. The device includes:
[0068] An acquisition module, used for acquiring the clock accuracy of a local clock and the number of pulses in a second pulse according to a single digital receiver;
[0069] A first calculation module is used to calculate the sub-second time count and the pulse arrival time according to the clock accuracy of the local clock and the number of pulses in the second pulse;
[0070] A second calculation module is used to calculate the error difference according to the sub-second time count when the sub-second time count is less than the second pulse time interval;
[0071] The calibration module is used to calibrate the pulse arrival time according to the error difference to obtain the calibrated pulse arrival time.
[0072] In a possible embodiment, the first computing module is used to:
[0073] Count the number of pulses in the second pulse to obtain the local clock count;
[0074] The pulse arrival time is calculated based on the clock accuracy of the local clock and the local clock count;
[0075] The sub-second time count is calculated based on the clock accuracy of the local clock and the number of pulses in the second pulse.
[0076] In a possible embodiment, when the second pulse time interval is 1 second, the error difference is: 1-n*Δt, n is the number of pulses in the second pulse, and Δt is the clock accuracy of the local clock.
[0077] In a possible embodiment, the calibrated pulse arrival time is: TOA+n n *(1-n*Δt) / n, where TOA is the pulse arrival time, n is the number of pulses in a second pulse, Δt is the clock accuracy of the local clock, and n n Counts the local clock.
[0078] This preferred embodiment provides a computer device, which can implement the steps in any embodiment of the time difference measurement method provided in the embodiments of the present application. Therefore, the beneficial effects of the time difference measurement method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0079] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or by controlling related hardware through instructions, and the instructions can be stored in a computer-readable storage medium and loaded and executed by a processor. To this end, an embodiment of the present application provides a storage medium in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps of any embodiment of the time difference measurement method provided in the embodiment of the present application.
[0080] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0081] Since the instructions stored in the storage medium can execute the steps in any time difference measurement method embodiment provided in the embodiments of the present application, the beneficial effects that can be achieved by any time difference measurement method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0082] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A time difference measurement method, characterized in that: The method comprises: Obtaining the clock accuracy of the local clock and the number of pulses in a second pulse according to a single digital receiver; Calculate the sub-second time count and pulse arrival time based on the clock accuracy of the local clock and the number of pulses in the second pulse; When the sub-second time count is less than the second pulse time interval, the error difference is calculated based on the sub-second time count; The pulse arrival time is calibrated according to the error difference to obtain the calibrated pulse arrival time.
2. The time difference measurement method according to claim 1, characterized in that: The steps of calculating the time count below one second and the pulse arrival time according to the clock accuracy of the local clock and the number of pulses in the second pulse include: Count the number of pulses in the second pulse to obtain the local clock count; The pulse arrival time is calculated based on the clock accuracy of the local clock and the local clock count; The sub-second time count is calculated based on the clock accuracy of the local clock and the number of pulses in the second pulse.
3. The time difference measurement method according to claim 1, characterized in that: When the second pulse time interval is 1 second, the error difference is: 1-n*Δt, n is the number of pulses in the second pulse, and Δt is the clock accuracy of the local clock.
4. The time difference measurement method according to claim 1, characterized in that: The calibrated pulse arrival time is: TOA+n n *(1-n*Δt) / n, where TOA is the pulse arrival time, n is the number of pulses in a second pulse, Δt is the clock accuracy of the local clock, and n n Counts the local clock.
5. A time difference measuring device, characterized in that: The device comprises: An acquisition module, used for acquiring the clock accuracy of a local clock and the number of pulses in a second pulse according to a single digital receiver; A first calculation module is used to calculate the sub-second time count and the pulse arrival time according to the clock accuracy of the local clock and the number of pulses in the second pulse; A second calculation module is used to calculate the error difference according to the sub-second time count when the sub-second time count is less than the second pulse time interval; The calibration module is used to calibrate the pulse arrival time according to the error difference to obtain the calibrated pulse arrival time.
6. The time difference measuring device according to claim 5, characterized in that: The first computing module is used for: Count the number of pulses in the second pulse to obtain the local clock count; The pulse arrival time is calculated based on the clock accuracy of the local clock and the local clock count; The sub-second time count is calculated based on the clock accuracy of the local clock and the number of pulses in the second pulse.
7. The time difference measuring device according to claim 6, characterized in that: When the second pulse time interval is 1 second, the error difference is: 1-n*Δt, n is the number of pulses in the second pulse, and Δt is the clock accuracy of the local clock.
8. The time difference measuring device according to claim 6, characterized in that: The calibrated pulse arrival time is: TOA+n n *(1-n*Δt) / n, where TOA is the pulse arrival time, n is the number of pulses in a second pulse, Δt is the clock accuracy of the local clock, and n n Counts the local clock.
9. A computer device, characterized in that: The computer device includes a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the time difference measurement method according to any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, which is loaded and executed by a processor to implement the time difference measurement method according to any one of claims 1 to 4.
