PLL circuit and control method thereof

The injection-locked PLL circuit employs a binary search method to rapidly achieve phase synchronization, addressing the long activation times of conventional PLLs by ensuring consistent and fast startup times with reduced power consumption.

JP7561766B2Active Publication Date: 2024-10-04ROHM CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2021562619
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-12-05
Filing Date
2020-11-27
Publication Date
2024-10-04
Estimated Expiration
2040-11-27

AI Technical Summary

Technical Problem

Existing PLL circuits face long activation times to achieve phase synchronization, with conventional methods either having non-negligible delays or varying times based on environmental conditions.

Method used

An injection-locked PLL circuit that uses a digitally controlled oscillator and a controller to oscillate based on a control code, employing a binary search to quickly achieve phase synchronization by asserting and negating a selection signal, allowing for immediate phase synchronization upon injection.

Benefits of technology

The PLL circuit can be started up quickly in a predetermined time, with zero delay for phase synchronization, and can be efficiently switched between operating and stopping to reduce power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007561766000001
    Figure 0007561766000001
  • Figure 0007561766000002
    Figure 0007561766000002
  • Figure 0007561766000003
    Figure 0007561766000003
Patent Text Reader

Abstract

A DCO 200 is configured such that while a selection signal SEL is asserted, a ring oscillator is formed and the DCO 200 oscillates at a frequency according to a control code DCO_CODE, and while the selection signal SEL is negated, the DCO 200 can inject an injection edge INJ_EDGE based on a reference clock CLK_REF. In a startup period of a PLL circuit 100, a controller 500 repeats a cycle including (i) a process for asserting the selection signal SEL, oscillating the DCO 200, and comparing the phases of an oscillator clock and the reference clock CLK_REF, and (ii) a process for negating the selection signal, stopping the DCO 200, and updating the control code through a binary search based on the result of the phase comparison.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a PLL (Phase Locked Loop) circuit. [Background technology]

[0002] Frequency synthesizers that generate clocks of any frequency from a reference clock are used in various ICs (Integrated Circuits). PLL circuits are widely used as such frequency synthesizers. Figures 1(a) to 1(c) are block diagrams explaining the basic architecture of a PLL circuit.

[0003] 1(a) shows an analog PLL circuit 1. The analog PLL circuit 1 includes a phase comparator (PFD: Phase Frequency Detector) 10, a charge pump circuit 12, a low-pass filter 14, a voltage controlled oscillator (VCO: Voltage Controlled Oscillator) 16, and a frequency divider 18. The VCO 16 outputs an analog control voltage V CTRL The output clock CLK_VCO of the VCO 16 is divided by N by a frequency divider 18. A phase comparator 10 detects the phase difference between the divided clock CLK_DIV and a reference clock CLK_REF, and controls a charge pump circuit 12. A low-pass filter 14 is a loop filter that smoothes the output voltage of the charge pump circuit 12, and is connected to a control voltage V CTRL Generate.

[0004] The analog PLL circuit 1 in Fig. 1(a) has been used for a long time in various applications and is highly reliable, but the loop filter causes a problem of large chip size. Also, to achieve sufficient performance, the circuit designer must optimize the circuit layout.

[0005] FIG. 1(b) shows an all digital PLL circuit (ADPLL: All Digital PLL) 2. The ADPLL circuit 2 receives a frequency control word (FCW) and a reference clock CLK_REF, and generates an output clock CLK_DCO by multiplying the reference clock CLK_REF in accordance with the FCW. The ADPLL circuit 2 includes a frequency phase comparator 20, a digital filter 22, and a digital controlled oscillator (DCO: Digital Controlled Oscillator) 24. The DCO 24 multiplies the input control code D CTRL 1, and is composed of a TDC (time-to-digital converter), an adder, a counter, etc. The digital signal generated by the frequency phase comparator 20 is filtered by a digital filter 22 and input to a DCO 24.

[0006] The ADPLL circuit 2 in Fig. 1(b) can be configured using a CMOS process, which has the advantage of being easy to miniaturize and reducing the chip area. On the other hand, although it is all-digital, the circuit designer must optimize the layout of the frequency phase comparator 20 and DCO 24 to meet the desired specifications.

[0007] FIG. 1(c) shows an injection-locked PLL circuit 3 (also called IL-PLL (Injection Locked PLL)). The IL-PLL circuit 3 can be designed with an analog circuit or digital circuit architecture, but here, a case where it is configured with a digital circuit will be described. The IL-PLL circuit 3 includes a feedback circuit 30, a DCO 32, and an edge injection circuit 34. The IL-PLL circuit 3 is understood as a hybrid of feedback control and feedforward control, and stabilizes the oscillation frequency of the DCO 32 by feedback control by the feedback circuit 30, which corresponds to the frequency phase comparator 20 and the digital filter 22 in FIG. 1(b). The edge injection circuit 34 cuts out an edge of the reference clock CLK_REF and injects the cut edge into the DCO 32 to realign the phase of the output clock CLK_DCO. The IL-PLL circuit may also be called an MDLL (Multiplying Delay Locked Loop) circuit depending on the method of edge injection.

[0008] The IL-PLL circuit has the advantage that (i) the loop bandwidth is widened by injection locking, so that it is possible to achieve low phase (low jitter), and when configured as a digital circuit, (ii) it is possible to achieve low noise because it does not have the phase comparator 10 and charge pump circuit 12 in Fig. 1(a).In addition, (iii) since the feedback path is not easily affected by noise, it can be said that there is a high degree of freedom in layout, and therefore, it has the characteristic that desired characteristics can be obtained even with automatic placement and wiring using design support tools such as a P&R (Place and Route) tool. [Prior art documents] [Patent documents]

[0009] [Patent Document 1] JP 2014-154973 A [Non-patent literature]

