Error correction device, operation method of error correction device, and controller including error correction device
By introducing an adaptive decoding controller into the LDPC decoder and adjusting the decoding parameters according to the decoding results, the problems of high computational complexity and high error floor in the LDPC method are solved, and data with high error correction capability and low error floor are achieved. corrective effect.
Patent Information
- Application Number
- CN201811532740.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2017-12-14
- Filing Date
- 2018-12-14
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2038-12-14
AI Technical Summary
Existing low-density parity check (LDPC) error correction methods have high computational complexity during the decoding process, resulting in increased error floors and low error correction capabilities.
By introducing an adaptive decoding controller into the LDPC decoder, the decoding parameters are iteratively adjusted according to the decoding results, and the log-likelihood ratio (LLR) parameters are used for LDPC decoding to reduce the error floor.
It achieves high error correction capability and low error floor, reduces the occurrence of error correction errors, and improves the reliability of data storage and reading.
Smart Images

Figure CN110008052B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims the priority benefit of Korean Patent Application No. 10-2017-0172571 filed on December 14, 2017 in the Korean Intellectual Property Office, the disclosure of which is incorporated by reference in its entirety. Technical Field
[0003] Embodiments of the present disclosure relate to electronic devices, and more particularly, to an error correction device, an operating method of the error correction device, and a controller including the error correction device. Background Art
[0004] Semiconductor memories support a write operation for storing data and a read operation for reading stored data. When data is written into the semiconductor memory, when data is stored in the semiconductor memory, or when data is read from the semiconductor memory, errors may occur. Various error correction methods are being developed for error correction.
[0005] Low density parity check (LDPC) method is one of the error correction methods that have been developed in recent years. In the LDPC method, the typical decoding method for error correction requires high computational complexity. In order to reduce the decoding complexity of the LDPC method, there are various attempts to approximate the LDPC decoder. However, the approximation of the LDPC decoder causes an increase in the error floor (error floor) and makes the error correction capability lower than the error correction capability of the typical decoding method using the LDPC method. Summary of the invention
[0006] Embodiments of the present disclosure provide an error correction device with high error correction capability and a low error floor, an operation method of the error correction device, and a controller including the error correction device.
[0007] According to an exemplary embodiment, an error correction apparatus includes a low density parity check (LDPC) decoder that iteratively performs LDPC decoding on data by using decoding parameters. An adaptive decoding controller calculates an error rate according to a result of LDPC decoding and adjusts the decoding parameters according to the error rate.
[0008] According to an exemplary embodiment, an operating method of an error correction device includes: receiving data, performing a first low-density parity check (LDPC) decoding on the data based on a first decoding parameter, calculating an error rate based on a result of the first LDPC decoding, adjusting the first decoding parameter to a second decoding parameter based on the error rate, and performing a second LDPC decoding on the data based on the second decoding parameter.
[0009] According to an exemplary embodiment, the controller includes a memory interface for receiving memory data. The error correction device corrects errors in the data received through the memory interface. The error correction device includes a low-density parity check (LDPC) decoder that iteratively performs LDPC decoding on the data by using decoding parameters. The adaptive decoding controller calculates an error rate based on the result of LDPC decoding and adjusts the decoding parameters based on the error rate.
[0010] According to an exemplary embodiment, a storage device includes a semiconductor memory, an error correction decoder, and a controller. The semiconductor memory stores data. The error correction decoder receives data from the semiconductor memory and applies low-density parity check (LDPC) decoding to the data using a value of a log likelihood ratio (LLR) parameter to generate a decoding result. The controller: (1) calculates an error rate within the decoding result, (2) generates a revised value of the LLR parameter based on the error rate, (3) controls the error correction decoder to apply LDPC decoding to the data using the revised value of the LLR parameter to generate a revised decoding result that does not contain an error, and (4) outputs the revised decoding result. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The above and other objects and features of the present disclosure will become apparent by describing exemplary embodiments of the present disclosure in detail with reference to the attached drawings.
[0012] Figure 1 is a block diagram illustrating an error correction apparatus according to an embodiment of the present disclosure.
[0013] Figure 2 is a flowchart illustrating an operation method of an error correction device according to an embodiment of the present disclosure.
[0014] Figure 3 An error correction device according to an embodiment of the present disclosure is shown.
[0015] Figure 4 The diagram shows Figure 3 Flow chart of the operation method of the error correction device.
[0016] Figure 5 An example of variable nodes and check nodes calculated in a low-density parity-check (LDPC) decoder is shown.
[0017] Figure 6 The figures show examples of the decoding parameters mentioned in Table 1 to Table 3.
[0018] Figure 7 The diagram shows Figure 3 A flow chart of an application of the method of operation of an error correction device.
[0019] Figure 8 The diagram shows Figure 3 Application of error correction device.
[0020] Fig. 9 The diagram shows Figure 8 A flow chart of an example of a method of operation of an error correction device.
[0021] Fig.10 The diagram shows Figure 6 Application of the first to third decoding parameters.
[0022] Fig.11 The diagram shows the Fig.10 Flowchart of an example of performing LDPC decoding with an iterative threshold.
[0023] Fig.12 is a diagram showing the result of test execution of the error correction device according to the embodiment of the present disclosure.
[0024] Fig.13 is a diagram showing another result of test execution of the error correction device according to the embodiment of the present disclosure.
[0025] Fig.14 is a block diagram illustrating a computing device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0026] In the following, embodiments of the present disclosure may be described in detail and clearly to the extent that a person having ordinary skill in the art can easily implement the present disclosure.
[0027] Figure 1 is a block diagram illustrating an error correction device 100 according to an embodiment of the present disclosure. Figure 1 , the error correction apparatus 100 includes a memory 110 , a low-density parity check (LDPC) decoder 120 , and an adaptive decoding controller 130 .
[0028] The memory 110 may store decoding parameters necessary for the LDPC decoder 120 to perform error correction decoding (eg, LDPC decoding). When the LDPC decoder 120 requests the decoding parameters, the memory 110 may provide the LDPC decoder 120 with the decoding parameters.
[0029] The LDPC decoder 120 may receive data “DATA” from the first external device. The LDPC decoder 120 may receive decoding parameters from the memory 110. The LDPC decoder 120 may perform error correction decoding (eg, LDPC decoding) on the data “DATA” based on the decoding parameters.
[0030] For example, the LDPC decoder 120 may iteratively perform LDPC decoding including check node updates and variable node updates. The LDPC decoder 120 may pass the LDPC decoding result to the adaptive decoding controller 130. For example, when iteratively performing LDPC decoding, the LDPC decoder 120 may pass each LDPC decoding result to the adaptive decoding controller 130.
[0031] The adaptive decoding controller 130 may receive the LDPC decoding result from the LDPC decoder 120. If the LDPC decoding result indicates that no error exists, the adaptive decoding controller 130 may output the error-corrected data DATA_C to the second external device. If the LDPC decoding result indicates that an error exists, the adaptive decoding controller 130 may calculate (or compute) an error rate of the LDPC decoding result and may control the memory 110 based on the error rate.
[0032] For example, the adaptive decoding controller 130 may allow the memory 110 to output different decoding parameters according to the error rate. For example, the adaptive decoding controller 130 may pass the address of a storage area to the memory 110, where the decoding parameters that the memory 110 will pass to the LDPC decoder 120 are stored, and the address may be changed according to the error rate.
[0033] Figure 2 1 is a flowchart illustrating an operation method of the error correction device 100 according to an embodiment of the present disclosure. In the embodiment, an example is described in which the error correction device 100 corrects an error corresponding to a bit of an error correction unit. Figure 1 and 2 , in operation S110 , the LDPC decoder 120 of the error correction apparatus 100 may receive data “DATA” from a first external device.
[0034] The data "DATA" may have a length corresponding to an error correction unit (e.g., the number of bits, the number of samples, or the number of symbols) based on which the error correction apparatus 100 corrects errors once. In operation S120, the LDPC decoder 120 of the error correction apparatus 100 may perform LDPC decoding on the received data "DATA".
[0035] For example, the LDPC decoder 120 may perform LDPC decoding based on the decoding parameters received from the memory 110. The LDPC decoding may include a check node update and a variable node update. The LDPC decoder 120 may pass the LDPC decoding result to the adaptive decoding controller 130. In operation S130, the adaptive decoding controller 130 of the error correction device 100 may calculate an error rate based on the LDPC decoding result. For example, the adaptive decoding controller 130 may calculate an error rate of the value of the updated variable node.
[0036] If it is determined in operation S140 that an error exists, operation S150 is performed. In operation S150, the adaptive decoding controller 130 of the error correction device 100 may adjust the decoding parameters according to the error rate. For example, the adaptive decoding controller 130 may allow the memory 110 to output different decoding parameters according to the error rate. After that, the process continues to operation S120, where the LDPC decoding is iterated again. If it is determined in operation S140 that an error does not exist, the adaptive decoding controller 130 may output the error-corrected data DATA_C to the second external device in operation S160.
[0037] In summary, the error correction device 100 according to an embodiment of the present disclosure can iteratively perform LDPC decoding and can adjust the decoding parameters for performing LDPC decoding (e.g., the next LDPC decoding) according to the error rate of each LDPC decoding result. The decoding parameters can be adjusted to further reduce the error floor of the error correction device 100. Therefore, the error floor of the error correction device 100 is reduced.
[0038] Figure 3 FIG. 1 shows an error correction device 100 according to an embodiment of the present disclosure. Figure 3 , the memory 110 may store first to third decoding parameters 111 to 113 and an initial log likelihood ratio (LLR) value 115. Each of the first to third decoding parameters 111 to 113 may include information required for the LDPC decoder 120 to perform LDPC decoding.
[0039] Under the control of the adaptive decoding controller 130, or in response to a request from the LDPC decoder 120, the memory 110 may provide one of the first to third decoding parameters 111 to 113 to the LDPC decoder 120. Figure 3 The figure shows an example in which the first to third decoding parameters 111 to 113 are stored in the memory 110. However, the present disclosure may not be limited thereto. Moreover, the number of decoding parameters stored in the memory 110 is not limited to Figure 3 .
[0040] The initial LLR values 115 may include initial log-likelihood ratios (LLRs) associated with (assigned to) corresponding bits of the data "DATA". In response to a request of the LDPC decoder 120 or under the control of the adaptive decoding controller 130, the memory 110 may pass the initial LLR values to the LDPC decoder 120 when the LDPC decoder 120 initiates LDPC decoding.
[0041] The LDPC decoder 120 includes a storage block 121 and an operation block 125. The storage block 121 includes a data buffer 122, a variable node buffer 123, and a check node buffer 124. The data buffer 122 may store data "DATA" from a first external device.
[0042] The variable node buffer 123 may store the values of the variable nodes decoded by LDPC. The check node buffer 124 may store the values of the check nodes decoded by LDPC. The operation block 125 includes an initial mapper 126, a check node updater 127, and a variable node updater 128.
[0043] The initial mapper 126 may receive the data “DATA” from the data buffer 122 and may receive the initial LLR value 115 from the memory 110. The initial mapper 126 may map the data “DATA” to the initial LLR value 115 and may store the mapping result in the variable node buffer 123. For example, the initial mapper 126 may map one of the initial LLR values 115 to each bit of the data “DATA” based on each bit of the data “DATA”.
[0044] The check node updater 127 may update the value of the check node by using the value of the variable node stored in the variable node buffer 123. The check node updater 127 may store the updated value of the check node in the check node buffer 124.
[0045] The variable node updater 128 may update the value of the variable node by using the value of the check node stored in the check node buffer 124, the decoding parameter received from the memory 110, and the data "DATA" transferred from the data buffer 122. The variable node updater 128 may store the updated value of the variable node in the variable node buffer 123.
[0046] The adaptive decoding controller 130 includes a quantizer 131, a syndrome calculator 132, an error rate calculator 133, and a decoding parameter controller 134. The quantizer 131 may convert the value of a variable node stored in the variable node buffer 123 into a digital value. For example, the quantizer 131 may convert the value of one variable node into one digital bit.
[0047] The syndrome calculator 132 may receive digital bits from the quantizer 131. The digital bits received from the quantizer 131 may be an intermediate result of the data "DATA" to which the LDPC decoding performed so far is applied. The syndrome calculator 132 may operate on (e.g., perform matrix product on) the digital bits and the parity check matrix to calculate a syndrome (or a syndrome vector including the syndrome).
[0048] For example, if the value of the variable node associated with the digital bit is a correct value, the syndrome calculation result may be "0". For example, if the value of the variable node associated with the digital bit is an incorrect value, the syndrome calculation result may be "1". The number of 1s calculated by the syndrome calculation may be the number of incorrect values (e.g., errors) present in the digital bit (or the value of the variable node).
[0049] The syndrome calculator 132 can pass the number of 1s calculated by the syndrome calculation, that is, the number of errors present in the intermediate result of LDPC decoding, to the error rate calculator 133. The error rate calculator 133 can calculate the error rate based on the number of errors. For example, the error rate calculator 133 can calculate the ratio of the number of errors to the number of variable nodes (e.g., the number of bits, symbols, or samples of data "DATA") as the error rate.
[0050] For another example, the error rate calculator 133 can calculate the number of errors and the number of check nodes (e.g., the number of correctable bits, symbols, or samples) as the ratio of the error rate. For another example, the error rate calculator 133 can calculate the error rate by normalizing the number of errors using a specific constant or variable.
[0051] For another example, the error rate calculator 133 can calculate the number of errors as the error rate. That is, the error rate can be understood as the ratio of the number of errors to itself. For another example, the error rate calculator 133 can calculate the value obtained by normalizing (scaling) the number of errors to a specific value (or quantity) as the error rate.
[0052] In an embodiment, if the value of a particular check node is "0", the value of the variable node associated with the particular check node may not have an error. In an embodiment, if the value of a particular check node is "1", the value of the variable node associated with the particular check node may have an error. That is, the number of errors detected by the syndrome calculator 132 can be interpreted as the number of check nodes with a value of "1".
[0053] In an embodiment, the error rate may be calculated as a ratio of the number of check nodes having a value of "1" to the number of variable nodes. For another example, the error rate may be calculated as a ratio of the number of check nodes having a value of "1" to the number of check nodes. For another example, the error rate calculator 132 may calculate the error rate by normalizing the number of check nodes having a value of "1" by using a specific constant or variable.
[0054] The error rate calculator 133 may transfer the calculated error rate to the decoding parameter controller 134. The decoding parameter controller 134 may control the memory 110 based on the error rate. For example, the decoding parameter controller 134 may allow the memory 110 to output different decoding parameters according to the error rate.
[0055] Figure 4 The diagram shows Figure 3 Flow chart of the operating method of the error correction device 100. Figure 5 An example of variable nodes V1 to V8 and check nodes C1 to C4 calculated in the LDPC decoder 120 is shown.
[0056] refer to Figures 3 to 5 In operation S210, the LDPC decoder 120 may receive data "DATA". The data "DATA" may be stored in the data buffer 122. In operation S220, the initial mapper 126 of the LDPC decoder 120 may map the initial LLR value to the data "DATA".
[0057] For example, the initial mapper 126 may receive the initial LLR values from the memory 110 and may map one of the initial LLR values to each bit, sample, or symbol based on the value of each bit, sample, or symbol of the data "DATA". The mapping result of the initial LLR values may be stored in the variable node buffer 123. For example, the mapping result of the initial LLR values may be stored as the initial values of the variable nodes V1 to V8.
[0058] In operation S230, the check node updater 127 of the LDPC decoder 120 may update the values of the check nodes C1 to C4. For example, the check node updater 127 may update the values of the check nodes C1 to C4 by using a minimum (Min) method using a minimum sum (Min-Sum) method. The check node updater 127 may update the values of the check nodes C1 to C4 by using the following formula 1.
[0059] [Formula 1]
[0060]
[0061] In Formula 1, “p m,n " indicates a message indicating that the value of the mth check node ("m" is a positive integer) is updated and the mth check node transmits p to the nth variable node ("n" is a positive integer). m,n M(m) indicates a variable node connected to the mth check node. For example, when "m" is 2, the variable node M(2) connected to the second check node C2 may include first, second, third, and sixth variable nodes V1, V2, V3, and V6.
[0062] In formula 1, 'q n',m’ It can be a message transmitted by the n'th variable node to the m'th check node in the current LDPC decoding. The n'th variable node can belong to M(m), and is therefore a variable node connected to the m'th check node. For example, in the case of the first LDPC decoding, "q n',m " may be the initial value of the variable nodes V1 to V8. In the case where LDPC decoding is performed more than once, "q n',m " may be the values of the variable nodes V1 to V8 calculated in the previous LDPC decoding. In Formula 1, "sign(q n',m )” can indicate the sign of the nth variable node.
[0063] According to Formula 1, the mth check node may have a minimum value among the values of the remaining variable nodes (e.g., valid variable nodes) other than the nth variable node to which the mth check node intends to transmit a message, among the variable nodes M(m) connected to the mth check node. Also, the mth check node may have a symbol generated as a result of multiplying all symbols of the valid variable nodes.
[0064] For example, when "m" is 2 and "n" is 3, the first, third, and sixth variable nodes V1, V3, and V6 may be valid variable nodes. In operation S240, the variable node updater 128 of the LDPC decoder 120 may update the values of the variable nodes V1 to V8. For example, the variable node updater 128 may update the values of the variable nodes V1 to V8 by using a summation method using a minimum sum method.
[0065] The variable node updater 128 may use the decoding parameters received from the memory 110 when updating the values of the variable nodes V1 to V8. For example, the variable node updater 128 may update the values of the variable nodes V1 to V8 by using Formula 2 below.
[0066] [Formula 2]
[0067]
[0068] In Formula 2, “q n,m " indicates a message indicating that the value of the nth variable node is updated and is sent by the nth variable node to the mth check node. N(n) indicates the check node connected to the nth variable node. For example, when "n" is 3, the check node N(3) connected to the third variable node V3 may include the second and third check nodes C2 and C3.
[0069] In Formula 2, “p m',n " may be a message transmitted by the m'th check node to the nth variable node in the current LDPC decoding. The m'th check node may belong to N(n), and thus is a check node connected to the nth variable node. For example, "p m',n " may be the values of check nodes C1 to C4 calculated in the current LDPC decoding.
[0070] In Formula 2, “φ cv " may be a function having a value determined according to a message transmitted by the m'th check node to the nth variable node. "φ cv The value of " may depend on the decoding parameters passed from the memory 110 and may be defined as illustrated in the following Table 1. In Table 1, for simplicity, the input "p" is replaced by "x". m',n ", and replace the output "φ" with "y" cv ”.
[0071] [Form 1]
[0072] Input x 00 01 10 11 Output y T1 T2 -T1 -T2
[0073] In Table 1, LLR values T1 and T2 may be delivered from the memory 110, and the LLR values T1 and T2 may vary with the error rate. In the embodiment, the description of “φ cv However, the LDPC decoder 120 is not limited to a 2-bit decoder.
[0074] When the LDPC decoder 120 is a k-bit decoder ("k" is a positive integer), the input "x" can be k-bit information. Moreover, the output "y" can be represented by "k" values and positive and negative signs. In an embodiment, "φ cv A message delivered from the m'th check node may be assigned an LLR value (eg, log-likelihood ratio).
[0075] In Formula 2, “φ ch " may be a bit C associated with the nth variable node among the data "DATA" n , samples, or symbols. ch The value of " may depend on the decoding parameters passed from the memory 110 and may be defined as illustrated in Table 2 below. In Table 2, for simplicity, the input "C n ” and replace the output “φ” with “y” ch ”.
[0076] [Form 2]
[0077] Input x 0 1 Output y Cth -Cth
[0078] In Table 2, the code value Cth may be transferred from the memory 110 and the code value Cth may vary with the error rate. In Formula 2, “φ vc The value of " may depend on the decoding parameters passed from the memory 110 and may be defined as illustrated in Table 3 below. In Table 3, for simplicity, the input is represented by "x" and the output "φ" is replaced by "y". vc ”.
[0079] [Form 3]
[0080] Input x x<-Lth -Lth≤x<0 0≤x<Lth Lth<x Output y 11 10 00 01
[0081] In Table 3, the range value Lth may be delivered from the memory 110 and may vary with the error rate. In the embodiment, the “φ vc " However, the LDPC decoder 120 is not limited to a 2-bit decoder.
[0082] When the LDPC decoder 120 is a k-bit decoder, the input "x" may be divided into 2^k intervals. Also, the output "y" may be represented by "k" bits. In an embodiment, "φ vc " can be an intermediate result calculated by the current LDPC decoding. "φ vc The value of " can indicate the degree to which the value of each variable node is close to "1" or close to "0".
[0083] According to Formula 2, the value or message of the nth variable node can be determined based on the values of the remaining check nodes (e.g., valid check nodes) among the check nodes N(n) connected to the nth variable node, other than the mth check node to which the nth variable node intends to send the message.
[0084] For example, when "n" is 3 and "m" is 2, the third check node C3 may be a valid check node. For example, the value or message of the nth variable node may be determined by the sum of the values of the valid check nodes and the sum of the values of the bits Cn, samples, or symbols to which the data "DATA" associated with the nth variable node is applied.
[0085] In operation S250, the adaptive decoding controller 130 may calculate the syndrome of the LDPC decoding result. For example, the quantizer 131 may quantize the value of the variable node stored in the variable node buffer 123. For example, if the value of the specific variable node is less than "0", the quantizer 131 may quantize the value of the specific variable node to "0". If the value of the specific variable node is not less than "0", the quantizer 131 may quantize the value of the specific variable node to "1".
[0086] For example, as illustrated in Table 3, if the digital value of the specific variable node is "11" or "10", the quantizer 131 may quantize the value of the specific variable node to "0". If the digital value of the specific variable node is "00" or "01", the quantizer 131 may quantize the value of the specific variable node to "1".
[0087] In an embodiment, when the data "DATA" consists of symbols or samples including two or more bits, the quantizer 131 may quantize the value of the variable node into symbols or samples including two or more bits. The number of bits of each variable node quantized by the quantizer 131 is not limited.
[0088] The bits, samples, or symbols quantized by the quantizer 131 may be the result of performing LDPC decoding, for example, the result of performing one LDPC decoding. The LDPC decoding result may be passed to the syndrome calculator 132, for example, as an intermediate decoding result of the entire error correction operation of the error correction apparatus 100.
[0089] The syndrome calculator 132 may calculate the syndrome from the LDPC decoding result. For example, the syndrome calculator 132 may operate (e.g., multiply) the LDPC decoding result and the parity check matrix. The operation result may be represented by a set of bits having one value of "0" and "1".
[0090] For example, the number of bits of the operation result may be the number of all syndromes. The number of bits of the operation result may be the maximum number of error bits that the error correction apparatus 100 can correct. The bits with a value of "1" among the bits of the operation result indicate that an error exists. The number of bits with a value of "1" among the bits of the operation result indicates the number of bits present in the LDPC decoding result.
[0091] In operation S260, the adaptive decoding controller 130 may determine whether an error exists in the LDPC decoding result. In an embodiment, if the bit of the operation result does not have a value of "1", the LDPC decoding result may not have an error. If at least one bit of the operation result has a value of "0", the LDPC decoding result may have at least one error.
[0092] If an error does not exist, the adaptive decoding controller 130 may output the LDPC decoding result quantized by the quantizer 131 as error-corrected data DATA_C to the second external device in operation S290. The adaptive decoding controller 130 may terminate error correction associated with the received data "DATA".
[0093] If an error exists, then in operation S270, the error rate calculator 133 of the adaptive decoding controller 130 may calculate the error rate of the LDPC decoding result. For example, the syndrome calculator 132 may transfer the bits of the calculation result to the error rate calculator 133. The error rate calculator 133 may count the number of bits having a value of "1" among the bits of the calculation result, that is, the number of errors. The error rate calculator 133 may calculate the error rate by using the number of errors thus counted.
[0094] For example, the error rate calculator 133 may calculate the ratio of the number of error bits to the total number of bits of the calculation result (e.g., the total number of check nodes) as the error rate. For another example, the error rate calculator 133 may calculate the ratio of the number of error bits to the number of bits, samples, or symbols of the data "DATA" (e.g., the total number of variable nodes) as the error rate.
[0095] For another example, the error rate calculator 133 can calculate the error rate by normalizing the number of errors to a specific constant, variable, or function. The error rate calculator 133 can be changed or applied to calculate the error rate by using various methods. The form in which the error rate calculator 133 calculates the error rate is not limited to the above description.
[0096] In operation S280, the decoding parameter controller 134 of the adaptive decoding controller 130 may adjust the decoding parameters according to the error rate. For example, the error rate calculator 133 may transfer the calculated error rate to the decoding parameter controller 134. The adaptive decoding controller 130 may allow the memory 110 to output different decoding parameters according to the error rate.
[0097] Afterwards, in operation S230, a check node update may be performed, and in operation S240, a variable node update may be performed. For example, the check node update and the variable node update may constitute an LDPC decoding. An LDPC decoding may be accompanied by the calculation of a syndrome (S250), the calculation of an error rate (S270), and the adjustment of a decoding parameter (S280).
[0098] The error correction device 100 may iteratively perform LDPC decoding until there is no error in the LDPC decoding result. When the LDPC decoding is iterated, the error correction device 100 may adjust the decoding parameters based on the LDPC decoding result. Since the decoding parameters are adaptively adjusted according to the error rate, the error floor of the error correction device 100 may be reduced.
[0099] Figure 6 The figure shows examples of the decoding parameters mentioned in Table 1 to Table 3. Figure 6 , each of the first to third decoding parameters 111 to 113 may have a range value Lth, a code value Cth, and LLR values T1 and T2. The first to third decoding parameters 111 to 113 may have different range values Lth, different code values Cth, and different LLR values T1 and T2.
[0100] In an embodiment, the first decoding parameter 111 may have a range value Lth of "3", a code value Cth of "3", an LLR value T1 of "1", and an LLR value T2 of "3". The second decoding parameter 112 may have a range value Lth of "2", a code value Cth of "2", an LLR value T1 of "1", and an LLR value T2 of "3". The third decoding parameter 113 may have a range value Lth of "2", a code value Cth of "1", an LLR value T1 of "1", and an LLR value T2 of "3".
[0101] For example, when the error rate belongs to the first range, the first decoding parameter 111 may be selected. When the error rate belongs to the second range lower than the first range, the second decoding parameter 112 may be selected. When the error rate belongs to the third range lower than the second range, the third decoding parameter 113 may be selected.
[0102] In an embodiment, as the error rate decreases, the range value Lth and the code value Cth may decrease.As the error rate decreases, the LLR values T1 and T2 may decrease, may increase, or may be maintained.
[0103] Figure 7 The diagram shows Figure 3 Flow chart of the application of the operation method of the error correction device 100. Figure 3 and 7 In operation S310, data "DATA" may be received by the data buffer 122 of the LDPC decoder 120. Operation S310 may be performed with Figure 4 The operation S210 is the same as that of FIG.
[0104] In operation S311, the adaptive decoding controller 130 may calculate a syndrome of the received data "DATA". For example, the syndrome calculator 132 of the adaptive decoding controller 130 may calculate the data "DATA" and the parity check matrix stored in the data buffer 122. If all bits of the calculation result are "0", there may be no error in the data "DATA". If at least one bit of the calculation result has a value of "1", there may be an error in the data "DATA".
[0105] If it is determined in operation S312 that there is no error in the data "DATA", operation S390 is performed. In operation S390, the adaptive decoding controller 130 may output the data "DATA" stored in the data buffer 122 as error-corrected data DATA_C. The error correction apparatus 100 may complete error correction associated with the received data "DATA".
[0106] If it is determined in operation S312 that there is an error in the data "DATA", operation S320 is performed. Operations S320 to S380 are substantially the same as those in the Figure 2 Operations S220 to S280 are the same as those of FIG. 1 , and thus, descriptions thereof will not be repeated here.
[0107] In summary, before performing LDPC decoding on the received data "DATA", the error correction apparatus 100 can determine whether there is an error in the data "DATA". If there is no error in the data "DATA", the data "DATA" can be output as error-corrected data without performing LDPC decoding.
[0108] In an embodiment, it is possible to Figure 3 Add a signal path for the data buffer 122 to transfer the data "DATA" to the syndrome calculator 132 (refer to Figure 8 For another example, a separate syndrome calculator for calculating syndromes with respect to the data “DATA” stored or to be stored in the data buffer 122 may be added to Figure 3 adaptive decoding controller 130 or LDPC decoder 120.
[0109] Figure 8 The diagram shows Figure 3 A block diagram of an application of the error correction device 100 is shown. Figure 8 The error correction device 100_1 includes a memory 110_1, an LDPC decoder 120, and an adaptive decoding controller 130_1. The structure and operation method of the LDPC decoder 120 are similar to those of the reference Figure 3 Those structures and operating methods described are the same, and therefore, their description will not be repeated here.
[0110] The memory 110_1 may store the first to third decoding parameters 111 to 113 and the LLR value 115. Figure 3 Compared to memory 110_1 , memory 110_1 may store a first LLR value 116 , a second LLR value 117 , and a third LLR value 118 as initial LLR value 115 .
[0111] The adaptive decoding controller 130 includes a quantizer 131, a syndrome calculator 132_1, an error rate calculator 133_1, and a decoding parameter controller 134_1. The operation of the quantizer 131 is similar to Figure 3 The operation of the quantizer 131 is the same as that of the quantizer 131, and therefore, a description thereof will not be repeated here.
[0112] The syndrome calculator 132_1 may be executed with reference to Figure 3 In addition to the operation of the syndrome calculator 132, the syndrome calculator 132_1 may calculate a syndrome of the data "DATA" stored in the data buffer 122. For example, the syndrome calculator 132_1 may calculate the data "DATA" stored in the data buffer 122 and a parity check matrix.
[0113] The error rate calculator 133_1 may be executed with reference to Figure 3 In addition to the operation of the error rate calculator 133 , the error rate calculator 133_1 may calculate the error rate of the data “DATA” stored in the data buffer 122 .
[0114] The decoding parameter controller 134_1 may execute the reference Figure 3 In addition to the operation of the decoding parameter controller 134, the decoding parameter controller 134_1 may allow the memory 110_1 to output one of the first to third LLR values 116 to 118 according to the error rate of the data "DATA".
[0115] Fig. 9 The diagram shows Figure 8 Flow chart of an example of an operation method of the error correction device 100_1. Figure 8 and 9 In operation S410, data “DATA” may be received by the data buffer 122. In operation S411, the syndrome calculator 132_1 may calculate a syndrome of the data “DATA.” Operations S410 and S411 may be the same as operations S310 and S311.
[0116] If it is determined in operation S412 that there is no error in the data "DATA", operation S490 is performed. In operation S490, the adaptive decoding controller 130_1 may output the data "DATA" as error-corrected data DATA_C to the second external device. If it is determined in operation S412 that there is an error in the data "DATA", operation S413 is performed.
[0117] In operation S413, the error rate calculator 133_1 may calculate an error rate (eg, an initial error rate) of the data "DATA". In operation S421, the decoding parameter controller 134_1 may adjust the decoding parameters based on the error rate. For example, the decoding parameter controller 134_1 may allow the memory 110_1 to output one of the first to third LLR values 116 to 118 according to the error rate.
[0118] Thereafter, operations S430 to S480 may be performed the same as operations S230 to S280, and therefore, description thereof will not be repeated here. Figure 8 and 9 As described, the error correction apparatus 100_1 can calculate the error rate of the data “DATA” and can adjust the decoding parameter, ie, the initial LLR value, based on the error rate of the data “DATA”. Therefore, the error floor of the error correction apparatus 100_1 can be further reduced.
[0119] Fig.10 The diagram shows Figure 6 The first to third decoding parameters 111 to 113 are applied. Fig.10 , each of the first to third decoding parameters 111 to 113 may additionally include Figure 6The iteration threshold Ith compared with the current decoding parameters. The iteration threshold Ith may indicate the number of LDPC decoding iterations to be iteratively performed by using the current decoding parameters. For example, the first to third decoding parameters 111 to 113 may have iteration thresholds Ith "3", "2", and "1".
[0120] Fig.11 The diagram shows the Fig.10 Flowchart of an example of performing LDPC decoding with an iteration threshold Ith. Figure 1 and 11 In operation S510, data "DATA" may be received by the data buffer 122. In operation S520, the LDPC decoder 120 may perform LDPC decoding. The LDPC decoding may include check node updating and variable node updating.
[0121] In operation S530, the adaptive decoding controller 130 may determine whether the iteration count reaches the iteration threshold Ith. The iteration count may indicate the number of times LDPC decoding is performed after selecting (or adjusting) the decoding parameters. When LDPC decoding is performed, the iteration count may increase. When the decoding parameters are selected (or adjusted), the iteration count may be reset.
[0122] If it is determined that the iteration count does not reach the iteration threshold value Ith, the adaptive decoding controller 130 can omit quantization, calculate syndromes, determine error rates, and adjust (or select) decoding parameters. The decoding parameters can be maintained without modification, and the LDPC decoder 120 can perform LDPC decoding starting from operation S520.
[0123] If the iteration count reaches the iteration threshold Ith, operation S540 is performed. Operations S540 to S560 may be performed as Figure 2 Operations S130 to S150 are the same as those of FIG. 1 , and thus, descriptions thereof will not be repeated here.
[0124] As described above, the error correction device 100 can further adjust the iteration threshold based on the error rate. For example, when the error rate is high, the error correction device 100 can omit quantization, calculate syndromes, determine error rates, and adjust (or select) decoding parameters, and can perform LDPC decoding up to the iteration threshold Ith as many times.
[0125] If quantization, syndrome calculation, error rate determination, and adjustment (or selection) of decoding parameters are omitted, power consumption and delay of error correction apparatus 100 can be reduced. In an embodiment, adaptive decoding controller 130 can make iteration threshold Ith smaller as error rate decreases.
[0126] In the embodiments, as referenced Figure 4As described, the error correction device 100 may use the iteration threshold Ith as a decoding parameter. In this case, the error correction device 100 may calculate the syndrome and then determine whether an error exists. If an error exists, the error correction device 100 may calculate the error rate. In an embodiment, as shown in FIG. Figure 7 As described, the error correction apparatus 100 may use the iteration threshold Ith as a decoding parameter. In this case, the error correction apparatus 100 may calculate the syndrome of the data "DATA" before performing LDPC decoding.
[0127] In the embodiments, as referenced Fig. 9 As described, the error correction apparatus 100 may use the iteration threshold Ith as a decoding parameter. In this case, the error correction apparatus 100 may set the initial LLR value differently based on the error rate of the data "DATA".
[0128] Fig.12 is a diagram showing the results of the test execution of the error correction device 100 according to the embodiment of the present disclosure. Fig.12 , the horizontal axis represents the cross-over probability (COP) of a binary symmetric channel, and the vertical axis represents the frame error rate (FER).
[0129] The first line L1 shows the error rate (e.g., error floor) of the error correction device according to the sum-product algorithm. The second line L2 shows the error rate (e.g., error floor) of the error correction device 100 according to an embodiment of the present disclosure. The third line L3 shows the error rate (e.g., error floor) of the error correction device according to the minimum-sum algorithm.
[0130] Fig.13 is a diagram showing another result of the test execution of the error correction device 100 according to an embodiment of the present disclosure. Fig.13 , the horizontal axis represents the crossing probability (COP) of binary symmetric channels, and the vertical axis represents the frame error rate (FER).
[0131] The fourth line L4 shows the error rate (e.g., error floor) of the error correction device according to the sum-product algorithm. The fifth line L5 shows the error rate (e.g., error floor) of the error correction device 100 according to an embodiment of the present disclosure. The sixth line L6 shows the error rate (e.g., error floor) of the error correction device according to the algorithm in which the minimum-sum algorithm is applied with an offset. The seventh line L7 shows the error rate (e.g., error floor) of the error correction device according to the minimum-sum algorithm.
[0132] according to Fig.12 and 13It is understood that the error floor of the error correction device based on the sum-product algorithm is the lowest. However, the error correction device based on the sum-product algorithm has high computational complexity, and therefore requires very high costs, such as resources, power, time, etc., to apply the error correction device to a product.
[0133] The error correction device 100 according to an embodiment of the present disclosure can have a complexity similar to that of an algorithm using a minimum sum algorithm or an algorithm applying an offset to the minimum sum and can achieve a lower error floor than the error floor according to the algorithm. This means that an error correction device 100 with low complexity and low error floor is provided.
[0134] Fig.14 2 is a block diagram illustrating a computing device 200 according to an embodiment of the present disclosure. Fig.14 , the computing device 200 may include a storage device 300 and a host device 400. The storage device 300 may store data in response to a request of the host device 400. The storage device 300 may output data to the host device 400 in response to a request of the host device 400.
[0135] The host device 400 may store data in the storage device 300 and may read data from the storage device 300. The computing device 200 may be a mobile device such as a smart phone, a smart pad, a smart watch, etc. The host device 400 may be an application processor.
[0136] The memory device 300 may include a memory device 340 and a controller 350. The memory device 340 may include first and second memories 341 and 342. The first and second memories 341 and 342 may be separate memory dies, separate memory chips, or separate memory packages.
[0137] The first and second memories 341 and 342 may be homogeneous memories or heterogeneous memories. The first and second memories 341 and 342 may include volatile memories, such as dynamic random access memories (DRAM). The first and second memories 341 and 342 may include nonvolatile memories, such as flash memories, phase change memories, ferroelectric memories, magnetic memories, or resistive memories.
[0138] According to a request of the host device 400, the controller 350 may write data into the memory device 340 or may read data from the memory device 340. The controller 350 may exchange data to be written into the memory device 340 or data to be read from the memory device 340 with the host device 400.
[0139] The controller 350 includes a controller core 351, first and second memory interfaces 352 and 353, and first and second error correction devices 354 and 355. The controller core 351 may control the operation of the memory device 300. The controller core 351 may drive firmware required to drive the memory device 300.
[0140] The controller core 351 may communicate with the host device 400 and may process a request from the host device 400. The controller core 351 may access the memory device 340 according to the request from the host device 400. Under the control of the controller core 351, the first and second memory interfaces 352 and 353 may exchange data with the first and second memories 341 and 342.
[0141] The first memory interface 352 may communicate with the first memory 341, and the second memory interface 353 may communicate with the second memory 353. The first and second memory interfaces 352 and 353 may communicate with the first and second memories 341 and 342 in the same manner or in different manners.
[0142] The first and second error correction devices 354 and 355 may correct errors of data received from the first and second memory interfaces 352 and 353. For example, the first error correction device 354 may correct errors of data transferred from the first memory 354 through the first memory interface 352.
[0143] The second error correction device 355 can correct errors in data transmitted from the second memory 354 through the second memory interface 353. The first and second error correction devices 354 and 355 can use the same error correction method or different error correction methods. The first and second error correction devices 354 and 355 can transmit the error-corrected data to the controller core 351.
[0144] In an embodiment, each of the first and second error correction devices 354 and 355 may include a reference Figures 1 to 11 The error correction device 100 or 110_1 described. That is, at least one of the first and second error correction devices 354 and 355 can iterate LDPC decoding while adjusting decoding parameters according to the error rate of LDPC decoding. Accordingly, the error floor of at least one of the first and second error correction devices 354 and 355 can be reduced, and the reliability of the storage device 300 and the computing device 200 can be improved.
[0145] In the embodiments described above, the term "block" is used to refer to components according to the embodiments of the present disclosure. The "block" may be implemented using various hardware devices such as integrated circuits, application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), and complex programmable logic devices (CPLDs), software such as firmware and applications driven in hardware devices, or a combination of hardware devices and software. Moreover, the "block" may include a circuit or intellectual property (IP) implemented using a semiconductor device.
[0146] According to the present disclosure, decoding parameters are adjusted according to the error rate when performing the summation operation of the minimum sum method. Accordingly, an error correction device with a reduced error floor, an operation method of the error correction device, and a controller including the error correction device are provided.
[0147] As is customary in the field, embodiments can be described and illustrated in accordance with the frame that performs one or more functions described. These frames, which may be referred to herein as units or modules, etc., are physically implemented by analog and / or digital circuits such as logic gates, integrated circuits, microprocessors, microcontrollers, memory circuits, passive electronic components, active electronic components, optical components, hard-wired circuits, etc., and may be optionally driven by firmware and / or software. Circuits may be embodied in one or more semiconductor chips, or may be embodied on substrate supports such as printed circuit boards, etc. The circuits constituting the frames may be implemented by dedicated hardware, or by a processor (e.g., one or more programmed microprocessors and associated circuits), or by a combination of dedicated hardware that performs some functions of the frames and processors that perform other functions of the frames. Without departing from the scope of the present disclosure, each frame of the embodiment may be physically separated into two or more interacting and discrete frames. Similarly, without departing from the scope of the present disclosure, the frames of the embodiment may be physically combined into more complex frames.
[0148] While the present disclosure has been described with reference to exemplary embodiments thereof, it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the present disclosure as set forth in the following claims.
Claims
1. An error correction device, include: a low density parity check LDPC decoder comprising a parity check matrix and iteratively performing a first LDPC decoding on data by using the parity check matrix and a decoding parameter; as well as an adaptive decoding controller that calculates an error rate based on a result of the first LDPC decoding and adjusts the decoding parameters except the parity check matrix based on the error rate, wherein: After performing the first LDPC decoding on the data, the adaptive decoding controller adjusts the decoding parameter from the first decoding parameter to the second decoding parameter according to the result of the first LDPC decoding, the LDPC decoder performing second LDPC decoding on a result of the first LDPC decoding by using the parity check matrix and the second decoding parameter after the first LDPC decoding, The error correction device also includes a memory for storing a plurality of decoding parameters, and The adaptive decoding controller controls the memory so that one of the plurality of decoding parameters is passed to the LDPC decoder as the decoding parameter.
2. The error correction device according to claim 1, in, The adaptive decoding controller calculates the error rate based on the value of a variable node of the result of the LDPC decoding.
3. The error correction device according to claim 2, in, The error rate includes a ratio between the number of incorrect values of the variable nodes and the number of check nodes.
4. The error correction device according to claim 1, in, The adaptive decoding controller adjusts the value to be mapped to each message passed from the check node to the variable node according to the error rate.
5. The error correction device according to claim 1, in, The adaptive decoding controller adjusts the value of a corresponding bit or a plurality of bits to be mapped to the data at each variable node according to the error rate.
6. The error correction device according to claim 1, in, The adaptive decoding controller determines the value represented by the bit according to the log likelihood ratio (LLR) value at each variable node, and adjusts the boundary of the LLR value at which the value of the bit is determined according to the error rate.
7. The error correction device according to claim 1, in, Prior to a first iteration of the LDPC decoding, the LDPC decoder assigns initial LLR values to the data according to the decoding parameters.
8. The error correction device according to claim 7, in, Prior to the first iteration of the LDPC decoding, the adaptive decoding controller calculates an initial error rate of the data and adjusts the initial LLR value according to the initial error rate.
9. The error correction device according to claim 1, in, The adaptive decoding controller maintains the decoding parameters over a predetermined number of iterations of the LDPC decoding.
10. The error correction device according to claim 9, in: The decoding parameters further include the predetermined number of iterations, and The adaptive decoding controller adjusts the predetermined number of iterations based on an error rate.
11. The error correction device according to claim 9, in, The adaptive decoding controller skips calculation of the error rate when the decoding parameters are maintained.
12. A method for operating an error correction device, the method include: Receive data; performing a first low-density parity check (LDPC) decoding on the data based on a parity check matrix and a first decoding parameter; Calculating an error rate according to a result of the first LDPC decoding; adjusting the first decoding parameters except the parity check matrix to second decoding parameters according to the error rate; as well as A second LDPC decoding is performed on a result of the first LDPC decoding based on the parity check matrix and the second decoding parameter, wherein: The error correction device includes a memory storing a plurality of decoding parameters, and The adjusting of the first decoding parameter includes controlling the memory so as to select one of the plurality of decoding parameters as the second decoding parameter.
13. The method according to claim 12, in, The step of calculating the error rate includes calculating a ratio between the number of incorrect values of variable nodes included in the result of the first LDPC decoding and the number of check nodes.
14. The method of claim 12, further comprising assigning initial log-likelihood ratio (LLR) values to bits of the data.
15. The method according to claim 14, further comprising: include: calculating an initial error rate for the data; as well as The initial LLR value is adjusted according to the initial error rate.
16. The method according to claim 12, in, The second LDPC decoding is iterated a predetermined number while maintaining the second decoding parameters.
17. The method according to claim 16, in, The step of adjusting the first decoding parameter to the second decoding parameter according to the error rate includes adjusting the value of the predetermined number.
18. A controller, include: a memory interface that receives data from the memory; as well as an error correction device for correcting errors in the data received through the memory interface, wherein: The error correction device comprises: a low density parity check LDPC decoder including a parity check matrix and iteratively performing a first LDPC decoding on the data by using the parity check matrix and a decoding parameter; and an adaptive decoding controller that calculates an error rate based on a result of the first LDPC decoding and adjusts the decoding parameters except the parity check matrix based on the error rate, wherein: After performing the first LDPC decoding on the data, the adaptive decoding controller adjusts the decoding parameter from the first decoding parameter to the second decoding parameter according to the result of the first LDPC decoding, the LDPC decoder performs second LDPC decoding on a result of the first LDPC decoding by using the parity check matrix and the second decoding parameter after the first LDPC decoding, The error correction device also includes a memory for storing a plurality of decoding parameters, and The adaptive decoding controller controls the memory so that one of the plurality of decoding parameters is passed to the LDPC decoder as the decoding parameter.
