PLL circuit, electronic device and method for controlling clock signal through PLL circuit
By adopting adaptive bandwidth optimization and frequency-locked/phase-locked operation modes in the PLL circuit, identifying and adjusting key parameters, the problem of inconsistent jitter of PLL circuits on different silicon wafers is solved, and stable and low-jitter clock signal output is achieved.
Patent Information
- Application Number
- CN202110471295.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-04-29
- Filing Date
- 2021-04-29
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2041-04-29
AI Technical Summary
PLL circuits on different silicon wafers show different jitter performance under the same design, leading to inconsistency in clock frequencies in electronic devices, and small voltage changes can affect PLL circuit performance, resulting in different jitter distributions.
Using an on-chip adaptive bandwidth optimized PLL circuit, iteratively optimizes the parameters of the PLL, combines frequency locking and phase locking operation modes, identifies and adjusts the DCO gain, TDC resolution and filter coefficients, stores these parameters to reduce jitter, and starts Use to reduce lock time.
While reducing the PLL circuit area and locking time, the stability and jitter performance are improved, ensuring the consistency of the clock signal and low jitter output.
Smart Images

Figure CN113572472B_ABST
Abstract
Description
Background Art
[0001] Phase-locked loop (PLL) circuits can be used to convert a reference frequency to a desired clock frequency that can be used by various components of an electronic device. One measure of the quality of a clock frequency can be the jitter, or amount of variation, of the clock frequency. For consistency in electronic devices, it can be desirable to minimize jitter. BRIEF DESCRIPTION OF THE DRAWINGS
[0002] Figure 1 Depicted are exemplary self-tuning PLL circuits in accordance with various embodiments.
[0003] Figure 2 Depicted is an example clock frequency optimization of a self-tuning PLL circuit according to various embodiments.
[0004] Figure 3 Example techniques related to the operation of a self-tuning PLL circuit in accordance with various embodiments are described.
[0005] Figure 4 is a top view of a wafer and die that may include a self-tuning PLL circuit according to various embodiments.
[0006] Figure 5 is a side cross-sectional view of an integrated circuit (IC) device assembly that may include a self-tuning PLL circuit according to various embodiments.
[0007] Figure 6 is a block diagram of an example electronic device that may include a self-tuning PLL circuit in accordance with various embodiments. DETAILED DESCRIPTION
[0008] In the following detailed description, reference is made to the accompanying drawings forming a part thereof, wherein like reference numerals denote like parts throughout, and wherein embodiments of the subject matter of the present disclosure may be practiced are shown by way of illustration. It should be understood that other embodiments may be utilized and structural or logical changes may be made without departing from the scope of the present disclosure. Therefore, the following detailed description will not be in a limiting sense.
[0009] For purposes of this disclosure, the phrase "A or B" means (A), (B), or (A and B). For purposes of this disclosure, the phrase "A, B or C" means (A), (B), (C), (A and B), (A and C), (B and C), or (A, B and C).
[0010] The description may use perspective-based descriptions, such as top / bottom, input / output, over / under, etc. Such descriptions are merely used to facilitate discussion and are not intended to limit the application of the embodiments described herein to any particular orientation.
[0011] The description may use the phrases "in one embodiment" or "in an embodiment," which may refer to one or more of the same or different embodiments, respectively. In addition, the terms "including," "comprising," "having," etc. used with respect to the embodiments of the present disclosure are synonymous.
[0012] The term "coupled to" and its derivatives may be used herein. "Coupled" may mean one or more of the following. "Coupled" may mean that two or more elements are in direct physical or electrical contact. However, "coupled" may also mean that two or more elements are in indirect contact with each other, but still cooperate or interact with each other, and may mean that one or more other elements are coupled or connected between the elements said to be coupled to each other. The term "directly coupled" may mean that two or more elements are in direct contact.
[0013] In various embodiments, the phrase "a first feature [[formed / deposited / arranged / etc.]] on a second feature" may mean that the first feature is formed / deposited / arranged / etc. on a feature layer, and at least a portion of the first feature may be in direct contact (e.g., direct physical or electrical contact) or indirect contact (e.g., with one or more other features between the first feature and the second feature) with at least a portion of the second feature.
[0014] Various operations may be described as multiple discrete operations in turn in a manner that is most helpful in understanding the claimed subject matter. However, the order of description should not be construed to imply that these operations are necessarily order dependent.
[0015] As noted, a PLL circuit may be a circuit used by an electronic device or its IC to generate a clock signal based on a provided reference signal. As noted, a measure of the quality of the output clock may be "jitter," which may refer to the degree of variation in the clock signal output by the PLL.
[0016] In some embodiments, even if different silicon wafers include PLL circuits with the same design as each other, the behavior of the PLL circuits may vary from one silicon wafer to another. For example, the PLL circuits may be highly voltage dependent, and small voltage variations may affect the performance of the PLL circuits. As a result, different ICs may have PLL circuits with different jitter distributions.
[0017] Embodiments herein relate to a PLL circuit including an on-chip adaptive bandwidth optimization circuit that can improve stability and jitter performance while reducing the area or lock time of the PLL circuit. Specifically, embodiments may relate to a self-tuning PLL circuit that can iteratively optimize one or more parameters of the PLL to address jitter. Such self-tuning may be referred to herein as "adaptive bandwidth optimization."
[0018] Some embodiments may include dual functions or operating modes, which may include both a phase-locked operating mode and a frequency-locked operating mode. The PLL circuit may use the frequency-locked operating mode to identify one or more parameters of the PLL circuit, which may allow the clock signal to be close to the desired clock signal output. The PLL circuit may then use the phase-locked operating mode to fine-tune the same or different coefficients of the PLL circuit, which may further tune the clock signal to the desired output. In certain embodiments, the PLL circuit may additionally store the identified coefficients in a memory of a PLL circuit, an IC, or an electronic device of which the PLL circuit is a part. The identified coefficients may then be retrieved and used when the device is started, rather than allowing the PLL circuit to re-tune itself.
[0019] The PLL circuit may include Figure 1 Specifically, Figure 1 An exemplary self-tuning PLL circuit 100 is depicted in accordance with various embodiments. In general, it will be appreciated that although Figure 1 Certain elements are depicted in certain configurations or positions, but other embodiments may include more or fewer elements, elements communicatively coupled in a different order, etc. As an example, although certain elements, such as time-to-digital converter (TDC) 110 and filter 115 are depicted as being communicatively coupled using a single depicted line, in some embodiments, certain elements such as TDC 110 may be coupled to filter 115 via multiple wires such as may be present in a bus. Additionally, it will be understood that certain elements such as logic, storage, passive elements (resistors, capacitors, inductors, etc.), or other elements may not be depicted in the drawings. Figure 1 175, TDC controller 127 and DCO controller 140, etc.) are not explicitly shown in the figure, but may still exist in actual embodiments of the circuit. It should also be understood that for the discussion herein, the connections between the elements are generally depicted, and certain elements (e.g., phase lock controller 125 and divider 175, TDC controller 127 and DCO controller 140, etc.) are not depicted as directly coupled. Other variations may exist in other embodiments.
[0020] The PLL circuit 100 may include a clock input 105 that may provide a reference clock signal, which may be referred to as "REFCLK". REFCLK may be a reference clock signal provided by a crystal, a digital source, or some other type of source. Typically, the task of the PLL circuit 100 is to convert the frequency of the REFCLK to a consistent clock signal (which may be referred to as "DCOCLK" or "VCOCLK". For consistency, the term "DCOCLK" will be used herein). REFCLK may be provided to a TDC 110, which may digitize the phase difference between the pulses received from the clock input 105 and the feedback clock signal (FBCLK) 180, as described in more detail below, and output an indication of the digitized phase difference.
[0021] In some embodiments, the TDC 110 can operate with a particular step size, which can be identified at startup by providing a test signal to the TDC 110 and analyzing the output of the TDC 110 based on amplitude, voltage, or some other factor. This step size can be referred to as the "resolution" of the TDC 110, and can be identified by, for example, the TDC controller 127, which can be discussed in more detail below.
[0022] The TDC 110 may be communicatively coupled to a filter 115. In some embodiments, the filter 115 may be referred to as a "loop filter." Generally, the filter 115 may include logic, other active components, passive components, etc., which may help determine the loop dynamics or stability of the PLL circuit 100. The stability of the PLL circuit 100 may refer to the extent to which the PLL circuit 100 responds to changes in the REFCLK or other changes in the circuit. The filter 115 may also limit the amount of variation or ripple seen in the signals provided from the TDC 110 to other components of the PLL circuit 100. In some embodiments, the filter 115 may be a low pass filter, while in other embodiments, the filter 115 may be a band pass or high pass filter. The filter 115 may be, for example, a first order filter, a second order filter, a third order filter, etc. However, for the purposes of this discussion, reference will be made to the detailed description of the filter 115. Figure 1 Filter 115 is a second order filter.
[0023] The filter 115 may be communicatively coupled to the PLL controller 133. The PLL controller 133 may include a plurality of modules, including a DCO controller 140, a filter controller 123, and a TDC controller 127. The DCO controller 140 itself may include modules such as a frequency lock controller 120 and a phase lock controller 125. Typically, the individual modules in the depicted modules such as the PLL controller 133, the DCO controller 140, the filter controller 123, the TDC controller 127, the frequency lock controller 120, and the phase lock controller 125 may be implemented as hardware, software, firmware. Typically, although the various controllers and elements are depicted separately from one another, in some embodiments, certain controllers may be implemented at least in part in the same module, such as the same hardware, software, circuits, firmware, etc.
[0024] In various embodiments, TDC controller 127 may be configured to provide information or commands to receive information from TDC 110 or otherwise control TDC 110. Specifically, TDC controller 127 may provide a test pulse to TDC 110 (or facilitate providing a test pulse to TDC 110 from a signal source or sources internal or external to PLL circuit 100). TDC controller 127 may then measure or otherwise identify the resolution of TDC 110 based on its response to the test pulse.
[0025] The filter controller 123 may be configured to provide information or commands to the filter 115 received from or otherwise control the filter 115. Specifically, in some embodiments, the filter controller 123 may be configured to identify or provide one or more coefficients to the filter 115. As will be described in more detail below, in some embodiments, the coefficients may be based on aspects such as the gain of the DCO 155, the resolution of the TDC 110, or other factors.
[0026] In some embodiments, the filter controller 123 may include a memory or be coupled to a memory (not shown separately to eliminate clutter and redundancy in the drawings). The memory may be, for example, a non-volatile memory (NVM), such as a double data rate (DDR) memory, a flash memory, or some other type of memory. The memory may be an element of the PLL circuit 100 or the filter controller 123, may be located on the same IC as the filter controller 123 or the PLL circuit 100, may be an element of an electronic device of which the PLL circuit 100 is a part, may be communicatively coupled to an electronic device, or may be communicatively coupled to one or more elements of the PLL circuit 100. In some embodiments, the memory may be configured to store one or more coefficients permanently or temporarily for use by the filter 115, or the filter coefficients may be derived by, for example, the TDC resolution or DCO gain of the filter. As described above, for a variety of reasons, the same PLL circuit design may perform different operations in different chips or different ICs. By storing one or more parameters or coefficients in a memory, the PLL controller 133 (particularly the filter controller 123) is able to retrieve the parameters specific to the PLL circuit at startup without having to be forced to iteratively identify these parameters each time. In some embodiments, the PLL controller 133 (particularly the filter controller 123) may be configured to identify one or more parameters based on a lookup table in a memory. As a result, the startup time may be significantly reduced.
[0027] In general, PLL controller 133, and in particular DCO controller 140, may be coupled to DCO 155. DCO 155 may be configured to accept a digital signal and convert it to an output clock signal DCOCLK. DCO controller 140 may include a number of elements that may control the operation of DCO 155.
[0028] The DCO controller 140 may include a frequency lock controller 120 and a phase lock controller 125. As already noted, and as will be explained with respect to Figure 2 and Figure 3 Described in more detail, the PLL circuit 100 may include two general operating loops. One processing loop may be referred to as a frequency locked loop. The frequency locked controller 120 may include logic, passive components, memory, other active components, etc., which may control the operation of the DCO 155 or some other components of the PLL circuit 100 when processing signals according to the frequency locked loop. Generally, the frequency locked loop may refer to an initial operating mode by which the PLL circuit 100 may self-tune various parameters, such as DCO gain.
[0029] Another processing loop may be referred to as a phase-locked loop. Phase-locked controller 125 may include logic, passive components, memory, other active components, etc., which may control the operation of DCO 155 or some other component of PLL circuit 100 when processing signals according to the phase-locked loop. Generally, a phase-locked loop may refer to an operating mode by which PLL circuit 100 can self-tune various parameters (e.g., filter coefficients or TDC resolution). The phase-locked loop may also output a clock signal based on a reference clock signal for use by another component of an electronic device of which PLL circuit 100 is a part.
[0030] In general, phase lock controller 125 or frequency lock controller 120 may be configured to process or alter received signals. For example, it can be seen that in some embodiments, phase lock controller 125 may be communicatively coupled with TDC 110 and filter 115 in a signal path. Conversely, frequency lock controller 120 may be configured to receive REFCLK directly from clock input 105, such as Figure 1As shown. Thus, the frequency lock controller 120 can be configured to process the raw REFCLK signal, while the phase lock controller 125 can be configured to operate on a digital signal filtered by the filter 115. However, it will be understood that in some embodiments, the frequency lock controller 120 may include elements that may operate similarly to the TDC 110 or the filter 115. In other embodiments, the frequency lock controller 120 may receive signals from the TDC 110, the filter 115, or a separate TDC or filter. For example, the PLL circuit 100 may include two TDCs or two filters 115 that form separate signal paths between the clock input 105 and the DCO controller 140. The processing of the phase locked loop and the frequency locked loop will be described, for example Figure 2 Described in more detail in .
[0031] The DCO controller 140 may also include a multiplexer 130 communicatively coupled to the frequency lock controller 120 and the phase lock controller 125. The multiplexer 130 may be configured to receive input from the frequency lock controller 120 or the phase lock controller 125 and output a signal on a line to a binary thermometer decoder 135. The binary thermometer decoder 135 may include logic, passive components, memory, active components, etc., configured to convert a binary number according to another system such as a decimal number into separate binary numbers representing a number (e.g., which may be received from the frequency lock controller 120 or the phase lock controller 125 via the multiplexer 130). The separate binary numbers may then be output from the DCO controller 140 to the DCO 155.
[0032] DCO 155 may include multiple elements, such as a fine digital-to-analog converter (DAC) 145 , a coarse DAC 150 , and a ring oscillator 160 . Ring oscillator 160 may include multiple inverters 165 . Figure 1 The ring oscillator 160 may include three inverters 165 and may be referred to as a three-stage ring oscillator. It should be understood that in other embodiments, the ring oscillator 160 may have a ratio of Figure 1 More or fewer inverters (eg, more or fewer stages) are shown.
[0033] In general, the fine DAC 145 may be configured to fine-tune the signal received from the binary thermometer decoder 135. That is, the fine DAC 145 may include logic, passive components, memory, active components, etc., which may change the signal received from the DCO controller 140 in a first step size. The coarse DAC 150 may include logic, passive components, memory, active components, etc., which may change the signal received from the DCO controller 140 in a second step size that is greater than the first step size. In general, as shown in FIG. Figure 2As discussed in more detail, a signal may be input to the coarse DAC 150 for processing until the signal output by the DCO 155 is within a predetermined threshold of the target DCOCLK signal. Once the signal is within the threshold, the signal may be input to the fine DAC for processing in smaller steps until the DCO 155 outputs a DCOCLK signal within a second predetermined threshold of the target DCOCLK signal. For example, the signal may be input to the coarse DAC 150 until the signal is within 10% of the target DCOCLK signal. The signal may then be input to the fine DAC 145 until the signal is within 1% of the target DCOCLK signal. However, it will be appreciated that in other embodiments, these ranges or thresholds may vary based on factors such as desired accuracy, desired tuning time, or other factors. Once the DCOCLK signal is within the predetermined threshold, the DCOCLK signal may be output to the clock output 170, which may then be sent to another element of an IC or electronic device such as a processor. In some embodiments, different DACs 145 / 150 may be used during different stages of operation or calibration, as will be described with reference to Figure 2 Specifically, in some embodiments, coarse DAC 150 may be used primarily during a frequency locked mode of operation, while fine DAC 145 may be used primarily during a phase locked mode of operation.
[0034] The output of the DAC 145 / 150 may be input to the ring oscillator 160. In general, the ring oscillator 160 may be an electronic oscillator whose oscillation frequency is controlled by a voltage input. That is, the DAC 145 / 150 may generate voltages based on signals received from the DCO controller 140, and those signals may be input to the ring oscillator 160. The ring oscillator 160 may in turn generate an oscillation frequency DCOCLK based on the voltage received from the DAC 145 / 150.
[0035] As can be seen, the DCOCLK signal output from the DCO 155 can be input back into the frequency lock controller 120 of the DCO controller 140. In this way, one or more parameters of the PLL circuit can be iteratively identified, adjusted, or processed in the frequency lock loop. One particular parameter that can be adjusted or identified by the frequency lock loop controller 120 (or some other element of the PLL controller 133) can be the gain of the DCO 155. Specifically, the gain of the DCO 155 can refer to a parameter or factor (e.g., a multiplier factor) that can be added to the signal of the DCO 155 to obtain the desired DCOCLK output. In some embodiments, the gain can refer to increasing the amplitude, frequency, or both of the DCO 155.
[0036] Additionally or alternatively, another parameter that may be identified or adjusted may be the resolution of TDC 110. Specifically, as previously described, the resolution of TDC 110 may be identified by providing a test pulse to TDC 110 (eg, by TDC controller 127), and then identifying the response of the TDC.
[0037] Another parameter that may be identified may be, for example, a coefficient used by the filter 115. Specifically, the filter controller 123 may identify one or more coefficients used by the filter 115 based on the DCO gain and the TDC resolution. In some embodiments, the identification of various parameters or coefficients (e.g., DCO gain or filter coefficients) may be performed in an iterative manner, where initial coefficients or parameters may be identified and then iteratively updated, as will be described in more detail below. In some embodiments, the iteration may be performed as part of a frequency locked loop, a phase locked loop, or both.
[0038] from Figure 1 As can be seen in , the DCOCLK signal output from the DCO 155 can be input to the divider 175. Similarly, the PLL controller 133 (more specifically, the DCO controller 140) can provide a signal 185 to the divider 175. The divider 175 can be a feedback divider that is configured to identify the FBCLK 180 based on the DCOCLK signal provided from the DCO 155. In general, the frequency of the DCOCLK signal can be considered to be a multiple of the frequency of the FBCLK signal and is related to a factor x, such that DCOCLK=x*FBCLK. In some embodiments, x can be referred to as a multiplier select (MSEL). Signal 185 can provide a value of MSEL or a derived value of MSEL. The FBCLK signal 180 can then be introduced to the TDC 110.
[0039] As described above, the PLL circuit 100 may iteratively change the parameters used by the PLL circuit 100. By iteratively changing the parameters, the DCOCLK signal generated by the DCO 155 may be adjusted until it is within a predetermined threshold of the target DCOCLK signal. Additionally, by iteratively changing the parameters used by the PLL circuit 100, the jitter of the DCOCLK signal may be significantly reduced.
[0040] In general, the parameters can be identified or derived as follows. Specifically, the PLL open loop function can be approximated in continuous time based on the following. Specifically, A(s), which can represent the open loop gain, can be based on Where T REF is the reference clock period (e.g., the period of REFCLK), Δ TDC is the resolution of TDC 110, and K DCO is the gain of the DCO 155, as described above. Specifically, KDCO may be a gain identified, for example, by the frequency lock controller 120 or some other element of the PLL controller 133 as described above. N may be similar to the factor x or MSEL as described above and may be considered a PLL clock multiplication ratio. 1 / s may be the Laplace transform of frequency to phase. H(s) may be the transfer function of the filter 115 and may be based on Wherein the parameters b0, b1, b2, a1, and a2 are the coefficients of the second order filter transfer function. As noted, the various parameters may be based on or otherwise derived from parameters such as the gain of the DCO, the resolution of the TDC, or other parameters. H(z) may be the discrete time equivalent of H(s). It will be appreciated that these equations are intended as example equations for one embodiment, and other embodiments may use different equations relating to approximation of the open loop function, the transfer function of the filter 115, etc.
[0041] Figure 2 Depicted are example clock frequency optimizations for self-tuning PLL circuits according to various embodiments. Specifically, Figure 2 A graph 200 is depicted illustrating clock frequency optimization and self-tuning of a PLL circuit (e.g., PLL circuit 100) including operation based on a frequency-locked mode of operation and a phase-locked mode of operation. The x-axis may represent time, while the y-axis may represent an identified frequency of an output DCOCLK signal that may be output by a DCO (e.g., DCO 155).
[0042] As described above, clock frequency optimization may be performed in two stages. The first stage 205 may refer to the stage performed during a frequency locked mode of operation as described above. The second stage 210 may refer to the stage performed during a phase locked mode of operation as described above.
[0043] In general, as described above, the frequency locked loop at 205 can iteratively identify one or more parameters of the PLL circuit 100, such as the gain of the DCO 155. In order to identify the DCO gain, a digital binary search can be used to tune the DCOCLK signal. The coarse DAC 150 can iteratively process the provided signal to generate the DCOCLK signal, which is then fed back to the PLL controller 133 and its components, such as the frequency lock controller 120. The frequency lock controller 120 can update one or more parameters of the DCO 155 (e.g., DCO gain), and then the DCO 155, especially the coarse DAC 150, can process the signal again. In this way, various parameters of the PLL circuit 100 can be iteratively identified, and the output clock signal of the PLL circuit 100 can be tuned.
[0044] As in Figure 2As can be seen in FIG. 2 , the frequency lock stage 205 may make a plurality of relatively large jumps, as opposed to the changes in the subsequent phase lock stage 210. As described above, once the DCO controller 140 identifies the DCOCLK as being within a predetermined threshold of the target DCOCLK value, then the PLL circuit may switch to the phase lock mode of operation at 210. In general, using the frequency lock mode of operation may ensure that the DCOCLK frequency is within a predetermined threshold and may also limit the maximum frequency overshoot between REFCLK and FBCLK during phase lock.
[0045] During the phase-locked mode of operation, the PLL circuit 100, and more specifically, the PLL controller 133 or components thereof, may further iteratively identify one or more parameters of the PLL circuit 100, such as filter coefficients. Figure 2 As can be seen in FIG. 2 , the granularity of the iterative adjustments in phase lock stage 210 can be much greater than the granularity of the adjustments in frequency lock stage 205. During phase lock stage 210, coarse DAC 150 can be held at a constant value, but in some embodiments, if the fine DAC reaches saturation, the coarse DAC can be iterated (e.g., one step) to resolve the saturation.
[0046] Figure 3 Example techniques related to the operation of a self-tuning PLL circuit are described. In general, Figure 3 Intended to describe Figure 1 and Figure 2 A very high level example of the technology described herein. It should be understood that in some embodiments, the technology may include more or fewer elements than discussed herein. It should also be understood that although certain elements are depicted as occurring sequentially within the technology, in other embodiments, certain elements such as elements 310 and 305 may be performed simultaneously with each other, or in a different order than depicted. Other variations may exist in other embodiments.
[0047] In general, the technique may be performed by components of PLL circuit 100 and its components, such as PLL controller 133. Figure 3 However, it should be understood that in other embodiments, different elements may additionally or alternatively perform an aspect of a given technique. For example, although element 305 is described as being performed by frequency lock controller 120, in other embodiments, element 305 may be additionally or alternatively performed by another element of PLL controller 133, which may be in Figure 1 is shown in or can be found in Figure 1 In some embodiments, the PLL controller 133 may include components such as a DCO gain controller, or some other components.
[0048] The technique may include identifying a first parameter related to the gain of a DCO of the PLL circuit at 305. For example, the technique may include identifying a parameter related to the gain of the DCO 155 of the PLL circuit 100. The parameter may be K DCO , or it can be combined with K DCO is related and may be identified by an element of PLL controller 133, such as frequency lock controller 120. As described above, in some embodiments, identification of the gain of DCO 155 may be performed iteratively based on a technique such as successive approximation or binary search.
[0049] The technique may further include identifying, at 310, a second parameter related to the resolution of the TDC of the PLL circuit (eg, TDC 110). The parameter may be, for example, or may be related to, for example, Δ TDC Specifically, as described above, the identification of the resolution of the TDC may be performed at least in part by the TDC controller 127 based on providing a test pulse to the TDC 110 .
[0050] The technique may further include identifying a third parameter related to the filter coefficient of the loop filter (e.g., filter 115) of the PLL circuit at 315. The parameter may be or may be related to one or more of the coefficients described above about H(z), such as parameters b0, b1, b2, a1, a2, etc. As noted, the identification of the parameter may be based on DCO gain and TDC resolution. In some embodiments, the identification of the coefficient may be based on iterative identification of the coefficient. In some embodiments, the identification of the coefficient may be performed by, for example, an element of the PLL controller 133, such as the filter controller 123. In some embodiments, the identification of the coefficient may be based on, for example, retrieving the coefficient from a memory by a lookup table or some other data structure.
[0051] The technique may further include outputting a clock signal such as DCOCLK based on a reference clock signal such as REFCLK, the first parameter, the second parameter, and the third parameter at 320 .
[0052] Figure 41 is a top view of a wafer 1500 and die 1502, which may include one or more self-tuning PLL circuits, or may be included in an IC package including one or more self-tuning PLL circuits, according to various embodiments. Wafer 1500 may be composed of semiconductor materials and may include one or more die 1502 having IC structures formed on a surface of wafer 1500. Each die 1502 may be a repeating unit of a semiconductor product including a suitable IC. After completion of fabrication of the semiconductor product, wafer 1500 may undergo a singulation process in which die 1502 are separated from one another to provide discrete "chips" of a semiconductor product. Die 1502 may include one or more self-tuning PLL circuits, one or more transistors or support circuits for routing electrical signals to the transistors, or some other IC components. In some embodiments, wafer 1500 or die 1502 may include memory devices (e.g., random access memory (RAM) devices, such as static RAM (SRAM) devices, magnetic RAM (MRAM) devices, resistive RAM (RRAM) devices, conductive bridge RAM (CBRAM) devices, etc.), logic devices (e.g., AND, OR, NAND, or NOR gates), or any other suitable circuit elements. Multiple of these devices may be combined on a single die 1502. For example, a memory array formed by multiple memory devices may be combined with a processing device (e.g., Figure 6 A processing device 1802) or other logic configured to store information in a storage device or execute instructions stored in the storage array is formed on the same die 1502.
[0053] Figure 5 17 is a side cross-sectional view of an IC device assembly 1700 according to any of the embodiments disclosed herein, which may include one or more IC packages or other electronic components (e.g., dies) including one or more self-tuning PLL circuits. The IC device assembly 1700 includes a plurality of components arranged on a circuit board 1702 (which may be, for example, a motherboard). The IC device assembly 1700 includes components disposed on a first side 1740 of the circuit board 1702 and an opposing second side 1742 of the circuit board 1702; in general, the components may be disposed on one side 1740 and 1742 or on both sides.
[0054] In some embodiments, circuit board 1702 may be a printed circuit board (PCB) comprising multiple metal layers separated from each other by layers of dielectric material and interconnected by conductive vias. Any one or more metal layers may be formed in a desired circuit pattern to route electrical signals between components coupled to circuit board 1702 (optionally in combination with other metal layers). In other embodiments, circuit board 1702 may be a non-PCB substrate.
[0055] Figure 5 The illustrated IC device assembly 1700 includes an interposer package structure 1736 coupled to a first side 1740 of a circuit board 1702 via a coupling component 1716. The coupling component 1716 can electrically and mechanically couple the interposer package structure 1736 to the circuit board 1702 and can include solder balls (e.g., Figure 5 as shown), male and female portions of the socket, adhesives, bottom fill materials and / or any other suitable electrical and / or mechanical coupling structures.
[0056] Interposer package structure 1736 may include IC package 1720 coupled to package interposer 1704 via coupling component 1718. Coupling component 1718 may take any suitable form for the application, such as the forms discussed above with reference to coupling component 1716. Figure 5 1704, but multiple IC packages may be coupled to package interposer 1704; indeed, additional interposers may be coupled to package interposer 1704. Package interposer 1704 may provide an intermediate substrate for bridging circuit board 1702 and IC package 1720. IC package 1720 may be or include, for example, a die ( Figure 4 1502), IC device, or any other suitable component. Typically, package interposer 1704 can extend the connection to a wider pitch, or reroute the connection to a different connection. For example, package interposer 1704 can couple IC package 1720 (e.g., die) to a set of BGA conductive contacts of coupling component 1716 to couple to circuit board 1702. Figure 5 In the illustrated embodiment, IC package 1720 and circuit board 1702 are attached to opposite sides of package insert 1704; in other embodiments, IC package 1720 and circuit board 1702 can be attached to the same side of package insert 1704. In some embodiments, three or more components can be interconnected through package insert 1704.
[0057] In some embodiments, the package insert 1704 can be formed as a PCB, including multiple metal layers separated from each other by dielectric material layers and interconnected by conductive vias. In some embodiments, the package insert 1704 can be formed of epoxy resin, glass fiber reinforced epoxy resin, epoxy resin with inorganic filler, ceramic material, or polymer material such as polyimide. In some embodiments, the package interposer 1704 can be formed of alternative rigid or flexible materials, which can include the same materials used for semiconductor substrates, such as silicon, germanium, and other III-V and IV materials. The package interposer 1704 may include metal lines 1710 and through holes 1708, including but not limited to through silicon vias (TSVs) 1706. The package interposer 1704 may further include embedded devices 1714, including passive and active devices. Such devices may include but are not limited to capacitors, decoupling capacitors, resistors, inductors, fuses, diodes, transformers, sensors, electrostatic discharge (ESD) devices, and storage devices. More complex devices such as radio frequency devices, power amplifiers, power management devices, antennas, arrays, sensors, and micro-electromechanical systems (MEMS) devices may also be formed on the package interposer 1704. The interposer package structure 1736 may take the form of any interposer package structure known in the art. In some embodiments, the package interposer 1704 may include one or more self-tuning PLL circuits.
[0058] IC device assembly 1700 may include an IC package 1724 coupled to first side 1740 of circuit board 1702 via coupling component 1722. Coupling component 1722 may take the form of any of the embodiments discussed above with reference to coupling component 1716, and IC package 1724 may take the form of any of the embodiments discussed above with reference to IC package 1720.
[0059] Figure 5 The illustrated IC device assembly 1700 includes a package-on-package structure 1734 coupled to a second side 1742 of a circuit board 1702 via a coupling component 1728. The package-on-package structure 1734 may include an IC package 1726 and an IC package 1732 coupled together via a coupling component 1730 such that the IC package 1726 is disposed between the circuit board 1702 and the IC package 1732. The coupling components 1728 and 1730 may take the form of any embodiment of the coupling component 1716 described above, and the IC packages 1726 and 1732 may take the form of any embodiment of the IC package 1720 described above. The package-on-package structure 1734 may be configured according to any package-on-package structure known in the art.
[0060] Figure 6is a block diagram of an exemplary electronic device 1800 that may include one or more self-tuning PLL circuits according to any embodiment disclosed herein. For example, any suitable component in the components of the electrical device 1800 may include one or more of the IC device components 1700, IC packages, IC devices, or dies 1502 disclosed herein. Figure 6 Many components included in the electrical device 1800 are shown, but any one or more of these components may be omitted or repeated as appropriate for the application. In some embodiments, some or all of the components included in the electrical device 1800 may be attached to one or more motherboards. In some embodiments, some or all of these components are manufactured onto a single system-on-chip (SoC) chip.
[0061] Additionally, in various embodiments, the electrical device 1800 may not include Figure 6 1800 may include one or more components shown, but the electrical device 1800 may include interface circuitry for coupling to one or more components. For example, the electrical device 1800 may not include the display device 1806, but may include display device interface circuitry (e.g., connectors and driver circuitry) to which the display device 1806 may be coupled. In another set of examples, the electrical device 1800 may not include the audio input device 1824 or the audio output device 1808, but may include audio input or output device interface circuitry (e.g., connectors and supporting circuitry) to which the audio input device 1824 or the audio output device 1808 may be coupled.
[0062] The electrical device 1800 may include a processing device 1802 (e.g., one or more processing devices). As used herein, the term "processing device" or "processor" may refer to any device or part of a device that processes electronic data from registers and / or memory to convert the electronic data into other electronic data that can be stored in registers and / or memory. The processing device 1802 may include one or more digital signal processors (DSPs), application specific integrated circuits (ASICs), central processing units (CPUs), graphics processing units (GPUs), cryptographic processors (special processors that execute cryptographic algorithms in hardware), server processors, or any other suitable processing devices. The electrical device 1800 may include a memory 1804, which itself may include one or more memory devices, such as volatile memory (e.g., dynamic RAM (DRAM)), non-volatile memory (e.g., read-only memory (ROM)), flash memory, solid-state memory, and / or a hard drive. In some embodiments, the memory 1804 may include a memory that shares a die with the processing device 1802. The memory may be used as a cache memory and may include embedded DRAM (eDRAM) or spin-transfer torque magnetic RAM (STT-MRAM).
[0063] In some embodiments, the electrical device 1800 may include a communication chip 1812 (e.g., one or more communication chips). For example, the communication chip 1812 may be configured to manage wireless communications for data transmission with the electrical device 1800. The term "wireless" and its derivatives may be used to describe circuits, devices, systems, methods, techniques, communication channels, etc., which can transfer data using modulated electromagnetic radiation through a non-solid medium. The term does not mean that the associated devices do not contain any wires, although in some embodiments they may not contain any wires.
[0064] The communication chip 1812 can implement any of a variety of wireless standards or protocols, including but not limited to Institute of Electrical and Electronics Engineers (IEEE) standards, including Wi-Fi (IEEE 802.11 series), IEEE 802.16 standards (e.g., IEEE 802.16-2005 amendment), Long Term Evolution (LTE) project and any revisions, updates and / or amendments (e.g., Advanced LTE project, Ultra Mobile Broadband (UMB) project (also known as "3GPP2"), etc.). Broadband Wireless Access (BWA) networks compatible with IEEE 802.16 are generally referred to as WiMAX networks, the acronym stands for "Worldwide Interoperability for Microwave Access", which is a certification mark for products that have passed the IEEE802.16 standard conformance and interoperability testing. The communication chip 1812 can operate according to the Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Universal Mobile Telecommunications System (UMTS), High Speed Packet Access (HSPA), Evolved HSPA (E-HSPA) or LTE networks. The communication chip 1812 can operate according to enhanced data for GSM Evolution (EDGE), GSM EDGE Radio Access Network (GERAN), Universal Terrestrial Radio Access Network (UTRAN), or Evolved UTRAN (E-UTRAN). The communication chip 1812 can operate according to code division multiple access (CDMA), time division multiple access (TDMA), digital enhanced cordless telecommunications (DECT), evolution data optimized (EV-DO) and its derivatives, and any other wireless protocol designated as 3G, 4G, 5G and higher. In other embodiments, the communication chip 1812 can operate according to other wireless protocols. The electrical device 1800 may include an antenna 1822 to facilitate wireless communications and / or receive other wireless communications (e.g., AM or FM radio transmissions).
[0065] In some embodiments, the communication chip 1812 can manage wired communications such as electricity, light, or any other suitable communication protocol (e.g., Ethernet). As described above, the communication chip 1812 can include multiple communication chips. For example, the first communication chip 1812 can be dedicated to short-range wireless communications such as Wi-Fi or Bluetooth, and the second communication chip 1812 can be dedicated to long-range wireless communications, such as global positioning systems (GPS), EDGE, GPRS, CDMA, WiMAX, LTE, EV-DO or other. In some embodiments, the first communication chip 1812 can be dedicated to wireless communications, and the second communication chip 1812 can be dedicated to wired communications.
[0066] The electrical device 1800 may include a battery / power circuit 1814. The battery / power circuit 1814 may include one or more energy storage devices (e.g., batteries or capacitors) and / or circuits for coupling components of the electrical device 1800 to an energy source separate from the electrical device 1800 (e.g., an AC power source).
[0067] Electrical device 1800 may include a display device 1806 (or corresponding interface circuitry, as described above). Display device 1806 may include any visual indicator, such as a heads-up display, a computer monitor, a projector, a touch screen display, a liquid crystal display (LCD), a light emitting diode display, or a flat panel display.
[0068] The electrical device 1800 may include an audio output device 1808 (or corresponding interface circuitry, as described above). The audio output device 1808 may include any device that produces an audible indicator, such as a speaker, headphones, or earbuds.
[0069] Electrical device 1800 may include an audio input device 1824 (or corresponding interface circuitry, as described above). Audio input device 1824 may include any device that produces a signal representative of sound, such as a microphone, a microphone array, or a digital musical instrument (e.g., a musical instrument with a Musical Instrument Digital Interface (MIDI) output).
[0070] The electrical device 1800 may include a GPS device 1818 (or corresponding interface circuitry, as described above). The GPS device 1818 may communicate with a satellite-based system and may receive the location of the electrical device 1800, as is known in the art.
[0071] Electrical device 1800 may include other output devices 1810 (or corresponding interface circuitry, as described above). Examples of other output devices 1810 may include an audio codec, a video codec, a printer, a wired or wireless transmitter for providing information to other devices, or another storage device.
[0072] The electrical device 1800 may include other input devices 1820 (or corresponding interface circuitry, as described above). Examples of other input devices 1820 may include an accelerometer, a gyroscope, a compass, an image capture device, a keyboard, a cursor control device such as a mouse, a stylus, a touch pad, a barcode reader, a quick response (QR) code reader, any sensor, or a radio frequency identification (RFID) reader.
[0073] The electrical device 1800 can have any desired form factor, such as a handheld or mobile electrical device (e.g., a cell phone, a smart phone, a mobile Internet device, a music player, a tablet computer, a laptop computer, a netbook computer, an ultrabook computer, a personal digital assistant (PDA), an ultra-mobile personal computer, etc.), a desktop electrical device, a server device or other networked computing component, a printer, a scanner, a monitor, a set-top box, an entertainment control unit, a vehicle control unit, a digital camera, a digital video recorder, or a wearable electronic device. In some embodiments, the electrical device 1800 can be any other electronic device that processes data.
[0074] Examples of various implementations
[0075] Example 1 includes a method for controlling a clock signal through a phase-locked loop (PLL) circuit, wherein the method includes: identifying, through the PLL circuit, a first parameter related to a gain of a digital oscillator (DCO) of the PLL circuit; identifying, through the PLL circuit, a second parameter related to a resolution of a time-to-digital converter (TDC) of the PLL circuit; identifying, through the PLL circuit, a third parameter related to a filter coefficient of a loop filter of the PLL circuit; and outputting, through the PLL circuit, the clock signal based on a reference clock signal, the first parameter, the second parameter, and the third parameter.
[0076] Example 2 includes the method of Example 1, wherein the identifying of the first parameter is performed by a frequency locked loop of the PLL circuit.
[0077] Example 3 includes the method of Example 1, wherein identifying the second parameter is based on providing a test pulse to the TDC.
[0078] Example 4 includes the method of Example 1, wherein identifying the third parameter is based on the first parameter and the second parameter.
[0079] Example 5 includes the method of any of Examples 1-4, wherein the method further comprises storing, by the PLL circuit, the third parameter in a memory communicatively coupled to the PLL circuit.
[0080] Example 6 includes the method of any of Examples 1-4, wherein identifying the third parameter comprises identifying, by the PLL circuit, the third parameter in a memory communicatively coupled to the PLL circuit.
[0081] Example 7 includes the method of any of Examples 1-4, wherein identifying the third parameter comprises identifying, by the PLL circuit, the third parameter based on a lookup table.
[0082] Example 8 includes the method of any of Examples 1-4, wherein identifying the first parameter comprises iterative identification of the first parameter.
[0083] Example 9 includes the method of Example 8, wherein the iterative identification includes successive approximation or binary search.
[0084] Example 10 includes a phase-locked loop (PLL) circuit, including: a time-to-digital converter (TDC) for identifying a divided output clock and a reference clock signal; a digital filter; a digitally controlled oscillator (DCO) controller, including: a frequency-locked loop controller for identifying a gain of the DCO of the PLL circuit; a TDC controller for identifying a resolution of the TDC; and a filter controller for identifying coefficients of the digital filter based on the gain of the DCO and the resolution of the TDC; and a DCO, wherein the DCO provides an output clock signal based on the reference clock signal and the coefficients.
[0085] Example 11 includes the PLL circuit of Example 10, wherein the output clock signal is further based on a gain of the DCO and a resolution of the TDC.
[0086] Example 12 includes the PLL circuit of Example 10, wherein the frequency locked loop controller is to identify a gain of the DCO before identifying a resolution of the TDC.
[0087] Example 13 includes the PLL circuit of any of Examples 10-12, wherein the output of the DCO is input to the DCO controller.
[0088] Example 14 includes the PLL circuit of Example 13, wherein the output of the DCO is input to the DCO controller to iteratively identify a gain of the DCO.
[0089] Example 15 includes the PLL circuit of any of Examples 10-12, wherein the TDC is used to dynamically adjust the phase of the output clock signal based on the divided output clock.
[0090] Example 16 includes the PLL circuit of any of Examples 10-12, wherein the digital filter is a second order digital filter.
[0091] Example 17 includes the PLL circuit of any of Examples 10-12, wherein the DCO includes a coarse digital-to-analog converter (DAC) and a fine DAC.
[0092] Example 18 includes an electronic device comprising: a reference clock signal generator for generating a reference clock signal; a processor for processing an output clock signal; and a phase-locked loop (PLL) circuit comprising: a digitally controlled oscillator (DCO) controller for identifying coefficients of a digital filter of the PLL circuit based on a DCO gain of the PLL circuit and a resolution of a time-to-digital converter (TDC) of the PLL circuit; and a DCO, wherein the DCO is used to output the output clock signal based on the reference clock signal and the coefficients.
[0093] Example 19 includes the electronic device of Example 18, further comprising a memory communicatively coupled to the PLL circuit, wherein the gain of the DCO, the resolution of the TDC, or the coefficients are based on pre-stored values in the memory.
[0094] Example 20 includes the electronic device of Example 18, wherein the DCO controller is used to iteratively identify a gain of the DCO.
[0095] Example 21 includes the electronic device of any of Examples 18-20, wherein the digital filter is a second order digital filter.
[0096] Example 22 includes the electronic device of any of Examples 18-20, wherein the PLL circuit is used to identify a resolution of the TDC based on providing a test pulse to the TDC.
[0097] Various embodiments may include any suitable combination of the above-described embodiments, including alternative (or) embodiments of the embodiments described above in combination (and) (e.g., "and" may be "and / or"). In addition, some embodiments may include one or more articles of manufacture (e.g., non-transitory computer-readable media) having instructions stored thereon, which, when executed, result in the actions of any of the above-described embodiments. Moreover, some embodiments may include an apparatus or system having any suitable means for performing the various operations of the above-described embodiments.
[0098] The above description, including the embodiments described in the Abstract, is not intended to be exhaustive or to limit the precise forms disclosed. Although specific implementations and examples of various embodiments or concepts are described herein for illustrative purposes, various equivalent modifications are possible as will be appreciated by those skilled in the relevant art. These modifications may be made in accordance with the above detailed description, Abstract, drawings, or claims.
Claims
1. A method for controlling a clock signal by a phase-locked loop (PLL) circuit, wherein: The method includes: identifying, by the PLL circuit, a first parameter related to a gain of a digitally controlled oscillator (DCO) of the PLL circuit; identifying, by the PLL circuit, a second parameter related to a resolution of a time-to-digital converter (TDC) of the PLL circuit, wherein the second parameter is identified based on providing a test signal to the time-to-digital converter and analyzing an output of the time-to-digital converter generated in response to the time-to-digital converter receiving the test signal; setting coefficients of a loop filter of the PLL circuit based on the first parameter and the second parameter to modify a loop gain of the PLL circuit; and The clock signal is output by the PLL circuit, wherein the clock signal is based on the coefficients of the loop filter.
2. The method of claim 1, wherein the method further comprises: The coefficients of the loop filter are stored in a memory communicatively coupled to the PLL circuit.
3. The method of claim 1 , wherein setting the coefficients of the loop filter comprises: The coefficients of the loop filter in a memory communicatively coupled to the PLL circuit are identified by the PLL circuit.
4. The method of claim 1 , wherein setting the coefficients of the loop filter comprises: The coefficients of the loop filter are identified by the PLL circuit based on a lookup table.
5. The method of claim 1 , wherein modifying the loop gain based on the first parameter and the second parameter comprises: The coefficients of the loop filter are set to compensate for variations in gain of the digitally controlled oscillator and resolution of the time-to-digital converter.
6. Phase-locked loop (PLL) circuit, including: Time-to-digital converter (TDC); Digitally controlled oscillator (DCO); filter; and A controller configured to: identifying the gain of the digitally controlled oscillator, identifying a resolution of the time digitizer by controlling a test signal to be provided to the time digitizer and analyzing an output generated by the time digitizer in response to the time digitizer receiving the test signal; and One or more coefficients of the filter are set based on the identified gain of the digitally controlled oscillator and the identified resolution of the time-to-digital converter to modify a loop gain of the PLL circuit, wherein the loop gain is proportional to each of the functions of the gain of the digitally controlled oscillator and the one or more coefficients of the filter and inversely proportional to the resolution of the time-to-digital converter, and wherein the digitally controlled oscillator is configured to provide an output clock signal based on a reference clock signal and the one or more coefficients.
7. The PLL circuit of claim 6, wherein the controller is configured to identify the gain of the digitally controlled oscillator before identifying the resolution of the time-to-digital converter.
8. The PLL circuit of claim 6, wherein the controller is configured to receive the output clock signal provided by the digitally controlled oscillator.
9. The PLL circuit of claim 8, wherein the controller is configured to iteratively identify a gain of the digitally controlled oscillator based on the output clock signal provided by the digitally controlled oscillator.
10. The PLL circuit of claim 6, wherein the time-to-digital converter is configured to dynamically adjust a phase of the output clock signal based on the divided output clock.
11. The PLL circuit of claim 6, wherein the filter is a second order filter.
12. The PLL circuit of claim 6, wherein the controller is configured to set the one or more coefficients to compensate for variations in a gain of the digitally controlled oscillator and a resolution of the time-to-digital converter.
13. The PLL circuit of claim 6, wherein the controller is configured to set the one or more coefficients to reduce the loop gain based on a gain of the digitally controlled oscillator and a resolution of the time-to-digital converter.
14. The PLL circuit of claim 6, wherein the controller is configured to set the one or more coefficients to increase the loop gain based on a gain of the digitally controlled oscillator and a resolution of the time-to-digital converter.
15. The PLL circuit of claim 6, wherein the controller is configured to set the one or more coefficients to modify the loop gain of the PLL circuit by modifying a transfer function of the filter.
16. The PLL circuit of claim 6, wherein analyzing the output generated by the time-to-digital converter comprises: One or more of an amplitude and a voltage of the output is analyzed.
17. Electronic equipment, including: A reference clock signal generator, used for generating a reference clock signal; as well as Phase-locked loop (PLL) circuit, including: Time-to-digital converter (TDC); Digitally controlled oscillator (DCO); Filter; and a controller for setting at least one coefficient of the filter to achieve a target loop gain based on a gain of the digitally controlled oscillator and a resolution of the time-to-digital converter, wherein the loop gain is proportional to each of a gain of the digitally controlled oscillator and a function of the at least one coefficient of the filter and is inversely proportional to a resolution of the time-to-digital converter, wherein the digitally controlled oscillator is configured to generate a clock signal based on the reference clock signal and the at least one coefficient, and The controller is configured to identify a resolution of the time-to-digital converter based on an output generated by the time-to-digital converter in response to the time-to-digital converter receiving a test signal.
18. The electronic device of claim 17, further comprising a memory communicatively coupled to the PLL circuit, wherein one or more of the gain of the digitally controlled oscillator, the resolution of the time-to-digital converter, and the at least one coefficient are based on pre-stored values in the memory.
19. The electronic device of claim 17, wherein the controller is configured to set the at least one coefficient based on a gain of the digitally controlled oscillator and a resolution of the time-to-digital converter to modify a transfer function of the filter.
20. The electronic device of claim 17, wherein identifying a resolution of the time-to-digital converter based on an output generated by the time-to-digital converter comprises: One or more of an amplitude and a voltage of the output is analyzed.
