Memory system and method

The memory system optimizes read operations by adjusting determination voltages based on fail bit counts to enhance error correction efficiency and reduce data errors, addressing inefficiencies in conventional systems.

JP2024135874APending Publication Date: 2024-10-04KIOXIA CORP
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2023046769
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-23
Publication Date
2024-10-04

AI Technical Summary

Technical Problem

Conventional memory systems face challenges in efficiently performing optimized read operations due to variations in threshold voltage of memory cell transistors, leading to data errors and inefficiencies in error correction.

Method used

A memory system and method that includes a controller to sequentially perform optimized read operations on storage areas, adjusting determination voltages based on fail bit counts to optimize error correction, and skipping unnecessary operations to improve efficiency and reduce data corruption.

Benefits of technology

The system enhances the probability of successful error correction by dynamically adjusting determination voltages and optimizing read operations, reducing data errors and improving overall system efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024135874000001_ABST
    Figure 2024135874000001_ABST
Patent Text Reader

Abstract

To provide a memory system and a method for efficiently performing an optimized read operation.SOLUTION: A controller of a memory system sequentially and repeatedly performs a first operation on a plurality of first memory areas. The first operation includes acquiring first data based on a comparison between a threshold voltage and a determination voltage of each memory cell of a second memory area which is one of the plurality of first memory areas, calculating a fail bit count of the first data, performing a second operation if the fail bit count is larger than a first threshold, and skipping the second operation if the fail bit count is smaller than the first threshold. The first data is a part of second data stored in the second memory area. The second operation includes acquiring the second data, calculating the fail bit count of the second data, and updating the determination voltage based on the fail bit count of the second data.SELECTED DRAWING: Figure 14
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present embodiments relate to a memory system and method. [Background technology]

[0002] Conventionally, memory systems including semiconductor memories having memory cell transistors are widely known. In such memory systems, in a read operation, data stored in a memory cell transistor is determined based on a comparison between the threshold voltage of the memory cell transistor and a determination voltage.

[0003] The threshold voltage of a memory cell transistor may change due to various factors. The change in the threshold voltage of the memory cell transistor may cause the data stored in the memory cell transistor to change to erroneous data. The memory system sequentially and repeatedly executes a special read operation for obtaining an optimal determination voltage for reading data with fewer errors on a plurality of memory areas selected according to a predetermined criterion. This special read operation is referred to as an optimized read operation. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] U.S. Pat. No. 10,665,305 Summary of the Invention [Problem to be solved by the invention]

[0005] An object of one embodiment is to provide a memory system and method capable of efficiently executing an optimized read operation. [Means for solving the problem]

[0006] According to one embodiment, a memory system includes a memory and a controller. The memory includes a plurality of first storage areas, each of which includes a word line and a plurality of memory cells connected to the word line. The controller sequentially and repeatedly executes a first operation on the plurality of first storage areas. The first operation is an operation of acquiring first data based on a comparison between a threshold voltage of each memory cell of a second storage area, which is one of the plurality of first storage areas, and a judgment voltage, calculating a first fail bit count that is a fail bit count of the first data, and executing a second operation if the first fail bit count is greater than the first threshold, and skipping the second operation if the first fail bit count is less than the first threshold. The first data is a part of second data stored in the second storage area. The second operation is an operation of acquiring second data based on a comparison between a threshold voltage of each memory cell of the second storage area and the judgment voltage, calculating a second fail bit count that is a fail bit count of the second data, and updating the judgment voltage based on the second fail bit count. [Brief description of the drawings]

[0007] [Figure 1] FIG. 1 is a diagram showing an example of the configuration of a memory system according to an embodiment. [Diagram 2] FIG. 2 is a diagram showing an example of the configuration of a memory chip according to the embodiment. [Diagram 3] FIG. 2 is a diagram showing a circuit configuration of a block according to an embodiment. [Figure 4] FIG. 2 is a diagram for explaining an example of data coding according to the embodiment; [Diagram 5] 11 is a diagram showing another example of threshold voltages that the memory cell of the embodiment can have. [Figure 6] 6 is a graph for explaining two FBC thresholds used for different memory chips in the memory system of the embodiment. [Figure 7] 10A to 10C are diagrams for explaining an example of a method for identifying data retention characteristics from fatigue test results according to an embodiment. [Figure 8]5A and 5B are schematic diagrams for explaining the difference in the amount of information of original data that can be stored on one page due to the difference in error correction capability of the error correction function of the embodiment. [Figure 9] 1 is a diagram showing an example of management information used in the memory system of the embodiment; [Figure 10] FIG. 4 is a schematic diagram showing an example of a data structure of test result information according to the embodiment. [Figure 11] FIG. 4 is a schematic diagram illustrating an example of a data structure of FBC threshold information according to the embodiment. [Figure 12] 11 is a flowchart showing an example of an operation of the memory system according to the embodiment when a fatigue test is performed. [Figure 13] 10 is a flowchart showing an example of an operation of the memory system according to the embodiment in response to a read command from a host device. [Figure 14] 11 is a flowchart showing an example of an optimization patrol operation according to the embodiment. [Figure 15] 11 is a timing chart showing an example of an optimized read operation of the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] Hereinafter, a memory system and a method according to embodiments will be described in detail with reference to the accompanying drawings. Note that the present invention is not limited to these embodiments.

[0009] (Embodiment) Fig. 1 is a diagram showing an example of the configuration of a memory system according to an embodiment. As shown in Fig. 1, the memory system 1 can be connected to a host device 300. The host device 300 is, for example, a server, a personal computer, or a mobile information processing device. The memory system 1 functions as an external storage device for the host device 300. The host device 300 can issue commands to the memory system 1. The commands to the memory system 1 include a read command and a write command.

[0010] The memory system 1 includes a NAND flash memory 100 and a controller 200. The NAND flash memory 100 includes one or more memory chips CP. One or more channels are connected to the controller 200, and the controller 200 and the one or more memory chips CP are connected to each other via the one or more channels.

[0011] Here, the memory system 1 includes memory chips CP0-0, CP0-1, CP0-2, CP0-3, CP1-0, CP1-1, CP1-2, and CP1-3 as one or more memory chips CP, and includes channels ch0 and ch1 as one or more channels. The memory chips CP0-0, CP0-1, CP0-2, and CP0-3 are connected to the controller 200 via the channel ch0. The memory chips CP1-0, CP1-1, CP1-2, and CP1-3 are connected to the controller 200 via the channel ch1. Note that the number of memory chips CP included in the memory system 1 is not limited to 8. The number of channels connected to the controller 200 is not limited to 2. Also, the connection relationship between the controller 200 and one or more memory chips CP is not limited to the above-mentioned relationship.

[0012] Each memory chip CP includes a plurality of memory cell transistors and can store data in a non-volatile manner.

[0013] The NAND flash memory 100 is an example of a memory.

[0014] The controller 200 includes a host interface circuit (HOST I / F) 201, a RAM (Random Access Memory) 202, a CPU (Central Processing Unit) 203, a buffer memory (Buffer Memory) 204, a NAND interface circuit (NAND I / F) 205, and an ECC (Error-Correcting Code) circuit 206.

[0015] The controller 200 may be configured as, for example, a system-on-a-chip (SoC). The controller 200 may be configured by a plurality of chips. The controller 200 may include a field-programmable gate array (FPGA) or an application specific integrated circuit (ASIC) instead of the CPU 203. That is, the controller 200 may be configured by software, hardware, or a combination of these. The RAM 202 may be disposed outside the controller 200.

