WO2023231461A1 - Chip and computer device - Google Patents

Chip and computer device Download PDF

Info

Publication number
WO2023231461A1
WO2023231461A1 PCT/CN2023/077459 CN2023077459W WO2023231461A1 WO 2023231461 A1 WO2023231461 A1 WO 2023231461A1 CN 2023077459 W CN2023077459 W CN 2023077459W WO 2023231461 A1 WO2023231461 A1 WO 2023231461A1
Authority
WO
WIPO (PCT)
Prior art keywords
circuit
signal
output
port
resistor
Prior art date
Application number
PCT/CN2023/077459
Other languages
French (fr)
Chinese (zh)
Inventor
曹炜
冯军
周柏仲
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023231461A1 publication Critical patent/WO2023231461A1/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/125Discriminating pulses
    • H03K5/1252Suppression or limitation of noise or interference
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/13Arrangements having a single output and transforming input signals into pulses delivered at desired time intervals
    • H03K5/135Arrangements having a single output and transforming input signals into pulses delivered at desired time intervals by the use of time reference signals, e.g. clock signals
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/13Arrangements having a single output and transforming input signals into pulses delivered at desired time intervals
    • H03K5/14Arrangements having a single output and transforming input signals into pulses delivered at desired time intervals by the use of delay lines

