Decoding device and check matrix generating method

The decoding device enhances LDPC code performance by generating parity check matrices with adjustable coding rates through block division and positional shifting, addressing issues of weight reduction and error floors in conventional methods.

JP7536203B2Active Publication Date: 2024-08-19MITSUBISHI ELECTRIC CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023578141
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-06-28
Publication Date
2024-08-19
Estimated Expiration
2042-06-28

AI Technical Summary

Technical Problem

Conventional LDPC code generation methods face issues with reduced row and column weights when increasing the number of rows, leading to limited performance improvement and high error rates, particularly with error floors.

Method used

A decoding device that generates parity check matrices by dividing them into blocks of P×P small matrices, replacing some blocks with 0 matrices and shifting positions of 1s in other blocks to maintain or adjust coding rates, thereby suppressing performance deterioration.

Benefits of technology

The method effectively maintains row and column weights, preventing performance degradation and enabling efficient decoding across varying coding rates without recalculating matrices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007536203000002
    Figure 0007536203000002
  • Figure 0007536203000007
    Figure 0007536203000007
  • Figure 0007536203000001
    Figure 0007536203000001
Patent Text Reader

Abstract

This decoding device (320) comprises: a storage unit (331) that is capable of division into PxP submatrix blocks, where P is a positive integer, and that stores a first check matrix of a maximum coding rate assumed for the check matrix of a low density parity check code used in communication; and a generation unit (332) that generates a first row obtained by replacing a portion of blocks with a 0 matrix using a unit of rows included in the first check matrix that include a submatrix in the column direction, and that further generates one or more second rows obtained by, while replacing the stipulated blocks with the 0 matrix, shifting a position of a 1 included in a submatrix of another block by a stipulated fixed value, and generates a second check matrix of a lower coding rate than the first check matrix.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a decoding device, a control circuit, a storage medium, and a check matrix generating method for use in a communication device. [Background technology]

[0002] Conventionally, in a communication device, encoding and decoding are performed by switching between a plurality of low density parity check codes (hereinafter referred to as LDPC (Low Density Parity Check) codes) having the same code length and different coding rates. For example, Patent Document 1 discloses a technique for dividing some or all of the rows of a parity check matrix constituting an LDPC code into two or more rows, and allocating "1" to one of the two or more divided rows under the condition that the row vectors of the parity check matrix after row division are linearly independent with respect to the positions of "1" in the rows of the original parity check matrix, thereby generating a new parity check matrix and realizing an LDPC code with multiple rates. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2011-109228 A Summary of the Invention [Problem to be solved by the invention]

[0004] However, according to the above conventional technology, the newly generated parity check matrix has a problem that the row weight is smaller than the original parity check matrix due to the increase in the number of rows, and the maximum column weight is limited when the number of columns of the parity check matrix is ​​increased and the coding rate is reduced, so that the performance may not be sufficiently improved.In addition, the newly generated parity check matrix has a problem that the error floor often occurs at a high error rate.

[0005] The present disclosure has been made in view of the above, and has an object to provide a decoding device capable of suppressing degradation of coding performance when the number of rows in a check matrix is ​​increased. [Means for solving the problem]

[0006] In order to solve the above-mentioned problems and achieve the object, a decoding device of the present disclosure includes a storage unit that stores a first parity check matrix that can be divided into P×P blocks of small matrices, where P is a positive integer, and has a maximum coding rate assumed as a parity check matrix of a low-density parity check code used in communications; and generates a first row by replacing a part of the blocks with a zero matrix using unit rows that include small matrices in the column direction included in the first parity check matrix; Using a unit row including a submatrix in the column direction included in the first check matrix, The present invention is further characterized in that it comprises a generation unit that generates one or more second rows by replacing a specified block with a matrix of 0s while shifting the positions of 1's contained in the sub-matrices of other blocks by a specified fixed value, thereby generating a second check matrix having a lower coding rate than the first check matrix. Effect of the Invention

[0007] The decoding device according to the present disclosure has an advantage of being able to suppress deterioration of coding performance when the number of rows in a parity check matrix is ​​increased. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is a diagram showing a configuration example of a communication system including a communication device according to a first embodiment; [Diagram 2] FIG. 1 is a diagram showing an example of a method for adding rows to a parity check matrix by a check matrix generation device according to a first embodiment; [Diagram 3] Flowchart showing the operation of the check matrix generation device according to the first embodiment [Figure 4] FIG. 1 is a diagram showing an example of the configuration of a processing circuit that realizes a communication device according to a first embodiment when the processing circuit is configured with a processor and a memory; [Diagram 5] FIG. 1 is a diagram showing an example of a processing circuit for implementing a communication device according to a first embodiment when the processing circuit is configured with dedicated hardware; [Figure 6]FIG. 13 is a diagram showing a configuration example of a communication system including a communication device according to a second embodiment. [Figure 7] FIG. 13 is a diagram showing a configuration example of a row arithmetic unit included in a decoding unit according to a second embodiment; [Figure 8] A flowchart showing the operation of row calculation by a row calculation unit of a decoding unit according to the second embodiment. [Figure 9] FIG. 13 is a diagram showing a configuration example of a column arithmetic unit included in a decoding unit according to a third embodiment; [Figure 10] A flowchart showing the operation of column calculation by the column calculation unit of the decryption unit according to the third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A decoding device, a control circuit, a storage medium, and a check matrix generating method according to embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.

