Delayed phase-locked loop circuit system and chip system

By generating a variable sleep signal through a DLL sleep cycle adjustment circuit, the sleep cycle of the DLL circuit is dynamically adjusted, which solves the problems of power consumption waste and jitter in the DLL circuit when external parameters change, and realizes efficient power consumption management and clock alignment of the DLL circuit.

CN116418338BActive Publication Date: 2026-11-17GIGADEVICE SEMICON (BEIJING) INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111683675.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-29
Publication Date
2026-11-17
Estimated Expiration
2041-12-29

AI Technical Summary

Technical Problem

Existing DLL circuits have a fixed sleep cycle, which leads to power wastage and jitter when external parameters change, and cannot effectively adjust the sleep cycle to adapt to changes in external parameters.

Method used

A DLL sleep cycle adjustment circuit is introduced to dynamically adjust the sleep cycle of the DLL circuit by generating a variable sleep signal. The pulse width of the variable sleep signal is adjusted according to the change in the fine-tuning delay to control the sleep and wake-up of the DLL circuit.

Benefits of technology

It effectively reduces unnecessary power consumption waste in DLL circuits, reduces jitter caused by sleep mode, ensures internal clock alignment with external clock, and adapts to changes in external parameters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116418338B_ABST
    Figure CN116418338B_ABST
Patent Text Reader

Abstract

This invention provides a delay phase-locked loop (LLL) circuit system and chip system, which adds a DLL sleep cycle adjustment circuit. This DLL sleep cycle adjustment circuit can generate a corresponding variable sleep signal based on the changes in a plurality of fine-tuning delay values. The pulse width of the variable sleep signal determines the length of the sleep cycle of the DLL circuit. Thus, the sleep cycle of the DLL circuit can be adaptively adjusted by adjusting the pulse width of the variable sleep signal to avoid power waste caused by unnecessary operation of the DLL circuit and reduce jitter introduced by unnecessary sleep of the DLL circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of delay phase-locked loop (PLL) technology, and particularly to a delay PLL circuit system and chip system. Background Technology

[0002] Typically, clock signals are used as reference signals to determine the timing of operations between internal and external circuits in systems (or chips) such as DDR (Double Data Rate) memory. However, when an external system clock signal is applied to the internal circuitry, it can cause clock skew (including delays or clock deviations) due to the signal paths within the internal circuitry. Therefore, DLL (Delay-Locked Loop) circuits are commonly used to align the clocks of the internal and external circuits. Furthermore, to save power, DLL circuits operate for a period of time and then sleep for a fixed period to reduce power consumption.

[0003] However, existing DLL circuits have a fixed sleep cycle, which leads to unnecessary power consumption during DLL circuit operation and jitter introduced by the DLL circuit during sleep. Summary of the Invention

[0004] The purpose of this invention is to provide a delay phase-locked loop (DLL) circuit system and chip system that can adaptively adjust the sleep cycle of the DLL circuit according to changes in external parameters, so as to avoid power waste caused by unnecessary operation of the DLL circuit and reduce jitter caused by unnecessary sleep of the DLL circuit.

[0005] To achieve the above objectives, the present invention provides a delay phase-locked loop circuit system, comprising:

[0006] A DLL circuit is used to receive an external clock and generate an internal clock that is delayed relative to the external clock, such that the internal clock is aligned with the edge of the external clock, wherein the external clock is output as the internal clock after being delayed by the DLL circuit by a plurality of fine-tuning delays;

[0007] A DLL sleep cycle adjustment circuit, coupled to the DLL circuit, is used to generate a corresponding variable sleep signal based on the changes in the plurality of fine-tuning delays, wherein the DLL sleep cycle adjustment circuit adjusts the sleep cycle of the DLL circuit by adjusting the pulse width of the variable sleep signal.

[0008] Optionally, when the DLL circuit enters the sleep cycle, the DLL sleep cycle adjustment circuit asserts the variable sleep signal; after the sleep cycle, the DLL sleep cycle adjustment circuit deasserts the variable sleep signal to wake up the DLL circuit.

[0009] Optionally, after the DLL circuit completes the alignment of the internal clock with the external clock edge, the DLL sleep cycle adjustment circuit asserts the variable sleep signal, and the DLL circuit enters the sleep cycle.

[0010] Optionally, the DLL circuit includes a delay-locked loop module, a feedback module, a phase detector, and a controller; the external clock is delayed by the delay-locked loop module by the plurality of fine-tuning delays and output as the internal clock; the internal clock is fed back by the feedback module and output as a feedback clock; the phase detector receives and compares the phase difference between the external clock and the feedback clock; and the controller adjusts the number of fine-tuning delays delayed by the delay-locked loop module according to the comparison result of the phase detector.

[0011] Optionally, when the phase difference is less than a phase difference threshold, the DLL circuit pulls up an alignment flag signal to the DLL sleep cycle adjustment circuit; or, when the number of times the edge of the internal clock crosses the edge of the external clock reaches a threshold, the DLL circuit pulls up the alignment flag signal to the DLL sleep cycle adjustment circuit. When the alignment flag signal is received, the DLL sleep cycle adjustment circuit asserts the variable sleep signal to the feedback module, the phase detector, and the controller, so that the DLL circuit enters the sleep cycle.

