Digitally calibrated programmable clock phase generation circuit

Information

  • Patent Grant
  • 11831322
  • Patent Number
    11,831,322
  • Date Filed
    Monday, March 27, 2023
    a year ago
  • Date Issued
    Tuesday, November 28, 2023
    a year ago
Abstract
An integrated circuit that includes a generating circuit is described. During operation, the generating circuit may provide an edge clock having a target phase within a clock period of an input clock, where the generating circuit does not include a delay-locked loop (DLL). For example, the generating circuit may include a gated ring oscillator that provides a reference clock having a first fundamental frequency that is larger than a second fundamental frequency of the input clock. Note that the gated ring oscillator may be programmable to adjust the first fundamental frequency within a predefined range of values. Moreover, the generating circuit may include a control circuit that determines a reference count of a number of edges of the reference clock within a reference period of the reference clock.
Description
FIELD

The present disclosure relates to a generating circuit that provides one or more edge clocks within a clock period of an input clock using a digital circuit and without using a delay-locked loop (DLL).


BACKGROUND

A successive-approximation-register (SAR) analog-to-digital converters (ADC) often uses multiple clock reference phases within a sampling clock cycle. For example, the SAR ADC may use target signals and tracking signals based on an asymmetric clock (such as a clock having a duty cycle other than 50% or 50/50) to divide up an input clock.


Typically, complicated analog circuits are often used to generate edges within the period of the input clock. For example, a DLL may be used to generate multiple clock edges in a period of the input clock, such as 8, 16 or 32 clock edges. Moreover, combination logic (such as set/reset latches) may be used to generate additional delayed edges that track the input clock edges. However, as process nodes are reduced to smaller critical dimensions, the analog circuits used in the DLL usually do not scale well.


SUMMARY

Embodiments of an integrated circuit are described. This integrated circuit includes a generating circuit. During operation, the generating circuit provides an edge clock having a target phase within a clock period of an input clock, where the generating circuit does not include a DLL.


For example, the generating circuit may include a gated ring oscillator that provides a reference clock having a first fundamental frequency that is larger than a second fundamental frequency of the input clock.


Note that the gated ring oscillator may be programmable to adjust the first fundamental frequency within a predefined range of values.


Moreover, the generating circuit may include a control circuit that determines a reference count of a number of edges of the reference clock within a reference period of the reference clock. This control circuit may provide a control signal corresponding to the target phase based at least in part on a predefined sub-count of the reference count. Note that the predefined sub-count may be programmable or adjustable. Furthermore, the predefined sub-count may be computed by the control circuit by digitally dividing the reference count by a predefined value. Additionally, based at least in part on the control signal, the generating circuit may provide the edge clock having the target phase and a duty cycle. In some embodiments, the duty cycle may be other than 50/50 and may be provided by selectively turning the gated ring oscillator on and off based at least in part on the control signal.


Note that the generating circuit may concurrently generate multiple edge clocks having different target phases in the clock period.


Moreover, the generating circuit may be periodically calibrated.


Furthermore, the integrated circuit may include a second generating circuit, and the generating circuit and the second generating circuit may be alternately calibrated and operated in a normal operating mode.


Additionally, the integrated circuit may include an ADC that uses the edge clock to convert a second input signal into a quantized output. In some embodiments, the ADC may include a SAR ADC.


Another embodiment provides an electronic device that includes the generating circuit or the integrated circuit.


Another embodiment provides a system that includes the generating circuit or the integrated circuit.


Another embodiment provides a method for providing an edge clock. This method includes at least some of the operations performed by the generating circuit.


This Summary is provided for purposes of illustrating some exemplary embodiments, so as to provide a basic understanding of some aspects of the subject matter described herein. Accordingly, it will be appreciated that the above-described features are examples and should not be construed to narrow the scope or spirit of the subject matter described herein in any way. Other features, aspects, and advantages of the subject matter described herein will become apparent from the following Detailed Description, Figures, and Claims.





BRIEF DESCRIPTION OF DRAWINGS


FIG. 1 is a block diagram illustrating an example of a gated ring oscillator according to some embodiments of the present disclosure.



