Method for determining an optimum threshold value for a non-volatile memory device

By using a combination of default threshold and offset voltage in NAND flash memory devices, combined with an iterative reweighted least squares algorithm, and approximating the empirical distribution intersection as a new threshold, the problem of read errors and delays in NAND flash memory devices is solved and improved improve reading efficiency and accuracy.

CN111462800BActive Publication Date: 2024-08-30SAMSUNG ELECTRONICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202010074038.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-01-22
Publication Date
2024-08-30
Estimated Expiration
2040-01-22

AI Technical Summary

Technical Problem

NAND flash memory devices are prone to errors during the reading process, resulting in error correction code failure, reading failure and data loss. Existing methods are inefficient and have large delays in determining the optimal threshold, and cannot effectively solve the problems of reading delays and errors. .

Method used

Read the page from the non-volatile memory device using default thresholds, attempt hard decoding, if that fails read again with offset voltage and perform soft decoding, approximate empirical distribution using iterative reweighted least squares method, find intersection of Gaussian distribution point as a new threshold and read again to improve accuracy and efficiency.

Benefits of technology

It improves the effectiveness of threshold estimation and read speed, reduces the number of additional read operations, provides more accurate threshold estimation, reduces read latency and error rate, and enhances the service quality of flash memory systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111462800B_ABST
    Figure CN111462800B_ABST
Patent Text Reader

Abstract

A method for determining an optimal threshold of a nonvolatile memory device is provided, the method comprising: reading a page from the nonvolatile memory device with a default threshold and attempting to hard decode the page with the default threshold; when the hard decoding fails, re-reading the page twice with a predetermined offset voltage and attempting to soft decode the page with the default threshold; approximating an empirical distribution of successfully decoded bits with a Gaussian distribution of each level; finding an intersection of the Gaussian distribution; and setting the intersection as a new read threshold and reading the page again with the new read threshold.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Exemplary embodiments of the inventive concept relate to machine learning, and more particularly, to a method for determining an optimal threshold value of a nonvolatile memory device. Background Art

[0002] Storing data in a NAND flash device and subsequently reading the NAND flash device is often prone to errors. Therefore, error correction codes are used to compensate for this. However, when a NAND flash device accumulates a large number of errors, the ability of the error correction code to overcome the errors is hampered or even completely incapable. In this case, read failures and subsequent data loss may occur.

[0003] One of the factors that may cause an increase in errors during a read operation is the incorrect placement of the decision threshold between logical 1 and logical 0. In other words, an increase in read errors can be caused by incorrect decisions of the voltage level above which NAND Flash cells are considered to contain 0s and below which NAND Flash cells are considered to contain 1s. Since the optimal decision threshold may be different between different blocks or word lines in a chip and between the same word lines at different wear times and levels, the pre-selected optimal threshold may not be ideal. Therefore, even the pre-selected optimal threshold may increase the amount of errors and potentially lead to read failures. Currently, several consecutive methods are used to estimate the optimal threshold in the event that the default threshold is not satisfied. These methods are as follows:

[0004] 1. Read the page using the default threshold.

[0005] 2. Soft decoding: Use two more read thresholds and combine the previous read operations to evaluate which bits are the first errors. Then, try to decode the page again.

[0006] 3. Less Read Estimation (LRE): Use three or four read thresholds to fit a polynomial to the joint bit distribution, and use the fitted joint bit distribution to estimate the optimal threshold and decode the page.

[0007] 4. Report read failure and data corruption for the page.

[0008] In addition to the limited effectiveness of these methods, another factor to consider is the read latency these methods introduce. For example, reading from NAND flash memory with a certain threshold is an expensive and time-consuming operation. In other words, even if the page decode is eventually successful, the worst-case read time is still significantly affected. As a result, the overall quality of service that the flash system can provide is reduced. Summary of the invention

[0009] According to an exemplary embodiment of the present invention, there is provided a method for determining an optimal threshold of a non-volatile memory device, the method comprising: reading a page from the non-volatile memory device with a default threshold, and attempting to hard decode the page with the default threshold; when the hard decoding fails, re-reading the page twice with a predetermined offset voltage, and attempting to soft decode the page with the default threshold; approximating an empirical distribution of successfully decoded bits with a Gaussian distribution of each level; finding an intersection of the Gaussian distribution; and setting the intersection as a new read threshold, and reading the page again with the new read threshold.

