Device and method for measuring arrival time of pulse signal

The pulse signal is modulated and demodulated through a pseudo-random binary sequence and its arrival time is calculated, which solves the problems of low efficiency, poor accuracy and high cost in the existing technology, achieves high-precision and efficient measurement of high-speed pulse signals, and reduces the cost System costs and resource requirements.

CN112255467BActive Publication Date: 2024-08-30SUZHOU SIRIANLIGHT OPTICAL CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN201910661467.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-07-22
Publication Date
2024-08-30
Estimated Expiration
2039-07-22

AI Technical Summary

Technical Problem

Existing methods for measuring the arrival time of high-speed pulse signals have low efficiency, poor accuracy and high cost, making it difficult to meet the high sampling rate requirements of modern electronic technology.

Method used

The modulation unit and demodulation unit are used to perform XOR operations on the pulse signal through pseudo-random binary sequences to generate modulated and demodulated pulse signals, and the arrival time of the pulse signal is calculated through the processing unit, avoiding analog sampling and Fourier operations, simplifying system configuration.

Benefits of technology

It achieves high-precision and high-efficiency measurement of high-speed pulse signals, reduces system costs, optimizes performance, and does not require a large number of interfaces and logic resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112255467B
    Figure CN112255467B
Patent Text Reader

Abstract

The present disclosure provides a device and method for measuring the arrival time of a pulse signal. The device for measuring the arrival time of a pulse signal according to the present disclosure comprises: a modulation unit, configured to modulate a pulse signal using a first code stream to generate a modulated pulse signal; a demodulation unit, configured to demodulate the modulated pulse signal using a second code stream synchronized with the modulated pulse signal to generate a demodulated pulse signal; and a processing unit, configured to process the demodulated pulse signal to obtain the arrival time of the pulse signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of signal processing, and more particularly to a device and method for measuring the arrival time of a pulse signal. Background Art

[0002] In digital signal processing, in order to analyze and process pulse signals, it is usually necessary to obtain the time domain characteristics of the pulse signals, among which the arrival time of the pulse signals is an important parameter to characterize the time domain characteristics of the pulse signals. Existing methods for measuring the arrival time of pulse signals, such as the commonly used measurement methods using analog / digital converters, often require the measurement system to have a high sampling rate, sampling accuracy, and data processing capabilities. In particular, high-speed pulse signals widely used in modern electronic technology put forward higher requirements on the performance of the measurement system (for example, a sampling rate of more than 10GS / s), which also makes the existing pulse signal arrival time measurement methods often have problems such as low efficiency, poor accuracy, and high cost. Therefore, it is expected to achieve high-efficiency and high-precision pulse arrival time measurement at a lower cost. Summary of the invention

[0003] To this end, the present disclosure proposes a device and method for measuring the arrival time of a pulse signal.

[0004] According to one aspect of the present disclosure, there is provided a device for measuring the arrival time of a pulse signal, comprising: a modulation unit, configured to modulate a pulse signal using a first code stream to generate a modulated pulse signal; a demodulation unit, configured to demodulate the modulated pulse signal using a second code stream synchronized with the modulated pulse signal to generate a demodulated pulse signal; and a processing unit, configured to process the demodulated pulse signal to obtain the arrival time of the pulse signal.

[0005] According to an embodiment of the present disclosure, the pulse signal does not carry clock information.

[0006] According to an embodiment of the present disclosure, the first code stream is a serial code stream.

[0007] According to an embodiment of the present disclosure, the device for measuring the arrival time of a pulse signal further includes: a first code stream generator configured to generate a parallel code stream; and a serial-to-parallel converter configured to perform parallel-to-serial conversion on the parallel code stream to generate the first code stream.

[0008] According to an embodiment of the present disclosure, the modulation unit is configured to modulate the pulse signal by performing an XOR operation on the pulse signal and the first code stream to generate a modulated pulse signal.

[0009] According to an embodiment of the present disclosure, the demodulation unit is configured to demodulate the modulated pulse signal by performing an exclusive OR operation on the modulated pulse signal and the second code stream to generate a demodulated pulse signal.

[0010] According to an embodiment of the present disclosure, the device for measuring the arrival time of a pulse signal also includes: a serial-to-parallel converter, configured to perform serial-to-parallel conversion on the modulated pulse signal to generate a parallel modulated pulse signal, wherein the demodulation unit is configured to demodulate the parallel modulated pulse signal using a second code stream synchronized with the parallel modulated pulse signal to generate a parallel demodulated pulse signal; and the processing unit is configured to process the parallel demodulated pulse signal to obtain the arrival time of the pulse signal.

[0011] According to an embodiment of the present disclosure, the modulation unit is also configured to modulate the all-zero sequence using the first code stream to generate a modulated first code stream, and the device also includes: a second code stream generator, configured to generate multiple initial code streams with the same code type as the first code stream and different phases; a correlation unit, configured to perform a correlation operation on the modulated first code stream and the multiple initial code streams, and the second code stream generator is also configured to generate the second code stream synchronized with the modulated pulse signal according to the result of the correlation operation.

[0012] According to an embodiment of the present disclosure, the first code stream and the second code stream are pseudo-random binary sequences.

[0013] According to an embodiment of the present disclosure, the processing unit is configured to: perform edge search on the demodulated pulse signal to obtain an edge of the pulse signal; and calculate an arrival time of the pulse signal at least based on the edge.

[0014] According to an embodiment of the present disclosure, the processing unit is configured to calculate the arrival time of the pulse signal according to the bit position of the edge in the demodulated pulse signal, the clock frequency of the demodulated pulse signal, and a local time reference.

[0015] According to another aspect of the present disclosure, a method for measuring the arrival time of a pulse signal is provided, comprising: modulating a pulse signal using a first code stream to generate a modulated pulse signal; demodulating the modulated pulse signal using a second code stream synchronized with the modulated pulse signal to generate a demodulated pulse signal; and processing the demodulated pulse signal to obtain the arrival time of the pulse signal.

[0016] According to an embodiment of the present disclosure, the pulse signal does not carry clock information.

[0017] According to an embodiment of the present disclosure, the first code stream is a serial code stream.

[0018] According to an embodiment of the present disclosure, the method for measuring the arrival time of a pulse signal further includes generating a parallel code stream, and performing parallel-to-serial conversion on the parallel code stream to generate the first code stream.

[0019] According to an embodiment of the present disclosure, modulating a pulse signal using a first code stream includes performing an XOR operation on the pulse signal and the first code stream to generate a modulated pulse signal.

