Skip to main content

Verify level control criteria for multi-level cell flash memories and their applications

Abstract

In 1M-bit/cell multi-level cell (MLC) flash memories, it is more difficult to guarantee the reliability of data as M increases. The reason is that an M-bit/cell MLC has 2M states whereas a single-level cell (SLC) has only two states. Hence, compared to SLC, the margin of MLC is reduced, thereby making it sensitive to a number of degradation mechanisms such as cell-to-cell interference and charge leakage. In flash memories, distances between 2M states can be controlled by adjusting verify levels during incremental step pulse programming (ISPP). For high data reliability, the control of verify levels in ISPP is important because the bit error rate (BER) will be affected significantly by verify levels. As M increases, the verify level control will be more important and complex. In this article, we investigate two verify level control criteria for MLC flash memories. The first criterion is to minimize the overall BER and the second criterion is to make page BERs equal. The choice between these criteria relates to flash memory architecture, bits per cell, reliability, and speed performance. Considering these factors, we will discuss the strategy of verify level control in the hybrid solid state drives (SSD) which are composed of flash memories with different number of bits per cell.

Introduction

Flash memory is now the fastest growing memory segment, driven by the rapid growth of mobile devices and solid state drives (SSD). To satisfy the market demand for lower cost per bit and higher density of nonvolatile memory, there are two approaches: (1) technology scaling, (2) multi-level cell (MLC)[14].

As the technology continues to scale down, flash memories suffer from more severe physical degradation mechanisms such as cell-to-cell interference (coupling) and charge leakage[5, 6]. In addition, M-bit/cell MLC flash memories have 2M states within the threshold voltage window whereas the single-level cell (SLC) has only two states. Therefore, the reliability of stored data is an important challenge for high density flash memories.

In order to cope with this reliability problem, many approaches have been proposed. The incremental step pulse programming (ISPP), which is the most widely used programming scheme, was proposed to maintain a tight cell threshold voltage distribution for high reliability[7, 8]. ISPP is a program and verify strategy with a stair case program voltage V pp as illustrated in Figure1, where ΔV pp is the incremental step size. During each program and verify cycle, the floating gate threshold voltage is first boosted by up to ΔV pp and then compared with the corresponding verify level. If the threshold voltage of the memory cell is still lower than the verify level, the program and verify iteration continues. Otherwise, further programming of this cell is disabled[710].

Figure 1
figure 1

Program pulses in ISPP. A verify operation is carried out after each pulse. ΔV pp is the incremental step size of the program pulse. Vpp 0is the initial value of the program pulse. Tverify is the verify read time. Tpulse is the program pulse width[10].

Therefore, positions of program states (except the erase state) are determined by verify levels and the tightness of each program state depends on the incremental step size ΔV pp . By reducing ΔV pp , the cell threshold voltage distribution can be made tighter, but the programming time will increase[7, 8]. In brief, ISPP can control both the distances between states by verify levels and the tightness of program states by the incremental step size.

For SLC, determining the verify level of the programming state is a simple problem because there is only one program state and the margin between the erase state and the program state is sufficiently large so that small changes in the margin will not change the error rates noticeably. However, the verify level control issue for M-bit/cell flash memories is more important and complex than that for SLC. This is because 2M states have to be crammed within the given constrained threshold voltage window W . More states will significantly reduce the margin between states and bit error rates (BER) will vary in response to small changes in verify levels. Furthermore, the number of verify levels which ISPP has to control increases from 1 (for SLC) to 2M−1 (for M-bit/cell MLC). In addition, as explained in the following, the multipage architecture of MLC flash memories makes verify level control more complex than SLC.

Most MLC flash memories adopt the multipage architecture. The important property of the multipage architecture is that different bits of a single cell are assigned into different pages[1015]. Therefore, BERs of each page can be different. As a page is the unit of data that is programmed and read at one time, the error control coding (ECC) should be applied within the same page. It means that each page is composed of one or several codewords. Therefore, ECC has to be designed for the worst page BER and this leads to wasted redundancy for the other (i.e., better) pages. This uneven page BER problem is an important and practical issue and there have been several attempts to deal with it[1115].

To deal with this different page BERs issue, we investigate two verify level control criteria for MLC flash memories. The first criterion is to minimize the overall BER. The second criterion is to make all page BERs equal[14]. These two criteria will be formulated as convex optimization problems. After solving these optimization problems, we will compare the numerical results from two criteria. In addition, the advantages and disadvantages of the two criteria will be discussed based on reliability, speed performance, and architecture of MLC flash memories. To the best of authors’ knowledge, the convex optimization approach for verify levels of ISPP has not been addressed in the open literature though experimental approaches could be investigated in industry.

An interesting way to combine the speed advantage of SLC and the cost advantage of MLC is to use a hybrid solid state drive (SSD) that judiciously uses both SLC and MLC flash memories. The basic idea of hybrid SSD is to complement the drawbacks of SLC and MLC with each other’s advantages[1619]. Based on the architecture of the hybrid SSD and properties of the proposed verify level control criteria, we propose a strategy to apply the proper verify level control criterion for the hybrid SSD. This strategy is aimed at both reliability and speed performance.

The rest of this article is organized as follows: Section “Cell threshold voltage distribution” discusses the cell threshold voltage distribution under the assumption of a Gaussian mixture model (GMM). Based on this statistical model, the overall BER and the page BER are derived. Sections “Criteria for verify level control” and “ECC and flash memories of multipage architecture” address verify level control criteria and discuss their advantages and disadvantages for various MLCs (M = 2 4) considering multipage architecture and ECC. Section “Hybrid SSD and strategy for verify level control” proposes a method to choose these criteria for the hybrid SSD based on reliability and speed performance. Finally, Section “Conclusion” concludes this article.

