1. Technical Field
Various embodiments generally relate to a solid state storage system, and, more particularly, to optimal read threshold estimation in the solid state storage system.
2. Related Art
Data storage technology, which can provide benefits like lower cost, reduced weight, lower power consumption, higher throughput, etc., is always an attractive solution for meeting future data storage demands. The NAND-based technology may provide all of the above benefits, but cannot always be produced at a lower cost. There exists a need to bring down the cost by scaling down the NAND process. This cost advantage, however, often results in a reduction of NAND reliability, which affects data integrity. The data integrity can be improved by applying advanced coding and signal processing techniques. Thus, there exists a need for improved coding and signal processing techniques.
Various embodiments are directed to an optimal read threshold estimate method and system in the solid state storage system.
In an embodiment, an optimal read threshold estimation method may include determining a flip difference corresponding to an optimal step size Δopt, estimating a first slope m1 at a first read point and a second slope m2 at a second read point, and obtaining an optimal read threshold (XLPopt) as the intersection of a first line with the first slope m1 and a second line with the second slope m2.
In an another embodiment, a system may include a solid state storage, an optimal read threshold estimator, and an interface suitable for communicating with the solid state storage and the optimal read threshold estimator, the optimal read threshold estimator being suitable for determining a flip difference corresponding to an optimal step size Δopt, estimating a first slope m1 at a first read point and a second slope m2 at a second read point, and obtaining an optimal read threshold (XLPopt) as the intersection of a first line with the first slope m1 and a second line with the second slope m2.
In an another embodiment, a computer implemented process for estimating an optimal read threshold comprises program instructions to determine a flip difference corresponding to an optimal step size Δopt, to estimate a first slope m1 at a first read point and a second slope m2 at a second read point, and to obtain an optimal read threshold (XLPopt) as the intersection of a first line with the first slope m1 and a second line with the second slope m2.
The invention can be implemented in numerous ways, including as a process; an apparatus; a system; a composition of matter; a computer program product embodied on a computer readable storage medium; and/or a processor, such as a processor suitable for execute for executing instructions stored on and/or provided by a memory coupled to the processor. In this specification, these implementations, or any other form that the invention may take, may be referred to as techniques. In general, the order of the steps of disclosed processes may be altered within the scope of the invention. Unless stated otherwise, a component such as a processor or a memory described as being suitable for performing a task may be implemented as a general component that is temporarily suitable for performing the task at a given time or a specific component that is manufactured to perform the task. As used herein, the term ‘processor’ refers to one or more devices, circuits, and/or processing cores suitable for processing data, such as computer program instructions.
A detailed description of one or more embodiments of the invention is provided below along with accompanying figures that illustrate the principles of the invention. The invention is described in connection with such embodiments, but the invention is not limited to any embodiment. The scope of the invention is limited only by the claims and the invention encompasses numerous alternatives, modifications and equivalents. Numerous specific details are set forth in the following description in order to provide a thorough understanding of the invention. These details are provided for the purpose of example and the invention may be practiced according to the claims without some or all of these specific details. For the purpose of clarity, technical material that is known in the technical fields related to the invention has not been described in detail so that the invention is not unnecessarily obscured.
The terminology used herein is for describing particular embodiments only and is not intended to be limiting of the inventive concept. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, indicate the presence of stated features, but do not preclude the presence or addition of one or more other features.
In NAND based devices, the low density parity check (LDPC) coding technique is most commonly used for improving the data integrity. In a Multi-Level Cell (MLC) NAND, two bits (least significant bit (LSB) and most significant bit (MSB)) can be programmed on the NAND. While reading back the programmed data from an MLC NAND, three estimates (one for the A threshold, one for the B threshold, one for the C threshold) are used.
In
More information about finding an optimal read threshold can be found in U.S. Pat. No. 8,923,062, titled “Generating Read Thresholds Using Gradient Descent and without Side Information,” U.S. Pat. Pub. No. 2015/0078084, titled “Generating Read Thresholds Using Gradient Descent and without Side Information,” and U.S. Pat. Pub. No. 2015/0131376, titled “Threshold Estimation Using Bit Flip Counts and Minimums,” which are incorporated herein by reference in their entirety.
One key drawback of these technique is that it can get stuck in local minima due to noisy read back data. On the NAND data, it has been observed that the read outputs for various read thresholds or the A threshold in MLC are noisy and the cell distribution for ‘11’ level is much different from the cell distribution for ‘01’ level. In this case, it is quite hard to predict the optimal read placement threshold. Thus, there is always a need for a better technique which can predict the optimal read threshold more accurately.
The problem of finding the optimal read threshold placement becomes more important in the context of a soft decoder because reads are placed around the predicted optimal read threshold to get the soft information on the written data. This soft information is further used in the LDPC decoder in the decoding procedure. If the estimation of the optimal threshold is not accurate, the soft LDPC decoder cannot improve the data integrity. Thus, it is very important to find an optimal read threshold for the hard decision decoding as well as the soft decoding.
A novel technique which can predict the optimal read thresholds accurately is disclosed, and provides performance gains close to the performance using a genie read threshold. In the genie performance, it is assumed that a genie tells the actual optimal read threshold.
Referring next to
At step 200, a bit flip count is determined for each bin in a plurality of bins. The bit flip count may be determined by (1) performing a first read on a group of solid state storage cells at a first threshold that corresponds to a lower bound for a given bin, and (2) performing a second read on the same group of solid state storage cells at a second threshold that corresponds to an upper bound for the given bin. The bit flip count is calculated based on the read back values from the first read at (1) and the second read at (2).
See, for example,
In diagram 300, for each of bins B1-B4, a corresponding bit flip count would be determined. To determine the bit flip count for bin B1, a first read is performed at threshold voltage R1 and a second read is performed at threshold voltage R2. If any of the bits flip (i.e., change) between the read at threshold voltage R1 and threshold voltage R2, then the bit flip count is incremented.
Diagram 350 shows exemplary read-back bit sequences, which are returned by the reads at threshold voltage R1 and threshold voltage R2. In this example, the group of cells being read contains four cells. The read-back values for cell 1 and cell 4 are consistently a 0 and a 1 and thus do not correspond to bit flips such that the bit flip count is not incremented.
In some embodiments, only plausible or expected bit flips are counted at step 200 in
In contrast, the bit flip shown by cell 3 is implausible. A returned value of 1 at threshold voltage R1 corresponds to a stored voltage which is less than R1 (i.e., stored-voltage (cell 3)<R1). However, the returned value of 0 at threshold voltage R2 corresponds to a stored voltage which is greater than R2 (i.e., stored-voltage (cell 3)>R2). There is no value of stored-voltage (cell 3) which satisfies both inequalities because the value cannot be both less than R1 and greater than R2. This is one example of an implausible bit flip and in some embodiments such implausible bit flips are not counted at step 200 in
Oftentimes, implausible bit flips are due to read noises and if two threshold voltages (e.g., R1 and R2) are sufficiently separated implausible bit flips will not occur. Therefore, in some embodiments, there is no differentiation between the plausible and implausible bit flips. All the bit flips are counted in such embodiments.
Returning to
Although the subscript numbering of placed thresholds (i.e., R1-R5) shown in
The system 400 may include a solid state storage 450. In one example, the solid state storage 450 includes NAND Flash. In various embodiments, the solid state storage 450 includes SLC storage where a cell stores 1 bit, multi-level cell (MLC) storage where a cell stores 2 bits, or tri-level cell (TLC) storage where a cell stores 3 bits. In some embodiments, the solid state storage 450 includes multiple types of storage (e.g., SLC storage as well as MLC storage).
In the example shown, the storage controller 401 may include a placed threshold generator 402 that generates placed thresholds. Referring to diagram 300 in
The storage controller 401 may include a storage interface 404. The storage interface 404 receives the placed thresholds from the placed threshold generator 402 and performs reads on the solid state storage 450 using the placed thresholds.
The storage controller 401 may include a bit flip calculator 406 and an optimal threshold estimator 408. The storage interface 404 may pass the read-back bit sequences to bit flip calculator 406. Diagram 350 in
In a first example described below, a minimum bin, which corresponds to the bin having the lowest bit flip count, is selected and is used to generate the estimated threshold. In a second example described below, a curve is fitted to data points corresponding to or otherwise based on the bit flip counts and the minimum of the fitted curve is used to estimate the optimal threshold.
At step 502, a minimum is determined using the bit flip counts corresponding to the plurality of bins. The minimum may be determined by determining a minimum bin corresponding to a bin having the lowest bit flip count.
Returning to
The minimum bin technique to find the optimal A, B and C thresholds will be explained.
Let Rk denote the kth read threshold. The function for ones count difference for read R1 and R2 is defined as,
1CD(R1,R2)=|#1R1−#1R2|
where #1R1 is the number of ones in the read output at read threshold R1 and #1R2 is the number of ones in the read output at read threshold R2. Herein, ones count difference is used to estimate the slope on the cell histogram, however one of skill in the art will recognize that the invention is not limited to this definition of ones count difference. For example, an XOR operation can also be used to estimate the slope on the cell histogram. The step size Δ is used to conduct reads at different read thresholds such that, for example, if two reads at read thresholds R1 and R2 are conducted with step size Δ then |R1−R2|=Δ.
In this technique, it is assumed for simplicity that the same value of the step size (Δ) is used for the A and C thresholds while reading the MSB data. However, this technique can be easily modified accordingly by choosing different step sizes ΔA and ΔC for the A and C thresholds, respectively.
The first step is to find the direction of conducting the reads. As shown in
D=−1 if B<A and A−B>T1
D=1 if B>A and B−A>T1
D=0 if |A−B|≦T1
where T1 is the stopping threshold which is chosen heuristically depending upon the NAND data. If the direction value is 0 (D=0), the technique ends and the optimal read threshold (Xminbinopt) for or the read thresholds is given as,
k
min=argmin kε(2,3)(1CD(Rk,Rk-1))
X
minbin
opt=(Rk
An embodiment for estimating an optimal read threshold is described below. If the value of D is not equal to 0, further reads are conducted to find the optimal read threshold. The read threshold at the kth time is given as
R
k
=R
k-1
+D*Δ
where Rk-1 is the read at (k−1)th time, D is the direction for conducting reads and Δ is the step size. The minimum bin (A(n)min) at the nth read (n>2) provides the minimum ones count difference value from R1 to Rn reads and is given as,
A
(n)
min=Min kε(2,n)(1CD(Rk,Rk-1))
k
min=argmin kε(2,n)(1CD(Rk,Rk-1))
As shown in
X
minbin
opt=(Rk
This minimum bin technique can be used for finding the optimal read threshold for all A, B and C thresholds.
In
In
This tradeoff effect can be observed in
A process to find an accurate estimate on the A read threshold using the minimum technique prediction and optimal step size Δopt is described below with reference to
In step 1102, the flip difference is found corresponding to the optimal step size Δopt. Let F(Rk) denote the flip difference at reads (Rk−Δopt/2) and (Rk+Δopt/2). Then F(Rk) is given as,
F(Rk)=1CD(Rk−Δopt/2,Rk+Δopt/2)/Δopt
In step 1104, slopes m1 and m2 at two read points Xminbinopt−LL and Xminbinopt+LR respectively, are estimated,
m
1=(F(Xminbinopt−LL+Δm)−F(Xminbinopt−LL))/Δm
m
2=(F(Xminbinopt+LR+Δm)−F(Xminbinopt+LR))/Δm
where the values of LL, LR and Δm are chosen heuristically depending upon the NAND.
In step 1106, the optimal read threshold estimation (XLPopt) is given as the intersection of a line with slope m1 at a read point (x1, y1) and a line with slope m2 at a read point (x2, y2),
X
LP
opt=(x2m2−x1m1+y1−y2)/(m2−m1)
where x1=Xminbinopt−LL, x2=Xminbinopt+LR, y1=F(x1) and y2=F(x2) (See
In
In
While various embodiments have been described above, it will be understood to those skilled in the art that the embodiments described are examples only. Accordingly, the data storage device and the operating method thereof described herein should not be limited based on the described embodiments.
This application claims priority to U.S. Provisional Patent Application No. 62/077,606 entitled “OPTIMAL READ THRESHOLD PLACEMENT FOR MLC NAND” filed Nov. 10, 2014, the contents of which is incorporated herein by reference for all purposes.
Number | Date | Country | |
---|---|---|---|
62077606 | Nov 2014 | US |