BACKGROUNDFieldThis disclosure relates to data storage systems. More particularly, the disclosure relates to systems and methods for programming and reading data in solid-state memory devices.
Description of Related ArtCertain solid-state memory devices, such as flash drives, store information in an array of memory cells constructed with floating gate transistors. Integrity of solid-state memory cells can be affected by various factors. How data is programmed and read can have an effect on whether programmed data can be successfully interpreted when read-back at a later time.
BRIEF DESCRIPTION OF THE DRAWINGSVarious embodiments are depicted in the accompanying drawings for illustrative purposes, and should in no way be interpreted as limiting the scope of this disclosure. In addition, various features of different disclosed embodiments can be combined to form additional embodiments, which are part of this disclosure.
FIG. 1 is a block diagram of a data storage system including a non-volatile memory array according to an embodiment.
FIG. 2 is a graph showing a probability distribution of cells in a non-volatile memory array according to one or more embodiments.
FIG. 3 is a graph showing state-to-state transition errors in a solid-state memory device due to data retention charge loss according to one or more embodiments.
FIG. 4 is a graph showing a probability distribution of cells showing adjusted target programming voltage(s) and/or read threshold level(s) according to one or more embodiments.
FIG. 5 is a flow diagram illustrating a process for implementing data retention compensation programming according to one or more embodiments.
FIG. 6 is a graph showing state-to-state transition errors in a solid-state memory device due to read disturb according to one or more embodiments.
FIG. 7 is a graph showing a probability distribution of cells showing adjusted target programming voltage(s) and/or read threshold level(s) according to one or more embodiments.
FIG. 8 is a flow diagram illustrating a process for implementing read disturb compensation programming according to one or more embodiments.
FIG. 9 is a graph showing a probability distribution of cells showing adjusted target programming voltage(s) and/or read threshold level(s) according to one or more embodiments.
FIG. 10 is a flow diagram illustrating a process for implementing data retention and read disturb compensation programming according to one or more embodiments.
DETAILED DESCRIPTIONWhile certain embodiments are described, these embodiments are presented by way of example only, and are not intended to limit the scope of protection. Indeed, the novel methods and systems described herein may be embodied in a variety of other forms. Furthermore, various omissions, substitutions and changes in the form of the methods and systems described herein may be made without departing from the scope of protection.
The headings provided herein are for convenience only and do not necessarily affect the scope or meaning of the claims. Disclosed herein are example configurations and embodiments relating to data retention charge loss and read disturb compensation in solid-state memory.
As used in this application, “solid-state memory,” “non-volatile solid-state memory,” “non-volatile memory,” “NVM,” or variations thereof may refer to solid-state memory such as NAND flash. However, the systems and methods of this disclosure may also be useful in more conventional hard drives and hybrid drives (or any data storage devices) including both solid-state and hard drive components. Solid-state memory may comprise a wide variety of technologies, such as flash integrated circuits, Phase Change Memory (PC-RAM or PRAM), Programmable Metallization Cell Random Access Memory (RAM) (PMC-RAM or PMCm), Ovonic Unified Memory (OUM), Resistance RAM (RRAM), NAND memory, NOR memory, EEPROM, Ferroelectric RAM (FeRAM), Magnetoresistive RAM (MRAM), or other discrete NVM (non-volatile solid-state memory) chips. The non-volatile solid-state memory arrays or storage devices may be physically divided into planes, blocks, pages, and sectors, as is known in the art. Other forms of storage (e.g., battery backed-up volatile DRAM or SRAM devices, magnetic disk drives, etc.) may additionally or alternatively be used.
OverviewThe present disclosure provides systems and methods for encoding data for programming in data storage devices and/or solid-state memory devices, and further for decoding such data. Although certain embodiments are disclosed herein in the context of NAND flash memory devices/systems, it should be understood that the principles disclosed herein may be applicable in connection with any type of solid-state memory, whether volatile or non-volatile.
NAND flash memories, and other non-volatile solid-state memory devices, are widely used in solid-state data storage devices. In certain solid-state memory devices/systems, the ability to correctly decode data written to solid-state memory cells may be adversely affected by retention-related charge loss and/or read disturb charge gain. For example, in prolonged storage applications, lack of data retention can lead to decoding failure. Furthermore, in relatively high-read utilization use cases, read disturb may lead to decoding failures. “Data retention,” as used herein, may be understood according to its broad and/ordinary meaning and may refer to the ability to recover data programmed in solid-state memory after a period of time. “Data retention period” may be used to refer to the period of time itself over which data may be stored in solid-state memory. “Retention related effects” may be used to refer to the loss or migration of charge in a programmed cell due to the passing of time, temperature, and/or other factors.
Data retention is a measure of how long a solid-state memory cell can hold voltage, and therefor maintain its programmed state. Data loss due to charge loss may occur when a memory cell is programmed and subsequently inactive for a prolonged period of time, particularly at elevated temperature. Such charge loss may generally be attributable to the dielectric associated with the solid-state memory cell being inherently leaky and at least somewhat prone to allowing electrons to escape the charge trap of the cell. Data retention charge loss may occur increasingly as the programming target voltage increases.
Data retention characteristics, along with endurance characteristics, may represent significant specification metrics for certain solid-state memory products. With regard to endurance, solid-state storage devices generally have limited endurance, which may be characterized by a number of terabytes (TB) per year of write data, which may be specified as a warranty condition by the device manufacturer. Because endurance and data retention may generally be considered to have a substantially inverse relationship, heavily-cycled blocks may have relatively shorter retention compared to similar lightly-cycled blocks. As a solid-state memory device is cycled, it may lose its data retention capabilities, thereby resulting in data loss. Based on the inverse relationship between data retention and endurance, where gains in data retention performance can be achieved, such gains may be substituted at least in part for improved endurance in certain situations.
Various mechanisms may be implemented to improve data retention characteristics. For example, reducing program/erase (P/E) cycles on blocks, increasing relaxation periods between cycles, as well as other mechanisms. However, implementation of such mechanisms may result in lower device performance.
Generally, read disturb errors may be due at least in part to charge gain, wherein charge is added to cells during a read of the cell itself or neighboring cell(s), thereby causing the cell charge level to migrate from one voltage level/state to the next higher voltage state. The cells with the lowest voltage level(s) may tend to gain charge faster than cells at higher voltage levels due at least in part to the relatively lower voltage across the dielectric of such cells. Because of this, cells in the lowest voltage state (e.g., an ‘erase,’ or ‘E,’ state) may be impacted the most by read disturb. As an example, data stored in data centers can be particularly prone to experiencing read disturb and/or data retention charge migration or loss due to the “write-once-read-many” nature of the data in certain data center applications.
As used herein, multi-level cell (MLC) programming refers to any programming scheme where cells are encoded with two or more levels of programing (each cell representing two bits or more). Although two-bit or two-level MLC examples will be used throughout this disclosure, the various embodiments described and shown are applicable to any MLC scheme of any number of levels. Certain embodiments disclosed herein provide for systems and methods for improving read disturb and/or data retention performance in solid-state memory devices through the use of variable program voltage target level(s) and/or read threshold level(s). For example, with respect to two-bit or two-level MLC programming, by moving program voltage targets up for A, B and/or C states (described in greater detail below), improved read disturb performance may be achieved using an increased A read voltage threshold in certain implementations. Furthermore, in certain implementations, by moving program targets down for A and B states, improved data retention performance may be achieved using a decreased C read voltage threshold. Additionally, in certain implementations, both improved read disturb performance and improved data retention performance may be achieved by moving the program target up for the A state and down for the B state and using an increased A read voltage threshold and a decreased C read voltage threshold.
Data Storage System/DeviceFIG. 1 illustrates asystem100 including ahost system110 and adata storage device120 that implements data retention charge loss compensation and/or read disturb compensation programming/reading according to one or more embodiments disclosed herein. As is shown, the data storage device120 (e.g., solid-state hybrid drive, solid-state drive, etc.) includes acontroller130 and a non-volatile memory array (e.g., solid-state storage)140. Thenon-volatile memory array140 may include a plurality of chips, or dies, each comprising one or more blocks of storage. Each block may comprise a plurality of flash pages (F-pages).
In certain embodiments, thedata storage device120 may be a solid-state hybrid disk drive including amagnetic storage module160, which may comprise magnetic media164 (e.g., one or more magnetic disks). Thedata storage device120 may be in a card-based form factor such as a PCIe or NVMe type storage device. The solid-state storage140 may comprise any desirable type of solid-state memory.
Thecontroller130 can be configured to receive data and/or storage access commands from a storage interface module112 (e.g., a device driver) of thehost system110. Storage access commands communicated by thestorage interface module112 can include write data and read data commands issued by thehost system110. Read and write commands can specify a logical address (e.g., logical block addresses, or “LBAs”) used to access thedata storage device120. Thecontroller130 can execute the received commands in the solid-state storage140 and/ormagnetic storage device160. To facilitate storage of host data, thecontroller130 can implement a logical interface. The logical interface can present to thehost system110 data storage system memory as a set of logical addresses (e.g., contiguous address) where user data can be stored. Internally, thecontroller130 may map logical addresses to various physical locations or addresses in the solid-state storage140 and/or other storage modules.
Theprogramming module132 of thecontroller130 may implement a desirable programming scheme suitable for the solid-state storage140. In certain embodiments, theprogramming module132 and/or solid-state storage140 may be configured to implement an MLC programming scheme in which cells of solid-state memory are programmed to store a charge level representative of two or more bits of data. Such a programming scheme is described below with reference toFIG. 2. In certain embodiments, theprogramming module132 may be configured to implement data retention compensation programming and/or read disturb compensation programming, as described herein. Thecontroller130 further includes adecoding module133, which may implement a decoding scheme that corresponds to the programming scheme implemented by theprogramming module132. In certain embodiments, thedecoding module133 may be configured to implement data retention compensation decoding and/or read disturb compensation decoding, as described herein. WhileFIG. 1 depicts ageneric controller130 within a storage device, in one or more embodiments, some or all of the described components/functionalities of thecontroller130 may be implemented as part of a storage device level controller (e.g., a SSD controller), a memory level controller (e.g., a NAND controller), or a combination of both.
FIG. 2 shows an example two-level (two-bit) MLC solid-state memory programming scheme comprising four programming states: an erased state (E), and three programmed states (A, B, C), wherein each state represents two bits of data. Although two-level (two-bit) MLC programming is described herein in connection with certain embodiments, it should be understood that the principles disclosed herein may be applicable in other programming schemes, such as triple-level cell (TLC), or other programming scheme. With further reference toFIG. 2, in certain embodiments, the programming states each comprise a most-significant bit, referred to as the “upper page,” and a least-significant bit, referred to as the “lower page.” While particular coding values are assigned to the various states of the distribution (e.g., ‘11’ for E, ‘01’ for A, ‘00’ for B, and ‘10’ for C), other coding schemes may also be used within the scope of the present disclosure.
In decoding memory cells, one or more reference voltage levels, referred to herein as “voltage read levels,” or “read threshold levels,” may be used to read the cells to determine what charge state the cells belong to.FIG. 2 illustrates three voltage read levels, RA, RBand RC. In certain embodiments, lower page values may be determined based on a read at RB, while upper page values may be obtained by reading at RB, and subsequently at RAand/or RC.
As shown inFIG. 2, in certain solid-state storage systems, data programming levels may be substantially evenly distributed, such that margins between the various voltage states are substantially equal. However, even separation of voltage states may result in undesirable numbers of cells crossing over read thresholds resulting in bit errors due to data retention charge loss and/or read disturb. Therefore, certain embodiments disclosed herein provide a method to adjust both program voltage targets (e.g., TA, TB, TC) and read voltage thresholds in order to favor read disturb performance, data retention performance, or both.
Data Retention Charge Loss CompensationOver a data retention time period, charge loss in solid-state memory cells can cause the states of a voltage distribution to widen and overlap voltage read levels. Generally, the higher a cell's programmed voltage, the greater the data retention charge loss experienced by the cell. Therefore, in a typical two-level or two-bit MLC programming scheme, the C state corresponds to the highest voltage state and is therefore the most susceptible to data retention charge loss and inadvertent transitions to the next lower voltage state (i.e., C-to-B state transition).FIG. 3 is a graph showing state-to-state transition errors in a solid-state memory device according to one or more embodiments. The graph ofFIG. 3 shows a relative sum of bit-flip errors for the various state-to-state transitions across an embodiment of a data storage device.FIG. 3 shows that, in certain embodiments, a substantial portion of bit-flip errors may be caused by C-to-B state transitions, and to a lesser extent by B-to-A transitions. Specifically, in certain embodiments, the C state distribution may move the most to the left and also widen the most to the left among the voltage states during a data retention period. However, if the margin on the low side of the C state is increased, the voltage loss required to push cells across the state transition threshold may be increased, thereby potentially reducing the occurrences of bit errors from data retention charge loss.
As shown inFIG. 3, the B state, as the next highest voltage state, may be the next most susceptible to poor data retention and inadvertent transitions to the next lower voltage state (i.e., B-to-A state transition). Therefore, if the margin on the low side of the B state is increased, the voltage loss required to push cells across the state transition threshold to the A state may be increased, thereby potentially reducing the occurrences of B-to-A bit errors from data retention charge loss.FIG. 3 also shows that the level of bit-flip errors due to other transitions is much lower, and thus those states may benefit less from increased margins.
FIG. 4 shows an embodiment of a voltage distribution having certain shifted programming target voltage levels and/or read threshold levels to increase the margins below one or more upper voltage states. Similarly toFIG. 2, the diagram ofFIG. 4 illustrates an example two-level (two-bit) MLC programming scheme comprising four states, namely an erased state, E, and three programming states A, B and C. The distribution ofFIG. 4 shows programming states corresponding to adjusted target programming levels for one or more of the programming states, as well as adjusted voltage read threshold levels for decoding one or more of the states. The various dashed lines inFIG. 4 illustrate the substantially even separation of voltage states shown inFIG. 2 and described above, whereas the solid lines of the diagram represent adjusted target programming levels and/or read threshold levels according to one or more embodiments of a data retention compensation programming mode/scheme, as described herein. In order to favor data retention performance, thedistribution400 provides for moving the A-state program voltage target TAand B-state program voltage target TB(possibly to a lesser extent) down in voltage in order to provide more B (MAB) and C (MBC) state low side margin.
Increasing the margin between, for example, higher-end voltage states may be implemented to compensate for charge loss resulting from data retention. As shown, in the example ofFIG. 4, the second-highest voltage state (B) may be programmed using a target voltage TBthat is lower than a default target voltage by an amount DTB, which is shown in the diagram. By lowering the target voltage TBby some amount, the margin MBCbetween states B and C may be increased. Because the highest number of voltage state transitions may typically occur from state C to state B, the increase in margin between such states may improve data reliability in the presence of potential data retention charge loss. That is, with a larger margin between states B and C, fewer cells may potentially migrate over a read threshold level RCpositioned between the B and C states. In certain embodiments, the read threshold level RCcorresponding to the margin between states B and C may likewise be lowered by some amount DRCin order to position the read threshold level RCsubstantially evenly between states B and C within the increased margin MBC, or alternatively RCmay be positioned in the region left of center in the margin MBCin order to further reduce occurrences of C-to-B transition errors. In certain embodiments, RCmay be positioned such that the portion of the margin MBCon the low-side of RCremains at a default range, while the added margin from adjusting the program target voltage TBis added to the high-side of RCin the margin MBC. In certain embodiments, the target voltage TCused program state C, or the highest voltage state, may be substantially the same as is implemented in a default programming mode (i.e., no adjustment for data retention compensation). In certain embodiments, only one of read threshold level(s) or program target voltage level(s) is shifted, while the other is not.
In certain embodiments, one or more additional voltage states may be adjusted downward to protect against bit errors caused by data retention charge loss. For example, a target programming voltage TAused to program the third-highest voltage state (e.g., state A) may be lowered relative to the evenly-separated distribution ofFIG. 2. For example, the target programming voltage TAmay be adjusted by an amount DTAlower (i.e., to the left in the diagram ofFIG. 4), which may increase a margin MABbetween the second-highest voltage state (B) and the third-highest voltage state (A). The voltage read level RBused to distinguish between states A and B may also be adjusted to the left to position the voltage read level RBsubstantially evenly between states A and B, or alternatively RBmay be positioned in the region left of center in the margin MABin order to further reduce occurrences of B-to-A transition errors. In certain embodiments, RBmay be positioned such that the portion of the margin MABon the low-side of RBremains at a default range, while the added margin from adjusting the program target voltage TAand/or TBis added to the high-side of RBin the margin MAB. In certain embodiments, the margin MABbetween the A and B states may represents a larger margin than would be present in an evenly-distributed voltage distribution, as shown inFIG. 2.
In certain embodiments, the first voltage state (e.g., E state) may represent an erased state, and therefore may not be associated generally with a target programming voltage. However, in certain embodiments, a read threshold level RAused for distinguishing between the E and A states may also be adjusted in the data retention compensation mode. That is, because the adjustment of the target programming voltage TAfor state A to a lower value may result in a reduced margin MEAbetween the E and A states, adjustment of the voltage read threshold level RAbetween the E and A states may be necessary in order to position the read threshold level RAsubstantially evenly between the E and A states. The read threshold level RAmay be adjusted by an amount DRAto the left with respect to the distribution illustrated inFIG. 4. In certain embodiments, RAmay be positioned in the region left of center in the margin MEAin order to further reduce occurrences of A-to-E transition errors.
FIG. 5 illustrates aprocess500 for implementing data retention compensation according to one or more embodiments disclosed herein. Theprocess500 may involve, atblock502, receiving data to be written to non-volatile solid-state memory. Ablock504, it may be determined whether or not a data retention compensation mode/scheme is to be implemented in connection with programming of the data received. If not, theprocess500 may proceed to block510, where the data may be programmed to the non-volatile solid-state memory according to one or more default target voltage levels, such as voltage levels similar to those illustrated inFIG. 2 and described above. Theprocess500 may further involve reading/decoding the data programmed atblock512 using default read voltage threshold levels according to a default decoding scheme.
If thedetermination block504 is that a data retention compensation mode/scheme is to be implemented in connection with programming of the received data, the process proceeds to block506, where the data may be programmed to the non-volatile solid-state memory using one or more lower/adjusted target voltage levels. For example, in certain embodiments, at least a second-highest voltage state (e.g., B state) is programmed using an adjusted target voltage level, such as a target level that has been lowered by some amount relative to the default target voltage level. In addition, in certain embodiments, the data retention compensation programming scheme implemented atblock506 may involve programming data to a third-highest voltage state (e.g., A state) using an adjusted/lower target voltage level. In certain embodiments, the adjustment of the second-highest voltage state (e.g., B state) is greater than the adjustment of the third-highest voltage state (e.g., A state) in order to create a greater margin between the highest and second-highest voltage states than may be present between the second-highest voltage state and the third-highest voltage state. In certain embodiments, the adjustment of the second-highest voltage state (e.g., B state) is greater than the adjustment of the third-highest voltage state (e.g., A state), resulting in a greater margin between the highest and second-highest states than between the second-highest and third-highest states.
Atblock508, theprocess500 involves reading the programmed data using a lower adjusted read threshold level for the second-highest voltage state (e.g., B state) and a lower adjusted read threshold level for the third-highest voltage state (e.g., A state).
Theprocess500 may further result in a reduced margin between the erased state and the next highest voltage state (e.g., A state). Therefore, although a reduced margin between the E and A states may be present with respect to data programmed according to the data retention compensation scheme illustrated inFIG. 5, an increased margin between the highest and second-highest voltage states may be present, which may provide protection against state transitions due to data retention charge loss.
In certain embodiments, a command to enable and/or disable the use of the data retention charge loss compensation scheme may be implemented as part of a host interface command protocol associated with a data storage device containing the solid-state memory device (e.g., NAND flash). For example, when the host is aware that prolonged data retention period is likely with respect to certain data, the host may trigger, in the data storage device, the sequence to program/read the data using the adjusted target voltage level(s) and/or read threshold level(s).
In certain embodiments, when a solid-state storage device exceeds a threshold number of writes, the device may be triggered to begin writing/reading using the data retention charge loss compensation scheme described herein. For example, the endurance specification of the device may dictate a maximum number of writes per year; the trigger threshold for the device may be based on such number. In certain embodiments, a number of available blocks in a free pool from which needed blocks are provisioned may also serve as a basis for triggering adjusted target programming voltages and/or read threshold levels. For example, when the free pool is empty, the solid-state storage device could begin using the data retention charge loss compensation scheme.
In certain embodiments, the use of the data retention charge loss compensation scheme may be used by the data storage device to program data into non-volatile solid-state memory on the last cycle before the memory enters a long data retention period when data is not expected to be overwritten, or in connection with graceful power-down of the memory. The storage device (e.g., device firmware) may detect the last P/E cycle and program the data to the solid-state memory using the adjusted target programming level(s) on the last program operation for each page.
Read Disturb CompensationRead disturb may occur when a solid-state memory cell is read. For example, the select voltage applied to read the cell may have a slight charging effect on the cell. After many read operations, the charge stored in the cell may therefore be elevated due to the read operations such that the cell transitions to the next higher voltage state. For example, read disturb may result in undesired E-to-A state transitions. This effect may be particularly pronounced when the starting state of the cell is the erase state (E), which generally is the lowest voltage state. If a greater margin is provided on the high side of the E state, the voltage gain required to push the cell across the read threshold transition may be increased, thereby at least partially reducing the probability of producing an unwanted state change.
FIG. 6 is a graph showing state-to-state transition errors in a solid-state memory device according to one or more embodiments. The graph ofFIG. 6 shows a relative sum of bit-flip errors for the various state-to-state transitions across an embodiment of a data storage device. As is demonstrated inFIG. 6, in an example two-bit MLC programming scheme, the E-to-A state transition may represent the most prevalent bit-flip error caused by read disturb. This may be due at least in part to the relatively lower voltage present on such cells. In certain embodiments, E-to-A transition errors may constitute a majority or plurality of bit-flip errors with respect to read disturb charge gain, followed possibly by A-to-B errors.
In order to favor read disturb performance, certain embodiments disclosed herein provide a method for moving the A, B and/or C program voltage targets up in voltage in order to provide more E state high-side margin (i.e., margin between the E and A states).FIG. 7 is a graph showing a probability distribution of cells showing adjusted target programming voltage(s) and/or read threshold level(s) according to one or more embodiments. Because, as described above, the greatest occurrence of state transitions due to read disturb charge gain may involve cells program to a erased state (E) migrating across a voltage read level boundary positioned between the erased and next highest voltage state, it may be desirable to increase the margin between the E state and the next highest voltage state (e.g., A state). Therefore, in certain embodiments, one or more voltage states may be adjusted to a higher voltage target levels in order to increase the margin between the E and A states for the purpose of implementing read disturb compensation programming according to one or more embodiments disclosed herein.
Thedistribution700 provides an example distribution associated with read disturb compensation as described herein. Thedistribution700 shows solid-line voltage states, which correspond to a read disturb compensation programming/reading scheme, as well as dashed-line voltage states and read threshold levels, which may correspond to a default programming/reading scheme providing substantially-evenly separated voltage states, such as is shown inFIG. 2 and described above. Thedistribution700 may include an adjusted A state, which is programmed using a target programming voltage TAthat is adjusted with respect to a default programming voltage associated with the a state by an amount DTAthat is higher than the default target voltage. Such adjustment may increase the margin MEAbetween the E and A states, possibly substantially. In certain embodiments, thedistribution700 comprises a margin MEAbetween the E and A state that is greater than the margins between the A and B states and/or the B and C states. In order to reduce the occurrences of transitions of cells across the read threshold boundary between the E and A states, the read threshold level used to distinguish between the E and A states may be adjusted to a higher level (i.e., to the right in the illustration ofFIG. 5). For example, the read threshold level RAmay be adjusted by an amount DRArelative to a default read threshold level. In certain embodiments, RAmay be positioned in the region right of center in the margin MEAin order to further reduce occurrences of E-to-A transition errors. For example, RAmay be positioned such that the portion of the margin MEAon the high-side of RAremains at a default range, while the added margin from adjusting the program target voltage TAis added to the low-side of RAin the margin MEA.
In certain embodiments, one or more additional voltage states may be adjusted upward to provide read disturb compensation. For example, the third-highest voltage level (B) may be programmed using a target voltage TBthat is greater by an amount DTBthan a default target voltage level associated with the B state. Furthermore, in order to account for the adjustment of the B and/or A states to the right, the read threshold level RBused to distinguish between the A and B states may likewise need to be adjusted by some amount DRBto the right in order to be positioned substantially evenly between the A and B states within the margin MABbetween the states; alternatively, RBmay be positioned in the region right of center in the margin MABin order to further reduce occurrences of A-to-B transition errors. In certain embodiments, RBmay be positioned such that the portion of the margin MABon the high-side of RBremains at a default range, while the added margin from adjusting the program target voltage(s) TAand/or TBis added to the low-side of RBin the margin MAB. In certain embodiments, the program voltage target levels for the A, B and C states may be adjusted up together in order to increase the E state high-side margin. In certain embodiments, only read threshold level(s) are adjusted to achieve E state high-side margin. For example, the read threshold level between the E and A states, RA, may be adjusted to the right, while the programming target voltage level TAmay remain at a default position.
As a result of the adjustment of the A and/or B states to the right, thedistribution700 may be associated with a read threshold level RCbetween the B and C states that is likewise adjusted by some amount DRCto the right in order to position the read threshold level RCsubstantially evenly between the B and C states with in the margin MBCthat separates such states; alternatively, RCmay be positioned in the region right of center in the margin MBCin order to further reduce occurrences of B-to-C transition errors. In certain embodiments, RCmay be positioned such that the portion of the margin MBCon the high-side of RCremains at a default range, while the added margin from adjusting the program target voltages TAand/or TBis added to the low-side of RCin the margin MBC. In certain embodiments, neither the lowest voltage state nor the highest voltage state is substantially adjusted or modified with respect to the associated default programming scheme.
FIG. 8 is a flow diagram illustrating a read disturb compensation programming mode according to one or more embodiments. Theprocess800 may involve, atblock802, receiving data to be written to non-volatile solid-state memory. Ablock804, it may be determined whether or not a read disturb compensation mode/scheme is to be implemented in connection with programming of the data received. If not, theprocess800 may proceed to block810, where the data may be programmed to the non-volatile solid-state memory according to one or more default target voltage levels, such as voltage levels similar to those illustrated inFIG. 2 and described above. Theprocess800 may further involve reading/decoding the data programmed atblock812 using default read voltage threshold levels according to a default decoding scheme.
If thedetermination block804 is that a read disturb compensation mode/scheme is to be implemented in connection with programming of the received data, the process proceeds to block806, where the data may be programmed to the non-volatile solid-state memory using one or more higher/adjusted target voltage levels. For example, in certain embodiments, at least a second-lowest voltage state is programmed using an adjusted target voltage level, such as a target level that has been raised by some amount relative to the default target voltage level. What about read threshold adj.
In addition, in certain embodiments, the read disturb compensation programming scheme implemented atblock806 may involve programming data to a third-lowest voltage state (e.g., B state) using an adjusted/higher target voltage level. In certain embodiments, the adjustment of the second-lowest voltage state (e.g., A state) is greater than the adjustment of the third-lowest voltage state (e.g., B state) in order to create a greater margin between the lowest (e.g., E state) and second-lowest voltage (e.g., A state) states than may be present between the second-lowest voltage state (e.g., A state) and the third-lowest voltage state (e.g., B state). In certain embodiments, the adjustment of the third-lowest voltage state (e.g., B state) is greater than the adjustment of the second-lowest voltage state (e.g., A state), though a greater margin may still result between the lowest and second-lowest states than between the second-lowest and third-lowest states (see, e.g.,FIG. 7). In certain embodiments, the amount DTAof adjustment of the programming target voltage for the second-lowest voltage state (e.g., A state) and the amount DTBof the adjustment of the programming target voltage of the third-lowest voltage state (e.g., B state) are approximately the same.
Theprocess800 may further result in a reduced margin between the highest voltage state (e.g., C state) and the next lowest voltage state (e.g., B state). Therefore, although a reduced margin between the C and B states may be present with respect to data programmed according to the read disturb compensation scheme illustrated inFIG. 8, an increased margin between the lowest (e.g., E state) and second-lowest voltage (e.g., A state) states may be present, which may provide protection against state transitions due to read disturb.
In certain embodiments, a command to enable and/or disable the use of the read disturb compensation scheme may be implemented as part of a host interface command protocol associated with the solid-state memory device (e.g., NAND flash). For example, when the host is aware that repetitive reads are likely with respect to certain data, the host may trigger, in the data storage device, the sequence to program/read the data using the adjusted target voltage level(s) and/or read threshold level(s).
In certain embodiments, when a solid-state storage device exceeds a threshold number of writes, the device may be triggered to begin writing/reading using the read disturb compensation scheme described herein. For example, the endurance specification of the device may dictate a maximum number of writes per year; the trigger threshold for the device may be based on such number. In certain embodiments, a number of available blocks in a free pool from which needed blocks are provisioned may also serve as a basis for triggering adjusted target programming voltages and/or read threshold levels. For example, when the free pool is empty, the solid-state storage device could begin using the read disturb compensation scheme.
Combined Data Retention and Read Disturb CompensationIf both read disturb and data retention performance are desired to be improved, both the margin on the high side of the E state and the margin on the low side of the C state may be increased in order to gain benefits associated with both compensation schemes described above. For example, in order to favor both read disturb performance and data retention performance, certain embodiments disclosed herein provide a method for moving the A program voltage target up in voltage in order to provide more E state high-side margin (i.e., margin between the E and A states), wherein the B program voltage target level is further adjusted down in voltage in order to provide more C state low-side margin (i.e., margin between the B and C states).
FIG. 9 is a graph showing a probability distribution of cells showing adjusted target programming voltage(s) and/or read threshold level(s) according to one or more embodiments.FIG. 9 illustrates adistribution900 that includes relatively increased margins between the lowest and second-lowest voltage states, as well as between the highest and second-highest voltage states. For example, with respect to an example two-level (two-bit) MLC programming scheme, thedistribution900 may include increased margins between the E and A states, as well as between the B and C states. With increased read margins between the E and A states and the C and B states, thedistribution900 may provide protection against both read disturb errors resulting from transitions of program cells from the E state to the A state, as well as errors resulting from charge loss causing transition from the C state to the B state. As a trade-off, the margin MABbetween the A and B states, or one or more additional intermediate margins of thedistribution900, may be reduced with respect to a default programming scheme in which voltage states are substantially evenly separated.
To implement the data retention and read disturb compensation scheme illustrated inFIG. 9, the distribution may include a second-highest distribution state programmed using a target voltage that is less than a default target voltage generally associated with such state. For example, as illustrated, the adjusted target level TBmay be higher than the default target level by an amount DTB, wherein the various dashed lines of the illustration represent default voltage states and/or read threshold levels. The read threshold level RCused to distinguish between the C and B states may likewise be adjusted to the left in order to position the read threshold level RCsubstantially evenly between the C and B states within the enlarged margin MBC.
Thedistribution900 further provides an enlarged margin MEAbetween the lowest voltage state and the second-lowest voltage state relative to the default voltage distribution scheme comprising substantially evenly separated programming states. In order to achieve the larger margin MEAbetween the E and A states, the target voltage level TAused to program the A state when in the data retention and read disturb compensation programming mode may be adjusted (i.e., to the right with respect to the diagramFIG. 9), to thereby increase the distance between the lowest voltage state and the second-lowest voltage state. The read threshold level RAused to distinguish between the lowest voltage state and the second-lowest voltage state may likewise be adjusted by an amount DRAupward in order to position the read level RAsubstantially evenly between the two states within the margin MEA, or to the right-of-center in the margin MEA. The target voltage TAmay be adjusted upward by an amount DTA, as illustrated in the diagram inFIG. 9.
With increased margins between the lowest and second lowest voltage states and between the highest and second-highest voltage states, thedistribution900 may result in reduced margins between intermediate voltage states (e.g., between states A and B) in embodiments in which the erased state and/or highest voltage states are not substantially adjusted with respect to target voltage levels. For example, the margin MABbetween states A and B in thedistribution900 may be smaller than the margin between states A and B for a default evenly-separated distribution. In certain embodiments, the read threshold level(s) between the intermediate states may not need to be adjusted. For example, with respect to a four-state programming scheme, with substantially equal adjustment to the margin between states E and A states and the margin between states B and C, the read threshold level RBmay remain substantially evenly positioned between states A and B without adjustment. In embodiments in which either of the margins MEA, MBCis greater than the other, it may be necessary or desirable to adjust the voltage read level RBbetween the A and B states to compensate for the disproportionate margins between the E and A states and the B and C states.
FIG. 10 is a flow diagram illustrating a data retention and read disturb compensation programming process according to one or more embodiments. Theprocess1000 may involve, atblock1002, receiving data to be written to non-volatile solid-state memory. Atblock1004, it may be determined whether or not a data retention and read disturb compensation mode/scheme is to be implemented in connection with programming of the data received. If not, theprocess1000 may proceed to block1010, where the data may be programmed to the non-volatile solid-state memory according to one or more default target voltage levels, such as voltage levels similar to those illustrated inFIG. 2 and described above. Theprocess1000 may further involve reading/decoding the data programmed atblock1012 using default read voltage threshold levels according to a default decoding scheme.
If thedetermination block1004 is that a data retention and read disturb compensation mode/scheme is to be implemented in connection with programming of the received data, the process proceeds to block1006, where the data may be programmed to the non-volatile solid-state memory using one or more adjusted target voltage levels. For example, in certain embodiments, at least a second-lowest voltage state (e.g., A state) is programmed using an adjusted target voltage level, such as a target level that has been raised by some amount relative to the default target voltage level, and a second-highest voltage state (e.g., B state) is programmed using an adjusted target voltage level that has been lowered by some amount relative to the default target voltage level. The process proceeds to block1008 where data is read back using adjusted voltage thresholds.
Theprocess1000 may further result in a reduced margin between the second highest voltage state (e.g., B state) and the next lowest voltage state (e.g., A state). Therefore, although a reduced margin between the A and B states may be present with respect to data programmed according to the data retention and read disturb compensation scheme illustrated inFIG. 10, an increased margin between the lowest and second-lowest voltage states and between the highest and second-highest voltage states may be present, which may provide protection against state transitions due to data retention charge loss and read disturb.
In certain embodiments, a command to enable and/or disable the use of the data retention and read disturb compensation scheme may be implemented as part of a host interface command protocol associated with the solid-state memory device (e.g., NAND flash). For example, when the host is aware that repetitive reads are likely with respect to certain data, the host may trigger, in the data storage device, the sequence to program/read the data using the adjusted target voltage level(s) and/or read threshold level(s).
Additional EmbodimentsThose skilled in the art will appreciate that in some embodiments, other types of solid-state encoding/decoding systems can be implemented while remaining within the scope of the present disclosure. In addition, the actual steps taken in the processes discussed herein may differ from those described or shown in the figures. Depending on the embodiment, certain of the steps described above may be removed, and/or others may be added.
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of protection. Indeed, the novel methods and systems described herein may be embodied in a variety of other forms. Furthermore, various omissions, substitutions and changes in the form of the methods and systems described herein may be made. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the protection. For example, the various components illustrated in the figures may be implemented as software and/or firmware on a processor, application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), or dedicated hardware. Also, the features and attributes of the specific embodiments disclosed above may be combined in different ways to form additional embodiments, all of which fall within the scope of the present disclosure. Although the present disclosure provides certain preferred embodiments and applications, other embodiments that are apparent to those of ordinary skill in the art, including embodiments which do not provide all of the features and advantages set forth herein, are also within the scope of this disclosure. Accordingly, the scope of the present disclosure is intended to be defined only by reference to the appended claims.
All of the processes described above may be embodied in, and fully automated via, software code modules executed by one or more general purpose or special purpose computers or processors. The code modules may be stored on any type of computer-readable medium or other computer storage device or collection of storage devices. Some or all of the methods may alternatively be embodied in specialized computer hardware.