Calibration device, memory system including same, and method of operating same

By performing iterative eye-width scanning and using a bang-bang phase detector in the calibration device, the issues of signal reliability and accuracy in high-speed data input/output operations in low-power environments are solved, enabling more efficient calibration and reducing Noise interference and power consumption.

CN118737241APending Publication Date: 2024-10-01SK HYNIX INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311152922.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-29
Filing Date
2023-09-07
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In low-power environments, there are data or signal reliability and accuracy issues in high-speed data input/output operations, especially crosstalk, ringing, overshoot or undershoot due to simultaneous switching noise, which affects the performance of the memory device.

Method used

Reduce calibration time and power consumption by performing iterative eye-width scans and the use of a bang-bang phase detector in the calibration setup to determine the zero-crossing point of the signal or data and compensate for the quadrature phase via four different phase clocks , suppress noise interference.

Benefits of technology

Improves the reliability and accuracy of signal or data transmission and reception in high-speed data input/output operations in low-power environments, reduces calibration time and power consumption, and avoids data errors due to noise.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118737241A_ABST
    Figure CN118737241A_ABST
Patent Text Reader

Abstract

The invention relates to a calibration device, a memory system including the same, and an operating method thereof. The calibration device is coupled to a communication line shared by a plurality of devices. The calibration device is configured to perform an iterative eye width scan by adjusting a set voltage level by a preset level from a first voltage level to a reference center voltage level, where the first voltage level corresponds to an intersection at which a value of a signal or data transmitted via the communication line changes in a different direction; and determining a voltage level corresponding to a maximum value among a plurality of eye widths obtained by the iterative eye width scan as a zero crossing of the signal or data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] One or more embodiments of the present disclosure described herein relate to a calibration device and a memory device, and more particularly, to a calibration device for high-speed data input / output operation in a low-power environment, a memory device including the calibration device, and an operating method thereof. Background Art

[0002] A memory device or memory system is typically used as an internal circuit, semiconductor circuit, integrated circuit, and / or removable device in a computing system or electronic device. There are various types of memory, including volatile memory and non-volatile memory. Volatile memory may require power to maintain data. Volatile memory may include random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), synchronous dynamic random access memory (SDRAM), etc. When power is not supplied, non-volatile memory may maintain the data stored therein. Non-volatile memory may include NAND flash memory, NOR flash memory, phase change random access memory (PCRAM), resistive random access memory (RRAM), magnetic random access memory (MRAM), etc.

[0003] A memory device for storing a large amount of data may include multiple memory dies or semiconductor chips coupled to a memory controller configured to control the multiple memory dies or semiconductor chips. For high-speed data input / output operations, calibration is required to ensure accuracy and reliability in the transmission and reception of data or signals. Summary of the invention

[0004] Embodiments of the present invention may provide a calibration apparatus and a calibration method for improving the reliability and accuracy of transmitting and receiving data or signals between two components.

[0005] Embodiments of the present invention can reduce the time and power consumed by calibration, thereby improving the reliability and accuracy of data or signal transmission / reception in a storage device or a data processing apparatus capable of high-speed data input and output operations in a low-power environment.

[0006] Embodiments of the present invention may provide a storage device or data processing device that has reliability and accuracy when transmitting and receiving data or signals by suppressing, avoiding or reducing exposure to crosstalk, ringing, overshoot or undershoot of data or signals caused by simultaneous switching noise (SSN) that may occur in a data line shared by multiple transmitting and receiving devices.

[0007] In an embodiment of the present invention, a calibration device may be connected to a communication line shared by a plurality of devices. The calibration device may be configured to: perform iterative eye width scanning by adjusting a set voltage level from a first voltage level to a reference center voltage level by a preset level, wherein the first voltage level corresponds to a crossing point where the value of a signal or data transmitted via the communication line changes in different directions; and determine a voltage level corresponding to a maximum value among a plurality of eye widths obtained by the iterative eye width scanning as a zero crossing of the signal or data.

[0008] The calibration device may also be configured to: send a preset sequence and an inverse sequence of the preset sequence to at least one of the plurality of devices; and detect a crossover point as an intersection of the preset sequence and the inverse sequence. The preset sequence and the inverse sequence may be DC balanced data of "0" and "1" having the same frequency.

[0009] The calibration apparatus may also be configured to perform compensation or adjustment of the quadrature phase by using four different phase clocks including two duty cycle clocks and two quadrature phase clocks.

[0010] The calibration apparatus may include a bang-bang phase detector using four different phase clocks. The bang-bang phase detector may be configured to detect a crossing point based on a frequency of "1".

[0011] The bang-bang phase detector may include: a plurality of first logic gates, each of which is configured to output a result of an exclusive OR (XOR) operation on two of the data sampled by four different phase clocks; a plurality of second logic gates, each of which is configured to output a result of an exclusive OR (XOR) operation on a value "1" and each of the data sampled by two orthogonal phase clocks; a plurality of flip-flops connected to the plurality of first logic gates and the plurality of second logic gates; and a counter configured to increase or decrease at least one parameter associated with the four different phase clocks based on the plurality of flip-flops.

[0012] The calibration device may perform iterative eye width scanning by adjusting a set voltage level from a first voltage level to a reference center voltage level by a preset level; performing iterative scanning for adjusting two orthogonal phase clocks to measure the start and end of the eye width corresponding to the adjusted set voltage level for determining a current eye width; and when the current eye width is greater than a previously stored eye width, replacing the previously stored eye width obtained during the iterative scanning with the current eye width. The calibration device may determine a voltage level corresponding to the stored eye width as a zero crossing.

[0013] The calibration device can perform an iterative eye width scan and determine the zero crossing of each of a plurality of devices in a separate and independent manner, the signal or data being transmitted over the communication line while exposed to crosstalk, ringing, overshoot or undershoot due to simultaneous switching noise.

[0014] In an embodiment, a memory system may include: a plurality of memory dies configured to store data; a data channel shared by the plurality of memory dies; and a memory controller configured to control data input / output operations performed on the plurality of memory dies. The memory controller may also be configured to: perform iterative eye width scanning by adjusting a set voltage level from a first voltage level to a reference center voltage level by a preset level, wherein the first voltage level corresponds to a crossing point where the value of a signal or data transmitted through the data channel changes in different directions; determine a voltage level corresponding to a maximum value among a plurality of eye widths obtained through the iterative eye width scanning as a zero crossing of the signal or data; and exchange signals or data with the plurality of memory dies via the data channel based on the zero crossing to control the data input / output operations performed on the plurality of memory dies.

[0015] The memory controller may include: a calibration logic configured to send a preset data sequence and an inverted sequence of the preset data sequence to a plurality of memory dies to detect a crossing point; and a calibration buffer configured to store a zero crossing of each of the plurality of memory dies, the zero crossing being output from the calibration logic.

[0016] The preset data sequence and the inversion sequence may be DC balanced data of "0" and "1" having the same frequency.

[0017] The calibration logic may also be configured to perform compensation or adjustment of the quadrature phase by using four different phase clocks including two duty cycle clocks and two quadrature phase clocks.

[0018] The calibration logic may include a bang-bang phase detector using four different phase clocks. The bang-bang phase detector may be configured to detect the crossing point based on the frequency of "1".

[0019] The bang-bang phase detector may include: a plurality of first logic gates, each of which is configured to output a result of an exclusive OR (XOR) operation on two of the data sampled by four different phase clocks; a plurality of second logic gates, each of which is configured to output a result of an exclusive OR (XOR) operation on a value "1" and each of the data sampled by two orthogonal phase clocks; a plurality of flip-flops connected to the plurality of first logic gates and the plurality of second logic gates; and a counter configured to increase or decrease at least one parameter associated with the four different phase clocks based on the plurality of flip-flops.

[0020] The calibration logic may also be configured to perform an iterative eye width scan by adjusting a set voltage level from a first voltage level to a reference center voltage level by a preset level; perform an iterative scan for adjusting two quadrature phase clocks to measure the start and end of the eye width corresponding to the adjusted set voltage level for determining a current eye width; and when the current eye width is greater than a previously stored eye width, replace the previously stored eye width obtained during the iterative scan with the current eye width. The calibration logic is further configured to determine a voltage level corresponding to the stored eye width as a zero crossing.

