LDPC decoder, operation method of LDPC decoder, and semiconductor memory system

By selecting a flip function threshold with a smaller arrangement complexity in the semiconductor memory, and using the syndrome check and flip function calculation of the LDPC decoder, the problem of erroneous reading caused by overlapping threshold voltage distributions in the memory is solved, and fast and accurate Error correction improves memory reliability and performance.

CN113223599BActive Publication Date: 2024-09-27SK HYNIX INC +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202011037086.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-02-06
Filing Date
2020-09-28
Publication Date
2024-09-27
Estimated Expiration
2040-09-28

AI Technical Summary

Technical Problem

In semiconductor memories, as the number of bits in a memory cell increases, the distance between threshold voltage distributions decreases, causing adjacent distributions to overlap. Error bits are prone to occur when reading data, and it is difficult to correct errors accurately and quickly with existing technology.

Method used

By selecting a flip function threshold with a smaller permutation complexity, and utilizing the syndrome check, flip function calculation and variable node flip in the LDPC decoder, the error correction capability and correction speed are improved. The specific method includes converting each codeword into Symbols are specified as the values ​​of multiple variable nodes, syndrome checks are performed based on the parity check matrix, flip function values ​​are calculated and divided, flip function thresholds are determined, and node values ​​are selectively flipped based on the comparison of the variable node values ​​with the threshold.

Benefits of technology

It achieves accurate and fast reading of data in semiconductor memory, improves error correction capability and speed, reduces error correction failure rate, and enhances memory reliability and performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113223599B_ABST
    Figure CN113223599B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a method for operating a low-density parity-check (LDPC) decoder, the method comprising assigning each symbol of a codeword as a variable node value of each of a plurality of variable nodes, performing a syndrome check on each check node based on a parity-check matrix, calculating a flip function value of the variable node based on the syndrome value of the check node and a flip function, dividing the flip function values ​​into a plurality of groups, determining a flip function threshold value based on a group maximum value of a group among the plurality of groups, and selectively flipping the variable node value based on a comparison result of the flip function value of the corresponding variable node with the determined flip function threshold value.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Korean Patent Application No. 10-2020-0014232, filed on February 6, 2020, which is hereby incorporated by reference in its entirety. Technical Field

[0003] Various embodiments of the present invention relate to a low-density parity check (LDPC) decoder, a method for operating the LDPC decoder, and a semiconductor memory system including the LDPC decoder. Background Art

[0004] Generally speaking, semiconductor memory devices are classified into volatile memory devices such as dynamic random access memory (DRAM) and static RAM (SRAM), and nonvolatile memory devices such as read-only memory (ROM), mask ROM (MROM), programmable ROM (PROM), erasable PROM (EPROM), electrical EPROM (EEPROM), ferromagnetic RAM (FRAM), phase change RAM (PRAM), magnetic RAM (MRAM), resistive RAM (RRAM), and flash memory.

[0005] A volatile memory device loses its stored data when its power supply is interrupted, whereas a nonvolatile memory device retains its stored data even when its power supply is interrupted. Nonvolatile flash memory devices are widely used as storage media in computer systems due to their fast programming speed, low power consumption, and large data storage capacity.

[0006] In non-volatile memory devices, especially flash memory devices, the data state of each memory cell depends on the number of bits that the memory cell can be programmed. A memory cell capable of storing 1 bit of data is referred to as a single bit cell or a single-layer cell (SLC). A memory cell capable of storing multiple bits of data (i.e., 2 or more bits of data) is referred to as a multi-bit cell, a multi-layer cell (MLC), or a multi-state cell. MLC is conducive to high integration. However, as the number of bits programmed in each memory cell increases, reliability decreases and the read failure rate increases.

[0007] For example, when k bits are to be programmed in a memory cell, 2 k Since there are slight differences between the electrical characteristics of memory cells, the threshold voltages of memory cells programmed for the same data form a threshold voltage distribution. The threshold voltage distributions are respectively related to the 2 corresponding to k bits of information. k The corresponding data value.

[0008] However, the voltage window available for the threshold voltage distribution is limited. Therefore, as the k value increases, the distance between the threshold voltage distributions decreases, and adjacent threshold voltage distributions may overlap. When adjacent threshold voltage distributions overlap, the read data may include an error bit. Summary of the invention

[0009] Embodiments of the present invention relate to an LDPC decoder capable of accurately and quickly reading data stored in a memory cell, a semiconductor memory system including the LDPC decoder, and a method for operating the LDPC decoder.

[0010] Embodiments of the present invention relate to an LDPC decoder that improves the error correction capability and correction speed of LDPC decoding by variably selecting a flip function threshold with smaller arrangement complexity, a semiconductor memory system including the LDPC decoder, and a method for operating the LDPC decoder.

[0011] According to an embodiment of the present invention, a method for operating a low-density parity-check (LDPC) decoder includes: designating each symbol of a codeword as a variable node value of each of a plurality of variable nodes; performing a syndrome check on each check node based on a parity-check matrix; calculating a flip function value of the variable node based on the syndrome value of the check node and a flip function; dividing the flip function value into a plurality of groups; determining a flip function threshold value based on a group maximum value of a group among the plurality of groups; and selectively flipping the variable node value based on a comparison result of the flip function value of the corresponding variable node with the determined flip function threshold value.

[0012] According to another embodiment of the present invention, a low-density parity-check (LDPC) decoder includes: a syndrome checker, adapted to assign each symbol of a codeword as a variable node value of each of a plurality of variable nodes, and to perform syndrome check on each check node based on a parity-check matrix; a flip function calculator, adapted to calculate a flip function value of a variable node based on the syndrome value of the check node and a flip function; a flip function threshold determiner, adapted to divide the flip function values ​​into a plurality of groups, and to determine a flip function threshold based on a group maximum value of a group among the plurality of groups; and a variable node flipper, adapted to selectively flip the variable node value based on a comparison result of the flip function value of the corresponding variable node with the flip function threshold.

[0013] According to another embodiment of the present invention, a semiconductor memory system includes: a semiconductor memory device; and a memory controller, including a low-density parity check (LDPC) decoder configured to perform error correction decoding on data read from the semiconductor memory device, wherein the LDPC decoder specifies each symbol of a codeword as a variable node value of each of a plurality of variable nodes, performs a syndrome check on each check node based on a parity check matrix, calculates a flip function value of the variable node based on the syndrome value of the check node and a flip function, divides the flip function values ​​into a plurality of groups, determines a flip function threshold value based on a group maximum value of a group among the plurality of groups and a lookup table, and selectively flips the variable node value based on a comparison result of the flip function value of the corresponding variable node with the determined flip function threshold value. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 is a graph showing threshold voltage distribution curves of a programmed state and an erased state of a 3-bit multi-level cell (MLC) nonvolatile memory device.

[0015] Figure 2 is a graph showing threshold voltage distribution curves of a program state and an erase state that may be modified due to degradation of characteristics of a 3-bit multi-level cell nonvolatile memory device.

[0016] Figure 3 is a block diagram of a semiconductor memory system according to an embodiment of the present invention.

[0017] Figure 4A It is shown Figure 3 A detailed block diagram of a semiconductor memory system is shown.

[0018] Figure 4B It is shown Figure 4A A block diagram of the storage block is shown.

[0019] Figure 5A is a conceptual diagram showing low-density parity check (LDPC) decoding represented by a Tanner graph.

