Memory system and read method

The memory system optimizes read performance by determining an optimal read voltage through differential bit count analysis, reducing errors and latency in data retrieval.

JP2024135043AInactive Publication Date: 2024-10-04KIOXIA CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023045538
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-22
Publication Date
2024-10-04
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing memory systems face increased errors and degraded read performance due to inappropriate read voltages, leading to higher latency and the need for error correction and retry reading.

Method used

A memory system with a controller that determines an optimal read voltage by analyzing differential bit counts from applying multiple voltages to memory cells, using a method that includes estimating an optimal value based on these counts to improve read performance.

Benefits of technology

The method reduces errors and improves read performance by accurately determining the optimal read voltage, minimizing latency and enhancing data retrieval efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024135043000001_ABST
    Figure 2024135043000001_ABST
Patent Text Reader

Abstract

To provide a memory system and read method, which enable improvement in read performance.SOLUTION: A memory system according to an embodiment comprises a non-volatile memory comprising memory cells configured to store data of multiple bits, and a controller. An initial value of read voltage of a first number for reading data is determined. The controller sequentially applies a voltage of a second number greater than the first number to the nonvolatile memory to sequentially derive bit counts of the second number representing the number of memory cells to be turned on or off, derive differential bit counts of the second number, each representing a difference between each of the bit counts of the second number and an adjacent bit count, derive differential bit counts of a third number less than the second number, including a differential bit count corresponding to the initial value of a first read voltage among read voltages of the first number, from differential bit counts of the second number, and estimate the optimum value of the read voltage of the first number on the basis of the differential bit counts of the third number.SELECTED DRAWING: Figure 9
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] 1. Field of the Invention The present invention relates to a memory system and a read method. [Background technology]

[0002] A memory system includes a memory device having a plurality of memory cells. When reading data from the memory device, a read voltage is applied to a word line connected to the memory cell to be read. If the read voltage is not appropriate, there will be many errors in the read data. In this case, the latency increases and the read performance decreases because error correction and retry reading are performed. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2020-144958 A [Patent Document 2] Patent Publication No. 2021-44034 [Patent Document 3] JP 2014-154169 A [Patent Document 4] U.S. Pat. No. 9,069,659 Summary of the Invention [Problem to be solved by the invention]

[0004] An object of the present invention is to provide a memory system and a read method capable of improving read performance. [Means for solving the problem]

[0005] According to an embodiment, a memory system includes a non-volatile memory having a plurality of memory cells each configured to store a plurality of bits of data, and a controller electrically connected to the non-volatile memory. An initial value of a first number of read voltages for reading the data is determined. The controller sequentially applies a second number of voltages greater than the first number to the non-volatile memory to sequentially obtain a second number of bit counts, which is the number of memory cells to be turned on or off, obtains the second number of difference bit counts, which is the difference between each of the second number of bit counts and an adjacent bit count, obtains a third number of difference bit counts less than the second number from the second number of difference bit counts, which includes a difference bit count corresponding to an initial value of a first read voltage from the first number of read voltages, and estimates an optimal value of the first number of read voltages based on the third number of difference bit counts. [Brief description of the drawings]

[0006] [Figure 1] 1 is a block diagram illustrating an example of an information processing system including a memory system according to an embodiment. [Diagram 2] FIG. 2 is a block diagram for explaining an example of a memory chip included in the memory system according to the embodiment. [Diagram 3] FIG. 2 is a circuit diagram for explaining an example of a memory cell array of a memory chip according to the embodiment. [Figure 4] 5A and 5B are diagrams for explaining an example of a threshold distribution of a multi-valued memory cell according to the embodiment; [Diagram 5] FIG. 4 is a diagram for explaining an example of read voltage information according to the embodiment. [Figure 6] FIG. 11 is a diagram for explaining an example of a default value table in read voltage information according to the embodiment. [Figure 7] 5 is a diagram for explaining an example of an optimum value table in read voltage information according to the embodiment; FIG. [Figure 8] FIG. 2 is a diagram for explaining an example of a configuration of an optimal voltage estimation module according to the embodiment. [Figure 9]10 is a flowchart illustrating an example of a process of an optimal voltage estimation module according to the embodiment. [Figure 10] FIG. 4 is a diagram for explaining an example of a reference lead according to the embodiment. [Figure 11] 10 is a diagram for explaining a first example of a bit count sequence according to the embodiment. FIG. [Figure 12] 11 is a diagram for explaining an example of a difference bit count string according to the embodiment; FIG. [Figure 13] 13A and 13B are diagrams for explaining an example of narrowing down a difference bit count string according to an embodiment. [Figure 14] 13 is a diagram for explaining an example of a refinement difference bit count string according to the embodiment; FIG. [Figure 15] FIG. 11 is a diagram for explaining an optimal value estimated by an estimator according to the embodiment. [Figure 16] 13 is a diagram for explaining a second example of a difference bit count string according to the embodiment. FIG. [Figure 17] 13 is a diagram for explaining a third example of a difference bit count string according to the embodiment. FIG. [Figure 18] 13 is a diagram for explaining an example of a narrowing-down difference bit count string. FIG. [Figure 19] 10 is a flowchart illustrating an example of optimal voltage estimation according to the second embodiment. [Figure 20] FIG. 11 is a diagram for explaining a first application example of optimal voltage estimation according to the second embodiment. [Figure 21] FIG. 11 is a diagram for explaining a second application example of optimal voltage estimation according to the second embodiment. [Figure 22] FIG. 11 is a diagram for explaining a third application example of optimal voltage estimation according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0007] Hereinafter, the embodiments will be described with reference to the drawings. The following description is an example of an apparatus and method for embodying the technical idea of ​​the embodiment, and the technical idea of ​​the embodiment is not limited to the structure, shape, arrangement, material, etc. of the components described below. Modifications that a person skilled in the art can easily conceive are naturally included in the scope of the disclosure. In order to make the description clearer, the size, thickness, planar dimensions, or shape of each element may be changed from the actual embodiment and shown diagrammatically. Elements having different dimensional relationships or ratios may be included in multiple drawings. In multiple drawings, corresponding elements may be given the same reference numerals and duplicated descriptions may be omitted. Some elements may be given multiple names, but these examples of names are merely examples and do not deny the use of other names for these elements. In addition, it is not denied that elements not given multiple names may be given other names. In the following description, "connection" may include not only direct connection but also connection via other elements.

[0008] Before describing the embodiments, definitions of terms will be given.

[0009] (Data Read) This refers to reading data written in a memory. This is a read performed on one read unit of the memory. An example of one read unit of the memory is a row of multiple multi-level memory cells.

[0010] (Reference lead) This is a process in which multiple different voltages are applied to one read unit of the memory to obtain information on the threshold distribution of a multi-valued memory cell, and a bit count for each is obtained. A single voltage may be applied instead of multiple different voltages. In that case, a bit count string of length 1 and a differential bit count string are obtained by adding a 0 to the beginning. A reference read is a read that is performed as a preprocessing step for threshold voltage estimation during a read.

[0011] (Bit Count) This is the number of memory cells that are turned on when a read is performed for one read unit using a certain read voltage. Depending on the implementation, it may be the number of memory cells that are turned off.

[0012] (Differential bit count) It is the difference between two adjacent bit counts in a bit count string, which is a collection of bit counts for multiple different voltages.

[0013] (Error bit count) This is the number of bits that are read out as incorrect values ​​due to disturbances in the threshold distribution during data read. Disturbances in the threshold distribution occur when the amount of charge stored in a multi-valued memory cell fluctuates after data is written. This is the sum of the number of cells that should have been on but were detected as off, and the number of cells that should have been off but were detected as on. If the error bit count becomes too large, it may not be possible to decode the correct data.

[0014] (optimum read voltage) This is the read voltage that minimizes the error bit count when reading data. It is sometimes simply called the optimum value.

[0015] (level) This refers to the state of a multi-valued memory cell. In a multi-valued memory in which one memory cell stores 3 bits of data, the memory cell can be in 8 states, so there are 8 levels.

[0016] (State) This is the threshold voltage that specifies the level of a multi-valued memory cell. In a multi-valued memory in which one memory cell stores 3 bits of data, there are eight states that specify eight levels.

[0017] (First embodiment) 1 is a block diagram for explaining an example of an information processing system 10 including a memory system according to a first embodiment. The information processing system 10 includes a host device 14 and a memory system 12. The memory system 12 is connected to the host device 14 via a cable, a connector, a socket, or a network. The memory system 12 may be mounted on a printed wiring board provided in the host device 14, for example, via solder balls.

