Storage device and storage device operation method

By using delay-locked loops and retrainers in storage devices to detect and calibrate signal transmission timing errors, the problem of reduced reliability caused by increased data communication speeds in storage devices is solved, achieving higher data transmission stability and accuracy. sex.

CN110517714BActive Publication Date: 2024-10-18SAMSUNG ELECTRONICS CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN201910328763.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-04-23
Publication Date
2024-10-18
Estimated Expiration
2039-04-23

AI Technical Summary

Technical Problem

With the development of semiconductor circuit manufacturing technology, the data communication speed of storage devices has increased, causing unexpected errors to occur and reducing the reliability of storage devices.

Method used

By introducing a delay-locked loop and a retrainer into the storage device, signal transmission timing errors are detected, and a retraining operation is performed when the error reaches a certain threshold to calibrate the delay of the delay-locked loop and improve the accuracy of signal transmission timing. .

Benefits of technology

It effectively improves the reliability of the storage device, reduces the occurrence of errors, and enhances the stability and accuracy of data communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110517714B_ABST
    Figure CN110517714B_ABST
Patent Text Reader

Abstract

A storage device and a method for operating the storage device are disclosed. The storage device includes a nonvolatile memory device and a controller that reads first data from the nonvolatile memory device. When the number of first errors of the first data is not less than a first threshold, the controller determines whether the first error includes a timing error generated from a change in a signal transmission timing between the nonvolatile memory device and the controller, and when the first error includes a timing error, performs a retraining operation on the signal transmission timing.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims the priority benefit of Korean Patent Application No. 10-2018-0057726 filed on May 21, 2018, in the Korean Intellectual Property Office, the disclosure of which is incorporated herein in its entirety by reference. Technical Field

[0002] The present disclosure relates to a semiconductor memory and more particularly to a memory device and a method for operating the memory device. Background Art

[0003] A storage device refers to a device that stores data under the control of a host device such as a computer, smartphone, or tablet. The storage device stores data and may be a disk such as a hard disk drive (HDD) or a nonvolatile memory (a form of semiconductor memory) such as a solid state drive (SSD) or a memory card.

[0004] The non-volatile memory device may be or may include: read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, phase change random access memory (PRAM), magnetic RAM (MRAM), resistive RAM (PRAM) or ferroelectric RAM (FRAM), etc.

[0005] With the development of technology for manufacturing semiconductor circuits, the operating speed of storage devices has increased. Specifically, the data communication speed between non-volatile memory devices and controllers for controlling the non-volatile memory devices has increased dramatically. The sharp increase in data communication speed leads to unexpected errors, thereby reducing the reliability of the storage device. Summary of the invention

[0006] Embodiments of the present disclosure provide a storage device having improved reliability and an operating method of the storage device.

[0007] According to an exemplary embodiment, a storage device includes a nonvolatile memory device and a controller that reads first data from the nonvolatile memory device. When the number of first errors of the first data is not less than a first threshold, the controller determines whether the first error includes a timing error generated from a change in a signal transmission timing between the nonvolatile memory device and the controller, and when the first error includes the timing error, performs a retraining operation on the signal transmission timing.

[0008] According to another exemplary embodiment, a storage device includes: a plurality of first nonvolatile memory devices, a plurality of second nonvolatile memory devices, and a controller that communicates with the plurality of first nonvolatile memory devices through a first channel and communicates with the plurality of second nonvolatile memory devices through a second channel. When the number of errors of data read from a specific nonvolatile memory device among the plurality of first nonvolatile memory devices is not less than a threshold value, the controller determines whether the errors include timing errors generated from a variation in signal transmission timing between the specific nonvolatile memory device and the controller, and when the errors include timing errors, determines the plurality of first nonvolatile memory devices as targets of a retraining operation.

[0009] According to another exemplary embodiment, a storage device includes a nonvolatile memory device and a controller. A storage device operation method includes: the controller reads data from the nonvolatile memory device, sends the first test data to the nonvolatile memory device when the number of first errors of the first test data is not less than a first threshold, receives second test data, and performs a retraining operation on the nonvolatile memory device when the number of second errors of the second test data is not less than a second threshold. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The above and other objects and features of the present disclosure will become apparent through detailed description of exemplary embodiments of the present disclosure with reference to the attached drawings.

[0011] Figure 1 is a block diagram illustrating a storage device according to an embodiment of the present disclosure.

[0012] Figure 2 is a flowchart illustrating an operating method of a storage device according to an embodiment of the present disclosure.

[0013] Figure 3 and Figure 4 is a diagram illustrating an example of a test operation in which a memory manager determines whether a retraining operation is required according to an embodiment of the present disclosure.

[0014] Figure 5 is a flow chart illustrating a method of operation of a storage device according to application of the teachings of the present disclosure.

[0015] Figure 6 is a flowchart illustrating an example in which information of a retraining operation is applied to a next retraining operation according to an embodiment of the present disclosure.

[0016] Figure 7 is a diagram illustrating a first example of a retraining operation according to an embodiment of the present disclosure.

[0017] Figure 8is a diagram illustrating a second example of a retraining operation according to an embodiment of the present disclosure.

[0018] Fig. 9 and Fig.10 is a diagram illustrating a third example of a retraining operation according to an embodiment of the present disclosure.

[0019] Fig.11 is a block diagram illustrating another storage device according to an embodiment of the present disclosure.

[0020] Fig.12 is a flow chart illustrating a method of operation of a storage device according to application of the teachings of the present disclosure.

[0021] Fig.13 It shows that the storage device is based on Fig.12 An illustration of an example of an operation method of performing an operation. DETAILED DESCRIPTION

[0022] Hereinafter, embodiments of the present disclosure will be described in detail and clearly to such an extent that a person having ordinary skill in the art can easily implement the inventive concepts described herein.

[0023] Figure 1 is a block diagram illustrating a storage device 100 according to an embodiment of the present disclosure.