[0020] Figure 5B is a conceptual diagram showing the structure of an LDPC code.

[0021] Figure 5C is a conceptual diagram illustrating a syndrome check process according to LDPC decoding.

[0022] Figure 6 is a schematic diagram showing an LDPC decoder according to an embodiment of the present invention.

[0023] Figure 7 is a flow chart describing the operation of an LDPC decoder that performs LDPC decoding by using a flip function decoding algorithm.

[0024] Figure 8 The operation of the LDPC decoder according to an embodiment of the present invention is shown.

[0025] Fig. 9 is a flowchart describing the operation of an LDPC decoder according to an embodiment of the present invention.

[0026] Fig.10 A lookup table according to an embodiment of the present invention is shown.

[0027] Figures 11 to 13 is a graph showing the results of simulation of the operation of the LDPC decoder according to the embodiment of the present invention.

[0028] Fig.14 is a block diagram illustrating an electronic device including a semiconductor memory system according to an embodiment of the present invention.

[0029] Fig.15 is a block diagram illustrating an electronic device including a semiconductor memory system according to another embodiment of the present invention.

[0030] Fig.16 is a block diagram showing an electronic device including a semiconductor memory system according to still another embodiment of the present invention.

[0031] Fig.17 is a block diagram showing an electronic device including a semiconductor memory system according to still another embodiment of the present invention.

[0032] Fig.18 is a block diagram showing an electronic device including a semiconductor memory system according to still another embodiment of the present invention.

[0033] Fig.19 It is shown that Fig.18 A block diagram of a data processing system of an electronic device is shown. DETAILED DESCRIPTION

[0034] The various embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. However, the present invention can be implemented in different forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided so that the present disclosure will be thorough and complete, and will fully convey the scope of the present invention to those skilled in the art. Throughout the disclosure, the same reference numerals always refer to the same parts in the various drawings and embodiments of the present invention.

[0035] Note that references to "one embodiment," "another embodiment," etc. do not necessarily mean only one embodiment, and different references to any such phrases are not necessarily to the same embodiment.

[0036] It will be understood that although the terms "first", "second", "third", etc. may be used herein to describe various elements, these elements are not limited by these terms. These terms are used to distinguish one element from another element. Therefore, without departing from the spirit and scope of the present invention, the first element described below may also be referred to as the second element or the third element.

[0037] It will be further understood that when used in this specification, the terms "include", "comprising", "including" and "comprising" indicate the presence of the stated elements, but do not exclude the presence or addition of one or more other elements. As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.

[0038] As used herein, unless the context clearly indicates otherwise, the singular form may also include the plural form, and vice versa. Unless otherwise specified or clearly directed to a singular form from the context, the articles "a" and "an" used in this specification and the appended claims should generally be interpreted as meaning "one or more".

[0039] Figure 1 FIG. 1 schematically shows threshold voltage distributions of a programmed state and an erased state of a 3-bit MLC nonvolatile memory device.

[0040] Figure 2 Schematically illustrates threshold voltage distributions of a programmed state and an erased state due to characteristic degradation of a 3-bit MLC nonvolatile memory device.

[0041] In an MLC nonvolatile memory device such as an MLC flash memory device capable of storing k bits of data in a single memory cell, a memory cell may have 2 k For example, a 3-bit MLC has one of 8 threshold voltage distributions.

[0042] The threshold voltages of memory cells programmed for the same data form a threshold voltage distribution due to the characteristic differences between the memory cells. In a 3-bit MLC nonvolatile memory device, as shown in FIG. Figure 1 As shown, a threshold voltage distribution corresponding to data states including seven program states “P1” to “P7” and an erase state “E” is formed. Figure 1 The ideal case where the threshold voltage distributions do not overlap and have sufficient read voltage margin between the threshold voltage distributions is shown. Figure 2In the example of flash memory, a memory cell may experience charge loss as electrons trapped in the floating gate and / or tunnel oxide discharge over time. This charge loss may be accelerated as the tunnel oxide degrades due to iterative programming and erasing operations. The charge loss causes the threshold voltage of the memory cell to decrease. For example, Figure 2 As shown, the threshold voltage distribution may shift leftward due to charge loss.

[0043] Furthermore, program disturb, erase disturb and / or back pattern dependency may cause an increase in the threshold voltage. Figure 2 As shown, when the characteristics of a memory cell degrade, adjacent threshold voltage distributions may overlap.

[0044] Once adjacent threshold voltage distributions overlap, when a specific read voltage is applied to the selected word line, the read data may include a large number of errors. For example, when the sensing state of the memory cell is on according to the read voltage Vread3 applied to the selected word line, the memory cell is determined to have the second programming state "P2". When the sensing state of the memory cell is off according to the read voltage Vread3 applied to the selected word line, the memory cell is determined to have the third programming state "P3". However, when adjacent threshold voltage distributions overlap, the memory cell having the third programming state "P3" may be mistakenly determined to have the second programming state "P2". In short, when Figure 2 When adjacent threshold voltage distributions overlap as shown, read data may include a large number of errors.

[0045] Therefore, what is needed is a method of accurately reading data stored in memory cells of a semiconductor memory device.

[0046] Figure 3 is a block diagram schematically showing a semiconductor memory system 10 according to an embodiment of the present invention.

[0047] Figure 4A It is further shown in detail Figure 3 A block diagram of a semiconductor memory system 10 is provided. Figure 4B It is shown in Figure 4A A circuit diagram of the configuration of a memory block 211 employed in a semiconductor memory system.

[0048] FIG. 5 is a flowchart showing the operation of the memory controller 100 employed in the semiconductor memory system 10 .

[0049] Now refer to Figure 35 , according to an embodiment of the present invention, a semiconductor memory system 10 is provided. The semiconductor memory system 10 may include a semiconductor memory device 200 operatively coupled to a memory controller 100.

[0050] The semiconductor memory device 200 may perform one or more of an erase operation, a program operation, and a read operation under the control of the memory controller 100. The semiconductor memory device 200 may receive a command CMD, an address ADDR, and data DATA from the memory controller 100 through a plurality of input / output lines. The semiconductor memory device 200 may receive power PWR from the memory controller 100 through a power line, and receive a control signal CTRL from the memory controller 100 through a control line. The control signal CTRL may include a command latch enable (CLE) signal, an address latch enable (ALE) signal, a chip enable (CE) signal, a write enable (WE) signal, a read enable (RE) signal, and the like.

[0051] The memory controller 100 may control the overall operation of the semiconductor memory device 200. The memory controller 100 may include a low density parity check (LDPC) circuit 130 for correcting error bits. The LDPC circuit 130 may include an LDPC encoder 131 and an LDPC decoder 133.

[0052] The LDPC encoder 131 may perform error correction encoding on the data to be programmed into the semiconductor memory device 200 to output data to which a parity bit is added. The encoded data with the parity bit may be stored in the semiconductor memory device 200 .

[0053] The LDPC decoder 133 may perform error correction decoding on the data read from the semiconductor memory device 200. The LDPC decoder 133 may determine whether the error correction decoding is successful, and may output an instruction signal based on the determination result. The LDPC decoder 133 may use the parity bits generated by the LDPC encoding operation to correct the error bits of the data.