[0010] Embodiment 1 FIG. 1 is a diagram showing a configuration example of a communication system 400 including communication devices 100 and 300 according to the first embodiment. The communication system 400 is a system in which the communication device 100 transmits a signal that has been subjected to encoding processing using an LDPC code to the communication device 300 via a communication path 200, and the communication device 300 decodes the received signal. The communication device 100 includes a coding device 110 and a transmitting unit 140. The coding device 110 includes a check matrix generating device 120 and a coding unit 130. The check matrix generating device 120 includes a storage unit 121 and a generating unit 122. The communication device 300 includes a receiving unit 310 and a decoding device 320. The decoding device 320 includes a check matrix generating device 330 and a decoding unit 340. The check matrix generating device 330 includes a storage unit 331 and a generating unit 332.

[0011] In the communication device 100, the encoding device 110 performs encoding processing on communication bits acquired from a higher-level device (not shown). In the encoding device 110, the check matrix generating device 120 generates a parity check matrix used in encoding processing on the communication bits. The encoding unit 130 acquires the parity check matrix from the check matrix generating device 120, and performs encoding processing on the communication bits. The transmitting unit 140 performs modulation processing on the communication bits encoded by the encoding unit 130 of the encoding device 110, and transmits the modulated signal to the communication device 300 via the communication path 200. In the following description, the parity check matrix may be simply referred to as a check matrix.

[0012] In the communication device 300, the receiving unit 310 performs demodulation processing and the like on the received signal received from the communication device 100 via the communication channel 200. The decoding device 320 performs decoding processing on the demodulated signal to generate a decoding result, and outputs the result to a higher-level device (not shown). In the decoding device 320, the check matrix generating device 330 generates a parity check matrix used in the decoding processing on the demodulated signal. The decoding unit 340 acquires the parity check matrix from the check matrix generating device 330, and performs decoding processing on the demodulated signal.

[0013] In the first embodiment, a method is described in which the check matrix generating device 120 included in the communication device 100 and the check matrix generating device 330 included in the communication device 300 add rows to an original parity check matrix to generate a parity check matrix with a different coding rate from the original parity check matrix.The check matrix generating device 120 and the check matrix generating device 330 have the same configuration.The storage unit 121 and the generating unit 122 included in the check matrix generating device 120 and the storage unit 331 and the generating unit 332 included in the check matrix generating device 330 have the same configuration.The check matrix generating device 120 and the check matrix generating device 330 perform the same operation, so the check matrix generating device 330 is taken as an example for description below.

[0014] Here, in the first embodiment, the LDPC code to be handled is a systematic code. When the parity check matrix is ​​an m×n matrix, m columns from the rightmost column of the parity check matrix correspond to the parity bits. Here, m and n are positive integers. However, the corresponding positions of the parity bits may be appropriately interchanged. Also, in the first embodiment, the decoding device 320 including the check matrix generating device 330 performs a decoding process of the LDPC code using a check matrix for encoding, which is an encoding matrix obtained by lower triangulating the parity check matrix. The check matrix generating device 330 can make the coding rate of the LDPC code variable by adding the number of rows of the parity check matrix to the parity check matrix of the LDPC code having the highest coding rate as a base.

[0015] Fig. 2 is a diagram showing an example of a method in which the check matrix generating device 330 according to the first embodiment adds rows to a parity check matrix. In Fig. 2, the parity check matrix with a coding rate of 4 / 5 in the upper row is stored in the storage unit 331 in advance and is a parity check matrix of an LDPC code with the highest coding rate as a base. The parity check matrix with a coding rate of 3 / 5 in the middle row is obtained by adding two rows by the generating unit 332 using a parity check matrix with a coding rate of 4 / 5. The parity check matrix with a coding rate of 1 / 2 in the lower row is obtained by adding three rows by the generating unit 332 using a parity check matrix with a coding rate of 4 / 5.

[0016] In the parity check matrix generating device 330, the generation unit 332 performs the process of adding rows to the parity check matrix. The parity check matrix generating device 330 stores in advance in the storage unit 331 the parity check matrix with the highest coding rate assumed in the communication system 400 shown in FIG. 1, which is a coding rate of 4 / 5 in the first embodiment. The parity check matrix with the highest coding rate is composed of a P×P matrix submatrix when the common divisor of the number of rows m and the number of columns n of the parity check matrix is ​​P. Note that P is also a positive integer. For example, the parity check matrix with the coding rate of 4 / 5 shown in FIG. 1 is composed of a P×P matrix submatrix for two blocks as row components, and a P×P matrix submatrix for ten blocks as column components. In the following description, the parity check matrix with the highest coding rate stored in the storage unit 331 may be referred to as a first parity check matrix. That is, the storage unit 331 stores a first parity check matrix that can be divided into P×P sub-matrix blocks and has the maximum coding rate assumed as a parity check matrix of a low-density parity check code used in communications.

[0017] The parity check matrix to which rows have been added and which is generated by generation section 332 may be referred to as a second parity check matrix.

[0018] A submatrix consisting of a P×P matrix is ​​a 0 matrix in which all components have a value of 0, or a unit matrix, or a cyclic permutation matrix obtained by cyclically shifting the 1 positions of a unit matrix by i positions to the right. Note that 0≦i≦P-1. In the parity check matrix shown in the middle and bottom rows of Figure 2, the parts indicated by 0 are 0 matrices, and the parts indicated by S(A1), S(B2), T(A1), etc. are cyclic permutation matrices.

[0019] First, a case will be described in which the generating unit 332 generates a parity check matrix with a coding rate of 3 / 5 shown in the middle part of Fig. 2. As a procedure for adding a row to the parity check matrix, the generating unit 332 generates a row of the first block of the parity check matrix for the code with a coding rate of 4 / 5 stored in the storage unit 331 by setting some of the row components to 0 matrices and leaving the remaining components as they are in the parity check matrix with a coding rate of 4 / 5.