[0018] The host device 14 is an information processing device configured to control the memory system 12. The host device 14 is, for example, a server device, a personal computer, an in-vehicle device, or a mobile information processing device. The host device 14 can issue an access request to the memory system 12. The access request includes a read request (also referred to as a read request) and a write request (also referred to as a write request). In this specification, reading is also referred to as reading, and writing is also referred to as writing.

[0019] The memory system 12 includes a memory controller 20 and a NAND type flash memory (hereinafter referred to as NAND memory) 40. The memory system 12 is, for example, a solid state drive (SSD) or a universal flash storage (UFS) device. The NAND memory 40 is an example of a non-volatile memory. Other non-volatile memories may be used instead of the NAND memory 40. Other examples of non-volatile memories include a NOR type flash memory, a magneto-resistive random access memory (MRAM), a phase change random access memory (PRAM), a resistive random access memory (ReRAM), and a ferroelectric random access memory (FeRAM).

[0020] The memory controller 20 includes a host device interface controller (host I / F controller) 22, a RAM (Random Access Memory) 24, a ROM (Read Only Memory) 26, a CPU (Central Processing Unit) 28, an ECC (Error Correcting Code) circuit 30, a NAND controller 32, and an estimator 38. The host device I / F controller 22, the RAM 24, the ROM 26, the CPU 28, the ECC circuit 30, the NAND controller 32, and the estimator 38 are connected to a bus 34. The memory controller 20 may be configured as a System on a Chip (SoC) in which the above components are integrated into one chip. Some of these components may be provided outside the memory controller 20.

[0021] The host I / F controller 22, under the control of the CPU 28, controls the communication interface between the host device 14 and the memory system 12, and controls data transfer between the host device 14 and the RAM 24. Examples of the communication interface between the host device 14 and the memory system 12 include SCSI (Small Computer System Interface), SAS (Serial Attached SCSI), ATA (AT Attachment), SATA (Serial ATA), PCIe (PCI Express) ( TM ), Ethernet( TM ), Fiber channel, NVMe (NVM Express) ( TM ), USB(Universal Serial Bus)( TM ), UART(Universal Asynchronous Receiver / Transmitter)( TM ).

[0022] Examples of the RAM 24 include, but are not limited to, a dynamic random access memory (DRAM) or a static random access memory (SRAM).

[0023] The RAM 24 functions as a buffer for data transfer between the host device 14 and the NAND memory 40. The RAM 24 provides a work area for the CPU 28. Firmware (programs) stored in the ROM 26 is loaded into the RAM 24 when the memory system 12 is in operation.

[0024] In this embodiment, when the memory system 12 is in operation, the read voltage information 36b is read from the NAND memory 40 and stored as read voltage information 36a in the RAM 24. The read voltage information 36a relates to a read voltage in reading the NAND memory 40. When the power supply of the memory system 12 is turned off, the read voltage information 36a is stored in the NAND memory 40 as read voltage information 36b and is made non-volatile. The read voltage information 36a will be described in detail later.

[0025] The CPU 28 is an example of a hardware processor. The CPU 28 controls the memory controller 20 by executing firmware loaded in the RAM 24. The CPU 28 controls operations such as writing, reading, and erasing data, which will be described below. Furthermore, the CPU 28 includes an optimal voltage estimation module 28a that is implemented by executing the firmware. Note that multiple CPUs 28 may be provided for each operation.

[0026] The ECC circuit 30 performs coding for error correction on data to be written (also referred to as write data or write data) to the NAND memory 40. The ECC circuit 30 detects errors contained in data (also referred to as read data or read data) read from the NAND memory 40. When an error is contained in the data read from the NAND memory 40, the ECC circuit 30 performs error correction on the read data based on the error correction code added at the time of writing.

[0027] Under the control of the CPU 28, the NAND controller 32 controls data transfer between the RAM 24 and the NAND memory 40. Examples of standards used in data transfer between the NAND controller 32 and the NAND memory 40 include Toggle DDR and ONFI (Open NAND Flash Interface).

[0028] The memory controller 20 and the NAND memory 40 are connected by multiple, for example, two, channels Ch0 and Ch1. The number of channels is not limited to multiple, and may be one. Furthermore, in the case of multiple channels, the number of channels may be three or more. The NAND controller 32 controls data transfer via the channels Ch0 and Ch1.

[0029] The NAND memory 40 has multiple, for example, four memory chips 42a, 42b, 42c, and 42d. Two memory chips 42a and 42b are connected to channel Ch0. Two memory chips 42c and 42d are connected to channel Ch1. Three or more memory chips may be connected to each channel.

[0030] The optimal voltage estimation module 28a estimates an optimal value of a read voltage used when reading data from the NAND memory 40 during operation of the memory system 12, and updates the read voltage information 36a based on the estimated optimal value.

[0031] The estimator 38 is a hardware module used to speed up the estimation of the optimal value by the optimal voltage estimation module 28a. An example of the estimator 38 is an arithmetic circuit that performs matrix operations in a deep learning neural network (DNN). The parameters of the DNN may be stored in the ROM 26. However, the memory controller 20 may not include the estimator 38, but may include an estimation module implemented by the execution of firmware in the CPU 28, or the optimal voltage estimation module 28a may include the function of the estimator 38.

[0032] 2 is a block diagram for explaining an example of the memory chip 42a. The other memory chips 42b, 42c, and 42d are configured in the same manner.

[0033] The memory chip 42a has an input / output signal processing circuit (I / O signal processing circuit) 110, a control signal processing circuit 111, a chip control circuit 112, a command register 113, an address register 114, a ready / busy (RY / BY) generation circuit 120, a memory cell array 118, a column decoder 115, a data register 116, a sense amplifier 117, and a row decoder 119.

[0034] The channel Ch0 connecting the memory chip 42a and the NAND controller 32 includes an input / output (I / O) signal line, a control signal line, and a ready / busy (RY / BY) signal line. The I / O signal line is connected to the I / O signal processing circuit 110. The I / O signal line transmits data, addresses, various instructions, and various responses. The memory controller 20 transmits a read instruction (also called a read instruction), a write instruction (also called a write instruction), and an erase instruction to the memory chip 42a via the I / O signal line.

[0035] The control signal lines include a chip enable (CE) signal line, a command latch enable (CLE) signal line, an address latch enable (ALE) signal line, a write enable (WE) signal line, a read enable (RE) signal line, and the like. The control signal lines are connected to the control signal processing circuit 111. The CE signal line transmits a signal indicating whether or not the target memory chip is selected. The CLE signal line transfers a signal indicating whether or not the signal sent using the I / O signal line is a command. The ALE signal line transfers a signal indicating whether or not the signal sent using the I / O signal line is an address. The WE signal line transmits a signal for taking in the signal on the I / O signal line into the memory chip 42a. The RE signal line transmits a signal for outputting the signal from the memory chip 42a to the I / O signal line.

[0036] The RY / BY signal line is connected to the RY / BY generation circuit 120. The RY / BY signal line transmits a signal indicating whether the NAND memory 40 is in operation or not. The signal transmitted on the RY / BY signal line, for example, indicates a ready state (RY) corresponding to a non-operational state at a logical H level and indicates a busy state (BY) corresponding to an operation at a logical L level.

[0037] The I / O signal processing circuit 110 is a buffer circuit for transmitting and receiving I / O signals between the memory chip 42a and the NAND controller 32. A command latched by the I / O signal processing circuit 110 is assigned to and stored in a command register 113. An address specifying an access destination latched by the I / O signal processing circuit 110 is assigned to and stored in an address register 114. Data latched by the I / O signal processing circuit 110 is assigned to and stored in a data register 116. The I / O signal processing circuit 110 accepts data from the data register 116.

[0038] The address stored in the address register 114 includes a chip number, a row address, and a column address. The chip number is identification information for identifying the memory chip 42a. The chip number, the row address, and the column address are read out to the chip control circuit 112, the row decoder 119, and the column decoder 115.

[0039] The control signal processing circuit 111 receives a control signal, and based on the received control signal, allocates a register to store the I / O signal received by the I / O signal processing circuit 110. In addition, the control signal processing circuit 111 transfers the received control signal to the chip control circuit 112.

[0040] The chip control circuit 112 is a circuit that transitions between states based on various control signals received via the control signal processing circuit 111. The chip control circuit 112 controls the operation of the memory chip 42a. The RY / BY generation circuit 120 transitions the state of a signal transmitted through the RY / BY signal line between a ready state (RY) and a busy state (BY) under the control of the chip control circuit 112.