Definitions

  • the embodiments of the present application relate to the field of circuit technology, and more specifically, to a chip and a computer device.
  • the C-port physical layer (PHY) protocol is proposed by the mobile industry processor interface (MIPI) organization. It has a lower transmission speed than M-PHY, but is more compatible with D-PHY. agreement.
  • MIPI mobile industry processor interface
  • C-PHY and D-PHY have many things in common, and most of the features of C-PHY are adapted from D-PHY. Therefore, C-PHY is designed to coexist with D-PHY on the same integrated circuit (IC) pin, so that dual-mode devices that support both C-PHY and D-PHY can be developed.
  • IC integrated circuit
  • C-PHY reuses most of the D-PHY standards
  • the data encoding technology of C-PHY is essentially different from that of D-PHY. This is reflected in the following: 1) C-PHY uses three signal lines, while D-PHY Differential signal line pairs are used; 2) C-PHY uses quinary transmission, while D-PHY uses binary; 3) C-PHY does not have a separate clock signal, while D-PHY has a separate clock signal.
  • the C-PHY receiving system needs to recover the clock signal based on the signals transmitted in the three signal lines. Therefore, how to improve the accuracy of the recovered clock signal has become an issue that the industry needs to pay attention to.
  • Embodiments of the present application provide a chip and computer equipment that can reduce or eliminate glitches in the first output signal, thereby reducing or even eliminating the occurrence of the overshooting phenomenon in the determined clock signal.
  • embodiments of the present application provide a chip, which includes: a pulse detection circuit, a filter circuit and an output circuit, wherein the pulse detection circuit is used to obtain an input signal and determine a first output signal based on the input signal, and sends the first output signal to the filter circuit, wherein the input signal corresponds to the input data signal of the C-port physical layer C-PHY protocol; the filter circuit is used to process the first output signal from the pulse detection circuit. The output signal is filtered to obtain a second output signal, and the second output signal is sent to the output circuit; the output circuit is used to determine a clock signal according to the second output signal.
  • a completed communication link (lane) of C-PHY consists of three physical connections, called A, B, and C respectively. Every time the transmitter sends a symbol, there are always two lines sending different high/low circuits, and the remaining one line sends the middle level.
  • the input signal obtained by the pulse detection circuit is a differential signal.
  • the differential signal includes differential signal AB, differential signal BC and differential signal CA.
  • the differential signal AB is the input data signal A (that is, the data from line A signal) and the input data signal B (that is, the data signal from the B line)
  • the differential signal BC is the input data signal B and the input data signal C (that is, the data signal from the C line)
  • the differential signal CA is the input data signal C and the differential signal CA of the input data signal A.
  • the pulse detection circuit can obtain the first output signal by detecting edge changes of the input signal.
  • the differential signal AB, the differential signal BC and the differential signal CA are amplified signals, so the differential signal AB, the differential signal BC and the differential signal CA have large jitter.
  • the first output signal should be a pulse signal with the same frequency as the data.
  • the first output signal output by the pulse detection circuit is a pulse signal containing glitches.
  • the above technical solution adds a filter circuit capable of filtering high-frequency pulses between the pulse detection module and the output circuit. This can filter out burrs in the output signal of the pulse detection module, thereby reducing or even eliminating the occurrence of the recovered clock at certain points in time. Additional shooting occurs.
  • the number of glitches in the second output signal output by the filter circuit is smaller than the number of glitches in the first output signal. Even, in some cases, there may be no glitches in the second output signal.
  • the second output signal is also a pulse signal, but the second output signal contains a smaller number of glitches than the first output signal.
  • the filter circuit includes a hysteresis comparator, an integrating circuit and a comparator, wherein the first input terminal of the hysteresis comparator and the output terminal of the pulse detection circuit connected, the second input terminal of the hysteresis comparator is used to obtain the reference voltage; the first input terminal of the integrating circuit is connected to the output terminal of the hysteresis comparator, and the second input terminal of the integrating circuit is connected to the output circuit.
  • the output terminal of the integrating circuit is connected to the input terminal of the comparator, and the output terminal of the comparator outputs the second output signal; the output circuit is also used to output the third a control signal.
  • the above technical solution uses two levels of filtering.
  • the first level of filtering is implemented by a hysteresis comparator, and the second level of filtering is implemented by an integrating circuit and a comparator. If the input signal of a traditional single-limit comparator has slight interference near the threshold value, the output voltage will produce corresponding jitter (fluctuation).
  • Hysteretic comparators have two threshold voltages. As long as the disturbance near the trip voltage value does not exceed the difference between the two threshold voltages, the value of the output voltage will be stable. Therefore, the first stage of filtering is implemented using a hysteresis comparator to filter out some glitches in the first output signal.
  • the second stage of filtering can calculate the total area covered by the discontinuous high pulse train of the previous stage, and output a pulse with a frequency of the data rate, and the burrs caused by jitter and not processed by the first stage of filtering, then It can be further averaged out by the integrator in this process and will not be output.
  • the filter circuit includes an integrating circuit and a comparator, wherein the first input end of the integrating circuit is connected to the output end of the pulse detection circuit, and the integrating circuit The second input terminal is connected to the output circuit for obtaining the first control signal from the output circuit; the output terminal of the integrating circuit is connected to the input terminal of the comparator, and the output terminal of the comparator outputs the second Output signal; the output circuit is also used to output the first control signal.
  • the above technical solution uses an integrating circuit for filtering.
  • the integrating circuit can calculate the total area covered by the discontinuous high pulse train of the first output signal, and output a pulse with a frequency of the data rate.
  • the burrs caused by jitter can be averaged out by the integrator in the process. , will not be output.
  • the integrating circuit includes: a first field effect transistor, a second field effect transistor, a third field effect transistor, a first resistor, a second resistor and a capacitor, wherein the gates of the first field effect transistor and the second field effect transistor are connected to the first input of the integrating circuit terminal is connected, the gate of the third field effect transistor is connected to the second input terminal of the integrating circuit, the first port of the capacitor is connected to the output terminal of the integrating circuit, and the source of the first field effect transistor is connected to the capacitor.
  • the first port of the capacitor is connected to the ground, the drain of the second field effect transistor is connected to the first port of the capacitor, and the source of the second field effect transistor is connected to the first port of the first resistor. connected, the second port of the first resistor is connected to ground; the drain of the third field effect transistor is connected to the first port of the capacitor, and the source of the third field effect transistor is connected to the first port of the second resistor, The second terminal of the second resistor is grounded.
  • the above technical solution uses the on-resistance and capacitance of the first field effect transistor to form an integrating circuit, thereby facilitating chip implementation.
  • the first resistor is an adjustable resistor, and the adjustable resistor includes a plurality of gears.
  • the specific gear needs to be selected based on the maximum pattern-dependent jitter (PDJ) generated by the circuit/channel of the previous stage, so that it can be suitable for different situations. Eliminate burrs below.
  • the hysteresis comparator can be configured with appropriate gears to achieve the best glitch filtering effect with the integrating circuit.
  • the output circuit includes a D flip-flop, a delay circuit and a control circuit, the delay circuit is used to obtain the second output signal, and the second output signal Perform delay processing to obtain a delayed signal; the control circuit is used to generate the first control signal according to the second input signal and the delay signal and send the first control signal to the integrating circuit, where the first control signal is the The logical OR signal of the second input signal and the delay signal; the control circuit is also used to determine a second control signal according to the first control signal, the second control signal is a logical negation signal of the first control signal; the D flip-flop, used to generate the clock circuit according to the second output signal and the second control signal.
  • the filter circuit includes a hysteresis comparator, wherein the first input terminal of the hysteresis comparator is connected to the output terminal of the pulse detection circuit, and the hysteresis comparator The second input terminal is used to obtain the reference voltage, and the output terminal of the hysteresis comparator outputs the second output signal.
  • Hysteretic comparators have two threshold voltages. As long as the disturbance near the trip voltage value does not exceed the difference between the two threshold voltages, the value of the output voltage will be stable. Therefore, filtering using a hysteresis comparator can filter out some glitches in the first output signal.
  • embodiments of the present application provide a chip that includes a pulse detection circuit, a hysteresis comparator and an integrating circuit, wherein the input end of the pulse detection circuit is used to obtain an input signal, and the input signal corresponds to the C-port The input data signal of the physical layer C-PHY protocol; the first input terminal of the hysteresis comparator is connected to the output terminal of the pulse detection circuit, and the second input terminal of the hysteresis comparator is used to obtain the reference voltage; the hysteresis comparator's The output terminal is connected to the first input terminal of the integrating circuit.
  • a completed communication link (lane) of C-PHY consists of three physical connections, called A, B, and C respectively. Every time the transmitter sends a symbol, there are always two lines sending different high/low circuits, and the remaining one line sends the middle level.
  • the input signal obtained by the pulse detection circuit is a differential signal, and the differential signal includes differential signal AB, differential signal BC and differential signal CA.
  • the differential signal AB, the differential signal BC and the differential signal CA are amplified signals, so the differential signal AB, the differential signal BC and the differential signal CA have large jitter.
  • Simultaneous differential signal AB difference There is also a clock skew (skew) between the partial signal BC and the differential signal CA. Therefore, the output of the pulse detection circuit is not a clock signal with the same frequency as the data, and there are many burrs caused by jitter, which leads to clock overshooting. The overshooting will cause false sampling, resulting in bit errors.
  • the output signal of the pulse detection circuit should be a pulse signal with the same frequency as the data.
  • the output signal output by the pulse detection circuit is a pulse signal containing glitches.
  • the above technical solution adds a hysteresis comparator and an integrating circuit capable of filtering high-frequency pulses between the pulse detection module and the output circuit. This can filter out burrs in the output signal of the pulse detection module, thereby reducing or even eliminating the frequency of the recovered clock at a certain point. Additional auctions may occur at certain points in time.
  • the above technical solution uses two-stage filtering to filter burrs in the signal output by the pulse detection circuit.
  • the first level of filtering is implemented by a hysteresis comparator, and the second level of filtering is implemented by an integrating circuit. If the input signal of a traditional single-limit comparator has slight interference near the threshold value, the output voltage will produce corresponding jitter (fluctuation).
  • Hysteretic comparators have two threshold voltages. As long as the disturbance near the trip voltage value does not exceed the difference between the two threshold voltages, the value of the output voltage will be stable. Therefore, the first stage of filtering is implemented using a hysteresis comparator to filter out some glitches in the first output signal.
  • the second stage of filtering can calculate the total area covered by the discontinuous high pulse train of the previous stage, and output a pulse with a frequency of the data rate, and the burrs caused by jitter and not processed by the first stage of filtering, then It can be further averaged out by the integrator in this process and will not be output.
  • the output signal of the second stage filtering is also a pulse signal, but the number of burrs contained in this output signal is smaller than the number of burrs contained in the output signal of the pulse detection circuit.
  • the integrating circuit includes: a first field effect transistor, a second field effect transistor, a third field effect transistor, a first resistor, a second resistor and a capacitor.
  • the gates of the first field effect transistor and the second field effect transistor are connected to the first input terminal of the integrating circuit
  • the gate electrode of the third field effect transistor is connected to the second input terminal of the integrating circuit
  • the capacitor The first port is connected to the output end of the integrating circuit
  • the source of the first field effect transistor is connected to the first port of the capacitor
  • the second port of the capacitor is grounded; the drain of the second field effect transistor is connected to the first port of the capacitor.
  • the first port of the capacitor is connected, the source of the second field effect transistor is connected to the first port of the first resistor, the second port of the first resistor is connected to ground; the drain of the third field effect transistor is connected to the capacitor.
  • the first port is connected, the source of the third field effect transistor is connected to the first port of the second resistor, and the second port of the second resistor is connected to ground.
  • the above technical solution uses the on-resistance and capacitance of the first field effect transistor to form an integrating circuit, thereby facilitating chip implementation.
  • the first resistor is an adjustable resistor
  • the adjustable resistor includes a plurality of gears.
  • the specific gear needs to be selected based on the maximum pattern-dependent jitter (PDJ) generated by the circuit/channel of the previous stage, so that it can be suitable for different situations. Eliminate burrs below.
  • the hysteresis comparator can be configured with appropriate gears to achieve the best glitch filtering effect with the integrating circuit.
  • the chip further includes a comparator and an output circuit.
  • the output circuit includes a D flip-flop, a delay circuit and a control circuit.
  • the first input terminal of the comparator Connected to the output terminal of the integrating circuit, the second input terminal of the comparator is used to obtain the reference voltage; the input terminal of the delay circuit is connected to the output terminal of the comparator, and the output terminal of the delay circuit is connected to the third input terminal of the control circuit.
  • One input terminal is connected; the second input terminal of the control circuit is used to obtain a control signal; the first output terminal of the control circuit is connected to the second input terminal of the integrating circuit; the second output terminal of the control circuit is connected to the D trigger The reset port of the D flip-flop is connected to the The output of the comparator is connected.
  • embodiments of the present application provide a chip that includes a pulse detection circuit and an integrating circuit, wherein the input end of the pulse detection circuit is used to obtain an input signal, and the input signal corresponds to the C-port physical layer C- The input data signal of the PHY protocol; the first input terminal of the integrating circuit is connected to the output terminal of the pulse detection circuit.
  • a completed communication link (lane) of C-PHY consists of three physical connections, called A, B, and C respectively. Every time the transmitter sends a symbol, there are always two lines sending different high/low circuits, and the remaining one line sends the middle level.
  • the input signal obtained by the pulse detection circuit is a differential signal, and the differential signal includes differential signal AB, differential signal BC and differential signal CA.
  • the differential signal AB, the differential signal BC and the differential signal CA are amplified signals, so the differential signal AB, the differential signal BC and the differential signal CA have large jitter.
  • the output signal of the pulse detection circuit should be a pulse signal with the same frequency as the data.
  • the output signal output by the pulse detection circuit is a pulse signal containing glitches.
  • the above technical solution adds an integrating circuit capable of filtering high-frequency pulses between the pulse detection module and the output circuit. This can filter out burrs in the output signal of the pulse detection module, thereby reducing or even eliminating the occurrence of the recovered clock at certain points in time. Additional shooting occurs.
  • the integrating circuit can calculate the total area covered by the discontinuous high pulse train of the first output signal, and output a pulse with a frequency of the data rate. The burrs caused by jitter can be averaged out by the integrator in the process. , will not be output.
  • the output signal of the integrating circuit is also a pulse signal, but the number of burrs contained in the output signal is smaller than the number of burrs contained in the output signal of the pulse detection circuit.
  • the integrating circuit includes: a first field effect transistor, a second field effect transistor, a third field effect transistor, a first resistor, a second resistor and capacitor, the gates of the first field effect transistor and the second field effect transistor are connected to the first input end of the integrating circuit, the gate electrode of the third field effect transistor is connected to the second input end of the integrating circuit, the The first port of the capacitor is connected to the output end of the integrating circuit, the source of the first field effect transistor is connected to the first port of the capacitor, the second port of the capacitor is grounded; the drain of the second field effect transistor is connected to the ground.
  • the first port of the capacitor is connected, the source of the second field effect transistor is connected to the first port of the first resistor, the second port of the first resistor is connected to ground; the drain of the third field effect transistor is connected to the capacitor.
  • the first port of the third field effect transistor is connected to the first port of the second resistor, and the second port of the second resistor is connected to ground.
  • the first resistor is an adjustable resistor
  • the adjustable resistor includes a plurality of gears.
  • the above technical solution uses the on-resistance and capacitance of the first field effect transistor to form an integrating circuit, thereby facilitating chip implementation.
  • the specific gear needs to be selected based on the maximum pattern-dependent jitter (PDJ) generated by the circuit/channel of the previous stage, so that it can be suitable for different situations. Eliminate burrs below.
  • the hysteresis comparator can be configured with appropriate gears to achieve the best glitch filtering effect with the integrating circuit.
  • the chip further includes a comparator and an output circuit.
  • the output circuit includes a D flip-flop, a delay circuit and a control circuit. The first input terminal of the comparator Connected to the output terminal of the integrating circuit, the second input terminal of the comparator is used to obtain the reference voltage; the input terminal of the delay circuit is connected to the comparator.
  • the output end of the comparator is connected, the output end of the delay circuit is connected to the first input end of the control circuit; the second input end of the control circuit is used to obtain the control signal, and the first output end of the control circuit is connected to the integrating circuit
  • the second input terminal of the control circuit is connected to the reset port of the D flip-flop; the clock port of the D flip-flop is connected to the output terminal of the comparator.
  • embodiments of the present application provide a computer device, which computer device includes a printed circuit board and any possible implementation of the first aspect, the second aspect, the third aspect, or the first aspect to the third aspect.
  • the chip is fixed on the printed circuit board.
  • Figure 1 is a schematic diagram of the receiving circuit at the receiving end.
  • Figure 2 is a schematic diagram of a clock recovery circuit.
  • Figure 3 is a timing diagram for the clock recovery circuit to recover the clock.
  • Figure 4 is a timing diagram of another clock recovery circuit recovering the clock.
  • Figure 5 is a schematic structural block diagram of a chip provided according to an embodiment of the present application.
  • FIG. 6 is a circuit diagram of the clock recovery circuit in the case where Scheme 1 is adopted.
  • FIG. 7 is a circuit diagram of the clock recovery circuit in the case of adopting Scheme 2.
  • FIG. 8 is a circuit diagram of the clock recovery circuit in the case where Scheme 3 is adopted.
  • Figure 9 is a schematic diagram of a hysteresis comparator.
  • Figure 10 is a schematic diagram of the integrating circuit.
  • Figure 11 is a schematic diagram of an interface circuit provided according to an embodiment of the present application.
  • Figure 12 is a schematic structural diagram of a chip provided according to an embodiment of the present application.
  • Figure 13 is a schematic structural diagram of a computer device provided according to an embodiment of the present application.
  • Figure 14 is a schematic structural diagram of a pulse detection circuit provided according to an embodiment of the present application.
  • C-PHY uses state changes for encoding. There are 5 possibilities for each state change.
  • the method of subtracting the signals on the three lines is used to obtain a 3-bit signal each time, corresponding to the status of the three lines; the corresponding circuit can, based on the changes in the 3-bit signal, define the C-PHY protocol Decode according to the coding principle and restore the original binary information.
  • Figure 1 is a schematic diagram of the receiving circuit at the receiving end.
  • CTLE 101 outputs the differential signal AB between line A and line B
  • CTLE 102 outputs the differential signal BC between line B and line C
  • CTLE 103 outputs the differential signal CA between line C and line A.
  • Table 1 is the receiving end encoding table.
  • a clock recovery circuit is usually connected after the CTLE.
  • the clock recovery circuit recovers the clock signal based on the differential signal AB, the differential signal BC and the differential signal CA.
  • Figure 2 is a schematic diagram of a clock recovery circuit.
  • the clock recovery circuit 200 shown in FIG. 2 includes a pulse detection circuit 201, a D flip-flop (D type flip-flop, DFF) 202 and a delay line 203.
  • DFF D type flip-flop
  • Pulse detection circuit 201 receives differential signals from CTLE 101 to CTLE 103.
  • the pulse detection circuit 201 will output a pulse signal with a fixed frequency according to the transition of these differential signals.
  • each data symbol of the C-PHY differential signal AB, differential signal BC, and differential signal CA will jump once. Therefore, under ideal conditions, the pulse detection circuit 201 detects the edge change of data and can output a pulse signal with the same frequency as the data rate. For example, a 3.5 gigabits per second (Gbps) data signal can generate a 3.5GHz narrow pulse through the pulse detection circuit 201 .
  • Gbps gigabits per second
  • This clock will be sent to DFF 202 to sample a constant high level (i.e., TieH shown in Figure 2), and the generated edge will pass through the delay line 203 with configurable delay to generate a mask to reset DFF 202 to 0. The falling edge of the clock is obtained, thereby recovering a 3.5G clock at the output of DFF 202.
  • the C-PHY receiving system uses this clock to sample data and deserialize and output the A, B, and C three-line codes.
  • Figure 3 is a timing diagram for the clock recovery circuit to recover the clock.
  • AB/BC/CA is the differential signal AB, the differential signal BC and the differential signal CA; the edge detection is the signal output by the pulse detection circuit 201; the mask is the mask generated by the delay line 203; the clock signal is DFF 202 recovers the correct frequency clock.
  • the differential signal AB, the differential signal BC and the differential signal CA are signals amplified by CTLE, there is a large jitter in the differential signal AB, the differential signal BC and the differential signal CA.
  • a suitable mask can be found in the timing diagram shown in Figure 3 to recover the clock signal with the correct frequency.
  • the CTLE before the clock recovery circuit will be designed to lower and lower voltage domains (such as 1.8V->1.2V).
  • the reduction in voltage will greatly deteriorate the linearity of the CTLE, resulting in differential signals AB,
  • the jitter of the differential signal BC and the differential signal CA deteriorates.
  • the actual form of the product may integrate C-PHY and D-PHY circuits into the same chip.
  • the CTLE circuit of C-PHY is often implemented by reusing the CTLE of D-PHY.
  • the physical design can easily cause the mismatch of the three CTLEs in Figure 1.
  • the inter-symbol interference (ISI) and insertion loss of the C-PHY channel are also much greater than those of the D-PHY.
  • the high-frequency pulses (also called glitches) output by the pulse detection module that are not at the target frequency will increase significantly; this will directly cause the recovered clock to have glitches at certain points in time, and these glitches will cause the clock to increase.
  • the beat causes false sampling, resulting in bit errors.
  • FIG 4 is a timing diagram of another clock recovery circuit recovering the clock. As shown in the timing diagram shown in Figure 4, there is an increase in clock beats caused by glitches.
  • the mask length of the clock recovery circuit must be at least greater than the maximum jitter of the CTLE output, and at the same time less than 1 symbol minus The maximum jitter satisfies formula 1.1:
  • max_pdj is the maximum pattern dependent jitter (PDJ) output by CTLE
  • Clock mask is the mask length
  • UI is the length of one symbol.
  • Equation 1.1 The constraints of Equation 1.1 make it very difficult to design a clock recovery module. It is necessary to take into account the jitter of the CTLE output, but at the same time it cannot be too large to reset to the next clock edge that should be recovered. When the process, voltage, and temperature fluctuate, the robustness of the circuit using this solution will also be relatively poor.
  • the clock recovery circuit included in the chip adds a filter circuit capable of filtering burrs between pulse detection and DFF, so that burrs in the output signal of the pulse detection module can be filtered out without extending the mask. This reduces the occurrence of additional shots in the recovered clock at certain points in time.
  • FIG. 5 is a schematic structural block diagram of a chip provided according to an embodiment of the present application.
  • the chip 500 shown in FIG. 5 includes a pulse detection circuit 510, a filter circuit 520 and an output circuit 530.
  • the chip shown in Figure 5 can be a system on chip (SoC), a central processor (central processor unit, CPU), or a graphics processor (graphics processing unit, GPU), or It is an application processor (application processor, AP), etc.
  • SoC system on chip
  • CPU central processor unit
  • GPU graphics processor
  • AP application processor
  • the input signals acquired by the pulse detection circuit 510 are three differential signals output by CTLE, namely differential signal AB, differential signal BC and differential signal CA.
  • the pulse detection circuit 510 is used to obtain the input signal, determine the first output signal according to the input signal, and The first output signal is sent to filter circuit 520 .
  • the pulse detection circuit 510 may use a pulse detection circuit in a currently commonly used clock recovery circuit.
  • the pulse detection circuit 510 can generally be implemented using simple AND gate and OR gate combination logic.
  • Figure 14 shows schematic diagrams of two pulse detection circuits.
  • the pulse detection circuit shown in (a) of FIG. 14 can be implemented by a delay unit, an exclusive OR gate (XOR), and an OR gate (OR).
  • the pulse detection circuit shown in (b) of FIG. 14 can be implemented by a delay unit, a NAND gate (NAND), and an OR gate (OR).
  • the filter circuit 520 is used to filter the first output signal from the pulse detection circuit 510 to reduce glitches in the first output signal.
  • the signal obtained after filtering can be called the second output signal.
  • Filter circuit 520 sends the second output signal to output circuit 530.
  • the output circuit 530 is used to determine the clock signal according to the second output signal.
  • a hysteresis comparator may be used to implement glitch filtering.
  • filter circuit 520 may be a hysteretic comparator.
  • an integrating circuit may be used to implement glitch filtering, and then a comparator may be used to output a square wave signal.
  • the filter circuit 520 can be implemented by an integrating circuit and a comparator.
  • a hysteresis comparator and an integrating circuit may be used simultaneously to implement glitch filtering.
  • the output signal of the integrating circuit can be processed using a comparator to obtain a square wave.
  • the filter circuit 520 may include a hysteresis comparator, an integrating circuit, and a comparator.
  • Table 2 lists possible filter circuit implementations.
  • the chip may also include other components.
  • CTLE used to obtain differential signals
  • logic circuits used to process data etc.
  • the pulse detection circuit, filter circuit and output circuit are collectively referred to as clock recovery circuits below.
  • FIG. 6 is a circuit diagram of the clock recovery circuit in the case where Scheme 1 is adopted.
  • one input terminal of the hysteresis comparator 521 is connected to the output terminal of the pulse detection circuit 510 for obtaining the output signal of the pulse detection circuit 510 , and the other input terminal is used for obtaining the reference voltage Vref.
  • the output end of the hysteresis comparator 521 shown in Figure 6 is connected to the clock (clock, CLK) pin of the DFF 532.
  • the output terminal of the hysteresis comparator 521 is connected to one terminal of the switch 535 , and the other terminal of the switch 535 is connected to the input terminal of the delay circuit 531 .
  • the output terminal of the delay circuit 531 is connected to a control circuit implemented by a logic gate circuit.
  • the control circuit includes an OR gate 533 and a NOT gate 534 .
  • One input terminal of the OR gate 533 is connected to the output terminal of the delay circuit 531, and the other input terminal of the OR gate 533 is used to obtain the input signal (ie, ACK shown in FIG. 6).
  • the output terminal of the OR gate 533 is connected to the input terminal of the NOT gate 534, and the output terminal of the NOT gate 534 is connected to the reset terminal of the DFF 532.
  • the output terminal of the delay circuit 531 may also be directly connected to the reset terminal of the DFF 532 .
  • the D port of DFF 532 inputs the operating voltage, and the Q port output is the recovered clock signal.
  • the DFF 532 When the circuit starts to work, the DFF 532 is first reset through the ACK signal and the control switch 535 is closed. In other words, the ACK signal is a high level when the circuit starts working. After the DFF 532 is reset, the ACK signal returns to a low level. When the signal output by hysteresis comparator 531 is low level, DFF 532 will not flip and Q remains low level. When the signal output by the hysteresis comparator 531 is high level, the state of DFF 532 is reversed, and Q becomes high level; after a period of delay (the delay size is determined by the delay circuit 531), the DFF 532 is reset, and Q becomes high level. into a low level, that is, DFF 532 outputs a positive pulse, that is, a clock pulse is recovered.
  • FIG. 7 is a circuit diagram of the clock recovery circuit in the case of adopting Scheme 2.
  • the filter circuit shown in FIG. 5 includes an integrating circuit 522 and a comparator 523.
  • the integrating circuit 522 includes three metal-oxide-semiconductor field-effect transistors (MOSFETs) (also referred to as MOS transistors for short) and two resistors.
  • MOSFETs metal-oxide-semiconductor field-effect transistors
  • the three MOS tubes can be called MOS tube M1, MOS tube M2 and MOS tube M3 respectively, and the two resistors can be called resistor R4 and resistor R5 respectively.
  • the integrating circuit 522 also includes a capacitor, which may be called a capacitor C.
  • the gates of the MOS transistor M1 and the MOS transistor M2 are connected to the output terminal of the pulse detection circuit 510 for receiving the first output signal from the pulse detection circuit 510 . Therefore, it can be considered that point a shown in FIG. 7 is equivalent to an input terminal of the integrating circuit 522 (which can be called a first input terminal).
  • the gate of the MOS transistor M3 is connected to the output terminal of the OR gate 533 in the output circuit 530 for receiving the input signal from the OR gate 533. Therefore, it can be considered that point b shown in FIG. 7 is equivalent to another input terminal of the integrating circuit 522 (which can be called the second input terminal).
  • one end of the capacitor C is connected to the source of the MOS tube M1, and the other end of the capacitor C is connected to the ground.
  • the end of the capacitor C connected to the MOS transistor M1 can be called the first port of the capacitor C
  • the end of the capacitor C connected to the ground can be called the second port of the capacitor C.
  • the first port of the capacitor C is also connected to the drain of the MOS transistor M2 and the drain of the MOS transistor M3.
  • the first port of the capacitor C is also connected to the positive input terminal of the comparator 523 . Therefore, it can be considered that point c in FIG. 7 is equivalent to the output terminal of the integrating circuit 522.
  • resistor R5 One end of resistor R5 is connected to the drain of MOS tube M2. The other end of resistor R5 is connected to ground.
  • resistor R4 One end of the resistor R4 is connected to the drain of the MOS transistor M3. The other end of resistor R4 is connected to ground.
  • the resistor R5 shown in Figure 7 is an adjustable resistor, and the adjustable resistor may include multiple gears, and the multiple gears may correspond to multiple PDJs one by one. In this way, the integration circuit 522 can be applied to different PDJ scenarios.
  • the range of resistor R5 corresponds to the range of burrs. Therefore, if the resistor R5 is an adjustable resistor, then the burrs in different ranges can be filtered by adjusting the gear of the resistor R5.
  • the resistor R5 can also be set as a fixed resistor.
  • the resistance value of resistor R5 can be a resistance value that can filter out glitches in a larger range.
  • the same effect as the adjustable resistor can be achieved in this case, it requires a larger area, which is not conducive to the integrated design of the chip.
  • the output of the comparator 523 shown in Figure 7 is connected to the CLK pin of the DFF 532.
  • the output terminal of the comparator 523 is connected to one terminal of the switch 535, and the other terminal of the switch 535 is connected to the input terminal of the delay circuit 531.
  • the output terminal of the delay circuit 531 is connected to a control circuit implemented by a logic gate circuit.
  • the control circuit includes an OR gate 533 and a NOT gate 534 .
  • One input terminal of the OR gate 533 is connected to the output terminal of the delay circuit 531, and the other input terminal of the OR gate 533 is used to obtain the input signal (ie, ACK shown in FIG. 6).
  • the output terminal of the OR gate 533 and the input terminal of the NAND gate 534 connected, the output terminal of the NOT gate 534 is connected to the reset terminal of the DFF 532 .
  • the output terminal of the OR gate 533 is also connected to the second input terminal of the integrating circuit 522 .
  • the DFF 532 When the circuit shown in Figure 7 starts to work, the DFF 532 is first reset through the ACK signal, and the configuration switch 535 is closed. In other words, the ACK signal is a high level when the circuit starts working. After the DFF 532 is reset, the ACK signal returns to a low level.
  • MOS tube M1 When MOS tube M1 first starts charging capacitor C, the voltage on capacitor C is low, that is, the voltage at point c is low, and the corresponding comparator 523 outputs, that is, the voltage at point d is low. At this time, DFF 532 will not flip, and Q remains low level.
  • the comparator 523 When the voltage on the capacitor C exceeds the threshold level (i.e., the input level Hi_TH at the negative input terminal of the comparator 523), the comparator 523 outputs a high level, that is, the potential of point d is pulled high, the state of DFF 532 is reversed, and Q becomes High level; after a period of delay (the delay size is determined by the delay circuit 531), the DFF 532 is reset, and Q becomes a low level, that is, the DFF 532 outputs a positive pulse, that is, a clock pulse is recovered. At the same time, the high-level signal output by the OR gate 533 releases the stored charge in the capacitor C.
  • the threshold level i.e., the input level Hi_TH at the negative input terminal of the comparator 523
  • MOS tube M2 when point a is high level, MOS tube M2 is turned off and MOS tube M1 is turned on.
  • MOS transistor M1 and the capacitor C form an integrator and perform charging operation.
  • the integrator composed of MOS tube M1 and capacitor C can calculate the total area covered by the discontinuous high pulse train of the previous stage, and output a pulse with a frequency of the data rate, and the glitch caused by jitter can be In this process, it is further averaged out by the integrator and will not be output.
  • FIG. 8 is a circuit diagram of the clock recovery circuit in the case where Scheme 3 is adopted.
  • the filter circuit shown in FIG. 5 includes a hysteresis comparator 521, an integrating circuit 522 and a comparator 523.
  • the hysteresis comparator 521 used in the clock recovery circuit shown in FIG. 8 is the hysteresis comparator 521 used in the clock recovery circuit shown in FIG. 6 .
  • the integrating circuit 522 and comparator 523 used in the clock recovery circuit shown in FIG. 8 are the same integrating circuit 522 and comparator 523 used in the clock recovery circuit shown in FIG. 7 .
  • one input terminal of the hysteresis comparator 521 is connected to the output terminal of the pulse detection circuit 510 for obtaining the output signal of the pulse detection circuit 510 , and the other input terminal is used for obtaining the reference voltage Vref.
  • the output terminal of the hysteresis comparator 521 is connected to the first input terminal of the integrating circuit 522 .
  • the gates of the MOS transistor M1 and the MOS transistor M2 of the integrating circuit 522 are connected to the output terminal of the hysteresis comparator 521 to obtain the output signal output by the hysteresis comparator 521 .
  • the connection methods of various components in the integrating circuit 522, the comparator 523 and the output circuit 530 in Figure 8 are similar to those in Figure 7, and for the sake of simplicity, they will not be described again here.
  • the DFF 532 When the circuit shown in Figure 8 starts to work, the DFF 532 is first reset through the ACK signal, and the configuration switch 535 is closed. In other words, the ACK signal is a high level when the circuit starts working. After the DFF 532 is reset, the ACK signal returns to a low level.
  • MOS tube M1 When MOS tube M1 first starts charging capacitor C, the voltage on capacitor C is low, that is, the voltage at point c is low, and the corresponding comparator 523 outputs, that is, the voltage at point d is low. At this time, DFF 532 will not flip, and Q remains low level.
  • the comparator 523 When the voltage on the capacitor C exceeds the threshold level (i.e., the input level Hi_TH at the negative input terminal of the comparator 523), the comparator 523 outputs a high level, that is, the potential of point d is pulled high, the state of DFF 532 is reversed, and Q becomes High level; after a period of delay (the delay size is determined by the delay circuit 531), the DFF 532 is reset, and Q becomes a low level, that is, the DFF 532 outputs a positive pulse, that is, a clock pulse is recovered. At the same time, the high-level signal output by the OR gate 533 releases the stored charge in the capacitor C.
  • the threshold level i.e., the input level Hi_TH at the negative input terminal of the comparator 523
  • hysteresis comparator 521 shown in FIG. 6 and FIG. 8 is just an example of a hysteresis comparator.
  • the hysteresis comparator used in the clock recovery circuit 500 may also be a hysteresis comparator with other structures.
  • Figure 9 is a schematic diagram of a hysteresis comparator.
  • Figure 9(a), Figure 9(b) and Figure 9(c) are schematic diagrams of three different hysteresis comparators.
  • the hysteresis comparator 521 shown in FIGS. 6 and 8 may be replaced with (a) in FIG. 9 , (b) in FIG. 9 , or (c) in FIG. 9 .
  • FIG. 9 When (a) in FIG. 9, (b) in FIG. 9, or (c) in FIG. 9 is used to replace the hysteresis comparator 521 shown in FIG. 6 and FIG. 8, (a) in FIG. 9, FIG.
  • Vin in (b) in Figure 9 or (c) in Figure 9 is the input terminal of the hysteresis comparator, used to connect the pulse detection circuit 510, Vout is the output terminal of the hysteresis comparator, used for DFF 532 or integration circuit 522 .
  • FIGS. 7 and 8 is just an example of an integrating circuit.
  • the integrating circuit applied to the clock recovery circuit 500 may also be an integrating circuit with other structures.
  • Figure 10 is a schematic diagram of the integrating circuit.
  • FIGS. 7 and 8 are schematic diagrams of three different integrating circuits.
  • the integrating circuit 522 shown in FIGS. 7 and 8 may be replaced with (a) in FIG. 10 , (b) in FIG. 10 , or (c) in FIG. 10 .
  • FIG. 10 When replacing the integrating circuit 522 shown in FIGS. 7 and 8 with (a) in FIG. 10 , (b) in FIG. 10 or (c) in FIG. 10 , (a) in FIG. 10 , FIG.
  • Vin in (b) or (c) in Figure 10 is the input terminal of the integrating circuit, used to connect the pulse detection circuit 510 or the hysteresis comparator 521, and Vout is the output terminal of the integrating circuit, used for the comparator 523.
  • FIG. 11 is a schematic diagram of an interface circuit provided according to an embodiment of the present application.
  • the interface circuit 1100 shown in FIG. 11 includes a CTLE circuit 1101 and a clock recovery circuit 1102.
  • the clock recovery circuit 1102 may be any clock recovery circuit shown in FIG. 6 to FIG. 8 .
  • FIG. 12 is a schematic structural diagram of a chip provided according to an embodiment of the present application.
  • the chip 1200 shown in FIG. 12 includes an interface circuit 1201 and a logic circuit 1202.
  • the logic circuit 1202 is coupled to the interface circuit 1201 and is used for receiving the signal output by the interface circuit 1201.
  • the chip shown in Figure 12 can be a system on chip (SoC), a central processor unit (CPU), a graphics processor (graphics processing unit, GPU), or It is an application processor (application processor, AP), etc.
  • SoC system on chip
  • CPU central processor unit
  • GPU graphics processor
  • AP application processor
  • FIG 13 is a schematic structural diagram of a computer device provided according to an embodiment of the present application.
  • computer device 1300 includes a chip 1301 and a printed circuit board (PCB) 1302.
  • Chip 1301 is provided on PCB 1302.
  • the computer device 1300 shown in Figure 13 may also include other necessary components, such as memory, sensors, display units, input units, audio circuits, etc.
  • computer device 1300 may also include a camera module.
  • the camera module is connected to the chip 1301 and sends data based on C-PHY to the chip 1301.
  • the computer device shown in Figure 13 may be a mobile phone, a laptop, a tablet, a car, a drone, and other computer devices.
  • the interface circuit is a circuit inside the chip.
  • the interface circuit may also be a discrete device.
  • a mobile phone includes a motherboard, which includes chips.
  • the mainboard is connected to the camera module through a flexible printed circuit (FPC) and the interface circuit.
  • FPC flexible printed circuit
  • the camera module in the computer device shown in Figure 13 can also be an independent device.
  • Each of the computer devices 1 and 2 may include components such as chips, memories, and interface circuits.
  • the computer device 1 may be a computer device capable of processing video and/or imaging functions.
  • the computer device 1 may be a laptop computer, a desktop computer, or other computer device.
  • the computer device 2 may be a computer device with video and/or photography functions.
  • the computer device 2 may be a digital camera, a digital video camera, a video camera, or other computer device.
  • the computer device 1 includes an interface circuit as shown in FIG. 11 .
  • the computer device 1 is connected to the computer device 2 through the interface circuit.
  • Computer device 2 sends C-PHY based data to computer device 1 . In this way the computer device 1 can process the video/image data acquired by the computer device 2 .
  • the computer device 1 may be a computer device capable of processing video and/or image functions.
  • the computer device 1 may be a laptop computer, a desktop computer, or other computer device.
  • the computer device 2 is a computer device having a display function.
  • the computer device 2 may be a monitor, a television, a virtual reality device (virtual reality, VR), an augmented reality (augmented reality, AR) device, etc.
  • the computer device 2 includes an interface circuit as shown in FIG. 11 .
  • the computer device 2 is connected to the computer device 1 through the interface circuit.
  • Computer device 1 sends C-PHY based data to computer device 2. In this way the computer device 2 can display the video/image data provided by the computer device 1 .
  • the disclosed systems, devices and methods can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented.
  • the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit.

