WO2021237509A1 - Clock and data recovery circuit, processing chip and electronic device - Google Patents
Clock and data recovery circuit, processing chip and electronic device 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
Description
本申请涉及信号处理技术领域,特别涉及一种时钟数据恢复电路、处理芯片及电子设备。This application relates to the field of signal processing technology, and in particular to a clock data recovery circuit, processing chip and electronic equipment.
移动产业处理器接口(Mobile Industry Processor Interface,MIPI)联盟是为移动应用处理器制定的开放标准和一个规范,为有效提高带宽和降低功耗而服务。MIPI联盟自定义了D类物理层协议(简称D-PHY)、M类物理层协议(简称M-PHY)和C类物理层协议(简称C-PHY)三种电路规范。其中,在D-PHY中,发送侧设备通过一个时钟通道直接发出一个时钟信号给接收侧设备,以便于接收侧设备恢复出数据,而C-PHY使用三相信号技术通过在传输的数据中嵌入时钟的方式传输数据,和D-PHY相比,在相同码元率下,C-PHY可以传递2.28倍的数据,由此可见,C-PHY可在低功耗的前提下实现高数据吞吐量。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). Among them, in 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, while C-PHY uses three-phase signal technology by embedding in the transmitted data The clock transfers data. Compared with D-PHY, 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. .
现有的摄像头、显示屏、移动通讯、存储等在连接的物理层上,对数据线速率的要求越来越高,使用的数据线的数量越来越少,C-PHY的每一个Trio组线包括三根线,C-PHY作为连接的物理层时,具有速率高、线数少的优点。Existing cameras, display screens, mobile communications, storage, etc. are on the physical layer of the connection. The requirements for data line rate are getting higher and higher, and the number of data lines used is decreasing. Each Trio group of C-PHY The line includes three lines. When C-PHY is used as the physical layer of the connection, it has the advantages of high speed and few lines.
对于利用C-PHY型MIPI接口连接的两个设备,发送侧设备有高、中、低三种信号电压强度,接收侧设备计算三个信号的差值,并利用制定的编解码转换图来进行解码,同时恢复信号时钟。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.
发明内容Summary of the invention
本申请实施例的目的在于提供一种时钟数据恢复电路、处理芯片及电子设备,针对不同速率的数字信号,自适应的调整延迟链的延时时间,以得到与数字信号的速率匹配的时钟信号,从而能够适应多种速率的数字信号的恢复。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 embodiment of the application is now based on the prior art, 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. After 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. 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.
例如,延迟链包括第一半延迟链与第二半延迟链,第一半延迟链的延迟时间与第二半延迟链的延迟时间相等;延迟控制模块用于根据第一时钟信号的相位与第二时钟信号的相位,调整第一半延迟链的延迟时间与第二半延迟链的延迟时间;翻转电路用于检测到第一时钟信号经过延迟链中的第一半延迟链延迟后得到的复位信号处于高电平时,将第一时钟信号置零;时钟延迟模块用于根据第一半延迟链的延时时间或第二半延迟链的延迟时间对第一时钟信号进行延迟处理,得到第三时钟信号。本实施例中,将延迟链分为两个相同的半延迟链,便于从延迟链的半延迟位置输出复位信号,更加方便。For example, 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. In this embodiment, 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.
例如,第一半延迟链与第二半延迟链的结构相同;每个半延迟链均包括N个延时单元,N为大于0的整数;延迟控制模块用于根据第一时钟信号的相位与第二时钟信号的相位,调整各半延迟链的N值。本实施例提供了第一半延迟链与第二半延迟链的具体结构以及每个半延迟链调整延时时间的具体方式。For example, 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.
例如,第一半延迟链用于根据N的值,确定第M个延时单元至第N个延时单元作为抽头区间,并从抽头区间中选择一个延时单元作为抽头延迟接出 点,并将抽头延迟接出点输出的信号作为复位信号,M为N减去预设值的差值。本实施例提供了生成复位信号的一种实现方式,可以在一定程度上减小线的传输延迟、工艺以及温度导致的延时,使的输出时钟信号更加准确。For example, 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.
例如,第一半延迟链用于从N个延时单元中选择第N-1个延时单元作为抽头延迟接出点。For example, 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.
例如,每个半延迟链还包括或非门电路;第一半延迟链用于通过包含的或非门电路接收第一时钟信号;第二半延迟链通过包含的或非门电路连接于第一半延迟链,第二半延迟链还用于在通过包含的或非门电路接收到关闭控制信号时被关闭。本实施例中第二半延迟链可以在通过或非门电路接收到关闭控制信号时被关闭,以减少功耗。For example, 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. In this embodiment, 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.
例如,延迟控制模块包括相位比较器与检测器;相位比较器用于根据第一时钟信号的相位与第二时钟信号的相位,得到相位差值;检测器用于根据相位差值,生成用于调整延迟时间的延迟控制信号,并将延迟控制信号发送到延迟链。本实施例中,提供了延迟空中模块的一种具体结构。For example, 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. In this embodiment, a specific structure of the delay air module is provided.
例如,相位比较器用于根据第一时钟信号的相位与从延迟链抽头输出的多个第二时钟信号的相位,得到多个相位差值;检测器用于根据多个相位差值的平均累积值,生成用于调整延迟时间的延迟控制信号,并将延迟控制信号发送到延迟链;检测器用于在多个相位差值的平均累积值小于预设阈值时,判定第一时钟信号与第二时钟信号的相位一致。本实施例中,相位比较能够计算得到多个相位差值,检测器则能够根据这个多个相位差值计算得到平均累积值,并根据该平均累计值生成用于调整延迟时间的延迟控制信号,能够得到更加准确的延迟控制信号。For example, 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. In this embodiment, 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.
例如,检测器用于在平均累积值为正值时,生成用于增大延迟时间的延迟控制信号;检测器用于在平均累积值为负值时,生成用于减小延迟时间的延迟控制信号。For example, 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.
例如,一组数字信号包括三个数字信号;鉴沿器包括分别与三个数字信号对应的三个鉴沿电路;每个鉴沿电路包括异或门电路与延迟模块;每个异或门电路的第一输入端用于接收对应的数字信号,每个异或门电路的第二输入端用于接收通过延迟模块延迟后的对应的数字信号,异或门电路用于通过输出端输出与接收的数字信号对应的一个脉冲信号。本实施例提供了鉴沿器的一种具体结构。For example, 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. This embodiment provides a specific structure of the edge detector.
例如,翻转电路包括第一异或门电路、第二异或门电路、与非门电路、第一PMOS管、第二PMOS管、NMOS管,第一反相器、第二反相器以及第三反相器;第一异或门电路的输入端用于接收一组脉冲信号,第一异或门电路的输出端分别连接于第二异或门电路的第一输入端以及与非门电路的第一输入端,第一反相器的输入端用于接收复位信号,第一反相器的输出端通过第二反相器连接于与非门电路的第二输入端,第二异或门电路的第二输入端用于接收经过第一反相器的复位信号;第二异或门电路的输出端连接于第一PMOS管的栅极,第一PMOS管的源极以及第二PMOS管的源极分别连接于电源端,第一PMOS管的漏极分别连接于NMOS管的漏极与第三反相器的输入端,第二PMOS管的栅极用于接收经过第一反相器的复位信号,第二PMOS管的漏极连接于第三反相器的输入端,NMOS管的源极连接于参考电势端;第三反相器的输出端用于输出第一时钟信号。本实施例提供了翻转电路的一种具体结构。For example, 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. Three inverters; 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, and 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, and 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 the source of the NMOS tube is connected to the reference potential terminal; the output terminal of the third inverter is used to output the first clock signal. This embodiment provides a specific structure of the flip circuit.
例如,每个半延迟链还包括与各延时单元对应连接的寄存器;延迟控制 模块用于根据第一时钟信号的相位与第二时钟信号的相位,调整各寄存器的值,以供连接寄存器的延时单元基于寄存器的值开启或关闭。本实施例提供了一种对半延迟链中接入延时单元的数量进行控制的一种具体实现方式。For example, 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.
例如,一组数字信号包括:由C-PHY信号解码得到的三个数字信号。For example, a group of digital signals includes: three digital signals obtained by decoding the C-PHY signal.
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。One or more embodiments are exemplified by the pictures in the corresponding drawings. These exemplified descriptions do not constitute a limitation on the embodiments. The elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the attached drawings do not constitute a scale limitation.
图1是根据本申请第一实施例中的时钟数据恢复电路的示意图;Fig. 1 is a schematic diagram of a clock data recovery circuit according to the first embodiment of the present application;
图2是根据本申请第一实施例中一组脉冲信号经过的时钟数据恢复电路后得到的第三时钟信号的示意图;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;
图3是根据本申请第二实施例中的时钟数据恢复电路的示意图;Fig. 3 is a schematic diagram of a clock data recovery circuit according to a second embodiment of the present application;
图4是根据本申请第三实施例中的第一半延迟链与第二半延迟链的示意图;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;
图5是根据本申请第三实施例中的半延迟链的示意图;FIG. 5 is a schematic diagram of a semi-delay chain according to a third embodiment of the present application;
图6是根据本申请第三实施例中的第一半延迟链与第二半延迟链的示意图,其中每个半延迟链还包括或非门电路;6 is a schematic diagram of the first half-delay chain and the second half-delay chain according to the third embodiment of the present application, wherein each half-delay chain further includes a NOR circuit;
图7是根据本申请第四实施例中的时钟数据恢复电路的示意图;FIG. 7 is a schematic diagram of a clock data recovery circuit in a fourth embodiment of the present application;
图8是根据本申请第四实施例中的延迟链输出多个第二时钟信号到相位比较器的具体实现方式;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;
图9是根据本申请第五实施例的时钟数据恢复电路中翻转电路的示意图。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.
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请实施例进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the objectives, technical solutions, and advantages of the present application clearer, the following describes the embodiments of the present application in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not used to limit the present application.
目前,接收侧设备在恢复发送侧设备的数据信号的时钟时,一般会设定一个固定的延迟,但是对于不同速率的数据信号均采用相同的延迟,则会导致恢复出来的时钟信号不准确。基于此,发明人提出了本申请的技术方案。At present, when the receiving side device recovers the clock of the data signal of the sending side device, a fixed delay is generally set, but the same delay is used for data signals of different rates, which will cause the recovered clock signal to be inaccurate. Based on this, the inventor proposed the technical solution of this application.
本申请第一实施例涉及一种时钟数据恢复(Clock and Data Recovery,简称CDR)电路,可应用于电子设备中的处理芯片,比如,可以作为处理器芯片的一部分,连接到处理器芯片的C-PHY型MIPI接口以获取含时钟的信号,并从该信号中恢复出时钟与数据。CDR可以为一种低电压的CDR电路,电子设备中可以同时包括接收侧设备和发送侧设备,发送侧设备可以为电子设备中的图像传感器、显示屏、存储器等,接收侧设备则可以为上述的处理芯片,发送侧设备和接收侧设备可以通过C-PHY型MIPI接口连接。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. For example, it can be used as a part of a processor chip and connected to the C of the processor chip. -PHY type MIPI interface to obtain the signal containing the clock, and recover the clock and data from the signal. 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.
请参考图1,本实施例的时钟数据恢复电路包括鉴沿器、翻转电路2、延迟链3、延迟控制模块4以及时钟延迟模块5。在一个例子中,时钟数据恢复电路还包括采集器6。Please refer to FIG. 1, the clock data recovery circuit of this embodiment includes an edge detector, a
本实例中输入到时钟数据恢复电路为一组数字信号,包括三个数字信号,分别为图中A信号、B信号以及C信号,在一个例子中,鉴沿器包括分别与A信号、B信号以及C信号这三个数字信号一一对应的三个鉴沿电路,每个鉴沿电路包括异或门电路与延迟模块12,三个异或门分别为图中的异或门XOR1、 异或门XOR2以及异或门XOR3。In this example, 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. In one example, the edge detector includes the A signal and the B signal. And 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
需要说明的是,本实例中的一组数字信号为来源于发送侧设备的C-PHY信号经过处理芯片中的信号处理后得到的三个数字信号,具体的,发送侧设备和接收侧设备通过C-PHY型MIPI接口连接时,发送侧设备和接收侧设之间包括三根连接线,接收侧设备接收到的C-PHY信号包括x信号、y信号、z信号,x信号、y信号、z信号包括高中低三种电压,处理芯片分别计算x信号、y信号、z信号中两两电压之间的差值,并基于C-PHY的编解码转换图得到三个数字信号,即为本实施例中输入到CDR中的A信号、B信号以及C信号。It should be noted that 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. Specifically, 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 In the example, the A signal, B signal, and C signal are input to the CDR.
鉴沿器用于获取输入的一组数字信号的上升沿,得到一组脉冲信号;具体的,对于鉴沿器中的鉴沿电路来说,每个异或门的第一端输入端用于接收对应的数字信号,每个异或门的第二输入端用于接收通过延迟模块延迟后的对应的数字信号,异或门电路用于通过输出端输出与接收的数字信号对应的一个脉冲信号。以A信号为例,A信号直接输入到异或门XOR1的第一输入端,A信号通过延迟模块12延迟后输入到异或门XOR1的第二输入端,延迟模块12的延时时间为预设值,即A信号与A信号延迟后分别输入到异或门XOR1的两个输入端,从而能够获取A信号的上升沿,得到A信号对应的脉冲信号A_pluse信号;同理,能够得到B信号对应的脉冲信号B_pluse信号、C信号对应的脉冲信号C_pluse信号,A_pluse信号、B_pluse信号以及C_pluse信号组成了与一组数字信号对应的一组脉冲信号。对于三个鉴沿电路而言,其所分别包含的延迟模块12的延时时间一般设置相等,例如为50皮秒。翻转电路2用于在检测到一组脉冲信号中任一脉冲信号的上升沿时,在输出的第一时钟信号上生成对应的上升沿,具体的,异或门XOR1的输出端、异或门XOR2的输出端以及 异或门XOR3的输出端分别连接到翻转电路2的三个输入端,即A_pluse信号、B_pluse信号以及C_pluse信号同时输入到翻转电路2,对于每组脉冲信号,翻转电路2在检测到该组脉冲信号中A_pluse信号、B_pluse信号以及C_pluse信号中任一脉冲信号的上升沿时,便在输出的第一时钟信号C_CLK上生成一个从0到1的上升沿。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. Take the A signal as an example. The A signal is directly input to the first input terminal of the XOR gate XOR1, and the A signal is delayed by the
翻转电路2的输出端分别连接于延迟链3、延迟控制模块4以及时钟延迟模块5,从而可以将第一时钟信号C_CLK分别输入到延迟链3、延迟控制模块4以及时钟延迟模块5,延迟链3的一个输出端连接于延迟控制模块4的第一输入端,翻转电路2的输出端连接于延迟控制模块4的第二输入端,延迟链3的另一个输出端连接于翻转电路2,延迟控制模块4的输出端连接于延迟链3。The output ends of the
第一时钟信号C_CLK在经过延迟链3的延迟后,得到第二时钟信号D_CLK,延迟控制模块4的第一输入端接收到该第二时钟信号D_CLK,延迟控制模块4的第二输入端接收到翻转电路2输出的第一时钟信号C_CLK,此时延迟控制模块4能够根据第一时钟信号C_CLK的相位与第二时钟信号D_CLK的相位,调整延迟链3的延迟时间T1,直至第一时钟信号C_CLK的相位与第二时钟信号D_CLK的相位一致。After the first clock signal C_CLK is delayed by the delay chain 3, the second clock signal D_CLK is obtained. The first input terminal of the
延迟链3连接于翻转电路2的输出端,第一时钟信号C_CLK经过第一半延迟链31的延时后得到复位信号RST_EN,该复位信号RST_EN被输出到翻转电路2,翻转电路2还用于在检测到该复位信号RST_EN处于高电平时,将第一时钟信号置零,即翻转电路2接收延迟链3输出的复位信号RST_EN,在复位信号RST_EN为1时,将第一时钟信号C_CLK置零,从而能够对下一个上升沿进行获取;并且由于延迟链3的延迟,若在延迟期间A_pluse信号、 B_pluse信号以及C_pluse信号中存在多个上升沿,则能够仅在第一时钟信号C_CLK中设置一个上升沿,能够避免翻转电路2在第一时钟信号C_CLK中重复设置多个上升沿。The delay chain 3 is connected to the output terminal of the flipping
时钟延迟模块5用于根据延迟链3的延迟时间T1对第一时钟信号C_CLK进行延迟处理,得到第三时钟信号CDR_CLK,并将第三时钟信号CDR_CLK输入到采集器6,以供采集器6根据第三时钟信号CDR_CLK恢复数据信号。具体的,时钟延迟模块5能够获取延迟链3的延迟时间T1,再根据延迟链3的延迟时间T1来调整自身的延迟时间T2,得到大于采集器6的建立时间的延迟时间,以确保采集器6能够进行时钟和信号的恢复。The
其中,时间延迟模块6可以连接于延迟链3,从而可以读取延迟链3的延时时间T1,时钟延迟模块5中设置有时间延迟模块6的延迟时间T2的计算公式,从而可以基于该延迟时间T1得到自身的延迟时间T2,举例来说,以T1表示延迟链3的延迟时间,以T2表示时间延迟模块6的延迟时间,则延迟时间T2的计算公式为:T2=(K+a)*T1/2,K为正整数、0<a<0.2。Among them, the
本实施例中,采集器6可以按照第三时钟信号CDR_CLK去采集A信号、B信号、C信号,继而恢复得到对应的RA信号、RB信号以及RC信号,具体的,由第一时钟信号C_CLK延时得到第三时钟信号CDR_CLK的能够包含A信号、B信号、C信号这三个数字信号中任一信号的所有上升沿,A信号、B信号以及C信号依次输入到采集器6,采集器6基于第三时钟信号CDR_CLK的每个上升沿进行一次信号的恢复,得到包含时钟的信号,从而能够得到A信号、B信号以及C信号分别对应的RA信号、RB信号以及RC信号。请参考图2,为一组脉冲信号经过本实施例中的时钟数据恢复电路后得到的第三时钟信号 CDR_CLK的示意图。In this embodiment, the
本实施例相对于现有技术而言,鉴沿器能够获取输入一组数字信号中各数字信号的上升沿,生成一组脉冲信号,翻转电路在接收到该组脉冲信号后,能够在检测到该组脉冲信号中的任一脉冲信号的上升沿时,在输出的第一时钟信号上生成对应的上升沿,第一时钟信号经过延迟链延时后得到的第二时钟信号,延迟控制模块能够根据第一时钟信号的相位与第二时钟信号的相位,调整延迟链的延时时间,直至第一时钟信号的相位与第二时钟信号的相位一致,同时第一时钟信号经过延迟链延迟后得到的复位信号被输入到翻转电路,翻转电路在检测到复位信号处于高电平时,将第一时钟信号置零,经过上述过程得到第一时钟信号还被输入到时钟延迟模块,时钟延迟模块则可以根据延迟链的延迟时间对第一时钟信号进行延迟处理,得到第三时钟信号并输入到采集器,以供采集器根据第三时钟信号恢复数据信号,本实施例中,针对不同速率的数字信号,自适应的调整延迟链的延时时间,以得到与数字信号的速率匹配的时钟信号,从而能够适应多种速率的数字信号的恢复。Compared with the prior art, 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. After receiving the 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. 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. In this embodiment, for digital signals of different rates , 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 adapt to the recovery of digital signals at multiple rates.
本申请第二实施例涉及一种时钟数据恢复电路,本实施例相对于第一实施例而言,主要不同之处在于:将延迟链划分为两个相同的子延迟链。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.
本实施例中,请参考图3,延迟链3包括第一半延迟链311与第二半延迟链32,第一半延迟链31的一个输出端连接于第二半延迟链32的输入端,第一半延迟链31的另一个输出端连接于翻转电路2,第二半延迟链32的输出端连接于延迟控制模块4的第一输入端,延迟控制模块4的输出端分别连接于第一半延迟链31与第二半延迟链32。其中,第一半延迟链311的延迟时间与第二半延迟链32的延迟时间相等。In this embodiment, referring to FIG. 3, the delay chain 3 includes a first half delay chain 311 and a second
延迟控制模块4用于根据第一时钟信号C_CLK的相位与第二时钟信号D_CLK的相位,调整第一半延迟链31的延迟时间T11与第二半延迟链32的延迟时间T12。The
第一时钟信号C_CLK在依次经过第一半延迟链31和第二半延迟链32后,得到第二时钟信号D_CLK,延迟控制模块4通过第一输入端接收到第二时钟信号D_CLK、并通过第二输入端接收到第一时钟信号C_CLK,延迟控制模块4能够根据第一时钟信号C_CLK与第二时钟信号D_CLK,调整第一半延迟链31的延迟时间与第二半延迟链32的延迟时间,直至第一时钟信号C_CLK的相位与第二时钟信号D_CLK的相位一致。After the first clock signal C_CLK passes through the first
本实施例中,当第一时钟信号C_CLK的相位与第二时钟信号D_CLK的相位一致时,说明此时可以认为第一时钟信号C_CLK与第二时钟信号D_CLK为同频同相的两个时钟信号,此时第一半延迟链31的延迟时间T11为输出的第三时钟信号的时钟周期的一半,继而第一时钟信号C_CLK经过第一半延迟链31的延迟得到复位信号RST_EN,复位信号RST_EN能够在翻转电路2输出的第一时钟信号C_CLK产生上升沿后对其进行置零,能够确保翻转电路2检测到脉冲信号中的下一个上升沿,同时由于经过第一半延迟链31的延迟,避免翻转电路2在延迟时间内对一组脉冲信号中的多个上升沿进行翻转。In this embodiment, when the 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. At this time, the delay time T11 of the first
由于第一半延迟链31的输出端连接于翻转电路2,第一半延迟链31在通过输入端接收到第一时钟信号C_CLK时,第一时钟信号C_CLK经过第一半延迟链31的延时后得到复位信号RST_EN,并输出该复位信号RST_EN到翻转电路2,翻转电路2在接收到该复位信号RST_EN后,若复位信号RST_EN为1,将第一时钟信号C_CLK置零,从而能够对下一个上升沿进行获取,并且 由于第一半延迟链31的延迟,若在延迟期间A_pluse信号、B_pluse信号以及C_pluse信号中存在多个上升沿,则能够仅在第一时钟信号C_CLK中设置一个上升沿,能够避免翻转电路2在第一时钟信号C_CLK中重复设置多个上升沿。Since the output terminal of the first
本实施例中,当第一时钟信号C_CLK的相位与第二时钟信号D_CLK的相位一致时,说明此时可以认为第一时钟信号C_CLK与第二时钟信号D_CLK为同频同相的两个时钟信号,此时第一半延迟链31的延迟时间为输出的第三时钟信号CDR_CLK的时钟周期的一半,继而第一时钟信号C_CLK经过第一半延迟链31的延迟得到复位信号RST_EN,复位信号RST_EN能够在翻转电路2输出的第一时钟信号C_CLK产生上升沿后对其进行置零,能够确保翻转电路2检测到脉冲信号中的下一个上升沿,同时由于经过第一半延迟链31的延迟,避免翻转电路2在延迟时间内对一组脉冲信号中的多个上升沿进行翻转。In this embodiment, when the 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. At this time, the delay time of the first
时钟延迟模块5用于根据第一半延迟链31的延时时间T11或第二半延迟链32的延迟时间T12对第一时钟信号C_CLK进行延迟处理,得到第三时钟信号CDR_CLK;其中,时钟延迟模块5连接于第一半延迟链31或第二半延迟链32(图中未示出),时钟延迟模块5中设置有时间延迟模块6的延迟时间T2的计算公式,从而能够基于第一半延迟链31的延时时间T11或第二半延迟链32的延迟时间T12,代入计算公式得到自身延时时间T2。举例来说,时钟延迟模块5的延迟时间T2的计算公式为T2=(K+a)*T11,K为正整数、0<a<0.2。The
本实施例相对于现有技术而言,将延迟链分为两个相同的半延迟链,便于从延迟链的半延迟位置输出复位信号,更加方便。Compared with the prior art, 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.
本实施例中,第一半延迟链31与第二半延迟链32的结构相同,请参考图4,每个半延迟链均包括依次串联的N个延时单元,每个延时单元具有一个预设的延时时间T3,每个半延迟链中的各延时单元的延时时间可以设置相等,此时该半延迟链的延时时间为N*T3;其中,延时单元可以为缓冲器BUF,N个延时单元即为图4缓冲器BUF1至缓冲器BUFN,N为大于0的整数,N个缓冲器BUF依次串接。In this embodiment, the first half-
本实施例中,N个缓冲器BUF依次串接形成第一半延迟链31,另外N个缓冲器BUF依次串接形成的第二半延迟链32,第一半延迟链31与第二半延迟链32可以形成一个含有2N个缓冲器BUF的延迟链3,第一半延迟链31包括前N个缓冲器,第二半延迟链32包括后N个缓冲器,第一半延迟链31的缓冲器BUFN与第二半延迟链32的BUF1相连接,第一半延迟链31与第二半延迟链32分别连接于延迟控制模块4。In this embodiment, N buffers BUF are connected in series to form a first
延迟控制模块4用于根据第一时钟信号C_CLK的相位与第二时钟信号D_CLK的相位,调整各半延迟链的N值。具体的,以第一半延迟链31的最大长度值为a为例,第一半延迟链31当前接入的缓冲器BUF的N值为b,即将第b个缓冲器BUF的输出抽头作为第一半延迟链31的输出,延迟控制模块4根据第一时钟信号C_CLK的相位与第二时钟信号D_CLK的相位对第一半延迟链31接入的缓冲器BUF的N值进行调整,直至第一时钟信号C_CLK的相位与第二时钟信号D_CLK的相位一致,以c表示调整后的N值,即第一半延迟链31接入的缓冲器BUF的N值为c,此时第c个缓冲器BUF的输出抽头作为 第一半延迟链31的输出,即控制了第一半延迟链31的延时时间。第二半延迟链32的控制方式与第一半延迟链31类似,在此不再赘述。The
本实施例中,每个半延迟链还包括与各延时单元对应连接的寄存器,从而延迟控制模块4可以通过调整寄存器的值,来控制与其连接的延时单元的开启或关闭。具体的,延迟控制模块4根据第一时钟信号的相位与第二时钟信号的相位,调整各寄存器的值,以供连接寄存器的延时单元基于寄存器的值开启或关闭,控制半延迟链中接入的延时单元的数量。具体的,当寄存器的值为1时,该寄存器所连接的延时单元处于开启状态;当寄存器的值为0时,该寄存器所连接的延时单元处于关闭状态。以半延迟链的最大长度值为a为例,若半延迟链当前接入的延时单元的数量为k,则说明该半延迟链中前k个延时单元所连接的寄存器的值1,后a-k个延时单元所连接的寄存器的值0,若要控制半延迟链接入的延时单元的数量为L,则控制半延迟链中前L个延时单元所连接的寄存器的值1,后a-L个延时单元所连接的寄存器的值0,此时该半延迟链接入的延时单元的数量即为L。In this embodiment, each half-delay chain also includes a register corresponding to each delay unit, so the
本实施例中,第一半延迟链31中用于输出复位信号RST_EN到翻转电路2的延迟单元称为抽头延迟接出点,第一半延迟链31中设定有一个预设值X,当第一半延迟链31的N值确定后,计算N减去预设值X的差值M,并将第M个延时单元至第N个延时单元作为抽头区间,从该抽头区间中选择一个延时单元作为抽头延迟接出点,并将抽头延迟接出点输出的信号作为复位信号RST_EN输入到翻转电路2,即第一时钟信号C_CLK经过第一个延时单元至抽头延迟接出点处所包括延时单元产生的延时所得到复位信号RST_EN输入到翻转电路2。以图5为例,第一半延迟链31的缓冲器BUFM至缓冲器BUFN形 成抽头区间,从抽头区间所包含的缓冲器BUFM至缓冲器BUFN中选择一个缓冲器作为抽头延迟接出点,并将抽头延迟接出点输出的延时信号作为复位信号RST_EN输入到翻转电路2,由此可以在一定程度上减小线的传输延迟、工艺以及温度导致的延时,使的输出第一时钟信号更加准确。In this embodiment, the delay unit used to output the reset signal RST_EN to the
在一个例子中,从第一半延迟链31的N个延时单元中选择第N-1个延时单元作为抽头延迟接出点,并将抽头延迟接出点输出的信号作为复位信号,即第一时钟信号C_CLK经过前N-1个缓冲器延时得到复位信号RST_EN,并将该复位信号RST_EN输入到翻转电路2中。In an example, the N-1th delay unit from the N delay units of the first half-
在一个例子中,每个半延迟链还包括或非门电路;请参考图6,第一半延迟链31包括或非门NOR31,第二半延迟链32包括或非门NOR41。In an example, each half-delay chain further includes a NOR circuit; please refer to FIG. 6, the first half-
第一半延迟链31通过或非门NOR31的输入端接收第一时钟信号C_CLK,或非门NOR31的输出端连接于缓冲器BUF1,缓冲器BUF1至缓冲器BUFN依次串联,第二半延迟链32的或非门NOR41的一个输入端连接于第一延迟链3的缓冲器BUFN,或非门NOR41的输出端与第二半延迟链32中BUF1至BUFN依次串联连接,或非门NOR41的另一个输入端连接于处理芯片中的控制器(图中未示出),控制器用于输出关闭控制信号到或非门NOR41,或非门NOR41在接收到关闭控制信号时被关闭。The first half of the
示例性的,处理芯片的控制器连接于时钟控制模块4,从而可以在第一时钟信号C_CLK的相位与第二时钟信号D_CLK的相位一致时,输出关闭控制信号到第二半延迟链32中的或非门NOR41,以关闭第二半延迟链32,减小功耗。其中,处理芯片的控制器在当前的数据信号的输入时间内,控制第二半延迟链32保持关闭,在新的数据信号输入时,重新控制第二半延迟链32开启。Exemplarily, the controller of the processing chip is connected to the
需要说明的是,本实施例还可以根据不同速率的数据信号在时钟数据回复电路中设定多个延迟链,每个延迟链对应于一种速率的数据信号,各延迟链包含的延时单元的数量不同,每个延迟链包括第一半延迟链31与第二半延迟链32。It should be noted that 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-
需要说明的是,本实施例还可以根据不同速率的数据信号在时钟数据回复电路中设定多个延迟链,每个延迟链对应于一种速率的数据信号,各延迟链包含的延时单元的数量不同,每个延迟链包括第一半延迟链31与第二半延迟链32。It should be noted that 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-
本实施例相对于第二实施例而言,提供了半延迟链的具体结构与其延时时间调整方式。Compared with the second embodiment, this embodiment provides the specific structure of the half-delay chain and its delay time adjustment method.
本申请第四实施例涉及一种时钟数据恢复电路,本实施例相对于第二实施例而言,主要不同之处在于:请参考图7,延迟控制模块4包括相位比较器41与检测器42。其中,相位比较器41为鉴相器,检测器42可以为数字滤波器,例如为平均计数器。The fourth embodiment of the present application relates to a clock data recovery circuit. Compared with the second embodiment, the main difference of this embodiment is: please refer to FIG. 7, the
相位比较器41的第一输入端形成延迟控制模块4的第一输入端,相位比较器41的第二输入端形成延迟控制模块4的第二输入端,第二半延迟链32的输出端连接于相位比较器41的第一输入端,以接收第二时钟信号D_CLK,相位比较器41的第二输入端连接于翻转电路2,以接收第一时钟信号C_CLK,相位比较器41的输出端连接于检测器42的输入端,检测器42的输出端分别连接于第一半延迟链31与第二半延迟链32。The first input terminal of the
相位比较器41用于根据第一时钟信号C_CLK的相位与第二时钟信号D_CLK的相位,得到相位差值;具体的,相位比较器41计算第一时钟信号 C_CLK的相位减去第二时钟信号D_CLK的相位的相位差值。The
检测器42用于根据相位差值,生成用于调整延迟时间的延迟控制信号,并将延迟控制信号发送到延迟链,即将该延迟控制信号分别发送到第一半延迟链31与第二半延迟链32,以调整第一半延迟链31的延迟时间T11与第二半延迟链32的延迟时间T12。The
在一个例子中,相位比较器41用于根据第一时钟信号C_CLK的相位与从延迟链抽头输出的多个第二时钟信号的相位,得到多个相位差值,具体的,请参考图8,以包括2N个延迟单元的延迟链为例,即从2N个延迟单元中选取多个延时单元作为抽头点,并将这多个抽点头输出的信号作为第二时钟信号D_CLK分别输入到相位比较器41,此时相位比较器41分别计算第一时钟信号C_CLK减去每个第二时钟信号D_CLK的相位的相位差值,从而可以得到多个相位差值。In an example, the
检测器42用于根据多个相位差值的平均累积值,生成用于调整延迟时间的延迟控制信号,并将延迟控制信号发送到延迟链,即将该延迟控制信号分别发送到第一半延迟链31与第二半延迟链32,以调整第一半延迟链31的延迟时间T11与第二半延迟链32的延迟时间T12。The
检测器42还用于在多个相位差值的平均累积值的绝对值小于或等于预设阈值时,判定第一时钟信号C_CLK的相位与第二时钟信号D_CLK的相位一致,无需继续对第一半延迟链31的延迟时间T11与第二半延迟链32的延迟时间T12进行调整。其中,预设阈值大于或等于零。The
本实施例中,检测器42在多个相位差值的平均累积值的绝对值大于预设阈值时,对延迟链的延时时间进行调整,在平均累积值为正值时,生成用于增 大延迟时间的延迟控制信号;在平均累积值为负值时,生成用于减小延迟时间的延迟控制信号。In this embodiment, the
具体的,检测器42在接收到相位比较器41发送的多个相位差值时,能够根据这多个相位差值,计算得到平均累积值,若该平均累积值为正值,且大于预设阈值,则说明第二时钟信号D_CLK的相位过早,检测器42生成用于增大延迟时间的延迟控制信号,分别输出到第一半延迟链31与第二半延迟链32,等待新的第二时钟信号D_CLK输入到相位比较器41,重复上述判断过程;若该平均累积值为负值,且该平均累积值的绝对值大于预设阈值,则说明第二时钟信号D_CLK的相位过迟,检测器42生成用于减小延迟时间的延迟控制信号,分别输出到第一半延迟链31与第二半延迟链32,等待新的第二时钟信号D_CLK输入到相位比较器41,重复上述判断过程;直至平均累积值的绝对值小于或等于预设阈值时,判定第一时钟信号C_CLK的相位与第二时钟信号D_CLK的相位一致。Specifically, when the
下面结合第三实施例中图4的延迟链结构,对延迟控制信号控制延迟链的延迟时间的方式进行详细说明。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.
以第一半延迟链31当前接入的缓冲器BUF的N值为b为例,检测器42生成用于增大延迟时间的延迟控制信号时,控制第一半延迟链31接入的缓冲器BUF的数量增大,增大的数量可以为预设的步进值z,即检测器42在需要增大第一延迟链3的延迟时间时,给N赋值为b+z,即控制第一半延迟链31中接入的缓冲器BUF的数量增大为b+z,此时将第b+z个缓冲器BUF的输出抽头作为第一半延迟链31的输出;反之,检测器42生成用于减小延迟时间的延迟控制信号时,控制第一半延迟链31中接入的缓冲器BUF的数量减少,减 小的数量可以为预设的步进值z,即检测器42在需要减小第一延迟链3的延迟时间时,将N赋值为b-z,即控制第一半延迟链31中接入的缓冲器BUF的数量减少为b-z,此时将第b-z个缓冲器BUF的输出抽头作为第一半延迟链31的输出。其中,第一半延迟链31中可以包括用于控制N值的调整量寄存器,调整量寄存器中存储有N的值,以控制第一半延迟链31中接入的缓冲器BUF的数量,即,检测器42基于调整第一半延迟链31的延时时间的需求,来给调整量寄存器中的N值进行赋值,从而能够控制将第一半延迟链31中第N个缓冲器BUF的输出抽头作为第一半延迟链31的输出,即控制了第一半延迟链31的延时时间。第二半延迟链32的控制方式与第一半延迟链31类似,在此不再赘述。Taking the N value of the buffer BUF currently accessed by the first half-
本实例中,处理芯片的控制器还可以同时将该关闭控制信号发送给相位比较器41与检测器42,以关闭相位比较器41与检测器42,从而进一步减小功耗。其中,处理芯片的控制器在当前的数据信号的输入时间内,控制相位比较器41与检测器42保持关闭,在新的数据信号输入时,重新控制相位比较器41与检测器42开启。In this example, the controller of the processing chip can also send the shutdown control signal to the
本实施例相对于第一实施例而言,提供了延迟控制模块的一种具体结构。Compared with the first embodiment, this embodiment provides a specific structure of the delay control module.
本申请第五实施例涉及一种时钟数据恢复电路,本实施例相对于第一实施例而言,主要不同之处在于:请参考图9,翻转电路2包括第一异或门电路NOR1、第二异或门电路NOR2、与非门电路NAND、第一PMOS管PM1、第二PMOS管PM2、NMOS管NM1,第一反相器INV1、第二反相器INV2以及第三反相器INV3。The fifth embodiment of the present application relates to a clock data recovery circuit. Compared with the first embodiment, the main difference of this embodiment is: please refer to FIG. 9, the
第一异或门电路NOR1的输入端用于接收脉冲信号,具体的,第一异或 门电路NOR1具有三路输入端,第一异或门电路NOR1的三路输入端同时接收三个脉冲信号:A_pluse信号、B_pluse信号以及C_pluse信号,第一异或门电路NOR1的输出端分别连接于第二异或门电路NOR2的第一输入端以及与非门电路NAND的第一输入端,第一反相器的输入端用于接收复位信号RST_EN,复位信号RST_EN经过第一反相器INV1得到复位信号RST_EN的反相信号RST_EN_b,第一反相器INV1的输出端通过第二反相器INV2连接于与非门电路NAND的第二输入端,第二异或门电路NOR2的第二输入端用于接收经过第一反相器INV1的复位信号,即反相信号RST_EN_b;第二异或门电路NOR2的输出端连接于第一PMOS管PM1的栅极,第一PMOS管PM1的源极以及第二PMOS管PM2的源极分别连接于电源端VDD,第一PMOS管PM1的漏极分别连接于NMOS管NM1的漏极与第三反相器INV3的输入端,第二PMOS管PM2的栅极用于接收经过第一反相器INV1的复位信号RST_EN(图中未示出),即反相信号RST_EN_b被输入到第二PMOS管PM2的栅极;第二PMOS PM2管的漏极连接于第三反相器INV3的输入端,NMOS管NM1的源极连接于参考电势端,本实施例中以GND作为参考电势端,第三反相器INV3的输出端用于输出第一时钟信号,即第三反向器INV3分别连接于第一半延迟链31、延迟控制模块4以及时钟延迟模块5。The input terminal of the first exclusive OR circuit NOR1 is used to receive pulse signals. Specifically, 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 PM2; the drain of the second PMOS PM2 tube is connected to the input terminal of the third inverter INV3, and the source of the NMOS tube NM1 is connected to the reference potential terminal. In this embodiment, GND is used as the reference potential terminal, and 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
需要说明的是,图9中以复位信号RST_EN经过第一反相器INV1得到复位信号RST_EN的反相信号RST_EN_b,再经过第二反相器INV2恢复得到复位信号RST_EN输入到与非门电路NAND的第二输入端、并将第一反相器INV1得到复位信号RST_EN的反相信号RST_EN_b输入到第二PMOS管PM2的栅极为例进行说明,然不限于此,还可将复位信号RST_EN直接输入到与非 门电路NAND的第二输入端,同时将复位信号RST_EN通过一个反相器连接到第二PMOS管PM2的栅极,即将复位信号RST_EN的反相信号RST_EN_b输入到第二PMOS管PM2的栅极。It should be noted that in FIG. 9, 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. 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.
本实施例相对于第一实施例而言,提供了翻转电路的一种具体结构。Compared with the first embodiment, 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.
本领域的普通技术人员可以理解,上述各实施例是实现本申请的具体实施例,而在实际应用中,可以在形式上和细节上对其作各种改变,而不偏离本申请的精神和范围。Those of ordinary skill in the art can understand that the above-mentioned embodiments are specific embodiments for realizing the present application, and in actual applications, various changes can be made in form and details without departing from the spirit and spirit of the present application. Scope.
Claims (15)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2020/092595 WO2021237509A1 (en) | 2020-05-27 | 2020-05-27 | Clock and data recovery circuit, processing chip and electronic device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2020/092595 WO2021237509A1 (en) | 2020-05-27 | 2020-05-27 | Clock and data recovery circuit, processing chip and electronic device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2021237509A1 true WO2021237509A1 (en) | 2021-12-02 |
Family
ID=78745218
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2020/092595 Ceased WO2021237509A1 (en) | 2020-05-27 | 2020-05-27 | Clock and data recovery circuit, processing chip and electronic device |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2021237509A1 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114244372A (en) * | 2021-12-20 | 2022-03-25 | 杭州万高科技股份有限公司 | Manchester-coded timing information recovery circuit |
| CN118801858A (en) * | 2024-09-10 | 2024-10-18 | 南京云程半导体有限公司 | Signal transmission circuit and chip |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106385251A (en) * | 2016-09-14 | 2017-02-08 | 豪威科技(上海)有限公司 | Clock data recovery circuit |
| CN107959563A (en) * | 2016-10-18 | 2018-04-24 | 豪威科技股份有限公司 | Burst mode clock data recovery circuit for MIPI C-PHY receivers |
| CN109644020A (en) * | 2016-08-31 | 2019-04-16 | 高通股份有限公司 | C-PHY training mode for adaptive equalization, adaptive edge tracking and delay calibration |
| WO2019212630A1 (en) * | 2018-05-04 | 2019-11-07 | Qualcomm Incorporated | Calibration pattern and duty-cycle distortion correction for clock data recovery in a multi-wire, multi-phase interface |
-
2020
- 2020-05-27 WO PCT/CN2020/092595 patent/WO2021237509A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109644020A (en) * | 2016-08-31 | 2019-04-16 | 高通股份有限公司 | C-PHY training mode for adaptive equalization, adaptive edge tracking and delay calibration |
| CN106385251A (en) * | 2016-09-14 | 2017-02-08 | 豪威科技(上海)有限公司 | Clock data recovery circuit |
| CN107959563A (en) * | 2016-10-18 | 2018-04-24 | 豪威科技股份有限公司 | Burst mode clock data recovery circuit for MIPI C-PHY receivers |
| WO2019212630A1 (en) * | 2018-05-04 | 2019-11-07 | Qualcomm Incorporated | Calibration pattern and duty-cycle distortion correction for clock data recovery in a multi-wire, multi-phase interface |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114244372A (en) * | 2021-12-20 | 2022-03-25 | 杭州万高科技股份有限公司 | Manchester-coded timing information recovery circuit |
| CN118801858A (en) * | 2024-09-10 | 2024-10-18 | 南京云程半导体有限公司 | Signal transmission circuit and chip |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111404543B (en) | Clock data recovery circuit, processing chip and electronic equipment | |
| TWI699974B (en) | Multiphase clock data recovery circuit calibration | |
| EP3326340B1 (en) | Time based equalization for a c-phy 3-phase transmitter | |
| CN105144624B (en) | Method and apparatus for generating clock signal | |
| TWI720008B (en) | Multiphase clock data recovery for a 3-phase interface | |
| 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 (en) | Method of open-loop, super fast, half-rate clock and data recovery for next generation c-phy interfaces and apparatus and non-transitory storage mediums thereof | |
| CN106063181B (en) | Receiver circuit and the method operated on receiver circuit | |
| WO2019212629A1 (en) | Multiphase clock data recovery with adaptive tracking for a multi-wire, multi-phase interface | |
| CN106385251A (en) | Clock data recovery circuit | |
| WO2021237509A1 (en) | Clock and data recovery circuit, processing chip and electronic device | |
| CN115462039A (en) | Unit interval jitter improvement in C-PHY interfaces | |
| TWI822732B (en) | Independent pair 3-phase eye sampling circuit |
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 |