[0010] [Non-Patent Document 1] F. u. Rahman, G. Taylor and V. Sathe, "A 1-2 GHz Computational-Locking ADPLL With Sub-20-Cycle Locktime Across PVT Variation", IEEE Journal of Solid-State Circuits [Non-Patent Document 2] K. Okuno, K. Masaki, S. Izumi, T. Konishi, H. Kawaguchi and M. Yoshimoto, "A 2.23 ps RMS jitter 3 μs fast settling ADPLL using temperature compensation PLL controller", 2014 21st IEEE International Conference on Electronics, Circuits and Systems (ICECS), Marseille, 2014, pp. 68-71 [Non-Patent Document 3] C. Chung and C. Ko, "A Fast Phase Tracking ADPLL for Video Pixel Clock Generation in 65 nm CMOS Technology", IEEE Journal of Solid-State Circuits, vol. 46, no. 10, pp. 2300-2311, Oct. 2011 [Non-Patent Document 4] S. Hoppner, S. Haenzsche, G. Ellguth, D. Walter, H. Eisenreich and R. Schuffny, "A Fast-Locking ADPLL With Instantaneous Restart Capability in 28-nm CMOS Technology", IEEE Transactions on Circuits and Systems II: Express Briefs, vol. 60, no. 11, pp. 741-745, Nov. 2013 [Non-Patent Document 5] J. Lin and C. Yang, "A Fast-Locking All-Digital Phase-Locked Loop With Dynamic Loop Bandwidth Adjustment", IEEE Transactions on Circuits and Systems I: Regular Papers, vol. 62, no. 10, pp. 2411-2422, Oct. 2015 [Non-Patent Document 6] Y. Ho and C. Yao, "A Low-Jitter Fast-Locked All-Digital Phase-Locked Loop With Phase-Frequency-Error Compensation", IEEE Transactions on Very Large Scale Integration (VLSI) Systems, vol. 24, no. 5, pp. 1984-1992, May 2016 [Non-Patent Document 7] C. Wu, W. Shen, W. Wang and A. Wu, "A Two-Cycle Lock-In Time ADPLL Design Based on a Frequency Estimation Algorithm", IEEE Transactions on Circuits and Systems II: Express Briefs, vol. 57, no. 6, pp. 430-434, June 2010 [Non-Patent Document 8] R. B. Staszewski and P. T. Balsara, "All-Digital PLL With Ultra Fast Settling", IEEE Transactions on Circuits and Systems II: Express Briefs, vol. 54, no. 2, pp. 181-185, Feb. 2007 [Non-Patent Document 9] K. Okuno, S. Izumi, T. Konishi, S. Dae-Woo, M. Yoshimoto and H. Kawaguchi,"Temperature compensation using least mean squares for fast settling all-digital phase-locked loop", 2013 IEEE 11th International New Circuits and Systems Conference (NEWCAS), Paris, 2013, pp. 1-4 [Non-Patent Document 10] KJ Shen et al., "A 0.17-to-3.5mW 0.15-to-5GHz SoC PLL with 15dB built-in noise supply rejection and self-bandwidth control in 14nm CMOS", 2016 IEEE International Solid-State Circuits Conference (ISSCC), San Francisco, CA, 2016, pp. 330-331 [Non-Patent Document 11] F. Ahmad et al. "A 0.5-9.5-GHz, 1.2-us Lock-Time Fractional-N DPLL With ±1.25%UI Period Jitter in 16-nm CMOS for Dynamic Frequency and Core-Count Scaling", IEEE Journal of Solid-State Circuits, vol. 52, no. 1, pp. 21-32, Jan. 2017 Summary of the Invention [Problem to be solved by the invention]

[0011] The PLL circuits in Figures 1(a) and (b) have a problem in that the time from start-up to phase synchronization (called the start-up time) is long because they have a loop filter. Various techniques have been proposed to shorten the start-up time.

[0012] Conventional rapid start-up technologies mainly involve dynamically controlling the loop filter characteristics according to the frequency lock-in state (e.g., Non-Patent Documents 2, 5, 8, 9, 10, 11), but because they use feedback control, there is still a non-negligible delay until the frequency is locked in. In addition, there is a problem in that the time until phase lock-in varies depending on the conditions at the time.

[0013] In Non-Patent Documents 1, 3, 4, 6, and 7, immediately after start-up, the control signal for the variable frequency oscillator is changed by feedforward, and when lock is determined, the control is switched to feedback control. This method can shorten the frequency pull-in time, but after the frequency pull-in is completed, feedback control is performed until phase synchronization, so there is a delay, and the time required for phase synchronization varies depending on the conditions at the time.

[0014] The present disclosure has been made in view of the above problems, and an exemplary purpose of an embodiment thereof is to provide an injection-locked PLL circuit that can be started up quickly within a predetermined time. [Means for solving the problem]

[0015] An embodiment of the present disclosure relates to an injection-locked PLL (Phase Locked Loop) circuit. The PLL circuit includes a digitally controlled oscillator configured to form a ring oscillator and oscillate at a frequency according to a control code while a selection signal is asserted, and to be able to inject an injection edge based on a reference clock while the selection signal is negated, and a controller for controlling the digitally controlled oscillator. (A) The controller is in a first mode during a startup period of the PLL circuit, and repeats a cycle including a step of (i) asserting a selection signal to oscillate the digitally controlled oscillator and comparing the phase of an oscillator clock generated by the digitally controlled oscillator with that of a reference clock, and a step of (ii) negating the selection signal to stop the digitally controlled oscillator and updating the control code by a binary search based on the result of the phase comparison.

[0016] Another aspect of the present disclosure relates to a method for controlling a PLL circuit, the PLL circuit including a digitally controlled oscillator configured to form a ring oscillator and oscillate at a frequency according to a control code while a selection signal is asserted, and to be able to inject an injection edge based on a reference clock while the selection signal is negated. The control method includes, at the first startup of the PLL circuit, repeating a cycle including a step of (i) oscillating the digitally controlled oscillator and comparing the phase of an oscillator clock generated by the digitally controlled oscillator with a reference clock, and a step of (ii) stopping the digitally controlled oscillator and updating the control code by a binary search based on the result of the phase comparison, and a step of continuously operating the digitally controlled oscillator and changing the control code so that the phase of the oscillator clock approaches the phase of the reference clock after the binary search is completed.

[0017] Any combination of the above components or conversion of the present disclosure between methods, devices, etc. are also effective as aspects of the present invention. Effect of the Invention

