WO2008042598A2 - Involatile memory with soft-input,soft-output (siso) decoder, statistical unit and adaptive operation - Google Patents

Involatile memory with soft-input,soft-output (siso) decoder, statistical unit and adaptive operation Download PDF

Info

Publication number
WO2008042598A2
WO2008042598A2 PCT/US2007/078841 US2007078841W WO2008042598A2 WO 2008042598 A2 WO2008042598 A2 WO 2008042598A2 US 2007078841 W US2007078841 W US 2007078841W WO 2008042598 A2 WO2008042598 A2 WO 2008042598A2
Authority
WO
WIPO (PCT)
Prior art keywords
data
nonvolatile memory
memory array
decoder
output
Prior art date
Application number
PCT/US2007/078841
Other languages
French (fr)
Other versions
WO2008042598A3 (en
Inventor
Yigal Brandman
Kevin M. Conley
Original Assignee
Sandisk Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US11/536,347 external-priority patent/US7805663B2/en
Priority claimed from US11/536,372 external-priority patent/US20080092015A1/en
Application filed by Sandisk Corporation filed Critical Sandisk Corporation
Priority to EP07814918A priority Critical patent/EP2067144A2/en
Priority to KR1020097008470A priority patent/KR101144096B1/en
Priority to JP2009530526A priority patent/JP5297380B2/en
Publication of WO2008042598A2 publication Critical patent/WO2008042598A2/en
Publication of WO2008042598A3 publication Critical patent/WO2008042598A3/en

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/34Determination of programming status, e.g. threshold voltage, overprogramming or underprogramming, retention
    • G11C16/3418Disturbance prevention or evaluation; Refreshing of disturbed memory data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1008Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
    • G06F11/1068Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices in sector programmable memories, e.g. flash disk
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/34Determination of programming status, e.g. threshold voltage, overprogramming or underprogramming, retention
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/02Detection or location of defective auxiliary circuits, e.g. defective refresh counters
    • G11C29/021Detection or location of defective auxiliary circuits, e.g. defective refresh counters in voltage or current generators
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/02Detection or location of defective auxiliary circuits, e.g. defective refresh counters
    • G11C29/028Detection or location of defective auxiliary circuits, e.g. defective refresh counters with adaption or trimming of parameters
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/04Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
    • G11C29/50Marginal testing, e.g. race, voltage or current testing
    • G11C29/50004Marginal testing, e.g. race, voltage or current testing of threshold voltage
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/52Protection of memory contents; Detection of errors in memory contents
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/04Erasable programmable read-only memories electrically programmable using variable threshold transistors, e.g. FAMOS
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/04Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
    • G11C2029/0409Online test

Definitions

  • This invention relates to nonvolatile memory systems and to methods of operating nonvolatile memory systems.
  • Nonvolatile memory systems are used in various applications. Some nonvolatile memory systems are embedded in a larger system such as a personal computer. Other nonvolatile memory systems are removably connected to a host system and may be interchanged between different host systems. Examples of such removable memory systems include memory cards and USB flash drives. Electronic circuit cards, including non- volatile memory cards, have been commercially implemented according to a number of well-known standards. Memory cards are used with personal computers, cellular telephones, personal digital assistants (PDAs), digital still cameras, digital movie cameras, portable audio players and other host electronic devices for the storage of large amounts of data.
  • PDAs personal digital assistants
  • Such cards usually contain a re-programmable non- volatile semiconductor memory cell array along with a controller that controls and supports operation of the memory cell array and interfaces with a host to which the card is connected.
  • a controller that controls and supports operation of the memory cell array and interfaces with a host to which the card is connected.
  • Several of the same type of card may be interchanged in a host card slot designed to accept that type of card.
  • a card made according to one standard is usually not useable with a host designed to operate with a card of another standard.
  • Memory card standards include PC Card, CompactFlashTM card (CFTM card), SmartMediaTM card, MultiMediaCard (MMCTM), Secure Digital (SD) card, a miniSDTM card, Subscriber Identity Module (SIM), Memory StickTM, Memory Stick Duo card and microSD/TransFlashTM memory module standards.
  • USB flash drive products commercially available from SanDisk Corporation under its trademark “Cruzer®.” USB flash drives are typically larger and shaped differently than the memory cards described above.
  • Data stored in a nonvolatile memory system may contain erroneous bits when data is read.
  • Traditional ways to reconstruct corrupted data include the application of Error Correction Codes (ECCs).
  • ECCs Error Correction Codes
  • Simple Error Correction Codes encode data by storing additional parity bits, which set the parity of groups of bits to a required logical value, when the data is written into the memory system. If during storage the data is erroneous, the parity of groups of bits may change. Upon reading the data from the memory system, the parity of the group of the bits is computed once again by the ECC. Because of the data corruption the computed parity may not match the required parity condition, and the ECC may detect the corruption.
  • ECCs can have at least two functions: error detection and error correction. Capability for each of these functions is typically measured in the number of bits that can be detected as erroneous and subsequently corrected. Detection capability can be the same or greater than the correction capability. A typical ECC can detect a higher number of error bits than it can correct. A collection of data bits and parity bits is sometimes called a word An early example is the (7,4) Hamming code, which has the capability of detecting up to two errors per word (seven bits in this example) and has the capability of correcting one error in the seven-bit word.
  • More sophisticated ECCs can correct more than a single error per word, but it becomes computationally increasingly complex to reconstruct the data.
  • Common practice is to recover the data with some acceptably small likelihood of incorrect recovery.
  • the probability of reliable data recovery also decreases rapidly or the associated costs in additional hardware and/or performance become prohibitively high.
  • data can be represented by the threshold voltages of transistors.
  • different digital data storage values correspond to different voltage ranges. If, for some reason, during the read operation the voltage levels shift from their preferred ranges, an error occurs. The error may be detected by the ECC and in some cases these errors may be corrected.
  • a statistical unit collects statistical information regarding decoding of data from a nonvolatile memory array by a decoder that provides likelihood values as its output. In response to the statistical information, at least one operating parameter of the memory array is changed.
  • a parameter that is changed is associated with writing data to the memory array.
  • the difference between successive voltage pulses that are used to program data to the memory array may be changed according to the statistical information.
  • a parameter that is changed is associated with reading data from the memory array.
  • a resolution used to read data from the nonvolatile memory array may be changed according to the statistical information.
  • Figure 1 shows likelihood functions of threshold voltages of cells programmed to a logic 1 state and a logic 0 state in a nonvolatile memory, including a voltage V D used to discriminate logic 1 and logic 0 states.
  • Figure 2 shows components of a memory system including a memory array, modulator/demodulator circuits and encoder/decoder circuits.
  • Figure 3 shows likelihood function of read threshold voltages of cells programmed to a logic 1 state and a logic 0 state, showing threshold voltage values.
  • Figure 4 shows components of a memory system including a memory array, modulator/demodulator circuits and encoder/decoder circuits, a demodulator providing likelihood values to a decoder.
  • Figure 5 shows an ECC unit having a Soft-Input Soft-Output (SISO) decoder.
  • SISO Soft-Input Soft-Output
  • Figure 6 shows a memory system including a SISO decoder with a statistical unit that provides a signal to a modulator and to a demodulator.
  • Figure 7 shows a series of pulses of increasing voltage that are used to program a cell in a nonvolatile memory, the differences in voltage between pulses modified according to a signal from the statistical unit.
  • Figure 8 shows likelihood distributions of read threshold voltages of cells programmed to four logical states and shows threshold voltages where cells are read in successive read operations, the number of read operations modified according to a signal from the statistical unit.
  • Figure 1 shows the relationship between a physical parameter indicating a memory cell state (threshold voltage, V T ) and the logical values to which the memory cell may be programmed.
  • V T threshold voltage
  • the cell stores one bit of data.
  • Cells programmed to the logic 0 state generally have a higher threshold voltage than cells in the logic 1 (unprogrammed) state.
  • the logic 1 state is the unprogrammed state of the memory cell.
  • the vertical axis of Figure 1 indicates the likelihood of reading a cell at any particular threshold voltage based upon expected threshold voltage distribution.
  • a first likelihood function is shown for cells programmed to logic 1 and a second for cells programmed to logic 0. However, these functions have some degree of overlap between them.
  • a discrimination voltage V D is used in reading such cells. Cells having a threshold voltage below V D are considered to be in state 1 , while those having a threshold voltage above V D are considered to be in state 0. As Figure 1 shows, this may not always be correct. Because of the overlap between functions, there is a non-zero likelihood that a memory cell programmed to a logic 1 state will be read as having a threshold voltage greater than V D and so will be read as being in a logic 0 state. Similarly, there is a non-zero likelihood that a memory cell programmed to a logic 0 state will be read as having a logic 1 state.
  • Overlap between functions occurs for a number of reasons including physical defects in the memory array and disturbance caused to programmed cells by later programming or reading operations in the memory array. Overlap may also occur due to a general lack of ability to keep a large number of cells within a very tight threshold voltage range. Certain programming techniques may allow functions of threshold voltages to be narrowed (have smaller standard deviations). However, such programming may take more time. In some memory systems, more than one bit is stored in a memory cell. In general, it is desirable to store as many bits as possible in a memory cell. In order to efficiently use the available threshold voltage range, functions for adjacent states may be such that they significantly overlap.
  • Nonvolatile memory systems commonly employ ECC methods to overcome errors that occur in data that is read from a memory array. Such methods generally calculate some additional ECC bits from input data to be stored in a memory array according to an encoding system. Other ECC schemes may map input data to output data in a more complex way. The ECC bits are generally stored along with the input data but may be stored separately. The input data and ECC bits are later read from the nonvolatile memory array together and a decoder uses both the data and ECC bits to check if any errors are present. In some cases, such ECC bits may also be used to identify a bit that is in error.
  • ECC bits to data bits is not the only way to encode data before storing it in a nonvolatile memory.
  • data bits may be encoded according to a scheme that provides the following transformations: 00 to 1111, 01 to 1100, 10 to 0011 and 11 to 0000.
  • Figure 2 shows an example of input data being stored in a memory system 200.
  • Input data is first received by an ECC unit 201 that includes an encoder 203.
  • the input data may be host data to be stored in memory system 200 or may be data generated by a memory controller.
  • the example of Figure 2 shows four input data bits 1001.
  • Encoder 203 then calculates ECC bits (1111) from the input data bits using an encoding scheme.
  • One example of an encoding scheme is to generate ECC bits that are parity bits for selected groups of data bits.
  • Both the input data bits and the ECC bits are then sent to a modulation/demodulation unit 205 that includes a modulator 207.
  • Modulator 207 converts the digital data sent by ECC unit 201 to a form in which it is written in a memory array 209.
  • the digital data is converted to a plurality of threshold voltage values in a plurality of memory cells.
  • various circuits used to convert digital data to a stored threshold voltage in a memory cell may be considered to form a modulator.
  • each memory cell may hold one bit of data.
  • each memory cell may have a threshold voltage in one of two ranges, one signifying a logic "1" state and the other signifying a logic "0" state as shown in Figure 1.
  • the memory cells storing a logic "1" state have a threshold voltage that is less than V D ( ⁇ V D ) while the memory cells storing a logic "0" state have a threshold voltage that is greater than V D (>V D ).
  • Cells may be programmed and verified to a nominal threshold voltage higher than V D to ensure that, at least initially, there is some preferred separation between cells programmed to the two logic states.
  • Data may be stored in memory array 209 for some period of time. During this time, various events may occur to cause threshold voltages of memory cells to change. In particular, operations involving programming and reading may require voltages to be applied to word lines and bit lines in a manner that affects other previously programmed cells. Such disturbs are particularly common where dimensions of devices are reduced so that the interaction between adjacent cells is significant. Charge may also be lost over long periods of time. Such data retention failures can also cause data to change when read. As a result of such changes, data bits may be read out having different states than the data bits originally programmed. In the example of Figure 2, one input data bit 211 is read as having a threshold value less than V D ( ⁇ V D ) when it was originally written having a threshold value greater than
  • the threshold voltages of memory cells are converted to bits of data by a demodulator 213 in modulation/demodulation unit 205. This is the reverse of the process performed by the modulator.
  • Demodulator 213 may include sense amplifiers that read a voltage or current from a memory cell in memory array 209 and derive the state of the cell from the reading.
  • a memory cell having a threshold voltage less than V D gives a demodulated output of "1”
  • a memory cell having a threshold voltage that is greater than V D (>V D ) gives a demodulated output of "0.”
  • the second bit 208 of this sequence is in error as a result of being stored in the memory array 209.
  • Decoder 215 determines from data bits and ECC bits if there are any errors. If a small number of errors is present that is within the correction capability of the code, the errors are corrected. If large numbers of errors are present, they may be identified but not corrected if they are within the detection capability of the code. If the number of errors exceeds the detection capability of the code, the errors may not be detected, or may result in an erroneous correction. In the example of Figure 2, the error in the second bit is detected and is corrected. This provides an output (1001) from decoder 215 that is identical to the input sequence.
  • decoding of memory system 200 is considered to be hard-input hard-output decoding because decoder 215 receives only data bits representing input data bits and ECC bits, and decoder 215 outputs a corrected sequence of data bits corresponding to input data bits (or fails to give an output if the number of errors is too high).
  • Figure 4 shows a memory system 421 using a data storage process that is similar to that of memory system 200 (using the same input data bits and ECC bits) with a different read process.
  • memory system 421 instead of simply determining whether a threshold voltage is above or below a particular value, memory system 421 reads threshold voltages as shown in Figure 3. It will be understood that actual threshold voltage is not necessarily read. Other means of cell operation may be used to store and retrieve data (e.g. current sensing). Voltage sensing is merely used as an example. Generally, threshold voltage refers to a gate voltage at which a transistor turns on. Figure 4 shows a read occurring that provides more detailed information than the previous example.
  • This may be considered a read with a higher resolution than that of Figure 2 (and a resolution that resolves more states than are used for programming).
  • errors occur in the read data.
  • the readings corresponding to the second and third bits are in error.
  • the raw voltages read from memory array 423 of Figure 4 by a series of read operations are sent to a demodulator 425 in a modulation/demodulation unit 427.
  • the raw voltages have a finite resolution dictated by the resolution of the Analog-to-Digital conversion.
  • raw data is converted into likelihood data.
  • each cell reading is converted into a likelihood that the corresponding bit is a one or a zero.
  • the series of readings from the memory array (0.75, 0.05, 0.10, 0.15, 1.25, 1.0, 3.0, and 0.5 volts) can indicate not only the state of the cell, but can also be used to provide a degree of certainty as to that state. This may be expressed as a likelihood that a memory cell was programmed with a particular bit. Thus, readings that are close to 0 volts may give low likelihood values, while readings that are farther from 0 volts give higher likelihood values.
  • the likelihood values shown are log likelihood ratios (explained in detail below). This provides negative numbers for cells in a logic 0 state and positive numbers for cells in a logic 1 state, with the magnitude of the number indicating the likelihood that the state is correctly identified.
  • the second and third likelihood values (0.1, 0.2) indicate logic "1". The second and third values indicate likelihoods that are quite low.
  • Likelihood values are sent to a decoder 429 in an ECC unit 431 (in some cases, obtaining likelihood values from raw values may be considered as being performed in the decoder).
  • ECC unit 431 also includes encoder 432.
  • the decoder 429 performs decoding operations on likelihood values. Such a decoder may be considered a soft-input decoder.
  • soft-input refers to an input that includes some quality information related to data that are to be decoded.
  • the additional information provided as a soft-input generally allows a decoder to obtain better results.
  • a decoder may perform decoding calculations using a soft- input to provide calculated likelihood values as an output. This is considered a soft-output and such a decoder is considered a Soft-Input Soft-Output (SISO) decoder. This output can then be used again as input to the SISO decoder to iterate the decoding and improve results.
  • SISO decoder may form part of a larger decoder that provides a hard output to another unit.
  • SISO decoders generally provide good performance and in some cases may provide better performance than is possible with hard-input hard-output decoding. In particular, for the same amount of overhead (number of ECC bits) a SISO decoder may provide greater error correction capability.
  • a suitable encoding/decoding scheme may be implemented and demodulation is adapted to efficiently obtain a soft-input without excessive complexity and without requiring excessive time for reading data from the memory array.
  • a soft-input for a SISO decoder is provided by reading data in a nonvolatile memory array with a resolution that resolves a larger number of states than were used in programming the memory.
  • data may be written by programming a memory cell to one of two threshold voltage ranges and subsequently read by resolving three or more threshold voltage ranges.
  • the number of threshold voltage ranges used in reading will be some multiple of the number of threshold voltage ranges used in programming (for example, twice as many). However, this is not always the case.
  • An ECC unit may be formed as a dedicated circuit or this function may be performed by firmware in a controller.
  • a controller is an Application Specific Integrated Circuit (ASIC) that has circuits designed for specific functions such as ECC and also has firmware to manage controller operations.
  • ASIC Application Specific Integrated Circuit
  • an encoder/decoder may be formed by a combination of hardware and firmware in the memory controller.
  • An encoder/decoder (ECC unit) may alternatively be located on the memory chip.
  • the modulation/demodulation unit may be on a memory chip, on a controller chip, on a separate chip or some combination.
  • a modulation/demodulation unit will include at least some components on the memory chip (such as peripheral circuits connected to a memory array). While Figure 4 indicates threshold voltages being read to a high resolution (an analog read), the degree of resolution chosen may depend on a number of factors including the type of nonvolatile memory used.
  • FIG. 5 shows a more detailed view of ECC unit 431, particularly decoder 429.
  • Decoder 429 includes a SISO decoder 532 and a soft-hard converter 534.
  • SISO decoders generally accept raw likelihood data and perform ECC calculations on the raw likelihood data to provide calculated likelihood data.
  • the calculated likelihood data may be considered a soft-output.
  • such a soft-output is then provided as an input to the SISO decoder so that a second decoding iteration is performed.
  • a SISO decoder may perform successive iterations until at least one predetermined condition is achieved.
  • a predetermined condition may be that all bits have a likelihood that is greater than a certain minimum value.
  • a predetermined condition could also be an aggregate of likelihood values such as a mean likelihood value.
  • a predetermined condition may be convergence of results from one iteration to the next (i.e. keep iterating until there is little improvement from additional iterations).
  • a predetermined condition may be that a predetermined number of iterations are completed. Combinations of these conditions may also be used.
  • Decoding is performed using an encoded pattern in the data that is the result of encoding performed by encoder 432 on the data before it was stored. Encoder 432 and decoder 429 are both considered parts of ECC unit 431.
  • Efficient decoding depends on having a suitable encoding/decoding scheme.
  • Various schemes are known for encoding data in a manner that is suitable for subsequent decoding in a SISO decoder such as SISO decoder 532.
  • Encoding/decoding schemes include, but are not limited to, turbo codes, product codes, BCH codes, Reed-Solomon codes, convolutional codes (see U.S. Patent Application Nos. 11/383,401 and 11/383,405), Hamming codes, and Low Density Parity Check (LDPC) codes.
  • LDPC Low Density Parity Check
  • Figure 6 shows a memory system 651 according to an embodiment of the present invention that includes a decoder 653 having a statistical unit 655 connected to a SISO decoder 657.
  • the statistical unit 655 receives data from the SISO decoder 657 regarding decoding operations carried out by the SISO decoder 657.
  • the statistical unit 655 may collect statistical data on the operations carried out by the SISO decoder 657 in order to obtain one or more statistical indicators of the quality of data being received by the SISO decoder 657 from the demodulator 659.
  • One measure of the quality of data is the Signal to Noise Ratio (SNR) of the data.
  • SNR Signal to Noise Ratio
  • a quality indicator may be obtained over a large amount of data so that a statistically sufficient population is used.
  • a quality indicator may be obtained from the average number of iterations needed to achieve a predetermined condition in an iterative decoding scheme.
  • a quality indicator may be obtained from the rate at which corrections are required, the average hamming distance of corrections, the types of corrections performed or some other statistic regarding decoding by the SISO decoder.
  • a particular decoder is able to decode data having a range of SNRs up to some maximum SNR. It is possible in some memory systems to change operating parameters in ways that affect the SNR of a soft-input.
  • a decoder may reliably correct data above some minimum SNR, it may be efficient to operate the memory system in a manner that provides a SNR that is close to the minimum.
  • a particular SNR (or SNR range) may be selected as a target SNR (target range) for input to a decoder.
  • target SNR target range
  • a memory may provide data with a high SNR initially and later provide data with a low SNR.
  • operating parameters are adjusted to maintain the SNR at a target value, or within a target range.
  • operating parameters may be set at appropriate levels to maintain a target SNR, or SNR range. Later, after some use, the memory tends to output data having a lower SNR and operating parameters may be set at appropriate levels to compensate for the drop in SNR caused by use.
  • the SNR is maintained at the target SNR, or within the target SNR range.
  • it may by convenient to compensate for a drop in SNR in input data to the decoder by changing an operating parameter that affects the decoder's performance.
  • Such adjustment of operating parameters of a memory array may be based on an SNR value or other quality indicator obtained from SISO decoding.
  • Figure 6 shows the statistical unit 655 providing feedback signal to the modulator 661 and the demodulator 659. Other signals may also be provided by the statistical unit 655.
  • programming and reading operations are changed according to signals from the statistical unit.
  • other operating parameters may be changed.
  • One example of an operating parameter of a memory array that may be changed is the pulse height of a voltage pulse used to program a memory cell.
  • a memory cell is programmed by applying a series of increasing voltage pulses to the control gate of the memory cell until the memory cell is verified as having reached some target threshold voltage.
  • Figure 7 shows an example of a series of programming voltage pulses used to program a memory cell. Between each voltage pulse a verify operation is performed to verify if the memory cell has reached a predetermined threshold voltage. Successive programming voltage pulses increase by an increment ⁇ V. The size of this increment may affect the quality of data read from the memory array. In general, if ⁇ V is small, then the threshold voltage distributions for individual logic states will be narrow (small standard deviation) so that misreading of data is reduced. However, if ⁇ V is small then the number of pulses, and therefore the time, needed to program a memory cell to a particular threshold voltage is increased. In one embodiment, the size of the increment ⁇ V is chosen in response to a quality indication from the statistical unit.
  • ⁇ V may be increased in size, thus reducing the SNR of the data read from the memory array. If the statistical unit indicates that the SNR is lower than a target, then ⁇ V may be reduced in size thus reducing the SNR of the data read from the memory array.
  • the size of ⁇ V may initially be set to a predetermined value that is relatively large because the SNR of the memory system tends to be high initially. As the memory is used, the SNR of data read from the array tends to drop. This drop is detected by the statistical unit 655 and in response the size of ⁇ V is reduced.
  • the statistical unit 655 provides a feedback signal to a programming circuit in the modulator 661 that performs operations on the memory array 663, and the programming circuit changes at least one operating parameter of the memory array 663 in response to the feedback signal.
  • Other operating parameters associated with programming may be modified in response to a signal from the statistical unit 655.
  • FIG. 8 shows an example where memory cells are programmed to one of four states. Three successive reads are performed, a first read resolving four threshold voltage ranges corresponding to the four programmed states, the second read further resolving threshold voltage range of the first read into three ranges and a third read further resolving these ranges. Each of these reads adds to the time needed to output data from the memory system. More reads generally provide a higher resolution that gives the SISO decoder more information and allows the SISO decoder to better correct data. However, high resolution reading takes more time.
  • the number of reads performed is determined by a signal from the statistical unit 655.
  • the statistical unit 655 indicates a high SNR, then the number of reads may be reduced, saving time.
  • the statistical unit 655 indicates a low SNR, then the number of reads may be increased, increasing the information available to the SISO decoder and thus compensating for the low SNR.
  • other reading systems are used that do not show a read pattern like that of Figure 8. Generally, in such memories higher resolution requires more time or more complexity. So, reducing resolution will generally allow faster, or simpler, or both faster and simpler reading.
  • the read resolution is initially set to a predetermined level. As statistical information is gathered by the statistical unit, this number may be changed. For example, the SNR of data output from the memory array may drop as the memory is used and, to compensate, the read resolution may be increased. Thus, the statistical unit provides a feedback signal and an operating parameter of the memory array is changed in response to the feedback signal. Other operating parameters of the memory array 663 associated with reading or writing may also be changed in response to a signal from the statistical unit 655.
  • the reading scheme of Figure 8 may be used with a NAND flash memory. This is a type of memory that uses strings of memory cells connected together in series. Various NAND flash memory designs and methods of operating NAND flash memories are described in U.S. Patent Nos. 7,888,621; 7,092,290 and 6,983,428.
  • an ECC unit may use more than one encoder and more than one decoder to provide concatenated encoding and decoding.
  • a statistical unit may be provided that collects statistical information from one or more decoders in such an arrangement.
  • separate statistical units may be provided for different decoders with each statistical unit providing one or more separate outputs.
  • a signal from a statistical unit may be provided to any circuit in the memory system that affects an operating parameter of the memory array. This includes circuits within the modulator, demodulator, memory array, ECC unit, or any circuit in a memory controller. More than one signal may be generated by a statistical unit to control more than one operating parameter. For example, both programming pulse voltage and read resolution may be changed in response to a signal provided by a statistical unit, or they may be changed in response to separate signals that may be based on the same or different statistical information.
  • a statistical unit is formed as part of a controller ASIC. The statistical unit may be formed by dedicated circuits, by firmware in the controller or by a combination of dedicated circuits and firmware.
  • a statistical unit may be formed separately from the controller, on a dedicated chip, or otherwise.
  • the various examples above refer to flash memory.
  • various other nonvolatile memories are currently in use and the techniques described here may be applied to any suitable nonvolatile memory systems.
  • Such memory systems may include, but are not limited to, memory systems based on ferroelectric storage (FRAM or FeRAM), memory systems based on magnetoresistive storage (MRAM), and memories based on phase change (PRAM or "OUM” for "Ovonic Unified Memory”).

Abstract

In a nonvolatile memory system a Soft-Input Soft-Output (SISO) decoder corrects errors in data that is read from a memory and a statistical unit connected to the SISO decoder collects data regarding corrections. The statistical unit generates at least one output based on the collected data and at least one operating parameter of the memory is modified in response to the output.

Description

NONVOLATILE MEMORY WITH ADAPTIVE OPERATION
BACKGROUND OF THE INVENTION
This invention relates to nonvolatile memory systems and to methods of operating nonvolatile memory systems.
Nonvolatile memory systems are used in various applications. Some nonvolatile memory systems are embedded in a larger system such as a personal computer. Other nonvolatile memory systems are removably connected to a host system and may be interchanged between different host systems. Examples of such removable memory systems include memory cards and USB flash drives. Electronic circuit cards, including non- volatile memory cards, have been commercially implemented according to a number of well-known standards. Memory cards are used with personal computers, cellular telephones, personal digital assistants (PDAs), digital still cameras, digital movie cameras, portable audio players and other host electronic devices for the storage of large amounts of data. Such cards usually contain a re-programmable non- volatile semiconductor memory cell array along with a controller that controls and supports operation of the memory cell array and interfaces with a host to which the card is connected. Several of the same type of card may be interchanged in a host card slot designed to accept that type of card. However, the development of the many electronic card standards has created different types of cards that are incompatible with each other in various degrees. A card made according to one standard is usually not useable with a host designed to operate with a card of another standard. Memory card standards include PC Card, CompactFlash™ card (CF™ card), SmartMedia™ card, MultiMediaCard (MMC™), Secure Digital (SD) card, a miniSD™ card, Subscriber Identity Module (SIM), Memory Stick™, Memory Stick Duo card and microSD/TransFlash™ memory module standards. There are several USB flash drive products commercially available from SanDisk Corporation under its trademark "Cruzer®." USB flash drives are typically larger and shaped differently than the memory cards described above.
Data stored in a nonvolatile memory system may contain erroneous bits when data is read. Traditional ways to reconstruct corrupted data include the application of Error Correction Codes (ECCs). Simple Error Correction Codes encode data by storing additional parity bits, which set the parity of groups of bits to a required logical value, when the data is written into the memory system. If during storage the data is erroneous, the parity of groups of bits may change. Upon reading the data from the memory system, the parity of the group of the bits is computed once again by the ECC. Because of the data corruption the computed parity may not match the required parity condition, and the ECC may detect the corruption.
ECCs can have at least two functions: error detection and error correction. Capability for each of these functions is typically measured in the number of bits that can be detected as erroneous and subsequently corrected. Detection capability can be the same or greater than the correction capability. A typical ECC can detect a higher number of error bits than it can correct. A collection of data bits and parity bits is sometimes called a word An early example is the (7,4) Hamming code, which has the capability of detecting up to two errors per word (seven bits in this example) and has the capability of correcting one error in the seven-bit word.
More sophisticated ECCs can correct more than a single error per word, but it becomes computationally increasingly complex to reconstruct the data. Common practice is to recover the data with some acceptably small likelihood of incorrect recovery. However with increasing number of errors the probability of reliable data recovery also decreases rapidly or the associated costs in additional hardware and/or performance become prohibitively high.
In semiconductor memory devices, including EEPROM systems, data can be represented by the threshold voltages of transistors. Typically, different digital data storage values correspond to different voltage ranges. If, for some reason, during the read operation the voltage levels shift from their preferred ranges, an error occurs. The error may be detected by the ECC and in some cases these errors may be corrected.
SUMMARY OF INVENTION
In a nonvolatile memory system, a statistical unit collects statistical information regarding decoding of data from a nonvolatile memory array by a decoder that provides likelihood values as its output. In response to the statistical information, at least one operating parameter of the memory array is changed.
In one example, a parameter that is changed is associated with writing data to the memory array. In particular, the difference between successive voltage pulses that are used to program data to the memory array may be changed according to the statistical information. In another example, a parameter that is changed is associated with reading data from the memory array. In particular, a resolution used to read data from the nonvolatile memory array may be changed according to the statistical information. BRIEF DESCRIPTION OF THE DRAWINGS
Figure 1 shows likelihood functions of threshold voltages of cells programmed to a logic 1 state and a logic 0 state in a nonvolatile memory, including a voltage VD used to discriminate logic 1 and logic 0 states. Figure 2 shows components of a memory system including a memory array, modulator/demodulator circuits and encoder/decoder circuits.
Figure 3 shows likelihood function of read threshold voltages of cells programmed to a logic 1 state and a logic 0 state, showing threshold voltage values.
Figure 4 shows components of a memory system including a memory array, modulator/demodulator circuits and encoder/decoder circuits, a demodulator providing likelihood values to a decoder.
Figure 5 shows an ECC unit having a Soft-Input Soft-Output (SISO) decoder.
Figure 6 shows a memory system including a SISO decoder with a statistical unit that provides a signal to a modulator and to a demodulator. Figure 7 shows a series of pulses of increasing voltage that are used to program a cell in a nonvolatile memory, the differences in voltage between pulses modified according to a signal from the statistical unit.
Figure 8 shows likelihood distributions of read threshold voltages of cells programmed to four logical states and shows threshold voltages where cells are read in successive read operations, the number of read operations modified according to a signal from the statistical unit.
DETAILED DESCRIPTION OF ILLUSTRATED EMBODIMENTS
In many nonvolatile memories, data read from a memory array may have errors. That is, individual bits of input data that are programmed to a memory array may later be read as being in a different logical value. Figure 1 shows the relationship between a physical parameter indicating a memory cell state (threshold voltage, VT) and the logical values to which the memory cell may be programmed. In this example, only two states are stored in the cell. Thus, the cell stores one bit of data. Cells programmed to the logic 0 state generally have a higher threshold voltage than cells in the logic 1 (unprogrammed) state. In an alternative scheme, the logic 1 state is the unprogrammed state of the memory cell. The vertical axis of Figure 1 indicates the likelihood of reading a cell at any particular threshold voltage based upon expected threshold voltage distribution. A first likelihood function is shown for cells programmed to logic 1 and a second for cells programmed to logic 0. However, these functions have some degree of overlap between them. A discrimination voltage VD is used in reading such cells. Cells having a threshold voltage below VD are considered to be in state 1 , while those having a threshold voltage above VD are considered to be in state 0. As Figure 1 shows, this may not always be correct. Because of the overlap between functions, there is a non-zero likelihood that a memory cell programmed to a logic 1 state will be read as having a threshold voltage greater than VD and so will be read as being in a logic 0 state. Similarly, there is a non-zero likelihood that a memory cell programmed to a logic 0 state will be read as having a logic 1 state.
Overlap between functions occurs for a number of reasons including physical defects in the memory array and disturbance caused to programmed cells by later programming or reading operations in the memory array. Overlap may also occur due to a general lack of ability to keep a large number of cells within a very tight threshold voltage range. Certain programming techniques may allow functions of threshold voltages to be narrowed (have smaller standard deviations). However, such programming may take more time. In some memory systems, more than one bit is stored in a memory cell. In general, it is desirable to store as many bits as possible in a memory cell. In order to efficiently use the available threshold voltage range, functions for adjacent states may be such that they significantly overlap.
Nonvolatile memory systems commonly employ ECC methods to overcome errors that occur in data that is read from a memory array. Such methods generally calculate some additional ECC bits from input data to be stored in a memory array according to an encoding system. Other ECC schemes may map input data to output data in a more complex way. The ECC bits are generally stored along with the input data but may be stored separately. The input data and ECC bits are later read from the nonvolatile memory array together and a decoder uses both the data and ECC bits to check if any errors are present. In some cases, such ECC bits may also be used to identify a bit that is in error. The erroneous bit is then corrected by changing its state (changed from a "0" to a "1" or from a "1" to a "0"). Appending ECC bits to data bits is not the only way to encode data before storing it in a nonvolatile memory. For example, data bits may be encoded according to a scheme that provides the following transformations: 00 to 1111, 01 to 1100, 10 to 0011 and 11 to 0000.
Figure 2 shows an example of input data being stored in a memory system 200. Input data is first received by an ECC unit 201 that includes an encoder 203. The input data may be host data to be stored in memory system 200 or may be data generated by a memory controller. The example of Figure 2 shows four input data bits 1001. Encoder 203 then calculates ECC bits (1111) from the input data bits using an encoding scheme. One example of an encoding scheme is to generate ECC bits that are parity bits for selected groups of data bits. Both the input data bits and the ECC bits are then sent to a modulation/demodulation unit 205 that includes a modulator 207. Modulator 207 converts the digital data sent by ECC unit 201 to a form in which it is written in a memory array 209. In one scheme, the digital data is converted to a plurality of threshold voltage values in a plurality of memory cells. Thus, various circuits used to convert digital data to a stored threshold voltage in a memory cell may be considered to form a modulator. In the example of Figure 2, each memory cell may hold one bit of data. Thus, each memory cell may have a threshold voltage in one of two ranges, one signifying a logic "1" state and the other signifying a logic "0" state as shown in Figure 1. The memory cells storing a logic "1" state have a threshold voltage that is less than VD (<VD) while the memory cells storing a logic "0" state have a threshold voltage that is greater than VD (>VD). Cells may be programmed and verified to a nominal threshold voltage higher than VD to ensure that, at least initially, there is some preferred separation between cells programmed to the two logic states.
Data may be stored in memory array 209 for some period of time. During this time, various events may occur to cause threshold voltages of memory cells to change. In particular, operations involving programming and reading may require voltages to be applied to word lines and bit lines in a manner that affects other previously programmed cells. Such disturbs are particularly common where dimensions of devices are reduced so that the interaction between adjacent cells is significant. Charge may also be lost over long periods of time. Such data retention failures can also cause data to change when read. As a result of such changes, data bits may be read out having different states than the data bits originally programmed. In the example of Figure 2, one input data bit 211 is read as having a threshold value less than VD (<VD) when it was originally written having a threshold value greater than
The threshold voltages of memory cells are converted to bits of data by a demodulator 213 in modulation/demodulation unit 205. This is the reverse of the process performed by the modulator. Demodulator 213 may include sense amplifiers that read a voltage or current from a memory cell in memory array 209 and derive the state of the cell from the reading. In the example of Figure 2, a memory cell having a threshold voltage less than VD (<VD) gives a demodulated output of "1" and a memory cell having a threshold voltage that is greater than VD (>VD) gives a demodulated output of "0." This gives the output sequence 11011111 shown. The second bit 208 of this sequence is in error as a result of being stored in the memory array 209. The output of demodulator 213 is sent to a decoder 215 in ECC unit 201. Decoder 215 determines from data bits and ECC bits if there are any errors. If a small number of errors is present that is within the correction capability of the code, the errors are corrected. If large numbers of errors are present, they may be identified but not corrected if they are within the detection capability of the code. If the number of errors exceeds the detection capability of the code, the errors may not be detected, or may result in an erroneous correction. In the example of Figure 2, the error in the second bit is detected and is corrected. This provides an output (1001) from decoder 215 that is identical to the input sequence. The decoding of memory system 200 is considered to be hard-input hard-output decoding because decoder 215 receives only data bits representing input data bits and ECC bits, and decoder 215 outputs a corrected sequence of data bits corresponding to input data bits (or fails to give an output if the number of errors is too high).
An alternative memory system to memory system 200 is shown in Figures 3 and 4. Figure 3 shows similar functions to those of Figure 1 with VD=O and with threshold voltages below VD representing logic 0 and voltages above VD representing logic 1. Instead of showing a single voltage VD dividing threshold voltages into two different ranges, here the threshold voltages are indicated by actual voltage numbers. The function corresponding to logic "1" is centered above 0 volts and the function corresponding to logic "0" is centered below 0 volts.
Figure 4 shows a memory system 421 using a data storage process that is similar to that of memory system 200 (using the same input data bits and ECC bits) with a different read process. In particular, instead of simply determining whether a threshold voltage is above or below a particular value, memory system 421 reads threshold voltages as shown in Figure 3. It will be understood that actual threshold voltage is not necessarily read. Other means of cell operation may be used to store and retrieve data (e.g. current sensing). Voltage sensing is merely used as an example. Generally, threshold voltage refers to a gate voltage at which a transistor turns on. Figure 4 shows a read occurring that provides more detailed information than the previous example. This may be considered a read with a higher resolution than that of Figure 2 (and a resolution that resolves more states than are used for programming). As in the previous example, errors occur in the read data. Here, the readings corresponding to the second and third bits are in error. The second and third bits were logic "0" and were stored by programming a cell to have a threshold voltage less than VD but the cells are read as having threshold voltages of 0.05 volts and 0.10 volts which is higher than VD (VD = 0 volts). The raw voltages read from memory array 423 of Figure 4 by a series of read operations are sent to a demodulator 425 in a modulation/demodulation unit 427. The raw voltages have a finite resolution dictated by the resolution of the Analog-to-Digital conversion. Here, raw data is converted into likelihood data. In particular, each cell reading is converted into a likelihood that the corresponding bit is a one or a zero. The series of readings from the memory array (0.75, 0.05, 0.10, 0.15, 1.25, 1.0, 3.0, and 0.5 volts) can indicate not only the state of the cell, but can also be used to provide a degree of certainty as to that state. This may be expressed as a likelihood that a memory cell was programmed with a particular bit. Thus, readings that are close to 0 volts may give low likelihood values, while readings that are farther from 0 volts give higher likelihood values. The likelihood values shown are log likelihood ratios (explained in detail below). This provides negative numbers for cells in a logic 0 state and positive numbers for cells in a logic 1 state, with the magnitude of the number indicating the likelihood that the state is correctly identified. The second and third likelihood values (0.1, 0.2) indicate logic "1". The second and third values indicate likelihoods that are quite low. Likelihood values are sent to a decoder 429 in an ECC unit 431 (in some cases, obtaining likelihood values from raw values may be considered as being performed in the decoder). ECC unit 431 also includes encoder 432. The decoder 429 performs decoding operations on likelihood values. Such a decoder may be considered a soft-input decoder. In general, soft-input refers to an input that includes some quality information related to data that are to be decoded. The additional information provided as a soft-input generally allows a decoder to obtain better results. A decoder may perform decoding calculations using a soft- input to provide calculated likelihood values as an output. This is considered a soft-output and such a decoder is considered a Soft-Input Soft-Output (SISO) decoder. This output can then be used again as input to the SISO decoder to iterate the decoding and improve results. A SISO decoder may form part of a larger decoder that provides a hard output to another unit. SISO decoders generally provide good performance and in some cases may provide better performance than is possible with hard-input hard-output decoding. In particular, for the same amount of overhead (number of ECC bits) a SISO decoder may provide greater error correction capability. In order to efficiently use a SISO decoder, a suitable encoding/decoding scheme may be implemented and demodulation is adapted to efficiently obtain a soft-input without excessive complexity and without requiring excessive time for reading data from the memory array. In one embodiment, a soft-input for a SISO decoder is provided by reading data in a nonvolatile memory array with a resolution that resolves a larger number of states than were used in programming the memory. Thus, data may be written by programming a memory cell to one of two threshold voltage ranges and subsequently read by resolving three or more threshold voltage ranges. Typically, the number of threshold voltage ranges used in reading will be some multiple of the number of threshold voltage ranges used in programming (for example, twice as many). However, this is not always the case.
An ECC unit may be formed as a dedicated circuit or this function may be performed by firmware in a controller. Typically, a controller is an Application Specific Integrated Circuit (ASIC) that has circuits designed for specific functions such as ECC and also has firmware to manage controller operations. Thus, an encoder/decoder may be formed by a combination of hardware and firmware in the memory controller. An encoder/decoder (ECC unit) may alternatively be located on the memory chip. The modulation/demodulation unit may be on a memory chip, on a controller chip, on a separate chip or some combination. Generally, a modulation/demodulation unit will include at least some components on the memory chip (such as peripheral circuits connected to a memory array). While Figure 4 indicates threshold voltages being read to a high resolution (an analog read), the degree of resolution chosen may depend on a number of factors including the type of nonvolatile memory used.
Figure 5 shows a more detailed view of ECC unit 431, particularly decoder 429. Decoder 429 includes a SISO decoder 532 and a soft-hard converter 534. SISO decoders generally accept raw likelihood data and perform ECC calculations on the raw likelihood data to provide calculated likelihood data. The calculated likelihood data may be considered a soft-output. In many cases, such a soft-output is then provided as an input to the SISO decoder so that a second decoding iteration is performed. A SISO decoder may perform successive iterations until at least one predetermined condition is achieved. For example, a predetermined condition may be that all bits have a likelihood that is greater than a certain minimum value. A predetermined condition could also be an aggregate of likelihood values such as a mean likelihood value. A predetermined condition may be convergence of results from one iteration to the next (i.e. keep iterating until there is little improvement from additional iterations). A predetermined condition may be that a predetermined number of iterations are completed. Combinations of these conditions may also be used. Decoding is performed using an encoded pattern in the data that is the result of encoding performed by encoder 432 on the data before it was stored. Encoder 432 and decoder 429 are both considered parts of ECC unit 431.
Efficient decoding depends on having a suitable encoding/decoding scheme. Various schemes are known for encoding data in a manner that is suitable for subsequent decoding in a SISO decoder such as SISO decoder 532. Encoding/decoding schemes include, but are not limited to, turbo codes, product codes, BCH codes, Reed-Solomon codes, convolutional codes (see U.S. Patent Application Nos. 11/383,401 and 11/383,405), Hamming codes, and Low Density Parity Check (LDPC) codes. A detailed description of LDPC codes and turbo codes and how they may be used with SISO decoding is provided in US Patent Application Nos. 11/536,286 and 11/536,327, entitled "Soft-input soft-output decoder for nonvolatile memory" and "Methods of soft-input soft-output decoding for nonvolatile memory," filed on or around the same date as the present application.
Figure 6 shows a memory system 651 according to an embodiment of the present invention that includes a decoder 653 having a statistical unit 655 connected to a SISO decoder 657. The statistical unit 655 receives data from the SISO decoder 657 regarding decoding operations carried out by the SISO decoder 657. In particular, the statistical unit 655 may collect statistical data on the operations carried out by the SISO decoder 657 in order to obtain one or more statistical indicators of the quality of data being received by the SISO decoder 657 from the demodulator 659. One measure of the quality of data is the Signal to Noise Ratio (SNR) of the data. A SNR or other quality measure may be obtained over some period of time for all data decoded by the SISO decoder. Alternatively, separate quality indicators may be calculated for different portions of the memory array. A quality indicator may be obtained over a large amount of data so that a statistically sufficient population is used. A quality indicator may be obtained from the average number of iterations needed to achieve a predetermined condition in an iterative decoding scheme. A quality indicator may be obtained from the rate at which corrections are required, the average hamming distance of corrections, the types of corrections performed or some other statistic regarding decoding by the SISO decoder. In general, a particular decoder is able to decode data having a range of SNRs up to some maximum SNR. It is possible in some memory systems to change operating parameters in ways that affect the SNR of a soft-input. However, providing a better (higher) SNR may require more complexity or more time or both complexity and time. Thus, there is generally a tradeoff between obtaining a good SNR versus incurring additional time and complexity in operating the memory system. Where a decoder can reliably correct data above some minimum SNR, it may be efficient to operate the memory system in a manner that provides a SNR that is close to the minimum. A particular SNR (or SNR range) may be selected as a target SNR (target range) for input to a decoder. Typically, the SNR of data from a memory deteriorates with use. Thus, a memory may provide data with a high SNR initially and later provide data with a low SNR. In one example, operating parameters are adjusted to maintain the SNR at a target value, or within a target range. When a memory system is new and tends to have a high SNR, operating parameters may be set at appropriate levels to maintain a target SNR, or SNR range. Later, after some use, the memory tends to output data having a lower SNR and operating parameters may be set at appropriate levels to compensate for the drop in SNR caused by use. Thus, the SNR is maintained at the target SNR, or within the target SNR range. Alternatively, it may by convenient to compensate for a drop in SNR in input data to the decoder by changing an operating parameter that affects the decoder's performance. Such adjustment of operating parameters of a memory array may be based on an SNR value or other quality indicator obtained from SISO decoding. Figure 6 shows the statistical unit 655 providing feedback signal to the modulator 661 and the demodulator 659. Other signals may also be provided by the statistical unit 655. In particular examples, programming and reading operations are changed according to signals from the statistical unit. In other examples, other operating parameters may be changed. One example of an operating parameter of a memory array that may be changed is the pulse height of a voltage pulse used to program a memory cell. In one programming scheme, a memory cell is programmed by applying a series of increasing voltage pulses to the control gate of the memory cell until the memory cell is verified as having reached some target threshold voltage. Figure 7 shows an example of a series of programming voltage pulses used to program a memory cell. Between each voltage pulse a verify operation is performed to verify if the memory cell has reached a predetermined threshold voltage. Successive programming voltage pulses increase by an increment ΔV. The size of this increment may affect the quality of data read from the memory array. In general, if ΔV is small, then the threshold voltage distributions for individual logic states will be narrow (small standard deviation) so that misreading of data is reduced. However, if ΔV is small then the number of pulses, and therefore the time, needed to program a memory cell to a particular threshold voltage is increased. In one embodiment, the size of the increment ΔV is chosen in response to a quality indication from the statistical unit. In particular, if the statistical unit indicates that a SNR is higher than a target, then ΔV may be increased in size, thus reducing the SNR of the data read from the memory array. If the statistical unit indicates that the SNR is lower than a target, then ΔV may be reduced in size thus reducing the SNR of the data read from the memory array. The size of ΔV may initially be set to a predetermined value that is relatively large because the SNR of the memory system tends to be high initially. As the memory is used, the SNR of data read from the array tends to drop. This drop is detected by the statistical unit 655 and in response the size of ΔV is reduced. Thus, the statistical unit 655 provides a feedback signal to a programming circuit in the modulator 661 that performs operations on the memory array 663, and the programming circuit changes at least one operating parameter of the memory array 663 in response to the feedback signal. Other operating parameters associated with programming may be modified in response to a signal from the statistical unit 655.
Another example of an operating parameter that may be changed is the resolution of a read operation. Figure 8 shows an example where memory cells are programmed to one of four states. Three successive reads are performed, a first read resolving four threshold voltage ranges corresponding to the four programmed states, the second read further resolving threshold voltage range of the first read into three ranges and a third read further resolving these ranges. Each of these reads adds to the time needed to output data from the memory system. More reads generally provide a higher resolution that gives the SISO decoder more information and allows the SISO decoder to better correct data. However, high resolution reading takes more time. For example, a single read to distinguish two states may require 25 microseconds to complete, where three reads to distinguish four states may require 75 microseconds. In one example, the number of reads performed is determined by a signal from the statistical unit 655. Thus, if the statistical unit 655 indicates a high SNR, then the number of reads may be reduced, saving time. If the statistical unit 655 indicates a low SNR, then the number of reads may be increased, increasing the information available to the SISO decoder and thus compensating for the low SNR. In other memories, other reading systems are used that do not show a read pattern like that of Figure 8. Generally, in such memories higher resolution requires more time or more complexity. So, reducing resolution will generally allow faster, or simpler, or both faster and simpler reading.
In one example, the read resolution is initially set to a predetermined level. As statistical information is gathered by the statistical unit, this number may be changed. For example, the SNR of data output from the memory array may drop as the memory is used and, to compensate, the read resolution may be increased. Thus, the statistical unit provides a feedback signal and an operating parameter of the memory array is changed in response to the feedback signal. Other operating parameters of the memory array 663 associated with reading or writing may also be changed in response to a signal from the statistical unit 655. The reading scheme of Figure 8 may be used with a NAND flash memory. This is a type of memory that uses strings of memory cells connected together in series. Various NAND flash memory designs and methods of operating NAND flash memories are described in U.S. Patent Nos. 7,888,621; 7,092,290 and 6,983,428.
In some cases, an ECC unit may use more than one encoder and more than one decoder to provide concatenated encoding and decoding. A statistical unit may be provided that collects statistical information from one or more decoders in such an arrangement. Alternatively, separate statistical units may be provided for different decoders with each statistical unit providing one or more separate outputs.
A signal from a statistical unit may be provided to any circuit in the memory system that affects an operating parameter of the memory array. This includes circuits within the modulator, demodulator, memory array, ECC unit, or any circuit in a memory controller. More than one signal may be generated by a statistical unit to control more than one operating parameter. For example, both programming pulse voltage and read resolution may be changed in response to a signal provided by a statistical unit, or they may be changed in response to separate signals that may be based on the same or different statistical information. In some cases, a statistical unit is formed as part of a controller ASIC. The statistical unit may be formed by dedicated circuits, by firmware in the controller or by a combination of dedicated circuits and firmware. Alternatively, a statistical unit may be formed separately from the controller, on a dedicated chip, or otherwise. The various examples above refer to flash memory. However, various other nonvolatile memories are currently in use and the techniques described here may be applied to any suitable nonvolatile memory systems. Such memory systems may include, but are not limited to, memory systems based on ferroelectric storage (FRAM or FeRAM), memory systems based on magnetoresistive storage (MRAM), and memories based on phase change (PRAM or "OUM" for "Ovonic Unified Memory").
All patents, patent applications, articles, books, specifications, other publications, documents and things referenced herein are hereby incorporated herein by this reference in their entirety for all purposes. To the extent of any inconsistency or conflict in the definition or use of a term between any of the incorporated publications, documents or things and the text of the present document, the definition or use of the term in the present document shall prevail.
Although the various aspects of the present invention have been described with respect to certain preferred embodiments, it is understood that the invention is entitled to protection within the full scope of the appended claims.

Claims

THE CLAIMSWhat is claimed is:
1. A method of managing a nonvolatile memory array comprising: reading stored data from a nonvolatile memory array; decoding the data using a decoder, an output of the decoder including likelihood values corresponding to stored data bits, the output used to derive corrected data; collecting statistical information regarding decoding of the stored data by the decoder; and changing at least one operating parameter of the nonvolatile memory array in response to the statistical information.
2. The method of claim 1 wherein the at least one parameter includes a resolution used in a read operation in the nonvolatile memory array.
3. The method of claim 1 wherein the at least one parameter includes a difference in voltage between successive voltage pulses used in a programming operation in the nonvolatile memory array.
4. A method of managing data in a nonvolatile memory array comprising: reading stored data from the nonvolatile memory array; deriving raw probability information from the stored data; providing the raw probability information to a decoder, the decoder calculating output probability information from the raw probability information and from an encoded pattern in the stored data; calculating quality information for the stored data, the quality information reflecting the amount of correction performed by the decoder; and changing at least one operating parameter of the nonvolatile memory array in response to the quality information.
5. The method of claim 4 wherein the quality information is stored and is statistically analyzed with quality information for other stored data, the at least one operating parameter changed in response to the statistical analysis.
6. The method of claim 4 wherein the output probability information is provided as an input to the decoder so that the decoder performs at least two iterations of calculating output probability information for the stored data.
7. The method of claim 6 wherein repeated iterations of calculating output probability information are performed until a predetermined condition is met.
8. The method of claim 7 wherein the quality information is derived from the number of iterations performed before the predetermined condition is met.
9. The method of claim 7 wherein the quality information is derived from the number of corrections performed before the predetermined condition is met.
10. The method of claim 7 wherein the quality information is derived from the type of corrections performed by the decoder.
11. The method of claim 4 wherein the at least one operating parameter affects a sequence of voltage pulses used to program a memory cell of the memory array.
12. The method of claim 4 wherein the at least one operating parameter includes a resolution used to read data stored in a memory cell of the memory array.
13. A nonvolatile memory system comprising : a nonvolatile memory array that stores a plurality of data bits; a decoder that decodes data stored in the memory array to output likelihood values indicating likelihood of particular data bits; and a statistical unit that collects information regarding decoding performed by the decoder and provides an output based on the collected information, the output provided to at least one circuit that controls operation of the nonvolatile memory array.
14. The nonvolatile memory system of claim 13 further comprising a reading circuit connected to the nonvolatile memory array, the output provided to the reading circuit, the reading circuit modifying reading resolution in response to the output.
15. The nonvolatile memory of claim 14 further comprising a programming circuit connected to the nonvolatile memory array, the output provided to the programming circuit, the programming circuit modifying a programming voltage in response to the output.
16. The nonvolatile memory of claim 15 wherein the programming voltage is modified to reduce the voltage difference between successive voltage pulses used to program the nonvolatile memory.
17. A nonvolatile memory system comprising: an encoder that encodes data according to an encoding scheme; a nonvolatile memory array that stores the encoded data; a decoder that decodes the encoded data from the nonvolatile memory array by performing two or more decoding iterations, the output data of a particular iteration provided as input data to a subsequent iteration; and a statistical unit that derives at least one measure of data quality of the encoded data from the decoding and provides an output to at least one circuit that controls operation of the memory array.
18. The nonvolatile memory system of claim 17 further comprising a writing circuit that writes the encoded data to the memory array, the output provided to the writing circuit.
19. The nonvolatile memory system of claim 17 further comprising a reading circuit that reads the encoded data from the memory array, the output provided to the reading circuit.
PCT/US2007/078841 2006-09-28 2007-09-19 Involatile memory with soft-input,soft-output (siso) decoder, statistical unit and adaptive operation WO2008042598A2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP07814918A EP2067144A2 (en) 2006-09-28 2007-09-19 Nonvolatile memory with soft-input soft-output (siso) decoder, statistical unit and adaptive operation
KR1020097008470A KR101144096B1 (en) 2006-09-28 2007-09-19 Involatile memory with soft-input, soft-outputsiso decoder, statistical unit and adaptive operation
JP2009530526A JP5297380B2 (en) 2006-09-28 2007-09-19 Statistical unit and adaptive operation in non-volatile memory with soft input soft output (SISO) decoder

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US11/536,372 2006-09-28
US11/536,347 US7805663B2 (en) 2006-09-28 2006-09-28 Methods of adapting operation of nonvolatile memory
US11/536,347 2006-09-28
US11/536,372 US20080092015A1 (en) 2006-09-28 2006-09-28 Nonvolatile memory with adaptive operation

Publications (2)

Publication Number Publication Date
WO2008042598A2 true WO2008042598A2 (en) 2008-04-10
WO2008042598A3 WO2008042598A3 (en) 2008-06-19

Family

ID=39269078

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2007/078841 WO2008042598A2 (en) 2006-09-28 2007-09-19 Involatile memory with soft-input,soft-output (siso) decoder, statistical unit and adaptive operation

Country Status (5)

Country Link
EP (1) EP2067144A2 (en)
JP (1) JP5297380B2 (en)
KR (1) KR101144096B1 (en)
TW (1) TWI360126B (en)
WO (1) WO2008042598A2 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010002948A1 (en) * 2008-07-01 2010-01-07 Lsi Corporation Methods and apparatus for soft demapping and intercell interference mitigation in flash memories
US7805663B2 (en) 2006-09-28 2010-09-28 Sandisk Corporation Methods of adapting operation of nonvolatile memory
US7818653B2 (en) 2006-09-28 2010-10-19 Sandisk Corporation Methods of soft-input soft-output decoding for nonvolatile memory
US7904783B2 (en) 2006-09-28 2011-03-08 Sandisk Corporation Soft-input soft-output decoder for nonvolatile memory
US8107306B2 (en) 2009-03-27 2012-01-31 Analog Devices, Inc. Storage devices with soft processing
US8429500B2 (en) 2010-03-31 2013-04-23 Lsi Corporation Methods and apparatus for computing a probability value of a received value in communication or storage systems
US8504885B2 (en) 2010-03-31 2013-08-06 Lsi Corporation Methods and apparatus for approximating a probability density function or distribution for a received value in communication or storage systems
JP2013152737A (en) * 2008-07-17 2013-08-08 Marvell World Trade Ltd Data recovery in solid state memory device
US8671327B2 (en) 2008-09-28 2014-03-11 Sandisk Technologies Inc. Method and system for adaptive coding in flash memories
US8775913B2 (en) 2010-03-31 2014-07-08 Lsi Corporation Methods and apparatus for computing soft data or log likelihood ratios for received values in communication or storage systems
EP3493211A1 (en) * 2011-08-26 2019-06-05 Micron Technology, INC. Threshold voltage compensation in a memory

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8406048B2 (en) * 2008-08-08 2013-03-26 Marvell World Trade Ltd. Accessing memory using fractional reference voltages
KR101738173B1 (en) * 2008-09-28 2017-05-19 라모트 앳 텔-아비브 유니버시티 리미티드 Method and system for adaptive coding in flash memories
JP2011203833A (en) * 2010-03-24 2011-10-13 Toshiba Corp Memory system
US8386895B2 (en) * 2010-05-19 2013-02-26 Micron Technology, Inc. Enhanced multilevel memory
US8499227B2 (en) * 2010-09-23 2013-07-30 Micron Technology, Inc. Memory quality monitor based compensation method and apparatus
JP5846589B2 (en) * 2010-09-29 2016-01-20 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Decoding in solid state memory devices
KR101792868B1 (en) * 2010-11-25 2017-11-02 삼성전자주식회사 Flash memory device and reading method thereof
EP3499371B1 (en) 2012-11-09 2023-06-07 Coherent Logix Incorporated Real time analysis and control for a multiprocessor system
US10467090B2 (en) 2016-03-02 2019-11-05 Toshiba Memory Corporation Memory controller and decoding method
JP7066584B2 (en) * 2018-09-18 2022-05-13 キオクシア株式会社 Memory system
KR20210085284A (en) 2019-12-30 2021-07-08 삼성전자주식회사 PIM memory device, computing system including PIM memory device and method for operating PIM memory device
KR102611823B1 (en) * 2023-03-17 2023-12-08 주식회사 프라터 Decoding method of parity check matrix by tdmp algorithm of ldpc decoder

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030217323A1 (en) 2002-05-20 2003-11-20 Sandisk Corporation Increasing the effectiveness of error correction codes and operating multi-level memory systems by using information about the quality of the stored data

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6279133B1 (en) * 1997-12-31 2001-08-21 Kawasaki Steel Corporation Method and apparatus for significantly improving the reliability of multilevel memory architecture
JP2001266498A (en) * 2000-03-23 2001-09-28 Sony Corp Unit and method for reproducing data, unit and method for recording and reproducing data
JP2001266499A (en) * 2000-03-23 2001-09-28 Sony Corp Unit and method for recording data, device and method for reproducing data, unit and method for recording and reproducing data
JP2003203435A (en) * 2002-01-09 2003-07-18 Fujitsu Ltd Data reproducing device
JP2005078721A (en) * 2003-09-01 2005-03-24 Nippon Telegr & Teleph Corp <Ntt> Error correcting method and memory circuit
JP4444755B2 (en) * 2004-08-17 2010-03-31 Kddi株式会社 Concatenated code system, concatenated code processing method, and decoding apparatus
JP5177991B2 (en) * 2006-10-25 2013-04-10 株式会社東芝 Nonvolatile semiconductor memory device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030217323A1 (en) 2002-05-20 2003-11-20 Sandisk Corporation Increasing the effectiveness of error correction codes and operating multi-level memory systems by using information about the quality of the stored data

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7904783B2 (en) 2006-09-28 2011-03-08 Sandisk Corporation Soft-input soft-output decoder for nonvolatile memory
US7805663B2 (en) 2006-09-28 2010-09-28 Sandisk Corporation Methods of adapting operation of nonvolatile memory
US7818653B2 (en) 2006-09-28 2010-10-19 Sandisk Corporation Methods of soft-input soft-output decoding for nonvolatile memory
US8788923B2 (en) 2008-07-01 2014-07-22 Lsi Corporation Methods and apparatus for soft demapping and intercell interference mitigation in flash memories
JP2011528456A (en) * 2008-07-01 2011-11-17 エルエスアイ コーポレーション Method and apparatus for soft demapping and inter-cell interference mitigation in flash memory
WO2010002948A1 (en) * 2008-07-01 2010-01-07 Lsi Corporation Methods and apparatus for soft demapping and intercell interference mitigation in flash memories
JP2013152737A (en) * 2008-07-17 2013-08-08 Marvell World Trade Ltd Data recovery in solid state memory device
US9032263B2 (en) 2008-07-17 2015-05-12 Marvell World Trade Ltd. Data recovery in solid state memory devices
US8671327B2 (en) 2008-09-28 2014-03-11 Sandisk Technologies Inc. Method and system for adaptive coding in flash memories
US8107306B2 (en) 2009-03-27 2012-01-31 Analog Devices, Inc. Storage devices with soft processing
US8179731B2 (en) 2009-03-27 2012-05-15 Analog Devices, Inc. Storage devices with soft processing
US9036420B2 (en) 2009-03-27 2015-05-19 Analog Devices, Inc. Storage devices with soft processing
US8429500B2 (en) 2010-03-31 2013-04-23 Lsi Corporation Methods and apparatus for computing a probability value of a received value in communication or storage systems
US8504885B2 (en) 2010-03-31 2013-08-06 Lsi Corporation Methods and apparatus for approximating a probability density function or distribution for a received value in communication or storage systems
US8775913B2 (en) 2010-03-31 2014-07-08 Lsi Corporation Methods and apparatus for computing soft data or log likelihood ratios for received values in communication or storage systems
EP3493211A1 (en) * 2011-08-26 2019-06-05 Micron Technology, INC. Threshold voltage compensation in a memory

Also Published As

Publication number Publication date
KR101144096B1 (en) 2012-07-10
KR20090096412A (en) 2009-09-10
JP5297380B2 (en) 2013-09-25
EP2067144A2 (en) 2009-06-10
WO2008042598A3 (en) 2008-06-19
TWI360126B (en) 2012-03-11
JP2010505200A (en) 2010-02-18
TW200823910A (en) 2008-06-01

Similar Documents

Publication Publication Date Title
US7805663B2 (en) Methods of adapting operation of nonvolatile memory
US20080092015A1 (en) Nonvolatile memory with adaptive operation
JP5297380B2 (en) Statistical unit and adaptive operation in non-volatile memory with soft input soft output (SISO) decoder
US7558109B2 (en) Nonvolatile memory with variable read threshold
US7904788B2 (en) Methods of varying read threshold voltage in nonvolatile memory
US8001441B2 (en) Nonvolatile memory with modulated error correction coding
US7904780B2 (en) Methods of modulating error correction coding
EP2084709B1 (en) Nonvolatile memory with variable read threshold
US7904783B2 (en) Soft-input soft-output decoder for nonvolatile memory
US7818653B2 (en) Methods of soft-input soft-output decoding for nonvolatile memory
US7849383B2 (en) Systems and methods for reading nonvolatile memory using multiple reading schemes
WO2008042593A1 (en) Nonvolatile memory with error correction based on the likehood the error may occur
US9195539B2 (en) Method for reading data from block of flash memory and associated memory device
US9070479B2 (en) Systems and methods of updating read voltages
US20080320366A1 (en) Methods of reading nonvolatile memory
US10395754B2 (en) Method for decoding bits in a solid state drive, and related solid state drive
US20140173172A1 (en) System and method to update read voltages in a non-volatile memory in response to tracking data
WO2013039696A1 (en) Data storage device and method to correct bit values using multiple read voltages
US8990668B2 (en) Decoding data stored in solid-state memory
WO2009002940A2 (en) Systems and methods of reading nonvolatile memory
WO2008057820A1 (en) Nonvolatile memory with modulated error correction coding
US20130006896A1 (en) Training Datasets for Memory Devices

Legal Events

Date Code Title Description
REEP Request for entry into the european phase

Ref document number: 2007814918

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2007814918

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2009530526

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 1020097008470

Country of ref document: KR

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07814918

Country of ref document: EP

Kind code of ref document: A2