[0041] In a read operation, the sense amplifier 117 senses the state of the memory cells MT (see FIG. 3) included in the memory cell array 118, and generates read data based on the sensed state. The sense amplifier 117 stores the generated read data in the data register 116. The read data stored in the data register 116 is sent to the I / O signal processing circuit 110 via a data line, and transferred from the I / O signal processing circuit 110 to the memory controller 20.

[0042] The memory cell array 118 has a plurality of memory cells MT for storing data. The memory cell array 118 has a plurality of physical blocks BLK (see FIG. 3). Each physical block BLK is a memory cell group including a plurality of memory cells MT. A physical block BLK is the minimum unit for erasing data. That is, all data stored in one physical block BLK is erased at once. Hereinafter, a physical block is simply referred to as a block.

[0043] 3 is a circuit diagram for explaining an example of the memory cell array 118. The memory cell array 118 has a plurality of blocks BLK0, BLK1, .... The memory cell array 118 has several hundred to several thousand blocks BLK. The memory cell array 118 is, for example, a NAND memory having a so-called three-dimensional structure in which a plurality of memory cells MT are arranged in a three-dimensional shape. The structure of the NAND memory is not limited to a three-dimensional structure. The memory cell array 118 may be a NAND memory having a so-called two-dimensional structure in which a plurality of memory cells MT are arranged in a plane.

[0044] As shown in FIG. 3, each of the m bit lines BL0 to BLm-1 is connected to a plurality of, for example, four strings STR in the blocks BLK0, BLK1, .... m is an integer of 2 or more. The string STR includes one first select gate transistor ST (ST0 or ST1 to STm-1), a plurality of memory cells MT (MT0 to MT7), and one second select gate transistor DT (DT0 or DT1 to DTm-1). The first select gate transistor ST0 (or ST1 to STm-1), the plurality of memory cells MT0 to MT7, and one second select gate transistor DT0 (or DT1 to DTm-1) are connected in series between a source line CELSRC and one bit line BL0 (or BL1 to BLm-1) in this order. The m strings STR0 to STRm-1 are connected to different plurality of bit lines BL0 to BLm-1, respectively. The m strings STR0 to STRm-1 connected to a common second select gate line (drain side select gate line) SGDL constitute one string unit SU. Each block BLK0, BLK1, ... includes a plurality of, for example, four string units SU0 to SU3. Common word lines WL0 to WL7 and a common first select gate line (source side select gate line) SGSL are connected to each of the four string units SU0 to SU3.

[0045] In each of the string units SU0 to SU3, the control gate electrodes of the first select gate transistors ST0 to STm-1 are connected to a common first select gate line (source side select gate line) SGSL. The first select gate line SGSL is a signal line that controls the control gate electrodes of the first select gate transistors ST0 to STm-1. The first select gate transistors ST0 to STm-1 selectively connect between the multiple memory cells MT0 to MT7 and the source line CELSRC based on a voltage applied through the first select gate line SGSL. Four different first select gate lines SGSL may be connected to the string units SU0 to SU3, respectively.

[0046] In each of the string units SU0 to SU3, the control gate electrodes of the second select gate transistors DT0 to DTm-1 are connected to corresponding second select gate lines (drain side select gate lines) SGDL0 to SGDL3, respectively. The second select gate lines SGDL0 to SDGL3 are signal lines that control the control gate electrodes of the corresponding second select gate transistors DT0 to DTm-1, respectively. The second select gate transistors DT0 to DTm-1 selectively connect between the multiple memory cells MT0 to MT7 and the bit lines BL0 to BLm-1 based on voltages applied through the corresponding second select gate lines SGDL0 to SGDL3, respectively.

[0047] The memory cell MT is composed of a MOSFET (Metal Oxide Semiconductor Field Effect Transistor) having a stacked gate structure. The stacked gate structure includes a floating gate formed with a tunnel oxide film interposed therebetween, and a control gate electrode formed on the floating gate with a gate insulating film interposed therebetween. The threshold voltage of the memory cell MT changes depending on the number of charges (amount of charge) stored in the floating gate. When writing data to the memory cell MT, a positive charge is injected into the floating gate, and when erasing data, a positive charge is extracted from the floating gate. Any one of two or more data values ​​can be written to the memory cell MT. The memory cell MT stores one of the two or more data values ​​in a non-volatile manner depending on the difference in threshold voltage.

[0048] In each of the blocks BLK0, BLK1, ..., the control gate electrodes of the memory cells MT0 to MT7 are connected to the corresponding word lines WL0 to WL7, respectively. The word lines WL0 to WL7 are control signal lines for selecting a row of memory cells MT aligned in the X direction in the memory cell array 118. The word lines WL0 to WL7 are commonly connected to a group of memory cells MT aligned in a row. The memory cells MT0 to MT7 are provided at the intersections of the word lines WL0 to WL7 and the bit lines BL0 to BLm-1, respectively. The memory cells MT can be read or written by applying a read voltage or write voltage to the word line WL connected to the memory cell MT to be read or written (hereinafter also referred to as the selected word line WL).

[0049] In each block BLK0, BLK1, ..., word lines WL0 to WL7 corresponding to the same address are commonly connected to memory cells MT0 to MT7 of each of the four string units SU0 to SU3. In one string unit SU, a set of multiple memory cells MT sharing one word line WL is called a cell unit CU. Data is written to and read from multiple memory cells MT included in one cell unit CU collectively. The storage space of one cell unit CU includes one or more pages.

[0050] In the memory system 12, each memory cell MT can be configured to store a single-bit or multiple-bit value. A memory cell MT configured to store multiple-bit values ​​is called a multi-valued memory cell. When each memory cell MT can store an n-bit value, the storage capacity per word line WL is equal to the size of n pages. n is an integer equal to or greater than 1. As an example, a case where the memory cell MT operates in a triple-level cell (TLC) mode in which a 3-bit value is stored will be described here. Note that an operation mode in which the memory cell MT stores a 1-bit value is called a single-level cell (SLC) mode, an operation mode in which the memory cell MT stores a 2-bit value is called a multi-level cell (MLC) mode, and an operation mode in which the memory cell MT stores a 4-bit value is called a quad-level cell (QLC) mode. The embodiment is also applicable to an operation mode in which the memory cell MT stores a 5-bit or more value.

[0051] In the TLC mode, three pages of data can be stored in one cell unit CU. Of the three pages configured by one cell unit CU, the page that is written to first is called the lower page, the page that is written to after the lower page is called the middle page, and the page that is written to after the middle page is called the upper page. There may also be a mode in which some or all of the multiple pages configured by one cell unit CU are programmed (i.e., written) at once.

[0052] FIG. 4 is a diagram for explaining an example of a threshold distribution of a multi-valued memory cell. In the following description, it is assumed that the memory cells included in the memory cell array 118 are multi-valued memory cells that operate in a TLC mode. In FIG. 4, the horizontal axis represents the threshold voltage of the memory cell, and the vertical axis represents the number of memory cells that indicate a certain bit value (data value). The threshold voltage of the memory cell has a value according to the data stored in the memory cell. When the memory cell operates in the TLC mode, the threshold voltage of the memory cell includes eight distributions. The threshold voltage corresponds to the amount of charge stored in the memory cell, and the memory cell stores data according to the amount of charge. That is, the threshold voltage distribution indicates the state of the memory cell. Hereinafter, the threshold voltage distribution is also referred to as a level.

[0053] A memory cell operating in the TLC mode can store 8-value data xyz defined by data x belonging to an upper page, data y belonging to a middle page, and data z belonging to a lower page. The values ​​of data x, data y, and data z are either "0" or "1".

[0054] The threshold voltage of the memory cell is controlled to belong to one of eight levels. The correspondence between the levels and the data values ​​of the eight-value data xyz is predetermined. The data values ​​shown in FIG. 4 are assigned to each level. Note that the correspondence between the levels and the data values ​​is not limited to the above.

[0055] For example, level Er of the lowest threshold voltage range is assigned a data value of "111". Level A of the second lowest threshold voltage range is assigned a data value of "110". Level B of the third lowest threshold voltage is assigned a data value of "100". Level C of the fourth lowest threshold voltage is assigned a data value of "000". Level D of the fifth lowest threshold voltage is assigned a data value of "010". Level E of the sixth lowest threshold voltage is assigned a data value of "011". Level F of the seventh lowest (second highest) threshold voltage is assigned a data value of "001". Level G of the highest threshold voltage is assigned a data value of "101".