[0010] According to an exemplary embodiment of the present invention, a method for determining an optimal threshold of a NAND flash memory device is provided, the method comprising: reading a page from the NAND flash memory device with a default threshold, and attempting to hard decode the page with the default threshold; when the hard decoding fails, reading the page twice again with a predetermined offset voltage, and attempting to soft decode the page with the default threshold; using an iteratively reweighted least square (IRLS) method to approximate an empirical distribution of successfully decoded bits with a Gaussian distribution of a first level and a second level; finding an intersection of the Gaussian distribution; and setting the intersection as a new read threshold, and reading the page again with the new read threshold.

[0011] According to an exemplary embodiment of the present invention, there is provided a method for determining an optimal threshold value of a NAND flash memory device, the method comprising: reading a page from the NAND flash memory device with a default threshold value, and attempting to hard decode the page with the default threshold value; when the hard decoding fails, re-reading the page twice with a predetermined offset voltage, and attempting to soft decode the page with the default threshold value; approximating an empirical distribution of successfully decoded bits with a Gaussian distribution of each level using an iterative reweighted least squares (IRLS) method; finding an intersection of the Gaussian distribution; and setting the intersection point as a new read threshold value, and reading the page again with the new read threshold value. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The above and other features of the inventive concept will become apparent from the following description taken in conjunction with the accompanying drawings, in which:

[0013] Figure 1 is a flowchart illustrating a method for determining an optimal threshold value of a NAND flash memory device according to an exemplary embodiment of the inventive concept;

[0014] Figure 2 It is shown in Figure 1Plot of the method estimated using iteratively reweighted least squares (IRLS);

[0015] Figure 3 It is shown that the use Figure 1 Figure 2 shows the results of synthetic data experiments on the method;

[0016] Figure 4 It is shown that the use Figure 1 Figure 2 shows the results of real data experiments of the proposed method;

[0017] Figure 5 It is shown that the use Figure 1 Figure 2 shows additional experiments with a lower initial bit error rate (BER) performed using the method of FIG.

[0018] Figure 6 is to show that LRE and Figure 1 A comparison of the methods; and

[0019] Figure 7 is a diagram illustrating a memory system according to an exemplary embodiment of the inventive concept. DETAILED DESCRIPTION

[0020] In an exemplary embodiment of the inventive concept, a method is provided to increase the effectiveness of current threshold estimates and reduce the time delays they cause. The method supplements or even replaces stage 4 of the current threshold estimation algorithm. In other words, the method of the present invention does not require three or four additional expensive read operations. However, the method of the present invention can provide comparable or even better threshold estimates.

[0021] The method of the invention relies on the fact that the basic decoding unit (e.g., frame) is strictly smaller than the page size. For example, it often happens in borderline cases that when the entire page cannot be decoded, several frames are still successfully decoded (and when no frame is successfully decoded, it is likely that the BER is so bad that even finding the optimal threshold does not allow the page to be decoded). The method of the invention uses the decoded frames as samples of the bit distribution of the page (e.g., the zero bits distribution and the one bits distribution), and uses the empirical distribution obtained thereby to estimate the bit distribution of the page. This estimate is then used to calculate the intersection of these two distributions as the optimal threshold.

[0022] Since conventional soft decoding and LRE may be used in conjunction with exemplary embodiments of the inventive concept, a brief discussion thereof will now be provided.

[0023] In soft decoding or soft decision decoding, after decoding fails with the default threshold, two additional read operations are performed around the default threshold, and each bit is evaluated by all three thresholds (i.e., the default threshold and the two thresholds around it). The bit that maintains its value under all read thresholds is considered a strong bit, and the bit that does not maintain its value is considered a weak bit, and the value of the weak bit is determined by taking the majority value. The weak bit is then flipped in an attempt to reduce the BER of the read operation, and the decoding of the page is attempted again. If it fails, LRE is attempted before declaring data loss.

[0024] When soft decoding fails, LRE is performed. LRE requires three or four additional read operations (four when the desired threshold is between the first voltage level and the second voltage level, three otherwise), and attempts to fit a low-order polynomial to the joint cumulative distribution of voltage levels around the threshold. A third-order polynomial can be used for the first voltage level and the second voltage level, otherwise a second-order polynomial is used. This is done by calculating the amount of trapped bits between every two adjacent thresholds, and after dividing by the length of each such interval, they are taken as the average of the cumulative distribution function (CDF) at that point. Using these points, a polynomial can be fitted to represent the data close to the sampling point. Then, the minimum value of the polynomial is found and assumed to be the best guess for the optimal threshold. Finally, another read operation is performed at this point to attempt to decode the page.