[0020] Next, for the rows of the second block, the generation unit 332 sets some of the row components of the rows of the first block of the parity check matrix of the code with a coding rate of 4 / 5 to zero matrices. At this time, the generation unit 332 prevents the parts set to zero matrices in the first block from becoming zero matrices. Furthermore, for the parts that are not set to zero matrices, the generation unit 332 generates a fixed-value cyclic shift of the positions of 1 in the parity check matrix with a coding rate of 4 / 5, thereby generating the rows of the second block of the parity check matrix.

[0021] In addition, the generation unit 332 generates a row of the third block of the parity check matrix for the code with coding rate 4 / 5 by setting some of the row components to zero matrices and leaving the remaining components as they are in the parity check matrix for coding rate 4 / 5.

[0022] Next, for the rows of the fourth block, the generation unit 332 sets some of the row components of the rows of the second block of the parity check matrix of the code with a coding rate of 4 / 5 to zero matrices. At this time, the generation unit 332 prevents the part set to zero matrices in the third block from becoming zero matrices. Furthermore, for the part that is not set to zero matrices, the generation unit 332 generates a fixed-value cyclic shift of the positions of 1 in the parity check matrix with a coding rate of 4 / 5, thereby generating the row of the fourth block of the parity check matrix.

[0023] The generation unit 332 can expand the rows as described above and generate a parity check matrix with a coding rate of 3 / 5 composed of sub-matrices of a P×P matrix for 4 blocks as row components and sub-matrices of a P×P matrix for 10 blocks as column components.

[0024] Similarly, a case will be described where the generating unit 332 generates a parity check matrix with a coding rate of 1 / 2 as shown in the lower part of Fig. 2. As a procedure for adding a row to the parity check matrix, the generating unit 332 generates a row of the first block of the parity check matrix for the code with a coding rate of 4 / 5 stored in the storage unit 331 by setting some of the row components to 0 matrices and leaving the remaining components as they are in the parity check matrix with a coding rate of 4 / 5.

[0025] Next, for the rows of the second block, the generation unit 332 sets some of the row components of the rows of the first block of the parity check matrix of the code with a coding rate of 4 / 5 to 0 matrices. Also, for the parts that are not set to 0 matrices, the generation unit 332 generates a matrix in which the positions of 1 in the parity check matrix with a coding rate of 4 / 5 are cyclically shifted by a fixed value, thereby generating the rows of the second block of the parity check matrix.

[0026] Next, for the rows of the third block, the generation unit 332 sets some of the row components of the rows of the first block of the parity check matrix of the code with a coding rate of 4 / 5 to zero matrices. At this time, the generation unit 332 prevents the parts set to zero matrices in the second block from becoming zero matrices. In addition, for the parts that are not set to zero matrices, the generation unit 332 generates fixed-value cyclic shifts with a fixed value different from that used to generate the second block for the positions of the parity check matrix with a coding rate of 4 / 5 where 1's are set, thereby generating the rows of the third block of the parity check matrix.

[0027] In addition, the generation unit 332 generates a row of the fourth block of the parity check matrix for the code with coding rate 4 / 5 by setting some of the row components to zero matrices and leaving the remaining components as they are in the parity check matrix for coding rate 4 / 5.

[0028] Next, for the row of the fifth block, the generation unit 332 sets a part of the row components of the row of the second block of the parity check matrix of the code with a coding rate of 4 / 5 to a zero matrix. At this time, the generation unit 332 prevents the part set to a zero matrix in the fourth block from becoming a zero matrix. Furthermore, for the part that is not set to a zero matrix, the generation unit 332 generates a fixed value cyclic shift of the positions of the 1's in the parity check matrix with a coding rate of 4 / 5, thereby generating the row of the fifth block of the parity check matrix.

[0029] The generation unit 332 can expand the rows as described above and generate a parity check matrix with a coding rate of 1 / 2 composed of sub-matrices of a P×P matrix for 5 blocks as row components and sub-matrices of a P×P matrix for 10 blocks as column components.

[0030] The generating unit 332 can generate parity check matrices for codes with other coding rates in a similar manner. The generating unit 332 can make the coding rate variable while keeping the code length constant for the parity check matrix used in the decoding unit 340 by the method described above. Note that, in the above example, the generating unit 332 generates a parity check matrix by performing a fixed-value cyclic shift for each row by a fixed value, but the shift amount may be changed for each column component.

[0031] In addition, the generating unit 332 may reduce the coding rate by expanding the row blocks of the original parity check matrix to a plurality of rows by making some blocks zero matrices and shifting other blocks by a certain amount. In this way, the generating unit 332 may not make the row weights and column weights smaller than those of the original LDPC code, and may suppress deterioration in code performance.

[0032] The generating unit 332 may store the generated parity check matrix with a coding rate of 3 / 5, the parity check matrix with a coding rate of 1 / 2, etc., in the storage unit 331. As a result, even when the communication device 100 changes the coding rate of the coding process in accordance with the state of the communication channel 200, the generating unit 332 can reduce the calculation process by storing the parity check matrices generated in the past, compared to the case where a parity check matrix is ​​generated every time the coding rate is changed.

[0033] Here, in the communication system 400, when the communication device 300 decodes a signal transmitted from the communication device 100, if it is known what coding rate of the parity check matrix the communication device 100 used for coding, the communication device 300 can perform the decoding process efficiently. In the communication system 400, the communication device 100 and the communication device 300 operate according to a common rule, such as the method shown in the middle part of FIG. 2 for adding two rows to the parity check matrix, and the method shown in the lower part of FIG. 2 for adding three rows to the parity check matrix. In this case, in the communication system 400, the communication device 100 may notify the communication device 300 of the information on the coding rate of the parity check matrix used, or a higher-level device (not shown) may notify the communication device 100 and the communication device 300 of the coding rate of the parity check matrix used.