[0016] The host interface circuit 201 is, for example, a SATA (Serial Advanced Technology Attachment) standard, a SAS (Serial Attached SCSI) standard, or a PCI (Peripheral Components Interconnect) Express standard. (TM) The host interface circuit 201 is connected to the host device 300 via a bus conforming to a standard such as IEEE 802.11b, and controls communication between the controller 200 and the host device 300. Note that the standard conforming to which the bus connecting the host interface circuit 201 and the host device 300 conforms is not limited to these.

[0017] The NAND interface circuit 205 is connected to the eight memory chips CP via two channels, and controls communication between the controller 200 and each memory chip CP.

[0018] The CPU 203 controls the operation of the controller 200 .

[0019] The RAM 202 is used as a working area for the CPU 203. The buffer memory 204 temporarily stores data to be transmitted to the memory chip CP and data received from the memory chip CP. The RAM 202 and the buffer memory 204 may be configured, for example, by a dynamic random access memory (DRAM), a static random access memory (SRAM), or a combination of these. Note that the types of memory that configure the RAM 202 and the buffer memory 204 are not limited to these.

[0020] The ECC circuit 206 detects errors and corrects the detected errors using an error correction code. The detection of errors and the correction of detected errors are simply referred to as error correction. The ECC circuit 206 is capable of performing error correction in a plurality of modes with different strengths of error correction in cooperation with the CPU 203. In one example, the plurality of modes includes hard bit correction and soft bit correction.

[0021] It should be noted that some or all of the error correction in the multiple modes may be realized by any other circuit such as the CPU 203.

[0022] In a normal read operation executed by the controller 200, error correction is performed by the ECC circuit 206. In some cases, the controller 200 can execute a read operation that does not execute error correction by the ECC circuit 206. Such a read operation that does not execute error correction by the ECC circuit 206 is referred to as a bypass read. By bypass reading, data before errors are corrected can be obtained. Cases in which a bypass read is executed will be described later.

[0023] The ECC circuit 206 is an example of an error correction circuit.

[0024] 2 is a diagram showing an example of the configuration of the memory chip CP according to the embodiment. As shown in the figure, the memory chip CP includes a processing circuit 110 and a memory cell array 111.

[0025] The memory cell array 111 is divided into a plurality of planes (plane 0, plane 1). Each plane is a subarray that can be accessed in parallel. Each plane includes a plurality of blocks BLK (BLK0, BLK1, ...), each of which is a set of a plurality of nonvolatile memory cell transistors. Each of the blocks BLK includes a plurality of string units SU (SU0, SU1, ...), each of which is a set of memory cell transistors associated with a word line and a bit line. Each of the string units SU includes a plurality of NAND strings 114 in which memory cell transistors are connected in series. The number of NAND strings 114 in the string unit SU is arbitrary. The number of planes included in the memory cell array 111 is not limited to two. The memory cell array 111 does not necessarily have to be divided.

[0026] The processing circuit 110 includes, for example, a row decoder, a column decoder, a sense amplifier, a latch circuit, and a voltage generating circuit. In response to an instruction from the controller 200, the processing circuit 110 executes a program operation, a sense operation, and an erase operation on the memory cell array 111 of each plane.

[0027] The program operation is an operation for writing data to the memory cell array 111. The sense operation is an operation for reading data from the memory cell array 111.

[0028] A series of operations in which the controller 200 writes data to the memory chip CP is referred to as a write operation. The write operation is composed of a data-in operation in which the controller 200 transfers data to the memory chip CP, and a program operation in which the processing circuit 110 writes the data received by the data-in operation to the memory cell array 111.

[0029] A series of operations in which the controller 200 reads data from the memory chip CP is referred to as a read operation. The read operation is made up of a sense operation in which the processing circuit 110 reads data from the memory cell array 111, and a data out operation in which the controller 200 acquires the data read by the sense operation from the memory chip CP.

[0030] 3 is a diagram showing a circuit configuration of a block BLK according to an embodiment. Each block BLK has the same configuration. The block BLK has, for example, four string units SU0 to SU3. Each string unit SU includes a plurality of NAND strings 114.

[0031] Each of the NAND strings 114 includes, for example, 64 memory cell transistors MT (MT0 to MT63) and select transistors ST1 and ST2. The memory cell transistors MT include a control gate and a charge storage layer, and store data in a non-volatile manner. The 64 memory cell transistors MT (MT0 to MT63) are connected in series between the source of the select transistor ST1 and the drain of the select transistor ST2. The memory cell transistors MT may be of a MONOS type that uses an insulating film for the charge storage layer, or may be of an FG type that uses a conductive film for the charge storage layer. Furthermore, the number of memory cell transistors MT in the NAND string 114 is not limited to 64.

[0032] The gates of the select transistors ST1 in the string units SU0 to SU3 are connected to the select gate lines SGD0 to SGD3, respectively. In contrast, the gates of the select transistors ST2 in the string units SU0 to SU3 are commonly connected to, for example, a select gate line SGS. The gates of the select transistors ST2 in the string units SU0 to SU3 may be connected to different select gate lines for each string unit SU. The control gates of the memory cell transistors MT0 to MT63 in the same block BLK are commonly connected to the word lines WL0 to WL63, respectively.

[0033] The drains of the select transistors ST1 of the NAND strings 114 in the string units SU are connected to different bit lines BL (BL0 to BL(L-1), where L is a natural number equal to or greater than 2). The bit lines BL commonly connect one NAND string 114 in each string unit SU across multiple blocks BLK. Furthermore, the sources of the select transistors ST2 are commonly connected to a source line SL.

[0034] That is, a string unit SU is a set of NAND strings 114 connected to different bit lines BL and the same select gate line SGD. A block BLK is a set of multiple string units SU that share a word line WL. A memory cell array 111 is a set of multiple blocks BLK that share a bit line BL.

[0035] The program operation and sense operation for one plane by the processing circuit 110 are performed collectively on the memory cell transistors MT connected to one word line WL in one string unit SU. Hereinafter, a group of memory cell transistors MT selected collectively during the program operation and sense operation for one plane will be referred to as a "memory cell group MCG." A storage area for a collection of 1-bit data written to or read from one memory cell group MCG will be referred to as a "page."

[0036] The erase operation for one plane by the processing circuit 110 can be performed in units of blocks BLK or in units smaller than blocks BLK.

[0037] Hereinafter, the memory cell transistor MT will be simply referred to as a memory cell.

[0038] Each memory cell can be written with n (n≧1) bits of data. When n bits of data are written to each memory cell, the storage capacity per memory cell group MCG is equal to the size of n pages. A mode where n is 1 is called SLC (Single Level Cell) mode. A mode where n is 2 is called MLC (Multi Level Cell) mode. A mode where n is 3 is called TLC (Triple Level Cell) mode. A mode where n is 4 is called QLC (Quad Level Cell) mode.

[0039] The threshold voltage of each memory cell is controlled to be within a certain range by the processing circuit 110. The controllable range of the threshold voltage is divided into a number of ranges equal to the power of 2, and a different n-bit value is assigned to each range.

[0040] In the embodiment, a mode in which n is 2 or more is adopted. In the following, an example in which memory cells are used in a TLC mode will be described as an example of a mode in which n is 2 or more. Note that the embodiment is not limited to a system in which memory cells are used in a TLC mode, but can be applied to a system in which memory cells are used in any mode in which n is 2 or more.

[0041] FIG. 4 is a diagram for explaining an example of data coding according to the embodiment.

