[go: up one dir, main page]

WO2023010234A1 - Transceiving circuit and transceiving device for clock synchronization - Google Patents

Transceiving circuit and transceiving device for clock synchronization Download PDF

Info

Publication number
WO2023010234A1
WO2023010234A1 PCT/CN2021/109946 CN2021109946W WO2023010234A1 WO 2023010234 A1 WO2023010234 A1 WO 2023010234A1 CN 2021109946 W CN2021109946 W CN 2021109946W WO 2023010234 A1 WO2023010234 A1 WO 2023010234A1
Authority
WO
WIPO (PCT)
Prior art keywords
clock signal
phase
clock
transceiver
transceiver circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2021/109946
Other languages
French (fr)
Chinese (zh)
Inventor
王东
赵兴
雷张伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to PCT/CN2021/109946 priority Critical patent/WO2023010234A1/en
Priority to CN202180099154.9A priority patent/CN117480743A/en
Publication of WO2023010234A1 publication Critical patent/WO2023010234A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/02Speed or phase control by the received code signals, the signals containing no special synchronisation information
    • H04L7/033Speed or phase control by the received code signals, the signals containing no special synchronisation information using the transitions of the received signal to control the phase of the synchronising-signal-generating means, e.g. using a phase-locked loop

Definitions

  • the embodiments of the present application relate to the field of electronic technologies, and in particular, to a transceiver circuit and a transceiver for clock synchronization.
  • the data receiving device needs to perform clock signal synchronization (also referred to as clock synchronization) with the data sending device, so that the data receiving device and the data sending device can communicate based on the synchronized clock signal.
  • clock signal synchronization also referred to as clock synchronization
  • An existing clock synchronization method is as follows: configure a master clock device, and the master clock device provides a reference clock signal to each of the multiple transceiver devices respectively, so that multiple transceiver devices can be based on the reference clock signal transfer data.
  • the second transceiver device among the plurality of transceiver devices uses the reference clock signal provided by the master clock device to send data to the first transceiver device among the plurality of transceiver devices
  • the first transceiver device uses the reference clock signal provided by the master clock device to transmit data from
  • the second transceiver device receives data, that is, the master clock device provides the same clock signal to the first transceiver device and the second transceiver device, so that the clock signal of the second transceiver device is synchronized with the clock signal of the first transceiver device.
  • the above method of clock synchronization needs to provide a master clock device separately, so a dedicated physical clock line must be laid out separately to connect the master clock device and multiple transceiver devices, which will occupy the interface resources of the transceiver device.
  • the embodiments of the present application provide a transceiver circuit and a transceiver device for clock synchronization, which can realize clock synchronization between the transceiver devices without occupying interface resources of the transceiver devices.
  • the embodiment of the present application provides a transceiver circuit, including: a clock adjustment module, a frequency and phase detector, and a first phase-locked loop; wherein, the first input end of the clock adjustment module is coupled to the input end of the transceiver circuit , the first output of the clock adjustment module is connected to the first input of the frequency and phase detector, the output of the frequency and phase detector is connected to the input of the first phase-locked loop, and the output of the first phase-locked loop Connect the second input end of the clock adjustment module and the second input end of the frequency and phase detector;
  • the above-mentioned frequency and phase detector is used to determine the frequency difference between the current receiving clock signal of the transceiver circuit and the clock signal output by the first phase-locked loop at a moment;
  • the above-mentioned first phase-locked loop is configured to output a first clock signal according to the above-mentioned frequency difference
  • the above-mentioned clock adjustment module is used to determine the phase difference between the clock signal of the first transceiver device and the current clock signal of the transceiver circuit; and adjust the above-mentioned first clock signal according to the phase difference to obtain a second clock signal, the The second clock signal is synchronized with the clock signal of the first transceiver device; and the receiving clock signal of the transceiver circuit is updated to the second clock signal, and the second clock signal is used for receiving data from the first transceiver device.
  • the frequency detector and phase detector in the transceiver circuit can determine the current receiving clock signal of the transceiver circuit and the clock output by the first phase-locked loop in the transceiver circuit at a previous moment The frequency difference of the signal; and the first phase-locked loop outputs the first clock signal according to the frequency difference; then, the clock adjustment module in the transceiver circuit communicates with the clock signal of the first transceiver device on the first phase-locked loop in the transceiver circuit The phase difference of the clock signal output at a moment adjusts the first clock signal to obtain a second clock signal, and the second clock signal is synchronized with the clock signal of the first transceiver device.
  • the transceiver circuit for clock synchronization provided by the embodiment of the present application does not need to set up a master clock device for providing a reference clock signal, so there is no need to occupy the interface resources of the transceiver device during the clock synchronization process. That is to say, the transceiver circuit for clock synchronization provided by the embodiment of the present application can
  • the above-mentioned clock adjustment module may include: a phase detection module and a first phase interpolator; the first input end of the phase detection module is coupled to the first input end of the above-mentioned clock adjustment module, and the phase detection module
  • the output terminal of the first phase interpolator is connected to the first input terminal of the first phase interpolator
  • the second input terminal of the first phase interpolator is coupled to the second input terminal of the above-mentioned clock adjustment module
  • the output terminal of the first phase interpolator is coupled to the above-mentioned
  • the first output end of the clock adjustment module, and the output end of the first phase interpolator is connected to the second input end of the phase detection module
  • the above-mentioned phase detection module is used to determine the phase difference between the clock signal of the above-mentioned first transceiver device and the current clock signal of the transceiver circuit;
  • the first phase interpolator is configured to adjust the first clock signal according to the phase difference to obtain the second clock signal.
  • the above-mentioned transceiver circuit further includes: an analog-to-digital converter, the input end of the analog-to-digital converter is coupled to the input end of the above-mentioned transceiver circuit, and the output end of the analog-to-digital converter is connected to the clock adjustment module. input terminal;
  • the aforementioned analog-to-digital converter is configured to convert the clock signal of the first transceiver device from an analog signal to a digital signal.
  • the transceiver circuit further includes a second phase interpolator, the first input terminal of the second phase interpolator is connected to the output terminal of the first phase-locked loop, and the second phase interpolator of the second phase interpolator The input end is connected to the second output end of the clock adjustment module, and the output end of the phase detection module is coupled to the second output end of the clock adjustment module;
  • the second phase interpolator is used to adjust the above-mentioned first clock signal according to the phase difference output by the second output terminal of the clock adjustment module to obtain a third clock signal, and the third clock signal is the same as the clock of the above-mentioned first transceiver device signal synchronization; and updating the sending clock signal of the transceiver circuit to the third clock signal, where the third clock signal is used to send data to the first transceiver device.
  • the above-mentioned transceiver circuit further includes: a second phase interpolator and a second phase-locked loop, the input end of the second phase-locked loop is connected to the output end of the above-mentioned frequency and phase detector, and the second phase-locked loop The output end of the phase loop is connected to the first input end of the second phase interpolator, the second input end of the second phase interpolator is connected to the second output end of the above-mentioned clock adjustment module, and the output end of the above-mentioned phase detection module is coupled to the above-mentioned clock adjusting the second output terminal of the module;
  • the above-mentioned second phase-locked loop is used to output the fourth clock signal according to the above-mentioned frequency difference
  • the second phase interpolator is configured to adjust the fourth clock signal according to the phase difference output by the second output terminal of the clock adjustment module to obtain a fifth clock signal, which is identical to that of the first transceiver device Clock signal synchronization; and updating the sending clock signal of the transceiver circuit to the fifth clock signal, the fifth clock signal is used to send data to the first transceiver device.
  • the embodiment of the present application provides another transceiver circuit, including: a clock adjustment module, a low-pass filter, and a first phase-locked loop; wherein, the first input end of the clock adjustment module is coupled to the input end of the transceiver circuit , the first output end of the clock adjustment module is connected to the input end of the low-pass filter, the output end of the low-pass filter is connected to the input end of the first phase-locked loop, and the output end of the first phase-locked loop is connected to the clock adjustment the second input terminal of the module;
  • the above-mentioned low-pass filter is used to determine the frequency difference between the current receiving clock signal of the above-mentioned transceiver circuit and the receiving clock signal of the previous moment of the transceiver circuit;
  • the above-mentioned first phase-locked loop is configured to output a first clock signal according to the above-mentioned frequency difference
  • the clock adjustment module is configured to determine a first phase difference according to the clock signal of the first transceiver device and the current receiving clock signal of the transceiver circuit; and adjust the first clock signal according to the first phase difference to obtain the first phase difference Two clock signals, the second clock signal is synchronized with the clock signal of the above-mentioned first transceiver device; Receive data.
  • the low-pass filter in the transceiver circuit can determine the frequency difference between the current receiving clock signal of the transceiver circuit and the receiving clock signal of the previous moment of the transceiver circuit, and convert the frequency The difference is sent to the first phase-locked loop; the first phase-locked loop adjusts and outputs the first clock signal to the receiving clock signal of the transceiver circuit at a moment according to the frequency difference, and then realizes the clock signal output by the first phase-locked loop at a moment Synchronization with the frequency of the current receiving clock signal of the transceiver circuit; then, the clock adjustment module determines the first phase difference according to the clock signal of the first transceiver device and the current receiving clock signal of the transceiver circuit; and according to the first phase difference pair The first clock signal is adjusted to obtain a second clock signal, and the second clock signal is synchronized with the clock signal of the first transceiver device.
  • the transceiver circuit for clock synchronization provided by the embodiment of the present application does not need to set up a master clock device for providing a reference clock signal, so there is no need to occupy the interface resources of the transceiver device during the clock synchronization process. That is to say, the transceiver circuit for clock synchronization provided in the embodiment of the present application can realize clock synchronization between transceiver devices without occupying interface resources of the transceiver devices.
  • the above-mentioned low-pass filter is specifically used to determine the The frequency difference between the current reception clock signal of the transceiver circuit and the reception clock signal of the previous moment of the transceiver circuit.
  • the above-mentioned clock adjustment module includes a phase detection module and a first phase interpolator; the first input end of the phase detection module is coupled to the first input end of the above-mentioned clock adjustment module, and the first input end of the phase detection module
  • the output terminal is coupled to the first output terminal of the above-mentioned clock adjustment module, the second output terminal of the phase detection module is connected to the first input terminal of the first phase interpolator, and the second input terminal of the first phase interpolator is coupled to the above-mentioned clock
  • the second input terminal of the adjustment module, the output terminal of the first phase interpolator is connected to the second input module of the phase detection module;
  • the above-mentioned phase detection module is used to determine the first phase difference according to the clock signal of the above-mentioned first transceiver device and the current receiving clock signal of the above-mentioned transceiver circuit;
  • the first phase interpolator is configured to adjust the first clock signal according to the first phase difference to obtain a second clock signal.
  • the above-mentioned transceiver circuit further includes an analog-to-digital converter, the input end of the analog-to-digital converter is coupled to the input end of the above-mentioned transceiver circuit, and the output end of the analog-to-digital converter is connected to the input of the above-mentioned clock adjustment module end;
  • the aforementioned analog-to-digital converter is configured to convert the clock signal of the first transceiver device from an analog signal to a digital signal.
  • the transceiver circuit further includes a second phase interpolator, the first input terminal of the second phase interpolator is connected to the output terminal of the first phase-locked loop, and the second phase interpolator of the second phase interpolator The input end is connected to the second output end of the above-mentioned clock adjustment module, and the output end of the above-mentioned phase detection module is also coupled with the second output end of the above-mentioned clock adjustment module;
  • the above-mentioned second phase interpolator is used to adjust the first clock signal according to the second phase difference output by the second output terminal of the clock adjustment module to obtain the third clock signal, and the third clock signal is compatible with the above-mentioned first transceiver
  • the clock signal of the device is synchronized; and the sending clock signal of the transceiver circuit is updated to a third clock signal, and the third clock signal is used to send data to the first transceiver device.
  • the above-mentioned transceiver circuit further includes a second phase interpolator and a second phase-locked loop, the input end of the second phase-locked loop is connected to the output end of the above-mentioned low-pass filter, and the second phase-locked loop
  • the output end of the second phase interpolator is connected to the first input end of the second phase interpolator
  • the second input end of the second phase interpolator is connected to the second output end of the above-mentioned clock adjustment module
  • the output end of the above-mentioned phase detection module is also connected to the above-mentioned clock adjustment module
  • the second output terminal coupling
  • the above-mentioned second phase-locked loop is used to output the fourth clock signal according to the above-mentioned frequency difference
  • the second phase interpolator is configured to adjust the fourth clock signal according to the phase difference output by the second output terminal of the clock adjustment module to obtain the fifth clock signal, which is compatible with the first transceiver
  • the clock signal of the device is synchronized; and the sending clock signal of the above-mentioned transceiver circuit is updated to the fifth clock signal, and the fifth clock signal is used to send data to the first sending and receiving device.
  • the embodiment of the present application provides a transceiver device, which includes the transceiver circuit described in any one of the first aspect and its possible implementations or any one of the second aspect and its possible implementations The transceiver circuit.
  • FIG. 1 is a schematic diagram 1 of a circuit system for clock synchronization provided by an embodiment of the present application
  • FIG. 2 is a schematic diagram of a phase offset provided by an embodiment of the present application.
  • FIG. 3 is a first schematic diagram of a transceiver circuit for clock synchronization provided by an embodiment of the present application
  • FIG. 4 is a second schematic diagram of a transceiver circuit for clock synchronization provided by an embodiment of the present application
  • FIG. 5 is a third schematic diagram of a transceiver circuit for clock synchronization provided by an embodiment of the present application.
  • FIG. 6 is a fourth schematic diagram of a transceiver circuit for clock synchronization provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a transceiver circuit for clock synchronization provided in the embodiment of the present application (5);
  • FIG. 8 is a first schematic diagram of a communication system provided by an embodiment of the present application.
  • FIG. 9 is a sixth schematic diagram of a transceiver circuit for clock synchronization provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of a transceiver circuit for clock synchronization provided in the embodiment of the present application VII;
  • FIG. 11 is a schematic diagram eight of a transceiver circuit for clock synchronization provided by an embodiment of the present application.
  • FIG. 12 is a schematic diagram of a transceiving circuit for clock synchronization provided in the embodiment of the present application 9;
  • FIG. 13 is a schematic diagram of a transceiver circuit for clock synchronization provided by an embodiment of the present application.
  • FIG. 14 is a second schematic diagram of a communication system provided by an embodiment of the present application.
  • FIG. 15 is a first schematic flow diagram of a synchronous clock signal flow provided by an embodiment of the present application.
  • first and second in the description and claims of the embodiments of the present application are used to distinguish different objects, rather than to describe a specific order of objects.
  • first clock signal and the second clock signal are used to distinguish different clock signals, not to describe a specific sequence of clock signals.
  • words such as “exemplary” or “for example” are used as examples, illustrations or illustrations. Any embodiment or design scheme described as “exemplary” or “for example” in the embodiments of the present application shall not be interpreted as being more preferred or more advantageous than other embodiments or design schemes. Rather, the use of words such as “exemplary” or “such as” is intended to present related concepts in a concrete manner.
  • multiple processing units refer to two or more processing units; multiple systems refer to two or more systems.
  • Fig. 1 is a schematic diagram of an existing circuit for clock synchronization, the clock synchronization circuit includes device A, device B, device C and a master clock device; wherein, device A, device B and device C are all transceiver devices , which has a similar structure.
  • a transceiver device includes: a sending unit, a receiving unit, and a phase buffer, where the sending unit is used to send data, the receiving unit is used to receive data, and the phase buffer is used to store a phase offset.
  • the clock signals used to send or receive data on the three devices of device A, device B, and device C are different. Therefore, the master clock device provides reference clock signals to device A, device B, and device C respectively, that is, the master clock The devices synchronize the same reference clock signal to device A, device B, and device C respectively, so that device A, device B, and device C all use the reference clock signal provided by the master clock device to send or receive data, that is, the reference clock signal is three The clock signal after clock synchronization of two devices.
  • the data sending device needs to compensate the phase of the reference clock signal to reduce
  • the error between the clock signals of the three devices keeps the clock signals of the three devices in sync.
  • device A before device A sends data to device B, device A first obtains phase offset 1 from the phase buffer, then device A adjusts the reference clock signal according to phase offset 1 to obtain clock signal 1, and then Send data to device B according to clock signal 1.
  • Device B obtains the actual clock signal used by device A to send data (the clock signal may be clock signal 1, or a clock signal with a certain phase deviation from clock signal 1, the deviation is due to ambient temperature or noise, etc.
  • device B calculates the phase offset 2 according to the actual clock signal and the reference clock signal of the device B, and then device B adjusts the reference clock signal according to the phase offset 2 to obtain Clock signal 2, and then device B receives data sent by device A based on clock signal 2, and device B sends the above-mentioned phase offset 2 to device A based on clock signal 2 (it should be understood that at this time, phase offset 2 is used as a data sent to device A).
  • device A calculates the phase offset 3 based on the acquired actual clock signal used by device B to send data (the data is phase offset 2) and the reference clock signal of device A, and then the device A adjusts the reference clock signal of device A according to the phase offset 3 to obtain clock signal 3, and then device A receives the phase offset 2 sent by device B based on clock signal 3, and stores the phase offset 2 in the phase buffer of device A
  • the phase offset is updated from phase offset 1 to phase offset 2 for sending data to device B subsequently.
  • the above method of clock synchronization needs to provide a master clock device separately, so a dedicated physical clock line must be laid out separately to connect the master clock device with the data sending device and the data receiving device, which will occupy the interface resources of the data sending device and the data receiving device .
  • the embodiment of the present application provides a transceiver circuit and a transceiver device for clock synchronization, which can be used without occupying the interface resources of the transceiver device In the case of , implement clock synchronization between transceiver devices.
  • the transceiver circuit includes: a clock adjustment module 13, a frequency and phase detector 11, and a first phase-locked loop 12; the first input terminal 131 of the clock adjustment module 13 is coupled to the transceiver circuit The input end, the first output end 132 of the clock adjustment module 13 is connected to the first input end 111 of the frequency and phase detector 11, and the output end 113 of the frequency and phase detector 11 is connected to the input end 121 of the first phase-locked loop 12, The output terminal 122 of the first phase-locked loop 12 is connected to the second input terminal 133 of the clock adjustment module 13 and the second input terminal 112 of the frequency and phase detector 11 .
  • the frequency and phase detector 11 is used to determine the frequency difference between the current receiving clock signal of the transceiver circuit and the clock signal output at a moment on the first phase-locked loop 12; the first phase-locked loop 12 is used to Output the first clock signal; the clock adjustment module 13 is used to determine the phase difference between the clock signal of the first transceiver device and the current clock signal of the transceiver circuit; and adjust the first clock signal according to the phase difference to obtain the second clock signal; and updating the receiving clock signal of the transceiver circuit to a second clock signal, the second clock signal is synchronized with the clock signal of the first transceiver device, and the second clock signal is used to receive data from the first transceiver device.
  • the current receiving clock signal (denoted as clock signal a) of the above-mentioned transceiver circuit is used as the reference clock signal of the frequency and phase detector 11, and the clock signal (denoted as clock signal a) output by the first phase-locked loop 12 at a previous moment is used as be the clock signal b) as the feedback clock signal of the frequency and phase detector 11, the frequency and phase detector 11 performs frequency discrimination on the above-mentioned reference clock signal and the feedback clock signal, and outputs the frequency between the above-mentioned reference clock signal and the feedback clock signal Difference.
  • the transceiver device to which the transceiver circuit shown in FIG. 3 is applied is referred to as a second transceiver device.
  • the above-mentioned frequency difference between the reference clock signal and the feedback clock signal may be expressed in a frequency control word, and the frequency control word is used to indicate the frequency difference between the clock signal a and the clock signal b.
  • the first phase-locked loop 12 adjusts the frequency of the clock signal b according to the frequency difference to obtain the first clock signal, wherein , the frequency of the first clock signal is the same as that of the clock signal b.
  • the frequency detector and phase detector in the transceiver circuit can determine the current receiving clock signal of the transceiver circuit and the clock output by the first phase-locked loop in the transceiver circuit at a previous moment The frequency difference of the signal; and the first phase-locked loop outputs the first clock signal according to the frequency difference; then, the clock adjustment module in the transceiver circuit communicates with the clock signal of the first transceiver device on the first phase-locked loop in the transceiver circuit The phase difference of the clock signal output at a moment adjusts the first clock signal to obtain a second clock signal, and the second clock signal is synchronized with the clock signal of the first transceiver device.
  • the transceiver circuit for clock synchronization provided by the embodiment of the present application does not need to separately provide a master clock device for providing a reference clock signal, so there is no need to occupy the interface resources of the transceiver device during the clock synchronization process That is to say, the transceiver circuit for clock synchronization provided in the embodiment of the present application can realize clock synchronization between transceiver devices without occupying interface resources of the transceiver devices.
  • the clock adjustment module 13 includes: a phase detection module 14 and a first phase interpolator 15 ; the first input terminal 141 of the phase detection module 14 is coupled to the clock adjustment module 13 The first input terminal 131, the output terminal 142 of the phase detection module 14 is connected to the first input terminal 151 of the first phase interpolator 15, and the second input terminal 152 of the first phase interpolator 15 is coupled to the second input of the clock adjustment module 13 terminal 133 , the output terminal 153 of the first phase interpolator 15 is coupled to the first output terminal 132 of the clock adjustment module 13 , and the output terminal 153 of the first phase interpolator 15 is connected to the second input terminal 143 of the phase detection module 14 .
  • the phase detection module 14 is used to determine the phase difference between the clock signal of the first transceiver device and the current clock signal of the transceiver circuit; the first phase interpolator 15 is used to adjust the first clock signal according to the phase difference to obtain Second clock signal.
  • the above-mentioned first phase interpolator 15 is used to adjust the first clock signal according to the above-mentioned phase difference, and in the process of obtaining the second clock signal, adjusting the first clock signal may include the following adjustment method A or adjustment method Either of B.
  • Adjustment method A When the frequency of the clock signal of the first transceiver device is greatly different from the frequency of the first clock signal, both the frequency and phase of the first clock signal need to be adjusted to obtain the second clock signal. Specifically, the phase of the first clock signal is shifted according to the phase difference, for example, when the phase difference is a positive number, the phase of the first clock signal is shifted forward (for example, along the X-axis of the coordinate system Right offset), the offset is the phase difference; when the phase difference is a negative number, the phase of the first clock signal is shifted backward, and the offset is the phase difference; since the phase difference is the integral of the frequency difference Therefore, the frequency difference between the clock signal of the first transceiver device and the first clock signal is calculated according to the phase difference, and then the frequency of the first clock signal is adjusted according to the frequency difference, for example, when the above-mentioned phase difference is a positive number , reducing the frequency of the first clock signal, wherein the amount of reduction is the frequency difference; when the above-
  • Adjustment mode B under the condition that the frequency of the clock signal of the first transceiver device is slightly different from the frequency of the first clock signal, the frequency of the first clock signal may not be adjusted (the frequency of the first clock signal is different from that of the first transceiver device).
  • the frequency difference of the clock signal is very small, and the frequency difference can be ignored, that is, the frequency of the first clock signal is considered to be approximately equal to the frequency of the first transceiver device), and only the phase of the first clock signal is adjusted to obtain the second clock signal.
  • the phase of the first clock signal is shifted according to the phase difference, for example, when the phase difference is a positive number, the phase of the first clock signal is shifted forward, and the shift amount is the phase difference; When the phase difference is a negative number, the phase of the first clock signal is shifted backward by the phase difference.
  • the transceiver circuit for clock synchronization may further include: an analog-to-digital converter 16, and the input terminal 161 of the analog-to-digital converter 16 is coupled to the transceiver circuit
  • the input terminal 162 of the analog-to-digital converter 16 is connected to the input terminal 131 of the clock adjustment module 13 .
  • the analog-to-digital converter 16 is used to convert the clock signal of the first transceiver device from an analog signal to a digital signal.
  • the processing of the clock signal is usually processed in the form of a digital signal. Therefore, after the transceiver circuit obtains the clock signal (the clock signal is an analog signal) of the first transceiver device, the analog-to-digital converter 16 converts The clock signal of the first transceiver device is converted from an analog signal to a digital signal, and then the clock signal in the form of a digital signal is input to the clock adjustment module 13 .
  • the transceiver circuit for clock synchronization may further include a component or module for synchronizing the sending clock signal of the transceiver circuit, that is, when the transceiver circuit receives the data sent by the first transceiver device, Not only the receiving clock signal of the transceiver circuit is synchronized with the clock signal of the first transceiver device, but also the sending clock signal of the transceiver circuit is synchronized with the clock signal of the first transceiver circuit.
  • the transceiver circuit for clock synchronization provided by the embodiment of the present application further includes a second phase interpolator 17, the first input of the second phase interpolator 17
  • the terminal 171 is connected to the output terminal 122 of the first phase-locked loop
  • the second input terminal 172 of the second phase interpolator 17 is connected to the second output terminal 134 of the clock adjustment module 13
  • the output terminal 142 of the above-mentioned phase detection module 14 is coupled to the clock adjustment module.
  • the second output terminal 134 of the module 13 is coupled to the clock adjustment module.
  • the second phase interpolator 17 is used to adjust the first clock signal according to the phase difference output by the second output terminal 134 of the clock adjustment module 13 to obtain a third clock signal, which is the same as the clock signal of the first transceiver device synchronizing; and updating the sending clock signal of the transceiver circuit to a third clock signal, the third clock signal is used to send data to the first transceiver device.
  • the second phase interpolator 17 adjusts the first clock signal according to the above-mentioned phase difference.
  • Adjustment, during the process of obtaining the third clock signal, adjusting the first clock signal may include any one of the following adjustment mode C and adjustment mode D.
  • Adjustment mode C When the frequency of the clock signal of the first transceiver device differs greatly from the frequency of the first clock signal, both the frequency and phase of the first clock signal need to be adjusted to obtain a third clock signal. Specifically, the phase of the first clock signal is shifted according to the phase difference; since the phase difference is the integral of the frequency difference, the clock signal of the first transceiver device and the phase of the first clock signal are calculated according to the phase difference. frequency difference, and then adjust the frequency of the first clock signal according to the frequency difference, and then obtain the adjusted first clock signal, that is, the third clock signal.
  • Adjustment mode D When the difference between the frequency of the clock signal of the first transceiver device and the frequency of the first clock signal is small, only adjust the phase of the first clock signal to obtain the third clock signal. Specifically, the phase of the first clock signal is shifted according to the phase difference, so as to obtain the adjusted first clock signal, that is, the third clock signal.
  • the second transceiving device applying the transceiving circuit provided in the embodiment of the present application includes a transmitting unit and a receiving unit. It should be understood that the clock adjustment module 13 in the above-mentioned transceiver circuit is set on the receiving unit, and the above-mentioned second phase interpolator 17 Set on the sending unit.
  • the phase difference can be stored in a buffer table corresponding to the second phase interpolator 17 (for example, : In the look-up table (look up table, LUT)), when the second transceiver device sends data to the first transceiver device, the second phase interpolator 17 reads the phase difference from the LUT table, and adjusts the first phase difference according to the phase difference a clock signal to obtain a third clock signal, so that the second transceiver device sends data to the first transceiver device according to the third clock signal.
  • a buffer table for example, : In the look-up table (look up table, LUT)
  • phase difference module 14 in the above-mentioned clock adjustment module 13 filters the phase difference (that is: includes a filter in the phase detection module 14), and then the first phase interpolator 15 adjusts the first clock signal according to the filtered phase difference (that is: a more accurate phase difference); at the same time, the buffer corresponding to the second phase interpolator 17
  • the phase difference stored in the table is also the phase difference after filtering.
  • the transceiver circuit for clock synchronization may further include: a second phase interpolator 17 and a second phase-locked loop 18, the The input 181 of the second phase-locked loop 18 is connected to the output 113 of the frequency and phase detector 11, and the output 182 of the second phase-locked loop 18 is connected to the first input 171 of the second phase interpolator 17, and the second phase interpolation
  • the second input terminal 172 of the device 17 is connected to the second output terminal 134 of the clock adjustment module 13
  • the output terminal 142 of the phase detection module 14 is coupled to the second output terminal 134 of the clock adjustment module 13 .
  • the second phase-locked loop 18 is used for outputting the fourth clock signal according to the frequency difference between the current receiving clock signal of the transceiver circuit and the receiving clock signal of a moment on the transceiver circuit; the second phase interpolator 17 is used for adjusting the module according to the clock The phase difference output by the second output terminal 134 of 13 adjusts the fourth clock signal to obtain the fifth clock signal, and the fifth clock signal is synchronized with the clock signal of the first transceiver device; and the sending clock signal of the transceiver circuit is updated to the first Five clock signals, the fifth clock signal is used to send data to the first transceiver device.
  • the above-mentioned fourth clock signal and the first clock signal are clock signals output according to the frequency difference between the current receiving clock signal of the transceiver circuit and the clock signal output by the first phase-locked loop 12 at a moment, so The above-mentioned fourth clock signal is exactly the same clock signal as the first clock signal.
  • adjusting the fourth clock signal may include the following adjustment method E and adjustment method Either of F.
  • Adjustment method E When the frequency of the clock signal of the first transceiver device is greatly different from the frequency of the fourth clock signal, both the frequency and phase of the fourth clock signal need to be adjusted to obtain the fifth clock signal.
  • the above-mentioned adjustment method E is similar to the above-mentioned adjustment method A, and for details, reference may be made to the related description of the above-mentioned embodiment about the adjustment method A.
  • Adjustment mode F when the difference between the frequency of the clock signal of the first transceiver device and the frequency of the fourth clock signal is small, only adjust the phase of the fourth clock signal to obtain the fifth clock signal.
  • the above-mentioned adjustment method F is similar to the above-mentioned adjustment method B, and for details, reference may be made to the related description about the adjustment method B in the above-mentioned embodiment.
  • an embodiment of the present application provides a transceiver device, which includes a transceiver circuit as shown in any one of FIGS.
  • the specific process for the transceiver circuit corresponding to the second transceiver device to synchronize the clock signal of the first transceiver device is as follows:
  • the clock adjustment module in the transceiver device determines the phase difference 1 between the two clock signals according to the clock signal corresponding to the first data and the current receiving clock signal of the second transceiver device; the clock adjustment module adjusts the first clock signal according to the phase difference 1
  • the phase and frequency of the clock signal output at a moment on the phase-locked loop obtain clock signal 1, wherein, the clock signal 1 is synchronized with the clock signal of the first transceiver device;
  • the clock signal is updated to clock signal 1.
  • the clock adjustment module of the second transceiver device sends the phase difference 1 to the second phase difference device of the second transceiver device; at the same time, the clock adjustment module of the second transceiver device sends the clock signal 1 to the frequency identification
  • the phase detector, the frequency detector and the phase detector determine the frequency difference 1 of the two clock signals according to the clock signal 1 and the clock signal output by the first phase-locked loop at a moment, and the frequency detector sends the frequency difference 1 to the first phase lock loop
  • the first phase-locked loop adjusts the frequency of the clock signal output at a moment on the first phase-locked loop according to the frequency difference 1 to obtain a clock signal 2, wherein the clock signal 2 is synchronized with the frequency of the clock signal 1,
  • the first phase-locked loop sends the clock signal 2 to the sending unit and the receiving unit of the second transceiver device, so that when the first transceiver device sends second data to the second transceiver device, the clock adjustment module adjusts the clock signal according to the phase difference 2 Clock
  • the first transceiver device sends the second data to the second transceiver device
  • the phase of the clock signal for sending the data may be shifted; therefore, the first transceiver device sends the second data to the second transceiver device.
  • the second transceiver device needs to continue to synchronously send the clock signal corresponding to the second data, and the synchronization process of the clock signal is specifically: the clock adjustment module in the second transceiver device matches the clock signal corresponding to the second data with the second transceiver The current receiving clock signal of the device (i.e.
  • clock signal 1 determines the phase difference 2 of the two clock signals; the clock adjustment module adjusts the phase sum of the clock signal 2 output by the first phase-locked loop at the previous moment according to the phase difference 2 frequency, to obtain the clock signal 3, it should be noted here that the clock signal 3 is synchronized with the frequency of the first transceiver device, therefore, the frequency adjustment of the clock signal 3 by the clock adjustment module according to the phase difference 2 is negligibly small.
  • the clock adjustment module updates the current receiving clock signal (that is: clock signal 1) of the second transceiver device to clock signal 3, and in addition, the clock adjustment module sends the phase difference 2 to the sending unit of the second transceiver device; Simultaneously, the clock adjustment module sends this clock signal 3 to the frequency detector; The frequency difference is 2, and the frequency difference detector sends the frequency difference 2 to the first phase-locked loop.
  • the first phase-locked loop adjusts the frequency of the clock signal 2 output at a moment on the first phase-locked loop according to the frequency difference 2 to obtain a clock signal 4, wherein the clock signal 4 is synchronized with the frequency of the clock signal 3, and the first phase-locked loop
  • the ring transmits this clock signal 4 to the transmitting unit and the receiving unit of the second transceiving device.
  • the sending unit of the second transceiver device When the sending unit of the second transceiver device receives the clock signal 2 and the phase difference 1, the sending unit synchronizes the clock signal 2 and stores the phase difference in the cache table corresponding to the sending unit; when the sending unit of the second transceiver device When receiving the clock signal 4 and the phase difference 2, the sending unit synchronizes the clock signal 4, and updates the phase difference 1 corresponding to the first transceiver device in the cache table to the phase difference 2.
  • the second transceiver device sends data to the first transceiver device
  • the second phase interpolator in the sending unit of the second transceiver device adjusts the clock signal 4 according to the phase difference 2 to obtain a clock signal 5, and uses the clock signal 5 to send data to the first transceiver device.
  • a transceiver device transmits data, wherein the clock signal 5 is synchronized with the clock signal of the first transceiver device.
  • the embodiment of the present application provides another transceiver circuit and transceiver device for clock synchronization, which can be used without occupying the interface resources of the transceiver device In the case of resources, clock synchronization between transceiver devices is realized.
  • the transceiver circuit includes: a clock adjustment module 23, a low-pass filter 21, and a first phase-locked loop 22; wherein, the first input terminal 231 of the clock adjustment module 23 is coupled to the transceiver circuit input end, the first output end 232 of the clock adjustment module 23 is connected to the input end 211 of the low-pass filter 21, and the output end 212 of the low-pass filter 21 is connected to the input end 221 of the first phase-locked loop 22, and the first phase-locked loop
  • the output end 222 of the ring 22 is connected to the second input end 233 of the clock adjustment module 23 .
  • the low-pass filter 21 is used to determine the frequency difference between the current receiving clock signal of the transceiver circuit and the receiving clock signal at a moment on the transceiver circuit;
  • the first phase-locked loop 22 is used to output the first clock signal according to the frequency difference;
  • the adjustment module 23 is used to determine the first phase difference according to the clock signal of the first transceiver device and the current receiving clock signal of the transceiver circuit; and adjust the first clock signal according to the first phase difference to obtain the second clock signal, the second The clock signal is synchronized with the clock signal of the first transceiver device; and the receiving clock signal of the transceiver circuit is updated to a second clock signal, and the second clock signal is used for receiving data from the first transceiver device.
  • the above-mentioned low-pass filter 21 is specifically used to determine the current receiving clock signal of the transmitting and receiving circuit according to the phase difference between the current receiving clock signal of the transmitting and receiving circuit output by the clock adjustment module 23 and the receiving clock signal of the transmitting and receiving circuit at a previous moment.
  • the method for determining the frequency difference specifically includes: based on the relationship that the phase difference is an integral of the frequency difference, calculating the frequency difference between the current receiving clock of the transceiver circuit and the receiving clock signal of the transceiver circuit at a previous moment according to the phase difference.
  • first phase-locked loop 22 is specifically used to control the output of the first phase-locked loop 22 at a previous moment according to the frequency difference between the current receiving clock of the transceiver circuit and the receiving clock signal of the transceiver circuit at a previous moment.
  • the frequency of the clock signal is adjusted, for example, when the above-mentioned phase difference is a positive number, the frequency of the clock signal output by the first phase-locked loop 22 at a moment is reduced, wherein the amount of reduction is the above-mentioned frequency difference; when When the above-mentioned phase difference is a negative number, increase the frequency of the clock signal output by the first phase-locked loop 22 at a previous moment, wherein the increased amount is the above-mentioned frequency difference; and then obtain the first clock signal.
  • the first clock signal is synchronized with the frequency of the current receiving clock of the transceiver circuit.
  • the frequency difference may be expressed in the form of a frequency control word, which is used to indicate the frequency difference between the current receiving clock of the transceiver circuit and the receiving clock signal of the transceiver circuit at a previous moment.
  • the first clock signal is adjusted according to the phase difference to obtain the second clock signal.
  • the first clock signal is adjusted according to the phase difference to obtain the second clock signal.
  • the low-pass filter in the transceiver circuit can determine the frequency difference between the current receiving clock signal of the transceiver circuit and the receiving clock signal of the previous moment of the transceiver circuit, and convert the frequency The difference is sent to the first phase-locked loop; the first phase-locked loop adjusts and outputs the first clock signal to the receiving clock signal of the transceiver circuit at a moment according to the frequency difference, and then realizes the clock signal output by the first phase-locked loop at a moment Synchronization with the frequency of the current receiving clock signal of the transceiver circuit; then, the clock adjustment module determines the first phase difference according to the clock signal of the first transceiver device and the current receiving clock signal of the transceiver circuit; and according to the first phase difference pair The first clock signal is adjusted to obtain a second clock signal, and the second clock signal is synchronized with the clock signal of the first transceiver device.
  • the transceiver circuit for clock synchronization provided by the embodiment of the present application does not need to set up a master clock device for providing a reference clock signal, so there is no need to occupy the interface resources of the transceiver device during the clock synchronization process. That is to say, the transceiver circuit for clock synchronization provided in the embodiment of the present application can realize clock synchronization between transceiver devices without occupying interface resources of the transceiver devices.
  • the clock adjustment module 23 specifically includes: a phase detection module 30 and a first phase interpolator 31; the first input terminal 301 of the phase detection module 30 is coupled to the clock adjustment module The first input end 231 of the phase detection module 30, the first output end 302 of the phase detection module 30 is coupled to the first output end 232 of the clock adjustment module 23, and the second output end 303 of the phase detection module 30 is connected to the first phase interpolator 31.
  • An input terminal 311, the second input terminal 312 of the first phase interpolator 31 is coupled to the second input terminal 233 of the clock adjustment module 23, the output terminal 313 of the first phase interpolator 31 is connected to the second input module of the phase detection module 30 304.
  • the phase detection module 30 is used to determine the first phase difference according to the clock signal of the first transceiver device and the current receiving clock signal of the transceiver circuit; the first phase interpolator 31 is used to calculate the first phase difference according to the first phase difference The first clock signal is adjusted to obtain the second clock signal.
  • both the first output terminal 302 and the second output terminal 303 of the above-mentioned phase detection module 30 are used to output the phase difference, and the form of the phase difference output by the first output terminal 302 of the phase detection module 30 can be a phase code word , the phase codeword is used to indicate the phase difference between the clock signal of the first transceiver device and the current receiving clock signal of the transceiver circuit.
  • the transceiver circuit for clock synchronization may further include: an analog-to-digital converter 24, and the input end 241 of the analog-to-digital converter 24 is coupled to the transceiver circuit The input end of the circuit and the output end 242 of the analog-to-digital converter are connected to the input end 231 of the clock adjustment module 23 .
  • the analog-to-digital converter 24 is configured to convert the clock signal of the first transceiver device from an analog signal to a digital signal.
  • the processing of the clock signal is usually processed in the form of a digital signal. Therefore, after the transceiver circuit obtains the clock signal (the clock signal is an analog signal) of the first transceiver device, the analog-to-digital converter 24 converts The clock signal of the first transceiver device is converted from an analog signal to a digital signal, and then the clock signal in the form of a digital signal is input to the clock adjustment module 23 .
  • the transceiver circuit for clock synchronization may further include a component or module for synchronizing the sending clock signal of the transceiver circuit, that is, when the transceiver circuit receives the data sent by the first transceiver device, Not only the receiving clock signal of the transceiver circuit is synchronized with the clock signal of the first transceiver device, but also the sending clock signal of the transceiver circuit is synchronized with the clock signal of the first transceiver circuit.
  • the transceiver circuit for clock synchronization may further include: a second phase interpolator 25, the first phase interpolator 25 of the second phase interpolator 25
  • the input terminal 251 is connected to the output terminal 222 of the first phase-locked loop 22, the second input terminal 252 of the second phase interpolator 25 is connected to the second output terminal 234 of the clock adjustment module 23, and the output terminal 303 of the phase detection module 30 is also connected to the clock The second output terminal 234 of the adjustment module 23 is coupled.
  • the second phase interpolator 25 is used to adjust the first clock signal according to the second phase difference output by the second output terminal 234 of the clock adjustment module 23 to obtain a third clock signal, which is the same as the first clock signal.
  • the clock signal of the transceiver device is synchronized; and the sending clock signal of the transceiver circuit is updated to a third clock signal, and the third clock signal is used to send data to the first transceiver device.
  • the first clock signal is adjusted according to the second phase difference to obtain the third clock signal.
  • the first clock signal is adjusted according to the second phase difference to obtain the third clock signal.
  • the transceiving device corresponding to the transceiving circuit provided in the embodiment of the present application includes a transmitting unit and a receiving unit. It should be understood that the clock adjustment module 23 in the above-mentioned transceiver circuit is set on the receiving unit, and the above-mentioned second phase interpolator 25 is set on the sending unit.
  • the second phase interpolator 25 After the second phase interpolator 25 acquires the above-mentioned first clock signal and the second phase difference, it will synchronize the first clock signal, and store the second phase difference in the corresponding In the cache table, as long as the transceiver circuit sends data to the first transceiver device, the second phase interpolator 25 adjusts the first clock signal according to the second phase difference to obtain a third clock signal, which is used for Send data to the first transceiver device.
  • the phase detection module 30 in the above-mentioned clock adjustment module 23 filters the phase difference , and then the first phase interpolator 31 adjusts the first clock signal according to the filtered second phase difference (that is: a more accurate phase difference); meanwhile, the phase difference stored in the buffer table corresponding to the second phase interpolator 25 is also is the filtered second phase difference.
  • the transceiver circuit for clock synchronization may further include: a second phase interpolator 25 and a second phase-locked loop 26,
  • the input end 261 of the second phase-locked loop 26 is connected to the output end 212 of the low-pass filter 21, and the output end 262 of the second phase-locked loop 26 is connected to the first input end 251 of the second phase interpolator 25, and the second phase interpolator
  • the second input end 252 of the clock adjustment module 23 is connected to the second output end 234 of the clock adjustment module 23
  • the output end 303 of the phase detection module 30 is also coupled to the second output end 234 of the clock adjustment module 23 .
  • the second phase-locked loop 26 is used for outputting the fourth clock signal according to the frequency difference between the current receiving clock signal of the sending circuit and the receiving clock signal of the last moment of the sending and receiving circuit; the second phase interpolator 25 is used for According to the phase difference output by the second output terminal 234 of the clock adjustment module 23, the fourth clock signal is adjusted to obtain the fifth clock signal, which is synchronized with the clock signal of the first transceiver device; and the transmission of the transceiver circuit The clock signal is updated to a fifth clock signal, and the fifth clock signal is used to send data to the first transceiver device.
  • the above-mentioned fourth clock signal and the first clock signal both output clock signals according to the frequency difference between the current receiving clock signal of the transmitting circuit and the receiving clock signal of the transmitting and receiving circuit at a moment, so the above-mentioned fourth clock signal and The first clock signal is the exact same clock signal.
  • an embodiment of the present application provides a transceiver device, which includes a transceiver circuit as shown in any one of FIGS. 9 to 13 , and clock synchronization between transceiver devices with this structural feature can be realized based on the transceiver circuit.
  • the clock adjustment module in the second transceiver device according to the clock signal corresponding to the first data and the current reception clock signal of the second transceiver device , to determine the phase difference 1 of these two clock signals; the clock adjustment module adjusts the phase and frequency of the clock signal output at a moment on the first phase-locked loop according to the phase difference 1, and obtains the clock signal 1, wherein the clock signal 1 and The clock signal of the first transceiver device is synchronized; at this time, the clock adjustment module updates the current receiving clock signal of the second transceiver device to clock signal 1; in addition, the clock adjustment module sends the phase difference 1 to the sending unit of the second transceiver device and low pass filter.
  • the low-pass filter determines the frequency difference 1 between the clock signal corresponding to the first data and the current receiving clock signal (receiving clock signal before updating) of the second transceiver device according to the phase difference 1, and sends the frequency difference 1 to the first PLL.
  • the first phase-locked loop adjusts the frequency of the clock signal output at a moment on the first phase-locked loop according to the frequency difference 1 to obtain a clock signal 2, wherein the clock signal 2 is synchronized with the frequency of the clock signal 1, and the first phase-locked loop Send the clock signal 2 to the sending unit and the receiving unit of the second transceiver device, so that when the first transceiver device sends the second data to the second transceiver device, the clock adjustment module adjusts the clock signal 2 according to the phase difference 2, and then A clock signal corresponding to the second data is recovered.
  • the first transceiver device sends the second data to the second transceiver device, due to the influence of external factors, the phase of the clock signal for sending the data may be shifted; therefore, the first transceiver device sends the second data to the second transceiver device.
  • the clock adjustment module in the second transceiver device synchronizes The current receiving clock signal (ie: clock signal 1) determines the phase difference 2 of these two clock signals; the clock adjustment module adjusts the phase and frequency of the clock signal 2 output at a moment on the first phase-locked loop according to the phase difference 2 , to obtain the clock signal 3, what needs to be explained here is: the frequency of the clock signal 3 and the first transceiver device is synchronous, therefore, the frequency adjustment of the clock signal 3 by the clock adjustment module according to the phase difference 2 is negligibly small; then , the clock adjustment module updates the current receiving clock signal (that is: clock signal 1) of the second transceiver device to clock signal 3, and in addition, the clock adjustment module sends the phase difference 2 to the sending unit and low-pass filter of the second transceiver device According to the phase difference 2, the low-pass filter determines the frequency difference 2 between
  • the first phase-locked loop adjusts the frequency of the clock signal 2 output at a moment on the first phase-locked loop according to the frequency difference 2 to obtain a clock signal 4, wherein the clock signal 4 is synchronized with the frequency of the clock signal 3, and the first phase-locked loop
  • the ring transmits this clock signal 4 to the transmitting unit and the receiving unit of the second transceiving device.
  • the sending unit of the second transceiver device When the sending unit of the second transceiver device receives the clock signal 2 and the phase difference 1, the sending unit synchronizes the clock signal 2 and stores the phase difference in the cache table corresponding to the sending unit; when the sending unit of the second transceiver device When receiving the clock signal 4 and the phase difference 2, the sending unit synchronizes the clock signal 4, and updates the phase difference 1 corresponding to the first transceiver device in the cache table to the phase difference 2.
  • the second transceiver device sends data to the first transceiver device
  • the second phase interpolator in the sending unit of the second transceiver device adjusts the clock signal 4 according to the phase difference 2 to obtain a clock signal 5, and uses the clock signal 5 to send data to the first transceiver device.
  • a transceiver device transmits data, wherein the clock signal 5 is synchronized with the clock signal of the first transceiver device.
  • Figure 15 is a schematic flow diagram of the transceiving circuit provided in the embodiment of the present application when synchronizing the clock signal of the opposite end.
  • the second transceiving device periodically sends random codes to the first transceiving device.
  • the random code may be the first data or the second data in the above embodiment, or other non-service data, so that the receiving clock signal of the first transceiver device is synchronized with the sending clock signal of the second transceiver device.
  • the first transceiver device adjusts the phase of the current receiving clock signal of the first transceiver device according to the phase difference between the received clock signal and the clock signal corresponding to the service data, and implements the first transceiver device.
  • the received clock signal is synchronized with the clock signal corresponding to the service data, so that the first transceiver device obtains the service data sent by the second transceiver device according to the synchronized receive clock signal.
  • the disclosed system, device and method can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be Incorporation may either be integrated into another system, or some features may be omitted, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor execute all or part of the steps of the method described in each embodiment of the present application.
  • the aforementioned storage medium includes: flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk, and other various media capable of storing program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

A transceiving circuit, comprising: a clock adjustment module (A), a phase/frequency detector (B) and a first phase-locked loop (C), wherein a first input end of the clock adjustment module (A) is coupled to an input end of the transceiving circuit, a first output end of the clock adjustment module (A) is connected to a first input end of the phase/frequency detector (B), an output end of the phase/frequency detector (B) is connected to an input end of the first phase-locked loop (C), and an output end of the first phase-locked loop (C) is connected to a second input end of the clock adjustment module (A) and a second input end of the phase/frequency detector (B); the phase/frequency detector (B) is used for determining the frequency difference between the current received clock signal of the transceiving circuit, and a clock signal outputted by the first phase-locked loop (C) at the previous moment; the first phase-locked loop (C) is used for outputting a first clock signal according to the frequency difference; and the clock adjustment module (A) is used for determining the phase difference between a clock signal of a first transceiving device and the current clock signal of the transceiving circuit, adjusting the first clock signal according to the phase difference, so as to obtain a second clock signal, which is synchronized with the clock signal of the first transceiving device, and updating the received clock signal of the transceiving circuit to the second clock signal, which is used for receiving data from the first transceiving device.

Description

一种用于时钟同步的收发电路及收发设备A transceiver circuit and transceiver device for clock synchronization 技术领域technical field

本申请实施例涉及电子技术领域,尤其涉及一种用于时钟同步的收发电路及收发器。The embodiments of the present application relate to the field of electronic technologies, and in particular, to a transceiver circuit and a transceiver for clock synchronization.

背景技术Background technique

通常,电子设备之间传输数据的过程中,数据接收设备需要与数据发送设备进行时钟信号同步(也可以称为时钟同步),从而数据接收设备和数据发送设备可以基于同步后的时钟信号通信。Generally, during data transmission between electronic devices, the data receiving device needs to perform clock signal synchronization (also referred to as clock synchronization) with the data sending device, so that the data receiving device and the data sending device can communicate based on the synchronized clock signal.

现有的一种时钟同步的方法是:配置一个主时钟设备,该主时钟设备分别向多个收发设备中的每一个收发设备提供参考时钟信号,如此多个收发设备之间可以基于参考时钟信号传输数据。例如,多个收发设备中的第二收发设备使用主时钟设备提供的参考时钟信号向该多个收发设备中的第一收发设备发送数据,第一收发设备使用主时钟设备提供的参考时钟信号从第二收发设备接收数据,也就是说,主时钟设备向第一收发设备和第二收发设备提供相同的时钟信号,使得第二收发设备的时钟信号和第一收发设备的时钟信号同步。An existing clock synchronization method is as follows: configure a master clock device, and the master clock device provides a reference clock signal to each of the multiple transceiver devices respectively, so that multiple transceiver devices can be based on the reference clock signal transfer data. For example, the second transceiver device among the plurality of transceiver devices uses the reference clock signal provided by the master clock device to send data to the first transceiver device among the plurality of transceiver devices, and the first transceiver device uses the reference clock signal provided by the master clock device to transmit data from The second transceiver device receives data, that is, the master clock device provides the same clock signal to the first transceiver device and the second transceiver device, so that the clock signal of the second transceiver device is synchronized with the clock signal of the first transceiver device.

上述时钟同步的方法需要单独提供一个主时钟设备,那么也要单独布局物理时钟专线来连接主时钟设备与多个收发设备,如此会占用收发设备的接口资源。The above method of clock synchronization needs to provide a master clock device separately, so a dedicated physical clock line must be laid out separately to connect the master clock device and multiple transceiver devices, which will occupy the interface resources of the transceiver device.

发明内容Contents of the invention

本申请实施例提供一种用于时钟同步的收发电路及收发设备,能够在不占用收发设备的接口资源的情况下,实现收发设备之间的时钟同步。The embodiments of the present application provide a transceiver circuit and a transceiver device for clock synchronization, which can realize clock synchronization between the transceiver devices without occupying interface resources of the transceiver devices.

为达到上述目的,本申请实施例采用如下技术方案:In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:

第一方面,本申请实施例提供一种收发电路,包括:时钟调整模块、鉴频鉴相器以及第一锁相环;其中,时钟调整模块的第一输入端耦合至该收发电路的输入端,该时钟调整模块的第一输出端连接鉴频鉴相器的第一输入端,该鉴频鉴相器的输出端连接第一锁相环的输入端,该第一锁相环的输出端连接上述时钟调整模块的第二输入端和鉴频鉴相器的第二输入端;In the first aspect, the embodiment of the present application provides a transceiver circuit, including: a clock adjustment module, a frequency and phase detector, and a first phase-locked loop; wherein, the first input end of the clock adjustment module is coupled to the input end of the transceiver circuit , the first output of the clock adjustment module is connected to the first input of the frequency and phase detector, the output of the frequency and phase detector is connected to the input of the first phase-locked loop, and the output of the first phase-locked loop Connect the second input end of the clock adjustment module and the second input end of the frequency and phase detector;

上述鉴频鉴相器,用于确定该收发电路当前的接收时钟信号和上述第一锁相环上一时刻输出的时钟信号之间的频率差;The above-mentioned frequency and phase detector is used to determine the frequency difference between the current receiving clock signal of the transceiver circuit and the clock signal output by the first phase-locked loop at a moment;

上述第一锁相环,用于根据上述频率差输出第一时钟信号;The above-mentioned first phase-locked loop is configured to output a first clock signal according to the above-mentioned frequency difference;

上述时钟调整模块,用于确定第一收发设备的时钟信号与该收发电路当前的时钟信号之间的相位差;并且根据该相位差对上述第一时钟信号进行调整,得到第二时钟信号,该第二时钟信号与上述第一收发设备的时钟信号同步;以及将该收发电路的接收时钟信号更新为上述第二时钟信号,该第二时钟信号用于从上述第一收发设备接收数据。The above-mentioned clock adjustment module is used to determine the phase difference between the clock signal of the first transceiver device and the current clock signal of the transceiver circuit; and adjust the above-mentioned first clock signal according to the phase difference to obtain a second clock signal, the The second clock signal is synchronized with the clock signal of the first transceiver device; and the receiving clock signal of the transceiver circuit is updated to the second clock signal, and the second clock signal is used for receiving data from the first transceiver device.

本申请实施例提供的用于时钟同步的收发电路,该收发电路中的鉴频鉴相器可以确定收发电路当前的接收时钟信号和该收发电路中的第一锁相环上一时刻输出的时钟信号的频率差;并且第一锁相环根据该频率差输出第一时钟信号;然后,收发电路中 的时钟调整模块根据第一收发设备的时钟信号与该收发电路中的第一锁相环上一时刻输出的时钟信号的相位差调整第一时钟信号,得到第二时钟信号,该第二时钟信号与第一收发设备的时钟信号是同步的。相比于现有技术,本申请实施例提供的用于时钟同步的收发电路,无需设置用于提供参考时钟信号的主时钟设备,因此在时钟同步的过程中也无需占用收发设备的接口资源,也就是说,本申请实施例提供的用于时钟同步的收发电路能够在不占用收发设备的接口资源的情况In the transceiver circuit for clock synchronization provided by the embodiment of the present application, the frequency detector and phase detector in the transceiver circuit can determine the current receiving clock signal of the transceiver circuit and the clock output by the first phase-locked loop in the transceiver circuit at a previous moment The frequency difference of the signal; and the first phase-locked loop outputs the first clock signal according to the frequency difference; then, the clock adjustment module in the transceiver circuit communicates with the clock signal of the first transceiver device on the first phase-locked loop in the transceiver circuit The phase difference of the clock signal output at a moment adjusts the first clock signal to obtain a second clock signal, and the second clock signal is synchronized with the clock signal of the first transceiver device. Compared with the prior art, the transceiver circuit for clock synchronization provided by the embodiment of the present application does not need to set up a master clock device for providing a reference clock signal, so there is no need to occupy the interface resources of the transceiver device during the clock synchronization process. That is to say, the transceiver circuit for clock synchronization provided by the embodiment of the present application can

在一种可能的实现方式中,上述时钟调整模块可以包括:鉴相模块和第一相位插值器;鉴相模块的第一输入端耦合至上述时钟调整模块的第一输入端,该鉴相模块的输出端连接第一相位插值器的第一输入端,该第一相位插值器的第二输入端耦合至上述时钟调整模块的第二输入端,该第一相位插值器的输出端耦合至上述时钟调整模块的第一输出端,并且该第一相位插值器的输出端连接该鉴相模块的第二输入端;In a possible implementation manner, the above-mentioned clock adjustment module may include: a phase detection module and a first phase interpolator; the first input end of the phase detection module is coupled to the first input end of the above-mentioned clock adjustment module, and the phase detection module The output terminal of the first phase interpolator is connected to the first input terminal of the first phase interpolator, the second input terminal of the first phase interpolator is coupled to the second input terminal of the above-mentioned clock adjustment module, and the output terminal of the first phase interpolator is coupled to the above-mentioned The first output end of the clock adjustment module, and the output end of the first phase interpolator is connected to the second input end of the phase detection module;

上述鉴相模块,用于确定上述第一收发设备的时钟信号与该收发电路当前的时钟信号之间的相位差;The above-mentioned phase detection module is used to determine the phase difference between the clock signal of the above-mentioned first transceiver device and the current clock signal of the transceiver circuit;

上述第一相位插值器,用于根据上述相位差对第一时钟信号进行调整,得到第二时钟信号。The first phase interpolator is configured to adjust the first clock signal according to the phase difference to obtain the second clock signal.

在一种可能的实现方式中,上述收发电路还包括:模数转换器,模数转换器的输入端耦合至上述收发电路的输入端,该模数转换器的输出端连接上述时钟调整模块的输入端;In a possible implementation manner, the above-mentioned transceiver circuit further includes: an analog-to-digital converter, the input end of the analog-to-digital converter is coupled to the input end of the above-mentioned transceiver circuit, and the output end of the analog-to-digital converter is connected to the clock adjustment module. input terminal;

上述模数转换器,用于将上述第一收发设备的时钟信号从模拟信号转换为数字信号。The aforementioned analog-to-digital converter is configured to convert the clock signal of the first transceiver device from an analog signal to a digital signal.

在一种可能的实现方式中,上述收发电路还包括第二相位插值器,第二相位插值器的第一输入端连接上述第一锁相环的输出端,该第二相位插值器的第二输入端连接上述时钟调整模块的第二输出端,上述鉴相模块的输出端耦合至上述时钟调整模块的第二输出端;In a possible implementation manner, the transceiver circuit further includes a second phase interpolator, the first input terminal of the second phase interpolator is connected to the output terminal of the first phase-locked loop, and the second phase interpolator of the second phase interpolator The input end is connected to the second output end of the clock adjustment module, and the output end of the phase detection module is coupled to the second output end of the clock adjustment module;

该第二相位插值器,用于根据时钟调整模块的第二输出端输出的相位差对上述第一时钟信号进行调整,得到第三时钟信号,该第三时钟信号与上述第一收发设备的时钟信号同步;以及将上述收发电路的发送时钟信号更新为所述第三时钟信号,该第三时钟信号用于向上述第一收发设备发送数据。The second phase interpolator is used to adjust the above-mentioned first clock signal according to the phase difference output by the second output terminal of the clock adjustment module to obtain a third clock signal, and the third clock signal is the same as the clock of the above-mentioned first transceiver device signal synchronization; and updating the sending clock signal of the transceiver circuit to the third clock signal, where the third clock signal is used to send data to the first transceiver device.

在一种可能的实现方式中,上述收发电路还包括:第二相位插值器和第二锁相环,第二锁相环的输入端连接上述鉴频鉴相器的输出端,该第二锁相环的输出端连接第二相位插值器的第一输入端,该第二相位插值器的第二输入端连接上述时钟调整模块的第二输出端,上述鉴相模块的输出端耦合至上述时钟调整模块的第二输出端;In a possible implementation manner, the above-mentioned transceiver circuit further includes: a second phase interpolator and a second phase-locked loop, the input end of the second phase-locked loop is connected to the output end of the above-mentioned frequency and phase detector, and the second phase-locked loop The output end of the phase loop is connected to the first input end of the second phase interpolator, the second input end of the second phase interpolator is connected to the second output end of the above-mentioned clock adjustment module, and the output end of the above-mentioned phase detection module is coupled to the above-mentioned clock adjusting the second output terminal of the module;

上述第二锁相环,用于根据上述频率差输出第四时钟信号;The above-mentioned second phase-locked loop is used to output the fourth clock signal according to the above-mentioned frequency difference;

上述第二相位插值器,用于根据上述时钟调整模块的第二输出端输出的相位差对上述第四时钟信号进行调整,得到第五时钟信号,该第五时钟信号与上述第一收发设备的时钟信号同步;以及将上述收发电路的发送时钟信号更新为该第五时钟信号,该第五时钟信号用于向上述第一收发设备发送数据。The second phase interpolator is configured to adjust the fourth clock signal according to the phase difference output by the second output terminal of the clock adjustment module to obtain a fifth clock signal, which is identical to that of the first transceiver device Clock signal synchronization; and updating the sending clock signal of the transceiver circuit to the fifth clock signal, the fifth clock signal is used to send data to the first transceiver device.

第二方面,本申请实施例提供另一种收发电路,包括:时钟调整模块、低通滤波器以及第一锁相环;其中,时钟调整模块的第一输入端耦合至该收发电路的输入端, 该时钟调整模块的第一输出端连接低通滤波器的输入端,该低通滤波器的输出端连接第一锁相环的输入端,该第一锁相环的输出端连接上述时钟调整模块的第二输入端;In the second aspect, the embodiment of the present application provides another transceiver circuit, including: a clock adjustment module, a low-pass filter, and a first phase-locked loop; wherein, the first input end of the clock adjustment module is coupled to the input end of the transceiver circuit , the first output end of the clock adjustment module is connected to the input end of the low-pass filter, the output end of the low-pass filter is connected to the input end of the first phase-locked loop, and the output end of the first phase-locked loop is connected to the clock adjustment the second input terminal of the module;

上述低通滤波器,用于确定上述收发电路当前的接收时钟信号和该收发电路上一时刻的接收时钟信号的频率差;The above-mentioned low-pass filter is used to determine the frequency difference between the current receiving clock signal of the above-mentioned transceiver circuit and the receiving clock signal of the previous moment of the transceiver circuit;

上述第一锁相环,用于根据上述频率差输出第一时钟信号;The above-mentioned first phase-locked loop is configured to output a first clock signal according to the above-mentioned frequency difference;

上述时钟调整模块,用于根据上述第一收发设备的时钟信号和上述收发电路当前的接收时钟信号,确定第一相位差;并且根据该第一相位差对上述第一时钟信号进行调整,得到第二时钟信号,该第二时钟信号与上述第一收发设备的时钟信号同步;以及将上述收发电路的接收时钟信号更新为该第二时钟信号,该第二时钟信号用于从上述第一收发设备接收数据。The clock adjustment module is configured to determine a first phase difference according to the clock signal of the first transceiver device and the current receiving clock signal of the transceiver circuit; and adjust the first clock signal according to the first phase difference to obtain the first phase difference Two clock signals, the second clock signal is synchronized with the clock signal of the above-mentioned first transceiver device; Receive data.

本申请实施例提供的用于时钟同步的收发电路,该收发电路中的低通滤波器可以确定收发电路当前的接收时钟信号和收发电路上一时刻的接收时钟信号的频率差,并将该频率差发送至第一锁相环;第一锁相环根据该频率差对收发电路上一时刻的接收时钟信号进行调整输出第一时钟信号,进而实现第一锁相环上一时刻输出的时钟信号与收发电路当前的接收时钟信号在频率上的同步;然后,时钟调整模块根据第一收发设备的时钟信号和收发电路当前的接收时钟信号,确定第一相位差;并且根据该第一相位差对第一时钟信号进行调整,得到第二时钟信号,该第二时钟信号与第一收发设备的时钟信号是同步的。相比于现有技术,本申请实施例提供的用于时钟同步的收发电路,无需设置用于提供参考时钟信号的主时钟设备,因此在时钟同步的过程中也无需占用收发设备的接口资源,也就是说,本申请实施例提供的用于时钟同步的收发电路能够在不占用收发设备的接口资源的情况下,实现收发设备之间的时钟同步。In the transceiver circuit for clock synchronization provided by the embodiment of the present application, the low-pass filter in the transceiver circuit can determine the frequency difference between the current receiving clock signal of the transceiver circuit and the receiving clock signal of the previous moment of the transceiver circuit, and convert the frequency The difference is sent to the first phase-locked loop; the first phase-locked loop adjusts and outputs the first clock signal to the receiving clock signal of the transceiver circuit at a moment according to the frequency difference, and then realizes the clock signal output by the first phase-locked loop at a moment Synchronization with the frequency of the current receiving clock signal of the transceiver circuit; then, the clock adjustment module determines the first phase difference according to the clock signal of the first transceiver device and the current receiving clock signal of the transceiver circuit; and according to the first phase difference pair The first clock signal is adjusted to obtain a second clock signal, and the second clock signal is synchronized with the clock signal of the first transceiver device. Compared with the prior art, the transceiver circuit for clock synchronization provided by the embodiment of the present application does not need to set up a master clock device for providing a reference clock signal, so there is no need to occupy the interface resources of the transceiver device during the clock synchronization process. That is to say, the transceiver circuit for clock synchronization provided in the embodiment of the present application can realize clock synchronization between transceiver devices without occupying interface resources of the transceiver devices.

在一种可能的实现方式中,上述低通滤波器,具体用于根据上述时钟调整模块输出的收发电路当前的接收时钟信号和该收发电路上一时刻的接收时钟信号之间的相位差,确定该收发电路当前的接收时钟信号和收发电路上一时刻的接收时钟信号的频率差。In a possible implementation manner, the above-mentioned low-pass filter is specifically used to determine the The frequency difference between the current reception clock signal of the transceiver circuit and the reception clock signal of the previous moment of the transceiver circuit.

在一种可能的实现方式中,上述时钟调整模块包括鉴相模块和第一相位插值器;鉴相模块的第一输入端耦合至上述时钟调整模块的第一输入端,鉴相模块的第一输出端耦合至上述时钟调整模块的第一输出端,该鉴相模块的第二输出端连接第一相位插值器的第一输入端,该第一相位插值器的第二输入端耦合至上述时钟调整模块的第二输入端,该第一相位插值器的输出端连接鉴相模块的第二输入模块;In a possible implementation manner, the above-mentioned clock adjustment module includes a phase detection module and a first phase interpolator; the first input end of the phase detection module is coupled to the first input end of the above-mentioned clock adjustment module, and the first input end of the phase detection module The output terminal is coupled to the first output terminal of the above-mentioned clock adjustment module, the second output terminal of the phase detection module is connected to the first input terminal of the first phase interpolator, and the second input terminal of the first phase interpolator is coupled to the above-mentioned clock The second input terminal of the adjustment module, the output terminal of the first phase interpolator is connected to the second input module of the phase detection module;

上述鉴相模块,用于根据上述第一收发设备的时钟信号和上述收发电路当前的接收时钟信号,确定第一相位差;The above-mentioned phase detection module is used to determine the first phase difference according to the clock signal of the above-mentioned first transceiver device and the current receiving clock signal of the above-mentioned transceiver circuit;

上述第一相位插值器,用于根据上述第一相位差对第一时钟信号进行调整,得到第二时钟信号。The first phase interpolator is configured to adjust the first clock signal according to the first phase difference to obtain a second clock signal.

在一种可能的实现方式中,上述收发电路还包括模数转换器,模数转换器的输入端耦合至上述收发电路的输入端,该模数转换器的输出端连接上述时钟调整模块的输入端;In a possible implementation manner, the above-mentioned transceiver circuit further includes an analog-to-digital converter, the input end of the analog-to-digital converter is coupled to the input end of the above-mentioned transceiver circuit, and the output end of the analog-to-digital converter is connected to the input of the above-mentioned clock adjustment module end;

上述模数转换器,用于将上述第一收发设备的时钟信号从模拟信号转换为数字信号。The aforementioned analog-to-digital converter is configured to convert the clock signal of the first transceiver device from an analog signal to a digital signal.

在一种可能的实现方式中,上述收发电路还包括第二相位插值器,第二相位插值器的第一输入端连接上述第一锁相环的输出端,该第二相位插值器的第二输入端连接上述时钟调整模块的第二输出端,上述鉴相模块的输出端还与上述时钟调整模块的第二输出端耦合;In a possible implementation manner, the transceiver circuit further includes a second phase interpolator, the first input terminal of the second phase interpolator is connected to the output terminal of the first phase-locked loop, and the second phase interpolator of the second phase interpolator The input end is connected to the second output end of the above-mentioned clock adjustment module, and the output end of the above-mentioned phase detection module is also coupled with the second output end of the above-mentioned clock adjustment module;

上述第二相位插值器,用于根据时钟调整模块的第二输出端输出的第二相位差对第一时钟信号进行调整,得到所述第三时钟信号,该第三时钟信号与上述第一收发设备的时钟信号同步;以及将上述收发电路的发送时钟信号更新为第三时钟信号,该第三时钟信号用于向上述第一收发设备发送数据。The above-mentioned second phase interpolator is used to adjust the first clock signal according to the second phase difference output by the second output terminal of the clock adjustment module to obtain the third clock signal, and the third clock signal is compatible with the above-mentioned first transceiver The clock signal of the device is synchronized; and the sending clock signal of the transceiver circuit is updated to a third clock signal, and the third clock signal is used to send data to the first transceiver device.

在一种可能的实现方式中,上述收发电路还包括第二相位插值器和第二锁相环,第二锁相环的输入端连接上述低通滤波器的输出端,该第二锁相环的输出端连接第二相位插值器的第一输入端,该第二相位插值器的第二输入端连接上述时钟调整模块的第二输出端,上述鉴相模块的输出端还与上述时钟调整模块的第二输出端耦合;In a possible implementation manner, the above-mentioned transceiver circuit further includes a second phase interpolator and a second phase-locked loop, the input end of the second phase-locked loop is connected to the output end of the above-mentioned low-pass filter, and the second phase-locked loop The output end of the second phase interpolator is connected to the first input end of the second phase interpolator, the second input end of the second phase interpolator is connected to the second output end of the above-mentioned clock adjustment module, and the output end of the above-mentioned phase detection module is also connected to the above-mentioned clock adjustment module The second output terminal coupling;

上述第二锁相环,用于根据上述频率差输出第四时钟信号;The above-mentioned second phase-locked loop is used to output the fourth clock signal according to the above-mentioned frequency difference;

上述第二相位插值器,用于根据上述时钟调整模块的第二输出端输出的相位差对上述第四时钟信号进行调整,得到所述第五时钟信号,该第五时钟信号与上述第一收发设备的时钟信号同步;以及将上述收发电路的发送时钟信号更新为该第五时钟信号,该第五时钟信号用于向所述第一收发设备发送数据。The second phase interpolator is configured to adjust the fourth clock signal according to the phase difference output by the second output terminal of the clock adjustment module to obtain the fifth clock signal, which is compatible with the first transceiver The clock signal of the device is synchronized; and the sending clock signal of the above-mentioned transceiver circuit is updated to the fifth clock signal, and the fifth clock signal is used to send data to the first sending and receiving device.

第三方面,本申请实施例提供一种收发设备,收发设备包括第一方面及其可能的实现方式中任意之一所述的收发电路或如第二方面及其可能的实现方式中任意之一所述的收发电路。In the third aspect, the embodiment of the present application provides a transceiver device, which includes the transceiver circuit described in any one of the first aspect and its possible implementations or any one of the second aspect and its possible implementations The transceiver circuit.

附图说明Description of drawings

图1为本申请实施例提供的一种用于时钟同步的电路系统的示意图一;FIG. 1 is a schematic diagram 1 of a circuit system for clock synchronization provided by an embodiment of the present application;

图2为本申请实施例提供的一种相位偏移的示意图;FIG. 2 is a schematic diagram of a phase offset provided by an embodiment of the present application;

图3为本申请实施例提供的一种用于时钟同步的收发电路示意图一;FIG. 3 is a first schematic diagram of a transceiver circuit for clock synchronization provided by an embodiment of the present application;

图4为本申请实施例提供的一种用于时钟同步的收发电路示意图二;FIG. 4 is a second schematic diagram of a transceiver circuit for clock synchronization provided by an embodiment of the present application;

图5为本申请实施例提供的一种用于时钟同步的收发电路示意图三;FIG. 5 is a third schematic diagram of a transceiver circuit for clock synchronization provided by an embodiment of the present application;

图6为本申请实施例提供的一种用于时钟同步的收发电路示意图四;FIG. 6 is a fourth schematic diagram of a transceiver circuit for clock synchronization provided by an embodiment of the present application;

图7为本申请实施例提供的一种用于时钟同步的收发电路示意图五;FIG. 7 is a schematic diagram of a transceiver circuit for clock synchronization provided in the embodiment of the present application (5);

图8为本申请实施例提供的一种通信系统示意图一;FIG. 8 is a first schematic diagram of a communication system provided by an embodiment of the present application;

图9为本申请实施例提供的一种用于时钟同步的收发电路示意图六;FIG. 9 is a sixth schematic diagram of a transceiver circuit for clock synchronization provided by an embodiment of the present application;

图10为本申请实施例提供的一种用于时钟同步的收发电路示意图七;FIG. 10 is a schematic diagram of a transceiver circuit for clock synchronization provided in the embodiment of the present application VII;

图11为本申请实施例提供的一种用于时钟同步的收发电路示意图八;FIG. 11 is a schematic diagram eight of a transceiver circuit for clock synchronization provided by an embodiment of the present application;

图12为本申请实施例提供的一种用于时钟同步的收发电路示意图九;FIG. 12 is a schematic diagram of a transceiving circuit for clock synchronization provided in the embodiment of the present application 9;

图13为本申请实施例提供的一种用于时钟同步的收发电路示意图十;FIG. 13 is a schematic diagram of a transceiver circuit for clock synchronization provided by an embodiment of the present application;

图14为本申请实施例提供的一种通信系统示意图二;FIG. 14 is a second schematic diagram of a communication system provided by an embodiment of the present application;

图15为本申请实施例提供的一种同步时钟信号流程示意图一。FIG. 15 is a first schematic flow diagram of a synchronous clock signal flow provided by an embodiment of the present application.

具体实施方式Detailed ways

本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种 情况。The term "and/or" in this article is just an association relationship describing associated objects, which means that there can be three relationships, for example, A and/or B can mean: A exists alone, A and B exist simultaneously, and there exists alone B these three situations.

本申请实施例的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一时钟信号和第二时钟信号等是用于区别不同的时钟信号,而不是用于描述时钟信号的特定顺序。The terms "first" and "second" in the description and claims of the embodiments of the present application are used to distinguish different objects, rather than to describe a specific order of objects. For example, the first clock signal and the second clock signal are used to distinguish different clock signals, not to describe a specific sequence of clock signals.

在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present application, words such as "exemplary" or "for example" are used as examples, illustrations or illustrations. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of the present application shall not be interpreted as being more preferred or more advantageous than other embodiments or design schemes. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.

在本申请实施例的描述中,除非另有说明,“多个”的含义是指两个或两个以上。例如,多个处理单元是指两个或两个以上的处理单元;多个系统是指两个或两个以上的系统。In the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more. For example, multiple processing units refer to two or more processing units; multiple systems refer to two or more systems.

时钟同步是设备之间通信的基础,不同设备之间进行数据传输的过程中需要进行时钟信号同步。图1是现有的一种用于时钟同步的电路的示意图,该时钟同步电路中包括设备A、设备B、设备C以及主时钟设备;其中,设备A、设备B和设备C均为收发设备,其结构类似。通常,收发设备包括:发送单元、接收单元以及相位缓存器,该发送单元用于发送数据,接收单元用于接收数据,该相位缓存器用于存储相位偏移量。Clock synchronization is the basis of communication between devices, and clock signal synchronization is required during data transmission between different devices. Fig. 1 is a schematic diagram of an existing circuit for clock synchronization, the clock synchronization circuit includes device A, device B, device C and a master clock device; wherein, device A, device B and device C are all transceiver devices , which has a similar structure. Generally, a transceiver device includes: a sending unit, a receiving unit, and a phase buffer, where the sending unit is used to send data, the receiving unit is used to receive data, and the phase buffer is used to store a phase offset.

设备A、设备B和设备C三台设备上用于发送或接收数据的时钟信号各不相同,因此,主时钟设备分别向设备A、设备B和设备C提供参考时钟信号,也就是说主时钟设备分别向设备A、设备B和设备C同步同一参考时钟信号,以使从而设备A、设备B和设备C都使用主时钟设备提供的参考时钟信号发送或接收数据,即该参考时钟信号是三个设备进行时钟同步之后的时钟信号。The clock signals used to send or receive data on the three devices of device A, device B, and device C are different. Therefore, the master clock device provides reference clock signals to device A, device B, and device C respectively, that is, the master clock The devices synchronize the same reference clock signal to device A, device B, and device C respectively, so that device A, device B, and device C all use the reference clock signal provided by the master clock device to send or receive data, that is, the reference clock signal is three The clock signal after clock synchronization of two devices.

在根据该参考时钟信号发送数据过程中,由于环境温度或噪音等外界因素的影响,参考时钟信号的相位可能发生偏移,因此,数据发送设备需对参考时钟信号的相位进行补偿,以减小三个设备的时钟信号之间的误差,使得三个设备的时钟信号保持同步。如图2所示,设备A向设备B发送数据之前,设备A先从相位缓存器中获取相位偏移量1,然后设备A根据相位偏移量1调整参考时钟信号,得到时钟信号1,再根据时钟信号1向设备B发送数据。设备B获取到设备A用于发送数据的实际的时钟信号(该时钟信号可能是时钟信号1,也可能是与时钟信号1的相位有一定偏差的时钟信号,该偏差是由于环境温度或噪音等外界因素的影响导致的)之后,设备B根据该实际的时钟信号和该设备B的参考时钟信号,计算得到相位偏移量2,然后设备B根据相位偏移量2调整该参考时钟信号,得到时钟信号2,进而设备B基于时钟信号2接收设备A发送数据,并且设备B基于时钟信号2向设备A发送将上述相位偏移量2(应理解,此时相位偏移量2是作为一种数据发送至设备A的)。之后,同理,设备A根据获取到的设备B用于发送数据(该数据为相位偏移量2)的实际的时钟信号和设备A的参考时钟信号,计算得到相位偏移量3,然后设备A根据相位偏移量3调整设备A的参考时钟信号,得到时钟信号3,进而设备A基于时钟信号3接收设备B发送的相位偏移量2,并且将该设备A的相位缓存器中存储的相位偏移量从相位偏移量1更新为相位偏移量2,以用于后续向设备B发送数据。In the process of sending data according to the reference clock signal, due to the influence of external factors such as ambient temperature or noise, the phase of the reference clock signal may shift. Therefore, the data sending device needs to compensate the phase of the reference clock signal to reduce The error between the clock signals of the three devices keeps the clock signals of the three devices in sync. As shown in Figure 2, before device A sends data to device B, device A first obtains phase offset 1 from the phase buffer, then device A adjusts the reference clock signal according to phase offset 1 to obtain clock signal 1, and then Send data to device B according to clock signal 1. Device B obtains the actual clock signal used by device A to send data (the clock signal may be clock signal 1, or a clock signal with a certain phase deviation from clock signal 1, the deviation is due to ambient temperature or noise, etc. caused by the influence of external factors), device B calculates the phase offset 2 according to the actual clock signal and the reference clock signal of the device B, and then device B adjusts the reference clock signal according to the phase offset 2 to obtain Clock signal 2, and then device B receives data sent by device A based on clock signal 2, and device B sends the above-mentioned phase offset 2 to device A based on clock signal 2 (it should be understood that at this time, phase offset 2 is used as a data sent to device A). After that, in the same way, device A calculates the phase offset 3 based on the acquired actual clock signal used by device B to send data (the data is phase offset 2) and the reference clock signal of device A, and then the device A adjusts the reference clock signal of device A according to the phase offset 3 to obtain clock signal 3, and then device A receives the phase offset 2 sent by device B based on clock signal 3, and stores the phase offset 2 in the phase buffer of device A The phase offset is updated from phase offset 1 to phase offset 2 for sending data to device B subsequently.

然而,上述时钟同步的方法需要单独提供一个主时钟设备,那么也要单独布局物理时钟专线来连接主时钟设备与数据发送设备和数据接收设备,如此会占用数据发送设备和数据接收设备的接口资源。However, the above method of clock synchronization needs to provide a master clock device separately, so a dedicated physical clock line must be laid out separately to connect the master clock device with the data sending device and the data receiving device, which will occupy the interface resources of the data sending device and the data receiving device .

针对上述现有技术中收发设备在进行时钟同步的过程中占用收发设备的接口资源的问题,本申请实施例提供一种用于时钟同步的收发电路以及收发设备,能够在不占用收发设备接口资源的情况下,实现收发设备之间的时钟同步。In view of the above-mentioned problem in the prior art that the transceiver device occupies the interface resources of the transceiver device during the clock synchronization process, the embodiment of the present application provides a transceiver circuit and a transceiver device for clock synchronization, which can be used without occupying the interface resources of the transceiver device In the case of , implement clock synchronization between transceiver devices.

如图3所示,本申请实施例提供的收发电路包括:时钟调整模块13、鉴频鉴相器11以及第一锁相环12;该时钟调整模块13的第一输入端131耦合至收发电路的输入端,时钟调整模块13的第一输出端132连接鉴频鉴相器11的第一输入端111,鉴频鉴相器11的输出端113连接第一锁相环12的输入端121,第一锁相环12的输出端122连接时钟调整模块13的第二输入端133和鉴频鉴相器11的第二输入端112。As shown in Figure 3, the transceiver circuit provided by the embodiment of the present application includes: a clock adjustment module 13, a frequency and phase detector 11, and a first phase-locked loop 12; the first input terminal 131 of the clock adjustment module 13 is coupled to the transceiver circuit The input end, the first output end 132 of the clock adjustment module 13 is connected to the first input end 111 of the frequency and phase detector 11, and the output end 113 of the frequency and phase detector 11 is connected to the input end 121 of the first phase-locked loop 12, The output terminal 122 of the first phase-locked loop 12 is connected to the second input terminal 133 of the clock adjustment module 13 and the second input terminal 112 of the frequency and phase detector 11 .

其中,鉴频鉴相器11用于确定收发电路当前的接收时钟信号和第一锁相环12上一时刻输出的时钟信号之间的频率差;第一锁相环12用于根据该频率差输出第一时钟信号;时钟调整模块13用于确定第一收发设备的时钟信号与收发电路当前的时钟信号之间的相位差;并且根据该相位差对第一时钟信号进行调整,得到第二时钟信号;以及将收发电路的接收时钟信号更新为第二时钟信号,该第二时钟信号与第一收发设备的时钟信号同步,该第二时钟信号用于从第一收发设备接收数据。Wherein, the frequency and phase detector 11 is used to determine the frequency difference between the current receiving clock signal of the transceiver circuit and the clock signal output at a moment on the first phase-locked loop 12; the first phase-locked loop 12 is used to Output the first clock signal; the clock adjustment module 13 is used to determine the phase difference between the clock signal of the first transceiver device and the current clock signal of the transceiver circuit; and adjust the first clock signal according to the phase difference to obtain the second clock signal; and updating the receiving clock signal of the transceiver circuit to a second clock signal, the second clock signal is synchronized with the clock signal of the first transceiver device, and the second clock signal is used to receive data from the first transceiver device.

本申请实施例中,将上述收发电路当前的接收时钟信号(记为时钟信号a)作为鉴频鉴相器11的参考时钟信号,将第一锁相环12上一时刻输出的时钟信号(记为时钟信号b)作为鉴频鉴相器11的反馈时钟信号,该鉴频鉴相器11对上述参考时钟信号与反馈时钟信号进行鉴频,输出上述参考时钟信号与反馈时钟信号之间的频率差。In the embodiment of the present application, the current receiving clock signal (denoted as clock signal a) of the above-mentioned transceiver circuit is used as the reference clock signal of the frequency and phase detector 11, and the clock signal (denoted as clock signal a) output by the first phase-locked loop 12 at a previous moment is used as be the clock signal b) as the feedback clock signal of the frequency and phase detector 11, the frequency and phase detector 11 performs frequency discrimination on the above-mentioned reference clock signal and the feedback clock signal, and outputs the frequency between the above-mentioned reference clock signal and the feedback clock signal Difference.