[0034] FIG. 3 is a flowchart showing the operation of the parity check matrix generating device 330 according to the first embodiment. In the parity check matrix generating device 330, the generating unit 332 reads out from the storage unit 331 a parity check matrix that can be divided into blocks of P×P small matrices and has the highest coding rate expected in the communication system 400 (step S101). The generating unit 332 selects one row from the read out parity check matrix (step S102). Using the selected row, the generating unit 332 generates a first row in which some blocks of row components are set to zero matrices and other blocks are set to the original row components (step S103). The first row corresponds to the first and third rows of the parity check matrix with a coding rate of 3 / 5 shown in the middle of FIG. 2, the first and fourth rows of the parity check matrix with a coding rate of 1 / 2 shown in the bottom of FIG. 2, and the like.

[0035] When generating one second row using the selected row (step S104: Yes), the generating unit 332 sets blocks in positions different from the blocks set to zero in the first row as a part of the row components to zero matrices, and generates a second row by cyclically shifting positions of 1 in other blocks by a prescribed fixed value (step S105). The second row generated in step S105 corresponds to the second and fourth rows of the parity check matrix with coding rate 3 / 5 shown in the middle of Fig. 2, the fifth row of the parity check matrix with coding rate 1 / 2 shown in the bottom of Fig. 2, etc.

[0036] Alternatively, when generating two or more second rows using the selected row (step S104: No), the generating unit 332 generates two or more second rows by setting positions of blocks that are part of the row components and that are different between the second rows as 0 matrices and cyclically shifting positions of ones in other blocks by different fixed values ​​defined for each second row (step S106). The second rows generated in step S106 correspond to the second and third rows of the parity check matrix with a coding rate of 1 / 2 shown in the lower part of FIG.

[0037] When the number of rows of the parity check matrix to be generated does not reach the desired number (step S107: No), the generating unit 332 returns to step S102 and selects one unselected row from the read parity check matrix. When the number of rows of the parity check matrix to be generated reaches the desired number (step S107: Yes), the generating unit 332 ends the operation.

[0038] In this way, the generating unit 332 generates a first row by replacing some blocks with a zero matrix using a row of units including a small matrix in the column direction included in the first check matrix, and further generates one or more second rows by replacing a specified block with a zero matrix and shifting the positions of 1's included in the small matrix of other blocks by a specified fixed value, thereby generating a second check matrix with a lower coding rate than the first check matrix. When generating one second row, the generating unit 332 replaces a block that is not replaced with a zero matrix in the first row as the specified block with a zero matrix. Alternatively, when generating two or more second rows, the generating unit 332 replaces different blocks with a zero matrix by two or more second rows as the specified block, and sets the fixed value to a different value by two or more second rows. The generating unit 332 generates a first row and one or more second rows for each row using a plurality of rows of units including a small matrix in the column direction included in the first check matrix.

[0039] Next, the hardware configuration of the communication device 300 will be described. In the communication device 300, the receiving unit 310 is a communication device. The decoding device 320 is realized by a processing circuit. The processing circuit may be a processor and a memory that executes a program stored in a memory, or may be a dedicated hardware. The processing circuit is also called a control circuit.

[0040] FIG. 4 is a diagram showing a configuration example of the processing circuit 90 in the case where the processing circuit for realizing the communication device 300 according to the first embodiment is configured by a processor 91 and a memory 92. The processing circuit 90 shown in FIG. 4 is a control circuit and includes a processor 91 and a memory 92. When the processing circuit 90 is configured by the processor 91 and the memory 92, each function of the processing circuit 90 is realized by software, firmware, or a combination of software and firmware. The software or firmware is described as a program and stored in the memory 92. In the processing circuit 90, each function is realized by the processor 91 reading and executing the program stored in the memory 92. That is, the processing circuit 90 includes a memory 92 for storing a program that results in the processing of the communication device 300 being executed. This program can also be said to be a program for causing the communication device 300 to execute each function realized by the processing circuit 90. This program may be provided by a storage medium in which the program is stored, or may be provided by other means such as a communication medium.

[0041] The above program can also be said to be a program executed by communication device 300, in a case where decoding device 320 is equipped with a memory unit 331 that can be divided into P×P sub-matrix blocks and stores a first check matrix with the maximum coding rate expected as a check matrix of a low-density parity check code used in communications, and includes a first step in which generation unit 332 generates a first row by replacing some blocks with zero matrices using unit rows that include sub-matrices in the column direction included in the first check matrix, and a second step in which generation unit 332 generates one or more second rows by further replacing specified blocks with zero matrices while shifting the positions of 1's included in the sub-matrices of other blocks by a specified fixed value, thereby generating a second check matrix with a lower coding rate than the first check matrix.

[0042] Here, the processor 91 is, for example, a CPU (Central Processing Unit), a processing device, an arithmetic device, a microprocessor, a microcomputer, or a DSP (Digital Signal Processor), etc. Also, the memory 92 is, for example, a non-volatile or volatile semiconductor memory such as a RAM (Random Access Memory), a ROM (Read Only Memory), a flash memory, an EPROM (Erasable Programmable ROM), an EEPROM (Electrically EPROM), a magnetic disk, a flexible disk, an optical disk, a compact disk, a mini disk, or a DVD (Digital Versatile Disc), etc.

[0043] Fig. 5 is a diagram showing an example of a processing circuit 93 in the case where the processing circuit for realizing the communication device 300 according to the first embodiment is configured with dedicated hardware. The processing circuit 93 shown in Fig. 5 corresponds to, for example, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or a combination of these. The processing circuit may be partially realized with dedicated hardware and partially realized with software or firmware. In this way, the processing circuit can realize each of the above-mentioned functions by dedicated hardware, software, firmware, or a combination of these.

