1. Field of the Invention
The present invention relates to a memory device.
2. Description of the Related Art
Semiconductor memory has become increasingly popular for use in various electronic devices. For example, non-volatile semiconductor memory is used in cellular telephones, digital cameras, personal digital assistants, mobile computing devices, non-mobile computing devices and other devices. Electrically Erasable Programmable Read Only Memory (EEPROM) and flash memory are among the most popular non-volatile semiconductor memories. With flash memory, also a type of EEPROM, the contents of the whole memory array, or of a portion of the memory, can be erased in one step, in contrast to the traditional, full-featured EEPROM.
Both the traditional EEPROM and the flash memory utilize a floating gate that is positioned above and insulated from a channel region in a semiconductor substrate. The floating gate is positioned between the source and drain regions. A control gate is provided over and insulated from the floating gate. The threshold voltage (VTH) of the transistor thus formed is controlled by the amount of charge that is retained on the floating gate. That is, the minimum amount of voltage that must be applied to the control gate before the transistor is turned on to permit conduction between its source and drain is controlled by the level of charge on the floating gate.
Some EEPROM and flash memory devices have a floating gate that is used to store two ranges of charges and, therefore, the memory element can be programmed/erased between two states, e.g., an erased state and a programmed state. Such a flash memory device is sometimes referred to as a binary flash memory device because each memory element can store one bit of data.
Conventionally, memories that store one bit per cell arc called ‘single level cell” (SLC) memories, and memories that store more than one bit per cell are called “multi level cell” (MLC) memories. For example, each MLC memory element can store two bits of data when the element can be placed in one of four discrete charge bands corresponding to four distinct threshold voltage ranges.
Typically, a program voltage VPGM applied to the control gate during a program operation is applied as a series of pulses that increase in magnitude over time. In one possible approach, the magnitude of the pulses is increased with each successive pulse by a predetermined step size, e.g., 0.2-0.4 V. VPGM can be applied to the control gates of flash memory elements. In the periods between the program pulses, verify operations are carried out. That is, the programming level of each element of a group of elements being programmed in parallel is read between successive programming pulses to determine whether it is equal to or greater than a verify level to which the element is being programmed. For arrays of multi-state flash memory elements, a verification step may be performed for each state of an element to determine whether the element has reached its data-associated verify level. For example, a multi-state memory element capable of storing data in four states may need to perform verify operations for three compare points.
Moreover, when programming an EEPROM or flash memory device, such as a NAND flash memory device in a NAND string, typically VPGM is applied to the control gate and the bit line is grounded, causing electrons from the channel of a cell or memory element, e.g., storage element, to be injected into the floating gate. When electrons accumulate in the floating gate, the floating gate becomes negatively charged and the threshold voltage of the memory element is raised so that the memory element is considered to be in a programmed state. More information about such programming can be found in U.S. Pat. No. 6,859,397, titled “Source Side Self Boosting Technique For Non-Volatile Memory,” and in U.S. Patent App. Pub. 2005/0024939, titled “Detecting Over Programmed Memory,” published Feb. 3, 2005; both of which are incorporated herein by reference in their entirety.
Further, during a read operation, read reference voltages are applied to a set of storage elements to be read, and a determination is made as to which read reference voltage causes a storage element to become conductive. The read reference voltages are set to allow data states of the storage elements to be distinguished.
However, voltages which are used during programming, verifying and reading are typically fixed and do not account for the fact that the threshold voltage distribution can vary. For example, threshold voltage distribution can vary due to issues such as program disturb. As a result, the use of fixed programming, verifying and reading voltages results in non-optimized performance.
The present invention provides a method for setting voltage levels, such as for write, read and verify operations, in a non-volatile storage system, to optimize performance.
In one embodiment, a method for configuring a memory device includes measuring respective threshold voltage distributions for respective sets of non-volatile storage elements in the memory device, where the non-volatile storage elements are multi-level storage elements. The method further includes determining a respective set of voltages for each respective set of non-volatile storage elements based on the respective threshold voltage distribution, where the respective set of voltages is customized for the respective set of non-volatile storage elements. The method further includes storing, in a non-volatile storage location, each set of voltages, and after the storing, obtaining at least one of the respective sets of voltages from the non-volatile storage location, and performing a write operation involving at least one of the respective sets of non-volatile storage elements using the at least one of the respective sets of voltages.
In another embodiment, a method for configuring a memory device includes measuring respective threshold voltage distributions for respective sets of non-volatile storage elements in the memory device, where the non-volatile storage elements are multi-level storage elements, and the measuring includes writing data to the respective sets of non-volatile storage elements. The method further includes determining a respective set of voltages for each respective set of non-volatile storage elements based on the respective threshold voltage distribution, where the respective set of voltages is customized for the respective set of non-volatile storage elements. The method further includes storing, in a non-volatile storage location, each set of voltages, and after the storing, obtaining at least one of the respective sets of voltages from the non-volatile storage location, and accessing at least one of the respective sets of non-volatile storage elements using the at least one of the respective sets of voltages.
In another embodiment, a method for configuring separate memory devices includes, for each respective memory device: (a) measuring one or more respective threshold voltage distributions for one or more respective sets of non-volatile storage elements in the memory device, where the non-volatile storage elements are multi-level data storage elements, (b) determining a respective set of voltages for each respective set of non-volatile storage elements based on the respective threshold voltage distribution, (c) storing the respective set of voltages for each respective set of non-volatile storage elements in a corresponding respective non-volatile storage location, and (d) after the storing, obtaining at least one of the respective sets of voltages from the respective non-volatile storage location, and performing a write operation involving the one or more respective sets of non-volatile storage elements using the at least one of the respective sets of voltages. The respective sets of voltages are customized to each respective set of non-volatile storage elements, and vary among the plurality of separate memory devices.
In another embodiment, a method for configuring separate memory devices includes, for each respective memory device: (a) measuring one or more respective threshold voltage distributions for one or more respective sets of non-volatile storage elements in the memory device, where the non-volatile storage elements are multi-level storage elements, and the measuring includes writing data to the one or more respective sets of non-volatile storage elements, (b) determining a respective set of voltages for each respective set of non-volatile storage elements based on the respective threshold voltage distribution, (c) storing the respective set of voltages for each respective set of non-volatile storage elements in a respective non-volatile storage location, and (d) after the storing, obtaining at least one of the respective sets of voltages from the respective non-volatile storage location, and accessing the one or more respective sets of non-volatile storage elements using the at least one of the respective sets of voltages. The respective sets of voltages are customized to each respective set of non-volatile storage elements, and vary among the plurality of separate memory devices.
Corresponding methods, systems and computer- or processor-readable storage devices for performing the methods provided herein are provided.
a depicts an initial threshold voltage distribution of a set of non-volatile storage elements, with corresponding verify and read voltages.
b depicts the threshold voltage distribution of a set of non-volatile storage elements experiencing program disturb.
c depicts measurement of the threshold voltage distribution of
a depicts a series of write or program voltages which can be used during programming.
b depicts data including write, verify and read voltages customized for different sets of non-volatile storage elements.
a depicts a process for determining voltages for a set of non-volatile storage elements.
b depicts a process for accessing user data of a set of non-volatile storage elements using predetermined voltages determined by the process of
c depicts a process for determining voltages for multiple sets of non-volatile storage elements.
The present invention provides a method for setting voltage levels, such as for write, read and verify operations, in a non-volatile storage system, to optimize performance.
One example of a memory system suitable for implementing the present invention uses the NAND flash memory structure, which includes arranging multiple transistors in series between two select gates. The transistors in series and the select gates are referred to as a NAND string.
For example, NAND string 320 includes select gates 322 and 327, and storage elements 323-326, NAND string 340 includes select gates 342 and 347, and storage elements 343-346, NAND string 360 includes select gates 362 and 367, and storage elements 363-366. Each NAND string is connected to the source line by its select gates (e.g., select gates 327, 347 or 367). A selection line SGS is used to control the source side select gates. The various NAND strings 320, 340 and 360 are connected to respective bit lines 321, 341 and 361, by select transistors in the select gates 322, 342, 362, etc. These select transistors are controlled by a drain select line SGD. In other embodiments, the select lines do not necessarily need to be in common among the NAND strings; that is, different select lines can be provided for different NAND strings. Word line WL3 is connected to the control gates for storage elements 323, 343 and 363. Word line WL2 is connected to the control gates for storage elements 324, 344 and 364. Word line WL1 is connected to the control gates for storage elements 325, 345 and 365. Word line WL0 is connected to the control gates for storage elements 326, 346 and 366. As can be seen, each bit line and the respective NAND string comprise the columns of the array or set of storage elements. The word lines (WL3, WL2, WL1 and WL0) comprise the rows of the array or set. Each word line connects the control gates of each storage element in the row. Or, the control gates may be provided by the word lines themselves. For example, word line WL2 provides the control gates for storage elements 324, 344 and 364. In practice, there can be thousands of storage elements on a word line.
Each storage element can store data. For example, when storing one bit of digital data, the range of possible threshold voltages (VTH) of the storage element is divided into two ranges which are assigned logical data “1” and “0.” In one example of a NAND type flash memory, the VTH is negative after the storage element is erased, and defined as logic “1.” The VTH after a program operation is positive and defined as logic “0.” When the V TH is negative and a read is attempted, the storage element will turn on to indicate logic “1” is being stored. When the VTH is positive and a read operation is attempted, the storage element will not turn on, which indicates that logic “0” is stored. A storage element can also store multiple levels of information, for example, multiple bits of digital data. In this case, the range of VTH value is divided into the number of levels of data. For example, if four levels of information are stored, there will be four VTH ranges assigned to the data values “11”, “10”, “01”, and “00.” In one example of a NAND type memory, the VTH after an erase operation is negative and defined as “11”. Positive VTH values are used for the states of “10”, “01”, and “00.” The specific relationship between the data programmed into the storage element and the threshold voltage ranges of the element depends upon the data encoding scheme adopted for the storage elements. For example, U.S. Pat. No. 6,222,762 and U.S. Pat. No. 7,237,074, both of which are incorporated herein by reference in their entirety, describe various data encoding schemes for multi-state flash storage elements.
Relevant examples of NAND type flash memories and their operation are provided in U.S. Pat. Nos. 5,386,422, 5,570,315, 5,774,397, 6,046,935, 6,456,528 and 6,522,580, each of which is incorporated herein by reference.
When programming a flash storage element, a program voltage is applied to the control gate of the storage element and the bit line associated with the storage element is grounded. Electrons from the channel are injected into the floating gate. When electrons accumulate in the floating gate, the floating gate becomes negatively charged and the VTH of the storage element is raised. To apply the program voltage to the control gate of the storage element being programmed, that program voltage is applied on the appropriate word line. As discussed above, one storage element in each of the NAND strings share the same word line. For example, when programming storage element 324 of
During a read operation, a control gate voltage VCG is provided on a selected word line, in this example, WL3, which is associated with storage element 414 and other storage elements which are not shown. Further, recall that the control gate of a storage element may be provided as a portion of the word line. For example, WL0, WL1, WL2, WL3, WL4, WL5, WL6 and WL7 can extend via the control gates of storage elements 408, 410, 412, 414, 416, 418, 420 and 422, respectively. A read pass voltage, VREAD is applied to the remaining word lines associated with NAND string 400, in one possible scheme. VSGS and VSGD are applied to the select gates 406 and 424, respectively.
In the example provided, eight storage elements are connected in series to form a NAND string, and there are eight data word lines WL0 through WL7. A NAND string can also include dummy storage elements and associated word lines. In other embodiments, the NAND strings can have more or less than eight data storage elements. Data memory cells can store user or system data. Dummy memory cells are typically not used to store user or system data.
One terminal of each NAND string is connected to a corresponding bit line via a drain select gate (connected to select gate drain line SGD), and another terminal is connected to a common source 505 via a source select gate (connected to select gate source line SGS). Thus, the common source 505 is coupled to each NAND string.
In one embodiment, referred to as an odd-even architecture, the bit lines are divided into even bit lines (BLe) and odd bit lines (BLo). In this case, storage elements along a common word line and connected to the odd bit lines are programmed at one time, while storage elements along a common word line and connected to even bit lines are programmed at another time. In each block, the columns are divided into even columns and odd columns.
During one configuration of read and programming operations, 4,256 storage elements are simultaneously selected. The storage elements selected have the same word line and are thus part of a common physical page. Therefore, 532 bytes of data, which also form a logical page, can be read or programmed simultaneously, and one block of the memory can store at least eight logical pages. In this example, a physical page and a logical page are the same but, in general, this is not required. For example, a physical page can include multiple logical pages. A logical page is typically the smallest set of storage elements that are written (programmed) simultaneously. For multi-state storage elements, when each storage element stores two bits of data, where each of these two bits are stored in a different page, one block stores sixteen logical pages. Other sized blocks and pages can also be used.
For either the ABL or the odd-even architecture, storage elements can be erased by raising the p-well to an erase voltage (e.g., 20 V) and grounding the word lines of a selected block. The source and bit lines are floating. Erasing can be performed on one block at a time, or in some flash memory devices—a few blocks at a time. Electrons are transferred from the floating gates of the storage elements to the p-well region so that the VTH of the storage elements becomes negative.
In the read and verify operations, the select gates (SGD and SGS) are connected to a voltage in a range of 2.5 to 4.5 V and the unselected word lines are raised to a read pass voltage, VREAD, (typically a voltage in the range of 4.5 to 6 V) to make the transistors operate as pass gates. The selected word line is connected to a voltage, a level of which is specified for each read and verify operation, to determine whether a VTH of the concerned storage element is above or below such level. For example, in a read operation for a two-level storage element, the selected word line may be grounded, so that it is detected whether the VTH is higher than 0 V. In a verify operation for a two level storage element, the selected word line is connected to 0.8 V, for example, so that it is verified whether or not the VTH has reached at least 0.8 V. The source and p-well are at 0 V. The selected bit lines are pre-charged to a level of, for example, 0.7 V. If the VTH is higher than the read or verify level on the word line, the potential level of the bit line associated with the storage element of interest maintains the high level because of the non-conductive storage element. On the other hand, if the VTH is lower than the read or verify level, the potential level of the concerned bit line decreases to a low level, for example, less than 0.5 V, because the conductive storage element discharges the bit line. The state of the storage element can thereby be detected by a voltage comparator sense amplifier that is connected to the bit line, in one possible implementation. As with programming, read operations can be performed on a per-page basis.
Many details of erase, read and verify operations described above are performed according to techniques known in the art. Thus, many of the details explained can be varied by one skilled in the art. Other erase, read and verify techniques known in the art can also be used.
a-c relate to how program disturb can change the threshold voltage distribution of a sct of non-volatile storage elements, and to a process for addressing this issue.
The most common kind of Multi Level Cell (MLC)-type devices uses four charge amounts in the floating gate, including zero charge, so the state can be represented by four voltage levels, thus a MLC storage element stores two bits of data. Generally, N bits per storage element can be represented using 2N voltage levels. Newer devices are expected to use eight or more voltage levels. Using a high number of bits per storage element allows the production of flash devices with high data density and thus reduces the overall cost per flash device. Note that multi-level data storage is distinguished from multi-bit data storage such as used in some NROM devices. Such multi-bit data storage involves charge levels which each correspond to a 0 or 1. Multi-level data storage involves a range of charge levels which correspond to 00, 01, 10 and 11 when the MLC storage element stores two bits of data, for instance.
The read operation in a MLC device with four states uses three reference voltage levels, an MLC device with eight states uses seven reference voltage levels, and, generally, a device that stores N bits per cell, that are represented by 2N states, uses 2N−1 reference voltage levels for read operations.
In
As mentioned, program disturb can cause significant changes in threshold voltage distribution. Program disturb occurs when an unselected storage element on the same word line as a selected storage element is inadvertently programmed due to application of a relatively high program voltage on the selected word line. Program disturb thus tends to raise the threshold voltage of a storage element. Moreover, the lowest state, e.g., the erased state, tends to be raised the most and therefore can serve as a worst case indicator of the amount of program disturb which has been experienced in a set of storage elements. Measurements performed on flash memory devices show that the amount of program disturb varies significantly between different memory devices, between different blocks within the same device and even between different word lines within the same block. In order to assure the best performance of all the memory devices in terms of reliability (e.g., smallest number of errors), it is desirable to either keep program disturb at a similar level for all the devices or to adapt the voltage levels (e.g., verify and/or read) to the actual value of program disturb in a specific device, block and/or word line. A technique is provided herein for controlling program disturb and for matching the program disturb to the verify and/or read voltage levels. More generally, the technique customizes the verify and/or read voltage levels which are used for accessing a set of storage elements.
b depicts the threshold voltage distribution of a set of non-volatile storage elements experiencing program disturb. The read reference voltages VR1 through VR7 which are depicted are the same as in
Further, the effects of program disturb can be different for different sets of storage elements. For example, the threshold voltage distribution of different sets of storage elements can vary, such as on a device, block and/or word line level. Accordingly, if the same, fixed set of read voltages is used, this can result in non-optimal results, such as causing errors during read operations. Moreover, other factors such as temperature changes and number of programming/erasing cycles, and the relative location of a storage element in a block, such as based on a storage element's proximity to the source or drain of a NAND string, can influence program disturb.
c depicts measurement of the threshold voltage distribution of
The process of measuring the actual threshold distribution involves reading the memory device in separate read operations, where the number of read operations is based on the desired resolution of the distribution measurement. If, for example, the memory device uses eight states, representing three bits per storage element, and a resolution of ten points per state is desired, then read operations are performed for each of seventy-nine voltage threshold levels. In
Generally, obtaining a “threshold voltage distribution” of a set of storage elements involves dividing the range of threshold voltages of the storage elements to multiple sub-ranges, and then counting the respective numbers of occurrences of storage elements in each sub-range. It is possible to count the occurrences of all, or only a portion, of the storage elements in the set of storage elements. It is also possible to count the occurrences for only a portion of the sub-ranges, e.g., one or more sub-ranges, and extrapolating the result to other sub-ranges.
In one approach, an on-line evaluation of the program disturb for a current device, block and/or word line, and adjustment of the voltage level settings for the evaluated program disturb, is provided. The actual program disturb of each manufactured memory device can be measured on a block-by-block basis, for instance, and a match can be made between the voltage level settings (read and verify voltages for different data states) and the program disturb measured for that block. These “matched-per-block” voltage level settings can then be used for subsequent program and read operations. In order to handle program disturb, one has to modify verify voltages, or read voltages, or both.
The value of program disturb can be defined as the width of the threshold voltage distribution of the erase state in a page for which all the data states are present. That is, the data programmed to the page includes representation of all the possible data states. The threshold voltage distribution may be considered up to certain percentile of cells, in accordance with ECC correction capabilities. The program disturb value may be obtained by programming random, for example, data to the memory device, then reading the threshold voltage distribution of all the data states and considering the width of the erased state. A default voltage level setting can be used for this programming.
Once the width of the erase level threshold voltage distribution is obtained, voltage level settings for the remaining data states may be determined. There may be two approaches for computation of voltage levels, namely a “fixed program disturb” and a “fixed voltage window” approach. Both approaches have the same principle.
First, we identify the voltage window available for all the data states except for the erased state. The available voltage window can be defined as a distance between the “end” (rightmost) voltage of the erased state (e.g., the program disturb value) and the verify voltage of the highest possible data state, which is VV7 when there are eight data states. The voltage window can also be defined as starting at the lowest (leftmost) voltage of the erase state.
Second, we divide this window between the data states proportionally to a relative data retention shift of these states. The data retention shift of storage elements for certain conditions of a block (e.g., write/erase cycling) and a given retention time depends on the storage element threshold voltage—the higher the threshold voltage, the larger the shift. Quantitative characteristics of this dependence are technology specific and may be obtained by testing and/or theoretical calculations, for instance. The division of the available voltage window between data states may be in accordance with these characteristics.
Third, we determine the read level and verify level for each state, based on the above. The difference between the two above-mentioned approaches is as follows. In the fixed program disturb approach, the program disturb value is tuned to a pre-determined fixed value by modifying the voltage window, e.g., by modifying the verify voltage level of the highest data state. The program disturb phenomenon is caused by a stress induced on the storage elements in the erased state by the high programming voltage which is applied to the word line during programming. Further, program disturb is higher when the programming voltage applied to the word line is higher, such as when a selected storage element is being programmed to the highest data state. This means that program disturb can be controlled by changing the verify level of the highest data state. An iterative procedure may be implemented to obtain the desired program disturb value. For example, if program disturb is too high, we can reduce the verify level of the highest data state. Then, the program disturb is determined again, e.g., by determining a threshold voltage distribution, to determine if it is close to a desired level. If the program disturb is still too high, we can reduce the verify level of the highest data state again.
Note that the verify levels of all of the states can be related to one another by a known function, which is linear or non-linear, and the available voltage window. For example, due to the higher data retention loss of the higher states, the verify levels are typically set to provide relatively more spacing for higher states than for lower states. Thus, once the entire voltage window is known, we can compute the read or verify voltages.
In the fixed voltage window approach, the verify level of the highest data state remains fixed at a default value, resulting in a program disturb as measured, which can be different from word line to word line, block to block and/or device to device. A variable program disturb value can result in a variable state width for the rest of the data states.
The procedure of adjusting the voltage level settings can be performed at the manufacturing stage of the memory device, or after the memory device has been shipped to the end user, in example approaches. Further, the adjustment can be repeated at different times if desired. Or, the adjustment can be performed only once for the life of the memory device. In fact, program disturb is lessened as the memory device undergoes additional program-erase cycles, so that subsequent adjustment may not be needed.
For example, once the device is shipped to the end user, the adjustment can be triggered by different events, such as temperature changes, passing of a number of programming cycles, passing of a certain amount of time since data was last written, and so forth. Appropriate tracking components and/or processes are provided for this purpose. In one approach, the adjusted voltage values can be stored in the memory device for each device block using a reliable programming method which is similar to storing of flash internal parameters at a ROM fuse. These block-specific values can further be retrieved and used in a normal operation of the memory device, when a block is being addressed for programming or reading.
Thus, in one approach, customized sets of read and/or verify voltages can be determined once for a set of storage elements in a memory device, such as at the time of manufacture. The set of voltages can be stored in a non-volatile storage location in the memory device and subsequently accessed each time a read or programming operation is performed. See
Write voltages can also be customized for different sets of non-volatile storage elements.
b depicts data including write, verify and read voltages customized for different sets of non-volatile storage elements. As mentioned, write, verify and/or read voltages can be customized for different sets of storage elements. The optimum voltages for each set of storage elements can be determined and stored for subsequent use. For example, voltages for a particular memory device, block word line and/or group of word lines in the memory device can be stored in a non-volatile storage location of the memory device. Here, write voltages for a first set of storage elements, set 1, are represented by VPGM-1, verify voltages are represented by VV1-1, VV2-1, and so forth, and read voltages are represented by VR1-1, VR2-1, and so forth. Further, VPGM-1 can represent one or more of: VPGM-INITIAL, the step size and VPGM-FINAL for set 1. Each of these three variables can be tailored to different sets of storage elements. Similarly, write voltages for a second set of storage elements, set 2, are represented by VPGM-2 (e.g., denoting one or more of: VPGM-INITIAL, the step size and VPGM-FINAL for set 2), verify voltages for a second set of storage elements are represented by VV2-1, VV2-2, and so forth, and read voltages are represented by VR1-2, VR2-2, and so forth. Generally, programming voltages for an ith set of storage elements, set i, are represented by VPGM-i (e.g., denoting one or more of: VPGM-INITIAL, the step size and VPGM-FINAL for set i) and so forth, while verify voltages for an ith set of storage elements are represented by VV1-i, VV2-i, and so forth, and read voltages are represented by VR1-i, VR2-i, and so forth.
a depicts a process for determining voltages for a set of non-volatile storage elements. Step 900 includes beginning a process to obtain a set of voltages (e.g., read, verify and/or write voltages) for a set of non-volatile storage elements. The set can represent, e.g., the storage elements which are associated with one or more particular word lines in a block having multiple word lines, the storage elements which are associated with a particular block in a memory device having multiple blocks, or the storage elements which are associated with a particular memory device overall. Step 902 includes programming the set of non-volatile storage elements with random test data, in one approach. The test data should include all data states. For example, such test data may be available when the memory device undergoes testing at the manufacturing site before being shipped. After the memory device has been shipped, if no test data is available, then existing user data may be programmed instead. The user data may be scrambled as well so that it represents all data states relatively evenly. For example, user data which is present in one location of a memory device, such as a given block, can be copied to another location, such as another block which includes the particular set of storage elements for which the read/verify voltages are to be determined.
After step 902, one of two paths may be followed. In a first path, step 904 includes determining a threshold voltage distribution of the set of storage elements, e.g., by performing read operations at different incremental voltage threshold levels, as depicted in
In a second path, step 908 includes determining the threshold voltage distribution of the set of storage elements for fewer than all data states. For instance, the threshold voltage distribution of the erased state may be determined. As mentioned, the upper edge of the threshold voltage distribution of the erased state can used to measure the level of program disturb as this state is most susceptible to program disturb. An optimum read level for state 1 can be determined based on this upper edge, and optimum read levels for the remaining states can be determined based on a known relationship between the read levels for the states. That is, a formula may be used which relates the optimum read level for state i (i>2) to the optimum read level for state 1. It is also possible to determine the threshold voltage distribution of the set of storage elements for multiple data states, such as for states 1 and 2, and relate these to the other states. For example, a formula may be used which relates the optimum read level for state i (i>3) to the optimum read levels for states 1 and 2. Such formulas may be obtained from theoretical relationships and/or experimental test results. Step 910 thus includes determining a set of voltages based on the threshold voltage distribution for fewer than all data states.
Further, the data of the set of voltages can be represented in any manner.
Also, absolute values of the voltages may be stored, or offset values may be stored which represent offsets from a reference set of values or from a single reference value. Or, data which is used for directly controlling a voltage circuit may be used, such as a binary code word which is input to a digital-to-analog converter. In any case, such data is understood to represent the set of voltages.
The technique provided herein advantageously does not require the use of reference storage elements, which are additional storage elements which store non-user data for the purpose of tracking threshold voltage changes which a device has experienced. The reference storage elements consume additional space in a memory device beyond the storage elements which store user data. Reference storage elements are typically read “on the fly” so that each time a page of data is read an adjustment takes place. In this case, there is no storing of a set of voltages in a non-volatile storage location for subsequent use. Moreover, typically reference storage elements do not involve measuring threshold voltage distributions. With reference storage elements, measurements are made on one set of storage elements, e.g., the reference storage elements, for use in determining voltages of a second, non-overlapping set of storage elements. In contrast, with the technique provided herein, measurements are made, and voltages are determined, for the same set of storage elements which are subsequently accessed using the voltages.
b depicts a process for accessing user data of a set of non-volatile storage elements using predetermined voltages determined by the process of
c depicts a process for determining voltages for multiple sets of non-volatile storage elements. As mentioned, voltages can be customized for different sets of storage elements, including within a single memory device and among different memory devices. Many of the steps are analogous to those in
For instance, each pass through the process may involve obtaining a set of voltages for a word line, a set of word lines, a block, or a set of blocks, of storage elements. For example, a given set of voltages may apply to the storage elements of an individual word line or a set of word lines, or to an individual block or a set of blocks. Moreover, note that when multiple sets of voltages, e.g., for writing, verifying and/or reading are determined, each set can apply to a different group of storage elements. For instance, one set of verify voltages may be obtained for an entire memory device, while different sets of read voltages are obtained for different blocks in the memory device. Multiple passes through the process may be performed serially or concurrently.
As before, each pass through the process may involve obtaining a set of voltages for a word line, a set of word lines, a block, or a set of blocks, of storage elements, and accessing the corresponding storage elements. A given set of voltages may apply to the storage elements of an individual word line or a set of word lines, or to an individual block or a set of blocks. Multiple passes through the process may be performed serially or concurrently.
The array of storage elements is divided into a large number of blocks of storage elements. As is common for flash EEPROM systems, the block is the unit of erase. That is, each block contains the minimum number of storage elements that are erased together. Each block is typically divided into a number of pages. A page is a unit of programming. One or more pages of data are typically stored in one row of storage elements. A page can store one or more sectors. A sector includes user data and overhead data. Overhead data typically includes an Error Correction Code (ECC) that has been calculated from the user data of the sector. A portion of the controller (described below) calculates the ECC when data is being programmed into the array, and also checks it when data is being read from the array. Alternatively, the ECCs and/or other overhead data are stored in different pages, or even different blocks, than the user data to which they pertain.
A sector of user data is typically 512 bytes, corresponding to the size of a sector in magnetic disk drives. Overhead data is typically an additional 16-20 bytes. A large number of pages form a block, anywhere from 8 pages, for example, up to 32, 64, 128 or more pages. In some embodiments, a row of NAND strings comprises a block.
The memory device responds to a read command by reading the data from the storage elements and making it available to the host controller. In one possible approach, the memory device stores the read data in the buffer 1220 and informs the host controller of when the data can be read. The host controller responds by reading the data from the buffer and sends another command to the memory device to read data from another address. For example the data may be read page by page. The host controller may process the read data to determine a threshold voltage distribution of the storage elements of the memory device. In another approach, control circuitry of the memory device determines the threshold voltage distribution. Further details of example embodiments of a memory device are provided below.
A typical memory system includes an integrated circuit chip that includes the controller 1210, and one or more integrated circuit chips that each contains a memory array and associated control, input/output and state machine circuits. The memory device may be embedded as part of the host system, or may be included in a memory card that is removably insertable into a mating socket of a host system. Such a card may include the entire memory device, or the controller and memory array, with associated peripheral circuits, may be provided in separate cards.
The control circuitry 1310 cooperates with the read/write circuits 1365 to perform memory operations on the memory array 1100. The control circuitry 1310 includes a state machine 1312, an on-chip address decoder 1314 and a power control module 1316. The state machine 1312 provides chip-level control of memory operations. The on-chip address decoder 1314 provides an address interface between that used by the host or a memory controller to the hardware address used by the decoders 1330 and 1360. The power control module 1316 controls the power and voltages supplied to the word lines and bit lines during memory operations. For example, the power control module 1316 can provide a control gate read voltage to a selected word line, and read pass voltages to unselected word lines, for use during read operations and in determining a threshold voltage distribution of a set of storage elements. The power control module 1316 can also provide a voltage sweep to a selected word line. The power control module 1316 may include one or more digital-to-analog converters for this purpose, for instance. In this case, the control circuitry can generate a voltage sweep without the need for external test equipment, e.g., outside the memory die 1398. This is advantageous as it allows a voltage sweep to be generated at any time, including after manufacture of the memory device, when the end user has taken possession of the memory device. Further, the memory device 1396 can include circuitry for determining the threshold voltage distribution of the storage elements so that this process can be performed internally within the memory die 1398, without the need for external test equipment or an external host. This is advantageous as it allows the threshold voltage distribution to be determined at any time without external equipment.
In some implementations, some of the components of
The data stored in the memory array is read out by the column decoder 1360 and output to external I/O lines via the data I/O line and a data input/output buffer 1352. Program data to be stored in the memory array is input to the data input/output buffer 1352 via the external I/O lines. Command data for controlling the memory device are input to the controller 1350. The command data informs the flash memory of what operation is requested. The input command is transferred to the control circuitry 1310. The state machine 1312 can output a status of the memory device such as READY/BUSY or PASS/FAIL. When the memory device is busy, it cannot receive new read or write commands.
A data storage location 1354, analogous to the storage location 1215 of
In another possible configuration, a non-volatile memory system can use dual row/column decoders and read/write circuits. In this case, access to the memory array by the various peripheral circuits is implemented in a symmetric fashion, on opposite sides of the array, so that the densities of access lines and circuitry on each side are reduced by half.
The foregoing detailed description of the invention has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. The described embodiments were chosen to best explain the principles of the invention and its practical application, to thereby enable others skilled in the art to best utilize the invention in various embodiments and with various modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the claims appended hereto.
This is a continuation application of co-pending, commonly assigned U.S. patent application Ser. No. 12/111,729, filed Apr. 29, 2008, (docket no. SAND-01301US0), which will issue as U.S. Pat. No. 7,808,819 on Oct. 5, 2010, incorporated herein by reference. This application is also related to co-pending, commonly assigned U.S. patent application Ser. No. 12/111,748, filed Apr. 29, 2008, (docket no. SAND-01301US1), which will issue as U.S. Pat. No. 7,808,836 on Oct. 5, 2010, incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | 12111729 | Apr 2008 | US |
Child | 12890267 | US |