FIG. 2 is a drawing illustrating an example of counting the number of reference clock cycles in an input clock cycle during calibration according to some embodiments of the present disclosure.



FIG. 3 is a drawing illustrating an example of counting the number of reference clock cycles in an input clock cycle during calibration with a reference clock having a 75/25 duty cycle according to some embodiments of the present disclosure.



FIG. 4 is a block diagram illustrating an example of a generating circuit according to some embodiments of the present disclosure.



FIG. 5A is a block diagram illustrating an example of a digitally programmable ring oscillator according to some embodiments of the present disclosure.



FIG. 5B is a block diagram illustrating an example of a digitally programmable ring oscillator according to some embodiments of the present disclosure.



FIG. 5C is a block diagram illustrating an example of a digitally programmable ring oscillator according to some embodiments of the present disclosure.



FIG. 6 is a flow diagram illustrating an example of a method for providing an edge clock according to some embodiments of the present disclosure.





Note that like reference numerals refer to corresponding parts throughout the drawings. Moreover, multiple instances of the same part are designated by a common prefix separated from an instance number by a dash.


DETAILED DESCRIPTION

An integrated circuit that includes a generating circuit is described. During operation, the generating circuit may provide an edge clock having a target phase within a clock period of an input clock, where the generating circuit does not include a DLL. For example, the generating circuit may include a gated ring oscillator that provides a reference clock having a first fundamental frequency that is larger than a second fundamental frequency of the input clock. Note that the gated ring oscillator may be programmable to adjust the first fundamental frequency within a predefined range of values. Moreover, the generating circuit may include control circuit that determines a reference count of a number of edges of the reference clock within a reference period of the reference clock. This control circuit may provide a control signal corresponding to the target phase within a clock period of the input clock based at least in part on a predefined sub-count of the reference count. Then, based at least in part on the control signal, the generating circuit may provide the edge clock having the target phase and a duty cycle. In some embodiments, the duty cycle may be other than 50/50 and may be provided by selectively turning the gated ring oscillator on and off based at least in part on the control signal.


By providing the edge clock without using a DLL, these circuit techniques may allow the generating circuit to be scaled to smaller critical dimensions. Moreover, because the generating circuit does not include a DLL, the generating circuit may respond more rapidly. Furthermore, the generating circuit may improve the performance of an ADC, e.g., at smaller critical dimensions. Consequently, the generating circuit and/or the ADC may be used in a wide variety of systems, electronic devices and applications.


We now describe embodiments of the circuit techniques and the generating circuit. In the disclosed circuit techniques, edges may be generated using one or more digital circuit(s). For example, an all-digital calibrated-delay generating circuit may only use digital standard cells. Thus, the generating circuit may not include a DLL.


In the calibrated-delay generating circuit, a gated ring oscillator (which is a ring oscillator that can be gated on or off) may be used to generate a reference clock having a larger fundamental frequency than an input clock. For example, the input clock may have a fundamental frequency of 100 MHz. FIG. 1 presents a block diagram illustrating an example of gated ring oscillator 100 according to some embodiments of the present disclosure. Notably, gated ring oscillator 100 may provide a reference oscillator (RO) clock (which is sometimes referred to as a ‘reference clock’) and may be gated using an enable signal.


Then, the number of higher-frequency clock edges that pass or occur within a reference clock period of the reference clock may be counted and recorded or stored (e.g., in a non-volatile memory) as a reference count. For example, FIG. 2 presents a block diagram illustrating an example of counting the number of reference clock cycles in an input clock cycle during calibration according to some embodiments of the present disclosure. Moreover, FIG. 3 presents a drawing illustrating an example of counting the number of reference clock cycles in an input clock cycle during calibration with a reference clock according to some embodiments of the present disclosure. Note that in FIG. 2, there are 16 clock cycles of the reference clock withing one input clock cycle. Alternatively, in FIG. 3, the reference clock has a 75/25 duty cycle, and there are 12 clock cycles of the reference clock withing one input clock cycle.