[0021] The memory controller may perform iterative eye width scans and determine the zero crossings of each memory die in a separate and independent manner, with the signal or data being transmitted over the data channel while being exposed to crosstalk, ringing, overshoot, or undershoot due to simultaneous switching noise.

[0022] In another embodiment, a method of operating a memory system may include the following steps: detecting intersections where values ​​of signals or data change in different directions to exchange data or signals with multiple memory dies via a data channel shared by multiple memory dies; performing an iterative eye width scan by adjusting a set voltage level from a first voltage level corresponding to the intersection to a reference center voltage level by a preset level; and determining a voltage level corresponding to a maximum value among multiple eye widths obtained by the iterative eye width scan as a zero crossing of the signal or data.

[0023] The step of detecting the cross point may include the step of sending a preset data sequence and an inversion sequence of the preset data sequence to at least one of the plurality of memory dies. The preset data sequence and the inversion sequence may be DC balanced data of "0" and "1" having the same frequency.

[0024] The crossing point may be detected based on the frequency of "1" of the preset data sequence and the inversion sequence.

[0025] The step of performing iterative eye width may include the following steps: adjusting a set voltage level from a first voltage level to a reference center voltage level according to a preset level; performing an iterative scan for adjusting two orthogonal phase clocks to measure the beginning and end of the eye width corresponding to the adjusted set voltage level for determining a current eye width; and when the current eye width is greater than a previously stored eye width, replacing the previously stored eye width obtained during the iterative scan with the current eye width.

[0026] The detecting, executing, and determining may be performed in a separate and independent manner for each memory die. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The description herein refers to the drawings, wherein like numerals refer to like parts throughout.

[0028] Figure 1 An electronic device according to an embodiment of the present disclosure is shown.

[0029] Figure 2 A memory system according to an embodiment of the present disclosure is shown.

[0030] Figure 3 A first example of a calibration operation according to an embodiment of the present disclosure is shown.

[0031] Figure 4 A calibration method according to an embodiment of the present disclosure is shown.

[0032] Figure 5 A first operation for calibration according to an embodiment of the present disclosure is shown.

[0033] Figure 6 A second example of the calibration operation according to an embodiment of the present disclosure is shown.

[0034] Figure 7 An example of calibration logic according to an embodiment of the present disclosure is shown.

[0035] Figure 8 A third example of the calibration operation according to an embodiment of the present disclosure is shown.

[0036] Fig. 9 A second operation for calibration according to an embodiment of the present disclosure is shown.

[0037] Fig.10 The effects of the calibration device and the calibration method according to the embodiments of the present disclosure are shown. DETAILED DESCRIPTION

[0038] Various embodiments of the present disclosure are described below with reference to the accompanying drawings. However, the elements and features of the present disclosure may be configured or arranged differently to form other embodiments, which may be variations of any disclosed embodiment.

[0039] In the present disclosure, references to various features (e.g., elements, structures, modules, components, steps, operations, characteristics, etc.) included in “one embodiment,” “example embodiment,” “embodiment,” “another embodiment,” “some embodiments,” “various embodiments,” “other embodiments,” “alternative embodiments,” etc.) are intended to mean that any of these features are included in one or more embodiments of the present disclosure, but may not necessarily be combined in the same embodiment.

[0040] In this disclosure, the terms "include" and "comprising" are open ended. As used in the appended claims, these terms specify the presence of the elements described and do not exclude the presence or addition of one or more other elements. The terms in the claims do not exclude the device from including additional components (e.g., interface units, circuits, etc.).

[0041] In the present disclosure, various units, circuits or other components may be described or stated as being "configured to" perform tasks. In such a context, "configured to" is used to imply a structure by indicating that a block / unit / circuit / component includes a structure (e.g., a circuit) that performs one or more tasks during operation. Therefore, even when the specified block / unit / circuit / component is currently inoperable (e.g., not turned on or enabled), it can be said that the block / unit / circuit / component is configured to perform a task. Examples of blocks / units / circuit / components used with the "configured to" language include hardware, circuits, memories storing executable program instructions to implement operations, etc. In addition, "configured to" may include a general structure (e.g., a general circuit) that is manipulated by software and / or firmware (e.g., an FPGA or a general processor executing software) to operate in a manner that can perform the relevant tasks. "Configured to" may also include adjusting a manufacturing process (e.g., a semiconductor manufacturing facility) to manufacture a device (e.g., an integrated circuit) suitable for implementing or performing one or more tasks.

[0042] As used in this disclosure, the terms "machine", "circuit" or "logic" refer to all of the following: (a) hardware circuit implementations only (e.g., implementations in analog and / or digital circuits only); and (b) combinations of circuits and software and / or firmware, such as (applicable to): (i) a combination of processors or (ii) portions of processors / software (including digital signal processors), memory and software that work together to enable a device such as a mobile phone or server to perform various functions; and (c) circuits such as microprocessors or portions of microprocessors that require software or firmware to operate, even if the software or firmware is not actually present. This definition of "machine", "circuit" or "logic" applies to all uses of the term in this application (including in any claims). As a further example, as used in this application, the terms "machine", "circuit" or "logic" also cover implementations of only a processor or multiple processors or portions of processors and their (or their) accompanying software and / or firmware. The terms "machine", "circuit" or "logic" also cover (e.g., and if applicable to a particular claim element) an integrated circuit for a storage device.

[0043] As used herein, the terms "first," "second," "third," etc., are used as labels for the nouns preceding them and do not imply any type of ordering (e.g., spatial, temporal, logical, etc.). The terms "first" and "second" do not necessarily imply that a first value must be written before a second value. In addition, although these terms may be used herein to identify various elements, these elements are not limited by these terms. These terms are used to distinguish one element from another element that would otherwise have the same or similar name. For example, a first circuit may be distinguished from a second circuit.

[0044] Furthermore, the term "based on" is used to describe one or more factors that influence a determination. The term does not exclude additional factors that may influence a determination. That is, a determination may be based only on those factors or at least in part on those factors. Consider the phrase "determining A based on B." Although in this case, B is a factor that influences the determination of A, such a phrase does not exclude that the determination of A is also based on C. In other cases, A may be determined based only on B.

[0045] Embodiments will now be described with reference to the drawings, wherein like reference numerals refer to like elements.

[0046] Figure 1 An electronic device according to an embodiment of the present disclosure is shown.

[0047] Reference Figure 1 , the electronic device may include multiple components 502, 504, 506, 508. Multiple components 502, 504, 506, 508 may share a data line or signal line 510 with each other. Multiple components 502, 504, 506, 508 may send and receive data or signals through the data line or signal line 510. According to an embodiment, the data line or signal line 510 may be configured as a channel or bus capable of simultaneously sending and receiving n bits of data or signals. n is a positive integer.

[0048] According to an embodiment, a plurality of components 502, 504, 506, 508 may send and receive data or signals having two levels (e.g., level 1, level 2). As these data or signals, digital data or digital signals having values ​​"1" or "0" corresponding to two levels (e.g., level 1, level 2) may be exemplified. A plurality of components 502, 504, 506, 508 operating at high speed may send and receive a data sequence or signal sequence comprising a plurality of bits. If the accuracy and reliability of data transmission between a sending component and a receiving component are guaranteed, errors in a data sequence or signal sequence comprising "0" or "1" may be reduced or eliminated. To this end, a plurality of components 502, 504, 506, 508 or a device connected to the plurality of components 502, 504, 506, 508 may perform a calibration operation.

[0049] Depending on the implementation, high-speed memory may require a calibration operation because it ensures the accuracy and reliability of data transmission. High-speed memory (e.g., DDR4 or DDR5) operating at very high frequencies relies on precise timing to transfer data between the memory and the CPU. If the data transfer exceeds the specified timing, errors or data corruption may occur, resulting in system crashes or data loss. During the calibration operation, the memory controller can adjust the timing and voltage levels to optimize signal integrity and ensure that data is accurately and reliably transmitted. This process may involve testing and adjusting various parameters such as read and write timing, signal determination, and output driver strength. By performing calibration operations on the memory, the memory system can achieve the highest possible data transfer rate while maintaining data integrity.

