The present inventions are related to systems and methods for accessing data from a flash memory, and more particularly to systems and methods for inter-cell interference handling in a flash memory.
Flash memory devices include a number of cells implemented as floating gate transistors that are capable of storing a charge. Writing the cells includes programming by Fowler-Nordhiem tunneling until the cell is charged to a desired voltage level. Due to capacitive coupling between neighboring cells, the threshold voltage of the cell charges depending on the amount of coupling with the neighboring cells and the charge levels of the neighboring cells. Such coupling is generally referred to as inter-cell interference. Such inter-cell interference can result in failures in retrieving originally stored data.
Hence, for at least the aforementioned reasons, there exists a need in the art for advanced systems and methods for accessing data from a flash memory device.
The present inventions are related to systems and methods for accessing data from a flash memory, and more particularly to systems and methods for inter-cell interference handling in a flash memory.
Various embodiments of the present invention provide data processing systems that include a soft information correction circuit. The soft information correction circuit is operable to: receive soft information corresponding to a series of voltage levels accessed from a block of memory cells, and to calculate corrected soft information based upon the received soft information and a variance of the soft information.
This summary provides only a general outline of some embodiments of the invention. The phrases “in one embodiment,” “according to one embodiment,” “in various embodiments”, “in one or more embodiments”, “in particular embodiments” and the like generally mean the particular feature, structure, or characteristic following the phrase is included in at least one embodiment of the present invention, and may be included in more than one embodiment of the present invention. Importantly, such phases do not necessarily refer to the same embodiment. Many other embodiments of the invention will become more fully apparent from the following detailed description, the appended claims and the accompanying drawings.
A further understanding of the various embodiments of the present invention may be realized by reference to the figures which are described in remaining portions of the specification. In the figures, like reference numerals are used throughout several figures to refer to similar components. In some instances, a sub-label consisting of a lower case letter is associated with a reference numeral to denote one of multiple similar components. When reference is made to a reference numeral without specification to an existing sub-label, it is intended to refer to all such multiple similar components.
The present inventions are related to systems and methods for accessing data from a flash memory, and more particularly to systems and methods for inter-cell interference handling in a flash memory.
Various embodiments of the present invention provide memory circuits that include inter-cell interference mitigation circuitry. Such inter-cell interference mitigation circuitry is operable to generate soft data corresponding to information accessed from a block of flash memory cells, and to modify the soft data prior to decoding the information accessed from a block of flash memory cells. The modification of the soft data is used to mitigate inter-cell interference. In some cases, the soft data is log likelihood ratio (hereinafter referred to as ‘LLR’) data.
Some embodiments of the present invention provide data processing systems that include a soft information correction circuit. The soft information correction circuit is operable to: receive soft information corresponding to a series of voltage levels accessed from a block of memory cells, and to calculate corrected soft information based upon the received soft information and a variance of the soft information. In some instances of the aforementioned embodiments, the system is implemented as an integrated circuit. In various instances of the aforementioned embodiments, the data processing system is incorporated in a storage device including a block of flash memory cells. The block of memory cells are a subset of the block of flash memory cells. In some cases, each of the flash memory cells are multi-bit memory cells. In particular cases, the multi-bit memory cells are each capable of storing a voltage level representative of two or three bits.
In some instances of the aforementioned embodiments, the data processing system further includes a data decoder circuit operable to apply a data decoding algorithm to the corrected soft information to yield a data output. In some such instances, the data decoder circuit is a low density data decoder circuit. In one or more instances of the aforementioned embodiments, the soft information is a probability that the voltage levels accessed from a block of memory cells are correct. In some cases, the soft information is log likelihood information.
In various instances of the aforementioned embodiments, calculating the corrected soft information is based at least in part on both the variance and a median of the soft information. In some such instances, the corrected soft information includes: calculating an offset reduced output based upon a combination of the variance and the median, and calculating the corrected soft information based upon the offset reduced output and the median. In various such instances, the variance includes a left side variance and a right side variance. In such instances, the calculating the corrected soft information includes: calculating an offset reduced output based upon a combination of the right side variance, the left side variance, and the median; and calculating the corrected soft information based upon the offset reduced output and the median.
Various embodiments of the present invention provide methods for accessing information from a storage device. The methods include: receiving soft information corresponding to a series of voltage levels accessed from a block of flash memory cells; calculating corrected soft information based upon the received soft information and a variance of the soft information; and applying a data decoding algorithm to the corrected soft information to yield a data output. In some instances of the aforementioned embodiments, the data decoding algorithm is a low density parity check decoding algorithm. In one or more instances of the aforementioned embodiments, calculating the corrected soft information is based at least in part on both the variance and a median of the soft information. In some cases, calculating the corrected soft information includes: calculating an offset reduced output based upon a combination of the variance and the median; and calculating the corrected soft information based upon the offset reduced output and the median. In various cases, the variance includes a left side variance and a right side variance. In such cases, calculating the corrected soft information includes: calculating an offset reduced output based upon a combination of the right side variance, the left side variance, and the median; and calculating the corrected soft information based upon the offset reduced output and the median.
As an example, assume a flash memory device has cells that are each capable of storing three bits of data by charging the cells to one of eight (i.e., 23) different charge levels. Where two adjacent cells (cell i and cell i+1) are charged to the maximum charge level and minimum charge level, respectively, the highest level of interference is expected. Where there is not any inter-cell interference, cell i+1 can be modeled as a Gaussian distribution (N[m, σ2]). Where inter-cell interference is included, the aforementioned model of cell i+1 can be modeled as another Gaussian distribution (N[m+Δm, (σ, Δσ)2]), where Δm and Δσ represent the effect of inter-cell interference.
In the absence of inter-cell interference, where the voltage level of cell i+1 is represented as y, the a priori LLR data may be calculated in accordance with the following equation:
where Pr( ) is probability of the occurrence of the condition in the parenthesis is true, x represents the original value, and y represents the actual value received by reading the memory device. The aforementioned equation can be re-written as follows:
where p(0) is the a priory probability that x is zero, and p(1) is the a priory probability that x is one. The preceding equation can be re-written as follows:
where m0 is the mean value of the Gaussian distribution given the value of x is zero, and where m1 is the mean value of the Gaussian distribution given the value of x is one. The preceding equation can be recast as:
and by setting m0 equal to m and m1 equal to −m for simplicity:
When inter-cell interference is included, the a priori LLR data may be calculated in accordance with the following equations:
and by using a Taylor expansion around Δσ equal to zero and Δm equal to zero, and assuming m0 is equal to m and m1 is equal to −m for simplicity,
The
portion of the aforementioned equation corresponds to the a priori LLR data without inter-cell interference, the
is a scaling factor, and the
is an additive LLR component for mitigating inter-cell interference.
Two different models are used depending upon the particular embodiment of the present invention. The first model does not include any asymmetry of the distribution of cell level. An example of such a model that does not include any asymmetry is shown in a graphic 310 of
Where the model that does not include asymmetry is used, the a priori LLR data is calculated in accordance with the following equation:
In this model only Δm and Δσ need to be estimated. The values of Δm and Δσ can be estimated as a function of the voltage levels of the instant cell (e.g., cell 302 of
In contrast, where the model that does include asymmetry is used, the a priori LLR data is calculated in accordance with the following equation:
In this model only Δm, Δσ1 and Δσ2 need to be estimated. The values of Δm and Δσ can be estimated as a function of the voltage levels of the instant cell (e.g., cell 302 of
Different processes may be used to train a circuit estimating Δm, Δσ1 and Δσ2. The first training approach provides for offline estimation of Δm, Δσ1 and Δσ2. In this offline estimation, a flash memory controller operates initially on a particular die and starts with a free run of several pages of the flash memory die and extracts the distribution of the distorted a priori LLR data (i.e., the a priori LLR data distorted by inter-cell interference). Using the distorted samples' distribution, the Δm, Δσ1 and Δσ2 parameters are estimated. Once the initial estimate is complete, the flash memory controller returns to re-read the first page of the flash memory die and from there continues reading and decoding received data. Each time the flash memory controller switches zone/block, the Δm, Δσ1 and Δσ2 parameters are re-estimated to assure up to date parameters.
The second training approach provides for online estimation of Δm, Δσ1 and Δσ2. In this online estimation, a flash memory controller accumulates former pages' distorted a priori LLR data, and extracts the distribution on the fly. The latest several pages are used to estimate the Δm, Δσ1 and Δσ2 parameters. Each time the flash memory controller switches zone/block, the accumulated distribution is reset to zero to eliminate less relevant data. In comparison, the offline approach for estimation is not used during standard operation and thus exhibits a power savings when compared with online approach, however, the offline estimation exhibits delay in updating the parameters that does not occur in the online estimation.
In both the online and offline approaches, a sample set (i.e., a number of pages of flash memory) is selected to be used in training the Δm, Δσ1 and Δσ2 parameters. The selected sample set should be large enough to ensure that the statics of distorted a priori LLR data is representative of a broader range of data in the flash memory. However, the sample set should be small enough to reduce the latency experienced in training the Δm, Δσ1 and Δσ2 parameters. In some embodiments of the present invention, a sample set between two hundred (200) and six hundred (600) 4 kB pages. The distribution of the distorted a priori LLR data is fit into the previously developed equation:
The resulting fitted formula has the same linear format as y=ax+b, where x is the ideal a priori LLR data and y is the distorted a priori LLR data.
In some cases, the aforementioned parameter estimation may be hardware intensive. In some embodiments of the present invention, a simplified hardware approach is used where the individual parameters Δm, Δσ1 and Δσ2 are not trained, but rather proxies of the parameters are trained. In particular, the following proxies, A and B, defined as follows:
The values of A and B can then be obtained using the same linear fitting discussed above.
Turning to
Flash memory controller circuit 190 receives a data in 106 that includes both address and data with the address data indicating a location to which the data will be stored; and a data out 102 that provides addressed read data to a requester. Whenever a read or a write is requested, the location of the requested read or write is identified to flash memory die 105 by address data 192. Where a write is requested, data in 106 is formatted as write data 162 that is provided to an encoding circuit 160. Where a read is requested, the data identified by address data 192 is ultimately provided to flash memory controller circuit 190 as read data 172.
Read data 172 is provided by data decoding circuit 170 which applies a data decoding algorithm to data received as bit patterns 152 from data read circuit 125. In one particular embodiment of the present invention, the data decoding algorithm is a low density parity check algorithm. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize a variety of data decoding algorithms that may be used in relation to different embodiments of the present invention. Encoding circuit 160 encodes write data 162 using an encoding algorithm to yield bit patterns 156. The encoding algorithm is the complement of the decoding algorithm applied by data decoding circuit 170. In one particular embodiment of the present invention, the data encoding algorithm is a low density parity check algorithm. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize a variety of data encoding algorithms that may be used in relation to different embodiments of the present invention.
Turning to
Interference mitigation circuit 240 operates to mitigate inter-cell interference (i.e., interference evident in bit patterns 152 due to cells surrounding the cell from which bit patterns 152 were derived). Interference mitigation circuit 240 mitigates the interference by adding an offset value from instances of soft information 235 to yield an offset reduced data output in accordance with the following equation:
where m is an estimated mean value provided as an input 242, and a is an estimated variance value provided as an input 244. The estimated mean value and estimated variance value are calculated based upon data from a preceding block of data processed by data decoding circuit 200. The aforementioned offset reduced output is then scaled using a calculated scaling value to yield a corrected soft information 250 in accordance with the following equation:
Of note, while decoding circuit 200 is previously described as mitigating only symmetric interference, it may be modified to account for asymmetric interference. To do so, interference mitigation circuit 240 first determines whether the received instance of soft information 235 corresponds to a voltage less than the estimated actual mean plus interference mean consistent with the following equation:
y<m+Δm,
where y represents the voltage value, m represents the estimated actual mean, and Δm represents the estimated interference mean. Where the voltage is less than the estimated actual mean plus interference mean, interference mitigation circuit 240 adds an offset value to soft information 235 in accordance to yield an offset reduced data output in accordance with the following equation:
where Δσ1 is a left side variance provided as an input to interference offset circuit 240. Alternatively, where the voltage is not less than the estimated actual mean plus interference mean, interference mitigation circuit 240 subtacts an offset value to soft information 235 in accordance to yield an offset reduced data output in accordance with the following equation:
where Δσ2 is a right side variance provided as an input to interference offset circuit 240. The aforementioned offset reduced output is then scaled using a calculated scaling value to yield a corrected soft information 250 in accordance with the following equation:
Corrected soft information 250 is then provided to a low density parity check decoder circuit 270 that applies a low density parity check algorithm to the received data to yield hard decision output 292. As shown, low density parity check decoder circuit 270 includes variable node units 272 and check node units 274 that pass c2v messages 278 and v2c messages 274 to each other in an iterative manner to obtain hard decision output 292. It should be noted that low density parity check decoder circuit 270 may be any low density parity check decoder circuit known in the art.
Turning to
Interference mitigation circuit 440 operates to mitigate inter-cell interference (i.e., interference evident in bit patterns 152 due to cells surrounding the cell from which bit patterns 152 were derived). Interference mitigation circuit 440 includes an interference offset circuit 442, an interference scaling circuit 448, a parameter training circuit 490, and a parameter training control circuit 493. Interference offset circuit 442 adds an offset value from instances of soft information 435 to yield an offset reduced data output 445 in accordance with the following equation:
where m is an estimated mean value 491 and a is an estimated variance value 495 each provided from parameter training circuit 490.
Offset reduced output 445 is provided to interference scaling circuit 448 where it is multiplied by a scalar value to yield a corrected soft information 450 in accordance with the following equation:
again, where m is an estimated mean value 491 provided from parameter training circuit 490.
Parameter training circuit 490 calculates a mean and a variance of the received soft information 435 across a block of data, and use the mean and variance values for the next block of data to be processed. The calculated mean value is provided as estimated mean value 491, and the calculated variance value is provided as estimated variance value 495. Parameter training circuit 490 is controlled by parameter training control circuit 493 that provides a block change output 499 each time access to a given block changes to another block as indicated by a received block address 497 that corresponds to address data 192 of
Corrected soft information 450 is then provided to a low density parity check decoder circuit 470 that applies a low density parity check algorithm to the received data to yield hard decision output 492. As shown, low density parity check decoder circuit 470 includes variable node units 472 and check node units 474 that pass c2v messages 478 and v2c messages 474 to each other in an iterative manner to obtain hard decision output 492. It should be noted that low density parity check decoder circuit 470 may be any low density parity check decoder circuit known in the art.
Turning to
Interference mitigation circuit 540 operates to mitigate inter-cell interference (i.e., interference evident in bit patterns 152 due to cells surrounding the cell from which bit patterns 152 were derived). Interference mitigation circuit 540 includes a side selection circuit 541, an interference offset circuit 542, an interference scaling circuit 548, a parameter training circuit 590, and a parameter training control circuit 593. Side selection circuit 541 selects whether a left side or right side mitigation is to be performed based upon a comparison of soft information 535 to average values. In particular, side selection circuit 541 determines whether the received instance of soft information 235 corresponds to a voltage less than the estimated actual mean plus interference mean consistent with the following equation:
y<m+Δm,
where y represents the voltage value, m represents the estimated actual mean, and Δm represents the estimated interference mean. The value of m+Δm is received as an average value 591 from parameter training circuit 591. Where the value is less, side selection circuit 541 asserts a side selection output 543 low. Alternatively, side selection circuit 541 asserts side selection output 543 high.
Interference offset circuit 542 augments soft information 535 by an offset value selected based upon the assertion level of side selection output 543. Where side selection output 543 is asserted low indicating a left side offset, interference offset circuit 542 adds an offset as follows to yield an offset reduced output 545:
where Δσ1 is received as a variance input 595 from parameter training circuit 590. Otherwise, where side selection output 543 is asserted high indicating a right side offset, interference offset circuit 542 subtracts an offset as follows to yield an offset reduced output 545:
where Δσ2 is received as a variance input 596 from parameter training circuit 590. Parameter m is an estimated mean value and a is an estimated variance value 591 each provided from parameter training circuit 590.
Offset reduced output 545 is provided to interference scaling circuit 548 where it is multiplied by a scalar value to yield a corrected soft information 550 in accordance with the following equation:
again, where m is an estimated mean value 591 provided from parameter training circuit 590.
Parameter training circuit 590 calculates a left variance, a right variance, and a mean of the received soft information 535 across a block of data, and use the mean and variance values for the next block of data to be processed. The calculated mean value is provided as estimated mean value 591, and the calculated left variance and right variance are provided as estimated variance value 595 and estimated variance value 596, respectively. Parameter training circuit 590 is controlled by parameter training control circuit 593 that provides a block change output 599 each time access to a given block changes to another block as indicated by a received block address 597 that corresponds to address data 192 of
Corrected soft information 550 is then provided to a low density parity check decoder circuit 570 that applies a low density parity check algorithm to the received data to yield hard decision output 592. As shown, low density parity check decoder circuit 470 includes variable node units 572 and check node units 574 that pass c2v messages 578 and v2c messages 574 to each other in an iterative manner to obtain hard decision output 592. It should be noted that low density parity check decoder circuit 570 may be any low density parity check decoder circuit known in the art.
Turning to
Alternatively, where the request is a request to read data (block 610), the memory cells identified by the request are accessed to yield a series of bit patterns (block 630). The information accessed from the memory cells is voltage level values which are then converted to bit patterns using an analog to digital conversion circuit. Soft information is then generated for the bit patterns (block 635). This soft information indicates a probability that the bit pattern is correct or not. In some embodiments of the present invention, the soft information is LLR data as is known in the art. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize a variety of approaches that may be used for generating soft information in accordance with one or more embodiments of the present invention.
A side of the asymmetry is selected based upon the series of bit patterns (block 640). In particular, it is determined whether the received voltage value from the particular memory cell (represented as the series of bit patterns) is less than a value m+Δm determined as described below. The following equation represents the comparison:
y<m+Δm,
where y represents the voltage value, m represents the estimated actual mean, and Δm represents the estimated interference mean. Where the value is less, then a left side asymmetry is selected (block 640). Otherwise, a right side asymmetry is selected (block 640).
Based upon the selected side, an interference offset is applied to yield an offset reduced output (block 645). The offset reduced output is calculated in accordance with the following equations:
and where Δσ1 is a variance input calculated as a left side variance calculated by a parameter calculation circuit, and Δσ2 is a variance input calculated as a right side variance by a parameter calculation circuit. Parameter m is an estimated mean value and σ is an estimated variance each provided by the parameter calculation circuit. The offset reduced output is then scaled to yield a corrected soft information in accordance with the following equation (block 650):
again, where m is an estimated mean value provided from the parameter calculation circuit.
A data decoding algorithm is applied to the corrected soft information to yield a data output (block 655). The decoding algorithm provides the reverse process of the encoding algorithm of block 615. Thus, where the encoding algorithm of block 615 is a low density parity check encoding algorithm, the decoding algorithm of block 655 is a low density parity check decoding algorithm as is known in the art. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize a variety of decoding algorithms that may be used in relation to different embodiments of the present invention.
In addition, the parameters used in calculating the offset reduced output (block 645) and the corrected soft information (block 650) are updated (block 670). In particular, the following parameters are calculated: a left variance (a variance of all values less than a center voltage), a right variance (a variance of all values greater than the center voltage), and a mean of the received soft information across a block of data (m+Δm). It is determined if the end of a requested block of data being accessed (block 675). Where it is not the end of the block (block 675), the next received data are incorporated into the previously mentioned calculated parameters (block 670). Alternatively, where it is the end of the block (block 675), the updated parameters are stored for use in mitigating interference in the next requested block (block 680).
It should be noted that the various blocks discussed in the above application may be implemented in integrated circuits along with other functionality. Such integrated circuits may include all of the functions of a given block, system or circuit, or a subset of the block, system or circuit. Further, elements of the blocks, systems or circuits may be implemented across multiple integrated circuits. Such integrated circuits may be any type of integrated circuit known in the art including, but are not limited to, a monolithic integrated circuit, a flip chip integrated circuit, a multichip module integrated circuit, and/or a mixed signal integrated circuit. It should also be noted that various functions of the blocks, systems or circuits discussed herein may be implemented in either software or firmware. In some such cases, the entire system, block or circuit may be implemented using its software or firmware equivalent. In other cases, the one part of a given system, block or circuit may be implemented in software or firmware, while other parts are implemented in hardware.
In conclusion, the invention provides novel systems, devices, methods and arrangements for priority based data processing. While detailed descriptions of one or more embodiments of the invention have been given above, various alternatives, modifications, and equivalents will be apparent to those skilled in the art without varying from the spirit of the invention. Therefore, the above description should not be taken as limiting the scope of the invention, which is defined by the appended claims.
This application is a continuation application of U.S. patent application Ser. No. 13/912,063, filed on 6 Jun. 2013, and entitled, SYSTEMS AND METHODS FOR INTER-CELL INTERFERENCE MITIGATION IN A FLASH MEMORY, now U.S. Pat. No. 9,235,469, issued on 12 Jan. 2016, which claims the benefit of the filing date of U.S. Provisional Application No. 61/826,464, filed on 22 May 2013, and entitled “SYSTEMS AND METHODS FOR INTER-CELL INTERFERENCE MITIGATION IN A FLASH MEMORY, the disclosures of which are incorporated, in their entireties, by this reference.
Number | Name | Date | Kind |
---|---|---|---|
7388781 | Litsyn | Jun 2008 | B2 |
7725800 | Yang et al. | May 2010 | B2 |
8015499 | Kanaoka | Sep 2011 | B2 |
8060803 | Kim | Nov 2011 | B2 |
8117515 | Yang | Feb 2012 | B2 |
8136022 | Jeong et al. | Mar 2012 | B2 |
8185787 | Marrow | May 2012 | B1 |
8250434 | Yang et al. | Aug 2012 | B2 |
8335977 | Weingarten | Dec 2012 | B2 |
8341502 | Steiner | Dec 2012 | B2 |
8443244 | Marrow | May 2013 | B2 |
8457229 | Seyama | Jun 2013 | B2 |
8549385 | Yang | Oct 2013 | B2 |
8576625 | Yang | Nov 2013 | B1 |
8621293 | Marrow | Dec 2013 | B2 |
8848305 | Xiao et al. | Sep 2014 | B2 |
8848308 | Xiao et al. | Sep 2014 | B2 |
8854757 | Mathew et al. | Oct 2014 | B2 |
8947941 | Steiner | Feb 2015 | B2 |
9135155 | Sharon | Sep 2015 | B2 |
9231620 | Bao | Jan 2016 | B2 |
9235469 | Zhang | Jan 2016 | B2 |
20080151704 | Harada | Jun 2008 | A1 |
20090135693 | Kim et al. | May 2009 | A1 |
20120063022 | Mathew | Mar 2012 | A1 |
20120063023 | Mathew | Mar 2012 | A1 |
20120063024 | Mathew | Mar 2012 | A1 |
20120063284 | Mathew | Mar 2012 | A1 |
20130021689 | Haratsch | Jan 2013 | A1 |
20130229867 | Tang et al. | Sep 2013 | A1 |
Entry |
---|
Gibson et al., “Directions for Shingled-Write and Two-Dimensional Magnetic Recording System,” Architectures: Synergies with Solid-State Disks, Carnegie Mellon University, May 1, 2009. |
Wu, et al., “Equation Based LDPC Decoder for Intersymbol Interference Channels,” 2005, IEEE International Conf. on acoustics, Speech and Signal Processing, vol. 5, Mar. 2005. |
Number | Date | Country | |
---|---|---|---|
20160124808 A1 | May 2016 | US |
Number | Date | Country | |
---|---|---|---|
61826464 | May 2013 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 13912063 | Jun 2013 | US |
Child | 14994001 | US |