需要说明的是,为了便于描述,将应用图3所示的收发电路的收发设备称为第二收发设备。It should be noted that, for ease of description, the transceiver device to which the transceiver circuit shown in FIG. 3 is applied is referred to as a second transceiver device.

可选的,上述参考时钟信号与反馈时钟信号之间的频率差的表现形式可以为频率控制字,该频率控制字用于指示时钟信号a和时钟信号b之间的频率差。Optionally, the above-mentioned frequency difference between the reference clock signal and the feedback clock signal may be expressed in a frequency control word, and the frequency control word is used to indicate the frequency difference between the clock signal a and the clock signal b.

本申请实施例中,鉴频鉴相器11输出的频率差输入至第一锁相环12之后,第一锁相环12根据该频率差调整时钟信号b的频率,得到第一时钟信号,其中,第一时钟信号的频率与时钟信号b的频率相同。In the embodiment of the present application, after the frequency difference output by the frequency detector 11 is input to the first phase-locked loop 12, the first phase-locked loop 12 adjusts the frequency of the clock signal b according to the frequency difference to obtain the first clock signal, wherein , the frequency of the first clock signal is the same as that of the clock signal b.

本申请实施例提供的用于时钟同步的收发电路,该收发电路中的鉴频鉴相器可以确定收发电路当前的接收时钟信号和该收发电路中的第一锁相环上一时刻输出的时钟信号的频率差;并且第一锁相环根据该频率差输出第一时钟信号;然后,收发电路中的时钟调整模块根据第一收发设备的时钟信号与该收发电路中的第一锁相环上一时刻输出的时钟信号的相位差调整第一时钟信号,得到第二时钟信号,该第二时钟信号与第一收发设备的时钟信号是同步的。相比于现有技术,本申请实施例提供的用于时钟同步的收发电路,无需单独提供用于提供参考时钟信号的主时钟设备,因此在时钟同步的过程中也无需占用收发设备的接口资源,也就是说,本申请实施例提供的用于时钟同步的收发电路能够在不占用收发设备的接口资源的情况下,实现收发设备之间的时钟同步。In the transceiver circuit for clock synchronization provided by the embodiment of the present application, the frequency detector and phase detector in the transceiver circuit can determine the current receiving clock signal of the transceiver circuit and the clock output by the first phase-locked loop in the transceiver circuit at a previous moment The frequency difference of the signal; and the first phase-locked loop outputs the first clock signal according to the frequency difference; then, the clock adjustment module in the transceiver circuit communicates with the clock signal of the first transceiver device on the first phase-locked loop in the transceiver circuit The phase difference of the clock signal output at a moment adjusts the first clock signal to obtain a second clock signal, and the second clock signal is synchronized with the clock signal of the first transceiver device. Compared with the prior art, the transceiver circuit for clock synchronization provided by the embodiment of the present application does not need to separately provide a master clock device for providing a reference clock signal, so there is no need to occupy the interface resources of the transceiver device during the clock synchronization process That is to say, the transceiver circuit for clock synchronization provided in the embodiment of the present application can realize clock synchronization between transceiver devices without occupying interface resources of the transceiver devices.