[0050] In addition, the high-speed memory may require a calibration operation to ensure compatibility with other components (e.g., a CPU and a motherboard) included in the computing system. Individual components such as the plurality of components 502, 504, 506, 508 may have different tolerances and specifications. Therefore, the calibration operation may allow the high-speed memory to work seamlessly with the other components in the computing system. In order to achieve stable and accurate data transmission and ensure compatibility with other system components, the calibration operation may be necessary.

[0051] In a calibration operation, a zero crossing indicates a point at which the value of the data or signal changes from the first level to the second level, or vice versa. The calibration device may use a first sequence and a second sequence that may have opposite phases to each other to find a crossover point (CP). The crossover point may be identified as a point at which the value of the signal or data changes in different directions (one from the first level to the second level, and the other from the second level to the first level). The crossover point may be found by a calibration operation. The crossover point may be determined as a zero crossing. For example, if the voltage level of the data or signal is greater than the voltage level corresponding to the crossover point determined to be a zero crossing, the corresponding data or signal is identified as the first level among the two levels (i.e., the first level, the second level). Otherwise, the corresponding data or signal may be identified as the second level.

[0052] As the time used to detect zero crossings during the calibration operation is reduced, the time and power consumed by the calibration operation can be reduced. In addition, when there is no noise in the transmitted and received data or signals, such as Figure 1 As described in the above, the crossing point found based on the first sequence and the second sequence that may have opposite phases may be determined as a zero crossing, so that no error occurs in the transmission and reception of data or signals. However, when multiple components 502, 504, 506, 508 share a data line or a signal line 510, which will be referred to later. Figure 3 and Figure 4 Further considerations in the calibration operation due to noise are described.

[0053] Figure 2 A memory system according to an embodiment of the present disclosure is shown.

[0054] Reference Figure 2 , the memory system 900 may include a memory controller 910. The memory controller 910 may be connected to a plurality of memory dies 922, 924, 926, 932, 934, 936 via a plurality of data channels 920, 930. According to an embodiment, Figure 2 The memory controller 910 and the plurality of memory dies 922, 924, 926, 932, 934, 936 described in the specification may correspond to Figure 1 Multiple components 502, 504, 506, 508 are shown.

[0055] The plurality of memory dies 922, 924, 926, 932, 934, 936 may include a plurality of volatile memory cells or a plurality of non-volatile memory cells. Depending on the embodiment, each of the plurality of memory dies 922, 924, 926, 932, 934, 936 may include at least one memory group or at least one memory plane. In addition, depending on the embodiment, the plurality of memory dies 922, 924, 926, 932, 934, 936 may all have the same internal configuration, or may have different internal configurations. According to the embodiment, the plurality of memory dies 922, 924, 926, 932, 934, 936 connected to the storage controller 910 may be included in different memory chips. The configuration in the plurality of memory dies 922, 924, 926, 932, 934, 936 may vary according to the purpose of use of the memory system 900, data input / output performance, etc. Embodiments of the invention may not be limited to the internal configuration of the plurality of memory dies 922 , 924 , 926 , 932 , 934 , 936 .

[0056] A plurality of memory dies are connected to one data channel 920 or 930. For example, a plurality of first memory dies 922, 924, 926 may be connected to the memory controller 910 via the first data channel 920. A plurality of second memory dies 932, 934, 936 may be connected to the memory controller 910 via the second data channel 930. Each of the first data channel 920 and the second data channel 930 may include a plurality of data lines that may simultaneously transmit data including a plurality of bits or signals including a plurality of bits (e.g., commands, responses, etc.). Figure 2 , each of the first data channel 920 and the second data channel 930 may include n data lines. n is a positive integer.

[0057] The memory controller 910 may be coupled to a plurality of memory dies 922, 924, 926, 932, 934, 936 to perform data communication. For example, the memory controller 330 may receive a command CMD, an address Addr, data, etc. from an external device, and transmit a response Res, status information Stat, data, etc. to the external device. Herein, the external device may include a computing device for storing data in the plurality of memory dies 922, 924, 926, 932, 934, 936 or reading data stored in the plurality of memory dies 922, 924, 926, 932, 934, 936.

[0058] The memory controller 910 may perform calibration operations for high-speed data communication with the plurality of memory dies 922, 924, 926, 932, 934, 936. The memory controller 910 may include a calibration logic 912 configured to perform the calibration operation and a calibration buffer 914 configured to store results of the calibration operation performed by the calibration logic 912. According to an embodiment, the calibration logic 912 may perform the calibration operation for each of the first data channel 920 and the second data channel 930. In addition, the calibration logic 912 may perform the calibration operation separately, independently, and individually for each of the plurality of memory dies coupled to each of the first data channel 920 and the second data channel 930.

[0059] Simultaneous switching output (SSO) may occur between a plurality of first memory dies 922, 924, and 926 and a plurality of second memory dies 932, 934, and 936 connected to the storage controller 910. Here, simultaneous switching output (SSO) refers to a phenomenon in which a plurality of output drivers are switched simultaneously, resulting in signal interference and noise. For example, simultaneous switching output (SSO) may occur in a memory system or other electronic system having a multi-chip module, a system chip design, or a plurality of output drivers. There are signal integrity issues such as crosstalk, ringing, overshoot, or undershoot that may occur due to noise and signal interference when a plurality of output drivers are switched simultaneously. As a result, data transmission errors may occur, or the overall performance and stability of the memory system 900 may be affected.

[0060] A memory device or memory system 900 including a high-speed peripheral component interconnect (PCIe) interface may support offset cancellation. Offset cancellation is a technique supported by the PCIe interface to remove or eliminate direct current (DC) offsets that may exist in the transmitted data. In PCIe, data may be transmitted differentially. That is, data or signals are transmitted as a pair of complementary signals with opposite polarity or phase. However, due to various factors such as crosstalk or unbalanced driver characteristics, some residual DC offsets may exist in the transmitted data or signals. This offset may cause a DC voltage that damages the received data to appear at the termination of the receiver. In order to mitigate the effects of this DC offset, PCIe may support offset cancellation. For offset cancellation, a pair of offset cancellation signals may be sent together with a data signal designed to have a polarity or phase opposite to the data or signal. This pair of offset cancellation signals may be used to eliminate any DC offset that may exist in the data or signal. A receiver on the PCIe interface may measure the offset cancellation signal and use this information to eliminate any DC offset in the data or signal, thereby improving the accuracy and reliability of the received data or signal. Offset cancellation may be used for both data and clock signals of the PCIe interface. When the memory system 900 supports offset cancellation, the calibration operation becomes more complicated, and the time and power consumed by the calibration operation may increase.

[0061] Figure 3 A first example of a calibration operation according to an embodiment of the present disclosure is shown.

[0062] Reference Figure 3 , in the process of data or signal value changing from level 1 to level 2, or vice versa, noise and interference may affect the data or signal. Figure 1 and Figure 3 , we can understand the situation where there is no noise in the data or signal ( Figure 1 ) and the case where there is noise in the data or signal ( Figure 3 ) between the two. Figure 3 It shows that problems such as ringing, overshoot, or undershoot may occur in data or signals.

[0063] Overshoot or undershoot of data or signal may affect calibration operation. Calibration operation may include adjusting at least one circuit parameter to improve performance or accuracy. In addition, calibration operation may include measuring and adjusting system components to compensate for inaccuracy or deviation. However, when the input signal of the circuit overshoots or undershoots, the circuit may operate unexpectedly and affect the processing of calibration operation. For example, when the voltage reference generator in the circuit generates a reference voltage based on the overshoot or undershoot signal, the output voltage may not be accurately calibrated, thereby affecting the performance of downstream circuits or systems. Similarly, if the circuit is designed to operate within specific voltage or current limits, the overshoot or undershoot of the input signal may cause the circuit to exceed these limits, thereby affecting the calibration operation or causing damage to the circuit. Therefore, calibration operation can be performed to ensure the correct operation of the circuit by verifying that the input signal of the circuit is within the specified voltage and current limits.