[0042] As described above, in the TLC mode, three bits of data are stored per memory cell. The bits constituting the three bits of data stored in the memory cell are referred to as upper bit, middle bit, and lower bit according to their order. The page in which the upper bit group is stored among the three pages included in the memory cell group MSG is referred to as the upper page, the page in which the middle bit group is stored is referred to as the middle page, and the page in which the lower bit group is stored is referred to as the lower page.

[0043] According to the TLC mode, the range of possible threshold voltages is divided into eight ranges. These eight ranges are called “Er” state, “A” state, “B” state, “C” state, “D” state, “E” state, “F” state, and “G” state, in ascending order of threshold voltage. The threshold voltage of each memory cell is controlled by the processing circuit 110 so that it belongs to one of “Er” state, “A” state, “B” state, “C” state, “D” state, “E” state, “F” state, and “G” state. As a result, when the number of memory cells is plotted against the threshold voltage, the memory cells ideally form a distribution of eight lobes that do not overlap each other, each of which belongs to a different state, as shown in the middle part of FIG. 4. Hereinafter, the distribution of each state may be simply referred to as a lobe.

[0044] The eight states correspond to three bits of data. The upper table of FIG. 4 shows an example of the correspondence between the states and the three bits of data, that is, data coding. According to this example, the “Er” state corresponds to “111”, the “A” state corresponds to “110”, the “B” state corresponds to “100”, the “C” state corresponds to “000”, the “D” state corresponds to “010”, the “E” state corresponds to “011”, the “F” state corresponds to “001”, and the “G” state corresponds to “101”. When the three bits of data are written as “abc”, “a” is the upper bit, “b” is the middle bit, and “c” is the lower bit. In this way, each memory cell can store data according to the state to which its threshold voltage belongs. The correspondence between the states and data shown in FIG. 4 is an example of data coding. Data coding is not limited to the example shown in this figure.

[0045] The threshold voltage is lowered to the “Er” state by an erase operation, and the threshold voltage is either maintained in the “Er” state or raised to any of the “A” state, “B” state, “C” state, “D” state, “E” state, “F” state, and “G” state by a program operation.

[0046] Specifically, in a program operation, the processing circuit 110 selects a bit line BL corresponding to a column address. The processing circuit 110 sets the potential of the selected bit line BL to zero. The processing circuit 110 selects a word line WL corresponding to a row address and applies a programming pulse to the selected word line WL. Then, electrons are injected into the charge storage layer of the memory cell located at the intersection of the selected bit line BL and the selected word line WL, and as a result, the threshold voltage of the memory cell increases. The processing circuit 110 checks whether the threshold voltage of the memory cell has reached a target state corresponding to the data of the write data by reading data at a predetermined timing. The processing circuit 110 continues to apply a program pulse until the threshold voltage of the memory cell reaches the target state.

[0047] Hereinafter, a memory cell whose threshold voltage has been set to a certain state by a program operation may be referred to as a memory cell belonging to that state.

[0048] Between two adjacent states, a judgment voltage for judging data is set. For example, as illustrated in Fig. 4, a judgment voltage VA is set between the "Er" state and the "A" state, a judgment voltage VB is set between the "A" state and the "B" state, a judgment voltage VC is set between the "B" state and the "C" state, a judgment voltage VD is set between the "C" state and the "D" state, a judgment voltage VE is set between the "D" state and the "E" state, a judgment voltage VF is set between the "E" state and the "F" state, and a judgment voltage VG is set between the "F" state and the "G" state.

[0049] In the sense operation, the processing circuit 110 sequentially applies a plurality of types of determination voltages to the selected word line WL, and determines for each memory cell whether the memory cell is in a conductive state (in other words, an on state) or a non-conductive state (in other words, an off state) when each determination voltage is applied. Then, the processing circuit 110 determines data associated with the state to which the memory cell belongs by a logical operation using the determination result obtained for each applied determination voltage. In other words, data is acquired based on a comparison between the threshold voltage of each memory cell and the determination voltage.

[0050] Hereinafter, the operation of applying a single type of determination voltage VX (X is any one of A to G) to a selected word line WL and determining for each memory cell whether the memory cell is in an on state or an off state will be referred to as X read or XR. Also, the determination result by X read will be referred to as determination result XR.

[0051] When the data coding shown in FIG. 4 is adopted, if a memory cell belongs to any of the "Er" state, the "E" state, the "F" state, and the "G" state, the lower bit of the data stored in the memory cell is "1". If a memory cell belongs to any of the "A" state, the "B" state, the "C" state, and the "D" state, the lower bit of the data stored in the memory cell is "0". Therefore, in the sense operation for the lower page, the processing circuit 110 judges the data of the lower page by using two types of judgment voltages, VA and VE. Specifically, the processing circuit 110 performs an A read and an E read, and acquires the data of the lower page by a logical operation using the judgment result AR obtained by the A read and the judgment result ER obtained by the E read.

[0052] When a memory cell belongs to any of the "Er" state, the "A" state, the "D" state, and the "E" state, the middle bit of the data stored in the memory cell is "1". When a memory cell belongs to any of the "B" state, the "C" state, the "F" state, and the "G" state, the middle bit of the data stored in the memory cell is "0". Therefore, in the sense operation for the middle page, the processing circuit 110 judges the data of the middle page by using three types of judgment voltages, VB, VD, and VF. Specifically, the processing circuit 110 performs a B read, a D read, and an F read. Then, the processing circuit 110 acquires the data of the middle page by a logical operation using the judgment result BR obtained by the B read, the judgment result DR obtained by the D read, and the judgment result DF obtained by the F read.

[0053] When a memory cell belongs to any of the "Er" state, "A" state, "B" state, and "G" state, the upper bit of the data stored in the memory cell is "1". When a memory cell belongs to any of the "C" state, "D" state, "E" state, and "F" state, the upper bit of the data stored in the memory cell is "0". Therefore, in the sense operation for the upper bit, the processing circuit 110 judges the data of the upper page by using two types of judgment voltages, VC and VG. Specifically, the processing circuit 110 performs a C read and a G read, and acquires the data of the upper page by a logical operation using the judgment result CR obtained by the C read and the judgment result GR obtained by the G read.

[0054] In this way, the type of the determination voltage used to determine the data varies depending on the type of the page to be read. The processing circuit 110 acquires the data of the page to be read by combining the determination results of whether the threshold voltage of the memory cell is higher or lower than the determination voltage, which are determined by using each of a plurality of types of determination voltages corresponding to the type of the page to be read alone.

[0055] The sensing operation for each page is not limited to the above example.

[0056] 4, the memory cell has eight lobes that do not overlap each other. However, the threshold voltage of the memory cell may vary due to various factors.

[0057] For example, the threshold voltage of a memory cell tends to change according to the time elapsed since the completion of a program operation. The time elapsed since the completion of a program operation is also called the data retention time. The speed of change of the threshold voltage of a memory cell is fastest immediately after the completion of a program operation, and slows down with the data retention time. The more times a memory cell has been subjected to a cycle of erase and program operations, the more likely it is that its threshold voltage will change. The effect of the cycle of erase and program operations on the ease of change in threshold voltage varies depending on the manufacturing process. Therefore, the degree to which the threshold voltage is more likely to change due to the cycle of erase and program operations differs for each memory chip CP, for example.

[0058] Hereinafter, the degree of ease with which the threshold voltage changes will be referred to as the data retention characteristic. Good data retention characteristics (superior) mean that the threshold voltage is less likely to change. Poor data retention characteristics (inferior) mean that the threshold voltage is more likely to change.