Cell threshold voltage distribution

In M-bit/cell flash memory, the cell threshold voltage distribution is composed of 2M states from S0 (the erase state) to S2M−1 (the highest state). Even though there are tail cells and asymmetry in cell distributions, the cell threshold voltage distribution of flash memories could be approximated as a sum of Gaussian distributions[6, 20, 21]. Therefore, we will model the cell threshold voltage distribution f(x) by the following GMM.

f ( x ) = i = 0 2 M 1 P ( S i ) f i ( x ) = 1 2 M i = 0 2 M 1 1 2 Π σ i exp ( x μ i ) 2 2 σ i 2
(1)

where x refers to the threshold voltage and f i (x) is a Gaussian pdf with mean μ i and standard deviation σ i corresponding to the state S i . P(S i ) is the probability of the state S i . If data size is sufficiently large and a scrambler is used, then we can assume thatP( S 0 )P( S 2 M 1 ) 1 2 M with high probability.

Figure2 shows the cell distribution of 2-bit/cell flash memories. There are four states from S0 (the erase state) to S3(the highest state) within the constrained voltage window W . The constrained voltage window W is the distance between the mean of the erase state and the mean of the highest state, which is given by

Figure 2
figure 2

Cell threshold voltage distribution for 2-bit/cell flash memories. There are four states from S0 to S3. Each state S i can be modeled by the distribution f i .

W= μ 2 M 1 μ 0 .
(2)

The overall BER (i.e., BERoverall) is the total number of erroneous bits divided by the total number of data bits which contains data of all pages. If the Gray mapping is used, there is only one bit difference between S i and Si + 1. For example, in 2-bit/cell MLC, states S0, S1, S2, and S3 denote bit patterns 11, 10, 00, and 01. Probabilities that cells are misread as states which are more than two states away from the original state are much smaller than probabilities of cells being misread as adjacent states and thus are negligible. Therefore, the overall BER can be expressed as

BER overall = 1 M 2 M i = 0 2 M 2 Q Δ i , 1 σ i , 1 + Q Δ i + 1 , 0 σ i + 1 , 0
(3)

where Δi,1 is the distance from μ i to Di,i + 1 and Δi + 1,0 is the distance from μi + 1 to Di,i + 1. Di,i + 1 is the optimal decision level between S i and Si + 1, which satisfies the condition of f i (Di,i + 1) = fi + 1(Di,i + 1)[2224]. In addition, σi,0 and σi,1 are used separately for convenience although σi,0= σi,1= σ i . The tail probability function Q(x) is defined as

Q(x)= x 1 2 Π exp t 2 2 dt.
(4)

If we change the index of Δi,jinto Δ k and σi,j into ρ k by k =2 i + j, (3) can be rewritten as

BER overall = 1 M 2 M k = 1 2 2 M 1 Q Δ k ρ k
(5)

where all Δ k s are positive since it is natural that μi + 1> μ i .

Most MLC flash memories adopt multipage architectures[10]. In this multipage architecture, ECC encoding and decoding are performed within each page. This means that pages with higher BERs will suffer from worse decoding failure rate. Therefore, the BER of each page could be more important than the overall BER in terms of ECC[11, 1315].

The page BER (i.e., the BER of each page) depends on the mapping scheme that converts a state level to corresponding bit representation. We will define BERpage mas the BER of page m. For example, if the 2-bit/cell flash memory adopts the Gray mapping of Table1, the data of page 1 are obtained by one read operation between S1 and S2. Therefore, the BER of page 1 is determined by f1(x) and f2(x). In order to read the data of page 2, two read operations (one between S0 and S1, and another between S2 and S3) are required. Then the BER of page 2 is determined by f0(x) and f1(x), f2(x), and f3(x). Therefore, page BERs for 2-bit/cell are given by

BER page 1 = 1 4 Q Δ 1 , 1 σ 1 , 1 + Q Δ 2 , 0 σ 2 , 0 , BER page 2 = 1 4 Q Δ 0 , 1 σ 0 , 1 + Q Δ 1 , 0 σ 1 , 0 + Q Δ 2 , 1 σ 2 , 1 + Q Δ 3 , 0 σ 3 , 0 .
(6)
Table 1 Gray mapping for 2-bit/cell flash memories

By the same method, page BERs for 3-bit/cell adopting the Gray mapping of Table2 are given by

BER page 1 = 1 8 Q Δ 3 , 1 σ 3 , 1 + Q Δ 4 , 0 σ 4 , 0 , BER page 2 = 1 8 Q Δ 1 , 1 σ 1 , 1 + Q Δ 2 , 0 σ 2 , 0 + Q Δ 5 , 1 σ 5 , 1 + Q Δ 6 , 0 σ 6 , 0 , BER page 3 = 1 8 Q Δ 0 , 1 σ 0 , 1 + Q Δ 1 , 0 σ 1 , 0 + Q Δ 2 , 1 σ 2 , 1 + Q Δ 3 , 0 σ 3 , 0 + Q Δ 4 , 1 σ 4 , 1 + Q Δ 5 , 0 σ 5 , 0 + Q Δ 6 , 1 σ 6 , 1 + Q Δ 7 , 0 σ 7 , 0 .
(7)
Table 2 Gray mapping for 3-bit/cell flash memories

Similarly, page BERs for 4-bit/cell or more could be derived from the mapping scheme provided.

The overall BER of (3) can be expressed as the mean of page BERs, which is given by

BER overall = 1 M m = 1 M BER page m .
(8)

The distance between the means of S i and Si + 1 is μi + 1μ i = Δi,1 + Δi + 1,0. We will term μi + 1μ i as the distance from S i to Si + 1, and the distance from S i to Si + 1 will be determined by Δi,1and Δi + 1,0. For all states, we will define two parameters as follows.