A desired phase within the reference clock period may be generated by counting to a corresponding sub-count of the reference count. Note that the sub-count may be digitally adjusted to be a desired fraction of the reference clock period using digital division. Moreover, the gated ring oscillator may be used to sequentially: generate the reference count; create the sub-counts; and then gated off during unused portions of the reference clock cycle in order to save power. Thus, the gated ring oscillator may only be used when needed, and the generating circuit may be used to generate multiple clocks and/or duty cycles. In some embodiments, multiple clocks may be generated concurrently.


For example, after initialization/calibration, when a 75/25 duty cycle is desired, the corresponding sub-count may be obtained by dividing the reference clock period by 0.75. Then, the ring oscillator may be turned on until the reference count equals this sub-count, and may be subsequently turned off for the remainder of the reference clock cycle or period, thereby providing the 75/25 duty cycle.



FIG. 4 presents a block diagram illustrating an example of a generating circuit 400 according to some embodiments of the present disclosure. Notably, a gated ring oscillator 410 in generating circuit 400 may provide a reference clock (RO-CLKOUT). A counter 412 may determine a desired reference count (COUNT), which is provided to a finite state machine (FSM) 414 or control logic, which may control gated ring oscillator 410 using an enable signal and counter 412 using reset and enable signals based at least in part on the input clock (CLK) and a desired phase or sub-count (corresponding to a count modifier). Moreover, FSM 414 may generate a given edge clock (CLK OUT) by controlling (via shift, load and enable signals) a shift register 416 based at least in part on the reference count, and an SR latch 418 based at least in part on a reset signal provided by a first edge detect/pulse generating circuit 420. For example, FSM 414 may load a count into the shift register, and may used different points in the reference clock cycle as triggers for edge clocks. Note that an output of shift register 416 may be provided to a second edge detect/pulse generating circuit 422, which sets SR latch 418. In some embodiments, a thermometer decoder 424 (which refers to logic code) or unary coding may be used to facilitate faster detection of the ring oscillator edge count. Note that at least some of the components in generating circuit 400 may be included in control circuit 426.


In some embodiments, calibration of generating circuit 400 may only require a single reference-clock cycle or reference clock period of the reference clock, and a few more reference-clock cycles to set up a state machine. Because generating circuit 400 may not include a ‘locking loop’ of a DLL, it may reach operating status more rapidly than a DLL-based generating circuit.


Note that generating circuit 400 may calibrate out the effect of process variation, but may still be subject to the effects of voltage and temperature variation. In some embodiments, a programmable-length ring oscillator may be used to help keep the fundamental frequency of the reference clock within a nominal range over process at the cost of additional calibration cycles. In this way, the fundamental frequency may not be too slow (which may adversely impact the resolution) or too fast for FSM 414 or the control logic. This capability may allow generating circuit 400 to be digitally programmed to correct for process variation across a semiconductor die or an integrated circuit, and thus to obtain better resolution. FIGS. 5A-5C presents block diagrams illustrating examples of digitally programmable ring oscillators according to some embodiments of the present disclosure. These types of digitally programmable ring oscillators may include: a variable driver strength, a variable load (such as variable capacitive load on drivers), and/or a variable delay (length) element. Combinations of the two or more of these types of ring oscillators may be used in generating circuit 400 (FIG. 4), such as a ring oscillator with variable delay elements that each have a variable load, or with variable delay elements for coarse delay and variable loads for fine delay.


Alternatively or additionally, periodic recalibration may be used to track voltage or temperature if an electronic device or a system that uses generating circuit 400 (FIG. 4) has down time. However, the amount of down time may be minimal, because only a few reference-clock cycles may be needed. In some embodiments, when there is no down time, dual generating circuits may be used to ping pong between calibration and normal operating modes.


In some embodiments, ⅛th of a clock input cycle provided by generating circuit 400 (FIG. 4) may be used for a SAR ADC input track signal. Moreover, a rising edge target signal may be needed to mark the end of the SAR conversion that occurs before the SAR track signal. Thus, the target signal and the track signal may be generated using the disclosed calibrated-delay generating circuit (which may not be limited to single clock-edge generation).


In some embodiments, there may be 16-30 phases, which may determine the granularity (or the number of bits or resolution) of the digital conversion of a SAR ADC. However, the use of more ring-oscillator cycles may limit the speed of the conversion circuit. Alternatively or additionally, including more stages in the gated ring oscillator may specify the number of phases, as well as process, voltage and temperature variation of generating circuit 400 (FIG. 4).