[0059] Even though there are variations in data retention characteristics, the threshold voltage of the memory cell can change, so that in reality, two adjacent lobes may partially overlap each other during a sensing operation.

[0060] FIG. 5 is a diagram showing another example of threshold voltages that the memory cells of the embodiment can take. Here, for ease of explanation, the distribution of memory cells belonging to either the "A" state or the "B" state is shown. The solid line shows the distribution of memory cells belonging to either the "A" state or the "B" state. The dashed line shows the lobe of the "A" state, and the dashed line shows the lobe of the "B" state. In the example of this figure, the base of the lobe of the "A" state overlaps with the base of the lobe of the "B" state. In other words, the maximum value of the threshold voltage of the memory cells belonging to the "A" state exceeds the decision voltage VB, and the minimum value of the threshold voltage of the memory cells belonging to the "B" state is below the decision voltage VB. When a memory cell belonging to the "A" state and having a threshold voltage higher than the decision voltage VB is read, the memory cell is recognized as belonging to the "B" state. That is, data programmed as "110" is read as "100". When a memory cell that belongs to the “B” state and has a threshold voltage lower than the determination voltage VB is read, the memory cell is recognized as belonging to the “A” state. That is, data programmed as “100” is read as “110”.

[0061] In this way, the data read by the sense operation may change from the value at the time of the program operation due to the change in the threshold voltage. The controller 200 responds to the change in the data and the threshold voltage by error correction and shifting the judgment voltage. Specifically, the controller 200 executes error correction on the read data by the ECC circuit 206. If the error correction fails, the controller 200 changes the judgment voltage and executes the read operation again. Note that the error correction failure means that the data before the change cannot be restored from the data after the change. Specifically, the error correction failure means that the error bits included in the read data cannot be corrected. The error correction success means that all the error bits included in the read data have been corrected.

[0062] The judgment voltage can be expressed by various amounts. In one example, a fixed value is set in advance for each type of judgment voltage (VA to VG), and the judgment voltage is expressed by a shift amount (i.e., a difference) from the fixed value. Also, a fixed value is stored for each type of judgment voltage in a predetermined location in the memory chip CP. In the shift read, the controller 200 instructs the memory chip CP on the shift amount from the fixed value for each type of judgment voltage.

[0063] The method of expressing and indicating the determination voltage is not limited to this. For example, the value of the determination voltage may be expressed as a net voltage value rather than a difference, and the determination voltage may be indicated to the memory chip CP as a net voltage value.

[0064] The controller 200 can obtain the value of the determination voltage that can suppress the number of error bits occurring in the read data by a special read operation. The value of the determination voltage that can suppress the number of error bits occurring in the read data is denoted as an optimal determination voltage for convenience. For example, when the threshold voltage is distributed as shown in the graph of FIG. 5, the voltage value VB' at which the distribution of memory cells belonging to either the "A" state or the "B" state is a minimum value is considered to be the optimal determination voltage VB_opt for the determination voltage VB. The controller 200 obtains the optimal value for each of the determination voltages VA to VG, that is, the optimal determination voltage, by performing a special read operation. The special read operation for obtaining a set of optimal determination voltages is denoted as an optimized read operation.

[0065] The controller 200 shares one set of determination voltages VA-VG among multiple memory cell groups MCG having similar characteristics. A group of multiple memory cell groups MCG that share one set of determination voltages VA-VG is referred to as a unit area. In other words, the NAND flash memory 100 includes multiple unit areas, and a set of determination voltages VA-VG is set individually for each unit area. The unit area may be, for example, a block BLK, an area smaller than a block BLK, or multiple blocks BLK.

[0066] The controller 200 sequentially and repeatedly executes the optimized read operation on a plurality of unit areas (here, all unit areas as an example). The sequential and repeated execution of the optimized read operation on all unit areas is referred to as an optimized patrol operation.

[0067] Specifically, for example, one memory cell group MCG is set in advance as a representative memory cell group MCG for each unit area. In the optimized patrol operation, an optimized read operation is executed for all representative memory cell groups MCG selected from all unit areas one by one in order. When a predetermined first time (referred to as a patrol period) has elapsed since the optimized read operation was executed for one representative memory cell group MCG, an optimized read operation is executed for another representative memory cell group MCG. When the optimized read operation is completed for all representative memory cell groups MCG selected from all unit areas, an optimized read operation is executed again for all representative memory cell groups MCG selected from all unit areas. Therefore, when focusing on one representative memory cell group MCG, an optimized read operation is executed for that one representative memory cell group MCG at intervals of a predetermined second time (referred to as an individual patrol period).

[0068] The controller 200 stores the setting of the set of evaluation voltages VA to VG for each unit area. When the controller 200 executes an optimized read operation for a certain unit area, it updates the setting of the set of evaluation voltages VA to VG applied to that unit area with the set of optimal evaluation voltages obtained by the optimized read operation. Then, when performing a read operation in response to a read command from the host device 300, the stored set of evaluation voltages VA to VG is used. Therefore, the optimization patrol operation can increase the probability that error correction will be successful when performing a read operation in response to a read command from the host device 300.

[0069] Each representative memory cell group MCG is an example of a first storage area.

[0070] Here, a technique to be compared with the embodiment will be described. The technique to be compared with the embodiment will be referred to as a comparative example. According to the comparative example, an optimized read operation is simply executed for each unit area at an individual patrol period.

[0071] As described above, the effect of the cycle of erase and program operations on the ease of changing the threshold voltage varies depending on the manufacturing process. Therefore, even if the number of cycles of erase and program operations is controlled to be uniform within the memory system 1, memory chips CP with a variable threshold voltage (i.e., memory chips CP with poor data retention characteristics) and memory chips CP with a variable threshold voltage (i.e., memory chips CP with good data retention characteristics) may be mixed.

[0072] In a memory chip CP with poor data retention characteristics, the period during which data can be read without error correction failing is short. In contrast, in a memory chip CP with good data retention characteristics, the period during which data can be read without error correction failing is long. Therefore, in a memory chip CP with good data retention characteristics, data can be read without error correction failing for a while after a program operation is executed, even if an optimized read operation is not executed.

[0073] In the comparative example, the optimized read operation is executed in an individual patrol period regardless of the data retention characteristics. That is, for memory chips CP with good data retention characteristics, the optimized read operation is executed during a period in which data can be read without error correction failing even if the optimized read operation is not executed, in other words, during a period in which the execution of the optimized read operation is not required. Thus, according to the comparative example, the optimized read operation is executed without contributing to improving the probability of successful error correction, so the efficiency of the optimized read operation is poor.

[0074] In addition, when a read operation (including an optimized read operation) is performed on a page of a certain memory cell group MCG, the memory cell group MCG adjacent to the memory cell group MCG on which the read operation is performed is subjected to read disturb stress, and data stored in the adjacent memory cell group MCG may change. In other words, according to the comparative example, the optimized read operation that does not contribute to improving the probability of successful error correction increases the probability of error correction failure in the read operation of data stored in the nearby memory cell group MCG.

[0075] Therefore, in an embodiment, the controller 200 is configured to skip the execution of an optimized read operation for a certain unit area if a specified condition is met, even if an individual patrol period has elapsed since an optimized read operation was performed for that unit area.

[0076] The predetermined condition is that the number of error bits included in the data of a certain page of the representative memory cell group MCG is at least smaller than a threshold value. Hereinafter, the number of error bits is referred to as a fail bit count (FBC). The threshold value used in the predetermined condition and compared with the FBC is referred to as an FBC threshold value.