Δ = Δ 1 , , Δ 2 2 M 1
(9)
ρ = ρ 1 , , ρ 2 2 M 1
(10)

where Δ k = Δi,jand ρ k = σi,j by k = 2i + j. Therefore, Δ and ρ will represent the all distances between states and the tightness of program states, respectively, and they will determine the overall BER and the page BERs. In the ISPP scheme, Δ can be controlled by verify levels and ρ by the incremental step size. In the following section, we will propose criteria for verify level control, which means how to determine Δ at the given ρ .

Criteria for verify level control

We investigate two verify level control criteria. The first criterion is to minimize the overall BER, which is aimed at only reliability. The second criterion is to make page BERs equal considering both the reliability and the multipage architecture. These two criteria will be formulated as optimization problems. If the parameters of W(=μ2M−1μ0) and ρ are given, Δ = Δ 1 , , Δ 2 2 M 1 will be the variables of optimization problems.

We will show that the proposed criteria for verify level control are convex optimization problems. Therefore, the (globally) optimal solution can be efficiently found using numerical optimization techniques and the interior-point method was used to obtain the numerical results[25]. Also, mathematical conditions for the optimal solutions of these criteria are derived.

Criterion 1: minimize overall BER

The first criterion is to minimize the overall BER. This criterion 1 for M-bit/cell flash memories can be formulated as follows.

minimize Δ g 1 Δ = k = 1 2 2 M 1 Q Δ k ρ k subject to k = 1 2 2 M 1 Δ k = W Δ k 0 , k = 1 , , 2 2 M 1
(11)

where g 1 Δ =M 2 M · BERoverall by (5).

The cost function g1(·) is a nonnegative weighted sum of Q(·). From (4), the second derivative of Q(·) is given by

d 2 Q ( x ) d x 2 = x 2 Π exp x 2 2 0forx0.
(12)

Since Δ k is the distance and ρ k is the standard deviation, all Δ k s and ρ k s are always positive. Therefore, (11) is a convex optimization problem and can be solved by several numerical methods[25].

We will define the Lagrangian G1 as follows.

G 1 ( Δ ,λ, η )= g 1 +λ k = 0 2 ( 2 M 1 ) Δ k W + k = 1 2 ( 2 M 1 ) η k ( Δ k )
(13)

where η = η 1 , , η 2 2 M 1 . The optimal solution of (11) has to satisfy the following Karush-Kuhn-Tucker (KKT) conditions[25].

η k 0 , k = 1 , , 2 2 M 1 η k ( Δ k ) = 0 , k = 1 , , 2 2 M 1 G 1 = 0
(14)

Since all Δ k s are positive, η k = 0 for all k by (14), which results from complementary slackness. Therefore, the optimal solution will satisfy the following condition from (13) and (14).

G 1 Δ k = 1 2 Π ρ k exp Δ k 2 2 ρ k 2 + λ = 0 , k = 1 , , 2 2 M 1 .
(15)

From (15), the optimal solution has to satisfy the following condition in order to minimize the overall BER.

f 0 μ 0 + Δ 0 , 1 = f 1 μ 1 Δ 1 , 0 = = f 2 M 1 μ 2 M 1 Δ 2 M 1 , 0 = λ
(16)

Figure3 illustrates the condition of (16) for minimizing the overall BER. In addition, Figure3 shows that the decision level Di,i + 1 satisfies the condition f i (Di,i + 1) = fi + 1(Di,i + 1) which corresponds to the definition of the optimal decision level[2224].

Figure 3
figure 3

Example of criterion 1 for 2-bit/cell. This example illustrates the condition which minimizes the overall BER.

If variances for all states are equal (i.e., σ k 2 = σ 2 ), then all Δ k s becomeΔ= W 2 2 M 1 from (11) and (15). In this case, the BER of page m (1 ≤ mM) is given by

BER page m = 1 2 M m ·Q Δ σ .
(17)

(17) shows that BERpage m+1 will be twice BERpage m if variances for all states are same. When M = 2, BERpage 1 = 1 2 ·Q Δ σ and BERpage 2 = Q Δ σ . From (8), BERoverall = 3 4 ·Q Δ σ . Figure 4 shows BERpage 1, BERpage 2, and BERoverall as a function of σ for 2-bit/cell flash memories. From (17), it is seen that the ratio of page BERs for 3-bit/cell is 1:2:4. For 4-bit/cell flash memories, the ratio of page BERs will be 1:2:4:8 [1115]. Therefore, using criterion 1 makes the difference between page BERs larger as M increases.

Figure 4
figure 4

BER of 2-bit/cell flash memories using Criterion 1. The constrained voltage window W is assumed to be 5.

In addition, the difference between page BERs from criterion 1 could increase if variances for states are not equal. For example, it is possible that the erase state S0 has wider distribution than other program states since the cell threshold voltage distribution of the erase state is not controlled as tightly as other program states by ISPP[8]. In this case, more errors will occur between S0 and S1, which results in the increase of the last page BER (BERpage M) in the Gray mapping schemes of Tables13. Table4 shows the increase of the difference between page BERs. In Table4, we assumed that the standard deviation of the erase state (S0) is σ0 and standard deviations of other program states (S1S3) are same as σ. As the erase state distribution becomes broader, criterion 1 will lead to more difference between page BERs.

Table 3 Gray mapping for 4-bit/cell flash memories
Table 4 BER page 2 /BER page 1 for 2-bit/cell flash memories ( W = 5)

Criterion 2: make page BERs equal

The second criterion is to make the page BERs equal[14]. In addition, the overall BER has to be made as small as possible. Therefore, this criterion 2 for M-bit/cell flash memories can be formulated as follows.