[0020] According to an embodiment of the present disclosure, demodulating the modulated pulse signal using a second code stream synchronized with the modulated pulse signal includes performing an XOR operation on the modulated pulse signal and the second code stream to generate a demodulated pulse signal.

[0021] According to an embodiment of the present disclosure, the method for measuring the arrival time of a pulse signal also includes: performing serial-to-parallel conversion on the modulated pulse signal to generate a parallel modulated pulse signal; demodulating the parallel modulated pulse signal using a second code stream synchronized with the parallel modulated pulse signal to generate a parallel demodulated pulse signal; and processing the parallel demodulated pulse signal to obtain the arrival time of the pulse signal.

[0022] According to an embodiment of the present disclosure, the method for measuring the arrival time of a pulse signal also includes: modulating an all-zero sequence using a first code stream to generate a modulated first code stream; generating multiple initial code streams with the same code type as the first code stream and different phases; performing a correlation operation on the modulated first code stream and the multiple initial code streams, and generating the second code stream synchronized with the modulated pulse signal based on the result of the correlation operation.

[0023] According to an embodiment of the present disclosure, the first code stream and the second code stream are pseudo-random binary sequences.

[0024] According to an embodiment of the present disclosure, processing the demodulated pulse signal includes: performing edge search on the demodulated pulse signal to obtain the edge of the pulse signal; and calculating the arrival time of the pulse signal at least based on the edge.

[0025] According to an embodiment of the present disclosure, the arrival time of the pulse signal is calculated according to the bit position of the edge in the demodulated pulse signal, the clock frequency of the demodulated pulse signal, and a local time reference. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The above and other purposes, features and advantages of the present disclosure will become more apparent by describing the embodiments of the present disclosure in more detail in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the drawings, the same reference numerals generally represent the same components or steps.

[0027] Figure 1 A block diagram of a device for measuring the arrival time of a pulse signal according to an embodiment of the present disclosure is shown.

[0028] Figure 2 A schematic diagram showing a plurality of initial code streams having the same code type as the first code stream and different phases according to an example of an embodiment of the present disclosure.

[0029] Figure 3 A schematic diagram of relevant units according to an example of an embodiment of the present disclosure is shown.

[0030] Figure 4 A schematic diagram showing the position of a detected pulse edge according to an example of an embodiment of the present disclosure is shown.

[0031] Figure 5 A device for measuring the arrival time of a pulse signal according to an example of an embodiment of the present disclosure is shown.

[0032] Figure 6 A flow chart of a method for measuring the arrival time of a pulse signal according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0033] In order to make the purpose, features and advantages of the present disclosure clearer, the technical scheme in the embodiments of the present disclosure will be further described in detail below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0034] The present disclosure provides a device and method for measuring the arrival time of a pulse signal, which can achieve high-precision and high-efficiency measurement of the arrival time of a pulse signal, especially a high-speed pulse signal. The present disclosure does not need to perform analog sampling on the pulse signal required by conventional methods, so there is no need to use an analog / digital converter and its supporting circuits. Moreover, the present disclosure only uses a small number of interfaces and a small number of logic resources, and does not need to perform Fourier operations that use a large number of devices and storage resources, thereby streamlining the system configuration, optimizing the system performance, and reducing the system cost.

[0035] In the present disclosure, the pulse signal whose arrival time is to be measured refers to, for example, a voltage or current signal that changes instantaneously and has a very short action time. The pulse signal can be a periodically repeated signal, that is, a signal that changes continuously at a certain amplitude and a certain time interval, such as a rectangular wave, square wave, sawtooth wave, etc. that are often used in technical fields such as electronic measurement and automatic control. The pulse signal can also be a non-periodic signal. In this case, the pulse signal often has a DC component, a small duty cycle, and does not carry the clock information of the source of the pulse signal or does not carry stable clock information.

[0036] Figure 1 A block diagram of an apparatus 1000 for measuring the arrival time of a pulse signal according to an embodiment of the present disclosure is shown. The apparatus 1000 includes a modulation unit 1010 , a demodulation unit 1020 , and a processing unit 1030 .

[0037] The modulation unit 1010 is configured to modulate the pulse signal using the first code stream to generate a modulated pulse signal. The first code stream can be a binary sequence generated according to a certain rule and a certain period, such as but not limited to a pseudo-random binary sequence (PRBS). A pseudo-random binary sequence is a binary sequence that can be predetermined, repeatedly generated and replicated, and has random statistical characteristics.

[0038] For example, the modulation unit 1010 can be configured to modulate the pulse signal by performing an XOR operation on the pulse signal and the first code stream to generate a modulated pulse signal. Specifically, the XOR operation can be implemented by an XOR circuit or an electronic device with an XOR operation function. For a pulse signal that does not carry clock information or stable clock information by itself, it can be XORed with the first code stream so that the pulse signal has stable clock information related to the period of the first code stream. In addition, for example, for a pulse signal with an amplitude that is too large or too small, an analog conditioner can be used to attenuate, amplify, and the like the pulse signal before it is input to the input port of the XOR circuit, for example, so that it conforms to the processing range of the XOR circuit. The pulse signal after the XOR operation with the first code stream is called a modulated pulse signal. The modulation unit 1010 can also be configured to modulate the all-zero sequence using the first code stream to generate a modulated first code stream.

[0039] In practical applications, the input pulse signal whose arrival time needs to be measured is often transmitted in high-speed serial transmission through, for example, an optical fiber or a coaxial cable, that is, a serial pulse signal. In this case, the first code stream used to modulate the pulse signal can be a serial code stream. According to the implementation of the present embodiment, the first serial code stream can be a predefined code stream received by the device 1000.

[0040] According to one implementation of the embodiment of the present disclosure, the first code stream can be obtained from the outside. According to another implementation of the embodiment of the present disclosure, the device 1000 may also include a first code stream generator 1040 for generating a first code stream. Specifically, the first code stream generator 1040 may be configured to generate a serial code stream as the first code stream. In the case where parallel processing is required to improve system performance, the first code stream generator 1040 may also be configured to generate parallel code streams. The first code stream generator 1040 is, for example, a PRBS generator. The PRBS generator is generally composed of a linear feedback shift circuit and an XOR circuit, and is configured to generate a pseudo-random binary sequence according to a predetermined polynomial. The polynomial for generating the PRBS code is shown in formula (1):

[0041] x m +x q +1 (1)

[0042] Wherein, m is the order of the generated PRBS code, and commonly used orders are 7, 9, 11, 15, etc.; q is a positive integer less than m and greater than 0.

