Storage device and operating method for a storage device
The memory device employs multiple read operations and adaptive voltage adjustments to enhance error correction and data recovery, addressing reliability issues in non-volatile memory devices with increased bit storage.
Patent Information
- Application Number
- DE102020126869
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-08-11
- Filing Date
- 2020-10-13
- Publication Date
- 2024-11-07
- Estimated Expiration
- 2040-10-13
AI Technical Summary
Existing memory devices face challenges in maintaining data integrity and reliability due to increased error rates as the number of bits stored in each memory cell increases, necessitating improved methods for error correction and data recovery.
A memory device with a memory controller that performs multiple read operations using varying read voltage levels and offset adjustments, coupled with error correction and soft decision processes, to accurately recover original data despite errors.
Enhances data reliability and integrity by effectively correcting errors through adaptive read operations and soft decision processes, improving the overall performance of non-volatile memory devices.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
BACKGROUND 1. Technical field
[0001] The embodiments of the inventive concept(s) described herein relate to a semiconductor device. In particular, the embodiments of the inventive concept(s) described herein relate to a memory device that performs a read operation with improved reliability and to an operating method of the memory device. 2. Description of the relevant state of the art
[0002] A storage device is a device that stores data under the control of a host device, such as a computer, a smartphone, or a smart pad. One example of a type of storage device is a device that stores data on a magnetic disk, such as a hard disk drive (HDD). Another example of a type of storage device is a device that stores data in semiconductor memory, particularly non-volatile memory, such as solid-state storage (SSD) or a memory card.
[0003] Non-volatile memory includes memory cells configured to store data. To increase the amount of data to be stored in a storage device that stores data in non-volatile memory, attempts are being made to increase the number of bits to be stored in each of the memory cells. As the number of bits stored in each of the memory cells increases, the likelihood of errors occurring in the data stored in the memory cells may increase.
[0004] There is a need for reading methods that can recover original data even when errors occur in data stored in the memory cells in order to ensure the integrity of data stored in the memory cells.
[0005] US 2017 / 0 097 868 A1 discloses a data storage device and its operating method.
[0006] US 2015 / 0 227 420 A1 discloses a memory controller and a method for reading data from a non-volatile memory by a memory controller.
[0007] US 2015 / 0 043 282 A1 discloses a method for estimating the degradation state of storage devices and an associated method for wear leveling. SUMMARY
[0008] The inventive concept(s) described herein include a memory device enabling a read operation with improved reliability and a method of operating the memory device.
[0009] According to an exemplary embodiment, a memory device includes a non-volatile memory device including a plurality of memory cells, and a memory controller that transmits a first read command and first read voltage information associated with the plurality of memory cells to the non-volatile memory device, receives first data from the non-volatile memory device based on the first read command, and performs error correction on the first data.If the error correction fails, the memory controller transmits a second read command and second read voltage information associated with the plurality of memory cells to the non-volatile memory device, receives second data from the non-volatile memory device based on the second read command, transmits a third read command and third read voltage information associated with the plurality of memory cells to the non-volatile memory device, and receives third data from the non-volatile memory device based on the third read command.The memory controller adjusts an offset based on the second data and the third data, transmits the offset, a fourth read command, and fourth read voltage information associated with the plurality of memory cells, receives fourth data from the non-volatile memory device based on the fourth read command, and performs a soft decision operation based on the fourth data.The controller calculates an equation of at least a portion of distributions of threshold voltages of the plurality of memory cells based on the second data and the third data to calculate a first number of strong error bits, a second number of weak error bits, a third number of strong correct bits, and a fourth number of weak correct bits based on the equation, and to adjust the offset based on the first number, the second number, the third number, and the fourth number, wherein the controller is further configured to omit error correction associated with the second data and the third data.
[0010] According to an exemplary embodiment, a memory device includes a non-volatile memory device including a plurality of memory cells and a memory controller. The memory controller transmits a first read command and first read voltage information associated with the plurality of memory cells to the non-volatile memory device, receives first data from the non-volatile memory device based on the first read command, and performs error correction on the first data. If the error correction fails, the memory controller transmits a first offset, a second read command, and second read voltage information associated with the plurality of memory cells to the non-volatile memory device, receives second data from the non-volatile memory device based on the second read command, and performs a first soft decision operation based on the second data.If the first soft decision operation fails, the memory controller transmits a third read command and third read voltage information associated with the plurality of memory cells to the non-volatile memory device, receives third data from the non-volatile memory device based on the third read command, transmits a fourth read command and fourth read voltage information associated with the plurality of memory cells to the non-volatile memory device, and receives fourth data from the non-volatile memory device based on the fourth read command.The memory controller adjusts the first offset to a second offset based on the third data and the fourth data, transmits the second offset, a fifth read command, and fifth read voltage information associated with the plurality of memory cells to the non-volatile memory device, receives fifth data from the non-volatile memory device based on the fifth read command, and performs a second soft decision operation based on the fifth data.The controller calculates an equation of at least a portion of distributions of threshold voltages of the plurality of memory cells based on the second data and the third data to calculate a first number of strong error bits, a second number of weak error bits, a third number of strong correct bits, and a fourth number of weak correct bits based on the equation, and to adjust the offset based on the first number, the second number, the third number, and the fourth number, wherein the controller is further configured to omit error correction associated with the second data and the third data.
[0011] According to an exemplary embodiment, an operating method for a memory device including a non-volatile memory device and a controller for controlling the non-volatile memory device includes reading, at the controller, first data from the non-volatile memory device using a first read voltage, reading, at the controller, second data and third data from the non-volatile memory device using a second read voltage and a third read voltage, respectively, if error correction of the first data fails, adjusting, at the controller, an offset based on the second data and the third data, reading, at the controller, fourth data from the non-volatile memory device using a fourth read voltage and the adjusted offset, performing, at the controller,a soft decision operation based on the fourth data and calculating, at the controller, an equation of at least a portion of distributions of threshold voltages of the plurality of memory cells based on the second data and the third data to calculate a first number of strong error bits, a second number of weak error bits, a third number of strong correct bits, and a fourth number of weak correct bits based on the equation and to adjust the offset based on the first number, the second number, the third number, and the fourth number, and omitting, at the controller, an error correction associated with the second data and the third data. BRIEF DESCRIPTION OF THE DRAWING
[0012] The above and other objects and features of the present disclosure will become more apparent from a detailed description of exemplary embodiments with reference to the accompanying drawings. Fig. 1 a memory device according to an embodiment of the present disclosure. Fig. 2 an example of a read operation based on a hard decision. Fig. 3 an example in which uncorrectable errors occur in a read operation based on a hard decision. Fig. 4 an example of a read operation based on a soft decision. Fig. 5 is a flowchart illustrating a method of operation for a memory device according to an embodiment of the present disclosure. Fig. 6 a diagram illustrating an example in which pre-read operations and modeling are performed. Fig. 7 Threshold voltage distributions of memory cells when three bits are written to a memory cell. Fig. 8 illustrates a soft decision controller according to an embodiment of the present disclosure. Fig. 9 is a flowchart illustrating an operating method for a memory device according to another embodiment of the present disclosure. Fig. 10 is a block diagram illustrating a non-volatile memory device according to an embodiment of the present disclosure. Fig. 11 illustrates an example of a memory block according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0013] Embodiments of the present disclosure are explained below in detail and in a clear manner to the extent that a person of ordinary skill in the art can readily implement the inventive concept(s) described herein.
[0014] Fig. 1 illustrates a memory device 100 according to an embodiment of the present disclosure. Referring to Fig. 1, the memory device 100 may include a non-volatile memory device 110, a memory controller 120, and an external buffer memory 130. The non-volatile memory device 110 may include a plurality of memory cells. Each of the plurality of memory cells may store two or more bits.
[0015] The non-volatile memory device 110 may be or include at least one of various non-volatile memory devices, such as a flash memory device, a phase-change memory device, a ferroelectric memory device, a magnetic memory device, and a resistive memory device. To facilitate communication of one or more aspects of the inventive concepts described herein, it is assumed that the non-volatile memory device 110 is a flash memory device.
[0016] The storage controller 120 may receive various requests from an external host device to write data to the non-volatile storage device 110 or to read data from the non-volatile storage device 110. The storage controller 120 may store (or cache) user data communicated with the external host device in the external buffer 130 and may store metadata for managing the storage device 100 in the external buffer 130.
[0017] The memory controller 120 can access the non-volatile memory device 110 through a first channel CH1 and a second channel CH2. For example, the memory controller 120 can transmit a command and an address to the non-volatile memory device 110 through the first channel CH1. The memory controller 120 can exchange data with the non-volatile memory device 110 through the first channel CH1.
[0018] The memory controller 120 may transmit first control signals to the non-volatile memory device 110 through the second channel CH2. The memory controller 120 may receive second control signals from the non-volatile memory device 110 through the second channel CH2.
[0019] In one embodiment, the memory controller 120 may be configured to control two or more non-volatile memory devices 110, each individually represented by the non-volatile memory device 110. The memory controller 120 may separately provide a particular first channel and a particular second channel for two or more non-volatile memory devices 110.
[0020] As another example, memory controller 120 may have a first channel provided by the two or more non-volatile memory devices. Memory controller 120 may provide a second channel or two or more non-volatile memory devices may share a portion of the second channel. Memory controller 120 may provide different portions of the second channel to the two or more non-volatile memory devices.
[0021] The external buffer memory 130 may include a random access memory. The external buffer memory 130 may include, for example, a dynamic random access memory, a phase change random access memory, a ferroelectric random access memory, a magnetic random access memory, and / or a resistive random access memory.
[0022] The memory controller 120 may include a bus 121, a host interface 122, an internal buffer 123, a processor 124, a buffer controller 126, a memory manager 127, and an error correction code (ECC) block 128. The processor 124 may execute software instructions to fully or partially implement one or more aspects of the operations described herein.
[0023] Bus 121 may provide communication channels between components within memory controller 120. Host interface 122 may receive various requests from the external host device and may parse the received requests. Host interface 122 may store the parsed requests in internal buffer memory 123.
[0024] The host interface 122 can transmit various responses to the external host device. The host interface 122 can exchange signals with the external host device in accordance with a given communication protocol. The internal buffer memory 123 can include a random access memory. The internal buffer memory 123 can include, for example, a static random access memory or a dynamic random access memory.
[0025] Processor 124 may execute an operating system or firmware to control memory controller 120. Processor 124 may read the parsed requests stored in internal buffer memory 123 and generate commands and addresses to control non-volatile memory device 110. Processor 124 may transmit the generated commands and addresses to memory manager 127.
[0026] The processor 124 may store various metadata for managing the storage device 100 in the internal buffer memory 123. The processor 124 may access the external buffer memory 130 through the buffer memory controller 126. The processor 124 may control the buffer memory controller 126 and the memory manager 127 to transfer the user data stored in the external buffer memory 130 to the non-volatile storage device 110.
[0027] The processor 124 can control the host interface 122 and the buffer memory controller 126 to transfer the data stored in the external buffer memory 130 to the external host device. The processor 124 can control the buffer memory controller 126 and the memory manager 127 to store the data received from the non-volatile memory device 110 in the external buffer memory 130. The processor 124 can control the host interface 122 and the buffer memory controller 126 to store the data received from the external host device in the external buffer memory 130.
[0028] Under the control of the processor 124, the buffer memory controller 126 can write data to the external buffer memory 130 or read data from the external buffer memory 130. The memory manager 127 can communicate with the non-volatile memory device 110 through the first channel CH1 and the second channel CH2 under the control of the processor 124.
[0029] The error correction code (ECC) block 128 may perform error correction encryption on data to be transmitted to the non-volatile memory device 110 using an error correction code (ECC). The error correction code (ECC) block 128 may perform error correction decoding on data received from the non-volatile memory device 10 using the error correction code (ECC) block 128.
[0030] The processor 124 may include a soft decision controller (SDC) 125. The soft decision controller (SDC) 125 may be implemented by the processor 124 executing a defined set of software instructions. If the error correction code (ECC) block 128 fails to correct errors in data that the memory manager 127 reads from the non-volatile memory device 110 under the control of the processor 124, the soft decision controller 125 may be activated.
[0031] The soft decision controller 125 may support a read operation that enables increased reliability and data integrity by retrieving original data from the data stored in the non-volatile memory device 110 when the data contains an error.
[0032] In one embodiment, the storage device 100 need not include the external storage device 130 and the buffer memory controller 126. If the external buffer memory 130 and the buffer memory controller 126 are not included in the storage device 100, the above functions of the external buffer memory 130 and the buffer memory controller 126 may be performed by the internal buffer memory 123.
[0033] Fig. 2 shows an example of a read operation based on a hard decision. In Fig. 2, a horizontal axis represents threshold voltages VTH of memory cells of the non-volatile memory device 110, and a vertical axis represents the number of memory cells of the non-volatile memory device 110. An example in which each of the memory cells is programmed to have one of an erase state “E” and a program state “P” is shown in Fig. 2. The hard decision in a hard decision-based read operation may refer to a binary decision based on whether a memory cell has a threshold voltage that is lower or higher than a read voltage VR.
[0034] In Fig. 2, a first row L1 may correspond to memory cells that are not programmed in a write operation and have the erase state "E." A second row L2 may correspond to memory cells that are programmed to have the program state "P" in the write operation.
[0035] Referring to Fig. 1 and Fig. 2, in a read operation, the non-volatile memory device 110 may perform the read operation using a read voltage VR. A memory cell having a threshold voltage lower than the read voltage VR may be turned on, and a memory cell having a threshold voltage higher than the read voltage VR may be turned off.
[0036] The non-volatile memory device 110 may identify the powered-on memory cell as the erase state "E" and may identify the powered-off memory cell as the program state "P." The non-volatile memory device 110 may transmit the identified data to the memory controller 120.
[0037] As in Fig. As shown in Figure 2, a portion of the memory cells corresponding to the first row L1 may have threshold voltages higher than the read voltage VR. This means that a portion of the memory cells intended to have the erase state "E" may be identified as the program state "P."
[0038] Likewise, a portion of the memory cells corresponding to the second row L2 may have threshold voltages lower than the read voltage VR. More specifically, a portion of the memory cells intended to have the program state "P" may be identified as the erase state "E."
[0039] The error correction code (ECC) block 128 may attempt error correction decoding on data received from the non-volatile memory device 110. Data identified as the program state "P" among the data read from the memory cells corresponding to the first row L1 may be corrected to data of the erase state "E" by the error correction decoding. Furthermore, data identified as the erase state "E" among the data read from the memory cells corresponding to the second row L2 may be corrected to data of the program state "P" by the error correction decoding.
[0040] As with reference to Fig. 2, a hard decision read operation can be considered as a read operation in which data is read once from the memory cells of states “E” and “P” by using the read voltage VR, and error correction decoding is performed on the read data.
[0041] Fig. 3 illustrates an example where uncorrectable errors occur in a hard-decision read operation. Referring to Fig. 1 and Fig. 3 can be compared to Fig. 2 increase the number of data identified as the program state “P” from the data read from the memory cells corresponding to the first row L1 and to have the erase state “E”.
[0042] In addition, compared to Fig. 2, the number of data identified as the erase state "E" from the data read from the memory cells corresponding to the second row L2 and intended to have the program state "P" may increase. Due to various causes, such as retention, noise, and coupling, the threshold voltages of the memory cells may change unintentionally. This change can be understood as one that leads to degradation of the data written to the memory cells.
[0043] As the degradation of the data written to the memory cells progresses, the number of errors increases. If the number of errors exceeds a range correctable by the error correction code (ECC) block 128, an uncorrectable error may occur. If an uncorrectable error occurs in the hard-decision read operation, the memory controller 120 may perform subsequent read operations to recover the data. For example, the soft-decision controller 125 of the processor 124 may be activated, and a soft-decision read operation may be performed.
[0044] Fig. 4 illustrates an example of a soft-decision-based read operation. As explained below, a soft-decision operation in a soft-decision-based read operation may refer to an operation that involves multiple determinations based on multiple inputs, where the multiple determinations may, but do not necessarily, conflict with each other.
[0045] Referring to Fig. 1 and Fig. 4, the memory controller 120 may control the non-volatile memory device 110 to perform a first read operation using a first offset read voltage VRO1 that is lower than the read voltage VR by almost a first offset OFF1. The memory controller 120 may also control the non-volatile memory device 110 to perform a second read operation using a second offset read voltage VRO2 that is higher than the read voltage VR by almost the first offset OFF1. The notations along the horizontal axis for VTH in Fig. 4 generally correspond to a proper designation for L1. The proper designation for L2 along the horizontal axis for VTH in Fig. 4 are generally carried out in the opposite order of the Fig. 4 and generally correspond to a proper designation for L1.
[0046] The non-volatile memory device 110 may perform an XOR operation on a first read result using the first offset read voltage VRO1 and on a second read result using the second offset read voltage VRO2. An XOR operation only yields a positive result, such as a "1," when two inputs, such as the first read result and the second read result, differ from each other. The non-volatile memory device 110 may transmit the operation result to the memory controller 120.
[0047] The operation results of the XOR operation indicating that a memory cell is in an identical state (e.g., "E" or "P") using the first offset read voltage VR01 and the second offset read voltage VR02 may be "0," and the operation results indicating that a memory cell is to be in different states using the first offset read voltage VR01 and the second offset read voltage VR02 may be "1." An operation result corresponding to a memory cell being found to be in the identical state in a first offset read operation using the first offset read voltage VR01 and in a second offset read operation using the second offset read voltage VR02 may be "0."An operation result corresponding to a memory cell that is determined to be in different states in the first offset read operation using the first offset read voltage VRO1 and in the second offset read operation using the second offset read voltage VRO2 may be "1." That is, the operation result of the XOR operation may indicate whether each of the plurality of memory cells is identified as having the same state or different states in the first offset read operation and the second offset read operation.
[0048] Threshold voltages for memory cells identified as having the erase state “E” in the hard-decision based read operation corresponding to the first row L1 are explained first, with these threshold voltages generally corresponding to the notations along the horizontal axis for VTH in Fig. 4. A threshold voltage of a memory cell identified as having the erase state "E" in the hard-decision read operation and identified as having the identical states in the operation result may be lower than the first offset read voltage VRO1. For the first row L1, these memory cells are located above the horizontal axis for VTH in the section labeled SC. Data from memory cells with threshold voltages lower than the first offset read voltage VRO1 among the memory cells corresponding to the first row L1 may be identified as strong correct (SC) bits.
[0049] A threshold voltage of a memory cell identified as having the erase state "E" in the hard-decision-based operation and identified as having different states in the operation result may be higher than the first offset read voltage VRO1 and lower than the read voltage VR. For the first row L1, these memory cells are located above the horizontal axis for VTH in the section labeled WC. The data from the memory cells with threshold voltages higher than the first offset read voltage VRO1 and lower than the read voltage VR from the memory cells corresponding to the first row L1 may be identified as weak correct (WC) bits (or unreliable correct (UC) bits).
[0050] A threshold voltage of a memory cell identified as having the program state "P" in the hard-decision-based read operation, as well as one identified as having different states in the operation result, may be higher than the read voltage VR and may be lower than the second offset read voltage VRO2. For the first row L1, these memory cells are located above the horizontal axis for VTH in the section labeled WE. The data of the memory cells with threshold voltages higher than the read voltage VR and lower than the second offset read voltage VRO2, from those memory cells corresponding to the first row L1, may be identified as weak false (WE) bits.
[0051] A threshold voltage of a memory cell identified as having the program state "P" in the hard-decision read operation, as well as one identified as having identical states in the operation result, may be higher than the second offset read voltage VRO2. For the first row L1, these memory cells are located above the horizontal axis for VTH in the section labeled SE. Data from memory cells with threshold voltages higher than the second offset read voltage VRO2 from those memory cells corresponding to the first row L1 may be referred to as strong false (SE) bits (or hard false (HE) bits).
[0052] Data from memory cells with threshold voltages higher than the second offset read voltage VR02 from those memory cells corresponding to the second row L2 can be identified as strong correct (SC) bits. For the second row L2, these memory cells are located above the horizontal axis for VTH in the section labeled SE and not SC. Data from memory cells with threshold voltages higher than the read voltage VR and lower than the second offset read voltage VR02 from those memory cells corresponding to the second row L2 can be identified as weak correct (WC) bits (or unreliable correct (UC) bits). For the second row L2, these memory cells are located above the horizontal axis for VTH in the section labeled WE and not WC.Data from memory cells with threshold voltages higher than the first offset read voltage VRO1 and lower than the read voltage VR from those memory cells corresponding to the second row L2 can be identified as weak false (WE) bits. For the second row L2, these memory cells are located above the horizontal axis for VTH in the section labeled WC and not in the WE section. Data from memory cells with threshold voltages lower than the first offset read voltage VRO1 from those memory cells corresponding to the second row L2 can be identified as strong false (SE) bits (or hard false (HE) bits). For the second row L2, these memory cells are located above the horizontal axis for VTH in the section labeled SC and not in the SE section.
[0053] As stated above with regard to Fig. As described in Figure 4, the strong correct (SC) bits for the first row L1 are those above the horizontal segment labeled SC, whereas strong correct (SC) bits for the second row L2 are those above the horizontal segment labeled SE. Weak correct (WC) bits for the first row L1 are those above the horizontal segment labeled WC, whereas weak correct (WC) bits for the second row are those above the horizontal segment labeled WE. Weak false (WE) bits for the first row L1 are those above the horizontal segment labeled WE, whereas weak error (WE) bits for the second row L2 are those above the horizontal segment labeled WC. Strong false (SE) bits for the first row L1 are those above the segment labeled SE, whereas strong false (SE) bits for the second row are those above the segment labeled SC.
[0054] The memory controller 120 may identify bits based on data read using the read voltage VR and data read using the first offset read voltage VR01 and the second offset read voltage VR02, and may enable the error correction code (ECC) block 128 to perform a soft decision operation by using the identification result.
[0055] For example, the error correction code (ECC) block 128 may assign scores to the strong correct (SC) bits, the weak correct (WC) bits, the weak false (WE) bits, and the strong false (SE) bits, respectively. The error correction code (ECC) block 128 may correct errors by performing low-density parity check (LDPC) decoding on the scored bits and recover original data.
[0056] The memory device 100 according to an embodiment of the present disclosure may be further configured to perform a fine soft decision operation. The fine soft decision operation may be performed as follows: modeling distribution states of memory cells, such as the first row L1 and the second row L2, adjusting an offset based on the modeling result, performing a read operation including at least two offset read operations based on the adjusted offset, and performing a soft decision operation.
[0057] Fig. 5 is a flowchart illustrating an operating method of the storage device 100 according to an embodiment of the present disclosure. Referring to Fig. 1 and Fig. 5, the memory controller 120 may receive a read request including a logical address LBA from the external host device in method step S110.
[0058] The memory controller 120 can manage mapping information between logical addresses (LBA) from the external host device and physical addresses (PBA) from the non-volatile storage device 110 as metadata. For example, the mapping information can be saved in the non-volatile storage device 110 and can be loaded to the external buffer memory 130 or the internal buffer memory 123 as needed.
[0059] The memory controller 120 may translate a logical address LBA into a physical address PBA using the mapping information. In step S115, the memory controller 120 may transmit a first read command CMD_R1 to the non-volatile memory device 110 along with a physical address PBA and read voltage information IVR, which includes information about a read level.
[0060] In method step S120, the non-volatile memory device 110, as described with reference to Fig. 3, read data from memory cells indicated by the physical address PBA using a read level indicated by the read voltage information IVR. In step S125, the non-volatile memory device 110 may transmit the thus-read first data D1 to the memory controller 120. Steps S115 to S125 may correspond to a read operation. The process at S115 may thus include a transmission of a first read command (CMR_R1) and first read voltage information (IVR). The process at S125 may thus include a reception of first data (D1) based on the first read command (CMD_R1 of S115).
[0061] In operation S130, the memory controller 120 may perform a hard decision operation. For example, the memory controller 120 may perform error correction decoding on the first data D1 using the read voltage information IVR. In one embodiment, the error correction decoding may fail. Subsequently, the memory controller 120 may transition to a procedure for retrieving the data stored in the memory cells.
[0062] In step S135, the memory controller 120 may transmit the first read command CMD_R1, the physical address PBA, and first read voltage information IVRI to the non-volatile memory device 110. A read level indicated by the first read voltage information IVR1 may be lower or higher than a read level indicated by the read voltage information IVR.
[0063] In step S140, the non-volatile memory device 110 may perform a read operation using the read level indicated by the first read voltage information IVR1. In step S145, the non-volatile memory device 110 may transmit second data D2 read in step S140 to the memory controller 120. The process at S135 may therefore include transmitting a second read command (CMR_R1) and second read voltage information (IVR1). The process at S145 may thus include receiving second data (D2) based on the second read command (CMD_R1 from S135).
[0064] In step S150, the memory controller 120 may transmit the first read command CMD_R1, the physical address PBA, and second read voltage information IVR2 to the non-volatile memory device 110. A read level indicated by the second read voltage information VR2 may be higher or lower than the read level indicated by the read voltage information IVR.
[0065] In step S155, the non-volatile memory device 110 may perform a read operation using the read level indicated by the second read voltage information IVR. In step S160, the non-volatile memory device 110 may transmit third data D3 read in step S155 to the memory controller 120. The process at S150 may therefore include transmitting a third read command (CMR_R1) and third read voltage information (IVR2). The process at S160 may thus include receiving third data (D3) based on the third read command (CMD_R1 from S150).
[0066] Method steps S135 to S145 may correspond to a read operation and may be included in the pre-read operations for the fine soft decision process. Method steps S150 to S160 may correspond to a read operation and may be included in the pre-read operations for the fine soft decision process.
[0067] In step S165, the memory controller 120 may model threshold voltage distributions of memory cells based on the second data D2 and the third data D3 read by the pre-read operations. The memory controller 120 may identify or adjust an offset based on the modeling of the threshold voltage distributions of the memory cells using the second data D2 and the third data D3, and the offset may be transmitted to the non-volatile memory device 110 in step S175 explained below.
[0068] Fig. Figure 6 is a diagram illustrating an example in which pre-read operations and modeling are performed. Referring to Fig. 1, Fig. 5 and Fig. 6, the first row L1, which indicates memory cells that should correspond to the erase state “E”, and the second row L2, which indicates memory cells that should correspond to the program state “P”, are shown, but the threshold voltages actually identified from the memory cells cannot be divided into the first row L1 and the second row L2.
[0069] As if by a continuous line of Fig. As shown in Figure 6, threshold voltages actually identified by memory cells cannot be separately divided into the first row L1 and / or the second row L2. However, it is known that opposite ends of a threshold voltage distribution of memory cells decrease exponentially in their appearance.
[0070] Accordingly, a first function F1 can be modeled from one side (to the right) of the valley of the first row L1 (corresponding to the threshold voltage distribution for the erase state "E") to a portion of the threshold distribution of memory cells that overlaps the program state "P." Furthermore, a second function F2 can be modeled from one side (to the left) of the valley of the second row L2 (corresponding to the threshold voltage for the program state "P") to a portion of the threshold distribution of memory cells that overlaps the erase state "E."
[0071] A read operation may be performed by using a first read voltage VR1 indicated by the first read voltage information IVR1, and the number of on-cells (or turned-on memory cells) or off-cells (or turned-off memory cells) may be counted as a first count. Likewise, a read operation may be performed by using a second read voltage VR2 indicated by the second read voltage information IVR2, and the number of on-cells or off-cells may be counted as a second count.
[0072] The memory controller 120 can model the first function F1 and the second function F2 based on the first count value and the second count value. For example, the memory controller 120 can manage count values and exponential functions corresponding to the count values as metadata. The memory controller 120 can model exponential functions by referring to the metadata.
[0073] In one embodiment, a level of the first read voltage VR1 and a level of the second read voltage VR2 may be fixed. For another example, the memory controller 120 may manage, as metadata, ranges of at least one of environmental variables, such as a temperature, a humidity, an erase count of memory cells, a time elapsed after data is written, the number of times a read operation is performed after data is written, and the level of the first read voltage VR1 and the second read voltage VR2 corresponding to the range. The memory controller 120 may determine the levels of the first read voltage VR1 and the second read voltage VR2 with reference to the metadata.
[0074] The number of times a pre-read operation is performed is not limited to "2." The number of times a pre-read operation is performed may be fixed. On the other hand, the storage controller 120 may manage ranges of at least one of the above environment variables and the number of pre-read operations corresponding to the ranges as metadata, and may determine the number of times a pre-read operation is performed by referring to the metadata.
[0075] In one embodiment, the memory controller 120 may model an exponential function that is jointly applicable to the erase state “E” and the program state “P,” or may model separate exponential functions corresponding to the erase state “E” and the program state “P,” respectively.
[0076] With further reference to Fig. 1 and Fig. 5, in method step S170, the memory controller 120 may determine an offset. The offset may be determined, for example, based on brute force. The memory controller 120 may set various offsets and calculate the number of strong correct (SC) bits, weak correct (WC) bits, weak incorrect (WE) bits, and strong incorrect (SE) bits for each of the offsets.
[0077] The memory controller 120 may select an offset in which the calculated numbers belong to a specific range from the offsets. For example, the memory controller 120 may select an offset based on a ratio (e.g., a first ratio) of the number of strong correct (SC) bits to the number of strong correct (SC) bits and weak correct (WC) bits, and a ratio (e.g., a second ratio) of the number of strong false (SE) bits to the number of weak false (WE) bits and strong false (SE) bits.
[0078] For example, as an offset increases, the number of weak correct (WC) bits and weak incorrect (WE) bits may increase, and the distinction between incorrect bits and correct bits may be reduced. As an offset decreases, a difference from the hard-decision read operation may be reduced. The memory controller 120 may select an offset that can ensure the difference from the hard-decision read operation while determining the distinction. For example, the memory controller 120 may select an offset in which the first ratio is close to 90% and the second ratio is approximately 4%.
[0079] As another example, the memory controller 120 may include a machine learning algorithm trained to derive an offset. The memory controller 120 may derive an offset using the machine learning algorithm. In step S175, the memory controller 120 may transmit a second read command CMD_R2, the physical address PBA, read voltage information IVR, and a second offset OFF2 determined in step S170 to the non-volatile memory device 110.
[0080] In one embodiment, the second offset OFF2 may include one offset applicable jointly to the erase state "E" and the program state "P," or may include two offsets corresponding respectively to the erase state "E" and the program state "P." The two offsets may be identical or different.
[0081] As with reference to Fig. 4, in step S180, the non-volatile memory device 110 may perform offset read operations using the read level indicated by the read voltage information IVR and the second offset OFF2, and may perform an exclusive OR operation on results of the offset read operations. In step S185, the non-volatile memory device 110 may transmit a result of the exclusive OR operation as fourth data D4 to the memory controller 120. The operation in step S175 may thus include transmitting the second offset OFF2, a fourth read command (CMR_R21), and fourth read voltage information (IVR). The step in S185 may thus include receiving fourth data (D2) based on the fourth read command (CMD_R2 from S175).
[0082] In method step S190, the memory controller 120 may perform a soft decision operation for a soft decision (SD). As described with reference to Fig. 4, the memory controller 120 may, for example, assign scores to the strong correct (SC) bits, the weak correct (WC) bits, the weak false (WE) bits, and the strong false (SE) bits, respectively, and may perform LDPC decoding.
[0083] In one embodiment, if the soft decision operation succeeds, original data may be recovered. In step S195, the memory controller 120 may provide the recovered original data to the external host device as fifth data D5.
[0084] As described above, the memory controller 120 can perform pre-read operations and can model threshold voltage distributions of memory cells. The memory controller 120 can determine an offset based on the modeling result and can perform the soft decision operation. Since an offset is determined based on a state of a threshold voltage distribution of memory cells, the reliability of the soft decision operation can be improved.
[0085] In one embodiment, the first read commands CMD_R1 may be transmitted along with the read voltage information IVR and may have the same codes. The second read command CMD_R2 may be transmitted along with the read voltage information (e.g., IVR1 or IVR2) and an offset (e.g., OFF2) and may have a code that differs from that of the first read commands CMD_R1.
[0086] In one embodiment, in method step S170, in which an offset is determined, a read level indicated by the read voltage information IVR may also be changed (or modified). The read level indicated by the read voltage information IVR may, for example, be changed to a level corresponding to an intersection of the first function F1 and the second function F2. This means that a read level indicated by the read voltage information IVR in method step S115 may differ from a read level indicated by the read voltage information IVR in method step S175.
[0087] As described above, the pre-read operations serve to model the first function F1 and the second function F2. Accordingly, the error correction code block 128 may omit the error correction decoding associated with the second data D2, with the third data D3 being results of the pre-read operations. In one embodiment, the physical addresses PBA included in Fig. 5, display the same memory cells.
[0088] In one embodiment, in the case where at least a portion of the first count value and the second count value is acquired in advance during the process of executing algorithms (e.g., defense codes) for recovering a read error, at least a portion of the operations for acquiring the first count value and the second count value may be omitted. The portion of the operations that can be omitted may correspond to the portion acquired in advance. In one embodiment, after the original data is successfully recovered in step S190, the memory controller 120 may perform a read reclaim operation to write the recovered data to other memory cells of the non-volatile memory device 110. Because data is rewritten by the read reclaim operation, the deterioration of data can be recovered.
[0089] As described above, in connection with Fig. 5, S115 may be appropriately described as a step including a transmission of a first read command and first read voltage information, S135 may be appropriately described as a step including a transmission of a second read command and second read voltage information, S150 may be appropriately described as a step including a transmission of a third read command and third read voltage information, and S175 may be appropriately described as a step including a transmission of an offset, a fourth read command and fourth read voltage information.S125 can be appropriately described as a step involving reception of first data, S145 can be appropriately described as a step involving reception of second data, S160 can be appropriately described as a step involving reception of third data, and S185 can be appropriately described as a step involving reception of fourth data. The offset transmitted at S175 is based on the modeling at method step S165, which in turn is performed based on the second data received at S145 and the third data received at S160. Accordingly, the offset transmitted at method step S175 is set or adjusted based on the second data received at S145 and the third data received at S160.
[0090] Fig. Figure 7 illustrates threshold voltage distributions of memory cells when three bits are written to a memory cell. Referring to Fig. 1, Fig. 5 and Fig. 7, each of the memory cells of the non-volatile memory device 110 can be used (e.g., programmed) to belong to a threshold voltage range corresponding to one of the erase state "E" and one of the first program state P1 to the seventh program state P7. Seven read voltages VR can be used between eight states for the purpose of reading data from the memory cells.
[0091] When n bits are written to each of the memory cells, each of the memory cells is said to belong to one of 2n states. In a read operation, (2n - 1) read voltages can be used to identify states of the memory cells.
[0092] Each of the read voltage information IVR, IVR1, and IVR2 in step S115, step S135, and step S150 may include information about (2n - 1) read levels. Alternatively, each of the read voltage information IVR, IVR1, and IVR2 in step S115, step S135, and step S150 may include information indicating one of sets each including (2n - 1) read levels. In each step S120 and step S140, (2n - 1) read operations may be performed using (2n - 1) read levels.
[0093] In process step S165, "2 x (2n - 1)" functions can be modeled in the case where different functions are modeled in two overlapping distribution states. Alternatively, in process step S165, "2n - 1" functions can be modeled in the case where the same function is modeled in two overlapping distribution states.
[0094] In method step S170, "2 x (2n - 1)" offsets can be determined in the case where different offsets are determined in two overlapping distribution states. Alternatively, in method step S170, "2n - 1" offsets can be determined in the case where the same offset is determined in two overlapping distribution states.
[0095] The read voltage information IVR in step S175 may include information about (2n - 1) read levels, or information indicating one of sets each including (2n - 1) read levels. In step S175, the second offset OFF may include "2 x (2n - 1)" offsets in the case where different offsets are determined in two overlapping distribution states. Alternatively, in step S175, the second offset OFF2 may include "2n - 1" offsets in the case where the same offset is determined in two overlapping distribution states.
[0096] As another example, in step S175, the second offset OFF2 may include information indicating sets each including "2 X (2n - 1)" offsets in the case where different offsets are determined in two overlapping distribution states. Alternatively, in step S175, the second offset OFF2 may include one of sets each including "2n - 1" offsets in the case where the same offset is determined in two overlapping distribution states. In step S180, the non-volatile memory device 110 may perform "2 X (2n - 1)" read operations.
[0097] Fig. 8 illustrates the soft decision controller 125 according to an embodiment of the present disclosure. Referring to Fig. 1, Fig. 5 and Fig. 8, the soft decision controller 125 may include a counter 210, an exponential calculator 220, an offset determiner 230, and an error correction code (ECC) modifier 240. The counter 210, the exponential calculator 220, the offset determiner 230, and the error correction code (ECC) modifier 240 may each be implemented by combinations of a processor and software executed by the processor, or by specific circuitry, such as application-specific integrated circuits (ASICs).
[0098] Counter 210 can count the number of on-cells or off-cells based on the data (e.g., second data D2 and third data D3) read by the pre-read operations. Exponential calculator 220 can calculate an exponential function or exponential functions based on the count value of counter 210.
[0099] For example, the exponential calculator 220 may manage count values and exponential functions corresponding to the count values as metadata. The exponential calculator 220 may select exponential functions by reference to the metadata. As another example, the exponential calculator 220 may include a machine learning algorithm trained to derive exponential functions from count values.
[0100] The offset determiner 230 can determine the second offset OFF2 based on the exponential functions. For example, the offset determiner 230 can calculate the number of (strong, weak, true, or false) bits corresponding to the offsets based on brute force and can select an offset based on the number of (strong, weak, true, or false) bits.
[0101] As another example, the offset determiner 230 may manage parameters of an exponential function and offsets corresponding to the parameters as metadata. The offset determiner 230 may select an offset by referring to the metadata. For example, an exponential function may be in the form of "eax+b." Here, "x" may correspond to an abscissa, i.e., a threshold voltage VTH. In the exponential function, a parameter may include "a" and "b."
[0102] As another example, the offset determiner 230 may include a machine learning algorithm trained to derive the second offset OFF2 from parameters of an exponential function. The offset determiner 230 may determine the second offset OFF2 using the machine learning algorithm. As another example, the exponential calculator 220 and the offset determiner 230 may be integrated into a machine learning algorithm trained to derive the second offset OFF2 from count values.
[0103] The offset determiner 230 may transmit strength information SI about the second offset OFF2 to the ECC modifier 240. The strength information SI may include, for example, a ratio (e.g., a first ratio) of the number of strong correct (SC) bits to the number of strong correct (SC) bits and weak correct (WC) bits, and a ratio (e.g., a second ratio) of the number of strong false (SE) bits to the number of weak false (WE) bits and strong false (SE) bits.
[0104] The ECC modifier 240 may modify internal operating parameters of the error correction code block 128 based on the first ratio and the second ratio. For example, if the number of weak bits (WE and WC bits) is less than a first reference value, a score to be assigned to the weak bits may be increased. If the number of weak bits is higher than the second reference value, a score to be assigned to the weak bits may be reduced.
[0105] In one embodiment, the ECC modifier 240 may be optionally provided. The ECC modifier 240 may be provided in the soft decision controller 125 and may be selectively enabled or disabled. The ECC modifier 240 need not be included in the soft decision controller 125 and is dispensable.
[0106] Fig. 9 is a flowchart illustrating an operating method of the storage device 100 according to another embodiment of the present disclosure. Referring to Fig. 1 and Fig. 9, in method step S211, the memory controller 120 may receive a read request including a logical address LBA from the external host device. The method step S211 may be combined with the method step S110 of Fig. 5. The method steps S110 and S112 of Fig. The explanation given in section 5 can be applied identically to process step S211.
[0107] In method step S212, the memory controller 120 may transmit the first read command CMD-R1, the physical address PBA, and the read voltage information IVR to the non-volatile memory device 110. In method step S213, the non-volatile memory device 110 may perform a read operation. In method step S214, the non-volatile memory device 110 may transmit the thus read first data D1 to the memory controller 120. Method steps S212 to S214 may be combined with method steps S115 to S125 of Fig. 5. The method steps S115 to S125 of Fig. The explanation given in Figure 5 can be applied identically to method steps S212 to S214. The method step at S212 can thus include a transmission of a sequential first read command (CMR_R1) and first read voltage information (IVR). The method step at S214 can thus include the reception of sequential first data (D1) based on the first read command (CMD_R1 of S212).
[0108] In method step S215, the memory controller 120 may perform the error correction decoding. In one embodiment, the error correction decoding may fail. Method step S215 may be combined with method step S130 of Fig. 5. The method steps S130 and S131 of Fig. 5 explanation can be applied to process step S215 of Fig. 9 are applied identically.
[0109] If the error correction decoding fails, in step S216, the memory controller 120 may transmit the second read command CMD_R2, the physical address PBA, the read voltage information IVR, and the first offset OFF1 to the non-volatile memory device 110. The second read command CMD_R2 may direct read operations for a soft decision process. The first offset OFF1 may have a fixed value or a preset value.
[0110] In the case of Fig. In step S217 described in FIG. 4, the non-volatile memory device 110 may perform an offset read operation using the first offset read voltage VRO1 and may perform an offset read operation using the second offset read voltage VRO2. In step S218, the non-volatile memory device 110 may transmit a result of the exclusive OR operation performed on the read results to the memory controller 120 as sixth data D6. The step at S216 may thus include a transmission of a sequential second read command (CMR_R2) and second read voltage information (IVR). The step at S218 may thus include a reception of sequential second data (D6) based on the second read command (CMD_R2 of S216).
[0111] In step S219, the memory controller 120 may perform a soft decision operation for a soft decision (SD) based on the first data D1 and the sixth data D6. The memory controller 120 may identify strong correct (SC) bits, weak correct (WC) bits, weak false (WE) bits, and strong false (SE) bits, and may assign scores to the strong correct (SC) bits, the weak correct (WC) bits, the weak false (WE) bits, and the strong false (SE) bits, respectively. Subsequently, the memory controller 120 may perform LDPC decoding. For example, the soft decision operation for the soft decision (SD) may fail.
[0112] If the soft decision operation for the soft decision fails, the memory controller 120 may perform pre-read operations. In step S220, the memory controller 120 may transmit the first read command CMD_R1, the physical address PBA, and the first read voltage information IVR to the non-volatile memory device 110.
[0113] In step S221, the non-volatile memory device 110 may perform a read operation using a read level indicated by the first read voltage information IVR. In step S222, the non-volatile memory device 110 may transmit the data read in step S221 to the memory controller 120 as the second data D2. The step at S220 may thus include transmitting a sequential third read command (CMR_R1) and third read voltage information (IVR1). The step at S222 may thus include receiving sequential third data (D2) based on the third read command (CMD_R1 of S220).
[0114] In step S223, the memory controller 120 may transmit the first read command CMD_R1, the physical address PBA, and the second read voltage information IVR2 to the non-volatile memory device 110. In step S224, the non-volatile memory device 110 may perform a read operation using a read level indicated by the second read voltage information IVR2. In step S225, the non-volatile memory device 110 may transmit the data read in step S224 to the memory controller 120 as the third data D3. The step at S223 may thus include transmitting a sequential fourth read command (CMD_R1) and fourth read voltage information (IVR2). The step at S225 may thus include receiving sequential fourth data (D4) based on the fourth read command (CMD_R1 of S223).
[0115] In step S226, the memory controller 120 may model exponential functions. The memory controller 120 may identify or adjust an offset based on modeling the threshold voltage distributions of memory cells using the second data D2 and the third data D3, and the offset may be transmitted to the non-volatile memory device 110 at S228, as explained below. In step S227, the memory controller 120 may determine an offset. In step S228, the memory controller 120 may transmit the second read command CMD_R2, the physical address PBA and the read voltage information IVR, and the second offset OFF2 to the non-volatile memory device 110.
[0116] In method step S229, the non-volatile memory device 110, as described with reference to Fig. 4, perform offset read operations by using two offset read voltages indicated by the read voltage information IVR and the second offset OFF2. In method step S230, the non-volatile memory device 110 may transmit data read in method step S229 to the memory controller 120 as fourth data D4. Method step S228 may thus include transmitting a sequential fifth read command (CMR_R2) and fifth read voltage information (IVR). The method step at S230 may thus include receiving sequential fifth data (D4) based on the fifth read command (CMD_R2 of S228).
[0117] The process steps S220 to S230 can be combined with the process steps S135 to S185 of Fig. 5. The process steps S135 to 185 of Fig. 5 explanation can be applied to process steps S220 to S230 of Fig. 9 are applied identically.
[0118] In step S231, the memory controller 120 may perform a soft decision operation for a soft decision (SD). As described with reference to step S190 of Fig. For example, as described in FIG. 5, the memory controller 120 may identify strong correct (SC) bits, weak correct (WC) bits, weak false (WE) bits, and strong false (SE) bits based on the first data D1 and the fourth data D4, and may assign scores to the strong correct (SC) bits, the weak correct (WC) bits, the weak false (WE) bits, and the strong false (SE) bits, respectively. The memory controller 120 may then perform LDPC decoding.
[0119] As another example, the memory controller 120 may identify bits as six types of correct bits and incorrect bits further based on the sixth data D6, and may assign scores to the six types of correct and incorrect bits, respectively. After that, the memory controller 120 may perform LDPC decoding. For example, the soft decision (SD) operation may be successful. In step S232, the memory controller 120 may provide the external host device with retrieved data as the fifth data D5.
[0120] As described above, when a hard-decision-based read operation fails, the storage device 100 may perform a soft-decision operation for a soft decision. In the case where the soft-decision operation fails, the storage device 100 may perform a fine soft-decision operation including pre-read operations. In one embodiment, the methods described with reference to Fig. 5 explanations on Fig. 9 shall be applied identically unless expressly stated otherwise in this context.
[0121] As described above, Fig. 9 may be appropriately described as one which includes transmission and reception operations which may be described as a sequence different from the designation in Fig. 9. In connection with Fig. 9 For example, S212 may be appropriately referred to as such a method step that includes a transmission of a first read command and first read voltage information, S216 may be appropriately referred to as such a method step that includes a transmission of a first offset, a second read command and second read voltage information, S220 may be appropriately referred to as such a method step that includes a transmission of a third read command and third read voltage information, S223 may be appropriately referred to as such a method step that includes a transmission of a fourth read command and fourth read voltage information, and S228 may be appropriately referred to as such a method step that includes a transmission of a second offset, a fifth read command and fifth read voltage information.S214 may be appropriately referred to as such a method step that includes receiving first data, S218 may be appropriately referred to as such a method step that includes receiving second data, S222 may be appropriately referred to as such a method step that includes receiving third data, S225 may be appropriately referred to as such a method step that includes receiving fifth data, and S230 may be appropriately referred to as a method step that includes receiving fifth data. The second offset transmitted at S228 is based on the modeling at S226, which in turn is performed based on the third data received at S222 and the fourth data received at S225.Accordingly, the second offset transmitted at S228 is set or adjusted based on the first offset transmitted at S216 based on the third data received at S222 and the fourth data received at S225.
[0122] Fig. 10 is a block diagram illustrating a non-volatile memory device 300 according to an embodiment of the present disclosure. Referring to Fig. 10, the non-volatile memory device 300 includes a memory cell array 310, a row decoder block 320, a page buffer block 330, a data input and output block 340, a buffer block 350, and a control logic block 360.
[0123] The memory cell array 310 includes a plurality of memory blocks BLK1 to BLKz. Each of the memory blocks BLK1 to BLKz may include a plurality of memory cells. The memory blocks BLK1 to BLKz may each be connected to the row decoder block 320 through at least one ground select line GSL, word lines WL, and at least one string select line SSL. Some of the word lines WL may be used as dummy word lines. The memory blocks BLK1 to BLKz may each be connected to the page buffer memory block 330 through a plurality of bit lines BL. The plurality of memory blocks BLK1 to BLKz may be commonly connected to the plurality of bit lines BL.
[0124] In one embodiment, the memory blocks BLK1 to BLKz may each be a unit of an erase operation. The memory cells each belonging to the memory blocks BLK1 to BLKz may be erased simultaneously. As another example, each of the plurality of memory blocks BLK1 to BLKz may be divided into a plurality of sub-blocks. Each of the plurality of sub-blocks may correspond to a unit of an erase operation.
[0125] Row decoder block 320 may be connected to memory cell array 310 through ground select lines GSL, word lines WL, and string select lines SSL. Row decoder block 320 operates under the control of control logic block 360.
[0126] The row decoder block 320 may decode a row address RA received from the buffer memory block 350 and may control voltages to be applied to the string select lines SSL, the word lines WL, and the ground select lines GSL based on the decoded row address.
[0127] The page buffer block 330 is connected to the memory cell array 310 by the plurality of bit lines BL. The page buffer block 330 is connected to the data input and output block 340 by a plurality of data lines DL. The page buffer block 330 operates under the control of the control logic block 360.
[0128] In a write operation, the page buffer block 330 can store data to be written to the memory cells. The page buffer block 330 can apply voltages to the plurality of bit lines BL based on the stored data. In a read operation or in a verify read operation performed in the write operation or the erase operation, the page buffer block 330 can detect voltages of the bit lines BL and store the detection result.
[0129] The data input and output block 340 is connected to the page buffer block 330 through the plurality of data lines DL. The data input and output block 340 can receive a column address CA from the buffer block 350. The data input and output block 340 can output the data read by the page buffer block 330 to the buffer block 350 based on the column address CA. The data input and output block 340 can provide data received from the buffer block 350 to the page buffer block 330 based on the column address CA.
[0130] Buffer memory block 350 may receive a command CMD and an address ADDR from an external device through the first channel CH1, and may exchange data "DATA" with the external device through the first channel CH1. Buffer memory block 350 may operate under the control of control logic block 360. Buffer memory block 350 may provide the command CMD to control logic block 360. Buffer memory block 350 may provide the row address RA of the address ADDR to row decoder block 320, and may provide the column address CA of the address ADDR to data input / output block 340. Buffer memory block 350 may exchange data "DATA" with data input / output block 340.
[0131] The control logic block 360 may exchange control signals CTRL from the external device through the second channel CH2. The control logic block 360 may allow the buffer memory block 350 to route the CMD command, the ADDR address, and the DATA data. The control logic block 360 may decode the CMD command received from the buffer memory block 350 and control the non-volatile memory device 300 based on the decoded command.
[0132] In one embodiment, non-volatile memory device 300 may further include a calculator for performing an exclusive OR operation on the results of performing read operations using read voltages indicated by read voltage information and an offset. The calculator may be included in data input / output block 340, buffer block 350, or control logic block 360. As another example, the calculator may be located between page buffer block 330 and data input / output block 340, or between data input / output block 340 and buffer block 350.
[0133] In one embodiment, non-volatile memory device 300 may be fabricated by bonding. Memory cell array 310 may be fabricated on a first wafer, and row decoder block 320, buffer memory block 330, data input / output block 340, buffer memory block 350, and control logic block 360 may be fabricated on a second wafer. Non-volatile memory device 300 may be implemented by coupling the first wafer and the second wafer such that a top surface of the first wafer and a top surface of the second wafer face each other.
[0134] As another example, non-volatile memory device 300 may be fabricated in a cell-over-peri (COP) fashion. Peripheral circuitry including row decoder block 320, page buffer block 330, data input / output block 340, buffer block 350, and control logic block 360 may be implemented on a substrate. Memory cell array 310 may be implemented over the peripheral circuitry. The peripheral circuitry and memory cell array 310 may be connected using vias.
[0135] Fig. 11 illustrates an example of a memory block BLK1 according to an embodiment of the present disclosure. Referring to Fig. 11, a plurality of cell strings CS may be arranged in rows and columns on a substrate SUB along a first direction, a second direction, and a third direction. The plurality of cell strings CS may be commonly connected to a common source line CSL formed on (or in) the substrate SUB. Fig. 11, a position of the substrate SUB is exemplified to facilitate understanding of a structure of the memory block BLK1.
[0136] The cell strings of the rows may be commonly connected to the ground select line GSL, and the cell strings of a respective row may be connected to a corresponding one of a first upper string select line SSLu1 to an upper string select line SSLu4 and a corresponding one of a first lower string select line SSL11 to a fourth lower string select line SSL14. The cell strings of a respective column may be connected to a corresponding first bit line BL1 to a fourth bit line BL4. Cell strings connected to the second string select lines SSL12 and SSLu2, and third string select lines SSL13 and SSLu3 are shown obscurely.
[0137] Each cell string may include at least one ground selection transistor GST connected to the ground selection line GSL, a first dummy memory cell DMC1 connected to a first dummy word line DWL1, a first memory cell MC1 to tenth memory cell MC10 connected to the first word line WL12 to tenth word line WL10, respectively, a second dummy memory cell DMC2 connected to a second dummy word line DWL2, and lower and upper string selection transistors SSTI and SSTu, each connected to the corresponding lower and upper string selection lines.
[0138] In each cell string, the ground selection transistor GST, the first dummy memory cell DMC1, the first memory cell MC1 to the tenth memory cell MC10, the second dummy memory cell DMC2, and the lower and upper string selection transistors SST1 and SSTu may be serially connected along the third direction perpendicular to the substrate SUB, and may be stacked along the third direction perpendicular to the substrate SUB.
[0139] The memory block BLK1 can be provided as a three-dimensional (3D) memory array. The 3D memory array is monolithically formed in one or more physical levels of arrays of memory cells MC with an active area arranged above a silicon substrate and circuitry associated with the operation of those same memory cells MC. The circuitry associated with the operation of memory cells MC can be arranged above or within such a substrate. The term "monolithic" means that layers of a respective level of the array are deposited directly on the layers of an underlying level of the 3D memory array.
[0140] In one embodiment of the present disclosure, the 3D memory array includes vertical cell strings CS (or NAND strings) vertically aligned such that at least one memory cell is positioned above another memory cell. The at least one memory cell may include a charge trapping layer. Each cell string may further include at least one selection transistor disposed above the memory cells MC. The at least one selection transistor may have the same structure as the memory cells MC and may be formed integrally with the memory cells MC.
[0141] The following patent documents, which are incorporated herein by reference, describe suitable configurations for three-dimensional memory arrays in which the three-dimensional memory array is configured as a plurality of levels with word lines and / or bit lines shared between levels: US Patent Nos. 7,679,133; 8,553,466; 8,654,587; 8,559,235 and US Patent Publication No. 2011 / 0233648.
[0142] In the foregoing description, components according to several embodiments of the present disclosure are explained by using the terms "first," "second," "third," and the like. The terms "first," "second," "third," and the like may be used to distinguish components from one another without limiting the inventive concept(s) described herein. Unless the context clearly indicates the use of the terms, the terms "first," "second," "third," and the like do not necessarily imply a sequential order or a numerical meaning of any kind.
[0143] In the above embodiments, components according to embodiments of the present disclosure are explained using blocks. The blocks may be implemented with various hardware devices, such as an integrated circuit, an application-specific integrated circuit (ASCI), a field-programmable gate array (FPGA), and a complex programmable logic device (CPLD), firmware driven in hardware devices, software such as an application, or a combination of hardware and software. Furthermore, the blocks may include circuits implemented with semiconductor elements in an integrated circuit or circuits registered as intellectual property (IP).
[0144] According to the inventive concepts described herein, an offset is determined based on a distribution of threshold voltages of memory cells, performing a soft decision operation. Accordingly, a memory device with increased operational reliability is provided, wherein an operating method for the memory device is provided to include performing a read operation that adaptively corresponds to states of memory cells.
[0145] Although the inventive concept(s) of the present disclosure have been described with reference to exemplary embodiments thereof, it will be apparent to those of ordinary skill in the art that various changes and modifications may be made therein without departing from the scope of the present disclosure as set forth in the following claims.
Claims
[1] A storage device comprising: a non-volatile memory including a plurality of memory cells, and a memory controller configured to transmit a first read command and first read voltage information associated with the plurality of memory cells to the non-volatile memory device, to receive first data from the non-volatile memory device based on the first read command, and to perform error correction on the first data, wherein, if the error correction fails, the memory controller is further configured to transmit a second read command and second read voltage information associated with the plurality of memory cells to the non-volatile memory device, receive second data from the non-volatile memory device based on the second read command, transmit a third read command and third read voltage information associated with the plurality of memory cells to the non-volatile memory device, and receive third data from the non-volatile memory device based on the third read command, and wherein the memory controller is further configured to adjust an offset based on the second data and the third data, transmit the offset, a fourth read command, and fourth read voltage information associated with the plurality of memory cells to the non-volatile memory device, receive fourth data from the non-volatile memory device based on the fourth read command, and perform a soft decision operation based on the fourth data, wherein the controller calculates an equation of at least a portion of distributions of threshold voltages of the plurality of memory cells based on the second data and the third data to calculate a first number of strong error bits, a second number of weak error bits, a third number of strong correct bits, and a fourth number of weak correct bits based on the equation, and to adjust the offset based on the first number, the second number, the third number, and the fourth number, wherein the controller is further configured to omit error correction associated with the second data and the third data. [2] The memory device according to claim 1, wherein the first read command, the second read command and the third read command include the same codes. [3] The memory device according to claim 1, wherein a code of the fourth read command is different from codes of the first read command, the second read command and the third read command. [4] The memory device according to claim 1, wherein, in response to receiving a read command from the first read command, the second read command, and the third read command, the non-volatile memory device is configured to perform a read operation on the plurality of memory cells by using a read level indicated by read voltage information corresponding to the received one of the first read voltage information, the second read voltage information, and the third read voltage information. [5] The memory device according to claim 1, wherein each of the first read voltage information, the second read voltage information and the third read voltage information includes information about two or more read levels. [6] The memory device according to claim 1, wherein, in response to the fourth read command, the non-volatile memory device is configured to perform a read operation by using a first read level obtained by subtracting the offset from a read level indicated by the fourth read voltage information and a second read level obtained by adding the offset to the read level obtained by the fourth read voltage information. [7] The memory device according to claim 6, wherein, in response to the fourth read command, the non-volatile memory device is further configured to perform an exclusive OR operation on a result of performing a read operation by using the first read level and a result of performing a read operation by using the second read level, and to provide the memory controller with a result of the exclusive OR operation as the fourth data. [8] The memory device of claim 1, wherein the controller adjusts the offset such that a ratio of a sum of the second number and the fourth number to a sum of the first number, the second number, the third number, and the fourth number belongs to a target range. [9] The memory device of claim 1, wherein the controller is further configured to adjust the offset by using the second data and the third data based on machine learning. [10] The memory device of claim 1, wherein, after the soft decision operation is performed, the controller is further configured to write data read and retrieved from the plurality of memory cells to a plurality of other memory cells. [11] The memory device of claim 1, wherein the controller is further configured to omit error correction associated with the fourth data. [12] The memory device of claim 1, wherein the controller is further configured to modify parameters to be used in the soft decision process based on a first number of strong error bits predicted at the offset, a second number of weak error bits predicted at the offset, a third number of strong correct bits predicted at the offset, and a fourth number of weak correct bits predicted at the offset. [13] The memory device of claim 12, wherein the soft decision operation is performed by low-density parity check (LDPC) decoding, and wherein the controller is further configured to adjust scores to be given to the strong error bits, the weak error bits, the strong correct bits, and the weak correct bits based on the first number, the second number, the third number, and the fourth number. [14] A storage device comprising: a non-volatile memory device including a plurality of memory cells; and a memory controller configured to transmit a first read command and first read voltage information associated with the plurality of memory cells to the non-volatile memory device, to receive first data from the non-volatile memory device based on the first read command, and to perform error correction on the first data, wherein, if the error correction fails, the memory controller is further configured to transmit a first offset, a second read command, and second read voltage information associated with the plurality of memory cells to the non-volatile memory device, receive second data from the non-volatile memory device based on the second read command, and perform a first soft decision operation based on the second data, wherein, if the soft decision operation fails, the memory controller is further configured to transmit a third read command and third read voltage information associated with the plurality of memory cells to the non-volatile memory device, receive third data from the non-volatile memory device based on the third read command, transmit a fourth read command and fourth read voltage information associated with the plurality of memory cells to the non-volatile memory device, and receive fourth data from the non-volatile memory device based on the fourth read command, and wherein the memory controller is further configured to adjust the first offset to a second offset based on the third data and the fourth data, transmit the offset, a fifth read command, and fifth read voltage information associated with the plurality of memory cells to the non-volatile memory device, receive fifth data from the non-volatile memory device based on the fifth read command, and perform a soft decision operation based on the fifth data, wherein the controller calculates an equation of at least a portion of distributions of threshold voltages of the plurality of memory cells based on the second data and the third data to calculate a first number of strong error bits, a second number of weak error bits, a third number of strong correct bits, and a fourth number of weak correct bits based on the equation, and to adjust the offset based on the first number, the second number, the third number, and the fourth number, wherein the controller is further configured to omit error correction associated with the second data and the third data. [15] The memory device according to claim 14, wherein a first read level indicated by one of the second read voltage information and the third read voltage information is lower than a read level indicated by the first read voltage information, and a second read level indicated by the other of the second read voltage information and the third read voltage information is higher than the read level indicated by the first read voltage information. [16] The memory device of claim 14, wherein the non-volatile memory device includes a plurality of memory blocks, each of which includes memory cells stacked on a substrate in a direction perpendicular to the substrate, wherein memory cells arranged at a same height from the substrate are connected to a plurality of partial word lines, and wherein the plurality of memory cells are connected to a partial word line. [17] The memory device of claim 14, wherein the second offset includes two offsets corresponding to a read level indicated by the fifth read voltage information. [18] An operating method for a memory device including a non-volatile memory device and a controller for controlling the non-volatile memory device, the operating method comprising the steps of: Reading, at the controller, first data and second data from the non-volatile memory device by using a first read voltage and a second read voltage, respectively; adjusting, at the controller, an offset based on the first data and the second data; reading, at the controller, third data from the non-volatile memory device by using a third read voltage and the adjusted offset; performing, at the controller, a soft decision operation based on the third data; Calculating, at the controller, an equation of at least a portion of distributions of threshold voltages of the plurality of memory cells based on the second data and the third data to calculate a first number of strong error bits, a second number of weak error bits, a third number of strong correct bits, and a fourth number of weak correct bits based on the equation, and to adjust the offset based on the first number, the second number, the third number, and the fourth number; and Omitting, at the controller, an error correction associated with the second data and the third data.
Citation Information
Patent Citations
Three-Dimensional Semiconductor Memory Devices And Methods Of Fabricating The Same
US20110233648A1
Vertical-type non-volatile memory devices
US7679133B2
Non-volatile memory device, erasing method thereof, and memory system including the same
US8553466B2
Nonvolatile memory device, operating method thereof and memory system including the same
US8559235B2
Nonvolatile memory devices, channel boosting methods thereof, programming methods thereof, and memory systems including the same
US8654587B2