minimize Δ , ε g 2 = ε subject to k = 1 2 2 M 1 Δ k = W h m Δ ε , m = 1 , , M Δ k 0 , k = 1 , , 2 2 M 1
(18)

where h m Δ = 2 M · BERpage m. Therefore, from the constraints of this optimization problem, ε will represent the maximum value among all page BERs. While trying to minimize ε, we can find the optimal solution which minimizes the overall BER among candidates satisfying the following condition.

BER page 1 BER page 2 BER page M BER overall ε 2 M
(19)

In other words, even though the formulation in (18) does not explicitly set the page BERs to be identical, it implicitly minimizes the difference between all page BERs. Intuitively, if BERpage m is higher than other page BERs, the optimization in (18) will try to reduce BERpage m and make it as close to other page BERs as possible.

(18) is a convex optimization problem since h m Δ is a nonnegative weighted sum of convex function Q(·). The convex property of Q(·) was shown in (12). Therefore, the optimal solution can be obtained by several numerical methods.

The Lagrangian G2associated with (18) is given by

G 2 ( Δ , λ , η ) = g 2 + λ 0 · Δ k W + m = 1 M λ m h m ε + k = 1 2 ( 2 M 1 ) η k ( Δ k )
(20)

where λ = λ 0 , , λ 2 2 M 1 and η = η 1 , , η 2 2 M 1 . The optimal solution of (18) has to satisfy the following KKT conditions.

λ m 0 , m = 1 , , M λ m h m ε = 0 , m = 1 , , M η k 0 , k = 1 , , 2 2 M 1 η k ( Δ k ) = 0 , k = 1 , , 2 2 M 1 G 2 = 0
(21)

As discussed in criterion 1, all η k s will be zero due to complementary slackness of (21).

Figure5 shows how criterion 2 works for 2-bit/cell flash memories. In order to make page BERs equal, |μ2μ1| = Δ3 + Δ4 of criterion 2 has to be reduced compared to that of criterion 1. Meanwhile, |μ1μ0| = Δ1 + Δ2 and |μ3μ2| = Δ5 + Δ6 will be larger than those of criterion 1.

Figure 5
figure 5

Example of criterion 2 for 2-bit/cell. This example illustrates the condition which makes page BERs equal and minimizes the overall BER as far as possible.

From (21), we can obtain following conditions for the optimal solution of 2-bit/cell flash memories.

G 2 ε = 1 λ 1 λ 2 = 0 , G 2 Δ i = λ 0 + λ 1 · 1 2 Π ρ i exp Δ i 2 2 ρ i 2 = 0 , i = 3 , 4 , G 2 Δ j = λ 0 + λ 2 · 1 2 Π ρ j exp Δ j 2 2 ρ j 2 = 0 , j = 1 , 2 , 5 , 6
(22)

If one of λ s (for m = 0,…,M) is zero, then all λ m s should be zero since G 2 Δ k =0 and 1 2 Π ρ k exp Δ k 2 2 ρ k 2 >0 for all k. However, if all λ m s are zero, the condition of 1−λ1λ2 = 0 in (22) cannot hold. Therefore, we can see that λ m ≠ 0, which results in h m ε = 0 by KKT conditions of (21). It means that all page BERs will be equal for the optimal solution of (18) h m Δ = 2 M · BER page m .

Taking into account the aforementioned discussions, the conditions of (22) can be modified by

λ 1 + λ 2 = 1 , 1 2 Π ρ i exp Δ i 2 2 ρ i 2 = λ 0 λ 1 , i = 3 , 4 , 1 2 Π ρ j exp Δ j 2 2 ρ j 2 = λ 0 λ 2 , j = 1 , 2 , 5 , 6
(23)

which are illustrated in Figure5.

Figure6 shows the numerical results of criterion 2 for 2-bit/cell flash memories when variances for all states are equal to σ. All page BERs and the overall BER are made equal by criterion 2. Even if variances for all states are not equal, the optimal solution can be obtained by the same method.

Figure 6
figure 6

BER of 2-bit/cell flash memories using Criterion 2. The constrained voltage window W is assumed to be 5.

It is worth mentioning that the overall BER from criterion 2 is worse than that from criterion 1. The reason is that the overall BER increases when we try to make page BERs equal. Figure7 shows the degradation of the overall BER from criterion 2 compared to criterion 1 for 2-bit/cell flash memories. In order to measure this degradation, we will define the degradation ratio γ given by

γ= BER overall from criterion 2 BER overall from criterion 1 .
(24)
Figure 7
figure 7

Comparison between the overall BER from the two criteria. The constrained voltage window W is assumed to be 5.

Figure8 shows the degradation ratio γ for 2-bit/cell, 3-bit/cell and 4-bit/cell flash memories where we assume that variances for all states are same. For 2-bit/cell, γ is about 1.05, which means that the degradation of the overall BER is 5 %. Meanwhile, the degradation of 3-bit/cell is about 14 % (γ ≈ 1. 14) and the degradation of 4-bit/cell is about 25 % (γ ≈ 1. 25). These results reveal that equalizing page BERs causes an increase of the overall BER.

Figure 8
figure 8

Degradation ratio γ for 24-bit/cell flash memories. The constrained voltage window W is assumed to be 5.

Verify level control criteria and charge leakage

After programming data into flash memories, the cell threshold voltage distribution can change because of charge leakage. The cell threshold voltage distribution change due to charge leakage can be modeled as a change in the mean and the variance of the distributions, i.e.,[6]

μ post = μ pre + μ shift , σ post 2 = σ pre 2 + σ shift 2 ,
(25)

where μpre and σ pre 2 are the mean and the variance before charge leakage. μpost and σ post 2 are the mean and the variance after charge leakage. μshift and σ shift 2 are the mean and the variance of threshold voltage shift by charge leakage. μshift and σ shift 2 depend on the program and erase (P/E) cycle count, retention time and temperature[6].