[0025] While useful, LREs have several drawbacks:

[0026] 1. Slowness - LRE requires three to four read operations to implement, and reads are expensive.

[0027] 2. Inaccuracy - If the distribution is not symmetric, a symmetric polynomial (such as a second-order parabola) will not reach its minimum at the intersection of the distribution. Therefore, it will not return the optimal threshold under optimal conditions.

[0028] 3. Rigidity – LRE does not consider the variation of voltage distribution and tries to fit the same polynomial to all voltage distributions, which is not optimal.

[0029] 4. Locality - The polynomial approximation is only a good approximation around the sampled points. If the initial error is bad, the fit around the optimal threshold will be bad.

[0030] The method of the present invention can supplement or replace LRE without these disadvantages.

[0031] Hereinafter, a method (also referred to as an “algorithm”) according to an exemplary embodiment of the inventive concept will be described with reference to the accompanying drawings.

[0032] Overview

[0033] In a method according to an exemplary embodiment of the inventive concept, after a page is read from a NAND flash memory, an attempt is made to decode the page using a default read threshold. When the BER is above about 8e-3, the decoder will begin to fail to decode the page correctly. However, decoding is performed on frames (e.g., 1 frame = 1,000 bits), and if the error rate does not exceed the predetermined threshold by too much, some frames can still be decoded. Therefore, although the entire page is not decoded, a portion of it is successfully decoded. In fact, in the successfully decoded portion, the bits are eventually identified. These bits are then used as an empirical distribution of the bits for the entire page. In this case, the algorithm attempts to find the optimal threshold by estimating the intersection between the bit distribution of 0 and the bit distribution of 1. To do this, the distribution is estimated using an iterative reweighted least squares (IRLS) algorithm. The intersection point is calculated from the estimated distribution.

[0034] Algorithm: Decoding Sequence

[0035] Here, the general workflow of the algorithm will be described. The sub-parts of the algorithm will be explained in detail next.

[0036] refer to Figure 1 , read the page with a default threshold, and attempt hard decoding (105). If hard decoding fails, soft decision decoding is performed (110), such as reading the page twice more with a predetermined offset voltage and attempting soft decoding. If soft decoding is partially successful, the method performs the following steps: approximate the empirical distribution of successfully decoded bits with a Gaussian distribution for each level (115). This approximation uses IRLS (see Algorithm 1 below). Next, find the intersection of the Gaussian distribution using Algorithm 2 below (120). Finally, the intersection is set as a new read threshold, and the page is read again with the new read threshold (125).

[0037] like Figure 1 As further shown in , if the hard decoding of 105 is successful, the page is considered to have been read (130), if the soft decision decoding of 110 is determined to be successful, the page is considered to have been read (130), and if the soft decision decoding of 110 is determined to be unsuccessful, an LRE is performed (135). In addition, if the page read with the new threshold is determined to be successful, the page is considered to have been read (130), and if the page read with the new threshold is determined to be unsuccessful, an LRE is performed (135).

[0038] Algorithm 1: Estimation using IRLS

[0039] A. Get Sample

[0040] Here, the threshold is set to approximately x v Each read attempt indicates which portion of the word line's cells hold a voltage above x v and thus reads 0, and which portion of the cells of that word line holds a voltage below x v and thus reads 1. Thus, each read attempt provides a sample from the cumulative distribution of the page, e.g., how many cells are above a threshold and how many are below a threshold.

[0041] Furthermore, since it is assumed that some frames have already been partially decoded, there is a set of bits that are known (because they have already been decoded). Therefore, there are two samples in the decoded bits: all bits that are 0 above the threshold (zero bits) and all bits that are 1 below the threshold (one bits). After attempting soft-decision decoding, we are left with three samples from each cumulative distribution, as Figure 2 For example, in Figure 2 In the graph, the x-axis represents voltage and the y-axis represents the CDF of a single level cell (SLC). Figure 2 In the figure, Xa, Xb, Xc, Xd, Xe, Xf, Xg, Xh, Xi, and Xj represent the scale values ​​of the x-axis, and Ya, Yb, Yc, Yd, Ye, Yf, Yg, Yh, Yi, Yj, and Yk represent the scale values ​​of the y-axis.

