Nonvolatile memory system with program step manager and method for program step management

Information

  • Patent Grant
  • 9899092
  • Patent Number
    9,899,092
  • Date Filed
    Thursday, February 11, 2016
    8 years ago
  • Date Issued
    Tuesday, February 20, 2018
    6 years ago
  • Inventors
  • Original Assignees
    • IP GEM GROUP, LLC (Irvine, CA, US)
  • Examiners
    • Tran; Anthan
    Agents
    • Glass & Associates
    • Glass; Kenneth
Abstract
A Solid State Drive (SSD) that includes a host connector receptacle for connecting to a host computer, a plurality of NAND devices and a nonvolatile memory controller. The nonvolatile memory controller is configured to perform program operations and read operations on memory cells of each of the NAND devices. The nonvolatile memory controller includes a program step circuit configured to initially program memory cells of each of the NAND devices using an initial program step voltage and is configured to change the program step voltage used to program the memory cells of each of the NAND devices during the lifetime of each of the NAND devices.
Description
BACKGROUND

Nonvolatile memory manufacturers such as manufacturers of NAND flash memory devices typically specify a fixed program step voltage that is used for programming of cells of NAND flash memory devices that they manufacture and the program step voltage does not change during the lifetime of the NAND flash memory device. Memory controllers couple to NAND flash memory devices and control the operation of the NAND flash memory devices for storing data on the NAND flash memory devices and reading data from the NAND flash memory devices.