[0018] According to an aspect of the present disclosure, a PLL circuit can be quickly started up within a predetermined time. [Brief description of the drawings]

[0019] [Figure 1] 1(a) to (c) are block diagrams illustrating the basic architecture of a PLL circuit. [Diagram 2] 1 is a block diagram showing a basic configuration of a PLL circuit according to an embodiment. [Diagram 3] 3 is an operation waveform diagram of the PLL circuit of FIG. 2. [Figure 4] FIG. 13 is a diagram for explaining the transition of a control code based on a binary search. [Diagram 5] FIG. 2 is a diagram illustrating an example of the configuration of a PLL circuit. [Figure 6] 6 is an operation waveform diagram of the PLL circuit of FIG. 5. [Figure 7]FIG. 13 is a diagram showing frequency transitions based on binary search. [Figure 8] 11 is a time chart illustrating the second and subsequent activations of the PLL circuit. [Figure 9] FIG. 6 is a circuit diagram showing a configuration example of a window generator in FIG. 5. [Figure 10] 10 is an operation waveform diagram of the PLL circuit of FIG. [Figure 11] 10 is an operation waveform diagram of the PLL circuit of FIG. [Figure 12] 2 is a circuit diagram showing a specific example of the configuration of a PLL circuit. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0020] (Overview of the embodiment) A summary of some exemplary embodiments of the present disclosure will be described. This summary is intended to provide a simplified summary of some concepts of one or more embodiments in order to provide a basic understanding of the embodiments as a prelude to the detailed description that follows, and is not intended to limit the scope of the invention or disclosure. Furthermore, this summary is not intended to be a comprehensive overview of all possible embodiments, nor is it intended to limit essential components of the embodiments. For convenience, the term "one embodiment" may be used to refer to one embodiment (example or variant) or multiple embodiments (examples or variants) disclosed in this specification.

[0021] One embodiment disclosed in this specification relates to a PLL (Phase Locked Loop) circuit. The PLL circuit includes a digitally controlled oscillator and a controller that controls the digitally controlled oscillator. The digitally controlled oscillator forms a ring oscillator and oscillates at a frequency according to a control code while a selection signal is asserted, and the controller is configured to be able to inject an injection edge based on a reference clock while the selection signal is negated. (A) The controller is in a first mode during a startup period of the PLL circuit, and repeats a cycle including a step of (i) asserting the selection signal to oscillate the digitally controlled oscillator and comparing the phase of an oscillator clock generated by the digitally controlled oscillator with the reference clock, and a step of (ii) negating the selection signal to stop the digitally controlled oscillator and updating the control code by a binary search based on the result of the phase comparison.

[0022] When the control code of a digitally controlled oscillator is M bits, the control code reaches the optimal value M cycles after startup, and frequency lock-in is completed. Then, because it is an injection-locked type, in the next cycle, oscillation can start in a state where it is phase-locked with the injection edge. In other words, the delay time of phase locking due to feedback is zero, and the startup time is M cycles, which is constant.

[0023] In one embodiment, the controller may switch between asserting and negating the selection signal every period of the reference clock in the first mode. In this case, one cycle is two periods of the reference clock, and the startup time is 2×M×T REF It becomes.

[0024] In one embodiment, the controller may hold the control code in response to an instruction to stop the PLL circuit, and immediately start feedback control of the control code with the held control code as an initial value when the controller issues the next instruction to start the PLL circuit. This allows a restart in a phase-synchronized state from the first cycle of the reference clock in which the enable signal is captured. In other words, in a system equipped with this PLL circuit, the operation and stop of the PLL circuit can be actively switched, and power consumption can be significantly reduced.

[0025] In one embodiment, the controller (B) may enter a second mode after completion of the binary search, and may operate the digitally controlled oscillator continuously, vary the control code so that the phase of the oscillator clock approaches the phase of the reference clock, and periodically negate the selection signal.

[0026] In one embodiment, the controller may further include a window generator that receives the internal clock of the digitally controlled oscillator, extracts one pulse, and generates a window signal. In the normal operation period, the selection signal may correspond to the window signal. The timing of opening (asserting) the window and closing (negating) the window, which are specified by the window signal, do not depend on the reference clock. Therefore, the window can be reliably opened and closed regardless of the presence or absence of the reference clock while the digitally controlled oscillator is oscillating. In addition, since the timing can be adjusted so that the injection edge of the reference clock is reliably included in the period when the window is open, glitches and harmonic oscillations resulting from the window signal do not occur. If no transition (edge) of the reference clock occurs during the period when the window is open, the period of the internal clock becomes longer at a rate of once per predetermined cycle (multiplication number), but the oscillation does not stop.

[0027] In one embodiment, the window generator may generate a pulse signal that is asserted during half a cycle of the internal clock once every N cycles (N ≥ 2) of the internal clock, and delay the pulse signal by a time that is K times the period of the internal clock (0 < K < 1) to generate a window signal. Thereby, the timing of the window signal can be adjusted so that the injection edge exists within the assertion period of the window signal.

[0028] In one embodiment, K may be set to 1 / 4. Thereby, the timing of the window signal can be adjusted so that the injection edge exists substantially at the center of the assertion period of the window signal. Note that K does not necessarily have to be exactly 1 / 4.

[0029] In one embodiment, the window generator may include a counter that counts the internal clock and asserts the output during one cycle of the internal clock per N cycles, a logic gate that logically combines the output of the counter and the internal clock to generate a pulse signal, and a delay line that delays the pulse signal by a delay amount that is 1 / 4 of the period of the internal clock.

[0030] In one embodiment, the digital control oscillator may include a variable delay circuit. The delay line may be a replica of the same circuit type as the variable delay circuit.

[0031] In one embodiment, the delay line may provide a delay that is 1 / 2 times that of the variable delay circuit. In a ring oscillator, the delay amount of the variable delay circuit corresponds to substantially half a cycle of the internal clock. Therefore, a delay that is 1 / 2 times that of the variable delay circuit is 1 / 4 of the period of the internal clock.