[0044] Although the hardware configuration of the communication device 300 has been described above, the hardware configuration of the communication device 100 is also similar. In the communication device 100, the transmitting unit 140 is a communication device. The encoding device 110 is realized by a processing circuit. The processing circuit may be a processor and memory that executes a program stored in a memory, or may be dedicated hardware.

[0045] As described above, according to this embodiment, the generation unit 122 of the check matrix generating device 120 and the generation unit 332 of the check matrix generating device 330 use unit rows including sub-matrices in the column direction included in the first check matrix that can be divided into blocks of P×P sub-matrices and has the maximum coding rate assumed as the check matrix of the LDPC code used in communication to generate a first row by replacing some blocks with zero matrices. The generation unit 122 of the check matrix generating device 120 and the generation unit 332 of the check matrix generating device 330 use unit rows including sub-matrices in the column direction included in the first check matrix to generate one or more second rows by further replacing a specified block with a zero matrix and shifting the positions of 1 included in the sub-matrices of other blocks by a specified fixed value, thereby generating a second check matrix with a coding rate lower than that of the first check matrix. As a result, the encoding device 110 including the check matrix generating device 120 and the decoding device 320 including the check matrix generating device 330 can suppress the deterioration of the coding performance when the number of rows of the check matrix is ​​increased.

[0046] Embodiment 2 In the communication system 400 shown in Fig. 1, the communication device 300 performs a decoding process in a decoding device 320 on a signal that has been encoded in the communication device 100 and received from the communication device 100 via a communication path 200. In the decoding device 320, a decoding section 340 acquires a parity check matrix from the check matrix generating device 330, and generates a decoding result by repeatedly performing row calculation processing and column calculation processing. In the second embodiment, the row calculation processing performed in the decoding section 340 of the decoding device 320 will be described.

[0047] Fig. 6 is a diagram showing a configuration example of a communication system 400 including communication devices 100 and 300 according to the second embodiment. The communication system 400 according to the second embodiment shown in Fig. 6 shows a detailed configuration of a decoding unit 340 of the communication device 300 compared to the communication system 400 according to the first embodiment shown in Fig. 1. The decoding unit 340 performs a decoding process that repeatedly performs row calculation process and column calculation process using the first or second parity check matrix. As shown in Fig. 6, the decoding unit 340 includes a row calculation unit 341, a column calculation unit 342, and a storage unit 343.

[0048] Row calculation unit 341 performs row calculation processing that is repeatedly performed by decoding unit 340. The detailed configuration and operation of row calculation unit 341 will be described later. Column calculation unit 342 performs column calculation processing that is repeatedly performed by decoding unit 340. The detailed configuration and operation of column calculation unit 342 will be described in embodiment 3. Storage unit 343 stores intermediate calculation results in the row calculation processing repeatedly performed by row calculation unit 341 and the column calculation processing repeatedly performed by column calculation unit 342. Note that in the example of FIG. 6, storage unit 343 in decoding device 320 is configured by one storage unit, but may be configured by multiple storage units. Storage unit 343 may be configured by one storage unit together with storage unit 331 included in check matrix generation device 330.

[0049] A detailed configuration and operation of row calculation unit 341 will be described. FIG. 7 is a diagram showing an example of the configuration of row calculation unit 341 included in decoding unit 340 according to the second embodiment. Row calculation unit 341 includes masking unit 2 including masking units 2-1 to 2-K, shift unit 3 including shift units 3-1 to 3-K, row calculation processing unit 4 including row calculation processing units 4-1 to 4-P, shift unit 5 including shift units 5-1 to 5-K, memory switching unit 6, and row block number counter 8. FIG. 7 also shows a part of storage unit 343 included in decoding unit 340. Storage unit 343 includes row calculation input memory 1 including row calculation input memories 1-1 to 1-K, and column calculation input memory 7 including column calculation input memories 7-1 to 7-L. In FIG. 7, K is the number of P×P submatrices included in one row block in the parity check matrix. If the code length is N, it is expressed as K=N / P. Note that K, N, and P are positive integers.

[0050] Next, the operation of row calculation unit 341 will be described. First, in communication device 300, receiving unit 310 performs demodulation processing and the like on a signal received from communication device 100 via communication path 200, and outputs reception soft decision data to decoding device 320. In storage unit 343, K row calculation input memories 1-1 to 1-K arranged in parallel store reception soft decision data as initial values. Specifically, the reception soft decision data is separated into P words, and P words of reception soft decision data are written to one address in row calculation input memories 1-1 to 1-K.

[0051] In row operation unit 341, masking units 2-1 to 2-K simultaneously read out data written in row operation input memories 1-1 to 1-K in block units. That is, masking unit 2 simultaneously reads out K pieces of data written in row operation input memory 1. Masking unit 2 performs masking processing on blocks corresponding to 0 matrices in a parity check matrix. Masking unit 2 does nothing to blocks corresponding to matrices obtained by shifting unit matrices in a parity check matrix, but outputs them.

[0052] The shift unit 3 performs a shift process not for blocks corresponding to 0 matrices in the parity check matrix, but for blocks corresponding to matrices obtained by shifting a unit matrix, i.e., for blocks not subjected to any processing by the masking unit 2, so as to shift back an amount corresponding to the shift amount by which the unit matrix is ​​shifted. In this manner, the received soft decision data written to the row calculation input memories 1-1 to 1-K is subjected to the masking process by the masking unit 2 or the shift process by the shift unit 3, and then input to the row calculation processing unit 4.