For devices such as Solid State Drives (SSD's) it is important to constantly improve data storage time and data read time to have the best possible SSD specifications. As the number of bits in each NAND memory cell has increased the threshold voltage window of the programming operation has become more limited. In Triple Level Cell (TLC) NAND flash memory devices eight voltage distributions are required to store three bits of information. To achieve the limited threshold voltage window NAND manufacturers typically use a fixed program step voltage that is relatively low, requiring numerous programming pulses to perform each program operation. This has a negative effect on programming time and therefore negatively affects the throughput and Input/Output Operations Per Second (IOPS) of the SSD.


In addition, the numerous programming pulses negatively affect the raw Bit Error Rate (BER) of the NAND flash memory devices, reducing the life span of the NAND flash memory devices. This correspondingly decreases the lifespan of the SSD.


Accordingly there is a need for a method and apparatus that will extend the life span of NAND flash memory devices and that will reduce program time.


SUMMARY

A nonvolatile memory controller is disclosed that is configured to perform program operations and read operations on memory cells of a NAND device. The nonvolatile memory controller includes a program step circuit configured to initially program memory cells of the NAND device using an initial program step voltage and configured to change the program step voltage used to program the memory cells of the NAND device during the lifetime of the NAND device.


A Solid State Drive (SSD) is disclosed that includes a host connector receptacle for connecting to a host computer, a plurality of NAND devices and a nonvolatile memory controller coupled to the host connector receptacle and coupled to each of the plurality of NAND devices. The nonvolatile memory controller is configured to perform program operations and read operations on memory cells of each of the NAND devices in the plurality of NAND devices. The nonvolatile memory controller includes a program step circuit configured to initially program memory cells of each of the NAND devices in the plurality of NAND devices using an initial program step voltage and is configured to change the program step voltage used to program the memory cells of each of the NAND devices in the plurality of NAND devices during the lifetime of each of the NAND devices.


A method for programming a memory cell of a NAND device is disclosed that includes loading trim registers of a NAND device with an initial program step voltage and performing program operations of the NAND device using the initial step voltage. The method includes determining whether a characteristic of the NAND device has met a characteristic threshold and if the characteristic has met the characteristic threshold, loading a different program step voltage into the trim registers of the NAND device. Program operations of the NAND device are then performed using the different program step voltage. The process of determining whether a characteristic of the NAND device has met a characteristic threshold and the loading a different program step voltage into the trim registers of the NAND device if the characteristic has met the characteristic threshold is continued for the lifetime of the NAND device.


Because the higher program step voltage results in fewer program pulses to memory cells of the NAND flash memory device, the methods and apparatus of the present invention decrease program time and extend the lifespan of the NAND flash memory device.





BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention, and together with the description, serve to explain the principles of the invention.



FIG. 1 is a block diagram illustrating a Solid State Drive (SSD) in accordance with an embodiment of the present invention.



FIG. 2 is block diagram illustrating the connections between a nonvolatile memory controller and a NAND device in accordance with an embodiment of the present invention.



FIG. 3 is a diagram illustrating a NAND array in accordance with an embodiment of the present invention.



FIG. 4 is a flow diagram illustrating a method in accordance with an embodiment of the present invention.



FIG. 5A is a diagram showing an exemplary program operation in accordance with an embodiment of the present invention.



FIG. 5B is a chart showing voltage vs time, and illustrates a program operation in accordance with an embodiment of the present invention.



FIG. 5C is a chart of BER vs P/E cycles, and shows BER curves generated using an initial program step voltage that is higher than the program step voltage of the NAND device product specification as compared to BER curves generated using the program step voltage of the NAND product specification in accordance with an embodiment of the present invention.



FIG. 5D is a chart of program step voltage vs P/E cycles, and illustrates program step voltage in accordance with an embodiment of the present invention.



FIG. 5E is a chart of BER vs P/E cycles in accordance with an embodiment of the present invention.



FIG. 6 is a diagram showing a method in which a table is used to store one or more characteristic threshold and program step voltages in accordance with an embodiment of the present invention.





DETAILED DESCRIPTION


FIG. 1 shows a Solid State Drive (SSD) 1 that includes a host connector receptacle 19 for connecting to a host computer, a nonvolatile memory storage module 18 that includes a plurality of NAND devices 20, and a nonvolatile memory controller 10. Nonvolatile memory controller 10 is electrically connected to the host connector receptacle 19 and electrically connected to each of NAND devices 20. Nonvolatile memory controller 10 includes program and erase circuit 12 configured to perform program operations on memory cells of each NAND device 20 and read circuit 11 configured to perform read operations on memory cells of each NAND devices 20.


Nonvolatile memory controller 10 is configured to receive read and write instructions from a host computer through host connector receptacle 19 and to perform program operations, erase operations and read operations on memory cells of nonvolatile memory devices 20 to complete the instructions from the host computer. For example, upon receiving a write instruction from the host computer, memory controller 10 is operable to write data into nonvolatile memory storage module 18 by performing program operations (and when required, erase operations) on one or more NAND device 20, and upon receiving a read instruction nonvolatile memory controller 10 is operable to read data from nonvolatile memory storage module 18 by performing read operations on one or more NAND device 20.


Nonvolatile memory controller 10 includes a program step circuit 13 configured to initially program memory cells of each NAND device 20 using an initial program step voltage and configured to change the program step voltage used to program the memory cells of each NAND device 20 during the lifetime of each NAND devices 20, with each subsequent program step voltage lower than the previous program step voltage.


Nonvolatile memory controller 10 further includes a characteristics module 14 configured to determine one or more characteristic of each NAND devices 20. Program step circuit 13 is configured to change the program step voltage that is used to program the memory cells of each NAND device 20 to a different program step voltage that is lower than the initial program step voltage when the one or more characteristic of the NAND device 20 reaches a predetermined threshold.


In one embodiment the threshold is a program and erase cycle threshold. In this embodiment program step circuit 2 is configured to determine the number of program and erase cycles of the NAND device and change the program step voltage to the different program step voltage when the determined number of program and erase cycles of the NAND device reach the program and erase cycle threshold.


In one embodiment program step circuit 2 is configured to use a program/erase counter to determine the number of program and erase cycles of each block of the NAND device and change the program step voltage of each block to the different program step voltage when the determined number of program and erase cycles of the block of the NAND device reaches the program and erase cycle threshold.


In another embodiment the threshold is an error threshold. In this embodiment program step circuit 13 is configured to change the program step voltage to the different program step voltage when an error rate of the NAND device reaches the error threshold.


In yet another embodiment the threshold is an age threshold. In this embodiment program step circuit 13 is configured to change the program step voltage to the different program step voltage when the age of the NAND device reaches the age threshold. In one embodiment the age threshold is an average age of blocks of the NAND device. In one specific embodiment the average age of the NAND device is determined by calculating the average of the number of program and erase cycles for all blocks of the NAND device.


Characteristics module 14 is configured to determine characteristics of NAND devices 20. The characteristics may be stored in data storage 15 on nonvolatile memory controller 10 (e.g., registers or a memory array), or may be stored on one or more NAND device 20. NAND device 20 includes memory cells that are organized into blocks and pages, with each page composed of a main data area and a spare area. In one embodiment the determined usage characteristics are stored in the spare area of one or more page of NAND device 20.


The characteristics stored by characteristics module 14 may include characteristics that relate to how a particular NAND device 20 has been used, that may be referred to as “usage characteristics.” The stored usage characteristics include the number of Program and Erase (P/E) cycles for each block of each NAND, which may be determined by incrementing a stored P/E value each time that a block is programmed and each time that the block is erased. Alternatively, program and erase values can be separately accounted for, by storing a program value each time that a block is programmed and storing a separate erase value that is incremented each time that the block is erased.


The characteristics stored by characteristics module 14 may include characteristics that indicate the performance of NAND device 20 that may be referred to hereinafter as “performance characteristics.” The stored performance characteristics include test results from tests on each NAND device 20, which may include the number of read errors from the test (e.g., the total number of errors in each test block of memory cells that is read) and/or the number of errors of the page in the block having the highest number of errors, that may be referred to hereinafter as the “maximum number of errors” of the block. In one embodiment, characteristics module 14 includes an online test module configured to perform reads of memory cells of a NAND device during operation of the NAND device to determine the error rate of the NAND device. The error rate can be determined by reading one or more dedicated test block to determine a maximum number of errors in each dedicated test block, the determined maximum number of errors determined to be the Bit Error Rate (BER) of the NAND device.


In one exemplary embodiment, characteristics module 14 includes an online test module configured to perform reads of memory cells of a NAND device during operation of the NAND device to determine an error rate for each block of the NAND device, that can be referred to as the “block BER.” When the block BER exceeds a block BER threshold, program step circuit 13 is configured to change the program step voltage for the block to the different program step voltage. In another embodiment the average BER is determined for some or all blocks, and program step circuit 13 is configured to change the program step voltage to the different program step voltage when the block BER exceeds a block BER threshold.


The characteristics stored by characteristics module 14 may include characteristics that indicate a condition of NAND device 20 that may be referred to hereinafter as “operating characteristics.” Stored operating characteristics may include the temperature of NAND device 20, the maximum temperature of NAND device 20, etc. In one embodiment the maximum temperature of each NAND device is determined by measuring temperature of NAND device 20 at some interval and replacing the previously stored maximum temperature value with the measured temperature any time that the measured temperature exceeds the stored maximum temperature.


In one embodiment in which a temperature threshold is used, temperature is determined at the chip/package level and program step circuit 13 is configured to change the program step voltage of all blocks to the different program step voltage when the temperature of the NAND device reaches the temperature threshold.


The above thresholds are discussed individually. However, in embodiments of the present invention more than one different threshold can be used during the lifespan of each NAND device 20, either concurrently or sequentially. In this embodiment, the threshold or thresholds used can be programmable and can be changed during the lifespan of each NAND device 20.


In the present embodiment each NAND device 20 is a packaged semiconductor die that is coupled to nonvolatile memory controller 10 by conductive pathways that couple instructions, data and other information between each NAND device 20 and nonvolatile memory controller 10. In the embodiment shown in FIG. 2 each NAND device 20 is coupled to nonvolatile memory controller 10 by chip enable line (CE#), a command latch enable (CLE) line, a read enable signal line (RE#), an address latch enable (ALE) signal line, a write enable single line (WE#), a read/busy (R/B) signal line and input and output (DQ) signal lines. Each NAND device 20 includes a microcontroller 22, memory array 23 and registers 21 that are electrically connected to microcontroller 22. Memory array 23 includes memory cells that may be single level cell (SLC) multi-level cell (MLC), triple-level cell (TLC) or quadruple-level cell (QLC) memory devices.


Microcontroller 22 is in charge of managing all the internal operations, including programming, erasing and reading the memory cells of memory array 23. Registers 21 include registers used to store trim values, shown as trim registers 25. NAND algorithms are pretty complex and, therefore, it is necessary to keep them as flexible as possible, especially during product development. As such, a lot of trim registers 25 are used to trim parameters. More particularly, once the product development is done, trim registers 25 are used during manufacturing to adjust algorithms to account for the unavoidable die-to-die variation that is typical for volume production.


In embodiments of the present invention nonvolatile memory controller 10 includes state machine logic 26 that is operable for loading instructions and data in registers 21, 25 so as to create a state machine 27 between the circuitry of nonvolatile memory controller 10 and the circuitry of NAND device 20.


Program step circuit 13 and/or state machine logic 26 is configured to initially program memory cells of the NAND device 20 using an initial program step voltage by storing the initial program step voltage in one or more trim registers 25 and is configured to change the program step voltage used to program the memory cells of the NAND device 25 during the lifetime of the NAND device 25 by storing different program step voltages in trim registers 25.


A memory array 30 is shown in FIG. 3 that is made of memory cells connected in series to form NAND strings. Each NAND string is isolated from the rest of the array by select transistors, such as, for example, select transistor 31 and select transistor 32. Multiple memory cells share the gate voltage (Vg) through a word line, and the drain of one memory cell is the source of the adjacent one. For example, memory cells 34-39 of FIG. 3 share word line 0 (WL0).



FIG. 4 illustrates a method 100 for programming a memory cell of a NAND device in accordance with an embodiment of the present invention. As shown by step 101 a characteristic threshold is identified. The threshold can be determined by analyzing the characteristics of similar NAND devices in a test environment and the threshold can be stored 102 in data storage 15 or in one or more NAND device 20 prior to delivery of SSD 1 to a customer.


Trim registers of a NAND device are loaded 103 with an initial program step voltage. The initial program step voltage can be determined by analyzing the characteristics of similar NAND devices in a test environment and the threshold can be stored 102 in data storage 15 or in one or more NAND device 20 prior to delivery of SSD 1 to a customer.


In the embodiment shown in FIG. 2 nonvolatile memory controller 10 is operable to modify the register setting used by the NAND internal microcontroller 22 to run the programming algorithm of method 100. For example, it can modify the incremental Step Programming Pulse (ΔVISPP) of the NAND programming staircase shown in FIG. 5A. In essence, having the ability of reading and writing NAND registers is equivalent to being able to modify how Flash cells are written. Accordingly, in embodiments of the present invention, nonvolatile memory controller 10 is operable to write to registers 21, 25 of NAND 20 so as to control the operation of NAND 20, allowing for changing the program step voltage used by NAND 20.


Program operations of the NAND device are performed 104 using the initial program step voltage. FIG. 5A shows an exemplary program operation using a program start voltage (VPGMSTART) and an incremental Step Programming Pulse (ISPP) having an initial program step voltage (ΔVISPP). A first page program pulse (PP) is applied 51-52 to the gate of a cell to be programmed with a VSEL equal to the program start voltage, followed by a page program verify operation 53 in order to check if cell's VTH has exceeded a predefined voltage value (VVFY). If the verify operation is successful, the cell has reached the desired state and it is excluded from the following program pulses 54, 58. Otherwise, another cycle of ISPP is applied to the cell using a program voltage that is incremented 55 by the initial program step voltage ΔVISPP. This process continues until all cells have been programmed 58 or until a counter K exceeds a maximum (KMAX) 56 and the program fails 57.



FIG. 5B shows an exemplary program operation using a program start voltage (VPGMSTART) and an incremental Step Programming Pulse (ISPP) having an initial program step voltage (ΔVISPP) 67. A first page program pulse (PP) 61 is applied to the gate of a cell to be programmed with a VSEL equal to the program start voltage, followed by a page program verify operation. If the verify operation is not successful, a second page program pulse (PP) 62 is applied to the gate of a cell to be programmed with a VSEL equal to the program start voltage plus ΔVISPP 67, followed by a program verify operation. If the verify operation is not successful, a third page program pulse (PP) 63 is applied to the gate of a cell to be programmed using a program voltage that is incremented by ΔVISPP 67, followed by a page program verify operation. If the verify operation is still not successful, a fourth page program pulse (PP) 64 is applied to the gate of a cell to be programmed using a program voltage that is incremented by ΔVISPP 67 followed by a page program verify operation.


One or more characteristic of the NAND device 20 is identified 105 and the identified characteristic(s) is compared to the character threshold stored in step 102 to determine 106 whether a characteristic of the NAND device 20 identified in step 105 has met the characteristic threshold. If the characteristic has not met the characteristic threshold the initial program step voltage continues to be used to program the NAND device 20 as shown by line 111. If the characteristic has met the characteristic threshold a different program step voltage is loaded into the trim registers of the NAND device 20 as shown by steps 106-107. Program operations of the NAND device 20 are performed 108 using the different program step voltage. Steps 105-108 continue as shown by line 112 during the lifetime of the NAND device 20.


In one embodiment the threshold is a Program and Erase (P/E) cycle threshold and in step 104 a different program step voltage is loaded into the trim registers of NAND device 20 when the determined number of program and erase cycles of NAND device 20 is greater than or equal to the P/E cycle threshold. In an embodiment in which the characteristic threshold is a P/E cycle threshold, characteristics module 14 is operable to perform step 105 by incrementing the number of program and erase cycles for each block each time that a program or erase operation is performed on that block and is operable to determine the total number of program and erase operations for NAND device 20 by summing the numbers for each block of the NAND device 20. This sum is then compared to the P/E cycle threshold in step 106.



FIG. 5C shows an analysis of the characteristics of NAND devices in a test environment to generate BER curves 74-76 using an exemplary initial program step voltage that is higher (e.g., double) the program step voltage in the NAND device product specification (the ΔVISPP-SPEC) that is used in the prior art. The indicated ECC limit is the maximum number of errors that can be corrected by the error correction code used to code and decode data bits in NAND devices 20. The higher the programming step, the wider the VTH distribution is. If the VTH distribution gets larger, then the BER gets higher, because the distance to the adjacent distributions gets smaller. It can be seen that a higher program step voltage leads to a higher BER at the beginning of life as compared to the BER curves obtained 71-73 when the default ΔVISPP-SPEC programming is used. BER curve 74 is the BER curve for lower pages of test blocks, BER curve 75 is the BER curve for upper pages of test blocks, and BER curve 76 is the BER curve for middle pages of test blocks. This test data can be used to set a characteristic threshold 77 (e.g. 1,000 P/E cycles), thereby keeping the BER below the ECC limit and maintaining a margin (which is shown to be about 10% of the ECC limit) to make sure that the NAND devices 20 of SSD 1 do not exceed the ECC limit.


In one exemplary embodiment that is shown in FIG. 5D, the characteristic threshold is the number of P/E cycles and the characteristic threshold is different for each program step voltage used. A first (initial) program step voltage of 800 mV and a first (initial) characteristic threshold of 1,000 P/E cycles; a second (different) program step voltage of 500 mV and a second characteristic threshold of 1,800 P/E cycles; a third (different) program step voltage of 350 mV and a third characteristic threshold of 2,500 P/E cycles; and a fourth (different) program step voltage of 200 mV, are determined in step 101 and stored in step 102. In this embodiment the initial program step voltage of 800 mV is double the ΔVISPP-SPEC of 400 mV of the NAND devices and decreases at each subsequent characteristic threshold to keep the BER below the ECC limit.


In one exemplary embodiment the identified characteristic is the BER of NAND device 20 and the characteristic threshold is a BER threshold. First, the BER threshold is determined 101 by analyzing the characteristics of similar NAND devices (e.g., the same manufacturer, the same device type, the same part number, and/or the same production batch) in a test environment and the BER threshold is stored 102 in data storage 15 prior to delivery of SSD 1 to a customer. The Bit Error Rate (BER) threshold is set at a number below the ECC limit and close to the ECC limit so that SSD 1 will have a fast read time, but not so close to the ECC limit so as to take the chance of having a read error. In one embodiment the BER threshold is set at 90% of the ECC limit. In this embodiment step 105 includes performing reads of test cells of NAND device 20 during operation of the NAND device 20 to determine the error rate of the NAND device 20. The error rate can be determined by reading one or more dedicated test block to determine a maximum number of errors in each dedicated test block, the determined maximum number of errors determined to be the BER of the NAND device 20. These tests can be performed at operating characteristic intervals such as, for example, P/E intervals (e.g., every 10, 50 or 100 P/E cycles), time intervals (e.g., once every operating day, week or month) etc. In this embodiment a different program step voltage is loaded 103 into the trim registers of the NAND device when the error rate of NAND device 20 is greater than or equal to the error threshold (BER threshold).



FIG. 5E shows an exemplary embodiment in which an exemplary BER threshold 90 is set at about 90% of the ECC limit. Referring now to BER curve 94, the initial program step voltage is used from the beginning of life until the BER reaches the BER threshold 90 (about 1,000 P/E cycles) at which time a different program step voltage is used as shown by arrow 91 to reduce the BER of the NAND device 25. A different program step voltage is then used until the BER again reaches the BER threshold 90 (about 1,800 P/E cycles) at which time another different program step voltage is used as shown by arrow 92 to again reduce the BER of the NAND device 25. This process continues, with the program step voltage reduced each time that it reaches the BER threshold as shown by arrow 93 until the end of life is reached.


In the previously discussed embodiments the same threshold is used for all pages of each NAND 20 in steps 101, 102 and 106. However, different page types, different topologies, different wordlines and different layers have different bit error rates. In embodiments of the present invention different page types (e.g., lower middle, upper) have different thresholds and/or different block topologies (i.e. different positions within the NAND die) have different thresholds voltages and/or different wordlines (a wordline at the bottom of the NAND string might exhibit different behavior compared to the one at the top) have different thresholds and/or different layers (when dealing with monolithic 3D memories) have different thresholds. When P/E or BER thresholds are used that are not the same for all pages of the NAND 20, the characteristics determined in step 105 need to be identified 105 using the same categorization as that of the characteristic threshold. More particularly, characteristic values can be determined based on the characteristic of the pages and/or blocks being operated on. This can include, for example, storing the number of P/E cycles or BER in all lower pages of a block; storing the number of P/E cycles or BER in all middle pages of a block; storing the number of P/E cycles or BER in all upper pages of a block; and storing number of P/E cycles or BER values based on groupings of wordline number and/or layer number.


In one embodiment the characteristics of NAND devices 20 (e.g., BER or P/E cycles) are determined and are stored (e.g., in data storage 15 or in memory array 23) along with on one or more of the following indexes that indicate characteristics of the page and/or block that is being tested: page type index (lower middle, upper), block topology index, a wordline number index and a layer number index. Thereby, characteristics (e.g., BER or P/E cycles) can be easily determined for a particular page type, block topology, wordline, and/or layer by searching the stored characteristics to identify 105 characteristics having a desired index.


In one embodiment the threshold is a program and erase cycle threshold for each group of blocks. In this embodiment program step circuit 2 is configured to use a program/erase counter to determine the number of program and erase cycles of each block of the NAND device and change the program step voltage of each block in a particular group to the different program step voltage when the determined number of program and erase cycles of the group reaches the program and erase cycle threshold for the group of blocks, which may be, for example blocks 500 to 1,000. The program and erase cycle threshold for the group can be a total number of program and erase cycles for the group, or the average number of program and erase cycles of blocks in the group, etc.


In one embodiment the threshold is a BER threshold for each group of blocks. In this embodiment program step circuit 2 is configured to determine the BER of each group of blocks of the NAND device and change the program step voltage of each block in a particular group to the different program step voltage when the determined BER of the group reaches the BER threshold for the group of blocks, which may be, for example blocks 500 to 1,000. The threshold can be a total BER for the group (e.g., the sum of block BER's for all blocks in the group), or the average BER of blocks in the group, or the greatest number of errors of any page in the group, etc.


In one embodiment the program step voltages that are to be used in steps 103, 107 are determined by analyzing the characteristics of similar NAND devices in a test environment and the program step voltages to be used are stored in data storage 15 or in memory array 23 of a NAND device 20 prior to shipping SSD 1 to a customer. In this embodiment steps 103 and 107 include reading the next program step voltage that is to be used prior to loading the trim register. Alternatively, a mathematical calculation can be used to determine the next program step voltage to be used such as, for example an algorithm based on one or more of the identified characteristics. For example, a mathematical algorithm can be used that reduces the initial program step voltage and the different program by an amount (e.g., a ratio) based on the identified number of program and erase cycles. It is appreciated that any of a number of different methods can be used for determining each subsequent program step voltage.


In a method 600 for program step management that is shown in FIG. 6 characteristic threshold(s) and program step voltages are determined 601 by analyzing the characteristics of similar NAND devices in a test environment and the program step voltages to be used are stored 602 in one or more table prior to shipping the SSD 1 to the customer. Nonvolatile memory controller 10 is configured to perform step 602 by storing the one or more table that indicates one or more index value and corresponding program step voltages (the corresponding program step voltages include the initial program step voltage and all different program step voltages). The table can be stored in data storage 15 or in memory array 23 of one or more NAND device 20.


The table is searched 603 to identify the initial program step voltage to be used. The search 603 can also identify one or more characteristic threshold to use.


Trim registers of a NAND device are loaded 604 with an initial program step voltage and program operations of the NAND device are performed 605 using the initial step voltage. Characteristic of the NAND device 20 are identified 105 and one or more characteristic of the NAND device 20 identified in step 605 is compared to the characteristic threshold, and when the characteristic has not met the characteristic threshold the initial program step voltage continues to be used to program the NAND device 20 as shown by line 611. If the characteristic has met the characteristic threshold 607, the table is searched 608 using one or more of the identified characteristics of the NAND device to identify the magnitude of the different program step voltage to be used. In the embodiment shown in FIG. 1 program step circuit 13 is operable to perform step 608 by searching the table with one or more index to identify the corresponding program step voltage to be used. The search 608 can also identify a different characteristic threshold to use.


In one embodiment the index includes a number of P/E cycles and nonvolatile memory controller 10 is configured to determine the number of P/E cycles of the NAND device 20 and use the table to select the program step voltage that corresponds to the determined number of P/E cycles of the NAND device. More particularly, nonvolatile memory controller 10 can search 603 the one or more table to select the program step voltage in the table that corresponds number of P/E cycles of the NAND device identified in step 601.


In another embodiment an index of sequential numbers is used to identify the next program step voltage. In this embodiment a simple counter within program step circuit 13 can be incremented each time that step 604, 609 is performed, and the counter is used to search the table for the next program step voltage to use.


When the characteristic threshold is an error threshold and step 606 includes performing reads of test cells of NAND device 20 during operation of the NAND device 20 to determine the error rate of the NAND device 20, the program step voltage to use in step 604 can be determined by searching 603 the table to identify the initial step voltage. The table is again searched in each step 608 to identify the different program step voltage to be used. The different program step voltage is then loaded 609 into the trim registers of the NAND device 20 and program operations of the NAND device 20 are performed 610 using the different program step voltage. The process of steps 606-610 continues as shown by line 612 during the lifetime of the NAND device 20 with each subsequent program step voltage lower than the previous program step voltage. Thus, the programming step gets smaller as the NAND 20 gets older (i.e. higher number of P/E), reaching the minimum value at the end of life of NAND 20.


In the present embodiment the table indicates both characteristic threshold and the next program step voltage to use. However, it is appreciated that, alternatively a table could be used that only includes indexes and corresponding program step voltages or a table could be used that only includes indexes and corresponding characteristic thresholds.


In the previously discussed embodiments the same program step voltage is used for all pages of each NAND 20 in step 103, 604 and the same program step voltage is used for all pages of each NAND 20 in step 107, 609 that is different from the program step voltage used in step 103. However, in embodiments of the present invention different page types (e.g., lower middle, upper) have different program step voltages and/or different block topologies (i.e. different positions within the NAND die) have different program step voltages and/or different wordlines (a wordline at the bottom of the NAND string might exhibit different behavior compared to the one at the top) have different program step voltages and/or different layers (when dealing with monolithic 3D memories) have different program step voltages. In one such embodiment the table of FIG. 6 includes one or more of the following indexes: a page type index (e.g., lower middle, upper), a block topology index, a wordline number index and a layer number so that different page types, block topologies, wordlines and layers have different program step voltages.


The duration of each programming pulse is independent from the program step voltage. Generally speaking, we are talking about something in the range of 15 μs, to bring the cell to a new “stationary” state (in other words, it is based on the physics of the tunneling phenomena). Therefore, the higher the number of pulses, the longer the time, which means that non-addressed cells are more stressed (by Program Disturb) and more damages can affect the tunnel oxide. If the tunnel oxide gets damaged, it becomes easier for electrons to escape, thus worsening the overall retention time before data corruption. By increasing the programming pulse voltage, the present invention reduces the number of program pulses required to program a cell, reducing programming time as compared to prior art systems that use the same program pulse voltage over the life of the NAND. Given the overall Stress time that a cell can handle during its life, a lower number of pulses, i.e. a shorter programming sequence, leads to a higher number of programming operations that the cell can withstand without going beyond the ECC limit. Accordingly, the methods and apparatus of the present invention shorten programming time, resulting in improved throughput and IOPS for SSD 1. At the same time the overall number of P/E cycles of each NAND device 20 is increased, thus extending the useful lifetime of SSD 1.

Claims
  • 1. A nonvolatile memory controller configured to perform program operations and read operations on memory cells of a NAND device, the nonvolatile memory controller including a program step circuit configured to initially program memory cells of the NAND device by loading an initial program step voltage into trim registers of the NAND device and configured to change the program step voltage used to program the memory cells of the NAND device by loading a different program step voltage into the trim registers of the NAND device each time that an error rate of the NAND device reaches an error threshold.
  • 2. The nonvolatile memory controller of claim 1 wherein the nonvolatile memory controller is configured to determine the error rate in lower pages of a block, determine the error rate in middle pages of the block and determine the error rate in upper pages of the block, and is further configured to use the determined error rate in lower pages of the block, the determined error rate in middle pages of the block and the determined error rate in upper pages of the block to determine that an error rate of the NAND device has reached an error threshold.
  • 3. The nonvolatile memory controller of claim 1 further comprising an online test module configured to perform reads of memory cells of the NAND device during operation of the NAND device to determine the error rate of the NAND device.
  • 4. The nonvolatile memory controller of claim 1 wherein the error rate is determined by reading one or more dedicated test block to determine a maximum number of errors in each dedicated test block, the determined maximum number of errors determined to be the error rate of the NAND device.
  • 5. The nonvolatile memory controller of claim 1 wherein the nonvolatile memory controller is configured to store one or more table that indicates one or more index value and corresponding program step voltages, the program step circuit operable to index the table with one or more index to identify a corresponding program step voltage to be loaded into the trim registers of the NAND device as the different program step voltage.
  • 6. The nonvolatile memory controller of claim 1 wherein the error threshold is a bit error rate (BER) threshold, the BER threshold set at 90% of the error correction code (ECC) limit for the NAND device.
  • 7. The nonvolatile memory controller of claim 5 wherein the index comprises one or more of a page type index (lower middle, upper), a block topology index and a wordline number index and a layer number.
  • 8. The nonvolatile memory controller of claim 2 wherein the nonvolatile memory controller is configured to store one or more table that indicates one or more index value and corresponding program step voltages, the program step circuit operable to index the one or more table with a page type index and one or more other index to identify a corresponding program step voltage to be loaded into the trim registers of the NAND device as the different program step voltage.
  • 9. A Solid State Drive (SSD) comprising: a host connector receptacle for connecting to a host computer;a plurality of NAND devices;a nonvolatile memory controller coupled to the host connector receptacle and coupled to each of the plurality of NAND devices, the nonvolatile memory controller configured to perform program operations and read operations on memory cells of each of the NAND devices and wherein the nonvolatile memory controller is configured to load a program step voltage corresponding to a characteristic of a NAND device of the plurality of NAND devices that is to be programmed into a trim register of the NAND device to be programmed, such that the program step voltage is stored in the trim registers of the NAND device to be programmed prior to performing the programming of the NAND device to be programmed; andwherein the characteristic is an error rate and wherein the nonvolatile memory controller is configured to determine an error rate for each of the NAND devices, configured to determine whether each determined error rate has reached an error threshold, and each time that an error rate is determined to have reached an error threshold, a program step circuit of the nonvolatile memory controller configured to change the program step voltage to be used for programming the NAND device determined to have the error rate that has reached the error threshold to a different program step voltage.
  • 10. A Solid State Drive (SSD) comprising: a host connector receptacle for connecting to a host computer;a plurality of NAND devices;a nonvolatile memory controller coupled to the host connector receptacle and coupled to each of the plurality of NAND devices, the nonvolatile memory controller configured to store a table that indicates one or more index value and corresponding program step voltages, the one or more index value including an error rate and a page type, the nonvolatile memory controller operable to index the table with one or more index value corresponding to an error rate and a page type of the NAND device that is to be programmed to identify the program step voltage of the stored program step voltages and to load the identified program step voltage into a trim register of the NAND device to be programmed such that the identified program step voltage is stored in the trim registers of the NAND device to be programmed prior to performing the programming of the NAND device to be programmed.
  • 11. A method for programming a memory cell of a NAND device comprising: loading trim registers of a NAND device with an initial program step voltage;performing program operations of the NAND device using the initial program step voltage;performing reads of test cells of the NAND device during operation of the NAND device to determine an error rate of the NAND device;loading a different program step voltage into the trim registers of the NAND device when the determined error rate of the NAND device reaches an error threshold;performing program operations of the NAND device using the different program step voltage; andcontinuing the performing reads, the loading and the performing program operations, wherein the error threshold is set at a value so as to maintain a bit error rate (BER) of the NAND device below an error correction code (ECC) limit of the NAND device.
  • 12. The method of claim 11 further comprising: forming a state machine between a nonvolatile memory controller and the NAND device.
  • 13. The method of claim 11 wherein the performing reads of test cells of the NAND device during operation of the NAND device to determine the error rate of the NAND device further comprises reading one or more dedicated test block of the NAND device to determine a maximum number of errors in the dedicated test block, the determined maximum number of errors determined to be the error rate of the NAND device, and further wherein the error threshold is set at a value less than an error correction code (ECC) limit of the NAND device so as to maintain the bit error rate (BER) of the NAND below the ECC limit.
  • 14. The method of claim 13 further comprising: storing one or more table that indicates one or more index value and corresponding program step voltages; andsearching the table using the determined error rate of the NAND device to identify the different program step voltage to be used.
US Referenced Citations (265)
Number Name Date Kind
815137 Beecher Mar 1906 A
5615235 Kakuishi et al. Mar 1997 A
5732092 Shinohara Mar 1998 A
5822244 Hansen et al. Oct 1998 A
5875343 Binford et al. Feb 1999 A
6115788 Thowe Sep 2000 A
6148360 Leak et al. Nov 2000 A
6412041 Lee et al. Jun 2002 B1
6539515 Gong Mar 2003 B1
6567313 Tanaka et al. May 2003 B2
6633856 Richardson et al. Oct 2003 B2
6725409 Wolf Apr 2004 B1
6789227 De Souza et al. Sep 2004 B2
6871168 Tanaka et al. Mar 2005 B1
6895547 Eleftheriou et al. May 2005 B2
6934804 Hashemi Aug 2005 B2
6963507 Tanaka et al. Nov 2005 B2
6976194 Cypher Dec 2005 B2
6976197 Faust et al. Dec 2005 B2
7032081 Gefen et al. Apr 2006 B1
7050334 Kim et al. May 2006 B2
7116732 Worm et al. Oct 2006 B2
7206992 Xin et al. Apr 2007 B2
7209527 Smith et al. Apr 2007 B2
7237183 Xin Jun 2007 B2
7324559 McGibney Jan 2008 B2
7376015 Tanaka et al. May 2008 B2
7450668 Ghosh et al. Nov 2008 B2
7457906 Pettey et al. Nov 2008 B2
7472331 Kim et al. Dec 2008 B2
7484158 Sharon et al. Jan 2009 B2
7529215 Osterling May 2009 B2
7567472 Gatzemeier et al. Jul 2009 B2
7620784 Panabaker et al. Nov 2009 B2
7650480 Jiang et al. Jan 2010 B2
7694047 Alston Apr 2010 B1
7708195 Yoshida et al. May 2010 B2
7739472 Guterman et al. Jun 2010 B2
7752346 Talayco et al. Jul 2010 B2
7801233 Chow et al. Sep 2010 B1
7860930 Freimuth et al. Dec 2010 B2
7904793 Mokhlesi et al. Mar 2011 B2
7937641 Amidi May 2011 B2
7945721 Johnsen et al. May 2011 B1
7958430 Kolokowsky et al. Jun 2011 B1
7975193 Johnson Jul 2011 B2
8094508 Gatzemeier et al. Jan 2012 B2
8140930 Maru Mar 2012 B1
8176367 Dreifus et al. May 2012 B2
8219894 Au et al. Jul 2012 B2
8223745 Johnsen et al. Jul 2012 B2
8228728 Yang et al. Jul 2012 B1
8244946 Gupta et al. Aug 2012 B2
8245112 Hicken et al. Aug 2012 B2
8245117 Wu Aug 2012 B1
8250286 Yeh et al. Aug 2012 B2
8254112 Yang et al. Aug 2012 B2
8255770 Park et al. Aug 2012 B2
8259498 Yogev et al. Sep 2012 B2
8259506 Sommer et al. Sep 2012 B1
8261136 D'Abreu et al. Sep 2012 B2
8281217 Kim et al. Oct 2012 B2
8281227 Inskeep et al. Oct 2012 B2
8286004 Williams Oct 2012 B2
8307258 Flynn et al. Nov 2012 B2
8327220 Borchers et al. Dec 2012 B2
8335977 Weingarten et al. Dec 2012 B2
8341502 Steiner et al. Dec 2012 B2
8351258 Yang et al. Jan 2013 B1
8359522 Gunnam et al. Jan 2013 B2
8392789 Biscondi et al. Mar 2013 B2
8402201 Strasser et al. Mar 2013 B2
8418023 Gunnam et al. Apr 2013 B2
8429325 Onufryk et al. Apr 2013 B1
8429497 Tu et al. Apr 2013 B2
8473812 Ramamoorthy et al. Jun 2013 B2
8493791 Karakulak et al. Jul 2013 B2
8504885 Haratsch et al. Aug 2013 B2
8504887 Varnica et al. Aug 2013 B1
8555140 Gunnam et al. Oct 2013 B2
8621318 Micheloni et al. Dec 2013 B1
8638602 Horn et al. Jan 2014 B1
8640005 Wilkerson et al. Jan 2014 B2
8645613 Tan et al. Feb 2014 B2
8656257 Micheloni et al. Feb 2014 B1
8694849 Micheloni et al. Apr 2014 B1
8694855 Micheloni et al. Apr 2014 B1
8706956 Cagno et al. Apr 2014 B2
8707122 Micheloni et al. Apr 2014 B1
8737141 Melik-Martirosian May 2014 B2
8739008 Liu et al. May 2014 B2
8755229 Beltrami et al. Jun 2014 B1
8762620 Prins et al. Jun 2014 B2
8769374 Franceschini et al. Jul 2014 B2
8775913 Haratsch et al. Jul 2014 B2
8787428 Dai et al. Jul 2014 B2
8856622 Ramamoorthy et al. Oct 2014 B2
8898372 Yeh Nov 2014 B2
8917734 Brown Dec 2014 B1
8924824 Lu Dec 2014 B1
8953373 Haratsch et al. Feb 2015 B1
8958247 Asaoka et al. Feb 2015 B2
8959280 Yu et al. Feb 2015 B2
8984216 Fillingim Mar 2015 B2
8995197 Steiner et al. Mar 2015 B1
8995302 Brown et al. Mar 2015 B1
9025495 Onufryk et al. May 2015 B1
9058289 Tai et al. Jun 2015 B2
9142314 Beltrami et al. Sep 2015 B2
9164891 Karamcheti et al. Oct 2015 B2
9244763 Kankani et al. Jan 2016 B1
9251909 Camp et al. Feb 2016 B1
9257182 Grunzke Feb 2016 B2
9294132 Peleato-Inarrea Mar 2016 B1
20020051501 Demjanenko et al. May 2002 A1
20020129308 Kinoshita et al. Sep 2002 A1
20020181438 McGibney Dec 2002 A1
20030033567 Tamura et al. Feb 2003 A1
20030104788 Kim Jun 2003 A1
20030225970 Hashemi Dec 2003 A1
20040088636 Cypher May 2004 A1
20040123230 Lee et al. Jun 2004 A1
20040136236 Cohen et al. Jul 2004 A1
20040181735 Xin Sep 2004 A1
20040234150 Chang Nov 2004 A1
20040252791 Shen et al. Dec 2004 A1
20040268015 Pettey et al. Dec 2004 A1
20050010846 Kikuchi et al. Jan 2005 A1
20050226355 Kibune et al. Oct 2005 A1
20050248999 Tamura et al. Nov 2005 A1
20050252791 Pechtold et al. Nov 2005 A1
20050286511 Johnsen et al. Dec 2005 A1
20060039370 Rosen et al. Feb 2006 A1
20060050694 Bury et al. Mar 2006 A1
20060126728 Yu et al. Jun 2006 A1
20060206655 Chappell et al. Sep 2006 A1
20060282603 Onufryk et al. Dec 2006 A1
20070050688 Thayer Mar 2007 A1
20070089031 Huffman et al. Apr 2007 A1
20070101225 Moon et al. May 2007 A1
20070118743 Thornton et al. May 2007 A1
20070136628 Doi et al. Jun 2007 A1
20070147489 Sun et al. Jun 2007 A1
20070217253 Kim et al. Sep 2007 A1
20070233939 Kim Oct 2007 A1
20070239926 Gyl et al. Oct 2007 A1
20080005382 Mimatsu Jan 2008 A1
20080016425 Khan et al. Jan 2008 A1
20080049869 Heinrich et al. Feb 2008 A1
20080077843 Cho et al. Mar 2008 A1
20080148129 Moon et al. Jun 2008 A1
20080229079 Flynn et al. Sep 2008 A1
20080229164 Tamura et al. Sep 2008 A1
20080256280 Ma Oct 2008 A1
20080256292 Flynn et al. Oct 2008 A1
20080263265 Litsyn et al. Oct 2008 A1
20080267081 Roeck Oct 2008 A1
20080276156 Gunnam et al. Nov 2008 A1
20080320214 Ma et al. Dec 2008 A1
20090027991 Kaizu et al. Jan 2009 A1
20090067320 Rosenberg et al. Mar 2009 A1
20090077302 Fukuda Mar 2009 A1
20090164694 Talayco et al. Jun 2009 A1
20090290441 Gatzemeier et al. Nov 2009 A1
20090296798 Banna et al. Dec 2009 A1
20090303788 Roohparvar et al. Dec 2009 A1
20090307412 Yeh et al. Dec 2009 A1
20090327802 Fukutomi et al. Dec 2009 A1
20100085076 Danilin et al. Apr 2010 A1
20100162075 Brannstrom et al. Jun 2010 A1
20100185808 Yu et al. Jul 2010 A1
20100199149 Weingarten et al. Aug 2010 A1
20100211737 Flynn et al. Aug 2010 A1
20100211852 Lee et al. Aug 2010 A1
20100226422 Taubin et al. Sep 2010 A1
20100246664 Citta et al. Sep 2010 A1
20100262979 Borchers et al. Oct 2010 A1
20100293440 Thatcher et al. Nov 2010 A1
20110010602 Chung et al. Jan 2011 A1
20110055453 Bennett et al. Mar 2011 A1
20110055659 Tu et al. Mar 2011 A1
20110066902 Sharon et al. Mar 2011 A1
20110072331 Sakaue et al. Mar 2011 A1
20110119553 Gunnam et al. May 2011 A1
20110161678 Niwa Jun 2011 A1
20110209031 Kim et al. Aug 2011 A1
20110225341 Satoh et al. Sep 2011 A1
20110246136 Haratsch et al. Oct 2011 A1
20110246842 Haratsch et al. Oct 2011 A1
20110246853 Kim et al. Oct 2011 A1
20110296084 Nango Dec 2011 A1
20110307758 Fillingim et al. Dec 2011 A1
20120008396 Park et al. Jan 2012 A1
20120051144 Weingarten et al. Mar 2012 A1
20120054413 Brandt Mar 2012 A1
20120096192 Tanaka et al. Apr 2012 A1
20120140583 Chung et al. Jun 2012 A1
20120141139 Bakhru et al. Jun 2012 A1
20120166690 Regula Jun 2012 A1
20120167100 Li et al. Jun 2012 A1
20120179860 Falanga et al. Jul 2012 A1
20120203986 Strasser et al. Aug 2012 A1
20120239991 Melik-Martirosian et al. Sep 2012 A1
20120254515 Melik-Martirosian et al. Oct 2012 A1
20120311388 Cronin et al. Dec 2012 A1
20120311402 Tseng et al. Dec 2012 A1
20130013983 Livshitz et al. Jan 2013 A1
20130024735 Chung Jan 2013 A1
20130060994 Higgins et al. Mar 2013 A1
20130086451 Grube et al. Apr 2013 A1
20130094286 Sridharan et al. Apr 2013 A1
20130094290 Sridharan et al. Apr 2013 A1
20130117616 Tai et al. May 2013 A1
20130117640 Tai et al. May 2013 A1
20130145235 Alhussien et al. Jun 2013 A1
20130163327 Karakulak et al. Jun 2013 A1
20130163328 Karakulak et al. Jun 2013 A1
20130176779 Chen et al. Jul 2013 A1
20130185598 Haratsch et al. Jul 2013 A1
20130198451 Hyun et al. Aug 2013 A1
20130205085 Hyun et al. Aug 2013 A1
20130314988 Desireddi et al. Nov 2013 A1
20130315252 Emmadi et al. Nov 2013 A1
20130318422 Weathers et al. Nov 2013 A1
20140029336 Venkitachalam et al. Jan 2014 A1
20140040704 Wu et al. Feb 2014 A1
20140053037 Wang et al. Feb 2014 A1
20140068368 Zhang et al. Mar 2014 A1
20140068382 Desireddi et al. Mar 2014 A1
20140072056 Fay Mar 2014 A1
20140085982 Asaoka et al. Mar 2014 A1
20140101510 Wang et al. Apr 2014 A1
20140164881 Chen et al. Jun 2014 A1
20140181426 Grunzke et al. Jun 2014 A1
20140181617 Wu et al. Jun 2014 A1
20140185611 Lie et al. Jul 2014 A1
20140198569 Kim et al. Jul 2014 A1
20140198581 Kim et al. Jul 2014 A1
20140215175 Kasorla et al. Jul 2014 A1
20140219003 Ebsen et al. Aug 2014 A1
20140229774 Melik-Martirosian et al. Aug 2014 A1
20140281767 Alhussien et al. Sep 2014 A1
20140281771 Yoon et al. Sep 2014 A1
20140281808 Lam et al. Sep 2014 A1
20140281822 Wu et al. Sep 2014 A1
20140281823 Micheloni et al. Sep 2014 A1
20150039952 Goessel et al. Feb 2015 A1
20150043286 Park et al. Feb 2015 A1
20150046625 Peddle et al. Feb 2015 A1
20150127883 Chen et al. May 2015 A1
20150131373 Alhussien May 2015 A1
20150149871 Chen et al. May 2015 A1
20150169468 Camp et al. Jun 2015 A1
20150186055 Darragh Jul 2015 A1
20150221381 Nam Aug 2015 A1
20150242268 Wu et al. Aug 2015 A1
20150332780 Kim et al. Nov 2015 A1
20150371718 Becker et al. Dec 2015 A1
20160034206 Ryan et al. Feb 2016 A1
20160049203 Alrod et al. Feb 2016 A1
20160071601 Shirakawa Mar 2016 A1
20160155507 Grunzke Jun 2016 A1
20160179406 Gorobets et al. Jun 2016 A1
20160293259 Kim Oct 2016 A1
20170213597 Micheloni et al. Jul 2017 A1
Non-Patent Literature Citations (6)
Entry
Chen, et al., “Increasing flash memory lifetime by dynamic voltage allocation for constant mutual information”, 2014 Information Theory and Applications Workshop (ITA), 2014, pp. 1-5.
Peleato, et al., “Probabilistic graphical model for flash memory programming”, Statistical Signal Processing Workshop (SSP), 2012 IEEE, 2012, pp. 1-4, Electrical Engineering Dept, Stanford University, Palo Alto, CA, USA.
NVM Express, Revision 1.0; Intel Corporation; Mar. 1, 2011.
NVM Express, revision 1.0; Intel Corporation; pp. 103-106 and 110-114; Jul. 12, 2011.
Cai, et al., “Data Retention in MLC NAND Flash Memory: Characterization, Optimization, and Recovery”, 2015 IEEE 21st International Symposium on High Performance Computer Architecture (HPCA); Carnegie Mellon University, LSI Corporation, 2015, pp. 551-563.
Wu, et al., “Reducing SSD Read Latency via NAND Flash Program and Erase Suspension”, Proceedings of FAST'2012; Department of Electrical and Computer Engineering Virginia Commonwealth University, Richmond, VA 23284, 2012, pp. 117-123.
Related Publications (1)
Number Date Country
20170213597 A1 Jul 2017 US
Provisional Applications (1)
Number Date Country
62287570 Jan 2016 US