While the preceding discussion of the circuit techniques illustrated the gated ring oscillator as being selectively turned on or off, in other embodiments the gated ring oscillator may not be turned off. Instead, a particular edge provided by the gated ring oscillator may be used to, e.g., obtain a duty cycle that is other than 50/50.


Moreover, while the preceding discussion uses a SAR ADC as an example, the disclosed circuit techniques may be used with another type of ADC, such as another type of interleaved ADC or a pipeline ADC. Alternatively, in other embodiments, the circuit techniques may be used in an application (including an application without an ADC) to generate clocks with different duty cycles and phases.


In the present discussion, the analog-to-digital conversion performed using the edge clock provided by generating circuit 400 (FIG. 4) may be applied to a wide variety of input signals. For example, an input signal may include a frame. This frame may include an image, where one or more ADCs in the generating circuit may receive analog inputs corresponding to different spatial locations or regions. Alternatively, in some embodiments, such as in a scanning system, a frame may be progressively captured over a time interval (such as several milliseconds). Thus, in these embodiments, the one or more ADCs may receive analog inputs corresponding to different spatial locations or regions that are captured at different times.


We now describe embodiments of a method. FIG. 6 presents a flow diagram illustrating an example of a method 600 for providing an edge clock using a generating circuit, such as generating circuit 400 (FIG. 4). During operation, the generating circuit may provide the edge clock (operation 610) having a target phase within a clock period of an input clock, where the generating circuit does not include a DLL. Note that the providing (operation 610) may include: providing, using a gated ring oscillator, a reference clock (operation 612) having a first fundamental frequency that is larger than a second fundamental frequency of the input clock.


In some embodiments of the method 600, there may be additional or fewer operations. Moreover, the order of the operations may be changed, and/or two or more operations may be combined into a single operation.


The disclosed generating circuit and the circuit techniques can be (or can be included in) any electronic device. For example, the electronic device may include: a cellular telephone or a smartphone, a tablet computer, a laptop computer, a notebook computer, a personal or desktop computer, a netbook computer, a media player device, an electronic book device, a MiFi® device, a smartwatch, a wearable computing device, a portable computing device, a consumer-electronic device, an access point, a router, a switch, communication equipment, test equipment, a vehicle, a ship, an airplane, a car, a truck, a bus, a motorcycle, manufacturing equipment, farm equipment, construction equipment, or another type of electronic device.


Although specific components are used to describe the embodiments of the generating circuit and/or the integrated circuit that includes the generating circuit, in alternative embodiments different components and/or subsystems may be present in the generating circuit, the integrated circuit that includes the generating circuit, and/or the one or more ADCs. Thus, the embodiments of the generating circuit, the integrated circuit that includes the generating circuit, and/or the one or more ADCs may include fewer components, additional components, different components, two or more components may be combined into a single component, a single component may be separated into two or more components, one or more positions of one or more components may be changed, and/or there may be different types of components.


Moreover, the circuits and components in the embodiments of the generating circuit, the integrated circuit that includes the generating circuit, and/or the one or more ADCs may be implemented using any combination of analog and/or digital circuitry, including: bipolar, PMOS and/or NMOS gates or transistors. Furthermore, signals in these embodiments may include digital signals that have approximately discrete values and/or analog signals that have continuous values. Additionally, components and circuits may be single-ended or differential, and power supplies may be unipolar or bipolar. Note that electrical coupling or connections in the preceding embodiments may be direct or indirect. In the preceding embodiments, a single line corresponding to a route may indicate one or more single lines or routes.


As noted previously, an integrated circuit may implement some or all of the functionality of the circuit techniques. This integrated circuit may include hardware and/or software mechanisms that are used for implementing functionality associated with the circuit techniques.