[0032] In one embodiment, the digital control oscillator may include a variable delay circuit and a multiplexer that receives the internal clock, which is the output of the variable delay circuit, at one input, receives the injection edge at the other input, and has its output connected to the input of the variable delay circuit and selects one according to the window signal.

[0033] In one embodiment, the window generator may include a replica of the multiplexer through which the window signal passes, thereby reducing the effects of timing imperfections caused by the multiplexer.

[0034] In one embodiment, the multiplexer may include a first NAND gate that receives an internal clock at its first input and a window signal at its second input, a second NAND gate that receives a reference clock at its first input and an inverted window signal at its second input, a third NAND gate that receives an output of the first NAND gate at its first input and an output of the second NAND gate at its second input, and a fourth NAND gate that receives an output of the first NAND gate at its first input and an output of the second NAND gate at its second input, and whose output is connected to the output of the third NAND gate. A typical multiplexer includes a pair of two NAND gates in the first stage and one NAND gate in the second stage. Since the NAND gate has a delay difference between two input signals due to the asymmetrical nature of its configuration, in a typical multiplexer, a delay difference occurs between the two input signals of the multiplexer at the NAND gate in the output stage. Therefore, by arranging two NAND gates in pairs in the output stage and connecting them by swapping their inputs, the delay difference between the two input signals can be offset.

[0035] In one embodiment, the variable delay circuit may include a first delay circuit that provides a coarse delay control amount, and a second delay circuit that provides a sufficiently short delay control amount that can satisfy the delay amount equivalent to 1LSB of the control amount of the first delay circuit at full scale. The delay line may include a replica of the first delay circuit, and may be provided with a second control code having a value half that of the first control code provided to the first delay circuit. In this case, the delay amount of the variable delay circuit is dominated by the delay caused by the first delay circuit, so by using a replica of that portion, a delay of 1 / 4 period of the internal clock can be generated.

[0036] In one embodiment, the reference clock may be injected directly as the injection edge, which reduces the phase noise that power supply noise introduces to the injection edge since the reference clock does not pass through delay circuits or logic gates.

[0037] In one embodiment, the feedback circuit may include a symmetric phase detector that is enabled while the window signal is asserted, compares the phase of the clock signal generated by the digitally controlled oscillator with that of the reference clock, and generates an up-down signal indicating the comparison result, and a digital filter that generates a control code according to the up-down signal. By enabling the symmetric phase detector only while the window signal is asserted, the phase pull-in range can be expanded to the range of one period of the reference clock.

[0038] In one embodiment, the feedback circuit may include a phase frequency detector that is enabled while the window signal is asserted, compares the phase and frequency of the clock signal generated by the digitally controlled oscillator with the reference clock, and generates up and down pulses indicating the comparison result, and a digital filter that generates a control code according to the up and down signals based on the up and down pulses. By employing a phase frequency detector that has an inherently wide phase pull-in range and a frequency pull-in function, and further enabling the phase frequency detector only while the window signal is asserted, the phase pull-in range can be expanded substantially infinitely.

[0039] If an injection edge does not occur even though the window is open, the frequency of the digitally controlled oscillator will fluctuate in the short term for each period of the reference clock. Therefore, the window generator may keep the window signal negated when it cannot detect the edge of the reference clock. This allows the PLL circuit to continue generating clocks even when the reference clock stops. The frequency of the digitally controlled oscillator will fluctuate only immediately after the reference clock is lost, but it can be kept constant thereafter.

[0040] In one embodiment, the PLL circuit may further include a clock monitoring circuit that generates a clock enable signal that is asserted when the reference clock is normally input and is negated when the reference clock stops. The output of the counter may be masked in response to the clock enable signal.

[0041] (Embodiment) Hereinafter, the embodiments will be described with reference to the drawings. The same or equivalent components, parts, and processes shown in each drawing will be given the same reference numerals, and duplicated descriptions will be omitted as appropriate. In addition, the embodiments are illustrative and do not limit the invention, and all features and combinations thereof described in the embodiments are not necessarily essential to the invention.

[0042] In this specification, "a state in which component A is connected to component B" includes not only a case in which component A and component B are directly physically connected to each other, but also a case in which component A and component B are indirectly connected to each other via other components that do not substantially affect the electrical connection state between them or that do not impair the function or effect achieved by their combination.

[0043] Similarly, "a state in which component C is provided between components A and B" includes not only the case in which components A and C, or components B and C, are directly connected to each other, but also the case in which they are indirectly connected to each other via other components that do not substantially affect the electrical connection between them or that do not impair the functions or effects achieved by their combination.

[0044] 2 is a block diagram showing a basic configuration of a PLL circuit 100 according to an embodiment of the present invention. The PLL circuit 100 is of an injection-locked type, and includes a digitally controlled oscillator (DCO) 200, a controller 500, and an output gate .

[0045] DCO200 is configured such that while the selection signal SEL is asserted (e.g., high = 1), a ring oscillator is formed and oscillates at a frequency corresponding to the M-bit control code DCO_CODE[M-1:0], and while the selection signal SEL is negated (e.g., low = 0), an injection edge based on the reference clock CLK_REF can be injected.

[0046] The DCO 200 mainly includes an inverter 202, a variable delay circuit 210, and a multiplexer (selector) 220. The multiplexer 220 receives the output signal (internal clock) CLK_INT of the variable delay circuit 210 and an injection edge INJ_EDGE based on the reference clock CLK_REF, and selects one of them according to the control signal SEL. The output CLK_DCO of the multiplexer 220 is inverted by the inverter 202 and fed back to the input of the variable delay circuit 210. The insertion position of the inverter 202 is not limited, and it may be provided on the input side or output side of the variable delay circuit, or it may be incorporated into the variable delay circuit or the multiplexer.

[0047] In this configuration, the reference clock CLK_REF is directly injected as the injection edge INJ_EDGE. This means that the reference clock CLK_REF does not pass through a delay circuit or a logic gate, so that the phase noise caused by the power supply noise from that path on the injection edge can be reduced.

[0048] The controller 500 controls the DCO 200. Specifically, the controller 500 generates a control code DCO_CODE for the variable delay circuit 210, a selection signal SEL for the multiplexer 220, and a start signal START for the output gate 102.