[0042] exist Figure 2 , the left and right curves are the cumulative distributions of cell voltage levels for cells assigned to 0 and 1, respectively. The three vertical lines at the intersections with the cumulative distribution graph (i.e., the left and right curves) are three read operations performed on the cell. For example, the center dashed line is a hard decision read operation, and the two dotted lines are two soft decision read operations. The intersections are empirical samples of the corresponding cumulative distributions obtained via partial decoding (i.e., partially successful soft decision read operations).

[0043] B. Estimation from sample

[0044] Here, let s be the received sampled value and Φ be the percentile function.

[0045] Then we have

[0046]

[0047] And therefore

[0048] Φ -1 (s)·σ+μ=y

[0049] And since there are three samples, we get

[0050]

[0051] A is an overdetermined linear system. The optimal solution for A is to estimate μ and σ using the least squares method. However, since only a small subset of all pages are sampled, the samples may have a lot of noise, especially the last sample. Therefore, a weighted least squares score (weighted by the inverse of the noise variance) should be calculated. In addition, it should be determined how much noise each sample will produce.

[0052] Therefore, IRLS is used because it can do two things at once. For example, each iteration might involve recalculating the weights by taking the minimum absolute deviation and redistributing the weights until the algorithm converges, so we get:

[0053] Algorithm 1: IRLS

[0054] 1.W (0) =I

[0055] 2.

[0056] 3.δ=1e-4

[0057] 4. Beta (1) =(A T W (0) A) -1 A T W (0) y

[0058] 5.whileβ (t+1) ≠β (t)

[0059] a.β (t+1) =(A T W (t) A) -1 A T W (t) y

[0060] b.

[0061] 6.returnβ

[0062] Here, β is a (σ,μ) vector. In other words, β is an estimate of the parameters of a Gaussian fit to the distribution. The same process is performed for both distributions to obtain a Gaussian approximation for each of the two distributions.

[0063] Algorithm 2: Calculate the optimal threshold

[0064] Now that the algorithm has computed a Gaussian approximation to the distribution, it can compute their intersection point. Furthermore, it can be shown that this intersection point is the optimal threshold.

[0065] Here, order is an approximated Gaussian distribution. Using the Gaussian CDF and some algebra to find the crossover point, we get:

[0066]

[0067] Rearranging the above terms, we get:

[0068]

[0069] Substituting this into the quadratic equation, the final result is:

[0070]

[0071] Since there can be two intersection points, the intersection point closest to the sample point is taken and returned as the optimal threshold point.

[0072] result

[0073] A. Overview

[0074] The method according to an exemplary embodiment of the present invention is tested on two data sets. One data set is artificially generated by sampling voltage from a Gaussian distribution and is used as a baseline model. The other data set uses real voltage levels read from a NAND chip, with various BER characteristics, and at various stages of its life cycle to consider as many different scenarios as possible. Although the chip is a triple-level cell (TLC) chip, the analysis is performed in a single-level cell (SLC) setting. Here, two adjacent voltage levels are selected from the word line, and the method is used to find the optimal threshold voltage between the adjacent voltage levels.

[0075] The method was tested for different raw BER levels, with an emphasis on the smallest BER. The smallest BER is near the limit of what the error correction code can handle, and where correctly identifying the optimal threshold is most important. For example, when the BER is too low, soft decoding is not needed, and when the BER is too high, even the optimal threshold will not help. Different levels of threshold misplacing were also examined, from relatively close, to optimal, to very far. Each test was performed several times, and the results were averaged to better represent typical behavior (the variance of the results is low in any case). It was assumed that all tests were only able to decode a single frame from the page, and that only these bits are known in advance by the method.

[0076] Synthetic Data Experiments

[0077] Here, the performance of the method is measured on synthetic data, which is generated from the previous Gaussian distribution. The variance of the distribution is randomly selected from the interval each time to approximate the real data variance. The BER is controlled by the spacing between the distributions, and therefore, the method can be tested for many different scenarios. The results are summarized in Figure 3 .