[0043] Different orders m correspond to different PRBS patterns and bit periods. The bit period is the length of the repeated bit sequence, which is composed of 2 m -1. For example, for a PRBS generator of a PRBS 3 code type, that is, when m=3, the bit period is 7, and the generated pseudo-random binary sequence is, for example, 1110010, 1110010, ... In the embodiment of the present disclosure, the first code stream generator may be a PRBS generator of a code type of PRBS 7, PRBS 9, PRBS 11, PRBS 15, and the like.

[0044] When the first code stream generator is configured to generate a parallel code stream, the device 1000 may further include a serial-to-parallel converter (not shown) for performing a parallel-to-serial conversion operation on the parallel code stream generated by the first code stream generator to generate a serial first code stream. The serial-to-parallel converter is a device configured to convert between two transmission modes, serial transmission and parallel transmission. The serial-to-parallel converter can be implemented, for example, by a shift register or a transceiver with a built-in serial-to-parallel conversion function. In one example, the serial-to-parallel converter can be a high-speed serial-to-parallel converter (SerDes) integrated in a transceiver, which includes a serializer (SERializer) and a deserializer (DESerializer), and is configured to convert multiple low-speed parallel signals into high-speed serial signals at a transmitting interface, and convert high-speed serial signals into low-speed parallel signals at a receiving interface.

[0045] According to an embodiment of the present disclosure, the demodulation unit 1020 is configured to demodulate the modulated pulse signal using a second code stream synchronized with the modulated pulse signal to generate a demodulated pulse signal.

[0046] According to an implementation of an embodiment of the present disclosure, the demodulation unit 1020 is configured to demodulate the modulated pulse signal by performing an XOR operation on the modulated pulse signal and a second code stream synchronized with the modulated pulse signal. The second code stream may be a binary sequence generated according to a certain rule and a certain period, such as but not limited to a pseudo-random binary sequence (PRBS), the second code stream has the same code type as the first code stream, and is synchronized with the modulated pulse signal, that is, it has the same phase delay as the modulated pulse signal. The second code stream may be, for example, a predefined second code stream synchronized with the modulated pulse signal received by the device 1000. Similarly, as described above, the XOR operation may be implemented by an XOR circuit or an electronic device having an XOR operation function. By performing an XOR operation on the modulated pulse signal and the second code stream, a demodulated pulse signal that can directly represent the time information of the input pulse signal is obtained.

[0047] According to the implementation of the embodiment of the present disclosure, the device 1000 may also include a serial-to-parallel converter (not shown) configured to perform serial-to-parallel conversion on the modulated pulse signal to generate a parallel modulated pulse signal. For example, for a high-speed serial modulated pulse signal obtained by modulating a high-speed pulse signal input in series, in order to improve signal processing efficiency and reduce requirements on system hardware performance, the serial modulated pulse signal can be converted into a parallel modulated pulse signal. As described above, the serial-to-parallel converter can be implemented, for example, by a shift register or a transceiver with a built-in serial-to-parallel conversion function. In one example, the serial-to-parallel converter can be, for example, a high-speed serial-to-parallel converter integrated inside a transceiver. For the parallel modulated pulse signal obtained by the serial-to-parallel conversion, it can be demodulated using a second code stream synchronized with the parallel modulated pulse signal to generate a parallel demodulated pulse signal.

[0048] According to the implementation of the embodiment of the present disclosure, the device 1000 may further include: a second code stream generator 1050, configured to generate a plurality of initial code streams with different phases and the same code type as the first code stream; a correlation unit 1060, configured to perform correlation operations on the modulated first code stream and the plurality of initial code streams with different phases. Specifically, the modulation unit modulates the all-zero sequence with the first code stream to generate the modulated first code stream; at this time, the second code stream generator 1050 generates a plurality of initial code streams with different phases and the same code type as the first code stream; then, the correlation unit 1060 performs correlation operations on the modulated first code stream and the plurality of initial code streams with different phases; and the second code stream generator 1050 generates a second code stream synchronized with the modulated pulse signal according to the result of the correlation operation. The second code stream generator may be, for example, a PRBS generator with a code type of PRBS 7, PRBS 9, PRBS 11, PRBS 15, and the like.

[0049] The process of generating the second code stream synchronized with the modulated pulse signal is described below with reference to a specific example. In the following example, a code stream synchronized with the modulated first code stream is generated based on the modulated first code stream. When the system configuration and settings remain constant, since the modulated first code stream and the modulated pulse signal undergo the same modulation, transmission, and serial-to-parallel conversion operations and thus have the same phase delay, the code stream synchronized with the modulated first code stream is the second code stream synchronized with the modulated pulse signal.

[0050] According to an example of an embodiment of the present disclosure, first, the device 1000 obtains a first code stream from the outside, or generates a first code stream using a first code stream generator 1040; then, the first code stream and an all-zero sequence in which all bit values ​​are 0 are input into the modulation unit 1010, and the modulation unit 1010 modulates the all-zero sequence using the first code stream to generate a modulated first code stream. The modulation may be an XOR operation on the first code stream and the all-zero sequence as described above. After obtaining the modulated first code stream, a serial-to-parallel converter may be used to perform a serial-to-parallel conversion operation on it to generate a plurality of sub-code streams that can be processed in parallel. Here, the modulated first code stream is, for example, converted into N parallel sub-code streams, for example, the first bit data of the modulated first code stream is transmitted by the first channel as the first bit data of the first sub-code stream, the second bit data of the modulated first code stream is transmitted by the second channel as the first bit data of the second sub-code stream, and so on, the Nth bit data of the modulated first code stream is transmitted by the Nth channel as the first bit data of the Nth sub-code stream, so that the N-way parallel transmission channels can simultaneously transmit the N bit data of the modulated first code stream at one time. After being modulated with the all-zero sequence, the bit values ​​of the first code stream will not change, but after the processes of modulation, transmission, serial-to-parallel conversion, etc., the phase of the modulated first code stream will be delayed.