[0049] The controller 500 can switch between a first mode φ1 and a second mode φ2, and is in the first mode φ1 during the startup period of the PLL circuit 100 when the IC is powered on, and is in the second mode φ2 after startup is complete. Here, the first mode φ1 is also referred to as a binary search mode.

[0050] In the first mode φ1, the controller 500 repeatedly executes a cycle including two processes (i) and (ii). First process: The selection signal SEL is asserted to cause the DCO 200 to oscillate, and a phase comparison is performed between the internal clock CLK_INT (or the output clock CLK_DCO), which is an oscillator clock generated by the DCO 200, and the reference clock CLK_REF. Second process: The selection signal SEL is negated to stop the DCO 200, and in step (i) the control code DCO_CODE is updated by a binary search based on the result of the phase comparison.

[0051] For example, in the first mode φ1, the controller 500 may switch between asserting and negating the selection signal SEL for each period of the reference clock CLK_REF. That is, in the first mode φ1, the DCO 200 alternately starts and stops oscillating for each period of the reference clock CLK_REF, and the oscillation frequency is updated.

[0052] In the second mode φ2, the controller 500 continuously operates the DCO 200 and changes the control code DCO_CODE so that the phase and frequency of the oscillator clock CLK_INT approach the phase and frequency of the reference clock CLK_REF. The controller 500 also periodically negates the selection signal SEL to inject an injection edge based on the reference clock CLK_REF into the DCO 200 and achieve phase synchronization.

[0053] The controller 500 negates (low) the start signal START in the first mode φ1 and asserts (high) the START signal in the second mode φ2. The output gate 102 receives the clock CLK_DCO and the START signal generated by the DCO 200, blocks the clock CLK_DCO while the START signal is negated, i.e., during the startup period of the PLL circuit 100, and passes the clock CLK_DCO while the START signal is asserted, i.e., after the startup of the PLL circuit 100 is completed, and outputs the output clock CLK_OUT.

[0054] In relation to the first mode, the controller 500 includes a phase frequency comparator (phase frequency detector) 502 and a signal processing unit 504. The phase frequency comparator 502 compares the frequency and phase of the reference clock CLK_REF and the internal clock CLK_INT of the DCO 200. The phase frequency comparator 502 may be configured as a combination of a phase comparator (phase detector) and a frequency comparator (frequency detector). In the first mode φ1, the signal processing unit 504 changes the control code DCO_CODE by binary search based on the output of the phase frequency comparator 502. In the second mode φ2, the signal processing unit 504 integrates (smooths) the output of the phase frequency comparator 502 to generate the control code DCO_CODE. The configuration of the signal processing unit 504 related to the second mode φ2 may employ a known technique, and typically includes a digital filter. In addition, the signal processing unit 504 may include a state machine for controlling the first mode φ1 and the second mode φ2.

[0055] The above is the configuration of the PLL circuit 100. Next, the operation of the PLL circuit 100 will be explained. Fig. 3 is an operational waveform diagram of the PLL circuit 100 in Fig. 2. At time t0, the PLL circuit 100 is started up and goes into the first mode φ1.

[0056] During the first mode φ1, a first period T1 in which the first processing is performed and a second period T2 in which the second processing is performed are defined as one cycle, which are repeatedly executed, and the control code DCO_CODE[M-1:0] for the DCO 200 is updated based on a binary search. After M cycles are repeated, that is, at time t1 after (2×M) periods of the reference clock CLK_REF have elapsed, the mode transitions to the second mode φ2 with the searched optimum control code DCO_CODE. In the second mode φ2, the START signal is asserted, the output clock CLK_OUT is supplied to a block outside the PLL circuit 100, the control code DCO_CODE is optimized by the phase-locked loop, and the frequency of the output clock CLK_OUT is stabilized to N times the frequency of the reference clock CLK_REF.

[0057] 4 is a diagram for explaining the transition of the control code based on the binary search. Here, the bit number M of the control code DCO_CODE is 4, and the target code is

[1011] (11 in decimal).

[0058] The above is the operation of the PLL circuit 100. According to this PLL circuit 100, when the control code DCO_CODE of the DCO 200 is M bits, the control code DCO_CODE becomes an optimal value M cycles after the start of startup, and frequency lock-in is completed. And because it is an injection locking type, in the next cycle, it can start oscillating in a state where it is phase-locked with the injection edge. In other words, the delay time of phase locking by feedback is zero, and high-speed startup is possible. Also, the startup time is a time of M cycles, and is invariable.

[0059] Fig. 5 is a diagram showing an example configuration (100A) of the PLL circuit 100. The parts of the controller 500 other than the phase frequency comparator 502 correspond to the signal processing unit 504 in Fig. 2. The controller 500 receives an enable signal EN that instructs the start and stop of the PLL circuit 100, and becomes the first mode φ1 with the assertion (high) of the enable signal EN as a trigger to start the PLL circuit 100.

[0060] A flip-flop 530 and an inverter 532 retime the enable signal EN with an edge (in this example, the negative edge) of the reference clock CLK_REF to generate the ENREG signal.

[0061] The AND gate 534 supplies the reference clock CLK_REF as an operating clock to the binary search unit 512 and the loop filter 514 while the ENERG signal is high.

[0062] The window generator 400 is active when the ENREG signal is asserted (high). The window generator 400 receives the internal clock CLK_INT of the DCO 200, extracts one pulse out of every N, and delays the pulse by ¼ period of the internal clock CLK_INT to generate a window signal INJ_WINDB, where N is the multiplication ratio of the PLL circuit 100. The window signal INJ_WINDB is selected by the selector 522 in the second mode φ2 and is supplied to the multiplexer 220 as the selection signal SEL.

[0063] Moreover, the window signal INJ_WINDB is supplied to a phase frequency comparator 502. The phase frequency comparator 502 compares the phases of the two clock signals CLK_REF and CLK_INT at the timing (period) specified by the window signal INJ_WINDB, and outputs a signal UP_DOWN indicating the comparison result.