[0077] Here, when FBC is equal to or greater than the FBC threshold, the optimized read operation is executed, and when FBC is less than the FBC threshold, the optimized read operation is skipped. Note that the process when FBC is equal to the FBC threshold is not limited to this.

[0078] In an embodiment, the controller 200 uses different values ​​as the FBC threshold depending on the data retention characteristics.

[0079] 6 is a graph for explaining two FBC thresholds used for different memory chips CP in the memory system 1 of the embodiment. In this graph, the horizontal axis indicates data retention time, and the vertical axis indicates FBC. The solid curve indicates the relationship between the data retention time and FBC in a certain memory area (denoted as memory area MAa) in a memory chip CP with good data retention characteristics. The dotted curve indicates the relationship between the data retention time and FBC in a certain memory area (denoted as memory area MAb) in a memory chip CP with poor data retention characteristics. The upper limit value of FBC for preventing a certain error correction (denoted as first error correction) from failing is denoted as FBC_lim.

[0080] In addition, the first error correction, in one example, is an error correction that is executed first in a read operation in response to a read command from the host device 300. An example of the first error correction will be described in detail later.

[0081] In the memory area MAa, FBC exceeds FBC_lim at, for example, timing t4, whereas in the memory area MAb, FBC exceeds FBC_lim at, for example, timing t2, which is earlier than timing t4.

[0082] For each storage area, if an optimized read operation is performed during a period (referred to as an expected period) corresponding to an individual patrol cycle until the timing when FBC exceeds FBC_lim, data can be read without the first error correction failing even if an optimized read operation is not performed even once before the expected period. Therefore, an FBC threshold is set so that the start of the expected period can be detected.

[0083] The expected duration of storage area MAa is the period from time t3 to time t4, so the value T0 is used as the FBC threshold so that the arrival of time t3 can be detected.

[0084] The expected duration of memory area MAb is the period from time t1 to time t2, so that the value T1 is used as the FBC threshold so that the arrival of time t1 can be detected.

[0085] In this way, the FBC threshold value is made variable depending on the data retention characteristics.

[0086] In the embodiment, the data retention characteristic is determined by the result of a fatigue test performed in the manufacturing process. In the fatigue test, a cycle of program operation and erase operation is performed a predetermined number of times on a part of a memory area (referred to as a test memory area) selected from a memory chip CP. Then, data is read from the test memory area, and the bit error rate (BER) of the data is measured.

[0087] 7 is a diagram for explaining a method for identifying data retention characteristics from the results of a fatigue test as an example of a method according to an embodiment. In this figure, the horizontal axis indicates the bit error rate obtained by the fatigue test, and the vertical axis indicates the number of memory chips. In other words, this figure shows the distribution of the bit error rate for each memory chip CP.

[0088] 7, all memory chips CP included in the memory system 1 are classified into a plurality of grades according to their bit error rates. The plurality of grades includes grade A, which is a grade with a low bit error rate, grade B, which is a grade with a high bit error rate, and grade C, which is a grade with a medium bit error rate.

[0089] A high bit error rate obtained by fatigue testing means poor data retention characteristics, whereas a low bit error rate obtained by fatigue testing means good data retention characteristics.

[0090] In other words, memory chips CP belonging to grade A are memory chips CP with good data retention characteristics, memory chips CP belonging to grade C are memory chips CP with poor data retention characteristics, and memory chips CP belonging to grade B are memory chips CP with medium data retention characteristics.

[0091] The method of classifying the memory chips CP into grades A to C can be changed in various ways.

[0092] In one example, the controller 200 ranks each memory chip CP according to the bit error rate in the memory system 1. Then, the controller 200 classifies the memory chips CP of a predetermined first percentage number having a lower bit error rate into grade A, the memory chips CP of a predetermined second percentage number having a higher bit error rate into grade C, and all other memory chips CP into grade B.

[0093] In another example, a designer sets two thresholds corresponding to the boundaries of the grades based on experiments or calculations, and the controller 200 determines the grade of each memory chip CP by comparing the bit error rate with the two thresholds.

[0094] In this way, the controller 200 specifies a grade corresponding to the data retention characteristics for each memory chip CP based on the results of the fatigue test.

[0095] The data retention characteristic or the grade, which is information indicating the data retention characteristic, is an example of characteristic information. By specifying a grade for each memory chip CP, each unit area is associated with a grade, i.e., characteristic information, via the memory chip CP to which it belongs.

[0096] 7, the data retention characteristics are represented by three grades, A to C. The data retention characteristics may also be represented by two or four or more grades.

[0097] Furthermore, in the embodiment, the setting of the error correction capability by the ECC circuit 206 is configured to be variable. Specifically, the error correction coding algorithm used by the ECC circuit 206 is an algorithm with a variable code length. The longer the code length, the stronger the error correction capability, but the larger the codeword size becomes. Therefore, the amount of original data (e.g., user data) that can be stored in one page decreases.

[0098] FIG. 8 is a schematic diagram for explaining the difference in the amount of original data that can be stored in one page due to the difference in the error correction capability of the error correction function according to the embodiment.

[0099] In the embodiment, data is stored in each page in units called clusters, which are smaller than a page. A cluster is the smallest unit of data whose location is managed by address information used by the host device 300, for example. The cluster is sent to the NAND flash memory 100 after undergoing one or more data processes including error correction coding by the ECC circuit 206.

[0100] 8A shows a state in which clusters CL0 that have been error-correction coded with a certain setting (referred to as a first setting) by the ECC circuit 206 are stored in a certain page P0 until there is no free space left. In the example shown in this figure, five clusters CL0 are stored in page P0.

[0101] 8B shows a state in which clusters CL1, which have been error-correcting coded by the ECC circuit 206 in a second setting with a stronger error-correcting capability than the first setting, are stored in a certain page P1 until there is no free space. In the example shown in this figure, four clusters CL1 are stored in page P1. According to the second setting, the size of the error-correcting code generated by the error-correcting coding is larger than that of the first setting, so the size of cluster CL1 is larger than the size of cluster CL0. This reduces the number of clusters that can be stored in one page.

[0102] In this specification, a filling rate is used as an index indicating the error correction capability set in the ECC circuit 206. The filling rate is the number of clusters that can be stored in one page. A large filling rate indicates a setting with weak error correction capability. A small filling rate indicates a setting with strong error correction capability.

[0103] The controller 200 stores the setting of the crushing ratio for each unit area, for example. That is, the crushing ratio can be set individually for each unit area. Note that the unit for setting the crushing ratio individually is not limited to this. The crushing ratio may be set, for example, in units of blocks BLK, or in units smaller than blocks BLK, or in units larger than blocks BLK.

[0104] In addition, the smaller the crash rate, the stronger the error correction capability. In other words, the smaller the crash rate, the larger the upper limit FBC_lim for preventing the first error correction from failing. And the larger FBC_lim, the later the start timing of the expected period. Therefore, when the grade is common, the smaller the crash rate, the larger the FBC threshold value.

[0105] Therefore, in the embodiment, the FBC threshold is made variable depending on the grade (ie, data retention characteristics) and the crush rate.

[0106] FIG. 9 is a diagram illustrating an example of management information used in the memory system 1 of the embodiment.