[0053] The operations of masking unit 2 and shift unit 3 are controlled by row block number counter 8 based on the row block number being processed. Row block number counter 8 counts the row block number being processed. Row block number counter 8 controls the operations of masking unit 2, shift unit 3, shift unit 5, and memory switching unit 6 based on the counted value, i.e., the row block number. It is assumed that row block number counter 8 has acquired information on the coding rate of the parity check matrix used in communication device 100 and communication device 300 by the method described in the first embodiment or the like.

[0054] The row arithmetic processing unit 4 divides the data output from the shift unit 3 that has not been masked by the masking unit 2 into P pieces. The P pieces of divided data are input to one of the corresponding row arithmetic processing units 4-1 to 4-P. The row arithmetic processing units 4-1 to 4-P perform row arithmetic processing on S pieces of data input from the shift unit 3, excluding the data masked by the masking unit 2, to generate and output S pieces of data. S is a positive integer equal to or less than K. For example, when row arithmetic processing is performed by the Min-sum algorithm, the row arithmetic processing units 4-1 to 4-P of the row arithmetic processing unit 4 generate and output S values ​​that combine the minimum absolute value and the product of the positive and negative signs for each of the (S-1) pieces of data excluding one piece. Row operation processor 4 combines S pieces of data from row operation processors 4-1 to 4-P operating in parallel with the data stored in row operation input memories 1-1 to 1-K, i.e., in units of blocks, and outputs K pieces of data after row operation processing.

[0055] The shift unit 5 performs a reverse shift process on the data output from the row operation processing unit 4 in the opposite direction to the shift process performed by the shift unit 3. Note that the shift unit 5 does not perform a reverse shift process on the portion not shifted by the shift unit 3.

[0056] The memory switching unit 6 stores the data that has been reverse-shifted or not reverse-shifted by the shift unit 5 in the corresponding address of the column operation input memory 7.

[0057] The operations of shift unit 5 and memory switching unit 6 are also controlled based on the row block number being processed by row block number counter 8. Row block number counter 8 specifies to memory switching unit 6 the memory numbers and addresses of L column operation input memories 7-1 to 7-L arranged in parallel to write data.

[0058] Data that has been subjected to row arithmetic processing by row arithmetic section 341 and is used in column arithmetic by column arithmetic section 342 (to be described later) is written to column arithmetic input memories 7-1 to 7-L.

[0059] 8 is a flowchart showing the operation of row operation by row operation unit 341 of decoding unit 340 according to the second embodiment. In row operation unit 341, masking unit 2 reads data from row operation input memory 1 of storage unit 343 (step S201), and if the data is a block corresponding to a zero matrix (step S202: Yes), performs masking processing (step S203), and outputs the data to shift unit 3. If the data is not a block corresponding to a zero matrix (step S202: No), masking unit 2 does not perform masking processing and outputs the data to shift unit 3. If the data acquired from masking unit 2 is a block in which a unit matrix has been shifted (step S204: Yes), shift unit 3 performs shift processing to shift back an amount corresponding to the shift amount (step S205), and outputs the data to row operation processing unit 4. If the data is not a block in which a unit matrix has been shifted (step S204: No), shift unit 3 does not perform shift processing and outputs the data to row operation processing unit 4.

[0060] The row operation processing unit 4 performs row operation processing using the data acquired from the shift unit 3 (step S206), and outputs the result of the row operation processing to the shift unit 5. If the data acquired from the row operation processing unit 4 corresponds to the data shifted by the shift unit 3 (step S207: Yes), the shift unit 5 performs reverse shift processing in the opposite direction to that of the shift unit 3 (step S208), and outputs the data to the memory switching unit 6. If the data does not correspond to the data shifted by the shift unit 3 (step S207: No), the shift unit 5 does not perform reverse shift processing, and outputs the data to the memory switching unit 6. The memory switching unit 6 stores the data acquired from the shift unit 5 in the column operation input memory 7 based on an instruction from the row block number counter 8 (step S209).

[0061] As described above, according to this embodiment, in the decoding unit 340 of the decoding device 320, the row calculation unit 341 performs masking and shifting in accordance with the position of the parity check matrix in which the zero matrix is ​​arranged in the repeatedly performed row calculation, so that the row calculation can be easily performed even for LDPC codes of a plurality of coding rates whose coding rates are extended by the method described in the embodiment 1. As the row calculation process, the row calculation unit 341 performs masking on a block of sub-matrices replaced with zero matrices, and performs shifting on a block of sub-matrices shifted by a fixed value to return the shift amount, so that even if a check matrix of a different coding rate is used, the row calculation unit 341 can perform the same calculation process as the row calculation process on the first check matrix.

[0062] Embodiment 3 In the communication system 400 shown in Fig. 1, the communication device 300 performs a decoding process in a decoding device 320 on a signal that has been encoded in the communication device 100 and received from the communication device 100 via a communication path 200. In the decoding device 320, a decoding section 340 acquires a parity check matrix from the check matrix generating device 330, and generates a decoding result by repeatedly performing row operation processing and column operation processing. In the third embodiment, the column operation processing performed in the decoding section 340 of the decoding device 320 will be described.

[0063] In the third embodiment, the configuration of a communication system 400 including the communication devices 100 and 300 is similar to the configuration of the communication system 400 including the communication devices 100 and 300 of the second embodiment shown in FIG.

[0064] A detailed configuration and operation of the column calculation unit 342 will be described. FIG. 9 is a diagram showing an example of the configuration of the column calculation unit 342 included in the decoding unit 340 according to the third embodiment. The column calculation unit 342 includes a masking unit 10 including masking units 10-1 to 10-L, a column calculation processing unit 11 including column calculation processing units 11-1 to 11-P, a memory switching unit 12, and a column block number counter 13. FIG. 9 also shows a part of a storage unit 343 included in the decoding unit 340. The storage unit 343 includes a row calculation input memory 1 including row calculation input memories 1-1 to 1-K, a column calculation input memory 7 including column calculation input memories 7-1 to 7-L, and an input memory 9. In FIG. 9, L is the number of P×P submatrices included in one column block in the parity check matrix. If the code length is N and the information bit length is J, it is expressed as L=(NJ) / P. Note that J, L, N, and P are positive integers.