[0054] When the number of error bits exceeds the error correction capability of the LDPC circuit 130, the LDPC circuit 130 may not correct the error bits. In this case, the LDPC circuit 130 may generate an error correction failure signal.

[0055] The LDPC circuit 130 may correct errors by using a low-density parity check (LDPC) code. The LDPC circuit 130 may include all circuits, systems, or devices for error correction. The LDPC code may be a binary LDPC code or a non-binary LDPC code.

[0056] LDPC circuit 130 may perform an error bit correction operation using hard decision read data and / or soft decision read data. In an embodiment, LDPC circuit 130 may perform an error bit correction operation using soft decision read data.

[0057] The memory controller 100 and the semiconductor memory device 200 may be integrated into a single semiconductor device. For example, the memory controller 100 and the semiconductor memory device 200 may be integrated into a single semiconductor device, such as a solid state drive (SSD). The solid state drive may include a storage device for storing data in a semiconductor memory. When the semiconductor memory system 10 is used in an SSD, the operating speed of a host (not shown) connected to the semiconductor memory system 10 may be significantly improved.

[0058] The memory controller 100 and the semiconductor memory device 200 may be integrated into a single semiconductor device, such as a memory card. For example, the memory controller 100 and the semiconductor memory device 200 may be integrated into a single semiconductor device to configure a memory card such as a PC card of the Personal Computer Memory Card International Association (PCMCIA), a Compact Flash (CF) card, a Smart Media (SM) card, a Memory Stick, a Multimedia Card (MMC), a Reduced Size Multimedia Card (RS-MMC), a Micro Size Version of MMC (Micro MMC), a Secure Digital (SD) card, a Mini Secure Digital (Mini SD) card, a Micro Secure Digital (Micro SD) card, a Large Capacity Secure Digital (SDHC), and a Universal Flash Storage (UFS).

[0059] For another example, the semiconductor memory system 10 may be configured to include one of various elements of an electronic device such as a computer, an ultra mobile PC (UMPC), a workstation, a netbook, a personal digital assistant (PDA), a portable computer, a network tablet PC, a wireless phone, a mobile phone, a smart phone, an e-book, a portable multimedia player (PMP), a portable game console, a navigation device, a black box, a digital camera, a digital multimedia broadcasting (DMB) player, a three-dimensional television, a smart TV, a digital audio recorder, a digital audio player, a digital picture recorder, a digital picture player, a digital video recorder, a digital video player, a storage device in a data center, a device capable of receiving and transmitting information in a wireless environment, one of the electronic devices of a home network, one of the electronic devices of a computer network, one of the electronic devices of a telematics network, a radio frequency identification (RFID) device, or a component of a computing system.

[0060] Reference Figure 4AIn an embodiment, the memory controller 100 may include a memory 110, a CPU 120, a host interface 140, a memory interface 150, and a system bus 160 in addition to the LDPC circuit 130. The memory 110 may be used as a working memory of the CPU 120.

[0061] The host interface 140 can communicate with the host through one or more of various interface protocols such as: Universal Serial Bus (USB), MultiMediaCard (MMC), Peripheral Component Interconnect-Express (PCI-E), Small Computer System Interface (SCSI), Serial Attached SCSI (SAS), Serial Advanced Technology Attachment (SATA), Parallel Advanced Technology Attachment (PATA), Enhanced Small Disk Interface (ESDI), and Integrated Drive Electronics (IDE).

[0062] The LDPC circuit 130 may detect and correct errors included in data read from the semiconductor memory device 200. The memory interface 150 may interface with the semiconductor memory device 200. Figure 4A The LDPC circuit 130 is shown to include both the LDPC encoder 131 and the LDPC decoder 133, but the LDPC encoder 131 and the LDPC decoder 133 may also be implemented as different and independent components. The CPU 120 may perform various control operations.

[0063] According to an embodiment of the present invention, during a programming operation, the LDPC circuit 130 may perform an LDPC encoding operation on original data to be programmed into the semiconductor memory device 200. In this case, during a read operation, the LDPC circuit 130 may perform an LDPC decoding operation on LDPC encoded data or codewords stored in the semiconductor memory device 200.

[0064] The original data is data received from the host before being LDPC-encoded by the encoding operation of the LDPC circuit 130 during the programming operation. The LDPC-encoded data is stored in the semiconductor memory device 200. Then, the LDPC circuit 130 can restore the original data by performing an LDPC decoding operation on the LDPC-encoded data or codeword stored in the semiconductor memory device 200.

[0065] The semiconductor memory device 200 may include a memory cell array 210 , a control circuit 220 , a voltage supply circuit 230 , a voltage transmission circuit 240 , a read / write circuit 250 , and a column selection circuit 260 .

[0066] The memory cell array 210 may include a plurality of memory blocks 211. User data may be stored in the memory blocks 211. The user data may be encoded as described above.

[0067] Reference Figure 4B , the configuration of the memory block 211 may include a plurality of cell strings 221 respectively connected to the bit lines BL0 to BLm-1. The cell string 221 of each column may include one or more drain selection transistors DST and one or more source selection transistors SST. A plurality of memory cells (or memory cell transistors) MC0 to MCn-1 may be connected in series between the selection transistors DST and SST. In an embodiment, each of the memory cells MC0 to MCn-1 may be formed by a multi-layer cell (MLC) capable of storing multi-bit data. The cell strings 221 may be electrically connected to the corresponding bit lines BL0 to BLm-1, respectively.

[0068] Figure 4B A memory block 211 including a NAND-type flash memory cell is shown. However, the memory block 211 of the semiconductor memory device 200 is not limited to being a NAND flash memory. For example, the memory block 211 may include a NOR-type flash memory cell, a hybrid flash memory cell combining two or more types of memory cells, and a OneNAND flash memory cell. For reference, the controller is embedded in a OneNAND flash memory chip. The operating characteristics of the semiconductor device can be applied to a charge capture flash memory (CTF) in which a charge storage layer is formed by an insulating layer and a flash memory device in which a charge storage layer is formed by a conductive floating gate.

[0069] Re-reference Figure 4A , the control circuit 220 may control overall operations including operations related to a program operation, an erase operation, and a read operation of the semiconductor memory device 200 .

[0070] The voltage supply circuit 230 may provide word line voltages, such as a program voltage, a read voltage, and a pass voltage, to respective word lines according to an operation mode, and may provide a voltage to be supplied to, for example, a bulk material forming a well region of a memory cell. The voltage generation operation of the voltage supply circuit 230 may be performed under the control of the control circuit 220.

[0071] The voltage supply circuit 230 may generate a plurality of variable read voltages for generating a plurality of read data.

[0072] The voltage transmission circuit 240 may select one of the memory blocks 211 or a section of the memory cell array 210 under the control of the control circuit 220, and may select one of the word lines of the selected memory block. The voltage transmission circuit 240 may supply the word line voltage generated from the voltage supply circuit 230 to the selected word line or unselected word lines under the control of the control circuit 220.

[0073] The read / write circuit 250 may be controlled by the control circuit 220 and may operate as a sense amplifier or a write driver according to an operation mode. For example, during a verification / normal read operation, the read / write circuit 250 may operate as a sense amplifier for reading data from the memory cell array 210. During a normal read operation, the column selection circuit 260 may output the data read from the read / write circuit 250 to the outside, for example, to the memory controller 100, based on the column address information. On the other hand, during a verification read operation, the read data may be provided to a pass / fail verification circuit (not shown) included in the semiconductor memory device 200 and may be used to determine whether a programming operation of a memory cell is successful.