[0012] Optionally, the controller or the delay-locked loop module sends the number of fine-tuning delays to the DLL sleep cycle adjustment circuit. The DLL sleep cycle adjustment circuit adjusts the pulse width of the variable sleep signal according to the change in the number of fine-tuning delays, and the size of the pulse width determines the length of the sleep cycle. The DLL sleep cycle adjustment circuit asserts the variable sleep signal so that the feedback module, the phase detector, and the controller wake up from the sleep cycle.

[0013] Optionally, the DLL sleep cycle adjustment circuit adjusts the pulse width of the variable sleep signal based on the change in the number of fine-tuning delays relative to the previous number of fine-tuning delays.

[0014] Optionally, the DLL sleep cycle adjustment circuit includes:

[0015] An updater is used to generate an enable signal based on an alignment flag signal and to generate a pulse width adjustment signal based on the change in the number of fine-tuning delay amounts.

[0016] A pulse generator with controllable pulse width, coupled to the updater, is used to start upon the enable signal and output the variable sleep signal having the pulse width according to the pulse width adjustment signal;

[0017] Specifically, when the change in the number of fine-tuning delays increases, the pulse width of the variable sleep signal decreases; when the change in the number of fine-tuning delays decreases, the pulse width of the variable sleep signal increases.

[0018] Optionally, the change in the number of fine-tuning delays output by the updater is a digital signal, and the controllable-width pulse generator includes a digital-to-analog converter, a voltage-controlled oscillator, and a counter coupled in sequence; wherein, the digital-to-analog converter is coupled to the updater and used to convert the digital signal into an analog voltage signal, the voltage-controlled oscillator is used to adjust the operating clock of the counter according to the analog voltage signal, the counter asserts the variable sleep signal and starts counting when the enable signal is pulled up, and the counter stops counting and asserts the variable sleep signal when a predetermined count value is reached.

[0019] Optionally, the DLL sleep cycle adjustment circuit includes:

[0020] An updater is used to generate an enable signal and a frequency division coefficient adjustment signal based on the change in the number of the fine-tuning delays.

[0021] A frequency divider with a controllable division coefficient, coupled to the updater, is used to start under the enable signal and adjust the output signal of the variable sleep signal with a corresponding frequency according to the division coefficient.

[0022] Specifically, when the change in the number of fine-tuning delays increases, the frequency of the variable sleep signal output by the frequency divider increases; when the change in the number of fine-tuning delays decreases, the frequency of the variable sleep signal output by the frequency divider decreases.

[0023] Optionally, the DLL circuit further includes a signal receiver, a clock tree, and an impedance matching module; the signal receiver is coupled to the delay-locked loop module and the phase detector, and is used to receive the external clock and provide the external clock to the delay-locked loop module and the phase detector; the clock tree is coupled to the delay-locked loop module and the impedance matching module, and the impedance matching module outputs the internal clock.

[0024] Optionally, the feedback module is a copy of the signal receiver, the clock tree, and the impedance matching module.

[0025] Based on the same inventive concept, the present invention also includes a chip system comprising the delay phase-locked loop circuit system described in the present invention.

[0026] Optionally, the chip system is a DDR memory system, the internal clock is a data selection pulse signal of the DDR memory system, and the DLL circuit synchronizes the external clock of the DDR memory system with the data selection pulse signal.

[0027] Optionally, when a read command is received according to the external clock, the DDR memory system selects a pulse signal based on the data generated by the DLL circuit to send the read data.

[0028] Compared with the prior art, the technical solution of the present invention has at least one of the following beneficial effects:

[0029] 1. A DLL sleep cycle adjustment circuit is added. This DLL sleep cycle adjustment circuit can generate a corresponding variable sleep signal according to the change in the fine delay. The variable sleep signal determines the length of the sleep cycle of the DLL circuit. The DLL sleep cycle adjustment circuit of the present invention adjusts the sleep cycle of the DLL circuit by adjusting the pulse width of the variable sleep signal. Thus, it can avoid the power consumption waste caused by unnecessary operation of the DLL circuit and reduce the jitter introduced by unnecessary sleep of the DLL circuit.

[0030] 2. When changes in external parameters such as temperature and voltage are directly reflected in the change in the fine-tuning delay, a larger change in external signals such as voltage and temperature will result in a larger number of fine-tuning delays, and vice versa. Moreover, the DLL sleep cycle adjustment circuit can generate a corresponding variable sleep signal by adjusting the number of fine-tuning delays to adjust the sleep and wake-up of the DLL circuit. This achieves the following technical effects: When the changes in external parameters are large, the sleep cycle of the DLL circuit is reduced, making the DLL circuit work more frequently, reducing jitter introduced by the DLL circuit sleep, and ensuring the alignment of the internal clock and the external clock. When the external parameters are stable or change little, the sleep cycle of the DLL circuit is increased, reducing unnecessary work of the DLL circuit and reducing power consumption. Attached Figure Description

[0031] Figure 1 This is a timing diagram of a DDR memory system.

[0032] Figure 2 This is a schematic diagram of the architecture of a DLL circuit in a known DDR memory system.

[0033] Figure 3 This is a schematic diagram of the architecture of a delay phase-locked loop circuit system according to an embodiment of the present invention.

[0034] Figure 4 This is a schematic diagram of the architecture of a DLL sleep cycle adjustment circuit according to an embodiment of the present invention.

[0035] Figure 5 This is a schematic diagram of the architecture of a pulse generator with controllable pulse width according to an embodiment of the present invention.

[0036] Figure 6 This is a schematic diagram of the architecture of a DLL sleep cycle adjustment circuit according to another embodiment of the present invention.