[0078] Figure 3 The results of this method when run on the synthetic data described above are shown. The horizontal axis represents the initial threshold error, e.g., the distance measured between the actual hard decision read voltage and the optimal read voltage for a hard decision read operation, in volts. The vertical axis represents the error that remains after applying the method. In other words, the vertical axis represents the threshold error after correction, in volts. For example, Figure 3 , Xa, Xb, Xc, Xd, Xe, Xf, Xg, and Xh represent the scale values ​​of the horizontal axis, and Ya, Yb, Yc, Yd, Ye, Yf, Yg, and Yh represent the scale values ​​of the vertical axis. Figure 3 The four graphs shown in represent the application of the method at different levels of raw BER (eg, BERA, BER B, BER C, and BER D).

[0079] It can be seen that there is a significant and consistent improvement in the threshold, even when the initial threshold is very far from optimal. The method is not significantly affected by changing BER and does not show any difference when more frames are initially decoded.

[0080] Real data experiments

[0081] As mentioned above, real data sets were generated from NAND chips, from different blocks and different word lines, and at different levels of raw BER to account for as many scenarios and voltage distributions as possible. The method was then tested to see if it can produce satisfactory results in many cases. Figure 4 The graphs in summarize the main results.

[0082] Figure 4 The results of this method when run on real data extracted from a NAND chip are shown. The horizontal axis represents the initial threshold error, for example, the distance measured between the actual hard decision read voltage and the optimal read voltage for the hard decision read operation, in volts. The vertical axis represents the error that remains after applying the method. In other words, the vertical axis represents the threshold error after correction, in volts. For example, in Figure 4, Xa, Xb, Xc, Xd, Xe, Xf, Xg, and Xh represent the scale values ​​of the horizontal axis, and Ya, Yb, Yc, Yd, Ye, Yf, Yg, and Yh represent the scale values ​​of the vertical axis. Figure 4 The four graphs shown represent the application of the method at various levels of raw BER (eg, BER A, BER B, BER C, and BER D).

[0083] As can be seen, the method performs better on the real data than on the synthetic data. The increase in the initial threshold is noticeable, and although it eventually drops slightly, it is still very good considering the initially poor default threshold. Furthermore, at low initial error levels, the method almost completely eliminates the error. Here again, the initial BER has no significant effect on the method. Increasing the number of decoded frames (the graph was made with one decoded frame) also has no effect on the method.

[0084] Additional Experiments at Lower BER

[0085] Figure 5 It is shown that the use Figure 1 Figure 2 shows an additional experiment with a lower initial BER performed using the method of Figure 5 In , the BERs used are A, B, C, D, and E. The x-axis represents the initial error tolerance from the optimal threshold in millivolts, and the y-axis represents the error after correction in millivolts. Figure 5 In the figure, Xa, Xb, Xc, Xd, Xe, and Xf represent the scale values ​​of the x-axis, and Ya, Yb, Yc, Yd, Ye, Yf, Yg, Yh, and Yi represent the scale values ​​of the y-axis. It can be seen that Figure 5 The result is close to Figure 4 , so the analysis remains the same.

[0086] right Figure 1 Extension of the algorithm

[0087] It should be understood that the method according to the exemplary embodiment of the inventive concept may be supplemented with additional information such as the status of the chip, the current block program-erase (PE) cycle, etc.

[0088] Direction Threshold Estimation

[0089] Because the method according to the exemplary embodiment of the inventive concept approximates the voltage distribution very well, the voltage distribution can be approximated without using soft decision reading, but relying on other information of the chip to approximate. This may mean a better initial threshold level for hard decisions, which will reduce the number of soft decisions required.

[0090] Estimating Thresholds in TLC

[0091] The difference in estimating thresholds in a TLC setting is that a single page consists of bits from more than two different voltage levels. This means that even if the correct value of the bit is known, the bit cannot be assigned to a specific level. For example, on page 0, a bit with a value of 1 can belong to any of levels 1, 5, 6, and 7. Therefore, the value (e.g., 0 or 1) and strength (e.g., strong or weak bit) of a bit are not sufficient to determine which level it is taken from. Several ways of estimating thresholds according to exemplary embodiments of the inventive concept will now be discussed.

[0092] A. Additional Sensing Operations

[0093] With the additional sensing operation, the exact level from which each bit is taken can be identified. For a TLC chip with a (2 3 2) wiring scheme, additional sensing operations are performed in the word line for the first and third pages, and two additional sensing operations are performed for the second page. Although this method introduces additional sensing operations, it is still much faster than LRE, where LRE requires seven sensing operations for the first page, nine sensing operations for the second page, and six sensing operations for the third page. With this method, the number of sensing operations can be reduced by 5 to 7 operations relative to LRE.