[0107] As an example, the management information is stored in a predetermined non-volatile storage area (e.g., the NAND flash memory 100) and is loaded into the RAM 202 at startup. The controller 200 refers to and updates the management information in the RAM 202, and the updated portion is saved in the non-volatile storage area as appropriate. Note that the method of handling the management information is not limited to this. Part or all of the management information may be embedded in a firmware program.

[0108] The RAM 202 stores, as management information, test result information 401 and FBC threshold information 402. The test result information 401 is the result of a fatigue test. The FBC threshold information 402 is information configured to enable searching for an FBC threshold from a combination of a grade and a crush rate.

[0109] 10 is a schematic diagram showing an example of the data structure of the test result information 401 according to the embodiment. In the example shown in the figure, the test result information 401 has a table structure in which the channel and the bit error rate are recorded for each memory chip CP. Note that the data structure of the test result information 401 is not limited to this.

[0110] 11 is a schematic diagram showing an example of the data structure of the FBC threshold information 402 according to the embodiment. In the example shown in the figure, the FBC threshold information 402 has a table structure showing the relationship between the grade, the crush rate, and the FBC threshold. Note that the data structure of the FBC threshold information 402 is not limited to this.

[0111] Next, a detailed example of the operation of the memory system 1 of the embodiment will be described.

[0112] FIG. 12 is a flowchart showing an example of the operation of the memory system 1 of the embodiment when a fatigue test is performed.

[0113] First, in the manufacturing process, a fatigue test is performed on each memory chip CP (S101). In the fatigue test, a test storage area is selected from each memory chip CP. Then, for each memory chip CP, a cycle of erase operation and program operation is executed a predetermined number of times on the test storage area, and then a bit error rate of data read from the test storage area is obtained. The bit error rate is obtained for each memory chip CP. The bit error rate obtained for each memory chip CP is recorded in test result information 401 and stored in the memory system 1 (S102).

[0114] A part or all of S101 and S102 may be executed by a test device, or may be executed by the controller 200 of the memory system 1 based on a special firmware program.

[0115] The controller 200 determines the grade of each memory chip CP included in the controller 200 based on the test result information 401 (S103).

[0116] The designer can arbitrarily determine the method of determining the grade of each memory chip CP based on the test result information 401. As described above, for example, the controller 200 may rank the memory chips CP according to the bit error rate and determine the grade of each memory chip CP according to the rank of each memory chip CP. The controller 200 may also determine the grade of each memory chip CP based on a comparison between the bit error rate and one or more threshold values ​​provided from the outside.

[0117] After the process of S103, the operation during the fatigue test ends.

[0118] FIG. 13 is a flowchart showing an example of the operation of the memory system 1 according to the embodiment in response to a read command from the host device 300.

[0119] When the controller 200 receives a read command from the host device 300 (S201), it acquires the read data requested by the read command from the memory chip CP in which the data (referred to as read data) is stored (S202). In S202, the controller 200 uses a set of determination voltages VA to VG that are set for a unit area including the memory cell group MCG of the read destination.

[0120] The controller 200 executes hard bit correction on the read data (S203). The controller 200 executes hard bit correction by the ECC circuit 206.

[0121] FBC_lim described in Fig. 6 and the like is an upper limit value of FBC for preventing failure of error correction performed on the read data acquired first in response to a read command. Therefore, in the example shown in Fig. 13, the hard bit correction performed in S203 is the first error correction.

[0122] The controller 200 determines whether the hard bit correction has failed (S204). If the hard bit correction has failed (S204: Yes), the controller 200 changes the setting of the set of determination voltages VA to VG (S205), and acquires read data from the memory chip CP again using the changed set of determination voltages VA to VG (S206).

[0123] In the process of S205, the controller 200 changes the set of the judgment voltages VA-VG in a predetermined manner. For example, a plurality of settings of the sets of the judgment voltages VA-VG are prepared in advance. The controller 200 selects the setting of the set of the judgment voltages VA-VG to be used next from among the settings of the sets of the judgment voltages VA-VG prepared in advance. Note that the method of changing the set of the judgment voltages VA-VG is not limited to this.

[0124] The controller 200 executes hard bit correction on the read data acquired by the process of S206 (S207). The controller 200 determines whether or not the hard bit correction executed in S207 has failed (S208).

[0125] If the hard bit correction executed in S207 fails (S208: Yes), the controller 200 corrects the error by soft bit correction (S209). Also, the controller 200 changes the set value of the collapse rate to a smaller value (S210).

[0126] The controller 200 returns error-free read data obtained by the soft bit correction to the host device 300 (S211), and the operation according to the read command ends.

[0127] If the hard bit correction for the read data obtained by the processing of S202 is successful (S204: No), or if the hard bit correction for the read data obtained by the processing of S206 is successful (S208: No), the controller 200 responds with error-free read data to the host device 300 (S211), and the operation corresponding to the read command is terminated.

[0128] Note that the series of operations shown in Fig. 13 is merely an example. The number and type of error corrections to be made to the acquired read data, the timing for changing the set of judgment voltages, the number of times the set of judgment voltages is changed, and so on can be determined arbitrarily by the designer.

[0129] FIG. 14 is a flowchart illustrating an example of an optimization patrol operation according to the embodiment.

[0130] First, the controller 200 judges whether or not the timing for executing the optimized read operation has arrived (S301). That is, the controller 200 judges whether or not a time equal to the patrol period has elapsed since the later of the timing of the first boot of the memory system 1 and the timing of the previous execution of the optimized read operation in the memory system 1.

[0131] If the timing to perform the optimized read operation has not arrived (S301: No), the controller 200 executes the process of S301 again. If the timing to perform the optimized read operation has arrived (S301: Yes), the controller 200 identifies the memory cell group MCG that is the target of the optimized read operation (S302).

[0132] As described above, for each unit area, for example, one memory cell group MCG is preset as a representative memory cell group MCG. In the process of S302, the controller 200 identifies the representative memory cell group MCG that is the target of this optimized read operation based on the predetermined order in which the optimized read operation is performed. The representative memory cell group MCG identified in the process of S302 is referred to as the target memory cell group MCG.

[0133] The controller 200 executes a bypass read on the first page of the target memory cell group MCG, and executes error correction on the data obtained by the bypass read (S303).

[0134] The method of determining the first page is arbitrary. When one memory cell group MCG has three pages, an upper page, a middle page, and a lower page, the designer can set, for example, the upper page as the first page. The designer may set the middle page or the lower page as the first page. The designer may set the page that can be obtained the earliest among the upper page, the middle page, and the lower page as the first page. The designer may set the page that tends to have more errors or the page that tends to have fewer errors among the upper page, the middle page, and the lower page as the first page.

[0135] As described above, a bypass read is a read operation that does not perform error correction. Data obtained by a bypass read may contain errors. If the data obtained by a bypass read contains errors, the errors are corrected by error correction, and data that does not contain errors (i.e., data in the same state as when the program operation is executed) is obtained. That is, in the process of S303, the controller 200 obtains two types of data from the first page: data that may contain errors and data that does not contain errors.

[0136] The controller 200 calculates the FBC by performing a bit-by-bit comparison between the data that may contain errors and the data that does not contain errors (S304).

[0137] The controller 200 identifies the grade of the memory chip CP including the target memory cell group MCG (S305). The controller 200 identifies the crash rate of the error correction coding set in the unit area including the target memory cell group MCG (S306). The controller 200 acquires the FBC threshold to be used based on the identified grade and crash rate and the FBC threshold information 402 (S307).

[0138] The controller 200 determines whether the FBC obtained by the process of S304 is smaller than the FBC threshold value acquired by the process of S307 (S308).