[0074] During a programming operation, the read / write circuit 250 may operate as a write driver that drives a bit line according to data to be stored in the memory cell array 210. During a programming operation, the read / write circuit 250 may receive data to be written in the memory cell array 210, and may drive a bit line according to the input data. To this end, the read / write circuit 250 may include a plurality of page buffers (PB) 251 corresponding to columns (or bit lines) or column pairs (or bit line pairs), respectively. A plurality of latches may be included in each of the page buffers 251.

[0075] Figure 5A is a schematic diagram illustrating an LDPC decoding operation using a Tanner graph.

[0076] Figure 5B is a schematic diagram showing an LDPC code.

[0077] Figure 5C is a schematic diagram illustrating a syndrome checking process according to an LDPC decoding operation.

[0078] Error correction codes (ECC) are commonly used in storage systems. Various physical phenomena occurring in storage devices can cause noise effects that can damage the stored information. Error correction coding methods can be used to protect the stored information from errors caused by this. This is done by encoding the information before storing it in the memory device. The encoding process converts a sequence of information bits into a codeword by adding redundancy to the information. This redundancy can then be used to recover the information from the codeword that may have been damaged by a decoding process.

[0079] In iterative coding methods, the code is constructed as a concatenation of several simple component codes, and the code is decoded based on an iterative decoding algorithm by exchanging information between decoders that receive the simple component codes. Typically, a code can be defined using a bipartite graph or Tanner graph that describes the interconnections between the component codes. In this case, decoding can be viewed as iterative messages passed on the edges of the graph.

[0080] The iterative code may include a low-density parity check (LDPC) code. An LDPC code is a linear binary block code defined by a sparse parity check matrix H, (d v ,d c )-LDPC code can be defined as a parity check matrix H = [h mn ] M×N In this paper, d v and d c It can mean the number of non-zero components, that is, the number of 1s, in each column and row of each parity check matrix.

[0081] Reference Figure 5A , the LDPC code has a parity check matrix in which the number of 1s in each row and each column is very small, and the structure of the parity check matrix can be defined by a Tanner graph including a check node 610, a variable node 620, and an edge 615 connecting the check node 610 to the variable node 620. After the check node processing, the value passed from the check node 610 to the variable node 620 becomes a check node message 615A, and after the variable node processing, the value passed from the variable node 620 to the check node 610 becomes a variable node message 615B.

[0082] The decoding process of the LDPC code can be performed by iterative decoding based on the "sum-product" algorithm. The decoding method can be set based on a suboptimal message passing algorithm such as the "min-sum" algorithm which is a simplified version of the sum-product algorithm.

[0083] For example, refer to Figure 5B , the Tanner graph of the LDPC code includes five check nodes 610 representing parity check equations of the LDPC code, ten variable nodes 620 representing code symbols, and edges 615 representing relationships between the check nodes 610 and the variable nodes 620. The edge 615 connects each check node 610 to a variable node 620 corresponding to a code symbol included in the parity check equation represented by the check node 610. Figure 5BA conventional LDPC code is shown in which the number of variable nodes 620 connected to each of the check nodes 610 is fixed to 4 and the number of check nodes 610 connected to each of the variable nodes 620 is fixed to 2. An initial value of the variable node 620 may be one of hard decision read data and soft decision read data.

[0084] Figure 5C The parity check matrix H corresponding to the Tanner graph is shown. The parity check matrix H is similar to the graphical expression of the parity check equation. The parity check matrix H has the same number of 1s in each column and each row. That is, each column of the parity check matrix H has two 1s, corresponding to the connection between each of the variable nodes 620 and the check node 610, and each row has four 1s, corresponding to the connection between each of the check nodes 610 and the variable node 620.

[0085] The process of decoding the LDPC code is performed by iterating the process of exchanging messages generated and updated in each node between the variable node 620 and the check node 610 in the Tanner graph. In this case, each node updates the message based on the sum-product algorithm or a similar suboptimal algorithm.

[0086] For example, the LDPC decoding operation of hard decision read data may include multiple iterations, each iteration including updating the check node 610 after the initial update of the variable node 620, the update of the variable node 620 and the syndrome check. After a single iteration, when the result of the syndrome check meets the set conditions, the LDPC decoding operation can be terminated. When the result of the syndrome check does not meet the set conditions, additional iterations can be performed. Additional iterations may include variable node updates, check node updates and syndrome checks. The number of iterations may be limited to a maximum iteration count. In the LDPC decoding operation, until the number of iterations reaches the maximum iteration count, when the result of the syndrome check does not meet the set conditions, it can be determined that the LDPC decoding operation of the codeword has failed.

[0087] Reference Figure 5C , the syndrome check is to identify the parity check matrix H and the vector obtained by updating the variable node 620" v The product of "H v t "Whether the set conditions are met. When the product result "H v t ” becomes a zero vector, the product result “H v t "Satisfy the set conditions.

[0088] Figure 5C The syndrome checking process is shown. Figure 5CThe product result "Hv t " is a non-zero vector of "01100", so Figure 5C It indicates that the syndrome check does not meet the set conditions, and the voltage V should be read according to another hard decision HD to perform another single iteration.

[0089] Considering the non-zero vector "01100" as the product result "H v t ", the number of non-zero vector elements or elements that do not satisfy the zero vector condition is 2. In the description, for the product result H in a single iteration v t Elements that do not satisfy the zero vector condition are defined as not satisfying the syndrome check (USC). Figure 5C The result of syndrome check is shown, where the number of USCs is 2.

[0090] An example of the LDPC decoding method of the LDPC decoder 133 may be a method using a bit flip algorithm. When the zero vector condition is not satisfied as a result of the syndrome check operation, the LDPC decoder 133 may perform LDPC decoding by calculating a flip function value for each variable node and inverting a variable node whose reliability is equal to or lower than a threshold value based on the flip function value.

[0091] According to an embodiment of the present invention, the LDPC decoder 133 can perform LDPC decoding based on a gradient descent bit flipping (GDBF) algorithm. When the GDBF algorithm is used, the flip function value can reflect not only the syndrome value of each variable node, but also the state information of the channel.

[0092] The error correction capability and error correction rate of LDPC decoding may vary depending on how the LDPC decoder 133 using the bit flipping algorithm determines the flipping function threshold.

[0093] When using the Min-flipGDBF algorithm that determines the minimum value of the flip function of all variable nodes as the flip function threshold, because LDPC decoder 133 only reverses the most unreliable position of the variable node, so as long as enough iterations are given, LDPC decoder 133 can accurately correct errors. However, because the number of positions reversed by each iteration decoding may be very small, the decoding rate may be reduced. And, in order to find the minimum value of the flip function, the flip function values ​​of all variable nodes may have to be arranged. Therefore, the amount of calculation of LDPC decoder 133 may become too much and the design may be more complicated.

[0094] When using the Parallel GDBF algorithm that determines the flip function threshold to 0, the LDPC decoder 133 can have a faster decoding rate because it flips all bits whose flip function values ​​are 0 or less, and when determining the threshold of the flip function value, it is not necessary to perform an operation for arranging the flip function value. However, when more bits without errors are flipped than bits with errors in a specific iteration, it is likely that errors are not corrected, thereby deteriorating the error correction capability, which is disadvantageous.