可选的,结合图3,如图4所示,上述时钟调整模块13包括:鉴相模块14和第 一相位插值器15;鉴相模块14的第一输入端141耦合至时钟调整模块13的第一输入端131,鉴相模块14的输出端142连接第一相位插值器15的第一输入端151,第一相位插值器15的第二输入端152耦合至时钟调整模块13的第二输入端133,第一相位插值器15的输出端153耦合至时钟调整模块13的第一输出端132,并且该第一相位插值器15的输出端153连接鉴相模块14的第二输入端143。Optionally, in conjunction with FIG. 3 , as shown in FIG. 4 , the clock adjustment module 13 includes: a phase detection module 14 and a first phase interpolator 15 ; the first input terminal 141 of the phase detection module 14 is coupled to the clock adjustment module 13 The first input terminal 131, the output terminal 142 of the phase detection module 14 is connected to the first input terminal 151 of the first phase interpolator 15, and the second input terminal 152 of the first phase interpolator 15 is coupled to the second input of the clock adjustment module 13 terminal 133 , the output terminal 153 of the first phase interpolator 15 is coupled to the first output terminal 132 of the clock adjustment module 13 , and the output terminal 153 of the first phase interpolator 15 is connected to the second input terminal 143 of the phase detection module 14 .

其中,鉴相模块14用于确定第一收发设备的时钟信号与收发电路当前的时钟信号之间的相位差;第一相位插值器15用于根据该相位差对第一时钟信号进行调整,得到第二时钟信号。Wherein, the phase detection module 14 is used to determine the phase difference between the clock signal of the first transceiver device and the current clock signal of the transceiver circuit; the first phase interpolator 15 is used to adjust the first clock signal according to the phase difference to obtain Second clock signal.

