# Patent

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

## 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.

## Background
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; and
wherein 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; and
continuing 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; and
searching the table using the determined error rate of the NAND device to identify the different program step voltage to be used.