[0037] Figure 7 This is a schematic diagram of the architecture of a delay phase-locked loop circuit system according to another embodiment of the present invention. Detailed Implementation

[0038] In the following description, numerous specific details are set forth in order to provide a more thorough understanding of the invention. However, it will be apparent to those skilled in the art that the invention may be practiced without one or more of these details. In other instances, certain technical features well-known in the art have not been described in order to avoid confusion with the invention. It should be understood that the invention can be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, providing these embodiments will make the disclosure thorough and complete, and will fully convey the scope of the invention to those skilled in the art. The same reference numerals denote the same elements throughout. It should be understood that when an element is referred to as "connected to" or "coupled to" other elements, it may be directly connected to other elements, or there may be intervening elements. Conversely, when an element is referred to as "directly connected to" other elements, there are no intervening elements. As used herein, the singular forms "a," "an," and "the" are also intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the term "comprising" is used to identify the presence of features, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, steps, operations, elements, components, and / or groups. When used herein, the term "and / or" includes any and all combinations of the associated listed items. In this context, the terms "assert" and "de-assert" have opposite meanings. "Assertion," abbreviated as "assert," not only refers to pulling a signal high or low, but more importantly, it means making a signal active (i.e., driving a signal to its active voltage level). Depending on system requirements, this active level can be either high (active high) or low (active low) to enable the signal. Similarly, "de-assert," also not only refers to pulling a signal high or low, but more importantly, it means making a signal inactive (i.e., driving a signal to its inactive voltage level). Depending on system requirements, this inactive level can be either high (inactive high) or low (inactive low) to disable the signal.

[0039] Taking DDR SDRAM and other DDR memory systems as an example, DDR memory systems have very high requirements for clock accuracy. DDR memory systems have two clocks: one is the external bus clock (denoted as the external clock CLK), and the other is the internal operating clock (denoted as the internal clock DQS). Please refer to [reference needed]. Figure 1The DDR memory system receives commands (e.g., read commands) from the external clock CLK. Its internal clock DQS (DQ strobe, data select pulse) is generated by the DDR system upon receiving the read command CLK and serves as the clock for sending the data DQ signal. In other words, the external clock CLK is used by the DDR system to receive the read command CLK, and the internal clock DQS is used to acquire the data DQ. Theoretically, these two clocks should be synchronized. However, due to various reasons, such as incomplete matching between the internal and external circuits of the DDR system, the internal clock DQS (i.e., the data select pulse signal) is misaligned with the external clock CLK (i.e., out of sync). When data is read directly based on the misaligned internal clock DQS and external clock CLK, along with the read command CLK, the eye diagram of the data sent out by the DDR system will be shrunk. Therefore, a DLL circuit is needed to align the internal clock DQS with the external clock CLK, thereby aligning the read command CLK and the data DQ to avoid the eye diagram shrunk problem. After aligning DQS and CLK, the transmission of data DQ occurs on the rising and falling edges of CLK.

[0040] Please refer to Figure 2 , Figure 2 This is a framework diagram of a DLL circuit, which consists of a signal receiver (RCV) 10, a delay phase-locked loop module 11, a clock tree 12, an impedance matching module 13, a phase detector (PD) 14, a controller 15, and a feedback module 16. The feedback module 16 is a replica of the circuitry of the signal receiver 10, the clock tree 12, and the impedance matching module 13.

[0041] During a read operation, the signal receiver 10 receives the external clock CLK and the instruction cmd (i.e., the read instruction Readcmd). The external clock CLK output by the signal receiver 10 is delayed by the delay phase-locked module 11 and then output. The internal clock output by the delay phase-locked module 11 is fed back by the feedback module 16. Both the external clock CLK output by the signal receiver 10 and the feedback clock output by the feedback module 16 are input to the phase detector 14. The phase detector 14 samples and compares the input external clock CLK and the feedback clock, and outputs the comparison result to the controller 15. The controller 15 adjusts the delay of the delay phase-locked module 11 according to the comparison result to align the edges of the external clock CLK and the feedback clock output by the feedback module 16. At this time, the internal clock output by the delay phase-locked module 11 has a specific required delay relative to the external clock CLK. After that, the delay of the delay phase-locked module 11 is locked, and the internal clock DQS output by the impedance matching module 13 is aligned with the edges of the external clock CLK.

[0042] As the operating frequency of the DDR memory system increases, the power consumption introduced by the DLL circuit becomes excessive. In order to reduce the power consumption of the DLL circuit after aligning the external clock CLK and the internal clock DQS, the phase detector 14, controller 15 and feedback module 16 will sleep for a fixed period of time.

[0043] However, the above-mentioned DLL circuit has the following disadvantages: (1) When the external temperature, voltage and other parameters change significantly, the output of the internal circuit of the DDR memory system will be greatly affected. The frequency of its internal clock DQS and the delay time of the delay phase-locked module 11 will become unstable. However, since the current DLL circuit sleep cycle is fixed, when the external parameters change significantly, the phase detector 14, controller 15 and feedback module 16 are in sleep mode during the DLL circuit sleep time. They cannot control the delay phase-locked module 11 to adjust its delay time in time. This leads to the misalignment of the current internal clock DQS and the external clock CLK, which in turn causes jitter in the sent data and ultimately leads to the shrinkage of the eye diagram. (2) When the external temperature, voltage and other parameters are relatively stable, the frequency of the internal clock DQS and the delay time of the delay phase-locked module 11 are relatively stable. Therefore, the phase detector 14, controller 15 and feedback module 16 in the DLL circuit do not need to operate frequently. However, since the current DLL circuit sleep cycle is fixed, it will lead to unnecessary power consumption.