应理解,上述第一相位插值器15用于根据上述相位差对第一时钟信号进行调整,得到第二时钟信号的过程中,对第一时钟信号进行调整可以包括下述调整方式A或调整方式B中的任一种。It should be understood that the above-mentioned first phase interpolator 15 is used to adjust the first clock signal according to the above-mentioned phase difference, and in the process of obtaining the second clock signal, adjusting the first clock signal may include the following adjustment method A or adjustment method Either of B.

调整方式A:在第一收发设备的时钟信号的频率和第一时钟信号的频率相差较大的情况下,需要对第一时钟信号的频率和相位均进行调整,得到第二时钟信号。具体的,按照该相位差对第一时钟信号的相位进行偏移,例如,当该相位差为正数时,将第一时钟信号的相位向前偏移(例如,沿坐标系的X轴向右偏移),偏移量为该相位差;当该相位差为负数时,将第一时钟信号的相位向后偏移,偏移量为该相位差;由于相位差是频率差的积分的关系,因此,根据该相位差计算得到第一收发设备的时钟信号和第一时钟信号的频率差,然后按照该频率差对第一时钟信号的频率调整,例如,当上述相位差为正数时,减小第一时钟信号的频率,其中,减小的量为该频率差;当上述相位差为负数时,增大第一时钟信号的频率,其中,增大的量为该频率差。Adjustment method A: When the frequency of the clock signal of the first transceiver device is greatly different from the frequency of the first clock signal, both the frequency and phase of the first clock signal need to be adjusted to obtain the second clock signal. Specifically, the phase of the first clock signal is shifted according to the phase difference, for example, when the phase difference is a positive number, the phase of the first clock signal is shifted forward (for example, along the X-axis of the coordinate system Right offset), the offset is the phase difference; when the phase difference is a negative number, the phase of the first clock signal is shifted backward, and the offset is the phase difference; since the phase difference is the integral of the frequency difference Therefore, the frequency difference between the clock signal of the first transceiver device and the first clock signal is calculated according to the phase difference, and then the frequency of the first clock signal is adjusted according to the frequency difference, for example, when the above-mentioned phase difference is a positive number , reducing the frequency of the first clock signal, wherein the amount of reduction is the frequency difference; when the above-mentioned phase difference is a negative number, increasing the frequency of the first clock signal, wherein the amount of increase is the frequency difference.