[0095] When the LDPC decoder 133 uses the Genie-aided GDBF algorithm, the error rate can be minimized in the next iteration, wherein the Genie-aided GDBF algorithm selects the flip function threshold as a value that can minimize the error rate in the next iteration. The equation for determining the threshold in the Genie-aided GDBF algorithm is shown in Equation 1 below.

[0096] Equation 1

[0097]

[0098] where θ (l) represents the flip function threshold; and

[0099] P θ (l+1) (θ) represents the error rate after the flip function threshold is determined to θ and the bit is flipped at the iteration number l.

[0100] When the LDPC decoder 133 determines the threshold value based on the Genie-aided GDBF algorithm, the error correction rate may be very fast because the error rate of each iteration is minimized, and the error correction capability may also be excellent because the error rate of each iteration decreases monotonically. However, the Genie-aided GDBF algorithm can actually be implemented based on the premise that the position of the variable node with error is accurately known. Therefore, the Genie-aided GDBF algorithm can be used only for statistical analysis, and can also be used as a control group for comparing algorithm performance.

[0101] According to an embodiment of the present invention described below, LDPC decoder 133 may variably determine the flip function threshold with a small amount of calculation per iteration.

[0102] The LDPC decoder 133 according to an embodiment of the present invention can divide the flip function values ​​corresponding to the variable nodes into multiple groups. The LDPC decoder 133 can determine the flip function threshold by referring to the flip function values ​​of some groups in the multiple groups. The LDPC decoder 133 can determine the flip function threshold by referring to the group maximum value and the lookup table of any one group among the multiple groups. The group maximum value can mean the maximum value among the flip function values ​​of the group. The lookup table can be a table showing the relationship between the group maximum value and the flip function threshold value. According to an embodiment of the present invention, the lookup table can be pre-created by statistically analyzing the relationship between the group maximum value and the flip function threshold value determined according to the Genie-aided GDBF algorithm.

[0103] According to an embodiment of the present invention, the LDPC decoder 133 can determine the flip function threshold value based on the group maximum value determined by arranging some of the flip function values, rather than determining the flip function threshold value by arranging all the flip function values ​​of the flip function vector. Therefore, the arrangement complexity of the LDPC decoder 133 can be reduced, that is, the amount of calculation required for the LDPC decoder 133 to arrange the flip function values ​​is reduced.

[0104] According to an embodiment of the present invention, because the LDPC decoder 133 can determine the flip function threshold by referring to statistical data representing the relationship between the group maximum value and the flip function threshold determined based on the Genie-aided GDBF algorithm, errors can be corrected quickly while reducing the error rate of each iteration.

[0105] Figure 6 is a block diagram illustrating the LDPC decoder 133 according to an embodiment of the present invention.

[0106] The LDPC decoder 133 may include a syndrome checker 602, a flip function calculator 604, a flip function threshold determiner 606, a lookup table 608, and a variable node flipper 609. Fig.10 The constituent elements of the LDPC decoder 133 are described in detail.

[0107] Figure 7 is a flowchart describing the operation of the LDPC decoder 133 which performs LDPC decoding based on a flip function decoding algorithm.

[0108] In step S702 , the LDPC decoder 133 may perform an initialization operation.

[0109] For example, the syndrome checker 602 may initialize the maximum number of iterations to 1. max, initialize the number of iterations of the iterative decoder to l = 0, initialize the set B of the bit nodes to be flipped to an empty set, and initialize the hard decision value z, which is the decision value of the variable node received from the channel The initialization of step S702 can be summarized by the following equation 2.

[0110] Equation 2

[0111] l=0,B=φ,

[0112] In step S704, the LDPC decoder 133 may perform syndrome check. Specifically, the syndrome checker 602 may calculate syndrome values ​​of all check nodes based on the following equation 3.

[0113] Equation 3

[0114]

[0115] In this paper, S m can represent the syndrome value of the mth check node, and H m may represent a non-zero component of the mth row and the nth column in the parity check matrix of the LDPC code, ie, a value of 1. Also, N(m) may represent a set of variable nodes connected to the mth check node, and may be defined by the following Equation 4.

[0116] Equation 4

[0117] N(m)={n|H mn ≠0, 0≤n≤N}, 0≤m≤M

[0118] As a result of the syndrome check, when all syndromes are 0 (“Yes” in step S704), in step S706, the LDPC decoder 133 may stop the iteration and output the determined value of the encoder.

[0119] As a result of the syndrome check, when the syndrome vector is not a zero vector, in step S708 , the LDPC decoder 133 may increase the number of iterations to l=l+1, and perform the following operation of step S710 .

[0120] In step S710 , the LDPC decoder 133 may calculate flip function values ​​of all variable nodes.

[0121] According to an embodiment of the present invention, the flip function calculator 604 may perform LDPC decoding based on a gradient descent bit flipping (GDBF) algorithm. The flip function calculator 604 may calculate a flip function value by using a flip function of the following equation 5.

[0122] Equation 5

[0123]

[0124] Herein, En may mean a flip function, and M(n) may mean a set of check nodes connected to the nth variable node. M(n) may be defined by the following Equation 6.

[0125] Equation 6

[0126] M(n)={m|H mn ≠O, 0≤m≤M}, O≤n≤N

[0127] In step S712 , the LDPC decoder 133 may flip the bit value of the variable node based on the flip function threshold and the flip function value of each variable node.

[0128] According to an embodiment of the present invention, the inversion function threshold determiner 606 can divide the inversion function values ​​calculated by the inversion function calculator 604 into multiple groups. The inversion function threshold determiner 606 can determine the inversion function threshold based on the group maximum value of any one of the multiple groups and the lookup table 608.

[0129] The variable node flipper 609 can select the value of the flip function E n equal to or less than the threshold value θ (l) The variable nodes of set B are used to define set B as shown in Equation 7, and the bit values ​​of the variable nodes in set B are flipped.

[0130] Equation 7

[0131] B={n|E n ≤θ (l)}

[0132] The following will refer to Figures 8 to 10 A method for determining the threshold of the flip function is described in detail.

[0133] In step S714, the LDPC decoder 133 may determine whether the iteration number l is equal to the maximum iteration number I. max .

[0134] When the number of iterations l is equal to the maximum number of iterations I max (“Yes” in step S714 ), in step S716 , the LDPC decoder 133 may stop iteration, determine that decoding has failed, and output a decoding failure signal.

[0135] When the number of iterations l is not equal to the maximum number of iterations I max (No in step S714 ), the LDPC decoder 133 may iteratively perform the operations of steps S704 to S714 .

[0136] Figure 8 The operation of the LDPC decoder 133 according to the embodiment of the present invention is shown. Figure 8 The case where the length of the codeword is 64 is shown.

[0137] Reference Figure 8 , E can represent the flip function vector, and E1 to E 64 The flip function values ​​included in the flip function vector may be represented by .Each of the flip function values ​​may be obtained by a flip function operation for each variable node.

[0138] exist Figure 8 In the example of , the flip function values ​​included in the flip function vector can be grouped into eight groups. Figure 8 The first group GROUP1 including E1 to E8 is shown. 57 To E 64 The eighth group GROUP8.