[0094] B. Supplement to LRE

[0095] Another way is to use Figure 1 The method is used as a complement to LRE. For example, the method is run simultaneously with LRE and LRE sensing is used for the method. In addition to being faster, the method is more accurate than LRE in threshold estimation (see Figure 6 ). Therefore, even when running LRE, this method can help LRE by providing more accurate estimates. For example, in Figure 6 In , the x-axis represents the initial error tolerance from the optimal threshold in millivolts, and the y-axis represents the error after correction in millivolts. Figure 6 In the figure, Xa, Xb, Xc, Xd, Xe, and Xf represent the scale values ​​of the x-axis, and Ya, Yb, Yc, Yd, Ye, Yf, Yg, Yh, Yi, Yj, and Yk represent the scale values ​​of the y-axis. Figure 6 The graph of is produced by averaging the results of the method for an initial BRE between Yb and Yc and running an LRE on the exact same data points. The data points are real voltage readings from the NAND chip, and the matlab code used to run the LRE is accompanied by the code for running the method of the present inventive concept.

[0096] C. Passing additional information to the decoder during the soft decoding stage

[0097] Currently, the decoder in the soft decoding stage receives the value of the bit and the strength of the bit under the hard decision reading for each bit. However, much information from soft decision sensing is not transmitted to the decoder. For example, the value of the bit under each soft decoding sensing operation is not provided to the decoder. With these values, the method conceived by the present invention can be activated. Therefore, by sending the value of the bit during or after the soft decoding stage, the method conceived by the present invention can be used without any additional sensing operations.

[0098] Memory System

[0099] Figure 7 is a block diagram of a memory system to which a method according to an exemplary embodiment of the inventive concept is applied. Figure 7 , a memory system 900 includes a memory controller 1000 and a nonvolatile memory device 2000 .

[0100] The nonvolatile memory device 2000 may be, but is not limited to, a flash memory device, a NAND flash memory device, a phase change RAM (PRAM), a ferroelectric RAM (FRAM), a magnetic RAM (MRAM), etc. According to an exemplary embodiment of the inventive concept, the nonvolatile memory device 2000 may include a plurality of NAND flash memory devices. The nonvolatile memory device 2000 may have a planar structure or a three-dimensional (3D) memory cell structure having a stack of memory cells.

[0101] The nonvolatile memory device 2000 may include a memory cell array 2100, an X decoder 121, a voltage generator 125, an I / O buffer 124, a page buffer 123, and a control logic 126, each of which may be implemented as one or more circuits. The nonvolatile memory device 2000 may also include an input / output (I / O) disk 127.

[0102] The memory cell array 2100 includes a plurality of word lines and a plurality of bit lines. Each memory cell of the memory cell array 2100 may be implemented as a nonvolatile memory cell. For example, each memory cell of the memory cell array 2100 may have, for example, a floating gate or a charge storage layer (such as a charge trapping layer).

[0103] The memory cell array 2100 may include a plurality of blocks and a plurality of pages. One block includes a plurality of pages. A page may be a unit of programming and reading operations, and a block may be a unit of erasing operations. For example, the memory cell array 2100 includes a first block 2120 and a second block 2130. Figure 7As shown, the first block 2120 includes pages 1-N, and the second block 2130 includes pages 1-N, where N is a positive integer greater than 1.

[0104] The control logic 126 controls the overall operation of the nonvolatile memory device 2000. When receiving a command CMD from the memory controller 1000, the control logic 126 interprets the command CMD and controls the nonvolatile memory device 2000 to perform an operation (e.g., a program operation, a read operation, a read retry operation, or an erase operation) according to the interpreted command CMD.

[0105] The X decoder 121 is controlled by the control logic 126 and drives at least one of the word lines W / L in the memory cell array 2100 according to a row address.

[0106] The voltage generator 125 is controlled by the control logic 126 to generate one or more voltages required for a program operation, a read operation, or an erase operation, and provides the generated voltages to one or more rows selected by the X decoder 121 .

[0107] The register 128 is a space in which information input from the memory controller 1000 is stored, and may include a plurality of latches. For example, the register 128 may group read voltage information and store the information in a table form.

[0108] The page buffer 123 is controlled by the control logic 126 and operates as a sense amplifier or a write driver according to an operation mode (eg, a read operation or a program operation).