[0051] At this time, the second code stream generator 1050 generates N initial code streams with the same code pattern as the first code stream and different phases, which are represented by Phase i (i=0, 1, 2, ..., N-1). Here, the same code pattern means that the initial code stream and the first code stream are generated using the same predefined rule and period. In the implementation method using PRBS code, it means that the same order polynomial is used for generation, for example, both use PRBS 7 code pattern, or both use PRBS 9 code pattern. Figure 2 As shown, after generating N bits of data of each of the N initial code streams, the second code stream generator 1050 stops running. Figure 2 In the implementation method where the initial code stream is a PRBS code, T = 2 m-1, where m is the order of the PRBS code. Among the N initial code streams, the initial code stream Phase i and Phase (i+1) differ by one bit phase, that is, the initial code stream Phase (i+1) is delayed by one bit compared to the initial code stream Phase i, such as Figure 2 As shown, Figure 2 The shaded area in represents the bit position of bit 0 in the current bit period. It can be seen that the bit 0 in the initial code stream Phase 1 differs from the bit 0 in the initial code stream Phase 0 by one bit phase.

[0052] Figure 3 FIG. 3 is a schematic diagram of a correlation unit 3060 according to an example of an embodiment of the present disclosure. The correlation unit 3060 may include a plurality of comparators 3061, a detection module 3062, and a selection module 3063. As described above, corresponding to the initial code streams of N different phases, the correlation unit 3060 includes N comparators 3061C0, 3061C1, ..., 3061C N-1 The first group of N-bit data consisting of the first bit data of each sub-code stream in the N parallel sub-code streams is simultaneously input into the input end of each of the N comparators. At the same time, the N initial code streams of different phases are respectively input into the other input end of each of the N comparators. Each of the N comparators performs correlation operation on the first group of N-bit data and each initial code stream, and outputs the operation result to the detection module 3062. If the first group of N-bit data is the same as an initial code stream Phase i (i=0, 1, 2, ..., N-1) of the initial code streams of different phases, the corresponding comparator 3061C i Output 1, otherwise, the comparator 3061C i Output 0. The detection module 3062 receives and detects the output results of N comparators. If it detects that the output from the comparator 3061C iThe output result of is 1, that is, a correlation peak appears, which indicates that the modulated first code stream is synchronized with the initial code stream Phase i, that is, the phase of the modulated first code stream is the same as that of the initial code stream Phase i. On the other hand, if the detection module 3062 does not detect the correlation peak, that is, the output results of the N comparators are all 0, then the second group of N bit data composed of the second bit data of each sub-code stream in the N parallel sub-code streams is continued to be compared with each initial code stream in the N initial code streams with different phases, and the above operation is repeated until the detection module 3062 detects the correlation peak, that is, the modulated first code stream is synchronized with an initial code stream in the N initial code streams with different phases. At this time, the detection module outputs the synchronization information indicating the synchronization phase to the selection module 3063, and notifies the second code stream generator 3050 to start running. The selection module 3063 selects the code stream with the synchronization phase generated by the second code stream generator 3050 as the code stream synchronized with the modulated first code stream according to the synchronization information, that is, the second code stream synchronized with the modulated pulse signal as described above.

[0053] When the system configuration and settings remain constant, the modulated pulse signal after the same modulation, transmission and serial-to-parallel conversion has the same phase delay as the modulated first code stream when measuring the arrival time of the pulse signal. That is, the generated code stream synchronized with the modulated first code stream is also synchronized with the modulated pulse signal. After obtaining the second code stream synchronized with the modulated pulse signal, the modulated pulse signal can be demodulated using the second code stream.

[0054] return Figure 1 According to an embodiment of the present disclosure, the processing unit 1030 is configured to process the demodulated pulse signal to obtain the arrival time of the pulse signal.

[0055] According to the implementation of the embodiment of the present disclosure, the processing unit 1030 is configured to: perform edge search on the demodulated pulse signal to obtain the edge of the demodulated pulse signal; calculate the arrival time of the pulse signal at least partially based on the edge. In one example of the embodiment of the present disclosure, multiple comparators can be used to perform edge search on the pulse signal. For example, for the demodulated pulse signal divided into N parallel paths as described above, N parallel comparators are used to perform edge search on it, that is, to compare whether the values ​​of adjacent bits change from 0 to 1, wherein the 0th comparator compares the current bit period of the demodulated pulse signal (for example, the current bit period is the Ath bit period counted from the 0th bit period, such as Figure 4The first comparator compares the value of bit 0 in the current bit period of the demodulated pulse signal with the value of bit 1; and so on, the Nth comparator compares the value of bit (N-2) in the current bit period of the demodulated pulse signal with the value of bit (N-1). If the output result of the nth comparator is true, that is, a change in bit value from 0 to 1 occurs between bit (n-1) and bit n in the current bit period, it indicates that the edge or more specifically the rising edge of the demodulated pulse signal occurs on the nth bit of the current bit period, as shown in FIG. Figure 4 shown. Figure 4 A schematic diagram showing the position of a detected pulse edge according to an example of an embodiment of the present disclosure is shown, in which the shaded area represents the bit position where the detected pulse edge is located. Alternatively, other common edge finding methods in the art can be used to determine the edge of the demodulated pulse signal. After obtaining the edge of the demodulated pulse signal, the arrival time of the pulse signal is calculated at least in part based on the edge.

[0056] According to the implementation of the embodiment of the present disclosure, the processing unit 1030 can be configured to calculate the arrival time of the pulse signal according to the bit position of the edge in the demodulated pulse signal, the clock frequency of the demodulated pulse signal and the local time reference. For the demodulated pulse signal divided into N parallel paths, the arrival time of the pulse signal can be calculated according to formula (2):

[0057]

[0058] Among them, TOA represents the arrival time of the pulse signal, T0 is the local time reference, A is the bit period number where the detected pulse edge is located, f is the clock frequency of the parallel modulated pulse signal, N is the number of parallel paths of the modulated pulse signal, and n is the bit position where the detected pulse edge is located.

[0059] In scenarios where the absolute arrival time of a pulse signal is not required, that is, where the specific year, month, day, hour, minute, and second of the arrival time of a pulse signal does not need to be determined, the local time reference can be determined based on the system time of the device, such as the system time determined by a clock circuit composed of a crystal oscillator, a crystal oscillator control chip, a capacitor, etc., or, in cases where higher accuracy is required, an atomic clock can be used to determine the local time reference. In scenarios where the absolute arrival time of a pulse signal is required, the time determined by a satellite navigation system can be used as the local time reference to calculate the arrival time of the pulse signal. In addition, according to the implementation of the embodiment of the present disclosure, if only the difference in arrival time of two pulse signals is desired to be measured, a local time reference may not be required.

[0060] The accuracy of the pulse signal arrival time measured by the device of the present disclosure depends on two aspects: the modulation and demodulation speed of the hardware and the transmission and reception speed of the pulse signal. For example, in the implementation method using an XOR gate and a transceiver, the accuracy of the pulse signal arrival time is determined by the operation speed of the XOR gate and the transmission and reception speed of the transceiver. As shown in formula (2), N×f represents the rate of the serial pulse signal. Therefore, the processing speed of the XOR gate and the transceiver for the pulse signal should be at least greater than or equal to N×f. At this time, the measurement accuracy of the pulse signal arrival time can be expressed as 1 / (N×f).

[0061] The above describes a device for measuring the arrival time of a pulse signal according to an embodiment of the present disclosure, which can achieve high-precision and high-efficiency measurement of the arrival time of a pulse signal, especially a high-speed pulse signal. In addition, the device according to an embodiment of the present disclosure does not need to perform analog sampling on the pulse signal, thereby eliminating the need to use an analog / digital converter and its supporting circuits. Moreover, the device according to an embodiment of the present disclosure uses only a small number of interfaces and a small number of logic resources, and does not need to perform Fourier operations that use a large number of devices and storage resources, thereby streamlining the system configuration, optimizing system performance, and reducing system costs.

[0062] In addition, the device according to the embodiment of the present disclosure can also be used to measure the pulse width of a pulse signal. Specifically, the falling edge arrival time and the rising edge arrival time of the pulse signal are measured respectively, and the pulse width of the pulse signal can be obtained by subtracting the two. The edge search process of the processing unit 1030 as described above determines the rising edge of the demodulated pulse signal, and determining the arrival time of the falling edge of the demodulated pulse signal is similar to the above process. Specifically, N comparators compare whether the values ​​of adjacent bits have changed from 1 to 0. If the output result of the nth comparator is true, it indicates that the falling edge of the demodulated pulse signal appears on the nth bit of the current bit period, and the falling edge arrival time of the pulse signal is calculated according to formula (2).

[0063] The device for measuring the arrival time of a pulse signal according to the embodiment of the present disclosure can be implemented by, for example, a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC). The specific implementation of the device according to the embodiment of the present disclosure is described below using FPGA as an example.