[0024] Included in this Figure 1 In the accompanying drawings of the present invention, circuits may be shown as, for example, "host interface blocks", "controllers", "processors", "retrainers", "error handlers", "memory managers", and "control logic". As is conventional in the art of the inventive concepts described herein, embodiments may be described and shown in terms of blocks that perform the functions described. These blocks, which may be referred to herein as host interface blocks, controllers, processors, retrainers, error handlers, memory managers, and control logic, etc., are physically implemented by analog and / or digital circuits such as logic gates, integrated circuits, microprocessors, microcontrollers, memory circuits, passive electronic components, active electronic components, optical components, hard-wired circuits, etc., and may be selectively driven by firmware and / or software. The circuits may be implemented, for example, in one or more semiconductor chips, or on a substrate support such as a printed circuit board. The circuits constituting the blocks may be implemented by dedicated hardware or by a processor (e.g., one or more programmed microprocessors and associated circuits) or by a combination of dedicated hardware that performs some functions of the blocks and a processor that performs other functions of the blocks. Each block of the examples may be physically divided into two or more interacting and discrete blocks without departing from the scope of the inventive concepts. Similarly, the illustrated blocks may be physically combined into more complex blocks without departing from the scope of the inventive concept.

[0025] Reference Figure 1 , the memory device 100 includes a nonvolatile memory device 110 and a controller 120. The nonvolatile memory device 110 is configured to perform a write operation, a read operation, or an erase operation under the control of the controller 120. The nonvolatile memory device 110 may include a memory cell array 111, an address decoder 112, a page buffer 113, a global buffer 114, and a control logic 116. Consistent with the description of the functional blocks above, references to logic such as the control logic 116 herein refer to circuits of one or more circuit elements such as a programmable logic device (PLD), a complex programmable logic device (CPLD), and / or a processor including an application specific integrated circuit (ASIC).

[0026] The memory cell array 111 may include a plurality of memory blocks. Each memory block includes a plurality of memory cells. Each memory cell may be connected to the address decoder 112 at least through a word line WL and a select line SL. Each memory block may be connected to the page buffer 113 through a plurality of bit lines BL.

[0027] In one embodiment, each memory block in the memory block can be a unit of erase operation or a unit corresponding to an erase operation. The memory cells of the memory cell array 111 can be erased for each memory block. The memory cells belonging to one memory block can be erased at the same time. In another example embodiment, each memory block can be divided into a plurality of sub-blocks. Each sub-block in the plurality of sub-blocks can be a unit of erase operation or a unit corresponding to an erase operation.

[0028] The address decoder 112 is connected to the memory cell array 111 through the word lines WL and the selection lines SL. The address decoder 112 operates under the control of the control logic 116. The address decoder 112 may receive the address AD from the global buffer 114, may decode the address AD, and may control voltages to be applied to the selection lines SL and the word lines WL according to the decoded addresses.

[0029] The page buffer 113 is connected to the memory cell array 111 through the bit lines BL. The page buffer 113 may exchange data DT with the global buffer 114. In a write operation, the page buffer 113 may receive data DT from the global buffer 114 and may control a voltage of the bit lines BL according to the received data.

[0030] In a read operation, the page buffer 113 may latch the voltage of the bit line BL and may send the result of the latch operation to the global buffer 114 as data DT. In a training or retraining operation, the page buffer 113 may receive data DT from the global buffer 114 and may return the received data DT to the global buffer 114.

[0031] The global buffer 114 may receive a command CMD, an address AD, or data DT from the controller 120 through an input / output line DQ. Under the control of the control logic 116, the global buffer 114 may send a command CMD to the control logic 116, an address AD to the address decoder 112, and data DT to the page buffer 113.

[0032] The global buffer 114 may transmit the data DT to the controller 120 through the input / output line DQ. The global buffer 114 may include a delay locked loop (DLL) 115 for data transmission. The delay locked loops 115 may correspond to the input / output lines DQ, respectively.

[0033] The delay of the delay locked loop 115 may be adjusted through a training or retraining operation. The global buffer 114 may transmit a plurality of pieces of data DT to the controller 120 through the input / output line DQ according to the output of the delay locked loop 115 .

[0034] Control logic 116 may receive control signal CTRL from controller 120 through control line CL. Control logic 116 (and controller 120 as a source of control signal CTRL) may control address decoder 112, page buffer 113, and global buffer 114 according to the received control signal CTRL.

[0035] The control logic 116 may send a control signal CTRL to the controller 120 through a control line CL. The control logic 116 may include a delay locked loop 117 for signal transmission. The delay of the delay locked loop 117 may be adjusted through a training or retraining operation. The control logic 116 may send a control signal CTRL to the controller 120 through a control line CL according to the output of the delay locked loop 117.

[0036] The controller 120 may allow the nonvolatile memory device 110 to perform a write operation, a read operation, or an erase operation. The controller 120 may include a bus 121, a processor 122, a random access memory 125, a host interface block 126, and a memory manager 127.

[0037] The bus 121 provides a channel between components of the controller 120. The processor 122 may convert a format of a command transmitted from an external host device and may transmit the command in the converted format to the memory manager 127. The processor 122 may perform various functions for maintaining or improving performance of the memory device 100.

[0038] The processor 122 may include a retrainer 123 and an error handler 124. When a specific condition is satisfied, the retrainer 123 may send a command to the memory manager 127 based on the specific condition being satisfied, so that a retraining operation is performed. The retrainer 123 may be implemented in the form of a circuit of the processor 122 and / or in the form of a code executable by the circuit.

[0039] When a specific condition is satisfied, the error handler 124 may send a command to the memory manager 127 based on the specific condition being satisfied so that subsequent processing according to the error is performed. The error handler 124 may be implemented in the form of a circuit of the processor 122 and / or in the form of a code executable by the circuit.