调整方式B:在第一收发设备的时钟信号的频率和第一时钟信号的频率相差较小的情况下,可以不调整第一时钟信号的频率(第一时钟信号的频率与第一收发设备的时钟信号的频率相差很小,频率差可以忽略不计,即认为第一时钟信号的频率与第一收发设备的频率近似相等),仅调整第一时钟信号的相位,得到第二时钟信号。具体的,按照该相位差对第一时钟信号的相位进行偏移,例如,当该相位差为正数时,将第一时钟信号的相位向前偏移,偏移量为该相位差;当该相位差为负数时,将第一时钟信号的相位向后偏移,偏移量为该相位差。Adjustment mode B: under the condition that the frequency of the clock signal of the first transceiver device is slightly different from the frequency of the first clock signal, the frequency of the first clock signal may not be adjusted (the frequency of the first clock signal is different from that of the first transceiver device). The frequency difference of the clock signal is very small, and the frequency difference can be ignored, that is, the frequency of the first clock signal is considered to be approximately equal to the frequency of the first transceiver device), and only the phase of the first clock signal is adjusted to obtain the second clock signal. Specifically, the phase of the first clock signal is shifted according to the phase difference, for example, when the phase difference is a positive number, the phase of the first clock signal is shifted forward, and the shift amount is the phase difference; When the phase difference is a negative number, the phase of the first clock signal is shifted backward by the phase difference.

可选的,结合图4,如图5所示,本申请实施例提供的用于时钟同步的收发电路还可以包括:模数转换器16,模数转换器16的输入端161耦合至收发电路的输入端,模数转换器16的输出端162连接时钟调整模块13的输入端131。Optionally, with reference to FIG. 4, as shown in FIG. 5, the transceiver circuit for clock synchronization provided in the embodiment of the present application may further include: an analog-to-digital converter 16, and the input terminal 161 of the analog-to-digital converter 16 is coupled to the transceiver circuit The input terminal 162 of the analog-to-digital converter 16 is connected to the input terminal 131 of the clock adjustment module 13 .

该模数转换器16,用于将第一收发设备的时钟信号从模拟信号转换为数字信号。The analog-to-digital converter 16 is used to convert the clock signal of the first transceiver device from an analog signal to a digital signal.

应理解,通常在时钟信号的处理过程中是以数字信号形式进行处理的,因此,收发电路获取到第一收发设备的时钟信号(该时钟信号是模拟信号)之后,经模数转换器16将第一收发设备的时钟信号从模拟信号转换为数字信号,然后将该数字信号形式的时钟信号输入至时钟调整模块13。It should be understood that the processing of the clock signal is usually processed in the form of a digital signal. Therefore, after the transceiver circuit obtains the clock signal (the clock signal is an analog signal) of the first transceiver device, the analog-to-digital converter 16 converts The clock signal of the first transceiver device is converted from an analog signal to a digital signal, and then the clock signal in the form of a digital signal is input to the clock adjustment module 13 .

可选的,本申请实施例提供的用于时钟同步的收发电路还可以包括用于同步收发电路的发送时钟信号的部件或模块,即在收发电路接收第一收发设备发送的数据的过程中,不仅将该收发电路的接收时钟信号与第一收发设备的时钟信号同步,而且可以将该收发电路的发送时钟信号与第一收发电路的时钟信号同步。Optionally, the transceiver circuit for clock synchronization provided in the embodiment of the present application may further include a component or module for synchronizing the sending clock signal of the transceiver circuit, that is, when the transceiver circuit receives the data sent by the first transceiver device, Not only the receiving clock signal of the transceiver circuit is synchronized with the clock signal of the first transceiver device, but also the sending clock signal of the transceiver circuit is synchronized with the clock signal of the first transceiver circuit.

在一种实现方式中,结合图5,如图6所示,本申请实施例提供的用于时钟同步的收发电路还包括第二相位插值器17,该第二相位插值器17的第一输入端171连接第一锁相环的输出端122,第二相位插值器17的第二输入端172连接时钟调整模块13的第二输出端134,上述鉴相模块14的输出端142耦合至时钟调整模块13的第二输出端134。In one implementation, referring to FIG. 5 , as shown in FIG. 6 , the transceiver circuit for clock synchronization provided by the embodiment of the present application further includes a second phase interpolator 17, the first input of the second phase interpolator 17 The terminal 171 is connected to the output terminal 122 of the first phase-locked loop, the second input terminal 172 of the second phase interpolator 17 is connected to the second output terminal 134 of the clock adjustment module 13, and the output terminal 142 of the above-mentioned phase detection module 14 is coupled to the clock adjustment module. The second output terminal 134 of the module 13 .

第二相位插值器17用于根据时钟调整模块13的第二输出端134输出的相位差对第一时钟信号进行调整,得到第三时钟信号,该第三时钟信号与第一收发设备的时钟信号同步;以及将收发电路的发送时钟信号更新为第三时钟信号,第三时钟信号用于向第一收发设备发送数据。The second phase interpolator 17 is used to adjust the first clock signal according to the phase difference output by the second output terminal 134 of the clock adjustment module 13 to obtain a third clock signal, which is the same as the clock signal of the first transceiver device synchronizing; and updating the sending clock signal of the transceiver circuit to a third clock signal, the third clock signal is used to send data to the first transceiver device.

应理解,与上述第一相位插值器15用于根据上述相位差对第一时钟信号进行调整,得到第二时钟信号的过程类似,第二相位插值器17根据上述相位差对第一时钟信号进行调整,得到第三时钟信号的过程中,对第一时钟信号进行调整可以包括下述调整方式C和调整方式D中的任一种。It should be understood that, similar to the process in which the above-mentioned first phase interpolator 15 is used to adjust the first clock signal according to the above-mentioned phase difference to obtain the second clock signal, the second phase interpolator 17 adjusts the first clock signal according to the above-mentioned phase difference. Adjustment, during the process of obtaining the third clock signal, adjusting the first clock signal may include any one of the following adjustment mode C and adjustment mode D.

调整方式C:在第一收发设备的时钟信号的频率和第一时钟信号的频率相差较大的情况下,需要对第一时钟信号的频率和相位均进行调整,得到第三时钟信号。具体的,按照该相位差对第一时钟信号的相位进行偏移;由于相位差是频率差的积分的关系,因此,根据该相位差计算得到第一收发设备的时钟信号和第一时钟信号的频率差,然后按照该频率差对第一时钟信号的频率调整,进而得到调整后的第一时钟信号,即第三时钟信号。Adjustment mode C: When the frequency of the clock signal of the first transceiver device differs greatly from the frequency of the first clock signal, both the frequency and phase of the first clock signal need to be adjusted to obtain a third clock signal. Specifically, the phase of the first clock signal is shifted according to the phase difference; since the phase difference is the integral of the frequency difference, the clock signal of the first transceiver device and the phase of the first clock signal are calculated according to the phase difference. frequency difference, and then adjust the frequency of the first clock signal according to the frequency difference, and then obtain the adjusted first clock signal, that is, the third clock signal.

应理解,上述调整方式C与上述调整方式A类似,具体可参照上述实施例关于调整方式A的相关描述。It should be understood that the above-mentioned adjustment method C is similar to the above-mentioned adjustment method A, and for details, reference may be made to relevant descriptions about the adjustment method A in the above-mentioned embodiments.

调整方式D:在第一收发设备的时钟信号的频率和第一时钟信号的频率相差较小的情况下,仅调整第一时钟信号的相位,得到第三时钟信号。具体的,按照该相位差对第一时钟信号的相位进行偏移,进而得到调整后的第一时钟信号,即第三时钟信号。Adjustment mode D: When the difference between the frequency of the clock signal of the first transceiver device and the frequency of the first clock signal is small, only adjust the phase of the first clock signal to obtain the third clock signal. Specifically, the phase of the first clock signal is shifted according to the phase difference, so as to obtain the adjusted first clock signal, that is, the third clock signal.

应理解,上述调整方式D与上述调整方式B类似,具体可参照上述实施例关于调整方式B的相关描述。It should be understood that the above-mentioned adjustment method D is similar to the above-mentioned adjustment method B, and for details, reference may be made to relevant descriptions about the adjustment method B in the above-mentioned embodiments.

可选的,应用本申请实施例提供的收发电路的第二收发设备包括发送单元和接收单元,应理解,上述收发电路中的时钟调整模块13设置在接收单元上,上述第二相位插值器17设置在发送单元上。Optionally, the second transceiving device applying the transceiving circuit provided in the embodiment of the present application includes a transmitting unit and a receiving unit. It should be understood that the clock adjustment module 13 in the above-mentioned transceiver circuit is set on the receiving unit, and the above-mentioned second phase interpolator 17 Set on the sending unit.

需要说明的是,第二相位插值器17获取到上述第一收发设备的时钟信号和第一时钟信号的相位差之后,可以将该相位差存储在第二相位插值器17对应的缓存表(例如:查阅表(look up table,LUT))中,当第二收发设备向第一收发设备发送数据时,第二相位插值器17从LUT表中读取该相位差,并根据该相位差调整第一时钟信号,得到第三时钟信号,从而第二收发设备根据该第三时钟信号向第一收发设备发送数据。It should be noted that, after the second phase interpolator 17 acquires the phase difference between the clock signal of the first transceiver device and the first clock signal, the phase difference can be stored in a buffer table corresponding to the second phase interpolator 17 (for example, : In the look-up table (look up table, LUT)), when the second transceiver device sends data to the first transceiver device, the second phase interpolator 17 reads the phase difference from the LUT table, and adjusts the first phase difference according to the phase difference a clock signal to obtain a third clock signal, so that the second transceiver device sends data to the first transceiver device according to the third clock signal.

可选的,上述第一收发设备的时钟信号和第一时钟信号的相位差输入至第二相位插值器17之前,上述时钟调整模块13中的鉴相模块14对该相位差进行滤波(即:鉴相模块14中包括滤波器器),进而第一相位插值器15根据滤波后的相位差(即:更加精确的相位差)调整第一时钟信号;同时,第二相位插值器17对应的缓存表中存入的相位差也为滤波后的相位差。Optionally, before the phase difference between the clock signal of the above-mentioned first transceiver device and the first clock signal is input to the second phase interpolator 17, the phase difference module 14 in the above-mentioned clock adjustment module 13 filters the phase difference (that is: includes a filter in the phase detection module 14), and then the first phase interpolator 15 adjusts the first clock signal according to the filtered phase difference (that is: a more accurate phase difference); at the same time, the buffer corresponding to the second phase interpolator 17 The phase difference stored in the table is also the phase difference after filtering.

在另一种实现方式中,结合图5,如图7所示,本申请实施例提供的用于时钟同步的收发电路还可以包括:第二相位插值器17和第二锁相环18,该第二锁相环18的输入端181连接鉴频鉴相器11的输出端113,第二锁相环18的输出端182连接第二相位插值器17的第一输入端171,第二相位插值器17的第二输入端172连接时钟调整模块13的第二输出端134,上述鉴相模块14的输出端142耦合至时钟调整模块13的第二输出端134。In another implementation manner, referring to FIG. 5, as shown in FIG. 7, the transceiver circuit for clock synchronization provided in the embodiment of the present application may further include: a second phase interpolator 17 and a second phase-locked loop 18, the The input 181 of the second phase-locked loop 18 is connected to the output 113 of the frequency and phase detector 11, and the output 182 of the second phase-locked loop 18 is connected to the first input 171 of the second phase interpolator 17, and the second phase interpolation The second input terminal 172 of the device 17 is connected to the second output terminal 134 of the clock adjustment module 13 , and the output terminal 142 of the phase detection module 14 is coupled to the second output terminal 134 of the clock adjustment module 13 .