[0056] The read voltage that distinguishes whether the state of the memory cell is at level Er or A is called state A (SA). The threshold voltage that distinguishes whether the state of the memory cell is at level A or B is called state B (SB). The threshold voltage that distinguishes whether the state of the memory cell is at level B or C is called state C (SC). The threshold voltage that distinguishes whether the state of the memory cell is at level C or D is called state D (SD). The threshold voltage that distinguishes whether the state of the memory cell is at level D or E is called state E (SE). The threshold voltage that distinguishes whether the state of the memory cell is at level E or F is called state F (SF). The threshold voltage that distinguishes whether the state of the memory cell is at level F or G is called state G (SG).

[0057] The row decoder 119, the column decoder 115, the data register 116, and the sense amplifier 117 of the NAND memory 40 will be supplementarily described with reference to Fig. 2. The row decoder 119, the column decoder 115, the data register 116, and the sense amplifier 117 are part of a peripheral circuit for the memory cell array 118. The peripheral circuit executes read, write, and erase access to the memory cell array 118 based on the control of the chip control circuit 112.

[0058] In a write, the column decoder 115 selects and activates a bit line BL corresponding to a column address. The sense amplifier 117 sets the potential of the bit line BL selected by the column decoder 115 to 0 volts. The row decoder 119 applies a programming pulse to a word line WL selected corresponding to the row address. An example of a programming pulse is a pulse whose voltage gradually increases with each cycle. This causes charge to be injected into the floating gate of a 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 floating gate increases. The sense amplifier 117 checks whether the threshold voltage of the memory cell to be written has reached a voltage corresponding to the data stored in the data register 116 for each cycle of the programming pulse. Depending on the check result by the sense amplifier 117, the row decoder 119 continues to apply the programming pulse until the threshold voltage of the memory cell reaches a voltage corresponding to the data value to be written.

[0059] On the other hand, in a read operation, the sense amplifier 117 precharges the bit line BL with the power supply potential Vcc. The row decoder 119 sequentially applies a plurality of read voltages to the selected word line WL to specify the levels of memory cells to which data values ​​“111”, “110”, “100”, “000”, “010”, “011”, “001”, and “101” are assigned. The value of each read voltage is a voltage value (also called an optimal value) at which the error bit count of the read data is less than the error bit count that can be corrected by the ECC circuit 30 and no read error occurs. The optimal value of the read voltage depends on the threshold voltage of the memory cell included in the NAND memory 40. Before the shipment of the memory system 12, the threshold voltage of the memory cell included in the NAND memory 40 is checked, and the optimal value (i.e., SA to SG) according to the threshold voltage is determined as the preset value (also called a default value) of the read voltage. The preset value is included in the read voltage information 36a. The memory controller 20 transmits the default value to the NAND memory 40, causing the NAND memory 40 to generate an appropriate read voltage. The read voltage value is expressed in conversion units (dac) of the D / A converter included in the peripheral circuit. dac is the unit of the setting value of the circuit inside the NAND memory 40 that sets the voltage applied to the D / A converter. The D / A converter converts the digital voltage value transmitted from the memory controller 20 into an analog voltage.

[0060] The row decoder 119 applies a transfer potential to unselected word lines WL, and keeps memory cells belonging to the unselected word lines WL in a conductive state. The sense amplifier 117 determines the data value stored in the target memory cell by detecting which read voltage was applied when the charge stored by the precharge flowed out to the source line CELSRC. A memory cell having a threshold voltage equal to or higher than the read voltage remains off even when the control gate electrode receives a read voltage. On the other hand, a memory cell having a threshold voltage lower than the read voltage turns on when the control gate electrode receives a read voltage.

[0061] 4, the state of a memory cell having a threshold voltage less than SA is determined to be at level Er. The state of a memory cell having a threshold voltage less than SB (and equal to or greater than SA) is determined to be at level A. The state of a memory cell having a threshold voltage less than a state between two adjacent levels is determined to be the lower of the two levels.

[0062] The threshold voltage of a memory cell changes due to the influence of stresses such as program disturb, read disturb, or data retention.

[0063] When the amount of charge stored in the memory cell changes, the optimum value of the read voltage also changes. In this case, if a read is performed with a default read voltage determined as the optimum value according to the threshold distribution examined before shipment, the error bit count increases. If the error bit count is equal to or greater than the error bit count that can be corrected by the ECC circuit 30, the memory controller 20 detects a read error. When the memory controller 20 detects a read error, it shifts the read voltage value and instructs the NAND memory 40 to perform a retry read. The memory controller 20 instructs the NAND memory 40 to perform a retry read until no read errors are detected. If the error bit count is high, the latency increases to perform error correction and retry read, and the read performance decreases.

[0064] If a read error is still detected even after retrying the read a predetermined number of times, the read is deemed to have failed and error processing is executed.

[0065] The memory controller 20 manages a preset value for each of SA to SG, and also manages an optimum value that changes in response to a change in the amount of charge.

[0066] 5 is a diagram for explaining an example of the read voltage information 36a stored in the RAM 24. The read voltage information 36a includes a default value table 50 and an optimum value table 52.

[0067] FIG. 6 is a diagram for explaining an example of the default value table 50. Before shipping the memory system 12, the manufacturer checks the threshold distribution for each memory cell. The voltage at the intersection of two adjacent threshold distributions is set as the default value VA0-VG0. The default value table 50 stores the default values ​​VA0-VG0 of the seven SA-SG. FIG. 6 shows the default value of one memory cell. A known value table 50 is provided for each of a plurality of memory cells. Alternatively, the default value table 50 may be provided for a unit of a plurality of memory cells.

[0068] FIG. 7 is a diagram for explaining an example of the optimum value table 52. When the charge amount stored in the memory cell changes, the error bit count increases when a read is performed with a default value determined before shipment. In a multi-valued cell, it is important to correctly check the optimum value of the state in order to suppress the error bit count. After shipment of the memory system 12, the optimum voltage estimation module 28a checks the threshold distribution for each memory cell, and the estimator 38 estimates the optimum values ​​VAs to VGs of the read voltages of each of the seven SAs to SGs. The optimum value table 52 stores the optimum values ​​VAs to VGs of each of the seven SAs to SGs. FIG. 7 shows the optimum value of one memory cell. The optimum value table 52 is provided for each of a plurality of memory cells. Alternatively, the optimum value table 52 may be provided for a unit of a plurality of memory cells.

[0069] 8 is a diagram for explaining an example of the configuration of the optimal voltage estimation module 28a. The optimal voltage estimation module 28a includes a reference read execution unit 60, a reference read result processing unit 62, and a difference bit count string narrowing unit 64. The output signal of the difference bit count string narrowing unit 64 is input to the estimator 38. Hereinafter, the difference bit count string narrowing unit 64 will also be simply referred to as the narrowing unit 64. 9 is a flow chart for explaining an example of the process of the optimum voltage estimation module 28a. The optimum values ​​of SA to SG, which are read voltages of the memory cells, change over time, and the appropriate read voltage may change. The optimum voltage estimation module 28a uses the estimator 38 to estimate the optimum values ​​of SA to SG, i.e., the optimum values ​​of the read voltages, at appropriate times, and updates the optimum value table 52.

[0070] When it is time to update the optimum value table 52, or when the memory system 12 receives a command from the host device 14 instructing to update the optimum value, the reference read execution unit 60 executes a reference read (S12). Specifically, the reference read execution unit 60 applies a voltage to memory cells in one row and obtains a bit count. The reference read execution unit 60 changes the applied voltage and obtains the bit count again. The reference read execution unit 60 repeats the above process to obtain multiple bit counts for multiple applied voltages, i.e., a bit count string. The reference read execution unit 60 writes the bit count string to the RAM 24 together with a value specifying the applied voltage.

[0071] The voltage intervals at which the reference read is performed are set so that approximately 10 or so reference reads are performed for each level.

[0072] FIG. 10 is a diagram for explaining an example of a reference read. In FIG. 10, the horizontal axis represents a read voltage corresponding to the voltage applied to a memory cell in a reference read, and the vertical axis represents the number of memory cells showing a certain bit value (data value). The read voltage on the horizontal axis of FIG. 10 corresponds to the threshold voltage on the horizontal axis of FIG. 4. The same applies to the horizontal axes of FIG. 11 to FIG. 15. The vertical line (dashed line) represents the voltage at which the read was performed. The thick line represents a composite threshold distribution in which threshold distributions of levels Er to G are superimposed. The voltage of the valley (minimum value) of the composite threshold distribution corresponds to the state. The optimal voltage estimation module 28a cannot measure the threshold distribution of each level, and therefore cannot find the valley of the composite threshold distribution. However, as described later, the differential bit count sequence can be regarded as a composite threshold distribution. Therefore, the optimal voltage estimation module 28a estimates the optimal value of the state from the differential bit count sequence.