[0044] Based on this, the present invention provides a delay phase-locked loop (DLL) circuit system and chip system. By adding a DLL sleep cycle adjustment circuit to the DLL circuit, the DLL sleep cycle adjustment circuit can generate a corresponding variable sleep signal according to the changes in a plurality of fine delays of the DLL circuit. The pulse width of the variable sleep signal determines the length of the sleep cycle of the DLL circuit. Thus, the de-assert of the variable sleep signal can be used to wake up the DLL circuit that has entered the sleep cycle, and the assertion of the variable sleep signal can be used to make the DLL circuit enter the corresponding sleep cycle. When changes in external parameters such as temperature and voltage are directly reflected in the change in the number of fine-tuning delays, larger changes in external signals such as voltage and temperature will result in a larger change in the number of fine-tuning delays, and vice versa. Furthermore, the DLL sleep cycle adjustment circuit can generate a corresponding variable sleep signal based on the change in the fine-tuning delay (and the pulse width of the newly generated variable sleep signal will change relative to the previous variable sleep signal) to adjust the sleep and wake-up of the DLL circuit. This achieves the following technical effects: when external parameters change significantly, the sleep cycle of the DLL circuit is reduced, allowing the DLL circuit to operate more frequently, reducing jitter introduced by the DLL circuit's sleep, and ensuring alignment between the internal and external clocks. Conversely, when external parameters are stable or change only slightly, the sleep cycle of the DLL circuit is increased, reducing unnecessary operation of the DLL circuit and thus reducing power consumption.

[0045] The technical solution proposed by the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. The advantages and features of the present invention will become clearer from the following description. It should be noted that the drawings are all in a very simplified form and use non-precise proportions, and are only used to facilitate and clarify the illustration of the embodiments of the present invention.

[0046] Please refer to Figure 3An embodiment of the present invention provides a delay phase-locked loop (PLL) circuit system, comprising a DLL sleep cycle adjustment circuit 21 and a coupled DLL circuit 22. The DLL circuit 22 receives an external clock CLK and generates an internal clock DQS delayed relative to the external clock CLK, aligning the internal clock DQS with the edges of the external clock CLK. The external clock CLK is delayed by a plurality of fine delays (which can be any suitable value greater than 1) by the DLL circuit 22 and output as the internal clock DQS. The DLL sleep cycle adjustment circuit 21 generates a corresponding variable sleep signal (not labeled) based on the changes in the plurality of fine delays used by the DLL circuit 22. The DLL sleep cycle adjustment circuit 21 can wake up the DLL circuit 22 from its sleep cycle by de-asserting the variable sleep signal. After the DLL circuit 22 completes the edge alignment of the internal clock DQS with the external clock CLK, the DLL sleep cycle adjustment circuit 21 asserts the variable sleep signal to cause the DLL circuit 22 to enter its sleep cycle. Therefore, the sleep cycle of DLL circuit 22 is determined by the pulse width of the variable sleep signal generated by DLL sleep cycle adjustment circuit 21.

[0047] Please refer to Figure 3 The DLL circuit 22 in this embodiment specifically includes a delay-locked loop module 11, a clock tree 12, a phase detector 14, a controller 15, and a feedback module 16. The external clock CLK is delayed by a plurality of fine-tuning delays by the delay-locked loop module 11 and output as an internal clock DQS'. The internal clock DQS' is output as an internal clock DQS after passing through the clock tree 12, and is also fed back as a feedback clock DQS'_f by the feedback module 16. The phase detector 14 receives and compares the phase difference between the external clock CLK and the feedback clock DQS'_f. The controller 15 adjusts the number of fine-tuning delays by the delay-locked loop module 11 based on the comparison result of the phase detector 14. The delay-locked loop module 11, the phase detector 14, the controller 15, and the feedback module 16 form a closed-loop control until the edges of the external clock CLK and the internal clock DQS are aligned, at which point the number of fine-tuning delays is locked.

[0048] In this embodiment, the output terminal of the DLL sleep cycle adjustment circuit 21 is connected to the feedback module 16, the phase detector 14 and the controller 15 to output the variable sleep signal. It can assert the variable sleep signal to make the feedback module 16, the phase detector 14 and the controller 15 enter the sleep cycle, and de-assert the variable sleep signal to wake up the feedback module 16, the phase detector 14 and the controller 15 from the sleep cycle.

[0049] As an example, the DLL circuit 22 can use the phase detector 14 to determine whether the edges of the external clock CLK and the internal clock DQS are aligned. Specifically, the phase detector 14 determines whether the phase difference between the external clock CLK and the feedback clock DQS'_f is less than a preset phase difference threshold. When the phase detector 14 determines that the phase difference between the external clock CLK and the feedback clock DQS'_f is less than the preset phase difference threshold, it considers that the edges of the external clock CLK and the internal clock DQS are aligned. At this time, the phase detector 14 or the controller 15 pulls up the alignment flag signal to the DLL sleep cycle adjustment circuit 21. After the DLL sleep cycle adjustment circuit 21 receives the alignment flag signal, it asserts the variable sleep signal (in one embodiment, pulls up the variable sleep signal) to the feedback module 16, the phase detector 14, and the controller 15 to make the DLL circuit 22 enter a sleep cycle (also called sleep time).