[0064] Figure 5An apparatus 5000 for measuring the arrival time of a pulse signal according to an example of an embodiment of the present disclosure is shown. The apparatus 5000 may include: a modulator 5010, a demodulator 5020 integrated in an FPGA, a processor 5030, a first code stream generator 5040, a second code stream generator 5050, a correlator 5060, a transceiver transmission interface 5071 and a receiving interface 5072, an analog conditioner 5080, and a switch 5090. The modulator 5010 may be configured to modulate the pulse signal using a first code stream. The demodulator 5020 may be configured to demodulate the modulated pulse signal using a second code stream synchronized with the modulated pulse signal. The first code stream generator 5040 and the second code stream generator 5050 may be similar to the first code stream generator 1040 and the second code stream generator 1050 described above, respectively, and may be configured to generate a pseudo-random binary sequence (PRBS). The correlator 5060 includes a plurality of comparators 5061, a detector 5062, and a selector 5063.

[0065] Before measuring the pulse signal, a synchronization operation is first performed. At this time, the switch 5090 is adjusted to the "0" input, that is, the input is an all-zero sequence with all bit values ​​of 0; the first code stream generator 5040 generates a code stream divided into N parallel channels, which is output as a serial first code stream after being converted from parallel to serial by the transceiver transmission interface 5071; the serial first code stream and the all-zero sequence are XORed at the XOR gate 5010 to generate a serial modulated first code stream; the serial modulated first code stream is received by the transceiver receiving interface 5072, and is converted into N parallel sub-code streams after being converted from serial to parallel. At the same time, the second code stream generator 5050 generates N initial code streams with the same code type as the first code stream and different phases, and suspends operation, wherein each of the N initial code streams has only N bits of data. The first group of N bits of data consisting of the first bit of each sub-stream in the N parallel sub-streams is simultaneously input into the N comparators 5061C0, 5061C1, ..., 5061C N-1At the same time, the N initial code streams of different phases are respectively input into the other input end of each of the N comparators, and each of the N comparators respectively performs correlation operation on the first group of N bits of data and each initial code stream, and outputs the operation result to the detector 5062; if the detector 5062 detects a correlation peak, it indicates that the modulated first code stream is synchronized with an initial code stream of the N initial code streams of different phases. On the other hand, if the detector 5062 does not detect a correlation peak, it continues to perform correlation operation on the second group of N bits of data composed of the second bit data of each sub-code stream in the N parallel sub-code streams and each initial code stream of the N initial code streams of different phases, and repeats the above operation until the detector 5062 detects a correlation peak. After the correlation peak is detected, that is, the modulated first code stream is synchronized with one of the N initial code streams with different phases, the synchronization information indicating the synchronization phase is output to the selector 5063, and the second code stream generator 5050 is notified to start running. The selector 5063 selects the code stream with the synchronization phase generated by the second code stream generator 5050 as the code stream synchronized with the modulated first code stream, that is, the second code stream synchronized with the modulated pulse signal according to the synchronization information. It should be noted that although Figure 5 The correlator 5060 shown in FIG. 1 includes N different comparators 5061C0, 5061C1, ..., 5061C N-1 , the device of the present disclosure can be implemented by multiplexing only one comparator; in addition, although Figure 5 The correlator 5060 shown in the figure includes a selector 5063, which is not necessary for the implementation of the device of the present disclosure. For example, after determining the initial code stream synchronized with the modulated first code stream, the second code stream generator 5050 can be configured to generate a second code stream according to the synchronization phase, thereby eliminating the need for a selector.

[0066] At this time, adjust the switch 5090 to the "pulse" input, and input the pulse signal to be measured. After the pulse signal is amplified or attenuated by the analog conditioner 5080, it is input into the modulator 5010; the first code stream generator 5040 generates a code stream divided into N parallel paths, which is output as a serial first code stream after being converted from parallel to serial by the transceiver sending interface 5071; the serial first code stream and the pulse signal are XOR-operated at the modulator 5010 to generate a serial modulated pulse signal; the serial modulated pulse signal is received by the transceiver receiving interface 5072, and converted into a parallel modulated pulse signal after a serial-to-parallel conversion operation, and input into the demodulator 5020. Since the modulated pulse signal and the modulated first code stream undergo the same modulation, transmission and serial-to-parallel conversion, when the system configuration and settings of the device 5000 remain constant, the code stream synchronized with the modulated first code stream is the second code stream synchronized with the modulated pulse signal. It should be noted that although in Figure 5The analog conditioner 5080 and the switch 5090 are shown in the figure, which are not necessary for the implementation of the device of the present disclosure. For example, in some implementations where the amplitude adjustment of the pulse signal is not required, the analog conditioner may not be used. For example, in some implementations, the pulse signal and the all-zero sequence for generating the synchronized second code stream may be input into the device 5000 through independent channels, thereby eliminating the need to use a switch device to switch the pulse signal and the all-zero sequence.