[0064] like Figure 1 As shown in FIG. 1 , when the cross point is found through the calibration operation and the cross point is determined as the optimal reference voltage Vropt, the calibration operation cannot guarantee the reliability and accuracy of data transmission and reception. Due to problems such as ringing, overshoot or undershoot, when the cross point ( Figure 3 When B) shown in FIG. 1 is determined as the optimal reference voltage Vropt, the eye width of the data or signal will be very narrow. Figure 3 The optimal reference voltage Vropt described in can correspond to Figure 1 The zero crossings described in .

[0065] The calibration operation according to the embodiment of the present invention does not determine the cross point (CP) as the optimal reference voltage Vropt. The calibration may set the voltage level ( Figure 3 A) shown in FIG. 1 is determined as the optimal reference voltage Vropt. To this end, the calibration operation may include a first operation of finding a crossover point and adjusting and finding a set voltage level ( Vropt ) having the widest eye width among other voltage levels between the crossover point and the reference center voltage. Figure 3 The second operation of A) is shown.

[0066] In addition, considering issues such as ringing, overshoot or undershoot of data or signals, the storage controller 910 can perform calibration operations through full 2D scanning (full 2D scanning). Full 2D scanning is a calibration technique for optimizing the timing and voltage level of the transmitted signal in a high-speed digital communication system, and performs comprehensive detection over the entire two-dimensional space of signal timing and voltage level to select the optimal setting that opens the widest eye (i.e., has the largest eye width). In a full 2D scan, a series of test patterns with different timing and voltage levels can be sent while monitoring an eye diagram constructed by drawing the voltage and timing of the received signal. The timing or voltage level of the transmitted test pattern can be changed systematically (including in the entire two-dimensional space).

[0067] However, a full 2D scan will consume a lot of time and power. Embodiments of the present invention provide an apparatus and method capable of reducing the time and power consumed by a calibration operation. Embodiments of the present invention may provide an apparatus or method for more quickly detecting a crossover point in a first operation during a calibration operation. In addition, embodiments of the present invention may provide a method capable of reducing the time and power consumed by detecting a set voltage level ( Figure 3 An apparatus and method for reducing the time and power consumed in the second operation of A) shown.

[0068] Figure 4 A calibration method according to an embodiment of the present disclosure is shown.

[0069] Reference Figure 4 The calibration method includes: detecting a set reference voltage VrefQ corresponding to a crossing point of a value transition of data or a signal (operation 602); sweeping the phase of the quadrature phase clock CK_Q at the set reference voltage VrefQ to check or scan the eye width (operation 604); increasing or decreasing the set reference voltage VrefQ toward a reference center voltage VcentQ by a preset level (operation 606); and storing the set reference voltage VrefQ and the quadrature phase clock CK_Q corresponding to the maximum eye width while performing an iterative scan (i.e., a repeated operation of checking the eye width) by adjusting the set reference voltage VrefQ until the set reference voltage VrefQ reaches the reference center voltage VcentQ (operation 608).

[0070] Reference Figures 2 to 4 For the calibration operation, the calibration logic 912 may perform the first operation 602 to detect the set reference voltage VrefQ corresponding to the crossing point where the value transition of the data or signal occurs. The calibration logic 912 uses the data sequence and the inverted data sequence (the inverted value of the data sequence) to detect the crossing point where the value transition from the first level to the second level or vice versa occurs. The operation of quickly finding the crossing point will be referred to later. Figures 5 to 7 To describe. Figure 3 As shown, when the set reference voltage VrefQ corresponding to the cross point is set to zero cross, it may be difficult to ensure the reliability and accuracy of transmission and reception of data or signals.

[0071] The calibration logic 912 may perform eye width scanning from the level of the set reference voltage VrefQ corresponding to the cross point to the level of the reference center voltage VcentQ. Here, the reference center voltage VcentQ may have a value between Figure 1 and Figure 3The average level between the first level and the second level shown. According to the noise or interference generated in the first data channel 920 and the second data channel 930, the set reference voltage VrefQ corresponding to the cross point may be greater than or less than the reference center voltage VcentQ. For example, Figure 3 A case is shown in which the set reference voltage VrefQ corresponding to the intersection point has a level higher than the reference center voltage VcentQ. If the calibration logic 912 performs eye width scanning in all areas between the 1st level and the 2nd level, the time and power consumption of the calibration operation will increase. Even if the set reference voltage VrefQ corresponding to the intersection point is close to the first level or the second level, the eye width at the 1st level or the 2nd level will be smaller than the eye width at the set reference voltage VrefQ. Therefore, the calibration logic 912 does not need to check the eye width at any voltage level between the set reference voltage VrefQ and the 1st level or the 2nd level. Therefore, the calibration logic 912 may set the area or range from the set reference voltage VrefQ corresponding to the intersection point to the reference center voltage VcentQ as the target area or target range for the eye width scan (see Figure 7 ).

[0072] When the target area or target range of the eye width scan is determined, the calibration logic 912 may change the phase of the quadrature phase clock CK_Q at the set reference voltage VrefQ corresponding to the crossing point (sweep operation) to check the eye width (operation 604). The detailed operation related to the eye width scan will be referred to later. Figure 8 and Fig. 9 to describe.

[0073] After checking the eye width corresponding to the set reference voltage VrefQ (operation 604), the set reference voltage VrefQ may be increased or decreased by a predetermined level. At this time, the increase or decrease of the reference voltage VrefQ may be performed toward the reference center voltage VcentQ. For example, when the level of the set reference voltage VrefQ corresponding to the intersection is higher than the level of the reference center voltage VcentQ, the level of the set reference voltage VrefQ may be gradually decreased until it reaches the level of the reference center voltage VcentQ. On the contrary, if the level of the set reference voltage VrefQ corresponding to the intersection is lower than the level of the reference center voltage VcentQ, the level of the reference voltage VrefQ may be gradually increased until it reaches the level of the reference center voltage VcentQ.

[0074] The preset amount / level by which the reference voltage VrefQ is set to increase or decrease may vary according to the implementation. For example, the predetermined amount / level (e.g., 0.1V, 0.05V, 0.01V, etc.) may be determined based on the difference between the first level and the second level (e.g., 5V, 3V, 1.8V, 1.4V, etc.), the operating performance of the memory controller 910 or the memory system 900 (e.g., data input / output speed, etc.), the data input / output speed of the plurality of memory dies 922, 924, 926, 932, 934, 936, etc. As the preset amount / level becomes smaller, the performance of the calibration operation may be improved by setting a fine adjustment of the reference voltage VrefQ.

[0075] If the current eye width is greater than the previous eye width, the current set reference voltage VrefQ and the orthogonal phase clock CK_Q corresponding to the current set reference voltage VrefQ may be stored (operation 608). For example, based on the set reference voltage VrefQ corresponding to the cross point, the calibration logic 912 may perform a first eye width scan (operation 604). Then, since there is no previous eye width, the set reference voltage VrefQ and the orthogonal phase clock CK_Q corresponding to the set reference voltage VrefQ may be stored (operation 608). After the set reference voltage VrefQ is reduced or increased by a preset level, a second eye width scan may be performed (operation 604). Then, the first eye width (i.e., the previous eye width) measured by the first eye width scan and the second eye width measured by the second eye width scan may be compared with each other. When the second eye width is greater than or wider than the first eye width, the set reference voltage VrefQ and the orthogonal phase clock CK_Q corresponding to the second eye width may be stored (operation 608). If the first eye width is greater than or wider than the second eye width, the set reference voltage VrefQ and the quadrature phase clock CK_Q corresponding to the first eye width may be maintained (i.e., the set reference voltage VrefQ and the quadrature phase clock CK_Q corresponding to the second eye width are not stored) (operation 608). After these iterative operations from the crossing point to the reference center voltage VcentQ, the calibration logic 912 may store the set reference voltage VrefQ and the quadrature phase clock CK_Q corresponding to the maximum or widest eye width in the calibration buffer 914 (operation 608).

[0076] Figure 5 The first operation for calibration according to an embodiment of the present disclosure is shown. Figure 4 The cross point shown corresponds to an example description of the operation 602 of setting the reference voltage VrefQ. Figure 5 A first operation for calibration is shown. Figure 6 A second example of the calibration operation according to an embodiment of the present disclosure is shown. Figure 7 An example of calibration logic according to an embodiment of the present disclosure is shown. Figure 2 and Figure 6The illustrated calibration logic 912 may include a bang-bang phase detector 550 .