[0109] The I / O disk 127 and the I / O buffer 124 may serve as an I / O path for data exchanged between an external device (eg, the memory controller 1000 or a host) and the nonvolatile memory device 2000 .

[0110] The memory controller 1000 may include a microprocessor 111, a read only memory (ROM) 113, a random access memory (RAM) 112, an encoder 1100, a decoder 1200, a memory interface 116, and a bus 118. The elements 111 to 116 of the memory controller 1000 may be electrically connected to each other through the bus 118.

[0111] The microprocessor 111 controls the overall operation of the memory system 900 including the memory controller 1000. The microprocessor 111 is a circuit that controls other elements by generating control signals. When power is supplied to the memory system 900, the microprocessor 111 drives firmware (e.g., stored in the ROM 113) for operating the memory system 900 on the RAM 112, thereby controlling the overall operation of the memory system 900. According to an exemplary embodiment of the inventive concept, the microprocessor 111 may also issue instructions for controlling the operation of other elements of the memory controller 1000, including, for example, some or all of the ROM 113, RAM 112, encoder 1100, decoder 1200, memory interface 116, and bus 118. According to an exemplary embodiment of the inventive concept, any operation described herein as being performed by the memory controller 1000 may be performed by the microprocessor 111, or performed under the control of the microprocessor 111. According to an exemplary embodiment of the present inventive concept, any operation described herein as being performed by the memory controller 1000 may be performed by the microprocessor 111, or performed under the control of the microprocessor 111, where the microprocessor 111 executes instructions corresponding to the operation and included in a program code (e.g., stored in the ROM 113).

[0112] Although the driving firmware code of the memory system 900 is stored in the ROM 113, the exemplary embodiments of the inventive concept are not limited thereto. In addition to the ROM 113, the firmware code may also be stored in a portion of the nonvolatile memory device 2000. Therefore, the control or intervention of the microprocessor 111 may include not only direct control of the microprocessor 111 but also intervention by firmware as software driven by the microprocessor 111.

[0113] The RAM 112, which is a memory used as a buffer, can store an initial command, data, and various variables input from the host or the microprocessor 111, or data output from the nonvolatile memory device 2000. The RAM 112 can store data and various parameters and variables input to and output from the nonvolatile memory device 2000.

[0114] The memory interface 116 may be used as an interface between the memory controller 1000 and the nonvolatile memory device 2000. The memory interface 116 is connected to the I / O disk 127 of the nonvolatile memory device 2000 and may exchange data with the I / O disk 127. In addition, the memory interface 116 may create a command suitable for the nonvolatile memory device 2000 and provide the created command to the I / O disk 127 of the nonvolatile memory device 2000. The memory interface 116 provides a command to be executed by the nonvolatile memory device 2000 and an address of the nonvolatile memory device 2000.

[0115] According to an exemplary embodiment of the inventive concept, the decoder 1200 may be an error correcting code (ECC) decoder, and the encoder 1100 may be an ECC encoder. According to an exemplary embodiment of the inventive concept, the decoder 1200 and the encoder 1100 perform error bit correction. The encoder 1100 may generate data to which one or more parity bits and / or redundant bits are added by performing error correction coding on the data before the data is provided to the non-volatile memory device 2000. The one or more parity bits and / or redundant bits may be stored in the non-volatile memory device 2000.

[0116] The decoder 1200 can perform error correction decoding on the output data, determine whether the error correction decoding is successful based on the result of the error correction decoding, and output the instruction signal based on the determination result. The read data can be transmitted to the decoder 1200, and the decoder 1200 can use the one or more parity bits and / or redundant bits to correct the error bits of the data. When the number of error bits exceeds the limit of the error bits that can be corrected, the decoder 1200 cannot correct the error bits, resulting in error correction failure. The encoder 1100 and the decoder 1200 can use, for example, a low density parity check (LDPC) code, a Bose-Chaudhuri-Hockenghem (BCH) code, a turbo code, a Reed-Solomon (RS) code, a convolutional code, a recursive systematic code (RSC) or a coded modulation (such as a trellis-coded modulation (TCM) or a block coded modulation (BCM)) One or more of the above performs error correction.

[0117] Each of the encoder 1100 and the decoder 1200 may include an error correction circuit, system, or device.

[0118] It should be understood that the above-described method of the inventive concept may be performed by one or more of the above-described elements in the memory controller 1000 and the nonvolatile memory device 2000 .