[0139] The flip function threshold determiner 606 may obtain a group maximum value by arranging the flip function value of each group until a group having a group maximum value less than 0 is detected. When a group having a group maximum value less than 0 is detected, the flip function threshold determiner 606 may determine a threshold value corresponding to the group maximum value of the group as a flip function threshold value by referring to a lookup table (LUT) 608.

[0140] Fig. 9 is a flowchart describing the operation of LDPC decoder 133 according to an embodiment of the present invention. Fig. 9 Show reference Figure 7 Detailed operations included in step S712 are described.

[0141] In step S902, the flip function threshold determiner 606 may perform an initialization operation. For example, the flip function threshold determiner 606 may determine the flip function value E=(E1, E2, ..., E N ) is divided into g groups in sequence, and the order i of the current group to be searched is determined to be 1.

[0142] In step S904 , the flip function threshold determiner 606 may determine whether the group maximum value of the i-th group is equal to or greater than zero.

[0143] When the group maximum value of the i-th group is less than 0 ("No" in step S904), in step S906, the flip function threshold determiner 606 can determine the threshold corresponding to the group maximum value as the flip function threshold by referring to the lookup table 608, and perform the operation of the following step S914.

[0144] Fig.10 A lookup table 608 is shown in accordance with an embodiment of the present invention.

[0145] Specifically, Fig.10 A lookup table 608 created by analyzing statistics of a flip function threshold and a group maximum value of a flip function for a Genie-aided GDBF algorithm in an LDPC code with a code length of 35840, a variable node order of 6, and a check node order of 60 is shown.

[0146] In the lookup table 608, E max may denote the group maximum, and l may denote the current number of times iterative decoding is performed, which is simply referred to as the iterative decoding number. Also, θ (l) = may represent a flip function threshold value based on the group maximum value and the number of iterative decodings. For example, during the 10th decoding, when the group maximum value of the first group is -5, the flip function threshold determiner 606 may match the value in the lookup table 608 with E max =-5 and 10≤1, the value -5 corresponding to which is determined as the flip function threshold.

[0147] Re-reference Fig. 9 , when the group maximum value of the i-th group is equal to or greater than 0 (“yes” in step S904 ), in step S908 , the flip function threshold determiner 606 may determine whether the i-th group is the last group.

[0148] When the i-th group is the last group (“Yes” in step S908 ), in step S912 , the rollover function threshold determiner 606 may determine that the rollover function threshold is 0.

[0149] When the i-th group is not the last group (“No” in step S908 ), in step S910 , the flip function threshold determiner 606 may change i to i+1 and iteratively perform the operations of steps S904 to S910 .

[0150] In step S914, the flip function threshold determiner 606 may flip the variable node based on the flip function threshold and the flip function value. Specifically, when the flip function value corresponding to the variable node is less than the flip function threshold, the flip function threshold determiner 606 may flip the corresponding variable node.

[0151] Figures 11 to 13 is a graph showing the result of simulation of the operation of the LDPC decoder 133 according to the embodiment of the present invention. Figures 11 to 13 All simulations are performed for 4KB LDPC codes with Q=256, and the code rate is determined to be 0.9 when the variable node order is 6.

[0152] Fig.11The average value of the simulation results of the LDPC code having a code length of 35840, a variable node order of 6, and a check node order of 60 is shown.