Abstract

Embodiments of the present application provide a chip, comprising: a pulse detection circuit, a filter circuit and an output circuit. The pulse detection circuit is used for acquiring an input signal, determining a first output signal according to the input signal, and sending the first output signal to the filter circuit, wherein the input signal corresponds to an input data signal of a C-port physical layer (C-PHY) protocol. The filter circuit is used for filtering the first output signal from the pulse detection circuit to obtain a second output signal, and sending the second output signal to the output circuit. The output circuit is used for determining a clock signal according to the second output signal. According to the described technical solution, glitches in the first output signal can be reduced or eliminated, so that the overshooting of the determined clock signal can be reduced or even eliminated.

Description

芯片和计算机设备Chips and computer equipment
本申请要求于2022年05月31日提交中国专利局、申请号为202210614005.8、申请名称为“芯片和计算机设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the China Patent Office on May 31, 2022, with the application number 202210614005.8 and the application name "Chip and Computer Equipment", the entire content of which is incorporated into this application by reference.
技术领域Technical field
本申请实施例涉及电路技术领域,更具体地,涉及一种芯片和计算机设备。The embodiments of the present application relate to the field of circuit technology, and more specifically, to a chip and a computer device.
背景技术Background technique
C-端口物理层(port physical layer,PHY)协议是由移动行业处理器接口(mobile industry processor interface,MIPI)组织提出的一个相比M-PHY传输速度更低,但是和D-PHY更容易兼容的协议。The C-port physical layer (PHY) protocol is proposed by the mobile industry processor interface (MIPI) organization. It has a lower transmission speed than M-PHY, but is more compatible with D-PHY. agreement.
C-PHY与D-PHY有许多共同点,C-PHY的绝大部分特性都是从D-PHY改编而来的。因此,C-PHY被设计成能够与D-PHY在同一个集成电路(integrated circuit,IC)管脚上共存,从而可以开发出既支持C-PHY又支持D-PHY的双模器件。C-PHY and D-PHY have many things in common, and most of the features of C-PHY are adapted from D-PHY. Therefore, C-PHY is designed to coexist with D-PHY on the same integrated circuit (IC) pin, so that dual-mode devices that support both C-PHY and D-PHY can be developed.
虽然C-PHY复用了大部分D-PHY的标准,但是C-PHY的数据编码技术和D-PHY的有本质区别,具体体现在:1)C-PHY使用三根信号线,而D-PHY使用的是差分信号线对;2)C-PHY使用五进制传输,而D-PHY使用的是二进制;3)C-PHY没有单独的时钟信号,而D-PHY有单独的时钟信号。Although C-PHY reuses most of the D-PHY standards, the data encoding technology of C-PHY is essentially different from that of D-PHY. This is reflected in the following: 1) C-PHY uses three signal lines, while D-PHY Differential signal line pairs are used; 2) C-PHY uses quinary transmission, while D-PHY uses binary; 3) C-PHY does not have a separate clock signal, while D-PHY has a separate clock signal.
由于没有单独的时钟信号,C-PHY接收系统需要根据三根信号线中传输的信号恢复出时钟信号。因此,如何提高恢复出来的时钟信号的准确性成了业界需要关注的问题。Since there is no separate clock signal, the C-PHY receiving system needs to recover the clock signal based on the signals transmitted in the three signal lines. Therefore, how to improve the accuracy of the recovered clock signal has become an issue that the industry needs to pay attention to.
发明内容Contents of the invention
本申请实施例提供一种芯片和计算机设备,能够减少或消除第一输出信号中的毛刺,从而可以减少甚至消除确定出的时钟信号中的增拍现象的发生。Embodiments of the present application provide a chip and computer equipment that can reduce or eliminate glitches in the first output signal, thereby reducing or even eliminating the occurrence of the overshooting phenomenon in the determined clock signal.
第一方面,本申请实施例提供一种芯片,该芯片包括:脉冲检测电路、滤波电路和输出电路,其中该脉冲检测电路,用于获取输入信号,并根据该输入信号确定第一输出信号,并将该第一输出信号发送给该滤波电路,其中该输入信号对应于C-端口物理层C-PHY协议的输入数据信号;该滤波电路,用于对来自于该脉冲检测电路的该第一输出信号进行滤波,以得到第二输出信号,并将该第二输出信号发送至该输出电路;该输出电路,用于根据该第二输出信号,确定时钟信号。In a first aspect, embodiments of the present application provide a chip, which includes: a pulse detection circuit, a filter circuit and an output circuit, wherein the pulse detection circuit is used to obtain an input signal and determine a first output signal based on the input signal, and sends the first output signal to the filter circuit, wherein the input signal corresponds to the input data signal of the C-port physical layer C-PHY protocol; the filter circuit is used to process the first output signal from the pulse detection circuit. The output signal is filtered to obtain a second output signal, and the second output signal is sent to the output circuit; the output circuit is used to determine a clock signal according to the second output signal.
C-PHY一个完成的通信链路(lane)由三条物理连线构成,分别称为A、B、C三条线。发送端每次发送码元的时候,总有两条线发送高/低不同的电路,而剩下一条线发送中间电平。脉冲检测电路获取到的输入信号是差分信号,差分信号包括差分信号AB,差分信号BC和差分信号CA,其中差分信号AB是输入数据信号A(即来自于A线的数据 信号)和输入数据信号B(即来自于B线的数据信号),差分信号BC是输入数据信号B和输入数据信号C(即来自于C线的数据信号),差分信号CA是输入数据信号C和输入数据信号A的差分信号CA。A completed communication link (lane) of C-PHY consists of three physical connections, called A, B, and C respectively. Every time the transmitter sends a symbol, there are always two lines sending different high/low circuits, and the remaining one line sends the middle level. The input signal obtained by the pulse detection circuit is a differential signal. The differential signal includes differential signal AB, differential signal BC and differential signal CA. The differential signal AB is the input data signal A (that is, the data from line A signal) and the input data signal B (that is, the data signal from the B line), the differential signal BC is the input data signal B and the input data signal C (that is, the data signal from the C line), the differential signal CA is the input data signal C and the differential signal CA of the input data signal A.
脉冲检测电路可以通过检测该输入信号的沿变化,得到该第一输出信号。The pulse detection circuit can obtain the first output signal by detecting edge changes of the input signal.
差分信号AB、差分信号BC和差分信号CA是放大后的信号,因此差分信号AB、差分信号BC和差分信号CA存在较大的抖动。同时差分信号AB、差分信号BC和差分信号CA之间也存在时钟偏移(skew)。所以脉冲检测电路输出并不是一个和数据频率一样的时钟信号,而且存在许多由抖动造成的多个毛刺,从而导致时钟增拍,增拍会引发误采样,从而导致误码。The differential signal AB, the differential signal BC and the differential signal CA are amplified signals, so the differential signal AB, the differential signal BC and the differential signal CA have large jitter. At the same time, there is also a clock skew (skew) between the differential signal AB, the differential signal BC and the differential signal CA. Therefore, the output of the pulse detection circuit is not a clock signal with the same frequency as the data, and there are many burrs caused by jitter, which leads to clock overshooting. The overshooting will cause false sampling, resulting in bit errors.
所以理想情况下的第一输出信号应该是与数据频率一样的脉冲信号。但是,由于抖动造成的毛刺,所以脉冲检测电路输出的第一输出信号是包含毛刺的脉冲信号。So ideally the first output signal should be a pulse signal with the same frequency as the data. However, due to glitches caused by jitter, the first output signal output by the pulse detection circuit is a pulse signal containing glitches.
上述技术方案在脉冲检测模块和输出电路之间增加了能够过滤高频脉冲的滤波电路,这样可以过滤掉脉冲检测模块输出信号中的毛刺,从而减少甚至消除恢复出来的时钟在某些时间点出现增拍的情况发生。换句话说,滤波电路输出的第二输出信号中的毛刺数量要小于第一输出信号中的毛刺数量。甚至,在一些情况下,第二输出信号中可以没有毛刺。换句话说,第二输出信号也是一个脉冲信号,但是第二输出信号包含的毛刺数量要小于第一输出信号包含的毛刺数量。The above technical solution adds a filter circuit capable of filtering high-frequency pulses between the pulse detection module and the output circuit. This can filter out burrs in the output signal of the pulse detection module, thereby reducing or even eliminating the occurrence of the recovered clock at certain points in time. Additional shooting occurs. In other words, the number of glitches in the second output signal output by the filter circuit is smaller than the number of glitches in the first output signal. Even, in some cases, there may be no glitches in the second output signal. In other words, the second output signal is also a pulse signal, but the second output signal contains a smaller number of glitches than the first output signal.
结合第一方面,在第一方面的一种可能的实现方式中,该滤波电路包括迟滞比较器、积分电路和比较器,其中该迟滞比较器的第一输入端与该脉冲检测电路的输出端相连,该迟滞比较器的第二输入端用于获取参考电压;该积分电路的第一输入端与该迟滞比较器的输出端相连,该积分电路的第二输入端与该输出电路相连,用于获取来自于该输出电路的第一控制信号;该积分电路的输出端与该比较器的输入端相连,该比较器的输出端输出该第二输出信号;该输出电路还用于输出该第一控制信号。In conjunction with the first aspect, in a possible implementation of the first aspect, the filter circuit includes a hysteresis comparator, an integrating circuit and a comparator, wherein the first input terminal of the hysteresis comparator and the output terminal of the pulse detection circuit connected, the second input terminal of the hysteresis comparator is used to obtain the reference voltage; the first input terminal of the integrating circuit is connected to the output terminal of the hysteresis comparator, and the second input terminal of the integrating circuit is connected to the output circuit. In order to obtain the first control signal from the output circuit; the output terminal of the integrating circuit is connected to the input terminal of the comparator, and the output terminal of the comparator outputs the second output signal; the output circuit is also used to output the third a control signal.
上述技术方案使用了两级滤波,第一级滤波由迟滞比较器实现,第二级滤波由积分电路和比较器实现。传统的单限比较器如果输入信号在门限值附近有微小的干扰,则输出电压就会产生相应的抖动(起伏)。迟滞比较器有两个门限电压。只要在跳变电压值附近的干扰不超过两个门限电压之差,输出电压的值就将是稳定的。因此,第一级滤波利用迟滞比较器实现,过滤掉第一输出信号中的一些毛刺。第二级滤波可将上一级不连续的高脉冲串所覆盖的总面积算出,输出以一个以数据率为频率的脉冲,而由抖动造成且没有被第一级滤波处理掉的毛刺,则可以在这个过程中进一步被积分器平均掉,不会输出。The above technical solution uses two levels of filtering. The first level of filtering is implemented by a hysteresis comparator, and the second level of filtering is implemented by an integrating circuit and a comparator. If the input signal of a traditional single-limit comparator has slight interference near the threshold value, the output voltage will produce corresponding jitter (fluctuation). Hysteretic comparators have two threshold voltages. As long as the disturbance near the trip voltage value does not exceed the difference between the two threshold voltages, the value of the output voltage will be stable. Therefore, the first stage of filtering is implemented using a hysteresis comparator to filter out some glitches in the first output signal. The second stage of filtering can calculate the total area covered by the discontinuous high pulse train of the previous stage, and output a pulse with a frequency of the data rate, and the burrs caused by jitter and not processed by the first stage of filtering, then It can be further averaged out by the integrator in this process and will not be output.
结合第一方面,在第一方面的一种可能的实现方式中,该滤波电路包括积分电路和比较器,其中该积分电路的第一输入端与该脉冲检测电路的输出端相连,该积分电路的第二输入端与该输出电路相连,用于获取来自于该输出电路的第一控制信号;该积分电路的输出端与该比较器的输入端相连,该比较器的输出端输出该第二输出信号;该输出电路还用于输出该第一控制信号。In conjunction with the first aspect, in a possible implementation of the first aspect, the filter circuit includes an integrating circuit and a comparator, wherein the first input end of the integrating circuit is connected to the output end of the pulse detection circuit, and the integrating circuit The second input terminal is connected to the output circuit for obtaining the first control signal from the output circuit; the output terminal of the integrating circuit is connected to the input terminal of the comparator, and the output terminal of the comparator outputs the second Output signal; the output circuit is also used to output the first control signal.
上述技术方案利用积分电路进行滤波。积分电路可将第一输出信号不连续的高脉冲串所覆盖的总面积算出,输出以一个以数据率为频率的脉冲,而由抖动造成的毛刺,则可以在这个过程中被积分器平均掉,不会输出。The above technical solution uses an integrating circuit for filtering. The integrating circuit can calculate the total area covered by the discontinuous high pulse train of the first output signal, and output a pulse with a frequency of the data rate. The burrs caused by jitter can be averaged out by the integrator in the process. , will not be output.
结合第一方面,在第一方面的一种可能的实现方式中,该积分电路,包括:第一场效 应管、第二场效应管、第三场效应管、第一电阻、第二电阻和电容,其中该第一场效应管和该第二场效应管的栅极与该积分电路的第一输入端相连,该第三场效应管的栅极与该积分电路的第二输入端相连,该电容的第一端口与该积分电路的输出端相连,该第一场效应管的源极与该电容的第一端口相连,该电容的第二端口接地;该第二场效应管的漏极与该电容的第一端口相连,该第二场效应管的源极与该第一电阻的第一端口相连,该第一电阻的第二端口接地;该第三场效应管的漏极与该电容的第一端口相连,该第三场效应管的源极与该第二电阻的第一端口相连,该第二电阻的第二端口接地。Combined with the first aspect, in a possible implementation of the first aspect, the integrating circuit includes: a first field effect transistor, a second field effect transistor, a third field effect transistor, a first resistor, a second resistor and a capacitor, wherein the gates of the first field effect transistor and the second field effect transistor are connected to the first input of the integrating circuit terminal is connected, the gate of the third field effect transistor is connected to the second input terminal of the integrating circuit, the first port of the capacitor is connected to the output terminal of the integrating circuit, and the source of the first field effect transistor is connected to the capacitor. The first port of the capacitor is connected to the ground, the drain of the second field effect transistor is connected to the first port of the capacitor, and the source of the second field effect transistor is connected to the first port of the first resistor. connected, the second port of the first resistor is connected to ground; the drain of the third field effect transistor is connected to the first port of the capacitor, and the source of the third field effect transistor is connected to the first port of the second resistor, The second terminal of the second resistor is grounded.
上述技术方案利用第一场效应管的导通电阻和电容构成积分电路,从而可以便于芯片实现。The above technical solution uses the on-resistance and capacitance of the first field effect transistor to form an integrating circuit, thereby facilitating chip implementation.
结合第一方面,在第一方面的一种可能的实现方式中,该第一电阻是可调电阻,该可调电阻包括多个档位。In conjunction with the first aspect, in a possible implementation of the first aspect, the first resistor is an adjustable resistor, and the adjustable resistor includes a plurality of gears.
配置不同的电阻会影响不同大小的迟滞窗口;具体的档位需要根据前级的电路/信道产生的最大模式依赖抖动(pattern dependent jitter,PDJ)来选取合适的档位,从而可以适用于不同情况下的毛刺消除。此外,迟滞比较器可以配置合适的档位来和积分电路达到最好的滤毛刺效果。Configuring different resistors will affect the hysteresis windows of different sizes; the specific gear needs to be selected based on the maximum pattern-dependent jitter (PDJ) generated by the circuit/channel of the previous stage, so that it can be suitable for different situations. Eliminate burrs below. In addition, the hysteresis comparator can be configured with appropriate gears to achieve the best glitch filtering effect with the integrating circuit.
结合第一方面,在第一方面的一种可能的实现方式中,输出电路包括D触发器、延迟电路和控制电路,该延迟电路,用于获取该第二输出信号,对该第二输出信号进行延迟处理,得到延迟信号;该控制电路,用于根据第二输入信号和该延迟信号,生成该第一控制信号并将该第一控制信号发送至该积分电路,该第一控制信号是该第二输入信号和该延迟信号的逻辑或信号;该控制电路,还用于根据该第一控制信号,确定第二控制信号,该第二控制信号是该第一控制信号的逻辑非信号;该D触发器,用于根据该第二输出信号和该第二控制信号,生成该时钟电路。In conjunction with the first aspect, in a possible implementation of the first aspect, the output circuit includes a D flip-flop, a delay circuit and a control circuit, the delay circuit is used to obtain the second output signal, and the second output signal Perform delay processing to obtain a delayed signal; the control circuit is used to generate the first control signal according to the second input signal and the delay signal and send the first control signal to the integrating circuit, where the first control signal is the The logical OR signal of the second input signal and the delay signal; the control circuit is also used to determine a second control signal according to the first control signal, the second control signal is a logical negation signal of the first control signal; the D flip-flop, used to generate the clock circuit according to the second output signal and the second control signal.
结合第一方面,在第一方面的一种可能的实现方式中,该滤波电路包括迟滞比较器,其中该迟滞比较器的第一输入端与该脉冲检测电路的输出端相连,该迟滞比较器的第二输入端用于获取参考电压,该迟滞比较器的输出端输出该第二输出信号。In conjunction with the first aspect, in a possible implementation of the first aspect, the filter circuit includes a hysteresis comparator, wherein the first input terminal of the hysteresis comparator is connected to the output terminal of the pulse detection circuit, and the hysteresis comparator The second input terminal is used to obtain the reference voltage, and the output terminal of the hysteresis comparator outputs the second output signal.
传统的单限比较器如果输入信号在门限值附近有微小的干扰,则输出电压就会产生相应的抖动(起伏)。迟滞比较器有两个门限电压。只要在跳变电压值附近的干扰不超过两个门限电压之差,输出电压的值就将是稳定的。因此,利用迟滞比较器实现滤波可以过滤掉第一输出信号中的一些毛刺。If the input signal of a traditional single-limit comparator has slight interference near the threshold value, the output voltage will produce corresponding jitter (fluctuation). Hysteretic comparators have two threshold voltages. As long as the disturbance near the trip voltage value does not exceed the difference between the two threshold voltages, the value of the output voltage will be stable. Therefore, filtering using a hysteresis comparator can filter out some glitches in the first output signal.
第二方面,本申请实施例提供一种芯片,该芯片包括脉冲检测电路、迟滞比较器和积分电路,其中,该脉冲检测电路的输入端用于获取输入信号,该输入信号对应于C-端口物理层C-PHY协议的输入数据信号;该迟滞比较器的第一输入端与该脉冲检测电路的输出端相连,该迟滞比较器的第二输入端用于获取参考电压;该迟滞比较器的输出端与该积分电路的第一输入端相连。In a second aspect, embodiments of the present application provide a chip that includes a pulse detection circuit, a hysteresis comparator and an integrating circuit, wherein the input end of the pulse detection circuit is used to obtain an input signal, and the input signal corresponds to the C-port The input data signal of the physical layer C-PHY protocol; the first input terminal of the hysteresis comparator is connected to the output terminal of the pulse detection circuit, and the second input terminal of the hysteresis comparator is used to obtain the reference voltage; the hysteresis comparator's The output terminal is connected to the first input terminal of the integrating circuit.
C-PHY一个完成的通信链路(lane)由三条物理连线构成,分别称为A、B、C三条线。发送端每次发送码元的时候,总有两条线发送高/低不同的电路,而剩下一条线发送中间电平。脉冲检测电路获取到的输入信号是差分信号,差分信号包括差分信号AB,差分信号BC和差分信号CA。差分信号AB、差分信号BC和差分信号CA是放大后的信号,因此差分信号AB、差分信号BC和差分信号CA存在较大的抖动。同时差分信号AB、差 分信号BC和差分信号CA之间也存在时钟偏移(skew)。所以脉冲检测电路输出并不是一个和数据频率一样的时钟信号,而且存在许多由抖动造成的多个毛刺,从而导致时钟增拍,增拍会引发误采样,从而导致误码。A completed communication link (lane) of C-PHY consists of three physical connections, called A, B, and C respectively. Every time the transmitter sends a symbol, there are always two lines sending different high/low circuits, and the remaining one line sends the middle level. The input signal obtained by the pulse detection circuit is a differential signal, and the differential signal includes differential signal AB, differential signal BC and differential signal CA. The differential signal AB, the differential signal BC and the differential signal CA are amplified signals, so the differential signal AB, the differential signal BC and the differential signal CA have large jitter. Simultaneous differential signal AB, difference There is also a clock skew (skew) between the partial signal BC and the differential signal CA. Therefore, the output of the pulse detection circuit is not a clock signal with the same frequency as the data, and there are many burrs caused by jitter, which leads to clock overshooting. The overshooting will cause false sampling, resulting in bit errors.
所以理想情况下的脉冲检测电路的输出信号应该是与数据频率一样的脉冲信号。但是,由于抖动造成的毛刺,所以脉冲检测电路输出的输出信号是包含毛刺的脉冲信号。Therefore, ideally, the output signal of the pulse detection circuit should be a pulse signal with the same frequency as the data. However, due to glitches caused by jitter, the output signal output by the pulse detection circuit is a pulse signal containing glitches.
上述技术方案在脉冲检测模块和输出电路之间增加了能够过滤高频脉冲的迟滞比较器和积分电路,这样可以过滤掉脉冲检测模块输出信号中的毛刺,从而减少甚至消除恢复出来的时钟在某些时间点出现增拍的情况发生。The above technical solution adds a hysteresis comparator and an integrating circuit capable of filtering high-frequency pulses between the pulse detection module and the output circuit. This can filter out burrs in the output signal of the pulse detection module, thereby reducing or even eliminating the frequency of the recovered clock at a certain point. Additional auctions may occur at certain points in time.
更具体地,上述技术方案使用了两级滤波来过滤脉冲检测电路输出的信号中的毛刺。第一级滤波由迟滞比较器实现,第二级滤波由积分电路实现。传统的单限比较器如果输入信号在门限值附近有微小的干扰,则输出电压就会产生相应的抖动(起伏)。迟滞比较器有两个门限电压。只要在跳变电压值附近的干扰不超过两个门限电压之差,输出电压的值就将是稳定的。因此,第一级滤波利用迟滞比较器实现,过滤掉第一输出信号中的一些毛刺。第二级滤波可将上一级不连续的高脉冲串所覆盖的总面积算出,输出以一个以数据率为频率的脉冲,而由抖动造成且没有被第一级滤波处理掉的毛刺,则可以在这个过程中进一步被积分器平均掉,不会输出。换句话说,第二级滤波的输出信号也是一个脉冲信号,但是该输出信号包含的毛刺数量要小于脉冲检测电路的输出信号包含的毛刺数量。More specifically, the above technical solution uses two-stage filtering to filter burrs in the signal output by the pulse detection circuit. The first level of filtering is implemented by a hysteresis comparator, and the second level of filtering is implemented by an integrating circuit. If the input signal of a traditional single-limit comparator has slight interference near the threshold value, the output voltage will produce corresponding jitter (fluctuation). Hysteretic comparators have two threshold voltages. As long as the disturbance near the trip voltage value does not exceed the difference between the two threshold voltages, the value of the output voltage will be stable. Therefore, the first stage of filtering is implemented using a hysteresis comparator to filter out some glitches in the first output signal. The second stage of filtering can calculate the total area covered by the discontinuous high pulse train of the previous stage, and output a pulse with a frequency of the data rate, and the burrs caused by jitter and not processed by the first stage of filtering, then It can be further averaged out by the integrator in this process and will not be output. In other words, the output signal of the second stage filtering is also a pulse signal, but the number of burrs contained in this output signal is smaller than the number of burrs contained in the output signal of the pulse detection circuit.
结合第二方面,在第二方面一种可能的实现方式中,该积分电路,包括:第一场效应管、第二场效应管、第三场效应管、第一电阻、第二电阻和电容,该第一场效应管和该第二场效应管的栅极与该积分电路的第一输入端相连,该第三场效应管的栅极与该积分电路的第二输入端相连,该电容的第一端口与该积分电路的输出端相连,该第一场效应管的源极与该电容的第一端口相连,该电容的第二端口接地;该第二场效应管的漏极与该电容的第一端口相连,该第二场效应管的源极与该第一电阻的第一端口相连,该第一电阻的第二端口接地;该第三场效应管的漏极与该电容的第一端口相连,该第三场效应管的源极与该第二电阻的第一端口相连,该第二电阻的第二端口接地。Combined with the second aspect, in a possible implementation of the second aspect, the integrating circuit includes: a first field effect transistor, a second field effect transistor, a third field effect transistor, a first resistor, a second resistor and a capacitor. , the gates of the first field effect transistor and the second field effect transistor are connected to the first input terminal of the integrating circuit, the gate electrode of the third field effect transistor is connected to the second input terminal of the integrating circuit, and the capacitor The first port is connected to the output end of the integrating circuit, the source of the first field effect transistor is connected to the first port of the capacitor, the second port of the capacitor is grounded; the drain of the second field effect transistor is connected to the first port of the capacitor. The first port of the capacitor is connected, the source of the second field effect transistor is connected to the first port of the first resistor, the second port of the first resistor is connected to ground; the drain of the third field effect transistor is connected to the capacitor. The first port is connected, the source of the third field effect transistor is connected to the first port of the second resistor, and the second port of the second resistor is connected to ground.
上述技术方案利用第一场效应管的导通电阻和电容构成积分电路,从而可以便于芯片实现。The above technical solution uses the on-resistance and capacitance of the first field effect transistor to form an integrating circuit, thereby facilitating chip implementation.
结合第二方面,在第二方面的一种可能的实现方式中,该第一电阻是可调电阻,该可调电阻包括多个档位。In conjunction with the second aspect, in a possible implementation of the second aspect, the first resistor is an adjustable resistor, and the adjustable resistor includes a plurality of gears.
配置不同的电阻会影响不同大小的迟滞窗口;具体的档位需要根据前级的电路/信道产生的最大模式依赖抖动(pattern dependent jitter,PDJ)来选取合适的档位,从而可以适用于不同情况下的毛刺消除。此外,迟滞比较器可以配置合适的档位来和积分电路达到最好的滤毛刺效果。Configuring different resistors will affect the hysteresis windows of different sizes; the specific gear needs to be selected based on the maximum pattern-dependent jitter (PDJ) generated by the circuit/channel of the previous stage, so that it can be suitable for different situations. Eliminate burrs below. In addition, the hysteresis comparator can be configured with appropriate gears to achieve the best glitch filtering effect with the integrating circuit.
结合第二方面,在第二方面的一种可能的实现方式中,该芯片还包括比较器和输出电路,该输出电路包括D触发器、延迟电路和控制电路,该比较器的第一输入端与该积分电路的输出端相连,该比较器的第二输入端用于获取参考电压;该延迟电路的输入端与该比较器的输出端相连,该延迟电路的输出端与该控制电路的第一输入端相连;该控制电路的第二输入端用于获取控制信号,该控制电路的第一输出端与该积分电路的第二输入端相连,该控制电路的第二输出端与该D触发器的复位端口相连;该D触发器的时钟端口与该比 较器的输出端相连。In conjunction with the second aspect, in a possible implementation of the second aspect, the chip further includes a comparator and an output circuit. The output circuit includes a D flip-flop, a delay circuit and a control circuit. The first input terminal of the comparator Connected to the output terminal of the integrating circuit, the second input terminal of the comparator is used to obtain the reference voltage; the input terminal of the delay circuit is connected to the output terminal of the comparator, and the output terminal of the delay circuit is connected to the third input terminal of the control circuit. One input terminal is connected; the second input terminal of the control circuit is used to obtain a control signal; the first output terminal of the control circuit is connected to the second input terminal of the integrating circuit; the second output terminal of the control circuit is connected to the D trigger The reset port of the D flip-flop is connected to the The output of the comparator is connected.
第三方面,本申请实施例提供一种芯片,该芯片包括脉冲检测电路和积分电路,其中,该脉冲检测电路的输入端用于获取输入信号,该输入信号对应于C-端口物理层C-PHY协议的输入数据信号;该积分电路的第一输入端与该脉冲检测电路的输出端相连。In a third aspect, embodiments of the present application provide a chip that includes a pulse detection circuit and an integrating circuit, wherein the input end of the pulse detection circuit is used to obtain an input signal, and the input signal corresponds to the C-port physical layer C- The input data signal of the PHY protocol; the first input terminal of the integrating circuit is connected to the output terminal of the pulse detection circuit.
C-PHY一个完成的通信链路(lane)由三条物理连线构成,分别称为A、B、C三条线。发送端每次发送码元的时候,总有两条线发送高/低不同的电路,而剩下一条线发送中间电平。脉冲检测电路获取到的输入信号是差分信号,差分信号包括差分信号AB,差分信号BC和差分信号CA。差分信号AB、差分信号BC和差分信号CA是放大后的信号,因此差分信号AB、差分信号BC和差分信号CA存在较大的抖动。同时差分信号AB、差分信号BC和差分信号CA之间也存在时钟偏移(skew)。所以脉冲检测电路输出并不是一个和数据频率一样的时钟信号,而且存在许多由抖动造成的多个毛刺,从而导致时钟增拍,增拍会引发误采样,从而导致误码。A completed communication link (lane) of C-PHY consists of three physical connections, called A, B, and C respectively. Every time the transmitter sends a symbol, there are always two lines sending different high/low circuits, and the remaining one line sends the middle level. The input signal obtained by the pulse detection circuit is a differential signal, and the differential signal includes differential signal AB, differential signal BC and differential signal CA. The differential signal AB, the differential signal BC and the differential signal CA are amplified signals, so the differential signal AB, the differential signal BC and the differential signal CA have large jitter. At the same time, there is also a clock skew (skew) between the differential signal AB, the differential signal BC and the differential signal CA. Therefore, the output of the pulse detection circuit is not a clock signal with the same frequency as the data, and there are many burrs caused by jitter, which leads to clock overshooting. The overshooting will cause false sampling, resulting in bit errors.
所以理想情况下的脉冲检测电路的输出信号应该是与数据频率一样的脉冲信号。但是,由于抖动造成的毛刺,所以脉冲检测电路输出的输出信号是包含毛刺的脉冲信号。Therefore, ideally, the output signal of the pulse detection circuit should be a pulse signal with the same frequency as the data. However, due to glitches caused by jitter, the output signal output by the pulse detection circuit is a pulse signal containing glitches.
上述技术方案在脉冲检测模块和输出电路之间增加了能够过滤高频脉冲的积分电路,这样可以过滤掉脉冲检测模块输出信号中的毛刺,从而减少甚至消除恢复出来的时钟在某些时间点出现增拍的情况发生。积分电路可将第一输出信号不连续的高脉冲串所覆盖的总面积算出,输出以一个以数据率为频率的脉冲,而由抖动造成的毛刺,则可以在这个过程中被积分器平均掉,不会输出。换句话说,积分电路的输出信号也是一个脉冲信号,但是该输出信号包含的毛刺数量要小于脉冲检测电路的输出信号包含的毛刺数量。The above technical solution adds an integrating circuit capable of filtering high-frequency pulses between the pulse detection module and the output circuit. This can filter out burrs in the output signal of the pulse detection module, thereby reducing or even eliminating the occurrence of the recovered clock at certain points in time. Additional shooting occurs. The integrating circuit can calculate the total area covered by the discontinuous high pulse train of the first output signal, and output a pulse with a frequency of the data rate. The burrs caused by jitter can be averaged out by the integrator in the process. , will not be output. In other words, the output signal of the integrating circuit is also a pulse signal, but the number of burrs contained in the output signal is smaller than the number of burrs contained in the output signal of the pulse detection circuit.
结合第三方面,在第三方面的一种可能的实现方式中,该积分电路,包括:第一场效应管、第二场效应管、第三场效应管、第一电阻、第二电阻和电容,该第一场效应管和该第二场效应管的栅极与该积分电路的第一输入端相连,该第三场效应管的栅极与该积分电路的第二输入端相连,该电容的第一端口与该积分电路的输出端相连,该第一场效应管的源极与该电容的第一端口相连,该电容的第二端口接地;该第二场效应管的漏极与该电容的第一端口相连,该第二场效应管的源极与该第一电阻的第一端口相连,该第一电阻的第二端口接地;该第三场效应管的漏极与该电容的第一端口相连,该第三场效应管的源极与该第二电阻的第一端口相连,该第二电阻的第二端口接地。Combined with the third aspect, in a possible implementation of the third aspect, the integrating circuit includes: a first field effect transistor, a second field effect transistor, a third field effect transistor, a first resistor, a second resistor and capacitor, the gates of the first field effect transistor and the second field effect transistor are connected to the first input end of the integrating circuit, the gate electrode of the third field effect transistor is connected to the second input end of the integrating circuit, the The first port of the capacitor is connected to the output end of the integrating circuit, the source of the first field effect transistor is connected to the first port of the capacitor, the second port of the capacitor is grounded; the drain of the second field effect transistor is connected to the ground. The first port of the capacitor is connected, the source of the second field effect transistor is connected to the first port of the first resistor, the second port of the first resistor is connected to ground; the drain of the third field effect transistor is connected to the capacitor. The first port of the third field effect transistor is connected to the first port of the second resistor, and the second port of the second resistor is connected to ground.
结合第三方面,在第三方面的一种可能的实现方式中,该第一电阻是可调电阻,该可调电阻包括多个档位。In conjunction with the third aspect, in a possible implementation of the third aspect, the first resistor is an adjustable resistor, and the adjustable resistor includes a plurality of gears.
上述技术方案利用第一场效应管的导通电阻和电容构成积分电路,从而可以便于芯片实现。The above technical solution uses the on-resistance and capacitance of the first field effect transistor to form an integrating circuit, thereby facilitating chip implementation.
配置不同的电阻会影响不同大小的迟滞窗口;具体的档位需要根据前级的电路/信道产生的最大模式依赖抖动(pattern dependent jitter,PDJ)来选取合适的档位,从而可以适用于不同情况下的毛刺消除。此外,迟滞比较器可以配置合适的档位来和积分电路达到最好的滤毛刺效果。Configuring different resistors will affect the hysteresis windows of different sizes; the specific gear needs to be selected based on the maximum pattern-dependent jitter (PDJ) generated by the circuit/channel of the previous stage, so that it can be suitable for different situations. Eliminate burrs below. In addition, the hysteresis comparator can be configured with appropriate gears to achieve the best glitch filtering effect with the integrating circuit.
结合第三方面,在第三方面的一种可能的实现方式中,该芯片还包括比较器和输出电路,该输出电路包括D触发器、延迟电路和控制电路,该比较器的第一输入端与该积分电路的输出端相连,该比较器的第二输入端用于获取参考电压;该延迟电路的输入端与该比 较器的输出端相连,该延迟电路的输出端与该控制电路的第一输入端相连;该控制电路的第二输入端用于获取控制信号,该控制电路的第一输出端与该积分电路的第二输入端相连,该控制电路的第二输出端与该D触发器的复位端口相连;该D触发器的时钟端口与该比较器的输出端相连。In conjunction with the third aspect, in a possible implementation of the third aspect, the chip further includes a comparator and an output circuit. The output circuit includes a D flip-flop, a delay circuit and a control circuit. The first input terminal of the comparator Connected to the output terminal of the integrating circuit, the second input terminal of the comparator is used to obtain the reference voltage; the input terminal of the delay circuit is connected to the comparator. The output end of the comparator is connected, the output end of the delay circuit is connected to the first input end of the control circuit; the second input end of the control circuit is used to obtain the control signal, and the first output end of the control circuit is connected to the integrating circuit The second input terminal of the control circuit is connected to the reset port of the D flip-flop; the clock port of the D flip-flop is connected to the output terminal of the comparator.
第四方面,本申请实施例提供一种计算机设备,该计算机设备包括印刷电路板和第一方面、第二方面,第三方面或者第一方面至第三方面的任一种可能的实现方式中的芯片,该芯片固定于该印刷电路板。In a fourth aspect, embodiments of the present application provide a computer device, which computer device includes a printed circuit board and any possible implementation of the first aspect, the second aspect, the third aspect, or the first aspect to the third aspect. The chip is fixed on the printed circuit board.
附图说明Description of the drawings
图1是接收端的接收电路示意图。Figure 1 is a schematic diagram of the receiving circuit at the receiving end.
图2是一个时钟恢复电路的示意图。Figure 2 is a schematic diagram of a clock recovery circuit.
图3是时钟恢复电路恢复时钟的时序图。Figure 3 is a timing diagram for the clock recovery circuit to recover the clock.
图4是另一时钟恢复电路恢复时钟的时序图。Figure 4 is a timing diagram of another clock recovery circuit recovering the clock.
图5是根据本申请实施例提供的一种芯片的示意性结构框图。Figure 5 is a schematic structural block diagram of a chip provided according to an embodiment of the present application.
图6是在采用方案1的情况下的时钟恢复电路的电路图。FIG. 6 is a circuit diagram of the clock recovery circuit in the case where Scheme 1 is adopted.
图7是在采用方案2的情况下的时钟恢复电路的电路图。FIG. 7 is a circuit diagram of the clock recovery circuit in the case of adopting Scheme 2.
图8是在采用方案3的情况下的时钟恢复电路的电路图。FIG. 8 is a circuit diagram of the clock recovery circuit in the case where Scheme 3 is adopted.
图9是迟滞比较器的示意图。Figure 9 is a schematic diagram of a hysteresis comparator.
图10是积分电路的示意图。Figure 10 is a schematic diagram of the integrating circuit.
图11是根据本申请实施例提供的一种接口电路的示意图。Figure 11 is a schematic diagram of an interface circuit provided according to an embodiment of the present application.
图12是根据本申请实施例提供的一种芯片的结构示意图。Figure 12 is a schematic structural diagram of a chip provided according to an embodiment of the present application.
图13是根据本申请实施例提供的一种计算机设备的示意性结构图。Figure 13 is a schematic structural diagram of a computer device provided according to an embodiment of the present application.
图14是根据本申请实施例提供的脉冲检测电路的示意性结构图。Figure 14 is a schematic structural diagram of a pulse detection circuit provided according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
为了便于本领域技术人员更好地理解本申请的技术方案,首先对本申请技术方案涉及的一些技术进行介绍。In order to facilitate those skilled in the art to better understand the technical solution of the present application, some technologies involved in the technical solution of the present application are first introduced.
C-PHY一个完成的通信链路(lane)由三条物理连线构成,分别称为A、B、C三条线。发送端每次发送码元的时候,总有两条线发送高/低不同的电路,而剩下一条线发送中间电平。因为每次发送码元时取高/低电平的线是不固定的,所以每次三条线可以表示3×2=6种状态。协议中,以+x,-x,+y,-y,+z,-z来表示这6种状态。同时根据协议,每次发送的码元,必定与上一次不同,即每次三条线的状态都会有变化;即每次都是从6种状态中的一种,变成剩下5种中的一种。C-PHY采用状态变化进行编码。每次的状态变化有5种可能,C-PHY协议中规定,以连续的7个码元(以状态变化来定义码元序列的取值空间,即有57=78125种可能),来对应16比特(bit)的信息空间(共216=65536种可能),虽有冗余,但可以保证覆盖。A completed communication link (lane) of C-PHY consists of three physical connections, called A, B, and C respectively. Every time the transmitter sends a symbol, there are always two lines sending different high/low circuits, and the remaining one line sends the middle level. Because the line that takes the high/low level each time a symbol is sent is not fixed, three lines at a time can represent 3×2=6 states. In the protocol, these 6 states are represented by +x,-x,+y,-y,+z,-z. At the same time, according to the protocol, the code elements sent each time must be different from the last time, that is, the status of the three lines will change each time; that is, each time it will change from one of the 6 states to the remaining 5 states. A sort of. C-PHY uses state changes for encoding. There are 5 possibilities for each state change. The C-PHY protocol stipulates that 7 consecutive codes are used to correspond (the value space of the code element sequence is defined by state changes, that is, there are 5 7 = 78125 possibilities). Although there is redundancy in the 16-bit information space (a total of 2 16 = 65536 possibilities), coverage can be guaranteed.
在接收端,采用三条线上信号两两相减的办法,每次可以得到一个3bit的信号,对应三条线的状态;相应电路可以根据这个3bit信号的变化情况,根据C-PHY协议中定义的 编码原理进行译码,恢复原始2进制信息。At the receiving end, the method of subtracting the signals on the three lines is used to obtain a 3-bit signal each time, corresponding to the status of the three lines; the corresponding circuit can, based on the changes in the 3-bit signal, define the C-PHY protocol Decode according to the coding principle and restore the original binary information.
图1是接收端的接收电路示意图。Figure 1 is a schematic diagram of the receiving circuit at the receiving end.
如图1所示,A、B、C三条线中的A线和B线与连续时间线性均衡器(continuous time linear equalization,CTLE)101相连,B线和C线与CTLE 102相连,A线和C线与CTLE103相连。CTLE 101输出A线与B线的差分信号AB,CTLE 102输出B线和C线的差分信号BC,CTLE 103输出C线与A线的差分信号CA。As shown in Figure 1, among the three lines A, B, and C, line A and line B are connected to the continuous time linear equalizer (CTLE) 101, lines B and C are connected to CTLE 102, and line A and Line C is connected to CTLE103. CTLE 101 outputs the differential signal AB between line A and line B, CTLE 102 outputs the differential signal BC between line B and line C, and CTLE 103 outputs the differential signal CA between line C and line A.
表1是接收端编码表格。Table 1 is the receiving end encoding table.
表1
Table 1
如表1所示,在线状态(wire state)是+x的情况下,A线接收到的线电压是高电平(3/4伏特(volt,V)),B线接收到的电压是低电平(1/4V),C线接收到的电压是中间电平(1/2V);差分信号AB为1/2V,差分信号BC为-1/4,差分信号CA为-1/4。如果差分信号的值大于0,则对应的数字输出是1;如果差分信号的值小于0,则对应的数字输出是0。因子,在线状态是+x的情况下,接收端的数字输出是100。As shown in Table 1, when the wire state is +x, the line voltage received by line A is high (3/4 volt (V)), and the voltage received by line B is low. level (1/4V), the voltage received by line C is the middle level (1/2V); the differential signal AB is 1/2V, the differential signal BC is -1/4, and the differential signal CA is -1/4. If the value of the differential signal is greater than 0, the corresponding digital output is 1; if the value of the differential signal is less than 0, the corresponding digital output is 0. Factor, when the online status is +x, the digital output at the receiving end is 100.
为了恢复时钟信号,通常会在CTLE后接入时钟恢复电路,该时钟恢复电路根据差分信号AB,差分信号BC和差分信号CA恢复出时钟信号。In order to recover the clock signal, a clock recovery circuit is usually connected after the CTLE. The clock recovery circuit recovers the clock signal based on the differential signal AB, the differential signal BC and the differential signal CA.
图2是一个时钟恢复电路的示意图。Figure 2 is a schematic diagram of a clock recovery circuit.
如图2所示的时钟恢复电路200包括脉冲检测电路201、D触发器(D type flip-flop,DFF)202和延迟线203。The clock recovery circuit 200 shown in FIG. 2 includes a pulse detection circuit 201, a D flip-flop (D type flip-flop, DFF) 202 and a delay line 203.
脉冲检测电路201接收来自于CTLE 101至CTLE 103的差分信号。脉冲检测电路201会根据这些差分信号的跳变输出一个固定频率的脉冲信号。根据C-PHY协议的要求,C-PHY的差分信号AB、差分信号BC和差分信号CA每一个数据码元就会跳变一次。所以理想条件下,脉冲检测电路201检测数据的沿变化,可以输出一个和数据率相同频率的脉冲信号。比如3.5千兆比特每秒(gigabits per second,Gbps)的数据信号,可以通过脉冲检测电路201产生3.5GHz的窄脉冲。这个时钟会送到DFF 202采样一个恒高电平(即图2中所示的TieH),产生的沿经过延迟可配的延迟线203来产生一个掩码(mask)来复位DFF 202到0,得到时钟的下降沿,从而在DFF 202的输出恢复出一个3.5G的时钟,C-PHY接收系统便使用这个时钟采样数据,对A,B,C三线编码的解串输出。Pulse detection circuit 201 receives differential signals from CTLE 101 to CTLE 103. The pulse detection circuit 201 will output a pulse signal with a fixed frequency according to the transition of these differential signals. According to the requirements of the C-PHY protocol, each data symbol of the C-PHY differential signal AB, differential signal BC, and differential signal CA will jump once. Therefore, under ideal conditions, the pulse detection circuit 201 detects the edge change of data and can output a pulse signal with the same frequency as the data rate. For example, a 3.5 gigabits per second (Gbps) data signal can generate a 3.5GHz narrow pulse through the pulse detection circuit 201 . This clock will be sent to DFF 202 to sample a constant high level (i.e., TieH shown in Figure 2), and the generated edge will pass through the delay line 203 with configurable delay to generate a mask to reset DFF 202 to 0. The falling edge of the clock is obtained, thereby recovering a 3.5G clock at the output of DFF 202. The C-PHY receiving system uses this clock to sample data and deserialize and output the A, B, and C three-line codes.
图3是时钟恢复电路恢复时钟的时序图。Figure 3 is a timing diagram for the clock recovery circuit to recover the clock.
如图3所示的AB/BC/CA是差分信号AB、差分信号BC和差分信号CA;边缘检测是脉冲检测电路201输出的信号;掩码是延迟线203产生的掩码;时钟信号是DFF 202恢复的正确频率的时钟。 As shown in Figure 3, AB/BC/CA is the differential signal AB, the differential signal BC and the differential signal CA; the edge detection is the signal output by the pulse detection circuit 201; the mask is the mask generated by the delay line 203; the clock signal is DFF 202 recovers the correct frequency clock.
由于差分信号AB、差分信号BC和差分信号CA是经过CTLE放大后的信号,因此差分信号AB、差分信号BC和差分信号CA存在较大的抖动。同时差分信号AB、差分信号BC和差分信号CA之间也存在时钟偏移(skew)。所以脉冲检测电路201输出并不是个纯粹的和数据频率一样的时钟信号,而且存在许多由抖动造成的多个高频脉冲,而这样的时钟是无法使用的。因此,需要借助后续延迟可调的延迟线203选择合适的掩码来消除脉冲检测电路201输出带来的高频脉冲,恢复出来一个正确频率的时钟,即图3中的时钟信号。Since the differential signal AB, the differential signal BC and the differential signal CA are signals amplified by CTLE, there is a large jitter in the differential signal AB, the differential signal BC and the differential signal CA. At the same time, there is also a clock skew (skew) between the differential signal AB, the differential signal BC and the differential signal CA. Therefore, the output of the pulse detection circuit 201 is not a pure clock signal with the same frequency as the data, but there are many high-frequency pulses caused by jitter, and such a clock cannot be used. Therefore, it is necessary to use the subsequent delay-adjustable delay line 203 to select an appropriate mask to eliminate the high-frequency pulses caused by the output of the pulse detection circuit 201 and recover a clock with a correct frequency, that is, the clock signal in Figure 3.
如图3所示的时序图中可以找到一个合适的掩码来恢复出正确频率的时钟信号。但是随着产品的演进,时钟恢复电路前的CTLE会设计到越来越低的电压域(比如1.8V->1.2V),电压的降低会使得CTLE的线性度大幅恶化,导致差分信号AB、差分信号BC和差分信号CA的抖动恶化。同时出于竞争力的考虑,产品的实际形态可能会将C-PHY和D-PHY的电路集成到同一块芯片。C-PHY的CTLE电路常常会复用D-PHY的CTLE来实现,物理设计容易造成图1中的3个CTLE的失配。C-PHY信道的码间干扰(inter symbol interference,ISI)和插损也远大于D-PHY。综上因素使得脉冲检测模块输出的不在目标频点的高频脉冲(又可以称为毛刺)会明显增加;这会直接导致恢复出来的时钟在某些时间点出现毛刺,这些毛刺会导致时钟增拍引发误采样,从而导致误码。A suitable mask can be found in the timing diagram shown in Figure 3 to recover the clock signal with the correct frequency. However, with the evolution of products, the CTLE before the clock recovery circuit will be designed to lower and lower voltage domains (such as 1.8V->1.2V). The reduction in voltage will greatly deteriorate the linearity of the CTLE, resulting in differential signals AB, The jitter of the differential signal BC and the differential signal CA deteriorates. At the same time, for competitiveness considerations, the actual form of the product may integrate C-PHY and D-PHY circuits into the same chip. The CTLE circuit of C-PHY is often implemented by reusing the CTLE of D-PHY. The physical design can easily cause the mismatch of the three CTLEs in Figure 1. The inter-symbol interference (ISI) and insertion loss of the C-PHY channel are also much greater than those of the D-PHY. To sum up, the high-frequency pulses (also called glitches) output by the pulse detection module that are not at the target frequency will increase significantly; this will directly cause the recovered clock to have glitches at certain points in time, and these glitches will cause the clock to increase. The beat causes false sampling, resulting in bit errors.
图4是另一时钟恢复电路恢复时钟的时序图。如图4所示的时序图中的出现了因毛刺导致的时钟增拍。Figure 4 is a timing diagram of another clock recovery circuit recovering the clock. As shown in the timing diagram shown in Figure 4, there is an increase in clock beats caused by glitches.
增加掩码长度是一种过滤多余高频脉冲的方案。但是这又会导致掩码长度过长,使得下一拍的时钟被复位,导致时钟丢拍,这个也会导致误码。如果希望通过增加掩码长度过滤高频脉冲但是又同时避免掩码长度过长导致时钟丢拍,那么时钟恢复电路的掩码长度至少要大于CTLE输出的最大抖动,同时小于1个码元减去最大抖动,即满足公式1.1:Increasing the mask length is a solution to filter out unwanted high-frequency pulses. However, this will cause the mask length to be too long, causing the clock of the next beat to be reset, causing the clock to lose a beat, which will also lead to bit errors. If you want to filter high-frequency pulses by increasing the mask length but at the same time avoid clock missing due to too long mask length, then the mask length of the clock recovery circuit must be at least greater than the maximum jitter of the CTLE output, and at the same time less than 1 symbol minus The maximum jitter satisfies formula 1.1:
max_pdj<Clockmask<UI-max_pdj,(公式1.1)max_pdj<Clock mask <UI-max_pdj, (Formula 1.1)
其中,max_pdj是CTLE输出的最大模式依赖抖动(pattern dependent jitter,PDJ),Clockmask是掩码长度,UI是一个码元的长度。Among them, max_pdj is the maximum pattern dependent jitter (PDJ) output by CTLE, Clock mask is the mask length, and UI is the length of one symbol.
公式1.1的限制条件使得时钟恢复模块设计变得非常困难,既要兼顾到CTLE输出的抖动,同时也不能太大以至于复位到下一个应该恢复时钟沿。而当工艺,电压,温度波动的时候,采用这种方案的电路的鲁棒性也会比较差。The constraints of Equation 1.1 make it very difficult to design a clock recovery module. It is necessary to take into account the jitter of the CTLE output, but at the same time it cannot be too large to reset to the next clock edge that should be recovered. When the process, voltage, and temperature fluctuate, the robustness of the circuit using this solution will also be relatively poor.
本申请提供一种芯片,该芯片包括的时钟恢复电路在脉冲检测和DFF之间增加了能够过滤毛刺的滤波电路,这样可以无需通过延长掩码的方式过滤掉脉冲检测模块输出信号中的毛刺,从而减少恢复出来的时钟在某些时间点出现增拍的情况发生。This application provides a chip. The clock recovery circuit included in the chip adds a filter circuit capable of filtering burrs between pulse detection and DFF, so that burrs in the output signal of the pulse detection module can be filtered out without extending the mask. This reduces the occurrence of additional shots in the recovered clock at certain points in time.
图5是根据本申请实施例提供的一种芯片的示意性结构框图。如图5所示的芯片500包括脉冲检测电路510、滤波电路520和输出电路530。Figure 5 is a schematic structural block diagram of a chip provided according to an embodiment of the present application. The chip 500 shown in FIG. 5 includes a pulse detection circuit 510, a filter circuit 520 and an output circuit 530.
如图5所示的芯片可以是是系统芯片(system on chip,SoC),还可以是中央处理器(central processor unit,CPU),还可以是图像处理器(graphics processing unit,GPU),还可以是应用处理器(application processor,AP)等。The chip shown in Figure 5 can be a system on chip (SoC), a central processor (central processor unit, CPU), or a graphics processor (graphics processing unit, GPU), or It is an application processor (application processor, AP), etc.
脉冲检测电路510获取的输入信号是CTLE输出的三路差分信号,即差分信号AB、差分信号BC和差分信号CA。The input signals acquired by the pulse detection circuit 510 are three differential signals output by CTLE, namely differential signal AB, differential signal BC and differential signal CA.
脉冲检测电路510用于获取输入信号,并根据所述输入信号确定第一输出信号,并将 该第一输出信号发送给滤波电路520。The pulse detection circuit 510 is used to obtain the input signal, determine the first output signal according to the input signal, and The first output signal is sent to filter circuit 520 .
脉冲检测电路510可以使用目前常用的时钟恢复电路中的脉冲检测电路。例如,一般用简单与门和或门组合逻辑即可实现脉冲检测电路510。图14示出了两种脉冲检测电路的示意图。如图14中的(a)所示的脉冲检测电路可以由延迟单元、异或门(XOR)和或门(OR)实现。图14中的(b)所示的脉冲检测电路可以由延迟单元、与非门(NAND)和或门(OR)实现。The pulse detection circuit 510 may use a pulse detection circuit in a currently commonly used clock recovery circuit. For example, the pulse detection circuit 510 can generally be implemented using simple AND gate and OR gate combination logic. Figure 14 shows schematic diagrams of two pulse detection circuits. The pulse detection circuit shown in (a) of FIG. 14 can be implemented by a delay unit, an exclusive OR gate (XOR), and an OR gate (OR). The pulse detection circuit shown in (b) of FIG. 14 can be implemented by a delay unit, a NAND gate (NAND), and an OR gate (OR).
滤波电路520用于对来自于脉冲检测电路510的第一输出信号进行滤波,以减少第一输出信号中的毛刺。滤波后得到的信号可以称为第二输出信号。滤波电路520将第二输出信号发送至输出电路530。The filter circuit 520 is used to filter the first output signal from the pulse detection circuit 510 to reduce glitches in the first output signal. The signal obtained after filtering can be called the second output signal. Filter circuit 520 sends the second output signal to output circuit 530.
输出电路530用于根据该第二输出信号,确定时钟信号。The output circuit 530 is used to determine the clock signal according to the second output signal.
在一些实施例中,可以使用迟滞比较器实现毛刺的过滤。换句话说,滤波电路520可以是迟滞比较器。In some embodiments, a hysteresis comparator may be used to implement glitch filtering. In other words, filter circuit 520 may be a hysteretic comparator.
在另一些实施例中,可以使用积分电路实现毛刺过滤,然后使用比较器输出方波信号。换句话说,滤波电路520可以通过积分电路和比较器实现。In other embodiments, an integrating circuit may be used to implement glitch filtering, and then a comparator may be used to output a square wave signal. In other words, the filter circuit 520 can be implemented by an integrating circuit and a comparator.
在另一些实施例中,可以同时使用迟滞比较器和积分电路实现毛刺过滤。在此情况下,可以使用比较器对积分电路的输出信号进行处理以得到方波。换句话说,滤波电路520可以包括迟滞比较器、积分电路和比较器。In other embodiments, a hysteresis comparator and an integrating circuit may be used simultaneously to implement glitch filtering. In this case, the output signal of the integrating circuit can be processed using a comparator to obtain a square wave. In other words, the filter circuit 520 may include a hysteresis comparator, an integrating circuit, and a comparator.
表2列出了可能的滤波电路的实现方案。Table 2 lists possible filter circuit implementations.
表2
Table 2
下面分别对方案1至方案3进行介绍。The following introduces options 1 to 3 respectively.
本领域技术人员可以理解,芯片除了包括脉冲检测电路、滤波电路和输出电路以外,还可以包括其他部件。例如,用于获取差分信号的CTLE、用于处理数据的逻辑电路等。为了便于描述,以下将脉冲检测电路、滤波电路和输出电路通称为时钟恢复电路。Those skilled in the art can understand that in addition to pulse detection circuits, filter circuits and output circuits, the chip may also include other components. For example, CTLE used to obtain differential signals, logic circuits used to process data, etc. For ease of description, the pulse detection circuit, filter circuit and output circuit are collectively referred to as clock recovery circuits below.
图6是在采用方案1的情况下的时钟恢复电路的电路图。FIG. 6 is a circuit diagram of the clock recovery circuit in the case where Scheme 1 is adopted.
如图6所示,迟滞比较器521的一个输入端与脉冲检测电路510的的输出端相连,用于获取脉冲检测电路510的输出信号,另一个输入端用于获取参考电压Vref。As shown in FIG. 6 , one input terminal of the hysteresis comparator 521 is connected to the output terminal of the pulse detection circuit 510 for obtaining the output signal of the pulse detection circuit 510 , and the other input terminal is used for obtaining the reference voltage Vref.
如图6所示的迟滞比较器521的输出端与DFF 532的时钟(clock,CLK)引脚相连。此外,迟滞比较器521的输出端与开关535的一端相连,开关535的另一端与延迟电路531的输入端相连。The output end of the hysteresis comparator 521 shown in Figure 6 is connected to the clock (clock, CLK) pin of the DFF 532. In addition, the output terminal of the hysteresis comparator 521 is connected to one terminal of the switch 535 , and the other terminal of the switch 535 is connected to the input terminal of the delay circuit 531 .
延迟电路531的输出端与由逻辑门电路实现的控制电路相连。该控制电路包括或门533和非门534。或门533的一个输入端与延迟电路531的输出端相连,或门533的另一输入端用于获取输入信号(即图6中所示的ACK)。或门533的输出端与非门534的输入端相连,非门534的输出端连接至DFF 532的复位端。The output terminal of the delay circuit 531 is connected to a control circuit implemented by a logic gate circuit. The control circuit includes an OR gate 533 and a NOT gate 534 . One input terminal of the OR gate 533 is connected to the output terminal of the delay circuit 531, and the other input terminal of the OR gate 533 is used to obtain the input signal (ie, ACK shown in FIG. 6). The output terminal of the OR gate 533 is connected to the input terminal of the NOT gate 534, and the output terminal of the NOT gate 534 is connected to the reset terminal of the DFF 532.
在一些实施例中,延迟电路531的输出端也可以直接连接至DFF 532的复位端。 In some embodiments, the output terminal of the delay circuit 531 may also be directly connected to the reset terminal of the DFF 532 .
DFF 532的D端口输入的是工作电压,Q端口输出端就是恢复出来的时钟信号。The D port of DFF 532 inputs the operating voltage, and the Q port output is the recovered clock signal.
电路开始工作的时候,先通过ACK信号复位DFF 532,控制开关535闭合。换句话说,在电路开始工作的时候ACK信号是一个高电平,DFF 532复位后,ACK信号恢复为低电平。当迟滞比较器531输出的信号为低电平时,DFF 532不会翻转,Q保持低电平。当迟滞比较器531输出的信号为高电平时,DFF 532状态发生反转,Q变成高电平;经过一段时间的延迟(由延迟电路531决定延迟大小),再将DFF 532复位,Q变成低电平,即DFF 532输出一个正脉冲,即恢复出一个时钟脉冲。When the circuit starts to work, the DFF 532 is first reset through the ACK signal and the control switch 535 is closed. In other words, the ACK signal is a high level when the circuit starts working. After the DFF 532 is reset, the ACK signal returns to a low level. When the signal output by hysteresis comparator 531 is low level, DFF 532 will not flip and Q remains low level. When the signal output by the hysteresis comparator 531 is high level, the state of DFF 532 is reversed, and Q becomes high level; after a period of delay (the delay size is determined by the delay circuit 531), the DFF 532 is reset, and Q becomes high level. into a low level, that is, DFF 532 outputs a positive pulse, that is, a clock pulse is recovered.
图7是在采用方案2的情况下的时钟恢复电路的电路图。在采用方案2的情况下,图5所示的滤波电路包括积分电路522和比较器523。FIG. 7 is a circuit diagram of the clock recovery circuit in the case of adopting Scheme 2. In the case of using Scheme 2, the filter circuit shown in FIG. 5 includes an integrating circuit 522 and a comparator 523.
如图7所示,积分电路522包括三个金属-氧化物半导体场效应晶体管(metal-oxide-semiconductor field-effect transistor,MOSFET)(也可以简称为MOS管)和两个电阻。三个MOS管可以分别称为MOS管M1,MOS管M2和MOS管M3,两个电阻可以分别称为电阻R4和电阻R5。除此之外,积分电路522还包括一个电容,可以称为电容C。As shown in FIG. 7 , the integrating circuit 522 includes three metal-oxide-semiconductor field-effect transistors (MOSFETs) (also referred to as MOS transistors for short) and two resistors. The three MOS tubes can be called MOS tube M1, MOS tube M2 and MOS tube M3 respectively, and the two resistors can be called resistor R4 and resistor R5 respectively. In addition, the integrating circuit 522 also includes a capacitor, which may be called a capacitor C.
如图7所示,MOS管M1和MOS管M2的栅极与脉冲检测电路510的输出端相连,用于接收来自于脉冲检测电路510输出的第一输出信号。因此,可以认为图7中所示的点a相当于是积分电路522的一个输入端(可以称为第一输入端)。As shown in FIG. 7 , the gates of the MOS transistor M1 and the MOS transistor M2 are connected to the output terminal of the pulse detection circuit 510 for receiving the first output signal from the pulse detection circuit 510 . Therefore, it can be considered that point a shown in FIG. 7 is equivalent to an input terminal of the integrating circuit 522 (which can be called a first input terminal).
MOS管M3的栅极与输出电路530中的或门533的输出端相连,用于接收来自于或门533的输入信号。因此,可以认为图7所示的点b相当于是积分电路522的另一个输入端(可以称为第二输入端)。The gate of the MOS transistor M3 is connected to the output terminal of the OR gate 533 in the output circuit 530 for receiving the input signal from the OR gate 533. Therefore, it can be considered that point b shown in FIG. 7 is equivalent to another input terminal of the integrating circuit 522 (which can be called the second input terminal).
如图7所示,电容C的一端与MOS管M1的源极相连,电容C的另一端接地。为了便于描述,可以将电容C与MOS管M1相连的一端称为电容C的第一端口,将电容C接地的一端称为电容C的第二端口。电容C的第一端口还与MOS管M2的漏极、MOS管M3的漏极相连。除此之外,电容C的第一端口还与比较器523的正输入端相连。因此,可以认为图7中的点c相当于是积分电路522的输出端。As shown in Figure 7, one end of the capacitor C is connected to the source of the MOS tube M1, and the other end of the capacitor C is connected to the ground. For the convenience of description, the end of the capacitor C connected to the MOS transistor M1 can be called the first port of the capacitor C, and the end of the capacitor C connected to the ground can be called the second port of the capacitor C. The first port of the capacitor C is also connected to the drain of the MOS transistor M2 and the drain of the MOS transistor M3. In addition, the first port of the capacitor C is also connected to the positive input terminal of the comparator 523 . Therefore, it can be considered that point c in FIG. 7 is equivalent to the output terminal of the integrating circuit 522.
电阻R5的一端与MOS管M2的漏极相连。电阻R5的另一端接地。One end of resistor R5 is connected to the drain of MOS tube M2. The other end of resistor R5 is connected to ground.
电阻R4的一端与MOS管M3的漏极相连。电阻R4的另一端接地。One end of the resistor R4 is connected to the drain of the MOS transistor M3. The other end of resistor R4 is connected to ground.
如图7所示的电阻R5是一个可调电阻,该可调电阻可以包括多个档位,该多个档位可以与多个PDJ一一对应。这样,积分电路522可以应用于不同PDJ的场景。换句话说,电阻R5的档位与毛刺的范围是对应的。因此,如果电阻R5是一个可调电阻,那么可以通过调节电阻R5的档位来过滤不同范围的毛刺。The resistor R5 shown in Figure 7 is an adjustable resistor, and the adjustable resistor may include multiple gears, and the multiple gears may correspond to multiple PDJs one by one. In this way, the integration circuit 522 can be applied to different PDJ scenarios. In other words, the range of resistor R5 corresponds to the range of burrs. Therefore, if the resistor R5 is an adjustable resistor, then the burrs in different ranges can be filtered by adjusting the gear of the resistor R5.
当然,在一些实施例中,电阻R5也可以设置为一个固定电阻。在此情况下,电阻R5的电阻值可以为与一个可以过滤较大范围毛刺的电阻值。虽然这种情况下也可以实现与可调电阻相同的效果,但是需要占用较大的面积,不利于芯片的集成化设计。Of course, in some embodiments, the resistor R5 can also be set as a fixed resistor. In this case, the resistance value of resistor R5 can be a resistance value that can filter out glitches in a larger range. Although the same effect as the adjustable resistor can be achieved in this case, it requires a larger area, which is not conducive to the integrated design of the chip.
如图7所示的比较器523的输出端与DFF 532的CLK引脚相连。此外,比较器523的输出端与开关535的一端相连,开关535的另一端与延迟电路531的输入端相连。The output of the comparator 523 shown in Figure 7 is connected to the CLK pin of the DFF 532. In addition, the output terminal of the comparator 523 is connected to one terminal of the switch 535, and the other terminal of the switch 535 is connected to the input terminal of the delay circuit 531.
延迟电路531的输出端与由逻辑门电路实现的控制电路相连。控制电路包括或门533和非门534。或门533的一个输入端与延迟电路531的输出端相连,或门533的另一输入端用于获取输入信号(即图6中所示的ACK)。或门533的输出端与非门534的输入端 相连,非门534的输出端连接至DFF 532的复位端。或门533的输出端还与积分电路522的第二输入端相连。The output terminal of the delay circuit 531 is connected to a control circuit implemented by a logic gate circuit. The control circuit includes an OR gate 533 and a NOT gate 534 . One input terminal of the OR gate 533 is connected to the output terminal of the delay circuit 531, and the other input terminal of the OR gate 533 is used to obtain the input signal (ie, ACK shown in FIG. 6). The output terminal of the OR gate 533 and the input terminal of the NAND gate 534 connected, the output terminal of the NOT gate 534 is connected to the reset terminal of the DFF 532 . The output terminal of the OR gate 533 is also connected to the second input terminal of the integrating circuit 522 .
如图7所示的电路开始工作的时候,先通过ACK信号复位DFF 532,配置开关535闭合。换句话说,在电路开始工作的时候ACK信号是一个高电平,DFF 532复位后,ACK信号恢复为低电平。MOS管M1在刚开始给电容C充电时,电容C上电压较低,即c点电压较低,则相应比较器523输出,即d点电压为低,这时DFF 532不会翻转,Q保持低电平。当电容C上的电压超过阈值电平(即比较器523负输入端的输入电平Hi_TH)时,比较器523输出高电平,即d点电位拉高,DFF 532状态发生反转,Q变成高电平;经过一段时间的延迟(由延迟电路531决定延迟大小),再将DFF 532复位,Q变成低电平,即DFF 532输出一个正脉冲,即恢复出一个时钟脉冲。同时,或门533输出的高电平信号,将电容C的储存的电荷释放。When the circuit shown in Figure 7 starts to work, the DFF 532 is first reset through the ACK signal, and the configuration switch 535 is closed. In other words, the ACK signal is a high level when the circuit starts working. After the DFF 532 is reset, the ACK signal returns to a low level. When MOS tube M1 first starts charging capacitor C, the voltage on capacitor C is low, that is, the voltage at point c is low, and the corresponding comparator 523 outputs, that is, the voltage at point d is low. At this time, DFF 532 will not flip, and Q remains low level. When the voltage on the capacitor C exceeds the threshold level (i.e., the input level Hi_TH at the negative input terminal of the comparator 523), the comparator 523 outputs a high level, that is, the potential of point d is pulled high, the state of DFF 532 is reversed, and Q becomes High level; after a period of delay (the delay size is determined by the delay circuit 531), the DFF 532 is reset, and Q becomes a low level, that is, the DFF 532 outputs a positive pulse, that is, a clock pulse is recovered. At the same time, the high-level signal output by the OR gate 533 releases the stored charge in the capacitor C.
如图7所示的电路,在a点为高电平时,MOS管M2管关闭,MOS管M1打开。在此情况下,MOS管M1的导通电阻与电容C构成积分器,进行充电动作。由MOS管M1和电容C组成的积分器可将上一级不连续的高脉冲串所覆盖的总面积算出,输出以一个以数据率为频率的脉冲,而由抖动造成的毛刺,则可以在这个过程中进一步被积分器平均掉,不会输出。In the circuit shown in Figure 7, when point a is high level, MOS tube M2 is turned off and MOS tube M1 is turned on. In this case, the on-resistance of MOS transistor M1 and the capacitor C form an integrator and perform charging operation. The integrator composed of MOS tube M1 and capacitor C can calculate the total area covered by the discontinuous high pulse train of the previous stage, and output a pulse with a frequency of the data rate, and the glitch caused by jitter can be In this process, it is further averaged out by the integrator and will not be output.
图8是在采用方案3的情况下的时钟恢复电路的电路图。在采用方案2的情况下,图5所示的滤波电路包括迟滞比较器521、积分电路522和比较器523。FIG. 8 is a circuit diagram of the clock recovery circuit in the case where Scheme 3 is adopted. In the case of using Scheme 2, the filter circuit shown in FIG. 5 includes a hysteresis comparator 521, an integrating circuit 522 and a comparator 523.
图8所示的时钟恢复电路采用的迟滞比较器521就是图6所示的时钟恢复电路采用的迟滞比较器521。图8所示的时钟恢复电路采用的积分电路522和比较器523是图7所示的时钟恢复电路采用的积分电路522和比较器523。The hysteresis comparator 521 used in the clock recovery circuit shown in FIG. 8 is the hysteresis comparator 521 used in the clock recovery circuit shown in FIG. 6 . The integrating circuit 522 and comparator 523 used in the clock recovery circuit shown in FIG. 8 are the same integrating circuit 522 and comparator 523 used in the clock recovery circuit shown in FIG. 7 .
如图8所示,迟滞比较器521的一个输入端与脉冲检测电路510的输出端相连,用于获取脉冲检测电路510的输出信号,另一个输入端用于获取参考电压Vref。As shown in FIG. 8 , one input terminal of the hysteresis comparator 521 is connected to the output terminal of the pulse detection circuit 510 for obtaining the output signal of the pulse detection circuit 510 , and the other input terminal is used for obtaining the reference voltage Vref.
迟滞比较器521输出端与积分电路522的第一输入端相连。换句话说,积分电路522的MOS管M1和MOS管M2的栅极与迟滞比较器521的输出端相连,以获取迟滞比较器521输出的输出信号。图8中的积分电路522、比较器523以及输出电路530中的各个部件的连接方式与图7中的类似,为了简洁,在此就不再赘述。The output terminal of the hysteresis comparator 521 is connected to the first input terminal of the integrating circuit 522 . In other words, the gates of the MOS transistor M1 and the MOS transistor M2 of the integrating circuit 522 are connected to the output terminal of the hysteresis comparator 521 to obtain the output signal output by the hysteresis comparator 521 . The connection methods of various components in the integrating circuit 522, the comparator 523 and the output circuit 530 in Figure 8 are similar to those in Figure 7, and for the sake of simplicity, they will not be described again here.
如图8所示的电路开始工作的时候,先通过ACK信号复位DFF 532,配置开关535闭合。换句话说,在电路开始工作的时候ACK信号是一个高电平,DFF 532复位后,ACK信号恢复为低电平。MOS管M1在刚开始给电容C充电时,电容C上电压较低,即c点电压较低,则相应比较器523输出,即d点电压为低,这时DFF 532不会翻转,Q保持低电平。当电容C上的电压超过阈值电平(即比较器523负输入端的输入电平Hi_TH)时,比较器523输出高电平,即d点电位拉高,DFF 532状态发生反转,Q变成高电平;经过一段时间的延迟(由延迟电路531决定延迟大小),再将DFF 532复位,Q变成低电平,即DFF 532输出一个正脉冲,即恢复出一个时钟脉冲。同时,或门533输出的高电平信号,将电容C的储存的电荷释放。When the circuit shown in Figure 8 starts to work, the DFF 532 is first reset through the ACK signal, and the configuration switch 535 is closed. In other words, the ACK signal is a high level when the circuit starts working. After the DFF 532 is reset, the ACK signal returns to a low level. When MOS tube M1 first starts charging capacitor C, the voltage on capacitor C is low, that is, the voltage at point c is low, and the corresponding comparator 523 outputs, that is, the voltage at point d is low. At this time, DFF 532 will not flip, and Q remains low level. When the voltage on the capacitor C exceeds the threshold level (i.e., the input level Hi_TH at the negative input terminal of the comparator 523), the comparator 523 outputs a high level, that is, the potential of point d is pulled high, the state of DFF 532 is reversed, and Q becomes High level; after a period of delay (the delay size is determined by the delay circuit 531), the DFF 532 is reset, and Q becomes a low level, that is, the DFF 532 outputs a positive pulse, that is, a clock pulse is recovered. At the same time, the high-level signal output by the OR gate 533 releases the stored charge in the capacitor C.
在图8所示的电路中,迟滞比较器521的输出使得a点为高电平时,MOS管M2管关闭,MOS管M1打开。在此情况下,MOS管M1的导通电阻与电容C构成积分器,进行充电动作。由MOS管M1和电容C组成的积分器将上一级可将不连续的高脉冲串所覆 盖的总面积算出,输出以一个以数据率为频率的脉冲,而由抖动造成的且没有被前级迟滞比较器521处理掉的毛刺,则可以在这个过程中进一步被积分器平均掉,不会输出。In the circuit shown in Figure 8, when the output of hysteresis comparator 521 causes point a to be high level, MOS tube M2 is turned off and MOS tube M1 is turned on. In this case, the on-resistance of MOS transistor M1 and the capacitor C form an integrator and perform charging operation. The integrator composed of MOS tube M1 and capacitor C can cover the discontinuous high pulse train with the previous stage. The total area of the cover is calculated, and the output is a pulse with a frequency of the data rate. The glitches caused by jitter and not processed by the pre-stage hysteresis comparator 521 can be further averaged out by the integrator in this process. will be output.
本领域技术人员可以理解的是图6和图8所示的迟滞比较器521只是一种迟滞比较器的示例。应用于时钟恢复电路500的迟滞比较器也可以是其他结构的迟滞比较器。图9是迟滞比较器的示意图。Those skilled in the art can understand that the hysteresis comparator 521 shown in FIG. 6 and FIG. 8 is just an example of a hysteresis comparator. The hysteresis comparator used in the clock recovery circuit 500 may also be a hysteresis comparator with other structures. Figure 9 is a schematic diagram of a hysteresis comparator.
图9中的(a),图9中的(b)和图9中的(c)是三种不同的迟滞比较器的示意图。在一些实施例中,可以使用图9中的(a),图9中的(b)或图9中的(c)来替换图6和图8中所示的迟滞比较器521。在使用图9中的(a),图9中的(b)或图9中的(c)替换图6和图8中所示的迟滞比较器521时,图9中的(a),图9中的(b)或图9中的(c)中的Vin是迟滞比较器的输入端,用于连接脉冲检测电路510,Vout是迟滞比较器的输出端,用于DFF 532或者积分电路522。Figure 9(a), Figure 9(b) and Figure 9(c) are schematic diagrams of three different hysteresis comparators. In some embodiments, the hysteresis comparator 521 shown in FIGS. 6 and 8 may be replaced with (a) in FIG. 9 , (b) in FIG. 9 , or (c) in FIG. 9 . When (a) in FIG. 9, (b) in FIG. 9, or (c) in FIG. 9 is used to replace the hysteresis comparator 521 shown in FIG. 6 and FIG. 8, (a) in FIG. 9, FIG. Vin in (b) in Figure 9 or (c) in Figure 9 is the input terminal of the hysteresis comparator, used to connect the pulse detection circuit 510, Vout is the output terminal of the hysteresis comparator, used for DFF 532 or integration circuit 522 .
本领域技术人员可以意识到,处理图9所示的三种迟滞比较器以外,还可以采用其他的迟滞比较器来替代图6和图8中所示的迟滞比价器521。Those skilled in the art may realize that in addition to the three hysteresis comparators shown in FIG. 9 , other hysteresis comparators may also be used to replace the hysteresis comparator 521 shown in FIGS. 6 and 8 .
类似的,图7和图8所示的积分电路522只是一种积分电路的示例。应用于时钟恢复电路500的积分电路也可以是其他结构的积分电路。图10是积分电路的示意图。Similarly, the integrating circuit 522 shown in FIGS. 7 and 8 is just an example of an integrating circuit. The integrating circuit applied to the clock recovery circuit 500 may also be an integrating circuit with other structures. Figure 10 is a schematic diagram of the integrating circuit.
图10中的(a),图10中的(b)和图10中的(c)是三种不同的积分电路的示意图。在一些实施例中,可以使用图10中的(a),图10中的(b)或图10中的(c)来替换图7和图8中所示的积分电路522。在使用图10中的(a),图10中的(b)或图10中的(c)替换图7和图8中所示的积分电路522时,图10中的(a),图10中的(b)或图10中的(c)中的Vin是积分电路的输入端,用于连接脉冲检测电路510或迟滞比较器521,Vout是积分电路的输出端,用于比较器523。(a) in Figure 10, (b) in Figure 10 and (c) in Figure 10 are schematic diagrams of three different integrating circuits. In some embodiments, the integrating circuit 522 shown in FIGS. 7 and 8 may be replaced with (a) in FIG. 10 , (b) in FIG. 10 , or (c) in FIG. 10 . When replacing the integrating circuit 522 shown in FIGS. 7 and 8 with (a) in FIG. 10 , (b) in FIG. 10 or (c) in FIG. 10 , (a) in FIG. 10 , FIG. 10 Vin in (b) or (c) in Figure 10 is the input terminal of the integrating circuit, used to connect the pulse detection circuit 510 or the hysteresis comparator 521, and Vout is the output terminal of the integrating circuit, used for the comparator 523.
图11是根据本申请实施例提供的一种接口电路的示意图。如图11所示的接口电路1100包括CTLE电路1101和时钟恢复电路1102。时钟恢复电路1102可以是如图6至图8中的任一种时钟恢复电路。Figure 11 is a schematic diagram of an interface circuit provided according to an embodiment of the present application. The interface circuit 1100 shown in FIG. 11 includes a CTLE circuit 1101 and a clock recovery circuit 1102. The clock recovery circuit 1102 may be any clock recovery circuit shown in FIG. 6 to FIG. 8 .
图12是根据本申请实施例提供的一种芯片的结构示意图。如图12所示的芯片1200包括接口电路1201和逻辑电路1202。逻辑电路1202与接口电路1201耦合,用于接收接口电路1201输出的信号。Figure 12 is a schematic structural diagram of a chip provided according to an embodiment of the present application. The chip 1200 shown in FIG. 12 includes an interface circuit 1201 and a logic circuit 1202. The logic circuit 1202 is coupled to the interface circuit 1201 and is used for receiving the signal output by the interface circuit 1201.
如图12所示的芯片可以是是系统芯片(system on chip,SoC),还可以是中央处理器(central processor unit,CPU),还可以是图像处理器(graphics processing unit,GPU),还可以是应用处理器(application processor,AP)等。The chip shown in Figure 12 can be a system on chip (SoC), a central processor unit (CPU), a graphics processor (graphics processing unit, GPU), or It is an application processor (application processor, AP), etc.
图13是根据本申请实施例提供的一种计算机设备的示意性结构图。如图13所示,计算机设备1300包括芯片1301和印刷电路板(printed circuit board,PCB)1302。芯片1301设置于PCB 1302。Figure 13 is a schematic structural diagram of a computer device provided according to an embodiment of the present application. As shown in Figure 13, computer device 1300 includes a chip 1301 and a printed circuit board (PCB) 1302. Chip 1301 is provided on PCB 1302.
图13所示的计算机设备1300还可以包括其他必要的元件,例如,存储器、传感器、显示单元、输入单元、音频电路等The computer device 1300 shown in Figure 13 may also include other necessary components, such as memory, sensors, display units, input units, audio circuits, etc.
在一些实施例中,计算机设备1300还可以包括摄像头模组。摄像头模组与芯片1301相连,将基于C-PHY的数据发送至芯片1301。In some embodiments, computer device 1300 may also include a camera module. The camera module is connected to the chip 1301 and sends data based on C-PHY to the chip 1301.
图13所示的计算机设备可以是移动电话、笔记本电脑、平板电脑、汽车、无人机等计算机设备。 The computer device shown in Figure 13 may be a mobile phone, a laptop, a tablet, a car, a drone, and other computer devices.
在图5和图12所示实施例中,接口电路是芯片内部的一个电路。在另一些实施例中,接口电路也可以是一个分立器件。例如,移动电话包括主板,主板中包括芯片。主板通过柔性电路板(flexible printed circuit,FPC)和该接口电路与摄像头模组相连。In the embodiments shown in Figures 5 and 12, the interface circuit is a circuit inside the chip. In other embodiments, the interface circuit may also be a discrete device. For example, a mobile phone includes a motherboard, which includes chips. The mainboard is connected to the camera module through a flexible printed circuit (FPC) and the interface circuit.
类似的,如图13所示的计算机设备中的摄像头模组也可以是一个独立的设备。换句话说,可以由这样一个计算机系统,该计算机系统包括两个独立的计算机设备,两个计算机设备可以分别称为计算机设备1和计算机设备2。计算机设备1和计算机设备2中的每个计算机设备都可以包括芯片、存储器、接口电路的器件。Similarly, the camera module in the computer device shown in Figure 13 can also be an independent device. In other words, there may be a computer system that includes two independent computer devices, and the two computer devices may be referred to as computer device 1 and computer device 2 respectively. Each of the computer devices 1 and 2 may include components such as chips, memories, and interface circuits.
在一些实施例中,计算机设备1可以是能够处理视频和/或图像功能的计算机设备。例如计算机设备1可以是笔记本电脑、台式电脑等计算机设备。计算机设备2可以是具有摄像和/或照相功能的计算机设备。例如,计算机设备2可以是数码相机、数码摄像机、摄像头等计算机设备。计算机设备1中包括如图11所示的接口电路。计算机设备1通过该接口电路与计算机设备2相连。计算机设备2将基于C-PHY的数据发送至计算机设备1。这样计算机设备1可以处理由计算机设备2获取的视频/图像数据。In some embodiments, the computer device 1 may be a computer device capable of processing video and/or imaging functions. For example, the computer device 1 may be a laptop computer, a desktop computer, or other computer device. The computer device 2 may be a computer device with video and/or photography functions. For example, the computer device 2 may be a digital camera, a digital video camera, a video camera, or other computer device. The computer device 1 includes an interface circuit as shown in FIG. 11 . The computer device 1 is connected to the computer device 2 through the interface circuit. Computer device 2 sends C-PHY based data to computer device 1 . In this way the computer device 1 can process the video/image data acquired by the computer device 2 .
在另一些实施例中,计算机设备1可以是能够处理视频和/或图像功能的计算机设备。例如计算机设备1可以是笔记本电脑、台式电脑等计算机设备。计算机设备2是具有显示功能的计算机设备。例如,计算机设备2可以是显示器、电视、虚拟现实设备(virtual reality,VR)、增强现实(augmented reality,AR)设备等。在此情况下,计算机设备2中包括如图11所示的接口电路。计算机设备2通过该接口电路与计算机设备1相连。计算机设备1将基于C-PHY的数据发送至计算机设备2。这样计算机设备2可以显示由计算机设备1提供的视频/图像数据。In other embodiments, the computer device 1 may be a computer device capable of processing video and/or image functions. For example, the computer device 1 may be a laptop computer, a desktop computer, or other computer device. The computer device 2 is a computer device having a display function. For example, the computer device 2 may be a monitor, a television, a virtual reality device (virtual reality, VR), an augmented reality (augmented reality, AR) device, etc. In this case, the computer device 2 includes an interface circuit as shown in FIG. 11 . The computer device 2 is connected to the computer device 1 through the interface circuit. Computer device 1 sends C-PHY based data to computer device 2. In this way the computer device 2 can display the video/image data provided by the computer device 1 .
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each specific application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be described again here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟 悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。 The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any familiar It is understood that those skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application, and they should all be covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (19)

  1. 一种芯片,其特征在于,所述芯片包括:脉冲检测电路、滤波电路和输出电路,其中A chip, characterized in that the chip includes: a pulse detection circuit, a filter circuit and an output circuit, wherein
    所述脉冲检测电路,用于获取输入信号,并根据所述输入信号确定第一输出信号,并将所述第一输出信号发送给所述滤波电路,其中所述输入信号对应于C-端口物理层C-PHY协议的输入数据信号;The pulse detection circuit is used to obtain an input signal, determine a first output signal according to the input signal, and send the first output signal to the filter circuit, where the input signal corresponds to the C-port physical Input data signal of layer C-PHY protocol;
    所述滤波电路,用于对来自于所述脉冲检测电路的所述第一输出信号进行滤波,以得到第二输出信号,并将所述第二输出信号发送至所述输出电路;The filter circuit is used to filter the first output signal from the pulse detection circuit to obtain a second output signal, and send the second output signal to the output circuit;
    所述输出电路,用于根据所述第二输出信号,确定时钟信号。The output circuit is used to determine a clock signal according to the second output signal.
  2. 根据权利要求1所述的芯片,其特征在于,所述滤波电路包括迟滞比较器、积分电路和比较器,其中The chip according to claim 1, characterized in that the filter circuit includes a hysteresis comparator, an integrating circuit and a comparator, wherein
    所述迟滞比较器的第一输入端与所述脉冲检测电路的输出端相连,所述迟滞比较器的第二输入端用于获取参考电压;The first input terminal of the hysteresis comparator is connected to the output terminal of the pulse detection circuit, and the second input terminal of the hysteresis comparator is used to obtain a reference voltage;
    所述积分电路的第一输入端与所述迟滞比较器的输出端相连,所述积分电路的第二输入端与所述输出电路相连,用于获取来自于所述输出电路的第一控制信号;The first input terminal of the integrating circuit is connected to the output terminal of the hysteresis comparator, and the second input terminal of the integrating circuit is connected to the output circuit for obtaining the first control signal from the output circuit. ;
    所述积分电路的输出端与所述比较器的输入端相连,所述比较器的输出端输出所述第二输出信号;The output terminal of the integrating circuit is connected to the input terminal of the comparator, and the output terminal of the comparator outputs the second output signal;
    所述输出电路还用于输出所述第一控制信号。The output circuit is also used to output the first control signal.
  3. 根据权利要求1所述的芯片,其特征在于,所述滤波电路包括积分电路和比较器,其中The chip according to claim 1, characterized in that the filter circuit includes an integrating circuit and a comparator, wherein
    所述积分电路的第一输入端与所述脉冲检测电路的输出端相连,所述积分电路的第二输入端与所述输出电路相连,用于获取来自于所述输出电路的第一控制信号;The first input terminal of the integrating circuit is connected to the output terminal of the pulse detection circuit, and the second input terminal of the integrating circuit is connected to the output circuit for obtaining the first control signal from the output circuit. ;
    所述积分电路的输出端与所述比较器的输入端相连,所述比较器的输出端输出所述第二输出信号;The output terminal of the integrating circuit is connected to the input terminal of the comparator, and the output terminal of the comparator outputs the second output signal;
    所述输出电路还用于输出所述第一控制信号。The output circuit is also used to output the first control signal.
  4. 根据权利要求2或3所述的芯片,其特征在于,所述积分电路,包括:第一场效应管、第二场效应管、第三场效应管、第一电阻、第二电阻和电容,其中The chip according to claim 2 or 3, characterized in that the integrating circuit includes: a first field effect transistor, a second field effect transistor, a third field effect transistor, a first resistor, a second resistor and a capacitor, in
    所述第一场效应管和所述第二场效应管的栅极与所述积分电路的第一输入端相连,所述第三场效应管的栅极与所述积分电路的第二输入端相连,所述电容的第一端口与所述积分电路的输出端相连,The gates of the first field effect transistor and the second field effect transistor are connected to the first input end of the integrating circuit, and the gate electrode of the third field effect transistor is connected to the second input end of the integrating circuit. connected, the first port of the capacitor is connected to the output end of the integrating circuit,
    所述第一场效应管的源极与所述电容的第一端口相连,所述电容的第二端口接地;The source of the first field effect transistor is connected to the first port of the capacitor, and the second port of the capacitor is connected to ground;
    所述第二场效应管的漏极与所述电容的第一端口相连,所述第二场效应管的源极与所述第一电阻的第一端口相连,所述第一电阻的第二端口接地;The drain of the second field effect transistor is connected to the first port of the capacitor, the source of the second field effect transistor is connected to the first port of the first resistor, and the second port of the first resistor is connected to the first port of the first resistor. Port ground;
    所述第三场效应管的漏极与所述电容的第一端口相连,所述第三场效应管的源极与所述第二电阻的第一端口相连,所述第二电阻的第二端口接地。The drain of the third field effect transistor is connected to the first port of the capacitor, the source of the third field effect transistor is connected to the first port of the second resistor, and the second port of the second resistor is connected to the first port of the second resistor. The port is grounded.
  5. 根据权利要求4所述的芯片,其特征在于,所述第一电阻是可调电阻,所述可调电阻包括多个档位。 The chip according to claim 4, wherein the first resistor is an adjustable resistor, and the adjustable resistor includes a plurality of gears.
  6. 根据权利要求2至5中任一项所述的芯片,其特征在于,输出电路包括D触发器、延迟电路和控制电路,The chip according to any one of claims 2 to 5, wherein the output circuit includes a D flip-flop, a delay circuit and a control circuit,
    所述延迟电路,用于获取所述第二输出信号,对所述第二输出信号进行延迟处理,得到延迟信号;The delay circuit is used to obtain the second output signal, perform delay processing on the second output signal, and obtain a delayed signal;
    所述控制电路,用于根据第二输入信号和所述延迟信号,生成所述第一控制信号并将所述第一控制信号发送至所述积分电路,所述第一控制信号是所述第二输入信号和所述延迟信号的逻辑或信号;The control circuit is configured to generate the first control signal according to the second input signal and the delay signal and send the first control signal to the integrating circuit, where the first control signal is the third a logical OR signal of two input signals and the delayed signal;
    所述控制电路,还用于根据所述第一控制信号,确定第二控制信号,所述第二控制信号是所述第一控制信号的逻辑非信号;The control circuit is further configured to determine a second control signal based on the first control signal, where the second control signal is a logical negation signal of the first control signal;
    所述D触发器,用于根据所述第二输出信号和所述第二控制信号,生成所述时钟电路。The D flip-flop is used to generate the clock circuit according to the second output signal and the second control signal.
  7. 根据权利要求1所述的芯片,其特征在于,所述滤波电路包括迟滞比较器,其中The chip according to claim 1, characterized in that the filter circuit includes a hysteresis comparator, wherein
    所述迟滞比较器的第一输入端与所述脉冲检测电路的输出端相连,所述迟滞比较器的第二输入端用于获取参考电压,所述迟滞比较器的输出端输出所述第二输出信号。The first input terminal of the hysteresis comparator is connected to the output terminal of the pulse detection circuit, the second input terminal of the hysteresis comparator is used to obtain the reference voltage, and the output terminal of the hysteresis comparator outputs the second output signal.
  8. 根据权利要求1至7中任一项所述的芯片,其特征在于,所述脉冲检测电路,具体用于检测所述输入信号的沿变化,得到所述第一输出信号。The chip according to any one of claims 1 to 7, characterized in that the pulse detection circuit is specifically used to detect edge changes of the input signal to obtain the first output signal.
  9. 根据权利要求1至8中任一项所述的芯片,其特征在于,所述输入信号包括差分信号AB、差分信号BC和差分信号CA,其中所述差分信号AB是输入数据信号A和输入数据信号B的差分信号,所述差分信号BC是所述输入数据信号B和输入数据信号C的差分信号,所述差分信号CA是所述输入数据信号C和所述输入数据信号A的差分信号。The chip according to any one of claims 1 to 8, wherein the input signal includes a differential signal AB, a differential signal BC and a differential signal CA, wherein the differential signal AB is an input data signal A and an input data signal The differential signal BC is the differential signal of the input data signal B and the input data signal C, and the differential signal CA is the differential signal of the input data signal C and the input data signal A.
  10. 根据权利要求1至9中任一项所述的芯片,其特征在于,所述第一输出信号是包含毛刺的脉冲信号,所述第二输出信号是脉冲信号,所述第二输出信号包含的毛刺少于所述第一输出信号包含的毛刺。The chip according to any one of claims 1 to 9, characterized in that the first output signal is a pulse signal containing glitches, the second output signal is a pulse signal, and the second output signal contains The glitches are less than the glitches contained in the first output signal.
  11. 一种芯片,其特征在于,所述芯片包括脉冲检测电路、迟滞比较器和积分电路,其中,A chip, characterized in that the chip includes a pulse detection circuit, a hysteresis comparator and an integrating circuit, wherein,
    所述脉冲检测电路的输入端用于获取输入信号,所述输入信号对应于C-端口物理层C-PHY协议的输入数据信号;The input end of the pulse detection circuit is used to obtain an input signal, and the input signal corresponds to the input data signal of the C-port physical layer C-PHY protocol;
    所述迟滞比较器的第一输入端与所述脉冲检测电路的输出端相连,所述迟滞比较器的第二输入端用于获取参考电压;The first input terminal of the hysteresis comparator is connected to the output terminal of the pulse detection circuit, and the second input terminal of the hysteresis comparator is used to obtain a reference voltage;
    所述迟滞比较器的输出端与所述积分电路的第一输入端相连。The output terminal of the hysteresis comparator is connected to the first input terminal of the integrating circuit.
  12. 根据权利要求11所述的芯片,其特征在于,所述积分电路,包括:第一场效应管、第二场效应管、第三场效应管、第一电阻、第二电阻和电容,The chip according to claim 11, characterized in that the integrating circuit includes: a first field effect transistor, a second field effect transistor, a third field effect transistor, a first resistor, a second resistor and a capacitor,
    所述第一场效应管和所述第二场效应管的栅极与所述积分电路的第一输入端相连,所述第三场效应管的栅极与所述积分电路的第二输入端相连,所述电容的第一端口与所述积分电路的输出端相连,The gates of the first field effect transistor and the second field effect transistor are connected to the first input end of the integrating circuit, and the gate electrode of the third field effect transistor is connected to the second input end of the integrating circuit. connected, the first port of the capacitor is connected to the output end of the integrating circuit,
    所述第一场效应管的源极与所述电容的第一端口相连,所述电容的第二端口接地;The source of the first field effect transistor is connected to the first port of the capacitor, and the second port of the capacitor is connected to ground;
    所述第二场效应管的漏极与所述电容的第一端口相连,所述第二场效应管的源极与所述第一电阻的第一端口相连,所述第一电阻的第二端口接地;The drain of the second field effect transistor is connected to the first port of the capacitor, the source of the second field effect transistor is connected to the first port of the first resistor, and the second port of the first resistor is connected to the first port of the first resistor. Port ground;
    所述第三场效应管的漏极与所述电容的第一端口相连,所述第三场效应管的源极与所述第二电阻的第一端口相连,所述第二电阻的第二端口接地。 The drain of the third field effect transistor is connected to the first port of the capacitor, the source of the third field effect transistor is connected to the first port of the second resistor, and the second port of the second resistor is connected to the first port of the second resistor. The port is grounded.
  13. 根据权利要求12所述的芯片,其特征在于,所述第一电阻是可调电阻,所述可调电阻包括多个档位。The chip according to claim 12, wherein the first resistor is an adjustable resistor, and the adjustable resistor includes a plurality of gears.
  14. 根据权利要求11至13中任一项所述的芯片,其特征在于,所述芯片还包括比较器和输出电路,所述输出电路包括D触发器、延迟电路和控制电路,The chip according to any one of claims 11 to 13, characterized in that the chip further includes a comparator and an output circuit, and the output circuit includes a D flip-flop, a delay circuit and a control circuit,
    所述比较器的第一输入端与所述积分电路的输出端相连,所述比较器的第二输入端用于获取参考电压;The first input terminal of the comparator is connected to the output terminal of the integrating circuit, and the second input terminal of the comparator is used to obtain a reference voltage;
    所述延迟电路的输入端与所述比较器的输出端相连,所述延迟电路的输出端与所述控制电路的第一输入端相连;The input terminal of the delay circuit is connected to the output terminal of the comparator, and the output terminal of the delay circuit is connected to the first input terminal of the control circuit;
    所述控制电路的第二输入端用于获取控制信号,所述控制电路的第一输出端与所述积分电路的第二输入端相连,所述控制电路的第二输出端与所述D触发器的复位端口相连;The second input terminal of the control circuit is used to obtain a control signal, the first output terminal of the control circuit is connected to the second input terminal of the integrating circuit, and the second output terminal of the control circuit is connected to the D trigger Connect to the reset port of the device;
    所述D触发器的时钟端口与所述比较器的输出端相连。The clock port of the D flip-flop is connected to the output terminal of the comparator.
  15. 一种芯片,其特征在于,所述芯片包括逻辑电路和接口电路,所述逻辑电路与所述接口电路耦合,所述接口电路包括脉冲检测电路和积分电路,其中,A chip, characterized in that the chip includes a logic circuit and an interface circuit, the logic circuit is coupled with the interface circuit, the interface circuit includes a pulse detection circuit and an integrating circuit, wherein,
    所述脉冲检测电路的输入端用于获取输入信号,所述输入信号对应于C-端口物理层C-PHY协议的输入数据信号;The input end of the pulse detection circuit is used to obtain an input signal, and the input signal corresponds to the input data signal of the C-port physical layer C-PHY protocol;
    所述积分电路的第一输入端与所述脉冲检测电路的输出端相连。The first input terminal of the integrating circuit is connected to the output terminal of the pulse detection circuit.
  16. 根据权利要求15所述的芯片,其特征在于,所述积分电路,包括:第一场效应管、第二场效应管、第三场效应管、第一电阻、第二电阻和电容,The chip according to claim 15, wherein the integrating circuit includes: a first field effect transistor, a second field effect transistor, a third field effect transistor, a first resistor, a second resistor and a capacitor,
    所述第一场效应管和所述第二场效应管的栅极与所述积分电路的第一输入端相连,所述第三场效应管的栅极与所述积分电路的第二输入端相连,所述电容的第一端口与所述积分电路的输出端相连,The gates of the first field effect transistor and the second field effect transistor are connected to the first input end of the integrating circuit, and the gate electrode of the third field effect transistor is connected to the second input end of the integrating circuit. connected, the first port of the capacitor is connected to the output end of the integrating circuit,
    所述第一场效应管的源极与所述电容的第一端口相连,所述电容的第二端口接地;The source of the first field effect transistor is connected to the first port of the capacitor, and the second port of the capacitor is connected to ground;
    所述第二场效应管的漏极与所述电容的第一端口相连,所述第二场效应管的源极与所述第一电阻的第一端口相连,所述第一电阻的第二端口接地;The drain of the second field effect transistor is connected to the first port of the capacitor, the source of the second field effect transistor is connected to the first port of the first resistor, and the second port of the first resistor is connected to the first port of the first resistor. Port ground;
    所述第三场效应管的漏极与所述电容的第一端口相连,所述第三场效应管的源极与所述第二电阻的第一端口相连,所述第二电阻的第二端口接地。The drain of the third field effect transistor is connected to the first port of the capacitor, the source of the third field effect transistor is connected to the first port of the second resistor, and the second port of the second resistor is connected to the first port of the second resistor. The port is grounded.
  17. 根据权利要求16所述的芯片,其特征在于,所述第一电阻是可调电阻,所述可调电阻包括多个档位。The chip according to claim 16, wherein the first resistor is an adjustable resistor, and the adjustable resistor includes a plurality of gears.
  18. 根据权利要求15至17中任一项所述的芯片,其特征在于,所述芯片还包括比较器和输出电路,所述输出电路包括D触发器、延迟电路和控制电路,The chip according to any one of claims 15 to 17, characterized in that the chip further includes a comparator and an output circuit, and the output circuit includes a D flip-flop, a delay circuit and a control circuit,
    所述比较器的第一输入端与所述积分电路的输出端相连,所述比较器的第二输入端用于获取参考电压;The first input terminal of the comparator is connected to the output terminal of the integrating circuit, and the second input terminal of the comparator is used to obtain a reference voltage;
    所述延迟电路的输入端与所述比较器的输出端相连,所述延迟电路的输出端与所述控制电路的第一输入端相连;The input terminal of the delay circuit is connected to the output terminal of the comparator, and the output terminal of the delay circuit is connected to the first input terminal of the control circuit;
    所述控制电路的第二输入端用于获取控制信号,所述控制电路的第一输出端与所述积分电路的第二输入端相连,所述控制电路的第二输出端与所述D触发器的复位端口相连;The second input terminal of the control circuit is used to obtain a control signal, the first output terminal of the control circuit is connected to the second input terminal of the integrating circuit, and the second output terminal of the control circuit is connected to the D trigger Connect to the reset port of the device;
    所述D触发器的时钟端口与所述比较器的输出端相连。The clock port of the D flip-flop is connected to the output terminal of the comparator.
  19. 一种计算机设备,其特征在于,所述计算机设备包括印刷电路板和如权利要求1至18中任一项权利要求所述的芯片,所述芯片固定于所述印刷电路板。 A computer device, characterized in that the computer device includes a printed circuit board and the chip according to any one of claims 1 to 18, and the chip is fixed on the printed circuit board.