In some embodiments, an output of a process for designing the integrated circuit, or a portion of the integrated circuit, which includes one or more of the circuits described herein may be a computer-readable medium such as, for example, a magnetic tape or an optical or magnetic disk. The computer-readable medium may be encoded with data structures or other information describing circuitry that may be physically instantiated as the integrated circuit or the portion of the integrated circuit. Although various formats may be used for such encoding, these data structures are commonly written in: Caltech Intermediate Format (CIF), Calma GDS II Stream Format (GDSII), Electronic Design Interchange Format (EDIF), OpenAccess (OA), or Open Artwork System Interchange Standard (OASIS). Those of skill in the art of integrated circuit design can develop such data structures from schematic diagrams of the type detailed above and the corresponding descriptions and encode the data structures on the computer-readable medium. Those of skill in the art of integrated circuit fabrication can use such encoded data to fabricate integrated circuits that include one or more of the circuits described herein.


While some of the operations in the preceding embodiments were implemented in hardware or software, in general the operations in the preceding embodiments can be implemented in a wide variety of configurations and architectures. Therefore, some or all of the operations in the preceding embodiments may be performed in hardware, in software or both. For example, at least some of the operations in the circuit techniques may be implemented using program instructions that are executed by a processor or in firmware in an integrated circuit.


Moreover, while examples of numerical values are provided in the preceding discussion, in other embodiments different numerical values are used. Consequently, the numerical values provided are not intended to be limiting.


In the preceding description, we refer to ‘some embodiments.’ Note that ‘some embodiments’ describes a subset of all of the possible embodiments, but does not always specify the same subset of embodiments.


The foregoing description is intended to enable any person skilled in the art to make and use the disclosure, and is provided in the context of a particular application and its requirements. Moreover, the foregoing descriptions of embodiments of the present disclosure have been presented for purposes of illustration and description only. They are not intended to be exhaustive or to limit the present disclosure to the forms disclosed. Accordingly, many modifications and variations will be apparent to practitioners skilled in the art, and the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the present disclosure. Additionally, the discussion of the preceding embodiments is not intended to limit the present disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.

Claims
  • 1. An integrated circuit, comprising: a generating circuit configured to provide an edge clock having a target phase within a clock period of an input clock, wherein the generating circuit does not include a delay locked loop (DLL); anda second generating circuit, wherein, when the generating circuit is calibrated, the second generating circuit is operated in a normal operating mode and, when the second generating circuit is calibrated, the generating circuit is operated in a normal operating mode.
  • 2. The integrated circuit of claim 1, wherein the generating circuit comprises a gated ring oscillator configured to provide a reference clock having a first fundamental frequency that is larger than a second fundamental frequency of the input clock.
  • 3. The integrated circuit of claim 2, wherein the gated ring oscillator is configured to be programmed to adjust the first fundamental frequency within a predefined range of values.
  • 4. The integrated circuit of claim 2, wherein the generating circuit comprises a control circuit configured to determine a reference count of a number of edges of the reference clock within a reference period of the reference clock.
  • 5. The integrated circuit of claim 4, wherein the control circuit is configured to provide a control signal corresponding to the target phase based at least in part on a predefined sub-count of the reference count.
  • 6. The integrated circuit of claim 5, wherein the predefined sub-count is programmable or adjustable.
  • 7. The integrated circuit of claim 5, wherein the control circuit is configured to compute the predefined sub-count by digitally dividing the reference count by a predefined value.
  • 8. The integrated circuit of claim 5, wherein the generating circuit is configured to provide, based at least in part on the control signal, the edge clock having the target phase and a duty cycle.
  • 9. The integrated circuit of claim 8, wherein the duty cycle is other than 50/50 and the generating circuit is configured to provide the edge clock having the duty cycle by selectively turning the gated ring oscillator on and off based at least in part on the control signal.
  • 10. The integrated circuit of claim 1, wherein the generating circuit is configured to concurrently generate multiple edge clocks having different target phases in the clock period.
  • 11. The integrated circuit of claim 1, wherein the generating circuit is periodically calibrated.
  • 12. The integrated circuit of claim 1, wherein the integrated circuit comprises an analog-to-digital converter (ADC) that is configured to use the edge clock to convert a second input signal into a quantized output.
  • 13. The integrated circuit of claim 12, wherein the ADC comprises a successive-approximation-register (SAR) ADC.
  • 14. A system, comprising: an integrated circuit, comprising a generating circuit configured to provide an edge clock having a target phase within a clock period of an input clock, wherein the generating circuit does not include a delay locked loop (DLL); anda second generating circuit, wherein, when the generating circuit is calibrated, the second generating circuit is operated in a normal operating mode and, when the second generating circuit is calibrated, the generating circuit is operated in a normal operating mode.
  • 15. The system of claim 14, wherein the generating circuit comprises a gated ring oscillator configured to provide a reference clock having a first fundamental frequency that is larger than a second fundamental frequency of the input clock.
  • 16. The system of claim 15, wherein the generating circuit comprises a control circuit configured to determine a reference count of a number of edges of the reference clock within a reference period of the reference clock.
  • 17. The system of claim 14, wherein the integrated circuit comprises an analog-to-digital converter (ADC) that is configured to use the edge clock to convert a second input signal into a quantized output.
  • 18. A method for providing an edge clock, comprising: by a generating circuit:providing the edge clock having a target phase within a clock period of an input clock, wherein the generating circuit does not include a delay locked loop (DLL), and wherein the providing comprises: providing, using a gated ring oscillator, a reference clock having a first fundamental frequency that is larger than a second fundamental frequency of the input clock; andby the generating circuit or a second generating circuit:calibrating the generating circuit or the second generating circuit, wherein, when the generating circuit is calibrated, the second generating circuit is operated in a normal operating mode and, when the second generating circuit is calibrated, the generating circuit is operated in a normal operating mode.
  • 19. The method of claim 18, wherein the method comprises determining, using a control circuit, a reference count of a number of edges of the reference clock within a reference period of the reference clock.
  • 20. The method of claim 18, wherein the generating circuit concurrently generates multiple edge clocks having different target phases in the clock period.