[0050] As another example, the DLL circuit 22 can use the controller 15 to determine whether the edges of the external clock CLK and the internal clock DQS are aligned. Specifically, the controller 15 determines whether the number of times the edge of the internal clock DQS'_f or DQS crosses the edge of the external clock CLK reaches a threshold (e.g., 3 times). When the controller 15 determines that the number of times the edge of the internal clock DQS'_f or DQS crosses the edge of the external clock CLK reaches the threshold, it considers that the edges of the external clock CLK and the internal clock DQS are aligned. At this time, the controller 15 pulls up the alignment flag signal to the DLL sleep cycle adjustment circuit 21. After the DLL sleep cycle adjustment circuit 21 receives the alignment flag signal, it asserts the variable sleep signal (e.g., pulls up the variable sleep signal) to the feedback module 16, the phase detector 14, and the controller 15, so that the DLL circuit 22 enters a sleep cycle (also called sleep time).

[0051] The variable sleep signal output by the DLL sleep cycle adjustment circuit 21 can be considered as a corresponding pulse signal. The duration for which the variable sleep signal is continuously asserted (e.g., the duration for which the variable sleep signal remains at a high level) is the pulse width of the variable sleep signal. The length of the sleep cycle of the DLL circuit 22 is actually determined by the magnitude of the pulse width of the variable sleep signal. Furthermore, in this case, the controller 15 or delay-locked loop module 11 of the DLL circuit 22 sends the number of fine-tuning delays required to align the edges of the external clock CLK and the internal clock DQS to the DLL sleep cycle adjustment circuit 21. The DLL sleep cycle adjustment circuit 21 adjusts the pulse width of the variable sleep signal according to the change in the number of these fine-tuning delays. The smaller the pulse width, the shorter the sleep cycle of the DLL circuit 22; conversely, the larger the pulse width, the longer the sleep cycle of the DLL circuit 22. Further optionally, the DLL sleep cycle adjustment circuit 21 adjusts the pulse width of the variable sleep signal according to the change in the number of currently received fine-tuning delays relative to the number of previously received fine-tuning delays.

[0052] The following describes how the controller 15 and phase detector 14 of the DLL circuit 22 in one embodiment align the edges of the external clock CLK and the internal clock DQS: Initially, the controller 15 increases the number of fine-tuning delays in the delay phase-locked module 11, allowing the internal clock DQS to align with the next edge of the external clock CLK (e.g., increasing by 2 fine-tuning delays each time). If the internal clock DQS crosses the next edge of the external clock CLK, the number of fine-tuning delays is reduced (e.g., decreasing by 1 fine-tuning delay each time), allowing the internal clock DQS to catch up with the edge of the external clock CLK. If the internal clock DQS crosses the edge of CLK again, the adjustment is changed from coarse to fine. The above steps are repeated until the condition for the alignment of the edges of the external clock CLK and the internal clock DQS is met. At this time, the controller 15 stores the final number of fine-tuning delays in the delay phase-locked module 11 (e.g., ultimately 9), raises the alignment flag signal Flag, and sends the current number of fine-tuning delays in the delay phase-locked module 11 to the DLL sleep cycle adjustment circuit 21. When changes in external parameters such as temperature and voltage cause the edges of the external clock CLK and the internal clock DQS to become misaligned, the DLL circuit 22 will adjust the number of fine-tuning delays stored in the previous clock (e.g., 9) to realign the edges of the two clocks. The greater the change in external parameters such as voltage and temperature, the greater the change in the number of fine-tuning delays in the two DLL circuits 22 will be, and vice versa. Therefore, the DLL sleep cycle adjustment circuit 21 dynamically adjusts the pulse width of the variable sleep signal based on the change in the current number of fine-tuning delays (e.g., 12) relative to the previous number of fine-tuning delays (e.g., 9) (e.g., 12-9=3), thereby adjusting the duration of the sleep cycle for the DLL circuit 22. It is worth noting that since the controller 15 also stores the number of previous fine-tuning delays as the starting point for this adjustment, in another embodiment, the controller 15 can also directly output the change in the number of fine-tuning delays (e.g., 3) to the DLL sleep cycle adjustment circuit 21.

[0053] Furthermore, it should be understood that the time length (i.e., pulse width) between the assertion and deassertion of the variable sleep signal generated by the DLL sleep cycle adjustment circuit 21 can be determined in any suitable manner, and the technical solution of the present invention does not specifically limit this. It is worth noting that if the assertion of the variable sleep signal means being set to a high level, then the pulse width of the variable sleep signal is the duration of the variable sleep signal remaining at a high level; if the assertion of the variable sleep signal means being set to a low level, then the pulse width of the variable sleep signal is the duration of the variable sleep signal remaining at a low level.

[0054] In this embodiment, the timing of the DLL circuit 22 entering the sleep cycle is determined by the timing of the DLL circuit 22 raising the alignment flag signal Flag. The DLL sleep cycle adjustment circuit 21 asserts the variable sleep signal only after receiving the alignment flag signal Flag. One approach is that the DLL sleep cycle adjustment circuit 21 immediately asserts the variable sleep signal once the alignment flag signal Flag is received. Another approach is that the DLL sleep cycle adjustment circuit 21 waits for a fixed time after receiving the alignment flag signal Flag before asserting the variable sleep signal. Both approaches require determining whether the DLL circuit 22 has aligned the edges of the external clock CLK and the internal clock DQS, and the result of this determination serves as the basis for whether to assert the variable sleep signal.