[0139] If FBC is smaller than the FBC threshold (S308: Yes), the controller 200 skips the optimized read operation for the target memory cell group MCG (S309). If FBC is not smaller than the FBC threshold (S308: No), the controller 200 executes the optimized read operation for the target memory cell group MCG (S310).

[0140] After the process of S309 or the process of S310, the controller 200 executes the process of S301 again.

[0141] The series of operations from S303 to S310 shown in FIG. 14 is an example of the first operation.

[0142] FIG. 15 is a timing chart illustrating an example of the optimized read operation of the embodiment.

[0143] 15, the controller 200 first executes a bypass read on the upper page of the target memory cell group MCG (S401), and executes error correction on the data of the upper page obtained by the bypass read (S402). That is, the controller 200 obtains data that may contain an error and data that does not contain an error from the upper page.

[0144] The process of S401 involves communication with the memory chip CP including the target memory cell group MCG, but the process of S402 can be executed only inside the controller 200. Therefore, when the process of S401 ends, the controller 200 executes a bypass read on the next page, here the middle page of the target memory cell group MCG (S403). The controller 200 executes the process of S402 during the process of S403.

[0145] The controller 200 executes error correction on the data of the middle page obtained by the bypass read (S404). That is, the controller 200 obtains data that may contain errors and data that does not contain errors from the middle page as well.

[0146] Similarly, the controller 200 executes a bypass read on the lower page of the target memory cell group MCG (S405), and executes error correction on the data of the lower page obtained by the bypass read (S406). That is, the controller 200 also obtains data that may contain errors and data that does not contain errors from the lower page.

[0147] The controller 200 acquires a group of 3-bit data (referred to as a first data group) before error correction stored in the target memory cell group MCG from the data that may contain errors for three pages read from the upper page, middle page, and lower page. Also, acquires a group of 3-bit data (referred to as a second data group) after error correction from the data that does not contain errors for three pages read from the upper page, middle page, and lower page. Then, the controller 200 compares the first data group and the second data group for each memory cell from which the data is read, thereby counting the number of memory cells whose threshold has changed beyond a state boundary for each state boundary and for each change direction (S407). Then, the controller 200 estimates the optimal value of each determination voltage based on the counting result (S408).

[0148] In the process of S407, for example, with respect to the boundary between the "A" state and the "B" state, the controller 200 counts the number of memory cells whose threshold voltage has changed from the "A" state to the "B" state and the number of memory cells whose threshold voltage has changed from the "B" state to the "A" state. The controller 200 also performs similar counting with respect to the boundary between the "Er" state and the "A" state, the boundary between the "B" state and the "C" state, the boundary between the "C" state and the "D" state, the boundary between the "D" state and the "E" state, the boundary between the "E" state and the "F" state, and the boundary between the "F" state and the "G" state.

[0149] For example, with respect to the boundary between the "A" state and the "B" state, if the number of memory cells whose threshold voltage has changed from the "A" state to the "B" state is greater than the number of memory cells whose threshold voltage has changed from the "B" state to the "A" state, it can be estimated that the decision voltage VB is on the negative side of the optimum decision voltage VB_opt. The greater the deviation of the decision voltage VB from the optimum decision voltage VB_opt, the greater the difference between the number of memory cells whose threshold voltage has changed from the "A" state to the "B" state and the number of memory cells whose threshold voltage has changed from the "B" state to the "A" state.

[0150] Also, if the number of memory cells whose threshold voltage has changed from the "B" state to the "A" state is greater than the number of memory cells whose threshold voltage has changed from the "A" state to the "B" state, it can be estimated that the decision voltage VB is on the positive side of the optimum decision voltage VB_opt. And, the greater the deviation of the decision voltage VB from the optimum decision voltage VB_opt, the greater the difference between the number of memory cells whose threshold voltage has changed from the "B" state to the "A" state and the number of memory cells whose threshold voltage has changed from the "A" state to the "B" state.

[0151] Therefore, in the process of S408, the controller 200 estimates the amount and direction of deviation of the current determination voltage VB from the optimum determination voltage VB_opt based on the magnitude relationship and difference between the number of memory cells whose threshold voltage has changed from the "A" state to the "B" state and the number of memory cells whose threshold voltage has changed from the "B" state to the "A" state, and estimates the optimum determination voltage VB_opt based on the estimated amount and direction of deviation. The controller 200 also performs similar estimations for the boundary between the "Er" state and the "A" state, the boundary between the "B" state and the "C" state, the boundary between the "C" state and the "D" state, the boundary between the "D" state and the "E" state, the boundary between the "E" state and the "F" state, and the boundary between the "F" state and the "G" state.

[0152] After the process of S408, the controller 200 executes verify read on the upper page, the middle page, and the lower page of the target memory cell group MCG using the set of optimal determination voltages obtained by estimation (S409 to S411). The verify read is a read to confirm that data can be read without error correction failure. When the verify read on each page is completed, the optimization read operation ends.

[0153] It should be noted that the series of operations shown in FIG. 15, that is, the optimized read operation, is an example of the second operation.

[0154] In the above-described example, one optimization read operation is performed on one memory cell group MCG. The target on which one optimization read operation is performed may be a part of one memory cell group MCG, or may be a plurality of memory cell groups MCG.

[0155] In addition, in order to determine whether to skip the optimized read operation, a bypass read is performed on the first page of the target memory cell group MCG, and in the optimized read operation executed thereafter, a bypass read is again performed on the first page of the target memory cell group MCG. However, in the optimized read operation, the bypass read on the first page may be omitted.

[0156] More specifically, the optimized read operation may be configured to use erroneous and non-erroneous data obtained from the first page to determine whether to skip the optimized read operation.

[0157] That is, for example, if the first page is an upper page, in the optimized read operation shown in FIG. 15, the controller 200 may be configured to omit the processes of S401 and S402, and in the process of S407, use data that may contain errors and data that does not contain errors that have already been obtained from the first page.

[0158] In addition, a fatigue test was performed for each memory chip CP, and a grade indicating the data retention characteristic was calculated for each memory chip CP. The grade indicating the data retention characteristic may be calculated in a unit different from the memory chip CP. For example, the grade may be calculated for each block BLK, or the grade may be calculated for each unit area. The controller 200 manages the setting of the crushing rate in association with the unit area so that the setting of the crushing rate for the error correction coding applied to the data written in each unit area can be specified regardless of the unit in which the grade is calculated.

[0159] As described above, according to the embodiment, the controller 200 sequentially and repeatedly executes the first operation on the group of representative memory cell groups MCG. The first operation, as shown in S303 to S310 of FIG. 14, is an operation of acquiring the FBC of the data of the first page stored in the target memory cell group MCG, executing the optimized read operation as the second operation when the FBC is greater than the FBC threshold value, and skipping the optimized read operation when the FBC is less than the FBC threshold value. The second operation, that is, the optimized read operation, is an operation of acquiring the FBC of the data of all pages stored in the target memory cell group MCG, as described with reference to FIG. 15, and updating the setting of the set of determination voltages based on the FBC of the acquired data of all pages.

[0160] Since the optimized read operation that does not contribute to improving the probability of successful error correction is skipped, the efficiency of the execution of the optimized read operation is improved. Also, it is possible to suppress the data stored in the nearby memory cell group MCG from being changed due to the read disturb stress caused by the optimized read operation that does not contribute to improving the probability of successful error correction.

[0161] Also, according to an embodiment, the controller 200 uses the first page of data when determining whether to skip an optimized read operation, and uses all pages of data in the optimized read operation.