[0073] FIG. 11 is a diagram for explaining an example of a bit count string. The reference read execution unit 60 counts the number of memories that are turned on for each voltage to obtain a bit count string. When a read voltage higher than a certain state is applied to a memory cell, memory cells with a threshold voltage lower than the certain state are turned on. Therefore, as the read voltage increases, the number of memory cells that are turned on increases. In a voltage range in which the threshold voltages of memory cells are distributed in a concentrated manner, the number of memory cells that are turned on as the read voltage increases is large, so the value of the differential bit count is large. Conversely, in a voltage range in which the threshold voltages of memory cells are distributed slightly, the number of memory cells that are turned on as the read voltage increases is relatively small, so the value of the differential bit count is also small. Therefore, calculating the difference in the bit count is effective in capturing the distribution of the threshold voltages of memory cells. The reference read execution unit 60 transmits the bit count string to the reference read result processing unit 62.

[0074] As shown in Fig. 9, the reference read result processing unit 62 obtains a difference bit count string consisting of differences in bit counts (S14). One example of a method for obtaining the difference bit count string is to calculate the difference between two bit counts corresponding to two adjacent voltages. For each bit count, the reference read result processing unit 62 calculates a difference bit count from the closest bit count on the low voltage side. The reference read result processing unit 62 obtains a plurality of difference bit counts calculated for each bit count, i.e., a difference bit count string.

[0075] Fig. 12 is a diagram for explaining an example of a difference bit count string. When the interval between voltages for executing a reference read is set narrow, the difference bit count string is approximately equal to a composite threshold distribution in which the threshold distributions of levels Er to G shown in Fig. 10 are superimposed. The reference read result processing unit 62 transmits the difference bit count string to the narrowing down unit 64.

[0076] As shown in Fig. 9, the narrowing-down unit 64 extracts a predetermined number of difference bit counts related to the state to be estimated from the difference bit count string based on the magnitude relationship between the difference bit counts, and obtains a narrowed-down difference bit count string consisting of the extracted difference bit counts (S16). The predetermined number is an arbitrary integer equal to or greater than 1. The predetermined number may be different depending on the state to be estimated. For example, when estimating the optimal value of state C, the predetermined number may be three, when estimating the optimal value of state D, the predetermined number may be four, and when estimating the optimal values ​​of states A and G, the predetermined number may be six.

[0077] In a first example of narrowing down the difference bit count string, narrowing down unit 64 detects the difference bit count of a peak (maximum value) in the difference bit count string. Narrowing down unit 64 extracts the difference bit count between the difference bit counts of two adjacent peaks. Narrowing down unit 64 generates a narrowed difference bit count string made up of the extracted difference bit counts.

[0078] The optimum value of the state corresponds to the voltage of the differential bit count at the valley of the differential bit count sequence. Because a valley exists between adjacent peaks, the refined differential bit count sequence consisting of the differential bit count between the differential bit counts of two peaks includes the differential bit count of the valley. When the differential bit count sequence between two peaks (refined differential bit count sequence) is input to the estimator 38, the accuracy of the estimator 38 in detecting the valley increases, and the accuracy of estimating the optimum value of the state increases.

[0079] To detect a peak, narrowing-down unit 64 checks the magnitude relationship between three adjacent difference bit counts. If the difference bit count corresponding to the middle voltage among the voltages of the three difference bit counts is greater than the difference bit count corresponding to the lowest voltage, and the difference bit count corresponding to the middle voltage is greater than the difference bit count corresponding to the highest voltage, narrowing-down unit 64 determines the difference bit count corresponding to the middle voltage as the peak. Narrowing-down unit 64 sequentially checks the magnitude relationship between the three difference bit counts while shifting the combination of the three difference bit counts. In this way, narrowing-down unit 64 detects seven peaks in the difference bit count string.

[0080] Fig. 13 is a diagram for explaining a first example of narrowing down by the narrowing down section 64. The narrowing down section 64 detects seven peaks (indicated by black circles in Fig. 13) of the differential bit count.

[0081] 14 is a diagram for explaining an example of a result of narrowing down by the narrowing down unit 64. When estimating an optimal value for a certain state, the narrowing down unit 64 extracts a plurality of difference bit counts located between a peak of the difference bit count corresponding to the lowest voltage on the high voltage side of the preset value of the certain state and a peak of the difference bit count corresponding to the highest voltage on the low voltage side of the preset value of the certain state. The narrowing down unit 64 obtains a narrowed down difference bit count sequence for the certain state consisting of the extracted plurality of difference bit counts. The narrowing down unit 64 transmits the narrowed down difference bit count sequence for the seven states to the estimator 38.

[0082] 9, a first example of estimation by estimator 38 is to estimate the optimum value of a state using only the refined differential bit count sequence. Estimator 38 estimates the optimum value of a state based on the refined differential bit count sequence for that state (S18).

[0083] The estimator 38 may be a DNN (Deep Neural Network) that outputs an optimal value of the state for the narrowed-down difference bit count sequence. The DNN has a matrix calculation circuit that multiplies the narrowed-down difference bit count sequence by a coefficient matrix. As shown in FIG. 14, when the narrowed-down difference bit count sequence includes five difference bit counts, the estimator 38 estimates the optimal value of the state by, for example, multiplying a 1×5 difference bit count sequence [1253, 1156, 984, 962, 1056] by a 5×1 coefficient matrix. The coefficient matrices used for the difference bit count sequences of various sizes are stored in the ROM 26. The weight coefficients and activation functions of the DNN are stored in the ROM 26.

[0084] 15 is a diagram for explaining the optimum value of the state estimated by the estimator 38. The estimator 38 can determine the voltage corresponding to the valley of the difference bit count string based on the narrowed down difference bit count string.

[0085] (Modification of the first embodiment) Next, modified examples of each process of the optimal voltage estimation process according to the first embodiment will be described.

[0086] Two other examples of how to obtain the differential bit count string will now be described.

[0087] In a second example of a method for determining a difference bit count sequence, the reference read result processing unit 62 applies an arbitrary fitting method to the difference bit count sequence after determining the difference bit count sequence according to the first example. Specifically, the reference read result processing unit 62 interpolates a new difference bit count between the measured difference bit counts.

[0088] FIG. 16 is a diagram for explaining a second example of obtaining a difference bit count string by the reference read result processing unit 62. FIG. 16(a) is a diagram for explaining an example of a reference read. FIG. 16(b) is a diagram for explaining an example of a bit count string. FIG. 16(c) is a diagram for explaining an example of a difference bit count string before interpolation. FIG. 16(d) is a diagram for explaining an example of a difference bit count string after interpolation. The horizontal axes in FIG. 16(a) to FIG. 16(d) are the same as those in FIG. 10.

[0089] Here, the candidates for the applied voltage in the reference read are V0, V1, V2, V3, ... in ascending order. It is assumed that the reference read is executed once for each of the four applied voltage candidates. The voltages at which the reference read is executed are V0, V4, V8, V12, V16, .... That is, the voltages corresponding to the bit count string and the difference bit count string are V0, V4, V8, V12, V16, .... The reference read result processing unit 62 performs an interpolation process on the difference bit count string to obtain the difference bit count string corresponding to the voltages V0, V2, V4, V6, V8, V10, V12, V14, V16, .... That is, the difference bit count string is obtained for each of the two execution voltage candidates.

[0090] The larger the number of voltages at which the reference read is performed, the longer the execution time of the reference read. When the reference read result processing unit 62 operates according to the second example, the number of voltages at which the reference read is performed is smaller than that of the first example. The interval between the voltages at which the reference read is performed shown in FIG. 16(a) is longer than the interval between the voltages at which the reference read is performed shown in FIG. 10. When the interval between the voltages at which the reference read is performed is increased, the number of times the reference read is performed decreases and the execution time is shortened. However, when the interval between the voltages at which the reference read is performed is increased, the interval between the bit count string shown in FIG. 16(b) and the interval between the differential bit count string shown in FIG. 16(c) also increase, which may adversely affect the estimation accuracy of the optimal voltage.

[0091] The reference read result processing unit 62 applies any fitting method to the difference bit count sequence. More specifically, the reference read result processing unit 62 interpolates new difference bit counts between the measured difference bit counts to obtain a difference bit count sequence (FIG. 16(d)) consisting of difference bit counts for more voltages than the voltage at which the reference read was executed. This makes it possible to shorten the estimation time without reducing the estimation accuracy.