[0065] Next, the operation of the column operation unit 342 will be described. First, in the communication device 300, the receiving unit 310 performs demodulation processing and the like on a signal received from the communication device 100 via the communication channel 200, and outputs reception soft decision data to the decoding device 320. In the storage unit 343, the input memory 9 stores reception soft decision data. Specifically, P words of reception soft decision data are written to one address in the input memory 9. Furthermore, no values ​​are input to the L column operation input memories 7-1 to 7-L arranged in parallel when the reception soft decision data is input to the input memory 9, but the results of row operation processing are written by the row operation unit 341 described in the second embodiment.

[0066] The column operation unit 342 simultaneously reads out data written to the input memory 9 and L column operation input memories 7-1 to 7-L arranged in parallel. In the column operation unit 342, the masking units 10-1 to 10-L simultaneously read out data written to the column operation input memories 7-1 to 7-L in block units. That is, the masking unit 10 simultaneously reads out L pieces of data written to the column operation input memory 7. The masking unit 10 performs masking processing on blocks corresponding to 0 matrices in the parity check matrix. The masking unit 10 outputs blocks corresponding to matrices obtained by shifting unit matrices, rather than blocks corresponding to 0 matrices in the parity check matrix, without doing anything in particular.

[0067] The operation of the masking unit 10 is controlled by a column block number counter 13 based on the column block number being processed. The column block number counter 13 counts the column block number being processed. The column block number counter 13 controls the operation of the masking unit 10 and the memory switching unit 12 based on the counted value, i.e., the column block number. The column block number counter 13 is assumed to have acquired information on the coding rate of the parity check matrix used in the communication device 100 and the communication device 300 by the method described in the first embodiment or the like.

[0068] Column calculation processing unit 11 divides each of the received soft decision data read from input memory 9 and the data not masked by masking unit 10 into P pieces. The P pieces of data divided into each piece are input to one of corresponding column calculation processing units 11-1 to 11-P. Column calculation processing units 11-1 to 11-P perform column calculation processing on T pieces of data input excluding the data masked by masking unit 10 out of the L pieces of data output from masking unit 10, to generate and output T pieces of data. Note that T is a positive integer equal to or less than L. As a column calculation processing operation, column calculation processing unit 11 generates and outputs T pieces of data by adding (T-1) pieces of data excluding one piece from each of the T pieces of data input and the value of the received soft decision data from input memory 9.

[0069] Here, when column operation processing unit 11 has performed a predetermined number of repetitions of column operation operations, it takes the code bit of the value obtained by adding together T pieces of data input from masking unit 10 and the value of the received soft decision data as the decoding result, combines it with P pieces of data from column operation processing units 11-1 to 11-P operating in parallel, and outputs P-bit data as the decoding result.

[0070] When the column operation operation has not been performed a predetermined number of times, column operation processing unit 11 combines T pieces of data from each of column operation processing units 11-1 to 11-P operating in parallel with respect to T pieces of data, in units of data stored in column operation input memories 7-1 to 7-L, i.e., in units of blocks, and outputs K pieces of data after column operation processing.

[0071] The memory switching unit 12 stores the data output from the column operation processing unit 11 at a corresponding address in the row operation input memory 1.

[0072] The operation of memory switching unit 12 is also controlled based on the column block number of the column block being processed by column block number counter 13. Column block number counter 13 specifies to memory switching unit 12 the memory numbers and addresses of K row operation input memories 1-1 to 1-K arranged in parallel to write data.

[0073] Data that is subjected to column operation processing by column operation section 342 and is used in the row operation of row operation section 341 described above is written to row operation input memories 1-1 to 1-K.

[0074] 10 is a flowchart showing the operation of column calculation by column calculation unit 342 of decoding unit 340 according to the third embodiment. In column calculation unit 342, masking unit 10 reads data from column calculation input memory 7 of storage unit 343 (step S301), and if the block corresponds to a zero matrix (step S302: Yes), performs masking processing (step S303) and outputs the data to column calculation processing unit 11. Column calculation processing unit 11 performs column calculation processing using data acquired from input memory 9 and masking unit 10 (step S304), and if column calculation processing has not been performed a prescribed number of times (step S305: No), outputs the result of column calculation processing to memory switching unit 12. Memory switching unit 12 stores the data acquired from column calculation processing unit 11 in row calculation input memory 1 based on an instruction from column block number counter 13 (step S306). When the column operation processing unit 11 has performed the prescribed number of iterations of the column operation processing (step S305: Yes), it outputs the result of the column operation processing as the decoding result (step S307).

[0075] As described above, according to this embodiment, in decoding section 340 of decoding device 320, column operation section 342 performs masking processing according to the position in the parity check matrix in which the zero matrices are arranged in the repeatedly performed column operations, thereby making it possible to easily perform column operation on LDPC codes of a plurality of coding rates whose coding rates have been extended by the method described in embodiment 1. By performing masking processing on blocks of minor matrices replaced with zero matrices as column operation processing, column operation section 342 can perform the same operation processing as the column operation processing on the second parity check matrix with the smallest coding rate, even when a parity check matrix with a different coding rate is used.

[0076] The configurations shown in the above embodiments are merely examples, and may be combined with other known technologies, or the embodiments may be combined with each other. Also, parts of the configurations may be omitted or modified without departing from the spirit of the invention. [Explanation of symbols]