The proposed verify level control criteria should be applied based on μpost and σ post 2 because μpost and σ post 2 will determine the BER of flash memories. Therefore, we have to control μpre and σ pre 2 considering the amount of μshift and σ shift 2 . Basically, μpre and σ pre 2 can be controlled by verify levels and the incremental step size ΔV pp of ISPP though physical mechanisms such as cell-to-cell interference, program disturbance, and background pattern dependency also affect μpre and σ pre 2 [5, 7, 8].

Via chip testing, we can measure the amount of μshift and σ shift 2 as a function of P/E cycle count and retention time[6]. However, the allowable maximum values of μshift and σ shift 2 are generally used because ECC has to be designed to guarantee the reliability even in the worst case, which is also called end-of-life (EOL). EOL assumes the allowable maximum P/E cycle count and the allowable maximum retention time. Therefore, it is a practical method to apply the proposed verify level control criteria based on μpost and σ post 2 of EOL. In this case, μpost and σ post 2 should be used to formulate the convex optimization problems shown in (11) and (18). Other than this minor modification, no additional change is required for our proposed mathematical formulations.

Verify level control criteria and other statistical distributions

We will extend these proposed verify level control criteria for other distributions. Suppose that the threshold voltage distribution of each state S i can be approximated as an arbitrary distribution ϕ i (x) which has a maximum value at x = ν i (i.e., ν i is the mode of ϕ i (x)). Instead of (2), the constrained voltage window W will be defined by

W= ν 2 M 1 ν 0 .
(26)

The distance between S i and Si + 1 will be defined as νi + 1ν i instead of μi + 1μ i and it is assumed that νi + 1> ν i for all i. In the case of Gaussian distributions, μ i and ν i are same.

Then, the error probability between S i and Si + 1(i.e., Ei,i + 1) is given by

E i , i + 1 = P ( S i ) · ν i + Δ i , 1 ϕ i ( t ) dt + P ( S i + 1 ) · ν i + 1 Δ i + 1 , 0 ϕ i + 1 ( t ) dt
(27)

where P(S i ) is the probability of S i . In addition, Δi,1 is the distance from ν i to Di,i + 1 and Δi + 1,0 is the distance from νi + 1 to Di,i + 1. Di,i + 1 is the decision level between S i and Si + 1.

Since ν i and νi + 1 of (27) are also variables which are determined by Δ = Δ 1 , , Δ 2 2 M 1 , we will modify (27) as follows.

E i , i + 1 = P ( S i ) · ν 0 + Δ i , 1 ϕ i , ( t ) dt + P ( S i + 1 ) · ν 2 M 1 Δ i + 1 , 0 ϕ i + 1 , + ( t ) dt
(28)

where ϕi,−(t) = ϕ i (t + (ν i ν0)) and ϕi + 1, +(t) = ϕi + 1(t−(ν2M−1νi + 1)). ν0 and ν2M−1 are fixed value by (26).

The overall BER and the page BERs of M-bit/cell MLC flash memories are nonnegative weighted sums of Ei,i + 1 for i = 0,…,2M−2. Therefore, if Ei,i + 1 is a convex function of Δi,1and Δi + 1,0, the proposed verify level control criteria will be convex optimization problems.

The Hessian matrix of Ei,i + 1is given by

2 E i , i + 1 = 2 E i , i + 1 Δ i , 1 2 2 E i , i + 1 Δ i , 1 Δ i + 1 , 0 2 E i , i + 1 Δ i + 1 , 0 Δ i , 1 2 E i , i + 1 Δ i + 1 , 0 2 = P ( S i ) · d ϕ i , ( ν 0 + Δ i , 1 ) d Δ i , 1 0 0 P ( S i + 1 ) · d ϕ i + 1 , + ( ν 2 M 1 Δ i + 1 , 0 ) d Δ i + 1 , 0 = P ( S i ) · ϕ i , ( ν 0 + Δ i , 1 ) 0 0 P ( S i + 1 ) · ϕ i + 1 , + ( ν 2 M 1 Δ i + 1 , 0 ) .
(29)

If ϕ i , ( ν 0 + Δ i , 1 ) = ϕ i ( ν i + Δ i , 1 ) 0 and ϕ i + 1 , + ( ν 2 M 1 Δ i + 1 , 0 ) = ϕ i + 1 ( ν i + 1 Δ i + 1 , 0 ) 0 (i.e., 2Ei,i + 1 is positive semidefinite), Ei,i + 1 is a convex function. Therefore, the conditions of ϕ i (x) for convex optimization problems are given by

ϕ 0 ( x ) 0 for x > ν 0 , ϕ i ( x ) 0 for x < ν i and ϕ i ( x ) 0 for x > ν i , i = 1 , , 2 M 2 ϕ 2 M 1 ( x ) 0 for x < ν 2 M 1 ,
(30)

which mean that ϕ i (x) should be a unimodal distribution for convex optimization.

Since the measured threshold voltage distributions of recent flash memory products[24] are unimodal, the proposed verify level control criteria can be effectively applied to flash memories. In addition, the proposed verify level control criteria can be applied to other memories such as phase change memory (PCM) because the measured distributions of PCM in literature seem to be unimodal[2628]. Especially,[26] claims that the distributions of PCM could be approximated by the log-normal distribution in spite of the anomalous tail. Therefore, our proposed verify level control criteria are expected to be useful in PCM.

ECC and flash memories of multipage architecture

When algebraic ECC such as Bose, Chaudhuri, and Hocquenghem (BCH) codes are used in a binary symmetric channel (BSC) with bit error probability p, the word error rate (WER) is given by