[0055] Alternatively, in another embodiment, the timing of the DLL circuit 22 entering the sleep cycle, i.e., the timing of the DLL sleep cycle adjustment circuit 21 asserting the variable sleep signal, does not depend on the alignment flag signal. After the DLL circuit 22 operates for a period of time (sufficient to ensure that the DLL circuit 22 completes the edge alignment of the external clock CLK and the internal clock DQS), the DLL sleep cycle adjustment circuit 21 asserts the variable sleep signal to cause the DLL circuit 22 to enter the sleep cycle. After a period of time (i.e., the sleep cycle), the DLL sleep cycle adjustment circuit 21 de-asserts the variable sleep signal to wake the DLL circuit 22 from the sleep cycle and enable it to operate.

[0056] Alternatively, in another embodiment, the DLL circuit 22 may not even be controlled by the variable sleep signal when entering a sleep cycle. After the alignment flag signal Flag is raised, the DLL circuit 22 automatically shuts down the feedback module 16, the phase detector 14, and the controller 15 to enter a sleep state and notifies the DLL sleep cycle adjustment circuit 21. The DLL sleep cycle adjustment circuit 21 then asserts the variable sleep signal. After a sleep cycle (adjustable), it de-asserts the variable sleep signal to the DLL circuit 22, causing it to restart the feedback module 16, the phase detector 14, and the controller 15 to enter the working state.

[0057] In summary, in this embodiment, the DLL sleep cycle adjustment circuit 21 can directly assert the variable sleep signal to cause the DLL circuit 22 to enter a sleep cycle, or the DLL circuit 22 can be notified to assert the variable sleep signal after it is automatically shut down (e.g., by shutting down the feedback module 16, phase detector 14, and controller 15) or shut down via other signals. That is, the "DLL circuit 22 entering a sleep cycle" and the "DLL sleep cycle adjustment circuit 21 asserting the variable sleep signal" occur simultaneously. After a sleep cycle (adjustable), the DLL sleep cycle adjustment circuit 21 asserts the variable sleep signal to wake up the DLL circuit 22. Preferably, after the DLL circuit 22 completes edge alignment of its internal clock DQS with the external clock CLK, the DLL sleep cycle adjustment circuit 21 asserts the variable sleep signal (while the DLL circuit 22 enters a sleep cycle).

[0058] Furthermore, the circuit architecture and specific circuit design of the DLL sleep cycle adjustment circuit 21 can be any suitable one, as long as it can realize the function of the DLL sleep cycle adjustment circuit 21 of the present invention.

[0059] Please refer to Figure 4 The DLL sleep cycle adjustment circuit 21 of this embodiment may include an updater 211 and a pulse generator 212 with controllable pulse width. The updater 211 generates an enable signal based on the alignment flag signal Flag pulled up by the DLL circuit 22, and generates a corresponding pulse width adjustment signal based on the change in the number of fine-tuning delays received from the DLL circuit 22 in two consecutive iterations. The pulse generator 212 with controllable pulse width is coupled to the updater 211 and is activated by the enable signal of the updater 211. It outputs a variable sleep signal with a corresponding pulse width based on the pulse width adjustment signal of the updater 211. Specifically, when the change in the number of fine-tuning delays increases, the pulse width of the variable sleep signal output by the pulse generator 212 decreases; conversely, when the change in the number of fine-tuning delays decreases, the pulse width of the variable sleep signal output by the pulse generator 212 increases.

[0060] It should be noted that in this embodiment, changes in external parameters such as temperature and voltage are directly reflected in the number of fine-tuning delays received by the updater 211. When external signals such as voltage and temperature change significantly, the updater 211 receives a larger number of fine-tuning delays, and vice versa. Therefore, the updater 211 generates a corresponding pulse width adjustment signal based on the change in the number of fine-tuning delays to adjust the pulse width of the variable sleep signal output by the pulse generator 212. Thus, when external parameters change significantly, the DLL sleep cycle adjustment circuit can reduce the sleep cycle of the DLL circuit 22, making the DLL circuit 22 work more frequently, reducing jitter introduced by the sleep of the DLL circuit 22, and ensuring alignment between the internal clock DQS and the external clock CLK. When external parameters are stable or change little, the DLL sleep cycle adjustment circuit increases the sleep cycle of the DLL circuit 22, reducing unnecessary work of the DLL circuit 22 and reducing power consumption.

[0061] Please combine Figure 4 and Figure 5 In this embodiment, the change in the number of fine-tuning delays output by updater 211 (in another embodiment, this change can also come directly from DLL circuit 22) can be a digital signal (e.g., 3). The controllable width pulse generator 212 can include a digital-to-analog converter (DAC), a voltage-controlled oscillator (VCO), and a counter that are coupled in sequence. The digital-to-analog converter (DAC) is coupled to the updater 211 and is used to convert the digital signal (i.e., the change in the number of fine-tuning delays) into an analog voltage signal. The voltage-controlled oscillator (VCO) is used to output a frequency signal corresponding to the analog voltage based on the analog voltage signal. This frequency signal can be used as the working clock of the counter. When the enable signal of the updater 211 is pulled up, the counter asserts the variable sleep signal (in this embodiment, the updater 211 can pull up the enable signal when it receives the alignment flag signal, or it can pull up the enable signal after receiving the alignment flag signal for a period of time, or it can be when it determines that the enable signal of the feedback module 16, the phase detector 14 and the controller 15 has been de-enabled) and starts counting. When the counter reaches a predetermined count value, it stops counting and de-asserts the variable sleep signal. In this example, the greater the change in the number of fine-tuning delays, the faster the counter clock operates, and the shorter the time to reach the same predetermined count value. Therefore, the smaller the pulse width of the variable sleep signal, the shorter the sleep cycle of the DLL circuit 22.