PCT/CN2023/077459 2022-05-31 2023-02-21 Chip and computer device WO2023231461A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210614005.8A CN117200764A (en) 2022-05-31 2022-05-31 Chip and computer device
CN202210614005.8 2022-05-31

Publications (1)

Publication Number Publication Date
WO2023231461A1 true WO2023231461A1 (en) 2023-12-07

Family

ID=88991182

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/077459 WO2023231461A1 (en) 2022-05-31 2023-02-21 Chip and computer device

Country Status (2)

Country Link
CN (1) CN117200764A (en)
WO (1) WO2023231461A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106385251A (en) * 2016-09-14 2017-02-08 豪威科技(上海)有限公司 Clock data recovery circuit
CN208337527U (en) * 2018-06-13 2019-01-04 陕西三恒电子科技有限公司 A kind of high-precision triangle wave generating circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106385251A (en) * 2016-09-14 2017-02-08 豪威科技(上海)有限公司 Clock data recovery circuit
CN208337527U (en) * 2018-06-13 2019-01-04 陕西三恒电子科技有限公司 A kind of high-precision triangle wave generating circuit

Also Published As

Publication number Publication date
CN117200764A (en) 2023-12-08

Similar Documents

Publication Publication Date Title
TWI720008B (en) Multiphase clock data recovery for a 3-phase interface
US9444612B2 (en) Multi-wire single-ended push-pull link with data symbol transition based clocking
US7633965B2 (en) Data transfer control device and electronic instrument
US10263762B2 (en) Physical layer circuitry for multi-wire interface
JP6517243B2 (en) Link Layer / Physical Layer (PHY) Serial Interface
JP6059404B2 (en) N factorial dual data rate clock data recovery
US20150220472A1 (en) Increasing throughput on multi-wire and multi-lane interfaces
US20140153665A1 (en) N-phase phase and polarity encoded serial interface
US20050201305A1 (en) Data transfer control device, electronic instrument, and data transfer control method
JP2018533791A (en) Communicate low and high speed parallel bit stream over high speed serial bus
KR101688377B1 (en) Clock recovery circuit for multiple wire data signals
EP3117527B1 (en) Method for using error correction codes with n factorial or cci extension
US7663442B2 (en) Data receiver including a transconductance amplifier
US8483320B2 (en) Data recovery apparatus and method by using over-sampling
WO2023231461A1 (en) Chip and computer device
US11728930B2 (en) Methods to remove dribble introduced and regenerate sync bits lost due to squelch delays in USB high speed packet repeating
US9490964B2 (en) Symbol transition clocking clock and data recovery to suppress excess clock caused by symbol glitch during stable symbol period
WO2017062132A1 (en) Multi-lane n-factorial encoded and other multi-wire communication systems
US20240039687A1 (en) Modified Manchester Encoding for Ultra-Low Power Interfaces
US11894847B1 (en) Duty cycle distortion (DCD) sampling in a low-swing transmitter
US20230141322A1 (en) Digital loop filter of low latency and low operation and clock data recovery circuit including the same

Legal Events

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

Ref document number: 23814660

Country of ref document: EP

Kind code of ref document: A1