[0162] When acquiring data of all pages from the target memory cell group MCG, it takes more time than acquiring data of a single page. Since the controller 200 determines whether to skip the optimized read operation based on the data of the single page, the time required for the determination can be reduced.

[0163] Moreover, according to the embodiment, the controller 200 specifies the FBC threshold value based on the grade, that is, the data retention characteristic, of the memory chip CP including the target memory cell group MCG.

[0164] As explained with reference to Fig. 6, the period during which the optimized read operation does not need to be performed varies depending on the data retention characteristics. By making the FBC threshold variable depending on the data retention characteristics, the period during which the optimized read operation does not need to be performed can be accurately identified.

[0165] Furthermore, according to the embodiment, the controller 200 specifies the FBC threshold value based on the setting of the crash rate, that is, the setting of the error correction capability.

[0166] As described above, the upper limit FBC_lim for the FBC to prevent the first error correction from failing varies depending on the setting of the error correction capability. Therefore, the period during which the optimized read operation does not need to be performed varies depending on the setting of the error correction capability. By making the FBC threshold variable depending on the setting of the error correction capability, it becomes possible to accurately identify the period during which the optimized read operation does not need to be performed.

[0167] In the above example, the controller 200 determines the FBC threshold based on both the data retention characteristic and the error correction capability settings. The controller 200 may determine the FBC threshold based on only one of the data retention characteristic and the error correction capability settings. The controller 200 may also determine the FBC threshold based on any index in addition to the data retention characteristic or the error correction capability settings.

[0168] In one example, the patrol period and the individual patrol period are variably configured according to the temperature of the memory system 1. In such a case, the controller 200 may detect the temperature of the memory system 1 and determine the FBC threshold value based on the value of the detected temperature in addition to the setting of the data retention characteristic or the error correction capability.

[0169] In the above description, in the optimized read operation, the set of optimal values ​​of the determination voltages is estimated based on the FBC of the data of all pages stored in the target memory cell group MCG. The example of the optimized read operation is not limited to this.

[0170] For example, the optimized read operation can employ a technique called Vth tracking. According to Vth tracking, the controller 200 executes multiple read operations on the target memory cell group MCG while increasing or decreasing the determination voltage by a predetermined increment. Then, the controller 200 measures the distribution of memory cells included in the target memory cell group MCG as shown in the middle of FIG. 4 based on multiple data obtained by multiple read operations. Then, the controller 200 identifies seven minimum points that appear in the distribution of memory cells, and sets the voltage at each minimum point as the optimal value of the determination voltage.

[0171] In this way, in the optimized read operation, the controller 200 can obtain a set of optimal values ​​of the determination voltages by various methods such as the operation shown in Fig. 15, Vth tracking, etc. In other words, in the optimized read operation, the controller 200 executes a read operation on the target memory cell group MCG, and updates the setting of the set of determination voltages based on the data obtained by the read operation.

[0172] Although some embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope and spirit of the invention, and are included in the scope of the invention and its equivalents described in the claims. [Explanation of symbols]

[0173] 1 memory system, 100 NAND type flash memory, 110 processing circuit, 111 memory cell array, 114 NAND string, 200 controller, 201 host interface circuit, 203 CPU, 204 buffer memory, 205 NAND interface circuit, 206 ECC circuit, 300 host device, 401 test result information, 402 FBC threshold information.

Claims

1. a memory including a plurality of first storage areas, each of the plurality of first storage areas including a word line and a plurality of memory cells connected to the word line; sequentially and repeatedly executing a first operation on the plurality of first storage areas; the first operation is an operation of acquiring first data based on a comparison between a threshold voltage of each memory cell of a second memory area, which is one of the plurality of first memory areas, and a determination voltage, the first data being a part of second data stored in the second memory area, calculating a first fail bit count which is a fail bit count of the first data, and performing a second operation if the first fail bit count is greater than a first threshold value, and skipping the second operation if the first fail bit count is less than the first threshold value; the second operation is an operation of acquiring the second data based on a comparison between a threshold voltage of each memory cell in the second storage area and the determination voltage, calculating a second fail bit count which is a fail bit count of the second data, and updating the determination voltage based on the second fail bit count. A controller; A memory system comprising:

2. Each of the plurality of memory cells is capable of storing multiple bits of data; the first data is a group of first bit data of the plurality of bits, The second data is a group of the multiple bits of data.

2. The memory system of claim 1.

3. characteristic information is associated with each of the plurality of first storage areas; The controller, in the first operation, identifies the first threshold value based on the characteristic information associated with the second storage area.

2. The memory system of claim 1.

4. an error correction circuit having a changeable error correction capability and performing error correction coding on data to be written to the first storage areas; In the first operation, the controller specifies the first threshold value based on a setting of the error correction capability for the error correction coding of the second data.

2. The memory system of claim 1.

5. an error correction circuit having a changeable error correction capability and performing error correction coding on data to be written to the first storage areas; characteristic information is associated with each of the plurality of first storage areas; In the first operation, the controller specifies the first threshold value based on the characteristic information associated with the second storage area and a setting of the error correction capability for the error correction coding for the second data.

2. The memory system of claim 1.

6. In the second operation, the controller reads a group of data of all bits except the first bit among the plurality of bits based on a comparison between a threshold voltage of each memory cell and the determination voltage from the second storage area, and obtains the second data from the read group and the first data.

3. The memory system of claim 2.

7. the controller performs error correction on third data, which is the first data or the second data, and calculates a fail bit count of the third data based on a comparison between the third data before the error correction and the third data after the error correction.

2. The memory system of claim 1.

8. 1. A method for controlling a memory, comprising: sequentially and repeatedly executing a first operation on a plurality of first storage areas included in the memory; Each of the plurality of first storage areas includes a word line and a plurality of memory cells connected to the word line; the first operation is an operation of acquiring first data based on a comparison between a threshold voltage of each memory cell of a second memory area, which is one of the plurality of first memory areas, and a determination voltage, the first data being a part of second data stored in the second memory area, calculating a first fail bit count which is a fail bit count of the first data, and performing a second operation if the first fail bit count is greater than a first threshold value, and skipping the second operation if the first fail bit count is less than the first threshold value; the second operation is an operation of acquiring the second data based on a comparison between a threshold voltage of each memory cell in the second storage area and the determination voltage, calculating a second fail bit count which is a fail bit count of the second data, and updating the determination voltage based on the second fail bit count. method.

9. a memory including a plurality of first storage areas, each of the plurality of first storage areas including a word line and a plurality of memory cells connected to the word line; sequentially and repeatedly executing a first operation on the plurality of first storage areas; the first operation is an operation of acquiring first data based on a comparison between a threshold voltage of each memory cell of a second memory area, which is one of the plurality of first memory areas, and a determination voltage, the first data being a part of second data stored in the second memory area, calculating a first fail bit count which is a fail bit count of the first data, and performing a second operation if the first fail bit count is greater than a first threshold value, and skipping the second operation if the first fail bit count is less than the first threshold value; the second operation is an operation of executing a read operation on the second storage area and updating the determination voltage based on data obtained by the read operation; A controller; A memory system comprising:

Citation Information

Patent Citations

  • Nonvolatile semiconductor memory device, control method of nonvolatile semiconductor memory device

    JP2009003979A

  • Memory system and method

    JP2018045744A

  • Memory system

    JP2018055748A

  • Memory system

    JP2020047318A

  • Memory system

    JP2022051399A