[0153] Fig.11 The average number of times iterative decoding is performed for decoding success (Avg. # of itr.), the average number of group maximums required to obtain the flip function threshold in each iteration (Avg. # of groups ( / itr.), the average number of group maximums required to obtain the threshold at each codeword (Avg. groups needed ( / cwd.), the permutation complexity required to obtain the threshold at each codeword (CUs ( / cwd.)), and the ratio of reduced permutation complexity compared to a group specified according to the number of groups g are shown. The permutation complexity can be represented by the number of comparison units CUs required to obtain the group maximum.

[0154] Reference Fig.11 , the average number of times iterative decoding is performed for LDPC decoding according to an embodiment of the present invention, which is simply referred to as the average iterative decoding number, can be similar regardless of the number of groups.

[0155] The average number of group maximum values ​​required to obtain the flip function threshold in each iteration tends to increase as the number of groups increases. For example, when g = 32, the number of cases where the group maximum value is equal to or greater than 0 increases much more than when g = 4, so that the flip function threshold can be determined by arranging the flip function values ​​of the group with an average number of 2.4. However, because the number of flip function values ​​included in the group becomes smaller, as the number of groups increases, the LDPC decoder 133 can determine the flip function threshold by arranging a smaller number of flip function values ​​during one iteration decoding until the number of groups becomes g = 32.

[0156] Because the average number of iterative decodings is similar and independent of the number of groups, as the number of groups becomes larger until the number of groups becomes g=32, the LDPC decoder 133 can determine the flip function threshold by arranging a smaller number of flip function values ​​until the iterative decoding is completed.

[0157] Reference Fig.11 , the permutation complexity can be reduced as the number of groups increases until the number of groups becomes g = 32. Fig.11 , but when the number of groups is greater than g = 32, the permutation complexity may not be reduced. The number of groups according to an embodiment of the present invention may be determined according to the operator's choice, but when g = 32 is determined and the group maximum value is detected, the permutation complexity may be reduced by about 90% compared to the case where the minimum value is detected by permuting the flip function values ​​of all variable nodes.

[0158] Fig.12 It shows that when the maximum number of iterations I max When is 20, the simulation results of LDPC decoding for LDPC codes with a code length of 35840, a variable node order of 6, and a check node order of 60. Fig.12 The graph shows the LDPC decoding simulation results as a word error rate according to the raw bit error rate in the channel.

[0159] Fig.12 The word error rate of the LDPC decoding method according to the embodiment of the present invention and the word error rate of the existing Min-flipGDBF algorithm, Parallel GDBF algorithm and Genie-aided GDBF algorithm are shown. The LDPC decoding method according to the embodiment of the present invention can be Fig.12 It is represented by the Sequential Adaptive Threshold Gradient Descent Bit Flip Algorithm (Sequential AT GDBFA) in .

[0160] Reference Fig.12 It can be seen that the Sequential AT GDBFA algorithm according to the embodiment of the present invention can have a word error rate close to that of the Genie-aided GDBF algorithm. When the raw bit error rate (RBER) is equal to or greater than 4.5×10 -5 It can be seen that, compared with the existing Max-flip GDBF algorithm and Parallel GDBF algorithm, the Sequential AT GDBFA algorithm according to the embodiment of the present invention can reduce the word error rate to one percent or less.

[0161] Fig.13 The simulation results of LDPC decoding of an LDPC code with a code length of 35840, a variable node order of 6, and a check node order of 60 are shown. Fig.13 The average number of decoding iterations as a function of word error rate is shown. Fig.13 The average number of decoding iterations of the Sequential AT GDBFA algorithm according to an embodiment of the present invention and the average number of decoding iterations of the existing Max-flip algorithm and the Genie-aided GDBFA algorithm are shown.

[0162] Reference Fig.13, when the performance is the same, the Sequential AT GDBFA algorithm according to an embodiment of the present invention can show an error correction rate close to that of the Genie-aided GDBF algorithm. In addition, when compared with the existing Max-flip algorithm, the average number of decoding iterations can be reduced by about half.

[0163] According to an embodiment of the present invention, the LDPC decoder 133 can perform LDPC decoding by using a Sequential AT GDBFA algorithm, which variably determines the flip function threshold value with a smaller permutation complexity based on the group maximum value obtained by permuting only some of the flip function values. Because the LDPC decoding according to an embodiment of the present invention has a smaller permutation complexity, the amount of operation of the LDPC decoder 133 can be reduced, so that error correction can be performed quickly. The LDPC decoder 133 according to an embodiment of the present invention can variably determine the flip function threshold value based on a lookup table representing the statistical relationship between the group maximum value and the flip function threshold value determined based on the Genie-aided GDBF algorithm. Therefore, the LDPC decoder 133 can quickly and accurately perform error correction of data with a smaller number of iterative decoding. In this way, the LDPC decoder 133 according to an embodiment of the present invention can improve the performance and reliability of the semiconductor device 10 by quickly and accurately correcting errors in the data stored in the semiconductor memory device 200.

[0164] Figures 14 to 19 Shows that reference can be applied Figures 1 to 13 The electronic device of the LDPC decoder 133 according to the embodiment of the present invention is described.

[0165] Fig.14 1 is a block diagram schematically illustrating an electronic device 10000 including a memory controller 15000 and a semiconductor memory device 16000 according to an embodiment of the present invention.

[0166] Reference Fig.14 , the electronic device 10000 may be any suitable electronic device, such as a mobile phone, a smart phone, or a tablet PC including a semiconductor memory device 16000 and a memory controller 15000. The semiconductor memory device 16000 may be implemented by any suitable memory device, for example, including a flash memory device such as a NAND or NOR flash memory. The memory controller 15000 may control the semiconductor memory device 16000.

[0167] The semiconductor memory device 16000 may correspond to the above reference Figures 3 to 4B The semiconductor memory device 200 is described. The semiconductor memory device 16000 can store random data.

[0168] The memory controller 15000 may correspond to the reference Figures 3 to 4B The memory controller 15000 may be controlled by the processor 11000 , which may control the overall operation of the electronic device 10000 .

[0169] Data stored in the semiconductor memory device 16000 may be displayed through the display 13000 under the control of the memory controller 15000. The memory controller 15000 may operate under the control of the processor 11000.

[0170] The radio transceiver 12000 may receive and output a radio signal through the antenna ANT. For example, the radio transceiver 12000 may convert the radio signal received from the antenna ANT into a signal to be processed by the processor 11000. Therefore, the processor 11000 may process the converted signal from the radio transceiver 12000 and may store the processed signal in the semiconductor memory device 16000. Alternatively, the processor 11000 may display the processed signal through the display 13000.

[0171] The radio transceiver 12000 may convert a signal from the processor 11000 into a radio signal, and may output the converted radio signal to an external device through the antenna ANT.

[0172] The input device 14000 may receive a control signal for controlling the operation of the processor 11000 or data to be processed by the processor 11000. For example, the input device 14000 may be implemented by a pointing device such as a touch pad and a computer mouse, a keyboard, or a keypad.

[0173] The processor 11000 may control the display 13000 to display data from the semiconductor memory device 16000 , a radio signal from the wireless transceiver 12000 , or data from the input device 14000 through the display 13000 .

[0174] Fig.15 2 is a block diagram schematically illustrating an electronic device 20000 including a memory controller 24000 and a semiconductor memory device 25000 according to another embodiment of the present invention.

[0175] The memory controller 24000 and the semiconductor memory device 25000 may correspond to reference Figures 3 to 4B The memory controller 100 and the semiconductor memory device 200 are described.

[0176] Reference Fig.15The electronic device 20000 may be implemented by a data processing device such as a personal computer (PC), a tablet computer, a netbook, an e-reader, a personal digital assistant (PDA), a portable multimedia player (PMP), an MP3 player, or an MP4 player, and may include a semiconductor memory device 25000 such as a flash memory device and a memory controller 24000 that controls the operation of the semiconductor memory device 25000.

[0177] The electronic device 20000 may include a processor 21000 to control overall operations of the electronic device 20000. The memory controller 24000 may be controlled by the processor 21000.

[0178] The processor 21000 may display data stored in the semiconductor memory device 25000 through the display 23000 according to an input signal from the input device 22000. For example, the input device 22000 may be implemented by a pointing device such as a touch pad and a computer mouse, a keyboard, or a keypad.

[0179] Fig.16 is a block diagram schematically illustrating an electronic device 30000 including a controller 32000 and a semiconductor memory device 34000 according to another embodiment of the present invention.

[0180] The controller 32000 and the semiconductor memory device 34000 may correspond to reference Figures 3 to 4B The memory controller 100 and the semiconductor memory device 200 are described.

[0181] Reference Fig.16 , the electronic device 30000 may include a card interface 31000, a controller 32000, and a semiconductor memory device 34000 which may be implemented by a flash memory device, for example.

[0182] The electronic device 30000 can exchange data with the host through the card interface 31000. The card interface 31000 can be a secure digital (SD) card interface or a multimedia card (MMC) interface, which will not limit the scope of the present invention. According to the communication protocol of the host that can communicate with the electronic device 30000, the card interface 31000 can interface the host and the controller 32000.

[0183] The controller 32000 may control the overall operation of the electronic device 30000, and may control data exchange between the card interface 31000 and the semiconductor memory device 34000. The buffer memory 33000 of the controller 32000 may buffer data transferred between the card interface 31000 and the semiconductor memory device 34000.

[0184] The controller 32000 may be coupled to the card interface 31000 and the semiconductor memory device 34000 through a data bus DATA and an address bus ADDRESS. According to an embodiment, the controller 32000 may receive an address of data to be read or written from the card interface 31000 through the address bus ADDRESS, and may send it to the semiconductor memory device 34000. Further, the controller 32000 may receive or transmit data to be read or written through the data bus DATA connected to the card interface 31000 or the semiconductor memory device 34000.

[0185] When electronic device 30000 is connected to a host such as a PC, tablet PC, digital camera, digital audio player, mobile phone, game console hardware, or digital set-top box, the host may exchange data with semiconductor memory device 34000 through card interface 31000 and controller 32000 .

[0186] Fig.17 is a block diagram schematically illustrating an electronic device 40000 including a memory controller 44000 and a semiconductor memory device 45000 according to another embodiment of the present invention.

[0187] The memory controller 44000 and the semiconductor memory device 45000 may correspond to reference Figures 3 to 4B The memory controller 100 and the semiconductor memory device 200 are described.

[0188] Reference Fig.17 The electronic device 40000 may include a semiconductor memory device 45000 such as a flash memory device, a memory controller 44000 that controls data processing operations of the semiconductor memory device 45000 , and a processor 41000 that controls overall operations of the electronic device 40000 .

[0189] Further, the image sensor 42000 of the electronic device 40000 may convert the optical signal into a digital signal under the control of the processor 41000, and the converted digital signal may be stored in the semiconductor memory device 45000. Alternatively, the converted digital signal may be displayed through the display 43000 under the control of the processor 41000.

[0190] Fig.18 FIG. 2 schematically shows an electronic device 60000 according to another embodiment of the present invention, which includes a memory controller 61000 and semiconductor memory devices 62000A, 62000B, and 62000C.

[0191] Each of the memory controller 61000 and the semiconductor memory devices 62000A, 62000B, and 62000C may correspond to reference Figures 3 to 4B The memory controller 100 and the semiconductor memory device 200 are described.

[0192] Reference Fig.18 , the electronic device 60000 may be implemented by a data storage device such as a solid state drive (SSD).

[0193] The electronic device 60000 may include a plurality of semiconductor memory devices 62000A, 62000B, and 62000C and a memory controller 61000 for controlling a data processing operation of each of the semiconductor memory devices 62000A, 62000B, and 62000C.

[0194] The electronic device 60000 may be implemented by a memory system or a memory module.

[0195] For example, the memory controller 61000 may be implemented outside or inside the electronic device 60000 .

[0196] Fig.19 Includes reference Fig.18 A block diagram of a data processing system of electronic device 60000 is described.

[0197] Reference Fig.18 and Fig.19 The data storage device 70000 may be implemented by a redundant array of independent disks (RAID) system. The data storage device 70000 may include a RAID controller 71000 and a plurality of memory systems 72000_1 to 72000_N, where N is a natural number.

[0198] Each of the memory systems 72000_1 to 72000_N may correspond to a reference Fig.18 The electronic device 60000 described. The memory systems 72000_1 to 72000_N may form a RAID array. The data storage device 70000 may be implemented by an SSD.

[0199] During a program operation, the RAID controller 71000 may output program data output from the host to one of the memory systems 72000_1 through 72000_N according to one of a plurality of RAID levels selected based on RAID level information output from the host.

[0200] During a read operation, the RAID controller 71000 may transfer data read from one of the memory systems 72000_1 through 72000_N to the host according to one of a plurality of RAID levels selected based on RAID level information output from the host.

[0201] According to the embodiments of the present invention, data stored in a memory cell of a semiconductor memory device can be read accurately and quickly.

[0202] According to the embodiments of the present invention, the error correction capability and error correction speed of LDPC decoding can be improved.

[0203] While the present invention has been described with respect to the specific embodiments, it will be apparent to those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the following claims.

Claims

1. A method of operating a low-density parity check decoder, i.e., an LDPC decoder, the method comprising: assigning each symbol of the codeword as a variable node value for each of a plurality of variable nodes; performing syndrome check on each check node based on the parity check matrix; Calculating a flip function value of the variable node based on the syndrome value of the check node and a flip function; Dividing the flip function values ​​into a plurality of groups; determining a rollover function threshold based on a group maximum of a group among the plurality of groups; and selectively flipping the variable node value based on a comparison result of the flip function value of the corresponding variable node with the determined flip function threshold, Wherein determining the flip function threshold comprises: selecting a group whose group maximum value is less than 0 by sequentially searching the plurality of groups; and The rollover function threshold is determined based on the group maximum of the selected group.

2. The method according to claim 1, wherein determining the flip function threshold comprises: The rollover function threshold is determined based on a lookup table representing a relationship between the group maximum value and the rollover function threshold.

3. The method of claim 2, wherein the lookup table comprises a statistical relationship between the group maximum value and the flip function threshold determined based on a Genie-aided gradient descent bit flipping algorithm.

4. The method according to claim 1, further comprising: The syndrome check, the flip function value of the variable node, the flip function threshold value, and the variable node value are iteratively performed until the syndrome values ​​of the check nodes are all 0 or the number of iterations reaches a maximum number of iterations.

5. The method according to claim 4, further comprising: When the syndrome values ​​of the check nodes are all 0, the variable node values ​​are output as decoded data. The method according to claim 1 , wherein a flipping function based on a gradient descent bit flipping algorithm is used as the flipping function.

7. A low-density parity check decoder, i.e., an LDPC decoder, comprising: a syndrome checker that assigns each symbol of the codeword as a variable node value for each of a plurality of variable nodes and performs a syndrome check on each check node based on a parity check matrix; a flip function calculator, which calculates a flip function value of the variable node based on the syndrome value of the check node and a flip function; a flip function threshold determiner that divides the flip function values ​​into a plurality of groups and determines a flip function threshold based on a group maximum value of a group among the plurality of groups; as well as a variable node flipper, selectively flipping the variable node value based on a comparison result of the flip function value of the corresponding variable node with the flip function threshold, The flip function threshold determiner is: selecting a group whose group maximum value is less than 0 by sequentially searching the plurality of groups; and The rollover function threshold is determined based on the group maximum of the selected group.

8. The LDPC decoder of claim 7, further comprising: a lookup table representing the relationship between the group maximum value and the flip function threshold, The rollover function threshold determiner determines the rollover function threshold based on the lookup table.

9. The LDPC decoder of claim 8, wherein the lookup table includes a statistical relationship between the group maximum and the flip function threshold determined based on a Genie-aided gradient descent bit flipping algorithm.

10. The LDPC decoder of claim 7, wherein the syndrome check, calculation of the flip function value, determination of the flip function threshold, and flipping of the variable node values ​​are performed iteratively until the syndrome values ​​of the check nodes are all 0 or the number of iterations reaches a maximum number of iterations.

11. The LDPC decoder of claim 10, wherein when the syndrome values ​​of the check nodes are all 0, the syndrome checker outputs the variable node value as decoded data.

12. The LDPC decoder according to claim 7, wherein a flipping function based on a gradient descent bit flipping algorithm is used as the flipping function.

13. A semiconductor memory system comprising: Semiconductor memory devices; as well as a memory controller including a low density parity check decoder, i.e., an LDPC decoder, for performing error correction decoding on data read from the semiconductor memory device, Among them, LDPC Decoder: assigning each symbol of the codeword as a variable node value for each of a plurality of variable nodes; performing syndrome check on each check node based on the parity check matrix; Calculating a flip function value of the variable node based on the syndrome value of the check node and a flip function; Dividing the flip function values ​​into a plurality of groups; determining the rollover function threshold based on a group maximum of a group among the plurality of groups and a lookup table; and selectively flipping the variable node value based on a comparison result of the flip function value of the corresponding variable node with the determined flip function threshold, The rollover function threshold is determined by sequentially searching the plurality of groups to select a group whose group maximum value is less than 0, and determining the rollover function threshold based on the group maximum value of the selected group.

14. The semiconductor memory system according to claim 13, wherein the LDPC decoder includes the lookup table representing the relationship between the group maximum value and the flip function threshold, The inversion function threshold determiner determines the inversion function threshold based on the lookup table.

15. The semiconductor memory system of claim 14, wherein the lookup table includes a statistical relationship between the group maximum value and the flip function threshold determined based on a Genie-aided gradient descent bit flipping algorithm.

16. The semiconductor memory system according to claim 13 , wherein the syndrome check, the calculation of the flip function value, the determination of the flip function threshold, and the flipping of the variable node value are iteratively performed until the syndrome values ​​of the check nodes are all 0 or the number of iterations reaches a maximum number of iterations, and When the syndrome values ​​of the check nodes are all 0, the syndrome checker outputs the variable node value as decoded data. 17 . The semiconductor memory system according to claim 13 , wherein in calculating the flip function value, a flip function based on a gradient descent bit flipping algorithm is used as the flip function.

Citation Information

Patent Citations

  • Liquid ejection head, liquid ejection module, and liquid ejection apparatus

    KR1020200014232A

  • Average magnitude based weighted bit-flipping decoding method for low-density parity-check codes

    CN102932006A

  • LDPC decoding with finite precision and dynamic adjustment of the number of iterations

    CN107005251A

  • Method of decoding low density parity check code, decoder and storage system

    CN109818626A

  • LDPC code large number logic decoding method and device and decoder

    CN110708077A