[0040] The random access memory 125 may be used as a working memory of the processor 122. The random access memory 125 may also be used as a buffer memory or a cache memory between an external host device and the nonvolatile memory device 110. The random access memory 125 may be implemented inside or outside the controller 120, or may be implemented inside and outside (physically and operationally / functionally) of the controller 120. The random access memory 125 may be implemented with DRAM or SRAM.

[0041] The host interface block 126 may communicate with an external host device. For example, the host interface block 126 may transmit a command provided from the external host device to the processor 122, and may transmit data provided from the external host device to the random access memory 125.

[0042] The host interface block 126 may transmit the response to the external host device. The host interface block 126 may transmit the data stored in the random access memory 125 to the external host device.

[0043] The memory manager 127 may operate in response to a command from the processor 122. The memory manager 127 may exchange a control signal CTRL with the nonvolatile memory device 110 through a control line CL. The memory manager 127 may transmit a command CMD and an address AD to the nonvolatile memory device 110 through an input / output line DQ.

[0044] The memory manager 127 may transmit the data stored in the random access memory as data DT to the nonvolatile memory device 110 through the input / output line DQ. The memory manager 127 may also receive the data DT from the nonvolatile memory device 110 to store the data DT in the random access memory 125.

[0045] The memory manager 127 may include an error correction block 128. The error correction block 128 may perform error correction encoding or decoding based on an error correction code (ECC). The error correction block 128 may add a parity bit to the data DT to be transmitted to the nonvolatile memory device 110. The error correction block 128 may detect and correct an error from the data DT received from the nonvolatile memory device 110 by using the parity bit.

[0046] The memory manager 127 may include a delay locked loop 129 for signal transmission and data transmission. The delay of the delay locked loop 129 may be adjusted through a training or retraining operation. According to the output of the delay locked loop 129, the memory manager 127 may transmit a control signal CTRL to the nonvolatile memory device 110 through a control line CL, and may transmit a command CMD, an address AD, and data DT to the nonvolatile memory device 110 through an input / output line DQ.

[0047] According to one embodiment of the present disclosure, the controller 120 and the non-volatile memory device 110 are configured to transmit signals (e.g., control signals and data) by using the delay locked loop 115, the delay locked loop 117, and the delay locked loop 129. When an error in the timing of signal transmission occurs, the controller 120 may perform a retraining operation to calibrate the delays of the delay locked loop 115, the delay locked loop 117, and the delay locked loop 129 based on the occurrence of the error in the timing of signal transmission. Therefore, the reliability of the memory device 100 is improved. That is, as used herein with respect to Figure 1 The term “signal transmission timing” in the embodiments and other embodiments relates to the timing of signals (e.g., control signals and data) transmitted by the controller 120 and the non-volatile memory device 110 by using the delay locked loop 115, the delay locked loop 117, and the delay locked loop 129.

[0048] exist Figure 1 In the embodiment shown in FIG. 1 , the retrainer 123 is implemented in the processor 122. However, the retrainer 123 may be implemented in the memory manager 127 (e.g., physically disposed in or executed by the memory manager 127). The memory manager 127 may be configured to, when there is an error in the signal transmission timing, perform a retraining operation of the nonvolatile memory device 110 based on the presence of the error in the signal transmission timing.

[0049] Figure 2 1 is a flowchart showing an operation method of the storage device 100 according to an embodiment of the present disclosure. Figure 1 and Figure 2In operation S110, the memory device 100 may perform an initial training operation. For example, the initial training operation may be performed after power is supplied to the memory device 100 or after the memory device 100 is reset. As the initial training operation is performed, the controller 120 may calibrate the delays of the delay locked loops 115, 117, and 129 to appropriate delays.

[0050] In operation S120 , the controller 120 may read the data DT. For example, the controller 120 may read the data DT from the nonvolatile memory device 110 by transmitting a command CMD, an address AD, and a control signal CTRL for a read operation to the nonvolatile memory device 110 .

[0051] In operation S130, the controller 120 may determine whether the number of errors of the data DT is not less than the first threshold TV1. The controller 120 may detect the error of the data DT by using the error correction block 128 of the memory manager 127. The controller 120 may compare the number of errors with the first threshold TV1.

[0052] When the number of errors is not less than the first threshold TV1, the controller 120 performs operation S140 to determine whether a retraining operation is required based on the number of errors being equal to or greater than the first threshold TV1. When the number of errors is less than the first threshold TV1, the controller 120 may determine that a retraining operation is not required and may terminate a process associated with the retraining operation based on the number of errors being less than the first threshold TV1.

[0053] In operation S140, the controller 120 may determine whether the error includes a timing error generated from a change in the signal transmission timing. For example, after the delays of the delay locked loops 115, 117, and 129 are locked (or fixed), the delays of the delay locked loops 115, 117, and 129 may change over time or with a change in temperature. The controller 120 may determine whether there is a timing error generated from a change in delay (i.e., a change in the signal transmission timing).

[0054] When it is determined in operation S150 that the errors include timing errors, the controller 120 may perform a retraining operation in operation S160 based on the determination that the errors include timing errors. As explained later, the retraining operation in operation S160 may be performed based on determining that the number of timing errors is greater than a second threshold TV2 as part of the determination of S150. Thus, errors compared to the first threshold TV1 may be considered as first errors, and a subset of first errors compared to such a second threshold TV2 may be considered as second errors. Then, the process associated with the retraining operation may end. When the errors do not include timing errors, the controller 120 may terminate the process associated with the retraining operation based on the determination that the errors do not include timing errors.

[0055] As described above, when the number of errors is not less than the first threshold TV1, the controller 120 may determine whether a retraining operation is required. When a retraining operation is required, for example, when there is a timing error, the controller 120 may calibrate the delays of the delay locked loops 115, 117, and 129 to appropriate delays by performing a retraining operation.