[0064] The binary search unit 512 becomes active in the first mode φ1 immediately after the start of the PLL circuit 100, and changes the control code DCO_CODE by binary search based on the output UP_DOWN of the phase frequency comparator 502. The binary search unit 512 asserts (high) the search enable signal SAREN during the first mode φ1, and when the binary search is completed, negates (low) the SAREN signal and transitions to the second mode φ2.

[0065] During the first mode φ1, the code CODE_BS generated by the binary search unit 512 is supplied as the control code DCO_CODE to the variable delay circuit 210 via the selector 516. When the first mode φ1 ends, the code CODE_BS is set to the initial value of the loop filter 514.

[0066] The binary search unit 512 also generates a selection signal SEL_BS whose level is inverted for each period of the reference clock CLK_REF. During the first mode φ1, the SEL_BS signal is selected by the selector 522 and supplied to the multiplexer 220 as the selection signal SEL.

[0067] The loop filter 514 is active in the second mode φ2 and generates a control code CODE_FB based on the output UP_DOWN of the phase frequency comparator 502. During the second mode φ2, the code CODE_FB generated by the loop filter 514 is supplied to the variable delay circuit 210 via the selector 516 as the control code DCO_CODE.

[0068] The SAREN signal is inverted by inverter 518 and provided to output gate 102 as the START signal.

[0069] The above is the configuration of the PLL circuit 100A. Next, the operation will be described. Fig. 6 is an operation waveform diagram of the PLL circuit 100A of Fig. 5. Here, the number of bits of the control code DCO_CODE is M=4. Fig. 7 is a diagram showing frequency transition based on a binary search.

[0070] 6, at time t0, the enable signal EN goes high, and at time t1, the enable signal EN is captured in response to the negative edge of the reference clock CLK_REF, the ENREG signal goes high, and the first mode φ1 is entered. The SEL_BS signal is inverted for each period of the reference clock CLK_REF, and becomes the SEL signal.

[0071] Each time the SEL signal goes high at times t2, t4, t6, and t8, a positive edge of the reference clock CLK_REF is injected into the DCO200, causing the DCO200 to oscillate. Additionally, each time the SEL signal goes low at times t3, t5, t7, and t9, a phase comparison is performed. As a result of the phase comparison, when the UP_DOWN signal is high, the control code DCO_CODE (CODE_BS) increases, and when the UP_DOWN signal is low, the control code DCO_CODE (CODE_BS) decreases. With each phase comparison, the value of the control code DCO_CODE is determined from the most significant bit MSB to the least significant bit LSB. STATE_COUNT is a count value that specifies the target bit in the binary search.

[0072] time t 10 When the search of all bits is completed, the SAREN signal goes low, and the mode shifts to the second mode φ2. The control code CODE_BS obtained by the binary search is set as the initial value of the loop filter 514. At the following time t 11 When an edge of the reference clock CLK_REF is injected at time t , the DCO 200 starts oscillating, and the control code CODE_FB is adjusted by the loop filter 514. At this time, the loop filter 514 is equivalent to a state in which the frequency has already been locked by the binary search. Therefore, the PLL circuit 100A starts oscillating at time t 11 This has the advantage that the phase lock is started from a state equivalent to the phase lock at the instant of the reference clock CLK_REF being injected into the DCO 200.

[0073] The above is the normal startup operation of the PLL circuit 100 A. Next, high-speed startup of the PLL circuit 100 (100 A) will be described.

[0074] At the first startup, the controller 500 searches for the optimal control code DCO_CODE by binary search in the first mode φ1, but at the second startup and thereafter, it starts oscillating immediately without going through the first mode φ1. Specifically, in response to an instruction to stop the PLL circuit 100 (enable signal EN low), the controller 500 holds the control code DCO_CODE at that time, and at the next instruction to start the PLL circuit 100 (enable signal EN high), it immediately transitions to the second mode with the held control code as the initial value.

[0075] 8 is a time chart for explaining the second and subsequent startups of the PLL circuit 100. When the enable signal EN goes low at time t0 and the ENREG signal goes low at time t1, the PLL circuit 100 stops. The value of the control code DCO_CODE is maintained even after the PLL circuit 100 stops. The enable signal EN goes high at time t2 and the ENREG signal goes high at time t3. When an edge of the reference clock CLK_REF is injected at time t4, the PLL circuit 100 starts oscillating. In this way, from the second time onwards, the PLL circuit 100 can be restarted from a phase-synchronized state in one cycle.

[0076] In other words, in a system equipped with this injection-locked PLL circuit 100, the PLL circuit can be actively switched on and off, and during the period when the load to which the clock CLK_OUT is supplied is stopped, the enable signal EN can be set low, thereby significantly reducing the power consumption of the PLL circuit 100.

[0077] Fig. 9 is a circuit diagram showing a configuration example of the window generator 400 of Fig. 5. In Fig. 9, the selector 522 and the binary search unit 512 of Fig. 5 are omitted.

[0078] Variable delay circuit 210 can be configured as a series connection of first delay circuit 212 and second delay circuit 214, with first delay circuit 212 providing a delay with a relatively coarse resolution and second delay circuit 214 providing a delay with a relatively fine resolution. The output of variable delay circuit 210 is extracted as internal clock CLK_INT to the outside of variable frequency oscillator 200. Variable frequency oscillator 200, which is a ring oscillator, includes an inverter for logic inversion, but the position at which the inverter is inserted is not limited, and it may be provided on the input side or output side of the variable delay circuit, or it may be incorporated into the variable delay circuit or multiplexer.

[0079] The multiplexer 220 receives the internal clock CLK_INT at one input (1) and the injection edge INJ_EDGE at the other input (0), and selects one according to the selection signal SEL (window signal INJ_WINDB). Specifically, when the window signal INJ_WINDB is asserted (negative logic in this embodiment, low=0), the injection edge INJ_EDGE is selected, and when the window signal INJ_WINDB is negated (high=1), the internal clock CLK_INT is selected. The output of the multiplexer 220 is returned to the input of the variable delay circuit 210.

