CN103365738A - Light weight soft information obtaining method of multi-layer flash memory device - Google Patents

Light weight soft information obtaining method of multi-layer flash memory device Download PDF

Info

Publication number
CN103365738A
CN103365738A CN2013103225163A CN201310322516A CN103365738A CN 103365738 A CN103365738 A CN 103365738A CN 2013103225163 A CN2013103225163 A CN 2013103225163A CN 201310322516 A CN201310322516 A CN 201310322516A CN 103365738 A CN103365738 A CN 103365738A
Authority
CN
China
Prior art keywords
probability
soft information
flash
flash memory
voltage status
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013103225163A
Other languages
Chinese (zh)
Other versions
CN103365738B (en
Inventor
霍文捷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhiyu Technology Co ltd
Original Assignee
Memoright Memoritech Wuhan Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Memoright Memoritech Wuhan Co Ltd filed Critical Memoright Memoritech Wuhan Co Ltd
Priority to CN201310322516.3A priority Critical patent/CN103365738B/en
Publication of CN103365738A publication Critical patent/CN103365738A/en
Application granted granted Critical
Publication of CN103365738B publication Critical patent/CN103365738B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Read Only Memory (AREA)

Abstract

The invention discloses a light weight soft information obtaining method of a multi-layer flash memory device, aiming at extracting the soft information of data stored in the multi-layer flash memory device through a method of quantitatively recording noises in a flash memory channel and a corresponding statistic method, providing accurate and reliable soft information for an LDPC (Low Density Parity Check Code)error correction algorithm, obviously enhancing the LDPC error correction performance, reducing the uncorrectable error probability of a flash memory chip, and effectively prolonging the service life of the multi-layer flash memory device. The soft information obtaining technology aiming at the multi-layer flash memory device can be also widely applied to systems adopting 2-bit MLC, 3-bit MLC (TLC) flash memories as storage media, and the service life of the flash memory chip can be prolonged.

Description

The soft information getting method of lightweight of multi-level flush memory device
Technical field
The present invention relates to the technical field of data storage take flush memory device as storage medium such as solid-state hard disk controller, flash controller, be specifically related to a kind of lightweight software information acquisition methods for flash disk operation.
Background technology
In solid state hard disc, adopt in a large number non-volatile flash chip as storage medium.Yet flash chip is along with the increase of erase-write cycles, and its physical characteristics progressively fails, and causes the mistake of save data to roll up.Finally, the bit number of mistake can surpass the error correcting capability of system, thereby causes user data to lose efficacy.The decline of the physical characteristics of flash chip seems more remarkable along with the raising of flash chip manufacture craft, and especially after manufacturing process entered into the stage of inferior 20 nanometers, the flash memory life-span of adopting new technology only can reach adopted 1/3 of previous generation technique flash memory.The fast-descending trend in the serviceable life of flash chip has greatly restricted the application of flash chip, and particularly in the solid state hard disc field, the introducing of new technology is to having formed huge challenge in serviceable life of solid state hard disc.
In order to prolong the serviceable life of flash chip, guarantee the safety of user data, be designed with correction module in the solid-state hard disk controller, the data that read from flash chip are carried out correction process, eliminate the mistake in the data.Traditionally, the Error Correction of Coding of main flow all adopts BCH code, and this coded system is calculated fast, and error correcting capability is strong.Yet along with the raising of flash chip manufacturing process, the BCH error correction algorithm can't provide enough error correcting capabilities for flash chip.Widely used LDPC code (low density parity check code) relies on its powerful error correcting capability to begin to become the new trend of in the future flash error correction development in communication field.
Although LDPC code error-correcting performance is powerful, bring into play its function need to provide the soft information of reading out data as input.Yet flash controller can only read the discrete message that is made of logic ' 0 ' and logic ' 1 ' from the standard interface of flash chip, can't directly provide its needed soft information for LDPC.At present, the voltage sensor of the main many groups of different threshold values by flash chip inside of existing paper and patent is sampled to storage unit internal physical voltage status in the flash chip, and by the ADC(analog-digital conversion) analog voltage of storage unit in the flash chip is quantified as the mode of digital quantity, obtain soft information, and carry out the LDPC decode operation based on this.Although this mode is accurate, but complicated operation, and need to depend on flash memory vendors provides the internal command of flash chip to help obtain soft information, and the internal command that different flash memory vendors provides is not quite similar again, thereby limited the application of LDPC code in solid state hard disc, such as reference paper [1] Guiqiang Dong, Ningde Xie, Tong Zhang.On the Use of Soft-Decision Error-Correction Codes in NAND Flash Memory.IEEE Transactions on circuits and system – I:Regular papers, Vol.58No.2.2011.2; Reference paper [2] Jiadong Wang, Thomas Courtade, Hari Shankar, Richard D.Wesel.Soft Information for LDPC Decoding in Flash:Mutual-Information Optimized Quantization.IEEE Globecom2011proceedings; Reference paper [3] Dong-hwan Lee.Estimation of NAND Flash Memory Threshold Voltage Distribution for Optimum Soft-Decision Error Correction.IEEE Transactions on Signal Processing, Vol.61, Issue2.2013.1.The obtain manner of another soft information is the Disturbance Model of utilizing between the flash memory cell, by from the logical value of flash memory output, recovering the soft information of data, such as reference paper [4] Daesung Kim, Jinho Choi, Jeongseok Ha.On the Soft Information Extraction from Hard-Decision Outputs in MLC NAND Flash Memory.IEEE Globecom2012proceedings.This mode need to be utilized the many groups voltage sensor in the flash chip equally, is subjected to the flash chip structural limitations, and calculation of complex, is unfavorable for Project Realization.
Summary of the invention
Technical matters to be solved by this invention provides the soft information getting method of a kind of lightweight for multi-level storage unit flash memory, be different from prior art and require the accurately method of the threshold voltage value of estimation, can realize from the flush memory device of standard interface, directly obtaining soft information, the serviceable life of having improved flash chip in engineering.
For can optimization LDPC Algorithm Performance, corresponding soft information need to be arranged as input, yet flash chip can only provide the discrete logic information after the quantification.Therefore, the present invention proposes a kind of method of obtaining the soft information of flush memory device by statistics.Its technical conceive is, by the statistics in the past error message in the flash chip physical block, quantitatively estimate the noise of flash-memory channels, when the flash controller reading out data, calculate the soft information of reading out data according to the error characteristic of Physical Page in the noise figure of estimating and the physical block, utilize at last the LDPC algorithm that the data that read are carried out error correction calculations, thereby obtain accurately data message.
For the MLC flash chip, 4 voltage statuss of 1 physical memory cell correspond respectively to 2 logical values, i.e. high-order (MSB) logical value and low level (LSB) logical value.According to the mapping relations that interweave of flash chip internal logic value and physics voltage status, can be obtained by the logical value of MSB and LSB the voltage status of floating boom in the physical memory cell, this process is called the computing that interweaves; Similarly, also can be obtained by the floating boom voltage status in the physical memory cell MSB and the LSB logical value of respective memory unit, this process is called the deinterleaving computing.
The soft information getting method of the lightweight for multi-level storage unit flash memory that the present invention proposes may further comprise the steps:
Step ⅰ, the voltage status of establishing the flash memory physical memory cell are X i(X i∈ X, X={X 0, X 1, X 2, X 3), the voltage status that the logical value of reading from flash chip obtains by the deinterleaving computing is Y j(Y j∈ Y, Y={Y 0, Y 1, Y 2, Y 3), then in the process of flash chip operation, to add up take physical block as unit, the voltage status of preserving when physical memory cell is X iThe time, it is Y by the interweave voltage status of resulting this physical memory cell of computing of de-interleaving jProbability P (Y j| X i), P (Y j| X i) characterized in the flash-memory channels noise to the interference of data message;
Step ⅱ, when flash controller during from the flash chip reading out data, the logical data collected according to the computing that interweaves of the mapping relations of flash chip, is obtained the physics voltage status Y that physical memory cell is preserved in the current flash chip j
Step ⅲ, utilize Bayesian formula to calculate respectively when being Y by the resulting flash memory physics of deinterleaving computing voltage status j(Y j∈ Y, Y={Y 0, Y 1, Y 2, Y 3) time, the physics voltage status that its storage unit is preserved is X iProbability P (X i| Y j); X iBe respectively X 0, X 1, X 2And X 3Probability be respectively:
P ( X 0 | Y j ) = P ( Y j | X 0 ) P ( X 0 ) Σ i = 0 3 P ( X i ) P ( Y j | X i ) - - - ( 1 )
P ( X 1 | Y j ) = P ( Y j | X 1 ) P ( X 1 ) Σ i = 0 3 P ( X i ) P ( Y j | X i ) - - - ( 2 )
P ( X 2 | Y j ) = P ( Y j | X 2 ) P ( X 2 ) Σ i = 0 3 P ( X i ) P ( Y j | X i ) - - - ( 3 )
P ( X 3 | Y j ) = P ( Y j | X 3 ) P ( X 3 ) Σ i = 0 3 P ( X i ) P ( Y j | X i ) - - - ( 4 )
Wherein, P (X 0), P (X 1), P (X 2) and P (X 3) be respectively recording voltage state X in the flash memory 0, X 1, X 2, X 3Prior probability, i.e. prior known X 0, X 1, X 2And X 3Distribution probability; P (Y j| X 0), P (Y j| X 1), P (Y j| X 2) and P (Y j| X 3) be the probability record of having collected.
Step ⅳ, according to the mapping relations of deinterleaving computing, calculate the log-likelihood ratio (Log Likelihood Ratio) of data message, thereby obtain the soft information of receive data.
The flash memory physical state that receives when flash controller is Y j(Y j∈ Y, Y={Y 0, Y 1, Y 2, Y 3) time, the log-likelihood ratio of corresponding MSB and LSB logical value can obtain by following formula:
LLR MSB | Y j = log P ( X 2 | Y j ) + P ( X 3 | Y j ) P ( X 0 | Y j ) + P ( X 1 | Y j ) - - - ( 5 )
LLR LSB | Y j = log P ( X 1 | Y j ) + P ( X 2 | Y j ) P ( X 0 | Y j ) + P ( X 3 | Y j ) - - - ( 6 )
Like this, will
Figure BDA00003584314100051
With
Figure BDA00003584314100052
To be updated in the LDPC error correction algorithm as the soft information of MSB and LSB logical value and calculate, thereby bring into play to greatest extent the performance of LDPC error correction algorithm.
The technical scheme of further optimizing is, after finishing LDPC error correction calculations, counts under the current state, and the physics voltage status of preserving when storage unit is X iThe time, be Y by the resulting flash memory physics of deinterleaving computing voltage status jProbability P Δ(Y j| X i).When obtaining the soft information of lightweight, use P next time Δ(Y j| X i) P (Y in replacement formula (1)-(6) j| X i), the log-likelihood ratio of calculating MSB and LSB logical value.Be conducive to like this improve the accuracy of each soft acquisition of information computing.
Further be that establishing and obtain the soft information of lightweight for the t time, finish the later storage unit physics voltage status of LDPC error correction calculations is X i, be Y by the resulting flash memory physics of deinterleaving computing voltage status jThe probability meter make P (t)(Y j| X i), t is natural number.Then utilize following formula iterative computation P (t)(Y j| X i):
P (t)(X i|Y j)=α 1P (t-1)(X i|Y j)+α 2P Δ(X i|Y j), α 11∈[0,1]
Wherein, α 1And α 2Be respectively P (t-1)(Y j| X i) and P Δ(Y j| X i) weighted value.Probability P when iteration begins (0)(Y j| X i) can rule of thumb provide.When obtaining the soft information of lightweight, use P next time (t)(Y j| X i) P (Y in replacement formula (1)-(6) j| X i), the log-likelihood ratio of calculating MSB and LSB logical value.Thereby more improved the accuracy of each soft acquisition of information computing.
Further, in the MLC flash chip, the error property between the inner different Physical Page of Same Physical piece is also inhomogeneous, therefore, in order to optimize the performance of LDPC error correction algorithm, the present invention further considers the error characteristic information of Physical Page in the process of calculating soft information.At record probability P (Y j| X i) time, the present invention will record respectively the probability situation of each Physical Page: P 1(Y j| X i), P 2(Y j| X i), P 3(Y j| X i) ... P n(Y j| X i), wherein n is the number of Physical Page in the physical block.When flash controller need to be to the soft information calculations in k the Physical Page, only need to adopt P k(Y j| X i) calculate and get final product:
P k ( X 0 | Y 0 ) = P k ( Y 0 | X 0 ) P ( X 0 ) Σ i = 0 3 P ( X i ) P k ( Y 0 | X i )
P k ( X 1 | Y 0 ) = P k ( Y 0 | X 1 ) P ( X 1 ) Σ i = 0 3 P ( X i ) P k ( Y 0 | X i )
P k ( X 2 | Y 0 ) = P k ( Y 0 | X 2 ) P ( X 2 ) Σ i = 0 3 P ( X i ) P k ( Y 0 | X i )
P k ( X 3 | Y 0 ) = P k ( Y 0 | X 3 ) P ( X 3 ) Σ i = 0 3 P ( X i ) P k ( Y 0 | X i )
LLR MSB | Y j = log P k ( X 2 | Y j ) + P k ( X 3 | Y j ) P k ( X 0 | Y j ) + P k ( X 1 | Y j )
LLR LSB | Y j = log P k ( X 1 | Y j ) + P k ( X 2 | Y j ) P k ( X 0 | Y j ) + P k ( X 3 | Y j )
Method after process is optimized improves the accuracy in the soft information access process, provides more information to process to the LDPC error correction algorithm, reduces the not probability of correctable error to occur.The present invention utilizes the method for statistics to extract the soft information of its storage data from multi-level flush memory device (2-bit MLC, 3-bit TLC), thereby has significantly improved the performance of error correction algorithm, has effectively prolonged the serviceable life of multi-level flush memory device.This technology is fit to be applied in the occasions take flush memory device as storage medium such as solid-state hard disk controller, flash controller, to improve the robustness of memory device, prolongs the serviceable life of memory device.
Description of drawings
Below in conjunction with the drawings and specific embodiments technical scheme of the present invention is further described in detail.
Fig. 1 is the mapping schematic diagram of logical value and physics voltage status in the flash memory cell.
Fig. 2 is flash-memory channels model schematic diagram.
Fig. 3 is the schematic flow sheet of soft technology for information acquisition.
Embodiment
In the MLC flash chip, can keep 4 kinds of stable voltage statuss in 1 physical memory cell.These 4 kinds of voltage statuss are mapped as the combination of 2 logical values, thereby realize 2 logical values of 1 physical memory cell preservation.Fig. 1 has described the mapping relations in a certain MLC flash chip.Be set with four kinds of physics voltage status: E, D1, D2 and D3 in the physical memory cell of this MLC flash chip.Corresponding logical value is divided into high-order logical value (MSB) and low level logical value (LSB) with it, and corresponds respectively to { 1,1}, { 1,0}, { 0,0}, { 0,1}.
Flash chip has been realized the mapping operations between physics voltage status and the logical value by computing and this dual mode of deinterleaving computing of interweaving.In the process of programming to flash chip, flash chip is converted into the physics voltage status that physical memory cell should be preserved with the logical value of input by the computing that interweaves.For example, when MSB and the LSB of input be during 1,0}, and flash chip inner understand corresponding physical memory cell is programmed into voltage status D1.Correspondingly, in reading the process of flash memory chip data, flash chip is quantified as definite voltage status with the magnitude of voltage of current preservation, and then carries out the deinterleaving computing, is converted to corresponding logical value after the physics voltage status is quantized.For example, when the voltage status after quantizing in the flash chip physical memory cell is D1, by the deinterleaving computing, flash chip will export to the outside that MSB is 1, LSB is 0 logical value.
When information is kept at the inside of flash chip, can be subject to inevitably the interference of chip internal noise.As shown in Figure 2, write fashionablely from the flash chip outside when data, flash chip at first carries out interlace operation, and the physics voltage status that then will write by programming operation is converted into the magnitude of voltage of the required preservation of storage unit.When needs during from the inner reading out data of flash chip, flash chip is the mode by quantizing to read then, and analog voltage is quantified as definite voltage status, then by the deinterleaving operation, obtains corresponding logical value.The aanalogvoltage information that is kept in the storage unit can be subject to the disturbing influence of various additive noises, and changes.Serious noise even can make reads the logical data that the obtains upset that meets accident, thereby leads to errors.
Noise disturbance in the flash chip is unfixing, and along with flash chip loss in use, the disturbance of noise presents the trend of continuous enhancing.This noise disturbance has affected the serviceable life of flash chip.Therefore, in order to obtain more exactly the soft information in the flash chip, need to carry out record to the impact of voltage status in the storage unit to the noise of flash chip in operating process.
In the ideal case, the voltage status of flash memory cell storage is E, D1, D2, D3.In operating process, hypothetical record primary voltage state corresponding with perfect condition in flash memory cell is X i(X i∈ X, X={X 0, X 1, X 2, X 3); The voltage status that the logical value of reading from flash chip obtains by the deinterleaving computing is Y j(Y j∈ Y, Y={Y 0, Y 1, Y 2, Y 3).Through after the error correction calculations, flash controller can obtain being recorded in the primary voltage state of flash memory cell, by the primary voltage state of storage is compared with the number of the voltage status of reading, can obtain: when the primary voltage state is X iThe time, the read-out voltage state is Y jProbability P (Y j| X i).For example, be X by statistics primary voltage state 3Number, and be X at the primary voltage state 3And the voltage status of reading is Y 2Number, can calculate when the primary voltage state be X 3The time read-out voltage state be Y 2Probability P (Y 2| X 3).Because the noise disturbance in the flash chip is along with operation is also changing, its impact on flash memory cell is also changing, so, probability P (Y after each error-correction operation finishes j| X i) all will go on record.
The interface of flash chip can only provide the logical value of storage unit, yet the LDPC error correction algorithm need to soft information as input, therefore, need and can get access to the probabilistic information of the data of accepting as the input of LDPC error correction algorithm from the logical message that receives.The present invention at first to the logical data collected according to the computing that interweaves of the mapping relations of flash chip, obtain the physics voltage status Y that storage array is preserved in the current flash chip.After calculating the voltage status of current memory cell, the present invention will utilize Bayesian formula according to the probability record of flash chip, and calculating respectively the flash memory physical state that ought receive is Y j(Y j∈ Y, Y={Y 0, Y 1, Y 2, Y 3) time, the physical state that its storage unit is preserved is X i(X i∈ X, X={X 0, X 1, X 2, X 3) posterior probability P (X i| Y j).
For example, the flash memory physical state that receives when flash controller is Y 0The time, the voltage status that this storage unit is preserved is respectively X 0, X 1, X 2And X 3Probability be respectively:
P ( X 0 | Y j ) = P ( Y j | X 0 ) P ( X 0 ) Σ i = 0 3 P ( X i ) P ( Y j | X i ) - - - ( 1 )
P ( X 1 | Y j ) = P ( Y j | X 1 ) P ( X 1 ) Σ i = 0 3 P ( X i ) P ( Y j | X i ) - - - ( 2 )
P ( X 2 | Y j ) = P ( Y j | X 2 ) P ( X 2 ) Σ i = 0 3 P ( X i ) P ( Y j | X i ) - - - ( 3 )
P ( X 3 | Y j ) = P ( Y j | X 3 ) P ( X 3 ) Σ i = 0 3 P ( X i ) P ( Y j | X i ) - - - ( 4 )
Wherein, P (X 0), P (X 1), P (X 2) and P (X 3) be respectively in the flash memory prior probability of storage information, i.e. prior known X 0, X 1, X 2And X 3Distribution probability; P (Y 0| X 0), P (Y 0| X 1), P (Y 0| X 2) and P (Y 0| X 3) can be obtained by the probability that the past collects.In like manner, can also calculate P (X 0| Y 1), P (X 1| Y 1), P (X 2| Y 1), P (X 3| Y 1), P (X 0| Y 2), P (X 1| Y 2), P (X 2| Y 2), P (X 3| Y 2), P (X 0| Y 3), P (X 1| Y 3), P (X 2| Y 3), P (X 3| Y 3).
Finish on the basis that posterior probability is calculated, the present invention will according to the mapping relations of deinterleaving computing, calculate and MSB and the corresponding log-likelihood ratio of LSB logical value (Log Likelihood Ratio), as the soft information of receive data
For example, the flash memory physical state that receives when flash controller is Y 0The time, the log-likelihood ratio of corresponding MSB and LSB logical value can obtain by following formula:
LLR MSB | Y j = log P ( X 2 | Y j ) + P ( X 3 | Y j ) P ( X 0 | Y j ) + P ( X 1 | Y j ) - - - ( 5 )
LLR LSB | Y j = log P ( X 1 | Y j ) + P ( X 2 | Y j ) P ( X 0 | Y j ) + P ( X 3 | Y j ) - - - ( 6 )
In like manner, can calculate
Figure BDA00003584314100102
Figure BDA00003584314100104
Figure BDA00003584314100105
Figure BDA00003584314100106
Figure BDA00003584314100107
Finally, with resulting LLR MSB|YAnd LLR LSB|YTo in the LDPC error correction algorithm, calculate as the soft input information of MSB and LSB logical value, thereby bring into play to greatest extent the performance of LDPC error correction algorithm.
After finishing the LDPC error correction calculations, the present invention will compare the data message before and after the error correction computing, and counting the physical state of preserving when storage unit is X iThe time, it is Y by the resulting flash memory physical state of deinterleaving computing jProbability P (Y j| X i), as the current erroneous condition P of flash chip physical block Δ(Y j| X i).On this basis, the present invention will be according to the probability P of collecting in physical block past the t-1 time iterative process (t-1)(Y j| X i), utilize following formula to carry out interative computation, calculate and carry out the needed probability P of iteration the t time (t)(Y j| X i):
P (t)(X i|Y j)=α 1P (t-1)(X i|Y j)+α 2P Δ(X i|Y j), α 11∈[0,1]
Wherein, α 1And α 2Be respectively P (t-1)(Y j| X i) and P Δ(Y j| X i) weighted value.Probability P when iteration begins (0)(Y j| X i) can rule of thumb provide.New probability record P (t)(Y j| X i) will be to this physical block record of the probability in soft information calculations process P (Y next time j| X i) participate in computing, thus the accuracy of each soft acquisition of information computing guaranteed.
In order to optimize further soft technology for information acquisition, the present invention has added up respectively the probabilistic information of each Physical Page in the physical block when statistics P (Y|X).For 1 physical block structure with 128 Physical Page.In the process of flash chip operation, the error probability of each Physical Page is also inhomogeneous.The present invention further considers the error characteristic information of Physical Page in the process of calculating soft information, take meticulousr recording mode, substitutes the probability P (Y of state variation in the general record physical block j| X i).The probability of each Physical Page will be collected respectively in the physical block: P 1(Y j| X i), P 2(Y j| X i), P 3(Y j| X i) ... P n(Y j| X i), wherein n is the number of Physical Page in the physical block.When flash controller need to be to the soft information calculations of k Physical Page, only need to use P k(Y j| X i) calculate and get final product.
For example, when the data message of flash controller to the 13rd Physical Page, when carrying out soft acquisition of information, by the probability record P in this Physical Page past of index 13(Y j| X i), be updated to Bayesian formula and calculate and get final product.
P 13 ( X 0 | Y 0 ) = P 13 ( Y 0 | X 0 ) P ( X 0 ) Σ i = 0 3 P ( X i ) P 13 ( Y 0 | X i )
P 13 ( X 1 | Y 0 ) = P 13 ( Y 0 | X 1 ) P ( X 1 ) Σ i = 0 3 P ( X i ) P 13 ( Y 0 | X i )
P 13 ( X 2 | Y 0 ) = P 13 ( Y 0 | X 2 ) P ( X 2 ) Σ i = 0 3 P ( X i ) P 13 ( Y 0 | X i )
P 13 ( X 3 | Y 0 ) = P 13 ( Y 0 | X 3 ) P ( X 3 ) Σ i = 0 3 P ( X i ) P 13 ( Y 0 | X i )
Because the probability P for Physical Page 13(Y j| X i) than the probability P (Y of past for physical block j| X i) record meticulouslyr, the quantity of information that comprises is more, therefore, has improved the correctness to soft information calculations, has strengthened the performance of error correction algorithm.The account form of its LLR is:
LLR MSB | Y j = log P 13 ( X 2 | Y j ) + P 13 ( X 3 | Y j ) P 13 ( X 0 | Y j ) + P 13 ( X 1 | Y j )
LLR LSB | Y j = log P 13 ( X 1 | Y j ) + P 13 ( X 2 | Y j ) P 13 ( X 0 | Y j ) + P 13 ( X 3 | Y j )
The complete workflow of soft technology for information acquisition proposed by the invention as shown in Figure 3.In realizing process of the present invention, can be with the error probability P (Y in the operating process j| X i) (wherein, i ≠ j) preserve.When starting soft technology for information acquisition, at first judge whether it is to start for the first time.If start for the first time, then the historical experience configuration error probability according to the past records P (Y j| X i) initial value; Otherwise, will directly begin reading out data from flash chip.After reading out the logical value of data message, obtain voltage status Y according to the mapping relations between logical message and the voltage status j, and statistical computation probability record P (Y j| X i), then utilize formula (1)-(6) to calculate the soft information of corresponding MSB and LSB logical value, and substitution LDPC error correction algorithm calculates, thereby obtain the correct result after the verification.Behind the LDPC error checking and correction, iteration is upgraded error probability record P (Y j| X i) value, to guarantee the next time accuracy of soft acquisition of information.After finishing renewal, the present invention will check whether also have new operation, if also need new data to read, will proceed data read operation, otherwise with out of service.
It should be noted last that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although with reference to preferred embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not breaking away from the spirit and scope of technical solution of the present invention, it all should be encompassed in the middle of the claim scope of the present invention.

Claims (4)

1. the soft information getting method of the lightweight of a multi-level flush memory device is characterized in that, may further comprise the steps:
Step ⅰ, the voltage status of establishing the flash memory physical memory cell are X i(X i∈ X, X={X 0, X 1, X 2, X 3), the voltage status that the logical value of reading from flash chip obtains by the deinterleaving computing is Y j(Y j∈ Y, Y={Y 0, Y 1, Y 2, Y 3), then in the process of flash chip operation, to add up take physical block as unit, the voltage status of preserving when physical memory cell is X iThe time, it is Y by the interweave voltage status of resulting this physical memory cell of computing of de-interleaving jProbability P (Y j| X i), P (Y j| X i) characterized in the flash-memory channels noise to the interference of data message;
Step ⅱ, when flash controller during from the flash chip reading out data, the logical data collected according to the computing that interweaves of the mapping relations of flash chip, is obtained the physics voltage status Y that physical memory cell is preserved in the current flash chip j
Step ⅲ, utilize Bayesian formula to calculate respectively when being Y by the resulting flash memory physics of deinterleaving computing voltage status j(Y j∈ Y, Y={Y 0, Y 1, Y 2, Y 3) time, the physics voltage status that its storage unit is preserved is X iProbability P (X i| Y j); X iBe respectively X 0, X 1, X 2And X 3Probability be respectively:
P ( X 0 | Y j ) = P ( Y j | X 0 ) P ( X 0 ) Σ i = 0 3 P ( X i ) P ( Y j | X i ) - - - ( 1 )
P ( X 1 | Y j ) = P ( Y j | X 1 ) P ( X 1 ) Σ i = 0 3 P ( X i ) P ( Y j | X i ) - - - ( 2 )
P ( X 2 | Y j ) = P ( Y j | X 2 ) P ( X 2 ) Σ i = 0 3 P ( X i ) P ( Y j | X i ) - - - ( 3 )
P ( X 3 | Y j ) = P ( Y j | X 3 ) P ( X 3 ) Σ i = 0 3 P ( X i ) P ( Y j | X i ) - - - ( 4 )
Wherein, P (X 0), P (X 1), P (X 2) and P (X 3) be respectively recording voltage state X in the flash memory 0, X 1, X 2, X 3Prior probability, i.e. prior known X 0, X 1, X 2And X 3Distribution probability; P (Y j| X 0), P (Y j| X 1), P (Y j| X 2) and P (Y j| X 3) be the probability record of having collected;
Step ⅳ, according to the mapping relations of deinterleaving computing, calculate the log-likelihood ratio (Log Likelihood Ratio) of data message, thereby obtain the soft information of receive data;
The flash memory physical state that receives when flash controller is Y j(Y j∈ Y, Y={Y 0, Y 1, Y 2, Y 3) time, the log-likelihood ratio of corresponding MSB and LSB logical value can obtain by following formula:
LLR MSB | Y j = log P ( X 2 | Y j ) + P ( X 3 | Y j ) P ( X 0 | Y j ) + P ( X 1 | Y j ) - - - ( 5 )
LLR LSB | Y j = log P ( X 1 | Y j ) + P ( X 2 | Y j ) P ( X 0 | Y j ) + P ( X 3 | Y j ) - - - ( 6 ) .
2. the soft information getting method of the lightweight of multi-level flush memory device according to claim 1 is characterized in that, and is further comprising the steps of:
After finishing LDPC error correction calculations, count under the current state, the physics voltage status of preserving when storage unit is X iThe time, be Y by the resulting flash memory physics of deinterleaving computing voltage status jProbability P Δ(Y j| X i);
When obtaining the soft information of lightweight, use P next time Δ(Y j| X i) P (Y in replacement formula (1)-(6) j| X i), the log-likelihood ratio of calculating MSB and LSB logical value.
3. the soft information getting method of the lightweight of multi-level flush memory device according to claim 2 is characterized in that, and is further comprising the steps of:
If obtaining the soft information of lightweight for the t time, finishing the later storage unit physics voltage status of LDPC error correction calculations is X i, be Y by the resulting flash memory physics of deinterleaving computing voltage status jThe probability meter make P (t)(Y j| X i), t is natural number; Then utilize following formula iterative computation P (t)(Y j| X i):
P (t)(X i|Y j)=α 1P (t-1)(X i|Y j)+α 2P Δ(X i|Y j), α 11∈[0,1]
Wherein, α 1And α 2Be respectively P (t-1)(Y j| X i) and P Δ(Y j| X i) weighted value, the probability P when iteration begins (0)(Y j| X i) can rule of thumb provide;
When obtaining the soft information of lightweight, use P next time (t)(Y j| X i) P (Y in replacement formula (1)-(6) j| X i), the log-likelihood ratio of calculating MSB and LSB logical value.
4. according to claim 1 to the soft information getting method of lightweight of one of 3 described multi-level flush memory devices, it is characterized in that, further comprising the steps of: at record probability P (Y j| X i) time, record respectively the probability situation P of each Physical Page k(Y j| X i): P 1(Y j| X i), P 2(Y j| X i), P 3(Y j| X i) ... P n(Y j| X i), wherein n is the number of Physical Page in the physical block, 1≤k≤n;
When flash controller need to be to the soft information calculations in k the Physical Page, only need to adopt a following formula to calculate and get final product:
P k ( X 0 | Y 0 ) = P k ( Y 0 | X 0 ) P ( X 0 ) Σ i = 0 3 P ( X i ) P k ( Y 0 | X i )
P k ( X 1 | Y 0 ) = P k ( Y 0 | X 1 ) P ( X 1 ) Σ i = 0 3 P ( X i ) P k ( Y 0 | X i )
P k ( X 2 | Y 0 ) = P k ( Y 0 | X 2 ) P ( X 2 ) Σ i = 0 3 P ( X i ) P k ( Y 0 | X i )
P k ( X 3 | Y 0 ) = P k ( Y 0 | X 3 ) P ( X 3 ) Σ i = 0 3 P ( X i ) P k ( Y 0 | X i )
LLR MSB | Y j = log P k ( X 2 | Y j ) + P k ( X 3 | Y j ) P k ( X 0 | Y j ) + P k ( X 1 | Y j ) .
LLR LSB | Y j = log P k ( X 1 | Y j ) + P k ( X 2 | Y j ) P k ( X 0 | Y j ) + P k ( X 3 | Y j ) .
CN201310322516.3A 2013-07-29 2013-07-29 The light weight soft information acquisition methods of multi-layer flash memory device Active CN103365738B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310322516.3A CN103365738B (en) 2013-07-29 2013-07-29 The light weight soft information acquisition methods of multi-layer flash memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310322516.3A CN103365738B (en) 2013-07-29 2013-07-29 The light weight soft information acquisition methods of multi-layer flash memory device

Publications (2)

Publication Number Publication Date
CN103365738A true CN103365738A (en) 2013-10-23
CN103365738B CN103365738B (en) 2016-02-17

Family

ID=49367156

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310322516.3A Active CN103365738B (en) 2013-07-29 2013-07-29 The light weight soft information acquisition methods of multi-layer flash memory device

Country Status (1)

Country Link
CN (1) CN103365738B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106981308A (en) * 2017-03-20 2017-07-25 记忆科技(深圳)有限公司 A kind of application process of accurate acquisition LLR information
CN107291382A (en) * 2017-05-19 2017-10-24 记忆科技(深圳)有限公司 The method and solid state hard disc of operating lag are read in a kind of solid state hard disc reduction
CN105159840B (en) * 2015-10-16 2018-11-02 华中科技大学 A kind of Soft Inform ation extracting method of flush memory device
CN109634772A (en) * 2018-11-01 2019-04-16 西南交通大学 A kind of iteration error control method and device for nand flash memory data
CN110689914A (en) * 2019-09-06 2020-01-14 苏州浪潮智能科技有限公司 Solid state disk reading error correction method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645295A (en) * 2008-08-08 2010-02-10 马维尔国际贸易有限公司 Accessing memory using fractional reference voltages
CN102034547A (en) * 2009-10-05 2011-04-27 株式会社东芝 Memory system and control method for the same
CN102394113A (en) * 2011-11-14 2012-03-28 清华大学 Dynamic LDPC error correction code method for flash memory
US20130135927A1 (en) * 2011-11-30 2013-05-30 Sandisk Technologies Inc. Systems and methods of decoding data using soft bits at a non-binary decoder that uses probabilistic decoding

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645295A (en) * 2008-08-08 2010-02-10 马维尔国际贸易有限公司 Accessing memory using fractional reference voltages
CN102034547A (en) * 2009-10-05 2011-04-27 株式会社东芝 Memory system and control method for the same
CN102394113A (en) * 2011-11-14 2012-03-28 清华大学 Dynamic LDPC error correction code method for flash memory
US20130135927A1 (en) * 2011-11-30 2013-05-30 Sandisk Technologies Inc. Systems and methods of decoding data using soft bits at a non-binary decoder that uses probabilistic decoding

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159840B (en) * 2015-10-16 2018-11-02 华中科技大学 A kind of Soft Inform ation extracting method of flush memory device
CN106981308A (en) * 2017-03-20 2017-07-25 记忆科技(深圳)有限公司 A kind of application process of accurate acquisition LLR information
CN107291382A (en) * 2017-05-19 2017-10-24 记忆科技(深圳)有限公司 The method and solid state hard disc of operating lag are read in a kind of solid state hard disc reduction
CN107291382B (en) * 2017-05-19 2020-04-28 记忆科技(深圳)有限公司 Method for reducing read response delay of solid state disk and solid state disk
CN109634772A (en) * 2018-11-01 2019-04-16 西南交通大学 A kind of iteration error control method and device for nand flash memory data
CN109634772B (en) * 2018-11-01 2020-09-25 西南交通大学 Iterative error control method and device for NAND flash memory data
CN110689914A (en) * 2019-09-06 2020-01-14 苏州浪潮智能科技有限公司 Solid state disk reading error correction method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN103365738B (en) 2016-02-17

Similar Documents

Publication Publication Date Title
TWI613674B (en) Detection and decoding in flash memories with selective binary and non-binary decoding
US8046660B2 (en) System and method for correcting errors in non-volatile memory using product codes
US8407563B2 (en) Low-complexity soft-decision decoding of error-correction codes
US9502117B2 (en) Cell-level statistics collection for detection and decoding in flash memories
US8990668B2 (en) Decoding data stored in solid-state memory
CN103365738A (en) Light weight soft information obtaining method of multi-layer flash memory device
CN101601094A (en) Use the method for a plurality of thresholding reading cells
Sun et al. Exploiting intracell bit-error characteristics to improve min-sum LDPC decoding for MLC NAND flash-based storage in mobile device
US11768732B2 (en) Soft decoding method using LLR conversion table
US9419651B2 (en) Non-polynomial processing unit for soft-decision error correction coding
US9836351B2 (en) Method for decoding bits in a solid state drive, and related solid state drive
JP2011514595A (en) Apparatus for determining the number of bits of data stored in a memory cell
US20130176780A1 (en) Detection and decoding in flash memories with error correlations for a plurality of bits within a sliding window
US9722635B2 (en) Controller for a solid-state drive, and related solid-state
US9715430B2 (en) Controller for a solid-state drive, and related solid-state drive
CN106681856A (en) Decoding method, storage storing device and storage control circuit unit
US10713116B2 (en) Solid state device implementing dynamic polar encoding
CN112331244B (en) Soft input soft output component code decoder for generalized low density parity check code
US11874736B2 (en) Calculating soft metrics depending on threshold voltages of memory cells in multiple neighbor word lines
US20240106461A1 (en) Adjustable Code Rates and Dynamic ECC in a Data Storage Device with Write Verification
CN111258791B (en) Memory control method, memory storage device and memory control circuit unit
Oh et al. Performance Comparison of Multi-level Coding Schemes for NAND Flash Memory
Ma et al. A Method of Soft-Sensing Log-Likelihood Ratios Based on Broad Learning System for NAND Flash Memories
KR101428849B1 (en) Error Correcting Methods and Circuit Using Low-Density Parity-Check over Interference Channel Environment, Flash Memory Device Using the Circuits and Methods
CN117707833A (en) Dynamic scaling factor modification of irregular LDPC codes

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 430070 Hubei city of Wuhan province Wuhan East Lake New Technology Development Zone Road No. two high Guan Nan Industrial Park No. 2 building 2-3 floor West

Applicant after: MEMORIGHT (WUHAN) Co.,Ltd.

Address before: 430070 Hubei city of Wuhan province Kuanshan road Optics Valley Software Park building C3 on the third floor 301-303 room

Applicant before: MEMORIGHT (WUHAN) Co.,Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 430070 Wuhan, Hubei Wuhan East Lake New Technology Development Zone, high-tech two Road No. 1 South Guan Industrial Park 2 factory 2-3 floor West.

Patentee after: EXASCEND TECHNOLOGY (WUHAN) CO.,LTD.

Address before: 430070 Wuhan, Hubei Wuhan East Lake New Technology Development Zone, high-tech two Road No. 1 South Guan Industrial Park 2 factory 2-3 floor West.

Patentee before: MEMORIGHT (WUHAN) Co.,Ltd.

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 430000 west of 2-3 / F, No.2 factory building, Guannan Industrial Park, No.1 Gaoxin 2nd Road, Wuhan Donghu New Technology Development Zone, Wuhan City, Hubei Province

Patentee after: Zhiyu Technology Co.,Ltd.

Address before: 430070 Wuhan, Hubei Wuhan East Lake New Technology Development Zone, high-tech two Road No. 1 South Guan Industrial Park 2 factory 2-3 floor West.

Patentee before: EXASCEND TECHNOLOGY (WUHAN) CO.,LTD.