[0062] In another embodiment of the present invention, please refer to Figure 6The DLL sleep cycle adjustment circuit 21 may include an updater 211 and a frequency divider 213 with a controllable division coefficient. The updater 211 generates an enable signal and a corresponding frequency division coefficient adjustment signal based on the change in the number of fine-tuning delays received from the DLL circuit 22 in two consecutive intervals. The frequency divider 213 is coupled to the updater 211 and is activated by the enable signal of the updater 211, outputting a variable sleep signal with a corresponding frequency based on the frequency division coefficient adjustment signal of the updater 211. Specifically, when the change in the number of fine-tuning delays increases, the frequency of the variable sleep signal output by the frequency divider 213 increases; when the change in the number of fine-tuning delays decreases, the frequency of the variable sleep signal output by the frequency divider 213 decreases.

[0063] It should be understood that the circuit architecture of the delay-locked loop circuit system of the present invention is not limited to the parts listed in the various embodiments, and may also include some circuit modules necessary for the chip system to implement the required functions. For example, in another embodiment of the delay-locked loop circuit system of the present invention, please refer to... Figure 7 The DLL circuit 22 further includes a signal receiver 10 and an impedance matching module 13. The signal receiver 10 is coupled to a delay-locked loop (PLL) module 11 and a phase detector 14, and is used to receive an external clock CLK and external commands (e.g., a read command, Read cmd), and to provide the external clock CLK to the PLL module 11 and the phase detector 14. The clock tree 12 is coupled to the PLL module 11 and the impedance matching module 13, and the impedance matching module 13 outputs an internal clock DQS that is finally aligned with the external clock CLK. Optionally, the feedback module 16 in this embodiment is a copy of the signal receiver 10, the clock tree 12, and the impedance matching module 13. It can not only feed back the clock output by the PLL module 11 to the phase detector 14, but also reproduce the delay caused by the external clock CLK passing through the signal receiver 10, the clock tree 12, and the impedance matching module 13 to generate a feedback clock DQS'_f, which is then compared by the phase detector 14 with the external clock CLK to perform an alignment operation, so as to ensure that the feedback clock DQS'_f is in phase with the internal clock DQS.

[0064] Based on the same inventive concept, one embodiment of the present invention also provides a chip system, which includes the delay phase-locked loop circuit system described in the present invention.

[0065] The chip system can be a DDR memory system. The internal clock DQS output by the delay phase-locked loop circuit system is the data selection pulse signal of the DDR memory system. The DLL circuit in the delay phase-locked loop circuit system synchronizes the external clock CLK of the DDR memory system with the data selection pulse signal. When the DDR memory system receives a read command according to the external clock CLK, the DDR memory system reads the corresponding data according to the data selection pulse signal generated by its DLL circuit and sends the read data out. On the one hand, because the DDR memory system aligns the edges of its internal clock DQS with the external clock CLK through its delay-locked loop (PLL) circuitry, it avoids the problem of eye diagram shrinkage during data transmission. On the other hand, because the sleep cycle of the DLL circuit in the DDR memory system can adaptively change according to variations in external parameters such as temperature and voltage, when the external parameters change significantly, reducing the sleep cycle of the DLL circuit allows it to operate more frequently, reducing jitter caused by DLL circuit sleep, ensuring alignment between the internal and external clocks, and thus ensuring a normal eye diagram for data transmission in the DDR memory system. Conversely, when the external parameters are stable or change only slightly, increasing the sleep cycle of the DLL circuit reduces unnecessary operation of the DLL circuit, thereby reducing the power consumption of the DDR memory system.

[0066] In summary, the delay-locked loop (LLL) circuit system and chip system of the present invention incorporate a DLL sleep cycle adjustment circuit. This circuit generates a corresponding variable sleep signal based on the changes in a plurality of fine delay values. The pulse width of this variable sleep signal determines the length of the DLL circuit's sleep cycle. When the variable sleep signal is asserted, the DLL circuit enters the sleep cycle; when the variable sleep signal is de-asserted, the DLL circuit in the sleep cycle is awakened. This allows for adaptive adjustment of the DLL circuit's sleep cycle based on changes in external parameters, avoiding unnecessary power consumption caused by the DLL circuit's unnecessary operation and reducing jitter introduced by unnecessary sleep cycles in the DLL circuit.

[0067] The above description is merely a description of preferred embodiments of the present invention and is not intended to limit the scope of the present invention in any way. Any changes or modifications made by those skilled in the art based on the above disclosure shall fall within the scope of the present invention.

Claims

1. A delay phase-locked loop circuit system, characterized in that, include: A DLL circuit is used to receive an external clock and generate an internal clock that is delayed relative to the external clock, such that the internal clock is aligned with the edge of the external clock, wherein the external clock is output as the internal clock after being delayed by the DLL circuit by a plurality of fine-tuning delays; A DLL sleep cycle adjustment circuit, coupled to the DLL circuit, is used to generate a corresponding variable sleep signal based on the changes in the plurality of fine-tuning delays. The DLL sleep cycle adjustment circuit adjusts the pulse width of the variable sleep signal based on the change in the number of fine-tuning delays in the current iteration relative to the number of fine-tuning delays in the previous iteration, thereby adjusting the sleep cycle of the DLL circuit.