其中,第二锁相环18用于根据收发电路当前的接收时钟信号和收发电路上一时刻的接收时钟信号的频率差输出第四时钟信号;第二相位插值器17,用于根据时钟调整模块13的第二输出端134输出的相位差对第四时钟信号进行调整,得到第五时钟信号,第五时钟信号与第一收发设备的时钟信号同步;以及将收发电路的发送时钟信号更新为第五时钟信号,第五时钟信号用于向所述第一收发设备发送数据。Wherein, the second phase-locked loop 18 is used for outputting the fourth clock signal according to the frequency difference between the current receiving clock signal of the transceiver circuit and the receiving clock signal of a moment on the transceiver circuit; the second phase interpolator 17 is used for adjusting the module according to the clock The phase difference output by the second output terminal 134 of 13 adjusts the fourth clock signal to obtain the fifth clock signal, and the fifth clock signal is synchronized with the clock signal of the first transceiver device; and the sending clock signal of the transceiver circuit is updated to the first Five clock signals, the fifth clock signal is used to send data to the first transceiver device.

需要说明的是,上述第四时钟信号与第一时钟信号都是根据收发电路当前的接收时钟信号和第一锁相环12上一时刻输出的时钟信号之间的频率差输出的时钟信号,所以上述第四时钟信号与第一时钟信号是完全相同的时钟信号。It should be noted that the above-mentioned fourth clock signal and the first clock signal are clock signals output according to the frequency difference between the current receiving clock signal of the transceiver circuit and the clock signal output by the first phase-locked loop 12 at a moment, so The above-mentioned fourth clock signal is exactly the same clock signal as the first clock signal.

应理解,上述第二相位插值器17用于根据上述相位差对第四时钟信号进行调整,得到第五时钟信号的过程中,对第四时钟信号进行调整可以包括下述调整方式E和调整方式F中的任一种。It should be understood that the above-mentioned second phase interpolator 17 is used to adjust the fourth clock signal according to the above-mentioned phase difference, and in the process of obtaining the fifth clock signal, adjusting the fourth clock signal may include the following adjustment method E and adjustment method Either of F.

调整方式E:在第一收发设备的时钟信号的频率和第四时钟信号的频率相差较大的情况下,需要对第四时钟信号的频率和相位均进行调整,得到第五时钟信号。上述调整方式E与上述调整方式A类似,具体可参照上述实施例关于调整方式A的相关描述。Adjustment method E: When the frequency of the clock signal of the first transceiver device is greatly different from the frequency of the fourth clock signal, both the frequency and phase of the fourth clock signal need to be adjusted to obtain the fifth clock signal. The above-mentioned adjustment method E is similar to the above-mentioned adjustment method A, and for details, reference may be made to the related description of the above-mentioned embodiment about the adjustment method A.

调整方式F:在第一收发设备的时钟信号的频率和第四时钟信号的频率相差较小的情况下,仅调整第四时钟信号的相位,得到第五时钟信号。上述调整方式F与上述调整方式B类似,具体可参照上述实施例关于调整方式B的相关描述。Adjustment mode F: when the difference between the frequency of the clock signal of the first transceiver device and the frequency of the fourth clock signal is small, only adjust the phase of the fourth clock signal to obtain the fifth clock signal. The above-mentioned adjustment method F is similar to the above-mentioned adjustment method B, and for details, reference may be made to the related description about the adjustment method B in the above-mentioned embodiment.

相应地,本申请实施例提供一种收发设备,该收发设备包括如图3-图7任一种所示的收发电路,具有该结构特征的收发设备之间可以基于收发电路实现时钟同步。Correspondingly, an embodiment of the present application provides a transceiver device, which includes a transceiver circuit as shown in any one of FIGS.

下面以包括本申请实施例提供的收发电路的多个收发设备(例如第一收发设备和第二收发设备)组成的通信系统为例,对上述收发设备之间传输数据时进行时钟信号同步的过程进行详细的描述。Taking a communication system composed of a plurality of transceiver devices (such as a first transceiver device and a second transceiver device) including the transceiver circuit provided by the embodiment of the present application as an example, the process of synchronizing the clock signal when transmitting data between the above-mentioned transceiver devices Give a detailed description.

如图8所示,当第一收发设备根据自身的时钟信号向第二收发设备发送第一数据时,第二收发设备对应的收发电路同步第一收发设备的时钟信号的具体过程为:第二收发设备中的时钟调整模块根据第一数据对应的时钟信号和该第二收发设备当前的接收时钟信号,确定出这两个时钟信号的相位差1;该时钟调整模块根据相位差1调整第一锁相环上一时刻输出的时钟信号的相位和频率,得到时钟信号1,其中,该时钟信号1与第一收发设备的时钟信号同步;此时,时钟调整模块将第二收发设备当前的接收时钟信号更新为时钟信号1。此外,第二收发设备的时钟调整模块将该相位差1发送至第二收发设备的第二相位差值器;与此同时第二收发设备的时钟调整模块将该时钟信号1发送至鉴频鉴相器,鉴频鉴相器根据该时钟信号1和第一锁相环上一时刻输出的时钟信号,确定这两个时钟信号的频率差1,鉴频鉴相器将频率差1发送至第 一锁相环,第一锁相环根据该频率差1调整第一锁相环上一时刻输出的时钟信号的频率,得到时钟信号2,其中,该时钟信号2与时钟信号1的频率同步,第一锁相环将该时钟信号2发送至第二收发设备的发送单元和接收单元,以用于后续第一收发设备向第二收发设备发送第二数据时,时钟调整模块根据相位差2调整时钟信号2,进而恢复出第二数据对应的时钟信号。As shown in Figure 8, when the first transceiver device sends the first data to the second transceiver device according to its own clock signal, the specific process for the transceiver circuit corresponding to the second transceiver device to synchronize the clock signal of the first transceiver device is as follows: The clock adjustment module in the transceiver device determines the phase difference 1 between the two clock signals according to the clock signal corresponding to the first data and the current receiving clock signal of the second transceiver device; the clock adjustment module adjusts the first clock signal according to the phase difference 1 The phase and frequency of the clock signal output at a moment on the phase-locked loop obtain clock signal 1, wherein, the clock signal 1 is synchronized with the clock signal of the first transceiver device; The clock signal is updated to clock signal 1. In addition, the clock adjustment module of the second transceiver device sends the phase difference 1 to the second phase difference device of the second transceiver device; at the same time, the clock adjustment module of the second transceiver device sends the clock signal 1 to the frequency identification The phase detector, the frequency detector and the phase detector determine the frequency difference 1 of the two clock signals according to the clock signal 1 and the clock signal output by the first phase-locked loop at a moment, and the frequency detector sends the frequency difference 1 to the first phase lock loop A phase-locked loop, the first phase-locked loop adjusts the frequency of the clock signal output at a moment on the first phase-locked loop according to the frequency difference 1 to obtain a clock signal 2, wherein the clock signal 2 is synchronized with the frequency of the clock signal 1, The first phase-locked loop sends the clock signal 2 to the sending unit and the receiving unit of the second transceiver device, so that when the first transceiver device sends second data to the second transceiver device, the clock adjustment module adjusts the clock signal according to the phase difference 2 Clock signal 2, and then recover the clock signal corresponding to the second data.

当第一收发设备向第二收发设备发送第二数据时,由于外界因素的影响,该发送数据的时钟信号的相位可能会发生偏移;因此,第一收发设备向第二收发设备发送第二数据时,第二收发设备需要继续同步发送第二数据对应的时钟信号,其时钟信号的同步过程具体为:第二收发设备中的时钟调整模块根据该第二数据对应的时钟信号与第二收发设备当前的接收时钟信号(即:时钟信号1),确定出这两个时钟信号的相位差2;时钟调整模块根据相位差2调整第一锁相环上一时刻输出的时钟信号2的相位和频率,得到时钟信号3,此处需要说明的是:时钟信号3与第一收发设备的频率是同步的,因此,时钟调整模块根据相位差2对时钟信号3的频率调整很小可忽略不计。然后,时钟调整模块将第二收发设备当前的接收时钟信号(即:时钟信号1)更新为时钟信号3,此外,时钟调整模块将该相位差2发送至第二收发设备的发送单元;与此同时,时钟调整模块将该时钟信号3发送至鉴频鉴相器;鉴频鉴相器根据该时钟信号3和第一锁相环上一时刻输出的时钟信号2,确定这两个时钟信号的频率差2,鉴频鉴相器将频率差2发送至第一锁相环。第一锁相环根据该频率差2调整第一锁相环上一时刻输出的时钟信号2的频率,得到时钟信号4,其中,该时钟信号4与时钟信号3的频率同步,第一锁相环将该时钟信号4发送至第二收发设备的发送单元和接收单元。When the first transceiver device sends the second data to the second transceiver device, due to the influence of external factors, the phase of the clock signal for sending the data may be shifted; therefore, the first transceiver device sends the second data to the second transceiver device. data, the second transceiver device needs to continue to synchronously send the clock signal corresponding to the second data, and the synchronization process of the clock signal is specifically: the clock adjustment module in the second transceiver device matches the clock signal corresponding to the second data with the second transceiver The current receiving clock signal of the device (i.e. clock signal 1) determines the phase difference 2 of the two clock signals; the clock adjustment module adjusts the phase sum of the clock signal 2 output by the first phase-locked loop at the previous moment according to the phase difference 2 frequency, to obtain the clock signal 3, it should be noted here that the clock signal 3 is synchronized with the frequency of the first transceiver device, therefore, the frequency adjustment of the clock signal 3 by the clock adjustment module according to the phase difference 2 is negligibly small. Then, the clock adjustment module updates the current receiving clock signal (that is: clock signal 1) of the second transceiver device to clock signal 3, and in addition, the clock adjustment module sends the phase difference 2 to the sending unit of the second transceiver device; Simultaneously, the clock adjustment module sends this clock signal 3 to the frequency detector; The frequency difference is 2, and the frequency difference detector sends the frequency difference 2 to the first phase-locked loop. The first phase-locked loop adjusts the frequency of the clock signal 2 output at a moment on the first phase-locked loop according to the frequency difference 2 to obtain a clock signal 4, wherein the clock signal 4 is synchronized with the frequency of the clock signal 3, and the first phase-locked loop The ring transmits this clock signal 4 to the transmitting unit and the receiving unit of the second transceiving device.

当第二收发设备的发送单元接收到时钟信号2和相位差1时,该发送单元同步该时钟信号2并将该相位差存储在发送单元对应的缓存表中;当第二收发设备的发送单元接收到时钟信号4和相位差2时,该发送单元同步该时钟信号4,并将该缓存表中的第一收发设备对应的相位差1更新为相位差2。当第二收发设备向第一收发设备发送数据时,第二收发设备的发送单元中的第二相位插值器,根据相位差2调整时钟信号4得到时钟信号5,并使用该时钟信号5向第一收发设备发送数据,其中,时钟信号5与第一收发设备的时钟信号同步。When the sending unit of the second transceiver device receives the clock signal 2 and the phase difference 1, the sending unit synchronizes the clock signal 2 and stores the phase difference in the cache table corresponding to the sending unit; when the sending unit of the second transceiver device When receiving the clock signal 4 and the phase difference 2, the sending unit synchronizes the clock signal 4, and updates the phase difference 1 corresponding to the first transceiver device in the cache table to the phase difference 2. When the second transceiver device sends data to the first transceiver device, the second phase interpolator in the sending unit of the second transceiver device adjusts the clock signal 4 according to the phase difference 2 to obtain a clock signal 5, and uses the clock signal 5 to send data to the first transceiver device. A transceiver device transmits data, wherein the clock signal 5 is synchronized with the clock signal of the first transceiver device.

针对上述现有技术中收发设备在进行时钟同步的过程中占用收发设备的接口资源的问题,本申请实施例提供另一种用于时钟同步的收发电路以及收发设备,能够在不占用收发设备接口资源的情况下,实现收发设备之间的时钟同步。In view of the above-mentioned problem in the prior art that the transceiver device occupies the interface resources of the transceiver device during clock synchronization, the embodiment of the present application provides another transceiver circuit and transceiver device for clock synchronization, which can be used without occupying the interface resources of the transceiver device In the case of resources, clock synchronization between transceiver devices is realized.

如图9所示,本申请实施例提供的收发电路包括:时钟调整模块23、低通滤波器21以及第一锁相环22;其中,时钟调整模块23的第一输入端231耦合至收发电路的输入端,时钟调整模块23的第一输出端232连接低通滤波器21的输入端211,低通滤波器21的输出端212连接第一锁相环22的输入端221,第一锁相环22的输出端222连接时钟调整模块23的第二输入端233。As shown in Figure 9, the transceiver circuit provided by the embodiment of the present application includes: a clock adjustment module 23, a low-pass filter 21, and a first phase-locked loop 22; wherein, the first input terminal 231 of the clock adjustment module 23 is coupled to the transceiver circuit input end, the first output end 232 of the clock adjustment module 23 is connected to the input end 211 of the low-pass filter 21, and the output end 212 of the low-pass filter 21 is connected to the input end 221 of the first phase-locked loop 22, and the first phase-locked loop The output end 222 of the ring 22 is connected to the second input end 233 of the clock adjustment module 23 .

其中,低通滤波器21用于确定收发电路当前的接收时钟信号和收发电路上一时刻的接收时钟信号的频率差;第一锁相环22用于根据该频率差输出第一时钟信号;时钟调整模块23用于根据第一收发设备的时钟信号和收发电路当前的接收时钟信号,确定 第一相位差;并且根据第一相位差对第一时钟信号进行调整,得到第二时钟信号,第二时钟信号与第一收发设备的时钟信号同步;以及将收发电路的接收时钟信号更新为第二时钟信号,第二时钟信号用于从第一收发设备接收数据。Wherein, the low-pass filter 21 is used to determine the frequency difference between the current receiving clock signal of the transceiver circuit and the receiving clock signal at a moment on the transceiver circuit; the first phase-locked loop 22 is used to output the first clock signal according to the frequency difference; The adjustment module 23 is used to determine the first phase difference according to the clock signal of the first transceiver device and the current receiving clock signal of the transceiver circuit; and adjust the first clock signal according to the first phase difference to obtain the second clock signal, the second The clock signal is synchronized with the clock signal of the first transceiver device; and the receiving clock signal of the transceiver circuit is updated to a second clock signal, and the second clock signal is used for receiving data from the first transceiver device.

本申请实施例中,上述低通滤波器21具体用于,根据时钟调整模块23输出的收发电路当前的接收时钟信号和收发电路上一时刻的接收时钟信号之间的相位差,确定收发电路当前的接收时钟信号和收发电路上一时刻的接收时钟信号的频率差。该频率差的确定方法具体包括:基于相位差是频率差的积分的关系,根据该相位差计算得到收发电路当前的接收时钟和收发电路上一时刻的接收时钟信号之间的频率差。In the embodiment of the present application, the above-mentioned low-pass filter 21 is specifically used to determine the current receiving clock signal of the transmitting and receiving circuit according to the phase difference between the current receiving clock signal of the transmitting and receiving circuit output by the clock adjustment module 23 and the receiving clock signal of the transmitting and receiving circuit at a previous moment. The frequency difference between the received clock signal and the received clock signal on the transceiver circuit at a moment. The method for determining the frequency difference specifically includes: based on the relationship that the phase difference is an integral of the frequency difference, calculating the frequency difference between the current receiving clock of the transceiver circuit and the receiving clock signal of the transceiver circuit at a previous moment according to the phase difference.

应理解,上述第一锁相环22具体用于,根据收发电路当前的接收时钟和收发电路上一时刻的接收时钟信号之间的频率差对该第一锁相环22上一时刻的输出的时钟信号的频率进行调整,例如,当上述相位差为正数时,将第一锁相环22上一时刻的输出的时钟信号的频率减小,其中,减小的量为上述频率差;当上述相位差为负数时,将第一锁相环22上一时刻的输出的时钟信号的频率增大,其中,增大的量为上述频率差;进而得到第一时钟信号。其中,该第一时钟信号与该收发电路当前的接收时钟的频率同步。It should be understood that the above-mentioned first phase-locked loop 22 is specifically used to control the output of the first phase-locked loop 22 at a previous moment according to the frequency difference between the current receiving clock of the transceiver circuit and the receiving clock signal of the transceiver circuit at a previous moment. The frequency of the clock signal is adjusted, for example, when the above-mentioned phase difference is a positive number, the frequency of the clock signal output by the first phase-locked loop 22 at a moment is reduced, wherein the amount of reduction is the above-mentioned frequency difference; when When the above-mentioned phase difference is a negative number, increase the frequency of the clock signal output by the first phase-locked loop 22 at a previous moment, wherein the increased amount is the above-mentioned frequency difference; and then obtain the first clock signal. Wherein, the first clock signal is synchronized with the frequency of the current receiving clock of the transceiver circuit.

可选的,上述频率差的表现形式可以为频率控制字,该频率控制字用于指示收发电路当前的接收时钟和收发电路上一时刻的接收时钟信号之间的频率差。Optionally, the frequency difference may be expressed in the form of a frequency control word, which is used to indicate the frequency difference between the current receiving clock of the transceiver circuit and the receiving clock signal of the transceiver circuit at a previous moment.

应理解,上述根据相位差调整第一时钟信号,得到第二时钟信号,其中,对第一时钟信号进行调整的方式,具体可以参考上述实施例的相关描述,此处不再赘述。It should be understood that the first clock signal is adjusted according to the phase difference to obtain the second clock signal. For the manner of adjusting the first clock signal, reference may be made to relevant descriptions in the foregoing embodiments, and details are not repeated here.

本申请实施例提供的用于时钟同步的收发电路,该收发电路中的低通滤波器可以确定收发电路当前的接收时钟信号和收发电路上一时刻的接收时钟信号的频率差,并将该频率差发送至第一锁相环;第一锁相环根据该频率差对收发电路上一时刻的接收时钟信号进行调整输出第一时钟信号,进而实现第一锁相环上一时刻输出的时钟信号与收发电路当前的接收时钟信号在频率上的同步;然后,时钟调整模块根据第一收发设备的时钟信号和收发电路当前的接收时钟信号,确定第一相位差;并且根据该第一相位差对第一时钟信号进行调整,得到第二时钟信号,该第二时钟信号与第一收发设备的时钟信号是同步的。相比于现有技术,本申请实施例提供的用于时钟同步的收发电路,无需设置用于提供参考时钟信号的主时钟设备,因此在时钟同步的过程中也无需占用收发设备的接口资源,也就是说,本申请实施例提供的用于时钟同步的收发电路能够在不占用收发设备的接口资源的情况下,实现收发设备之间的时钟同步。In the transceiver circuit for clock synchronization provided by the embodiment of the present application, the low-pass filter in the transceiver circuit can determine the frequency difference between the current receiving clock signal of the transceiver circuit and the receiving clock signal of the previous moment of the transceiver circuit, and convert the frequency The difference is sent to the first phase-locked loop; the first phase-locked loop adjusts and outputs the first clock signal to the receiving clock signal of the transceiver circuit at a moment according to the frequency difference, and then realizes the clock signal output by the first phase-locked loop at a moment Synchronization with the frequency of the current receiving clock signal of the transceiver circuit; then, the clock adjustment module determines the first phase difference according to the clock signal of the first transceiver device and the current receiving clock signal of the transceiver circuit; and according to the first phase difference pair The first clock signal is adjusted to obtain a second clock signal, and the second clock signal is synchronized with the clock signal of the first transceiver device. Compared with the prior art, the transceiver circuit for clock synchronization provided by the embodiment of the present application does not need to set up a master clock device for providing a reference clock signal, so there is no need to occupy the interface resources of the transceiver device during the clock synchronization process. That is to say, the transceiver circuit for clock synchronization provided in the embodiment of the present application can realize clock synchronization between transceiver devices without occupying interface resources of the transceiver devices.