[0067] Next, the modulated pulse signal is subjected to an XOR operation at the demodulator 5020 using a second code stream synchronized with the modulated pulse signal to demodulate the demodulated pulse signal and input the demodulated pulse signal into the processor 5030. The processor 5030 performs processing such as edge search on the demodulated pulse signal to obtain the edge of the demodulated pulse signal, and calculates the arrival time of the pulse signal according to formula (2).

[0068] It should be noted that in the implementation of the present invention, the device for measuring the arrival time of a pulse signal is not limited to being implemented by integrated circuits such as FPGA and ASIC. For example, it can alternatively be implemented by a combination of electronic components such as XOR gates, comparators, and shift registers.

[0069] The following describes a method for measuring the arrival time of a pulse signal according to an embodiment of the present disclosure. Figure 6 A flowchart 600 of a method for measuring the arrival time of a pulse signal according to an embodiment of the present disclosure is shown.

[0070] At step S602, the pulse signal is modulated by using a first code stream to generate a modulated pulse signal. The first code stream may be a binary sequence generated according to a certain rule and a certain period, such as but not limited to a pseudo-random binary sequence (PRBS).

[0071] According to the implementation of the embodiment of the present disclosure, at step S602, the pulse signal can be modulated by performing an XOR operation on the pulse signal and the first code stream to generate a modulated pulse signal. For a pulse signal that does not carry clock information or stable clock information, the pulse signal can be XORed with the first code stream so that the pulse signal has stable clock information related to the period of the first code stream. In addition, for example, for a pulse signal with an amplitude that is too large or too small, the pulse signal can be attenuated, amplified, etc. before performing an XOR operation on it so that it meets the processing range of the XOR operation. The pulse signal after the XOR operation with the first code stream is called a modulated pulse signal.

[0072] In practical applications, the input pulse signal whose arrival time needs to be measured is often transmitted in high-speed serial transmission through, for example, an optical fiber or a coaxial cable, i.e., a serial pulse signal. In this case, the first code stream used to modulate the pulse signal can be a serial code stream. According to an implementation of the present embodiment, the first serial code stream can be a received predefined code stream.

[0073] According to another implementation of the embodiment of the present disclosure, optionally, the method for measuring the pulse arrival time may further include step S601, where a parallel code stream is generated, and the parallel code stream is parallel-to-serial converted to generate a first code stream. Specifically, in the implementation of the embodiment of the present disclosure, the generated parallel code stream may be a parallel PRBS code stream, such as a parallel PRBS code stream having a code type of PRBS 7, PRBS 9, PRBS 11, PRBS 15, etc. Next, a parallel-to-serial conversion operation is performed on the generated parallel code stream to generate a serial first code stream.

[0074] According to an embodiment of the present disclosure, at step S605, the modulated pulse signal is demodulated using a second code stream synchronized with the modulated pulse signal to generate a demodulated pulse signal.

[0075] According to the implementation of the embodiment of the present disclosure, at step S605, the modulated pulse signal can be demodulated by performing an XOR operation on the modulated pulse signal and a second code stream synchronized with the modulated pulse signal. The second code stream can be a binary sequence generated according to a certain rule and a certain period, such as but not limited to a pseudo-random binary sequence (PRBS), the second code stream has the same code type as the first code stream, and is synchronized with the modulated pulse signal, that is, it has the same phase delay as the modulated pulse signal. The second code stream can be, for example, a received predefined second code stream synchronized with the modulated pulse signal. By performing an XOR operation on the modulated pulse signal and the second code stream, a demodulated pulse signal that can directly represent the time information of the input pulse signal is obtained.

[0076] According to the implementation of the embodiment of the present disclosure, optionally, the method for measuring the arrival time of a pulse signal may further include step S603, in which the modulated pulse signal is serially-parallel converted to generate a parallel modulated pulse signal. For example, for a high-speed serial modulated pulse signal obtained by modulating a high-speed pulse signal input in series, in order to improve signal processing efficiency and reduce requirements for system hardware performance, the serial modulated pulse signal may be converted into a parallel modulated pulse signal. For the parallel modulated pulse signal obtained by the serial-parallel conversion, a second code stream synchronized with the parallel modulated pulse signal may be used to demodulate it to generate a parallel demodulated pulse signal.

[0077] According to the implementation of the embodiment of the present disclosure, optionally, the method for measuring the arrival time of the pulse signal may further include step S604, where a second code stream synchronized with the modulated pulse signal is generated. Specifically, first, the all-zero sequence is modulated using the first code stream to generate a modulated first code stream; a correlation operation is performed on the modulated first code stream and a plurality of initial code streams having the same code type as the first code stream and having different phases; and the second code stream synchronized with the modulated pulse signal is generated according to the result of the correlation operation.

[0078] The process of generating a second code stream synchronized with the modulated pulse signal is described below with reference to a specific example.

[0079] According to an example of an embodiment of the present disclosure, first, a first code stream is obtained from the outside, or a first code stream is generated; then, the first code stream is used to modulate the all-zero sequence to generate a modulated first code stream. The all-zero sequence is a sequence in which all bit values ​​are 0. Modulation is, for example, an XOR operation performed on the first code stream and the all-zero sequence as described above. After obtaining the modulated first code stream, it can be serial-to-parallel converted to generate a plurality of sub-code streams that can be processed in parallel. Here, the modulated first code stream is, for example, converted into N parallel sub-code streams. After being modulated with the all-zero sequence, the bit values ​​of the first code stream will not change, but after the processes of modulation, transmission, serial-to-parallel conversion, etc., the phase of the modulated first code stream is delayed.

[0080] At this time, N initial code streams with the same code type as the first code stream and different phases are generated, represented by Phase i (i=0, 1, 2, ..., N-1). Here, the same code type means that the initial code stream and the first code stream are generated using the same predefined rules and cycles. In the implementation method using PRBS code, it means that the same order polynomial is used for generation, for example, both use PRBS 7 code type, or both use PRBS 9 code type. At this time, after generating N bits of data for each of the N initial code streams, the code stream generator is suspended. Figure 2 In the implementation method where the initial code stream is a PRBS code, T = 2 m -1, where m is the order of the PRBS code. Among the N initial code streams, the initial code stream Phase i and Phase (i+1) differ by one bit phase, that is, the initial code stream Phase (i+1) is delayed by one bit compared to the initial code stream Phase i, such as Figure 2 As shown, Figure 2 The shaded area in represents the bit position of bit 0 in the current bit period. Bit 0 in the initial code stream Phase 1 differs from bit 0 in the initial code stream Phase 0 by one bit phase.

