Systems and method relating generally to data processing, and more particularly to systems and methods for recovering data from a solid state memory.
Solid state storage device use a variety of error correction schemes to assure that data originally written is later properly accessed. In some cases, such schemes are unable to effectively correct one or more errors. This problem becomes more acute as the number of bits per cell in a solid state cell is increased.
Hence, for at least the aforementioned reasons, there exists a need in the art for advanced systems and methods for recovering data from a solid state storage device.
Systems and method relating generally to data processing, and more particularly to systems and methods for combining recovered portions of a data set.
Various embodiments of the present invention provide data processing systems that include a solid state memory device, and a data processing circuit. The data processing circuit includes a soft information calculation circuit and a data decoding circuit. The soft information calculation circuit operable to calculate soft information indicating a probability that one or more elements of a data set derived from the solid state memory device represent data originally stored to the solid state memory device. The data decoding circuit is operable to apply a data decoding algorithm to the data set derived from the solid state memory device guided by 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.
Systems and method relating generally to data processing, and more particularly to systems and methods for combining recovered portions of a data set.
Various embodiments of the present invention provide data processing systems that include a solid state memory device, and a data processing circuit. The data processing circuit includes a soft information calculation circuit and a data decoding circuit. The soft information calculation circuit operable to calculate soft information indicating a probability that one or more elements of a data set derived from the solid state memory device represent data originally stored to the solid state memory device. The data decoding circuit is operable to apply a data decoding algorithm to the data set derived from the solid state memory device guided by the soft information. In some instances of the aforementioned embodiments, the data decoding algorithm is a low density parity check decoding algorithm. In some cases, the data processing circuit is implemented as part of an integrated circuit. In one or more cases, the data processing circuit and the solid state memory device are implemented on the same integrated circuit. In one or more cases, the solid state memory device includes a number of flash memory cells. These flash memory cells may be capable of representing more than one bit of data. In particular cases, the flash memory cells are NAND flash memory cells.
In various instances of the aforementioned embodiments, the data processing circuit further includes a limited location re-read request circuit operable to identify a subset of elements of the data set derived from the solid state memory device exhibiting an increased likelihood of error. In some cases, identifying the subset of elements of the data set derived from the solid state memory device exhibiting an increased likelihood of error is based at least in part on one of or a combination of the following indicators: a location in the data set where a large number of bit modifications occurred during application of the data decoding algorithm, a location in the data set associated with a large number of unsatisfied parity check equations, a location in the data set associated with a trapping set, and/or a location in the data set exhibiting a high variance from the location to a proximate location. In some cases, the data processing circuit is further operable to cause the identified subset of elements of the data set to be re-read using different threshold values applied to the solid state memory device to yield a number of re-read values, and to estimate a voltage stored by the solid state memory device for each of the identified subset of elements of the data set. In such cases, the soft information calculation circuit is operable to calculate the soft information based at least in part on the estimated voltage stored by the solid state memory device for each of the identified subset of elements of the data set.
In other instances of the aforementioned embodiments, the solid state memory device is operable to provide a voltage corresponding to at least one element a data set accessible from the solid state memory device. In such cases, the soft information calculation circuit is operable to calculate the soft information based at least in part on the voltage corresponding to the at least one element a data set accessible from the solid state memory device.
Other embodiments of the present invention provide methods for recovering data that include: accessing a data set from a solid state storage device; using a data decoding circuit to apply a data decoding algorithm to the data set to yield a decoded output, where the decoded output includes at least one error; identifying at least one critical location in the data set; estimating a voltage associated with the data in the data set corresponding to the critical location; calculating soft information corresponding to the critical location based at least in part on the estimated voltage; and re-applying the data decoding algorithm to the data set guided by the soft information to yield an updated decoded output. In some cases, the data decoding algorithm is a low density parity check decoding algorithm.
In various instances of the aforementioned embodiments, identifying the at least one critical location in the data set is based at least in part on one or a combination of the following indicators: a location in the data set where a large number of bit modifications occurred during application of the data decoding algorithm, a location in the data set associated with a large number of unsatisfied parity check equations, a location in the data set associated with a trapping set, and/or a location in the data set exhibiting a high variance from the location to a proximate location. In one or more instances of the aforementioned embodiments, estimating the voltage associated with the data in the data set corresponding to the critical location includes re-accessing data from the critical location using different threshold values applied to the solid state memory device to yield a number of re-read values, and estimating the voltage based upon the different threshold values and corresponding re-read values. In such instances, the soft information may be calculated based at least in part on the estimated voltage and a defined performance metric of the solid state storage device.
Yet other embodiments of the present invention provide electronic devices that include a storage system, and an application system. The application system is operable to perform a defined function using data accessed from the storage system. As just some examples, the defined function may be displaying the data in an audio or visual format, or performing calculations using the data. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize a variety of defined functions that may be performed by the application system in accordance with different embodiments of the present invention. The storage system includes a solid state memory device, and a data processing circuit. The data processing circuit includes a soft information calculation circuit and a data decoding circuit. The soft information calculation circuit operable to calculate soft information indicating a probability that one or more elements of a data set derived from the solid state memory device represent data originally stored to the solid state memory device. The data decoding circuit is operable to apply a data decoding algorithm to the data set derived from the solid state memory device guided by the soft information.
Turning to
A data write is effectuated when host controller circuit 160 provides write data 105 to be written along with an address 110 indicating the location to be written. A memory access controller 120 formats write data 105 and provides an address 123 and an encoded write data 125 to a write circuit 130. Write circuit 130 provides a write voltage 135 corresponding to respective groupings of encoded write data 125 that is used to charge respective flash memory cells addressed by address 123. For example, where flash memory cells are two bit cells (i.e., depending upon the read voltage, a value of ‘11’, ‘10’, ‘00’, or ‘01’ is returned), the following voltages may be applied to store the data:
Where V3 is greater than V2, V2 is greater than V1, and V1 is greater than V0.
A data read is effectuated when host controller circuit 160 provides address 110 along with a request to read data from the corresponding location in flash memory cells 14. Memory access controller 120 accesses a read voltage 145 from locations indicated by address 123 and compares the voltage to a number of threshold values to reduce the voltage to a multi-bit read data 155. Using the same two bit example, the following multi-bit read data 155 results:
This multi-bit read data 155 is provided from memory access controller 120 to data processing circuit 170 as read data 107. Data processing circuit 170 applies a data decoding algorithm to read data 107 using soft data that is fixed at defined values. The following shows a series of two bit symbols with corresponding soft data fixed at defined values:
Where the decoding converges (i.e., the original data is recovered as indicated by, for example, satisfaction of all parity check equations in the data), the resulting decoded data 175 is provided to host controller circuit 160 in satisfaction of the read request.
Alternatively, where the decoding algorithm fails to converge, the decoding process is queried to identify data within read data 107 that is most likely incorrect. This may include, for example, identifying location in read data 107 that exhibit a high variance from one position to the next position (e.g., a transition from a ‘11’ corresponding to the highest voltage level to a ‘01’ corresponding to the lowest voltage level), a location in read data where a large number of bit modifications occurred during the decoding process, a location associated with a large number of unsatisfied parity check equations, and/or a location associated with a trapping set. Based upon one or a combination of the aforementioned indicators, critical locations in read data 107 are identified. These critical locations are identified by data processing circuit 170 along with refined read thresholds to memory access controller 120 as a re-read control output 177. Memory access controller 170 re-reads the identified critical locations multiple times using the refined thresholds to zero in on the actual raw voltage read from flash memory cells 140 corresponding to the critical locations. This results in a number of different values of read data 107 each corresponding to respective ones of the refined thresholds. Data processing circuit 170 uses the results of the multiple reads at different thresholds to generate an estimate of the voltage on the respective flash memory cells corresponding to the critical locations. This estimated voltage is then used to calculate soft data indicating a probability that the data received from each the flash memory cells 140 at the respective critical locations was correctly received. Locations in the original soft data that was fixed a defined values corresponding to the critical locations are modified to yield a modified soft data. Using the preceding example, the result of modifying the soft data at an identified critical location (Loc. X+2) is as follows:
The modified soft data may be a log-likelihood ratio calculated in accordance with the following equation:
where i indicates the particular location, and yi is the estimated voltage. p(1|yi) represents the probability of a logic ‘1’ for the particular value of y, and p(0|yi) represents the probability of a logic ‘0’ for the particular value of y. The values of p(1|y) and p(0|y) are predefined. In the case where flash memory cells 140 are obtained as part of an off the shelf product, the aforementioned values (or some combination thereof) are available from the manufacturer. In some embodiments of the present invention, an approximation of the aforementioned equation may be used to calculate the updated soft data. Data processing circuit 170 re-applies the data decoding algorithm to original read data 107 using the modified soft data. Where the decoding converges, the resulting decoded data 175 is provided to host controller circuit 160 in satisfaction of the read request. Otherwise, where the decoding fails to converge, an error is returned to host controller circuit 160.
Using such an approach, probability data for critical locations in data read from flash memory cells may be re-read multiple times as part of generating probability information useful in improving the data decoding process without requiring a more global re-read of the entire data set. Such an approach may be used to increase the performance of solid state storage device 100.
Turning to
An encoding circuit 270 encodes comparison output 235, comparison output 245, and comparison output 255 into a two bit output (MSB 272, LSB 274). The following table shows the encoding:
The combination of MSB 272 and LSB 274 are provided as multi-bit read data 155.
Turning to
Where data output 325 converges, no further operation is applied to read data 305. Alternatively, where data output 325 fails to converge, a repeated read of critical locations is performed as part of updating soft information 312. In particular, data decoder circuit 320 identifies critical locations based upon one or a combination of the following criteria: locations 330 in read data 305 where a large number of bit modifications occurred during the decoding process, locations 335 in read data 305 associated with a large number of unsatisfied parity check equations, and/or locations 340 in read data 305 associated with a trapping set. In addition, an inter-cell difference circuit 315 identifies locations 317 in read data 305 that exhibit a high variance from one position to the next position (e.g., a transition from a ‘11’ corresponding to the highest voltage level to a ‘01’ corresponding to the lowest voltage level). All of these criterion are provided to a limited location re-read request circuit 350 which uses the information to determine which locations to identify as critical. In one particular embodiment of the present invention, a defined number of critical locations are identified, and the locations that exhibit the largest number of the aforementioned criterion up to the defined number of locations. In one particular embodiment, the defined number of critical locations is five (5). Based upon the disclosure provided herein, one of ordinary skill in the art will recognize a variety of approaches for selecting critical locations based upon the aforementioned criterion, and/or a different number of critical locations that are allowed in accordance with different embodiments of the present invention.
Limited location re-read request circuit 350 provides a re-read request 352 indicating the identified critical locations along with refined read thresholds 354 that are to be used to generate an estimate of the voltage on the respective flash memory cells corresponding to the critical locations. The combination of re-read request 352 and refined read thresholds 354 are provided as re-read control output 177. Using this information, memory access controller 120 of
Using
A Y-data generation circuit 370 determines an actual voltage (i.e., a y-value) based upon the combination of knowledge of read data 305 re-read multiple times and the threshold values being used in each re-read. The resulting estimated voltage 372 is provided to a soft data calculation circuit 310. Using the example above, Y-data generation circuit 370 would simply select the updated value of threshold TH2 as estimated voltage 372. Soft data calculation circuit 310 calculates updated soft data for the critical location to which estimated voltage 372 corresponds in accordance with the following equation:
where i indicates the particular location, and yi is the estimated voltage. p(1|yi) represents the probability of a logic ‘1’ for the particular value of y, and p(0|yi) represents the probability of a logic ‘0’ for the particular value of y. The values of p(1|y) and p(0|y) are predefined. Further, soft data calculation circuit changes the previous fixed value of soft information 312 to reflect the newly calculated value as represented by the following table where the critical location is Loc. X+2:
Data decoder circuit 320 re-applies the data decoding algorithm to the original read data 305 guided by the modified soft information. Where the data decoding algorithm converges, data decoder circuit 320 provides the result as data output 325. Otherwise, data decoder circuit 320 indicates an error.
Turning to
In some embodiments of the present invention, the data decoding algorithm is a low density parity check decoding algorithm as are known in the art. 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.
It is determined whether the resulting decoded output converged (i.e., the original data was recovered as indicated by, for example, satisfaction of all parity check equations in the data)(block 420). Where the decoded output converges (block 420), the resulting decoded output is provided (block 425), and the process is returned to block 405.
Alternatively, where it is determined that the resulting decoded output failed to converge (i.e., the original data was not recovered) (block 420), critical locations in the data are determined (block 450). The critical locations are identified based upon one or a combination of the following criteria: locations in the read data where a large number of bit modifications occurred during the decoding process, locations in the read data associated with a large number of unsatisfied parity check equations, locations in the read data associated with a trapping set, and/or locations in the read data that exhibit a high variance from one position to the next position (e.g., a transition from a ‘11’ corresponding to the highest voltage level to a ‘01’ corresponding to the lowest voltage level). In one particular embodiment of the present invention, a defined number of critical locations are identified, and the locations that exhibit the largest number of the aforementioned criterion up to the defined number of locations. In one particular embodiment, the defined number of critical locations is five (5). Based upon the disclosure provided herein, one of ordinary skill in the art will recognize a variety of approaches for selecting critical locations based upon the aforementioned criterion, and/or a different number of critical locations that are allowed in accordance with different embodiments of the present invention.
One of the critical locations is selected (block 455), and a modified threshold is selected to estimate an underlying voltage stored in the flash memory at the selected critical location (block 460). Using
It is determined whether the estimated voltage is sufficiently close to the actual value (block 475). This may be done, for example, by determining how large the next step in changing the threshold would be. Where the step is sufficiently small, the estimated voltage is considered sufficiently accurate. Where the estimated voltage is not sufficiently accurate (block 475), the modified threshold is updated again to more closely estimate the estimated voltage (block 480). Again, using
Where, on the other hand, the estimated voltage is sufficiently accurate (block 475), it is determined whether another critical location remains to be characterized (block 485). Where another critical location remains to be characterized (block 485), the processes of blocks 455-485 are repeated to establish an estimated voltage for each of the critical locations.
Where no more critical locations remain to be characterized (block 485), soft data is calculated for the critical locations using the previously established estimated voltages for the critical locations (block 490). This calculation may be done in accordance with the following equation:
where i indicates the particular location, and yi is the estimated voltage. p(1|yi) represents the probability of a logic ‘1’ for the particular value of y, and p(0|yi) represents the probability of a logic ‘0’ for the particular value of y. The values of p(1|y) and p(0|y) are predefined.
The calculated soft data is incorporated into the previously fixed value soft information. Where the critical location is Loc. X+2, the updated soft information is set forth in the following table:
The data decoding algorithm is re-applied to the read data using the modified soft information to yield a decoded output (block 430). It is determined whether the resulting decoded output converged (i.e., the original data was recovered as indicated by, for example, satisfaction of all parity check equations in the data)(block 420). Where the decoded output converges (block 435), the resulting decoded output is provided (block 440), and the process is returned to block 405. Otherwise, where the decoded output fails to converge (block 435), an error is indicated (block 445), and the process is returned to block 405.
Alternatively, where a read request is not received (block 405), it is determined whether a write request has been received (block 495). Where a write request is received (block 495), data received is formatted and written to a location in the memory cells indicated by an address received as part of the write request (block 497), and the process returns to block 405.
Turning to
An encoding circuit 570 encodes comparison output 535, comparison output 545, and comparison output 555 into a two bit output (MSB 572, LSB 574). The following table shows the encoding:
The combination of MSB 572 and LSB 574 are provided as multi-bit read data 155. In addition, a raw output 525 is provided. Raw output 525 may be either an analog voltage value or a digital representation of the analog voltage value provided from memory cell 520. As the actual voltage value is provided, the need for estimated the voltage employed in the approach discussed above in relation to
Turning to
where i indicates the particular location, and yi is the actual voltage received as voltage 607 for each element (i) of read data 605. p(1|yi) represents the probability of a logic ‘1’ for the particular value of y, and p(0|yi) represents the probability of a logic ‘0’ for the particular value of y. The values of p(1|y) and p(0|y) are predefined. The calculated soft data is incorporated into the previously fixed value soft information. Where the critical location is Loc. X+2, the updated soft information is set forth in the following table:
Data decoder circuit 620 applies a data decoding algorithm to the combination of soft information and read data 605 to yield a data output 625. In some embodiments of the present invention, the data decoding algorithm is a low density parity check decoding algorithm as are known in the art. 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.
Turning to
where i indicates the particular location, and yi is the actual voltage received as the raw data for each element (i) of hard data. p(1|yi) represents the probability of a logic ‘1’ for the particular value of y, and p(0|yi) represents the probability of a logic ‘0’ for the particular value of y. The values of p(1|y) and p(0|y) are predefined.
A data decoding algorithm is applied to the hard data guided by the calculated soft information to yield a decoded output (block 715). In some embodiments of the present invention, the data decoding algorithm is a low density parity check decoding algorithm as are known in the art. 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.
It is determined whether the resulting decoded output converged (i.e., the original data was recovered as indicated by, for example, satisfaction of all parity check equations in the data) (block 720). Where the decoded output converges (block 720), the resulting decoded output is provided (block 725), and the process is returned to block 705. Otherwise, an error is indicated (block 730), and the process is returned to block 705.
Alternatively, where a read request is not received (block 705), it is determined whether a write request has been received (block 795). Where a write request is received (block 795), data received is formatted and written to a location in the memory cells indicated by an address received as part of the write request (block 797), and the process returns to block 705.
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 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. 14/918,410, filed 20 Oct. 2015, and entitled SYSTEMS AND METHODS FOR ENHANCED DATA RECOVERY IN A SOLID STATE MEMORY SYSTEM, pending, which is a continuation application of U.S. patent application Ser. No. 14/047,423, filed on 7 Oct. 2013, now U.S. Pat. No. 9,164,828, issued on 20 Oct. 2015, which claims the benefit of the filing date of U.S. Provisional Application No. 61/883,123, filed 26 Sep. 2013, and entitled SYSTEMS AND METHODS FOR ENHANCED DATA RECOVERY IN A SOLID STATE MEMORY SYSTEM, the disclosures of which are incorporated, in their entireties, by this reference.
Number | Date | Country | |
---|---|---|---|
61883123 | Sep 2013 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 14918410 | Oct 2015 | US |
Child | 15269605 | US | |
Parent | 14047423 | Oct 2013 | US |
Child | 14918410 | US |