WER(p) i = t + 1 n n i p i 1 p n i
(31)

where n is the codeword length and t is the error correcting capability. The bound becomes an equality when the decoder corrects all combinations of errors up to and including t errors, but no combinations of errors greater than t (i.e., bounded distance decoder)[29, 30]. In this article, the bounded distance decoder will be considered. Once ECC parameters such as n and t are selected, the WER is a function of only p.

Though errors in flash memories are generally not symmetric, the asymmetric component of errors could be minimized if the decision level are selected appropriately[2224]. For example, for 2-bit/cell flash memories, the errors of page 1 will be symmetric if we select the decision level D ̂ 1 , 2 between S1 and S2 which makesQ Δ 1 , 1 σ 1 , 1 =Q Δ 2 , 0 σ 2 , 0 in (6). Similarly, the errors of page 2 can be symmetric if we choose the decision levels D ̂ 0 , 1 and D ̂ 2 , 3 which makeQ Δ 0 , 1 σ 0 , 1 =Q Δ 1 , 0 σ 1 , 0 andQ Δ 2 , 1 σ 2 , 1 =Q Δ 3 , 0 σ 3 , 0 in (6).

In the case of σ i = σi + 1, the decision level D ̂ i , i + 1 which makes the errors symmetric is equal to the optimal decision level Di,i + 1 as follows.

D i , i + 1 = D ̂ i , i + 1 = 1 2 μ i + μ i + 1
(32)

Although σ i σi + 1, if σ i is not substantially different from σi + 1, the difference between Di,i + 1 and D ̂ i , i + 1 is almost negligible[22]. Therefore, the BER based on D ̂ i , i + 1 is similar to that based on Di,i + 1. Considering these, we will use (31) to calculate the WER of flash memories[31].

In most of flash memories, program and read operations are performed in page units[10]. Therefore, ECC encoding and decoding are also performed in page units[1315]. It means that the WER of each page depends on each page BER which corresponds to p in (31). Therefore, the overall WER is given by

WER overall = 1 M m = 1 M WER BER page m
(33)

where WER(BERpage m) is the WER of page m.

Theorem 1

If0<=p<= t n 1 , then WER(p) of (31) is a convex function of p.

Proof

WER(p) of (31) can be computed from the incomplete beta function I x (a b)[32].

WER ( p ) = I p ( t + 1 , n t ) = ( n t ) n t 0 p x t 1 x n t 1 dx

The second derivative of WER(p) is given by

d 2 WER ( p ) d p 2 = ( n t ) n t p t 1 1 p n t 2 t p ( n 1 ) .

Therefore, d 2 WER ( p ) d p 2 >=0 when0<=p<= t n 1 . □

Generally, the operation range of ECC satisfies the condition of0<=p<= t n 1 . By the convex property of WER(p) and (33), the following equation holds.

WER 1 M m = 1 M BER page m 1 M m = 1 M WER BER page m
(34)

(3) reveals that the overall WER would be improved by interleaving. If the interleaver is applied for the whole data from page 1 to page M, all page BERs will be averaged into the overall BER of (8) and the overall WER would be improved according to (34). In other words, minimizing the overall BER (i.e., criterion 1) is preferred over achieving identical page BERs (i.e., criterion 2), if interleaving is applied.

Actually, the application of interleaving and similar ideas have been proposed in order to resolve the uneven page BER problem and improve the reliability[11, 12]. However, the adoption of interleaving will slow down the program and read speed performance because the interleaver should wait to collect at least M pages data before program and read operation in the multipage architecture. Especially, random speed performance would be more degraded than sequential speed performance when employing an interleaver (see Section “Hybrid SSD and strategy for verify level control”).

Therefore, criterion 2 could be a practical alternative for flash memories because it does not degrade the speed performance and exhibits only slight degradation of the overall BER as shown in Figure8. In addition, criterion 2 does not require large memory buffer for interleaving. Figure9 shows that the overall WER from criterion 2 is much better than that of criterion 1 without interleaving and only slightly worse than that of criterion 1 with interleaving for 2-bit/cell flash memories.

Figure 9
figure 9

Comparison between the overall WER from criterion1 and from criterion 2 for 2-bit/cell. The BCH code (n = 8752, k = 8192, t = 40) is applied. The constrained voltage window W is assumed to be 5.

However, the WER degradation of criterion 2 will increase as M increases as shown in Figure10. The reason is that the overall BER from criterion 2 will be much worse than that from criterion 1 for large M as shown in Figure8. Therefore, criterion 2 would not be appropriate for large M in terms of the reliability.

Figure 10
figure 10

Comparison between the overall WER from criterion1 and from criterion 2 for 2-bit/cell, 3-bit/cell and 4-bit/cell. The BCH code (n = 8752, k = 8192, t = 40) is applied. The constrained voltage window W is assumed to be 5.

Hybrid SSD and strategy for verify level control

In order to reduce the cost of SSD and maintain the speed performance and the durability, the hybrid SSD has been proposed[16, 17]. The basic idea is to use both SLC flash memories and MLC (usually 2-bit/cell) flash memories. The SLC flash memory has an edge over the MLC flash memory in terms of the speed performance and the durability. However, the MLC flash memory is cheaper than the SLC flash memory. Therefore, combining them can allow both types of flash memories to complement each other[1619].

Recently, many flash translation layer (FTL) mapping schemes classify incoming data into hot and cold based on the access frequency and size. If a data is updated frequently, it is referred to as hot, and otherwise cold. Generally, small data are accessed more often, and they are classified as hot data. Meanwhile, cold data correspond to bulk writes at low frequencies[16, 18]. The speed performance of SSD is classified into random speed performance and sequential speed performance. The random speed performance is measured in input/output operations per second (IOPS) and the sequential speed performance is measured by transfer rate or throughput such as MB/sec[33]. Considering the characteristics of hot and cold data, we see that the random speed performance is a pivotal factor for hot data and the sequential speed performance is important for cold data.