[0081] Next, correlation operations are performed on the first group of N bits of data consisting of the first bit data of each sub-code stream in the N parallel sub-code streams and each initial code stream in the N different phase Phase code streams. If the first group of N bits of data is the same as an initial code stream Phase i (i=0, 1, 2, ..., N-1) in the N different phase initial code streams, a comparison result of 1 is output, otherwise, a comparison result of 0 is output. The N comparison output results are detected, and if a comparison output result of 1 is detected, for example, the i-th comparison output result is 1, that is, a correlation peak appears, indicating that the modulated first code stream is synchronized with the initial code stream Phase i, that is, the phase is the same as the initial code stream Phase i. On the other hand, if no correlation peak is detected, that is, the N comparison output results are all 0, then the second group of N bit data consisting of the second bit data of each sub-code stream in the N parallel sub-code streams is continuously correlated with each of the N initial code streams with different phases, and the above operation is repeated until the correlation peak is detected, that is, the modulated first code stream is synchronized with an initial code stream in the N initial code streams with different phases. At this time, the synchronization information indicating the synchronization phase is output, and the code stream synchronized with the modulated first code stream is generated according to the synchronization information, that is, the second code stream synchronized with the modulated pulse signal as described above.

[0082] In the above operation, since the modulated pulse signal after the same modulation, transmission and serial-to-parallel conversion has the same phase delay as the modulated first code stream when measuring the arrival time of the pulse signal, that is, the generated code stream synchronized with the modulated first code stream and the modulated pulse signal are also synchronized. After obtaining the second code stream synchronized with the modulated pulse signal, the modulated pulse signal can be demodulated using the second code stream.

[0083] return Figure 6 According to an embodiment of the present disclosure, at step S606, the demodulated pulse signal is processed to obtain the arrival time of the pulse signal.

[0084] According to the implementation of the embodiment of the present disclosure, the method for measuring the arrival time of a pulse signal also includes, at step S606, performing edge search on the demodulated pulse signal to obtain the edge of the demodulated pulse signal; and calculating the arrival time of the pulse signal at least partially based on the edge. In one example of the embodiment of the present disclosure, edge search can be performed on the pulse signal. For example, for the demodulated pulse signal divided into N parallel paths as described above, edge search is performed on the parallel demodulated pulse signals respectively, that is, the values ​​of adjacent bits of the demodulated pulse signal are compared to see whether there is a change from 0 to 1. First, compare the current bit period of the demodulated pulse signal (for example, the current bit period is the Ath bit period counted from the 0th bit period, such as Figure 4The value of bit 0 in the current bit period (as shown) is compared with the value of bit (N-1) in the previous bit period (i.e., the A-1th bit period); the value of bit 0 in the current bit period of the demodulated pulse signal is compared with the value of bit 1; and so on, the value of bit (N-2) in the current bit period of the demodulated pulse signal is compared with the value of bit (N-1). If the nth comparison output result is true, that is, a change in bit value from 0 to 1 occurs between bit (n-1) and bit n in the current bit period, it indicates that the edge or more specifically the rising edge of the demodulated pulse signal occurs on the nth bit of the current bit period, as shown in FIG. Figure 4 shown. Figure 4 A schematic diagram showing the position of a detected pulse edge according to an example of an embodiment of the present disclosure is shown, in which the shaded area represents the bit position where the detected pulse edge is located. Alternatively, other common edge finding methods in the art can be used to determine the edge of the demodulated pulse signal. After obtaining the edge of the demodulated pulse signal, the arrival time of the pulse signal is calculated at least in part based on the edge.

[0085] According to the implementation of the embodiment of the present disclosure, the method for measuring the arrival time of the pulse signal further includes, at step S606, calculating the arrival time of the pulse signal according to the bit position of the edge in the demodulated pulse signal, the clock frequency of the demodulated pulse signal, and the local time reference. For example, for a demodulated pulse signal divided into N parallel paths, the arrival time of the pulse signal can be calculated according to the above formula (2).

[0086] In scenarios where the absolute arrival time of a pulse signal is not required, that is, where the specific year, month, day, hour, minute, and second of the arrival time of a pulse signal does not need to be determined, the local time reference can be determined based on the system time of the device, such as the system time determined by a clock circuit composed of a crystal oscillator, a crystal oscillator control chip, a capacitor, etc., or an atomic clock can be used to determine the local time reference when higher accuracy is required. In scenarios where the absolute arrival time of a pulse signal is required, the time determined by a satellite navigation system can be used as the local time reference to calculate the arrival time of the pulse signal. In addition, according to the implementation of the embodiment of the present disclosure, if only the difference in arrival time of two pulse signals is desired to be measured, a local time reference may not be required.

[0087] The above describes a method for measuring the arrival time of a pulse signal according to an embodiment of the present disclosure, which can achieve high-precision and high-efficiency measurement of the arrival time of a pulse signal, especially a high-speed pulse signal. The method according to an embodiment of the present disclosure does not require analog sampling of the pulse signal, and the method according to an embodiment of the present disclosure uses only a small number of interfaces and a small number of logic resources, and does not require Fourier operations that use a large number of devices and storage resources, thereby streamlining the system configuration, optimizing system performance, and reducing system costs.

[0088] In addition, the method according to the embodiment of the present disclosure can also be used to measure the pulse width of a pulse signal. Specifically, the falling edge arrival time and the rising edge arrival time of the pulse signal are measured respectively, and the pulse width of the pulse signal can be obtained by subtracting the two. The edge search process as described above determines the rising edge of the demodulated pulse signal, and determining the arrival time of the falling edge of the demodulated pulse signal is similar to the above process. Specifically, compare whether the values ​​of N groups of adjacent bits have changed from 1 to 0. If the nth comparison output result is true, it indicates that the falling edge of the demodulated pulse signal appears on the nth bit of the current bit period, and the falling edge arrival time of the pulse signal is calculated according to formula (2).

[0089] The method for measuring the arrival time of a pulse signal according to an embodiment of the present disclosure can be implemented, for example, using a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC). The specific implementation method can refer to the above description of the FPGA implementation of the device for measuring the arrival time of a pulse signal, which will not be repeated here.

