A high-precision time-frequency transfer encoding method and system
By utilizing the duty cycle coding and pulse width modulation of the pulse signal, high-precision time-frequency transmission is achieved, solving the accuracy problems of frequency transmission and time-transmission in the prior art, and reducing the complexity of hardware design.
Patent Information
- Application Number
- CN202111509856.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-10
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2041-12-10
AI Technical Summary
The existing time-frequency transfer methods are difficult to achieve high-precision frequency transfer and accurate transfer at any time, especially when a dedicated synchronous Ethernet environment and node-added devices are not required.
The data bits are encoded using different duty cycles of the pulse signal, and the signal is transmitted through pulse width modulation. The receiver recovers the clock from the link, and uses the starting edge of the pulse signal to detect phases to achieve synchronous transmission of frequency and time.
It effectively reduces the complexity of hardware circuit design, realizes high-precision transmission and identification of any moment while frequency transmission, and improves the accuracy of signal transmission.
Smart Images

Figure CN114337891B_ABST
Abstract
Description
Technical field:
[0002] The present invention relates to the field of signal processing, and in particular to a high-precision time-frequency transfer encoding method and system. Background technology:
[0004] Time and frequency transfer and synchronization technologies are widely used in astronomical observation, aerospace experiments, high-speed communications and other fields, and also play a key role in distributed applications in some modern engineering fields.
[0005] Time and frequency transmission needs to include two parts, one is frequency transmission, and the other is time transmission that represents absolute time information. Common time and frequency transmission methods include NTP, IEEE1588, WhiteRabbit, IRIG-B, etc. Among them, NTP and IEEE1588 use the Ethernet data packet interaction to achieve time synchronization, which can keep the system time of the devices connected in the network consistent; WhiteRabbit uses phase return and full digital phase detection technology based on the integration of synchronous Ethernet technology (SyncE) and precision time synchronization protocol (IEEE1588-2008, namely PTPv2) to achieve frequency locking and timestamp synchronization of master and slave nodes, and can complete frequency synchronization and time synchronization; IRIG-B loads the time synchronization signal and time code information such as seconds, minutes, hours, and days into a signal carrier with a frequency of 1kHz to achieve frequency synchronization and time synchronization.
[0006] However, technologies such as NTP and IEEE1588 only achieve time transfer, but do not achieve high-precision frequency transfer. WhiteRabbit achieves frequency synchronization and time synchronization. In 10B8B encoding, according to the analysis of the underlying transmission mechanism, a group of 10 bits needs to be transmitted to identify a valid PPS pulse, and it must be used in a dedicated synchronous Ethernet environment, and WhiteRabbit dedicated equipment must be added to the node. IRIG-B can only achieve synchronous clock pulse output, and it is difficult to achieve frequency transfer. Summary of the invention:
[0008] The technical problem to be solved by the present invention is that: while transmitting the frequency, any moment can be accurately transmitted and marked.
[0009] In order to solve the above technical problems, a technical solution provided by the present application is to provide a high-precision time-frequency transmission encoding method:
[0010] The data bits are encoded by using different duty cycles of pulse signals. The states represented by pulse signals are divided into three states: empty code, 0, and 1. The starting edge of each non-empty data bit indicates the time, and the subsequent non-empty data bits indicate the relevant time information. The time-frequency related data are superimposed, and special encoding is used to realize frame control. Pulse width modulation is used for signal transmission.
[0011] The receiving end performs phase detection from the starting edge of the pulse signal in the link and recovers the clock. The starting edge is the rising edge or the falling edge.
[0012] Furthermore, within each pulse signal cycle, the transmitted data bits are divided into three states according to the different duty cycle intervals of the pulse signal: empty code, 0 and 1; the duty cycle intervals of the pulse signal corresponding to the three states of the data bits can be flexibly set and do not overlap.
[0013] Furthermore, when there is no time or data transmission, the blank code is continuously sent, and its starting edge is locked with the frequency to be transmitted; when data is transmitted, the starting edge of each data bit is also locked with the frequency to be transmitted;
[0014] When any time is transmitted, the starting edge of the first non-empty data indicates the time, and is synchronized with the transmission frequency, and the subsequent data is used to indicate the time information of the moment.
[0015] In order to solve the above technical problems, another technical solution provided by the present application is to provide a high-precision time-frequency transfer coding system, which is characterized by comprising a time-frequency source end and a time-frequency receiving end connected by a link, wherein:
[0016] Time and frequency source: The starting edge of the empty state pulse signal and the non-empty state pulse signal is synchronized with the frequency to be transmitted. The starting edge of the non-empty state pulse signal indicates the time when the pulse signal is generated, and the subsequent data bit indicates the time information of the moment; the data bit is encoded with different duty cycles of the empty state pulse signal and the non-empty state pulse signal. The duty cycle intervals of the pulse signals in the three states can be flexibly set and the intervals do not overlap. After pulse width modulation, it is sent to the link;
[0017] Time and frequency receiving end: receives the pulse signal transmitted on the link; performs phase detection through the starting edge of the pulse signal to recover the clock from the link; takes the starting edge of the first non-empty pulse signal as the time pulse generated by the pulse signal, and serially decodes the non-empty data to obtain the transmitted time information.
[0018] Further, the time frequency source includes an encoding module and a sending module, wherein:
[0019] Encoding module: Encodes data bits with different duty ratios of the empty state pulse signal and the non-empty state pulse signal. The starting edge of the empty state pulse signal and the non-empty state pulse signal is synchronized with the frequency to be transmitted. The starting edge of the first non-empty state pulse signal indicates the time when the pulse signal is generated, and the subsequent data bits indicate the relevant time information of the time.
[0020] Transmitting module: performs pulse width modulation on the encoded pulse signal and sends it.
[0021] Furthermore, the time frequency receiving end includes a decoding module and a receiving module, wherein:
[0022] Receiving module: used to receive pulse signals on the link;
[0023] Decoding module: Perform phase detection according to the starting edge of the pulse signal to recover the clock, take the starting edge of the first non-empty state pulse signal as the moment pulse generated by the pulse signal, and serially decode the non-empty data to obtain the transmitted moment information.
[0024] The beneficial effects of the present invention are:
[0025] Pulse width modulation is used for signal transmission. The receiving end recovers the clock from the link, and phase detection is performed through the starting edge (rising edge or falling edge) of the pulse signal. The different duty cycles of the pulse signal are used to transmit valid data bits. The starting edge of each data bit indicates the moment, and the subsequent data bits identify the relevant moment information. Special encoding is used to achieve frame control. While achieving frequency transmission, any moment can be accurately transmitted and identified.
[0026] Compared with the current common time and frequency transmission scheme, the present application uses this encoding method to transmit frequency and realize the transmission of time at the same time, which can effectively reduce the complexity of hardware circuit design while maintaining high-precision transmission of signals at any time. Description of the drawings:
[0028] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only two of the drawings of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0029] Figure 1 It is a state waveform diagram of a pulse signal;
[0030] Figure 2 It is another state waveform diagram of the pulse signal;
[0031] Figure 3 It is another state waveform diagram of the pulse signal;
[0032] Figure 4 Schematic diagram of the signal sending process for the time frequency source;
[0033] Figure 5 It is a schematic diagram of the signal receiving process of the time frequency receiving end;
[0034] Figure 6 It is a schematic diagram of the pulse signal waveform of time-frequency data on the link;
[0035] Figure 7 A structural block diagram of a high-precision time-frequency transfer coding system is provided for this application. Specific implementation method:
[0037] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0038] like Figure 1 As shown, the present application provides a high-precision time-frequency transfer encoding method.
[0039] The data bits are encoded by using different duty cycles of pulse signals. The states represented by pulse signals are divided into three states: empty code, 0, and 1. The starting edge of each non-empty data bit indicates the time, and the subsequent non-empty data bits indicate the relevant time information. The time-frequency related data are superimposed, and special encoding is used to realize frame control. Pulse width modulation is used for signal transmission.
[0040] The receiving end performs phase detection from the starting edge of the pulse signal in the link and recovers the clock. The starting edge is the rising edge or the falling edge.
[0041] The encoding method may be any encoding method, such as Manchester encoding, 10B8B encoding, etc.
[0042] In this embodiment, in each pulse signal cycle, according to the different duty cycles of the pulse signal, the transmitted data bits are divided into three states: empty code, 0 and 1. The duty cycle intervals of the pulse signal corresponding to the three states of the data bit can be flexibly set (the duty cycle intervals of the three states do not overlap).
[0043] For example, within a pulse signal cycle, the rising edge is defined as the starting edge, the pulse signal duty cycle is within the range of 40% to 60% when the code is empty, the pulse signal duty cycle is within the range of 5% to 35% when the data bit is 0, and the pulse signal duty cycle is within the range of 65% to 95% when the data bit is 1. Figure 1 shown.
[0044] For example, within a pulse signal cycle, the falling edge is defined as the starting edge, the pulse signal duty cycle is in the range of 40% to 60% when the code is empty, the pulse signal duty cycle is in the range of 5% to 35% when the data bit is 0, and the pulse signal duty cycle is in the range of 65% to 95% when the data bit is 1. Figure 2 shown.
[0045] For example, within a pulse signal cycle, the falling edge is defined as the starting edge, the pulse signal duty cycle is in the range of 40% to 60% when the code is empty, the pulse signal duty cycle is in the range of 5% to 35% when the data bit is 1, and the pulse signal duty cycle is in the range of 65% to 95% when the data bit is 0. Figure 3 shown.
[0046] In this embodiment, when there is no time or data transmission, the pulse signal is continuously in an empty state, continuously sending an empty code, and its starting edge is locked with the frequency to be transmitted; when transmitting data, the starting edge of each data bit is also locked with the frequency to be transmitted. In this way, continuous transmission of frequency signals can be achieved, and the frequency signal can be extracted only by the edge trigger circuit, which can effectively reduce the complexity of hardware circuit design and achieve high-precision frequency transmission.
[0047] When transmitting at any time, the starting edge of the first non-empty data indicates the moment and is synchronized with the transmission frequency. Then the subsequent data is used to indicate the time information or delay information of the moment, thereby achieving precise synchronous transmission at any time under the condition of continuous and stable transmission frequency.
[0048] The pulse signal is initiated by the time frequency source end and received and processed by the time frequency receiving end. Specifically, there are the following situations when sending and receiving the pulse signal:
[0049] (1) When there is no time or data transmission: the time and frequency source continues to send empty codes, and its starting edge is locked with the frequency to be transmitted.
[0050] (2) When transmitting at any time: the starting edge of the first non-empty data indicates the moment and is synchronized with the transmission frequency, and then the subsequent data is used to indicate the time information or delay information of the moment.
[0051] (3) During the transmission of valid time and frequency data: the link continuously transmits pulse signals in a non-empty state, that is, pulse signals with a data bit of 0 or a data bit of 1.
[0052] (4) When the transmission of valid time and frequency data is completed: the pulse signal state in the link changes from a non-empty state to an empty state, that is, from a data bit 0 or a data bit 1 to an empty state.
[0053] The following is based on Figure 4 and Figure 5 , the process of sending signals from the time frequency source end and receiving signals from the time frequency receiving end is described in detail, and the time frequency data has a pulse signal waveform on the link such as Figure 6 shown.
[0054] like Figure 4 As shown, the steps for the time frequency source to send a pulse signal are as follows:
[0055] (1) When the transmission link is idle, the time and frequency source repeatedly sends empty code data on the link;
[0056] (2) When the time needs to be transmitted, the time frequency source transmits the first non-empty data on the link at the starting edge to indicate the time, and synchronizes with the transmission frequency, and then uses subsequent data to indicate the time information or delay information of the moment;
[0057] (3) After the effective coded data is sent, the time and frequency source resends empty data;
[0058] (4) Repeat steps (1), (2), and (3).
[0059] like Figure 5 As shown, the time frequency receiving end receives the pulse signal, and the steps are as follows:
[0060] (1) The time and frequency receiving end receives the pulse signal sent by the time and frequency source end in real time;
[0061] (2) Recover the clock from the link and perform phase detection using the starting edge of the pulse signal;
[0062] (3) When encountering non-empty data and the previous pulse signal is empty data, the starting edge of the pulse signal is the time pulse generated by the time frequency source, and the non-empty data is serially decoded to obtain the transmitted time information (including time information TOD, etc.).
[0063] (4) When encountering non-empty data and the previous pulse signal is also non-empty data, the non-empty data is serially decoded to obtain the transmitted time information (including time information TOD, etc.);
[0064] (5) When the pulse signal state is empty, it means that the effective data transmission is completed and returns to step (1);
[0065] (6) Repeat steps (1), (2), (3), (4), and (5).
[0066] like Figure 7As shown, the present application provides a high-precision time and frequency transfer coding system, including a time and frequency source end and a time and frequency receiving end connected by a link, wherein:
[0067] Time and frequency source: The starting edge of the empty state pulse signal and the non-empty state pulse signal is synchronized with the frequency to be transmitted. The starting edge of the non-empty state pulse signal indicates the time when the pulse signal is generated, and the subsequent data bit indicates the time information of the moment; the data bit is encoded with different duty cycles of the empty state pulse signal and the non-empty state pulse signal. The duty cycle intervals of the pulse signals in the three states can be flexibly set and the intervals do not overlap. After pulse width modulation, it is sent to the link;
[0068] Time and frequency receiving end: receives the pulse signal transmitted on the link; performs phase detection through the starting edge of the pulse signal to recover the clock from the link; takes the starting edge of the first non-empty pulse signal as the time pulse generated by the pulse signal, and serially decodes the non-empty data to obtain the transmitted time information.
[0069] Further, the time frequency source includes an encoding module and a sending module, wherein:
[0070] Encoding module: Encodes data bits with different duty ratios of the empty state pulse signal and the non-empty state pulse signal. The starting edge of the empty state pulse signal and the non-empty state pulse signal is synchronized with the frequency to be transmitted. The starting edge of the first non-empty state pulse signal indicates the time when the pulse signal is generated, and the subsequent data bits indicate the relevant time information of the time.
[0071] Transmitting module: performs pulse width modulation on the encoded pulse signal and sends it.
[0072] Furthermore, the time frequency receiving end includes a decoding module and a receiving module, wherein:
[0073] Receiving module: used to receive pulse signals on the link;
[0074] Decoding module: Perform phase detection according to the starting edge of the pulse signal to recover the clock, take the starting edge of the first non-empty state pulse signal as the moment pulse generated by the pulse signal, and serially decode the non-empty data to obtain the transmitted moment information.
[0075] Among them, the time and frequency source uses the different duty cycles of the pulse signal to encode the data bits, superimposes the time and frequency related data together, uses pulse width modulation to transmit the signal, and the time and frequency receiving end performs phase detection from the starting edge (rising or falling edge) of the pulse signal in the link to recover the clock.
[0076] The above description of various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other, and for the sake of brevity, they will not be repeated herein.
[0077] The above are only preferred embodiments of the present invention and are not intended to limit the present invention in any form. Any simple modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention are still within the scope of the technical solution of the present invention.
Claims
1. A time-frequency transfer coding method, characterized in that: The data bits are encoded by using different duty cycles of pulse signals. The states represented by pulse signals are divided into three states: empty code, 0, and 1. The starting edge of each non-empty data bit indicates the time, and the subsequent non-empty data bits indicate the relevant time information. The time frequency is superimposed, and frame control is achieved by encoding. The pulse width modulation method is used for signal transmission. The receiving end performs phase detection from the starting edge of the pulse signal in the link and recovers the clock. The starting edge is the rising edge or the falling edge. When there is no time or data transmission, the blank code is continuously sent, and its starting edge is locked with the frequency to be transmitted; When data is transmitted, the starting edge of each data bit is also locked to the frequency to be transmitted; When any time is transmitted, the starting edge of the first non-empty data indicates the time, and is synchronized with the transmission frequency, and the subsequent data is used to indicate the time information of the moment.
2. A time-frequency transfer encoding method according to claim 1, characterized in that: In each pulse signal cycle, the transmitted data bits are divided into three states according to the different duty cycle intervals of the pulse signal: empty code, 0 and 1; the duty cycle intervals of the pulse signal corresponding to the three states of the data bits are flexibly set and do not overlap.
3. A time-frequency transfer coding system, characterized in that: It includes a time frequency source and a time frequency receiver connected by a link, wherein: Time and frequency source: The starting edge of the empty state pulse signal and the non-empty state pulse signal is synchronized with the frequency to be transmitted. The starting edge of the non-empty state pulse signal indicates the time when the pulse signal is generated, and the subsequent data bit indicates the time information of the moment; the data bit is encoded with different duty cycles of the empty state pulse signal and the non-empty state pulse signal. The duty cycle intervals of the pulse signals in the three states are flexibly set and the intervals do not overlap. After pulse width modulation, it is sent to the link; Time and frequency receiving end: receives the pulse signal transmitted on the link; performs phase detection through the starting edge of the pulse signal to recover the clock from the link; takes the starting edge of the first non-empty pulse signal as the time pulse generated by the pulse signal, and serially decodes the non-empty data to obtain the transmitted time information.
4. A time-frequency transfer coding system according to claim 3, characterized in that: The time frequency source includes an encoding module and a sending module, wherein: Encoding module: Encodes data bits with different duty ratios of the empty state pulse signal and the non-empty state pulse signal. The starting edge of the empty state pulse signal and the non-empty state pulse signal is synchronized with the frequency to be transmitted. The starting edge of the first non-empty state pulse signal indicates the time when the pulse signal is generated, and the subsequent data bits indicate the relevant time information of the time. Transmitting module: performs pulse width modulation on the encoded pulse signal and sends it.
5. A time-frequency transfer coding system according to claim 4, characterized in that: The time frequency receiving end includes a decoding module and a receiving module, wherein: Receiving module: used to receive pulse signals on the link; Decoding module: Perform phase detection according to the starting edge of the pulse signal to recover the clock, take the starting edge of the first non-empty state pulse signal as the moment pulse generated by the pulse signal, and serially decode the non-empty data to obtain the transmitted moment information.