[0080] The feedback circuit 300 corresponds to the phase frequency comparator 502 and the loop filter 514 in FIG. DCO is the frequency f of the reference clock CLK_REF. REF The control code given to the variable delay circuit 210 is feedback-controlled so as to approach the target frequency based on the target frequency f TGT The FCW (Frequency Control Word) that specifies the frequency f of the internal clock CLK_INT (i.e., the output clock CLK_DCO) is input. DCO , f REF ×FCW is stabilized as the target frequency.

[0081] The configuration and control method of the feedback circuit 300 are not particularly limited, and either an FLL (Frequency Locked Loop) method or a PLL (Phase Locked Loop) method can be used, or both can be used. For example, the delay amount of the first delay circuit 212 can be controlled by the FLL method, and the delay amount of the second delay circuit 214 can be controlled by the PLL method. Alternatively, the delay amounts of both the first delay circuit 212 and the second delay circuit 214 can be controlled by the PLL method.

[0082] The window generator 400 receives the internal clock CLK_INT and generates the window signal INJ_WINDB by extracting one pulse from the internal clock CLK_INT. That is, in this embodiment, the window signal INJ_WINDB is generated independently of the reference clock CLK_REF.

[0083] The above is the basic configuration of the PLL circuit 100. Next, the operation will be described. FIG. 10 is an operation waveform diagram of the PLL circuit 100 of FIG. 9. The internal clock CLK_INT and the output clock CLK_DCO generated by the variable frequency oscillator 200 are signals obtained by multiplying the reference clock CLK_REF by N. The window signal INJ_WINDB is generated by extracting a pulse (half cycle) of the internal clock CLK_INT and appropriately adjusting the timing, and therefore the window signal INJ_WINDB can include the edge of the reference clock CLK_REF during its assertion period (low section). This injection edge INJ_EDGE is injected into the variable frequency oscillator 200, and the internal clock CLK_INT (and the output clock CLK_DCO) generated by the variable frequency oscillator 200 is retimed by the injection edge INJ_EDGE.

[0084] The above is the operation of the PLL circuit 100. According to this PLL circuit 100, the timing at which the window opens (asserts) and closes (negates) as specified by the window signal INJ_WINDB does not depend on the reference clock CLK_REF. Therefore, while the variable frequency oscillator 200 is oscillating, the window can be reliably opened and closed regardless of the presence or absence of the reference clock CLK_REF.

[0085] Also, since the timing can be adjusted so that the injection edge INJ_EDGE of the reference clock CLK_REF is surely included during the period when the window is open, grid and harmonic oscillation caused by the window signal do not occur. If a transition (edge) of the reference clock does not occur during the period when the window is open, the period of the internal clock CLK_INT (and the output clock CLK_DCO) becomes longer at a rate of once every predetermined cycle (multiplication factor N), but oscillation does not stop. According to the PLL circuit 100 in FIG. 9, some of the conventional problems can be solved.

[0086] Returning to FIG. 9. The window generator 400 generates a pulse signal injwb that is asserted once every N cycles (N≥2) of the internal clock CLK_INT, during a half cycle of the internal clock CLK_INT (that is, the high section or the low section of the internal clock), and delays the pulse signal injwb by a time that is K times (0<K<1) the period of the internal clock CLK_INT to generate a window signal INJ_WINDB. N is preferably the multiplication factor of the PLL circuit 100.

[0087] When K = 1 / 4, the timing of the window signal INJ_WINDB can be adjusted so that the injection edge INJ_EDGE exists at the center of the assertion period (low) of the window signal INJ_WINDB.

[0088] The window generator 400 includes a counter 402, a logic gate 404, and a delay line 406. The counter 402 counts the internal clock CLK_INT and asserts its output injw_en during one cycle per N cycles. The logic gate 404 performs a logical operation on the output injw_en of the counter 402 and the internal clock CLK_INT to generate a pulse signal injwb. For example, the logic gate 404 may include a NAND gate that generates a negative logical product of the inverted signal of the internal clock CLK_INT and the negation of the output injw_en of the counter 402.

[0089] The above is the basic configuration of the PLL circuit 100. Next, the operation will be described. FIG. 11 is an operation waveform diagram of the PLL circuit 100 of FIG. 9. Here, the case of N=16 is shown. The counter 402 is configured with 4 bits, and the carry signal is injw_en. CLK_INTB is an inverted signal of the internal clock CLK_INT, and a pulse signal injwb is generated by a NAND operation of the injw_en signal and the DOC_INTB signal. A window signal INJ_WINDB is generated by giving a delay equivalent to about 1 / 4 of the period of the internal clock CLK_INT (1 / 2 the pulse width of CLK_INT) to this pulse signal injwb. Since the positive edge (injection edge) of the reference clock CLK_REF is substantially located at the center of the INJ_WINDB signal, even if jitter is superimposed on the reference clock CLK_REF, retiming can be performed by the injection edge within the range of the pulse width of the internal clock CLK_INT (1 / 4 period of CLK_INT).

[0090] 12 is a circuit diagram showing a specific example of the configuration of the PLL circuit 100. The variable frequency oscillator 200 will be described. The first delay circuit 212 and the second delay circuit 214 have different resolutions as described above, the former having a configuration suitable for providing a delay with low resolution, and the latter having a circuit configuration suitable for providing a delay with high resolution. The second delay circuit 214 may include two delay circuits 214m and 214f ​​with different resolutions.

[0091] The multiplexer 220 includes a first NAND gate 222 to a fourth NAND gate 228 and an inverter 230. Generally, the multiplexer 220 is composed of two pairs of NAND gates, but due to the influence of element variations, a difference in delay between the two input signals may occur. Therefore, by arranging two of these pairs symmetrically, the delay difference between the two input signals can be reduced.

[0092] Next, the window generator 400 will be described. As described above, the delay provided by the delay line 406 is approximately 1 / 4 of the period of the internal clock CLK_INT. The delay provided by the variable delay circuit 210 in the variable frequency oscillator 200 corresponds to 1 / 2 of the period of the internal clock CLK_INT (CLK_DCO). Therefore, half of the delay provided by the variable delay circuit 210 is the delay to be provided to the injwb signal.

[0093] The length of the half cycle of the internal clock CLK_INT is dominated by that provided by the first delay circuit 212. Therefore, the delay line 406 is configured to ignore the delay provided by the second delay circuit 214 and provide a delay that is 1 / 2 the delay of the first delay circuit 212 to the injwb signal.