2. The delay phase-locked loop circuit system as described in claim 1, characterized in that, When the DLL circuit enters the sleep cycle, the DLL sleep cycle adjustment circuit asserts the variable sleep signal. After the sleep cycle, the DLL sleep cycle adjustment circuit deasserts the variable sleep signal to wake up the DLL circuit.

3. The delay phase-locked loop circuit system as described in claim 1, characterized in that, After the DLL circuit completes the alignment of the internal clock with the external clock edge, the DLL sleep cycle adjustment circuit asserts the variable sleep signal, and the DLL circuit enters the sleep cycle.

4. The delay phase-locked loop circuit system as described in claim 1, characterized in that, The DLL circuit includes a delay-locked loop module, a feedback module, a phase detector, and a controller. The external clock is delayed by the delay-locked loop module by a plurality of fine-tuning delays and output as the internal clock. The internal clock is fed back by the feedback module and output as a feedback clock. The phase detector receives and compares the phase difference between the external clock and the feedback clock. The controller adjusts the number of fine-tuning delays by the delay-locked loop module according to the comparison result of the phase detector.

5. The delay phase-locked loop circuit system as described in claim 4, characterized in that, When the phase difference is less than the phase difference threshold, the DLL circuit pulls up an alignment flag signal to the DLL sleep cycle adjustment circuit; or, when the number of times the edge of the internal clock crosses the edge of the external clock reaches a threshold, the DLL circuit pulls up the alignment flag signal to the DLL sleep cycle adjustment circuit. When the alignment flag signal is received, the DLL sleep cycle adjustment circuit asserts the variable sleep signal to the feedback module, the phase detector, and the controller to cause the DLL circuit to enter the sleep cycle.

6. The delay phase-locked loop circuit system as described in claim 4, characterized in that, The controller or the delay-locked loop module sends the number of fine-tuning delays to the DLL sleep cycle adjustment circuit. The DLL sleep cycle adjustment circuit adjusts the pulse width of the variable sleep signal according to the change in the number of fine-tuning delays. The size of the pulse width determines the length of the sleep cycle. The DLL sleep cycle adjustment circuit asserts the variable sleep signal so that the feedback module, the phase detector, and the controller wake up from the sleep cycle.

7. The delay phase-locked loop circuit system as described in claim 1, characterized in that, The DLL sleep cycle adjustment circuit includes: An updater is used to generate an enable signal based on an alignment flag signal and to generate a pulse width adjustment signal based on the change in the number of fine-tuning delay amounts. A pulse generator with controllable pulse width, coupled to the updater, is used to start upon the enable signal and output the variable sleep signal having the pulse width according to the pulse width adjustment signal; Specifically, when the change in the number of fine-tuning delays increases, the pulse width of the variable sleep signal decreases; when the change in the number of fine-tuning delays decreases, the pulse width of the variable sleep signal increases.

8. The delay phase-locked loop circuit system as described in claim 7, characterized in that, The change in the number of fine-tuning delays output by the updater is a digital signal. The pulse generator with controllable pulse width includes a digital-to-analog converter, a voltage-controlled oscillator, and a counter coupled in sequence. The digital-to-analog converter is coupled to the updater and is used to convert the digital signal into an analog voltage signal. The voltage-controlled oscillator is used to adjust the operating clock of the counter according to the analog voltage signal. The counter asserts the variable sleep signal and starts counting when the enable signal is pulled up. The counter stops counting and stops asserting the variable sleep signal when it reaches a predetermined count value.

9. The delay phase-locked loop circuit system as described in claim 1, characterized in that, The DLL sleep cycle adjustment circuit includes: An updater is used to generate an enable signal and a frequency division coefficient adjustment signal based on the change in the number of the fine-tuning delays. A frequency divider with a controllable division coefficient, coupled to the updater, is used to start under the enable signal and adjust the output signal of the variable sleep signal with a corresponding frequency according to the division coefficient. Specifically, when the change in the number of fine-tuning delays increases, the frequency of the variable sleep signal output by the frequency divider increases; when the change in the number of fine-tuning delays decreases, the frequency of the variable sleep signal output by the frequency divider decreases.

10. The delay phase-locked loop circuit system as described in any one of claims 4-6, characterized in that, The DLL circuit further includes a signal receiver, a clock tree, and an impedance matching module; the signal receiver is coupled to the delay-locked loop module and the phase detector, and is used to receive the external clock and provide the external clock to the delay-locked loop module and the phase detector; the clock tree is coupled to the delay-locked loop module and the impedance matching module, and the impedance matching module outputs the internal clock.

11. The delay phase-locked loop circuit system as described in claim 10, characterized in that, The feedback module is a copy of the signal receiver, the clock tree, and the impedance matching module.

12. A chip system, characterized in that, The delay phase-locked loop circuit system includes any one of claims 1-11.

13. The chip system as described in claim 12, characterized in that, The chip system is a DDR memory system, the internal clock is the data selection pulse signal of the DDR memory system, and the DLL circuit in the delay phase-locked loop circuit system synchronizes the external clock of the DDR memory system with the data selection pulse signal.

14. The chip system as described in claim 13, characterized in that, Upon receiving a read command based on the external clock, the DDR memory system selects a pulse signal based on the data generated by the DLL circuit and sends the read data.

Citation Information

Patent Citations

  • Digital pulse width modulator based on digital delayed-locked loop (DLL)

    CN102394643A

  • Delay locking loop of reinforced interfrence proof phase swinging of blocking circuit and its method

    CN1519934A