[0077] Here, bang-bang may indicate that when the phase of the input signal changes, the output of the phase detector transitions between two states of a logic high level (e.g., level 1) and a logic low level (e.g., level 2). Bang-bang noise is a type of noise that occurs in an electronic system when a signal transitions rapidly between two states. This type of noise is also referred to as jitter noise because the rapid transition can cause timing jitter or fluctuations in the signal. Bang-bang noise can occur in various electronic circuits, including clock circuits, digital-to-analog converters (DACs), and power supplies. Bang-bang noise may occur due to the switching of transistors or other active components included in the circuit. Bang-bang noise may cause spikes in voltage or current propagating through the circuit. Bang-bang noise may cause noise in the output signal. The calibration operation may include adjusting circuit parameters to improve operating performance or accuracy and measuring and adjusting variables of system components to compensate for inaccuracies or deviations. Therefore, the calibration operation can help mitigate the effects of bang-bang noise by ensuring that the circuit operates within specified or specified performance parameters. For example, when the timing of a circuit is critical and is affected by bang-bang noise, a calibration operation may be performed to ensure that the timing is accurate and stable under various operating conditions. Similarly, calibration of a voltage reference circuit can help reduce the effects of noise on the output voltage, which is especially important in low-noise analog circuits.

[0078] The bang-bang phase detector 550 included in the calibration logic 912 is a type of phase detector used in digital circuits and systems to compare the phases of two signals and generate a digital output indicating the phase difference between the two signals. A calibration operation can be performed based on the output of the phase detector to align the frequency or phase of one of the two input signals with the frequency or phase of the other signal. A simple example of a bang-bang phase detector can be implemented using an XOR gate that generates a logic high output when the two input signals have a 180 degree phase difference, or a logic low output when the two input signals are in phase. A more sophisticated bang-bang phase detector may include more complex logic circuits such as a D flip-flop or a digital delay line to improve operational accuracy and performance.

[0079] According to an embodiment, the calibration logic 912 may include a half-rate bang-bang phase detector. A half-rate bang-bang phase detector is a phase detector used in a digital communication system to detect and correct the phase error between the received signal and the local oscillator signal. The half-rate bang-bang phase detector can be characterized by operating at half the frequency of the received signal. The operation of the half-rate bang-bang phase detector can be divided into two stages: a sampling stage and a comparison stage. In the sampling stage, the received signal can be sampled and stored in a memory. In the comparison stage, the stored signal can be compared with the local oscillator signal so that a calibration signal can be generated based on the phase difference between the two signals. The calibration signal is then used to adjust the phase of the local oscillator signal used to sample the next cycle of the received signal. Since this process is repeated for each cycle of the received signal, the half-rate bang-bang phase detector can track the phase change of the received signal to correct the error.

[0080] Reference Figure 2 and Figures 5 to 7 , a calibration operation may be performed for a read or write operation (operation 702). At the start of the calibration operation, all parameters of the clock phase, P_shift, D_shift, PUP, PDN, DUP, DDN may be set to "0" (operation 704). At this time, the calibration logic 912 uses two duty cycle clocks and two quadrature phase clocks to perform compensation for both duty cycle and quadrature phase.

[0081] According to an embodiment, each of the four clocks may have a phase difference corresponding to 90 degrees. For example, the first clock CK_I may have a phase difference of 180 degrees with the third clock CK_IB which is an inverted clock of the first clock CK_I. The second clock CK_Q may have a phase difference of 180 degrees with the fourth clock CK_QB which is an inverted clock of the second clock CK_Q. The first clock CK_I and the second clock CK_Q may have a phase difference of 90 degrees, and the third clock CK_IB and the fourth clock CK_QB may also have a phase difference of 90 degrees.

[0082] The calibration logic 912 may receive the 256-bit data sequence DQ (operation 706). In this case, the 256-bit data sequence DQ and the 256-bit inversion data sequence corresponding to the 256-bit data sequence DQ may be a sequence of data of "0" and "1" having the same frequency (DC balance data).

[0083] The calibration logic 912 may reset the four results PUP, PDN, DUP, DDN output from the counter 556 of the bang-bang phase detector 500 included in the calibration logic 912 to “0” (operation 708 ).

[0084] The calibration logic 912 may compare the data sequence DQ with the set reference voltage VrefQ to output the sampled data D_I, D_Q, D_IB, D_QB based on the four clock signals CK_I, CK_Q, ​​CK_IB, CK_QB having a phase difference of 90 degrees (operation 710). Figure 7 The counter 556 may increment the four results PUP, PDN, DUP, DDN based on the XOR result (i.e., comparison result) of two of the data D_I, D_Q, D_IB, D_QB sampled by the six logic gates described in (operations 712, 716, 720, 724, 728, 734).

[0085] For example, the calibration logic 912 may check whether two data D_I, D_Q sampled by two clocks CK_I, CK_Q having a phase difference of 90 degrees are the same through an XOR operation (operation 712). If the two data D_I, D_Q are not the same as each other (No in operation 712), the first result PUP may be increased (operation 714).

[0086] The calibration logic 912 may check whether the two other data D_Q, D_IB sampled by the two other clocks CK_Q, ​​CK_IB having a phase difference of 90 degrees are the same through an XOR operation (operation 716). If the two data D_Q, D_IB are not the same (No in operation 716), the second result PDN may be increased (operation 718).

[0087] Similarly, the calibration logic 912 can check whether two other data D_IB, D_QB sampled by two other clocks CK_IB, CK_QB having a phase difference of 90 degrees are the same through XOR operation (operation 720). If the two data D_IB, D_QB are not the same (no in operation 720), the first result PUP can be increased (operation 722).

[0088] The calibration logic 912 may check whether two other data D_QB, D_I sampled by two other clocks CK_QB, CK_I having a phase difference of 90 degrees are the same through an XOR operation (operation 724). If the two data D_QB, D_I are not the same (No in operation 724), the second result PDN may be increased (operation 726).

[0089] In addition, since the data sequence received by the calibration logic 912 is DC balanced data in which the frequencies of "0" and "1" are equal, the cross point can be detected more quickly based on the frequency of "1". The calibration logic 912 can check whether each of the two data samples D_I and D_IB corresponding to the first clock CK_I and the third clock CK_IB is "1" through an XOR operation (operations 728, 734). If the first sampled data D_I corresponding to the first clock CK_I is "1", the fourth result DDN increases (operation 730). On the contrary, if the first sampled data D_I corresponding to the first clock CK_I is not "1" (i.e., "0"), the third result DUP increases (operation 732). In addition, if the third sampled data D_IB corresponding to the third clock CK_IB is "1", the fourth result DDN increases (operation 736). On the contrary, if the third sampled data D_IB corresponding to the third clock CK_IB is not "1" (i.e., "0"), the third result DUP increases (operation 738).

[0090] The calibration logic 912 may check whether the sum of the third result DUP and the fourth result DDN obtained by comparing the results (e.g., XOR operation) is 256 (operation 740). Since the third result DUP or the fourth result DDN increases corresponding to each bit of the 256-bit data sequence, the sum of the third result DUP and the fourth result DDN corresponding to 256 bits of the data sequence should be 256.

[0091] If the sum of the third result DUP and the fourth result DDN is not 256 (No in operation 740), the comparison result performed by the calibration logic 912 will be unreliable. In this case, the calibration logic 912 may set the four results PUP, PDN, DUP, DDN output from the counter 556 of the bang-bang phase detector 500 in the calibration logic 912 to "0" (operation 708). Thereafter, the comparison operation may be performed again.