[0092] Three other examples of how to obtain a differential bit count sequence will be described. In the third example of how to obtain a differential bit count sequence, the reference read result processing unit 62 applies any fitting method to the bit count sequence. Specifically, the reference read result processing unit 62 interpolates new bit counts between the measured bit counts to obtain a bit count sequence consisting of bit counts for voltages greater than the voltage at which the reference read was performed. After this, the reference read result processing unit 62 obtains a differential bit count sequence according to the first or second example, and obtains a differential bit count sequence consisting of differential bit counts for voltages greater than the voltage at which the reference read was performed.

[0093] FIG. 17 is a diagram for explaining a third example of obtaining a difference bit count string by the reference read result processing unit 62. FIG. 17(a) is a diagram for explaining an example of a reference read. FIG. 17(b) is a diagram for explaining an example of a bit count string before interpolation. FIG. 17(c) is a diagram for explaining an example of a bit count string after interpolation. FIG. 17(d) is a diagram for explaining an example of a difference bit count string. The horizontal axes in FIG. 17(a) to FIG. 17(d) are the same as those in FIG. 10.

[0094] According to the third example as well, the estimation time can be shortened without reducing the estimation accuracy.

[0095] Another example of how the narrowing-down unit 64 narrows down the difference bit count string will be described below. The other example is an example in which an estimator is used. The narrowing-down unit 64 may use a narrowing-down estimator similar to the estimator 38 that finds the optimal value of the state from the difference bit count to find a difference bit count string consisting of a predetermined number of elements from the difference bit count string.

[0096] 18 is a diagram for explaining another example of narrowing down the difference bit count string. The narrowing down estimator determines the narrowing down range based on histogram information of the left and right difference bit counts centered on a preset value of the state to be found.

[0097] FIG. 18(a) is a diagram for explaining an example of a threshold distribution of a memory cell. FIG. 18(b) shows a composite threshold distribution in which threshold distributions of all levels are superimposed, and differential bit counts (circles). FIG. 18(c) is a diagram for explaining an example of a bit count string output from the reference read execution unit 60. The horizontal axis in FIG. 18(a) to FIG. 18(c) is the same as that in FIG. 10. The narrowing down estimator finds the bit counts that are closest to 1 / 8, 2 / 8, 3 / 8, 4 / 8, 5 / 8, 6 / 8, and 7 / 8 of the total bit count (number of memory cells). In the multiple memory cells that are the object of the reference read, the number of memory cells belonging to each level is approximately equal, so the narrowing down estimator sets the seven voltages corresponding to them as provisional optimal values ​​for the seven states. The narrowing down estimator selects a predetermined number of differential bit counts for each of the higher and lower read voltage sides, centered on the provisional optimal value of one state. If the predetermined number is 5, then a total of 11 differential bit counts are selected. In FIG. 18(c), the voltage corresponding to the bit count closest to 6 / 8 of the total bit count is set as the tentative optimal value for state F, which distinguishes between levels E and F.

[0098] As described above, according to the second example, the narrowing-down section 64 can obtain a narrowed-down difference bit count sequence that is useful for estimating an optimum value, without detecting a peak in the difference bit count sequence.

[0099] Another example of estimating the optimum value of the state will be described. According to a second example of estimation, the narrowing down unit 64 inputs the narrowing down difference bit count string to the estimator 38, and the CPU 28 also inputs information specific to the NAND memory 40 to the estimator 38. Examples of the specific information are the number of WE (write / erase) cycles of the read target unit managed by the CPU 28, lot information of the memory chip including the read target unit, coordinates within the wafer of the memory chip, and temperature.

[0100] This improves the estimation accuracy of the estimator 38.

[0101] According to the first embodiment, bit count strings for a plurality of voltages are obtained, and a differential bit count string corresponding to a composite threshold distribution is obtained from the bit count string. A range including a valley corresponding to a state to be estimated in the differential bit count string is extracted, and a refined differential bit count string is obtained. Since the refined differential bit count string includes a valley corresponding to an optimal value, the optimal value of the state is estimated with high accuracy based on the refined differential bit count string. That is, according to the first embodiment, it is possible to improve read performance.

[0102] Second embodiment The configuration of the second embodiment is the same as that of the first embodiment, so a detailed description will be omitted. The optimal voltage estimation process according to the second embodiment is different from that of the first embodiment. In the first embodiment, the optimal value of each state is estimated in an arbitrary order. The accuracy of the estimation of the optimal value of each state is not uniform. A state that distinguishes a level that is greatly affected by the disturbance of the threshold distribution is prone to fluctuation and has poor estimation accuracy. For example, state A, which distinguishes between levels Er and A at the end of a set of multiple levels, and state G, which distinguishes between levels F and G, are easily affected by the disturbance of the threshold distribution, so their estimation accuracy is low. For example, state D, which is in the center of a set of multiple levels, has the highest estimation accuracy. Before shipping the memory system 12, the estimation accuracy of each state is checked. For example, state D has the highest estimation accuracy, followed by states C, E, B, F, G, and A, in that order. Estimation order information [SD, SC, SE, SB, SF, SG, SA] indicating the order of estimation accuracy is stored in the ROM 26.

[0103] The estimator 38 according to the second embodiment estimates the optimum voltage in the order according to the estimation order information.

[0104] FIG. 19 is a flowchart for explaining an example of the process of the optimal voltage estimation module 28a according to the second embodiment.

[0105] When it is time to update the optimum value table 52, or when the memory system 12 receives a command instructing an update from the host device 14, the optimum voltage estimation module 28a sets the loop index i to 1 and generates an optimum value array SI (initial value=[0,0,0,0,0,0,0,0]) (S52). The optimum value array SI is an array of optimum values ​​for states D, C, E, B, F, G, and A.

[0106] The optimal voltage estimation module 28a determines whether the loop index i is less than 8 (S54).

[0107] If the loop index i is 8 (S54: NO), the optimal voltage estimation module 28a ends the operation.

[0108] If the loop index i is less than 8 (S54: YES), the optimum voltage estimation module 28a operates the reference read execution unit 60. The reference read execution unit 60 executes a reference read (S56) in the same manner as in the first embodiment.

[0109] The reference read result processing unit 62 obtains a difference bit count string (S58), similarly to the first embodiment.

[0110] In order to estimate the optimal value of the i-th state of the estimated order information, the narrowing-down unit 64 extracts a predetermined number n (n is a positive integer greater than or equal to 1) of difference bit counts from the difference bit count string, and obtains a narrowed-down difference bit count string Ri=(r1, r2, ...rn) consisting of the extracted difference bit counts (S60).

[0111] The estimator 38 estimates the optimum value Bi of the i-th state based on the narrowed-down difference bit count sequence Ri and the optimum value array SI, similarly to the first embodiment (S62).

[0112] The optimum voltage estimation module 28a sets the optimum value Bi estimated by the estimator 38 as the i-th element of the optimum value array SI, updates the optimum value array SI, and increments the loop index i by 1 (S64).

[0113] Thereafter, the optimal voltage estimation module 28a determines whether the loop index i is less than 8 (S54).

[0114] Fig. 20 is a diagram for explaining a first example of the operation according to the flowchart of Fig. 19. For convenience of illustration, the number of difference bit counts in the narrowed-down difference bit count string is assumed to be 5. The estimator 38 is assumed to be provided for each state to be estimated.

[0115] First, an optimum value of state D is estimated. The optimum voltage estimation module 28a inputs a narrowed-down difference bit count sequence R1 for estimating state D to an estimator 38d for state D. The estimator 38d obtains an optimum value B1 of state D based on the difference bit count sequence R1 (five difference bit counts). The estimator 38d transmits the optimum value B1 of state D to the optimum voltage estimation module 28a. The optimum voltage estimation module 28a writes the optimum value B1 of state D to an optimum value array SI (SI=[B1,0,0,0,0,0,0,0]).

[0116] Next, an optimum value for state C is estimated. The optimum voltage estimation module 28a inputs the refined difference bit count sequence R2 and the optimum value array SI (=[B1, 0, 0, 0, 0, 0, 0]) for estimating state C to the estimator 38c for state C. The estimator 38c obtains an optimum value B2 for state C based on the refined difference bit count sequence R2 and six input data of the optimum value B1 for state D. The estimator 38c transmits the optimum value B2 for state C to the optimum voltage estimation module 28a. The optimum voltage estimation module 28a writes the optimum value B2 for state C to the optimum value array SI (SI=[B1, B2, 0, 0, 0, 0, 0]).

[0117] Next, the optimum value of state E is estimated. The optimum voltage estimation module 28a inputs the refined difference bit count sequence R3 and the optimum value array SI (=[B1, B2, 0, 0, 0, 0, 0]) for estimating state E to an estimator 38e for state E. The estimator 38e obtains an optimum value B3 of state E based on seven input data items, namely, the refined difference bit count sequence R3, the optimum value B1 of state D, and the optimum value B2 of state C. The estimator 38c transmits the optimum value B3 of state E to the optimum voltage estimation module 28a. The optimum voltage estimation module 28a writes the optimum value B3 of state E to the optimum value array SI (SI=[B1, B2, B3, 0, 0, 0, 0]).

