Semiconductor memory is widely used in various electronic devices such as cellular telephones, digital cameras, personal digital assistants, medical electronics, mobile computing devices, servers, solid state drives, non-mobile computing devices and other devices. Semiconductor memory may comprise non-volatile memory or volatile memory. A non-volatile memory allows information to be stored and retained even when the non-volatile memory is not connected to a source of power (e.g., a battery). Examples of non-volatile memory include flash memory (e.g., NAND-type and NOR-type flash memory).
Memory systems can be used to store data provided by a host device (or other client). However, various challenges are presented in operating such memory systems. In particular, as memory cells decrease in size and memory arrays increase in density, maintaining the integrity of data being stored becomes more challenging.
Like-numbered elements refer to common components in the different figures.
FIG. 12A1 depicts a flowchart describing an embodiment of a process for erasing a population of memory cells.
FIG. 12A2 depicts a table of program-erase cycle count values and corresponding adaptive threshold number values.
Some non-volatile memory devices are used to store two ranges of charges and, therefore, the memory cells can be programmed/erased between two data states: an erased state and a programmed state (corresponding to data “1” and data “0”). Such a device is referred to as a binary device or a single-level cell (SLC) and the data are binary data.
In contrast, a multi-state flash memory cell (storing multi-state data) is implemented by identifying multiple, distinct allowed threshold voltage ranges. Each distinct threshold voltage range corresponds to a predetermined value for the set of data bits. For example, some memory cells can store two or more bits. The specific relationship between the data programmed into the memory cell and the threshold voltage ranges of the memory cell depends upon the data encoding scheme adopted for the memory cells.
In addition to the gains in capacity resulting from multi-state memory architectures, significant advantages in memory technology have resulted from steadily scaling down the physical dimensions of memory cells. Smaller memory cells can be packed more densely on a given die area, allowing higher memory capacity for the same price as an older memory technology.
Technology is described for an adaptive threshold number for determining whether an erase operation for an erase block completes. In an embodiment, the value of the adaptive threshold number is determined based on the number of program-erase cycles for the erase block. In an embodiment, the adaptive threshold number increases as the number of program-erase cycles for the erase block increases. In another embodiment, the value of the adaptive threshold number is determined based on the number of erase-verify loops used to erase the erase block. In an embodiment, the adaptive threshold number increases as the number of erase-verify loops increases.
The components of memory system 100 depicted in
Controller 104 includes a host interface 110 that is connected to and in communication with host 102. In one embodiment, host interface 110 provides a PCIe interface. Other interfaces can also be used, such as SCSI, SATA, etc. Host interface 110 is also connected to a network-on-chip (NOC) 112, which is a communication subsystem on an integrated circuit. In other embodiments, NOC 112 can be replaced by a bus.
A NOC can span synchronous and asynchronous clock domains or use un-clocked asynchronous logic. NOC technology applies networking theory and methods to on-chip communications and brings notable improvements over conventional bus and crossbar interconnections. NOC improves the scalability of systems on a chip (SoC) and the power efficiency of complex SoCs compared to other designs. In embodiments, the wires and the links of a NOC are shared by many signals. A high level of parallelism is achieved because all links in the NOC can operate simultaneously on different data packets. Therefore, as the complexity of integrated subsystems keep growing, a NOC provides enhanced performance (such as throughput) and scalability in comparison with previous communication architectures (e.g., dedicated point-to-point signal wires, shared buses, or segmented buses with bridges).
Connected to and in communication with NOC 112 is processor 114, ECC engine 116, memory interface 118, and DRAM controller 120. DRAM controller 120 is used to operate and communicate with local high speed volatile memory 108 (e.g., DRAM). In other embodiments, local high speed volatile memory 108 can be SRAM or another type of volatile memory.
ECC engine 116 performs error correction services. For example, ECC engine 116 performs data encoding and decoding, as per the implemented ECC technique. In one embodiment, ECC engine 116 is an electrical circuit programmed by software. For example, ECC engine 116 can be a processor that can be programmed. In other embodiments, ECC engine 116 is a custom and dedicated hardware circuit without any software. In another embodiment, the function of ECC engine 116 is implemented by processor 114.
Processor 114 performs the various controller memory operations, such as programming, erasing, reading, as well as memory management processes. In an embodiment, processor 114 is programmed by firmware. In other embodiments, processor 114 is a custom and dedicated hardware circuit without any software. In an embodiment, processor 114 also implements a translation module, as a software/firmware process or as a dedicated hardware circuit.
In many systems, non-volatile memory is addressed internally to the storage system using physical addresses associated with the one or more memory die. However, the host system will use logical addresses to address the various memory locations. This enables the host to assign data to consecutive logical addresses, while the storage system is free to store the data as it wishes among the locations of the one or more memory die. To enable this system, the controller (e.g., the translation module) performs address translation between the logical addresses used by the host and the physical addresses used by the memory dies.
One example implementation is to maintain tables (e.g., the L2P tables mentioned above) that identify a translation between logical addresses and physical addresses. An entry in the L2P table may include an identification of a logical address and corresponding physical address. Although logical address to physical address tables (or L2P tables) include the word “tables” they need not literally be tables. Rather, the logical address to physical address tables (or L2P tables) can be any type of data structure.
In some examples, the memory space of a storage system is so large that local memory 108 cannot hold all of the L2P tables. In such a case, the entire set of L2P tables are stored in a memory die 106 and a subset of the L2P tables are cached (L2P cache) in the local high speed volatile memory 108.
In an embodiment, memory interface 118 communicates with one or more memory die 106. In an embodiment, memory interface 118 provides a Toggle Mode interface. Other interfaces also can be used. In some example implementations, memory interface 118 (or another portion of controller 104) implements a scheduler and buffer for transmitting data to and receiving data from one or more memory die.
In an embodiment, read/write circuits 206 include multiple sense blocks 212 including SB1, SB2, . . SBp (sensing circuitry) and allow a page (or multiple pages) of data in multiple memory cells to be read or programmed (written) in parallel. In an embodiment, each sense block 212 include a sense amplifier and a set of latches connected to the bit line. The latches store data to be written and/or data that has been read. In an embodiment, each sense amplifier 212 includes bit line drivers. In an embodiment, commands and data are transferred between controller 104 and memory die 200 via lines 214. In an embodiment, memory die 200 includes a set of input and/or output (I/O) pins that connect to lines 214.
In an embodiment, control circuitry 204 cooperates with read/write circuits 206 to perform memory operations (e.g., write, read, erase, and others) on memory structure 202. In an embodiment, control circuitry 204 includes a state machine 216, an on-chip address decoder 218, and a power control circuit 220. In an embodiment, state machine 216 provides die-level control of memory operations. In an embodiment, state machine 216 is programmable by software. In other embodiments, state machine 216 does not use software and is completely implemented in hardware (e.g., electrical circuits). In some embodiments, state machine 216 can be replaced by a microcontroller or microprocessor. In an embodiment, control circuitry 204 includes buffers such as registers, ROM fuses and other storage devices for storing default values such as base voltages and other parameters.
On-chip address decoder 218 provides an address interface between addresses used by controller 104 to the hardware address used by row decoder 208 and column decoder 210. Power control module 220 controls the power and voltages supplied to the word lines and bit lines during memory operations. Power control module 220 may include charge pumps for creating voltages.
For purposes of this document, control circuitry 204, read/write circuits 206, row decoder 208 and column decoder 210 comprise a control circuit for memory structure 202. In other embodiments, other circuits that support and operate on memory structure 202 can be referred to as a control circuit. For example, in some embodiments, controller 104 can operate as the control circuit or can be part of the control circuit. The control circuit also can be implemented as a microprocessor or other type of processor that is hardwired or programmed to perform the functions described herein.
For purposes of this document, control circuitry 204, read/write circuits 206, row decoder 208 and column decoder 210 comprise peripheral circuits for memory structure 202, as they are not part of memory structure 202 but are on the same die as memory structure 202 and are used to operate memory structure 202.
In an embodiment, memory structure 202 is a three dimensional memory array of non-volatile memory cells. In an embodiment, memory structure 202 is a monolithic three dimensional memory array in which multiple memory levels are formed above a single substrate, such as a wafer. The memory structure may be any type of non-volatile memory that is formed in one or more physical levels of arrays of memory cells having an active area disposed above a silicon (or other type of) substrate. In one example, the non-volatile memory cells of memory structure 202 include vertical NAND strings with charge-trapping material such as described. A NAND string includes memory cells connected by a channel.
In another embodiment, memory structure 202 includes a two dimensional memory array of non-volatile memory cells. In an example, the non-volatile memory cells are NAND flash memory cells utilizing floating gates. Other types of memory cells (e.g., NOR-type flash memory) also can be used.
The exact type of memory array architecture or memory cell included in memory structure 202 is not limited to the examples above. Many different types of memory array architectures or memory cell technologies can be used to form memory structure 202. No particular non-volatile memory technology is required for purposes of the new technology described herein.
Other examples of suitable technologies for memory cells of the memory structure 202 include ReRAM memories, magnetoresistive memory (MRAM), phase change memory (PCM), and the like. Examples of suitable technologies for architectures of memory structure 202 include two dimensional arrays, three dimensional arrays, cross-point arrays, stacked two dimensional arrays, vertical bit line arrays, and the like.
One example of a cross point memory includes reversible resistance-switching elements arranged in cross point arrays accessed by X lines and Y lines (e.g., word lines and bit lines). In another embodiment, the memory cells may include conductive bridge memory elements. A conductive bridge memory element also may be referred to as a programmable metallization cell.
A conductive bridge memory element may be used as a state change element based on the physical relocation of ions within a solid electrolyte. In some cases, a conductive bridge memory element may include two solid metal electrodes, one relatively inert (e.g., tungsten) and the other electrochemically active (e.g., silver or copper), with a thin film of solid electrolyte between the two electrodes.
MRAM stores data using magnetic storage elements. The magnetic storage elements are formed from two ferromagnetic plates, each of which can hold a magnetization, separated by a thin insulating layer. One of the two plates is a permanent magnet set to a particular polarity; the other plate's magnetization can be changed to match that of an external field to store memory. A memory device is built from a grid of such memory cells. In one embodiment for programming, each memory cell lies between a pair of write lines arranged at right angles to each other, parallel to the cell, one above and one below the cell. When current is passed through them, an induced magnetic field is created.
Phase change memory (PCM) exploits the unique behavior of chalcogenide glass. One embodiment uses a GeTe—Sb2Te3 super lattice to achieve non-thermal phase changes by simply changing the coordination state of Germanium atoms with a laser pulse (or light pulse from another source). Therefore, the doses of programming are laser pulses. The memory cells can be inhibited from programming by blocking the memory cells from receiving the light.
A person of ordinary skill in the art will recognize that the technology described herein is not limited to a single specific memory structure, but covers many relevant memory structures within the scope of the technology as described herein and as understood by one of ordinary skill in the art.
The number of alternating dielectric layers and conductive layers can vary based on specific implementation requirements. One set of embodiments includes between 108-300 alternating dielectric layers and conductive layers. One example embodiment includes 96 data word line layers, 8 select layers, 6 dummy word line layers and 110 dielectric layers. More or less than 108-300 layers also can be used. In an embodiment, the alternating dielectric layers and conductive layers are divided into four regions by local interconnects LI.
A source line layer SL is below the alternating dielectric layers and word line layers. Memory holes are formed in the stack of alternating dielectric layers and conductive layers. For example, one of the memory holes is marked as MH. Note that in
In an embodiment, NAND strings are formed by filling the memory hole with materials including a charge-trapping material to create a vertical column of memory cells (also referred to as a memory column). In an embodiment, each memory cell can store one or more bits of data. In an embodiment, each memory hole MH is associated with and coupled to a corresponding one of bit lines BL. In an embodiment, each bit line BL is coupled to one or more memory holes MH. More details of a three dimensional memory array that comprises memory structure 202 are described below.
In an embodiment, a block of memory cells is a unit of erase. That is, all memory cells of a block are erased together. In other embodiments, memory cells can be grouped into blocks for other reasons, such as to organize memory structure 202 to enable the signaling and selection circuits. In some embodiments, a block represents a group of connected memory cells as the memory cells of a block share a common set of word lines. Although
Portion 402 depicted in
In an embodiment, the word line fingers on a common level of a block connect together to form a single word line. In another embodiment, the word line fingers on the same level are not connected together. In an example implementation, a bit line connects to a single memory hole in each of String0, String1, Sting2 and String3. In that implementation, each block has sixteen rows of active columns and each bit line connects to four rows in each block.
In an embodiment, all four rows connected to a common bit line are connected to the same word line (via different word line fingers on the same level that are connected together). Therefore, the system uses the source side selection lines and the drain side selection lines to choose one (or another subset) of the four to be subjected to a memory operation (program, verify, read, and/or erase).
Although
Memory holes 410 and 454 are depicted protruding through the drain side select layers, source side select layers, dummy word line layers and word line layers. In one embodiment, each memory hole includes a vertical NAND string. Below the memory holes and the layers listed below is substrate 456, an insulating film 458 on the substrate, and source line SL. The NAND string of memory hole 410 has a source end at a bottom of the stack and a drain end at a top of the stack. As in agreement with
For ease of reference, drain side select layers SGD0, SGD1, SGD2 and SGD3, source side select layers SGS0, SGS1, SGS2 and SGS3, dummy word line layers DD0, DD1, DS0, DS1, WLDL and WLDU, and word line layers WLL0-WLL111 collectively are referred to as the conductive layers. In an embodiment, the conductive layers are made from a combination of TiN and tungsten. In other embodiments, other materials can be used to form the conductive layers, such as doped polysilicon, metal such as tungsten or metal silicide. In some embodiments, different conductive layers can be formed from different materials.
Between conductive layers are dielectric layers DL0-DL127. For example, dielectric layer DL120 is above word line layer WLL110 and below word line layer WLL111. In an embodiment, the dielectric layers are made from SiO2. In other embodiments, other dielectric materials can be used to form the dielectric layers.
The non-volatile memory cells are formed along memory holes which extend through alternating conductive and dielectric layers in the stack. In an embodiment, the memory cells are arranged in NAND strings. The word line layers WLL0-WLL111 connect to memory cells (also called data memory cells). Dummy word line layers DD0, DD1, DS0, DS1, WLDL and WLDU connect to dummy memory cells. A dummy memory cell does not store and is not eligible to store host data (data provided from the host, such as data from a user of the host), while a data memory cell is eligible to store host data.
In some embodiments, data memory cells and dummy memory cells may have a same structure. A dummy word line is connected to dummy memory cells. Drain side select layers SGD0, SGD1, SGD2 and SGD3 are used to electrically connect and disconnect NAND strings from bit lines. Source side select layers SGS0, SGS1, SGS2 and SGS3 are used to electrically connect and disconnect NAND strings from the source line SL.
In
For example, word line layer WLL110 is divided into regions String0W110, String1W110, String2W110 and String3W110. In an embodiment, the four word line fingers on a same level are connected together. In another embodiment, each word line finger operates as a separate word line.
Likewise, drain side select gate layer SGD0 (the top layer) is divided into regions Strin0SGD0, String1SGD0, String2SGD0 and String3SGD0, also known as fingers or select line fingers. In an embodiment, the four select line fingers on a same level are connected together. In another embodiment, each select line finger operates as a separate word line.
For example, word line layer WLL111 and a portion of memory hole 410 comprise a memory cell MC1. Word line layer WLL110 and a portion of memory hole 410 comprise a memory cell MC2. Word line layer WLL109 and a portion of memory hole 410 comprise a memory cell MC3. Word line layer WLL108 and a portion of memory hole 410 comprise a memory cell MC4. Word line layer WLL107 and a portion of memory hole 410 comprise a memory cell MC5. In other architectures, a memory cell may have a different structure; however, the memory cell would still be the storage unit.
In an embodiment, when a memory cell is programmed, electrons are stored in a portion of the charge trapping layer 486 which is associated with the memory cell. These electrons are drawn into the charge trapping layer 486 from the channel 482, through the tunneling dielectric 484, in response to an appropriate voltage on word line region 488. The threshold voltage of a memory cell is increased in proportion to the amount of stored charge.
In an embodiment, programming a memory cell is achieved through Fowler-Nordheim tunneling of the electrons into charge trapping layer 486. During an erase operation, the electrons return to channel 482 or holes are injected into charge trapping layer 486 to recombine with electrons. In an embodiment, erasing is achieved using hole injection into charge trapping layer 486 via a physical mechanism such as gate induced drain leakage (GIDL).
During any given memory operation, a subset of the memory cells will be identified to be subjected to one or more parts of the memory operation. These memory cells identified to be subjected to the memory operation are referred to as selected memory cells. Memory cells that have not been identified to be subjected to the memory operation are referred to as unselected memory cells. Depending on the memory architecture, the memory type, and the memory operation, unselected memory cells may be actively or passively excluded from being subjected to the memory operation.
During a memory operation some word lines are referred to as selected word lines because they are connected to selected memory cells. Unselected word lines are not connected to selected memory cells. Similarly, selected bit lines are connected to selected memory cells and unselected bit lines are not connected to selected memory cells.
Although the example memory system of
The memory systems discussed above can be erased, programmed and read. At the end of a successful programming process (with verification), the threshold voltages of the memory cells should be within one or more distributions of threshold voltages for programmed memory cells or within a distribution of threshold voltages for erased memory cells, as appropriate.
Each threshold voltage distribution (data state) corresponds to predetermined values for the set of data bits. The specific relationship between the data programmed into a memory cell and the threshold voltage levels of the memory cell depends on the data encoding scheme adopted for the cells. In an embodiment, data values are assigned to the threshold voltage ranges using a Gray code assignment so that if the threshold voltage of a memory cell erroneously shifts to its neighboring physical state, only one bit will be affected.
In an embodiment, known as full sequence programming, memory cells can be programmed from the erased data state S0 directly to any of the programmed states S1-S7. For example, a population of memory cells to be programmed may first be erased so that all memory cells in the population are in erased data state S0. Then, a programming process is used to program memory cells directly into data states S1, S2, S3, S4, S5, S6, and/or S7. For example, while some memory cells are being programmed from data state S0 to data state S1, other memory cells are being programmed from data state S0 to data state S2 and/or from data state S0 to data state S3, and so on. The arrows of
The technology described herein also can be used with other types of programming in addition to full sequence programming (including, but not limited to, multiple stage/phase programming). In some embodiments, programmed states S1-S7 can overlap, with controller 104 (
During the first programming phase, those memory cells whose targets (due to the data to be stored in those memory cells) are data states S4, S5, S6 or S7 are programmed to an intermediate threshold voltage distribution IM. Those memory cells are targeted for data states S0, S1, S2 or S3 remain in the erased threshold voltage distribution E. The first phase is graphically depicted in
During the second programming phase, those memory cells that are in the erased threshold voltage distribution E are programmed to their target data states. For example, those memory cells to be programmed to data state S3 are programmed from erased threshold voltage distribution E to data state S3, those memory cells to be programmed to data state S2 are programmed from erased threshold voltage distribution E to data state S2, those memory cells to be programmed to data state S1 are programmed from erase threshold voltage distribution E to data state S1, and those memory cells to be in data state S0 are not programmed during the second phase of the programming process. Thus, erased threshold voltage distribution E becomes data state S0.
Also, during the second programming phase, those memory cells that are in the intermediate state threshold voltage distribution IM are programmed to their target data states. For example, those memory cells to be programmed to data state S7 are programmed from intermediate threshold voltage distribution IM to data state S7, those memory cells to be programmed to data state S6 are programmed from intermediate threshold voltage distribution IM to data state S6, those memory cells to be programmed to data state S5 are programmed from intermediate threshold voltage distribution IM to data state S5, and those memory cells to be in data state S4 are programmed from intermediate threshold voltage distribution IM to data state S4. This second programming phase is illustrated in
As can be seen in
In the third programming phase, each of data states S1-S7 are tightened so that they no longer overlap with neighboring states. This is depicted graphically by
In some embodiments, those memory cells to be programmed to data state S4 are not programmed during the second phase and, therefore, remain in intermediate threshold voltage distribution IM. During the third programming phase, the memory cells are programmed from intermediate threshold voltage distribution IM to S4. In other embodiments, memory cells destined for other states can also remain in intermediate threshold voltage distribution IM or erase threshold voltage distribution E during the second phase.
A programming operation for a set of memory cells typically involves applying a series of program voltage pulses to the memory cells after the memory cells are provided in an erased state. For example, the program voltage pulses may be applied to a word line which is connected to control gates of the memory cells.
In one approach, incremental step pulse programming (ISPP) is performed, where the program voltage pulse amplitude is sequentially increased by a step size. Verify operations may be performed after each program voltage pulse to determine whether the memory cells have completed programming. When programming is completed for a memory cell, the memory cell can be locked out from further programming while programming continues for other memory cells.
In step 802 of process 800, a programming voltage (VP) is initialized to a starting program voltage VPinit (e.g., between about 12V to about 16V, or some other value) and a program counter PC maintained by state machine 216 is initialized at 1.
In step 804, a program pulse having a magnitude VP is applied to the selected word line (the word line selected for programming). In an embodiment, the group of memory cells being concurrently programmed are all connected to the same word line (the selected word line). If a memory cell is to be programmed, then the corresponding bit line coupled to the memory cell is grounded.
If a memory cell should remain at its current threshold voltage, then the corresponding bit line coupled to the memory cell is connected to Vdd to inhibit programming. In an embodiment, the unselected word lines receive one or more boosting voltages (e.g., between about 7V to about 11V, or some other value) to perform boosting schemes known in the art.
In step 804, the program pulse is applied to all memory cells connected to the selected word line so that all of the connected memory cells are programmed concurrently. That is, they are programmed at the same time or during overlapping times (both of which are considered concurrent). In this manner all of the memory cells connected to the selected word line will concurrently have their threshold voltage change, unless they have been locked out from programming.
In step 806, the memory cells are verified using the appropriate set of verify reference voltages to perform one or more verify operations. In an embodiment, the verification process is performed by testing whether the threshold voltages of the memory cells selected for programming have reached the appropriate verify reference voltage.
In step 808, the memory system counts the number of memory cells that have not yet reached their respective target threshold voltage distribution. That is, the system counts the number of memory cells that have so far failed the verify process. This counting can be done by state machine 216 (
In an embodiment, each of sense blocks 212 (
In step 810, a determination is made whether the count from step 808 is less than or equal to a predetermined limit. In an embodiment, the predetermined limit is the number of bits that can be corrected by error correction codes (ECC) during a read process for the page of memory cells. If the number of failed cells is less than or equal to the predetermined limit, than the programming process can stop and a status of “PASS” is reported in step 812. In this situation, enough memory cells programmed correctly such that the few remaining memory cells that have not been completely programmed can be corrected using ECC during the read process.
In some embodiments, the predetermined limit used in step 810 is below the number of bits that can be corrected by error correction codes (ECC) during a read process to allow for future/additional errors. When programming less than all of the memory cells for a page, or comparing a count for only one data state (or less than all states), then the predetermined limit can be a portion (pro-rata or not pro-rata) of the number of bits that can be corrected by ECC during a read process for the page of memory cells. In some embodiments, the limit is not predetermined. Instead, the limit changes based on the number of errors already counted for the page, the number of program-erase cycles performed or other criteria.
If the number of failed memory cells is not less than the predetermined limit, then the programming process continues at step 814 and the program counter PC is checked against a program limit value (PLV). Examples of program limit values include 6, 12, 16, 20 and 30, although other values can be used. If the program counter PC is greater than or equal to program limit value PLV, then the program process is considered to have failed and a status of FAIL is reported in step 816.
If the program counter PC is not greater than or equal to program limit value PLV, then the process continues at step 820 in which the Program Counter PC is incremented by 1 and program voltage VP is stepped up to the next magnitude. For example, the next program pulse will have a magnitude greater than the previous pulse by a program step size ΔVP (e.g., a step size of between about 0.1V to about 1.0V, or some other value). The process loops back to step 804 and another program pulse is applied to the selected word line so that another iteration (steps 804-818) of programming process 800 is performed. Each pass through steps 804-818 is referred to herein as a “program loop.”
In general, during verify operations and read operations, the selected word line is connected to a voltage (one example of a reference signal), a level of which is specified for each read operation (e.g., read compare levels Vr1, Vr2, Vr3, Vr4, Vr5, Vr6, and Vr7, of
In an embodiment, after an appropriate read or verify voltage is applied to a selected word line, a conduction current of the memory cell is measured to determine whether the memory cell turned ON (conducts current) in response to the voltage applied to the word line. If the conduction current is measured to be greater than a certain value, then it is assumed that the memory cell turned ON and the voltage applied to the word line is greater than the threshold voltage of the memory cell.
If the conduction current is measured to be not greater than the certain value, then the memory cell did not turn ON, and the voltage applied to the word line is not greater than the threshold voltage of the memory cell. During a read or verify process, the unselected memory cells are provided with one or more read pass voltages (also referred to as bypass voltages) at their control gates so that these memory cells will operate as pass gates (e.g., conducting current regardless of whether they are programmed or erased).
There are many ways to measure the conduction current of a memory cell during a read or verify operation. In one example, the conduction current of a memory cell is measured by the rate at which the memory cell discharges or charges a dedicated capacitor in a sense amplifier. In another example, the conduction current of the selected memory cell allows (or fails to allow) the NAND string that includes the memory cell to discharge a corresponding bit line. The voltage on the bit line is measured after a period of time to see whether or not the bit line has been discharged. Note that the technology described herein can be used with different methods known in the art for verifying/reading. Other read and verify techniques known in the art also can be used.
As described above, at step 804 a program pulse is applied to the selected word line, and at step 806 memory cells coupled to the selected word line are verified using an appropriate set of verify reference voltages to perform one or more verify operations. Steps 804 and 806 are part of an iterative loop in which program pulses are applied as a series of program pulses that step up in magnitude, with intervening verify reference pulses between consecutive program pulses. Such an iterative loop is referred to herein as a “program-verify iteration.”
As described above, in embodiments a population of memory cells to be programmed is first erased so that all memory cells in the population are in an erased data state (e.g., state S0 in
Each program and erase iteration of a memory cell or group of memory cells is referred to herein as a “program-erase cycle,” and the number of program-erase cycles performed on a memory cell or group of memory cells is referred to herein as a “program-erase cycle count” or “PEC.” In embodiments, a Controller Device maintains a record of the program-erase cycle count for each memory cell or group of memory cells of a memory structure (e.g., memory structure 202 of
An erase operation for memory cells in a block typically involves one or more “erase-verify iterations,” also referred to as “erase-verify loops,” where each iteration involves channel boosting followed by an erase verify test, until the erase operation is completed.
In an embodiment of an erase-verify loop, the voltages of the channels are boosted while holding the voltages of the word lines at a low level (e.g., at or close to 0 V). The channels are boosted by applying an erase pulse to the block. In one technique, the erase pulses are applied to the substrate, causing holes to be injected into the channels via the source ends of the NAND strings. In another technique, the channels are boosted by generating holes at the source end and/or drain end of the NAND strings using gate-induced drain leakage (GIDL).
Boosting the channels creates a large channel-to-gate voltage which drives holes into the charge trapping layers, lowering the threshold voltage of each memory cell. An erase verify test, which is a sensing operation, can be performed after applying each erase pulse to determine if the threshold voltage of each memory cell has been lowered below an erase verify voltage. If the threshold voltage of a memory cell is below the erase verify voltage, the memory cell passes the erase verify test. If the threshold voltage of a memory cell is not below the erase verify voltage, the memory cell fails the erase verify test.
In embodiments, an erase operation for a block completes when fewer than a threshold number of memory cells in the block fail the erase verify test. As used herein, the threshold number is also called a “fail bits threshold number.” The fail bits threshold number is sometimes referred to as a “bitscan pass/fail” or “BSPF” value. In an embodiment, the fail bits threshold number BSPF is the number of bits that can be corrected by error correction codes (ECC) during a read process for the page of memory cells. In other embodiments, other criteria may be used for specifying the fail bits threshold number BSPF. In an embodiment, the fail bits threshold number BSPF has a fixed value. For example, the fail bits threshold number BSPF=25, or some other value.
In embodiment, an erase operation for a block must complete within a maximum number of erase-verify loops (EVM). For example, the maximum number of erase-verify loops EVM may be 6, or some other value. A block erase failure occurs if more than the fail bits threshold number BSPF of memory cells in the block fail erase verify tests within the maximum number of erase-verify loops EVM. For example, if the fail bits threshold number BSPF=25 and the maximum number of erase-verify loops EVM=6, a block erase failure may occur if more than 25 memory cells in the block fail erase verify tests within 6 erase-verify loops.
In an embodiment, state machine 216 maintains as erase-verify loop counter EVL for the block of memory cells in process 1000. In step 1002 of process 1000, erase-verify loop counter EVL is initialized at 1.
At step 1004, an erase pulse is applied to the memory cells of the erase block. At step 1006, an erase verify test is performed on the memory cells of the erase block, such as described above.
At step 1008, the memory system counts the number of memory cells in the erase block that have failed the erase verify test. That is, the system counts the number of memory cells in the erase block that have threshold voltages that are not below the erase verify voltage. This counting can be done by state machine 216 (
At step 1010, a determination is made whether the count from step 1008 is less than or equal to fail bits threshold number BSPF. If a determination is made at step 1010 that the count at step 1008 is less than or equal to fail bits threshold number BSPF, then at step 1012 erase process 1000 is deemed to have passed.
In contrast, if at step 1010 a determination is made that the count at step 1008 is not less than or equal to fail bits threshold number BSPF, then at step 1014 erase-verify loop counter EVL is incremented by 1.
At step 1016, a determination is made whether erase-verify loop counter EVL is greater than the maximum number of erase-verify loops EVM. If erase-verify loop counter EVL is greater than the maximum number of erase-verify loops EVM, then at step 1018 erase process 1000 is deemed to have failed. In other words, within the maximum number of erase-verify loops EVM more than the fail bits threshold number BSPF of memory cells in the erase block fail erase verify tests, and the erase is deemed to have failed.
In contrast, if a determination is made that erase-verify loop counter EVL is less than or equal to the maximum number of erase-verify loops EVM, process 1000 loops back to step 1004 and another erase pulse is applied to the memory cells of the erase block.
Thus, each pass through steps 1004-1010 is an example of an erase-verify loop. The loop of steps 1004-1016 is repeated until the number of memory cells in the erase block that have failed the erase verify test is less than or equal to fail bits threshold number BSPF (whereby the erase operation passes), or the erase-verify loop counter EVL is greater than the maximum number of erase-verify loops EVM (whereby the erase operation fails).
In process 1000, if at step 1010 a determination is made that the count at step 1008 is less than or equal to fail bits threshold number BSPF then the value of erase-verify loop counter EVL is the number of erase-verify loops required for the erase block to pass the erase verify test of step 1006.
An indication of the time required complete a memory cell erase operation is referred to herein as erase speed, is described in terms of a number of erase-verify loops required for the memory cell to pass an erase verify test. For example, a first memory cell may pass an erase verify test in 2 erase-verify loops, and a second memory cell may pass the erase verify test in 6 erase-verify loops. In this context, the second memory cell may be said to have a slower erase speed than the first memory cell because the second memory cell requires more erase-verify loops to pass the erase verify test.
Erase speed tends to slow with increasing program-erase cycle count. In other words, as a memory cell is subjected to increasing program-erase cycle counts the memory cell requires more erase-verify loops to pass the erase verify test. Without wanting to be bound by any particular theory, it is believed that this erase slowing is a result of a the formation of physical traps in oxide layers of the memory cells, and such trap formation increases with increasing program-erase cycle count.
As a result of process variations, however, memory cells within the same ease block experience erase slowing to varying degrees. With increasing program-erase cycle counts, erase speed therefore may vary from memory cell-to-memory cell within an erase block. To illustrate,
Curve 1100 depicts an example erased threshold voltage distribution for the population of memory cells at “fresh” (i.e., before any program-erase cycle counts). Curve 1100 has a single bell-shaped curve portion that is centered on a first erase threshold voltage Vde1 and that encompasses substantially all of the memory cells.
In contrast, curve 1102 depicts an example erased threshold voltage distribution for the same population of memory cells after M program-erase cycle counts (e.g., M=100 k program-erase cycle counts). Curve 1102 includes a first bell-shaped curve portion 1102a that is centered on a second erase threshold voltage Vde2, and a second bell-shaped curve portion 1102b that is centered on a third erase threshold voltage Vde3. First bell-shaped curve portion 1102a and second bell-shaped curve portion 1102b collectively encompass substantially all of the memory cells.
Second, the memory cells experience erase slowing to varying degrees. In particular, first bell-shaped curve portion 1102a corresponds to a first sub-population of the memory cells and second bell-shaped curve portion 1102b corresponds to a second sub-population of the memory cells. The second sub-population of the memory cells has experienced a greater amount of erase slowing than the first sub-population of the memory cells, as evidenced by the threshold voltage distribution of the second sub-population of the memory cells being higher than the threshold voltage distribution of the first sub-population of the memory cells.
As a result of the erase slowing, additional (e.g., >N) erase-verify loops would be needed to lower the threshold voltages of the memory cells to the vicinity of first erase threshold voltage Vde1. However, simply applying additional erase pulses may introduce other problems. In particular, reducing the threshold voltages of the second sub-population of memory cells to the vicinity of first erase threshold voltage Vde1 may require so many additional erase pulses that the first sub-population of memory cells becomes over-erased.
That is, the threshold voltages of the first sub-population of memory cells would be shifted much lower than first erase threshold voltage Vde1. Such over-erasing may then impact subsequent programming, increasing the number of program pulses required to program the over-erased memory cells. Over erasing also may decrease data retention and increase neighbor word line interference of the first sub-population of memory cells.
In example process 1000 of
For memory cells at fresh, using a fixed fail bits threshold number BSPF is not problematic because most memory cells erase at a uniform rate and the threshold is typically satisfied in one or two erase-verify loops. However, using a fixed value for fail bits threshold number BSPF mat become problematic because of the erase speed slowing that occurs with increasing program-erase cycle counts.
In particular, as described above the threshold voltages of the memory cells being erased decrease at a slower rate with increasing program-erase cycle counts. As a result, for a given number of erase-verify loops in process 1000, a higher number of memory cells will fail the erase verify test at step 1006. This in turn will result in additional erase-verify loops needed to lower the threshold voltages of the memory cells. As described above, subjecting all of the memory cells in an erase block to additional erase-verify loops results in over-erasure of some of the memory cells in the erase block.
Technology is described for an adaptive threshold number (BSPFa) for determining whether an erase operation for an erase block completes. In an embodiment, the value of the adaptive fail bits threshold number BSPFa is determined based on the number of program-erase cycles for the erase block. In an embodiment, the adaptive fail bits threshold number BSPFa increases as the number of program-erase cycles for the erase block increases. In another embodiment, the value of the adaptive fail bits threshold number BSPFa is determined based on the number of erase-verify loops used to erase the erase block. In an embodiment, the adaptive fail bits threshold number BSPFa increases as the number of erase-verify loops increases.
FIG. 12A1 is a flowchart describing an embodiment of a process 1200a for erasing a population of memory cells (e.g., an erase block of memory cells). In an example embodiment, process 1200a is performed on memory die 106 (
In step 1202 of process 1200a, an erase-verify loop counter EVL maintained by state machine 216 is initialized at 1.
At step 1204, a program-erase cycle count is determined for the erase block. For example, as described above in an embodiment a Controller Device maintains a record of the program-erase cycle count for each memory cell or group of memory cells of a memory structure (e.g., memory structure 202 of
At step 1206, an adaptive fail bits threshold number BSPFa is determined based on the program-erase cycle count determined at step 1204. For example, FIG. 12A2 depicts a table of program-erase cycle count values and corresponding adaptive fail bits threshold number BSPFa values. As described below, the adaptive fail bits threshold number BSPFa value adaptively increases based on program-erase cycle count values.
In the illustrated example, the adaptive fail bits threshold number BSPFa value adaptively increases in a step-wise manner based on program-erase cycle count values. In particular, for program-erase cycle count in a first range of values between 1 and 9,999, the corresponding adaptive fail bits threshold number BSPFa equals an initial fail bits threshold number BSPF0 (e.g., 25). Initial fail bits threshold number BSPF0 may be determined based on simulation data, or based on empirical data obtained from a sampling of actual memory die, or based on a combination of the two techniques.
For program-erase cycle count in a second range of values greater than the first range of values between 10,000 and 19,999, the corresponding adaptive fail bits threshold number BSPFa equals the initial fail bits threshold number BSPF0+Δ, where Δ is an offset value (e.g., Δ=10 or some other value). For program-erase cycle count in a third range of values greater than the second range of values between 20,000 and 29,999, the corresponding adaptive fail bits threshold number BSPFa equals the initial fail bits threshold number BSPF0+2×Δ. For program-erase cycle count in a fourth range of values greater than the third range of values between 30,000 and 39,999, the corresponding adaptive fail bits threshold number BSPFa equals the initial fail bits threshold number BSPF0+3×Δ, and so on.
In this regard, as the program-erase cycle count increases, the corresponding adaptive fail bits threshold number BSPFa also increases, relaxing the criteria for determining if the erase operation has passed. Thus, more stringent criteria may be used for lower program-erase cycle counts and the criteria may be relaxed as the program-erase cycle count increases. Without wanting to be bound by any particular theory, it is believed that using an adaptive fail bits threshold number BSPFa that varies based on program-erase cycle count may reduce the number of erase failures and reduce over-erasure of memory cells.
Persons of ordinary skill in the art will understand that the program-erase cycle count stepwise breakpoint values may be other than those depicted in FIG. 12A2, and that more or fewer stepwise breakpoint values may be used. In addition, persons of ordinary skill in the art will understand that offset value 4 may be a fixed value, or may be a variable value. Further, persons of ordinary skill in the art will understand that adaptive fail bits threshold number BSPFa may be determined in other ways based on the program-erase cycle count. For example, adaptive fail bits threshold number BSPFa may be determined from a linear or non-linear equation based on the program-erase cycle count, or by some other technique.
Referring again to FIG. 12A1, at step 1208 an erase pulse is applied to the memory cells of the erase block. At step 1210, an erase verify test is performed on the memory cells of the erase block, such as described above.
At step 1212, the memory system counts the number of memory cells in the erase block that have failed the erase verify test. That is, the system counts the number of memory cells in the erase block that have threshold voltages that are not below the erase verify voltage. This counting can be done by state machine 216 (
At step 1214, a determination is made whether the count from step 1212 is less than or equal to adaptive fail bits threshold number BSPFa. If a determination is made at step 1214 that the count at step 1212 is less than or equal to adaptive fail bits threshold number BSPFa, then at step 1216 erase process 1200a is deemed to have passed.
In contrast, if a determination is made at step 1214 that the count at step 1212 is not less than or equal to adaptive fail bits threshold number BSPFa, then at step 1218 erase-verify loop counter EVL is incremented by 1.
At step 1220, a determination is made whether erase-verify loop counter EVL is greater than the maximum number of erase-verify loops EVM. If erase-verify loop counter EVL is greater than the maximum number of erase-verify loops EVM, then at step 1222 erase process 1200a is deemed to have failed. In other words, within the maximum number of erase-verify loops EVM more than the adaptive fail bits threshold number BSPFa of memory cells in the erase block fail erase verify tests, and the erase is deemed to have failed.
In contrast, if at step 1220 a determination is made that erase-verify loop counter EVL is not greater than the maximum number of erase-verify loops EVM, process 1200a loops back to step 1208 and another erase pulse is applied to the memory cells of the erase block.
The loop of steps 1208-1220 is repeated until the number of memory cells in the erase block that have failed the erase verify test is less than or equal to adaptive fail bits threshold number BSPFa (whereby the erase operation passes), or the erase-verify loop counter EVL is greater than the maximum number of erase-verify loops EVM (whereby the erase operation fails).
Without wanting to be bound by any particular theory, it is believed that using an adaptive fail bits threshold number BSPFa that varies based on program-erase cycle count, such as described above and depicted in FIGS. 12A1-12A2, fewer block erase failures will occur and memory system performance will improve.
In example process 1200a of FIG. 12A1 the value of adaptive fail bits threshold number BSPFa is determined directly based on program-erase cycle count. Alternatively, the value of adaptive fail bits threshold number BSPFa may be determined by other criteria indirectly related to program-erase cycle count.
For example, substantially all memory cells at fresh in an erase block may pass an erase verify test in K erase-verify loops (e.g., K=2). As described above, however, as the program-erase cycle count increases additional erase-verify loops (i.e., >K) are often needed to lower the threshold voltages of the memory cells. Thus, in another embodiment, the value of adaptive fail bits threshold number BSPFa may be adjusted when the number of erase-verify loops needed to lower the threshold voltages of the memory cells in an erase block is greater than K. Two example processes for implementing such an embodiment are described below. In the examples below, the variable K is also referred to as “erase loop upper limit K.”
In an embodiment process 1200b is implemented each time an erase block is erased. As described in more detail below, each time the erase block is successfully erased, two values are saved (e.g., in state machine 216): the current value of the erase loop upper limit K and the current value of the adaptive fail bits threshold number BSPFa. For example, the current value of erase loop upper limit K may be saved as the “previous erase loop upper limit Kp,” and the current value of adaptive fail bits threshold number BSPFa may be saved as the “previous adaptive fail bits threshold number BSPFp.”
In an embodiment, prior to the first implementation of process 1200b on an erase block, the previous value of the erase loop upper limit Kp is initialized to a predetermined value (e.g., Kp=2). Persons of ordinary skill in the art will understand that the previous value of the erase loop upper limit Kp may be initialized to a value greater or less than 2. In an embodiment, prior to the first implementation of process 1200b on an erase block, the previous value of the previous adaptive fail bits threshold number BSPFp is set to an initial fail bits threshold number BSPF0. For example, BSPF0=25, or some other value.
In step 1224b of process 1200b, an erase-verify loop counter EVL maintained by state machine 216 is initialized at 1. In addition, the erase loop upper limit K is initialized to the previous value of the erase loop upper limit Kp. So in the example described above, the erase loop upper limit K is initialized to K=2.
At step 1226, the adaptive fail bits threshold number BSPFa is initialized to the previous adaptive fail bits threshold number BSPFp. On the first implementation of process 1200b on an erase block, the adaptive fail bits threshold number BSPFa is initialized to the initial fail bits threshold number BSPF0. For example, BSPFa=BSPF0=25.
At step 1208 an erase pulse is applied to the memory cells of the erase block. At step 1210, an erase verify test is performed on the memory cells of the erase block, such as described above.
At step 1212, the memory system counts the number of memory cells in the erase block that have failed the erase verify test. That is, the system counts the number of memory cells in the erase block that have threshold voltages that are not below the erase verify voltage. This counting can be done by state machine 216 (
At step 1214, a determination is made whether the count from step 1212 is less than or equal to adaptive fail bits threshold number BSPFa. If a determination is made at step 1214 that the count at step 1212 is less than or equal to adaptive fail bits threshold number BSPFa, then at step 1228b the current value of the erase loop upper limit K is saved as the previous erase loop upper limit Kp, and the current value of the adaptive fail bits threshold number BSPFa is saved as the previous value of the adaptive fail bits threshold number BSPFp. At step 1216 erase process 1200a is deemed to have passed.
In contrast, if a determination is made at step 1214 that the count at step 1212 is not less than or equal to adaptive fail bits threshold number BSPFa, then at step 1218 erase-verify loop counter EVL is incremented by 1.
At step 1230, a determination is made whether erase-verify loop counter EVL is greater than erase loop upper limit K. If the erase-verify loop counter EVL is not greater than erase loop upper limit K, at step 1220 a determination is made whether erase-verify loop counter EVL is greater than the maximum number of erase-verify loops EVM. If erase-verify loop counter EVL is greater than the maximum number of erase-verify loops EVM, then at step 1222 erase process 1200b is deemed to have failed. In other words, within the maximum number of erase-verify loops EVM more than the adaptive fail bits threshold number BSPFa of memory cells in the erase block fail erase verify tests, and the erase is deemed to have failed.
In contrast, if at step 1220 a determination is made that erase-verify loop counter EVL is not greater than the maximum number of erase-verify loops EVM, process 1200a loops back to step 1208 and another erase pulse is applied to the memory cells of the erase block.
The loop of steps 1208-1220 is repeated until the number of memory cells in the erase block that have failed the erase verify test is less than or equal to adaptive fail bits threshold number BSPFa (whereby the erase operation passes), or the erase-verify loop counter EVL is greater than the maximum number of erase-verify loops EVM (whereby the erase operation fails).
If at step 1230 a determination is made that erase-verify loop counter EVL is greater than erase loop upper limit K, at step 1232 adaptive fail bits threshold number BSPFa is set equal to the current value of adaptive fail bits threshold number BSPFa+Δ, where Δ is an offset value (e.g., Δ=10 or some other value). In this regard, when the erase-verify loop counter EVL is greater than erase loop upper limit K, the corresponding adaptive fail bits threshold number BSPFa is increased, relaxing the criteria for determining if the erase operation has passed.
At step 1234 a determination is made whether the count from step 1212 is less than or equal to adaptive fail bits threshold number BSPFa that was updated at step 1232. In other words, at step 1232 the adaptive fail bits threshold number BSPFa is relaxed by adding the offset value A, and then step 1234 determines if the ease block may pass using the relaxed adaptive fail bits threshold number BSPFa.
If a determination is made at step 1234 that the count at step 1212 is less than or equal to adaptive fail bits threshold number BSPFa, then at step 1228b the current value of the erase loop upper limit K is saved as the previous erase loop upper limit Kp, and the current value of the adaptive fail bits threshold number BSPFa is saved as the previous value of the adaptive fail bits threshold number BSPFp. At step 1216 erase process 1200a is deemed to have passed.
In contrast, if a determination is made at step 1234 that the count at step 1212 is not less than or equal to the adaptive fail bits threshold number BSPFa, then at step 1236 erase loop upper limit K is incremented by a constant, such as 1. In other words, erase loop upper limit K is incremented by 1 after determining that the number of failed cells is greater than the adaptive fail bits threshold number BSPFa that was relaxed at step 1234. Persons of ordinary skill in the art will understand that at step 1236 erase loop upper limit K may be incremented by a constant greater than 1.
Thus, rather than increasing adaptive fail bits threshold number BSPFa based solely on program-erase cycle count, process 1200b increases adaptive fail bits threshold number BSPFa when the number of erase-verify loops starts to increase. In this regard, process 1200b may account for die-to-die variation in the amount of erase speed slowing that occurs with increasing program-erase cycle count.
For example, a first memory die may first exceed an erase loop upper limit K=2 beginning at 10,000 program-erase cycles, whereas a second memory die may first exceed an erase loop upper limit K=2 beginning at 50,000 program-erase cycles. Process 1200b therefore allows the adaptive fail bits threshold number BSPFa to be increased based on the actual behavior of the memory die, rather than based only on the number of program-erase cycles.
Without wanting to be bound by any particular theory, it is believed that using an adaptive fail bits threshold number BSPFa that varies based on an erase-verify loop counter EVL exceeding an erase loop upper limit K may reduce the number of erase failures and reduce over-erasure of memory cells.
Process 1200b then continues to step 1220 and a determination is made whether erase-verify loop counter EVL is greater than the maximum number of erase-verify loops EVM. The loop of steps 1208-1220 is repeated until the number of memory cells in the erase block that have failed the erase verify test is less than or equal to adaptive fail bits threshold number BSPFa (whereby the erase operation passes), or the erase-verify loop counter EVL is greater than the maximum number of erase-verify loops EVM (whereby the erase operation fails).
On the next implementation of process 1200b on the same erase block, the erase loop upper limit K and the adaptive fail bits threshold number BSPFa will be initialized at steps 1224b and 1226, respectively, to the values of these variables from the previous instance that process 1200b was implemented on the same erase block and that were saved at step 1228b as the previous value of erase loop upper limit Kp and the previous value of the adaptive fail bits threshold number BSPFp.
Without wanting to be bound by any particular theory, it is believed that using an adaptive fail bits threshold number BSPFa that varies based on an erase-verify loop counter EVL exceeding an erase loop upper limit K, such as described above and depicted in
In process 1200b, the value of erase loop upper limit K is incremented by 1 each time two criteria are satisfied: the erase-verify loop counter EVL exceeds the value of erase loop upper limit K, and the number of failed cells determined at step 1212 is greater than the adaptive fail bits threshold number BSPFa that was relaxed at step 1234. Without wanting to be bound by any particular theory, it is believed that this will permit the value of erase loop upper limit K to gradually increase as the erase speed of the erase block begins to decrease.
Alternatively, rather than allowing the value of erase loop upper limit K to gradually increase as the erase speed of the erase block begins to decrease, the value of erase loop upper limit K can be fixed to a desired value (e.g., K=2).
In particular,
In an embodiment process 1200c is implemented each time an erase block is erased. As described in more detail below, each time the erase block is successfully erased, the current value of the adaptive fail bits threshold number BSPFa is are saved (e.g., in state machine 216). For example, the current value of adaptive fail bits threshold number BSPFa may be saved as the “previous adaptive fail bits threshold number BSPFp.”
In an embodiment, prior to the first implementation of process 1200c on an erase block, the previous value of the previous adaptive fail bits threshold number BSPFp is set to an initial fail bits threshold number BSPF0. For example, BSPF0=25, or some other value.
In step 1224c of process 1200b, an erase-verify loop counter EVL maintained by state machine 216 is initialized at 1, and the erase loop upper limit K is initialized to a predetermined value, e.g., K=2. Other values may be used for erase loop upper limit K.
At step 1226, the adaptive fail bits threshold number BSPFa is initialized to the previous adaptive fail bits threshold number BSPFp. On the first implementation of process 1200b on an erase block, the adaptive fail bits threshold number BSPFa is initialized to the initial fail bits threshold number BSPF0. For example, BSPFa=BSPF0=25.
At step 1208 an erase pulse is applied to the memory cells of the erase block. At step 1210, an erase verify test is performed on the memory cells of the erase block, such as described above.
At step 1212, the memory system counts the number of memory cells in the erase block that have failed the erase verify test. That is, the system counts the number of memory cells in the erase block that have threshold voltages that are not below the erase verify voltage. This counting can be done by state machine 216 (
At step 1214, a determination is made whether the count from step 1212 is less than or equal to adaptive fail bits threshold number BSPFa. If a determination is made at step 1214 that the count at step 1212 is less than or equal to adaptive fail bits threshold number BSPFa, then at step 1228c the current value of the adaptive fail bits threshold number BSPFa is saved as the previous value of the adaptive fail bits threshold number BSPFp. At step 1216 erase process 1200a is deemed to have passed.
In contrast, if a determination is made at step 1214 that the count at step 1212 is not less than or equal to adaptive fail bits threshold number BSPFa, then at step 1218 erase-verify loop counter EVL is incremented by 1.
At step 1230, a determination is made whether erase-verify loop counter EVL is greater than erase loop upper limit K. If the erase-verify loop counter EVL is not greater than erase loop upper limit K, at step 1220 a determination is made whether erase-verify loop counter EVL is greater than the maximum number of erase-verify loops EVM. If erase-verify loop counter EVL is greater than the maximum number of erase-verify loops EVM, then at step 1222 erase process 1200b is deemed to have failed. In other words, within the maximum number of erase-verify loops EVM more than the adaptive fail bits threshold number BSPFa of memory cells in the erase block fail erase verify tests, and the erase is deemed to have failed.
In contrast, if at step 1220 a determination is made that erase-verify loop counter EVL is not greater than the maximum number of erase-verify loops EVM, process 1200a loops back to step 1208 and another erase pulse is applied to the memory cells of the erase block.
The loop of steps 1208-1220 is repeated until the number of memory cells in the erase block that have failed the erase verify test is less than or equal to adaptive fail bits threshold number BSPFa (whereby the erase operation passes), or the erase-verify loop counter EVL is greater than the maximum number of erase-verify loops EVM (whereby the erase operation fails).
If at step 1230 a determination is made that erase-verify loop counter EVL is greater than erase loop upper limit K, at step 1232 adaptive fail bits threshold number BSPFa is set equal to the current value of adaptive fail bits threshold number BSPFa+Δ, where Δ is an offset value (e.g., Δ=10 or some other value). In this regard, when the erase-verify loop counter EVL is greater than erase loop upper limit K, the corresponding adaptive fail bits threshold number BSPFa is increased, relaxing the criteria for determining if the erase operation has passed.
At step 1234 a determination is made whether the count from step 1212 is less than or equal to adaptive fail bits threshold number BSPFa that was updated at step 1232. In other words, at step 1232 the adaptive fail bits threshold number BSPFa is relaxed by adding the offset value A, and then step 1234 determines if the ease block may pass using the relaxed adaptive fail bits threshold number BSPFa.
Thus, rather than increasing adaptive fail bits threshold number BSPFa based solely on program-erase cycle count, process 1200c increases adaptive fail bits threshold number BSPFa when the number of erase-verify loops starts to increase. In this regard, process 1200c may account for die-to-die variation in the amount of erase speed slowing that occurs with increasing program-erase cycle count.
For example, a first memory die may first exceed an erase loop upper limit K=2 beginning at 10,000 program-erase cycles, whereas a second memory die may first exceed an erase loop upper limit K=2 beginning at 50,000 program-erase cycles. Process 1200c therefore allows the adaptive fail bits threshold number BSPFa to be increased based on the actual behavior of the memory die, rather than based only on the number of program-erase cycles.
If a determination is made at step 1234 that the count at step 1212 is less than or equal to adaptive fail bits threshold number BSPFa, then at step 1228c the current value of the adaptive fail bits threshold number BSPFa is saved as the previous value of the adaptive fail bits threshold number BSPFp. At step 1216 erase process 1200a is deemed to have passed.
In contrast, if a determination is made at step 1234 that the count at step 1212 is not less than or equal to the adaptive fail bits threshold number BSPFa, then at step 1220 a determination is made whether erase-verify loop counter EVL is greater than the maximum number of erase-verify loops EVM. The loop of steps 1208-1220 is repeated until the number of memory cells in the erase block that have failed the erase verify test is less than or equal to adaptive fail bits threshold number BSPFa (whereby the erase operation passes), or the erase-verify loop counter EVL is greater than the maximum number of erase-verify loops EVM (whereby the erase operation fails).
Without wanting to be bound by any particular theory, it is believed that using an adaptive fail bits threshold number BSPFa that varies based on an erase-verify loop counter EVL exceeding an erase loop upper limit K may reduce the number of erase failures and reduce over-erasure of memory cells.
Without wanting to be bound by any particular theory, it is believed that using an adaptive fail bits threshold number BSPFa that varies based on an erase-verify loop counter EVL exceeding an erase loop upper limit K, such as described above and depicted in
In addition, if process 1200c results in successfully erasing the memory cells in the erase block, at step 1228c the current value of the adaptive fail bits threshold number BSPFa is saved as the previous value of the adaptive fail bits threshold number BSPFp. In this regard, on the next implementation of process 1200c on the same erase block, the adaptive fail bits threshold number BSPFa will be initialized at step 1226 to the value of this variable from the previous instance that process 1200c was implemented on the same erase block.
One embodiment includes an apparatus that includes a block of memory cells and a control circuit coupled to the block of memory cells. The control circuit is configured to perform an erase operation on the block of memory cells by determining a first count of a number of times that the block of memory cells previously has been programmed and erased, determining a threshold number based on the first count, and determining whether the erase operation passed or failed based on the threshold number.
One embodiment includes an apparatus that includes a block of memory cells and a control circuit coupled to the block of memory cells. The control circuit is configured to perform an erase operation on the block of memory cells in a plurality of erase-verify loops, determine a threshold number based on a number of erase-verify loops performed on the erase block, and determine whether the erase operation passed or failed based on the threshold number.
One embodiment includes a method that includes performing a first erase operation on a block of memory cells in a plurality of erase-verify loops. Each erase-verify loop includes applying an erase pulse to the block of memory cells, performing a first erase verify test on the block of memory cells, counting a number of memory cells in the block that failed the erase verify test, determining that the count is greater than a threshold number, incrementing the number of erase-verify loops performed on the erase block, determining that the number of erase-verify loops exceeds an erase loop upper limit, incrementing the threshold number by an offset, determining that the count is less than or equal to the threshold number, saving the threshold number, and determining that the erase operation passed.
For purposes of this document, reference in the specification to “an embodiment,” “one embodiment,” “some embodiments,” or “another embodiment” may be used to describe different embodiments or the same embodiment.
For purposes of this document, a connection may be a direct connection or an indirect connection (e.g., via one or more other parts). In some cases, when an element is referred to as being connected or coupled to another element, the element may be directly connected to the other element or indirectly connected to the other element via intervening elements. When an element is referred to as being directly connected to another element, then there are no intervening elements between the element and the other element. Two devices are “in communication” if they are directly or indirectly connected so that they can communicate electronic signals between them.
For purposes of this document, the term “based on” may be read as “based at least in part on.”
For purposes of this document, without additional context, use of numerical terms such as a “first” object, a “second” object, and a “third” object may not imply an ordering of objects, but may instead be used for identification purposes to identify different objects.
For purposes of this document, the term “set” of objects may refer to a “set” of one or more of the objects.
The foregoing detailed description has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. The described embodiments were chosen in order to best explain the principles of the proposed technology and its practical application, to thereby enable others skilled in the art to best utilize it in various embodiments and with various modifications as are suited to the particular use contemplated. It is intended that the scope be defined by the claims appended hereto.