[0092] If the sum of the third result DUP and the fourth result DDN is 256 (Yes in Operation 740), a first phase shift variable P_shift and a second phase shift variable D_shift for phase shift based on the four results PUP, PDN, DUP, and DDN output from the counter 556 may be determined (Operation 742). Figure 6 , the phase of the sampled data DQ-VrefQ corresponding to the set reference voltage VrefQ can be adjusted according to the first phase shift variable P_shift. For example, when the first phase shift variable P_shift is greater than "0" (P_shift>0), the phase of the sampled data DQ-VrefQ corresponding to the set reference voltage VrefQ can be reversed (see Figure 6On the contrary, if the first phase shift variable P_shift is less than "0" (P_shift<0), the phase of the sampled data DQ-VrefQ corresponding to the set reference voltage VrefQ may be shifted forward (see Figure 6 The second phase shift variable D_shift may be used similarly to the first phase shift variable P_shift. According to an embodiment, the second phase shift variable P_shift may be determined based on the difference between the first result PUP and the second result PDN, and the second phase shift variable D_shift may be determined based on the difference between the third result DUP and the fourth result DDN (operation 742).

[0093] Based on the first phase shift variable P_shift and the second phase shift variable D_shift, the calibration logic 912 may determine a first control code VRCODE corresponding to the set reference voltage VrefQ, and determine a second control code DLCODE corresponding to the data sampling clocks CK_Q, ​​CK_QB (operation 744). For example, the calibration logic 912 may select one within the code value range of the set reference voltage VrefQ stored in the calibration buffer 914. A plurality of codes (e.g., digital values) corresponding to the level of the set reference voltage VrefQ may be preset and stored in the calibration buffer 914 in a table form or the like. The calibration logic 912 may store a new first control code VRCODE obtained by adding the second phase shift variable D_shift to the current first control code VRCODE. Similarly, a plurality of codes (e.g., digital values) according to the phases of the data sampling clocks CK_Q, ​​CK_QB may be preset and stored in the calibration buffer 914. The calibration logic 912 may select one of the preset codes stored in the calibration buffer 914. The calibration logic 912 may store a new second control code DLCODE obtained by adding the first phase shift variable P_shift to the current second control code DLCODE.

[0094] When both the first phase shift variable P_shift and the second phase shift variable D_shift do not become "0" (no in operation 746), the calibration logic 912 may receive a 256-bit data sequence (operation 706). The calibration logic 912 may calculate four results PUP, PDN, DUP, and DDN according to the above-mentioned comparison operation until both the first phase shift variable P_shift and the second phase shift variable D_shift become "0". The operation of determining the first phase shift variable P_shift and the second phase shift variable D_shift for phase shift based on the four results PUP, PDN, DUP, and DDN may be repeated (operation 746). When both the first phase shift variable P_shift and the second phase shift variable D_shift are "0" (yes in operation 746), the calibration logic 912 may search for a set reference voltage VrefQ corresponding to the intersection point. Therefore, the iterative operation may terminate (operation 748).

[0095] Reference Figure 7 , the bang-bang phase detector 550 may include a first comparator 554, a second comparator 552, and a counter 556. The first comparator 554 may include: a plurality of sampling units configured to convert the comparison result of the data sequence DQ and the set reference voltage VrefQ into sampling data D_I, D_Q, D_IB, D_QB corresponding to the four clocks CK_I, CK_Q, ​​CK_IB, CK_QB; a plurality of first logic gates configured to output an exclusive OR (XOR) result of two of the sampling data D_I, D_Q, D_IB, D_QB; and a plurality of flip-flops connected to the plurality of first logic gates. The internal configuration of the first comparator 554 may be substantially similar to the internal configuration of a conventional bang-bang phase detector.

[0096] The second comparator 552 in the bang-bang phase detector 550 is operable to detect the crossing point more quickly based on the frequency of "1". The second comparator 552 may include: a plurality of second logic gates configured to output a plurality of XOR (exclusive OR) results between "1" and each of the sampled data D_I, D_IB corresponding to the two clocks CK_I, CK_IB as the duty cycle clocks; and a plurality of flip-flops respectively connected to the plurality of second logic gates.

[0097] The counter 556 in the bang-bang phase detector 550 can be coupled to the plurality of flip-flops in the first comparator 554 and the plurality of flip-flops in the second comparator 552 to increment (or count) the four results PUP, PDN, DUP, DDN. The counter 556 capable of incrementing each of the four results PUP, PDN, DUP, DDN can be substantially similar to Figure 5 Follow the steps described in .

[0098] Figure 8 A third example of the calibration operation according to an embodiment of the present disclosure is shown.

[0099] Reference Figure 3 and Figure 8 , even in order to reduce the need to find the voltage level with the widest eye width during calibration operations ( Figure 3 The calibration performance may not become degraded due to the time and power consumed in the second operation of “A”) shown in the figure, and the target range of the eye width scan is limited.

[0100] Eye width scanning of the calibration operation is a calibration technique used in high-speed digital communication systems to optimize the timing and voltage levels of transmitted signals or data. Signals transmitted in high-speed digital communication systems may be exposed to various types of distortion, such as jitter, noise, or inter-symbol interference (ISI). Due to such distortion, errors may occur in the received signal, which may reduce or affect the overall performance of the high-speed digital communication system. Eye width scanning can be used to determine the optimal timing and voltage level of the transmitted signal to mitigate the distortion. Eye width scanning may involve changing the timing and voltage level of the transmitted signal while monitoring an eye diagram as a graphical representation of the received signal.

[0101] The eye width scanning operation may involve sending a series of test patterns (e.g., a DC balanced sequence) at different timings and voltage levels. An eye diagram may then be constructed by plotting the voltage level and timing of the received signal, and the eye width may be defined as the distance between two points on the eye diagram where the signal crosses a decision threshold. By varying the timing and voltage level of the transmitted signal, the optimal timing and voltage level associated with the widest eye width may be identified or recognized through the eye width scanning operation. This information may then be used to calibrate the transceiver in the high-speed digital communication system to ensure optimal performance of the high-speed digital communication system.

[0102] like Figure 3 As shown, problems such as ringing, overshoot, or undershoot may occur in the data or signal. The eye width may become wider as it moves away from the overshoot or undershoot. The position farthest from the overshoot and undershoot may be the reference center voltage level which is the average level between the first level and the second level. In addition, the closer the intersection point (CP) is, the wider the eye width is. Therefore, it may be determined based on the reference center voltage level and the set voltage level corresponding to the intersection point that an eye width scan needs to be performed to find a voltage level with the widest eye width ( Figure 3 Therefore, during the calibration operation, the eye width scan may be iteratively performed from the set reference voltage VrefQ corresponding to the cross point to the reference center voltage level VcentQ.

[0103] Fig. 9 A second operation for calibration according to an embodiment of the present disclosure is shown. For example, Fig. 9 The second operation for calibration described in may include: checking Figure 4 The eye width described in (operation 604); increasing or decreasing the set reference voltage VrefQ (operation 606); and storing the set reference voltage VrefQ and the orthogonal phase clock CK_Q corresponding to the maximum (or widest) eye width (operation 608).

[0104] Reference Figure 2 and Fig. 9, after finding the set reference voltage VrefQ corresponding to the crossing point (Vix or Vox is completed), the calibration logic may perform an eye width scan to find the optimal eye width (operation 802).

[0105] The calibration logic 912 may initialize the parameters of the eye width scan (operation 804). For example, the first control code VRCODE corresponding to the set reference voltage VrefQ may maintain a previous value, and the second control code DLCODE corresponding to the data sampling clocks CK_Q and CK_QB may also maintain a previous value. The center code DLCENT corresponding to the data sampling clocks CK_Q and CK_QB is initially set to the second control code DLCODE. The maximum eye width MAXW may be set to "0", and the optimal reference voltage VROPT may also be set to "0". In addition, the third control code DLOPT corresponding to the optimal data sampling clocks CK_Q and CK_QB may also maintain a previous value.

[0106] The calibration logic 912 may receive the 256-bit data sequence DQ (operation 806). In this case, the 256-bit data sequence and the 256-bit inverted data sequence may be data sequences having the same frequency of "0" and "1" (ie, DC balanced data).

[0107] As described above, the calibration logic 912 may perform an eye width scan from a set reference voltage VrefQ corresponding to the intersection point. In response to the set reference voltage VrefQ corresponding to the intersection point, the calibration logic 912 may sample a 256-bit data sequence based on a second control code DLCODE corresponding to the data sampling clocks CK_Q, ​​CK_QB, and determine whether the sampled data passes (operation 808). If the sampled data passes (yes in operation 808), the calibration logic 912 may reduce the second control code DLCODE (operation 810). The calibration logic 912 may receive a 256-bit data sequence DQ based on the reduced second control code DLCODE (operation 806). If the sampled data does not pass (no in operation 808), the calibration logic 912 may store the current second control code DLCODE as a starting point (operation 812). Here, the starting point (Start) may indicate the starting point of the eye width (for example, Figure 3 The left point of each of the eye width arrows A and B in the Fig.10 left point of the eye width arrow in the figure).

[0108] Reference Figures 8 to 9, the operation of finding the starting point (Start) can be performed as follows. When the phase of the data sampling clocks CK_Q, ​​CK_QB is adjusted in the state of determining the set reference voltage VrefQ corresponding to the cross point, the sampling value of the 256-bit data sequence can change. Since the 256-bit data sequence is a kind of data (DC balanced data) in which the frequencies of "0" and "1" are equal, the calibration logic 912 can calculate the number of edges falling from the 1st level to the 2nd level. While pulling the timing (for example, reducing the second control code DLCODE, operation 810), the calibration logic 912 can check whether the frequencies of 0 and 1 are the same in the sampling value of the 256-bit data sequence (for example, whether the sampling data passes, operation 808).

[0109] Reference Fig. 9 , the calibration logic 912 determines the start point (Start) of the eye width (operation 812), and then determines the end point (End) of the eye width (operation 822), so that the eye width (W) can be determined (operation 824). In order to find the end point (End) of the eye width, the calibration logic 912 resets the second control code DLCODE to the center code DLCENT (operation 814).

[0110] The calibration logic 912 may receive a 256-bit data sequence (DQ) (operation 816). The calibration logic 912 samples the 256-bit data sequence based on the reset second control code DLCODE and determines whether the sampled data passes (operation 818). If the sampled data passes (operation 818 is yes), the calibration logic 912 increases the second control code DLCODE (operation 820). The calibration logic 912 may receive a 256-bit data sequence DQ based on the increased second control code DLCODE (operation 816). If the sampled data does not pass (operation 818 is no), the calibration logic 912 may store the current second control code DLCODE as an end point (operation 822). Here, the end point (End) may indicate an end point of the eye width (e.g., Figure 3 The right point of each of the eye width arrows A and B in Fig.10 right point of the eyebright arrow in the figure).

[0111] Reference Figures 8 to 9, the operation of finding the end point (End) may be performed as follows. When the phase of the data sampling clocks CK_Q and CK_QB is adjusted in a state where the set reference voltage VrefQ corresponding to the cross point is determined, the sampled value of the 256-bit data sequence may change. Since the 256-bit data sequence is a kind of data (DC balanced data) in which the frequency of 0 and 1 is the same, the calibration logic 912 may delay the timing of the edge rising from the second level to the first level (for example, increase the second control code DLCODE, operation 820), and check whether the frequency of 0 and 1 is the same in the sampled value of the 256-bit data sequence (for example, whether the sampled data passes, operation 818).

[0112] After finding the start point (Start) and the end point (End) corresponding to the set reference voltage VrefQ (operations 812, 822), the calibration logic 912 may determine the difference between the start point (Start) and the end point (End) as the eye width W. The calibration logic 912 may determine the center code DLCENT as a value obtained by multiplying the sum of the start point (Start) and the end point (End) by 0.5 (operation 824).

[0113] The calibration logic 912 may check whether the eye width W is greater than the maximum eye width MAXW (operation 826). Since the maximum eye width MAXW is initially set to "0", the eye width W first identified may be stored as the maximum eye width MAXW (operation 830). Subsequently, if the eye width W is greater than the maximum eye width MAXW (operation 826 is yes), the current eye width W greater than the previously stored maximum eye width MAXW may be updated to the maximum eye width MAXW (operation 830). In addition, whenever the maximum eye width MAXW is updated, the calibration logic 912 may determine the current reference voltage VRCODE and the current center code DLCENT as the optimal reference voltage VROPT and the third control code DLOPT (operation 830). If the eye width W is less than the previously stored maximum eye width MAXW (operation 826 is no), the calibration logic 912 may not update the maximum eye width MAXW, the optimal reference voltage VROPT, and the third control code DLOPT.

[0114] The calibration logic 912 may check whether the first control code VRCODE corresponds to the reference center voltage Vcent (operation 828). If the first control code VRCODE indicates the reference center voltage Vcent (operation 828 is yes), the calibration logic 912 may terminate the eye width scan (operation 840).

[0115] If the first control code VRCODE is not the reference center voltage Vcent (operation 828 is no), the calibration logic 912 may check whether the first control code VRCODE is greater than the reference center voltage Vcent (operation 832). If the first control code VRCODE is greater than the reference center voltage Vcent (operation 832 is yes), the calibration logic 912 may decrease the first control code VRCODE (operation 836). On the contrary, if the first control code VRCODE is less than the reference center voltage Vcent (operation 832 is no), the calibration logic 912 may increase the first control code VRCODE (operation 834). After increasing the first control code VRCODE (operations 834, 836), the calibration logic 912 may reset the second control code DLCODE to the center code DLCENT (operation 838).

[0116] In an embodiment of the present invention, the time and power consumed by the calibration operation can be reduced by limiting the target range of the eye width scan. The target range of the eye width scan can be limited from the set reference voltage VrefQ corresponding to the intersection point to the reference center voltage Vcent. Since the set reference voltage VrefQ corresponding to the intersection point can be greater than or less than the reference center voltage Vcent, the calibration logic 912 can check whether the first control code VRCODE is greater than the reference center voltage Vcent (operation 832) to increase or decrease the set reference voltage VrefQ toward the reference center voltage Vcent.

[0117] In response to the changed set reference voltage level (i.e., increase / decrease of the first control code VRCODE, operations 834, 836), the calibration logic 912 may receive the 256-bit data sequence DQ (operation 806). The calibration logic 912 may perform eye width scanning by sampling the 256-bit data sequence based on the reset second control code DLCODE.

[0118] Fig.10 The effects of the calibration device and the calibration method according to the embodiments of the present disclosure are shown.

[0119] Reference Fig.10 , it can be seen that the number of iterations performed by the calibration logic for the calibration operation is changed according to an embodiment of the present invention, which is different from the conventional case. Conventionally, the eye width scan is iteratively performed within the range between the 1st level and the 2nd level. However, the eye width scan according to an embodiment of the present invention can be iteratively performed based on a standard corresponding to the intersection point. The eye width scan is performed only from the level of the set reference voltage VrefQ to the level of the reference center voltage VcentQ. Therefore, the number of iterations of the eye width scan can be reduced, and the time and power consumed in the calibration operation can be reduced.

[0120] As described above, the calibration apparatus according to the embodiment of the present invention can reduce the time and power consumed to calibrate data or signals transmitted and received via a data line.

[0121] In addition, in the low-power memory device or memory system according to the embodiments of the present invention, the degradation of data input / output performance can be avoided or reduced.

[0122] In addition, in a memory device or memory system according to an embodiment of the present invention, exposure of data or signals to crosstalk, ringing, overshoot or undershoot that may occur due to simultaneous switching noise (SSN) in a data channel shared by multiple memory dies can be suppressed, avoided or reduced.

[0123] Methods, processes and / or operations described herein can be performed by codes or instructions to be performed by computers, processors, controllers or other signal processing devices. Computers, processors, controllers or other signal processing devices can be those described herein or one except the elements described herein. Due to the detailed description of the algorithm forming the method or basis of operation of computers, processors, controllers or other signal processing devices, the code or instructions for realizing the operation of the method implementation method can transform computers, processors, controllers or other signal processing devices into special processors for performing the method herein.

[0124] In addition, another embodiment may include a computer-readable medium, such as a non-transitory computer-readable medium, for storing the above code or instructions. The computer-readable medium may be a volatile or non-volatile memory or other storage device, which may be removably or fixedly connected to a computer, processor, controller or other signal processing device, which will execute the code or instructions for performing the operations of the method embodiments or apparatus embodiments herein.

[0125] The controllers, processors, control circuits, devices, modules, units, multiplexers, generators, logic, interfaces, decoders, drivers, generators, and other signal generation and signal processing features of the embodiments disclosed herein may be implemented in, for example, non-transitory logic that may include hardware, software, or both. When at least partially implemented in hardware, the controllers, processors, control circuits, devices, modules, units, multiplexers, generators, logic, interfaces, decoders, drivers, generators, and other signal generation and signal processing features may be, for example, any of a variety of integrated circuits, including but not limited to an application specific integrated circuit, a field programmable gate array, a combination of logic gates, a system on a chip, a microprocessor, or another type of processing or control circuit.

[0126] When implemented at least in part in software, controllers, processors, control circuits, devices, modules, units, multiplexers, generators, logic, interfaces, decoders, drivers, generators, and other signal generation and signal processing features may include, for example, memory or other storage devices for storing codes or instructions to be executed by, for example, computers, processors, microprocessors, controllers, or other signal processing devices. The computer, processor, microprocessor, controller, or other signal processing device may be those described herein or one in addition to the elements described herein. Since the algorithms forming the basis of the methods or operations of the computer, processor, microprocessor, controller, or other signal processing device are described in detail, the code or instructions for implementing the operations of the method implementation embodiments may transform the computer, processor, controller, or other signal processing device into a dedicated processor for performing the methods described herein.

[0127] Although the present teaching has been shown and described with respect to specific embodiments, it will be apparent to those skilled in the art in light of this disclosure that various changes and modifications may be made without departing from the spirit and scope of the present disclosure as defined in the following claims. In addition, these embodiments may be combined to form additional embodiments.

[0128] CROSS-REFERENCE TO RELATED APPLICATIONS

[0129] This application claims priority to Korean Patent Application No. 10-2023-0041085, filed on March 29, 2023, the entire disclosure of which is incorporated herein by reference.

Claims

1. A calibration device connected to a communication line shared by a plurality of devices, wherein: The calibration device: performing iterative eye width scanning by adjusting a set voltage level by a preset level from a first voltage level to a reference center voltage level, wherein the first voltage level corresponds to a crossing point where a value of a signal or data transmitted via the communication line changes in different directions; and A voltage level corresponding to a maximum value among a plurality of eye widths obtained by the iterative eye width scanning is set as a zero crossing of the signal or the data.

2. The calibration device according to claim 1, in, The calibration device also: sending a preset sequence and an inverse sequence of the preset sequence to at least one of the plurality of devices; and detecting the intersection point as the intersection of the preset sequence and the inverted sequence, and The preset sequence and the inversion sequence are DC balance data of "0" and "1" having the same frequency.

3. The calibration device according to claim 2, wherein: The calibration device also performs compensation or adjustment of the quadrature phase by using four different phase clocks including two duty cycle clocks and two quadrature phase clocks.

4. The calibration device according to claim 3, in, The calibration device includes a bang-bang phase detector using the four different phase clocks, and Wherein, the bang-bang phase detector detects the crossing point based on the frequency of "1".

5. The calibration device according to claim 4, wherein: The bang-bang phase detector comprises: a plurality of first logic gates, each of which outputs a result of an XOR operation on two of the data sampled by the four different phase clocks; A plurality of second logic gates, each second logic gate outputting a result of an exclusive OR operation between a value "1" and each data sampled by the two orthogonal phase clocks; a plurality of flip-flops coupled to the plurality of first logic gates and the plurality of second logic gates; and A counter is provided for increasing or decreasing at least one parameter associated with the four different phase clocks based on the plurality of flip-flops.

6. The calibration device according to claim 3, in, The calibration device performs the iterative eye width scan by the following operations: adjusting the set voltage level from the first voltage level to the reference center voltage level according to the preset level; performing an iterative scan for adjusting the two quadrature phase clocks to measure the start and end of the eye width corresponding to the adjusted set voltage level for determining a current eye width; as well as When the current eye width is greater than a previously stored eye width obtained during the iterative scan, replacing the previously stored eye width with the current eye width, and The calibration device determines the voltage level corresponding to the stored eye width as the zero crossing.

7. The calibration device according to claim 1, wherein: The calibration device performs the iterative eye width scan and determines the zero crossing in a separate and independent manner for each of the plurality of devices, the signal or the data being exposed to crosstalk, ringing, overshoot or undershoot due to simultaneous switching noise when transmitted via the communication line.

8. A memory system, the memory system comprising: a plurality of memory dies storing data; a data channel, the data channel being shared by the plurality of memory dies; as well as A storage controller, the storage controller: performing an iterative eye width scan by adjusting a set voltage level from a first voltage level to a reference center voltage level by a preset level, wherein the first voltage level corresponds to a crossing point where a value of a signal or data transmitted through the data channel changes in different directions; determining a voltage level corresponding to a maximum value among a plurality of eye widths determined by the iterative eye width scanning as a zero crossing of the signal or the data; and The signal or the data is exchanged with the plurality of memory dies via the data channel based on the zero crossing to control a data input / output operation performed on the plurality of memory dies.

9. The memory system according to claim 8, wherein: The storage controller comprises: calibration logic to send a preset data sequence and an inverse sequence of the preset data sequence to the plurality of memory dies to detect the cross-points; and A calibration buffer stores the zero crossings for each of the plurality of memory dies, the zero crossings being output from the calibration logic.

10. The memory system according to claim 9, wherein: The preset data sequence and the inversion sequence are DC balanced data of “0” and “1” having the same frequency.

11. The memory system according to claim 9, wherein: The calibration logic also performs compensation or adjustment of the quadrature phase by using four different phase clocks including two duty cycle clocks and two quadrature phase clocks.

12. The memory system according to claim 11, in, The calibration logic includes a bang-bang phase detector using the four different phase clocks, and Wherein, the bang-bang phase detector detects the crossing point based on the frequency of "1".

13. The memory system according to claim 12, wherein: The bang-bang phase detector comprises: a plurality of first logic gates, each of which outputs a result of an XOR operation on two of the data sampled by the four different phase clocks; A plurality of second logic gates, each second logic gate outputting a result of an exclusive OR operation between a value "1" and each data sampled by the two orthogonal phase clocks; a plurality of flip-flops coupled to the plurality of first logic gates and the plurality of second logic gates; and A counter is provided for increasing or decreasing at least one parameter associated with the four different phase clocks based on the plurality of flip-flops.

14. The memory system according to claim 11, in, The calibration logic also performs the iterative eye width scan by: adjusting the set voltage level from the first voltage level to the reference center voltage level according to the preset level; performing an iterative scan for adjusting the two quadrature phase clocks to measure the start and end of the eye width corresponding to the adjusted set voltage level for determining a current eye width; as well as When the current eye width is greater than a previously stored eye width obtained during the iterative scan, replacing the previously stored eye width with the current eye width, and The calibration logic further determines a voltage level corresponding to the stored eye width as the zero crossing.

15. The memory system according to claim 8, wherein: The memory controller performs the iterative eye width scan and determines the zero crossing in a separate and independent manner for each memory die, the signal or the data being exposed to crosstalk, ringing, overshoot or undershoot due to simultaneous switching noise when transmitted via the data channel.

16. A method for operating a memory system, the method comprising the steps of: detecting a cross point where a value of a signal or data changes in different directions to exchange the data or the signal with the plurality of memory dies via a data channel shared by the plurality of memory dies; performing an iterative eye width scan by adjusting a set voltage level from a first voltage level corresponding to the cross point to a reference center voltage level by a preset level; as well as A voltage level corresponding to a maximum value among a plurality of eye widths obtained by the iterative eye width scanning is determined as a zero crossing of the signal or the data.

17. The method according to claim 16, in, The step of detecting the cross point comprises the steps of: sending a preset data sequence and an inverse sequence of the preset data sequence to at least one of the plurality of memory dies, and The preset data sequence and the inversion sequence are DC balanced data of "0" and "1" having the same frequency.

18. The method according to claim 17, wherein: The crossing point is detected based on the frequency of "1" of the preset data sequence and the inversion sequence.

19. The method according to claim 16, wherein: The step of iterating the eye width comprises the following steps: adjusting the set voltage level from the first voltage level to the reference center voltage level according to the preset level; performing an iterative scan for adjusting two quadrature phase clocks to measure the start and end of an eye width corresponding to the adjusted set voltage level for determining a current eye width; and When the current eye width is greater than a previously stored eye width obtained during the iterative scanning, the previously stored eye width is replaced with the current eye width.

20. The method according to claim 16, wherein: The detecting step, the executing step, and the determining step are performed in a separate and independent manner for each memory die.