[0118] Similarly, optimal values ​​are found for states B, F, and G. When optimal value B6 for state G is found, the optimal value array SI becomes [B1, B2, B3, B4, B5, B6, 0].

[0119] Finally, an optimum value for state A is estimated. The optimum voltage estimation module 28a inputs the refined difference bit count sequence R7 and the optimum value array SI (=[B1, B2, B3, B4, B5, B6, 0]) for estimating state A to an estimator 38a for state A. The estimator 38a calculates the optimum value B7 for state A based on eleven pieces of input data, namely, the refined difference bit count sequence R7, the optimum value B1 for state D, the optimum value B2 for state C, the optimum value B3 for state E, the optimum value B4 for state B, the optimum value B5 for state F, and the optimum value B6 for state G.

[0120] The order of estimation of the optimal values ​​of the states is from highest to lowest estimation accuracy. All optimal values ​​of the states that have already been estimated are input to the estimator 38 for each state. The number of input data to the estimator 38 increases as the estimation accuracy of the state decreases. Therefore, the estimator 38 can accurately estimate states that identify levels that are significantly affected by disturbances in the threshold distribution.

[0121] FIG. 21 is a diagram for explaining a second example of the operation according to the flowchart of FIG. 19. In the first example (FIG. 20), all optimal values ​​of states that have already been estimated are input to the estimator 38 of each state. A narrowed-down difference bit count string consisting of the same number of difference bit counts (five in the example of FIG. 20) is also input to the estimator 38 of each state. Therefore, the number of data input to the estimator 38 of each state increases by one as the number of optimal values ​​written in the optimal value array SI increases. In the second example, the number of data input to the estimator 38 does not increase even if the number of optimal values ​​written in the optimal value array SI increases.

[0122] In the second example, first, the optimum value of state D is estimated in the same manner as in the first example shown in Fig. 20. The optimum voltage estimation module 28a writes the optimum value B1 of state D to the optimum value array SI (SI = [B1, 0, 0, 0, 0, 0, 0]).

[0123] Next, the optimum value of state C is estimated. The optimum voltage estimation module 28a inputs the refined difference bit count string R2 for estimating state C and the optimum value array SI (=[B1, 0, 0, 0, 0, 0, 0]) to the estimator 38c for state C. As the number of optimum values ​​in the optimum value array SI increases, the optimum voltage estimation module 28a decreases the difference bit count number of the refined difference bit count string for estimating the state. The difference bit count number of the refined difference bit count string R2 for estimating state C is four, which is one less than the difference bit count number of the refined difference bit count string R1 for estimating state D. The estimator 38c obtains the optimum value B2 of state C based on five input data of the refined difference bit count string R2 and the optimum value B1 of state D. The estimator 38c transmits the optimum value B2 of state C to the optimum voltage estimation module 28a. The optimal voltage estimation module 28a writes the optimal value B2 for state C to the optimal value array SI (SI=[B1, B2, 0, 0, 0, 0, 0]).

[0124] Next, the optimum value of state E is estimated. The optimum voltage estimation module 28a inputs the refined difference bit count string R3 for estimating state E and the optimum value array SI (=[B1, B2, 0, 0, 0, 0, 0]) to the estimator 38e for state E. The difference bit count number of the refined difference bit count string R3 for estimating state E is 3. The estimator 38e obtains the optimum value B3 of state E based on five input data items, namely, the refined difference bit count string R3, the optimum value B1 of state D, and the optimum value B2 of state C. The estimator 38e transmits the optimum value B3 of state E to the optimum voltage estimation module 28a. The optimum voltage estimation module 28a writes the optimum value B3 of state E to the optimum value array SI (SI=[B1, B2, B3, 0, 0, 0, 0]).

[0125] Similarly, optimal values ​​are found for states B, F, and G. When optimal value B6 for state G is found, the optimal value array SI becomes [B1, B2, B3, B4, B5, B6, 0].

[0126] Finally, the optimum value for state A is estimated. The optimum voltage estimation module 28a inputs the optimum value array SI (=[B1, B2, B3, B4, B5, B6, 0]) to the estimator 38a for state A. The optimum voltage estimation module 28a does not create a narrowed-down difference bit count string for estimating state E. The estimator 38a finds an optimum value B7 for state A based on six input data items: the optimum value B1 for state D, the optimum value B2 for state C, the optimum value B3 for state E, the optimum value B4 for state B, the optimum value B5 for state F, and the optimum value B6 for state G.

[0127] In the second example, the optimal voltage estimation module 28a decreases the number of differential bit counts in the narrowed-down differential bit count column when the number of optimal values ​​in the optimal value array SI increases. Therefore, even if the number of states to be estimated increases, the number of inputs to the estimator 38 does not increase. Note that, although six optimal values ​​are input to the estimator 38a, it may be configured so that five optimal values ​​are always input without inputting the optimal value B1 of the state D that was initially estimated.

[0128] Fig. 22 is a diagram for explaining a third example of the operation according to the flowchart of Fig. 19. In the first example (Fig. 20), all optimal values ​​of states already estimated are input to the estimator 38 for each state. In the third example, the optimal values ​​of states already estimated are not necessarily used for subsequent estimation. In the third example, the number of differential bit counts in the narrowed-down differential bit count string input to each estimator 38 is constant, but may be decreased as the number of estimated states increases as in the second example.

[0129] First, the optimum value of state D is estimated in the same manner as in the first example shown in Fig. 20. The optimum voltage estimation module 28a writes the optimum value B1 of state D to the optimum value array SI (SI = [B1, 0, 0, 0, 0, 0, 0]).

[0130] Next, an optimum value for state C is estimated. The optimum voltage estimation module 28a inputs the refined difference bit count sequence R2 and the optimum value array SI (=[B1, 0, 0, 0, 0, 0, 0]) for estimating state C to an estimator 38c for state C. The estimator 38c obtains an optimum value B2 for state C based on six input data of the refined difference bit count sequence R2 and the optimum value B1 for state D. The estimator 38c transmits the optimum value B2 for state C to the optimum voltage estimation module 28a. The optimum voltage estimation module 28a does not write the optimum value B2 for state C to the optimum value array SI (SI=[B1, 0, 0, 0, 0, 0, 0]).

[0131] Next, the optimum value of state E is estimated. The optimum voltage estimation module 28a inputs the refined difference bit count sequence R3 and the optimum value array SI (=[B1, 0, 0, 0, 0, 0, 0]) for estimating state E to an estimator 38e for state E. The estimator 38e obtains an optimum value B3 of state E based on the refined difference bit count sequence R3 and six input data of the optimum value B1 of state D. The estimator 38c transmits the optimum value B3 of state E to the optimum voltage estimation module 28a. The optimum voltage estimation module 28a writes the optimum value B3 of state E to the optimum value array SI (SI=[B1, 0, B3, 0, 0, 0, 0]).

[0132] Similarly, optimal values ​​are found for states B, F, and G. Some or all of the optimal values ​​S4, S5, and S6 for states B, F, and G are written to the optimal value array SI. After the optimal value B6 for state G is found, the optimal value array SI is assumed to be [B1, 0, B3, B4, B5, 0, 0].

[0133] Finally, an optimum value for state A is estimated. The optimum voltage estimation module 28a inputs the refined difference bit count sequence R7 and the optimum value array SI (=[B1, 0, B3, B4, B5, 0, 0]) for estimating state A to an estimator 38a for state A. The estimator 38a calculates the optimum value B7 for state A based on nine pieces of input data: the refined difference bit count sequence R7, the optimum value B1 for state D, the optimum value B3 for state E, the optimum value B4 for state B, and the optimum value B5 for state F.

[0134] As described above, according to the second embodiment, the estimator 38 estimates the optimum value based on the already estimated optimum value of the state in addition to or instead of the narrowed-down differential bit count string, so that the optimum value of the state can be estimated with high accuracy.

[0135] The modified examples of the first embodiment are also applicable to the second embodiment. For example, the modified examples shown in Fig. 16 to Fig. 18 are also applicable to the second embodiment.

[0136] According to an embodiment of the present invention, the following memory system and reading method are provided.