[0090] Those skilled in the art will appreciate that the contents disclosed in this disclosure may be subject to various variations and improvements. For example, the various devices or components described above may be implemented by hardware, or by software, firmware, or a combination of some or all of the three.

[0091] In addition, as shown in the present disclosure and claims, unless the context clearly indicates an exception, the words "a", "an", "a kind" and / or "the" do not specifically refer to the singular, but may also include the plural. The words "first", "second" and similar words used in the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, words such as "including" or "comprising" mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Words such as "connected" or "connected" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect.

[0092] In addition, flow charts are used in the present disclosure to illustrate the steps of the method according to the embodiments of the present disclosure. It should be understood that the preceding or following operations are not necessarily performed precisely in order. On the contrary, various steps may be processed in reverse order or simultaneously. At the same time, other operations may also be added to these processes, or one or more operations may be removed from these processes.

[0093] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the invention belongs. It should also be understood that terms such as those defined in common dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant technology and should not be interpreted in an idealized or extremely formal sense, unless explicitly defined as such herein.

[0094] The present disclosure is described in detail above, but it is obvious to those skilled in the art that the present disclosure is not limited to the embodiments described in this specification. Without departing from the purpose and scope of the present disclosure as determined by the records of the claims, many modifications and variations can be made to the exemplary embodiments of the present disclosure, and all of these modifications and variations are included in the scope of the present disclosure as defined by the claims. Therefore, the records in this specification are for the purpose of illustration and do not have any restrictive meaning for the present disclosure. The present disclosure is defined by the claims and their equivalents.

Claims

1. A device for measuring the arrival time of a pulse signal, comprising: a modulation unit configured to modulate the pulse signal by performing an XOR operation on the pulse signal and the first code stream to generate a modulated pulse signal; a demodulation unit configured to demodulate the modulated pulse signal using a second code stream synchronized with the modulated pulse signal to generate a demodulated pulse signal; a processing unit configured to process the demodulated pulse signal to obtain an arrival time of the pulse signal, The modulation unit is further configured to perform an XOR operation on the first code stream and an all-zero sequence to generate a modulated first code stream, and the second code stream synchronized with the modulated pulse signal is generated based on the modulated first code stream.

2. The device according to claim 1, wherein: The pulse signal does not carry clock information.

3. The device according to claim 1, wherein: The first code stream is a serial code stream.

4. The apparatus according to claim 3, further comprising: A first code stream generator is configured to generate parallel code streams; The serial-to-parallel converter is configured to perform parallel-to-serial conversion on the parallel code stream to generate the first code stream.

5. The device according to claim 1, wherein: The demodulation unit is configured to demodulate the modulated pulse signal by performing an exclusive OR operation on the modulated pulse signal and the second code stream to generate a demodulated pulse signal.

6. The apparatus according to claim 1, further comprising: A serial-to-parallel converter is configured to perform serial-to-parallel conversion on the modulated pulse signal to generate a parallel modulated pulse signal, wherein: The demodulation unit is configured to demodulate the parallel modulated pulse signal using a second code stream synchronized with the parallel modulated pulse signal to generate a parallel demodulated pulse signal; and The processing unit is configured to process the parallel demodulated pulse signals to obtain arrival times of the pulse signals.

7. The device according to claim 1, wherein: The device also includes: A second code stream generator is configured to generate a plurality of initial code streams having the same code pattern as the first code stream and different phases; A correlation unit is configured to perform a correlation operation on the modulated first code stream and the multiple initial code streams, and wherein, The second code stream generator is further configured to generate the second code stream synchronized with the modulated pulse signal according to the result of the correlation operation.

8. The device according to any one of claims 1 to 7, wherein: The first code stream and the second code stream are pseudo-random binary sequences.

9. The device according to claim 1, wherein: The processing unit is configured to: Performing edge search on the demodulated pulse signal to obtain the edge of the pulse signal; The arrival time of the pulse signal is calculated at least according to the edge.

10. The device according to claim 9, wherein: The processing unit is configured to calculate the arrival time of the pulse signal according to the bit position of the edge in the demodulated pulse signal, the clock frequency of the demodulated pulse signal and a local time reference.

11. A method for measuring the arrival time of a pulse signal, comprising: Modulating the pulse signal by performing an XOR operation on the pulse signal and the first code stream to generate a modulated pulse signal; Demodulating the modulated pulse signal using a second code stream synchronized with the modulated pulse signal to generate a demodulated pulse signal; processing the demodulated pulse signal to obtain the arrival time of the pulse signal, The method further includes performing an XOR operation on the first code stream and an all-zero sequence to generate a modulated first code stream, and the second code stream synchronized with the modulated pulse signal is generated based on the modulated first code stream.

12. The method according to claim 11, wherein: The pulse signal does not carry clock information.

13. The method according to claim 11, wherein: The first code stream is a serial code stream.

14. The method according to claim 13, further comprising generating a parallel code stream, and performing parallel-to-serial conversion on the parallel code stream to generate the first code stream.

15. The method according to claim 11, wherein: The modulated pulse signal is demodulated using a second code stream synchronized with the modulated pulse signal, including performing an XOR operation on the modulated pulse signal and the second code stream to generate a demodulated pulse signal.

16. The method according to claim 11, further comprising: Performing serial-to-parallel conversion on the modulated pulse signal to generate a parallel modulated pulse signal; Demodulating the parallel modulated pulse signals using a second code stream synchronized with the parallel modulated pulse signals to generate parallel demodulated pulse signals; The parallel demodulated pulse signals are processed to obtain arrival times of the pulse signals.

17. The method according to claim 11, further comprising: performing a correlation operation on the modulated first code stream and a plurality of initial code streams having the same code type as the first code stream and different phases; The second code stream synchronized with the modulated pulse signal is generated according to the result of the correlation operation.

18. The method according to any one of claims 11 to 17, wherein: The first code stream and the second code stream are pseudo-random binary sequences.

19. The method according to claim 11, wherein: Processing the demodulated pulse signal comprises: Performing edge search on the demodulated pulse signal to obtain the edge of the pulse signal; The arrival time of the pulse signal is calculated at least according to the edge.

20. The method according to claim 19, wherein: The arrival time of the pulse signal is calculated according to the bit position of the edge in the demodulated pulse signal, the clock frequency of the demodulated pulse signal and a local time reference.

Citation Information

Patent Citations

  • Pulse synchronization demodulation device

    CN101496286A