可选的,结合图9,如图10所示,上述时钟调整模块23具体包括:鉴相模块30和第一相位插值器31;该鉴相模块30的第一输入端301耦合至时钟调整模块的第一输入端231,鉴相模块30的第一输出端302耦合至时钟调整模块23的第一输出端232,该鉴相模块30的第二输出端303连接第一相位插值器31的第一输入端311,第一相位插值器31的第二输入端312耦合至时钟调整模块23的第二输入端233,第一相位插值器31的输出端313连接鉴相模块30的第二输入模块304。Optionally, with reference to FIG. 9, as shown in FIG. 10, the clock adjustment module 23 specifically includes: a phase detection module 30 and a first phase interpolator 31; the first input terminal 301 of the phase detection module 30 is coupled to the clock adjustment module The first input end 231 of the phase detection module 30, the first output end 302 of the phase detection module 30 is coupled to the first output end 232 of the clock adjustment module 23, and the second output end 303 of the phase detection module 30 is connected to the first phase interpolator 31. An input terminal 311, the second input terminal 312 of the first phase interpolator 31 is coupled to the second input terminal 233 of the clock adjustment module 23, the output terminal 313 of the first phase interpolator 31 is connected to the second input module of the phase detection module 30 304.

其中,鉴相模块30,用于根据第一收发设备的时钟信号和收发电路当前的接收时钟信号,确定所述第一相位差;第一相位插值器31,用于根据第一相位差对第一时钟信号进行调整,得到第二时钟信号。Wherein, the phase detection module 30 is used to determine the first phase difference according to the clock signal of the first transceiver device and the current receiving clock signal of the transceiver circuit; the first phase interpolator 31 is used to calculate the first phase difference according to the first phase difference The first clock signal is adjusted to obtain the second clock signal.

可选的,上述鉴相模块30的第一输出端302与第二输出端303都用于输出相位差,鉴相模块30的第一输出端302输出的相位差的表现形式可以为相位码字,该相位码字用于指示第一收发设备的时钟信号和收发电路当前的接收时钟信号之间的相位差。Optionally, both the first output terminal 302 and the second output terminal 303 of the above-mentioned phase detection module 30 are used to output the phase difference, and the form of the phase difference output by the first output terminal 302 of the phase detection module 30 can be a phase code word , the phase codeword is used to indicate the phase difference between the clock signal of the first transceiver device and the current receiving clock signal of the transceiver circuit.

可选的,结合图10,如图11所示,本申请实施例提供的用于时钟同步的收发电路,还可以包括:模数转换器24,模数转换器24的输入端241耦合至收发电路的输入端,模数转换器的输出端242连接时钟调整模块23的输入端231。Optionally, with reference to FIG. 10 , as shown in FIG. 11 , the transceiver circuit for clock synchronization provided in the embodiment of the present application may further include: an analog-to-digital converter 24, and the input end 241 of the analog-to-digital converter 24 is coupled to the transceiver circuit The input end of the circuit and the output end 242 of the analog-to-digital converter are connected to the input end 231 of the clock adjustment module 23 .

其中,模数转换器24,用于将第一收发设备的时钟信号从模拟信号转换为数字信号。Wherein, the analog-to-digital converter 24 is configured to convert the clock signal of the first transceiver device from an analog signal to a digital signal.

应理解,通常在时钟信号的处理过程中是以数字信号形式进行处理的,因此,收发电路获取到第一收发设备的时钟信号(该时钟信号是模拟信号)之后,经模数转换器24将第一收发设备的时钟信号从模拟信号转换为数字信号,然后将该数字信号形式的时钟信号输入至时钟调整模块23。It should be understood that the processing of the clock signal is usually processed in the form of a digital signal. Therefore, after the transceiver circuit obtains the clock signal (the clock signal is an analog signal) of the first transceiver device, the analog-to-digital converter 24 converts The clock signal of the first transceiver device is converted from an analog signal to a digital signal, and then the clock signal in the form of a digital signal is input to the clock adjustment module 23 .

可选的,本申请实施例提供的用于时钟同步的收发电路还可以包括用于同步收发电路的发送时钟信号的部件或模块,即在收发电路接收第一收发设备发送的数据的过程中,不仅将该收发电路的接收时钟信号与第一收发设备的时钟信号同步,而且可以将该收发电路的发送时钟信号与第一收发电路的时钟信号同步。Optionally, the transceiver circuit for clock synchronization provided in the embodiment of the present application may further include a component or module for synchronizing the sending clock signal of the transceiver circuit, that is, when the transceiver circuit receives the data sent by the first transceiver device, Not only the receiving clock signal of the transceiver circuit is synchronized with the clock signal of the first transceiver device, but also the sending clock signal of the transceiver circuit is synchronized with the clock signal of the first transceiver circuit.

一种实现方式中,结合图11,如图12所示,本申请实施例提供的用于时钟同步的收发电路,还可以包括:第二相位插值器25,第二相位插值器25的第一输入端251连接第一锁相环22的输出端222,第二相位插值器25的第二输入端252连接时钟调整模块23的第二输出端234,鉴相模块30的输出端303还与时钟调整模块23的第二输出端234耦合。In one implementation manner, referring to FIG. 11 , as shown in FIG. 12 , the transceiver circuit for clock synchronization provided by the embodiment of the present application may further include: a second phase interpolator 25, the first phase interpolator 25 of the second phase interpolator 25 The input terminal 251 is connected to the output terminal 222 of the first phase-locked loop 22, the second input terminal 252 of the second phase interpolator 25 is connected to the second output terminal 234 of the clock adjustment module 23, and the output terminal 303 of the phase detection module 30 is also connected to the clock The second output terminal 234 of the adjustment module 23 is coupled.

其中,第二相位插值器25,用于根据时钟调整模块23的第二输出端234输出的第二相位差对第一时钟信号进行调整,得到第三时钟信号,该第三时钟信号与第一收发设备的时钟信号同步;以及将该收发电路的发送时钟信号更新为第三时钟信号,第三时钟信号用于向第一收发设备发送数据。Wherein, the second phase interpolator 25 is used to adjust the first clock signal according to the second phase difference output by the second output terminal 234 of the clock adjustment module 23 to obtain a third clock signal, which is the same as the first clock signal. The clock signal of the transceiver device is synchronized; and the sending clock signal of the transceiver circuit is updated to a third clock signal, and the third clock signal is used to send data to the first transceiver device.

应理解,上述根据第二相位差调整第一时钟信号,得到第三时钟信号,其中,对第一时钟信号进行调整的方式,具体可以参考上述实施例的相关描述,此处不再赘述。It should be understood that the first clock signal is adjusted according to the second phase difference to obtain the third clock signal. For the manner of adjusting the first clock signal, reference may be made to relevant descriptions in the foregoing embodiments, and details are not repeated here.

可选的,本申请实施例提供的收发电路所对应的收发设备包括发送单元和接收单元,应理解,上述收发电路中的时钟调整模块23设置在接收单元上,上述第二相位插值器25设置在发送单元上。Optionally, the transceiving device corresponding to the transceiving circuit provided in the embodiment of the present application includes a transmitting unit and a receiving unit. It should be understood that the clock adjustment module 23 in the above-mentioned transceiver circuit is set on the receiving unit, and the above-mentioned second phase interpolator 25 is set on the sending unit.

需要说明的是,第二相位插值器25获取到上述第一时钟信号和第二相位差后,会同步该第一时钟信号,并将该第二相位差存储在第二相位插值器25对应的缓存表中,只要当该收发电路向第一收发设备发送数据时,该第二相位插值器25根据该第二相位差调整第一时钟信号,得到第三时钟信号,该第三时钟信号用于向第一收发设备发送数据。It should be noted that, after the second phase interpolator 25 acquires the above-mentioned first clock signal and the second phase difference, it will synchronize the first clock signal, and store the second phase difference in the corresponding In the cache table, as long as the transceiver circuit sends data to the first transceiver device, the second phase interpolator 25 adjusts the first clock signal according to the second phase difference to obtain a third clock signal, which is used for Send data to the first transceiver device.

可选的,上述第二相位差输入至第二相位插值器25之前,上述时钟调整模块23中的鉴相模块30(此时,该鉴相模块30中包括滤波器)对该相位差进行滤波,进而第一相位插值器31根据滤波后的第二相位差(即:更加精确的相位差)调整第一时钟信号;同时,第二相位插值器25对应的缓存表中存入的相位差也为滤波后的第二相位 差。Optionally, before the above-mentioned second phase difference is input to the second phase interpolator 25, the phase detection module 30 in the above-mentioned clock adjustment module 23 (in this case, the phase detection module 30 includes a filter) filters the phase difference , and then the first phase interpolator 31 adjusts the first clock signal according to the filtered second phase difference (that is: a more accurate phase difference); meanwhile, the phase difference stored in the buffer table corresponding to the second phase interpolator 25 is also is the filtered second phase difference.

在另一种实现方式中,结合图11,如图13所示;本申请实施例提供的用于时钟同步的收发电路,还可以包括:第二相位插值器25和第二锁相环26,第二锁相环26的输入端261连接低通滤波器21的输出端212,第二锁相环26的输出端262连接第二相位插值器25的第一输入端251,第二相位插值器25的第二输入端252连接时钟调整模块23的第二输出端234,鉴相模块30的输出端303还与时钟调整模块23的第二输出端234耦合。In another implementation manner, as shown in FIG. 13 with reference to FIG. 11 ; the transceiver circuit for clock synchronization provided in the embodiment of the present application may further include: a second phase interpolator 25 and a second phase-locked loop 26, The input end 261 of the second phase-locked loop 26 is connected to the output end 212 of the low-pass filter 21, and the output end 262 of the second phase-locked loop 26 is connected to the first input end 251 of the second phase interpolator 25, and the second phase interpolator The second input end 252 of the clock adjustment module 23 is connected to the second output end 234 of the clock adjustment module 23 , and the output end 303 of the phase detection module 30 is also coupled to the second output end 234 of the clock adjustment module 23 .

其中,第二锁相环26,用于根据发电路当前的接收时钟信号和该收发电路上一时刻的接收时钟信号之间的频率差输出第四时钟信号;第二相位插值器25,用于根据时钟调整模块23的第二输出端234输出的相位差对第四时钟信号进行调整,得到第五时钟信号,该第五时钟信号与第一收发设备的时钟信号同步;以及将收发电路的发送时钟信号更新为第五时钟信号,该第五时钟信号用于向第一收发设备发送数据。Wherein, the second phase-locked loop 26 is used for outputting the fourth clock signal according to the frequency difference between the current receiving clock signal of the sending circuit and the receiving clock signal of the last moment of the sending and receiving circuit; the second phase interpolator 25 is used for According to the phase difference output by the second output terminal 234 of the clock adjustment module 23, the fourth clock signal is adjusted to obtain the fifth clock signal, which is synchronized with the clock signal of the first transceiver device; and the transmission of the transceiver circuit The clock signal is updated to a fifth clock signal, and the fifth clock signal is used to send data to the first transceiver device.

应理解,上述第四时钟信号与第一时钟信号都是根据发电路当前的接收时钟信号和该收发电路上一时刻的接收时钟信号之间的频率差输出时钟信号,所以上述第四时钟信号与第一时钟信号时完全相同的时钟信号。It should be understood that the above-mentioned fourth clock signal and the first clock signal both output clock signals according to the frequency difference between the current receiving clock signal of the transmitting circuit and the receiving clock signal of the transmitting and receiving circuit at a moment, so the above-mentioned fourth clock signal and The first clock signal is the exact same clock signal.

相应地,本申请实施例提供一种收发设备,该收发设备包括如图9-图13任一种所示的收发电路,具有该结构特征的收发设备之间可以基于收发电路实现时钟同步。Correspondingly, an embodiment of the present application provides a transceiver device, which includes a transceiver circuit as shown in any one of FIGS. 9 to 13 , and clock synchronization between transceiver devices with this structural feature can be realized based on the transceiver circuit.

下面以包括本申请实施例提供的收发电路的多个收发设备(例如第一收发设备和第二收发设备)组成的通信系统为例,对上述收发设备之间传输数据过程中进行时钟信号的过程进行详细的描述。Taking a communication system composed of a plurality of transceiver devices (such as a first transceiver device and a second transceiver device) including the transceiver circuit provided by the embodiment of the present application as an example, the process of performing clock signals in the process of transmitting data between the above-mentioned transceiver devices Give a detailed description.

如图14所示,当第一收发设备向第二收发设备发送第一数据时;第二收发设备中的时钟调整模块根据该第一数据对应的时钟信号与第二收发设备当前的接收时钟信号,确定出这两个时钟信号的相位差1;时钟调整模块根据相位差1调整第一锁相环上一时刻输出的时钟信号的相位和频率,得到时钟信号1,其中,该时钟信号1与第一收发设备的时钟信号同步;此时,时钟调整模块将第二收发设备当前的接收时钟信号更新为时钟信号1;此外,时钟调整模块将该相位差1发送至第二收发设备的发送单元和低通滤波器。低通滤波器根据相位差1确定出第一数据对应的时钟信号与第二收发设备当前的接收时钟信号(未更新前的接收时钟信号)的频率差1,并将频率差1发送至第一锁相环。第一锁相环根据该频率差1调整第一锁相环上一时刻输出的时钟信号的频率,得到时钟信号2,其中,该时钟信号2与时钟信号1的频率同步,第一锁相环将该时钟信号2发送至第二收发设备的发送单元和接收单元,以用于后续第一收发设备向第二收发设备发送第二数据时,时钟调整模块根据相位差2调整时钟信号2,进而恢复出第二数据对应的时钟信号。As shown in Figure 14, when the first transceiver device sends the first data to the second transceiver device; the clock adjustment module in the second transceiver device according to the clock signal corresponding to the first data and the current reception clock signal of the second transceiver device , to determine the phase difference 1 of these two clock signals; the clock adjustment module adjusts the phase and frequency of the clock signal output at a moment on the first phase-locked loop according to the phase difference 1, and obtains the clock signal 1, wherein the clock signal 1 and The clock signal of the first transceiver device is synchronized; at this time, the clock adjustment module updates the current receiving clock signal of the second transceiver device to clock signal 1; in addition, the clock adjustment module sends the phase difference 1 to the sending unit of the second transceiver device and low pass filter. The low-pass filter determines the frequency difference 1 between the clock signal corresponding to the first data and the current receiving clock signal (receiving clock signal before updating) of the second transceiver device according to the phase difference 1, and sends the frequency difference 1 to the first PLL. The first phase-locked loop adjusts the frequency of the clock signal output at a moment on the first phase-locked loop according to the frequency difference 1 to obtain a clock signal 2, wherein the clock signal 2 is synchronized with the frequency of the clock signal 1, and the first phase-locked loop Send the clock signal 2 to the sending unit and the receiving unit of the second transceiver device, so that when the first transceiver device sends the second data to the second transceiver device, the clock adjustment module adjusts the clock signal 2 according to the phase difference 2, and then A clock signal corresponding to the second data is recovered.

当第一收发设备向第二收发设备发送第二数据时,由于外界因素的影响,该发送数据的时钟信号的相位可能会发生偏移;因此,第一收发设备向第二收发设备发送第二数据时,第二收发设备需要继续同步第二数据对应的时钟信号,其时钟信号的同步过程具体为:第二收发设备中的时钟调整模块根据该第二数据对应的时钟信号与第二收发设备当前的接收时钟信号(即:时钟信号1),确定出这两个时钟信号的相位差2;时钟调整模块根据相位差2调整第一锁相环上一时刻输出的时钟信号2的相位和频率, 得到时钟信号3,此处需要说明的是:时钟信号3与第一收发设备的频率是同步的,因此,时钟调整模块根据相位差2对时钟信号3的频率调整很小可忽略不计;然后,时钟调整模块将第二收发设备当前的接收时钟信号(即:时钟信号1)更新为时钟信号3,此外,时钟调整模块将该相位差2发送至第二收发设备的发送单元和低通滤波器,低通滤波器根据相位差2,确定出第二数据对应的时钟信号和第一锁相环上一时刻输出的时钟信号2的频率差2,并将频率差2发送至第一锁相环。第一锁相环根据该频率差2调整第一锁相环上一时刻输出的时钟信号2的频率,得到时钟信号4,其中,该时钟信号4与时钟信号3的频率同步,第一锁相环将该时钟信号4发送至第二收发设备的发送单元和接收单元。When the first transceiver device sends the second data to the second transceiver device, due to the influence of external factors, the phase of the clock signal for sending the data may be shifted; therefore, the first transceiver device sends the second data to the second transceiver device. data, the second transceiver device needs to continue to synchronize the clock signal corresponding to the second data, and the synchronization process of the clock signal is specifically: the clock adjustment module in the second transceiver device synchronizes The current receiving clock signal (ie: clock signal 1) determines the phase difference 2 of these two clock signals; the clock adjustment module adjusts the phase and frequency of the clock signal 2 output at a moment on the first phase-locked loop according to the phase difference 2 , to obtain the clock signal 3, what needs to be explained here is: the frequency of the clock signal 3 and the first transceiver device is synchronous, therefore, the frequency adjustment of the clock signal 3 by the clock adjustment module according to the phase difference 2 is negligibly small; then , the clock adjustment module updates the current receiving clock signal (that is: clock signal 1) of the second transceiver device to clock signal 3, and in addition, the clock adjustment module sends the phase difference 2 to the sending unit and low-pass filter of the second transceiver device According to the phase difference 2, the low-pass filter determines the frequency difference 2 between the clock signal corresponding to the second data and the clock signal 2 output on the first phase-locked loop at a moment, and sends the frequency difference 2 to the first phase-locked loop ring. The first phase-locked loop adjusts the frequency of the clock signal 2 output at a moment on the first phase-locked loop according to the frequency difference 2 to obtain a clock signal 4, wherein the clock signal 4 is synchronized with the frequency of the clock signal 3, and the first phase-locked loop The ring transmits this clock signal 4 to the transmitting unit and the receiving unit of the second transceiving device.

当第二收发设备的发送单元接收到时钟信号2和相位差1时,该发送单元同步该时钟信号2并将该相位差存储在发送单元对应的缓存表中;当第二收发设备的发送单元接收到时钟信号4和相位差2时,该发送单元同步该时钟信号4,并将该缓存表中的第一收发设备对应的相位差1更新为相位差2。当第二收发设备向第一收发设备发送数据时,第二收发设备的发送单元中的第二相位插值器,根据相位差2调整时钟信号4得到时钟信号5,并使用该时钟信号5向第一收发设备发送数据,其中,时钟信号5与第一收发设备的时钟信号同步。When the sending unit of the second transceiver device receives the clock signal 2 and the phase difference 1, the sending unit synchronizes the clock signal 2 and stores the phase difference in the cache table corresponding to the sending unit; when the sending unit of the second transceiver device When receiving the clock signal 4 and the phase difference 2, the sending unit synchronizes the clock signal 4, and updates the phase difference 1 corresponding to the first transceiver device in the cache table to the phase difference 2. When the second transceiver device sends data to the first transceiver device, the second phase interpolator in the sending unit of the second transceiver device adjusts the clock signal 4 according to the phase difference 2 to obtain a clock signal 5, and uses the clock signal 5 to send data to the first transceiver device. A transceiver device transmits data, wherein the clock signal 5 is synchronized with the clock signal of the first transceiver device.

如图15为本申请实施例提供的收发电路在同步对端时钟信号时的流程示意图,当收发系统新加入第一收发设备后,第二收发设备周期性地向第一收发设备发送随机码,其中,该随机码可以是上述实施例中的第一数据或第二数据,也可以是其他的非业务数据,进而使得第一收发设备的接收时钟信号与第二收发设备的发送时钟信号同步。当第二收发设备向第一收发设备发送业务数据时,由于第一收发设备的接收时钟信号已同步第二收发设备的发送时钟信号,而环境温度和环境噪音等外界因素对时钟信号的影响更多体现在相位上,因此,第一收发设备根据接收时钟信号与业务数据对应时钟信号与第一收发设备的相位差,调整第一收发设备当前的接收时钟信号的相位,进行实现第一收发设备的接收时钟信号与业务数据对应的时钟信号的同步,从而第一收发设备根据该同步后的接收时钟信号获取第二收发设备发送的业务数据。Figure 15 is a schematic flow diagram of the transceiving circuit provided in the embodiment of the present application when synchronizing the clock signal of the opposite end. When the first transceiving device is newly added to the transceiving system, the second transceiving device periodically sends random codes to the first transceiving device. Wherein, the random code may be the first data or the second data in the above embodiment, or other non-service data, so that the receiving clock signal of the first transceiver device is synchronized with the sending clock signal of the second transceiver device. When the second transceiver device sends service data to the first transceiver device, since the receiving clock signal of the first transceiver device has been synchronized with the sending clock signal of the second transceiver device, external factors such as ambient temperature and environmental noise have a greater impact on the clock signal. It is mostly reflected in the phase. Therefore, the first transceiver device adjusts the phase of the current receiving clock signal of the first transceiver device according to the phase difference between the received clock signal and the clock signal corresponding to the service data, and implements the first transceiver device. The received clock signal is synchronized with the clock signal corresponding to the service data, so that the first transceiver device obtains the service data sent by the second transceiver device according to the synchronized receive clock signal.