[0137] (1) a non-volatile memory comprising a plurality of memory cells, each configured to store a plurality of bits of data; a controller electrically connected to the non-volatile memory; An initial value of a first number of read voltages for reading the data is determined; The controller: sequentially applying a second number of voltages, the second number being greater than the first number, to the non-volatile memory, and sequentially determining a bit count of the second number, which is the number of memory cells that are turned on or off; determining a difference bit count of said second numbers, said difference bit count being a difference of each of said second numbers from an adjacent bit count; determining a third number of difference bit counts, which is less than the second number, from the second number of difference bit counts and which includes a difference bit count corresponding to an initial value of a first read voltage from the first number of read voltages; The memory system estimates optimal values ​​for the first number of read voltages based on the third number of differential bit counts.

[0138] (2) The memory system according to (1), wherein after determining the second number of difference bit counts, the controller interpolates new difference bit counts between adjacent difference bit counts.

[0139] (3) The memory system of (1), wherein the controller, after determining the second number of bit counts, interpolates new bit counts between adjacent bit counts.

[0140] (4) The memory system of any of (1) to (3), wherein the controller detects multiple maximum values ​​of the second number of differential bit counts, and determines, as the third number of differential bit counts, multiple differential bit counts between the maximum value corresponding to the highest voltage on the lower voltage side than the initial value of the first read voltage and the maximum value corresponding to the lowest voltage on the higher voltage side than the initial value of the first read voltage.

[0141] (5) The memory system described in (4), wherein the controller detects the second difference bit count as a maximum value when, for a first difference bit count, a second difference bit count, and a third difference bit count that are consecutive among the second number of difference bit counts, the second difference bit count is greater than the first difference bit count and the third difference bit count.

[0142] (6) The controller includes an estimation unit that receives the second number of difference bit counts and outputs the third number of difference bit counts; The memory system according to any one of (1) to (5), wherein the estimation unit includes a matrix calculation circuit in a neural network.

[0143] (7) determining the first number of bit counts corresponding to the first number of read voltages based on a ratio of the bit counts to a total bit count; A memory system according to any one of (1) to (6), in which a first bit count among the first number of bit counts, a difference bit count of a first predetermined number on a higher voltage side than the first bit count, and a difference bit count of a second predetermined number on a lower voltage side than the first bit count are obtained as the difference bit count of the third number.

[0144] (8) The memory system according to any one of (1) to (6), wherein the controller estimates an optimal value for the first number of read voltages based on the third number of differential bit counts and specific information of the non-volatile memory.

[0145] (9) The memory system according to (8), wherein the unique information includes the number of write / erase cycles of the memory cell, lot information of the nonvolatile memory, coordinates within the wafer of the nonvolatile memory, and temperature of the nonvolatile memory.

[0146] (10) The controller, Sequentially estimating the first number of optimal read voltage values ​​in descending order of estimation accuracy; estimating a first optimum value for a first read voltage based on the third number of differential bit counts; The memory system according to any one of (1) to (9), further comprising estimating a second optimum value of a second read voltage based on a differential bit count of the third number and the first optimum value.

[0147] (11) The controller: Sequentially estimating the first number of optimal read voltage values ​​in descending order of estimation accuracy; estimating a first optimum value for a first read voltage based on the third number of differential bit counts; The memory system according to any one of (1) to (9), further comprising: estimating a second optimum value of a second read voltage based on a differential bit count that is one less than the third number and the first optimum value.

[0148] (12) The controller: Sequentially estimating the first number of optimal read voltage values ​​in descending order of estimation accuracy; estimating a first optimum value for a first read voltage based on the third number of differential bit counts; estimating a second optimum value of a second read voltage based on the third number of differential bit counts and the first optimum value; The memory system according to any one of (1) to (9), further comprising estimating a second optimum value of a third read voltage based on a differential bit count of the third number and the second optimum value.

[0149] (13) A non-volatile memory comprising a plurality of memory cells, each configured to store a plurality of bits of data; A method for reading data from a memory system, in which an initial value of a first number of read voltages for reading data is determined, comprising: sequentially applying a second number of voltages, the second number being greater than the first number, to the non-volatile memory, and sequentially determining a bit count of the second number, which is the number of memory cells that are turned on or off; determining a difference bit count of said second numbers, said difference bit count being a difference of each of said second numbers from an adjacent bit count; determining a third number of difference bit counts, which is less than the second number, from the second number of difference bit counts and which includes a difference bit count corresponding to an initial value of a first read voltage from the first number of read voltages; and estimating optimal values ​​for the first number of read voltages based on the third number of differential bit counts.

[0150] The present invention is not limited to the above-described embodiment, and the components can be modified and embodied in the implementation stage without departing from the gist of the invention. In addition, various inventions can be created by appropriately combining the multiple components disclosed in the above-described embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, components from different embodiments may be appropriately combined. [Explanation of symbols]

[0151] 12 memory system, 20 memory controller, 24 RAM, 28 CPU, 28a optimal voltage estimation module, 32 NAND controller, 36 read voltage information, 38 estimator

Claims

1. a non-volatile memory comprising a plurality of memory cells, each configured to store a plurality of bits of data; a controller electrically connected to the non-volatile memory; An initial value of a first number of read voltages for reading the data is determined; The controller: sequentially applying a second number of voltages, which is greater than the first number, to the non-volatile memory, and sequentially determining a bit count of the second number, which is the number of memory cells that are turned on or off; determining a difference bit count of the second numbers, the difference being a difference of each of the second numbers from an adjacent bit count; determining a third number of difference bit counts from the second number of difference bit counts, the third number being less than the second number and including a difference bit count corresponding to an initial value of a first read voltage from the first number of read voltages; The memory system estimates optimal values ​​for the first number of read voltages based on the third number of difference bit counts.

2. 2. The memory system of claim 1, wherein the controller, after determining the second number of difference bit counts, interpolates new difference bit counts between adjacent difference bit counts.

3. 2. The memory system of claim 1, wherein the controller, after determining the second number of bit counts, interpolates new bit counts between adjacent bit counts.

4. 2. The memory system of claim 1, wherein the controller detects a plurality of maximum values ​​of the second number of differential bit counts, and determines as the third number of differential bit counts a plurality of differential bit counts between a maximum value corresponding to the highest voltage on the lower voltage side than the initial value of the first read voltage and a maximum value corresponding to the lowest voltage on the higher voltage side than the initial value of the first read voltage.

5. the controller includes an estimator that receives the second number of difference bit counts and outputs the third number of difference bit counts; The memory system according to claim 1 , wherein the estimation unit comprises a matrix operation circuit in a neural network.

6. the controller determining the first number of bit counts corresponding to the first number of read voltages respectively based on a ratio of the bit counts to a total bit count; 2. The memory system of claim 1, wherein the third number of differential bit counts is determined as a first bit count among the first number of bit counts, a first predetermined number of differential bit counts on a higher voltage side than the first bit count, and a second predetermined number of differential bit counts on a lower voltage side than the first bit count.

7. 2. The memory system of claim 1, wherein the controller estimates an optimal value for the first number of read voltages based on the third number of differential bit counts and specific information of the non-volatile memory.

8. The controller: Sequentially estimating the optimal values ​​of the first number of read voltages in descending order of estimation accuracy; estimating a first optimum value for a first read voltage based on the third number of differential bit counts; 2. The memory system of claim 1, further comprising: estimating a second optimum value of a second read voltage based on the third number of differential bit counts and the first optimum value, or based on a number of differential bit counts one less than the third number and the first optimum value.

9. The controller: Sequentially estimating the optimal values ​​of the first number of read voltages in descending order of estimation accuracy; estimating a first optimum value for a first read voltage based on the third number of differential bit counts; estimating a second optimum value of a second read voltage based on the third number of differential bit counts and the first optimum value; 2. The memory system of claim 1, further comprising: estimating a second optimum value of a third read voltage based on said third number of difference bit counts and said second optimum value.

10. a non-volatile memory comprising a plurality of memory cells, each memory cell configured to store a plurality of bits of data; A method for reading data from a memory system, the method comprising: sequentially applying a second number of voltages, which is greater than the first number, to the non-volatile memory, and sequentially determining a bit count of the second number, which is the number of memory cells that are turned on or off; determining a difference bit count of the second numbers, the difference being a difference of each of the second numbers from an adjacent bit count; determining a third number of difference bit counts from the second number of difference bit counts, the third number being less than the second number and including a difference bit count corresponding to an initial value of a first read voltage from the first number of read voltages; estimating optimal values ​​for the first number of read voltages based on the third number of difference bit counts.

Citation Information

Patent Citations

  • Retention-drift-history-based non-volatile memory read threshold optimization

    JP2014154169A

  • Memory system and method

    JP2020144958A

  • Memory system

    JP2021044034A

  • Read threshold determination using reference read threshold

    US9069659B1