The present application claims priority from Indian Patent Application No. 3113/CHE/2012 filed on Jul. 30, 2012, which is incorporated herein in its entirety.
The present disclosure is generally related to updating reference voltages in a data storage device.
Non-volatile data storage devices, such as universal serial bus (USB) flash memory devices or removable storage cards, have allowed for increased portability of data and software applications. Flash memory devices can enhance data storage density by storing multiple bits in each flash memory cell. For example, Multi-Level Cell (MLC) flash memory devices can provide increased storage density by storing 3 bits per cell, 4 bits per cell, or more.
Storing multiple bits of information in a single flash memory cell typically includes mapping sequences of bits to states of the flash memory cell. For example, a first sequence of bits “110” may correspond to a first state of a flash memory cell and a second sequence of bits “010” may correspond to a second state of the flash memory cell. After determining that a sequence of bits is to be stored into a particular flash memory cell, the particular flash memory cell may be programmed to a state (e.g., by setting a threshold voltage) that corresponds to the sequence of bits.
Once memory cells in a data storage device have been programmed, data may be read from the memory cells by sensing the programmed state of each memory cell by comparing the cell threshold voltage to one or more reference voltages. However, the sensed programming states can sometimes vary from the written programmed states due to one or more factors, such as data retention and program disturb conditions.
Accuracy of reading data stored in a data storage device may be improved by updating a set of reference voltages to reduce a count of errors associated with reading the stored data. A selection of an updated reference voltage from a reference voltage, a first alternate reference voltage, and a second alternate reference voltage may be made based on a comparison of error counts of read errors associated with each of the reference voltage, the first alternate reference voltage, and the second alternate reference voltage. The first alternate reference voltage and the second alternate reference voltage may be calculated based on the reference voltage and based on a voltage increment. After selecting the updated reference voltage, the reference voltage may be reset to the updated reference voltage and the voltage increment may be reset to a smaller voltage increment. After resetting the reference voltage and the voltage increment, selection of a further updated reference voltage may be performed using the reset reference voltage and the smaller voltage increment.
A programmed state of a particular memory element of a data storage device may change over time due to various factors, such as time-related degradation of memory, program disturb factors, and other proximity-related factors. A cell voltage distribution of the data storage device may change over time depending on various parameters including a time elapsed since program, a temperature, a geometry (e.g., die/block/word line), and a number of program and erase cycles, as illustrative examples.
The programmed state of the each data element is typically determined by sensing a memory element threshold voltage using one or more reference voltages. The reference voltage that correctly senses the memory element threshold voltage may change over time as the threshold voltage of the memory element changes. As a result, use of a fixed reference voltage may result in errors in data values read from memory elements whose threshold voltages have changed over time. In order to maintain reliability and performance of a data storage device, it may be beneficial for a memory controller of the data storage device to update values of reference voltages used to read the data storage device.
Improved error correction capability of data stored in a memory of a data storage device may be achieved with reduced latency by updating reference voltage values based on a comparison of error counts. Systems and methods of updating each reference voltage of a set of reference voltages by comparing an error count associated with each reference voltage to corresponding error counts associated with alternate reference voltages in an iterative selection process are disclosed.
Referring to
The host device 102 may be configured to provide data to be stored at the memory 106 or to request data to be read from the memory 106. For example, the host device 102 may include a mobile telephone, a music or video player, a gaming console, an electronic book reader, a personal digital assistant (PDA), a computer such as a laptop computer, a notebook computer, or a tablet, any other electronic device, or any combination thereof.
The data storage device 104 may be a memory card, such as a Secure Digital SD® card, a microSD® card, a miniSD® card (trademarks of SD-3C LLC, Wilmington, Del.), a MultiMediaCard® (MMC®) card (trademark of JEDEC Solid State Technology Association, Arlington, Va.), or a CompactFlash® (CF) card (trademark of SanDisk Corporation, Milpitas, Calif.). As another example, the data storage device 104 may be embedded memory in the host device 102, such as eMMC® (trademark of JEDEC Solid State Technology Association, Arlington, Va.) memory and eSD memory, as illustrative examples.
The memory 106 may be a non-volatile memory of a flash device, such as a NAND flash device, a NOR flash device, or any other type of flash device. The memory 106 may include a group of memory elements 107. For example, the group of memory elements 107 may include a word line. Each memory element in the group of memory elements 107 may be a memory cell of a multi-level cell (MLC) memory.
Each memory element may have an associated threshold voltage corresponding to a state of the memory element. Each state may correspond to a particular range of threshold voltage values, such as depicted in a graph 120. The state of each memory element represents data stored at the memory element, such as according to a mapping 160 of bits to states of the memory element. The data stored at the memory element may be read by comparing the threshold voltage of the memory element to one or more reference voltages of a set of reference voltages 116 including reference voltages Va, Vb, . . . Vg that are stored in the memory 106. The set of reference voltages 116 may be used to sense the state of each of the memory elements of the group of memory elements 107.
The controller 108 may include an error correction code (ECC) engine 110. The ECC engine 110 may include an ECC encoder 112 and an ECC decoder 114. The ECC encoder 112 may be configured to encode data with error correction information. The ECC decoder 114 may be configured to decode the error correction information of data read from the memory 106 to correct errors in the data, up to an error correction capability of the ECC decoder 114.
The controller 108 may be configured to determine a read point error count (e.g., Ea) that is associated with a reference voltage (e.g., Va). The read point error may be associated with a data read from memory storage elements of the memory 106. The controller 108 may be configured to iteratively reset the reference voltage in a plurality of iterations. Each reset reference voltage (e.g., V′a) may be associated with an updated read point error count (e.g., E′a) and each reset reference voltage may be selected based on read point error counts of multiple candidate reference voltages (e.g., Va-left, Va, Va-right). A voltage range (e.g., from Va-left to Va-right) of the multiple candidate reference voltages (Va-left, Va, Va-right) may decrease with each successive iteration. For example, the controller 108 may be configured to determine a read point error count Ei-center associated with a reference voltage Vi-center, the read point error count Ei-center associated with a data read from the group of memory elements 107 within the memory 106.
To illustrate, the controller 108 includes an iterative error comparison and reference voltage engine 118. The iterative error comparison and reference voltage engine 118 may be configured to update each reference voltage Vi (i=a, b, c, . . . g) by selecting, for each i (i=a, b, . . . g), an updated reference voltage (V′i-center) from one of the reference voltage Vi, a first alternate reference voltage Vi-left (=Vi−ΔV) (e.g., situated to the left of Vi on the graph 120) and a second alternate reference voltage Vi-right (=Vi+ΔV) (e.g., situated to the right of Vi), based on a comparison of read point error counts Ei-center, Ei-left, and Ei-right, each of which is associated with a unique one of Vi, Vi-left, and Vi-right. A next iteration of updating of the reference voltages Vi (i=a, b, c, . . . , g) may be conducted to select an additional updated reference voltage based on a reset reference voltage V′i-center and based on a reset voltage increment ΔV′ that is less than ΔV (e.g., ΔV/2). For example, a next iteration of updating the reference voltages Vi (i=a, b, c, . . . g) may be conducted by reading memory elements using each of the reference voltage sets Vi (after resetting each Vi to V′i-center), Vi-left (after resetting each Vi-left to V′i-center−ΔV′), and Vi-right (after resetting each Vi-right to Vi-center+ΔV′) (i=a, b, . . . g). For each i, the additional updated reference voltage (V″i-center) may be selected by comparing associated read point error counts Ei-center, Ei-left, and Ei-right (i=a, b, . . . g), i.e., selecting the reference voltage having the smallest associated error count to be the additional updated reference voltage (V″i-center).
Graph 120 is a histogram illustrating a count of memory elements within a memory, such as the memory 106, vs. threshold voltage of the memory elements. For instance, the memory 106 may include multi-level cells (MLCs), each MLC capable of storing data and each MLC having a threshold voltage corresponding to a data value of the stored data. In a particular embodiment, each of the MLC memory elements has a total of eight states into which the MLC memory element may be programmed. The eight states can be represented by three bits, illustrated in the mapping 160 as a first bit in an upper page 162, a second bit in a middle page 164, and a third bit in a lower page 166.
A first histogram curve 132 illustrates a distribution of memory elements of the group of memory elements 107 having a threshold voltage that is less than the reference voltage Va 122. Each memory element represented in the curve 132 is programmed to a state corresponding to a data value of 1 1 1, e.g., an “Erase state,” or “Er,” corresponding to a “1” bit in the upper page 162, a “1” bit in the middle page 164, and a “1” bit in the lower page 166.
A second histogram curve 134 represents a distribution of memory elements of the group of memory elements 107 having corresponding threshold voltages between voltage Va 122 and voltage Vb 124. Each of these memory elements is programmed to a state corresponding to a data value of 1 1 0 (e.g., state “A” corresponding to a “1” bit in the upper page 162, a “1” bit in the middle page 164, and a “0” bit in the lower page 166.) In a similar fashion, each curve in the graph 120 lies between two reference voltages and represents memory elements that are programmed to threshold voltages corresponding to a data value as shown in the mapping 160. Each memory element in the group of memory elements 107 stores a data value corresponding to its programmed state, and the corresponding data value can be found in the mapping 160.
When the data is initially stored in the group of memory elements 107, each of the curves depicted in the graph 120 is illustrated as lying entirely between two reference voltages (e.g., the curve 132 lies entirely below reference voltage Va 122, and the curve 134 lies entirely between reference voltages Va 122 and Vb 124). When the data stored in the group of memory elements 107 is read immediately following storage of the data, there may be no errors to be corrected by the ECC decoder 114. Because the curve 134 lies between two corresponding reference voltages, all memory elements represented in the curve 134 are read as storing the same value (e.g., all elements represented in the curve 134 store the value 1 1 0) and the ECC decoder 114 detects no errors in the sensed data. All memory elements of a curve are initially programmed to the same state. Although each of the curves depicted in the graph 120 is illustrated as lying entirely between two reference voltages for clarity of explanation, under some conditions the programming of data may instead result in one or more of the curves not lying entirely between two reference voltages.
The programmed state of a particular data element is reflected in the threshold voltage, and the threshold voltage may change over time due to various time-driven factors and proximity-related factors. An example of changing threshold voltages is illustrated in a graph 170. A curve 142 represents the memory elements that were initially depicted in the curve 132 of the graph 120, where the curve 132 has changed shape over time to become the curve 142. A portion of the curve 142 appears to the right of the reference voltage Va 122 and represents memory elements originally programmed to state Er but have been disturbed to have threshold voltages greater than Va 122. All memory elements to the right of the reference voltage Va 122 will be read to have a value of 1 1 0 (as shown in the mapping 160) instead of the value of 1 1 1 that was originally stored. Memory elements that have been programmed to store 1 1 1 but that are read as storing the 1 1 0 value introduce an error in the lower page 166 that is reflected in an associated error count.
Curve 144 represents a histogram of memory elements for which the stored data value was 1 1 0, initially determinable from the reference voltages Va 122 and Vb 124. That is, when the data was initially stored in the memory elements and represented by the curve 134 of the graph 120, the stored value of the data was 1 1 0, determined through use of the reference voltages Va 122 and Vb 124. However, over time, the curve 134 has changed shape to become the curve 144. The curve 144 crosses over the reference voltage Va 122. As a result, some of the memory elements within the curve 144 that had been initially programmed to 1 1 0 no longer appear between the reference voltages Va 122 and Vb 124. A portion of the curve 144 to the left of reference voltage Va 122 represents memory elements that may be read as having a stored value of 1 1 1, according to the mapping 160, instead of the originally stored value of 1 1 0. Thus, over time, the read values of some of the memory elements may be incorrect and may be counted as errors by the ECC decoder 114.
When the reference voltages of the set of reference voltages 116 are kept at their original values Va 122, Vb 124, etc., reading the data values after a certain amount of time has passed may result in more errors in the read data values than if the set of reference voltages is updated. For example, a shaded area 176 (i.e., sum of areas under curves 142 and 144 extending beyond the original reference voltage Va 122) represents errors in values of data read using the original reference voltages Va 122, Vb 124, etc. as a result of the curves 142 and 144 having shapes that are different than their respective original curves 132 and 134.
In a particular embodiment, the reference voltage Va 122 may be replaced by a first alternate reference voltage 172 that differs from the reference voltage Va 122 by an offset voltage ΔV. For example, a (dashed) vertical line representing the first alternate reference voltage 172 may intersect the crossing point of the curves 142 and 144. A portion of the curve 142 lies to the right of the first alternate reference voltage 172, and a portion of the curve 144 lies to the left of the first alternate reference voltage 172. The sum of the areas of these portions is a measure of the error count associated with the first alternate reference voltage 172. There may a smaller error count associated with first alternate reference voltage 172 than the error count associated with the reference voltage 122. Typically a reference voltage (represented by a first straight line) that does not pass through the intersection of two adjacent histogram curves has an associated error count that is larger than a second reference voltage (represented by a second straight line) that passes through the intersection of the two adjacent histogram curves.
Considering a second alternate reference voltage 174, a first region (of the curve 142) is right of the second alternate reference voltage 174 and a second region (of the curve 144) is left of the second alternate reference voltage 174. The sum of the areas of first region and the second region corresponds to the error count associated with the second alternate reference voltage 174. Of the three voltages 122, 172, and 174, the first alternate reference voltage 172 is closest to the intersection of curves 142 and 144, and therefore typically has the smallest associated error count.
By updating each reference voltage Va, Vb, etc., the count of read errors associated with each reference voltage may be reduced. Each of the first alternate reference voltage and the second alternate reference voltage may be calculated by subtracting from the reference voltage, or adding to the reference voltage, the same offset voltage ΔV (i.e., using a same value of ΔV) or by subtracting or adding different offset voltages (i.e., using different values of ΔV to calculate each of the first alternate reference voltage and the second alternate reference voltage). By comparing the error count of data read errors associated with the reference voltage Va 122 with the error count of data read errors associated with the first alternate reference voltage 172 and with the error count of data read errors associated with the second alternate reference voltage 174, a selection of an updated reference voltage may be made that has a smaller error count of data errors than the error count of data read errors associated with the reference voltage Va 122.
During operation, the controller 108 may be configured to initiate the reference voltage update using the iterative error comparison and reference voltage selection engine 118. The iterative error comparison and reference voltage selection engine 118 may initiate or iterate a process to read first data values from the group of memory elements 107 using the set of reference voltages 116 and to determine an error count associated with a reference voltage 122 of the set of reference voltages 116. The controller 108 may be configured to associate each error identified in the first data values with a corresponding reference voltage of the set of reference voltages 107. The controller 108 may be configured to read first alternate data values from the group of memory elements 107 using a set of first alternate reference voltages and determine a first alternate error count associated with a first alternate reference voltage 172, to read second alternate data values from the group of memory elements 107 using a set of second alternate reference voltages, and to determine a second alternate error count associated with a second alternate reference voltage 174. The controller 108 may be further configured to create an updated set of reference voltages that includes the reference voltage 122, the first alternate reference voltage 172, or the second alternate reference voltage 174, based on a comparison of error counts, each error count associated with a unique one of the reference voltage 122, the first alternate reference voltage 172, and the second alternate reference voltage 174. A selection of the updated reference voltage, i.e., one of the reference voltage 122, the first alternate reference voltage 172, and the second reference voltage 174 may correspond to the smallest of associated error counts. Of the three voltages being compared, typically the voltage closest to the intersection of two intersecting histogram curves has the smallest associated error count. After selecting the updated reference voltage and resetting the reference voltage to the updated reference voltage, the iterative error comparison and reference voltage selection engine 118 may adjust the voltage increment ΔV and repeat the read, compare, and select process to further refine selection of the updated reference voltage to reduce errors, as described in further detail with respect to
For example, using the reference voltage that has been reset to the updated reference voltage, the iterative error comparison and reference voltage selection 118 may determine a next iteration first alternate reference voltage with respect to the reset reference voltage (e.g., by subtracting an updated voltage increment from the reset reference voltage) and a next iteration second alternate reference voltage with respect to the reset reference voltage (e.g., by adding the updated voltage increment to the reset reference voltage). In an example, for each iteration an iterated voltage increment may be one-half of the voltage increment of the previous iteration so as to further refine the update reference voltage within a window of values of the reference voltage. By reading the stored data using the reset reference voltage, the first alternate reset reference voltage, and the second alternate reset reference voltage, associated error counts may be determined. A second updated reference voltage may be selected based on corresponding error counts, e.g., the smallest of the error counts. Iterations may continue until the iterated voltage increment has a smaller value than a voltage increment threshold. For example, the voltage increment for a sequence of iterations may be determined as ΔV, ΔV/2, ΔV/4, etc., until an Nth iteration, where ΔV/2N is less than the voltage increment threshold.
The iterative error comparison and reference voltage selection engine 118 may be implemented using a microprocessor or microcontroller programmed to generate control information and to create an updated set of reference voltages by reading a first set of data using a set of reference voltages (e.g., Vi-center) and determining a read point error count (e.g., Ei-center) associated with each reference voltage, reading a second set of data using first alternative reference voltages (e.g., Vi-left) and determining a read point error count (e.g., Ei-left) associated with a each of the first alternative reference voltages, and reading a third set of data using second alternative reference voltages (e.g., Vi-right) and determining a read point error count (e.g., Ei-right) associated with each of the second alternative reference voltages. After reading the data, each updated reference voltage may be determined by selecting the reference voltage (Vi-center), the first alternative reference voltage (Vi-left), or the second reference voltage (Vi-right) to be included in the updated set of reference voltages based on a comparison of the read point error counts (Ei-center, Ei-left, Ei-right), each read point error count associated with a unique one of the reference voltage (Vi-center), the first alternative reference voltage (Vi-left), and the second alternative reference voltage (Vi-right). In a particular embodiment, the controller 108 includes a processor that executes instructions that are stored at the memory 106. Alternatively, or in addition, instructions that are executable by the processor may be stored at a separate memory location that is not part of the memory 106, such as at a read-only memory (ROM).
In a particular embodiment, the data storage device 104 may be a portable device configured to be selectively coupled to one or more external devices. For example, the data storage device 104 may be a removable device such as a universal serial bus (USB) flash drive or a removable memory card. However, in other embodiments, the data storage device 104 may be attached or embedded within one or more host devices, such as within a housing of a portable communication device. For example, the data storage device 104 may be within a packaged apparatus, such as a wireless telephone, a personal digital assistant (PDA), a gaming device or console, a portable navigation device, a computer, or other device that uses internal non-volatile memory. In a particular embodiment, the data storage device 104 includes a non-volatile memory, such as a Flash memory (e.g., NAND, NOR, Multi-Level Cell (MLC), Divided bit-line NOR (DINOR), AND, high capacitive coupling ratio (HiCR), asymmetrical contactless transistor (ACT), or other Flash memories), an erasable programmable read-only memory (EPROM), an electrically-erasable programmable read-only memory (EEPROM), a read-only memory (ROM), a one-time programmable memory (OTP), or any other type of memory.
As depicted in
An updated set of reference voltages may result in reduced errors associated with read data. Reduced errors may result in a longer useful life of the data storage device 104. Additionally, the reduction in errors due to use of the updated set of references in reading the stored data may result in reduced processing at the ECC decoder 114, which may result in reduced read latency experienced by the host device 102.
Curve 144 corresponds to storage elements originally programmed to store the data value 110 (i.e., state A, according to the mapping 160 of
Curves 142-146 and 150-156 include portions that cross over a reference voltage. For instance, the curve 142 has a portion that lies to the right of the reference voltage Va 122 and another portion that lies to the left of the reference voltage Va 122. However, each of the memory elements represented by the curve 142 was originally programmed to store the data value 1 1 1 (i.e., the curve 132 is entirely to the left of the reference voltage Va 122.) Hence, there will be errors in the read values (read by comparing a storage element's threshold voltage to the reference voltage Va 122) of the data stored in some of the memory elements represented by the curve 142. Similarly, there will be errors in the read values of the data stored in some of the memory elements represented by the curves 144-146 and 150-156, because each of these curves crosses a reference voltage of the original set of reference voltages Va-Vg. Curve 148 lies entirely between the reference voltages Vc and Vd, as originally programmed. Therefore, there will be no errors in the read data for memory elements represented by the curve 148.
Data 212 may be read from the memory 106 by the controller 108 of
The ECC decoder 114 of
Thus, by analyzing the read data 212 and the total error count for each of the upper page, middle page, and lower page of the read data 212, an error count may be associated with each reference voltage (Va, . . . , Vg). In the example shown in the graph 210, Va has an associated error count of 60, Vb has an associated error count of 0, Vc has an associated error count of 20, Vd has an associated error count of 30, Ve has an associated error count of 30, Vf has an associated error count of 20, and Vg has an associated error count of 60. For each reference voltage, the associated error count may be determined as a sum of error counts represented by the area of each portion of the histogram curve extending beyond the line represented by the reference voltage. For instance, considering Va 122, the error count contributed by curve 142 is represented by the portion of curve 142 that is to the right of Va 122 and the error count contributed by curve 144 is represented by the portion of curve 144 that is to the left of Va 122. The error count associated with Va 122 is the sum of the error contributions from curves 142 and 144.
A first iteration of updating the reference voltage Va 122 is described using graph 220. The graph 220 includes a portion of graph 210 and depicts curves 142 and 144, reference voltage Va 122, a first alternate reference voltage Va-left 272, and a second alternate reference voltage Va-right 274. The first alternate reference voltage Va-left 272 has been calculated by subtracting a voltage increment ΔV from the reference voltage Va 122. The second alternate reference voltage Va-right 274 has been calculated by adding the voltage increment ΔV to the reference voltage Va 122. However, in other embodiments, the first alternate reference voltage may be calculated by subtracting, from the reference voltage Va 122, another voltage increment that is different than the voltage increment ΔV added to the reference voltage Va 122 to determine the second alternate reference voltage Va-right 274.
The first alternate reference voltage Va-left 272, when used to read data stored in the memory elements, typically results in an associated error count that differs from the error count associated with the reference voltage Va 122. Because the first alternate reference voltage Va-left 272 is closer than the reference voltage Va 122 to the intersection of curves 142 and 144, a first alternate error count associated with the first alternate reference voltage Va-left 272 is expected to be smaller than the error count associated with the reference voltage Va 122. The second alternate reference voltage Va-right 274 is further than the reference voltage Va 122 from the intersection of the curves 142 and 144, and therefore a second alternate error count associated with the second alternate reference voltage Va-right 274 is expected to be larger than the error count associated with the reference voltage Va 122.
An updated reference voltage may be selected based on a comparison of the error counts associated with each of the reference voltage Va 122, the first alternate reference voltage Va-left 272, and the second alternate reference voltage Va-right 274. For example, the updated reference voltage may be selected to be the first alternate reference voltage Va-left 272 based on the comparison of the error counts associated with each of Va-left 272, Va 122, and Va-right 274. The reference voltage Va 122 may be reset to the updated reference voltage Va-left 272, and the updated reference voltage is referred to as Va 272. After updating, the error count associated with the reference voltage Va 272 is smaller than the error count associated with Va 122.
A second iteration of selecting the updated reference voltage may be carried out based on the reference voltage Va 272 that was previously updated from Va 122. Graph 230 includes curves 142, 144, the reference voltage Va 272, a first alternate reference voltage Va-left 276, and a second alternate reference voltage Va-right 278. A voltage increment used to calculate Va-left 276 and Va-right 278 is ΔV/2, i.e., one-half of the voltage increment ΔV of graph 220. The first alternate reference voltage Va-left 276 is calculated by subtracting the voltage increment ΔV/2 from the reference voltage Va 272. The second alternate reference voltage Va-right 278 is calculated by adding the voltage increment ΔV/2 to the reference voltage Va 272. Because the second alternate reference voltage Va-right 278 is closer to the intersection of curves 142 and 144 than either of the reference voltage Va 272 or the first alternate reference voltage Va-left 276, a second alternate error count associated with the second alternate reference voltage Va-right 278 is expected to be smaller than the error counts associated with each of the reference voltage Va 272 and the first alternate reference voltage Va-left 276. An updated reference voltage may be selected to be the second alternate reference voltage Va-right 278 based on the comparison of the error counts associated with each of Va-left 276, Va 272, Va-right 278. The reference voltage Va 272 may be reset to the updated reference voltage Va-right 278 and is referred to as Va 278. The error count associated with the (updated) reference voltage Va 278 is smaller than the error count associated with Va 272.
A third iteration of selecting the updated reference voltage may be carried out based on the reference voltage Va 278 (previously updated from Va 272). Graph 240 depicts a magnified version of graph 230 and includes curves 142, 144, the reference voltage Va 278, a first alternate reference voltage Va-left 280, and a second alternate reference voltage Va-right 282. A voltage increment used to calculate Va-left 280 and Va-right 282 is ΔV/22, i.e., ΔV/4, one-half of the voltage increment ΔV/2 of graph 230. Because the reference voltage Va 278 is closer to the intersection of curves 142 and 144 than either the first alternate reference voltage Va-left 280 or the second alternate reference voltage Va-right 282, the error count associated with the reference voltage Va 278 is expected to be smaller than the error counts associated with each of the first alternate reference voltage Va-left 280 and the second alternate reference voltage Va-right 282. An updated reference voltage may be selected to be the reference voltage Va 278 based on the comparison of the error counts associated with each of Va-left 280, Va 278, and Va-right 282. The updated reference voltage Va remains at its value Va 278.
A fourth iteration of selecting the updated reference voltage may be carried out based on the reference voltage Va 278. Graph 250 depicts curves 142, 144, the reference voltage Va 278, a first alternate reference voltage Va-left 284, and a second alternate reference voltage Va-right 286. A voltage increment used to calculate Va-left 284 and Va-right 286 is ΔV/23, i.e., ΔV/8, one-half of the voltage increment ΔV/22 of graph 240. Because the reference voltage Va 278 is closer to the intersection of curves 142 and 144 than the first alternate reference voltage Va-left 284 and the second alternate reference voltage Va-right 286, the error count associated with the reference voltage Va 278 is expected to be smaller than the error counts associated with either the first alternate reference voltage Va-left 284 or the second alternate reference voltage Va-right 286. An updated reference voltage may be selected to be the reference voltage Va 278 based on the comparison of the error counts associated with each of Va-left 284, Va 278, and Va-right 286. The updated reference voltage Va remains at its value Va 278 prior to updating.
A fifth iteration of selecting the updated reference voltage may be carried out based on the reference voltage Va 278. Graph 260 depicts curves 142, 144, the reference voltage Va 278, a first alternate reference voltage Va-left 288, and a second alternate reference voltage Va-right 290. A voltage increment used to calculate Va-left 288 and Va-right 290 is ΔV/24, i.e., ΔV/16, one-half of the voltage increment ΔV/23 of graph 250. Because the first alternate reference voltage Va-left 288 is closer to the intersection of curves 142 and 144 than the reference voltage Va 278 and the second alternate reference voltage Va-right 290, the error count associated with the first alternate reference voltage Va-left 288 is expected to be smaller than the error counts associated with each of the reference voltage Va 278 and the second alternate reference voltage Va-right 290. An updated reference voltage may be selected to be the first alternative reference voltage Va-left 288 based on the comparison of the error counts associated with each of Va-left 288, Va 278, and Va-right 290. The reference voltage Va may be reset to a value equal to the first alternative reference voltage Va-left 288 and after resetting, the reference voltage Va becomes Va 288. The error count associated with the reference voltage Va 288 is smaller than the error count associated with the reference voltage Va 278 of the previous iteration.
A sixth iteration of selecting the updated reference voltage may be carried out based on the reference voltage Va 288. Graph 270 depicts curves 142, 144, the reference voltage Va 288, a first alternate reference voltage Va-left 292, and a second alternate reference voltage Va-right 294. A voltage increment used to calculate Va-left 292 and Va-right 294 is ΔV/25, i.e., ΔV/32, one-half of the voltage increment ΔV/24 of graph 260. The second alternate reference voltage Va-right 294 is closer to the intersection of curves 142 and 144 than the reference voltage Va 288 and the first alternate reference voltage Va-left 292, and therefore the error count associated with the second alternate reference voltage Va-right 294 is expected to be smaller than the error counts associated with each of the reference voltage Va 288 and the first alternate reference voltage Va-left 292. An updated reference voltage may be selected to be the second alternative reference voltage Va-right 294 based on the comparison of the error counts associated with each of Va-left 292, Va 288, and Va-right 294. The reference voltage Va may be reset to the second alternative reference voltage Va-right 294 and after resetting, the reference voltage becomes Va 294. The error count associated with the reference voltage Va 294 is smaller than the error count associated with Va 288. After completing six update iterations the error count (=45) associated with the reference voltage Va 288 is smaller than the error count (=60) associated with the initial reference voltage Va 122. Thus, updating the reference voltage by successive iterations can reduce the error count associated with the reference voltage.
In each of the iterations described, the voltage increment is half of the previous iteration, resulting in a fine tuning of the selected updated reference voltage. By carrying out multiple iterations, the update of the reference voltage Va may be fine-tuned to reduce read errors. A smallest voltage increment may be selected or may result from an implementation-specific characteristic, and therefore a finite number of iterations may be performed to fine-tune the selection of the updated reference voltage to a resolution corresponding to the smallest voltage increment.
Although selection of an updated reference voltage is described for clarity of explanation as based on a comparison of explicitly determined error counts associated with alternative reference voltages (e.g. the first alternate reference voltage Va-left 272 and the second alternate reference voltage Va-right 274), in some circumstances selection of an updated reference voltage may not be based on a comparison of explicitly determined error counts. For example, if reading the data during the first iteration using the second alternate reference voltage Va-right 274 causes the data to be uncorrectable (i.e. a number of errors occurring in the data exceeds a correction capacity of the ECC encoding scheme), an error count corresponding to the second alternate reference voltage Va-right 274 may not be explicitly determined. In this case, selection of the updated reference voltage may be based on a comparison between explicitly determined error counts associated with the first alternate reference voltage Va-left 272, Va 122, and an error count associated with Va-right 274 that may be set to a value that exceeds the smaller of the error counts associated with Va-left 272 and Va 122. Continuing the example, if both the first alternate reference voltage Va-left 272 and the second alternate reference voltage Va-right 274 result in uncorrectable data, the comparison of error counts performed during the first iteration determines the center voltage (Va 122) as having the smallest error count, resulting in the center voltage (Va 122) being selected as the updated reference voltage and the next iteration being initiated using a smaller voltage increment.
Reference voltage updating may be carried out for each reference voltage Va, Vb, Vc, . . . Vg. The resulting set of updated reference voltages may be result in a reduced error count associated with reading the data stored in the memory elements.
A voltage increment (ΔV) is set at one-half of a maximum voltage Vt-max, at 304. The maximum voltage Vt-max may be an integer multiple “m” times a smallest incremental voltage “ΔVt”.
An error count Ei-center associated with Vi-center may be determined based on data values read from the group of memory elements, at 306. Errors in the read data values may be identified by an ECC decoder, such as the ECC decoder 114 of
A first alternate reference voltage Vi-left and a second alternate reference voltage Vi-right are determined based on the reference voltage Vi-center and based on the voltage increment ΔV, at 308. A first alternate error count Ei-left and a second alternate error count Ei-right are determined, at 310. For example, the first alternate error count (Ei-left) that is associated with the first alternate reference voltage may be determined from first alternate data values that are read from memory elements of a data storage device using the first alternate reference voltage Vi-left. The second alternate error count (Ei-right) that is associated with the second alternate reference voltage Vi-right may be determined from second alternate data values that are read from the memory elements using the second alternate reference voltage Vi-right. For example, Ei-left and Ei-right may be determined by reading all three pages using Vi-left (i=a, b, . . . g), reading all three pages using Vi-right (i=a, b, . . . g), using the ECC engine 110 to obtain error information, and using the mapping of bits to states 160 of
The smallest of Ei-center, Ei-left, and Ei-right is determined, at 312. An updated reference voltage Vi-upd is selected to be one of Vi-center, Vi-left, and Vi-right based on values of associated error counts Ei-center, Ei-left, and Ei-right, at 314. For example, in
The reference voltage Vi-center is reset to the updated reference voltage and the voltage increment ΔV is reset to one-half its value (ΔV/2), at 316. A determination is made as to whether, after resetting, the voltage increment ΔV is greater than or equal to ΔVt, (e.g., ΔVt is a smallest voltage increment detectable by the controller 108 of
In another embodiment, iterating may continue until a change between error counts associated with an updated reference voltage and a next updated reference voltage is smaller than a threshold error count. In a particular example, if the error count associated with an updated reference voltage is equal to the error count associated with the next updated reference voltage, the iteration process is halted. As another example, a predetermined number of iterations may be performed.
By selecting each updated reference voltage during each iteration based on a comparison of associated error counts of the reference voltage and one or more alternate reference voltages, a total number of errors associated with reading data stored in memory may be reduced when reading data using the updated set of reference voltages. Updating the set of reference voltages can be accomplished during operation of a data storage device, e.g., in response to completing a defined number of read/write cycles (i.e., a cycle count exceeding a cycle count threshold), in response to an indication that an expected movement in reference voltages exceeds a threshold value, in response to a periodic or aperiodic analysis of error counts, e.g., an error count exceeding an error count threshold, or in response to another indicator. Updating the set of reference voltages may include, after updating the reference voltage (e.g., in a previous iteration), selecting another updated reference voltage as one of an additional updated reference voltage, an additional first alternate reference voltage and an additional second alternate reference voltage, where the additional first alternate reference voltage and the additional second alternate reference voltage are determined based on the additional updated reference voltage and based on an additional voltage increment (e.g., the additional voltage increment is smaller than the voltage increment used in the previous iteration). Selection of the other updated reference voltage may be based on a comparison of additional error counts, each additional error count associated with a unique one of the additional reference voltage, the additional first alternate reference voltage, and the additional second alternate reference voltage. Updating the set of reference voltages may also include resetting the updated reference voltage to the other updated reference voltage and resetting the additional voltage increment to a different voltage increment that is smaller than the additional voltage increment.
Updating the set of reference voltages, either periodically or aperiodically during the life of the memory, can be advantageous in that the updating may compensate for increases in error counts due to changes in the threshold voltages of some of the memory elements “on the fly.” Reducing errors in data read from memory may extend the useful life of the memory and may result in reduced read latency.
Three pages of data (lower, middle, upper) are read using a set of reference voltages Vi (i=a, b, c, . . . g), at 406. The three pages of data are also read using a set of first alternative reference voltages Vi-left (i=a, b, c, . . . g), at 406. The three pages of data are also read using a set of second alternative reference voltages Vi-right (i=a, b, c, . . . g), at 406.
ECC decoding is performed to find page errors (PLower, PMiddle, and PUpper) associated with the set of reference voltages Vi (i=a, b, c, . . . g), at 408. ECC decoding is performed to find page errors (PLower, PMiddle, and PUpper) associated with the set of first alternate reference voltages Vi-left (i=a, b, c, . . . g), at 408. ECC decoding is performed to find page errors (PLower, PMiddle, and PUpper) associated with the set of second alternate reference voltages Vi-right (i=a, b, c, . . . g), at 408. The page errors may be determined by an ECC decoder such as the ECC decoder 114 of
The index j is increased by 1, at 410. A determination of whether ΔV/2j is greater than or equal to 1 is made, at 412. If ΔV/2j is less than a smallest incremental voltage step ΔVmin, the reference voltage of each reference point (i=a, b, c, . . . g) remains at the previous iteration value Vi-center corresponding to the reference voltage determined to have the fewest read point errors in the previous iteration, at 414, and the method ends at 416. If ΔV/2j is greater than ΔVmin, each of the page errors is converted to read point errors Ei-center, for each of the reference points i=(a, b, . . . g), with each read point error associated with a particular reference voltage Vi-center, i=(a, b, . . . g). For example, each page may be read using the set of reference voltages Vi-center (i=a, b, . . . g) and the errors may be separated into Ea-center associated with Va-center, Eb-center associated with Vb-center, etc. using the mapping of bits to states 160 of
Considering each read point i, a smallest of the error counts (also called read point errors) Ei-center, Ei-left, Ei-right (associated with Vi-center, and Vi-right respectively) is identified, at 420. The reference voltage corresponding to the smallest of (Ea-center, Ea-right, Ea-left) is selected to be the updated reference voltage. For example, when the smallest of (Ei-center, Ei-right, Ei-left) is Ei-center, the updated reference voltage remains Vi-center at 422.
When the smallest error count is Ei-left, the updated reference voltage is set to Vi-left, an updated Vi-left is set to Vi-left−ΔV/2j, and an updated Vi-right is set to Vi-left+ΔV/2j, at 424. When the smallest error count is Ei-right, the updated reference voltage is set to Vi-right, at 426, an updated Vi-left is set to Vi-right−ΔV/2j, and an updated Vi-right is set to Vi-right+ΔV/2j, at 426. Returning to 408, a next iteration of updating the reference voltage is performed.
Although the methods depicted in
In an example, after updating each of the reference voltages, the set of updated reference voltages may be stored in the memory 106 of
The method 400 may be used to reduce error counts of read data. By selecting each updated reference voltage based on a comparison of associated error counts, a total number of errors associated with reading data stored in memory may be reduced. Iterating the updating of the reference voltages to fine-tune the values of the updated reference voltages results in a reduction in the total number of errors associated with reading data stored in the memory. An additional advantage of reducing the error count may be a reduction in the load of the ECC decoder, which may result in faster data reads.
The method 500 may be used to reduce error counts of read data. By selecting each updated reference voltage based on a comparison of associated error counts, a total number of errors associated with reading data stored in memory may be reduced. Using an iterative technique to fine-tune each reference voltage may further reduce the total number of errors associated with reading the stored data, each iteration resulting in corresponding total error count that is less than the total error count associated with the previous iteration.
Although various components depicted herein are illustrated as block components and described in general terms, such components may include one or more microprocessors, state machines, or other circuits configured to enable a data storage device, such as the data storage device 104 of
The illustrations of the embodiments described herein are intended to provide a general understanding of the various embodiments. Other embodiments may be utilized and derived from the disclosure, such that structural and logical substitutions and changes may be made without departing from the scope of the disclosure. This disclosure is intended to cover any and all subsequent adaptations or variations of various embodiments.
The above-disclosed subject matter is to be considered illustrative, and not restrictive, and the appended claims are intended to cover all such modifications, enhancements, and other embodiments, which fall within the scope of the present disclosure. Thus, to the maximum extent allowed by law, the scope of the present invention is to be determined by the broadest permissible interpretation of the following claims and their equivalents, and shall not be restricted or limited by the foregoing detailed description.
Number | Date | Country | Kind |
---|---|---|---|
3113/CHE/2012 | Jul 2012 | IN | national |
Number | Name | Date | Kind |
---|---|---|---|
6233201 | Sone | May 2001 | B1 |
7135890 | Chang | Nov 2006 | B2 |
7751237 | Alrod et al. | Jul 2010 | B2 |
7764543 | Cho et al. | Jul 2010 | B2 |
7903468 | Litsyn et al. | Mar 2011 | B2 |
7911834 | Cornwell et al. | Mar 2011 | B2 |
7941590 | Yang et al. | May 2011 | B2 |
8027196 | Wong | Sep 2011 | B1 |
8040737 | Alrod et al. | Oct 2011 | B2 |
8095851 | Diggs et al. | Jan 2012 | B2 |
8327229 | Noguchi | Dec 2012 | B2 |
8503237 | Horn | Aug 2013 | B1 |
8510637 | Tseng et al. | Aug 2013 | B2 |
8578245 | Yeh et al. | Nov 2013 | B2 |
8601313 | Horn | Dec 2013 | B1 |
8638602 | Horn | Jan 2014 | B1 |
20040123207 | Zumkehr et al. | Jun 2004 | A1 |
20090003058 | Kang | Jan 2009 | A1 |
20090154250 | Lin | Jun 2009 | A1 |
20100020611 | Park | Jan 2010 | A1 |
20100290287 | Arussi | Nov 2010 | A1 |
20100332923 | d'Abreu et al. | Dec 2010 | A1 |
20110096612 | Steiner et al. | Apr 2011 | A1 |
20110182119 | Strasser et al. | Jul 2011 | A1 |
20110228604 | Eli et al. | Sep 2011 | A1 |
20120079353 | Liikanen et al. | Mar 2012 | A1 |
20120284587 | Yu et al. | Nov 2012 | A1 |
20130094286 | Sridharan et al. | Apr 2013 | A1 |
Entry |
---|
Desireddi, Sateesh, “Systems and Methods of Updating Read Voltages”, U.S. Appl. No. 13/523,680, filed Jun. 14, 2012, 31 pages. |
Desireddi, Sateesh, “Systems and Methods to Initiate Updating of Reference Voltages”, U.S. Appl. No. 13/630,686, filed Sep. 28, 2012, 29 pages. |
Non-Final Office Action mailed Apr. 2, 2014 in U.S. Appl. No. 13/630,686, 6 pages. |
Number | Date | Country | |
---|---|---|---|
20140029336 A1 | Jan 2014 | US |