Figure11 illustrates the architecture of the hybrid SSD. In this architecture, the hot and cold detection module separates hot data from cold ones dynamically and directs them either to SLC or MLC based on the decision. Before SLC flash memories run out of free blocks, the hybrid SSD performs garbage collection to merge valid cold data of SLC and move them into MLC[18].

Figure 11
figure 11

The architecture of the hybrid SSD [18]. The hot and cold detection module separates hot data from cold ones dynamically.

Based on this architecture of the hybrid SSD, we propose that criterion 1 with interleaving is suitable for storing cold data in MLC because the interleaving would have only a small impact on the sequential speed performance for the cold data access and the garbage collection. Of course, we do not need to consider the verify level control criterion for SLC.

In addition, we can anticipate a lower cost and high density hybrid SSD which combines two types of MLC flash memories. For example, 2-bit/cell may replace SLC and 4-bit/cell may be used in place of 2-bit/cell. Unlike the conventional hybrid SSD which combines SLC and MLC of 2-bit/cell, we have to consider the verify level control criterion for both hot and cold data. We propose that criterion 2 will be appropriate for 2-bit/cell flash memories which mainly deal with hot data. For 4-bit/cell which usually stores cold data, criterion 1 with interleaving will be suitable considering the sequential speed performance and the reliability.

Conclusion

In this article, we investigated the verify level control criteria of ISPP for MLC flash memories. These criteria are formulated and solved by convex optimization. Criterion 1 can minimize the overall BER, however it requires interleaving in multipage architecture which reduces the speed performance. Criterion 2 is suitable for multipage architecture especially for 2-bit/cell flash memories. The problem of criterion 2 is that the error rate degradation will increase for more bits per cell.

Based on these advantages and disadvantages of verify level criteria, we investigated the application of verify level control criteria for the hybrid SSD. By selecting the proper criterion considering the architecture of the hybrid SSD, we can achieve both reliability and speed performance.

The verify level control criteria and the proposed formulation of optimization problems can be extended to other emerging memories such as PCM which are modeled by unimodal distributions.

