WO2021237509A1 - Circuit de récupération d'horloge et de données, puce de traitement et dispositif électronique - Google Patents
Circuit de récupération d'horloge et de données, puce de traitement et dispositif électronique Download PDFInfo
- Publication number
- WO2021237509A1 WO2021237509A1 PCT/CN2020/092595 CN2020092595W WO2021237509A1 WO 2021237509 A1 WO2021237509 A1 WO 2021237509A1 CN 2020092595 W CN2020092595 W CN 2020092595W WO 2021237509 A1 WO2021237509 A1 WO 2021237509A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- delay
- clock signal
- signal
- circuit
- delay chain
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03L—AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
- H03L7/00—Automatic control of frequency or phase; Synchronisation
- H03L7/06—Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
- H03L7/08—Details of the phase-locked loop
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03L—AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
- H03L7/00—Automatic control of frequency or phase; Synchronisation
- H03L7/06—Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
- H03L7/08—Details of the phase-locked loop
- H03L7/085—Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal
- H03L7/087—Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal using at least two phase detectors or a frequency and phase detector in the loop
Definitions
- This application relates to the field of signal processing technology, and in particular to a clock data recovery circuit, processing chip and electronic equipment.
- the Mobile Industry Processor Interface (MIPI) alliance is an open standard and a specification formulated for mobile application processors, serving to effectively increase bandwidth and reduce power consumption.
- the MIPI Alliance has self-defined three circuit specifications: D-physical layer protocol (referred to as D-PHY), M-physical layer protocol (referred to as M-PHY) and C-physical layer protocol (referred to as C-PHY).
- D-PHY the transmitting side device directly sends a clock signal to the receiving side device through a clock channel, so that the receiving side device can recover the data
- C-PHY uses three-phase signal technology by embedding in the transmitted data
- the clock transfers data.
- C-PHY can transmit 2.28 times the data at the same symbol rate. It can be seen that C-PHY can achieve high data throughput under the premise of low power consumption. .
- the transmitting side device For two devices connected with the C-PHY MIPI interface, the transmitting side device has three signal voltage strengths: high, medium, and low.
- the receiving side device calculates the difference between the three signals and uses the developed codec conversion chart to perform Decode and restore the signal clock at the same time.
- the purpose of the embodiments of the present application is to provide a clock data recovery circuit, processing chip, and electronic equipment that adaptively adjust the delay time of the delay chain for digital signals of different rates to obtain a clock signal that matches the rate of the digital signal. , So as to be able to adapt to the recovery of multiple rates of digital signals.
- the embodiment of the application provides a clock data recovery circuit, including: an edge detector, a flip circuit, a delay chain, a delay control module, and a clock delay module; the edge detector is used to obtain the rising edge of a set of input digital signals to obtain a Group of pulse signals; the flip circuit is used to generate a corresponding rising edge on the output first clock signal when the rising edge of any pulse signal in a group of pulse signals is detected; the delay control module is used to generate a corresponding rising edge on the first clock signal according to the first clock signal.
- Phase and the phase of the second clock signal adjust the delay time of the delay chain until the phase of the first clock signal is consistent with the phase of the second clock signal, where the second clock signal is the first clock signal delayed by the delay chain;
- the flip circuit is used to detect that the reset signal obtained after the first clock signal is delayed by the delay chain is at a high level, and the first clock signal is set to zero;
- the clock delay module is used to delay the first clock signal according to the delay time of the delay chain Through processing, the third clock signal is obtained, and the third clock signal is input to the collector, so that the collector can recover a group of digital signals according to the third clock signal.
- the embodiment of the present application also provides a processing chip including the above-mentioned clock data recovery circuit.
- An embodiment of the present application also provides an electronic device including the above-mentioned processing chip.
- the edge detector can obtain the rising edge of each digital signal in a set of input digital signals, and generate a set of pulse signals.
- the inversion circuit receives the set of pulse signals, it can detect When the rising edge of any pulse signal in the group of pulse signals is reached, the corresponding rising edge is generated on the output first clock signal, the second clock signal obtained after the first clock signal is delayed by the delay chain, the delay control module
- the delay time of the delay chain can be adjusted according to the phase of the first clock signal and the phase of the second clock signal, until the phase of the first clock signal is consistent with the phase of the second clock signal, and the first clock signal is delayed by the delay chain
- the obtained reset signal is input to the flip circuit.
- the flip circuit When the flip circuit detects that the reset signal is at a high level, it sets the first clock signal to zero. After the above process, the first clock signal is also input to the clock delay module, which is then The first clock signal can be delayed according to the delay time of the delay chain, and the third clock signal can be obtained and input to the collector, so that the collector can recover the data signal according to the third clock signal. Signal, adaptively adjust the delay time of the delay chain to obtain a clock signal that matches the rate of the digital signal, so as to be able to adapt to the recovery of multiple rates of digital signals.
- the delay chain includes a first half delay chain and a second half delay chain, and the delay time of the first half delay chain is equal to the delay time of the second half delay chain; the delay control module is used to compare the phase of the first clock signal with the The phase of the second clock signal, adjust the delay time of the first half of the delay chain and the delay time of the second half of the delay chain; the flip circuit is used to detect the reset of the first clock signal after the delay of the first half of the delay chain in the delay chain When the signal is at a high level, the first clock signal is set to zero; the clock delay module is used to delay the first clock signal according to the delay time of the first half of the delay chain or the delay time of the second half of the delay chain to obtain the third Clock signal.
- the delay chain is divided into two identical half-delay chains to facilitate the output of the reset signal from the half-delay position of the delay chain, which is more convenient.
- the first half-delay chain and the second half-delay chain have the same structure; each half-delay chain includes N delay units, and N is an integer greater than 0; the delay control module is used to compare the phase of the first clock signal with The phase of the second clock signal is adjusted to the N value of each half of the delay chain.
- This embodiment provides specific structures of the first half-delay chain and the second half-delay chain, and a specific manner for adjusting the delay time of each half-delay chain.
- the first half-delay chain is used to determine the Mth delay unit to the Nth delay unit as the tap interval according to the value of N, and select a delay unit from the tap interval as the tap delay connection point, and The signal output from the tap delay contact point is used as the reset signal, and M is the difference of N minus the preset value.
- This embodiment provides an implementation method for generating a reset signal, which can reduce the transmission delay of the line, the delay caused by the process and the temperature to a certain extent, and make the output clock signal more accurate.
- the first half-delay chain is used to select the N-1th delay unit from the N delay units as the tap-delay connection point.
- each half-delay chain also includes a NOR circuit; the first half-delay chain is used to receive the first clock signal through the included NOR circuit; the second half-delay chain is connected to the first through the included NOR circuit Half-delay chain, the second half-delay chain is also used to be closed when the closing control signal is received through the included NOR circuit.
- the second half of the delay chain can be turned off when the turn-off control signal is received through the NOR circuit to reduce power consumption.
- the delay control module includes a phase comparator and a detector; the phase comparator is used to obtain a phase difference value according to the phase of the first clock signal and the phase of the second clock signal; the detector is used to generate a delay adjustment according to the phase difference value Time delay control signal, and send the delay control signal to the delay chain.
- the phase comparator is used to obtain a phase difference value according to the phase of the first clock signal and the phase of the second clock signal; the detector is used to generate a delay adjustment according to the phase difference value Time delay control signal, and send the delay control signal to the delay chain.
- a specific structure of the delay air module is provided.
- the phase comparator is used to obtain multiple phase difference values based on the phase of the first clock signal and the phases of multiple second clock signals output from the delay chain taps; the detector is used to obtain multiple phase difference values based on the average cumulative value of the multiple phase difference values, Generate a delay control signal for adjusting the delay time, and send the delay control signal to the delay chain; the detector is used to determine the first clock signal and the second clock signal when the average cumulative value of multiple phase difference values is less than a preset threshold value
- the phases are the same.
- the phase comparison can calculate multiple phase difference values, and the detector can calculate an average cumulative value based on the multiple phase difference values, and generate a delay control signal for adjusting the delay time according to the average cumulative value. A more accurate delay control signal can be obtained.
- the detector is used to generate a delay control signal for increasing the delay time when the average cumulative value is positive; the detector is used to generate a delay control signal for reducing the delay time when the average cumulative value is negative.
- a set of digital signals includes three digital signals; the edge detector includes three edge detector circuits corresponding to the three digital signals; each edge detector circuit includes an exclusive OR circuit and a delay module; each exclusive OR circuit The first input terminal of each XOR circuit is used to receive the corresponding digital signal, the second input terminal of each XOR circuit is used to receive the corresponding digital signal delayed by the delay module, and the XOR circuit is used to output and receive through the output terminal.
- the digital signal corresponds to a pulse signal.
- the flip circuit includes a first XOR gate circuit, a second XOR gate circuit, a NAND gate circuit, a first PMOS tube, a second PMOS tube, an NMOS tube, a first inverter, a second inverter, and a first inverter.
- the input terminal of the first exclusive OR circuit is used to receive a set of pulse signals, and the output terminal of the first exclusive OR circuit is respectively connected to the first input terminal of the second exclusive OR circuit and the NAND circuit
- the first input terminal of the first inverter is used to receive the reset signal
- the output terminal of the first inverter is connected to the second input terminal of the NAND circuit through the second inverter
- the second XOR The second input terminal of the gate circuit is used to receive the reset signal passing through the first inverter
- the output terminal of the second exclusive OR circuit is connected to the gate of the first PMOS transistor, the source of the first PMOS transistor and the second PMOS
- the source of the tube is connected to the power supply terminal
- the drain of the first PMOS tube is connected to the drain of the NMOS tube and the input terminal of the third inverter
- the gate of the second PMOS tube is used to receive the For the reset signal of the inverter, the drain of the second PMOS tube is connected to the input terminal of the third inverter, and
- each half-delay chain also includes a register corresponding to each delay unit; the delay control module is used to adjust the value of each register according to the phase of the first clock signal and the phase of the second clock signal for the connection of the register The delay unit is turned on or off based on the value of the register.
- This embodiment provides a specific implementation manner for controlling the number of access delay units in a half-delay chain.
- a group of digital signals includes: three digital signals obtained by decoding the C-PHY signal.
- Fig. 1 is a schematic diagram of a clock data recovery circuit according to the first embodiment of the present application
- FIG. 2 is a schematic diagram of a third clock signal obtained after a set of pulse signals pass through a clock data recovery circuit in the first embodiment of the present application;
- Fig. 3 is a schematic diagram of a clock data recovery circuit according to a second embodiment of the present application.
- FIG. 4 is a schematic diagram of the first half-delay chain and the second half-delay chain in the third embodiment of the present application;
- FIG. 5 is a schematic diagram of a semi-delay chain according to a third embodiment of the present application.
- each half-delay chain further includes a NOR circuit
- FIG. 7 is a schematic diagram of a clock data recovery circuit in a fourth embodiment of the present application.
- FIG. 8 is a specific implementation manner of outputting multiple second clock signals to a phase comparator according to the delay chain in the fourth embodiment of the present application;
- Fig. 9 is a schematic diagram of a flip circuit in a clock data recovery circuit according to a fifth embodiment of the present application.
- the first embodiment of this application relates to a clock and data recovery (Clock and Data Recovery, CDR) circuit, which can be applied to a processing chip in an electronic device.
- CDR clock and Data Recovery
- the CDR can be a low-voltage CDR circuit.
- the electronic device can include both a receiving side device and a sending side device.
- the sending side device can be an image sensor, display screen, memory, etc. in the electronic device, and the receiving side device can be the above
- the processing chip, the transmitting side device and the receiving side device can be connected through the C-PHY type MIPI interface.
- the clock data recovery circuit of this embodiment includes an edge detector, a flip circuit 2, a delay chain 3, a delay control module 4, and a clock delay module 5.
- the clock data recovery circuit further includes a collector 6.
- the input to the clock data recovery circuit is a set of digital signals, including three digital signals, which are the A signal, the B signal, and the C signal in the figure.
- the edge detector includes the A signal and the B signal.
- three edge discrimination circuits corresponding to the three digital signals of the C signal one-to-one.
- Each edge discrimination circuit includes an exclusive OR circuit and a delay module 12.
- the three exclusive OR gates are the exclusive OR gates XOR1 and XOR in the figure. Gate XOR2 and exclusive OR gate XOR3.
- the set of digital signals in this example are three digital signals obtained by the C-PHY signal from the transmitting-side device after the signal processing in the processing chip.
- the transmitting-side device and the receiving-side device pass When the C-PHY MIPI interface is connected, there are three connecting lines between the transmitting side device and the receiving side device.
- the C-PHY signal received by the receiving side device includes x signal, y signal, z signal, x signal, y signal, z
- the signal includes three voltages: high, medium and low.
- the processing chip calculates the difference between the two voltages in the x signal, y signal, and z signal, and obtains three digital signals based on the codec conversion diagram of C-PHY, which is this implementation
- the A signal, B signal, and C signal are input to the CDR.
- the edge detector is used to obtain the rising edge of a set of input digital signals to obtain a set of pulse signals; specifically, for the edge detector circuit in the edge detector, the first input terminal of each XOR gate is used to receive For corresponding digital signals, the second input terminal of each XOR gate is used to receive the corresponding digital signal delayed by the delay module, and the XOR gate circuit is used to output a pulse signal corresponding to the received digital signal through the output terminal.
- the A signal is directly input to the first input terminal of the XOR gate XOR1, and the A signal is delayed by the delay module 12 and then input to the second input terminal of the XOR gate XOR1.
- the delay time of the delay module 12 is the preset value.
- the A signal and the A signal are input to the two input terminals of the exclusive OR gate XOR1 after being delayed, so that the rising edge of the A signal can be obtained, and the pulse signal A_pluse signal corresponding to the A signal can be obtained; similarly, the B signal can be obtained
- the corresponding pulse signal B_pluse signal, the pulse signal C_pluse signal corresponding to the C signal, the A_pluse signal, the B_pluse signal, and the C_pluse signal form a set of pulse signals corresponding to a set of digital signals.
- the delay times of the delay modules 12 included in them are generally set equal, for example, 50 picoseconds.
- the flip circuit 2 is used to generate a corresponding rising edge on the output first clock signal when the rising edge of any pulse signal in a set of pulse signals is detected, specifically, the output terminal of the XOR gate XOR1, the XOR gate
- the output terminal of XOR2 and the output terminal of XOR gate XOR3 are respectively connected to the three input terminals of flip circuit 2, that is, A_pluse signal, B_pluse signal and C_pluse signal are simultaneously input to flip circuit 2.
- flip circuit 2 is When the rising edge of any one of the A_pluse, B_pluse, and C_pluse signals in the group of pulse signals is detected, a rising edge from 0 to 1 is generated on the output first clock signal C_CLK.
- the output ends of the flip circuit 2 are respectively connected to the delay chain 3, the delay control module 4, and the clock delay module 5, so that the first clock signal C_CLK can be input to the delay chain 3, the delay control module 4, and the clock delay module 5, respectively.
- One output terminal of 3 is connected to the first input terminal of the delay control module 4, the output terminal of the flip circuit 2 is connected to the second input terminal of the delay control module 4, and the other output terminal of the delay chain 3 is connected to the flip circuit 2.
- the output terminal of the control module 4 is connected to the delay chain 3.
- the second clock signal D_CLK is obtained.
- the first input terminal of the delay control module 4 receives the second clock signal D_CLK
- the second input terminal of the delay control module 4 receives the second clock signal D_CLK.
- the delay control module 4 can adjust the delay time T1 of the delay chain 3 according to the phase of the first clock signal C_CLK and the phase of the second clock signal D_CLK, until the first clock signal C_CLK The phase of is consistent with the phase of the second clock signal D_CLK.
- the delay chain 3 is connected to the output terminal of the flipping circuit 2. After the first clock signal C_CLK is delayed by the first half delay chain 31, the reset signal RST_EN is obtained.
- the reset signal RST_EN is output to the flipping circuit 2, and the flipping circuit 2 is also used for When detecting that the reset signal RST_EN is at a high level, the first clock signal is set to zero, that is, the flip circuit 2 receives the reset signal RST_EN output by the delay chain 3, and when the reset signal RST_EN is 1, the first clock signal C_CLK is set to zero , So that the next rising edge can be obtained; and due to the delay of the delay chain 3, if there are multiple rising edges in the A_pluse signal, B_pluse signal, and C_pluse signal during the delay period, only one of the first clock signal C_CLK can be set The rising edge can prevent the flip circuit 2 from repeatedly setting multiple rising edges in the first clock signal C_CLK.
- the clock delay module 5 is used to delay the first clock signal C_CLK according to the delay time T1 of the delay chain 3 to obtain the third clock signal CDR_CLK, and input the third clock signal CDR_CLK to the collector 6 for the collector 6 according to The third clock signal CDR_CLK restores the data signal.
- the clock delay module 5 can obtain the delay time T1 of the delay chain 3, and then adjust its own delay time T2 according to the delay time T1 of the delay chain 3 to obtain a delay time greater than the setup time of the collector 6 to ensure that the collector 6Able to recover the clock and signal.
- the time delay module 6 can be connected to the delay chain 3, so that the delay time T1 of the delay chain 3 can be read.
- the clock delay module 5 is provided with a calculation formula for the delay time T2 of the time delay module 6 so as to be based on the delay Time T1 obtains its own delay time T2.
- T1 represents the delay time of the delay chain 3
- T2 represents the delay time of the time delay module 6.
- the collector 6 can collect the A signal, the B signal, and the C signal according to the third clock signal CDR_CLK, and then recover the corresponding RA signal, RB signal, and RC signal. Specifically, it is delayed by the first clock signal C_CLK.
- the third clock signal CDR_CLK can include all the rising edges of any of the three digital signals of A signal, B signal, and C signal.
- the A signal, the B signal and the C signal are sequentially input to the collector 6, the collector 6 Based on each rising edge of the third clock signal CDR_CLK, the signal is recovered once to obtain a signal including the clock, so that the RA signal, the RB signal and the RC signal corresponding to the A signal, the B signal, and the C signal can be obtained.
- FIG. 2 is a schematic diagram of a third clock signal CDR_CLK obtained after a group of pulse signals pass through the clock data recovery circuit in this embodiment.
- the edge detector can obtain the rising edge of each digital signal in a set of input digital signals to generate a set of pulse signals.
- the flipping circuit can detect When the rising edge of any pulse signal in the group of pulse signals, the corresponding rising edge is generated on the output first clock signal.
- the second clock signal obtained after the first clock signal is delayed by the delay chain the delay control module can According to the phase of the first clock signal and the phase of the second clock signal, adjust the delay time of the delay chain until the phase of the first clock signal is consistent with the phase of the second clock signal, and the first clock signal is delayed by the delay chain.
- the reset signal is input to the flip circuit.
- the flip circuit When the flip circuit detects that the reset signal is at a high level, it sets the first clock signal to zero. After the above process, the first clock signal is also input to the clock delay module.
- the clock delay module can The first clock signal is delayed according to the delay time of the delay chain, and the third clock signal is obtained and input to the collector for the collector to recover the data signal according to the third clock signal.
- the second embodiment of the present application relates to a clock data recovery circuit. Compared with the first embodiment, the main difference of this embodiment is that the delay chain is divided into two identical sub-delay chains.
- the delay chain 3 includes a first half delay chain 311 and a second half delay chain 32.
- One output terminal of the first half delay chain 31 is connected to the input terminal of the second half delay chain 32.
- the other output terminal of the first half delay chain 31 is connected to the flip circuit 2
- the output terminal of the second half delay chain 32 is connected to the first input terminal of the delay control module 4, and the output terminals of the delay control module 4 are respectively connected to the first input terminal.
- the delay time of the first half-delay chain 311 is equal to the delay time of the second half-delay chain 32.
- the delay control module 4 is configured to adjust the delay time T11 of the first half delay chain 31 and the delay time T12 of the second half delay chain 32 according to the phase of the first clock signal C_CLK and the phase of the second clock signal D_CLK.
- the delay control module 4 receives the second clock signal D_CLK through the first input terminal and passes the second clock signal D_CLK.
- the second input terminal receives the first clock signal C_CLK
- the delay control module 4 can adjust the delay time of the first half delay chain 31 and the delay time of the second half delay chain 32 according to the first clock signal C_CLK and the second clock signal D_CLK, Until the phase of the first clock signal C_CLK is consistent with the phase of the second clock signal D_CLK.
- phase of the first clock signal C_CLK is consistent with the phase of the second clock signal D_CLK, it means that the first clock signal C_CLK and the second clock signal D_CLK can be considered to be two clock signals with the same frequency and phase.
- the delay time T11 of the first half delay chain 31 is half of the clock period of the third clock signal output, and then the first clock signal C_CLK is delayed by the first half delay chain 31 to obtain the reset signal RST_EN, and the reset signal RST_EN can be
- the first clock signal C_CLK output by the flip circuit 2 generates a rising edge and resets it to zero, which can ensure that the flip circuit 2 detects the next rising edge in the pulse signal, and at the same time, due to the delay of the first half delay chain 31 to avoid flipping Circuit 2 flips multiple rising edges in a group of pulse signals within the delay time.
- the flip circuit 2 Since the output terminal of the first half delay chain 31 is connected to the flip circuit 2, when the first half delay chain 31 receives the first clock signal C_CLK through the input terminal, the first clock signal C_CLK is delayed by the first half delay chain 31 Then get the reset signal RST_EN, and output the reset signal RST_EN to the flip circuit 2. After the flip circuit 2 receives the reset signal RST_EN, if the reset signal RST_EN is 1, the first clock signal C_CLK is set to zero, so that the next clock signal C_CLK is set to zero.
- the rising edge is acquired, and due to the delay of the first half delay chain 31, if there are multiple rising edges in the A_pluse signal, B_pluse signal, and C_pluse signal during the delay period, only one rising edge can be set in the first clock signal C_CLK, It can be avoided that the flip circuit 2 repeatedly sets multiple rising edges in the first clock signal C_CLK.
- phase of the first clock signal C_CLK is consistent with the phase of the second clock signal D_CLK, it means that the first clock signal C_CLK and the second clock signal D_CLK can be considered to be two clock signals with the same frequency and phase.
- the delay time of the first half delay chain 31 is half of the clock period of the output third clock signal CDR_CLK, and then the first clock signal C_CLK is delayed by the first half delay chain 31 to obtain the reset signal RST_EN, and the reset signal RST_EN can be in
- the first clock signal C_CLK output by the flip circuit 2 generates a rising edge and resets it to zero, which can ensure that the flip circuit 2 detects the next rising edge in the pulse signal, and at the same time, due to the delay of the first half delay chain 31 to avoid flipping Circuit 2 flips multiple rising edges in a group of pulse signals within the delay time.
- the clock delay module 5 is used to delay the first clock signal C_CLK according to the delay time T11 of the first half delay chain 31 or the delay time T12 of the second half delay chain 32 to obtain the third clock signal CDR_CLK; where the clock delay
- the module 5 is connected to the first half-delay chain 31 or the second half-delay chain 32 (not shown in the figure).
- the clock delay module 5 is provided with a calculation formula for the delay time T2 of the time delay module 6, so that it can be based on the first half
- the delay time T11 of the delay chain 31 or the delay time T12 of the second half delay chain 32 is substituted into the calculation formula to obtain the own delay time T2.
- this embodiment divides the delay chain into two identical half-delay chains to facilitate the output of the reset signal from the half-delay position of the delay chain, which is more convenient.
- the third embodiment of the present application relates to a clock data recovery circuit. Compared with the second embodiment, the main difference of this embodiment is that the specific structure of the half-delay chain and its delay time adjustment method are provided.
- each half-delay chain includes N delay units connected in series in sequence, and each delay unit has one The preset delay time T3, the delay time of each delay unit in each half-delay chain can be set equal, at this time the delay time of the half-delay chain is N*T3; among them, the delay unit can be a buffer
- the N delay units are the buffer BUF1 to the buffer BUFN in Fig. 4, N is an integer greater than 0, and the N buffers BUF are connected in series in sequence.
- N buffers BUF are connected in series to form a first half delay chain 31, and N buffers BUF are connected in series to form a second half delay chain 32.
- the first half delay chain 31 and the second half delay chain 31 are connected in series.
- the chain 32 can form a delay chain 3 containing 2N buffers BUF, the first half-delay chain 31 includes the first N buffers, the second half-delay chain 32 includes the last N buffers, and the buffer of the first half-delay chain 31
- the BUFN is connected to the BUF1 of the second half-delay chain 32, and the first half-delay chain 31 and the second half-delay chain 32 are respectively connected to the delay control module 4.
- the delay control module 4 is used for adjusting the N value of each half of the delay chain according to the phase of the first clock signal C_CLK and the phase of the second clock signal D_CLK. Specifically, taking the maximum length value of the first half-delay chain 31 as an example, the N value of the buffer BUF currently accessed by the first half-delay chain 31 is b, that is, the output tap of the b-th buffer BUF is taken as the first half-delay chain 31.
- the delay control module 4 adjusts the N value of the buffer BUF connected to the first half delay chain 31 according to the phase of the first clock signal C_CLK and the phase of the second clock signal D_CLK, until the first half of the delay chain 31
- the phase of the clock signal C_CLK is consistent with the phase of the second clock signal D_CLK
- c represents the adjusted N value, that is, the N value of the buffer BUF connected to the first half-delay chain 31 is c
- the c-th buffer The output tap of the BUF is used as the output of the first half-delay chain 31, that is, the delay time of the first half-delay chain 31 is controlled.
- the control method of the second half-delay chain 32 is similar to that of the first half-delay chain 31, and will not be repeated here.
- each half-delay chain also includes a register corresponding to each delay unit, so the delay control module 4 can control the opening or closing of the delay unit connected to it by adjusting the value of the register. Specifically, the delay control module 4 adjusts the value of each register according to the phase of the first clock signal and the phase of the second clock signal, so that the delay unit connected to the register turns on or off based on the value of the register, and controls the connection in the half-delay chain.
- the number of incoming delay units Specifically, when the value of the register is 1, the delay unit connected to the register is in the on state; when the value of the register is 0, the delay unit connected to the register is in the off state.
- the number of delay units currently connected to the half-delay chain is k, it means that the value of the register connected to the first k delay units in the half-delay chain is 1.
- the value of the register connected to the last ak delay units is 0. If the number of delay units connected to the half-delay link is controlled to be L, the value of the register connected to the first L delay units in the half-delay chain is controlled to 1, The value of the register connected to the last aL delay units is 0. At this time, the number of delay units connected to the half-delay link is L.
- the delay unit used to output the reset signal RST_EN to the flip circuit 2 in the first half delay chain 31 is called the tap delay contact point, and a preset value X is set in the first half delay chain 31, when After the N value of the first half of the delay chain 31 is determined, the difference M of N minus the preset value X is calculated, and the M-th delay unit to the N-th delay unit are used as the tap interval, and the tap interval is selected
- a delay unit is used as the tap delay connection point, and the signal output from the tap delay connection point is input to the flip circuit 2 as the reset signal RST_EN, that is, the first clock signal C_CLK passes through the first delay unit to the tap delay connection point
- the reset signal RST_EN obtained by the delay generated by the delay unit is input to the flip circuit 2.
- the buffer BUFM to the buffer BUFN of the first half delay chain 31 forms a tap interval, and a buffer is selected from the buffer BUFM to the buffer BUFN included in the tap interval as the tap delay output point, and
- the delay signal output from the tap delay contact point is input to the flip circuit 2 as the reset signal RST_EN, which can reduce the transmission delay of the line, the delay caused by the process and the temperature to a certain extent, so that the first clock signal is output more precise.
- the N-1th delay unit from the N delay units of the first half-delay chain 31 is selected as the tap delay connection point, and the signal output from the tap delay connection point is used as the reset signal, namely
- the first clock signal C_CLK is delayed by the first N-1 buffers to obtain the reset signal RST_EN, and the reset signal RST_EN is input to the flip circuit 2.
- each half-delay chain further includes a NOR circuit; please refer to FIG. 6, the first half-delay chain 31 includes a NOR gate NOR31, and the second half-delay chain 32 includes a NOR gate NOR41.
- the first half of the delay chain 31 receives the first clock signal C_CLK through the input terminal of the NOR gate NOR31, the output terminal of the NOR gate NOR31 is connected to the buffer BUF1, the buffer BUF1 to the buffer BUFN are connected in series in sequence, and the second half delay chain 32
- One input terminal of the NOR gate NOR41 is connected to the buffer BUFN of the first delay chain 3
- the output terminal of the NOR gate NOR41 is connected in series with the BUF1 to BUFN of the second half delay chain 32
- the other of the NOR gate NOR41 The input terminal is connected to a controller (not shown in the figure) in the processing chip, and the controller is used to output a closing control signal to the NOR gate NOR41, which is closed when receiving the closing control signal.
- the controller of the processing chip is connected to the clock control module 4, so that when the phase of the first clock signal C_CLK is consistent with the phase of the second clock signal D_CLK, it can output the shutdown control signal to the second half of the delay chain 32.
- the NOR gate NOR41 is used to close the second half delay chain 32 to reduce power consumption.
- the controller of the processing chip controls the second half-delay chain 32 to remain closed during the current input time of the data signal, and re-controls the second half-delay chain 32 to open when a new data signal is input.
- this embodiment can also set multiple delay chains in the clock data recovery circuit according to data signals of different rates, and each delay chain corresponds to a data signal of one rate, and the delay unit contained in each delay chain
- Each delay chain includes a first half-delay chain 31 and a second half-delay chain 32.
- this embodiment can also set multiple delay chains in the clock data recovery circuit according to data signals of different rates, and each delay chain corresponds to a data signal of one rate, and the delay unit contained in each delay chain
- Each delay chain includes a first half-delay chain 31 and a second half-delay chain 32.
- this embodiment provides the specific structure of the half-delay chain and its delay time adjustment method.
- the fourth embodiment of the present application relates to a clock data recovery circuit.
- the main difference of this embodiment is: please refer to FIG. 7, the delay control module 4 includes a phase comparator 41 and a detector 42 .
- the phase comparator 41 is a phase detector
- the detector 42 may be a digital filter, for example, an average counter.
- the first input terminal of the phase comparator 41 forms the first input terminal of the delay control module 4
- the second input terminal of the phase comparator 41 forms the second input terminal of the delay control module 4
- the output terminal of the second half-delay chain 32 is connected At the first input terminal of the phase comparator 41 to receive the second clock signal D_CLK
- the second input terminal of the phase comparator 41 is connected to the flip circuit 2 to receive the first clock signal C_CLK
- the output terminal of the phase comparator 41 is connected At the input end of the detector 42, the output end of the detector 42 is respectively connected to the first half-delay chain 31 and the second half-delay chain 32.
- the phase comparator 41 is used to obtain the phase difference value according to the phase of the first clock signal C_CLK and the phase of the second clock signal D_CLK; specifically, the phase comparator 41 calculates the phase of the first clock signal C_CLK minus the second clock signal D_CLK The phase difference value of the phase.
- the detector 42 is used to generate a delay control signal for adjusting the delay time according to the phase difference value, and send the delay control signal to the delay chain, that is, to send the delay control signal to the first half-delay chain 31 and the second half-delay respectively Chain 32 to adjust the delay time T11 of the first half-delay chain 31 and the delay time T12 of the second half-delay chain 32.
- the phase comparator 41 is used to obtain multiple phase difference values according to the phase of the first clock signal C_CLK and the phases of the multiple second clock signals output from the delay chain taps.
- the phase comparator 41 respectively calculates the phase difference value of the first clock signal C_CLK minus the phase of each second clock signal D_CLK, so as to obtain multiple phase difference values.
- the detector 42 is used to generate a delay control signal for adjusting the delay time according to the average cumulative value of a plurality of phase difference values, and send the delay control signal to the delay chain, that is, to send the delay control signal to the first half of the delay chain respectively 31 and the second half-delay chain 32 to adjust the delay time T11 of the first half-delay chain 31 and the delay time T12 of the second half-delay chain 32.
- the detector 42 is also used for determining that the phase of the first clock signal C_CLK is consistent with the phase of the second clock signal D_CLK when the absolute value of the average cumulative value of the plurality of phase difference values is less than or equal to the preset threshold, and there is no need to continue to check the first clock signal C_CLK.
- the delay time T11 of the half-delay chain 31 and the delay time T12 of the second half-delay chain 32 are adjusted. Wherein, the preset threshold is greater than or equal to zero.
- the detector 42 adjusts the delay time of the delay chain when the absolute value of the average cumulative value of the multiple phase difference values is greater than the preset threshold.
- the average cumulative value When the average cumulative value is positive, it generates A delay control signal with a large delay time; when the average cumulative value is negative, a delay control signal for reducing the delay time is generated.
- the detector 42 when the detector 42 receives multiple phase difference values sent by the phase comparator 41, it can calculate an average cumulative value based on the multiple phase difference values. If the average cumulative value is positive and greater than the preset value Threshold, it means that the phase of the second clock signal D_CLK is too early, the detector 42 generates a delay control signal for increasing the delay time, and outputs it to the first half delay chain 31 and the second half delay chain 32, respectively, and waits for a new second clock signal D_CLK.
- the second clock signal D_CLK is input to the phase comparator 41, and the above judgment process is repeated; if the average cumulative value is negative and the absolute value of the average cumulative value is greater than the preset threshold, it means that the phase of the second clock signal D_CLK is too late.
- the detector 42 generates a delay control signal for reducing the delay time and outputs it to the first half-delay chain 31 and the second half-delay chain 32 respectively, and waits for a new second clock signal D_CLK to be input to the phase comparator 41, and repeats the above judgment Process; until the absolute value of the average cumulative value is less than or equal to the preset threshold, it is determined that the phase of the first clock signal C_CLK is consistent with the phase of the second clock signal D_CLK.
- the method of controlling the delay time of the delay chain by the delay control signal will be described in detail below in conjunction with the delay chain structure of FIG. 4 in the third embodiment.
- the detector 42 when the detector 42 generates a delay control signal for increasing the delay time, it controls the buffer that the first half-delay chain 31 accesses.
- the number of BUF increases, and the increased number can be the preset step value z, that is, when the detector 42 needs to increase the delay time of the first delay chain 3, it assigns a value of b+z to N, that is, the first delay chain is controlled.
- the number of buffers BUF connected to the half-delay chain 31 is increased to b+z, and the output tap of the b+z-th buffer BUF is used as the output of the first half-delay chain 31; otherwise, the detector 42 generates When the delay control signal is used to reduce the delay time, the number of buffers BUF connected in the first half-delay chain 31 is reduced.
- the reduced number can be a preset step value z, that is, the detector 42 is in need
- N is assigned to bz, that is, the number of buffers BUF connected in the first half-delay chain 31 is reduced to bz, at this time the output of the bz-th buffer BUF The tap is used as the output of the first half delay chain 31.
- the first half delay chain 31 may include an adjustment amount register for controlling the value of N, and the adjustment amount register stores the value of N to control the number of buffers BUF connected to the first half delay chain 31, namely ,
- the detector 42 assigns the value of N in the adjustment register based on the need to adjust the delay time of the first half-delay chain 31, so as to control the output of the Nth buffer BUF in the first half-delay chain 31
- the tap is used as the output of the first half delay chain 31, that is, the delay time of the first half delay chain 31 is controlled.
- the control method of the second half-delay chain 32 is similar to that of the first half-delay chain 31, and will not be repeated here.
- the controller of the processing chip can also send the shutdown control signal to the phase comparator 41 and the detector 42 at the same time to turn off the phase comparator 41 and the detector 42, thereby further reducing power consumption.
- the controller of the processing chip controls the phase comparator 41 and the detector 42 to remain closed during the current data signal input time, and re-controls the phase comparator 41 and the detector 42 to turn on when a new data signal is input.
- this embodiment provides a specific structure of the delay control module.
- the fifth embodiment of the present application relates to a clock data recovery circuit.
- the flip circuit 2 includes a first exclusive OR circuit NOR1 and a second The two exclusive OR circuit NOR2, the NAND circuit NAND, the first PMOS tube PM1, the second PMOS tube PM2, the NMOS tube NM1, the first inverter INV1, the second inverter INV2, and the third inverter INV3.
- the input terminal of the first exclusive OR circuit NOR1 is used to receive pulse signals.
- the first exclusive OR circuit NOR1 has three input terminals, and the three input terminals of the first exclusive OR circuit NOR1 simultaneously receive three pulse signals : A_pluse signal, B_pluse signal and C_pluse signal, the output terminal of the first exclusive OR circuit NOR1 is respectively connected to the first input terminal of the second exclusive OR circuit NOR2 and the first input terminal of the NAND circuit NAND, the first reverse
- the input terminal of the inverter is used to receive the reset signal RST_EN.
- the reset signal RST_EN passes through the first inverter INV1 to obtain the inverted signal RST_EN_b of the reset signal RST_EN.
- the output terminal of the first inverter INV1 is connected to the second inverter INV2.
- the second input terminal of the NAND circuit NAND and the second input terminal of the second exclusive OR circuit NOR2 are used to receive the reset signal through the first inverter INV1, that is, the inverted signal RST_EN_b; the second exclusive OR circuit NOR2
- the output terminal of the first PMOS tube PM1 is connected to the gate of the first PMOS tube PM1, the source of the first PMOS tube PM1 and the source of the second PMOS tube PM2 are respectively connected to the power supply terminal VDD, and the drain of the first PMOS tube PM1 is respectively connected to the NMOS
- the drain of the tube NM1 is connected to the input terminal of the third inverter INV3, and the gate of the second PMOS tube PM2 is used to receive the reset signal RST_EN (not shown in the figure) passing through the first inverter INV1, that is, the inverted signal RST_EN_b is input to the gate of the second PMOS tube PM
- GND is used as the reference potential terminal
- the output terminal of the third inverter INV3 is used to output the first clock signal, that is, the third inverter INV3 is connected to the first half delay chain 31, the delay control module 4, and the clock delay module 5, respectively.
- the inverted signal RST_EN_b of the reset signal RST_EN is obtained by the reset signal RST_EN through the first inverter INV1, and then restored through the second inverter INV2 to obtain the reset signal RST_EN input to the NAND circuit NAND.
- the reset signal RST_EN Take the second input terminal and input the inverted signal RST_EN_b of the reset signal RST_EN obtained by the first inverter INV1 to the gate of the second PMOS transistor PM2 as an example, but it is not limited to this, and the reset signal RST_EN can also be directly input to The second input terminal of the NAND circuit NAND, at the same time, the reset signal RST_EN is connected to the gate of the second PMOS transistor PM2 through an inverter, that is, the inverted signal RST_EN_b of the reset signal RST_EN is input to the gate of the second PMOS transistor PM2 pole.
- this embodiment provides a specific structure of the flip circuit.
- the sixth embodiment of the present application relates to a processing chip, including the clock data recovery circuit of any one of the first to fifth embodiments.
- the processing chip is applied to an electronic device, and the electronic device can be a receiving-side device and a sending-side device.
- the sending-side device may be a camera, display screen, memory, etc. in an electronic device, and the receiving-side device may be the aforementioned processing chip.
- the seventh embodiment of the present application relates to an electronic device, including the processing chip of the sixth embodiment.
- the electronic device can be a receiving-side device and a sending-side device respectively, and the sending-side device can be a camera, a display screen, a memory, etc. in the electronic device.
- the receiving device can be the above-mentioned processing chip.
Landscapes
- Pulse Circuits (AREA)
Abstract
L'invention concerne un circuit de récupération d'horloge et de données, une puce de traitement et un dispositif électronique. Le circuit de récupération d'horloge et de données comprend un détecteur de bord, un circuit de retournement (2), une chaîne de retard (3), un module de commande de retard (4) et un module de retard d'horloge (5), le module de commande de retard (4) étant utilisé pour ajuster un temps de retard de la chaîne de retard (3) en fonction de la phase d'un premier signal d'horloge et de la phase d'un second signal d'horloge jusqu'à ce que la phase du premier signal d'horloge soit cohérente avec la phase du second signal d'horloge, et le second signal d'horloge est un premier signal d'horloge retardé par la chaîne de retard (3) ; et le circuit de retournement (2) est utilisé pour réinitialiser le premier signal d'horloge lors de la détection du fait qu'un signal de réinitialisation, qui est obtenu après que le premier signal d'horloge est retardé par la chaîne de retard (3), est à un niveau élevé. Pour des signaux numériques de débits différents, un temps de retard d'une chaîne de retard est ajusté de manière adaptative, de manière à obtenir des signaux d'horloge qui correspondent aux débits des signaux numériques, de telle sorte qu'une adaptation à la récupération des signaux numériques de débits divers peut être réalisée.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2020/092595 WO2021237509A1 (fr) | 2020-05-27 | 2020-05-27 | Circuit de récupération d'horloge et de données, puce de traitement et dispositif électronique |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2020/092595 WO2021237509A1 (fr) | 2020-05-27 | 2020-05-27 | Circuit de récupération d'horloge et de données, puce de traitement et dispositif électronique |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2021237509A1 true WO2021237509A1 (fr) | 2021-12-02 |
Family
ID=78745218
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2020/092595 Ceased WO2021237509A1 (fr) | 2020-05-27 | 2020-05-27 | Circuit de récupération d'horloge et de données, puce de traitement et dispositif électronique |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2021237509A1 (fr) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114244372A (zh) * | 2021-12-20 | 2022-03-25 | 杭州万高科技股份有限公司 | 一种曼彻斯特编码的定时信息恢复电路 |
| CN118801858A (zh) * | 2024-09-10 | 2024-10-18 | 南京云程半导体有限公司 | 一种信号传输电路及芯片 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106385251A (zh) * | 2016-09-14 | 2017-02-08 | 豪威科技(上海)有限公司 | 时钟数据恢复电路 |
| CN107959563A (zh) * | 2016-10-18 | 2018-04-24 | 豪威科技股份有限公司 | 用于mipi c-phy接收器的突发模式时钟数据恢复电路 |
| CN109644020A (zh) * | 2016-08-31 | 2019-04-16 | 高通股份有限公司 | 用于自适应均衡、自适应边沿跟踪以及延迟校准的c-phy训练模式 |
| WO2019212630A1 (fr) * | 2018-05-04 | 2019-11-07 | Qualcomm Incorporated | Séquence d'étalonnage et correction de distorsion de cycle de service pour la récupération de données d'horloge dans une interface multi-fil multi-phase |
-
2020
- 2020-05-27 WO PCT/CN2020/092595 patent/WO2021237509A1/fr not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109644020A (zh) * | 2016-08-31 | 2019-04-16 | 高通股份有限公司 | 用于自适应均衡、自适应边沿跟踪以及延迟校准的c-phy训练模式 |
| CN106385251A (zh) * | 2016-09-14 | 2017-02-08 | 豪威科技(上海)有限公司 | 时钟数据恢复电路 |
| CN107959563A (zh) * | 2016-10-18 | 2018-04-24 | 豪威科技股份有限公司 | 用于mipi c-phy接收器的突发模式时钟数据恢复电路 |
| WO2019212630A1 (fr) * | 2018-05-04 | 2019-11-07 | Qualcomm Incorporated | Séquence d'étalonnage et correction de distorsion de cycle de service pour la récupération de données d'horloge dans une interface multi-fil multi-phase |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114244372A (zh) * | 2021-12-20 | 2022-03-25 | 杭州万高科技股份有限公司 | 一种曼彻斯特编码的定时信息恢复电路 |
| CN118801858A (zh) * | 2024-09-10 | 2024-10-18 | 南京云程半导体有限公司 | 一种信号传输电路及芯片 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111404543B (zh) | 时钟数据恢复电路、处理芯片及电子设备 | |
| TWI699974B (zh) | 多相位時脈資料回復電路校正 | |
| EP3326340B1 (fr) | Égalisation en fonction du temps pour émetteur-récepteur c-phy triphasé | |
| CN105144624B (zh) | 用于生成时钟信号的方法和装置 | |
| TWI720008B (zh) | 用於三相介面之多相位時脈資料回復 | |
| US9735950B1 (en) | Burst mode clock data recovery circuit for MIPI C-PHY receivers | |
| US10313068B1 (en) | Signal monitoring and measurement for a multi-wire, multi-phase interface | |
| US10333690B1 (en) | Calibration pattern and duty-cycle distortion correction for clock data recovery in a multi-wire, multi-phase interface | |
| TWI762012B (zh) | 用於下一代c-phy介面的開迴路、超快速及半速率時脈以及資料恢復方法及適用之設備與非暫態儲存媒體 | |
| CN106063181B (zh) | 接收机电路和在接收机电路上操作的方法 | |
| WO2019212629A1 (fr) | Récupération de données d'horloge multiphase avec suivi adaptatif pour une interface à phases multiples à fils multiples | |
| CN106385251A (zh) | 时钟数据恢复电路 | |
| WO2021237509A1 (fr) | Circuit de récupération d'horloge et de données, puce de traitement et dispositif électronique | |
| CN115462039A (zh) | C-phy接口中的单位间隔抖动改进 | |
| TWI822732B (zh) | 獨立配對的3相眼圖取樣電路 |
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: 20937518 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 20937518 Country of ref document: EP Kind code of ref document: A1 |