CROSS REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 17/555,840, “Digitally Calibrated Programmable Clock Phase Generation Circuit,” filed on Dec. 20, 2021, by Robert W. Kim, which claims priority under 35 U.S.C. 119(e) to U.S. Provisional Application Ser. No. 63/134,955, entitled “Digitally Calibrated Programmable Clock Phase Generation Circuit,” by Robert W. Kim, filed on Jan. 7, 2021, the contents of both of which are herein incorporated by reference.

US Referenced Citations (36)
Number Name Date Kind
5166959 Chu Nov 1992 A
6359519 Farrow Mar 2002 B1
7352297 Rylyakov Apr 2008 B1
7577231 Pomichter, Jr. Aug 2009 B2
7733151 Yu Jun 2010 B1
8138843 Straayer Mar 2012 B2
8564471 Gao Oct 2013 B1
8669896 Tsai Mar 2014 B2
8803574 McLeod Aug 2014 B2
9685141 Song Jun 2017 B2
9971312 Hailu May 2018 B1
10018970 Chuang Jul 2018 B2
10044359 Kim Aug 2018 B1
10630272 Ashtiani Apr 2020 B1
10826501 Coban Nov 2020 B1
11239853 Dai Feb 2022 B1
11424736 Bowman Aug 2022 B1
20020113660 Dally Aug 2002 A1
20030155981 Dey Aug 2003 A1
20100020910 Bhagavatheeswaran Jan 2010 A1
20120098604 Lee Apr 2012 A1
20120182054 Sabapathy Jul 2012 A1
20120319747 Namdar-Mehdiabadi Dec 2012 A1
20130027102 Chen Jan 2013 A1
20130129035 Sabapathy May 2013 A1
20130278453 Steensgaard-Madsen Oct 2013 A1
20150077279 Song Mar 2015 A1
20150220065 Suma Vinay Aug 2015 A1
20160173075 Tanihira Jun 2016 A1
20180088535 Wang Mar 2018 A1
20180115410 Tajalli Apr 2018 A1
20190004562 Gupta Jan 2019 A1
20190052280 Perez Feb 2019 A1
20190064749 Sudo Feb 2019 A1
20220170986 Nayak Jun 2022 A1
20220216877 Kim Jul 2022 A1
Related Publications (1)
Number Date Country
20230238968 A1 Jul 2023 US
Provisional Applications (1)
Number Date Country
63134955 Jan 2021 US
Continuations (1)
Number Date Country
Parent 17555840 Dec 2021 US
Child 18126889 US