[0094] The control code given to the first delay circuit 212 is the thermometer code CODE_C[62:0], and is configured to be able to generate a delay obtained by multiplying the value of the thermometer code CODE_C[62:0] (the number of bits marked with 1) by a unit delay. In this example, the thermometer code is 63 bits.

[0095] The delay line 406 is a replica having the same circuit format as the first delay circuit 212, and is designed to have the same unit delay as the first delay circuit 212, with the number of stages being half that of the first delay circuit 212. Therefore, the number of bits of the thermometer code CODE_D[31:0] provided to the delay line 406 is half the number of bits of the thermometer code provided to the first delay circuit 212. CODE_D[31:0] can be generated by thinning out every other bit of CODE_C[62:0].

[0096] 8 is broken down into an inverter 404a and a NAND gate 404b. The window generator 400 further includes a dummy multiplexer 410.

[0097] The multiplexer 410 is provided to cancel the effect of the multiplexer 220 in the variable frequency oscillator 200. The multiplexer 410 is a replica of the multiplexer 220, and gives the output injwb_dly of the delay line 406 the same delay as that of the multiplexer 220, thereby canceling the effect of the multiplexer 220.

[0098] The embodiment is merely an example, and it will be understood by those skilled in the art that various modifications are possible in the combination of each component and each processing step, and that such modifications are also within the scope of the present invention. Such modifications will be described below.

[0099] In the embodiment, the edge of the reference clock CLK_REF is used as the injection edge, but this is not limiting, and the reference clock CLK_REF may be multiplied and the multiplied clock may be used as the injection edge.

[0100] The present invention has been described using specific terms based on the embodiments, but the embodiments merely illustrate the principles and applications of the present invention, and many modifications and changes in arrangement are permitted to the embodiments without departing from the spirit of the present invention as defined in the claims. [Industrial Applicability]

[0101] The present disclosure can be used in a PLL (Phase Locked Loop) circuit. [Explanation of symbols]

[0102] 100 PLL circuits 102 Output Gate 200 DCO 210 Variable Delay Circuit 212 First Delay Circuit 214 Second Delay Circuit 220 Multiplexer 222 1st NAND gate 224 Second NAND gate 226 3rd NAND Gate 228 4th NAND gate 230 Inverter 500 Controller 502 Phase Frequency Detector 504 Signal Processing Unit 512 Binary Search Department 514 Loop Filter 516 Selector 522 Selector 530 Flip-flop 532 Inverter 300 Feedback Circuit 310 PFD 312 Gating Circuit 314,316 Latch Circuit 318 Digital Filter 320 Symmetrical PD 400 Window Generator 402 Counter 404 Logic Gates 406 Delay Line 410 Multiplexer 412 Mask Circuit 420 Clock Supervisory Circuit

Claims

1. A PLL (Phase Locked Loop) circuit, a digitally controlled oscillator configured to form a ring oscillator and oscillate at a frequency corresponding to a control code while a selection signal is asserted, and to be capable of injecting an injection edge based on a reference clock while the selection signal is negated; A controller for controlling the digitally controlled oscillator; Equipped with The controller: (A) A PLL circuit characterized by being in a first mode during a startup period of the PLL circuit, and repeating a cycle including: (i) asserting the selection signal to oscillate the digitally controlled oscillator and performing a phase comparison between an oscillator clock generated by the digitally controlled oscillator and a reference clock; and (ii) negating the selection signal to stop the digitally controlled oscillator and updating the control code by a binary search based on a result of the phase comparison.

2. 2. The PLL circuit according to claim 1, wherein in the first mode, the controller switches between assertion and negation of the selection signal for each period of the reference clock.

3. 3. The PLL circuit according to claim 1, wherein the controller, in response to an instruction to stop the PLL circuit, holds the control code at that time, and, upon receiving a next instruction to start the PLL circuit, immediately starts feedback control of the control code with the held control code as an initial value.

4. The PLL circuit according to any one of claims 1 to 3, characterized in that (B) the controller enters a second mode after completion of the binary search, continuously operates the digitally controlled oscillator, changes the control code so that the phase of the oscillator clock approaches the phase of the reference clock, and periodically negates the selection signal.

5. the controller includes a window generator that receives an internal clock of the digitally controlled oscillator and extracts one pulse to generate a window signal; 5. The PLL circuit according to claim 4, wherein in the second mode, the selection signal is responsive to the window signal.

6. A method for controlling a PLL (Phase Locked Loop) circuit, comprising: the PLL circuit includes a digitally controlled oscillator configured to form a ring oscillator and oscillate at a frequency corresponding to a control code while a selection signal is asserted, and to be capable of injecting an injection edge based on a reference clock while the selection signal is negated; The control method includes: a startup step of repeating a cycle including, at a first startup of the PLL circuit, (i) a first process of asserting the selection signal to oscillate the digitally controlled oscillator and comparing the phase of an oscillator clock generated by the digitally controlled oscillator with a reference clock, and (ii) a second process of negating the selection signal to stop the digitally controlled oscillator and updating the control code by a binary search based on a result of the phase comparison; After the binary search is completed, the digitally controlled oscillator is operated continuously, and the control code is changed so that the phase of the oscillator clock and the phase of the reference clock become closer to each other. A control method comprising:

7. 7. The control method according to claim 6, wherein in the starting step, assertion and negation of the selection signal are switched for each period of the reference clock.

8. Responding to an instruction to stop the PLL circuit, storing the control code at that time; a step of causing the digitally controlled oscillator to start oscillating at a frequency corresponding to the held control code when a next instruction to start the PLL circuit is received; The control method according to claim 6 or 7, further comprising:

Citation Information

Patent Citations

  • Voltage-controlled oscillation device and control method thereof

    JP2008005141A

  • Adpll circuit, semiconductor device, and portable information device

    JP2011130047A

  • Semiconductor device

    JP2012227779A

  • Clock and data recovery device, serial data reception device and serial data communication device

    JP2014154973A

  • PLL circuit and electronic circuit

    JP2017143398A