CN-122019250-A - Method for generating log likelihood ratio table, soft decoding method and related equipment
Abstract
The application discloses a method for generating a log likelihood ratio table, a soft decoding method and related equipment. The method for generating the log likelihood ratio table comprises the steps of obtaining a plurality of reading voltage intervals corresponding to multi-reading operation of a storage device, respectively obtaining intermediate voltage values corresponding to the plurality of reading voltage intervals from the plurality of reading voltage intervals, and inputting the intermediate voltage values as function variables into a preset function to calculate so as to obtain the log likelihood ratio corresponding to each of the plurality of reading voltage intervals, and further generating the log likelihood ratio table, wherein the log likelihood ratio table comprises the numbers of the plurality of reading voltage intervals, the corresponding plurality of intermediate voltage values and the log likelihood ratio. The application enables the generation of the log likelihood ratio table to have dynamic adaptability, thereby improving the error correction capability of the storage device.
Inventors
- DONG GUIQIANG
- WANG TAO
- ZHANG YIFAN
Assignees
- 慧忆微(上海)科技有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260414
Claims (10)
- 1. A method of generating a log likelihood ratio table, comprising: Acquiring a plurality of read voltage intervals corresponding to multi-read operation of the storage device; Respectively acquiring intermediate voltage values corresponding to the plurality of reading voltage intervals from the plurality of reading voltage intervals; And inputting the intermediate voltage value as a function variable into a preset function for calculation to obtain the corresponding log likelihood ratio value of each of the plurality of reading voltage intervals, and further generating the log likelihood ratio table, wherein the log likelihood ratio table comprises the numbers of the plurality of reading voltage intervals, the corresponding plurality of intermediate voltage values and the log likelihood ratio value.
- 2. The method of claim 1, wherein the multiple read operation comprises performing n read operations, the n read operations corresponding to n read voltages; The obtaining a plurality of read voltage intervals corresponding to the multi-read operation of the storage device includes: dividing a threshold voltage based on the n read voltages to obtain n+1 read voltage intervals; wherein the difference between adjacent read voltages in the n read voltages is the same.
- 3. The method of claim 1, wherein the multiple read operation comprises performing m read operations, the m read operations corresponding to m read voltages; The obtaining a plurality of read voltage intervals corresponding to the multi-read operation of the storage device includes: dividing a threshold voltage based on the m read voltages to obtain m+1 read voltage intervals; wherein, among the m read voltages, there are differences between at least two adjacent read voltages.
- 4. The method of claim 1, wherein the predetermined function comprises a linear function; wherein the slope and intercept of the primary function are determined based on operating parameters of the storage device.
- 5. The method of claim 4, wherein the operating parameters include gaussian noise variance, scaling factor of channel transmission, and peak-to-valley spacing of threshold voltage over a multi-read operating range; wherein the slope of the primary function is characterized by a result value of the scaling factor divided by the gaussian noise variance and the peak-to-valley spacing in sequence; the intercept of the primary function is 0.
- 6. The method of claim 4, wherein inputting the intermediate voltage value as a function variable into a predetermined function for calculation to obtain the log likelihood ratio value corresponding to each of the plurality of read voltage intervals, comprises: Calculating the intermediate voltage value by using the primary function to obtain an initial function value; and rounding the initial function value to obtain the log likelihood ratio corresponding to the intermediate voltage value.
- 7. The method of claim 1, wherein the intermediate voltage value is a midpoint voltage value of the read voltage interval.
- 8. A method of soft decoding, the method comprising: responding to the hard decoding failure, and acquiring the current hard reading voltage; Performing multiple read operations based on the hard read voltage, and acquiring multiple read voltage intervals corresponding to the multiple read operations; mapping the plurality of read voltage intervals into corresponding log likelihood ratio values according to a log likelihood ratio table, and inputting the corresponding log likelihood ratio values into a soft decoder for decoding; Wherein the log likelihood ratio table is generated by the method of generating a log likelihood ratio table according to any one of claims 1to 7.
- 9. An electronic device comprising a memory and a processor coupled to each other, the processor being configured to execute program instructions stored in the memory to implement the method of generating the log likelihood ratio table of any one of claims 1 to 7 or to implement the soft decoding method of claim 8.
- 10. A non-transitory computer readable storage medium having stored thereon program instructions, which when executed by a processor, implement the method of generating a log likelihood ratio table according to any one of claims 1 to 7, or implement the soft decoding method according to claim 8.
Description
Method for generating log likelihood ratio table, soft decoding method and related equipment Technical Field The embodiments disclosed herein relate to the field of storage technologies, and more particularly, to a method for generating a log likelihood ratio table, a soft decoding method, and related devices. Background With the progress of semiconductor technology, the storage density of flash memory cells continues to increase, from Single-layer cells (Single-LEVEL CELL, SLC), multi-layer cells (Multi-LEVEL CELL, MLC) to Triple-layer cells (Triple-LEVEL CELL, TLC) and Quad-LEVEL CELL, QLC), the number of data bits stored in a Single memory cell increases significantly, and correspondingly, the data reliability decreases gradually. In order to maintain the reliability of data, a Low-density parity-Check Code (LDPC) soft decoding technique is generally used. Soft decoding requires that soft information be obtained by performing a plurality of read operations and mapped to Log-Likelihood Ratio (LLR) values for decoding, however, the present Log-Likelihood Ratio obtaining still has the problem of low efficiency and high cost. Disclosure of Invention According to an embodiment of the present application, the present application proposes a method for generating a log likelihood ratio table, a soft decoding method and related devices, so as to solve the above-mentioned problems. The first aspect of the application discloses a method for generating a log likelihood ratio table, which comprises the steps of obtaining a plurality of reading voltage intervals corresponding to multi-reading operation of storage equipment, respectively obtaining intermediate voltage values corresponding to the plurality of reading voltage intervals from the plurality of reading voltage intervals, inputting the intermediate voltage values as function variables into a preset function to calculate so as to obtain log likelihood ratios corresponding to the plurality of reading voltage intervals, and further generating the log likelihood ratio table, wherein the log likelihood ratio table comprises the numbers of the plurality of reading voltage intervals, the corresponding plurality of intermediate voltage values and the log likelihood ratio. In some embodiments, the multi-read operation includes performing n read operations, where the n read operations correspond to n read voltages, and the obtaining a plurality of read voltage intervals corresponding to the multi-read operation for the memory device includes dividing a threshold voltage into n+1 read voltage intervals based on the n read voltages, where differences between adjacent read voltages in the n read voltages are the same. In some embodiments, the multi-read operation includes performing m times of read operations, the m times of read operations corresponding to m read voltages, and the acquiring a plurality of read voltage intervals corresponding to the multi-read operation of the memory device includes dividing a threshold voltage into m+1 read voltage intervals based on the m read voltages, wherein a difference value between at least two adjacent read voltages is different in the m read voltages. In some embodiments, the preset function comprises a primary function, wherein the slope and intercept of the primary function are determined based on the operating parameters of the storage device. In some embodiments, the operating parameters include Gaussian noise variance, scaling factor of channel transmission and peak-to-valley spacing of threshold voltage in a multi-read operating range, wherein the slope of the primary function is characterized by the scaling factor divided by the Gaussian noise variance and the peak-to-valley spacing in sequence, and the intercept of the primary function is 0. In some embodiments, the step of inputting the intermediate voltage value as a function variable into a preset function to perform calculation to obtain log likelihood ratio values corresponding to the plurality of read voltage intervals includes the steps of calculating the intermediate voltage value by using the primary function to obtain an initial function value, and performing rounding operation on the initial function value to obtain the log likelihood ratio value corresponding to the intermediate voltage value. In some embodiments, the intermediate voltage value is a midpoint voltage value of the read voltage interval. The application discloses a soft decoding method, which comprises the steps of responding to hard decoding failure, obtaining current hard reading voltage, executing multi-reading operation based on the hard reading voltage, obtaining a plurality of reading voltage intervals corresponding to the multi-reading operation, mapping the plurality of reading voltage intervals into corresponding log likelihood ratio values according to a log likelihood ratio table, and inputting the corresponding log likelihood ratio values into a soft decoder for decoding, wherein the