Memory device and method of operation thereof, memory system and method of operation thereof
The memory device and system address charge-related read errors in NAND memory by adjusting read voltage to determine a valley voltage, improving accuracy and reducing retries, thus enhancing performance.
Patent Information
- Application Number
- KR1020257028371
- Authority / Receiving Office
- KR · KR
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-11-06
- Publication Date
- 2026-11-06
- Estimated Expiration
- 2043-11-06
AI Technical Summary
The accuracy of data reading in NAND memory devices is affected by changes in the stored electric charge due to increased usage time, repetitive read operations, and temperature fluctuations, leading to increased read errors that conventional error correction methods struggle to address efficiently.
A memory device and system that adjusts read voltage multiple times to determine a valley voltage based on the variation trend of bit flips, using a peripheral circuit or memory controller to optimize read operations and implement error correction code decoding.
Improves data reading accuracy by dynamically adjusting read voltage to account for charge variations, reducing read errors and enhancing overall system performance by minimizing the time-consuming retries required in conventional methods.
Smart Images

Figure 112025097326266-PCT00009_ABST
Abstract
Description
Technology Field
[0001] The present application relates to a memory device and a method of operating the same, a memory system and a method of operating the same, but is not limited thereto. Background Technology
[0002] With the advancement of science and technology, the market size of the integrated circuit industry is growing. In the overall integrated circuit industry, processes and technologies for non-volatile memory devices have made rapid progress in recent years, and NAND memory, in particular, is widely used. NAND memory implements data storage functions by capturing and storing electric charge on the gate dielectric layer of the memory cells contained within the NAND memory. However, as usage increases over time, the amount of electric charge stored in the memory cells may change due to increased usage time, repetitive read operations, and temperature fluctuations, which can affect the accuracy of reading data stored in the memory cells. means of solving the problem
[0003] In a first aspect, an embodiment of the present application provides a memory device, wherein the memory device comprises a memory cell array including a plurality of memory cells—wherein a preset number of memory cells form a single code word—and a peripheral circuit coupled to the memory cell array, wherein the peripheral circuit obtains a first state corresponding to the code word at a current read voltage—wherein the first state includes a state for indicating a magnitude relationship between the number of bits in the code word flipped in two read results at the corresponding read voltage and a voltage adjacent to the corresponding read voltage and a first preset value—performs multiple adjustments to the current read voltage, obtains a first state corresponding to the code word at each read voltage after adjustment, and is configured to determine a valley voltage according to a variation trend of the magnitude relationship between the number of bits flipped and the first preset value indicated by a plurality of obtained first states, and the valley voltage becomes a read voltage for performing a read operation on the code word.
[0004] In a second aspect, an embodiment of the present application provides a memory system, wherein the memory system comprises one or more memory devices according to any one of the first aspects, and a memory controller coupled to the memory device and controlling the memory device.
[0005] In a third aspect, an embodiment of the present application provides a memory system, the memory system comprising at least one memory device including a plurality of memory cells — a preset number of memory cells forming a code word — and a memory controller coupled to at least one memory device, the memory controller acquires a first state corresponding to the code word at a current read voltage — the first state includes a state for indicating a magnitude relationship between the number of bits in the code word flipped in two read results at the corresponding read voltage and a voltage adjacent to the corresponding read voltage — performs multiple adjustments on the current read voltage and acquires a first state corresponding to the code word at each read voltage after adjustment, and is configured to determine a valley voltage according to a variation trend of the magnitude relationship between the number of bits flipped and the first preset value indicated by a plurality of acquired first states, the valley voltage being a read voltage for performing a read operation on the code word.
[0006] In a fourth aspect, an embodiment of the present application provides a method for operating a memory device, the method comprising: a step of obtaining a first state corresponding to a code word at a current read voltage—the first state includes a state for indicating a magnitude relationship between the number of bits in a code word flipped in two read results at a corresponding read voltage and a voltage adjacent to the corresponding read voltage and a first preset value, the memory device includes a memory cell array, the memory cell array includes a plurality of memory cells, and a preset number of memory cells form one code word—; a step of performing multiple adjustments on the current read voltage and obtaining a first state corresponding to a code word at a read voltage after each adjustment; and a step of determining a valley voltage according to a variation trend of the magnitude relationship between the number of bits flipped and the first preset value indicated by a plurality of obtained first states, wherein the valley voltage becomes a read voltage for performing a read operation on a code word.
[0007] In a fifth aspect, an embodiment of the present application provides a method for operating a memory system, the method comprising the steps of: transmitting a first instruction before performing a read operation on data stored in a memory device of the memory system—the first instruction instructs to obtain a valley voltage, and the valley voltage is obtained according to a method according to any one of the fourth aspects—; performing a read operation on data stored in the memory device with the valley voltage; and performing Error Correction Code (ECC) decoding on the read result of the read operation.
[0008] In a sixth aspect, an embodiment of the present application provides a method for operating a memory system, the method comprising: a step of obtaining a first state corresponding to a code word at a current read voltage—the first result comprising a state for indicating a magnitude relationship between the number of bits in a code word flipped in two read results at a corresponding read voltage and a voltage adjacent to the corresponding read voltage and a first preset value, the memory system comprising at least one memory device, the memory device comprising a plurality of memory cells, and a preset number of memory cells forming one code word—; a step of performing multiple adjustments on the current read voltage and obtaining a first state corresponding to a code word at a read voltage after each adjustment; and a step of determining a valley voltage according to a variation trend of the magnitude relationship between the number of bits flipped and the first preset value indicated by a plurality of obtained first states, wherein the valley voltage becomes a read voltage for performing a read operation on a code word.
[0009] In a seventh aspect, an embodiment of the present application provides a memory device, wherein the memory device comprises a memory cell array including a plurality of memory cells—wherein a preset number of memory cells form a single code word—and a peripheral circuit coupled to the memory cell array and including control logic and a page buffer, wherein the control logic is configured to obtain a first result by reading data stored in a code word at a first read voltage and storing the first result in a first latch of a page buffer, adjust the first read voltage, obtain a second result by reading data stored in a code word at the adjusted current read voltage and storing the second result in a second latch of a page buffer, perform a logical operation on the first result and the second result to obtain a third result and store the third result in a third latch of a page buffer, and obtain a first state by comparing the number of bits in a fourth result indicating a flip of bits in the second result with respect to the first result with a first preset value, and the first state is the number of bits in a code word flipped in two read results at a corresponding read voltage and a voltage adjacent to the corresponding read voltage and a first Includes a state to indicate the size relationship between preset values.
[0010] In an eighth aspect, an embodiment of the present application provides a method for operating a memory device, the method comprising the steps of: reading data stored in a code word at a corresponding read voltage to obtain a first result and storing the first result in a first latch of a page buffer — the memory device comprises a memory cell array and a page buffer, the memory cell array comprises a plurality of memory cells, and a preset number of memory cells form a single code word — the steps of: adjusting the first read voltage, reading data stored in a code word at the adjusted current read voltage to obtain a second result and storing the second result in a second latch of a page buffer; performing a logical operation on the first result and the second result to obtain a third result and storing the third result in a third latch of a page buffer; and comparing the number of bits in the third result, which indicates a flip of bits in the second result, with respect to the first result, with respect to the first result, with respect to the first preset value to obtain a first state — the first state is between the number of bits in a code word flipped in two read results at a corresponding read voltage and a voltage adjacent to the corresponding read voltage and the first preset value Includes a state for indicating size relationships. Brief explanation of the drawing
[0011] In the attached drawings, unless otherwise specified, the same reference numerals refer to the same or similar parts or elements across the attached drawings. The attached drawings are not necessarily drawn to scale. The attached drawings illustrate only some examples disclosed in accordance with this application and should not be construed as limiting the scope of this application. FIG. 1 is a schematic diagram of an exemplary system including one example of a memory system according to the present application. FIG. 2a is a schematic diagram of an exemplary memory card including a memory system according to one example of the present application. FIG. 2b is a schematic diagram of an exemplary solid-state drive including a memory system according to one example of the present application. FIG. 3a is a schematic diagram of the memory cell distribution of a three-dimensional NAND memory according to one example of the present application. FIG. 3b is a schematic diagram of an exemplary memory including peripheral circuitry according to one example of the present application. FIG. 4 is a schematic cross-sectional view of a memory cell array including a NAND-type memory string according to one example of the present application. FIG. 5 is a schematic diagram of an exemplary memory device including a memory cell array and peripheral circuits according to one example of the present application. FIG. 6 is a schematic diagram of an exemplary flow of a read operation in a memory system provided in the present application. FIG. 7 is a schematic flowchart of one embodiment of a method for operating a memory device provided by one example of the present application. FIG. 8 is a schematic diagram of a threshold voltage distribution corresponding to a memory cell containing three memory bits provided by one example of the present application. FIG. 9 is a schematic diagram of a threshold voltage distribution corresponding to a memory cell containing four memory bits provided by one example of the present application. FIG. 10 is a schematic diagram of a method for determining a valley voltage within a first level reading voltage L1 corresponding to the bottom page illustrated in FIG. 8 provided by one example of the present application. FIG. 11 is a flowchart of a method for operating a memory device provided by one example of the present application. FIG. 12 is a block diagram of a memory system provided by one example of the present application. FIG. 13 is a block diagram of a memory system provided by another example of the present application. FIG. 14 is a timing diagram for performing a read retry operation provided in the present application. FIG. 15 is a timing diagram for determining valley voltage and performing read operations provided by one example of the present application. FIG. 16 is a block diagram of a computer-readable storage medium provided by one example of the present application. Specific details for implementing the invention
[0012] The embodiments disclosed in this application will be described in more detail below with reference to the accompanying drawings. It should be understood that while embodiments of this application are illustrated in the accompanying drawings, this application may be embodied in various forms and should not be limited to the specific embodiments provided herein. Rather, these examples are provided to enable a more thorough understanding of this application and to adequately convey the scope of this application to those skilled in the art.
[0013] In the following description, various specific details are provided to provide a more thorough understanding of the present application. However, it will be obvious to a person skilled in the art that the present application can be practiced without one or more of these details. In other examples, some technical features known in the art are not described to avoid confusion with the present application; that is, not all features of actual examples are described in this specification, and well-known functions and structures are not described in detail.
[0014] Furthermore, the attached drawings are merely a schematic description of the present application and are not necessarily drawn to scale. Identical reference numerals in the attached drawings indicate identical or similar parts, so a repetitive description thereof is omitted. Some block diagrams shown in the attached drawings are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software form, as one or more hardware modules or integrated circuits, or as various network and / or processor devices and / or microcontroller devices.
[0015] The flowcharts shown in the attached drawings are for illustrative purposes only and do not necessarily include all operations. For example, some operations may be decomposed, and others may be merged or partially merged; therefore, the actual execution order may change depending on the actual situation.
[0016] The terms used herein are for the purpose of describing specific examples only and should not be construed as limiting the application. As used herein, the singular forms “a,” “an,” and “said / the” are intended to include the plural forms unless the context clearly indicates otherwise. Additionally, it should be understood that when the terms “consist of” and / or “comprising” are used herein, they indicate the presence of the specified features, integers, operations, elements, and / or parts, but do not exclude the presence of one or more other features, integers, operations, elements, parts, and / or groups. As used herein, the term “and / or” includes any combination of the associated listed items.
[0017] In the examples of the present application, the memory device includes, but is not limited to, a three-dimensional NAND memory, and for ease of understanding, a three-dimensional NAND memory is used as an example for explanation.
[0018] FIG. 1 illustrates a block diagram of an exemplary system (100) having a memory device according to some aspects of the present application. The system (100) may be a mobile phone, a desktop computer, a laptop computer, a tablet, a vehicle computer, a game console, a printer, a positioning device, a wearable electronic device, a smart sensor, a virtual reality (VR) device, an augmented reality (AR) device, or any other suitable electronic device having a memory device embedded therein. As illustrated in FIG. 1, the system (100) may include a host (108) and a memory system (102), and the memory system (102) has one or more memory devices (104) and a memory controller (106). The host (108) may be a processor of an electronic device (e.g., a central processing unit (CPU)) or a chip system (SoC) (e.g., an application processor (AP)). The host (108) may be configured to transmit and receive data with the memory device (104).
[0019] According to some embodiments, a memory controller (106) is coupled to a memory device (104) and a host (108) and configured to control the memory device (104). The memory controller (106) can manage data stored in the memory device (104) and communicate with the host (108). In some embodiments, the memory controller (106) is designed to operate in a low duty cycle environment, such as a secure digital (SD) card, a compact flash (CF) card, a universal serial bus (USB) flash drive, or other media used in electronic devices such as personal computers, digital cameras, mobile phones, etc.
[0020] In some embodiments, the memory controller (106) is designed to operate in a high duty cycle environment on a solid-state drive (SSD) or an embedded multimedia card (eMMC), wherein the SSD or eMMC is used as a data storage for mobile devices such as smartphones, tablet computers, laptop computers, and enterprise storage arrays.
[0021] The memory controller (106) may be configured to control operations of the memory device (104), such as reading, erasing, and programming operations. The memory controller (106) may also be configured to manage various functions related to data stored or to be stored in the memory device (104), non-limiting examples, such as bad block management, garbage collection, logical address-to-physical address translation, wear leveling, etc. In some embodiments, the memory controller (106) is also configured to process error correction codes related to data read from or written to the memory device (104).
[0022] The memory controller (106) can also perform other appropriate functions, such as formatting the memory device (104). The memory controller (106) can communicate with an external device (e.g., a host (108)) according to a specific communication protocol. For example, the memory controller (106) can communicate with an external device through various interface protocols, such as USB protocol, MMC protocol, PCI (Peripheral Component Interconnect) protocol, PCI Express (PCI-E) protocol, ATA (Advanced Technology Attachment) protocol, Serial ATA protocol, Parallel ATA protocol, SCSI (Small Computer Small Interface) protocol, ESDI (Enhanced Small Disk Interface) protocol, IDE (Integrated Drive Electronics) protocol, Firewire protocol, etc.
[0023] The memory controller (106) and one or more memory devices (104) can be integrated into various types of storage devices, for example, can be contained in the same package (e.g., a Universal Flash Storage (UFS) package or an eMMC package). That is, the memory system (102) can be implemented and packaged within various types of end electronic products.
[0024] In one example as illustrated in FIG. 2a, a memory controller (106) and a single memory device (104) may be integrated into a memory card (202). The memory card (202) may include a PC card (PCMCIA: personal computer memory card international association), a CF card, a Smart Media (SM) card, a memory stick, a multimedia card (MMC, RS-MMC, MMCmicro), an SD card (SD, miniSD, microSD, SDHC), UFS, etc. The memory card (202) may also further include a memory card connector (24) that connects the memory card (202) to a host (e.g., the host (108) in FIG. 1).
[0025] In another example as illustrated in FIG. 2b, a memory controller (106) and a plurality of memory devices (104) may be integrated into an SSD (206). The SSD (206) may also further include an SSD connector (208) that connects the SSD (206) to a host (e.g., the host (108) in FIG. 1). In some embodiments, at least one of the storage capacity or operating speed of the SSD (206) is greater than at least one of the storage capacity or operating speed of the memory card (202).
[0026] In one example, FIG. 3a provides a schematic structural diagram of a memory cell array of a three-dimensional NAND memory. As shown in FIG. 3a, the memory cell array of the three-dimensional NAND memory is composed of multiple rows of memory cells that are staggered in parallel and parallel to a gate isolation structure. Every two rows of memory cells are separated by a gate isolation structure and an upper select gate isolation structure, and each row of memory cells contains multiple memory cells. The gate isolation structure may include a first gate isolation structure and a second gate isolation structure. The first gate isolation structure divides the memory cell array into multiple blocks, and multiple second gate isolation structures divide the blocks into multiple memory fingers. An upper select gate isolation structure provided at the center of each memory finger may divide the memory finger into two parts, thereby dividing the memory finger into two memory slices. The memory block shown in FIG. 3a contains six memory slices, but in actual applications, the number of memory slices within the memory block is not limited thereto.
[0027] In some examples, multiple word lines may be combined into each block, and multiple memory cells combined into each individually controlled word line form a page, for example, all memory cells within each memory slice of FIG. 3a are combined to form a page.
[0028] It should be noted that the number of memory cell rows between the gate isolation structure and the upper select gate isolation structure shown in FIG. 3a is merely for illustrative purposes and is not used to limit the number of memory cell rows included in the memory fingers of the 3D NAND memory of the present application. In actual applications, the number of memory cell rows included in the memory fingers may be adjusted to 2, 4, 8, 16, etc., depending on actual conditions.
[0029] FIG. 3b illustrates a schematic circuit diagram of an exemplary memory device (300) including peripheral circuitry according to some aspects of the present application. The memory device (300) may be an example of the memory device (104) of FIG. 1. The memory device (300) may include a memory cell array (301) and peripheral circuitry (302) coupled to the memory cell array (301). For the sake of illustration, the memory cell array (301) is assumed to be a three-dimensional NAND memory cell array, wherein the memory cell (306) is a NAND-type memory cell, and the memory cell (306) is provided in the form of an array of memory strings (308), each memory string (308) extending vertically over a substrate (not shown). In some embodiments, each memory string (308) includes a plurality of memory cells (306) coupled in series and stacked vertically. Each memory cell (306) can maintain a continuous analog value, such as voltage or charge, depending on the number of electrons trapped within the memory cell (306) region. Each memory cell (306) may be a "floating gate" type memory cell containing a floating gate transistor or a "charge trap" type memory cell containing a charge trap transistor.
[0030] In some embodiments, each memory cell (306) is a single-level cell (SLC) that has two possible storage states and thus can store 1 bit of data. For example, the first storage state “0” may correspond to a first voltage range, and the second storage state “1” may correspond to a second voltage range. In some embodiments, each memory cell (306) is a multi-level cell (MLC) that can store data greater than 1 bit in more than four storage states. For example, an MLC can store 2 bits per cell (also called a double-level cell), 3 bits per cell (also called a triary-level cell (TLC)), 4 bits per cell (also called a quad-level cell (QLC)), 5 bits per cell (also called a penta-level cell (PLC)), or more than 5 bits per cell. Each MLC can be programmed to assume a range of possible nominal storage values. As an example, if each MLC stores 2 bits of data, the MLC can be programmed from an erased state to one of three possible programming levels by writing one of three possible nominal storage values to the cell, and a fourth nominal storage value can be used for the erased state.
[0031] It should be noted that the storage states mentioned in this specification are also the storage states of the memory cells mentioned in this application. Different memory cells have different numbers of storage states; for example, an SLC type memory cell has two storage states (i.e., two memory states), where the two storage states include a programming state and an erase state. As another example, an MLC type memory cell has four storage states, where the four storage states include one erase state and three programming states. As yet another example, a TLC type memory cell has eight storage states, where the eight storage states include one erase state and seven programming states. In some embodiments, a QLC type memory cell has 16 storage states, where the 16 storage states include one erase state and 15 programming states.
[0032] As illustrated in FIG. 3b, each memory string (308) may include a lower select gate (BSG) (310) (also referred to as a source-side select gate) at its source terminal and an upper select gate (TSG) (312) (also referred to as a drain-side select gate) at its drain terminal. The BSG (310) and TSG (312) may be configured to activate the selected memory cell string (308) during a read operation and a program operation. In some embodiments, the sources of memory strings (308) within the same memory block (304) are combined through the same source line (SL) (314) (e.g., a common SL). That is, according to some embodiments, all memory strings (308) within the same memory block (304) have an array common source (ACS). According to some embodiments, the TSG (312) of each memory string (308) is coupled to a corresponding bit line (BL) (316), and data can be read or written from this bit line through an output bus (not shown). In some embodiments, each memory string (308) is configured to be selected or deselected by applying a select voltage (e.g., a voltage exceeding the threshold voltage of the transistor having the TSG (312)) or a deselect voltage (e.g., 0V) to the corresponding TSG (312) through one or more TSG lines (313), or by applying a select voltage (e.g., a voltage exceeding the threshold voltage of the transistor having the BSG (310)) or a deselect voltage (e.g., 0V) to the corresponding BSG (310) through one or more BSG lines (315).
[0033] As illustrated in FIG. 3b, the memory string (308) may be composed of a plurality of memory blocks (304), and each memory block may have a common source line (314) (e.g., coupled to ground). In some embodiments, each memory block (304) is the basic data unit for an erase operation, that is, all memory cells (306) on the same memory block (304) are erased simultaneously. To erase memory cells (306) within a selected memory block (304), the source line (314) coupled to the selected memory block (304) and the deselected memory block (304) in the same plane as the selected memory block (304) may be biased to an erase voltage (Vers) (e.g., a high positive voltage (e.g., 20V or higher)). It should be understood that in some examples, the erase operation may be performed at a half-memory block level, a quarter-memory block level, or at a level having any appropriate number of memory blocks or any appropriate fraction of memory blocks. Memory cells (306) of adjacent memory strings (308) may be combined through a word line (318) that selects a row of memory cells (306) affected by read and program operations. In some embodiments combined with FIG. 3a, a plurality of memory cells are isolated by an upper select gate isolation structure and a gate isolation structure, and a plurality of memory cells between the upper select gate isolation structure and the gate isolation structure are arranged in a plurality of memory cell rows, each memory cell row being parallel to the gate isolation structure and the upper select gate isolation structure. Memory cells sharing the same word line within a memory slice form a physical page (320), and each physical page (320) can be mapped to at least one logical page according to the storage mode (e.g., the aforementioned SLC or MLC) of the corresponding memory cell (306), and the logical page can form a basic data unit for program operations and read operations.
[0034] Referring to FIGS. 3a and 3b, each memory cell (306) among a plurality of memory cells is coupled to a corresponding word line (318), and each memory string (308) is coupled to a corresponding bit line (316) through a corresponding selection transistor (e.g., upper selection transistor (TSG) (312)).
[0035] FIG. 4 illustrates a schematic cross-sectional view of an exemplary memory cell array (301), such as a NAND, including a memory string (308) according to some aspects of the present application. As illustrated in FIG. 4, the NAND memory cell array (301) may include a stacked structure (410), the stacked structure (410) may include multiple gate layers (411) and multiple insulating layers (412) stacked alternately in sequence, and a channel structure that vertically penetrates the gate layers (411) and insulating layers (412), the channel structure being coupled to each gate layer to form a memory cell, and the channel structure being coupled to the multiple gate layers within the stacked structure (410) to form a memory string (308). The gate layers (411) and insulating layers (412) may be stacked alternately, and two adjacent gate layers (411) are separated by insulating layers (412).
[0036] The constituent material of the gate layer (411) may include a conductive material. The conductive material includes, but is not limited to, tungsten (W), cobalt (Co), copper (Cu), aluminum (Al), polysilicon, doped silicon, silicide, or a combination thereof. In some examples, each gate layer (411) includes a metal layer, e.g., a tungsten layer. In some examples, each gate layer (411) includes a doped polysilicon layer. Each gate layer (411) may include a control gate surrounding a memory cell. The gate layer (411) at the top of the stacked structure (410) may extend laterally as an upper select gate line, and the gate layer (411) at the bottom of the stacked structure (410) may extend laterally as a lower select gate line, and the gate layer (411) extending laterally between the upper select gate line and the lower select gate line may serve as a word line layer.
[0037] In some examples, the stacked structure (410) may be placed on a substrate (401). The substrate (401) may comprise silicon (e.g., single-crystalline silicon), silicon germanium (SiGe), gallium arsenide (GaAs), germanium (Ge), silicon-on-insulator (SOI), germanium-on-insulator (GOI), or any other suitable material.
[0038] In some examples, the memory string (308) includes a channel structure extending vertically through a stacked structure (410). In some embodiments, the channel structure includes channel holes filled with a semiconductor material (e.g., a semiconductor channel) and a dielectric material (e.g., a memory film). In some embodiments, the semiconductor channel includes silicon, e.g., polysilicon. In some embodiments, the memory film is a composite dielectric layer including a tunneling layer, a storage layer (also referred to as a "charge trapping / storage layer"), and a blocking layer. The channel structure may have a cylindrical shape (e.g., a pillar shape). According to some embodiments, the semiconductor channel, tunneling layer, storage layer, and blocking layer are arranged radially in this order from the center of the pillar toward the outer surface of the pillar. The tunneling layer may include silicon oxide, silicon oxynitride, or any combination thereof. The storage layer may include silicon nitride, silicon oxynitride, or a combination thereof. The barrier layer may include silicon oxide, silicon oxynitride, a high-k (high dielectric constant) dielectric, or a combination thereof. For example, the memory film may include a composite layer of silicon oxide / silicon oxynitride / silicon oxide (ONO).
[0039] Referring again to FIG. 3b, the peripheral circuit (302) may be coupled to the memory cell array (301) through a bit line (316), a word line (318), a source line (314), a BSG line (315), and a TSG line (313). The peripheral circuit (302) may include any suitable analog, digital, and mixed-signal circuits to facilitate operations of the memory cell array (301) by applying at least one of a voltage signal or a current signal to each target memory cell (306) through the bit line (316), the word line (318), the source line (314), the BSG line (315), and the TSG line (313), and by detecting at least one of a voltage signal or a current signal from each target memory cell. The peripheral circuit (302) may include various types of peripheral circuits formed using metal oxide semiconductor (MOS) technology. For example, FIG. 5 illustrates some exemplary peripheral circuits, and the peripheral circuits include a page buffer / sensing amplifier (504), a column decoder / bit line driver (506), a row decoder / word line driver (508), a voltage generator (510), control logic (512), a register (514), an interface (516), and a data bus (518). It should be understood that in some examples, additional peripheral circuits not shown in FIG. 5 may be included.
[0040] The page buffer / sensing amplifier (504) may be configured to read data from the memory cell array (301) and program (write) data to the array according to a control signal from the control logic (512). In one example, the page buffer / sensing amplifier (504) may store programming data (write data) to be programmed into the memory cell array (301). In another example, the page buffer / sensing amplifier (504) may perform a programming verification operation to check whether data has been correctly programmed into the memory cell (306) coupled to the selected word line (318). In another example, the page buffer / sensing amplifier (504) may detect a low-power signal from the bit line (316) representing the data bit stored in the memory cell (306) and amplify a small voltage swing to a recognizable logic level during the read operation. The column decoder / bit line driver (506) may be configured to be controlled by control logic (512) and may be configured to select one or more memory strings (308) by applying a bit line voltage generated from a voltage generator (510).
[0041] The row decoder / word line driver (508) may be configured to be controlled by control logic (512) and may select / deselect memory blocks (304) of memory cell array (301) and select / deselect word lines (318) of memory blocks (304). The row decoder / word line driver (508) may also be configured to drive word lines (318) with word line voltages generated from voltage generator (510). In some embodiments, the row decoder / word line driver (508) may select / deselect and drive BSG lines (315) and TSG lines (313). As described in detail below, the row decoder / word line driver (508) is configured to perform programming operations on memory cells (306) coupled to selected word lines (318). The voltage generator (510) can be configured to be controlled by control logic (512) and can generate word line voltages (e.g., read voltage, programming voltage, pass voltage, channel boost voltage, verification voltage, etc.), bit line voltages and source line voltages supplied to the memory cell array (301).
[0042] The control logic (512) may be coupled to each of the other parts of the peripheral circuit described above and may be configured to control the operation of each of the other parts of the peripheral circuit. A register (514) may be coupled to the control logic (512) and may include a status register, a command register, and an address register for storing status information, a command operation code (OP code), and a command address for controlling the operation of each of the peripheral circuits. An interface (I / F) (516) may be coupled to the control logic (512) and may serve as a control buffer that buffers control commands received from a host (not shown) and relays them to the control logic (512), and buffers status information received from the control logic (512) and relays it to the host. The interface (516) may also be coupled to a column decoder / bit line driver (506) via a data bus (518) and may serve as a data I / O interface and data buffer for buffering and relaying data to / from the memory cell array (301).
[0043] The basic principle of 3D NAND memory is that carriers (electrons or holes) inject a specific amount of charge into the memory cell by crossing a charge barrier to complete the data writing process, and then, when the memory cell is turned on, the stored data can be read according to the threshold voltage. Therefore, to read the correct data, an ECC error correction algorithm with strong error correction capabilities and high efficiency is typically introduced when reading data.
[0044] However, as usage time increases, the charge stored in the memory cell changes due to factors such as increased usage time, repetitive read operations, and temperature fluctuations, affecting data reading accuracy. When the threshold voltage shifts significantly above or below the original read voltage while reading data from the memory cell, the probability of read errors increases significantly, and the data reading from the memory cell will fail due to read errors exceeding the ECC error correction function.
[0045] FIG. 6 illustrates a schematic diagram of an exemplary read operation flow of a memory system. In combination with FIG. 6, when a memory controller controls a memory device to perform a read operation, a default read operation (FW) is first performed on the memory cell of the corresponding physical address, and if the default read operation fails, a read retry operation is performed, and after the read retry operation fails, a soft decode operation is performed, and after the soft decode fails, a RAID (Redundant Array of Independent Disk) operation is performed, and after the RAID operation fails, the read operation is stopped, and if the read fails because the error cannot be corrected, the memory controller transmits a read failure signal to the host (108). The read retry operation and the default read operation may be applied to the hard decode.
[0046] In some embodiments, the read retry operation can generally be performed by querying a retry table provided by the manufacturer. The nature of the read retry operation is an error correction mechanism; the retry table may provide a reference voltage for reading data, and by querying the retry table, each memory cell is attempted to be read again at a read voltage deviating from the normal threshold voltage, and the data is attempted to be read correctly in combination with an ECC error correction algorithm for error correction. If the erroneous read data is corrected, the query to the retry table is stopped. If the erroneous read data cannot be corrected, the retry table will be queried until the entire retry table is traversed.
[0047] The previously described read retry operation requires querying the retry table one by one, which inevitably increases the number of retries and takes a long time. Furthermore, the retries provided by the manufacturer are merely reference values for certain specific environments, and since actual usage scenarios are constantly changing, the retry tables provided by the manufacturer cannot cover many scenarios; consequently, even if the retry table is traversed, data is not corrected, which can lead to a significant waste of time in processing commands. In summary, the method of performing read retry operations by repeatedly polling the retry table is time-consuming, affects the response time of subsequent commands, and consequently impacts the performance of the device.
[0048] Based on one or more problems described above, embodiments of the present application propose a method for operating a memory device.
[0049] FIG. 7 is a schematic flowchart of one embodiment of a method for operating a memory device provided by one example of the present application. The memory device comprises a memory cell array, the memory cell array comprises a plurality of memory cells, and a preset number of memory cells form a code word (CW). As illustrated in FIG. 7, the method for operating the memory device comprises the following operations:
[0050] Operation (S10): A step of obtaining a first state corresponding to a codeword at a current read voltage, wherein the first state includes a state for indicating a magnitude relationship between the number of flipped bits in the codeword and a first preset value in two read results at the corresponding read voltage and an adjacent voltage of the corresponding read voltage.
[0051] Operation (S20): A step of performing multiple adjustments on the current read voltage and obtaining a first state corresponding to a code word at the read voltage after each adjustment.
[0052] Operation (S30): A step of determining a valley voltage according to a variation trend of the magnitude relationship between the number of flipped bits and a first preset value indicated by a plurality of acquired first states, wherein the valley voltage becomes a read voltage for performing a read operation on a codeword.
[0053] Here, the structure of the memory device refers to Figure 3b described earlier, so it will not be repeated here.
[0054] Here, there is a preset number of memory cells that form a single codeword.
[0055] In some examples, when error correction encoding or decoding is performed, the number of memory cells contained in a single codeword is the same as the number of memory cells contained in a single encoding or decoding. In some examples, a single codeword is 2 4 to 2 12It can contain memory cells. As an example, a codeword is 2 4 , 2 8 , or 2 12 It can include several memory cells.
[0056] Generally, various memory systems can select codewords of different sizes to meet requirements for performance, reliability, and storage space.
[0057] Memory cells of various types of memory devices (e.g., MLC, TLC, or QLC) can store different numbers of bits; therefore, for a codeword of the same size, the number of included memory cells may differ.
[0058] For example, in one implementation, the size of the codeword is 4KB, and assuming the memory cells in the memory cell array are MLC, since each memory cell stores 2 bits, the number of memory cells included in the codeword is 2 11 am.
[0059] For example, in another implementation, where the codeword size is 4KB and the memory cells in the memory cell array are QLC, for example, since each memory cell stores 4 bits, the number of memory cells included in the codeword is 2 10 am.
[0060] In fact, there may be additional space reserved for management and error correction in the code word, and as a result, the number of memory cells actually required may slightly exceed the calculation result described above.
[0061] It can be understood that a code word may include multiple memory cells, and that the number of memory cells included in a single code word may be adjusted according to the actual situation.
[0062] In some examples, the read mode of the memory device is set to a single-level read (SLR) mode before acquiring a first state corresponding to a codeword at the current read voltage, and the single-level read mode includes reading at least one bit of stored data stored in a memory cell using a read voltage at one level.
[0063] In some examples, a memory cell contains M bits, a memory device contains an M-type page, and a memory cell having M bits reads M bits of its stored data with a read voltage at N levels, where M and N are both integers greater than 1, and N=2 M It is -1, and the method is,
[0064] For the read voltage at each level of the multiple levels corresponding to each type of page, the method further includes the step of determining the valley voltage at each level according to a plurality of first states corresponding to a plurality of read voltages at each level.
[0065] In one example, when the number of bits stored in a memory cell includes 3 bits, the corresponding storage states include states 0 through 7. Referring to FIG. 8, the 8 states are state 0 (also called erase state) E, state 1 (also called first storage state) P1, state 2 (also called second storage state) P2 ... state 7 (also called seventh storage state) P7, and the binary data corresponding to the 8 states are 111, 110, 100, 000, 010, 011, 001, and 101, respectively. Thus, the memory device includes three types of pages: lower page (LP), middle page (MP), and upper page (UP).
[0066] For example, the memory cell illustrated in FIG. 8 can be read by a 3-bit memory cell having 3 bits and 8 states of stored data with 7 levels of read voltage (as illustrated in FIG. 8, a first level read voltage L1, a second level read voltage L2, a third level read voltage L3, a fourth level read voltage L4, a fifth level read voltage L5, a sixth level read voltage L6, and a seventh level read voltage L7).
[0067] In some examples, a method for operating a memory device further includes the step of determining a valley voltage at each level according to a plurality of first states corresponding to a plurality of read voltages at each level for a read voltage at each level of a plurality of levels corresponding to a page of each type.
[0068] In one example, each page type corresponds to a read voltage at multiple levels. As illustrated in FIG. 8, the lower page corresponds to a first-level read voltage L1 and a fifth-level read voltage L5. The middle page corresponds to a second-level read voltage L2, a fourth-level read voltage L4, and a sixth-level read voltage L6. The upper page corresponds to a third-level read voltage L3 and a seventh-level read voltage L7. For the first-level read voltage L1 and the fifth-level read voltage L5 corresponding to the lower page, the valley voltage of the first-level read voltage L1 can be determined according to a plurality of first states corresponding to a plurality of read voltages of the first-level read voltage L1. Then, the valley voltage of the fifth-level read voltage L5 can be determined according to a plurality of first states corresponding to a plurality of read voltages of the fifth-level read voltage L5, and thus the valley voltage can be obtained at the read voltage at each level of the read voltage at multiple levels corresponding to the lower page. The process of determining the valley voltage of the read voltage at each level of the read voltage in the multiple levels corresponding to the middle and upper pages is similar to that of the lower page, so it is not repeated here.
[0069] Since the lower page is generally closest to the source / drain, the valley voltage of the read voltage at each level of the multi-level read voltage corresponding to the lower page is determined with a higher priority, which results in the fastest access speed and shortest response time, while ensuring balanced performance and durability during data access.
[0070] It should be noted that in the embodiments of the present application, the method for determining the valley voltage of the read voltage at each level of the read voltage in multiple levels corresponding to the lower page with higher priority is merely illustrative and is not used to limit the order in which the valley voltage of the read voltage at each level of the read voltage in multiple levels corresponding to each page type is determined.
[0071] In one example, when the number of bits stored in a memory cell includes 4 bits, the corresponding storage states include states 0 through 15. Referring to FIG. 9, the 16 states are state 0 (also called erase state) E, state 1 (also called first storage state) P1, state 2 (also called second storage state) P2 ... state 15 (also called fifth storage state) P15, and the binary data corresponding to the 16 states are 1111, 0111, 0110 ... 1110, respectively. Thus, the memory device includes four types of pages: a lower page, a middle page, an upper page, and an additional page (XP). Here, the 4 stored bits corresponding to the 16 states are stored in the lower page, middle page, upper page, and additional page, respectively.
[0072] For example, the memory cell illustrated in FIG. 9 can be read by a 4-bit memory cell having 15 levels of read voltage (as illustrated in FIG. 9, a first level read voltage L1, a second level read voltage L2, a third level read voltage L3, a fourth level read voltage L4, a fifth level read voltage L5, a sixth level read voltage L6, a seventh level read voltage L7, an eighth level read voltage L8, a ninth level read voltage L9, a tenth level read voltage L10, an eleventh level read voltage L11, a twelfth level read voltage L12, a thirteenth level read voltage L13, a fourteenth level read voltage L14, and a fifteenth level read voltage L15).
[0073] In one example, each page type corresponds to a read voltage at multiple levels. As shown in FIG. 9, the lower page corresponds to a second-level read voltage L2, an eighth-level read voltage L8, and a fourteenth-level read voltage L14. The middle page corresponds to a third-level read voltage L3, a seventh-level read voltage L7, a ninth-level read voltage L9, and a thirteenth-level read voltage L13. The upper page corresponds to a fifth-level read voltage L5, a tenth-level read voltage L10, a twelfth-level read voltage L12, and a fifteenth-level read voltage L15. The additional page corresponds to a first-level read voltage L1, a fourth-level read voltage L4, a sixth-level read voltage L6, and an eleventh-level read voltage L11.
[0074] For the second level read voltage L2, eighth level read voltage L8, and fourteenth level read voltage L14 corresponding to the lower page, the valley voltage of the second level read voltage L2 can be determined according to a plurality of first states corresponding to a plurality of read voltages of the second level read voltage L2. Then, the valley voltage of the eighth level read voltage L8 can be determined according to a plurality of first states corresponding to a plurality of read voltages of the eighth level read voltage L8. Finally, the valley voltage of the fourteenth level read voltage L14 can be determined according to a plurality of first states corresponding to a plurality of read voltages of the fourteenth level read voltage L14, and thus, the valley voltage can be obtained from the read voltage at each level of the multiple levels of read voltages corresponding to the lower page. The process of determining the valley voltage of the read voltage at each level of the multiple levels of read voltages corresponding to the middle page and the upper page is similar to that of the lower page and is therefore not repeated here.
[0075] FIG. 10 is a schematic diagram of a method for determining a valley voltage within a first level read voltage L1 corresponding to the bottom page illustrated in FIG. 8 provided by one example of the present application. FIG. 11 is a flowchart of a method for operating a memory device provided by one example of the present application. The process of determining the valley voltage can be described in detail below in combination with FIG. 8, 10, and 11.
[0076] In operation (S301), a first preset value and a second preset value are obtained, and the first preset value may be obtained based on past data, and in some examples, the first preset value is smaller than the upper limit of the fail bit count (FBC) supported by the memory device.
[0077] In operation (S302), data stored in a code word at the current read voltage is read to obtain a first result, and the first result is stored in a first latch of a memory device.
[0078] In one example, as illustrated in FIG. 10, data stored in a codeword is read at a current read voltage V0 to obtain a first result. In one example, data stored in the lower page of a memory cell of a codeword is read at a current read voltage V0, memory cells with a threshold voltage lower than the current read voltage V0 are labeled with bit 1, and memory cells with a threshold voltage higher than the current read voltage V0 are labeled with bit 0, and thus a first result is obtained and stored in a first latch of a memory device.
[0079] The current read voltage V0 used here for the first time may refer to a preset read voltage capable of distinguishing two adjacent storage states of a memory cell of the memory device during a previous read process, wherein the preset read voltage may be an empirical value or a default value configured when the memory device is shipped from the factory, where the default value is obtained through extensive simulation experiments prior to the memory device being shipped from the factory.
[0080] In operation (S303), a first adjustment is performed on the current read voltage, and data stored in the code word is read at the adjusted current read voltage to obtain a second result, and the second result is stored in the second latch of the memory device.
[0081] In one example, as shown in FIG. 10, a first adjustment is performed on the current read voltage V0, and data stored in the codeword can be read at the adjusted current read voltage (V1 shown in FIG. 10) to obtain a second result. In one example, data stored in the lower page of a memory cell within the codeword is read at the adjusted current read voltage (V1 shown in FIG. 10), memory cells with a threshold voltage lower than the adjusted current read voltage (V1 shown in FIG. 10) are labeled as bit 1, and memory cells with a threshold voltage higher than the adjusted current read voltage (V1 shown in FIG. 10) are labeled as bit 0, thereby obtaining a second result and storing it in a second latch of the memory device.
[0082] As shown in FIG. 10, there is a first voltage difference ΔV1 between the current reading voltage V0 and the adjusted current reading voltage V1, and the magnitude of the first voltage difference is the magnitude of the first adjustment. The amplitude of the magnitude of the first adjustment is relatively small, and the first adjustment can be understood as an adjustment with a small amplitude.
[0083] In one example, the range of the step size of the first adjustment is set to 5mV to 20mV, and in particular, the step size of the first adjustment may be 5mV, 10mV, 15mV, and 20mV.
[0084] In operation (S304), a logical operation is performed on the first result and the second result to obtain the third result, and the third result is stored in the third latch of the memory device.
[0085] In one example, as illustrated in FIG. 10, an XOR operation is performed on the first result and the second result to obtain a third result, and the third result is stored in the third latch of the memory device.
[0086] The XOR operation is one of the basic logical operations, and in binary, if two binary numbers at the same position are the same, the result is "0", and if two binary numbers at the same position are different, the result is "1" (i.e., 0 if same, 1 if different).
[0087] As shown in FIG. 10, the part where the bit is 1 in the third result represents the number of memory cells with different threshold voltages at the current read voltage V0 and the adjusted current read voltage V1; in other words, the part where the bit is 1 in the third result represents the number of bits Y1 within the flipped codeword in the two results read at the current read voltage V0 and the adjusted current read voltage V1.
[0088] In operation (S305), the number of bits in the third result representing the flip of bits in the second result for the first result is compared with the first preset value, and it is determined whether the number of bits in the third result representing the flip of bits in the second result for the first result is greater than the first preset value.
[0089] When the number of bits in the third result representing the flip of bits in the second result for the first result is greater than the first preset value, operation (S306) is performed, and the first state is obtained as a failed state.
[0090] When the number of bits in the third result representing the flip of bits in the second result for the first result is less than or equal to the first preset value, operation (S307) is performed, and the first state is obtained as a pass state.
[0091] In some examples, the first preset value is smaller than the upper limit of the bad bit count supported by the memory device. The upper limit of the bad bit count supported by the memory device means that bad bits within the upper limit can be detected and corrected through an embedded error correction mechanism, but bad bits exceeding the upper limit cannot be corrected. As one example, when the number of bits in the third result representing the flip of a bit in the second result for the first result is greater than the first preset value, and the read voltage corresponding to the first state becomes a valley voltage, it means that the read result may contain an uncorrectable error, and data integrity and reliability may be threatened. Therefore, when the number of bits in the third result representing the flip of a bit in the second result for the first result is less than the first preset value, the first state can be obtained as a pass state.
[0092] The magnitude of the first preset value is related to the type of memory device, storage density, etc. The first preset value may be an empirical value or a default value configured when the memory device is shipped from the factory, wherein the default value is obtained through extensive simulation experiments before the memory device is shipped from the factory. In one example, the range of the first preset value is set to 70 to 120, and in another example, the first preset value may be 70, 80, 90, 100, 110, 120.
[0093] After operation (S306) or operation (S307) is performed, operation (S308) is subsequently performed. In operation (S308), a second adjustment is performed on the current read voltage, the magnitude of the second adjustment is greater than the magnitude of the first adjustment, and the magnitude of the second adjustment is a fixed value.
[0094] In one example, as illustrated in FIG. 10, a second adjustment can be performed on the current read voltage V0 to obtain a first adjusted read voltage V2, and a second voltage difference ΔV2 exists between the current read voltage V0 and the first adjusted read voltage V2, and the magnitude of the two voltage differences ΔV2 is the magnitude of the second adjustment. The magnitude of the second adjustment is greater than the magnitude of the first adjustment, that is, the second voltage difference ΔV2 is greater than the first voltage difference ΔV1. The magnitude of the second adjustment is relatively large, and the second adjustment can be understood as an adjustment with a large amplitude.
[0095] In some examples, the magnitude of the second adjustment is set to 50mV to 80mV, for example, the magnitude of the second adjustment may be 50mV, 60mV, 70mV, or 80mV.
[0096] For the first time, the direction of the second adjustment to be performed on the current read voltage V0 may be random, and it is only necessary to ensure that the absolute value of the voltage difference between the first adjusted read voltage V2 and the current read voltage V0 obtained after performing the second adjustment on the current read voltage V0 is equal to the magnitude of the increase or decrease of the second adjustment. The first adjusted read voltage V2 may be less than or equal to the current read voltage V0.
[0097] After operation (S308) is performed, it returns to operation (S302). It should be noted that here, the current read voltage is updated to the first adjusted read voltage V2.
[0098] When returning to operation (S302), data stored in the lower page of a memory cell within a code word is read at a first adjusted read voltage V2, memory cells with a threshold voltage lower than the first adjusted read voltage V2 are labeled as bit 1, memory cells with a threshold voltage higher than the first adjusted read voltage V2 are labeled as bit 0, a first result is obtained and stored in the first latch of the memory device.
[0099] Operation (S303) is performed, a first adjustment is performed on the adjusted target read voltage V2, and data stored in the codeword is read at the first adjusted read voltage (V3 shown in FIG. 10) after adjustment to obtain a second result. In one example, data stored in the lower page of a memory cell within the codeword is read at the first adjusted read voltage (V3 shown in FIG. 10) after adjustment, memory cells with a threshold voltage lower than the first adjusted read voltage (V3 shown in FIG. 10) after adjustment are labeled as bit 1, memory cells with a threshold voltage higher than the first adjusted read voltage (V3 shown in FIG. 10) after adjustment are labeled as bit 0, and a second result is obtained and stored in the second latch of the memory device. Here, it should be noted that the first adjusted read voltage (V3 shown in FIG. 10) after adjustment is the second read voltage.
[0100] Operation (S304) is performed, and an XOR operation is performed on the first result and the second result to obtain a third result, and the third result is stored in the third latch of the memory device. In one example, as shown in FIG. 10, the part where the bit is 1 in the third result indicates the number of memory cells where the threshold voltage is different at the first adjusted read voltage V2 and the first adjusted read voltage after adjustment (V3 in FIG. 10). In other words, the part where the bit is 1 in the third result indicates the number of bits Y2 within the flipped codeword in the two results read at the first adjusted read voltage V2 and the second adjusted read voltage after adjustment (V3 in FIG. 10).
[0101] In operation (S305), the number of bits in the third result representing the flip of bits in the second result for the first result is compared with a first preset value to determine whether the number of bits in the third result representing the flip of bits in the second result for the first result is greater than the first preset value.
[0102] When the number of bits in the third result representing the flip of bits in the second result for the first result is greater than the first preset value, operation (S306) is performed, and the first state corresponding to the code word at the first adjusted read voltage V2 is obtained as a failure state.
[0103] When the number of bits in the third result representing the flip of bits in the second result for the first result is less than or equal to the first preset value, operation (S307) is performed, and a first state corresponding to the code word at the first adjusted read voltage V2 is obtained as a pass state.
[0104] It may be understood that operations (S302) through (S308) must be performed in a loop so that an adjustment is performed on the current read voltage and a first state corresponding to a code word is obtained at the read voltage after each adjustment. In practice, the number of times operations (S302) through (S308) are performed in the loop may be changed according to actual needs, and the claims of the present application should not be unduly limited thereto.
[0105] In some examples, operation (S309) is performed after operations (S302) through (S308) have been performed three times in the loop.
[0106] In some examples, after a first state corresponding to a code word is obtained at a first adjusted read voltage V2, step (S308) is performed again as shown in FIG. 10, and a second adjustment is performed on the first adjusted read voltage V2 to obtain a second read voltage, and a second voltage difference exists between the first adjusted read voltage V2 and the second adjusted read voltage.
[0107] After operation (S308) is performed, it returns to operation (S302). It should be noted that here, the current read voltage is updated to the second adjusted read voltage V4.
[0108] Return to operation (S302), whereby data stored in the lower page of the memory cell within the code word is read at the second adjusted read voltage V4 to obtain a first result, and the first result is stored in the first latch of the memory device.
[0109] Operation (S303) is performed, wherein a first adjustment is performed on a second adjusted read voltage V4, and the data stored in the code word is read at the second adjusted read voltage (V5 shown in FIG. 10) after adjustment to obtain a second result, and the second result is stored in a second latch of the memory device.
[0110] Operation (S304) is performed, and an XOR operation is performed on the first result and the second result to obtain a third result, and the third result is stored in the third latch of the memory device. In one example, as shown in FIG. 10, the part where the bit is 1 in the third result represents the number of bits Y3 in the flipped codeword in the two results read at the second adjusted read voltage V4 and the second adjusted read voltage after adjustment (V5 in FIG. 10). Here, it should be noted that the second adjusted read voltage after adjustment (V5 in FIG. 10) is the second read voltage.
[0111] In operation (S305), the number of bits in the third result representing the flip of bits in the second result for the first result is compared with a first preset value to determine whether the number of bits in the third result representing the flip of bits in the second result for the first result is greater than the first preset value. When the number of bits in the third result representing the flip of bits in the second result for the first result is greater than the first preset value, operation (S306) is performed, and a first state corresponding to the code word at the second adjusted read voltage V4 is obtained as a failing state. When the number of bits in the third result representing the flip of bits in the second result for the first result is less than or equal to the first preset value, operation (S307) is performed, and a first state corresponding to the code word at the second adjusted read voltage V4 is obtained as a passing state.
[0112] Accordingly, three corresponding first states are obtained at three different read voltages. In some embodiments, as shown in FIG. 10, Y1 is greater than the first preset value, and the first state corresponding to the codeword at the current read voltage V0 is a failing state. Y2 is greater than the first preset value, and the first state corresponding to the codeword at the first adjusted read voltage V2 is a failing state. Y3 is less than the first preset value, so the first state corresponding to the codeword at the second adjusted read voltage V4 is a passing state.
[0113] After a preset number of first states is obtained, operation (S309) is continued. In operation (S309), it is determined whether multiple first states corresponding to the read voltage after multiple adjustments are all in a failing state.
[0114] After multiple adjustments, if one or more of the multiple first states corresponding to the read voltage exist as a pass state, operation (S310) is performed. In one example, the three first states corresponding to the three different read voltages shown in FIG. 10 are, in order, a fail state, a fail state, and a pass state. Accordingly, if one of the multiple first states described above exists as a pass state, operation (S310) continues to be performed.
[0115] In operation (S310), after multiple adjustments, it is determined whether a first passing state occurs after a failing state among a plurality of first states corresponding to the read voltage.
[0116] Operation (S311) is performed when the first pass state after a fail state occurs among a plurality of first states corresponding to the read voltage after multiple adjustments. In one example, the fluctuation trends of the three first states corresponding to three different read voltages shown in FIG. 10 may be a fail state, a fail state, and a pass state, that is, among the plurality of first states described above, it may be the first pass state after a fail state occurs.
[0117] If the first pass state after a fail state occurs among a plurality of first states corresponding to the read voltage after multiple adjustments, the operation (S311) is returned. In one example, the fluctuation trends of the three first states corresponding to three different read voltages may be a pass state, a fail state, and a fail state, the operation (S308) is returned, a second adjustment is performed on the read voltage adjusted after the previous adjustment, and a first state is obtained at the adjusted voltage.
[0118] In operation (S311), after the first pass state occurs following the fail state among the plurality of first states corresponding to the read voltage after multiple adjustments, a third adjustment is performed on the read voltage after the previous adjustment, and the magnitude of the increase or decrease of the third adjustment is smaller than the magnitude of the increase or decrease of the second adjustment.
[0119] After a first passing state occurs following a failing state among a plurality of first states corresponding to a reading voltage after multiple adjustments, by reducing the magnitude of the increase or decrease adjusted for the reading voltage after the previous adjustment, more first states can be obtained as passing states at a reading voltage close to the reading voltage at which the first passing state is obtained, thereby increasing the basis for determining the valley voltage.
[0120] In one example, as illustrated in FIG. 10, a third adjustment can be performed on a second adjusted read voltage V4 to obtain a third adjusted read voltage V6, and a third voltage difference ΔV3 exists between the second adjusted read voltage V4 and the third adjusted read voltage V6, and the magnitude of the third voltage difference ΔV3 is the magnitude of the increase / decrease of the third adjustment. The magnitude of the increase / decrease of the third adjustment is smaller than the magnitude of the increase / decrease of the second adjustment, that is, the third voltage difference ΔV3 is smaller than the second voltage difference ΔV2. Since the magnitude of the increase / decrease of the third adjustment is relatively small, the third adjustment can be understood as an adjustment with a small amplitude.
[0121] In one example, the range of the increase / decrease magnitude of the third adjustment is set to 20mV to 40mV, and in some examples, the increase / decrease magnitude of the third adjustment can be 20mV, 25mV, 30mV, 35mV, and 40mV.
[0122] It should be noted that after operation (S311) is performed, the first state corresponding to the codeword at the read voltage after the third adjustment is obtained by executing the method of operations (S302 to S307).
[0123] In one example, a first state corresponding to a codeword at a third adjusted read voltage V6 is obtained. As illustrated in FIG. 10, data stored in the lower page of a memory cell within the codeword is read at the third adjusted read voltage V6 to obtain a first result, and the first result is stored in a first latch of the memory device. A first adjustment is performed at the third adjusted read voltage V6, and data stored in the codeword is read at the third adjusted read voltage after adjustment (V7 shown in FIG. 10) to obtain a second result, and the second result is stored in a second latch of the memory device. An XOR operation is performed on the first result and the second result to obtain a third result, and the third result is stored in a third latch of the memory device. The portion of the third result where the bit is 1 represents the number of bits Y4 within the codeword that are flipped in the two results read at the third adjusted read voltage V6 and the third adjusted read voltage after adjustment (V7 in FIG. 10).
[0124] The number of bits in the third result, representing the flip of bits in the second result for the first result, is compared with the first preset value to obtain a first state corresponding to a code word at the third adjusted read voltage V6. For example, as shown in FIG. 10, since Y4 is smaller than the first preset value, the first state corresponding to a code word at the third adjusted read voltage V6 is a pass state. In another embodiment, after a first pass state occurs following a fail state across a plurality of first states corresponding to the read voltage after multiple adjustments, a fourth adjustment is performed on the read voltage after the previous adjustment according to the third result corresponding to the first pass state.
[0125] In some examples, the magnitude of the fourth adjustment varies according to the number of bits in the third result representing the flip of bits in the second result relative to the first result.
[0126] As illustrated in FIG. 10, the first state corresponding to the second adjusted read voltage V4 is the first pass state after a fail state occurs among a plurality of first states corresponding to the read voltage after multiple adjustments, and a fourth adjustment is performed on the second adjusted read voltage V4 according to the counted number for the third result corresponding to the second adjusted read voltage V4. In some examples where the number of bits in the third result corresponding to the second adjusted read voltage V4, representing the flip of bits in the second result for the first result, is counted, if the counted result is smaller than 0.5 times the first preset value, the number of flipped bits can be considered small, which means that the error rate of the read result obtained by performing a read operation with the second adjusted read voltage V4 is very low. Therefore, the increment / decrement size of the fourth adjustment can be adjusted to be larger than the increment / decrement size of the second adjustment, and the efficiency is improved by being able to search for possible states faster through the increased increment / decrement size.
[0127] If the counted result is 0.5 times or more of the first preset value, the number of flipped bits is within the upper limit of the bad bit count supported by the memory device, but the number of flipped bits can be considered to be large, which means that the error rate of the read result obtained by performing a read operation with the second adjusted read voltage V4 is high. Therefore, the increment / decrement size of the fourth adjustment can be adjusted to be smaller than the increment / decrement size of the second adjustment, and by reducing the increment / decrement size, more first states can be obtained as acceptance states at a read voltage close to the second adjusted read voltage V4 corresponding to the first acceptance state, thereby increasing the basis for determining the valley voltage.
[0128] The method described above flexibly and dynamically adjusts the magnitude of the increase or decrease of the fourth adjustment by counting the number of bits in the third result corresponding to the first pass state, which can improve system performance and accuracy.
[0129] When operation (S312) is performed after operation (S311), and when a plurality of first states corresponding to the read voltage after multiple adjustments show a change from a failing state to at least one passing state, and then back to a failing state, operation (S313) is performed to stop the read voltage adjustment and terminate the operation.
[0130] If a plurality of first states corresponding to the read voltage after multiple adjustments do not show a change from a failing state to at least one passing state, and then a change back to a failing state, the operation (S311) returns.
[0131] In some embodiments, the third adjustment is maintained until the first failure state occurs after the passing state among a plurality of first states.
[0132] In one example, since the fluctuation trends of the four first states corresponding to the four different read voltages shown in FIG. 10 may be a failure state, a failure state, a pass state, and a pass state, the operation (S311) must be returned to perform a third adjustment on the third adjusted read voltage V6 to obtain the fourth adjusted read voltage V8, and the first state corresponding to the code word at the fourth adjusted read voltage V8 is obtained.
[0133] As illustrated in FIG. 10, data stored in the lower page of a memory cell within a codeword is read at a fourth adjusted read voltage V8 to obtain a first result, and the first result is stored in a first latch of the memory device. A first adjustment is performed at the fourth adjusted read voltage V8, and data stored in the codeword is read at the fourth adjusted read voltage after adjustment (V9 shown in FIG. 10) to obtain a second result, and the second result is stored in a second latch of the memory device. An XOR operation can be performed on the first result and the second result to obtain a third result. In the third result, the portion where the bit is 1 represents the number of bits Y5 within the codeword flipped in the two results read at the fourth adjusted read voltage V2 and the fourth adjusted read voltage after adjustment (V9 in FIG. 10). Y5 is greater than the first preset value, and the first state corresponding to the codeword at the fourth adjusted read voltage V8 is a failure state.
[0134] Table 1 is an example of multiple first results obtained through multiple repetitions shown in FIG. 10.
[0135] Repetition order First state 1 Failure 2 Failure 3 Passed 4 Passed 5 Failure
[0136] When operation (S312) is continued, as can be seen in Table 1, a plurality of first states corresponding to the read voltage after multiple adjustments show a change from a failing state to at least one passing state, and then a change back to a failing state, at which point the read voltage is stopped from being adjusted and the operation is terminated. In another example, after the first failing state occurs following the passing state among the plurality of first states, a second adjustment is performed on the read voltage after the previous adjustment. As shown in Table 1 and FIG. 10, five first states are obtained after five repetitions, and in the fifth repetition, a change from a failing state to at least one passing state and then back to a failing state is obtained in the fourth adjusted read voltage V8. Here, an additional second adjustment may be performed on the fourth adjusted read voltage V8, and a first state corresponding to the fourth adjusted read voltage after adjustment may be obtained, and thus, the accuracy of determining the valley voltage based on the fluctuation trend of a plurality of first states may be further improved. In some embodiments, when the number of passing states between the two end failure states indicated by a plurality of first states corresponding to the adjusted read voltage includes an even number, the average of the adjusted read voltages corresponding to the two passing states in the middle position among the plurality of passing states will be the valley voltage.
[0137] In one example, among the multiple first states shown in Table 1, the average of the read voltages corresponding to the first states obtained in the third and fourth iterations will be the valley voltage.
[0138] It can be understood that the valley voltage of the first level read voltage L1 corresponding to the lower page shown in Fig. 8 becomes the average of the read voltages corresponding to the first state obtained in the third and fourth iterations.
[0139] In practice, the number of iterations may be changed as needed, and the embodiment in which the valley voltage is determined by obtaining five first states with five iterations is merely an example and the claims of this application should not be unduly limited thereto.
[0140] In some examples, when the number of pass states between the two end failure states indicated by a plurality of first states corresponding to the adjusted read voltage includes 1, the adjusted read voltage corresponding to one pass state will be the valley voltage. In one example, Table 2 is an example of a plurality of first states obtained through multiple iterations. Among the plurality of first states shown in Table 3, the read voltage corresponding to the first state obtained in the third iteration will be the valley voltage.
[0141] Repetition order First result 1 Failure 2 Failure 3 Passed 4 Failure
[0142] In some embodiments, when the number of pass states between the two end failure states indicated by a plurality of first states corresponding to the adjusted read voltage includes a number greater than 1, the adjusted read voltage corresponding to one pass state in the middle of the number of pass states greater than 1 is configured to become the valley voltage. In one example, Table 3 shows that the number of pass states between the two end failure states indicated by a plurality of first states corresponding to the adjusted read voltage includes 3, and the adjusted read voltage corresponding to one pass state in the middle of the three pass states will become the valley voltage, that is, the read voltage corresponding to the first state obtained in the fourth iteration will become the valley voltage.
[0143] Repetition order First state 1 Failure 2 Failure 3 Passed 4 Passed 5 Passed 6 Failure
[0144] When the result of the determination of the operation (S309) of FIG. 11 is Yes, that is, when it indicates that all of the multiple first states corresponding to the read voltage after multiple adjustment are in a failing state and no passing state occurs among the multiple first states, operation (S314) is performed. The fact that no passing state occurs among the multiple first states corresponding to the read voltage after multiple adjustment indicates that the current increase / decrease magnitude corresponding to the second adjustment is too small, so the adjustment amplitude for the voltage is small. Therefore, by increasing the increase / decrease magnitude corresponding to the second adjustment to increase the adjustment amplitude for the voltage, the speed of finding the first passing state is increased. Operation (S315) is performed after operation (S314), where the increased increase / decrease magnitude of the second adjustment is compared with the second preset value to determine whether the increased increase / decrease magnitude of the second adjustment is greater than the second preset value.
[0145] In some examples, a second preset value is used as a limit value or constraint to control the magnitude of the increase or decrease of the second adjustment in order to balance speed and accuracy. The magnitude of the second preset value is related to the type of memory device, storage density, etc. The second preset value may be an empirical value or a default value configured when the memory device is shipped from the factory, wherein the default value is obtained through extensive simulation experiments before the memory device is shipped from the factory. In one example, the range of the second preset value is set to 80mV to 100mV.
[0146] When the increased magnitude of the second adjustment is less than or equal to the second preset value, this means that when the voltage is adjusted by the magnitude of the increase, the first acceptance state is detected more quickly without a decrease in accuracy. At this time, the operation (S308) is re-executed by the increased magnitude of the second adjustment.
[0147] When the increased magnitude of the second adjustment is greater than the second preset value, this means that the first acceptance state can be found faster when the voltage is adjusted with this magnitude of adjustment, but some states may be missed due to the large adjustment amplitude, and thus the accuracy of using multiple first states as a basis for determining the valley voltage is reduced. At this time, operation (S316) is performed, where the number of memory cells corresponding to a code word is adjusted, and if the number of memory cells corresponding to one code word after adjustment is less than the number of memory cells corresponding to one code word before adjustment, operation (S302) is performed again.
[0148] It can be seen that when the increased magnitude of the second adjustment is greater than the second preset value, a balance between speed and accuracy can be achieved by reducing the number of memory cells corresponding to the codeword. In some examples, by reducing the number of memory cells corresponding to the codeword, the total amount of data included in the third result can be reduced, and the reduction in the total amount can reduce the number counted in the total amount to some extent; that is, the number of bits in the third result representing the flip of bits in the second result for the first result can be reduced, and it becomes easier for the number of bits in the third result representing the flip of bits in the second result for the first result to be within the range of the first preset value. Therefore, it is easier to find the first pass state among the multiple first states corresponding to the read voltage after multiple adjustments.
[0149] The process of determining the valley voltage at a different level of read voltage corresponding to the lower page, and the process of determining the valley voltage at a multi-level read voltage corresponding to the middle and upper pages, are similar to the method disclosed in the example described above, so they will not be explained again here.
[0150] For example, if the memory cell included in the codeword is a TLC memory cell, a read voltage at 7 levels is required to read stored data containing 3 bits and 8 states, and thus the method for determining the valley voltage disclosed in the example is performed 7 times to obtain 7 valley voltages corresponding to the read voltage at each of the 7 levels.
[0151] A method for operating a memory device provided by an embodiment of the present application takes a first state of a magnitude relationship between the number of bits in a flipped codeword and a first preset value in two read results at a corresponding read voltage and a voltage adjacent to the corresponding read voltage — the codeword includes a preset number of memory cells — performs multiple adjustments on the current read voltage, obtains a first state corresponding to the codeword at the read voltage after each adjustment, and determines a valley voltage according to a variation trend of the magnitude relationship between the number of flipped bits and the first preset value indicated by a plurality of obtained first states — the valley voltage is to be a read voltage for performing a read operation on the codeword — and this method can efficiently avoid the problems of long-term consumption and incomplete coverage caused by using a retry table, save space occupied by the retry table, and find the valley voltage more quickly and accurately, thereby efficiently reducing the time delay in determining the valley voltage and improving product reliability and user experience.
[0152] It should be noted that while the method disclosed in the embodiments of this application can solve many problems present in read retry operations, it is not intended to limit the application scenarios of the embodiments of this application, and the method disclosed in the embodiments of this application is also applicable to existing read operations.
[0153] One example of the present application provides a memory device as illustrated in FIG. 3b, wherein the memory device (300) comprises a memory cell array (301) comprising a plurality of memory cells (306), a preset number of memory cells (306) forming a single code word, and a peripheral circuit (302) coupled to the memory cell array (301) and configured to perform the following operation illustrated in FIG. 7:
[0154] Operation (S10): A step of obtaining a first state corresponding to a codeword at a current read voltage, wherein the first state is intended to represent a magnitude relationship between the number of flipped bits in the codeword and a first preset value in two read results at the corresponding read voltage and an adjacent voltage of the corresponding read voltage.
[0155] Operation (S20): A step of performing multiple adjustments on the current read voltage and obtaining a first state corresponding to a code word at the read voltage after each adjustment.
[0156] Operation (S30): A step of determining a valley voltage according to a variation trend of the magnitude relationship between the number of flipped bits and a first preset value indicated by a plurality of acquired first states, wherein the valley voltage becomes a read voltage for performing a read operation on a codeword.
[0157] Here, the structure of the memory device refers to Fig. 3b described earlier, and the structure of the peripheral circuit refers to Fig. 5 described earlier, so it is not explained repeatedly here.
[0158] In some examples, the peripheral circuit is configured to set the read mode of the memory device to a single-level read mode before acquiring a first state corresponding to a codeword at the current read voltage, and the single-level read mode includes reading at least one bit of stored data stored in a memory cell using a read voltage at one level.
[0159] In some examples, the memory cell contains M bits, the memory device contains an M-type page, the memory cell having M bits reads M bits of its stored data with a read voltage at N levels, M and N are both integers greater than 1, and N=2 M -1, and the peripheral circuit is configured to determine the valley voltage at each level according to a plurality of first states corresponding to the plurality of read voltages at each level for the read voltage at each level of the plurality of levels corresponding to each type of page.
[0160] In one example, when the bit stored in the memory cell contains 3 bits, the corresponding storage states include states 0 through 7. Referring to FIG. 8, the 8 states are state 0 E, state 1 P1, state 2 P2 ... state 7 P7, and the binary data corresponding to the 8 states are 111, 110, 100, 000, 010, 011, 001, and 101, respectively. Accordingly, the memory device includes three types of pages: a lower page, a middle page, and an upper page. Here, the 3 stored bits corresponding to the 8 states are stored in the lower page, the middle page, and the upper page, respectively. Taking the memory cell illustrated in FIG. 8 as an example, the 3-bit memory cell reads storage data containing 3 bits and 8 states with a read voltage at 7 levels.
[0161] In one example, each type of page corresponds to a read voltage at multiple levels as illustrated in FIG. 8, and the lower page corresponds to a first level read voltage L1 and a fifth level read voltage L5. For the first level read voltage L1 and the fifth level read voltage L5 corresponding to the lower page, the valley voltage of the first level read voltage L1 can be determined according to a plurality of first states corresponding to multiple read voltages of the first level read voltage L1. Then, the valley voltage of the fifth level read voltage L5 can be determined according to a plurality of first states corresponding to multiple read voltages of the fifth level read voltage L5, and thus the valley voltage at each level of the read voltage at multiple levels corresponding to the lower page can be obtained.
[0162] The process of determining the valley voltage of the read voltage at each level of the read voltage in the multiple levels corresponding to the middle and upper pages is similar to that of the lower page, so it is not repeated here.
[0163] In some examples, the peripheral circuit is configured to acquire a first preset value and a second preset value, wherein the first preset value can be acquired based on past data and the first preset value is smaller than the bad bit count supported by the memory device upper limit.
[0164] In some examples, the peripheral circuit is configured to obtain a first result by reading data stored in a code word at a current read voltage, to obtain a second result by performing a first adjustment on the current read voltage and reading data stored in the code word at the adjusted current read voltage, to obtain a third result by performing a logical operation on the first result and the second result, and to obtain a first state by comparing the number of bits in the third result, which represents a flip of bits in the second result, with a first preset value for the first result.
[0165] In some examples, the peripheral circuit includes a first latch D1, a second latch D2, and a third latch D3, wherein the first latch D1 is configured to store a first result, the latch D2 is configured to store a second result, and the third latch D3 is configured to store a third result.
[0166] For example, the first latch D1, the second latch D2, and the third latch D3 are located within the page buffer of the peripheral circuit.
[0167] In some examples, an XOR operation is performed on the first result and the second result to obtain a third result. As shown in FIG. 10, the bits that are 1 in the third result represent the number of memory cells where the threshold voltage differs between the current read voltage V0 and the adjusted current read voltage V1; in other words, the bits that are 1 in the third result represent the number of bits Y1 within the flipped codeword in the two results read at the current read voltage V0 and the adjusted current read voltage V1.
[0168] In some examples, when the number of bits in the third result representing the flip of bits in the second result for the first result is greater than the first preset value, the first state is a failing state, and when the number of bits in the third result representing the flip of bits in the second result for the first result is less than or equal to the first preset value, the first state is a passing state.
[0169] In some examples, the peripheral circuit is configured to perform a second adjustment on the read voltage after the previous adjustment when multiple adjustments are performed on the current read voltage, the magnitude of the second adjustment is greater than the magnitude of the first adjustment, and the magnitude of the second adjustment is a fixed value.
[0170] In one example, referring to Table 1 and Figure 10, a second adjustment is performed on the current read voltage V0 to obtain a first adjusted read voltage V2, and a second voltage difference ΔV2 exists between the current read voltage V0 and the first adjusted read voltage V2, and the magnitude of the second voltage difference ΔV2 is the magnitude of the second adjustment. The magnitude of the second adjustment is greater than the magnitude of the first adjustment; that is, the second voltage difference ΔV2 is greater than the first voltage difference ΔV1. The amplitude of the second adjustment is relatively large, and the second adjustment can be understood as an adjustment with a large amplitude.
[0171] In some examples, the peripheral circuit is configured to perform a third adjustment on the read voltage after the previous adjustment after the first pass state occurs following a pass state across a plurality of first states corresponding to the read voltage after multiple adjustments, and the magnitude of the increase or decrease of the third adjustment is smaller than the magnitude of the increase or decrease of the second adjustment.
[0172] In some embodiments, as illustrated in FIG. 10, the first state corresponding to the first adjusted read voltage V2 is a failure state. A second adjustment is performed on the first adjusted read voltage V2 to obtain a second adjusted read voltage V4, and a second voltage difference ΔV2 exists between the first adjusted read voltage V2 and the second adjusted read voltage V4.
[0173] Accordingly, three corresponding first states are obtained at three different read voltages. In some embodiments, as shown in FIG. 10, Y1 is greater than the first preset value, and the first state corresponding to the codeword at the current read voltage V0 is a failing state. Y2 is greater than the first preset value, and the first state corresponding to the codeword at the first adjusted read voltage V2 is a failing state. Y3 is less than the first preset value, so the first state corresponding to the codeword at the second adjusted read voltage V4 is a passing state.
[0174] The fluctuation trends of the three first states corresponding to the three different read voltages shown in FIG. 10 may be a failure state, a failure state, and a pass state; that is, among the multiple first states described above, it may be the first pass state after the failure state occurs. Accordingly, a third adjustment may be performed on the second adjusted read voltage V4 to obtain a third adjusted read voltage V6, and a third voltage difference ΔV3 exists between the second adjusted read voltage V4 and the third adjusted read voltage V6, and the magnitude of the third voltage difference ΔV3 is the magnitude of the increase / decrease of the third adjustment. The magnitude of the increase / decrease of the third adjustment is smaller than the magnitude of the increase / decrease of the second adjustment, that is, the third voltage difference ΔV3 is smaller than the second voltage difference ΔV2. The amplitude of the magnitude of the increase / decrease of the third adjustment is relatively small, and the third adjustment can be understood as an adjustment with a small amplitude.
[0175] As shown in FIG. 10, the part where the bit is 1 in the third result represents the number of bits Y4 in the flipped codeword in the two results read at the third adjusted read voltage V6 and the third adjusted read voltage after adjustment (V7 in FIG. 10). Since Y4 is smaller than the first preset value, the first state corresponding to the codeword at the third adjusted read voltage V6 is a pass state.
[0176] In another embodiment, the peripheral circuit is configured to perform a fourth adjustment on the read voltage after the previous adjustment according to a third result corresponding to the first acceptance state, after a first acceptance state occurs following a rejection state among a plurality of first states corresponding to the read voltage after multiple adjustments.
[0177] In some examples, the magnitude of the fourth adjustment varies according to the number of bits in the third result representing the flip of bits in the second result relative to the first result.
[0178] As illustrated in FIG. 10, the first state corresponding to the third adjustment of the second adjusted read voltage V4 is the first pass state after a failure state occurs among a plurality of first states corresponding to the read voltage after multiple adjustments, and a fourth adjustment is performed on the second adjusted read voltage V4 according to the counted number for the third result corresponding to the second adjusted read voltage V4. In some examples, the number of bits in the third result corresponding to the second adjusted read voltage V4, which represents the flip of bits in the second result for the first result, may be counted, and if the counted result is less than 0.5 times the first preset value, the number of flipped bits may be considered small, which means that the error rate of the read result obtained by performing a read operation with the second adjusted read voltage V4 is very low. In this case, the increment / decrement size of the fourth adjustment may be adjusted to be larger than the increment / decrement size of the second adjustment, and the efficiency is improved by being able to search for possible states faster through the increased increment / decrement size.
[0179] If the counted result is 0.5 times or more of the first preset value, the number of flipped bits is within the upper limit of the bad bit count supported by the memory device, but the number of flipped bits can be considered to be large, which means that the error rate of the read result obtained by performing a read operation with the second adjusted read voltage V4 is high. In this case, the increment / decrement size of the fourth adjustment can be adjusted to be smaller than the increment / decrement size of the second adjustment, and by reducing the increment / decrement size, more first states can be obtained as acceptance states at a read voltage close to the second adjusted read voltage V4 corresponding to the first acceptance state, thereby increasing the basis for determining the valley voltage.
[0180] In some examples, the peripheral circuit is configured to maintain a third adjustment until the first failure state occurs after a pass state among a plurality of first states.
[0181] In one example, the fluctuation trends of the four first states corresponding to the four different read voltages shown in FIG. 10 may be a fail state, a fail state, a pass state, and a pass state, and a third adjustment must be performed on the third adjusted read voltage V6 to obtain a fourth adjusted read voltage V8, and a first state corresponding to the codeword at the fourth adjusted read voltage V8 is obtained. The part where the bit is 1 in the third result represents the number of bits Y5 within the flipped codeword in the two results read at the fourth adjusted read voltage V8 and the fourth adjusted read voltage after adjustment (V9 in FIG. 10).
[0182] In some embodiments, the peripheral circuit is configured to stop reading voltage adjustment when, when multiple adjustments are performed on the current reading voltage, a change from a failing state to at least one passing state and back to a failing state is indicated by a plurality of first states corresponding to the reading voltage after multiple adjustments.
[0183] Since the number of bits Y5 in the flipped codeword in the two results read at the fourth adjusted read voltage V8 and the fourth adjusted read voltage after adjustment (V9 in FIG. 10) is greater than the first preset value, the first state corresponding to the codeword at the fourth adjusted read voltage V8 is a failure state, that is, as shown in Table 1, since a plurality of first states indicate a change from a failure state to at least one pass state, and then a change back to a failure state, the adjustment of the read voltage is stopped.
[0184] In another example, after a first failure state occurs following a pass state among multiple first states, a second adjustment is performed on the read voltage after the previous adjustment. As shown in Table 1 and Figure 10, five first states are obtained after five iterations, and in the fifth iteration, a change is obtained from a failure state to at least one pass state and then back to a failure state at the fourth adjusted read voltage V8. Here, an additional second adjustment may be performed on the fourth adjusted read voltage V8, and a first state corresponding to the fourth adjusted read voltage after adjustment may be obtained, and thus, the accuracy of determining the valley voltage based on the fluctuation trend of multiple first states can be further improved.
[0185] In some embodiments, the peripheral circuit is configured such that when the number of pass states between two end failure states indicated by a plurality of first states corresponding to the adjusted read voltages includes an even number, the average of the adjusted read voltages corresponding to two pass states in the middle position among the plurality of pass states becomes the valley voltage.
[0186] In one example, among the multiple first states shown in Table 1, the average of the read voltages corresponding to the first states obtained in the third and fourth iterations will be the valley voltage.
[0187] It can be understood that the valley voltage of the first level read voltage L1 corresponding to the lower page shown in Fig. 8 becomes the average of the read voltages corresponding to the first state obtained in the third and fourth iterations.
[0188] In some examples, the peripheral circuit is configured such that when the number of pass states between two end failure states indicated by a plurality of first states corresponding to the adjusted read voltage includes 1, the adjusted read voltage corresponding to one pass state becomes the valley voltage.
[0189] In one example, among the multiple first states shown in Table 2, the read voltage corresponding to the first state obtained in the third iteration will be the valley voltage.
[0190] In some embodiments, the peripheral circuit is configured such that when the number of pass states between two end failure states indicated by a plurality of first states corresponding to the adjusted read voltage includes a number greater than 1, the adjusted read voltage corresponding to one pass state in an intermediate position among the pass states greater than 1 becomes the valley voltage.
[0191] In one example, Table 3 shows that the number of pass states between the two end failure states indicated by a plurality of first states corresponding to the adjusted read voltage includes 3, and that the adjusted read voltage corresponding to one of the pass states in the middle position among the 3 pass states will be the valley voltage, that is, the read voltage corresponding to the first state obtained in the 4th iteration will be the valley voltage.
[0192] In some examples, the peripheral circuit is configured to increase the increment / decrement size corresponding to the second adjustment when a plurality of first states corresponding to the read voltage after multiple adjustments are all in a failing state, and to adjust the number of memory cells corresponding to the code word when the increased increment / decrement size of the second adjustment exceeds a second preset value, and the number of memory cells corresponding to one code word after adjustment is less than the number of memory cells corresponding to one code word before adjustment.
[0193] In some examples, a second preset value is used as a limit value or constraint to control the magnitude of the increase or decrease of the second adjustment in order to balance speed and accuracy. The magnitude of the second preset value is related to the type of memory device, storage density, etc. The second preset value may be an empirical value or a default value configured when the memory device is shipped from the factory, wherein the default value is obtained through extensive simulation experiments before the memory device is shipped from the factory. In one example, the range of the second preset value is set to 80mV to 100mV.
[0194] It can be seen that when the increased magnitude of the second adjustment is greater than the second preset value, a balance between speed and accuracy can be achieved by reducing the number of memory cells corresponding to the codeword. In one example, by reducing the number of memory cells corresponding to the codeword, the total amount of data included in the third result can be reduced, and the reduction in the total amount can reduce the number of bits counted in the total amount to some extent; that is, the number of bits in the third result representing the flip of bits in the second result for the first result can be reduced, and it becomes easier for the number of bits in the third result representing the flip of bits in the second result for the first result to be within the range of the first preset value. Therefore, it is easier to find the first pass state among the multiple first states corresponding to the read voltage after multiple adjustments.
[0195] One example of the present application provides a memory system as illustrated in FIG. 12, wherein the memory system (102) comprises one or more memory devices (104) as described in the example, and a memory controller (106) coupled to the memory device (104) and controlling the memory device (104).
[0196] In some examples, the memory controller (106) is configured to transmit a first instruction before performing a read operation on data stored in the memory device (104), the first instruction instructing to acquire a valley voltage, the memory device (104) is configured to receive the first instruction, acquire a valley voltage, and transmit the acquired valley voltage to the memory controller (106), and the memory controller (106) is further configured to perform a read operation on data stored in the memory device (104) with the valley voltage and to perform an error correction code decoding operation on the read result of the read operation.
[0197] In some examples, the error correction code decoding operation includes a hard decoding operation using LDPC (Low Density Parity Check Code).
[0198] Therefore, the memory controller directly receives the valley voltage obtained from the memory device, which reduces data transfer time between the memory controller and the memory device and secures sufficient time for subsequent error correction code decoding operations on the read results of read operations. In addition, the memory controller shortens the overall operation time by directly performing read operations and error correction code decoding operations based on the valley voltage.
[0199] Examples of the present application provide a method for operating a memory system, the method comprising the steps of: transmitting a first instruction before performing a read operation on data stored in a memory device of the memory system—the first instruction instructs to obtain a valley voltage, and the valley voltage is obtained according to a method according to any one of the examples described above—; performing a read operation on data stored in the memory device with the valley voltage; and performing Error Correction Code (ECC) decoding on the read result of the read operation.
[0200] Another example of the present application provides a memory system shown in FIG. 13, wherein the memory system (102) comprises at least one memory device (104) — the memory device (104) comprises a plurality of memory cells, wherein a preset number of memory cells form a code word — and a memory controller (106) coupled to at least one memory device (104), wherein the memory controller acquires a first state corresponding to the code word at a current read voltage — the first state includes a state for indicating a magnitude relationship between the number of bits in the code word flipped in two read results at a corresponding read voltage and a voltage adjacent to the corresponding read voltage and a first preset value, and the difference between the corresponding read voltage and the voltage adjacent to the corresponding read voltage is smaller than the preset voltage — and performs multiple adjustments on the current read voltage and acquires a first state corresponding to the code word at each read voltage after adjustment, and is configured to determine a valley voltage according to a variation trend of the magnitude relationship between the number of bits flipped and the first preset value indicated by a plurality of acquired first states, and valley The voltage becomes the read voltage for performing a read operation on the codeword.
[0201] In some examples, the memory controller (106) is configured to transmit a second instruction before performing a read operation on the data stored in the memory device (104), the second instruction instructs to obtain a first state corresponding to a codeword at different multiple read voltages, the memory device (104) is configured to receive the second instruction, obtain a plurality of first states corresponding to a codeword at different multiple read voltages, and transmit the obtained first states to the memory controller (106), and the memory controller (106) is further configured to determine a valley voltage when the plurality of first states correspond to different multiple read voltages, and to perform a read operation on the data stored in the memory device by the valley voltage.
[0202] In some examples, the memory device (106) is configured to obtain a first result by reading data stored in a code word at a current read voltage, perform a first adjustment at the current read voltage and obtain a second result by reading data stored in a code word at the current read voltage, perform a logical operation on the first result and the second result to obtain a third result, and obtain a first state by comparing the number of bits in the third result, which represents a flip of bits in the second result, with a first preset value for the first result.
[0203] In some examples, the amount of data in the first result is less than a preset data amount threshold.
[0204] FIG. 14 is a timing diagram for performing a read retry operation provided in the example of the present application. DQx can be represented as a data bus signal, and Cycle Type can better represent the type of data bus signal.
[0205] As illustrated in FIG. 14, a read command may include, for example, two subcommands (e.g., 00h and 30h), and in one example, the memory device transmits the address ADDR of the data to be read (e.g., two column addresses C1 to C2 and three row addresses R1 to R3) between the received subcommands 00h and 30h. After the memory device receives the subcommand 30h, during the read time, the corresponding data DATA (e.g., Dn) within the page of the received address may be buffered in the page buffer, and then the data DATA will be read as required. In the example described above, it should be noted that when performing a read retry operation, the data corresponding to the page needs to be transmitted frequently between the memory device and the memory controller, and that transmitting the data takes a long time.
[0206] FIG. 15 is a timing diagram for determining a valley voltage and performing a read operation provided by an embodiment of the present application. As illustrated in FIG. 15, in addition to a standard read command (e.g., the read command includes two subcommands (e.g., 00h and 30h)), the example of the present application also includes a second command, for example, the second command includes subcommands EBh and 70h / 78h. In the illustrated example, the memory device (104) transmits the address ADDR of the data to be read between the received subcommands 00h and 30h (e.g., two column addresses C1 to C2 and three row addresses R1 to R3). After receiving the subcommand 30h, the memory device (104) receives the subcommands EBh and 70h / 78h of the second command. When instructed by the second instruction, the memory device (104) acquires a plurality of first states corresponding to a codeword at different multiple read voltages and transmits the acquired first states to the memory controller. The memory controller determines a valley voltage having a plurality of first states corresponding to each of the different multiple read voltages received from the memory device and performs a read operation on the data stored in the memory device using the valley voltage.
[0207] The second instruction provided in the embodiments of this application is merely illustrative and should not unduly limit the claims of this application.
[0208] In some examples, the amount of data in the first state is less than a preset threshold of the amount of data, for example, the amount of data in the first state is 1 byte to 4 bytes, and thus the amount of data transferred between the memory device and the memory controller in the process of determining the valley voltage is small and the data is transferred at a high speed, which helps to improve the overall speed of the read operation.
[0209] Another example of the present application provides a method for operating a memory system, the method comprising: a step of obtaining a first state corresponding to a code word at a current read voltage—the first state includes a state for indicating a magnitude relationship between the number of bits in a code word flipped in two read results at a corresponding read voltage and a voltage adjacent to the corresponding read voltage and a first preset value, the memory system includes at least one memory device, the memory device includes a plurality of memory cells, and a preset number of memory cells form one code word—; a step of performing multiple adjustments on the current read voltage and obtaining a first state corresponding to a code word at a read voltage after each adjustment; and a step of determining a valley voltage according to a variation trend of the magnitude relationship between the number of bits flipped and the first preset value indicated by a plurality of obtained first states, wherein the valley voltage becomes a read voltage for performing a read operation on a code word.
[0210] In some examples, the method further comprises the steps of transmitting a second instruction before performing a read operation on data stored in a memory device—the second instruction instructing to acquire a plurality of first states corresponding to a codeword at different multiple current read voltages—determining a valley voltage when the plurality of first states each correspond to different multiple read voltages, and performing a read operation on data stored in the memory device by the valley voltage. In some examples, the amount of data in the first state is less than a preset threshold of the amount of data, for example, the amount of data in the first state is 1 byte to 4 bytes, and thus the amount of data transferred between the memory device and the memory controller in the process of determining the valley voltage is small and the data is transferred at a high speed, which helps to improve the overall speed of the read operation.
[0211] In some examples, the method further comprises the steps of obtaining a first result by reading data stored in a code word at a current read voltage, obtaining a second result by performing a first adjustment on the current read voltage and reading data stored in a code word at the adjusted current read voltage, obtaining a third result by performing a logical operation on the first result and the second result, and obtaining a first state by comparing the number of bits in the third result, which represents a flip of bits in the second result, with a first preset value for the first result.
[0212] Another example of the present application provides a memory device illustrated in FIG. 5, wherein the memory device comprises a memory cell array (301) comprising a plurality of memory cells—a preset number of memory cells forming a single code word—and a peripheral circuit coupled to the memory cell array (301) and comprising control logic (512) and a page buffer (504), wherein the control logic (512) reads data stored in the code word at a current read voltage to obtain a first result and stores the first result in a first latch of the page buffer; adjusts the current read voltage and reads data stored in the code word at the adjusted current read voltage to obtain a second result and stores the second result in a second latch of the page buffer; A logical operation is performed on a first result and a second result to obtain a third result, the third result is stored in a third latch of a page buffer, and a first state is obtained by comparing the number of bits in the third result, which represents the flip of bits in the second result for the first result, with a first preset value, and the first state includes a state for representing the magnitude relationship between the number of bits in a codeword flipped in two read results at a corresponding read voltage and an adjacent voltage of the corresponding read voltage and the first preset value.
[0213] Another example of the present application provides a method for operating a memory device, wherein the memory device comprises a memory cell array and a page buffer, the memory cell array comprises a plurality of memory cells, and a preset number of memory cells form a single code word, and the method comprises the steps of: reading data stored in the code word at a current read voltage to obtain a first result and storing the first result in a first latch of the page buffer; adjusting the current read voltage and reading data stored in the code word at the adjusted current read voltage to obtain a second result, performing a logical operation on the first result and the second result to obtain a third result and storing the third result in a third latch of the page buffer; and comparing the number of bits in the third result, which indicates a flip of bits in the second result, with respect to the first result, with a first preset value to obtain a first state — the first state includes a state for indicating a magnitude relationship between the number of bits in the code word flipped in two read results at a corresponding read voltage and a voltage adjacent to the corresponding read voltage and the first preset value —
[0214] Referring to FIG. 16, FIG. 16 is a block diagram of a computer-readable storage medium provided by an embodiment of the present application. As illustrated in FIG. 16, an example of the present disclosure provides a computer-readable storage medium, wherein the computer-readable storage medium (200) stores a computer program (210) capable of implementing a method for operating a memory system of the technical manner described when executed by a processor. The method comprises the steps of: acquiring a first state corresponding to a codeword at a current read voltage—the first state includes a state for indicating a magnitude relationship between the number of bits in a codeword flipped in two read results at a corresponding read voltage and a voltage adjacent to the corresponding read voltage and a first preset value, the memory system includes at least one memory device, the memory device includes a plurality of memory cells, and a preset number of memory cells form one codeword—; performing multiple adjustments on the current read voltage and acquiring a first state corresponding to a codeword at a read voltage after each adjustment; and determining a valley voltage according to a variation trend of the magnitude relationship between the number of bits flipped and the first preset value indicated by a plurality of acquired first states, wherein the valley voltage becomes a read voltage for performing a read operation on the codeword.
[0215] Throughout the description, the notation "one example" or "example" should be understood to mean that a specific feature, structure, or characteristic associated with the example is included in at least one example of this application. Accordingly, "in one example" or "for example" appearing in various places throughout the description does not necessarily refer to the same example. Furthermore, such specific feature, structure, or characteristic may be combined in any appropriate manner in one or more examples. It should be understood that in the various embodiments of this application, the sequence numbers of the described processes do not imply an order of execution, and the order of execution of each process should be determined by its function and internal logic and should not be configured to limit the implementation of the embodiments of this application. The serial numbers of the embodiments of this application described above are for illustrative purposes only and do not imply the advantages or disadvantages of the embodiments.
[0216] The content is merely a preferred example of this application and does not limit the scope of the patent of this application. In accordance with the creative concept of this application, all equivalent structural modifications or direct or indirect applications to other related technical fields made using the content of this application and the accompanying drawings are included within the scope of patent protection of this application.
[0217] Industrial applicability
[0218] The memory device and method of operation thereof, and the memory system and method of operation thereof provided by the embodiments of the present application can effectively avoid the problems of long consumption and incomplete scene coverage caused by using a retry table, save the space occupied by the retry table, find the valley voltage more quickly and accurately, and thereby effectively reduce the time delay in determining the valley voltage. Meanwhile, performing a read operation on the acquired valley voltage significantly increases the probability of correctly reading stored data, thereby improving product reliability and user experience.
Claims
Claim 1 A memory device comprising a memory cell array including a plurality of memory cells, wherein a preset number of memory cells form a code word, and a peripheral circuit coupled to the memory cell array, wherein the peripheral circuit obtains a first result by reading data stored in at least one of the code words at a target read voltage, performs a first adjustment at the target read voltage and obtains a second result by reading data stored in at least one of the code words at the adjusted target read voltage, performs a logical operation on the first result and the second result to obtain a third result, and obtains a first state by comparing the number of bits indicating the flip of the bits of the second result relative to the first result with a first preset value in the third result, wherein the first state includes a state indicating a magnitude relationship between the number of bits within at least one of the code words flipped in two read results at a first read voltage and a second read voltage and the first preset value, and the difference between the first read voltage and the second read voltage is smaller than the preset voltage, and indicated by the first state A memory device configured to determine a valley voltage according to a fluctuation trend of the magnitude relationship between the number of flipped bits and the first preset value, wherein the valley voltage is a read voltage for performing a read operation on at least one of the codewords. Claim 2 A memory device according to claim 1, wherein the first state is a pass state or a fail state. Claim 3 A memory device according to claim 1, wherein the peripheral circuit comprises a first latch configured to store the first result, a second latch configured to store the second result, and a third latch configured to store the third result. Claim 4 A memory device according to claim 1, wherein when the number of bits representing the flip of the bits of the second result for the first result in the third result is greater than the first preset value, the first state is a failing state, and when the number of bits representing the flip of the bits of the second result for the first result in the third result is less than or equal to the first preset value, the first state is a passing state. Claim 5 A memory device according to claim 4, wherein the peripheral circuit performs a second adjustment on the read voltage after the previous adjustment for each of the multiple adjustments when multiple adjustments are performed on the target read voltage, wherein the magnitude of the increase or decrease of the second adjustment is greater than the magnitude of the increase or decrease of the first adjustment and the magnitude of the increase or decrease of the second adjustment is a fixed value, and wherein, when multiple adjustments are performed on the target read voltage, the adjustment of the read voltage is stopped when a change from a failing state to at least one passing state and then back to a failing state is indicated by a plurality of first states corresponding to the read voltage after the multiple adjustments. Claim 6 A memory device according to claim 5, wherein the peripheral circuit is configured such that when the number of acceptance states between rejection states of two ends indicated by a plurality of first states corresponding to the adjusted read voltage includes 1, the adjusted read voltage corresponding to one acceptance state is the valley voltage; when the number of acceptance states between rejection states of two ends indicated by the plurality of first states corresponding to the adjusted read voltage includes a number greater than 1, the adjusted read voltage corresponding to one acceptance state in an intermediate position among acceptance states greater than 1 is the valley voltage; and when the number of acceptance states between rejection states of two ends indicated by the plurality of first states corresponding to the adjusted read voltage includes an even number, the average of the adjusted read voltages corresponding to two acceptance states in an intermediate position among the plurality of acceptance states is the valley voltage. Claim 7 A memory device according to claim 5, wherein the peripheral circuit is configured to perform a third adjustment on the read voltage after the previous adjustment after the first passing state occurs following a failing state among a plurality of first states corresponding to the read voltage after the multiple adjustment, wherein the magnitude of the increase or decrease of the third adjustment is smaller than the magnitude of the increase or decrease of the second adjustment. Claim 8 A memory device according to claim 7, wherein the peripheral circuit is configured to maintain the third adjustment until the first failure state occurs after the passing state among the plurality of first states, and to perform the second adjustment on the read voltage after the previous adjustment after the first failure state occurs after the passing state among the plurality of first states. Claim 9 A memory device according to claim 5, wherein the peripheral circuit is configured to perform a fourth adjustment on the read voltage after the previous adjustment according to a third result corresponding to the first acceptance state after a first acceptance state among a plurality of first states corresponding to the read voltage after the multiple adjustments. Claim 10 In claim 5, the peripheral circuit is configured to increase the increment / decrease magnitude corresponding to the second adjustment when a plurality of first states corresponding to the read voltage after the multiple adjustment are all in a failing state, and to adjust the number of memory cells corresponding to at least one of the code words when the increased increment / decrease magnitude of the second adjustment exceeds a second preset value, wherein the number of memory cells corresponding to the code word after adjustment is less than the number of memory cells corresponding to the code word before adjustment. Claim 11 A memory device according to claim 1, wherein the peripheral circuit is configured to obtain the first preset value, the first preset value is obtained according to past data and is smaller than the upper limit of the fail bit count supported by the memory device. Claim 12 A memory device according to claim 1, wherein the peripheral circuit is configured to set the read mode of the memory device to a single-level read mode before acquiring a first state corresponding to at least one of the code words at the target read voltage, wherein the single-level read mode includes reading at least one bit of stored data stored in the memory cell at a read voltage at one level. Claim 13 In paragraph 12, the memory cell comprises M bits, the memory device comprises an M-type page, the memory cell having M bits reads M bits of its stored data with a read voltage at N levels, M and N are both integers greater than 1, and N=2 M A memory device in which the peripheral circuit is configured to determine the valley voltage at each level according to a plurality of first states corresponding to multiple read voltages at each level for each level of multiple read voltages corresponding to each type of page. Claim 14 A memory system comprises one or more memory devices and a memory controller coupled to the memory device and controlling the memory device, wherein the memory device comprises a memory cell array—the memory cell array comprises a plurality of memory cells, wherein a preset number of the memory cells form a code word—and a peripheral circuit coupled to the memory cell array, wherein the peripheral circuit obtains a first result by reading data stored in at least one of the code words at a target read voltage, performs a first adjustment at the target read voltage and obtains a second result by reading data stored in at least one of the code words at the adjusted target read voltage, performs a logical operation on the first result and the second result to obtain a third result, and obtains a first state by comparing the number of bits indicating the flip of the bits of the second result relative to the first result with a first preset value in the third result, wherein the first state includes a state indicating a magnitude relationship between the number of flipped bits within at least one of the code words in two read results at a first read voltage and a second read voltage and the first preset value, and wherein the first read The difference between the voltage and the second read voltage is smaller than the preset voltage - configured to determine the valley voltage according to the trend of variation of the magnitude relationship between the number of flipped bits and the first preset value indicated by the first state, wherein the valley voltage is a read voltage for performing a read operation on at least one of the codewords - and a memory system. Claim 15 A memory system according to claim 14, wherein the memory controller is configured to transmit a first instruction before performing a read operation on data stored in the memory device, the first instruction instructs to acquire a valley voltage, the memory device is configured to receive the first instruction, acquire a valley voltage, and transmit the acquired valley voltage to the memory controller, and the memory controller is further configured to perform a read operation on data stored in the memory device with the valley voltage and to perform an error correction code decoding operation on the read result of the read operation. Claim 16 A method for operating a memory device, comprising: a step of obtaining a first result by reading data stored in at least one of a code word at a target read voltage; a step of obtaining a second result by performing a first adjustment on the target read voltage and reading data stored in at least one of the code word at the adjusted target read voltage; a step of obtaining a third result by performing a logical operation on the first result and the second result; and a step of obtaining a first state by comparing the number of bits indicating the flip of the bits of the second result relative to the first result with a first preset value in the third result, wherein the first state includes a state indicating a magnitude relationship between the number of flipped bits in at least one of the code word in two read results at a first read voltage and a second read voltage and the first preset value, wherein the difference between the first read voltage and the second read voltage is smaller than the preset voltage, and the memory device includes a memory cell array, wherein the memory cell array includes a plurality of memory cells, and a preset number of memory cells form the code word - and the flipped bits indicated by the first state A method comprising the step of determining a valley voltage according to a fluctuation trend of the magnitude relationship between the number of bits and the first preset value, wherein the valley voltage becomes a read voltage for performing a read operation on at least one of the codewords. Claim 17 In Clause 16, the above-mentioned first state is a passing state or a failing state, a method. Claim 18 A method according to claim 16, further comprising the steps of storing the first result in a first latch of the memory device, storing the second result in a second latch of the memory device, and storing the third result in a third latch of the memory device. Claim 19 A method according to claim 16, wherein when the number of bits representing the flip of the bits of the second result for the first result in the third result is greater than the first preset value, the first state is a failing state, and when the number of bits representing the flip of the bits of the second result for the first result in the third result is less than or equal to the first preset value, the first state is a passing state. Claim 20 A method according to claim 19, further comprising the step of performing a second adjustment on the read voltage after the previous adjustment for each of the multiple adjustments when the multiple adjustments are performed on the target read voltage, wherein the magnitude of the increase or decrease of the second adjustment is greater than the magnitude of the increase or decrease of the first adjustment and the magnitude of the increase or decrease of the second adjustment is a fixed value; and the step of stopping the adjustment of the read voltage when the change from a failing state to at least one passing state and back to a failing state is indicated by a plurality of first states corresponding to the read voltage after the multiple adjustments when the multiple adjustments are performed on the target read voltage. Claim 21 delete Claim 22 delete Claim 23 delete Claim 24 delete Claim 25 delete Claim 26 delete Claim 27 delete Claim 28 delete Claim 29 delete Claim 30 delete Claim 31 delete Claim 32 delete Claim 33 delete Claim 34 delete Claim 35 delete Claim 36 delete Claim 37 delete Claim 38 delete Claim 39 delete Claim 40 delete Claim 41 delete Claim 42 delete
Citation Information
Patent Citations
Memory system, memory controller and operation method thereof
KR1020200014135A
Nonvolatile memory devices and methods of operating nonvolatile memory devices
KR1020200034123A
Storage controller determining a distribution type, method of operating the same, and method of operating storage device having the same
KR102491652B1
Updating read voltages
US20170271031A1
Read threshold adjustment using reference data
US20190198069A1