通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be allocated according to needs It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the above-described system, device, and unit, reference may be made to the corresponding process in the foregoing method embodiments, and details are not repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be Incorporation may either be integrated into another system, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到 多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk, and other various media capable of storing program codes.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.

Claims (12)

一种收发电路,其特征在于,包括:时钟调整模块、鉴频鉴相器以及第一锁相环;其中,所述时钟调整模块的第一输入端耦合至所述收发电路的输入端,所述时钟调整模块的第一输出端连接所述鉴频鉴相器的第一输入端,所述鉴频鉴相器的输出端连接所述第一锁相环的输入端,所述第一锁相环的输出端连接所述时钟调整模块的第二输入端和所述鉴频鉴相器的第二输入端;A transceiver circuit, characterized in that it includes: a clock adjustment module, a frequency and phase detector, and a first phase-locked loop; wherein, the first input end of the clock adjustment module is coupled to the input end of the transceiver circuit, so The first output end of the clock adjustment module is connected to the first input end of the frequency and phase detector, and the output end of the frequency and phase detector is connected to the input end of the first phase-locked loop, and the first phase-locked loop The output end of the phase loop is connected to the second input end of the clock adjustment module and the second input end of the frequency and phase detector; 所述鉴频鉴相器,用于确定所述收发电路当前的接收时钟信号和所述第一锁相环上一时刻输出的时钟信号之间的频率差;The frequency and phase detector is used to determine the frequency difference between the current receiving clock signal of the transceiver circuit and the clock signal output by the first phase-locked loop at a moment; 所述第一锁相环,用于根据所述频率差输出第一时钟信号;The first phase-locked loop is configured to output a first clock signal according to the frequency difference; 所述时钟调整模块,用于确定第一收发设备的时钟信号与所述收发电路当前的时钟信号之间的相位差;并且根据所述相位差对所述第一时钟信号进行调整,得到第二时钟信号,所述第二时钟信号与所述第一收发设备的时钟信号同步;以及将所述收发电路的接收时钟信号更新为所述第二时钟信号,所述第二时钟信号用于从所述第一收发设备接收数据。The clock adjustment module is configured to determine the phase difference between the clock signal of the first transceiver device and the current clock signal of the transceiver circuit; and adjust the first clock signal according to the phase difference to obtain the second A clock signal, the second clock signal is synchronized with the clock signal of the first transceiver device; and the receiving clock signal of the transceiver circuit is updated to the second clock signal, and the second clock signal is used to obtain The first transceiver device receives data. 根据权利要求1所述的收发电路,其特征在于,所述时钟调整模块包括鉴相模块和第一相位插值器;所述鉴相模块的第一输入端耦合至所述时钟调整模块的第一输入端,所述鉴相模块的输出端连接所述第一相位插值器的第一输入端,所述第一相位插值器的第二输入端耦合至所述时钟调整模块的第二输入端,所述第一相位插值器的输出端耦合至所述时钟调整模块的第一输出端,并且所述第一相位插值器的输出端连接所述鉴相模块的第二输入端;The transceiver circuit according to claim 1, wherein the clock adjustment module comprises a phase detection module and a first phase interpolator; the first input end of the phase detection module is coupled to the first phase detection module of the clock adjustment module. an input terminal, the output terminal of the phase detection module is connected to the first input terminal of the first phase interpolator, and the second input terminal of the first phase interpolator is coupled to the second input terminal of the clock adjustment module, The output terminal of the first phase interpolator is coupled to the first output terminal of the clock adjustment module, and the output terminal of the first phase interpolator is connected to the second input terminal of the phase detection module; 所述鉴相模块,用于确定所述第一收发设备的时钟信号与所述收发电路当前的时钟信号之间的相位差;The phase detection module is configured to determine the phase difference between the clock signal of the first transceiver device and the current clock signal of the transceiver circuit; 所述第一相位插值器,用于根据所述相位差对所述第一时钟信号进行调整,得到第二时钟信号。The first phase interpolator is configured to adjust the first clock signal according to the phase difference to obtain a second clock signal. 根据权利要求1或2所述的收发电路,其特征在于,所述收发电路还包括模数转换器,所述模数转换器的输入端耦合至所述收发电路的输入端,所述模数转换器的输出端连接所述时钟调整模块的输入端;The transceiver circuit according to claim 1 or 2, wherein the transceiver circuit further comprises an analog-to-digital converter, the input end of the analog-to-digital converter is coupled to the input end of the transceiver circuit, and the analog-to-digital converter The output end of the converter is connected to the input end of the clock adjustment module; 所述模数转换器,用于将所述第一收发设备的时钟信号从模拟信号转换为数字信号。The analog-to-digital converter is configured to convert the clock signal of the first transceiver device from an analog signal to a digital signal. 根据权利要求1至3任一项所述的收发电路,其特征在于,所述收发电路还包括第二相位插值器,所述第二相位插值器的第一输入端连接所述第一锁相环的输出端,所述第二相位插值器的第二输入端连接所述时钟调整模块的第二输出端,所述鉴相模块的输出端耦合至所述时钟调整模块的第二输出端;The transceiver circuit according to any one of claims 1 to 3, wherein the transceiver circuit further comprises a second phase interpolator, the first input end of the second phase interpolator is connected to the first phase-locked The output end of the ring, the second input end of the second phase interpolator is connected to the second output end of the clock adjustment module, and the output end of the phase detection module is coupled to the second output end of the clock adjustment module; 所述第二相位插值器,用于根据所述时钟调整模块的第二输出端输出的相位差对所述第一时钟信号进行调整,得到第三时钟信号,所述第三时钟信号与所述第一收发设备的时钟信号同步;以及将所述收发电路的发送时钟信号更新为所述第三时钟信号,所述第三时钟信号用于向所述第一收发设备发送数据。The second phase interpolator is configured to adjust the first clock signal according to the phase difference output by the second output terminal of the clock adjustment module to obtain a third clock signal, and the third clock signal is the same as the The clock signal of the first transceiver device is synchronized; and the sending clock signal of the transceiver circuit is updated to the third clock signal, and the third clock signal is used to send data to the first transceiver device. 根据权利要求1至3任一项所述的收发电路,其特征在于,所述收发电路还包括:第二相位插值器和第二锁相环,所述第二锁相环的输入端连接所述鉴频鉴相器的 输出端,所述第二锁相环的输出端连接所述第二相位插值器的第一输入端,所述第二相位插值器的第二输入端连接所述时钟调整模块的第二输出端,所述鉴相模块的输出端耦合至所述时钟调整模块的第二输出端;The transceiver circuit according to any one of claims 1 to 3, wherein the transceiver circuit further comprises: a second phase interpolator and a second phase-locked loop, the input end of the second phase-locked loop is connected to the The output terminal of the frequency and phase detector, the output terminal of the second phase-locked loop is connected to the first input terminal of the second phase interpolator, and the second input terminal of the second phase interpolator is connected to the clock adjusting the second output end of the module, the output end of the phase detection module is coupled to the second output end of the clock adjustment module; 所述第二锁相环,用于根据所述频率差输出第四时钟信号;The second phase-locked loop is configured to output a fourth clock signal according to the frequency difference; 所述第二相位插值器,用于根据所述时钟调整模块的第二输出端输出的相位差对所述第四时钟信号进行调整,得到第五时钟信号,所述第五时钟信号与所述第一收发设备的时钟信号同步;以及将所述收发电路的发送时钟信号更新为所述第五时钟信号,所述第五时钟信号用于向所述第一收发设备发送数据。The second phase interpolator is configured to adjust the fourth clock signal according to the phase difference output by the second output terminal of the clock adjustment module to obtain a fifth clock signal, the fifth clock signal and the The clock signal of the first transceiver device is synchronized; and the transmission clock signal of the transceiver circuit is updated to the fifth clock signal, and the fifth clock signal is used to send data to the first transceiver device. 一种收发电路,其特征在于,包括:时钟调整模块、低通滤波器以及第一锁相环;其中,所述时钟调整模块的第一输入端耦合至所述收发电路的输入端,所述时钟调整模块的第一输出端连接所述低通滤波器的输入端,所述低通滤波器的输出端连接所述第一锁相环的输入端,所述第一锁相环的输出端连接所述时钟调整模块的第二输入端;A transceiver circuit, characterized in that it includes: a clock adjustment module, a low-pass filter, and a first phase-locked loop; wherein, the first input end of the clock adjustment module is coupled to the input end of the transceiver circuit, and the The first output terminal of the clock adjustment module is connected to the input terminal of the low-pass filter, the output terminal of the low-pass filter is connected to the input terminal of the first phase-locked loop, and the output terminal of the first phase-locked loop connected to the second input terminal of the clock adjustment module; 所述低通滤波器,用于确定所述收发电路当前的接收时钟信号和所述收发电路上一时刻的接收时钟信号的频率差;The low-pass filter is used to determine the frequency difference between the current receiving clock signal of the transceiver circuit and the receiving clock signal of the transceiver circuit at a previous moment; 所述第一锁相环,用于根据所述频率差输出第一时钟信号;The first phase-locked loop is configured to output a first clock signal according to the frequency difference; 所述时钟调整模块,用于根据所述第一收发设备的时钟信号和所述收发电路当前的接收时钟信号,确定第一相位差;并且根据所述第一相位差对所述第一时钟信号进行调整,得到第二时钟信号,所述第二时钟信号与所述第一收发设备的时钟信号同步;以及将所述收发电路的接收时钟信号更新为所述第二时钟信号,所述第二时钟信号用于从所述第一收发设备接收数据。The clock adjustment module is configured to determine a first phase difference according to the clock signal of the first transceiver device and the current receiving clock signal of the transceiver circuit; and adjust the first clock signal according to the first phase difference Adjusting to obtain a second clock signal, the second clock signal is synchronized with the clock signal of the first transceiver device; and updating the receiving clock signal of the transceiver circuit to the second clock signal, the second A clock signal is used to receive data from said first transceiving device. 根据权利要求6所述的收发电路,其特征在于,The transceiver circuit according to claim 6, characterized in that, 所述低通滤波器,具体用于根据所述时钟调整模块输出的所述收发电路当前的接收时钟信号和所述收发电路上一时刻的接收时钟信号之间的相位差,确定所述收发电路当前的接收时钟信号和所述收发电路上一时刻的接收时钟信号的频率差。The low-pass filter is specifically used to determine the phase difference between the current receiving clock signal of the transmitting and receiving circuit output by the clock adjustment module and the receiving clock signal of the transmitting and receiving circuit at a previous moment, and determine the The frequency difference between the current receiving clock signal and the receiving clock signal at the previous moment of the transceiver circuit. 根据权利要求6或7所述的收发电路,其特征在于,所述时钟调整模块包括鉴相模块和第一相位插值器;所述鉴相模块的第一输入端耦合至所述时钟调整模块的第一输入端,所述鉴相模块的第一输出端耦合至所述时钟调整模块的第一输出端,所述鉴相模块的第二输出端连接所述第一相位插值器的第一输入端,所述第一相位插值器的第二输入端耦合至所述时钟调整模块的第二输入端,所述第一相位插值器的输出端连接鉴相模块的第二输入模块;The transceiver circuit according to claim 6 or 7, wherein the clock adjustment module includes a phase detection module and a first phase interpolator; the first input end of the phase detection module is coupled to the clock adjustment module The first input terminal, the first output terminal of the phase detection module is coupled to the first output terminal of the clock adjustment module, the second output terminal of the phase detection module is connected to the first input of the first phase interpolator end, the second input end of the first phase interpolator is coupled to the second input end of the clock adjustment module, and the output end of the first phase interpolator is connected to the second input module of the phase detection module; 所述鉴相模块,用于根据所述第一收发设备的时钟信号和所述收发电路当前的接收时钟信号,确定所述第一相位差;The phase detection module is configured to determine the first phase difference according to the clock signal of the first transceiver device and the current receiving clock signal of the transceiver circuit; 所述第一相位插值器,用于根据所述第一相位差对所述第一时钟信号进行调整,得到第二时钟信号。The first phase interpolator is configured to adjust the first clock signal according to the first phase difference to obtain a second clock signal. 根据权利要求6至8任一项所述的收发电路,其特征在于,所述收发电路还包括模数转换器,所述模数转换器的输入端耦合至所述收发电路的输入端,所述模数转换器的输出端连接所述时钟调整模块的输入端;The transceiver circuit according to any one of claims 6 to 8, wherein the transceiver circuit further comprises an analog-to-digital converter, and the input end of the analog-to-digital converter is coupled to the input end of the transceiver circuit, so The output end of the analog-to-digital converter is connected to the input end of the clock adjustment module; 所述模数转换器,用于将所述第一收发设备的时钟信号从模拟信号转换为数字信 号。The analog-to-digital converter is used to convert the clock signal of the first transceiver device from an analog signal to a digital signal. 根据权利要求6至9任一项所述的收发电路,其特征在于,所述收发电路还包括第二相位插值器,所述第二相位插值器的第一输入端连接所述第一锁相环的输出端,所述第二相位插值器的第二输入端连接所述时钟调整模块的第二输出端,所述鉴相模块的输出端还与所述时钟调整模块的第二输出端耦合;The transceiver circuit according to any one of claims 6 to 9, wherein the transceiver circuit further comprises a second phase interpolator, the first input end of the second phase interpolator is connected to the first phase-locked The output end of the ring, the second input end of the second phase interpolator is connected to the second output end of the clock adjustment module, and the output end of the phase detection module is also coupled to the second output end of the clock adjustment module ; 所述第二相位插值器,用于根据所述时钟调整模块的第二输出端输出的第二相位差对所述第一时钟信号进行调整,得到所述第三时钟信号,所述第三时钟信号与所述第一收发设备的时钟信号同步;以及将所述收发电路的发送时钟信号更新为所述第三时钟信号,所述第三时钟信号用于向所述第一收发设备发送数据。The second phase interpolator is configured to adjust the first clock signal according to the second phase difference output by the second output terminal of the clock adjustment module to obtain the third clock signal, and the third clock signal The signal is synchronized with the clock signal of the first transceiver device; and the transmission clock signal of the transceiver circuit is updated to the third clock signal, and the third clock signal is used to send data to the first transceiver device. 根据权利要求6至9任一项所述的收发电路,其特征在于,所述收发电路还包括第二相位插值器和第二锁相环,所述第二锁相环的输入端连接所述低通滤波器的输出端,所述第二锁相环的输出端连接所述第二相位插值器的第一输入端,所述第二相位插值器的第二输入端连接所述时钟调整模块的第二输出端,所述鉴相模块的输出端还与所述时钟调整模块的第二输出端耦合;The transceiver circuit according to any one of claims 6 to 9, wherein the transceiver circuit further comprises a second phase interpolator and a second phase-locked loop, the input end of the second phase-locked loop is connected to the The output terminal of the low-pass filter, the output terminal of the second phase-locked loop is connected to the first input terminal of the second phase interpolator, and the second input terminal of the second phase interpolator is connected to the clock adjustment module The second output end of the phase detection module is also coupled to the second output end of the clock adjustment module; 所述第二锁相环,用于根据所述频率差输出第四时钟信号;The second phase-locked loop is configured to output a fourth clock signal according to the frequency difference; 所述第二相位插值器,用于根据所述时钟调整模块的第二输出端输出的相位差对所述第四时钟信号进行调整,得到所述第五时钟信号,所述第五时钟信号与所述第一收发设备的时钟信号同步;以及将所述收发电路的发送时钟信号更新为所述第五时钟信号,所述第五时钟信号用于向所述第一收发设备发送数据。The second phase interpolator is configured to adjust the fourth clock signal according to the phase difference output by the second output terminal of the clock adjustment module to obtain the fifth clock signal, and the fifth clock signal is the same as The clock signal of the first transceiver device is synchronized; and the transmission clock signal of the transceiver circuit is updated to the fifth clock signal, and the fifth clock signal is used to send data to the first transceiver device. 一种收发设备,其特征在于,所述收发设备包括权利要求1至5任一项所述的收发电路或如权利要求6至11任一项所述的收发电路。A transceiver device, characterized in that the transceiver device comprises the transceiver circuit according to any one of claims 1 to 5 or the transceiver circuit according to any one of claims 6 to 11.
PCT/CN2021/109946 2021-07-31 2021-07-31 Transceiving circuit and transceiving device for clock synchronization Ceased WO2023010234A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2021/109946 WO2023010234A1 (en) 2021-07-31 2021-07-31 Transceiving circuit and transceiving device for clock synchronization
CN202180099154.9A CN117480743A (en) 2021-07-31 2021-07-31 A transceiver circuit and transceiver device for clock synchronization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/109946 WO2023010234A1 (en) 2021-07-31 2021-07-31 Transceiving circuit and transceiving device for clock synchronization

Publications (1)

Publication Number Publication Date
WO2023010234A1 true WO2023010234A1 (en) 2023-02-09

Family

ID=85154001

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/109946 Ceased WO2023010234A1 (en) 2021-07-31 2021-07-31 Transceiving circuit and transceiving device for clock synchronization

Country Status (2)

Country Link
CN (1) CN117480743A (en)
WO (1) WO2023010234A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030081147A1 (en) * 2001-11-01 2003-05-01 Sony Corporation And Sony Electronics, Inc. Apparatus and method for implementing a unified clock recovery system
CN101489290A (en) * 2008-01-15 2009-07-22 瑞昱半导体股份有限公司 Receiving apparatus, signal processing system, and signal receiving method
CN103957003A (en) * 2014-04-23 2014-07-30 华为技术有限公司 Time to digital converter and frequency tracking device and method
CN112118063A (en) * 2019-06-21 2020-12-22 华为技术有限公司 Clock synchronization device, optical transmitter, optical receiver and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9521636B2 (en) * 2014-04-22 2016-12-13 Nxp Usa, Inc. Synchronization circuitry, common public radio interface enable device, and a method of synchronizing a synchronized clock signal of a second transceiver to a clock of a first transceiver
CN112910590B (en) * 2021-01-28 2022-10-21 广州广哈通信股份有限公司 Clock synchronization system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030081147A1 (en) * 2001-11-01 2003-05-01 Sony Corporation And Sony Electronics, Inc. Apparatus and method for implementing a unified clock recovery system
CN101489290A (en) * 2008-01-15 2009-07-22 瑞昱半导体股份有限公司 Receiving apparatus, signal processing system, and signal receiving method
CN103957003A (en) * 2014-04-23 2014-07-30 华为技术有限公司 Time to digital converter and frequency tracking device and method
CN112118063A (en) * 2019-06-21 2020-12-22 华为技术有限公司 Clock synchronization device, optical transmitter, optical receiver and method

Also Published As

Publication number Publication date
CN117480743A (en) 2024-01-30

Similar Documents

Publication Publication Date Title
US10992447B2 (en) High-speed interface apparatus and deskew method thereof
US6647506B1 (en) Universal synchronization clock signal derived using single forward and reverse direction clock signals even when phase delay between both signals is greater than one cycle
US7978802B1 (en) Method and apparatus for a mesochronous transmission system
JP6822400B2 (en) Transmitters, receivers, and communication systems, as well as signal transmission methods, signal reception methods, and communication methods.
CN110651446A (en) Wireless device and wireless device processing method
CN102202386B (en) Clock synchronization method, device and system
CN107659392B (en) clock data recovery system
CN112052208A (en) Method for calibrating output timing, and corresponding master and slave devices
US11144088B2 (en) Clocking synchronization method and apparatus
WO2020087370A1 (en) Method and device for time synchronization, and storage medium
CN101765199B (en) Communication network system and time synchronization method in system and OTN equipment
US11388028B2 (en) Communication method and device based on parallel system, and terminal
CN106301655B (en) Main side equipment, be delayed adjustment Timing System from end equipment and main side
WO2023010234A1 (en) Transceiving circuit and transceiving device for clock synchronization
JP2019054568A (en) Inverter system synchronous control method and inverter system
TWI795678B (en) Synchronization device and synchronization method
EP2897312A1 (en) Clock synchronization method, system and device
CN112118063B (en) Clock synchronization device, optical transmitter, optical receiver and method
US9455824B1 (en) Distributed network synchronization methods and architectures
US12375199B2 (en) Hybrid clock synchronization
US10877513B2 (en) Device and method for transmitting data between two physical interfaces
TWM605565U (en) Distributed synchronization system
US20050156649A1 (en) Apparatus and method for generating clock signal
CN109391250A (en) A kind of synchronization system and synchronous method of modular multilevel pulsewidth modulation
US7694176B2 (en) Fault-tolerant computer and method of controlling same

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21952144

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 202180099154.9

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21952144

Country of ref document: EP

Kind code of ref document: A1