[0056] In one embodiment, the first threshold TV1 may be set equal to the maximum number of correctable errors that the error correction block 128 corrects or can correct. For example, the first threshold TV1 may be less than the maximum number of errors that the error correction block 128 corrects or can correct. That is, in the above two examples, the first threshold may be equal to or less than the maximum number of errors that the error correction block 128 corrects (or can correct). In this case, independent of the controller 120 performing a process associated with the retraining operation, the controller 120 may correct the error of the data DT by using the error correction block 128. The controller 120 may provide the error-corrected data to an external host device or may use the error-corrected data internally.

[0057] Figure 3 and Figure 4 is a test operation (corresponding to Figure 2 For example, the memory manager 127 may transmit the test pattern (first pattern data) to the nonvolatile memory device 110 (refer to S130 to S160 in FIG. 1 ). Figure 3 ) and receives a test pattern (second pattern data) from the nonvolatile memory device 110 (refer to Figure 4 ) to determine if there is a timing error ( Figure 2When sent from the memory manager 127 of the controller 120 to the nonvolatile memory device 110, the test pattern may be considered as first mode data, and when sent from the nonvolatile memory device 110 to the memory manager 127 of the controller 120, the test pattern may be considered as second mode data.

[0058] Reference Figure 3 , the memory manager 127 may send a test pattern (first pattern data) to the nonvolatile memory device 110. The memory manager 127 may send a command CMD, an address AD, and data DT through the input / output line DQ. For example, after sending a command CMD (e.g., a write command) "80h", the memory manager 127 may send an address AD including a first column address CA1, a second column address CA2, a first row address RA1, a second row address RA2, and a third row address RA3 to the nonvolatile memory device 110.

[0059] After the address AD, the memory manager 127 may transmit specific mode data (first mode data) as data DT to the nonvolatile memory device 110. The data DT is transmitted to the global buffer 114 through the input / output line DQ. In response to the control signal CTRL, the control logic 116 may control the global buffer 114 so that the data DT stored in the global buffer 114 is transmitted to the page buffer 113.

[0060] In a conventional write operation, the memory manager 127 may also send a command CMD “10h” (eg, a confirm command). In response to the confirm command, the nonvolatile memory device 110 may perform a write operation by using the data DT stored in the page buffer 113 .

[0061] The memory manager 127 according to an embodiment may be configured not to send a confirmation command. Since the confirmation command is not sent, a write operation using the data DT stored in the page buffer 113 is blocked. Figure 3 As shown in , the controller 120 controls the nonvolatile memory device 110 so that the first mode data (data DT) is stored only to the page buffer 113 and is not written to the memory cell array 111. The controller 120 can do this by sending a write command and the first mode data (data DT) to the nonvolatile memory device 110 and not sending a confirmation command like a conventional write operation. Therefore, noise or degradation of the memory cell array 111, an operation of writing data to the memory cell array 111, and an operation of reading data from the memory cell array 111 are prevented from being applied to the process of sending data to the nonvolatile memory device 110 and receiving data from the nonvolatile memory device 110 for the controller 120 to determine whether there is a timing error.

[0062] Reference Figure 4 , the memory manager 127 may receive a test pattern (second pattern data) from the nonvolatile memory device 110. The memory manager 127 may send a command CMD and an address AD through the input / output line DQ. For example, after sending a command CMD (e.g., an output command) "00h", the memory manager 127 may send an address AD including a first column address CA1, a second column address CA2, a first row address RA1, a second row address RA2, and a third row address RA3 to the nonvolatile memory device 110.

[0063] Then, the memory manager 127 may also transmit a command CMD (eg, an output command) “05h”, an address AD including the third column address CA3 and the fourth column address CA4 , and a command CMD (eg, an output command) “E0h”.

[0064] In response to the command CMD and the address AD, the nonvolatile memory device 110 may transmit the data DT (e.g., specific mode data as the second mode data) stored in the page buffer 113 to the memory manager 127 through the global buffer 114 and the input / output line DQ. The memory manager 127 may receive the data DT (specific mode data as the second mode data) through the input / output line DQ.

[0065] Reference Figure 3 and Figure 4 , data DT is transmitted from the memory manager 127 to the nonvolatile memory device 110 as first pattern data by using the delay locked loop 129. Data DT is transmitted from the nonvolatile memory device 110 to the memory manager 127 as second pattern data by using the delay locked loop 115.

[0066] The data DT may be transmitted in synchronization with the control signal CTRL transmitted by using the delay locked loop 129 and the delay locked loop 117. The memory manager 127 may detect an error of the data DT (second mode data) by using the error correction block 128. A timing error may dominate among errors of the data DT (second mode data) received by the memory manager 127. The controller 120 (refer to Figure 1 ) can determine whether there is a timing error in the errors of the received data DT (second mode data).

[0067] For example, the determination in step S150 may be based on the second threshold TV2 ( Figure 2 Therefore, when the number of errors in the received data DT (second mode data) is not less than the second threshold TV2 ( Figure 2(not shown), the controller 120 may determine in step S150 that there is a timing error. Figure 2 In the embodiment of the present invention, in operation S120, the controller 120 may further determine the error caused by the data read from the nonvolatile memory device 110 in S120. Figure 3 and Figure 4 shown in (and corresponding to Figure 2 The errors in the test operation of S130 to S160 in the embodiment include timing errors.

[0068] Figure 5 is a flowchart illustrating an operating method of the storage device 100 according to an application of the inventive concept described herein. Figure 1 and Figure 5 , except that operation S290 is performed when it is determined in operation S250 that the error does not include a timing error, operations S210 to S260 are performed in accordance with Figure 2 Therefore, in order to avoid repetition, additional descriptions associated with operations S210 to S260 will be omitted. Figure 5 In operation S260, retraining may be performed based on determining as part of the determination of S250 that the number of timing errors is greater than a second threshold TV2. Thus, errors compared to the first threshold TV1 may be considered first errors, and a subset of the first errors compared to such a second threshold TV2 may be considered second errors.

[0069] After performing the retraining operation, in operation S270, the memory manager 127 may read the data DT again from the nonvolatile memory device 110. For example, in operation S270, the memory manager 127 may read the data DT again by using the address AD used in operation S220.

[0070] The memory manager 127 may detect the number of errors from the data DT read again in operation S270. Since the retraining operation is performed, the detected errors may not include timing errors. For example, the detected errors may indicate degradation of the memory cells of the memory cell array 111 or noise of the data written to the memory cells.

[0071] In operation S280, the controller 120 (e.g., the processor 122) may compare the number of detected errors with a third threshold value TV3. The third threshold value TV3 may be equal to or less than the maximum number of errors that can be corrected by the error correction block 128. When the number of detected errors is less than the third threshold value TV3, the controller 120 may determine a process associated with an error of the data DT read again at S270.

[0072] When the number of errors is not less than the third threshold TV3, the controller 120 may process the errors (S290) by using the error handler 124. For example, when the errors are correctable, the error handler 124 may perform or retain a refresh operation of reading the data DT and storing the read data DT to a storage space of a new address AD.

[0073] When the error is uncorrectable, the error processor 124 may perform a read retry operation of repeatedly performing a read operation while adjusting a read voltage. That is, the error processor 124 of the processor 122 of the controller 120 may be configured to perform a read retry operation of repeatedly performing a read operation while adjusting a read voltage. The read retry operation may include a soft decision operation of determining final data by using a result of repeatedly performing a read operation. When data whose error is corrected is obtained through the read retry operation, the error processor 124 may perform a refresh operation of storing the obtained data in a storage space of a new address AD.

[0074] As described above, after calibrating the timing error through the retraining operation, the controller 120 may perform the read operation again and may detect an error (e.g., a memory error) generated from the memory cell array 111. According to the number of memory errors, the controller 120 may perform an error process for correcting the memory error. That is, the controller 120 may include a retrainer 123 for calibrating the timing error and an error processor 124 for calibrating the memory error.

[0075] In one embodiment, independent of the threshold value TV1 or the threshold value TV2, when the error of the data DT is corrected, the controller 120 may output the error-corrected data to an external host device or may use the error-corrected data internally. In one embodiment, when the error of the data DT read in operation S220 is uncorrectable, an operation S270 of reading the data DT again may be performed. That is, the first threshold value TV1 may be equal to the maximum number of errors that the error correction block 128 corrects or can correct.

[0076] Figure 6 is a flowchart showing an example in which information of a retraining operation is applied to the next retraining operation. Figure 1 and Figure 6 In operation S310, the controller 120 may store a timestamp after performing the retraining operation. The timestamp may include information about the time when the retraining operation is performed.

[0077] In operation S320, the controller 120 may read data DT from the nonvolatile memory device 110 based on a request of an external host device or internal scheduling. In operation S330, the controller 120 may determine whether the number of errors of the data DT is not less than a first threshold TV1. Operations S320 and S330 may be equivalent to referring to Figure 2 Operation S120 and operation S130 are described.

[0078] When the number of errors is not less than the first threshold VT1, in operation S340, the controller 120 may determine whether the time difference is less than a threshold time TT. For example, the controller 120 may read a timestamp. The controller 120 may compare time information of the timestamp with current time information.

[0079] When the difference between the current time and the previous time when the retraining operation is performed is less than the threshold time TT, operation S350 is performed. When a long time has not passed after the retraining operation is performed, the signal transmission timing of the delay locked loop 115, the delay locked loop 117, and the delay locked loop 129 can be maintained normally. Therefore, in operation S350, the controller 120 can determine that the error does not include a timing error. Then, as shown in reference Figure 5 As described in operation S290, the controller 120 may perform error processing.

[0080] When the difference between the current time and the previous time when the retraining operation is performed is not less than the threshold time TT, operation S360 is performed. When a long time has passed after the retraining operation is performed, the signal transmission timing of the delay locked loop 115, the delay locked loop 117, and the delay locked loop 129 may be unlocked. Therefore, in operation S360, the controller 120 may determine that the error includes a timing error. Then, the controller 120 may perform Figure 2 Operation S160 or Figure 5 Operation S260.

[0081] As described above, as time passes after performing the retraining operation, the controller 120 may determine that the error does not include a timing error. Figure 6 In FIG. 1 , the controller 120 is described as performing the determination based on time. However, Figure 6 The method may be changed or modified to perform the determination based on temperature.

[0082] For example, in operation S310, the controller 120 may store a temperature stamp indicating temperature information when performing a retraining operation. In operation S340, the controller 120 may compare the difference between the temperature of the temperature stamp and the current temperature and a threshold temperature. When the difference is less than the threshold temperature, the controller 120 may determine that the error does not include a timing error.

[0083] Figure 7 is a diagram showing a first example of a retraining operation. Figure 1 and Figure 7The retraining operation may include calibrating the transmission timing of the read enable signal RE of the control signal CTRL. At the first time T1, the memory manager 127 may send a training command “18h” as a command CMD to the nonvolatile memory device 110 through the input / output line DQ.

[0084] At the second time T2, the memory manager 127 may send an address AD through the input / output line DQ to the nonvolatile memory device 110. The address AD may include a logical unit number (LUN).

[0085] At the third time T3, the memory manager 127 may trigger the read enable signal RE of the control signal CTRL. For example, the read enable signal RE may include a complementary first signal and a second signal.

[0086] At the fourth time T4, the nonvolatile memory device 110 may generate the data strobe signal DQS from the read enable signal RE by using the delay locked loop 117. For example, the control logic 116 may delay the read enable signal RE to generate the data strobe signal DQS.

[0087] The data strobe signal DQS may include a complementary first signal and a second signal. The nonvolatile memory device 110 may send the data strobe signal DQS as one of the control signals CTRL to the memory manager 127. At a fifth time T5, the global buffer 114 of the nonvolatile memory device 110 may send pattern data D1 to pattern data Dn to the memory manager 127 through the input / output line DQ in synchronization with the data strobe signal DQS, where n is an integer greater than 1.

[0088] The mode data D1 to Dn may correspond to the size of one page of the nonvolatile memory device 110. A page may include a plurality of memory cells and may be a basic unit of a read operation or a write operation. The mode data D1 to Dn may have a given pattern. The memory manager 127 may adjust the delay of the delay locked loop corresponding to the read enable signal RE among the delay locked loops 129 and may repeat the delay locked loop 129 in the same manner as described above. Figure 7 The memory manager 127 may calibrate the delay of the delay locked loop. Figure 8 is a diagram showing a second example of a retraining operation. Figure 1 and Figure 8 The retraining operation may include a read training operation of adjusting a timing at which the nonvolatile memory device 110 transmits data DT through the input / output line DQ.

[0089] At the first time T1, the memory manager 127 may send a read training command “62h” as a command CMD to the nonvolatile memory device 110 through the input / output line DQ. At the second time T2, the memory manager 127 may sequentially send a first address AD1, a second address AD2, a third address AD3, and a fourth address AD4 to the nonvolatile memory device 110 through the input / output line DQ.

[0090] The first address AD1 may include a logical unit number (LUN). The second address AD2 may include a byte inversion setting. Each of the third address AD3 and the fourth address AD4 may include a specific pattern of eight bits.

[0091] At the third time T3, the memory manager 127 may trigger the read enable signal RE. At the fourth time T4, the control logic 116 may delay the read enable signal RE to generate the data strobe signal DQS. At the fifth time T5, the global buffer 114 may output the mode data D1 to the mode data Dn through the input / output line DQ in synchronization with the data strobe signal DQS. The mode data D1 to the mode data Dn may have specific bits.

[0092] The memory manager 127 can adjust the delay of the delay locked loop 115 and can repeat Figure 8 The memory manager 127 can calibrate the delay of the delay locked loop 115. That is, Figure 8 In the embodiment, the memory manager 127 of the controller 120 controls the delay locked loop 115 of the global buffer 114 of the non-volatile memory device 110, so that the non-volatile memory device outputs the first mode data (mode data D1 to mode data Dn) as the second mode data according to the read signal transmission timing of the signal transmission timing. Figure 8 As described above, the retraining operation may include: while the nonvolatile memory device 110 sends specific mode data (mode data D1 to mode data Dn) to the controller 120, the memory manager 127 of the controller 120 calibrates the data transmission timing of the nonvolatile memory device 110.

[0093] Fig. 9 and Fig.10 2 is a diagram illustrating a third example of a retraining operation. The retraining operation may include a write training operation that adjusts a timing at which the memory manager 127 transmits data DT through the input / output line DQ.

[0094] Reference Figure 1 and Fig. 9At the first time T1, the memory manager 127 may send a first write training command "63h" as a command CMD through the input / output line DQ. At the second time T2, the memory manager 127 may send an address AD to the nonvolatile memory device 110 through the input / output line DQ. The address AD may include a logical unit number (LUN).

[0095] At the third time T3, the memory manager 127 may trigger the data strobe signal DQS of the control signal CTRL. The data strobe signal DQS may include complementary first and second signals.

[0096] At a fourth time T4, the memory manager 127 may transmit mode data D1 to Dn to the nonvolatile memory device 110 through the input / output line DQ in synchronization with the data strobe signal DQS. The mode data D1 to Dn may have specific bits.

[0097] Reference Figure 1 and Fig.10 At the fifth time T5, the memory manager 127 may send the second write training command "64h" as the command CMD to the nonvolatile memory device 110 through the input / output line DQ. At the sixth time T6, the memory manager 127 may send the address AD to the nonvolatile memory device 110 through the input / output line DQ. The address AD may include a logical unit number (LUN).

[0098] At a seventh time T7, the memory manager 127 may trigger the read enable signal RE. At an eighth time T8, the control logic 116 may delay the read enable signal RE to generate the data strobe signal DQS.

[0099] At a ninth time T9 , the global buffer 114 may transmit the pattern data D1 to the pattern data Dn to the memory manager 127 through the input / output line DQ in synchronization with the data strobe signal DQS.

[0100] The memory manager 127 can adjust the delay of the delay locked loop 129 and can repeat the Fig. 9 and Fig.10 The memory manager 127 can calibrate the delay of the delay locked loop 129. That is, Fig. 9 and Fig.10 In the embodiment of the present invention, the memory manager 127 of the controller 120 controls the delay locked loop 129 so that the memory manager 127 outputs the first mode data (mode data D1 to mode data Dn) according to the write signal transmission timing of the signal transmission timing.

[0101] In addition, Fig. 9 and Fig.10In the embodiment of the present invention, the pattern data D1 to the pattern data Dn may be considered as calibration data. The retraining operation in this embodiment includes: while the controller 120 sends the calibration data to the nonvolatile memory device 110 and receives the calibration data from the nonvolatile memory device 110, the memory manager 127 of the controller 120 calibrates the data transmission timing.

[0102] Fig.11 is a block diagram illustrating a storage device 100a according to an application of the inventive concepts described herein. Fig.11 , the storage device 100a includes first nonvolatile memory devices 110_11 to 110_1n, second nonvolatile memory devices 110_21 to 110_2n, and a controller 120a.

[0103] As reference Figure 1 As described above, each of the first nonvolatile memory devices 110_11 to 110_1n and the second nonvolatile memory devices 110_21 to 110_2n may include a memory cell array 111 , an address decoder 112 , a page buffer 113 , a global buffer 114 , and a control logic 116 .

[0104] The controller 120 a may include a first memory manager 127_1 for controlling the first nonvolatile memory devices 110_11 to 110_1 n , a second memory manager 127_2 for controlling the second nonvolatile memory devices 110_21 to 110_2 n , and a random access memory 125 .

[0105] In one embodiment, as shown in FIG. Figure 1 As described above, the controller 120a may further include a bus 121, a processor 122, and a host interface block 126. In addition, each of the first memory manager 127_1 and the second memory manager 127_2 may include an error correction block 128 and a delay locked loop 129.

[0106] The first memory manager 127_1 may control the first nonvolatile memory devices 110_11 to 110_1n through the first channel CH1. The first memory manager 127_1 may communicate with the first nonvolatile memory devices 110_11 to 110_1n through the shared input / output line DQ. The first memory manager 127_1 may communicate with the first nonvolatile memory devices 110_11 to 110_1n through a common first shared control line and a second independent control line.

[0107] For example, the first memory manager 127_1 may transmit control signals commonly used in the first nonvolatile memory devices 110_11 to 110_1n to the first nonvolatile memory devices 110_11 to 110_1n through the first shared control line. For example, the control signals include a read enable signal RE, a data strobe signal DQS, a write enable signal WE, a command latch enable signal CLE, and an address latch enable signal ALE.

[0108] The first memory manager 127_1 may individually transmit a chip enable signal CE and a ready / busy signal R / nB to the first nonvolatile memory devices 110_11 to 110_1n, wherein the chip enable signal CE indicates a nonvolatile memory device to be selected among the first nonvolatile memory devices 110_11 to 110_1n, and the ready / busy signal R / nB indicates the status of the first nonvolatile memory devices 110_11 to 110_1n.

[0109] As mentioned above Figure 1 and Fig.10 As described above, the first memory manager 127_1 may determine whether each of the first nonvolatile memory devices 110_11 to 110_1n has a timing error and may perform a retraining operation. The first memory manager 127_1 may also perform error processing on each of the first nonvolatile memory devices 110_11 to 110_1n.

[0110] The second memory manager 127_2 may control the second nonvolatile memory devices 110_21 to 110_2n through the second channel CH2. The operations of the second memory manager 127_2 and the second nonvolatile memory devices 110_21 to 110_2n may be equivalent to the operations of the first memory manager 127_1 and the first nonvolatile memory devices 110_11 to 110_1n.

[0111] Retraining flags associated with the first nonvolatile memory devices 110_11 to 110_1n and the second nonvolatile memory devices 110_21 to 110_2n may be stored in the random access memory 125. The retraining flags may indicate whether a retraining operation associated with the first nonvolatile memory devices 110_11 to 110_1n and the second nonvolatile memory devices 110_21 to 110_2n is required.

[0112] For example, when the retraining flag of a specific nonvolatile memory device is set to require a retraining operation, the controller 120a may perform a retraining operation on the specific nonvolatile memory device during an idle time or when access to the specific nonvolatile memory device is required. The idle time may indicate a time when a task sent from an external host device and that the controller 120a should process does not exist.

[0113] According to an embodiment of the present disclosure, when a specific nonvolatile memory device includes a timing error, the controller 120a may reserve a retraining operation so that the retraining operation is not immediately performed, that is, so that the retraining operation is performed next. Therefore, a storage device 100a that can flexibly adjust task scheduling and can have improved performance is provided.

[0114] Fig.12 is a flowchart illustrating an operating method of a storage device 100a according to an application of the inventive concepts described herein. Fig.12 , in operation S410, the controller 120a may detect a timing error from a specific nonvolatile memory device among the first nonvolatile memory devices 110_11 to 110_1n and the second nonvolatile memory devices 110_21 to 110_2n.

[0115] In operation S420, the controller 120a may mark a retraining flag for a nonvolatile memory device corresponding to a specific nonvolatile memory device having a timing error. For example, the controller 120a may mark a retraining flag for a nonvolatile memory device belonging to the same channel as the specific nonvolatile memory device to indicate that a retraining operation is required.

[0116] In operation S430, the controller 120a may perform a retraining operation according to the retraining flag when accessing the nonvolatile memory device or at idle time. For example, when accessing a nonvolatile memory device requiring a retraining operation, the controller 120a may first perform a retraining operation before making the access.

[0117] Fig.13 is a diagram showing that the storage device 100a is based on Fig.12 An example diagram of an operation method of performing an operation. Fig.13 In operation S510, the second memory manager 127_2 may detect an error including a timing error from the nonvolatile memory device 110_22. When the timing error is detected, in operation S520, the controller 120a may set a retraining flag of the second nonvolatile memory devices 110_21 to 110_2n included in the second channel CH2 to indicate that a retraining operation is required.

[0118] Then, the controller 120a may perform a retraining operation at an idle time or when accessing any of the second nonvolatile memory devices 110_21 to 110_2n.

[0119] When a timing error is detected from one nonvolatile memory device belonging to a specific channel, a retraining operation may be performed on all nonvolatile memory devices belonging to the specific channel based on the timing error being detected from one nonvolatile memory device belonging to the specific channel. The storage device 100a according to the embodiment is configured to allocate and perform a retraining operation on the nonvolatile memory devices. Therefore, a time delay that occurs when the retraining operations are performed simultaneously is prevented.

[0120] In the above-described embodiments, terms such as "block", "processor", "retrainer", "error handler", "memory manager", and "control logic" are used to represent components according to embodiments of the present disclosure. These components may be implemented with various hardware devices (such as integrated circuits, application specific ICs (ASICs), field programmable gate arrays (FPGAs), and complex programmable logic devices (CPLDs)), software (such as firmware and applications driven in hardware devices), or a combination of hardware devices and software. In addition, these components may include circuits or intellectual property (IP) blocks implemented with semiconductor devices. However, unless otherwise specified, even if these components refer to software executed by such hardware devices, these components will not be implemented without one or more hardware devices.

[0121] According to an embodiment of the present disclosure, when an error including a timing error occurs, the controller performs retraining on the nonvolatile memory device based on determining that an error including a timing error has occurred. Therefore, a storage device having a controller and a nonvolatile memory device can calibrate a timing error caused by an increased communication speed between such a controller and the nonvolatile memory device.

[0122] While the inventive concepts have been described with reference to the exemplary embodiments of the inventive concepts described herein, it will be apparent to those skilled in the art that various changes and modifications can be made without departing from the spirit and scope of the present disclosure as set forth in the following claims.

Claims

1. A storage device, include: A non-volatile memory device comprising: A memory cell array comprising a memory cell, and a buffer connected to the memory cell array; and a controller configured to: read first data from the nonvolatile memory device, The controller is further configured to: when the number of first errors of the first data is not less than a first threshold, determine whether the first errors include a timing error generated from a change in a signal transmission timing between the nonvolatile memory device and the controller, and when the first errors include the timing error, perform a retraining operation on the signal transmission timing, Wherein, the controller is configured as: sending first pattern data to the nonvolatile memory device so that the first pattern data is not written to the memory cell array but is only stored in the buffer, receiving second mode data from the non-volatile memory device, and According to second errors of the second pattern data, it is determined whether the first errors include the timing errors, wherein when the number of the second errors is not less than a second threshold, the controller determines that the first errors include the timing errors.

2. The storage device according to claim 1, in, the controller comprising an error correction block configured to correct the first error, The first threshold is equal to or less than the maximum number of errors corrected by the error correction block.

3. The storage device according to claim 1, in, The controller controls the nonvolatile memory device by sending a write command and the first pattern data to the nonvolatile memory device and not sending a confirmation command so that the first pattern data is stored only to the buffer.

4. The storage device according to claim 1, in, The controller controls the nonvolatile memory device so that the nonvolatile memory device outputs the first pattern data as the second pattern data according to a read signal transmission timing of the signal transmission timing.

5. The storage device according to claim 1, in, The controller is further configured to, when the first error is uncorrectable, read the first data again from the nonvolatile memory device as second data after performing the retraining operation.

6. The storage device according to claim 5, in, The controller is further configured to: when the number of second errors of the second data is not less than a second threshold, perform a refresh operation on the second data.

7. The storage device according to claim 5, in, The controller is further configured to perform a read retry operation of repeating a read operation while adjusting a read voltage when a second error of the second data is uncorrectable.

8. The storage device according to claim 5, in, The controller is further configured to: after executing the retraining operation, store first time information when the retraining operation is executed, Wherein, the controller is further configured to: when the number of second errors of the second data when reading the second data from the non-volatile memory device is not less than the first threshold, compare the first time information with the second time information when the second data is read, and when the difference between the first time information and the second time information is less than a threshold time, determine that the second error does not include the timing error.

9. The storage device according to claim 5, in, The controller is further configured to: after executing the retraining operation, store the first temperature information when the retraining operation is executed, Wherein, the controller is further configured to: when the number of second errors of the second data when reading the second data from the non-volatile memory device is not less than the first threshold, compare the first temperature information with the second temperature information when the second data is read, and when the difference between the first temperature information and the second temperature information is less than a threshold temperature, determine that the second error does not include the timing error.

10. The storage device according to claim 1, in, The retraining operation includes calibrating transmission timing of control signals transmitted between the controller and the non-volatile memory device.

11. The storage device according to claim 1, in, The retraining operation includes calibrating data transmission timing of the nonvolatile memory device at the controller while the nonvolatile memory device sends specific pattern data to the controller.

12. The storage device according to claim 1, in, The retraining operation includes calibrating data transmission timing at the controller while the controller sends calibration data to and receives the calibration data from the nonvolatile memory device.

13. A storage device, include: a plurality of first non-volatile memory devices; a plurality of second non-volatile memory devices; as well as a controller configured to communicate with the plurality of first non-volatile memory devices via a first channel and to communicate with the plurality of second non-volatile memory devices via a second channel, wherein the controller is further configured to: when the number of first errors of data read from a specific non-volatile memory device among the plurality of first non-volatile memory devices is not less than a first threshold, determine whether the first errors include timing errors resulting from a change in signal transmission timing between the specific non-volatile memory device and the controller, and when the first errors include the timing errors, determine the plurality of first non-volatile memory devices as targets for a retraining operation, Wherein, the controller is configured as: sending first pattern data to the specific nonvolatile memory device so that the first pattern data is not written to a memory cell array of the specific nonvolatile memory device but is only stored to a buffer of the specific nonvolatile memory device, receiving second pattern data from the particular non-volatile memory device, and According to second errors of the second pattern data, it is determined whether the first errors include the timing errors, wherein when the number of the second errors is not less than a second threshold, the controller determines that the first errors include the timing errors.

14. The storage device according to claim 13, in, The controller performs the retraining operation on the specific nonvolatile memory device during idle time or when access to the specific nonvolatile memory device is required.

15. A method for operating a storage device comprising a nonvolatile memory device and a controller, the method comprising: include: reading data from the non-volatile memory device at the controller; When the number of first errors of the data is not less than a first threshold, sending first test data to the nonvolatile memory device at the controller, and receiving second test data at the controller; When the number of second errors of the second test data is not less than a second threshold, performing a retraining operation on the nonvolatile memory device at the controller, Wherein, the non-volatile memory device comprises: A memory cell array comprising memory cells; and buffer, connected to the memory cell array, The controller controls the nonvolatile memory device so that the first test data is not written into the memory cell array but is only stored into the buffer.

16. The operating method according to claim 15, further comprising: include: The nonvolatile memory device receives the first test data from the controller, and the nonvolatile memory device sends the first test data to the controller as the second test data.

17. The operating method according to claim 15, further comprising: include: When the first error is uncorrectable, the controller reads the data again from the nonvolatile memory device after the retraining operation is performed.

Citation Information

Patent Citations

  • Organic electroluminescent element and charge transport material

    KR1020180057726A

  • Memory system with error detection and retry modes of operation

    US20060277434A1

  • System and method for reliable high-speed data transfer in multiple data rate nonvolatile memory

    US9811273B1