A time-to-digital converter and a phase difference detection method are disclosed. The time-to-digital converter includes a detection unit and a digital control circuit. The detection unit comprising: a phase detection circuit, a first and a second clock signal are respectively coupled to an identical input terminal of the phase detection circuit and a reference signal is coupled to another input terminal of the phase detection circuit; the phase detection circuit is configured to output a pulse width corresponding to a phase difference between the first or the second clock signal and the reference signal; a filter circuit, coupled to an output terminal of the phase detection circuit; a ring oscillator circuit, coupled to an output terminal of the filter circuit and configured to output an oscillation clock signal corresponding to the pulse width. The digital control circuit is configured to provide the reference signal and receive the oscillation clock signal.
|
10. A phase difference detection method, comprising:
inputting, a first clock signal and a reference signal into a phase detection circuit, and outputting, a first oscillation clock signal corresponding to a phase difference between the first clock signal and the reference signal by sequentially passing through a filter circuit and a ring oscillation circuit; and
inputting, a second clock signal and the reference signal into the phase detection circuit, and outputting, a second oscillation clock signal corresponding to a phase difference between the second clock signal and the reference signal by sequentially passing through the filter circuit and the ring oscillation circuit;
wherein the phase difference between the first oscillation clock signal and the second oscillation clock signal is equivalent to the phase difference between the first clock signal and the second clock signal.
1. A time-to-digital converter, comprising a detection unit and a digital control circuit:
the detection unit comprising:
a phase detection circuit, wherein a first clock signal and a second clock signal to be detected are respectively coupled to an identical input terminal of the phase detection circuit and a reference signal is coupled to another input terminal of the phase detection circuit; the phase detection circuit is configured to output a pulse width corresponding to a phase difference between the first clock signal or the second clock signal and the reference signal;
a filter circuit, coupled to an output terminal of the phase detection circuit; and
a ring oscillator circuit, coupled to an output terminal of the filter circuit and configured to output an oscillation clock signal corresponding to the pulse width;
the digital control circuit is configured to provide the reference signal and receive the oscillation clock signal.
2. The time-to-digital converter of
3. The time-to-digital converter of
4. The time-to-digital converter of
5. The time-to-digital converter of
6. The time-to-digital converter of
7. The time-to-digital converter of
8. The time-to-digital converter of
9. The time-to-digital converter of
11. The phase difference detection method of
by adjusting delay time of the reference signal, obtaining, respectively a relationship between a frequency of the first oscillation clock signal and the delay time of the reference signal and a relationship between a frequency of the second oscillation clock signal and the delay time of the reference signal;
wherein the phase difference between the first clock signal and the second clock signal is equivalent to delay time difference between the corresponding reference signals when the frequencies of the first and second oscillation clock signals are equal.
|
This disclosure generally relates to an integrated circuit, particularly to a time-to-digital converter and a phase difference detection method.
Conventional structure of time-to-digital converter is as shown in
The conventional scheme described above has low detection accuracy of time difference and is not suitable for high-precision time difference detection due to the limitations of sampling accuracy and output metastable interval of the D trigger. Meanwhile, the required power consumption and chip area of the conventional scheme are significantly increased with the improvement of detection range and precision, which is not suitable for low-cost and low-power applications.
The purpose of the application is to provide a time-to-digital converter and a phase difference detection method for a clock signal, which can improve detection accuracy of time difference of the time-to-digital converter and save chip area and power consumption.
The application discloses a time-to-digital converter, comprising a detection unit and a digital control circuit:
the detection unit comprising:
a phase detection circuit, wherein a first clock signal and a second clock signal to be detected are respectively coupled to an identical input terminal of the phase detection circuit and a reference signal is coupled to another input terminal of the phase detection circuit; the phase detection circuit is configured to output a pulse width corresponding to a phase difference between the first clock signal or the second clock signal and the reference signal;
a filter circuit, coupled to an output terminal of the phase detection circuit; and
a ring oscillator circuit, coupled to an output terminal of the filter circuit and configured to output an oscillation clock signal corresponding to the pulse width;
the digital control circuit is configured to provide the reference signal and receive the oscillation clock signal.
In a preferred embodiment, wherein delay time of the reference signal is adjustable.
In a preferred embodiment, wherein the delay time of the reference signal is adjusted by a delay unit of the digital control circuit.
In a preferred embodiment, wherein the phase detection circuit employs a D trigger.
In a preferred embodiment, wherein the first clock signal and the second clock signal are separately coupled to the identical input terminal of the phase detection circuit via respective switches.
In a preferred embodiment, wherein the filter circuit comprises an inverter, a PMOS transistor and a capacitor; an input terminal of the inverter is coupled to the output terminal of the phase detection circuit, an output terminal of the inverter is coupled to a gate of the PMOS transistor, a source of the PMOS transistor is coupled to a power supply, a terminal of the capacitor is coupled to a drain of the PMOS transistor, the other terminal of the capacitor is grounded, the drain of the PMOS transistor is coupled to an input terminal of the ring oscillator circuit.
In a preferred embodiment, wherein the filter circuit comprises a resistor and a capacitor; a terminal of the resistor is coupled to the output terminal of the phase detection circuit, the other terminal of the resistor is coupled to a terminal of the capacitor and the ring oscillator circuit, the other terminal of the capacitor is grounded.
In a preferred embodiment, wherein the ring oscillator circuit comprises a plurality of inverters connected in series.
In a preferred embodiment, wherein the time-to-digital converter further comprises a plurality of detection units, the digital control circuit adjusts the reference signal coupled to the plurality of detection units.
The application provides a phase difference detection method, comprising:
inputting, a first clock signal and a reference signal into a phase detection circuit, and outputting, a first oscillation clock signal corresponding to a phase difference between the first clock signal and the reference signal by sequentially passing through a filter circuit and a ring oscillation circuit; and
inputting, a second clock signal and the reference signal into the phase detection circuit, and outputting, a second oscillation clock signal corresponding to a phase difference between the second clock signal and the reference signal by sequentially passing through the filter circuit and the ring oscillation circuit;
wherein the phase difference between the first oscillation clock signal and the second oscillation clock signal is equivalent to the phase difference between the first clock signal and the second clock signal.
In a preferred embodiment, the phase difference detection method further comprising:
by adjusting delay time of the reference signal, obtaining, respectively a relationship between a frequency of the first oscillation clock signal and the delay time of the reference signal and a relationship between a frequency of the oscillation second clock signal;
wherein the phase difference between the first clock signal and the second clock signal is equivalent to delay time difference between the corresponding reference signals when the frequencies of the first and second oscillation clock signals are equal.
As described above, the phase difference detection accuracy of the time-to-digital converter of the present application is determined by adjustment precision of the reference signal delay unit, which could realize high-precision phase difference detection between internal signals of a chip and avoid detection error caused by sampling metastable interval of the traditional D trigger structure. And digital conversion accuracy of the phase difference is determined by the number of digits of digital counter of the digital control circuit, which can be easily expanded.
Moreover, the time-to-digital converter of the present application includes a plurality of detection units with a distributed structure and can use only one digital control circuit for adjusting the delay time of the reference signals together for all detection units to save chip area and power consumption.
Embodiments of the present application are described with reference to the following figures. The figures used in the application are intended to describe embodiments and are not intended to be limiting, and the true scope of the present application is indicated by the claims.
The present application discloses a time-to-digital converter, as shown in
A first clock signal QA and a second clock signal QB to be detected are respectively coupled to an identical input terminal Din of the phase detection circuit 11. Specifically, the first clock signal QA and the second clock signal QB are separately coupled to the terminal Din of the phase detection circuit 11 via respective switches. One of the first clock signal QA and the second clock signal QB is input to the input terminal Din of the phase detection circuit 11 according to a control signal sel (for example, the first clock signal QA is input to the input terminal Din of the phase detection circuit 11 when the control signal sel is at a low level, the second clock signal QB is input to the input terminal Din of the phase detection circuit 11 when the control signal sel is at a high level). A reference signal REF is coupled to another input terminal Ref of the phase detection circuit, an output terminal Out of the phase detection circuit 11 outputs a pulse width corresponding to a phase difference between the clock signal to be detected and the reference signal, that is, the pulse width corresponding to the phase difference between the first clock signal QA or the second clock signal QB with the reference signal REF is output to the filter circuit 12. Referring to
The filter circuit 12 of the present application is a low pass filter circuit that extracts DC (Direct Current) portion of the pulse width corresponding to the phase difference between the clock signal to be detected and the reference signal. Referring to
In another embodiment of the present application, referring to
The input terminal of the ring oscillator circuit 13 is coupled to the output terminal of the filter circuit 12 (or 12′) and the ring oscillator circuit 13 outputs an oscillation clock signal corresponding to the pulse width. In a preferred embodiment as shown in
With continued referring to
Referring to
In S110, the switch control signal sel is set at a low level, the switch coupled to the second clock signal QB is turned off and the switch coupled to the first clock signal QA is turned on. The first clock signal QA and the reference signal REF are input to the phase detection circuit 11. A pulse width corresponding to the phase difference Skew_a between the first clock signal QA and the reference signal REF, that is, a pulse width corresponding to the phase difference Skew_a between a rising edge of the first clock signal QA and a rising edge of the reference signal REF, is output by the phase detection circuit 11 and successively passed through the filter circuit 12 and the ring oscillation circuit 13. The filter circuit 12 extracts the DC current portion of the pulse width, and the ring oscillation circuit 13 outputs a first oscillation clock signal QA_to_REF corresponding to the phase difference between the first clock signal QA and the reference signal REF according to the input signal.
In S120, the switch control signal sel is set at a high level, the switch coupled to the first clock signal QA is turned off and the switch coupled to the second clock signal QB is turned on. The second clock detection signal QB and the reference signal REF are input to the phase detection circuit 11. A pulse width corresponding to a phase difference between the second clock signal QB and the reference signal REF, that is, a pulse width corresponding to a phase difference between a rising edge of the second clock signal QB and a rising edge of the reference signal REF, is output by the phase detection circuit 11 and sequentially passed through the filter circuit 12, and the ring oscillator circuit 13. The filter circuit 12 extracts the DC current portion of the pulse width, the ring oscillator circuit 13 outputs a second oscillation clock signal QB_to_REF corresponding to the phase difference between the second clock signal QB and the reference signal REF according to the input signal;
In S130, a digital counter 21 of the digital control current 20 is configured to receive the first oscillation clock signal QA_to_REF and the second oscillation clock signal QB_to_REF respectively. The phase difference between the first oscillation clock signal QA_to_REF and the second oscillation clock signal QB_to_REF is equivalent to the phase difference Skew between the first clock signal QA and the second clock signal QB. In this application, since the time difference between the first clock signal QA and the second clock signal QB is obtained by detecting phase difference between the first clock signal QA and the reference signal REF and detecting phase difference between the second clock signal QB and the reference signal REF, the systematic error caused by the phase detection circuit, the ring oscillator circuit and the like could be effectively eliminated.
It can be understood that, in the present application, S110 and S120 are not limited by their order relationship, the first oscillation clock signal QA_to_REF corresponding to the phase difference between the first clock signal QA and the reference signal REF may be obtained in S110, and the second oscillation clock signal QB_to_REF corresponding to the phase difference between the second clock signal QB and the reference signal REF may be obtained S120; however, in some embodiments, the second oscillation clock signal QB_to_REF corresponding to the phase difference between the second clock signal QB and the reference signal REF may also be obtained in S110, the first oscillation clock signal QA_to_REF corresponding to the phase difference between the first clock signal QA and the reference signal REF may also be obtained in S120, as long as the corresponding clock signals are respectively input, which is within the scope of the protection of the present application.
Further in the present application, a relationship between an output frequency of the ring oscillator circuit 13 and the reference signal REF may be obtained by adjusting delay time of the reference signal REF. The relationships between the output frequencies of the ring oscillator circuit and varied delay time of the reference signals corresponding to the clock signals to be detected could be respectively obtained. The phase difference between the clock signals to be detected is the delay time difference between the corresponding reference signals when frequencies of the first oscillation clock signal and the second oscillation clock signal are equal. As shown in
In the application, the high-precision phase difference detection between the internal signals of the chip can be realized, and detection accuracy of the phase difference is determined by the delay unit of the reference signal and the accuracy of the digital counter, wherein the smaller the step size of the digital adjustable delay unit and the higher the number of digits of the digital counter, the higher the conversion accuracy of the time difference to time-to-digital converter, which avoids the detection error caused by the sampling metastable interval of the traditional D trigger structure and easily implements high-precision of time difference digital detection. At the same time, digital conversion accuracy of the phase difference is determined by the number of digits of digital counters of the digital control circuit, which can be easily expanded.
In a preferred embodiment as shown in
It should be noted that all or any of the embodiments described above may be combined with each other unless otherwise stated or such embodiments may be functionally and/or architecturally mutually exclusive.
While the present application has been described in connection with the specific exemplary embodiments of the invention, the invention is not limited to the embodiments described herein, but may be implemented in a modified or amended form within the spirit and scope of the appending claims. Accordingly, the description and drawings are to be regarded as illustrative and not restrictive.
From the above, it is to be noted that the specific embodiments of the present application are described herein for the purpose of illustration, but may be variously modified without departing from the scope of the application. Accordingly, the application is not limited except by the scope of the appended claims.
Other changes to the disclosed embodiments can be understood and implemented by those skilled in the art via the drawings, the disclosure and the claims. In the claims, the “comprising” or “includes” or “comprises” does not exclude other components or steps, and the indefinite article “a” or “an” does not exclude a plurality. Even though specific features are recited in different dependent claims, the present application is directed to embodiments having these features in common. Any reference signs in the claims should not be construed as limiting.
The features and aspects of the different embodiments may be integrated into other embodiments, and the embodiments shown in this specification can be implemented without all the features or aspects described. It will be appreciated by those skilled in the art that, although the specific examples and embodiments of the present systems and methods are described for illustrative purposes, various modifications may be made without departing from the spirit and scope of the application. Furthermore, the features of one embodiment may be included in another embodiment, even if such features are not described together in this specification in a single embodiment. Accordingly, the application is described by the appending claims
Wang, Yong, Zhang, Pengzhan, Chang, Zhongyuan, Li, Yanhong, Wu, Yaomin
Patent | Priority | Assignee | Title |
Patent | Priority | Assignee | Title |
10637488, | Nov 05 2018 | SK Hynix Inc. | Phase detection circuit, and clock generation circuit and semiconductor apparatus including the phase detection circuit |
6515526, | Apr 26 1999 | Yokogawa Electric Corporation | Phase fluctuation generation |
8929498, | Sep 13 2010 | Altera Corporation | Techniques for varying a periodic signal based on changes in a data rate |
20030001557, | |||
20110248753, | |||
20140037033, | |||
20200186153, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Feb 20 2020 | ZHANG, PENGZHAN | MONTAGE TECHNOLOGY CO , LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 051996 | /0590 | |
Feb 20 2020 | WANG, YONG | MONTAGE TECHNOLOGY CO , LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 051996 | /0590 | |
Feb 20 2020 | LI, YANHONG | MONTAGE TECHNOLOGY CO , LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 051996 | /0590 | |
Feb 20 2020 | WU, YAOMIN | MONTAGE TECHNOLOGY CO , LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 051996 | /0590 | |
Feb 20 2020 | CHANG, ZHONGYUAN | MONTAGE TECHNOLOGY CO , LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 051996 | /0590 | |
Mar 03 2020 | MONTAGE TECHNOLOGY CO., LTD. | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Mar 03 2020 | BIG: Entity status set to Undiscounted (note the period is included in the code). |
Mar 03 2020 | BIG: Entity status set to Undiscounted (note the period is included in the code). |
Mar 17 2020 | SMAL: Entity status set to Small. |
Mar 17 2020 | SMAL: Entity status set to Small. |
Nov 16 2023 | BIG: Entity status set to Undiscounted (note the period is included in the code). |
Dec 14 2023 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Date | Maintenance Schedule |
Nov 03 2023 | 4 years fee payment window open |
May 03 2024 | 6 months grace period start (w surcharge) |
Nov 03 2024 | patent expiry (for year 4) |
Nov 03 2026 | 2 years to revive unintentionally abandoned end. (for year 4) |
Nov 03 2027 | 8 years fee payment window open |
May 03 2028 | 6 months grace period start (w surcharge) |
Nov 03 2028 | patent expiry (for year 8) |
Nov 03 2030 | 2 years to revive unintentionally abandoned end. (for year 8) |
Nov 03 2031 | 12 years fee payment window open |
May 03 2032 | 6 months grace period start (w surcharge) |
Nov 03 2032 | patent expiry (for year 12) |
Nov 03 2034 | 2 years to revive unintentionally abandoned end. (for year 12) |