References

  1. Prall K: Scaling non-volatile memory below 30nm,. IEEE 22nd Non-Volatile Semiconductor Memory Workshop pp. 5–10 (2007)

    Google Scholar 

  2. Park K-T, Kwon O, Yoon S, Choi M-H, Kim I-M, Kim B-G, Kim M-S, Choi Y-H, Shin S-H, Song Y, Park J-Y, Lee J-E, Eun C-G, Lee H-C, Kim H-C, Lee J-H, Kim J-Y, Kweon T-M, Yoon H-J, Kim T, Shim D-K, Sel J, Shin J-Y, Kwak P, Han J-M, Kim K-S, Lee S, Lim Y-H, Jung T-S: A 7MB/s 64Gb 3-bit/cell DDR NAND flash memory in 20nm-node technology,. ISSCC Dig. Tech Papers pp. 212–213 (2011)

    Google Scholar 

  3. T Kim S-D, Lee J, Park H, Cho B, You K, Baek J, Lee C, Yang M, Yun M, Kim J, Kim E, Jang H, Chung S, Lim B-S, Han Y-H, Koh A: 32Gb MLC NAND flash memory with Vth margin-expanding schemes in 26nm CMOS,. ISSCC Dig. Tech Papers pp. 202–204 (2011)

    Google Scholar 

  4. Trinh C, Shibata N, Nakano T, Ogawa M, Sato J, Takeyama Y, Isobe K, Le B, Moogat F, Mokhlesi N, Kozakai K, Hong P, Kamei T, Iwasa K, Nakai J, Shimizu T, Honma M, Sakai S, Kawaai T, Hoshi S, Yuh J, Hsu C, Tseng T, Li J, Hu J, Liu M, Khalid S, Chen J, Watanabe M, Lin H, et al.: A 5.6MB/s 64Gb 4b/cell, NAND flash memory in 43nm CMOS,. ISSCC Dig. Tech. Papers pp. 245–246 (2009)

    Google Scholar 

  5. Lee J-D, Hur S-H, Choi J-D: Effects of floating-gate interference on NAND flash memory cell operation. IEEE Electron. Device Lett 2002, 23(5):264-266.

    Article  Google Scholar 

  6. Mielke N, Belgal H, Kalastirsky I, Kalavade P, Kurtz A, Meng Q, Righos N, Wu J: Flash EEPROM threshold instabilities due to charge trapping during program/erase cycling. IEEE Trans. Device Mater. Reliab 2004, 4(3):335-344. 10.1109/TDMR.2004.836721

    Article  Google Scholar 

  7. Suh K-D, Suh B-H, Lim Y-H, Kim J-K, Choi Y-J, Koh Y-N, Lee S-S, Kwon S-C, Choi B-S, Yum J-S, Choi J-H, Kim J-R, Lim H-K: A 3.3 V 32 Mb NAND flash memory with incremental step pulse programming scheme. IEEE J. Solid-State Circ 1995, 30(11):1149-1156. 10.1109/4.475701

    Article  Google Scholar 

  8. Jung T-S, Choi Y-J, Suh K-D, Suh B-H, Kim J-K, Lim Y-H, Koh Y-N, Park J-W, Lee K-J, Park J-H, Park K-T, Kim J-R, Lee J-H, Lim H-K: A 117-mm2 3.3-V only 128-Mb multilevel NAND flash memory for mass storage applications. IEEE J. Solid-State Circ 1996, 31(11):1575-1583. 10.1109/JSSC.1996.542301

    Article  Google Scholar 

  9. Dong G, Xie N, Zhang T: On the use of soft-decision error-correction codes in NAND flash memory. IEEE Trans. Circ. Syst. I 2011, 58(2):429-439.

    Article  MathSciNet  Google Scholar 

  10. Takeuchi K, Tanaka T, Tanzawa T: A multipage cell architecture for high-speed programming multilevel NAND flash memories. IEEE J. Solid-State Circ 1998, 33: 1228-1238. 10.1109/4.705361

    Article  Google Scholar 

  11. Murrin M: U.S. patent 7, 493, 457. 2009.

    Google Scholar 

  12. Litsyn S, Alrod I, Sharon E, Murin M, Lasser M: U.S. patent 7, 681, 109. 2010.

    Google Scholar 

  13. Lasser M: U.S. patent 8, 055, 972. 2011.

    Google Scholar 

  14. Park SC, Eun H, Song S-H, Kong JJ, Chae DH: U.S. patent 7, 983, 082. 2011.

    Google Scholar 

  15. Dong G, Xie N, Zhang T: Techniques for embracing intra-cell unbalanced bit error characteristics in MLC NAND flash memory,. IEEE Globecom Workshop on Application of Communication Theory to Emerging Memory Technologies pp. 1915–1920 (2010)

    Google Scholar 

  16. Chang L-P: A hybrid approach to NAND-flash-based solid-state disks. IEEE Trans. Comput 2010, 59(10):1337-1349.

    Article  MathSciNet  Google Scholar 

  17. Chang L-P: Hybrid solid-state disks: Combining heterogeneous NAND flash in large SSDs,. Asia and South Pacific Design Automation Conference (ASPDAC) pp 428–433 (2008)

    Google Scholar 

  18. Jung S, Kim J, Song Y: Hierarchical architecture of flash-based storage systems for high performance and durability,. 46th annual Design Automation Conference (DAC) pp. 907–910 (2009)

    Google Scholar 

  19. Duann N: SLC and MLC hybrid. Flash Memory Summit (2008)

    Google Scholar 

  20. Kencke DL, Richart R, Garg S, Banerjee SK: A multilevel approach toward quadrupling the density of flash memory. IEEE Electron. Device Lett 1998, 19: 86-88.

    Article  Google Scholar 

  21. Wang J, Courtade T, Shankar H, Wesel RD: Soft information for LDPC decoding in flash: mutual-information optimized quantization,. IEEE Global Communications Conference pp. 5–9 (2011)

    Google Scholar 

  22. Agrawal GP: Fiber-Optic Communication Systems,. 3rd edn. (Wiley, New York, 2002)

    Book  Google Scholar 

  23. Kim YJ, Kim JH, Kong JJ, Son HR, Song SH: U.S. patent application, publication no 2010/0296350 (2010).

    Google Scholar 

  24. Zhou H, Jiang A, Bruck J: Error-correcting schemes with dynamic thresholds in nonvolatile memories,. IEEE Int. Symposium on Information Theory (ISIT) 2109–2113 (2011)

    Google Scholar 

  25. Boyd S, Vandenberghe L: Convex Optimization. (Cambridge University Press, Cambridge, 2004)

    Book  Google Scholar 

  26. Mantegazza D, Ielmini D, Pirovano A, Gleixner B, Lacaita AL, Varesi E, Pellizzer F, Bez R: Electrical characterization of anomalous cells in phase change memory arrays,. IEEE International Electron Devices Meeting (IEDM) pp. 1–4 (2006)

    Google Scholar 

  27. Bedeschi F, Fackenthal R, Resta C, Donze EM, Jagasivamani M, Buda EC, Pellizzer F, Chow DW, Cabrini A, Calvi GMA, Faravelli R, Fantini A, Torelli G, Mills D, Gastaldi R, Casagrande G: A bipolar-selected phase change memory featuring multi-level cell stroage. IEEE J. Solid-State Circ 2009, 44(1):217-227.

    Article  Google Scholar 

  28. Servalli G: A 45nm generation phase change memory technology,. IEEE International Electron Devices Meeting (IEDM) pp. 1–4 (2009)

    Google Scholar 

  29. Lin S, Costello Jr. DJ: Error Control Coding: Fundamentals and Applications,. 2nd edn. (Pearson Prentice-Hall, Upper Saddle River, 2004)

    Google Scholar 

  30. Sklar B: Digital Communications Fundamentals and Applications,. 2nd edn. (Pearson Prentice-Hall, Upper Saddle River, 2001)

    Google Scholar 

  31. Mielke N, Wu T, Kessenich J, Schares H, Trivedi E, Goodness F, Nevill E, Leland R: Bit error rate in NAND flash memories,. IEEE International Reliability Physics Symposium (IRPS) pp. 9–19 (2008)

    Google Scholar 

  32. Press WH, Flannery BP, Teukolsky SA, Vetterling WT: Numerical Recipes,. 3rd edn. (Cambridge University Press, New York, 2007)

    Google Scholar 

  33. Narayanan D, Thereska E, Donnelly A, Elnikety S, Rowstron A: Migrating enterprise storage to SSDs: analysis of tradeoffs,. 4th ACM European Conference on Computer Systems (EuroSys) 145–158 (2009)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to B V K Vijaya Kumar.

Additional information

Competing interests

The authors declare that they have no competing interests.

Authors’ original submitted files for images

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 2.0 International License ( https://creativecommons.org/licenses/by/2.0 ), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Reprints and permissions

About this article

Cite this article

Kim, Y., Kim, J., Kong, J.J. et al. Verify level control criteria for multi-level cell flash memories and their applications. EURASIP J. Adv. Signal Process. 2012, 196 (2012). https://doi.org/10.1186/1687-6180-2012-196

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/1687-6180-2012-196

Keywords