[0077] 1, 1-1 to 1-K row operation input memory, 2, 2-1 to 2-K, 10, 10-1 to 10-L masking unit, 3, 3-1 to 3-K, 5, 5-1 to 5-K shift unit, 4, 4-1 to 4-P row operation processing unit, 6, 12 memory switching unit, 7, 7-1 to 7-L column operation input memory, 8 row block number counter, 9 input memory, 11, 11-1 to 11-P column operation processing unit, 13 column block number counter, 100, 300 communication device, 110 encoding device, 120, 330 check matrix generating device, 121, 331, 343 storage unit, 122, 332 generating unit, 130 encoding unit, 140 transmitting unit, 200 communication path, 310 receiving unit, 320 decoding device, 340 decoding unit, 341 Row arithmetic section, 342 column arithmetic section, 400 communication system.

Claims

1. Let P be a positive integer, a storage unit that stores a first parity check matrix that can be divided into P×P submatrix blocks and has a maximum coding rate assumed as a parity check matrix of a low-density parity check code used in communication; a generation unit that generates a first row by replacing a part of blocks with a zero matrix using unit rows including the sub-matrix in a column direction included in the first parity check matrix, and generates one or more second rows by replacing a specified block with a zero matrix and shifting positions of ones included in the sub-matrix of other blocks by a specified fixed value using unit rows including the sub-matrix in a column direction included in the first parity check matrix, thereby generating a second parity check matrix having a lower coding rate than the first parity check matrix; A decoding device comprising:

2. When generating one of the second rows, the generation unit replaces a block in the first row that has not been replaced with a zero matrix as the defined block with a zero matrix.

2. The decoding device according to claim 1 .

3. When the generation unit generates two or more second rows, the generation unit replaces a block that differs depending on two or more of the second rows as the defined block with a zero matrix, and sets the fixed value to a different value depending on the two or more second rows.

2. The decoding device according to claim 1 .

4. the generation unit generates the first row and one or more second rows for each row by using a plurality of rows in a column direction that are included in the first check matrix and that include the sub-matrix.

2. The decoding device according to claim 1 .

5. a decoding unit that performs a decoding process by repeatedly performing row operation processing and column operation processing using the first check matrix or the second check matrix; 5. The decoding device according to claim 1, further comprising:

6. The decoding unit is a row operation unit that performs, as the row operation processing, a masking process on the block of the small matrix replaced with the zero matrix, and a shift process on the block of the small matrix shifted by the fixed value to return an amount of shift, thereby performing the same operation processing as the row operation processing on the first parity check matrix even when a parity check matrix having a different coding rate is used; 6. The decoding device according to claim 5, further comprising:

7. The decoding unit is a column operation unit that performs, as the column operation processing, a masking process on a block of the small matrices replaced with the zero matrices, thereby performing the same operation processing as the column operation processing on the second parity check matrix having the smallest coding rate even when a parity check matrix having a different coding rate is used; 6. The decoding device according to claim 5, further comprising:

8. A method for generating a check matrix for a decoding device, comprising the steps of: Let P be a positive integer, The decoding device comprises: a storage unit that stores a first parity check matrix that can be divided into P×P blocks of small matrices and has a maximum coding rate assumed as a parity check matrix of a low-density parity check code used in communications; Equipped with a first step of generating a first row by replacing a part of blocks with a zero matrix using a unit row including the minor matrix in a column direction included in the first check matrix by a generating unit; a second step in which the generation unit generates one or more second rows by using unit rows including the sub-matrix in the column direction included in the first check matrix, and by replacing a specified block with a zero matrix while shifting positions of 1 included in the sub-matrix of another block by a specified fixed value, thereby generating a second check matrix having a lower coding rate than the first check matrix; A check matrix generating method comprising:

9. In the second step, when generating one of the second rows, the generation unit replaces a block that has not been replaced with a zero matrix in the first row as the defined block with a zero matrix.

9. The method for generating a check matrix according to claim 8.

10. In the second step, when the generation unit generates two or more second rows, the generation unit replaces a block that differs depending on two or more of the second rows as the defined block with a zero matrix, and sets the fixed value to a different value depending on two or more of the second rows.

9. The method for generating a check matrix according to claim 8.

11. In the first step, the generation unit generates the first row for each row by using a plurality of rows included in the first check matrix, the rows including the sub-matrix in a column direction; In the second step, the generation unit generates one or more second rows for each row by using a plurality of rows in a column direction of the first check matrix, the rows including the sub-matrix.

9. The method for generating a check matrix according to claim 8.

12. moreover, a third step of performing a decoding process by a decoding unit repeatedly performing row calculation processing and column calculation processing using the first check matrix or the second check matrix; 12. The method for generating a check matrix according to claim 8, further comprising:

13. In the third step, the decoding unit performs, as the row operation process, a masking process on the block of the small matrix replaced with the zero matrix, and a shift process on the block of the small matrix shifted by the fixed value to return the shift amount, thereby performing the same operation process as the row operation process on the first parity check matrix even if a parity check matrix with a different coding rate is used.

13. The method for generating a check matrix according to claim 12.

14. In the third step, the decoding unit performs a masking process on the block of the small matrix replaced with the zero matrix as the column operation process, thereby performing the same operation process as the column operation process on the second check matrix having the smallest coding rate even when a check matrix having a different coding rate is used.

13. The method for generating a check matrix according to claim 12.

Citation Information

Patent Citations

  • Decoding device and method

    JP2011109228A

  • Check matrix generating device, check matrix generating method, encoder, transmitter, decoder, and receiver

    WO2009004773A1

  • Transmitter, receiver, communication system, and coding rate revision method

    WO2019229846A1

  • Decryption method, decryption device, control circuit, and program storage medium

    WO2021171506A1