Memory device and operation thereof
By adjusting the read voltage to read back the rough programming data of the NAND flash memory device, the problem of difficulty in reading back the rough data during multi-pass programming operations is solved, improving the efficiency of power-down processing and simplifying the system design.
Patent Information
- Application Number
- CN202380009396.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-12-30
- Filing Date
- 2023-04-29
- Publication Date
- 2024-08-30
AI Technical Summary
It is difficult for existing NAND flash memory devices to directly read back the coarse data between coarse programming and fine programming during multi-pass programming operations, resulting in increased power-down processing time and complexity.
Read back the coarse-programmed data by adjusting the read voltage, by responding to a trigger event during a multi-pass programming operation, and read back the coarse-programmed data page using an adjusted read voltage adjusted offset from the default read voltage, ensuring that adjacent intermediate levels are The read window margin is large enough.
The total time of power-down processing is reduced, the system hardware and protocols are simplified, and the accuracy and efficiency of reading back rough data are improved.
Smart Images

Figure CN118575221A
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims the benefit of priority to U.S. Provisional Application No. 63 / 436,437, filed on December 30, 2022, the entire contents of which are hereby incorporated by reference. Technical Field
[0003] The present disclosure relates to a storage device and a method of operating the same. Background Art
[0004] Flash memory is a low-cost, high-density, non-volatile solid-state storage medium that can be electrically erased and reprogrammed. Flash memory includes NOR flash memory and NAND flash memory. Flash memory can perform various operations such as reading, programming (writing), and erasing. For NAND flash memory, an erase operation can be performed at the block level, and a program operation or a read operation can be performed at the page level. Summary of the invention
[0005] In one aspect, a memory device includes: an array of memory cells arranged in rows and columns; word lines, the word lines being coupled to the rows of the memory cells, respectively; and a peripheral circuit, the peripheral circuit being coupled to the rows of the memory cells through the word lines. Each memory cell is set to 2 N The peripheral circuit is configured to: in a first pass, program a selected row of the rows of memory cells based on the N data pages so that each memory cell in the selected row is set to one of k intermediate levels, where k is not greater than 2. N The peripheral circuit is further configured to: after the first pass, read M data pages of the N data pages from the selected row, wherein M is an integer less than N.
[0006] In some implementations, the peripheral circuit is configured to: in response to occurrence of a trigger event, read the M data pages among the N data pages from the selected row.
[0007] In some embodiments, the k intermediate levels respectively correspond to k threshold voltage ranges of the memory cells of the selected row; and at least two threshold voltage ranges corresponding to two adjacent intermediate levels among the k intermediate levels do not overlap.
[0008] In some embodiments, to read the M data pages, the peripheral circuit includes a word line driver, which is coupled to the selection row through a selection word line among the word lines and is configured to apply an adjusted read voltage between the two threshold voltage ranges to the selection word line.
[0009] In some embodiments, in order to program the selected row, the word line driver is further configured to: apply an adjusted verification voltage to the selected word line for verifying the lower level of the two adjacent intermediate levels. In some embodiments, the adjusted verification voltage is less than a default verification voltage for verifying the lower level of the two adjacent intermediate levels.
[0010] In some embodiments, the peripheral circuit is further configured to: in response to no trigger event occurring, skip reading the M data pages of the N data pages from the selected row; and in a second pass, program the selected row of the rows of the memory cells based on the N data pages after the first pass, so that each memory cell in the selected row is set to 2 N One of the final levels.
[0011] In some implementations, the peripheral circuit is further configured to: read the N data pages from the selected row after the second pass.
[0012] In some embodiments, to read the N data pages, the word line driver is configured to apply a default read voltage corresponding to the two adjacent intermediate levels to the selection word line based on a Gray code used to program the memory cell, and the adjusted read voltage is adjusted by an offset from the default read voltage.
[0013] In some implementations, the peripheral circuit is further configured to copy the remaining (NM) pages of data to a designated block of the array of memory cells after the first pass.
[0014] In some implementations, the triggering event includes power failure of the storage device.
[0015] In another aspect, a method for operating a memory device is provided. The memory device includes rows of memory cells. Each memory cell is set to 2 N The method further comprises programming a selected row of the rows of memory cells based on the N data pages so that each memory cell in the selected row is set to one of the k intermediate levels, wherein k is not greater than 2. NAfter the first pass, M data pages of the N data pages are read from the selected row, where M is an integer less than N.
[0016] In some implementations, in response to occurrence of a trigger event, the M data pages of the N data pages are read from the selected row.
[0017] In some embodiments, the k intermediate levels respectively correspond to k threshold voltage ranges of the memory cells of the selected row; and at least two threshold voltage ranges corresponding to two adjacent intermediate levels among the k intermediate levels do not overlap.
[0018] In some implementations, to read the M pages of data, an adjusted read voltage between the two threshold voltage ranges is applied to a select word line coupled to the select row.
[0019] In some embodiments, to program the selected row, an adjusted verification voltage is applied to the selected word line for verifying the lower level of the two adjacent intermediate levels. In some embodiments, the adjusted verification voltage is less than a default verification voltage for verifying the lower level of the two adjacent intermediate levels.
[0020] In some embodiments, in response to no trigger event occurring, skipping reading the M data pages of the N data pages from the selected row; and in a second pass, programming the selected row of the rows of memory cells based on the N data pages after the first pass, so that each memory cell in the selected row is set to 2 N One of the final levels.
[0021] In some implementations, the N data pages are read from the selected row after the second pass.
[0022] In some embodiments, to read the N data pages, a default read voltage corresponding to the two adjacent intermediate levels is applied to the selection word line based on a Gray code for programming the memory cell. In some embodiments, the adjusted read voltage is adjusted by an offset from the default read voltage.
[0023] In some implementations, the remaining (NM) pages of data are copied to designated blocks of the storage device after the first pass.
[0024] In some implementations, the triggering event includes power failure of the storage device.
[0025] In another aspect, a system includes a storage device configured to store data, and a memory controller coupled to the storage device and configured to control the storage device. The storage device includes: an array of memory cells arranged in rows and columns; word lines, which are respectively coupled to the rows of the memory cells; and a peripheral circuit, which is coupled to the rows of the memory cells through the word lines. Each memory cell is set to 2 N The peripheral circuit is configured to: in a first pass, program a selected row of the rows of memory cells based on the N data pages so that each memory cell in the selected row is set to one of k intermediate levels, where k is not greater than 2. N The peripheral circuit is further configured to: after the first pass, read M data pages of the N data pages from the selected row, wherein M is an integer less than N. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The accompanying drawings, which are incorporated herein and form a part of the specification, illustrate certain aspects of the present disclosure and, together with the description, further serve to explain the principles of the present disclosure and enable those skilled in the relevant art to make and use the present disclosure.
[0027] Figure 1 A schematic diagram of a memory device including peripheral circuits according to some aspects of the present disclosure is shown.
[0028] Figure 2 A side view of a cross section of an array of memory cells including NAND memory strings is shown according to some aspects of the present disclosure.
[0029] Figure 3 A block diagram of a memory device including a memory cell array and peripheral circuits according to some aspects of the present disclosure is shown.
[0030] Figure 4 An example of threshold voltage distribution of memory cells in a programming operation according to some aspects of the present disclosure is shown.
[0031] Figure 5 An example of threshold voltage distribution of memory cells in a read operation according to some aspects of the present disclosure is shown.
[0032] Figure 6 A block diagram of a page buffer in a programming operation is shown, according to some aspects of the present disclosure.
[0033] Figure 7 and Figure 8An example of a waveform of a word line voltage applied to a selected word line in a multi-pass programming operation according to some aspects of the present disclosure is shown.
[0034] Fig. 9 An example of threshold voltage distribution of memory cells in a scheme of a multi-pass programming operation applied to a quad level cell (QLC) according to some aspects of the present disclosure is shown.
[0035] Fig. 10A According to some aspects of the present disclosure, a method for Fig. 9 An example of a Gray code for a scheme of a multi-pass programming operation in FIG.
[0036] Fig. 10B According to some aspects of the present disclosure, Fig. 9 0048. An example of threshold voltage distribution of memory cells after a coarse programming pass of a scheme of a multi-pass programming operation in FIG.
[0037] Fig.11 An example of threshold voltage distribution of memory cells in another scheme of a multi-pass programming operation applied to a QLC according to some aspects of the present disclosure is shown.
[0038] Fig. 12A According to some aspects of the present disclosure, a method for Fig.11 An example of a Gray code for a scheme of a multi-pass programming operation in FIG.
[0039] Fig. 12B According to some aspects of the present disclosure, Fig.11 0048. An example of threshold voltage distribution of memory cells after a coarse programming pass of a scheme of a multi-pass programming operation in FIG.
[0040] Fig.13 An example of threshold voltage distribution of memory cells in yet another scheme of a multi-pass programming operation applied to a QLC according to some aspects of the present disclosure is shown.
[0041] Fig.14A According to some aspects of the present disclosure, a method for Fig.13 An example of a Gray code for a scheme of a multi-pass programming operation in FIG.
[0042] Fig. 14B According to some aspects of the present disclosure, Fig.13 0048. An example of threshold voltage distribution of memory cells after a coarse programming pass of a scheme of a multi-pass programming operation in FIG.
[0043] Fig.15A According to some aspects of the present disclosure, a method for Fig.13 Another example of a Gray code scheme for a multi-pass programming operation in FIG.
[0044] Fig. 15B According to some aspects of the present disclosure, Fig.13 Another example of threshold voltage distribution of memory cells after a coarse programming pass of a scheme of a multi-pass programming operation in FIG.
[0045] Fig.16 A flow chart of a method for operating a storage device according to some aspects of the present disclosure is shown.
[0046] Fig.17 A block diagram of a system having a storage device according to some aspects of the present disclosure is shown.
[0047] Fig.18A A diagram of a memory card having a storage device according to some aspects of the present disclosure is shown.
[0048] Fig.18B A diagram of a solid state drive (SSD) having a storage device according to some aspects of the present disclosure is shown.
[0049] The present disclosure will be described with reference to the accompanying drawings. DETAILED DESCRIPTION
[0050] Typically, a term can be understood, at least in part, from its use in context. For example, the term "one or more" as used herein may be used to describe any feature, structure, or characteristic in a singular sense, or may be used to describe a combination of features, structures, or characteristics in a plural sense, depending, at least in part, on the context. Similarly, terms such as "one," "an," or "the" may be understood to convey singular usage or to convey plural usage, depending, at least in part, on the context. In addition, the term "based on" may be understood to not necessarily be intended to convey an exclusive set of factors, but may, at least in part, depend on the context, allowing for the presence of other factors that are not necessarily explicitly described.
[0051] A memory device, such as a NAND flash memory device, can store more than a single bit of information in each memory cell at multiple levels (also referred to as states) to increase storage capacity and reduce cost per bit. In a programming operation, data can be programmed (written) into an xLC, such as a multi-level cell (MLC), a triple-level cell (TLC), a quad-level cell (QLC), etc. For an xLC, such as a QLC, a multi-pass programming operation can be used to reduce programming time (tPROG) and increase read window margin (RWM), which involves a coarse programming pass that programs the xLC to one of the intermediate levels, and a fine programming pass that programs the xLC from the intermediate level to the final level. For example, for QLC, there are different schemes of two-pass programming operations: a 16-16 scheme, in which memory cells are first programmed to 16 levels in coarse programming to maximize the read window margin, and then reprogrammed in fine programming to form 16 levels with a smaller threshold voltage range; and a K-16 scheme, in which, if the read window margin trade-off is acceptable, memory cells are first programmed to K levels (K<16, such as 8 or 9) in coarse programming, and then programmed to 16 levels in fine programming.
[0052] On the other hand, as part of the power-off process, the coarse data needs to be copied to the single-level cell (SLC) block. When a power-off occurs, the memory controller detects the power-off and sends a command to the NAND flash memory device to write the coarse data to the SLC block. After power-on, the memory controller reads the coarse data stored at the time of the power-off from the SLC block and re-executes the coarse programming pass of the multi-pass programming operation using the coarse data. However, this process involving the SLC block increases the duration of the power-off process and the complexity of supporting the process.
[0053] Therefore, it is desirable for a NAND flash memory device to directly read back at least a portion of the coarse data between the coarse pass and the fine pass during a multi-pass programming operation without involving an SLC block. However, since the coarse data is written with a larger programming step size in incremental step pulse programming (ISPP) to reduce the overall programming time, it is difficult to correctly read back the coarse data due to insufficient read window margin.
[0054] To solve one or more of the aforementioned problems, the present disclosure proposes a coarse data readback scheme that can read back a portion of the coarsely programmed data (e.g., one or more data pages of the data pages to be programmed by a multi-pass programming operation) using an adjusted read voltage adjusted by an offset from a default read voltage in response to a trigger event (e.g., recovery from power failure). As a result, the total time of the power failure process can be reduced, and the system hardware and protocols for supporting the power failure process can be simplified. In some embodiments, in order to ensure that the read window margins between all adjacent intermediate levels are large enough after the coarse programming for readback, the verification voltages for certain intermediate levels are adjusted (e.g., reduced) during the coarse programming.
[0055] Figure 1 A schematic circuit diagram of a memory device 100 including peripheral circuits according to some aspects of the present disclosure is shown. The memory device 100 may include a memory cell array 101 and a peripheral circuit 102 coupled to the memory cell array 101. The memory cell array 101 may be a NAND flash memory cell array, wherein the memory cells 106 are provided in the form of an array of NAND memory strings 108, each memory string 108 extending vertically above a substrate (not shown). In some embodiments, each NAND memory string 108 includes a plurality of memory cells 106 coupled in series and stacked vertically. Each memory cell 106 may hold a continuous analog value, such as a voltage or charge, depending on the number of electrons trapped in the region of the memory cell 106. Each memory cell 106 may be a floating gate type memory cell including a floating gate transistor or a charge trapping type memory cell including a charge trapping transistor.
[0056] In some embodiments, each memory cell 106 is an SLC, which has two possible levels (storage states), and can therefore store one bit of data. For example, the first state "0" can correspond to a first range of threshold voltages, and the second state "1" can correspond to a second range of threshold voltages. In some embodiments, each memory cell 106 is an xLC capable of storing more than one bit of data at more than four levels. For example, an xLC can store two bits per cell (MLC), three bits per cell (TLC), or four bits per cell (QLC). Each xLC can be programmed to assume a possible range of nominal storage values (i.e., with 2 N In some embodiments, each storage unit 106 is set to 2 N One of the final levels corresponding to the segment of N-bit data, where N is an integer greater than 2.
[0057] like Figure 1As shown, each NAND memory string 108 may also include a source select gate (SSG) transistor 110 at its source end and a drain select gate (DSG) transistor 112 at its drain end. The SSG transistor 110 and the DSG transistor 112 may be configured to activate the selected NAND memory string 108 (column of the array) during read and program operations. In some embodiments, the sources of the NAND memory strings 108 in the same block 104 are coupled by the same source line (SL) 114 (e.g., a common SL). In other words, according to some embodiments, all NAND memory strings 108 in the same block 104 have an array common source (ACS). According to some embodiments, the drain of each NAND memory string 108 is coupled to a corresponding bit line 116, from which data can be read or written via an output bus (not shown). In some embodiments, each NAND memory string 108 is configured to be selected or deselected by applying a select voltage or a deselect voltage to the gate of the corresponding DSG transistor 112 via one or more DSG lines 113, and / or applying a select voltage or a deselect voltage to the gate of the corresponding SSG transistor 110 via one or more SSG lines 115.
[0058] like Figure 1 As shown, the NAND memory string 108 can be organized into a plurality of blocks 104, and each of the plurality of blocks 104 can have a common source line 114, for example, coupled to an ACS. In some embodiments, each block 104 is a basic data unit for an erase operation, i.e., all memory cells 106 on the same block 104 are erased simultaneously. In order to erase the memory cells 106 in the selected block 104, the source lines 114 coupled to the selected block 104 and the unselected blocks 104 in the same plane as the selected block 104 can be biased with an erase voltage (Vers), such as a high positive bias voltage (e.g., 20V or higher). Consistent with the scope of the present disclosure, according to some embodiments, at least one of the blocks 104 is an SLC block configured to temporarily store one or more coarsely programmed data pages (i.e., portions of coarse data) that are copied to the SLC blocks in response to a power failure during a multi-pass programming operation.
[0059] The memory cells 106 of adjacent NAND memory strings 108 can be coupled by word lines 118, which select which row of memory cells 106 is affected by read and program operations. In some embodiments, each word line 118 is coupled to a physical page 120 of memory cells 106, which is the basic data unit for read and program operations. The size of one physical page 120 in bits can be related to the number of NAND memory strings 108 coupled by word lines 118 in one block 104. Each word line 118 can include a plurality of control gates (gate electrodes) at each memory cell 106 in a corresponding physical page 120 and gate lines coupling the control gates.
[0060] like Figure 1 As shown, the memory cell array 101 may include an array of memory cells 106 arranged in a plurality of rows and a plurality of columns in each block 104. According to some embodiments, a row of memory cells 106 corresponds to one or more physical pages 120, and a column of memory cells corresponds to one NAND memory string 108. The rows of memory cells 106 may be respectively coupled to word lines 118, and the columns of memory cells 106 may be respectively coupled to bit lines 116. The peripheral circuit 102 may be coupled to the memory cell array 101 through the bit lines 116 and the word lines 118.
[0061] Figure 2 1 shows a side view of a cross section of a memory cell array 101 including NAND memory strings 108 according to some aspects of the present disclosure. Figure 2 As shown, the NAND memory strings 108 may extend vertically through a memory stack 204 above a substrate 202. The substrate 202 may include silicon (e.g., single crystal silicon), silicon germanium (SiGe), gallium arsenide (GaAs), germanium (Ge), silicon on insulator (SOI), germanium on insulator (GOI), or any other suitable material.
[0062] The memory stack 204 may include interwoven gate conductive layers 206 and gate-to-gate dielectric layers 208. The number of pairs of gate conductive layers 206 and gate-to-gate dielectric layers 208 in the memory stack 204 may determine the number of memory cells 106 in the memory cell array 101. The gate conductive layers 206 may include conductive materials including, but not limited to, tungsten (W), cobalt (Co), copper (Cu), aluminum (Al), polysilicon, doped silicon, silicide, or any combination thereof. In some embodiments, each gate conductive layer 206 includes a metal layer, such as a tungsten layer. In some embodiments, each gate conductive layer 206 includes a doped polysilicon layer. Each gate conductive layer 206 may include a control gate surrounding the memory cell 106, a gate of a DSG transistor 112, or a gate of an SSG transistor 110, and may extend laterally as a DSG line 113 at the top of the memory stack 204, an SSG line 115 at the bottom of the memory stack 204, or a word line 118 between the DSG line 113 and the SSG line 115.
[0063] like Figure 2 As shown, the NAND memory string 108 includes a channel structure extending vertically through the memory stack 204. In some embodiments, the channel structure includes a channel hole filled with a semiconductor material (e.g., as a semiconductor channel) and a dielectric material (e.g., as a memory film). It is understood that although Figure 2 Not shown, but additional components of the memory cell array 101 may be formed, including but not limited to gate line slits / source contacts, local contacts, interconnect layers, etc.
[0064] Return to reference Figure 1 , the peripheral circuit 102 may be coupled to the memory cell array 101 via the bit line 116, the word line 118, the source line 114, the SSG line 115, and the DSG line 113. The peripheral circuit 102 may include any suitable analog, digital, and mixed signal circuits for facilitating the operation of the memory cell array 101 by applying and sensing a voltage signal and / or a current signal to each selected memory cell 106 via the bit line 116, the word line 118, the source line 114, the SSG line 115, and the DSG line 113. The peripheral circuit 102 may include various types of peripheral circuits formed using metal oxide semiconductor (MOS) technology. For example, Figure 3 Some exemplary peripheral circuits 601 are shown, including page buffers / sense amplifiers 304, column decoders / bit line drivers 306, row decoders / word line drivers 308, voltage generators 310, control logic 312, registers 314, interfaces (I / Fs) 316, and data buses 318. It should be understood that in some examples, the peripheral circuits 601 may also include Figure 3 Additional peripheral circuits not shown.
[0065] The page buffer / sense amplifier 304 may be configured to sense (read) data from the memory cell array 101 and program (write) data to the array 401 of memory cells according to control signals from the control logic 312. In one example, the page buffer / sense amplifier 304 may store a page of programming data (write data, referred to herein as a "data page") to be programmed into one physical page 120 of the memory cell array 101. In another example, the page buffer / sense amplifier 304 may verify the programmed selected memory cell 106 in each program / verify cycle in a programming operation to ensure that the data has been correctly programmed into the memory cell 106 coupled to the selected word line 118. In yet another example, the page buffer / sense amplifier 304 may also sense a low power signal from the bit line 116, which represents a data bit stored in the memory cell 106, and amplify a small voltage swing to a recognizable logic level in a read operation. Consistent with the scope of the present disclosure, in accordance with some embodiments, page buffer / sense amplifier 304 is configured to temporarily store one or more coarsely programmed data pages (i.e., a portion of coarse data) that are read back from storage cell 106 in response to recovery from a power outage during a multi-pass programming operation.
[0066] The column decoder / bit line driver 306 may be configured to be controlled by the control logic 312 and to select one or more NAND memory strings 108 by applying a bit line voltage generated from the voltage generator 310. The row decoder / word line driver 308 may be configured to be controlled by the control logic 312 and to select / deselect a block 104 of the memory cell array 101 and to select / deselect a word line 118 of the block 104. The row decoder / word line driver 308 may also be configured to drive the word line 118 using the word line voltage generated from the voltage generator 310. In some embodiments, the row decoder / word line driver 308 may also select / deselect and drive the SSG line 115 and the DSG line 113. The voltage generator 310 may be configured to be controlled by the control logic 312 and to generate a word line voltage (e.g., a read voltage, a programming voltage, a channel pass voltage, a local voltage, a verification voltage, etc.), a bit line voltage, and a source line voltage to be provided to the memory cell array 101.
[0067] The control logic 312 may be coupled to each of the above-mentioned peripheral circuits and configured to control the operation of each peripheral circuit. The register 314 may be coupled to the control logic 312 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 peripheral circuit. The interface 316 may be coupled to the control logic 312 and act as a control buffer to buffer and relay control commands received from a memory controller (not shown) and / or a host (not shown) to the control logic 312, and to buffer and relay status information received from the control logic 312 to the memory controller and / or the host. The interface 316 may also be coupled to the column decoder / bit line driver 306 via a data bus 318 and act as a data input / output (I / O) interface and a data buffer to buffer and relay data to and from the memory cell array 101.
[0068] Fig.17 A block diagram of a system 1700 having a storage device according to some aspects of the present disclosure is shown. The system 1700 may be a mobile phone, a desktop computer, a laptop computer, a tablet computer, a car 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 storage device therein. Fig.17 As shown, the system 1700 may include a host 1708 and one or more storage devices 100 ( Figure 1 1700 and a memory system 1702 including a memory controller 1706. The host 1708 may be a processor (e.g., a central processing unit (CPU)) or a system on chip (SoC) (e.g., an application processor (AP)) of an electronic device. The host 1708 may be configured to send data to the memory device 100 or receive data from the memory device 100.
[0069] The storage device 100 may be any storage device disclosed in the present disclosure. According to some embodiments, the memory controller 1706 is coupled to the storage device 100 and the host 1708 and is configured to control the storage device 100. The memory controller 1706 may manage data stored in the storage device 100 and communicate with the host 1708. In some embodiments, the memory controller 1706 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 for electronic devices, such as personal computers, digital cameras, mobile phones, etc. In some embodiments, the memory controller 1706 is designed to operate in a high duty cycle environment, such as an SSD or an embedded multimedia card (eMMC), which is used as data storage for mobile devices (e.g., smartphones, tablets, laptops, etc.) and enterprise storage arrays. The memory controller 1706 may be configured to control operations of the storage device 100, such as read, erase, and program operations. The memory controller 1706 may also be configured to manage various functions regarding data stored or to be stored in the storage device 100, including but not limited to bad block management, garbage collection, logical to physical address conversion, wear leveling, etc. In some embodiments, the memory controller 1706 is also configured to process error correction codes (ECC) regarding data read from or written to the storage device 100. Any other suitable functions may also be performed by the memory controller 1706, for example, formatting the storage device 100. The memory controller 1706 may communicate with an external device (e.g., a host 1708) according to a specific communication protocol. For example, the memory controller 1706 may communicate with an external device through at least one of various interface protocols, such as a USB protocol, a multimedia card (MMC) protocol, a peripheral component interconnect (PCI) protocol, a PCI Express (PCI-E) protocol, an Advanced Technology Attachment (ATA) protocol, a serial ATA protocol, a parallel ATA protocol, a small computer small interface (SCSI) protocol, an enhanced small disk interface (ESDI) protocol, an integrated drive electronics (IDE) protocol, a FireWire protocol, etc.
[0070] In some embodiments, in response to a trigger event (e.g., power failure) occurring during a multi-pass programming operation, the memory controller 1706 is configured to control the memory device 100 to write a portion of the coarse data (e.g., one or more coarsely programmed data pages) to an SLC block of the memory device 100; in response to another trigger event (e.g., recovery from power failure), the memory controller 1706 is configured to control the memory device 100 to read a portion of the coarse data from the SLC block. Consistent with the scope of the present disclosure, in response to another trigger event (e.g., recovery from power failure), the memory controller 1706 is further configured to: control the memory device 100 to read back the remaining portion of the coarse data (e.g., the remaining portion of the coarsely programmed data page) from the memory cells 106 of the memory device 100 using the adjusted read voltage, and temporarily store the read-back coarse data in the page buffer 304 and / or a volatile memory device (not shown, e.g., a dynamic random access memory (DRAM) device) of the memory device 100 in the memory system 1702. In some embodiments, the memory controller 1706 is further configured to control the memory device 100 to re-perform coarse programming of the multi-pass programming operation based on the retrieved coarse data (eg, all coarse-programmed data pages).
[0071] The memory controller 1706 and one or more storage devices 100 can be integrated into various types of storage devices, for example, included in the same package, such as a universal flash memory (UFS) package or an eMMC package. That is, the storage system 1702 can be implemented and packaged into different types of terminal electronic products. Fig.18A In one example shown, the memory controller 1706 and the single storage device 100 may be integrated into a memory card 1802. The memory card 1802 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 1802 may also include a computer that connects the memory card 1802 to a host (e.g., Fig.17 The host 1708 in the memory card connector 1804 is coupled. Fig.18B In another example shown, the memory controller 1706 and the plurality of storage devices 100 may be integrated into an SSD 1806. The SSD 1806 may also include a processor that connects the SSD 1806 to a host (e.g., Fig.17 In some embodiments, the storage capacity and / or operating speed of SSD1806 is greater than the storage capacity and / or operating speed of memory card 1802.
[0072] Figure 41 shows an example of a threshold voltage distribution of a memory cell in a programming operation according to some aspects of the present disclosure. As described above, each memory cell 106 may be configured to be set to 2 N One of the final levels corresponding to the N-bit data segment, where N is an integer greater than 2 (e.g., for TLC, N=3; for QLC, N=4, etc.). Each level may be associated with 2 bits of the memory cell 106. N Considering a multi-pass programming operation, in which the memory cell 106 may first be programmed to an intermediate level in a coarse programming pass (also referred to as coarse programming), the "level" referred to herein may be considered to be the final level after a fine programming pass (also referred to as fine programming) of the multi-pass programming operation, which is different from the intermediate level. Taking QLC as an example, where N=4, as Figure 4 As shown, the memory cell 106 can be set to one of 16 levels, including one level of the erased state and 15 levels of the programmed state. Each level can correspond to a corresponding threshold voltage (Vth) range of the memory cell 106. For example, the level corresponding to the lowest threshold voltage range ( Figure 4 The leftmost threshold voltage range in the table can be regarded as level 0 (P0), and the level corresponding to the second lowest threshold voltage range ( Figure 4 The second threshold voltage range on the left of the ) can be regarded as level 1 (P1), and so on, until the level (P15) corresponding to the highest threshold voltage range ( Figure 4 rightmost threshold voltage range in ).
[0073] On the other hand, each level can be connected with 2 N In some embodiments, 2 N The N-bit data can be represented by Gray code (in the form of Gray code). Gray code (also known as reflected binary code (RBC) or reflected binary (Rb)) is an ordering of the binary number system so that two consecutive values differ by only one bit (binary digit). For example, Table 1 below shows the representation of Figure 4 An example of a binary code with a one-to-one mapping between 16 levels (P0 to P15) and 16 segments of 4-bit data used in an example of FIG. As shown in Table 1, each segment of 4-bit data can be composed of 4-bit binary values (b1, b2, b3, and b4). In one example, level 1 can correspond to a 4-bit data segment with a value of 1111. In another example, level 15 can correspond to another 4-bit data segment with a value of 1110.
[0074] Table 1
[0075] Lvl P0 P1 P2 P3 P4 P5 P6 P7 P8 P9 P10 P11 P12 P13 P14 P15 b1 1 1 0 0 0 0 0 0 1 1 1 1 1 1 0 0 b2 1 1 1 0 0 0 0 1 1 0 0 0 0 1 1 1 b3 1 1 1 1 1 0 0 0 0 0 1 1 0 0 0 1 b4 1 0 0 0 1 1 0 0 0 0 0 1 1 1 1 1
[0076] Also refer to Figure 3 In a programming operation, N data pages of N-bit data sent via data bus 318 may be temporarily stored in page buffer / sense amplifier 304, and page buffer / sense amplifier 304 may be configured to provide a corresponding N-bit data segment to each target memory cell 316 via a corresponding bit line 116. For example, Figure 6 1 shows a block diagram of an exemplary page buffer / sense amplifier 304 in a programming operation according to certain aspects of the present disclosure. In some embodiments, the page buffer / sense amplifier 304 includes N storage modules 602 (e.g., latches and / or caches), each of which is configured to temporarily store one of the N data pages. That is, in a programming operation, the N bits of data (having 2 bits) stored by a row of target memory cells 106 coupled to a selected word line 118 are stored in the memory cell 106. N values) can be sent, stored, and provided in the form of N data pages of N bits of data.
[0077] Still taking QLC, where N = 4 as an example, Figure 6 As shown, the page buffer / sense amplifier 304 may include four memory modules 602 (D1, D2, D3, and D4), each memory module 602 being configured to temporarily store one of four data pages. Each memory module 602 may include i memory cell devices (units) 604 (e.g., registers), and in a programming operation, the i target memory cell devices 604 correspond to i target memory cells 106 in a row of memory cells 106 coupled to the selected word line 118. That is, each target memory cell 106 may be coupled to a corresponding set of four memory cell devices 604 from each of the four memory modules 602 (D1, D2, D3, and D4) through a corresponding bit line 116 (BL_1, BL_2, ..., BL_i-1, or Bl_i). For each target memory cell 106 in a programming operation, the four-bit binary value in the corresponding 4-bit data segment (for example, b1, b2, b3 and b4 according to the Gray code in Table 1) can be temporarily stored in the corresponding set 604 of the four memory cell device, so that the corresponding 4-bit data segment can be provided to the target memory cell 106 by the page buffer / sense amplifier 304.
[0078] To perform a programming operation, in addition to the page buffer / sense amplifier 304 providing a corresponding N-bit data segment to each target memory cell 106, the row decoder / word line driver 308 can be configured to apply a programming voltage and a verification voltage to a selected word line 118 coupled to a row of target memory cells 106 in one or more programming / verification cycles to raise the threshold voltage of each target memory cell 106 to a desired level (to a desired threshold voltage range) based on the corresponding N-bit data terminal. For example, Figure 7 and Figure 8 An example of a word line voltage waveform applied to a selected word line in a multi-pass programming operation according to some aspects of the present disclosure is shown. Figure 7 As shown, the multi-pass programming operation includes at least a first pass 702a (also referred to as a coarse programming pass, such as a non-final programming pass) and a second pass 702b (also referred to as a fine programming pass, such as a final programming pass) after the first pass 702a. The first pass 702a includes one or more program / verify cycles 704a, and the second pass 702b also includes one or more program / verify cycles 704b.
[0079] like Figure 8 As shown, in each program / verify cycle 704, whether in the first pass 702a or the second pass 702b, a program voltage (Vpgm) is applied to the selected word line, followed by a plurality of verify voltages (Vvfy) with incremental changes in voltage levels. Figure 8 As shown, in each programming / verification cycle 704, the row decoder / word line driver 308 can be configured to: apply a programming voltage (Vpgm) to the selected word line 118 in the programming cycle 802 to select a row of memory cells 106, and then apply one or more verification voltages (Vvfy) with incremental changes in voltage levels in the verification cycle 804 for verifying the memory cells 106 of the selected row. That is, after applying the programming voltage in the programming cycle 802, the peripheral circuit 102 can perform verification of the memory cells 106 of the selected row at one or more levels in the verification cycle 804. According to some embodiments, the number of verification voltages applied in the verification cycle 804 depends on the level programmed by the particular programming / verification cycle 704. As a result, at the end of the programming operation, the selected memory cell 106 can be programmed to 2 N bits based on the corresponding N bits of data to be stored in the selected memory cell 106. N One of the levels.
[0080] Any suitable k-2 may be used consistent with the scope of the present disclosure. N Solution (where k is not greater than 2 N The number of intermediate levels k and the number of final levels 2 are integers) to implement multi-pass programming operations, wherein the number of intermediate levels k and the number of final levels 2 Nis the same (e.g., a 16-16 scheme for QLC), or the number of intermediate levels k is less than the number of final levels 2 N (e.g., an 8-16 scheme or a 9-16 scheme for QLC). In a multi-pass programming operation, in a fine programming pass (e.g., a final programming pass that programs each target memory cell 106 to a final level), each target memory cell 106 may be set to 2 N For a coarse programming pass (e.g., any non-final programming pass that programs each target memory cell 106 to an intermediate level), each target memory cell 106 is set to one of k intermediate levels (where k≤2 N ).
[0081] like Figure 8 As shown in FIG. 8 , the number of verification voltages applied in each verification cycle 804 can determine the number of intermediate levels or the number of final levels to which the target memory cell 106 can be set in a coarse programming pass or a fine programming pass. In some embodiments, in a coarse programming pass, (k-1) verification voltages are applied by the word line driver 308 in the verification cycle 804 to select the word line 118 to form k intermediate levels, while in a fine programming pass, (2 N -1) verification voltage is applied by word line driver 308 in verification cycle 804 to select word line 118 to form 2 N final level.
[0082] like Figure 5 As shown, the verification voltages Vvfy0, Vvfy1 and Vvfy2 can define the threshold voltage ranges of the corresponding levels P1, P2 and P3 respectively by setting the lower limit of the threshold voltage range. The width of the threshold voltage range can be determined by the corresponding programming voltage Vpgm (e.g. Figure 8 The read window margin (RWM) between adjacent levels (threshold voltage ranges) and the read voltage Vrd can therefore be defined by the verification voltage Vvfy and the programming voltage Vpgm. For example, by adjusting the verification voltages Vvfy0, Vvfy1, and Vvfy2 during a programming operation, the read window margins between the levels P0, P1, P2, and P3, and the corresponding read voltages Vrd0, Vrd1, and Vrd2 between the levels P0, P1, P2, and P3 can be adjusted, respectively.
[0083] Fig.161600 for operating a memory device according to some aspects of the present disclosure. The memory device may be any suitable memory device disclosed herein, such as the memory device 100. The method 1600 may be implemented by the peripheral circuit 102, such as the row decoder / word line driver 308, the page buffer / sense amplifier 304, and the control logic 312. It should be understood that the operations shown in the method 1600 may not be exhaustive, and other operations may be performed before, after, or between any of the illustrated operations. In addition, some of these operations may be performed simultaneously or in parallel. Fig.16 The different orders are shown in .
[0084] refer to Fig.16 The method 1600 begins at operation 1602, where, in a first pass, memory cells of a selected row are programmed based on N data pages so that each memory cell in the selected row is set to one of k intermediate levels, where k is not greater than 2. N In some embodiments, in order to program the selected row, an adjusted verification voltage is applied to the selected word line for verifying the lower level of the two adjacent intermediate levels. The adjusted verification voltage can be less than the default verification voltage for verifying the lower level of the two adjacent intermediate levels.
[0085] For example, in a multi-pass programming operation, the peripheral circuit 102 may be configured to program the memory cells 106 of the selected row based on N data pages in a first pass 702a (e.g., a coarse programming pass) so that each memory cell 106 of the selected row is set to one of k intermediate levels. Each memory cell 106 is set to 2 N A final level corresponding to the N-bit data segment among the final levels, wherein N is an integer greater than 2, and k is not greater than 2. N The k intermediate levels may correspond to k threshold voltage ranges of the memory cells 106 of the selected row, respectively. In some embodiments, in order to program the memory cells 106 of the selected row in the first pass 702a, the word line driver 308 is configured to: in the programming cycle 802, apply the first programming voltage Vpgm (e.g., the coarse programming voltage) to the selected word line 118 coupled to the memory cells 106 of the selected row, and then in the verification cycle 804, apply a set of first verification voltages Vvfy (e.g., the coarse verification voltage) to the selected word line 118 for verification and thus forming the intermediate levels. For example, the set of coarse verification voltages may include (k-1) verification voltages for verification and forming k intermediate levels in the first pass 702a.
[0086] Method 1600 proceeds to operation 1604, such as Fig.16As shown, it is determined whether a triggering event occurs. The triggering event may include power failure of the storage device. If the answer to operation 1604 is "no", the method 1600 proceeds to operation 1610, as shown in FIG. Fig.16 As shown, in the second pass, based on the N data pages after the first pass, the memory cells of the selected row are programmed so that each memory cell of the selected row is set to 2 N That is, if no trigger event occurs, operation 1606 in which M of the N data pages are read from the selected row after the first pass may be skipped.
[0087] For example, if the multi-pass programming operation is performed normally, e.g., without any interruption, the peripheral circuit 102 may be configured to program the memory cells 106 of the selected row based on the N data pages after the first pass 702a in the second 702b (e.g., fine programming pass), so that each memory cell of the selected row is set to 2 N One of the final levels. 2 N The final levels can be respectively connected to the two memory cells 106 of the selected row. N In some embodiments, in order to program the memory cells 106 of the selected row in the second pass 702b, the word line driver 308 is configured to: apply the second programming voltage Vpgm (e.g., fine programming voltage) to the selected word line 118 in the programming cycle 802, and then apply a set of second verification voltages Vvfy (e.g., fine verification voltages) to the selected word line 118 in the verification cycle 804 for verification and thus forming the final level. For example, the set of fine verification voltages may include (2 N -1) verification voltage for verification and forming 2 in the second pass 702b N final level.
[0088] Method 1600 proceeds to operation 1612, such as Fig.16 As shown, N data pages are read from the selected row after the second pass. For example, after a multi-pass programming operation, each memory cell 106 of the memory cell 106 of the selected row may be set to 2 based on the N data pages. N One of the final levels. Later in a read operation, the peripheral circuit 102 can be configured to read N data pages from the memory cells 106 of the selected row after the second pass 702b of the multi-pass programming operation. In some embodiments, to read the N data pages, the word line driver 308 is configured to apply a set of first read voltages Vrd (e.g., default read voltages) to the selected word line 118. For example, based on the Gray code used to program the memory cells 106, each default read voltage can correspond to two adjacent intermediate levels.
[0089] For example, Fig. 9 An example of the threshold voltage distribution of a memory cell in a first scheme of a multi-pass programming operation applied to a QLC according to some aspects of the present disclosure is shown. In this scheme, the number of intermediate levels k is equal to the number of final levels 2 N (For example, 16 for QLC). Fig. 9 As shown, after a coarse programming pass, each memory cell 106 is set to one of 16 intermediate levels P0-P15; after a fine programming pass, each memory cell 106 is further set to one of 16 final levels P0'-P15'. Fig. 10A According to some aspects of the present disclosure, a method for Fig. 10A An example of a Gray code scheme for a multi-pass programming operation. Fig. 9 As shown, four data pages (for QLC, N=4) include a lower page LP, a middle page MP, an upper page UP, and an extra page XP, which are used to program the memory cell 106 to a corresponding one of 16 intermediate levels MLV in a coarse programming pass and a corresponding one of 16 final levels FLV in a fine programming pass according to a Gray code. Fig. 10A As shown, each final level may correspond to an intermediate level.
[0090] In a read operation, to read a data page among four data pages, a set of default read voltages is applied to distinguish every two adjacent final levels that switch between "0" and "1" in corresponding rows of the data page, and vice versa. Fig. 10A As shown, in one example, for LP, a first default read voltage may be applied between P1 and P2, a second default read voltage may be applied between P7 and P8, and a third default read voltage may be applied between P13 and P14. In another example, for XP, a first default read voltage may be applied between P0 and P1, a second default read voltage may be applied between P3 and P4, a third default read voltage may be applied between P5 and P6, and a fourth default read voltage may be applied between P10 and P11.
[0091] For example, Fig.11 An example of the threshold voltage distribution of a memory cell in a second scheme of a multi-pass programming operation applied to a QLC according to some aspects of the present disclosure is shown. In this scheme, the number of intermediate levels k (e.g., 9) is less than the number of final levels 2 N (For example, 16 for QLC). Fig.11 As shown, after a coarse programming pass, each memory cell 106 is set to one of nine intermediate levels P0-P8; after a fine programming pass, each memory cell 106 is further set to one of 16 final levels P0'-P15'. Fig. 12A According to some aspects of the present disclosure, a method for Fig.11 An example of a Gray code scheme for a multi-pass programming operation. Fig. 12A As shown, four data pages (for QLC, N=4) include a lower page LP, a middle page MP, an upper page UP, and an extra page XP, which are used to program the memory cell 106 to a corresponding one of 9 intermediate levels MLV in a coarse programming pass and to program the memory cell 106 to a corresponding one of 16 final levels FLV in a fine programming pass according to the Gray code. In some embodiments, a "0" in the Gray code indicates an inhibit state, and a "1" in the Gray code indicates a programming state. Fig. 12A As shown, each final level can correspond to one, two or three intermediate levels. For example, the intermediate levels P0, P1, P7, P8 correspond to the final levels P0', P1', P14', P15' respectively; the intermediate level P4 corresponds to the final levels P8' and P9'; the intermediate level P5 corresponds to the final levels P10' and P11'; the intermediate level P6 corresponds to the final levels P12' and P13'; the intermediate level P2 corresponds to the final levels P2', P3' and P4'; the intermediate level P3 corresponds to the final levels P5', P6' and P7'. It should be understood that the mapping between the intermediate levels and the final levels may be different in different examples.
[0092] In a read operation, to read a data page among four data pages, a set of default read voltages is applied to distinguish every two adjacent final levels that switch between "0" and "1" in corresponding rows of the data page, and vice versa. Fig. 12A As shown, in one example, for LP, a first default read voltage may be applied between P1' and P2', a second default read voltage may be applied between P7' and P8', and a third default read voltage may be applied between P13' and P14'. In another example, for UP, a first default read voltage may be applied between P4' and P5', a second default read voltage may be applied between P9' and P10', a third default read voltage may be applied between P11' and P12', and a fourth default read voltage may be applied between P14' and P15'.
[0093] For example, Fig.13 An example of a threshold voltage distribution of a memory cell in a third scheme of a multi-pass programming operation applied to a QLC according to some aspects of the present disclosure is shown. In this scheme, the number of intermediate levels k (e.g., 8) is less than the number of final levels 2 N (For example, 16 for QLC). Fig.13As shown, after a coarse programming pass, each memory cell 106 is set to one of eight intermediate levels P0-P7; after a fine programming pass, each memory cell 106 is further set to one of 16 final levels P0'-P15'. Fig.14A According to some aspects of the present disclosure, a method for Fig.13 An example of a Gray code scheme for a multi-pass programming operation. Fig.14A As shown, four data pages (for QLC, N=4) include a lower page LP, a middle page MP, an upper page UP, and an extra page XP, which are used to program the memory cell 106 to a corresponding one of 8 intermediate levels MLV in a coarse programming pass and to program the memory cell 106 to a corresponding one of 16 final levels FLV in a fine programming pass according to the Gray code. In some embodiments, a "0" in the Gray code indicates a prohibited state, and a "1" in the Gray code indicates a programmed state. Fig.14A As shown, each final level can correspond to one, two or three intermediate levels. For example, intermediate levels P0 and P1 correspond to final levels P0' and P1', respectively; intermediate level P2 corresponds to final levels P2' and P3'; intermediate level P3 corresponds to final levels P4' and P5'; intermediate level P4 corresponds to final levels P6' and P7'; intermediate level P7 corresponds to final levels P14' and P15'; intermediate level P5 corresponds to final levels P8', P9' and P10'; intermediate level P6 corresponds to final levels P11', P12' and P13'. It should be understood that the mapping between intermediate levels and final levels may be different in different examples.
[0094] In a read operation, to read a data page among four data pages, a set of default read voltages is applied to distinguish every two adjacent final levels that switch between "0" and "1" in corresponding rows of the data page, and vice versa. Fig.14A As shown, in one example, for LP, a first default read voltage may be applied between P1' and P2', a second default read voltage may be applied between P7' and P8', and a third default read voltage may be applied between P13' and P14'. In another example, for XP, a first default read voltage may be applied between P0' and P1', a second default read voltage may be applied between P3' and P4', a third default read voltage may be applied between P5' and P6', and a fourth default read voltage may be applied between P10' and P11'.
[0095] Fig.15A According to some aspects of the present disclosure, a method for Fig.13 Another example of a Gray code scheme for a multi-pass programming operation. Fig.15AAs shown, four data pages (for QLC, N=4) include a lower page LP, a middle page MP, an upper page UP, and an extra page XP, which are used to program the memory cell 106 to a corresponding one of 8 intermediate levels MLV in a coarse programming pass and to program the memory cell 106 to a corresponding one of 16 final levels FLV in a fine programming pass according to the Gray code. In some embodiments, a "0" in the Gray code indicates a prohibited state, and a "1" in the Gray code indicates a programmed state. Fig.15A As shown, each final level can correspond to one, two or three intermediate levels. For example, intermediate levels P0 and P7 correspond to final levels P0' and P15', respectively; intermediate level P2 corresponds to final levels P4' and P5'; intermediate level P4 corresponds to final levels P9' and P10'; intermediate level P5 corresponds to final levels P11' and P12'; intermediate level P6 corresponds to final levels P13' and P14'; intermediate level P1 corresponds to final levels P1', P2' and P3'; intermediate level P3 corresponds to final levels P6', P7' and P8'. It should be understood that the mapping between intermediate levels and final levels may be different in different examples.
[0096] In a read operation, to read a data page among four data pages, a set of default read voltages is applied to distinguish every two adjacent final levels that switch between "0" and "1" and vice versa in corresponding rows of the data page. Fig.15A As shown, for example, for XP, a first default read voltage may be applied between P0' and P1', a second default read voltage may be applied between P3' and P4', a third default read voltage may be applied between P5' and P6', and a fourth default read voltage may be applied between P10' and P11'.
[0097] Return to reference Fig.16 If the answer to operation 1604 is "yes", method 1600 proceeds to operation 1606, as Fig.16 As shown, wherein, after the first pass, M data pages out of N data pages are read from the selection row, wherein M is an integer less than N. In some embodiments, in order to read the M data pages after the first pass and before the second pass, at least two threshold voltage ranges corresponding to two adjacent intermediate levels among the k intermediate levels do not overlap. In some embodiments, in order to read the M data pages, an adjusted read voltage between the two threshold voltage ranges is applied to the selection word line. In some embodiments, in order to read the M data pages, a default read voltage corresponding to the two adjacent intermediate levels is applied to the selection word line based on a Gray code used to program the memory cell. The adjusted read voltage may be adjusted by an offset from the default read voltage.
[0098] For example, if the multi-pass programming operation is interrupted by power failure of the memory device 100 between the first and second passes 702a and 702b, the peripheral circuit 102 may be configured to read M data pages out of N data pages from the memory cells 106 of the selected row after the first pass 702a, where M is an integer less than N. That is, instead of copying all N data pages to the SLC blocks of the memory device 100 in response to power failure, at least some of the data pages (M pages out of N pages) (i.e., a portion of the coarse data) programmed after the first pass 702a may be read back from the memory cells 106 of the selected row after the memory device 100 recovers from power failure if the read window margin of the associated intermediate level is large enough. Therefore, it may not be necessary to copy these M data pages to the SLC blocks, but it may only be necessary to copy the remaining (NM) data pages to the SLC blocks for power failure processing, thereby reducing the duration and complexity of the power failure processing.
[0099] As described above, in order to read a data page between coarse programming and fine programming passes, a set of read voltages needs to be applied between certain adjacent intermediate levels that switch between "0" and "1" in the corresponding row of the Gray code, and vice versa. Therefore, according to some embodiments, the two threshold voltage ranges corresponding to each of those read-related adjacent intermediate levels need to be non-overlapping, for example, with a sufficiently large read window margin, so as to read the corresponding data page. Therefore, in the case where any of those read-related adjacent intermediate levels does not have a sufficiently large read window margin and cannot read back the coarse data after the coarse programming pass, for example, the corresponding two threshold voltage ranges overlap, then at least the threshold voltage distribution of those intermediate levels needs to be adjusted in the coarse programming pass. In some embodiments, in order to program the memory cells 106 of the selected row in the first pass 702a, the word line driver 308 is also configured to: apply an adjusted verification voltage to the selection word line 118 for verifying the lower level of the two adjacent intermediate levels. The adjusted verification voltage can be less than the default verification voltage for verifying the lower level of the two adjacent intermediate levels. Therefore, the read window margin between two adjacent intermediate levels can be expanded to facilitate read back.
[0100] For example, Fig. 10B According to some aspects of the present disclosure, Fig. 91002 is formed by verifying the memory cells 106 using a set of default coarse verification voltages, which may not have sufficient read window margins between adjacent intermediate levels. Threshold voltage distribution 1004 of memory cells 106 is formed by verifying the memory cells 106 using a set of adjusted coarse verification voltages, which may expand the read window margins between certain adjacent intermediate levels for reading certain coarse data pages.
[0101] according to Fig. 10A In the Gray code, for LP, a first coarse read voltage may be applied between P1 and P2, a second coarse read voltage may be applied between P7 and P8, and a third coarse read voltage may be applied between P13 and P14. Accordingly, a first adjusted coarse verification voltage smaller than the corresponding default coarse verification voltage may be applied to verify P1 (i.e., the lower level of P1 and P2), a second adjusted coarse verification voltage smaller than the corresponding default coarse verification voltage may be applied to verify P7 (i.e., the lower level of P7 and P8), and a third adjusted coarse verification voltage smaller than the corresponding default coarse verification voltage may be applied to verify P13 (i.e., the lower level of P13 and P14). Similarly, as described above, for XP, a first coarse read voltage may be applied between P0 and P1, a second coarse read voltage may be applied between P3 and P4, a third coarse read voltage may be applied between P5 and P6, and a fourth coarse read voltage may be applied between P10 and P11. Accordingly, a first adjusted coarse verification voltage that is smaller than the corresponding default coarse verification voltage may be applied to verify P3 (i.e., the lower level of P3 and P4), a second adjusted coarse verification voltage that is smaller than the corresponding default coarse verification voltage may be applied to verify P5 (i.e., the lower level of P5 and P6), and a third adjusted coarse verification voltage that is smaller than the corresponding default coarse verification voltage may be applied to verify P10 (i.e., the lower level of P10 and P11). It should be understood that even at the default verification voltages, the read window margin between P0 and P1 is typically large enough and therefore may not need to be amplified. Therefore, by comparing the Fig. 10BThe threshold voltage ranges corresponding to P1, P3, P5, P7, P10, and P13 (indicated by the dotted line) in the multi-pass programming operation are moved to the left, and the read window margins between P1 and P2, P3 and P4, P5 and P6, P7 and P8, P10 and P11, and P13 and P14 can be expanded. As a result, in a multi-pass programming operation, the LP and XP of four data pages can be read after the coarse programming pass. In some embodiments, the threshold voltage ranges corresponding to two adjacent intermediate levels cannot be adjusted together, for example, P6 and P7, or P9 and P10. Therefore, the read window margin between P6 and P7 or between P9 and P10 may not be sufficient to read MP or UP after the coarse programming pass.
[0102] For example, Fig. 12B According to some aspects of the present disclosure, Fig.11 1. An example of a threshold voltage distribution of memory cells 106 after a coarse programming pass of a second scheme of a multi-pass programming operation in FIG. 1. The threshold voltage distribution 1202 of the memory cells 106 is formed by verifying the memory cells 106 using a set of default coarse verification voltages, which may not have sufficient read window margins between some adjacent intermediate levels. Fig. 10B Different from the first solution, even with the default coarse verification voltage, Fig. 12B Some adjacent intermediate levels in the second scheme in may also have sufficient read window margins. The threshold voltage distribution 1204 of the memory cell 106 is formed by verifying the memory cell 106 using a set of adjusted coarse verification voltages, which can expand the read window margins between some adjacent intermediate levels for reading some coarse data pages.
[0103] according to Fig. 12A In the Gray code in, for LP, a first coarse read voltage may be applied between P1 and P2, a second coarse read voltage may be applied between P3 and P4, and a third coarse read voltage may be applied between P6 and P7. Accordingly, a first adjusted coarse verification voltage that is smaller than the corresponding default coarse verification voltage may be applied to verify P1 (i.e., the lower level of P1 and P2), and a second adjusted coarse verification voltage that is smaller than the corresponding default coarse verification voltage may be applied to verify P6 (i.e., the lower level of P6 and P7). It should be understood that even at the default verification voltage, the read window margin between P3 and P4 may be large enough, and therefore amplification may not be required. Similarly, according to Fig. 12AIn the Gray code in, for UP, a first coarse read voltage may be applied between P2 and P3, a second coarse read voltage may be applied between P4 and P5, a third coarse read voltage may be applied between P5 and P6, and a fourth coarse read voltage may be applied between P7 and P8. Therefore, an adjusted coarse verification voltage that is smaller than the corresponding default coarse verification voltage may be applied to verify P7 (i.e., the lower level of P7 and P8). It should be understood that even at the default verification voltage, the read window margins between P2 and P3, P4 and P5, and P5 and P6 may be large enough and therefore may not need to be expanded. As a result, by Fig. 12B Shifting the threshold voltage ranges corresponding to P1, P6, and P7 (indicated by dashed lines) to the left in FIG. 1 can expand the read window margins between P1 and P2, P6 and P7, and P7 and P8. As a result, in a multi-pass programming operation, LP and UP of four data pages can be read after a coarse programming pass. In some embodiments, MP and XP cannot be read after a coarse programming pass because the read window margins between P1 and P2, P6 and P7, and P7 and P8 can be expanded. Fig. 12A For those data pages of the Gray code in , at least one of the intermediate levels corresponds to both "0" and "1", for example, for MP, P2, P3, P4 and P6; and for XP, P2, P3 and P5.
[0104] For example, Fig. 14B According to some aspects of the present disclosure, Fig.13 14. An example of a threshold voltage distribution of memory cells 106 after a coarse programming pass of a third scheme of a multi-pass programming operation in FIG. 14. The threshold voltage distribution 1402 of the memory cells 106 is formed by verifying the memory cells 106 using a set of default coarse verification voltages, which may not have sufficient read window margins between some adjacent intermediate levels. Fig. 10B Different from the first solution, even with the default coarse verification voltage, Fig. 14B Most of the adjacent intermediate levels in the second scheme in may also have sufficient read window margins. The threshold voltage distribution 1404 of the memory cell 106 is formed by verifying the memory cell 106 using a set of adjusted coarse verification voltages, which can expand the read window margins between certain adjacent intermediate levels for reading certain coarse data pages.
[0105] according to Fig.14AIn the Gray code in, for LP, a first coarse read voltage may be applied between P1 and P2, a second coarse read voltage may be applied between P4 and P5, and a third coarse read voltage may be applied between P6 and P7. Therefore, an adjusted coarse verification voltage that is smaller than the corresponding default coarse verification voltage may be applied to verify P1 (i.e., the lower level of P1 and P2). It should be understood that even at the default verification voltage, the read window margins between P4 and P5 and P6 and P7 may be large enough and therefore may not need to be amplified. Similarly, according to Fig.14A In the Gray code in, for XP, a first coarse read voltage may be applied between P2 and P3, a second coarse read voltage may be applied between P3 and P4, and a third coarse read voltage may be applied between P5 and P6. It should be understood that even at the default verification voltage, the read window margins between P2 and P3, P3 and P4, and P5 and P6 may be large enough and therefore may not need to be enlarged. As a result, by Fig. 14B Shifting the threshold voltage range corresponding to P1 (indicated by the dotted line) to the left in FIG. 1 can expand the read window margin between P1 and P2. As a result, in a multi-pass programming operation, LP and XP of four data pages can be read after a coarse programming pass. In some embodiments, MP and UP cannot be read after a coarse programming pass because the threshold voltage range corresponding to P1 is shifted to the left in FIG. 1 and the read window margin between P1 and P2 can be expanded. As a result, in a multi-pass programming operation, LP and XP of four data pages can be read after a coarse programming pass. Fig.14A For those data pages of the Gray code in , at least one of the intermediate levels corresponds to both "0" and "1", for example, for MP, P2, P4, P5 and P6; and for UP, P3, P5 and P6, and P7.
[0106] It should be understood that in some examples, e.g. Fig. 15B As shown in , all adjacent intermediate levels can have sufficient read window margin for read back after the coarse programming pass, even when using the default coarse verification voltage. Therefore, the default coarse verification voltage (without any adjusted coarse verification voltage) can be used to verify and form all intermediate levels. Fig.15A In the Gray code in, for XP, a first coarse read voltage may be applied between P0 and P1, a second coarse read voltage may be applied between P1 and P2, a third coarse read voltage may be applied between P2 and P3, and a fourth coarse read voltage may be applied between P4 and P5. As a result, in a multi-pass programming operation, XP of four data pages may be read after a coarse programming pass. In some embodiments, LP, MP, and UP cannot be read after a coarse programming pass because for XP according to Fig.15A For those data pages of the Gray code in , at least one of the intermediate levels corresponds to both "0" and "1", for example, for LP, P1, P3 and P6; for MP, P1 and P3; and for UP, P2, P4 and P5.
[0107] According to some embodiments, in order to read M of the N data pages from the memory cells 106 of the selected row after the first pass 702a, a set of coarse read voltages is applied by the word line driver 308 to select the word line 118. Each coarse read voltage can be set between two threshold voltage ranges of the corresponding read-related adjacent intermediate levels. However, the read operation is usually performed by the memory device 100 based on a default read voltage, which corresponds to a threshold voltage range of the read-related adjacent final level (i.e., the fine read voltage) instead of the intermediate level. Therefore, according to some embodiments, the coarse read voltage used to perform a read back after the coarse programming pass is adjusted by a certain offset from the default read voltage.
[0108] The offset between the default read voltage (fine read voltage) and the adjusted read voltage (coarse read voltage) is obtained by any suitable method. In one example, after power is turned off and then turned on again, the tester can adjust the read voltage and use a step voltage (e.g., 10mv) starting from P0 to scan the entire intermediate level to obtain the best read voltage (i.e., coarse read voltage) between each intermediate level and the adjacent intermediate level. The best read voltage can be recorded, and the offset can be equal to the difference between the default read voltage (i.e., fine read voltage) and the recorded best read voltage. In some embodiments, the offset is stored in the memory device 100 (e.g., certain memory cells 106), and the offset is retrieved by the memory device 100 when reading some data pages after the coarse programming pass. The retrieved offset can be used by the control logic 312 of the peripheral circuit 102 together with the corresponding fine read voltage based on the Gray code to determine the coarse read voltage.
[0109] For example, in Fig. 10A and Fig. 10B In the first scheme shown, for LP, the first coarse read voltage between P1 and P2 can be adjusted by a first offset from the first fine read voltage between P1' and P2', the second coarse read voltage between P7 and P8 can be adjusted by a second offset from the second fine read voltage between P7' and P8', and the third coarse read voltage between P13 and P14 can be adjusted by a third offset from the third fine read voltage between P13' and P14'. Table 2 below shows an example of a correspondence table of each level and the corresponding read offset when reading back in the first scheme.
[0110] Table 2
[0111] Level Offset P0 ΔV0 P1 ΔV1 P2 ΔV2 ... ... P14 ΔV14 P15 ΔV15
[0112] For example, in Fig. 12A and 12BIn the second scheme shown, for LP, the first coarse read voltage between P1 and P2 can be adjusted by a first offset from the first fine read voltage between P1' and P2', the second coarse read voltage between P3 and P4 can be adjusted by a second offset from the second fine read voltage between P7' and P8', and the third coarse read voltage between P6 and P7 can be adjusted by a third offset from the third fine read voltage between P13' and P14'.
[0113] For example, in Fig.14A and 14B In the third scheme shown, for LP, the first coarse read voltage between P1 and P2 can be adjusted by a first offset from the first fine read voltage between P1' and P2', the second coarse read voltage between P4 and P5 can be adjusted by a second offset from the second fine read voltage between P7' and P8', and the third coarse read voltage between P6 and P7 can be adjusted by a third offset from the third fine read voltage between P13' and P14'.
[0114] For example, in Fig.15A and 15B In the first scheme shown, for XP, the first coarse read voltage between P0 and P1 can be adjusted by a first offset from the first fine read voltage between P0' and P1', the second coarse read voltage between P1 and P2 can be adjusted by a second offset from the second fine read voltage between P3' and P4', the third coarse read voltage between P2 and P3 can be adjusted by a third offset from the third fine read voltage between P5' and P6', and the fourth coarse read voltage between P4 and P5 can be adjusted by a fourth offset from the fourth fine read voltage between P10' and P11'. Table 3 below shows an example of a corresponding table of each level and the corresponding read offset when reading back in the second, third and fourth schemes.
[0115] Table 3
[0116] Level Offset P0 ΔV0 P1 ΔV1 P2 ΔV2 ... ... P7 ΔV7 P8 ΔV8
[0117] Method 1600 proceeds to operation 1608, such as Fig.16 As shown, the remaining (NM) data pages are copied to a designated block of the memory device after the first pass. For example, the peripheral circuit 102 may be configured to, in response to a power outage, copy the remaining (NM) data pages that cannot be read back during the multi-pass programming operation to an SLC block of the memory device 100. In response to recovery from the power outage, the peripheral circuit 102 may be configured to, together with the N data pages read back from the memory cell 106, copy the remaining (NM) data pages from the SLC block of the memory device 100 for reprogramming.
[0118] The foregoing description of specific embodiments can be easily modified and / or adapted for various applications. Therefore, based on the teaching and guidance given herein, these transformations and modifications are intended to fall within the meaning and scope of the equivalents of the disclosed embodiments. The breadth and scope of the present disclosure should not be limited by any one of the above-mentioned exemplary embodiments, but should only be defined according to the attached claims and their equivalents. Although specific configurations and arrangements have been discussed, it should be understood that this is for illustrative purposes only. Therefore, other configurations and arrangements can be used without departing from the scope of the present disclosure. In addition, the subject matter described in the present disclosure can also be used for various other applications. The functions and structural features described in the present disclosure can be combined, adjusted, modified and rearranged in a manner consistent with the scope of the present disclosure.
Claims
1. A storage device, comprising: An array of memory cells arranged in rows and columns, each memory cell being set to 2 N A final level corresponding to the N-bit data segment among the final levels, wherein N is an integer greater than 2; word lines, the word lines being respectively coupled to the rows of the memory cells; and a peripheral circuit coupled to the array of memory cells through the word lines and configured to: In a first pass, a selected row of the rows of memory cells is programmed based on the N data pages so that each memory cell in the selected row is set to one of k intermediate levels, where k is not greater than 2. N An integer of ; and After the first pass, M of the N data pages are read from the selected row, where M is an integer less than N.
2. The storage device according to claim 1, wherein: The peripheral circuit is configured to read the M data pages of the N data pages from the selected row in response to occurrence of a trigger event.
3. The storage device according to claim 2, wherein: The k intermediate levels correspond to k threshold voltage ranges of the memory cells of the selected row, respectively; and At least two threshold voltage ranges corresponding to two adjacent intermediate levels among the k intermediate levels do not overlap.
4. The storage device according to claim 3, wherein: To read the M data pages, the peripheral circuit includes a word line driver coupled to the selected row through a selected word line among the word lines and configured to apply an adjusted read voltage between the two threshold voltage ranges to the selected word line.
5. The storage device according to claim 4, wherein: In order to program the selected row, the word line driver is also configured to: apply an adjusted verification voltage to the selected word line for verifying a lower level of the two adjacent intermediate levels, and the adjusted verification voltage is less than a default verification voltage for verifying the lower level of the two adjacent intermediate levels.
6. The storage device according to claim 4 or 5, wherein: The peripheral circuit is further configured to: in response to no trigger event occurring: skip reading the M data pages among the N data pages from the selected row; as well as In a second pass, the selected row of the rows of memory cells is programmed based on the N data pages after the first pass, so that each memory cell in the selected row is set to the 2 N One of the final levels.
7. The storage device according to claim 6, wherein: The peripheral circuit is further configured to read the N data pages from the selected row after the second pass.
8. The storage device according to claim 7, wherein: To read the N data pages, the word line driver is configured to apply a default read voltage corresponding to the two adjacent intermediate levels to the selection word line based on a Gray code for programming the memory cell, the adjusted read voltage being adjusted by an offset from the default read voltage.
9. The storage device according to any one of claims 1 to 8, wherein: The peripheral circuit is further configured to copy the remaining (NM) pages of data to a designated block of the array of memory cells after the first pass.
10. The storage device according to any one of claims 2 to 8, wherein: The trigger event includes power failure of the storage device.
11. A method for operating a memory device, the memory device comprising rows of memory cells, each memory cell being set to 2 N A final level corresponding to the N-bit data segment among the final levels, wherein N is an integer greater than 2, and the method comprises: In a first pass, a selected row of the rows of memory cells is programmed based on the N data pages so that each memory cell in the selected row is set to one of k intermediate levels, where k is not greater than 2. N An integer of ; and After the first pass, M data pages of the N data pages are read from the selected row, where M is an integer less than N.
12. The method according to claim 11, wherein: Reading the M of the N data pages from the selected row is responsive to occurrence of a triggering event.
13. The method according to claim 12, wherein: The k intermediate levels correspond to k threshold voltage ranges of the memory cells of the selected row, respectively; and At least two threshold voltage ranges corresponding to two adjacent intermediate levels among the k intermediate levels do not overlap.
14. The method according to claim 13, wherein: Reading the M pages of data includes applying an adjusted read voltage between the two threshold voltage ranges to a select word line coupled to the select row.
15. The method according to claim 14, wherein: Programming the selected row further includes applying an adjusted verification voltage to the selected word line for verifying a lower level of the two adjacent intermediate levels, the adjusted verification voltage being less than a default verification voltage for verifying the lower level of the two adjacent intermediate levels.
16. The method according to claim 14 or 15, further comprising: In response to no triggering event occurring: skip reading the M data pages among the N data pages from the selected row; as well as In a second pass, the selected row of the rows of the memory cells is programmed based on the N data pages after the first pass, so that each memory cell in the selected row is set to the 2 N One of the final levels.
17. The method according to claim 16, further comprising: The N pages of data are read from the selected row after the second pass.
18. The method according to claim 17, wherein: Reading the N data pages includes applying a default read voltage corresponding to the two adjacent intermediate levels to the selection word line based on a Gray code for programming the memory cell, the adjusted read voltage being adjusted by an offset from the default read voltage.
19. The method according to any one of claims 11 to 18, further comprising: The remaining (NM) pages of data are copied to designated blocks of the storage device after the first pass.
20. The method according to any one of claims 12 to 18, wherein: The trigger event includes power failure of the storage device.
21. A system comprising: A storage device, the storage device being configured to store data, the storage device comprising: An array of memory cells arranged in rows and columns, each memory cell being set to 2 N A final level corresponding to the N-bit data segment among the final levels, wherein N is an integer greater than 2; word lines, the word lines being respectively coupled to the rows of the memory cells; and a peripheral circuit coupled to the array of memory cells through the word lines and configured to: In a first pass, a selected row of the rows of memory cells is programmed based on the N data pages so that each memory cell in the selected row is set to one of k intermediate levels, where k is not greater than 2. N An integer of ; and After the first pass, reading M data pages of the N data pages from the selected row, where M is an integer less than N; and A memory controller is coupled to the memory device and is configured to control the memory device.