[0119] While the inventive concept has been described with reference to exemplary embodiments thereof, it will be apparent to those skilled in the art that various changes and modifications may be made thereto without departing from the spirit and scope of the inventive concept as defined by the appended claims.

[0120] This application claims priority to U.S. patent application No. 16 / 253,938, filed on January 22, 2019, the disclosure of which is incorporated herein by reference in its entirety.

Claims

1. A method for determining an optimal threshold of a non-volatile memory device, the method include: reading a page from the non-volatile memory device using a default threshold and attempting to hard decode the page using the default threshold; When the hard decoding fails, re-reading the page twice with a predetermined offset voltage, and attempting to soft-decode the page using the default threshold; approximating an empirical distribution of successfully decoded bits obtained from some but not all frames of the page with a Gaussian distribution at each level; finding the intersection point of the Gaussian distribution; and The intersection point is set as a new read threshold, and the page is read again using the new read threshold.

2. The method according to claim 1, in, When there is partial success in re-reading the page twice, an approximation of the empirical distribution of successfully decoded bits is performed.

3. The method according to claim 1, in, When the re-read of the page fails twice completely, a less-read estimate LRE is performed.

4. The method according to claim 1, in, If the re-reading of the page using the new read threshold is successful, the page is returned to the calling application.

5. The method according to claim 1, in, If the re-reading of the page with the new read threshold fails, a less read estimate LRE is performed.

6. The method according to claim 1, in, An iteratively reweighted least squares (IRLS) method is performed to approximate the empirical distribution of successfully decoded bits with a Gaussian distribution for each level.

7. The method according to claim 1, in, Finding the intersection point of the Gaussian distribution includes selecting the intersection point closest to the sample point obtained when approximating the empirical distribution as the optimal threshold.

8. The method according to claim 1, in, The non-volatile memory device is a NAND flash memory device.

9. A method for determining an optimal threshold value of a non-volatile memory device, the method include: partially decoding a page from the non-volatile memory device; approximating an empirical distribution of successfully decoded bits obtained from some but not all frames of the page with a Gaussian distribution for each of the high level and the low level; finding the intersection point of the Gaussian distribution; and The intersection point is set as a new read threshold, and the page is read again using the new read threshold.

10. The method according to claim 9, in, The same voltage value of the first cumulative level distribution curve of the high level and the second cumulative level distribution curve of the low level corresponds to the intersection point of the first pair of the Gaussian distributions.

11. The method according to claim 10, in, The voltage value corresponds to a center sample from among samples of the second cumulative level distribution graph and a center sample from among samples of the first cumulative level distribution graph.

12. The method according to claim 9, in, The voltage distribution of the successfully decoded bits is sampled using an Iterative Reweighted Least Squares (IRLS) method to estimate the Gaussian distribution.

13. The method according to claim 9, in, If the partial decoding fails, a less read estimate LRE is performed.

14. The method according to claim 9, in, If the page is read again successfully using the new read threshold, the correctly read page is returned.

15. The method according to claim 9, in, If reading the page again with the new read threshold fails, a less read estimate LRE is performed.

16. The method according to claim 9, in, The non-volatile memory device is a NAND flash memory device.

17. A method for determining an optimal threshold value of a NAND flash memory device, the method include: reading a page from the NAND flash memory device using a default threshold and attempting to hard decode the page using the default threshold; When the hard decoding fails, re-reading the page twice with a predetermined offset voltage, and attempting to soft-decode the page using the default threshold; approximating an empirical distribution of successfully decoded bits obtained from only decoded frames of the page with Gaussian distributions of a first level and a second level using an iteratively reweighted least squares (IRLS) method; finding the intersection point of the Gaussian distribution; and The intersection point is set as a new read threshold, and the page is read again using the new read threshold.

18. The method according to claim 17, in, The first level corresponds to a low voltage, and the second level corresponds to a high voltage.

19. The method according to claim 17, in, The new read threshold is located between the first level and the second level.

Citation Information

Patent Citations

  • Threshold estimation in NAND flash devices

    US20200234772A1

  • Incremental llr generation for flash memories

    CN105989890A

  • Methods of operating a nonvolatile memory device and the nonvolatile memory device thereof

    CN108573722A

  • Single-read based soft-decision decoding of non-volatile memory

    US20140040531A1

  • Incremental LLR generation for flash memories

    US20160277041A1