Memory device and method of controlling the same
By constructing multiple storage cells and control circuits in the storage device and adjusting the shift amount of the read voltage, the problem of erroneous bits when reading data from the storage device is solved, achieving higher data read accuracy and reliability.
Patent Information
- Application Number
- CN202511788913.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2025-05-26
- Filing Date
- 2025-12-01
- Publication Date
- 2026-11-27
AI Technical Summary
Existing storage devices are prone to errors when reading data, and it is difficult to effectively adjust the read voltage to reduce the number of errors.
A storage device consisting of multiple storage cells uses a control circuit to determine the shift amount of multiple readout voltages and outputs internal data to external devices. A data latch circuit is used to store and adjust the readout voltage to achieve accurate data reading.
By adjusting the readout action, the number of erroneous bits in the readout data is reduced, thereby improving the accuracy and reliability of data readout.
Smart Images

Figure CN123182727A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to storage devices and control methods thereof. Background Technology
[0002] As a storage device, NAND flash memory is known.
[0003] In a storage device, a read operation is performed to read data from a group of memory cells connected to a word line by applying a read voltage to the word line.
[0004] In addition, in storage devices, in order to reduce the number of erroneous bits in the read data, the read voltage can be adjusted. Summary of the Invention
[0005] A storage device and its control method are provided that can output internal data used in the adjustment of the readout voltage to an external device.
[0006] The storage device involved in the embodiment includes: a plurality of storage cells, each configured to store multiple bits of data according to one of a plurality of states including different threshold voltages; a first word line connected to a plurality of first storage cells; a data latch circuit; and a control circuit configured to determine, during a read operation, a shift amount of each of a plurality of first read voltages used for reading first data, the read operation being used to read the first data corresponding to the page to be read from a plurality of pages of data stored in the plurality of first storage cells. The control circuit stores internal data of the storage device used to determine the shift amount of each of the plurality of first read voltages in a first portion of the data latch circuit. The control circuit reads the first data from the plurality of first storage cells by applying the plurality of first read voltages, each shifted according to the determined shift amount, to the first word line. The control circuit stores the first data in a second portion of the data latch circuit, which is different from the first portion. The control circuit outputs the first data and the internal data to an external device via the data latch circuit. Attached Figure Description
[0007] Figure 1 This is a block diagram illustrating an example of the configuration of the storage system according to the first embodiment.
[0008] Figure 2 This is a block diagram illustrating an example of the hardware configuration of the memory controller included in the storage system according to the first embodiment.
[0009] Figure 3This is a block diagram illustrating an example of the hardware configuration of the non-volatile storage device included in the storage system according to the first embodiment.
[0010] Figure 4 This diagram illustrates an example of the circuit configuration of the memory cell array included in the non-volatile memory device according to the first embodiment.
[0011] Figure 5 This diagram illustrates an example of the circuit configuration of the sense amplifier module and data register included in the non-volatile memory device according to the first embodiment.
[0012] Figure 6 This is a schematic diagram illustrating an example of the threshold voltage distribution of multiple memory cell transistors and the allocation of data in a non-volatile memory device according to the first embodiment.
[0013] Figure 7 This diagram illustrates an example of a self-adjusting read operation performed in a non-volatile storage device according to the first embodiment in response to receiving a self-adjusting read command specifying a quick search.
[0014] Figure 8 This is a block diagram illustrating an example of the configuration of the voltage adjustment unit included in the non-volatile storage device according to the first embodiment.
[0015] Figure 9 This diagram illustrates an example of a lookup table provided by a non-volatile storage device according to the first embodiment.
[0016] Figure 10 This is a diagram illustrating an example of a shift value table provided by a non-volatile storage device according to the first embodiment.
[0017] Figure 11 This diagram illustrates an example of a self-adjusting read operation performed in a non-volatile storage device according to the first embodiment in response to the receipt of a self-adjusting read command for a specified fine search.
[0018] Figure 12 This is a graph used to illustrate the difference between the number of on-cells corresponding to multiple voltages and the number of on-cells corresponding to two adjacent voltages, obtained by the non-volatile storage device according to the first embodiment.
[0019] Figure 13 This is a block diagram illustrating an example of the configuration of the data latch circuit and memory cell array included in the non-volatile memory device according to the first embodiment.
[0020] Figure 14 This diagram illustrates the action of writing temperature information to the final column of the redundant column region of the write target cell group, performed in the non-volatile storage device according to the first embodiment during a write operation.
[0021] Figure 15 This is a diagram showing the operation performed in the non-volatile storage device according to the first embodiment during a read operation, in which histogram information used to determine the shift amount of each of the multiple read voltages used to read data from the target page is stored in the final column of the redundant column region of the data latch circuit.
[0022] Figure 16 This is a diagram illustrating the action performed during a read operation in the non-volatile storage device according to the first embodiment, where histogram information is stored in the column preceding the final column of the redundant column region of the data latch circuit.
[0023] Figure 17 This is a diagram illustrating an example of a typical read command sequence executed in a non-volatile storage device according to the first embodiment.
[0024] Figure 18 This diagram illustrates an example of a read command sequence for performing self-adjusting reads, executed in a non-volatile storage device according to the first embodiment.
[0025] Figure 19 This is a diagram illustrating an example of a read command sequence executed in the non-volatile storage device according to the first embodiment, which performs self-adjusting reads and outputs histogram information used to determine the shift amount of each of the multiple read voltages used in reading data in the target page.
[0026] Figure 20 This is a flowchart illustrating an example of the steps (processes) of a read operation performed in a non-volatile storage device according to the first embodiment.
[0027] Figure 21 This diagram illustrates the operation performed during the readout process in the non-volatile storage device described in the second embodiment, where the temperature information during readout is used in the final column storage of the redundant column region of the data latch circuit to determine the shift amount of each of the multiple readout voltages used to read out the data of the target page.
[0028] Figure 22 This diagram illustrates the operation performed during the readout process in the non-volatile storage device described in the second embodiment, where temperature information used to determine the shift amount for the readout voltage is stored in the column preceding the final column of the redundant column region of the data latch circuit.
[0029] Figure 23 This diagram illustrates an example of a read command sequence executed in the non-volatile storage device according to the second embodiment, used to output temperature information used in a normal read operation to determine the shift amount of each of the multiple read voltages.
[0030] Figure 24 This is a diagram illustrating an example of a read command sequence executed in the non-volatile storage device according to the second embodiment, which is used to perform self-adjusting reads and output histogram information and temperature information used to determine the shift amount of each of the multiple read voltages.
[0031] Figure 25 This is a flowchart illustrating an example of the steps involved in a read operation performed in a non-volatile storage device according to the second embodiment.
[0032] Explanation of reference numerals in the attached figures
[0033] 1…Host device, 2…Storage system, 3…Memory controller, 4…Non-volatile memory device, 10…Host interface circuit, 11…Memory interface circuit, 12…CPU, 13…ECC processing circuit, 14…ROM, 15…RAM, 16…Buffer memory, 20…Memory cell array, 21…Input / output circuit, 22…Logic controller, 23…Register circuit, 24…Sequencer, 25…Ready / Busy controller, 26…Driver circuit, 27…Line decoder module, 28…Data register, 29…Sense amplifier module, 30…Voltage regulator, 31…Temperature sensor, BLK…Block, SU…Serial cell, NS…NAND string, BL…Bit line, WL…Word line, SGD, SGS…Select gate line, CG, SGDD, SGSD, USGD, USGS…Signal line, MT…Memory cell transistor, STD, STS…Select transistor, SDL, ADL, BDL, CDL, DDL, XDL…Latch circuit Detailed Implementation
[0034] The embodiments will now be described with reference to the accompanying drawings.
[0035] (First Embodiment)
[0036] First, the configuration of the storage system 2 according to the first embodiment will be described. Figure 1 This is a block diagram illustrating an example of the configuration of the storage system 2 according to the first embodiment. For example... Figure 1As shown, storage system 2 can be connected to an external host device 1 (also referred to as a host). Host device 1 is a computing device such as a server, personal computer, or portable information terminal. Storage system 2 is a storage device such as an SSD (solid-state drive) or memory card. Storage system 2 includes, for example, a memory controller 3 and a storage device 4. Storage device 4 can be, for example, a single NAND flash memory chip, multiple NAND flash memory chips, or a device formed by connecting multiple NAND flash memory chips to one or more interface chips. For the sake of simplicity, the following description will use the case where storage device 4 is a single NAND flash memory chip as an example, but the configuration of storage device 4 is not limited to this example. Hereinafter, storage device 4 will be described as a non-volatile storage device 4.
[0037] The memory controller 3 is, for example, a semiconductor integrated circuit configured as a SoC (System on a Chip), ASIC (Application Specific Integrated Circuit), or FPGA (Field-Programmable Gate Array). The memory controller 3 has the function of managing and controlling the non-volatile memory device 4. The memory controller 3 can be connected to the host device 1 via the host bus HB. The memory controller 3 is connected to the non-volatile memory device 4 via the memory bus MB. The memory controller 3 can control the non-volatile memory device 4 based on requests received from the host device 1. For example, the memory controller 3 controls the non-volatile memory device 4 to perform read, write, and erase operations.
[0038] The non-volatile memory device 4 is, for example, a non-volatile semiconductor memory device configured to store data non-volatilely. The non-volatile memory device 4 is, for example, a NAND flash memory. In a NAND flash memory, the unit for reading and writing data is called a page. The non-volatile memory device 4 includes multiple memory cell transistors MT, multiple bit lines BL, and multiple word lines WL. For example, each memory cell transistor MT is associated with one bit line BL and one word line WL. The selection of the bit line BL is performed based on the column address, and the selection of the word line WL is performed based on the page address.
[0039] Next, the hardware configuration of memory controller 3 will be explained. Figure 2This is a block diagram illustrating an example of the hardware configuration of the memory controller 3 included in the storage system 2 according to the first embodiment. For example... Figure 2 As shown, the memory controller 3 includes, for example, a host interface circuit (host I / F) 10, a memory interface circuit (memory I / F) 11, a CPU (Central Processing Unit) 12, an ECC (Error Correction Code) processing circuit 13, a ROM (Read Only Memory) 14, a RAM (Random Access Memory) 15, and a buffer memory 16. The host I / F 10, memory I / F 11, CPU 12, ECC processing circuit 13, ROM 14, RAM 15, and buffer memory 16 can be connected to an internal bus.
[0040] The host I / F10 performs communication according to the interface standard between host device 1 and memory controller 3. The host I / F10 connects to host device 1 via the host bus HB. The host I / F10 supports, for example, SATA (Serial Advanced Technology Attachment), SAS (Serial Attached SCSI), and PCIe... TM (PCIExpress) TM NVMe TM (NVM Express) TM That kind of interface standard.
[0041] The memory I / F11 performs communication according to the interface standard between the memory controller 3 and the non-volatile memory device 4. The memory I / F11 is connected to the non-volatile memory device 4 via the memory bus MB. The memory I / F11 supports interface standards such as Toggle DDR and ONFI (Open NAND Flash Interface).
[0042] CPU 12 is a processor that controls the overall operation of memory controller 3. CPU 12, upon receiving a write request via host I / F 10, instructs the non-volatile storage device 4 to perform a write operation. CPU 12, upon receiving a read request via host I / F 10, instructs the non-volatile storage device 4 to perform a read operation.
[0043] ECC processing circuit 13 is a circuit that performs ECC processing. ECC processing includes data encoding and decoding. ECC processing circuit 13 encodes the data to be written to non-volatile memory device 4 and appends error correction codes (ECC) to the data to be written to non-volatile memory device 4. In addition, ECC processing circuit 13 decodes the data read from non-volatile memory device 4, performing error detection and error correction on the read data. The error correction codes (ECC) appended to the data are also called parity check codes or ECC parity check codes.
[0044] ROM 14 stores programs such as firmware. ROM 14 is, for example, EEPROM™ (Electrically Erasable Programmable Read-Only Memory). CPU 12 performs various processes by executing the firmware stored in ROM 14, etc.
[0045] RAM15 is volatile memory. RAM15 is used as the working area of CPU12. RAM15 is, for example, SRAM (Static Random Access Memory) or DRAM (Dynamic Random Access Memory).
[0046] Buffer memory 16 is, for example, volatile memory. Buffer memory 16 temporarily stores data received via host I / F 10, data received via memory I / F 11, etc. Buffer memory 16 is, for example, DRAM or SRAM. Buffer memory 16 can be installed externally to memory controller 3.
[0047] Next, the hardware configuration of the non-volatile storage device 4 will be described. Figure 3 This is a block diagram illustrating an example of the configuration of the non-volatile storage device 4 included in the storage system 2 according to the first embodiment. For example... Figure 3As shown, the non-volatile storage device 4 includes, for example, a memory cell array 20, an input / output circuit 21, a logic controller 22, a register circuit 23, a sequencer 24, a ready / busy controller 25, a driver circuit 26, a row decoder module 27, a data register 28, a sense amplifier module 29, a voltage regulator 30, and a temperature sensor 31. Signals transmitted and received via the memory bus MB include, for example, input / output signals I / O0~I / O7, control signals CEn, CLE, ALE, WEn, REn, and WPn, and a ready / busy signal RBn.
[0048] The memory cell array 20 is a collection of multiple memory cell transistors MT. The memory cell array 20 includes multiple blocks BLK0~BLKn (where "n" is an integer greater than or equal to 1). Blocks BLK are used, for example, as units for data erasure operations. Block addresses are assigned to each BLK. Multiple bit lines BL0~BLm (where "m" is an integer greater than or equal to 1) and multiple word lines WL (not shown) are provided in the memory cell array 20.
[0049] Input / output circuit 21 controls the transmission and reception (input / output) of input / output signals I / O0~I / O7. Input / output signals I / O may include, for example, data DAT, status information, address, and command. Input / output circuit 21 can input and output data DAT between data register 28 and memory controller 3. Input / output circuit 21 can output status information transmitted from register circuit 23 to memory controller 3. Input / output circuit 21 can output address and command transmitted from memory controller 3 to register circuit 23 respectively.
[0050] The logic controller 22 controls the input / output circuit 21 and the sequencer 24 based on various control signals input from the memory controller 3. The logic controller 22 enables the non-volatile memory device 4 based on the control signal CEn. The logic controller 22 notifies the input / output circuit 21, based on the control signals CLE and ALE, that the received input / output signals I / O from the non-volatile memory device 4 are commands and addresses, respectively. The logic controller 22 commands the input / output circuit 21 to receive input / output signals I / O based on the control signal WEn, and commands the input / output circuit 21 to send input / output signals I / O based on the control signal REn. The logic controller 22 sets the non-volatile memory device 4 to a protection state based on the control signal WPn.
[0051] Register circuit 23 temporarily stores status, address, and commands. Status represents the operational state of non-volatile storage device 4. Status is updated based on the control of sequencer 24 and transmitted to memory controller 3 via input / output circuit 21. Address may include block address, page address, column address, etc. Commands include commands related to various operations of non-volatile storage device 4.
[0052] The sequencer 24 is a control circuit that controls the overall operation of the non-volatile storage device 4. Based on the commands and addresses stored in the register circuit 23, the sequencer 24 performs read operations, write operations, erase operations, etc.
[0053] Additionally, sequencer 24 can perform a self-tuning read operation. A self-tuning read operation is a process in which the non-volatile memory device itself determines the appropriate read voltage (i.e., the appropriate shift amount relative to the current read voltage) and adjusts the value of the read voltage to be applied to the word line to be read to the appropriate read voltage. The appropriate read voltage is the voltage that minimizes the number of erroneous bits contained in the read data. Self-tuning read operation is also known as on-chip threshold voltage tracking (Vthtracking). Details of self-tuning read operation will be described later.
[0054] The ready / busy controller 25 generates a ready / busy signal RBn based on the control of the sequencer 24. The ready / busy signal RBn informs the memory controller 3 whether the non-volatile storage device 4 is in a ready or busy state. A ready state indicates that the non-volatile storage device 4 can accept commands from the memory controller 3, and this is indicated by a high-level ready / busy signal RBn. A busy state indicates that the non-volatile storage device 4 cannot accept commands from the memory controller 3, and this is indicated by a low-level ready / busy signal RBn.
[0055] The driver circuit 26 generates the voltage used in read, write, and erase operations. The driver circuit 26 supplies the generated voltage to the line decoder module 27 and the sense amplifier module 29.
[0056] The line decoder module 27 is a circuit used in the selection of block BLK, the supply of voltage to word lines WL, and other routing. The line decoder module 27 includes multiple line decoders RD0~RDn. Line decoders RD0~RDn are associated with blocks BLK0~BLKn, respectively. Each line decoder RD can set the associated block BLK to be selected or not selected based on the block address.
[0057] Data register 28 is a circuit that temporarily stores data DAT. Data register 28 is used, for example, when inputting or outputting data DAT between input / output circuit 21 and sense amplifier module 29. Data register 28 is also referred to as a data latch circuit, page register, or cache memory.
[0058] The sense amplifier module 29 is a circuit used for supplying voltage to each bit line BL and for reading data. The sense amplifier module 29 includes multiple sense amplifier units SAU0~SAUm. Each sense amplifier unit SAU0~SAUm is associated with a plurality of bit lines BL0~BLm. Each sense amplifier unit SAU can determine the data to be read from the selected memory cell transistor MT based on the voltage of its associated bit line BL.
[0059] The voltage adjustment unit 30 has the following function: In self-adjusting readout, it determines the shift amount for the readout voltage based on the instruction of the sequencer 24 and the data DAT transmitted from the data register 28. The shift amount is represented by a positive or negative value. By adding the shift amount to the readout voltage, that is, by shifting the readout voltage by the shift amount (increasing or decreasing), an appropriate readout voltage can be obtained. Details of the configuration of the voltage adjustment unit 30 will be described later.
[0060] Temperature sensor 31 is configured to detect the temperature within non-volatile storage device 4. Sequencer 24 is able to obtain temperature information representing the temperature detected by temperature sensor 31 as needed by performing communication with temperature sensor 31.
[0061] Furthermore, in the non-volatile storage device 4, the group consisting of the memory cell array 20, the line decoder module 27, and the sense amplifier module 29 can be referred to as a plane. A plane includes at least the memory cell array 20. The non-volatile storage device 4 can have multiple planes. The sequencer 24 can be configured to control each of the multiple planes.
[0062] Next, the circuit configuration of the memory cell array 20 will be explained. Figure 4 This is a diagram illustrating an example of the circuit configuration of the memory cell array 20 according to the first embodiment. Figure 4 This shows one of the multiple block BLKs contained in the storage cell array 20. For example... Figure 4 As shown, multiple bit lines BL0~BLm, multiple word lines WL0~WL7, select gate lines SGD0~SGD4, select gate line SGS, and source line SL are set in block BLK. Select gate lines SGD0~SGD4, SGS, and word lines WL0~WL7 are set for each block BLK. Bit lines BL0~BLm are shared across multiple blocks BLK. Source line SL can be shared across multiple blocks BLK or set for each block BLK.
[0063] A block BLK, for example, comprises five string units SU0 to SU4. Each string unit SU comprises multiple NAND strings NS. The multiple NAND strings NS are associated with bit lines BL0 to BLm, respectively. That is, each bit line BL is shared by NAND strings NS that are assigned the same column address across multiple blocks BLK. Each NAND string NS is connected between the associated bit line BL and the source line SL.
[0064] Each NAND string NS includes, for example, series-connected memory cell transistors MT0~MT7, and select transistors STD and STS. Each memory cell transistor MT is a memory cell with a control gate and a charge accumulation layer, which non-volatilely retains (stores) data. The threshold voltage of the memory cell transistor MT can be varied based on factors such as the amount of charge injected into the charge accumulation layer. The memory cell transistor MT stores data corresponding to the threshold voltage. The select transistors STD and STS are used in the selection of the string cell SU.
[0065] In each NAND string NS, the select transistor STD, memory cell transistors MT7~MT0, and select transistor STS are connected in series in this order. Specifically, the drain of the select transistor STD is connected to the associated bit line BL. The source of the select transistor STD is connected to the drain of the memory cell transistor MT7. The drain of the select transistor STS is connected to the source of the memory cell transistor MT0. The source of the select transistor STS is connected to the source line SL. The memory cell transistors MT0~MT7 are connected in series between the select transistor STD and STS.
[0066] Select gate lines SGD0~SGD4 are associated with serial cells SU0~SU4, respectively. Each select gate line SGD is connected to the gate of the multiple select transistors STD included in the associated serial cell SU. Select gate line SGS is connected to the gate of the multiple select transistors STS included in the associated block BLK. Word lines WL0~WL7 are connected to the control gate of the multiple memory cell transistors MT0~MT7 included in the associated block BLK, respectively.
[0067] In this specification, a collection of multiple memory cell transistors MT connected to a word line WL within a single serial cell SU is called a cell group CU. In this specification, the collection of one bit of data stored by each memory cell transistor MT within a cell group CU is called page data. A cell group CU can store two or more pages of data depending on the number of bits of data stored by each memory cell transistor MT. Each memory cell transistor MT is set to any of several states with different threshold voltages and is configured to store multiple bits of data allocated to that state. In other words, each memory cell transistor MT is configured to be set to a threshold voltage corresponding to any of several states with different allocated multiple bits of data. Therefore, each memory cell transistor MT stores multiple bits of data depending on which of the several states with different threshold voltages it belongs to, and the multiple memory cell transistors MT within a cell group CU store multiple pages of data.
[0068] Furthermore, the memory cell array 20 can have circuit configurations other than those described above. For example, the number of string cells SU included in each BLK, the number of memory cell transistors MT included in each NAND string NS, and the number of selection transistors STD and STS can be designed to be arbitrary.
[0069] Next, the circuit configuration of the sensing amplifier module 29 and the data register 28 will be described. Figure 5 This is a diagram illustrating an example of the circuit configuration of the sensing amplifier module 29 and the data register 28 according to the first embodiment.
[0070] like Figure 5 As shown, each sense amplifier unit (SAU) includes, for example, a bit line connection section (BLHU), a sense amplifier section (SA), buses (DBUS and LBUS), data latch circuits (SDL, ADL, BDL, CDL, and DDL), an arithmetic unit (OP), and a transistor (T0). The data register 28 includes multiple data latch circuits (XDL0 to XDLm). The data latch circuits XDL0 to XDLm are associated with sense amplifier units (SAU0 to SAUm), respectively. Each data latch circuit (XDL0 to XDLm) is connected to its associated sense amplifier unit (SAU) via the bus (DBUS).
[0071] The bit line connection unit BLHU is, for example, a protection circuit that prevents the high voltage applied to the channel of the NAND string NS from being applied to the sense amplifier unit SA during the erase operation. The bit line connection unit BLHU can be configured to apply a predetermined voltage to the non-selected bit line BL.
[0072] The sensing amplifier section SA is a circuit used in determining data based on the voltage of the bit line BL and applying the voltage to the bit line BL. Each sensing amplifier section SA is connected to the associated bit line BL via the bit line connection section BLHU. After the sensing amplifier section SA activates the control signal STB during readout operation, it determines whether the data read from the selected memory cell transistor MT is "0" bit data or "1" bit data based on the voltage of the associated bit line BL. The control signal STB is generated, for example, by the sequencer 24.
[0073] The data latch circuits SDL, ADL, BDL, CDL, and DDL can each temporarily hold data. The data latch circuits SDL, ADL, BDL, CDL, and DDL, along with the sense amplifier section SA, are configured to transmit and receive data via the LBUS bus.
[0074] The arithmetic logic unit (OP) uses the data stored in the data latch circuits SDL, ADL, BDL, CDL, and DDL to perform various logic operations. Alternatively, the sense amplifier unit (SAU) can replace the OP and include additional arithmetic circuitry for performing various logic operations.
[0075] The transistor T0 of each sense amplifier unit (SAU) controls the transmission of signals between the associated buses DBUS and LBUS. One end of the transistor T0 of each sense amplifier unit (SAU) is connected to the associated bus DBUS. The other end of the transistor T0 of each sense amplifier unit (SAU) is connected to the associated bus LBUS. A control signal DSW is input to the gate of the transistor T0 of each sense amplifier unit. The control signal DSW is generated, for example, by the sequencer 24.
[0076] Each data latch circuit XDL can temporarily hold data. Each data latch circuit XDL is configured to transmit and receive data with its associated sense amplifier unit SAU via the DBUS bus. Each data latch circuit XDL is used for the input and output of data DAT between the sense amplifier module 29 and the input / output circuit 21. Each data latch circuit XDL can be shared by multiple sense amplifier units SAU.
[0077] Furthermore, the sensing amplifier module 29 may have a circuit configuration other than those described above. For example, the number of latching circuits in each sensing amplifier unit SAU can be appropriately changed. The arithmetic unit OP can also be omitted from the sensing amplifier unit SAU.
[0078] Next, the threshold voltage distribution of multiple memory cell transistors MT will be explained. Figure 6This is a diagram illustrating an example of the threshold voltage distribution of multiple memory cell transistors MT in the memory system 2 according to the first embodiment, and the data allocation. The vertical axis, "NMTs," represents the number of memory cell transistors MT. The horizontal axis, "Vth," represents the threshold voltage of the memory cell transistor MT. Figure 6 As shown, in the case where each memory cell transistor MT stores 4 bits of data (4 bits / cell), for example, the threshold voltage distribution of multiple memory cell transistors MT forms 16 states. Since the data written to each cell group CU is randomized, the memory cell transistors MT are distributed approximately equally among the 16 states.
[0079] In this specification, the 16 states, starting with the one with the lowest threshold voltage, are sequentially designated as S0, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, and S15. Each memory cell transistor MT belonging to states S0 through S15 is assigned a different 4-bit data. Furthermore, each memory cell transistor MT can store 2, 3, or more than 5 bits of data, and can be assigned data different from what is described below. The operations described below also apply to cases where the memory cell transistor MT stores multiple bits of data beyond 4 bits.
[0080] The following illustrates an example of data allocation for memory cell transistors MT belonging to 16 states. Furthermore, the 4 bits of data stored in each memory cell transistor MT are also referred to as top bit data, upper bit data, middle bit data, and lower bit data. Additionally, the 4 pages of data stored in the multiple memory cell transistors MT contained in each cell group CU are also referred to as top page data, upper page data, middle page data, and lower page data. Top page data is the set of top-level data corresponding to each of the multiple memory cell transistors MT contained in each cell group CU; upper page data is the set of upper-level data corresponding to each of the multiple memory cell transistors MT contained in each cell group CU; middle page data is the set of middle-level data corresponding to each of the multiple memory cell transistors MT contained in each cell group CU; and lower page data is the set of lower-level data corresponding to each of the multiple memory cell transistors MT contained in each cell group CU. For example, 4 bits of data are allocated in the 16 states as follows.
[0081] S0 state: "1111 (Top data / Upper data / Middle data / Lower data)"
[0082] S1 Status: "0111" Data
[0083] S2 Status: "0011" Data
[0084] S3 Status: Data "1011"
[0085] S4 Status: Data "1001"
[0086] S5 Status: "1000" data
[0087] S6 Status: "1010" Data
[0088] S7 Status: "0010" Data
[0089] S8 Status: "0110" Data
[0090] S9 Status: "0100" Data
[0091] S10 Status: "0000" Data
[0092] S11 Status: "0001" Data
[0093] S12 Status: "0101" Data
[0094] S13 Status: Data "1101"
[0095] S14 Status: "1100" Data
[0096] S15 Status: Data "1110"
[0097] The readout voltage is set at each boundary between adjacent states. Specifically, the readout voltage R1 is set at the boundary between state S0 and state S1. The readout voltage R2 is set at the boundary between state S1 and state S2. Similarly, the readout voltages R3 to R15 are set at the boundaries between adjacent states. That is, the readout voltage Rj ("j" is an integer greater than 1 and less than 15) is set at the boundary between state S(j-1) and state Sj. Moreover, the readout voltage Vread is set to a voltage higher than that of the state with the highest threshold voltage (e.g., state S15).
[0098] A read voltage is applied to the read target word line WL. The read target word line WL is the word line selected as the read target, that is, the word line WL that connects to the set of read target memory cell transistors MT contained in the read target cell group CU. For each of the read target memory cell transistors MT contained in the cell group CU of the read target word line WL, that is, each memory cell transistor connected to the read target word line WL, if the memory cell transistor has a threshold voltage lower than the read voltage applied to the read target word line WL, it becomes in the ON state. A read pass voltage Vread is applied to each of the unselected word lines WL. Each memory cell transistor MT contained in the cell group CU of the word line WL to which the read pass voltage Vread is applied becomes in the ON state regardless of the data to be stored.
[0099] That is, the read operation for the read target word line WL is the operation of reading data from each of the read target memory cell transistors MT, and is performed by sequentially applying multiple different read voltages to the read target word line WL. Here, the multiple read voltages applied to the read target word line WL are determined based on the allocation of data for multiple states (e.g., S0 to S15 states in a QLC-flash memory device) and the 1 bit of data to be read from the multiple bits of data (i.e., which of the read target page's data is low page data, middle page data, high page data, or top page data). Specifically, when performing a read operation to read one page of data from the multiple pages of data stored in the multiple read target memory cell transistors MT connected to the read target word line WL, the sequencer 24 sequentially applies the multiple read voltages required for reading that one page of data to the read target word line WL.
[0100] In application Figure 6 In the data allocation scenario shown, when reading low-page data from multiple read-object memory cell transistors MT connected to the read-object word line WL, the read-out operation is performed by sequentially applying multiple different read voltages (i.e., read voltages R5, R11, and R14) to the read-object word line WL to read data from each of the multiple memory cell transistors MT connected to the read-object word line WL. Here, read voltages R5, R11, and R14 are multiple read voltages predetermined for reading low-page data. Read voltages R5, R11, and R14 are read voltages used to distinguish between states S0~S4 allocated with "1", states S5~S10 allocated with "0", states S11~S13 allocated with "1", and states S14~S15 allocated with "0". That is, the low-page data is determined by the read-out operation using read voltages R5, R11, and R14.
[0101] When reading middle page data from multiple memory cell transistors MT connected to the read target word line WL, the read operation of reading data from each of the multiple memory cell transistors MT connected to the read target word line WL is performed by sequentially applying multiple different read voltages (i.e., read voltages R4, R6, R9, and R15) to the read target word line WL. Here, read voltages R4, R6, R9, and R15 are multiple read voltages predetermined for reading middle page data. Read voltages R4, R6, R9, and R15 are read voltages used to distinguish between states S0~S3 assigned "1", states S4~S5 assigned "0", states S6~S8 assigned "1", states S9~S14 assigned "0", and state S15 assigned "1". That is, the middle page data is determined by the read operation using read voltages R4, R6, R9, and R15.
[0102] When reading high-page data from multiple memory cell transistors MT connected to the read target word line WL, the read operation of reading data from each of the multiple memory cell transistors MT connected to the read target word line WL is performed by sequentially applying multiple different read voltages (i.e., read voltages R2, R8, R10, and R12) to the read target word line WL. Here, read voltages R2, R8, R10, and R12 are multiple read voltages predetermined for reading high-page data. Read voltages R2, R8, R10, and R12 are read voltages used to distinguish between states S0~S1 assigned with "1", states S2~S7 assigned with "0", states S8~S9 assigned with "1", states S10~S11 assigned with "0", and states S12~S15 assigned with "1". That is, high-page data is determined by the read operation using read voltages R2, R8, R10, and R12.
[0103] When reading top-page data from multiple memory cell transistors MT connected to the read target word line WL, the read operation is performed by sequentially applying multiple different read voltages (i.e., read voltages R1, R3, R7, and R13) to the read target word line WL to read data from each of the multiple memory cell transistors MT connected to the read target word line WL. Here, read voltages R1, R3, R7, and R13 are multiple read voltages predetermined for reading top-page data. Read voltages R1, R3, R7, and R13 are read voltages used to distinguish between states S0 (assigned "1"), states S1~S2 (assigned "0"), states S3~S6 (assigned "1"), states S7~S12 (assigned "0"), and states S13~S15 (assigned "1"). That is, the top-page data is determined by the read operation using read voltages R1, R3, R7, and R13.
[0104] In the readout operation for the readout target word line WL using multiple readout voltages, the arithmetic processing is performed appropriately for each bit line BL within the sense amplifier unit SAU.
[0105] In other words, the read operation for the read object word line WL includes: (1) applying multiple different read voltages to the read object word line WL in sequence; and (2) determining the value ("1" or "0") of the 1 bit data read from each read object storage cell by performing logical operations (e.g., XOR or XNOR) on multiple 1-bit data read from each read object storage cell connected to the read object word line WL, which correspond to the multiple read voltages respectively.
[0106] also, Figure 6 In the data allocation shown, the low page data, middle page data, high page data, and top page data are determined by reading actions using 3 read voltages, 4 read voltages, 4 read voltages, and 4 read voltages respectively. Therefore, it is also called 3-4-4-4 encoding.
[0107] Next, the self-adjusting readout will be explained. Figure 7 This diagram illustrates an example of a self-adjusting read operation performed in the non-volatile storage device 4 according to the first embodiment, in response to a self-adjusting read command specified for fast search received from the memory controller 3.
[0108] The self-tuning read command is a command that instructs the non-volatile storage device 4 to perform a self-tuning read operation. In self-tuning read, as a search mode for searching for an appropriate read voltage (that is, an appropriate shift amount for the current read voltage), for example, three search modes can be selectively used: quick search, fine search, and two-step search.
[0109] Fast search is a search pattern used to quickly find the appropriate shift amount. Fine search is a search pattern that can find the appropriate shift amount with higher precision than fast search. Two-stage search is a search pattern that first performs a fast search, and then uses the result of the fast search to perform a fine search.
[0110] In a fast search, multiple read-object memory cell transistors MT, which have a pre-determined state (in... Figure 7 The predetermined voltage range included in (e.g., S15) Figure 7The number of memory cell transistors MT with threshold voltages in the area (shown by the diagonal lines) is counted. Furthermore, based on histogram information representing their count values, multiple shift amounts are determined corresponding to the multiple read voltages used to read the read target page data (top page data, high page data, middle page data, or low page data) from the four pages of data stored by the multiple read target memory cell transistors MT.
[0111] For example, when the target page is the top page, four shift amounts are determined corresponding to the four read voltages R1, R3, R7, and R13 used for reading data on the top page. Similarly, when the target page is a high page, four shift amounts are determined corresponding to the four read voltages R2, R8, R10, and R12 used for reading data on the high page. Furthermore, when the target page is a middle page, four shift amounts are determined corresponding to the four read voltages R4, R6, R9, and R15 used for reading data on the middle page. Finally, when the target page is a low page, three shift amounts are determined corresponding to the three read voltages R5, R11, and R14 used for reading data on the low page.
[0112] The following section provides a detailed explanation of the self-adjusting readout action corresponding to the fast search.
[0113] exist Figure 7 The diagram illustrates the correspondence between the S14 and S15 states in the threshold voltage distribution of the memory cell transistor MT, the results read from RL1, the results read from RL2, and the results of the XOR operation. For example... Figure 7 As shown, in this example, the readout voltages RL1 and RL2 are set to overlap with the S15 state, which is the highest state.
[0114] During RL1 readout, a readout voltage RL1 is applied to the readout word line WL. Therefore, during RL1 readout, each of the multiple readout memory cell transistors MT connected to the readout word line WL that has a threshold voltage lower than the readout voltage RL1 reads out a "1" bit of data. Conversely, during RL1 readout, each of the multiple readout memory cell transistors MT that has a threshold voltage higher than the readout voltage RL1 reads out a "0" bit of data.
[0115] During RL2 readout, a readout voltage RL2, which is higher than the readout voltage RL1, is applied to the readout target word line WL. Therefore, during RL2 readout, each of the multiple readout target memory cell transistors MT that has a threshold voltage lower than the readout voltage RL2 reads out a "1" bit of data. Conversely, during RL2 readout, each of the multiple readout target memory cell transistors MT that has a threshold voltage higher than the readout voltage RL2 reads out a "0" bit of data.
[0116] Therefore, for each memory cell transistor MT having a threshold voltage encompassed by the voltage range indicated by the slashes, RL1 reads a "0" bit of data, and RL2 reads a "1" bit of data. Thus, the results read by RL1 and RL2 are inconsistent. Therefore, by performing an XOR operation on the results read by RL1 and RL2 and counting the number of memory cell transistors MT whose XOR result is "1", the number of memory cell transistors MT having a threshold voltage encompassed by the voltage range between RL1 and RL2 can be determined.
[0117] Furthermore, based on histogram information representing the number of memory cell transistors MTs containing threshold voltages within the voltage range between RL1 and RL2, multiple appropriate shift amounts corresponding to multiple readout voltages used to read readout page data from multiple readout memory cell transistors MTs are determined.
[0118] Next, the structure of the voltage adjustment unit 30 will be explained. Figure 8 This is a block diagram illustrating an example of the configuration of the voltage adjustment unit 30 included in the non-volatile storage device 4 according to the first embodiment.
[0119] like Figure 8 As shown, the voltage adjustment unit 30 includes, for example, an arithmetic circuit 31, a counter 32, a table selection unit 33, a table holding register 34, and a table number holding register 35.
[0120] The arithmetic circuit 31 is a circuit capable of performing an XOR operation on the data received from the data register 28. Specifically, the arithmetic circuit 31 receives the results of the RL1 readout operation and the RL2 readout operation from the data register 28. Furthermore, the arithmetic circuit 31 performs an XOR operation on the results of the RL1 readout operation and the RL2 readout operation. At this time, the arithmetic circuit 31 performs an XOR operation on the data determined by the same sense amplifier unit SAU.
[0121] Counter 32 receives the result of the XOR operation from the arithmetic circuit 31. Furthermore, counter 32 counts the number of "1" bits contained in the received XOR operation result. Finally, counter 32 outputs the count value, representing the number of "1" bits contained in the XOR operation result, to the table selection unit 33.
[0122] The table selection unit 33 uses the count value received from the counter 32 and the lookup table 342 to select the index number of the shift value table 341. Furthermore, the table selection unit 33 writes the selected index number to the table number holding register 35.
[0123] The table holding register 34 stores the shift value table 341 and the lookup table 342. The shift value table 341 stores information related to the shift amount of the read voltage, each with multiple index numbers. The lookup table 342 stores information that associates the index numbers of the shift value table 341 with the counting results of the counter 32.
[0124] Table number holding register 35 stores the index number of the shift value table 341 selected by table selection unit 33. Table number holding register 35 can manage index numbers in predetermined groups. For example, table number holding register 35 can be configured to have the same index number for each BLK block, or it can be configured to have the same index number for each word line WL.
[0125] Figure 9 This is a diagram illustrating an example of the lookup table 342 provided in the non-volatile storage device 4 according to the first embodiment. Figure 9 The diagram illustrates the correspondence between the count value NC obtained by counter 32 and the table number NTBL in shift value table 341. The count value NC represents the value of one of the multiple read-object memory cell transistors MT that belongs to... Figure 7 The slanted lines indicate the threshold voltage of the storage cell transistor MT in the region.
[0126] The table number NTBL associated with the size of the count value NC is shown below, for example.
[0127] Size of count value NC: Table number NTBL
[0128] NC<28:0
[0129] 28≤NC<66:1
[0130] 66≤NC<104:2
[0131] 104≤NC<142:3
[0132] 142≤NC<180:4
[0133] 180≤NC<218:5
[0134] 218≤NC:6
[0135] By using the lookup table 342 as described above, the table selection unit 33 can select the table number NTBL corresponding to the count value NC.
[0136] Next, the shift value table 341 will be explained. Figure 10 This is a diagram illustrating an example of the shift value table 341 provided by the non-volatile storage device according to the first embodiment.
[0137] exist Figure 10 The diagram illustrates the correspondence between the table number NTBL corresponding to the index value of shift value table 341 and the shift amount (DAC (Digital Analog Converter) value) of the read voltage for each page. In this example, the case where a common table number NTBL is used in the low-page data, middle-page data, high-page data, and top-page data is shown.
[0138] For example, the shift amounts of the read voltages R5, R11, and R14 used for reading low-page data are shown below.
[0139] Table number NTBL: Shift amount of read voltages R5, R11, and R14 respectively
[0140] 1:0, -4, -7
[0141] 2: -2, -6, -10
[0142] 3: -3, -8, -12
[0143] 4: -4, -10, -15
[0144] 5: -5, -12, -17
[0145] 6: -6, -14, -20
[0146] The shift amounts of the readout voltages R4, R6, R9, and R15 used for reading middle page data are shown below.
[0147] Table number NTBL: Shift amount of read voltages R4, R6, R9, and R15 respectively.
[0148] 1: -1, -2, -4, -9
[0149] 2: -2, -3, -5, -12
[0150] 3: -3, -5, -7, -15
[0151] 4: -4, -6, -9, -18
[0152] 5: -5, -7, -11, -21
[0153] 6: -6, -9, -12, -24
[0154] For example, the shift amounts of the read voltages R2, R8, R10, and R12 used for reading high-page data are shown below.
[0155] Table number NTBL: Shift amount of each of the read voltages R2, R8, R10, and R12.
[0156] 1:0, -3, -5, -6
[0157] 2:0, -4, -7, -8
[0158] 3:0, -6, -9, -10
[0159] 4: -1, -8, -11, -13
[0160] 5: -1, -9, -13, -15
[0161] 6: -2, -11, -14, -17
[0162] The shift amounts of the readout voltages R1, R3, R7, and R13 used for reading the top page data are shown below as an example.
[0163] Table number NTBL: Shift amount of each of the read voltages R1, R3, R7, and R13.
[0164] 1: -5, 0, -3, -4
[0165] 2: -5, -1, -4, -7
[0166] 3: -5, -2, -5, -9
[0167] 4: -6, -3, -7, -11
[0168] 5: -6, -4, -8, -14
[0169] 6: -6, -5, -9, -16
[0170] By using the shift value table 341 described above, the table selection unit 33 can obtain the appropriate shift amount for each readout voltage required for reading data from the target page (top page, high page, middle page, or low page). Furthermore, in the shift value table 341, the shift amount for each readout voltage may not be a DAC value, but rather represented by a voltage value.
[0171] Next, the self-adjusting readout action corresponding to fine-grained search will be explained. Figure 11 The diagram illustrates an example of the following action: a self-adjusting read operation performed in the non-volatile storage device 4 according to the first embodiment in response to the receipt of a self-adjusting read command specifying a fine search.
[0172] exist Figure 11 In the diagram, the vertical axis “NMTs” represents the number of memory cell transistors MT. The horizontal axis “Vth” represents the threshold voltage of the memory cell transistor MT.
[0173] like Figure 11 As shown, in the self-adjusting readout operation, firstly, multiple shift readouts are performed using multiple voltages (multiple readout levels) set near the intersection of threshold voltage distributions between two adjacent states. Each shift readout is a readout operation specifying the shift amount of the voltage relative to the starting readout level. The number of shift readouts performed corresponds to the number of samples. In this example, the number of samples is, for example, 7. Furthermore, the location where the sampling operation (shift readout) is performed is represented as a sampling point. The shift amount is specified, for example, by the DAC value. In the multiple shift readouts of the self-adjusting readout operation, multiple voltages (multiple readout levels) set at equal intervals are used. The interval between adjacent readout levels corresponds to a sampling step size equivalent to the voltage amplitude between sampling operations.
[0174] Furthermore, in each sampling operation (shift readout), the number of memory cell transistors MT that are in the on-state (hereinafter referred to as the on-cell count) is counted, and the difference in the number of on-cells at two adjacent readout levels is calculated. Then, a histogram is generated based on the counted number of on-cells, and the point where the difference in the number of on-cells bulges downwards in the plot is extracted, i.e., the point where the difference in the number of on-cells is minimal (minimum detection). Afterward, the ratio of the two differences adjacent to the minimum point is calculated, and the voltage difference (potential difference) between the two readout levels adjacent to the minimum point is internally divided using the calculated ratio (internal division ratio processing). The voltage obtained from this is estimated to be the appropriate readout voltage. For example, the series of processes for the self-adjusting readout operation can be executed on-chip by the non-volatile memory device 4 without going through the memory controller 3.
[0175] The following describes a specific example of the self-adjusting readout action corresponding to fine-grained search.
[0176] In the self-adjusting readout operation corresponding to the fine search, the sequencer 24 searches for the voltage corresponding to the intersection (valley position) of overlapping threshold voltage distributions, that is, the voltage corresponding to the intersection point between two adjacent threshold voltage distributions, by finely changing the voltage applied to the readout target word line and measuring the number of conducting cells, as the appropriate readout voltage. Here, the number of conducting cells refers to the number of memory cell transistors MT among the multiple readout target memory cell transistors MT connected to the readout target word line that are turned on by applying a certain voltage to the readout target word line.
[0177] For example, when the page to be read is the top page, the sequencer 24 performs a self-adjusting read operation for the read voltages R1, R3, R7, and R13. This determines the shift amount applicable to read voltage R1, the shift amount applicable to read voltage R3, the shift amount applicable to read voltage R7, and the shift amount applicable to read voltage R13.
[0178] For example, in the self-adjusting readout operation for the readout voltage R1, multiple sampling operations are performed using multiple voltages near the intersection of the threshold voltage distribution set between the S0 state and the threshold voltage distribution of the S1 state. This searches for a voltage corresponding to the intersection of the threshold voltage distributions of the S0 state and the S1 state. The difference between this searched voltage and the current readout voltage R1 is determined as the shift amount for the readout voltage R1. That is, the sequencer 24 performs: a sampling operation that counts the number of conducting units while changing the readout voltage applied to the readout target word line among multiple voltages near the intersection of the threshold voltage distributions of the two adjacent states (S0 state and S1 state) distinguished by the readout voltage R1; and an operation that determines the shift amount of the first readout voltage based on the result of the sampling operation.
[0179] Furthermore, in the self-adjusting readout operation for the readout voltage R3, multiple sampling operations are performed using multiple voltages near the intersection of the threshold voltage distribution set between the S2 state and the threshold voltage distribution set between the S3 state. This searches for a voltage corresponding to the intersection of the threshold voltage distributions between the S2 and S3 states. The difference between this searched voltage and the current readout voltage R3 is determined as the shift amount for the readout voltage R3. That is, the sequencer 24 performs: a sampling operation that counts the number of conducting cells while changing the readout voltage applied to the word line of the readout target between multiple voltages near the intersection of the threshold voltage distributions between the two adjacent states (S2 state and S3 state) distinguished by the readout voltage R3; and an operation that determines the shift amount of the readout voltage R3 based on the result of the sampling operation.
[0180] Furthermore, in the self-adjusting readout operation for the readout voltage R7, multiple sampling operations are performed using multiple voltages set near the intersection of the threshold voltage distribution in state S6 and the threshold voltage distribution in state S7, thereby searching for the voltage corresponding to the intersection of the threshold voltage distribution in state S6 and the threshold voltage distribution in state S7. The difference between this searched voltage and the current readout voltage R7 is determined as the shift amount for the readout voltage R7. That is, the sequencer 24 performs: a sampling operation that counts the number of conducting cells while changing the readout voltage applied to the word line of the readout target between multiple voltages set near the intersection of the threshold voltage distributions of two adjacent states (state S6 and state S7) distinguished by the readout voltage R7; and an operation that determines the shift amount of the readout voltage R7 based on the result of the sampling operation.
[0181] Furthermore, in the self-adjusting readout operation for the readout voltage R13, multiple sampling operations are performed using multiple voltages set near the intersection of the threshold voltage distribution in state S12 and the threshold voltage distribution in state S13, thereby searching for the voltage corresponding to the intersection of the threshold voltage distribution in state S12 and the threshold voltage distribution in state S13. The difference between this searched voltage and the current readout voltage R13 is determined as the shift amount for the readout voltage R13. That is, the sequencer 24 performs: a sampling operation that counts the number of conducting cells while changing the readout voltage applied to the word line of the readout target between multiple voltages set near the intersection of the threshold voltage distributions of two adjacent states (state S12 and state S13) distinguished by the readout voltage R13; and an operation that determines the shift amount of the readout voltage R13 based on the result of the sampling operation.
[0182] Next, specific examples are given of the number of conduction units used to determine the appropriate shift amount and examples of the amount of change in the number of conduction units. Figure 12 This is a diagram used to illustrate the difference between the number of conducting cells corresponding to multiple voltages and the number of conducting cells corresponding to two adjacent voltages, calculated by the non-volatile storage device 4 according to the first embodiment.
[0183] Figure 12 (A) shows the threshold voltage distribution of state S0 and state S1 as an example of the threshold voltage distribution of two adjacent states in a plurality of memory cell transistors MT. Figure 12 (B) shows the change in the number of memory cells that are in the on state for a certain read voltage (number of on cells). Figure 12 (C) shows the change in the number of conducting elements.
[0184] like Figure 12As shown in (B), when the readout voltage applied to the word line to be read increases, the number of conducting cells increases rapidly at a voltage slightly smaller than S0mid, the central value of the threshold voltage distribution in state S0. When the readout voltage is further increased, the rate of increase in the number of conducting cells decreases, reaching a minimum at a certain value. This rate of increase at the readout voltage is zero when the threshold voltage distributions in state S0 and S1 do not overlap. On the other hand, when they overlap, it reaches a certain non-zero minimum value (>0). Furthermore, when the readout voltage is further increased, the rate of increase in the number of conducting cells increases again, reaching a maximum again at a voltage slightly smaller than S1mid, the central value of the threshold voltage distribution in state S1.
[0185] Based on the aforementioned change in the number of active cells, the position of the read voltage corresponding to the valley position between two adjacent states, i.e., the intersection of the threshold voltage distributions of two adjacent states, can be detected. For example, firstly, a first sampling operation is performed by applying voltage V1 as the read voltage to the target word line. The number of active cells at this time, i.e., the number of active cells corresponding to voltage V1, is M1. Next, a second sampling operation is performed by applying voltage V2, which is ΔV greater than voltage V1, as the read voltage to the target word line. The number of active cells at this time, i.e., the number of active cells corresponding to voltage V2, is M2. Next, a third sampling operation is performed by applying voltage V3, which is ΔV greater than voltage V2, as the read voltage to the target word line. The number of active cells at this time, i.e., the number of active cells corresponding to voltage V3, is M3. Finally, a fourth sampling operation is performed by applying voltage V4, which is ΔV greater than voltage V3, as the read voltage to the target word line. The number of conducting cells at this point, that is, the number of conducting cells corresponding to voltage V4, is M4. Thus, four sampling operations are performed to count the number of conducting cells when the voltage (V1, V2, V3, or V4) corresponding to each sampling point is applied to the read-out word line. Furthermore, this explanation uses the case of four sampling operations as an example, but the number of sampling operations is not limited to this example; any other number of sampling operations can be used.
[0186] Furthermore, based on the number of conducting units M1, M2, M3, and M4, such as Figure 12 As shown in (C), a histogram representing the change in the number of conducting units is generated. Specifically, as... Figure 12As shown in (C), firstly, the difference (M2-M1) obtained by subtracting the number of conducting cells M1 from the number of conducting cells M2 is calculated, which is taken as the number of memory cell transistors MT having a threshold voltage that is higher than voltage V1 and lower than voltage V2. Next, the difference (M3-M2) obtained by subtracting the number of conducting cells M2 from the number of conducting cells M3 is calculated, which is taken as the number of memory cell transistors MT having a threshold voltage that is higher than voltage V2 and lower than voltage V3. Further, the difference (M4-M3) obtained by subtracting the number of conducting cells M3 from the number of conducting cells M4 is calculated, which is taken as the number of memory cell transistors MT having a threshold voltage that is higher than voltage V3 and lower than voltage V4.
[0187] Furthermore, since the difference (M3-M2) is a minimum, the appropriate shift amount is determined by using the voltage between voltage V2 and voltage V3 as the appropriate readout voltage.
[0188] Furthermore, when a two-stage search is specified by a self-adjusting read command received from the memory controller 3, the sequencer 24 first performs a fast search to determine the shift amount (temporary shift amount) for each of the multiple read voltages. Next, the sequencer 24 determines multiple voltages corresponding to each of the multiple read voltages based on the voltages obtained by shifting each of the multiple read voltages by its corresponding temporary shift amount. For example, if an appropriate shift amount Δ1 corresponding to the read voltage R1 is determined by the fast search, multiple voltages near R1+Δ1 can be determined as read voltage candidates; for example, multiple voltages centered around R1+Δ1 can be determined as read voltage candidates. And, these read voltage candidates are used to perform... Figure 11 or Figure 12 The detailed search described earlier.
[0189] In this fine-grained search, sequencer 24 selects the read voltage for the target page from multiple read voltages required to read the data corresponding to the target page. Sequencer 24 performs multiple sampling operations while varying the voltage applied to the target word line WL among multiple voltages set near the selected read voltage. This sampling operation involves applying a voltage to the target word line WL to count the number of active memory cells—the number of active memory cells among the multiple target memory cell transistors MT connected to the target word line WL. Sequencer 24 then determines the shift amount of the selected read voltage based on the results of these multiple sampling operations (specifically, based on histogram information representing the change in the number of active cells). This processing is performed for all of the multiple read voltages required to read the data corresponding to the target page.
[0190] As explained above, in the self-adjusting readout operation, the appropriate shift amount of each of the multiple readout voltages used in reading the data of the readout target page is determined based on histogram information representing the number of memory cell transistors MT that have a threshold voltage within a certain voltage range belonging to a specific state such as S15, or the results of multiple sampling operations (histogram information representing the amount of change in the number of conducting cells).
[0191] In addition, Figure 12 The text describes a scenario where the number of conducting units M1 to M4 is counted by performing four samplings using four voltages V1 to V4 for each readout voltage, generating three histograms (M2-M1), (M3-M2), and (M4-M3) representing the difference between the number of conducting units corresponding to two adjacent voltages. However, it is possible to perform five samplings for each readout voltage to count the number of conducting units at each of the five sampling points, generating four histograms representing the difference between the number of conducting units corresponding to two adjacent voltages, and so on, with any number of samplings.
[0192] Typically, in non-volatile memory devices such as NAND flash memory, there are strict limitations on the size of the circuitry that can be used for logic circuits. Therefore, in non-volatile memory devices that perform self-adjusting read operations, the result of the self-adjusting read operation, i.e., the determined appropriate shift amount, is held in the data latch circuitry, etc., within the non-volatile memory device. However, the internal data of the non-volatile memory device used to determine the appropriate shift amount (i.e., intermediate data such as histogram information generated within the non-volatile memory device during the execution of the self-adjusting read operation) will be lost.
[0193] Therefore, it is difficult to parse intermediate data such as histogram information. In addition, even if the memory controller 3 wants to calculate the appropriate read voltage using a more advanced algorithm, the memory controller 3 cannot use the histogram information generated by the non-volatile memory device.
[0194] Therefore, the non-volatile memory device 4 is configured to output internal data of the non-volatile memory device 4, which is used to determine the shift amount of each of the multiple read voltages used in reading the data of the read target page, to an external device (memory controller 3). In the first embodiment, the internal data is: histogram information representing the number of memory cell transistors MT having a threshold voltage within a certain voltage range included in a specific state such as state S15, or histogram information representing the difference between the number of conducting cells corresponding to two adjacent voltages (e.g., Figure 12The differences (M2-M1), (M3-M2), and (M4-M3) described earlier can be used instead of outputting the histogram information representing the differences between the number of conducting units (i.e., (M2-M1), (M3-M2), (M4-M3)) to the memory controller 3, and instead outputting the histogram information representing the number of conducting units corresponding to each of the multiple voltages (e.g., ...). Figure 12 As explained in the previous section, M1, M2, M3, and M4 are output to the memory controller 3. This is because the memory controller 3 can calculate (M2-M1), (M3-M2), and (M4-M3) from the number of conducting units M1 to M4 as needed.
[0195] In other words, when performing a fine search, the internal data output to the memory controller 3 includes multiple histogram information corresponding to multiple readout voltages required to read the data of the target page.
[0196] The histogram information corresponding to each readout voltage includes (1) the number of multiple conducting units obtained through multiple sampling actions (e.g., M1, M2, M3, M4), or includes (2) multiple differences (e.g., (M2-M1), (M3-M2), (M4-M3)). These multiple differences are obtained by calculating the difference between the number of conducting units for every two consecutive sampling actions in the multiple sampling actions.
[0197] When reading the data corresponding to the read-object page (read-object data) from the data of multiple pages stored in multiple read-object memory cell transistors MT, the sequencer 24 of the non-volatile memory device 4 first determines the shift amount of each of the multiple read voltages used in reading the read-object data. Next, the sequencer 24 stores the internal data (histogram information) of the non-volatile memory device 4 used to determine the shift amounts of the multiple read voltages in a first part of a data latch circuit (e.g., ADL). The first part of the data latch circuit (e.g., ADL) is a portion of the memory area contained in the ADL that is not used for storing the read-object data. The sequencer 24 reads the read-object data from the multiple read-object memory cell transistors MT by applying multiple read voltages, each shifted according to the determined shift amount, to the read-object word line. The sequencer 24 stores the read-object data in a second part of the data latch circuit (e.g., ADL), which is different from the first part. Furthermore, the sequencer 24 outputs the bidirectional memory controller 3 containing the read-out object data and the internal data stored in the data latch circuit (e.g., ADL).
[0198] Through the above actions, it is possible to avoid preparing a dedicated storage area in the non-volatile storage device 4 for holding internal data (histogram information) used to adjust the read voltage, and instead hold the internal data (histogram information) in a part of the data latch circuit and output the internal data (histogram information) to the memory controller 3.
[0199] As part of the data latch circuit that stores internal data (histogram information), the first part can utilize a portion of the redundant area contained in the data latch circuit, as described below.
[0200] That is, in the non-volatile memory device 4, as a countermeasure against bad storage locations (bad columns), a group of columns larger than the number of columns (bytes) required to write one page of data to the non-volatile memory device 4 is installed as a redundant column region in each cell group CU of the memory cell array 20. If a bad column occurs during the manufacturing process of the non-volatile memory device 4 or after the non-volatile memory device 4 leaves the factory, the bad column is replaced by a portion of the redundant column region. Thus, the redundant column region is a redundant region used for the replacement of each bad column. In other words, the storage area of one page of multiple memory cell transistors MT contained in each cell group CU includes: a data area for storing user data of one page size (e.g., about 16KB) and a redundant column region (tens to hundreds of bytes) used for the replacement of bad columns in the data area.
[0201] For example, if a 2-byte defective column is generated in the data area of a certain unit group (CU), the 2-byte defective column in the data area is replaced by a 2-byte region starting from the beginning of the redundant column region of that unit group (CU). That is, the 2-byte region starting from the beginning of the redundant column region of that unit group (CU) is used to replace the 2-byte defective column in the data area.
[0202] In at least a portion of the data latch circuits such as ADL~DDL, SDL, and XDL, redundant column regions corresponding to the redundant column regions of each cell group (CU) of the memory cell array 20 are also installed. In these data latch circuits, the redundant column regions within the data latch circuit can be utilized in the replacement of faulty columns within the data latch circuit. That is, the data latch circuit also includes a data area for storing user data of a size equivalent to one page (e.g., approximately 16KB) and redundant column regions (tens to hundreds of bytes) used in the replacement of faulty columns within the data area.
[0203] Typically, the entire redundant column area is not used for any given cell group (CU). Furthermore, defective columns occur almost exclusively within the memory cell array 20, and almost never within the individual data latch circuits.
[0204] Thus, since the entire redundant column area within a cell group (CU) is not typically used, in the non-volatile storage device 4, temperature information (or status information at the time of writing) is sometimes written to a portion of the redundant column area within the cell group (CU) (e.g., the final storage location (final column) of the redundant column area). Here, the temperature information at the time of writing is the temperature information obtained from the temperature sensor 31 when user data is written to a certain cell group (CU). The user data is written to the data area of that cell group (CU), and the temperature information obtained from the temperature sensor 31 is written to the final column of the redundant column area of that cell group (CU).
[0205] Data such as temperature information written to the redundant column area can be effectively utilized when analyzing the operating environment when data is written to the non-volatile storage device 4. However, data such as temperature information written to the redundant column area is not used in normal read operations performed to read user data from the non-volatile storage device 4. That is, information such as ECC and firmware information written by the memory controller 3 along with user data is used by the memory controller 3 in normal read operations, but information written by the non-volatile storage device 4 itself, such as temperature information at the time of writing, is not used by the memory controller 3 in normal read operations.
[0206] Therefore, if the information is useful during the read operation, it can be stored in the redundant column area of the data latch circuit, such as the final column. For example, in the case of a self-adjusting read operation, histogram information used to determine the appropriate shift amount in the self-adjusting read operation can be stored in the redundant column area of the data latch circuit, such as the final column. In this case, user data read from the data area of the read target unit group CU using multiple appropriate read voltages is stored in the data area of the data latch circuit. Temperature information during writing read from the redundant column area of the read target unit group CU can be discarded instead of being stored in the final column of the redundant column area of the data latch circuit.
[0207] Figure 13 This is a block diagram illustrating an example of the configuration of the data latch circuit and the memory cell array 20 included in the non-volatile memory device 4 according to the first embodiment. Hereinafter, the case where the data latch circuit is ADL will be used as an example for explanation, but the data latch circuit is not limited to ADL and may also be XDL, SDL, or BDL to DDL.
[0208] Each of the multiple blocks BLK includes, for example, multiple cell groups CU0 to CU127 connected to multiple word lines WL0 to WL127 respectively. The storage area of the multiple memory cell transistors MT contained in each cell group CU0 to CU127 includes a data area for storing user data of a size of one page, an error correction code (ECC) area for storing the error correction code (ECC) corresponding to the user data, and a redundant column area used for replacing bad storage locations in the data area and replacing bad storage locations in the error correction code (ECC) area.
[0209] The data area is approximately 16KB, the ECC area is approximately 2KB, and the redundant column area is tens to hundreds of bytes.
[0210] The data latch circuit, like the unit groups CU0 to CU127, includes a data area of approximately 16K bytes, an error correction code (ECC) area of approximately 2K bytes, and a redundant column area of tens to hundreds of bytes.
[0211] Next, examples of the utilization patterns of the redundant column regions contained in the unit group (CU) and the data latch circuit will be explained.
[0212] Figure 14 This diagram illustrates the action of writing temperature information to the final column of the redundant column region of the write target cell group CU, which is performed in the non-volatile storage device 4 according to the first embodiment during the write operation.
[0213] The sequencer 24 stores the data transmitted from the memory controller 3 (i.e., user data D1 of approximately 16KB size and error correction code ECC1 corresponding to user data D1 of approximately 2KB size) in the data latch circuit. User data D1 and error correction code ECC1 are stored in the data area and ECC area of the data latch circuit, respectively. The sequencer 24 obtains temperature information (Temp Code (W)) from the temperature sensor 31 and stores the Temp Code (W) in the final column of the redundant column area of the data latch circuit. The Temp Code (W) is temperature information detected by the temperature sensor 31, indicating the temperature at which user data D1 was written. Furthermore, the sequencer 24 writes data of size 18KB + α (i.e., user data D1, error correction code ECC1, and Temp Code (W)) to the multiple memory cell transistors MT contained in the write target unit group CU. User data D1 is written to the data area of the memory area of the multiple memory cell transistors MT contained in the write target unit group CU, which is one page in size. Additionally, the error correction code ECC1 is written to the ECC area in the storage area of this 1-page quantity. Furthermore, the Temp Code (W) is written to the final column of the redundant column area in the storage area of this 1-page quantity.
[0214] Figure 15 This is a diagram showing the operation performed in the non-volatile storage device 4 according to the first embodiment during the read operation, where the final column of the redundant column area of the data latch circuit stores histogram information used to determine the shift amount of each of the multiple read voltages used to read the data of the target page.
[0215] The sequencer 24 determines the appropriate shift amount for each of the multiple read voltages used to read data from multiple read object memory cell transistors MT by performing a fast search, a fine search, or a two-stage search. Next, the sequencer 24 stores the histogram information used in determining the appropriate shift amount in the redundant column area of the data latch circuit.
[0216] When the appropriate shift amount for each of the multiple readout voltages is determined solely by a fast search, for example, only one 8-bit histogram information is stored in the final column of the redundant column region of the data latch circuit. This single histogram information, for example, represents... Figure 7 The area indicated by the diagonal line contains the number of memory cell transistors MT.
[0217] Furthermore, since the appropriate shift amount for each of the multiple readout voltages is determined solely through a fine search, multiple 8-bit histogram information is stored in the redundant column region of the data latch circuit. For example... Figure 12As explained, for example, sampling is performed 4 (or 5) times for each readout voltage, the number of on-cells is counted for each sampling, and 3 (or 4) histograms representing the difference between the number of on-cells corresponding to two adjacent voltages are generated. These generated histograms are stored in the redundant column area of the data latch circuit. Furthermore, as described above, the number of on-cells itself can also be output to the memory controller 3 as histogram information for determining the appropriate shift amount.
[0218] In this way, the histogram information stored in the redundant column region of the data latch circuit can be Figure 12 The number of conducting units such as M1, M2, M3, and M4 as described in (B) can also be... Figure 12 The difference between the number of conducting units as described in (C), such as (M2-M1), (M3-M2), and (M4-M3). In other words, the histogram information used to determine the appropriate shift amount of each of the multiple read voltages used to read the data of the read target page can be (1). Figure 12 The histogram information described above, which represents the number of conducting units corresponding to multiple voltages such as V1, V2, V3, and V4, can also be (2) a histogram information representing the difference between the number of conducting units corresponding to each of the two adjacent voltages.
[0219] For example, when using the number of conduction units as histogram information, the number of histogram information stored in the redundant column region of the data latch circuit is represented by the product of the number of read voltages used to read the target page and the number of samples. For example, in a QLC-flash memory device using 3-4-4-4 encoding, when reading the top page data, the number of read voltages used to read the target page is 4. Therefore, with 4 samples, the number of histogram information stored is 16 (= 4 read levels × 4 sampling operations). These 16 histogram information are stored, for example, in the 16 storage locations included in the redundant column region of the data latch circuit, including the final storage location (final column).
[0220] In addition, if the appropriate shift amount is determined by a two-stage search, the number of histogram information stored is, for example, 17 (= 1 histogram information representing the number of memory cell transistors MT counted by the fast search + 16 histogram information (= 4 readout levels × 4 sampling actions)).
[0221] Next, sequencer 24 reads data (here, user data D1, error correction code ECC1, and Temp Code (W)) from multiple read object storage cell transistors MT included in the read object cell group CU by sequentially applying multiple read voltages, each shifted by a determined shift amount, to the read object word line WL. Sequencer 24 stores the read user data D1 in the data area of the data latch circuit and the read error correction code ECC1 in the ECC area of the data latch circuit. Additionally, sequencer 24 can disable writing to each storage location in the redundant column area storing histogram information, so that the histogram information stored in the redundant column area of the data latch circuit is not overwritten by the read Temp Code (W). In this case, the read Temp Code (W) is discarded and not stored in the redundant column area of the data latch circuit.
[0222] Subsequently, the sequencer 24 executes a data output action to output the data stored in the data latch circuit (i.e., user data D1, error correction code ECC1, and histogram information) to the memory controller 3 based on the data output commands received from the memory controller 3.
[0223] Through the above actions, it is possible to output both user data D1 and histogram information to memory controller 3 without preparing a dedicated storage area for storing histogram information in non-volatile storage device 4.
[0224] In addition, Figure 15 The example given is the case where histogram information is stored in the final storage location (final column) of the redundant column area of the data latch circuit. However, if... Figure 16 As shown, histogram information can also be stored in the storage location preceding the final storage location of the redundant column area. Therefore, user data D1, histogram information, and Temp Code (W) can be output to memory controller 3.
[0225] In addition, Figure 15 The following scenario is described: First, the histogram information is stored in the redundant column area of the data latch circuit. Next, the user data D1 and error correction code ECC1 read from the multiple read object memory cell transistors MT are written to the data area and ECC area of the data latch circuit, and the Temp Code (W) read from the multiple read object memory cell transistors MT is discarded. Alternatively, the user data D1, error correction code ECC1, and Temp Code (W) read from the multiple read object memory cell transistors MT are initially stored in the data area, ECC area, and the final column of the redundant column area of the data latch circuit, respectively. Then, the histogram information is overwritten to the redundant column area of the data latch circuit.
[0226] In addition, the action of outputting histogram information from the data latch circuit to the memory controller 3 can be performed using a dedicated command for reading the contents of the redundant area of the data latch circuit.
[0227] Next, the typical read command sequence will be explained. Figure 17 This diagram illustrates an example of a typical read command sequence executed in the non-volatile storage device 4 according to the first embodiment. A typical read command sequence is a sequence in which neither the self-adjusting read operation nor the read of histogram information is executed.
[0228] like Figure 17 As shown, firstly, the memory controller 3 sends a page assignment command, a "00h" command, an address ADD input, and a "30h" command to the non-volatile memory device 4 via the input / output signal lines I / O0~I / O7.
[0229] The page assignment command is a command that specifies the page to be read. For example, in QLC-flash storage devices, the page assignment command is set to any one of the following: specifying the low page "01h", specifying the middle page "02h", specifying the high page "03h", and specifying the top page "04h".
[0230] The "00h" command is a read command that instructs the non-volatile storage device 4 to perform a read operation to read data from the memory cell array 20 to the data latch circuit. The address ADD input is a 5-cycle amount of address ADD input for inputting column and row addresses (block and page addresses) from the memory controller 3 to the non-volatile storage device 4. The "30h" command is a command that instructs the non-volatile storage device 4 to begin a read operation.
[0231] In response to receiving subsequent page assignment commands, "00h" commands, and "30h" commands for address ADD input from the memory controller 3, the sequencer 24 of the non-volatile memory device 4 changes the signal level of the ready / busy signal RBn from "H" level to "L" level. Furthermore, the sequencer 24 reads the data of the read-object page from multiple read-object memory cell transistors MT connected to the read-object word line WL by sequentially applying multiple read voltages used in reading the data of the read-object page to the read-object word line WL. The read data is stored in a data latch circuit. When the read operation of reading the data of the read-object page (e.g., user data + ECC) from the multiple read-object memory cell transistors MT is completed, the sequencer 24 changes the signal level of the ready / busy signal RBn from "L" level to "H" level.
[0232] When the ready / busy signal RBn changes from the "L" level to the "H" level, the memory controller 3 sends the "05h" command, the address ADD input, and the "E0h" command to the non-volatile memory device 4 via the input / output signal lines I / O0~I / O7.
[0233] The “05h” command is a command to instruct the non-volatile storage device 4 to read data from the data latch circuit. The address ADD input, for example, contains the same address value as the address ADD input in the previously described command set (page specification command, “00h” command, address ADD input, and “30h” command). The “E0h” command is a command to instruct the non-volatile storage device 4 to begin reading data from the data latch circuit.
[0234] In response to receiving the "05h" command and the "E0h" command from the address ADD input after the "05h" command from the memory controller 3, the sequencer 24 of the non-volatile memory device 4 changes the signal level of the ready / busy signal RBn from "H" level to "L" level. Furthermore, the sequencer 24 outputs the data (user data + ECC: R-data) read from the multiple read-object memory cell transistors MT from the data latch circuit to the memory controller 3.
[0235] Reading data from the memory cell array 20 and reading data from the data latch circuit can be performed repeatedly by changing the address as needed.
[0236] That is, in the usual read command sequence, the following steps (1-1) to (1-3) are performed sequentially.
[0237] (1-1) Reading data from the memory cell array 20 to the data latch circuit
[0238] - Page specifies the command (01h~03h)
[0239] -00h command
[0240] - Address input (5 cycles)
[0241] -30h command
[0242] (1-2) Reading data from the data latch circuit
[0243] -05h command
[0244] - Address input (5 cycles)
[0245] -E0h command
[0246] - Data output (maximum 18KB data (= 16KB user data + 2KB ECC parity check bits))
[0247] Later, as needed, change the address to execute (1-1) and (1-2).
[0248] (1-3) Read out the end of the action.
[0249] -3Fh command
[0250] Next, the sequence of read commands that performs self-adjusting reads and does not output histogram information to memory controller 3 will be described. Figure 18 This diagram illustrates an example of a read command sequence for self-adjusting reads executed in the non-volatile storage device 4 according to the first embodiment.
[0251] like Figure 18 As shown, firstly, the memory controller 3 sends, via the input / output signal lines I / O0 to I / O7, a prefix command, a page assignment command, a "00h" command, an address ADD input, and a "30h" command, representing any one of "C4h" to "C6h", to the non-volatile memory device 4.
[0252] exist Figure 18 In the text, the prefix command “C4h” is shown as an example of a prefix command that represents any one of “C4h” to “C6h”. The prefix commands “C4h”, “C5h”, or “C6h” are used as self-adjusting read commands that instruct the non-volatile storage device 4 to perform a self-adjusting read operation.
[0253] Here, "C4h" is an auto-tuning read command that indicates only a fast search. "C5h" is an auto-tuning read command that indicates only a fine search. "C6h" is an auto-tuning read command that indicates a two-stage search including both a fast search and a fine search. Page specifying commands, the "00h" command, address ADD input, and the "30h" command are also mentioned. Figure 17 The page specification command, the "00h" command, the address ADD input, and the "30h" command described earlier are the same.
[0254] In response to receiving subsequent self-adjusting read commands, page assignment commands, "00h" commands, and "30h" commands from address ADD inputs from the memory controller 3, the sequencer 24 of the non-volatile memory device 4 changes the signal level of the ready / busy signal RBn from "H" level to "L" level. Next, the sequencer 24 determines the appropriate shift amount for each of the multiple read voltages used to read the data of the read target page by performing a fast search, fine search, or two-stage search on the multiple read target memory cell transistors MT. Then, the sequencer 24 reads the data of the read target page from the multiple read target memory cell transistors MT connected to the read target word line WL by sequentially applying the multiple read voltages, each shifted according to the determined shift amount. The read data is stored in a data latch circuit. When the read operation of reading data from the read object page from multiple read object memory cell transistors MT is completed, the sequencer 24 changes the signal level of the ready / busy signal RBn from the "L" level to the "H" level.
[0255] When the ready / busy signal RBn changes from the "L" level to the "H" level, the memory controller 3 sends the "05h" command, the address ADD input, and the "E0h" command to the non-volatile memory device 4 via the input / output signal lines I / O0~I / O7.
[0256] The "05h" command, address ADD input, and the "E0h" command are related to... Figure 17 The "05h" command, address ADD input, and "E0h" command described earlier are the same.
[0257] In response to receiving the "05h" command and the "E0h" command from the address ADD input after the "05h" command from the memory controller 3, the sequencer 24 of the non-volatile memory device 4 changes the signal level of the ready / busy signal RBn from "H" level to "L" level. Furthermore, the sequencer 24 outputs the data (user data + ECC: R-data) read from the multiple read-object memory cell transistors MT from the data latch circuit to the memory controller 3.
[0258] The reading of data from the memory cell array 20 and the reading of data from the data latch circuit can be performed repeatedly by changing the address as needed.
[0259] That is, in the read command sequence that performs self-adjusting read and does not output histogram information to memory controller 3, the following (0-1), (1-1) to (1-3) are performed in sequence.
[0260] (0-1) The execution of the self-adjusting readout action is indicated by the prefix command (C4h, C5h, or C6h).
[0261] -Prefix commands (C4h, C5h, or C6h)
[0262] C4h: Performs only a fast search
[0263] C5h: Perform only a fine search
[0264] C6h: Perform a two-stage search
[0265] (1-1) Reading data from the memory cell array 20 to the data latch circuit
[0266] - Page specifies the command (01h~03h)
[0267] -00h command
[0268] - Address input (5 cycles)
[0269] -30h command
[0270] (1-2) Reading data from the data latch circuit
[0271] -05h command
[0272] - Address input (5 cycles)
[0273] -E0h command
[0274] - Data output (maximum 18KB data (= 16KB user data + 2KB ECC parity check bits))
[0275] Later, as needed, change the address to execute (1-1) and (1-2).
[0276] (1-3) Read out the end of the action.
[0277] -3Fh command
[0278] Next, the read command sequence that performs self-adjusting read and outputs histogram information to memory controller 3 will be explained. Figure 19 This is a diagram illustrating an example of a read command sequence executed in the non-volatile storage device 4 according to the first embodiment, which performs self-adjusting reads and is used to output histogram information for determining the shift amount of each of the multiple read voltages used in reading data in the target page.
[0279] like Figure 19 As shown, firstly, the memory controller 3 sends a prefix command, for example, representing any one of "C4h" to "C6h", to the non-volatile memory device 4 via the input / output signal lines I / O0 to I / O7. Figure 19 In the middle, it represents the prefix command "C4h", indicating one or two prefix commands that store histogram information in the data latch circuit. Figure 19 In the command, there are two prefix commands: “C8h” and “C9h”, page specification command, “00h” command, address ADD input, and “30h” command.
[0280] The prefix commands “C4h”~“C6h” and Figure 18 The prefix commands “C4h” to “C6h” described in the command sequence are the same. The “C8h” command is a histogram information saving command that instructs the storage of histogram information generated by the fast search in the data latch circuit. The “C9h” command is a histogram information saving command that instructs the storage of histogram information generated by the fine search in the data latch circuit. When using the prefix command “C6h” to specify a two-stage search mode, both the fast search and fine search are performed. Therefore, it is possible to output the histogram information generated by the fast search to the memory controller 3, or the histogram information generated by the fine search to the memory controller 3, or both the histogram information generated by the fast search and the histogram information generated by the fine search to the memory controller 3.
[0281] Page specification commands, the "00h" command, address ADD input, and the "30h" command are related to... Figure 17 The page specification command, the "00h" command, the address ADD input, and the "30h" command described earlier are the same.
[0282] In response to receiving subsequent commands from the memory controller 3, including self-adjusting read commands, histogram information save commands, page assignment commands, "00h" commands, and "30h" commands for address ADD input, the sequencer 24 of the non-volatile memory device 4 changes the signal level of the ready / busy signal RBn from "H" level to "L" level. Next, the sequencer 24 determines the appropriate shift amount for each of the multiple read voltages used to read the data of the read target page by performing a fast search, fine search, or two-stage search on multiple read target memory cell transistors MT. Next, the sequencer 24 stores the histogram information used to determine the appropriate shift amounts for each of the multiple read voltages in the redundant column area of the data latch circuit. Furthermore, the sequencer 24 reads the data of the read target page from the multiple read target memory cell transistors MT connected to the read target word line WL by sequentially applying multiple read voltages shifted according to the determined shift amounts to the read target word line WL. The read data (such as user data and ECC) is stored in the data area and ECC area of the data latch circuit, respectively. When the read operation of reading data from multiple read object memory cell transistors MT is completed, the sequencer 24 changes the signal level of the ready / busy signal RBn from "L" level to "H" level.
[0283] When the ready / busy signal RBn changes from the "L" level to the "H" level, the memory controller 3 sends the "05h" command, the address ADD input, and the "E0h" command to the non-volatile memory device 4 via the input / output signal lines I / O0~I / O7.
[0284] The "05h" command, address ADD input, and the "E0h" command are related to... Figure 17 The "05h" command, address ADD input, and "E0h" command described earlier are the same.
[0285] In response to receiving the "05h" command and the "E0h" command from the address ADD input after the "05h" command from the memory controller 3, the sequencer 24 of the non-volatile memory device 4 changes the signal level of the ready / busy signal RBn from "H" level to "L" level. Furthermore, the sequencer 24 outputs the data (user data + ECC: R-data) read from the multiple read-object memory cell transistors MT from the data latch circuit to the memory controller 3. Upon completion of the data output operation of R-data to the memory controller 3, the sequencer 24 changes the signal level of the ready / busy signal RBn from "L" level to "H" level.
[0286] When the ready / busy signal RBn changes from the "L" level to the "H" level, the memory controller 3 sends the "0Fh" command, the address ADD input, and the "E0h" command to the non-volatile memory device 4 via the input / output signal lines I / O0~I / O7.
[0287] The "0Fh" command is a command to instruct the non-volatile memory device 4 to read histogram information from the data latch circuit. Specifically, the "0Fh" command instructs the non-volatile memory device 4 to read data from the redundant column region of the data latch circuit. In response to receiving the "E0h" command following the "0Fh" command and the address ADD input from the memory controller 3, the sequencer 24 of the non-volatile memory device 4 changes the signal level of the ready / busy signal RBn from "H" level to "L" level. Furthermore, the sequencer 24 outputs the histogram information from the redundant column region of the data latch circuit to the memory controller 3. The reading of data from the memory cell array 20 and the reading of data from the data latch circuit can be repeatedly performed as needed, changing the address.
[0288] That is, in the read command sequence that performs self-adjusting read and outputs histogram information to memory controller 3, the following (0-1), (0-2), (1-1)~(1-3), and (2-1) are performed in sequence.
[0289] (0-1) The execution of the self-adjusting readout action is indicated by the prefix command (C4h, C5h or C6h).
[0290] -Prefix commands (C4h, C5h, or C6h)
[0291] C4h: Performs only a fast search
[0292] C5h: Perform only a fine search
[0293] C6h: Perform a two-stage search
[0294] (0-2) The histogram information of the self-adjusting readout action is stored in the data latch circuit by at least one of the prefix commands C8h and C9h.
[0295] -Prefix command (at least one of C8h and C9h)
[0296] C8h: Stores the histogram information from the fast search in the data latch circuit.
[0297] C9h: Records the histogram information representing the number of conducting units at each sampling point of the fine-grained search in the data latch circuit.
[0298] - Optionally, specify the column address (2 cycles) of the data latch circuit where the histogram information should be stored. If no address is specified, the default column address is used (e.g., the final storage location of the redundant column region, or a predetermined number of storage locations starting from the end of the redundant column region).
[0299] (1-1) Reading data from the memory cell array 20 to the data latch circuit
[0300] - Page specifies the command (01h~03h)
[0301] -00h command
[0302] - Address input (5 cycles)
[0303] -30h command
[0304] (1-2) Reading data from the data latch circuit
[0305] -05h command
[0306] - Address input (5 cycles)
[0307] -E0h command
[0308] - Data output (maximum 18KB data (= 16KB user data + 2KB ECC parity check bits))
[0309] Later, as needed, change the address to execute (1-1) and (1-2).
[0310] (1-3) Read out the end of the action.
[0311] -3Fh command
[0312] (2-1) Reading histogram information from the data latch circuit
[0313] -0Fh command
[0314] - Address input (5 cycles)
[0315] -E0h command
[0316] - Output histogram information (e.g., 1 histogram or 17 histograms).
[0317] By performing the above actions, the histogram information of the self-adjusting readout action can be stored in the data latch circuit, and the histogram information can be output from the data latch circuit to the memory controller 3.
[0318] Furthermore, all of the above actions can be implemented, for example, by a circuit for reading the histogram of the count self-adjustment operation, wiring and circuitry for transmitting the count value of the histogram to the redundant column area of the data latch circuit, a write enable circuit for writing the count value of the histogram to the designated storage location of the data latch circuit and preventing the histogram of the redundant column area from being overwritten with data read from the memory cell array 20, and a sequencer 24 that controls these circuits.
[0319] Next, the steps for reading the action will be explained. Figure 20 This is a flowchart illustrating an example of the steps of a read operation performed in the non-volatile storage device 4 according to the first embodiment.
[0320] Sequencer 24 performs a two-stage search, either fast search only, fine search only, or a combination of both, thereby determining the shift amount of each of the multiple read voltages used to read data from multiple read object memory cell transistors MT (step S11).
[0321] In the case where the shift amount of each of the multiple read voltages is determined solely by a fast search, the sequencer 24 counts the number of memory cells (the number of second memory cells) that have threshold voltages within a first voltage range included in a threshold voltage distribution belonging to a predetermined state (e.g., S15) of multiple states (e.g., S0 to S15), and determines the shift amount of each of the multiple read voltages used to read the data of the read target page based on histogram information representing the number of second memory cells.
[0322] In the case where the shift amount of each of the multiple read voltages is determined solely by a fine search, the sequencer 24 performs the following actions for each of the multiple read voltages: a sampling operation, which involves changing the read voltage to be applied to the word line of the read target between multiple voltages near the intersection of threshold voltage distributions of two adjacent states distinguished by the read voltage, while counting the number of conducting cells representing the number of conducting memory cell transistors MT in the multiple memory cell transistors MT of the read target; and an operation that determines the shift amount of the read voltage based on the result of the sampling operation.
[0323] In the case where the shift amount of each of the multiple read voltages is determined by a two-stage search, the sequencer 24 first determines the temporary shift amount of each of the multiple read voltages through a fast search. Next, based on the voltage obtained by shifting each of the multiple read voltages by their corresponding temporary shift amounts, the sequencer 24 determines, for each of the multiple read voltages, the aforementioned multiple voltages set near the intersection of the threshold voltage distributions of two adjacent states. Furthermore, the sequencer 24 performs multiple sampling operations using the determined multiple voltages for each of the multiple read voltages.
[0324] The sequencer 24 stores the histogram information used to determine the shift amount of each of the multiple read voltages in the first part of the data latch circuit, which is not used for storing data of the read target page (step S12). Specifically, in step S12, the sequencer 24 stores both the histogram information generated by the fast search, the histogram information generated by the fine search, or both the histogram information generated by the fast search and the histogram information generated by the fine search in the first part of the data latch circuit. The first part of the data latch circuit is, for example, the redundant column area of the data latch circuit.
[0325] In the case where the histogram information generated by the fast search is stored in the first part of the data latch circuit, the histogram information representing the number of the second memory cells is stored in the first part of the data latch circuit.
[0326] In addition, when the histogram information generated by the fine search is stored in the first part of the data latch circuit, (1) histogram information representing the number of conduction units corresponding to multiple voltages respectively, or (2) histogram information representing the difference between the number of conduction units corresponding to two adjacent voltages for each of the multiple voltages, is stored in the first part of the data latch circuit.
[0327] The sequencer 24 reads data from multiple memory cells of the read object by sequentially applying multiple read voltages (multiple appropriate read voltages) shifted by a determined shift amount to the read object word line WL (step S13).
[0328] The sequencer 24 stores the read data in a second part of the data latch circuit, which is different from the first part (step S14). The second part of the data latch circuit is, for example, the data area of the data latch circuit. Furthermore, if the data of the read target page includes user data and ECC, the read user data and the read ECC are stored in the data area and ECC area of the data latch circuit, respectively.
[0329] Furthermore, the sequencer 24 outputs the read data and histogram information to the memory controller 3 via the data latch circuit (step S15).
[0330] In addition, such as Figure 19 As explained earlier, the action of outputting the histogram information of the redundant column region of the data latch circuit to the memory controller 3 can be executed in response to the receipt of a command (e.g., an "0Fh" command) instructing data to be read from the redundant column region of the data latch circuit.
[0331] Alternatively, commands can be defined to read both data (e.g., user data + ECC) and histogram information from the data latch circuit.
[0332] As explained above, according to the non-volatile memory device 4 of the first embodiment, the internal data of the non-volatile memory device 4 used to determine the appropriate shift amount (that is, the histogram information generated in the non-volatile memory device 4 during the execution of the self-adjusting read operation) is not set in a dedicated storage area, but can be kept in the non-volatile memory device 4, and the kept histogram information can be output to the memory controller 3.
[0333] Therefore, the histogram information can be subsequently parsed, and / or, the appropriate read voltage can be calculated on the memory controller 3 side using a more advanced algorithm based on the histogram information. Thus, the histogram information generated within the non-volatile memory device 4 can be effectively utilized on the memory controller 3 side.
[0334] (Second Implementation)
[0335] Next, the non-volatile storage device according to the second embodiment will be described.
[0336] The hardware configurations of the non-volatile memory device and memory controller in the second embodiment are the same as those of the non-volatile memory device 4 and memory controller 3 in the first embodiment; therefore, their descriptions are omitted here. Hereinafter, the non-volatile memory device in the second embodiment will be described as non-volatile memory device 4.
[0337] The non-volatile memory device 4 according to the second embodiment is configured such that, during a read operation, temperature information is obtained from a temperature sensor, and based on the obtained temperature information, an appropriate shift amount is determined for each of the multiple read voltages used to read data from the multiple read target memory cell transistors MT. That is, when the temperature within the non-volatile memory device 4 rises or falls by, for example, 1DAC, the threshold voltage of each memory cell transistor MT also changes accordingly. Therefore, in the non-volatile memory device 4 according to the second embodiment, the appropriate shift amount for each of the multiple read voltages is determined by obtaining the temperature information at the time of read from the temperature sensor 31.
[0338] In this case, in the non-volatile memory device 4 according to the second embodiment, instead of the histogram information, the acquired temperature information (that is, the temperature information at the time of read used to determine the shift amount of each of the multiple read voltages) is stored as internal data of the non-volatile memory device 4 in the second part of the data latch circuit. Therefore, the temperature information at the time of read used to determine the appropriate shift amount is not stored in a dedicated storage area such as SRAM, but can be output to the memory controller 3.
[0339] Furthermore, the memory controller 3 can also read temperature information from the non-volatile memory device 4 by issuing a command (temperature readout command) to the non-volatile memory device 4 to obtain the current temperature information. However, in this case, the temperature information output from the non-volatile memory device 4 is the temperature information when the temperature readout command is input to the non-volatile memory device 4, not the temperature information during the readout operation of reading data from the memory cell array 20. Therefore, even if a temperature readout command is issued to the non-volatile memory device 4 before or after the readout operation, it is impossible to obtain the temperature information within the non-volatile memory device 4 at the time of actual data readout.
[0340] In the non-volatile storage device 4 according to the second embodiment, there is no dedicated storage area for storing the temperature information at the time of readout that is actually used to determine the shift amount of each of the multiple readout voltages, and the temperature information at the time of readout can be output to the memory controller 3.
[0341] Figure 21 This diagram illustrates the operation performed during the readout process in the non-volatile storage device 4 according to the second embodiment, where the temperature information (Temp Code(R)) used to determine the shift amount of each of the multiple readout voltages used to read the data of the readout target page is stored in the final column of the redundant column region of the data latch circuit, etc.
[0342] The sequencer 24 obtains temperature information (Temp Code(R)) from the temperature sensor 31. Based on the Temp Code(R), it determines the appropriate shift amount for each of the multiple read voltages used to read data from the multiple read object memory cell transistors MT. Next, the sequencer 24 stores the Temp Code(R) used in determining the appropriate shift amount in the final column of the redundant column area of the data latch circuit. The temperature detected by the temperature sensor 31 is, for example, approximately ±127°C. When the temperature sensor 31 is implemented as a temperature sensor with 1°C accuracy, both the Temp Code(R) and Temp Code(W) are approximately 8 bits (1 bit for the symbol and 7 bits for the absolute temperature value).
[0343] Next, sequencer 24 reads data (here, user data D1, error correction code ECC1, and Temp Code (W)) from multiple read object storage cell transistors MT included in the read object cell group CU by sequentially applying multiple read voltages shifted according to a determined shift amount to the read object word line WL. Sequencer 24 stores the read user data D1 in the data area of the data latch circuit, and stores the read error correction code ECC1 in the ECC area of the data latch circuit. In addition, sequencer 24 can disable writing to each storage location in the redundant column area where Temp Code (R) is stored, so that the Temp Code (R) stored in the redundant column area of the data latch circuit is not overwritten by the read Temp Code (W), etc. In this case, the read Temp Code (W) is not stored in the redundant column area of the data latch circuit and is discarded.
[0344] Subsequently, the sequencer 24, based on the data output commands received from the memory controller 3, executes a data output operation to output the data stored in the data latch circuit (i.e., user data D1, error correction code ECC1, and Temp Code(R)) to the memory controller 3. Furthermore, the operation of outputting Temp Code(R) from the data latch circuit to the memory controller 3 can also be performed using dedicated commands for reading the contents of redundant areas of the data latch circuit.
[0345] Through the above actions, it is possible to output both user data D1 and Temp Code (R) to memory controller 3 without preparing a dedicated storage area in non-volatile storage device 4 for storing Temp Code (R) used to determine the shift amount.
[0346] In addition, Figure 21The example given is the case where the Temp Code(R) is stored in the final storage location (final column) of the redundant column area of the data latch circuit. However, it can also be illustrated as follows: Figure 22 As shown, the Temp Code (R) is stored in the storage location preceding the final storage location in the redundant column area. Therefore, user data D1, Temp Code (R), and Temp Code (W) can be output to the memory controller 3.
[0347] In addition, Figure 21 The following scenario is described: First, the Temp Code (R) is stored in the redundant column area of the data latch circuit. Next, the user data D1 and the error correction code ECC1 read from the multiple read object memory cell transistors MT are written to the data area and ECC area of the data latch circuit, and the Temp Code (W) read from the multiple read object memory cell transistors MT is discarded. Alternatively, the following scenario is also described: First, the user data D1, the error correction code ECC1, and the Temp Code (W) read from the multiple read object memory cell transistors MT are stored in the data area, ECC area, and the final column of the redundant column area of the data latch circuit, respectively. Next, the Temp Code (R) is overwritten in the redundant column area of the data latch circuit.
[0348] Next, the read command sequence for outputting Temp Code (R) to memory controller 3 will be explained. Figure 23 This diagram illustrates an example of a read command sequence executed in the non-volatile memory device 4 according to the second embodiment, which outputs temperature information used to determine the shift amount of each of the multiple read voltages during a normal read operation. The normal read operation is a read operation that does not perform the self-adjusting read operation described in the first embodiment. In the non-volatile memory device 4 according to the second embodiment, during a normal read operation, the processing for determining the shift amount of each of the multiple read voltages used in the read operation of the data in the target page is performed using Temp Code(R) as a parameter, and the Temp Code(R) used to determine the shift amount is output to the memory controller 3.
[0349] like Figure 19 As shown, firstly, the memory controller 3 sends a prefix command representing "CAh", a page assignment command, a "00h" command, an address ADD input, and a "30h" command to the non-volatile memory device 4 via the input / output signal lines I / O0~I / O7.
[0350] The prefix command "CAh" indicates a temperature information saving command that stores the temperature information (Temp Code(R)) used during the read operation, which is used to determine the shift amount of each of the multiple read voltages used in the read operation of the read object page, in the data latch circuit.
[0351] Page specification commands, the "00h" command, address ADD input, and the "30h" command are related to... Figure 17 The page specification command, the "00h" command, the address ADD input, and the "30h" command described in the previous section are the same.
[0352] In response to receiving subsequent commands from the memory controller 3, including commands to save temperature information, specify a page, enter "00h", and enter "30h" for address ADD input, the sequencer 24 of the non-volatile memory device 4 changes the signal level of the ready / busy signal RBn from "H" to "L". Next, the sequencer 24 obtains temperature information (TempCode(R)) from the temperature sensor 31 and determines the appropriate shift amount for each of the multiple read voltages used to read the data of the read target page based on the TempCode(R). The sequencer 24 then stores the TempCode(R) used to determine the appropriate shift amounts for each of the multiple read voltages in the redundant column area of the data latch circuit. Furthermore, the sequencer 24 reads the data of the read target page from the multiple read target memory cell transistors MT connected to the read target word line WL by sequentially applying multiple read voltages shifted according to the determined shift amounts to the read target word line WL. The read data (such as user data and ECC) is stored in the data area and ECC area of the data latch circuit, respectively. When the read operation of reading data from multiple read object memory cell transistors MT is completed, the sequencer 24 changes the signal level of the ready / busy signal RBn from "L" level to "H" level.
[0353] When the ready / busy signal RBn changes from the "L" level to the "H" level, the memory controller 3 sends the "05h" command, the address ADD input, and the "E0h" command to the non-volatile memory device 4 via the input / output signal lines I / O0~I / O7.
[0354] The "05h" command, address ADD input, and the "E0h" command are related to... Figure 17 The "05h" command, address ADD input, and "E0h" command described earlier are the same.
[0355] In response to receiving the "05h" command and the "E0h" command from the address ADD input after the "05h" command from the memory controller 3, the sequencer 24 of the non-volatile memory device 4 changes the signal level of the ready / busy signal RBn from "H" level to "L" level. Furthermore, the sequencer 24 outputs the data (user data + ECC: R-data) read from the multiple read-object memory cell transistors MT from the data latch circuit to the memory controller 3. Upon completion of the data output operation of R-data to the memory controller 3, the sequencer 24 changes the signal level of the ready / busy signal RBn from "L" level to "H" level.
[0356] When the ready / busy signal RBn changes from the "L" level to the "H" level, the memory controller 3 sends the "0Fh" command, the address ADD input, and the "E0h" command to the non-volatile memory device 4 via the input / output signal lines I / O0~I / O7.
[0357] The “0Fh” command is a command to instruct non-volatile memory device 4 to read data (here, Temp Code(R)) from the redundant column region of the data latch circuit. In response to receiving the “E0h” command following the “0Fh” command and the address ADD input from memory controller 3, sequencer 24 of non-volatile memory device 4 changes the signal level of the ready / busy signal RBn from “H” to “L”. Furthermore, sequencer 24 outputs the Temp Code(R) from the redundant column region of the data latch circuit to memory controller 3. Reading data from memory cell array 20 and reading data from the data latch circuit can be repeatedly performed by changing the address as needed.
[0358] That is, when outputting Temp Code (R) to memory controller 3 in the usual read command sequence, the following (0-3), (1-1) to (1-3) and (2-1) are performed in sequence.
[0359] (0-3) The prefix command (CAh) instructs the Temp Code(R) to be stored in the data latch circuit.
[0360] - Optionally, specify the column address (2 cycles) of the data latch circuit where the Temp Code(R) should be stored. If no address is specified, the default column address is used (e.g., the final storage location of the redundant column region, or the storage location preceding the final storage location of the redundant column region).
[0361] (1-1) Reading data from the memory cell array 20 to the data latch circuit
[0362] - Page specifies the command (01h~03h)
[0363] -00h command
[0364] - Address input (5 cycles)
[0365] -30h command
[0366] (1-2) Reading data from the data latch circuit
[0367] -05h command
[0368] - Address input (5 cycles)
[0369] -E0h command
[0370] - Data output (maximum 18KB data (= 16KB user data + 2KB ECC parity check bits))
[0371] Later, as needed, change the address to execute (1-1) and (1-2).
[0372] (1-3) Read out the end of the action.
[0373] -3Fh command
[0374] (2-1) Reading the Temp Code (R) from the data latch circuit
[0375] -0Fh command
[0376] - Address input (5 cycles)
[0377] -E0h command
[0378] -Temp Code(R) output
[0379] By performing the above actions, the TempCode(R) used in determining the appropriate shift amount of each read voltage can be stored in the data latch circuit, and the TempCode(R) can be output from the data latch circuit to the memory controller 3.
[0380] Next, the results of the self-adjusting readout action and Temp Code(R) are used as parameters to determine the appropriate shift amount for each readout voltage. The histogram information and the actions of Temp Code(R) used in determining the appropriate shift amount are explained. Figure 24 This is a diagram illustrating an example of a read command sequence executed in the non-volatile storage device 4 according to the second embodiment, which is used to perform self-adjusting reads and to output histogram information and temperature information used to determine the shift amount of each of the multiple read voltages.
[0381] like Figure 24As shown, firstly, the memory controller 3 sends a prefix command, for example, representing any one of "C4h" to "C6h", to the non-volatile memory device 4 via the input / output signal lines I / O0~I / O7. Figure 24 In the middle, it represents the prefix command "C4h", indicating one or two prefix commands that store histogram information in the data latch circuit. Figure 19 In the command, there are two prefix commands: “C8h” and “C9h”; a prefix command representing “CAh”; a page specification command; a “00h” command; an address ADD input; and a “30h” command.
[0382] The prefix commands “C4h”~“C6h” and Figure 18 The prefix commands “C4h” to “C6h” described in the command sequence are the same. The “C8h” command is… Figure 19 The command for saving histogram information, as explained earlier. The "C9h" command is... Figure 19 Another command for saving histogram information, as explained earlier. The prefix command indicating "CAh" is... Figure 23 The temperature information saving command described earlier. Page-specified commands, the "00h" command, address ADD input, and the "30h" command are also included. Figure 17 The page specification command, the "00h" command, the address ADD input, and the "30h" command described earlier are the same.
[0383] In response to receiving subsequent commands from the memory controller 3, including self-adjusting read commands, histogram information save commands, temperature information save commands, page assignment commands, "00h" commands, and "30h" commands for address ADD input, the sequencer 24 of the non-volatile memory device 4 changes the signal level of the ready / busy signal RBn from "H" to "L". Next, the sequencer 24 performs a fast search, fine search, or two-stage search on multiple read-object memory cell transistors MT, determining the appropriate shift amount for each of the multiple read voltages used to read the data of the read-object page based on the histogram information obtained through the search and the Temp Code(R) obtained from the temperature sensor 31. The sequencer 24 then stores both the histogram information and the Temp Code(R) used to determine the appropriate shift amount for each of the multiple read voltages in the redundant column area of the data latch circuit. Furthermore, the sequencer 24 reads data from multiple read target memory cell transistors MT connected to the read target word line WL by sequentially applying multiple read voltages, each shifted by a determined shift amount, to the read target word line WL. The read data (e.g., user data and ECC) is stored in the data area and ECC area of the data latch circuit, respectively. When the read operation of reading data from the multiple read target memory cell transistors MT is completed, the sequencer 24 changes the signal level of the ready / busy signal RBn from "L" level to "H" level.
[0384] When the ready / busy signal RBn changes from the "L" level to the "H" level, the memory controller 3 sends the "05h" command, the address ADD input, and the "E0h" command to the non-volatile memory device 4 via the input / output signal lines I / O0~I / O7.
[0385] The "05h" command, address ADD input, and the "E0h" command are related to... Figure 17 The "05h" command, address ADD input, and "E0h" command described earlier are the same.
[0386] In response to receiving the "05h" command and the "E0h" command from the address ADD input after the "05h" command from the memory controller 3, the sequencer 24 of the non-volatile memory device 4 changes the signal level of the ready / busy signal RBn from "H" level to "L" level. Furthermore, the sequencer 24 outputs the data (user data + ECC: R-data) read from the multiple read-object memory cell transistors MT from the data latch circuit to the memory controller 3. Upon completion of the data output operation of R-data to the memory controller 3, the sequencer 24 changes the signal level of the ready / busy signal RBn from "L" level to "H" level.
[0387] When the ready / busy signal RBn changes from the "L" level to the "H" level, the memory controller 3 sends the "0Fh" command, the address ADD input, and the "E0h" command to the non-volatile memory device 4 via the input / output signal lines I / O0~I / O7.
[0388] The “0Fh” command is a command to instruct the non-volatile memory device 4 to read data from the redundant column area of the data latch circuit. In response to receiving the “E0h” command following the “0Fh” command and the address ADD input from the memory controller 3, the sequencer 24 of the non-volatile memory device 4 changes the signal level of the ready / busy signal RBn from “H” to “L”. Furthermore, the sequencer 24 outputs both histogram information and Temp Code (R) from the redundant column area of the data latch circuit to the memory controller 3. Reading data from the memory cell array 20 and reading data from the data latch circuit can be repeatedly performed as needed, changing the address.
[0389] That is, in the read command sequence that performs self-adjusting read and outputs histogram information to memory controller 3, the following (0-1)~(0-3), (1-1)~(1-3), and (2-1) are performed in sequence.
[0390] (0-1) The execution of the self-adjusting readout action is indicated by the prefix command (C4h, C5h, or C6h).
[0391] -Prefix commands (C4h, C5h, or C6h)
[0392] C4h: Performs only a fast search
[0393] C5h: Perform only a fine search
[0394] C6h: Perform a two-stage search
[0395] (0-2) The histogram information of the self-adjusting readout action is stored in the data latch circuit by at least one of the prefix commands C8h and C9h.
[0396] -Prefix command (at least one of C8h and C9h)
[0397] C8h: Stores the histogram information from the fast search in the data latch circuit.
[0398] C9h: Records the histogram information representing the number of active units at each sampling point of the fine-grained search in the data latch.
[0399] - Optionally, specify the column address (2 cycles) of the data latch circuit where the histogram information should be stored. If no address is specified, the default column address is used (e.g., the final storage location of the redundant column region, or a predetermined number of storage locations starting from the end of the redundant column region).
[0400] (0-3) Use the prefix command (CAh) to instruct the Temp Code(R) to be stored in the data latch circuit.
[0401] - Optionally, specify the column address (2 cycles) of the data latch circuit where the Temp Code(R) should be stored. If no address is specified, the default column address is used (e.g., the final storage location of the redundant column region, or the storage location preceding the final storage location of the redundant column region).
[0402] (1-1) Reading data from the memory cell array 20 to the data latch circuit
[0403] - Page specifies the command (01h~03h)
[0404] -00h command
[0405] - Address input (5 cycles)
[0406] -30h command
[0407] (1-2) Reading data from the data latch circuit
[0408] -05h command
[0409] - Address input (5 cycles)
[0410] -E0h command
[0411] - Data output (maximum 18KB data (=16KB user data + 2KB ECC parity check bits))
[0412] Later, as needed, change the address to execute (1-1) and (1-2).
[0413] (1-3) Read out the end of the action.
[0414] -3Fh command
[0415] (2-1) Reading from the histogram information of the data latch circuit and Temp Code (R)
[0416] -0Fh command
[0417] - Address input (5 cycles)
[0418] -E0h command
[0419] - Histogram information output (1 histogram or 17 histograms) and Temp Code(R)
[0420] By performing the above actions, the histogram information and Temp Code(R) of the self-adjusting readout action can be stored in the data latch circuit, and these histogram information and Temp Code(R) can be output from the data latch circuit to the memory controller 3.
[0421] Next, the steps for reading the action will be explained. Figure 25 This is a flowchart illustrating an example of the steps involved in a read operation performed in the non-volatile storage device 4 according to the second embodiment.
[0422] When performing a read operation to read data corresponding to the read target page from multiple pages of data stored in multiple read target memory cell transistors MT, the sequencer 24 obtains temperature information (Temp Code(R)) from the temperature sensor 31 (step S21). Based on the Temp Code(R), the sequencer 24 determines the shift amount of each of the multiple read voltages used to read the data of the read target page from the multiple read target memory cell transistors MT (step S22). In this case, it may be that, for each of the three or four read voltages corresponding to the top page, high page, middle page, and low page, the correspondence between temperature and appropriate shift amount is determined in advance based on experimental results, etc., and the shift amount of each of the multiple read voltages used to read the data corresponding to the read target page is determined according to the correspondence and the obtained Temp Code(R).
[0423] Sequencer 24 stores the Temp Code(R) used to determine the shift amount of each of the multiple read voltages in the first part of the data latch circuit (step S23), which stores data not used for the read object page. The first part of the data latch circuit is, for example, the redundant column region of the data latch circuit.
[0424] The sequencer 24 reads data from multiple memory cells of the read object by sequentially applying multiple read voltages (multiple appropriate read voltages) shifted by a determined shift amount to the read object word line WL (step S24).
[0425] Sequencer 24 stores the read data in a second part of the data latch circuit, which is different from the first part (step S25). The second part of the data latch circuit is, for example, the data area of the data latch circuit. Furthermore, when the data of the read target page includes user data and ECC, the read user data and the read ECC are stored in the data area and ECC area of the data latch circuit, respectively.
[0426] Furthermore, the sequencer 24 outputs the read data and Temp Code(R) to the memory controller 3 via the data latch circuit (step S26).
[0427] In addition, such as Figure 24 As explained earlier, the action of outputting the Temp Code(R) of the redundant column area of the data latch circuit to the memory controller 3 can be performed in response to the receipt of a command (e.g., an "0Fh" command) instructing the readout of data from the redundant column area of the data latch circuit.
[0428] Alternatively, commands can be defined to read data (e.g., user data + ECC) and TempCode(R) from the data latch circuit.
[0429] As explained above, according to the non-volatile memory device 4 of the second embodiment, the internal data of the non-volatile memory device 4 used to determine the appropriate shift amount (that is, the Temp Code(R) obtained from the temperature sensor 31 during the read operation) is not set in a dedicated storage area, but can be kept in the non-volatile memory device 4, and the kept Temp Code(R) can be output to the memory controller 3.
[0430] Therefore, it is possible to subsequently parse the Temp Code(R) and / or use the Temp Code(R) to calculate the appropriate read voltage on the memory controller 3 side using more advanced algorithms.
[0431] Furthermore, although detailed information is not described, in both the first and second embodiments, it is possible to enable / disable the information writing function for the redundant column area of the data latch circuit, or to set the write position by setting the configuration register of the non-volatile memory device 4, setting the ROM fuse, or setting the external signal terminal, etc., using a setting feature. In particular, when the data latch circuit and the column position within that data latch circuit are specified by a setting feature during the operation of the non-volatile memory device 4, the position to be recorded is not limited to the redundant column area of the data latch circuit; it can be recorded at any column position of the data latch circuit. Specifically, in the data area of the data latch circuit (where user data is recorded)... Figure 13When internal data is recorded in the "data area", the internal data can be read using a normal data read command without using a command (e.g., "0Fh") instructing the reading of data from the redundant column area of the data latch circuit. In this method, for example, if it is known that 4KB of user data and 0.5KB of ECC parity bit need to be read, if the internal data (self-adjusting read histogram information, Temp Code(R), etc.) of the non-volatile storage device 4 is written to the column position next to the user data + ECC parity bit with a size of 4KB + 0.5KB, then both the user data + ECC parity bit and the internal data of the non-volatile storage device 4 (self-adjusting read histogram information, Temp Code(R), etc.) can be read to the memory controller 3 using a normal data read command. Alternatively, the internal data (self-adjusting read histogram information, etc.) of the non-volatile storage device 4 can be stored in the column of the data latch circuit after the bad column is replaced with a redundant column. In other words, a portion of the data latch circuit used to store internal data (such as histogram information read out for self-adjustment) does not necessarily have to be a portion of the redundant column area that was not used in the replacement of bad columns (bad storage locations), or it can be a portion of the redundant column area that has already been used in the replacement of bad columns (bad storage locations). Furthermore, the configuration for reading internal data (such as histogram information read out for self-adjustment) to the memory controller 3, as described in each embodiment, is not limited to non-volatile memory devices such as NAND flash memory, and can be applied to various other types of memory devices with functions such as self-adjustment readout.
[0432] Furthermore, when the final column of the redundant column region contained in the storage area of one page of the multiple storage cell transistors MT in each unit group CU is written with Temp Code (W), after reading user data, ECC parity bit, and Temp Code (W) from the multiple storage cell transistors MT, for example, the user data + ECC parity bit and Temp Code (R) of size 4KB + 0.5KB can be stored in the data area of the data latch circuit, and the read Temp Code (W) can be stored in the empty area of the data area of the data latch circuit. Thus, user data, ECC parity bit, Temp Code (R), and Temp Code (W) can be read using a normal data read command.
[0433] Several embodiments of the present invention have been described, but these embodiments are merely illustrative and are not intended to limit the scope of the invention. These new embodiments can be implemented in various other ways, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and / or variations thereof are included within the scope and spirit of the invention, and are included within the scope of the invention as described in the claims and its equivalents.
Claims
1. A storage device comprising: Multiple storage units are configured to store multiple bits of data depending on which of the multiple states contained in different threshold voltages; The first word line connects to multiple first storage cells among the plurality of storage cells; Data latch circuit; and The control circuit is configured to, when performing a read operation to read the first data corresponding to the page to be read from the data of the plurality of pages stored in the plurality of first storage units, determine the shift amount of each of the plurality of first read voltages used in reading the first data. The control circuit is configured as follows: The first part of the data latch circuit stores internal data of the memory device used to determine the shift amount of each of the plurality of first readout voltages. The first data is read from the plurality of first memory cells by applying the plurality of first readout voltages, which are shifted according to the determined shift amount, to the first word line. The first data is stored in a second part of the data latch circuit, which is different from the first part. The first data and the internal data are output to an external device via the data latch circuit.
2. The storage device according to claim 1, Each of the plurality of first storage units, comprising a page-sized storage area, and the data latch circuit, includes a data area for storing user data of a page size and a redundant area used for replacing undesirable storage locations within the data area. The first portion of the data latch circuit is a part of the redundant region that was not used in replacements of undesirable storage locations. The second part of the data latch circuit is the data area.
3. The storage device according to claim 1, Each of the plurality of first storage units, comprising a page-sized storage area, and the data latch circuit, includes a data area for storing user data of a page size and a redundant area used for replacing undesirable storage locations within the data area. The first part of the data latch circuit is a portion of the redundant region used in the replacement of the defective storage location. The second part of the data latch circuit is the data area.
4. The storage device according to claim 1 or 2, The control circuit is configured as follows: The number of second memory cells among the plurality of first memory cells that have a threshold voltage belonging to a first voltage range is counted, the first voltage range being comprised of a threshold voltage distribution of a predetermined state among the plurality of states. Based on the histogram information representing the number of the second memory cells, the shift amount of each of the plurality of first readout voltages is determined. The internal data includes the histogram information representing the number of the second storage units.
5. The storage device according to claim 1 or 2, The control circuit is configured as follows: The read voltage of the processing object is selected from the plurality of first read voltages. While varying the voltage applied to the first word line among multiple voltages set near the selected read voltage, a sampling operation is performed multiple times. This sampling operation involves applying a voltage to the first word line and counting the number of active memory cells, which is the number of active memory cells among the plurality of first memory cells. Based on the results of the multiple sampling operations, the shift amount of the selected readout voltage is determined. The internal data includes multiple histogram information corresponding to each of the multiple first readout voltages. The plurality of histogram information corresponding to each first readout voltage includes (1) the number of multiple conduction units obtained through multiple sampling operations, or includes (2) multiple differential values. The multiple differences are obtained by calculating the difference between the number of conducting units in every two consecutive sampling actions in multiple sampling actions.
6. The storage device according to claim 5, The control circuit is further configured as follows: The number of second memory cells among the plurality of first memory cells that have a threshold voltage belonging to a first voltage range is counted, the first voltage range being contained within a predetermined threshold voltage distribution of the plurality of states. Based on the histogram information representing the number of the second memory cells, the temporary shift amount for each of the plurality of first readout voltages is determined. The plurality of voltages are determined for each of the plurality of first readout voltages by shifting each of the plurality of first readout voltages by a corresponding temporary shift amount.
7. The storage device according to claim 1 or 2, It also has a temperature sensor. The control circuit is configured as follows: When performing the read-out action Temperature information is obtained from the temperature sensor. Based on the temperature information, the shift amount of each of the plurality of first readout voltages is determined. The internal data used to determine the shift amount of each of the plurality of first readout voltages is the temperature information obtained from the temperature sensor during the readout operation.
8. The storage device according to claim 2, Each of the storage areas comprising one page of the plurality of first storage units and the data latch circuit further includes an error correction code area for storing error correction codes corresponding to the user data. The redundant region is used in the replacement of bad storage locations in the data region and in the replacement of bad storage locations in the error correction code region. The first part of the data latch circuit is a portion of the redundant region that is not used in the replacement of bad storage locations in either the data region or the error correction code region.
9. A control method, which is a control method for controlling storage devices. The storage device includes: Each of the above is configured as a plurality of storage cells that store multiple bits of data according to which of a plurality of states contained in a plurality of different threshold voltages, a first word line connected to a plurality of first storage cells in the plurality of storage cells, and a data latch circuit. The control method includes: When performing a read operation to read the first data corresponding to the page to be read from the data of the multiple pages stored in the multiple first storage units, the shift amount of each of the multiple first read voltages used in reading the first data is determined; The first part of the data latch circuit stores the internal data of the storage device used to determine the shift amount of each of the plurality of first read voltages; The first data is read from the plurality of first memory cells by applying the plurality of first readout voltages, which are shifted according to the determined shift amount, to the first word line. The first data is stored in the second part of the data latch circuit, which is different from the first part; and The first data and the internal data are output to external devices via the data latch circuit.
10. The control method according to claim 9, Each of the plurality of first storage units, comprising a page-sized storage area, and the data latch circuit, includes a data area for storing user data of a page size and a redundant area used for replacing undesirable storage locations within the data area. The first portion of the data latch circuit is a part of the redundant region that was not used in replacements of undesirable storage locations. The second part of the data latch circuit is the data area.
11. The control method according to claim 9 or 10, Determining the shift amount of each of the plurality of first readout voltages includes: The number of second memory cells among the plurality of first memory cells that have a threshold voltage belonging to a first voltage range is counted, the first voltage range being encompassed by a threshold voltage distribution of a predetermined state among the plurality of states; and Based on the histogram information representing the number of the second memory cells, the shift amount of each of the plurality of first readout voltages is determined. The internal data includes the histogram information representing the number of the second storage units.
12. The control method according to claim 9 or 10, Determining the shift amount of each of the plurality of first readout voltages includes: The read voltage of the processing object is selected from the plurality of first read voltages; While changing the voltage applied to the first word line among multiple voltages set near the selected read voltage, a sampling operation is performed multiple times. The sampling operation is an operation of applying a voltage to the first word line and counting the number of turned-on memory cells, which is the number of turned-on memory cells among the multiple first memory cells. as well as Based on the results of multiple sampling operations, the shift amount of the selected readout voltage is determined. The internal data includes multiple histogram information corresponding to each of the multiple first readout voltages. The plurality of histogram information corresponding to each first readout voltage includes (1) the number of multiple conduction units obtained through multiple sampling operations, or includes (2) multiple differential values. The multiple differences are obtained by calculating the difference between the number of conducting units in every two consecutive sampling actions in multiple sampling actions.
13. The control method according to claim 9 or 10, The storage device also includes a temperature sensor. The control method further includes: During the readout operation, temperature information is obtained from the temperature sensor. Determining the shift amount of each of the plurality of first readout voltages includes determining the shift amount of each of the plurality of first readout voltages based on the temperature information. The internal data is the temperature information obtained from the temperature sensor during the readout action.
