A design method and system for large cycle length quasi-cyclic semi-random LDPC codes

Through the design of large circle length quasi-cyclic semi-random LDPC codes, the design problems of circle length and randomness of LDPC codes in the existing technology are solved, high error correction performance and stability are achieved, and the reliability and data of the communication system are improved. Transmission quality.

CN118337223BActive Publication Date: 2024-09-20HUAZHONG UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410388958.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-01
Publication Date
2024-09-20
Estimated Expiration
2044-04-01

AI Technical Summary

Technical Problem

Existing LDPC codes have design problems in terms of circle length and randomness, resulting in insufficient error correction performance. It is especially difficult to ensure high reliability and stable performance in the face of channel noise and interference.

Method used

The large circle length quasi-cyclic semi-random LDPC code design method is used to ensure that the check matrix H has a large minimum ring length by constructing a cyclic shift matrix and a sub-exponential matrix, and the random integer method is used to enhance the parameter difference and avoid the generation of short rings. Optimize the error correction capability and robustness of the code.

Benefits of technology

It improves the data transmission reliability and error correction performance of the communication system, enhances the error tolerance to noise and channel interference, reduces the complexity of the error correction process, and achieves excellent error correction capabilities and stable performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118337223B
    Figure CN118337223B
Patent Text Reader

Abstract

The present invention belongs to the field of coding technology and discloses a large-cycle quasi-cyclic semi-random LDPC code design method. The present invention enhances the fault tolerance to noise and channel interference by designing LDPC codes with cycle lengths not less than 8 and 10, thereby improving the reliability and performance of the communication system. Through coding, the original data is converted into a coded word, which contains redundant information, so that the receiving end can detect and correct errors caused by the channel.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of coding, and in particular relates to a large-cycle-length quasi-cyclic semi-random LDPC code design method. Background Art

[0002] The role of channel coding in communication is to enhance the tolerance to noise and channel interference by introducing redundant information at the sending end, thereby improving the reliability and performance of the communication system. Through coding, the original data is converted into a coded word, which contains redundant information, which enables the receiving end to detect and correct errors caused by the channel.

[0003] LDPC codes were invented by Gallager in the early 1960s, but were neglected for decades until they were rediscovered by Mackay in 1999. LDPC codes are defined by a sparse check matrix and can exhibit excellent bit error rate (BER) performance close to the Shannon limit when iteratively decoded using the belief propagation (BP) algorithm. If there are short cycles in the Tanner graph, external information will be correlated after a few iterations, preventing the iterations from converging. Another common problem that affects decoding is trap sets, which are also composed of cycles. Small trap sets are usually composed of small cycles, and as the length of the cycle increases, small trap sets usually disappear. Therefore, in order to improve the error correction performance of LDPC, it is usually necessary to increase the cycle length as much as possible as the construction goal of LDPC codes. Summary of the invention

[0004] In view of the problems existing in the prior art, the present invention provides a method for designing a large-cycle-length quasi-cyclic semi-random LDPC code.

[0005] The present invention is implemented as follows: a LDPC code design method based on a quasi-cyclic semi-random structure is used to improve the reliability of data transmission in a communication system, and the method comprises the following steps:

[0006] a. Using the cyclic shift matrix P i , through a unique cyclic parameter configuration method, the check matrix H of the LDPC code is constructed, where H is composed of multiple cyclic shift matrices to form an exponential matrix E, thereby ensuring that the LDPC code has a large minimum cycle length;

[0007] b. Design sub-index matrix E i , forming a complex and flexible check matrix structure, where the sub-index matrix E i Includes several loop parameters for precisely controlling the characteristics of LDPC codes, giving the codes excellent error correction capabilities and stable performance;

[0008] c. Use specific parameter selection strategies and construction algorithms to ensure the design and implementation of LDPC codes under large cycle length conditions, thereby meeting the demand for high reliability in communication systems.

[0009] The method further comprises the following steps:

[0010] a. Determine each sub-index matrix E using a random integer-based method i The values ​​of the mid-cycle parameters ensure that there is sufficient randomness and difference between the parameters, avoid the generation of short loops, and enhance the adaptability and robustness of LDPC codes in different environments;

[0011] b. According to the given circle length requirement, such as not less than 8 or 10, a specific algorithm is used to adjust the cyclic parameters in the matrix E to ensure that there is no circle less than the predetermined circle length in the check matrix H, thereby optimizing the performance of the LDPC code and reducing the complexity of the error correction process;

[0012] c. In combination with the needs of modern communication systems, the designed LDPC code is applied to the data transmission process, and its excellent error correction capability can improve the accuracy of data transmission and the overall reliability of the system.

[0013] The present invention provides a large-cycle quasi-cyclic semi-random LDPC code design method, wherein the LDPC code has two construction methods: a random code and a structured code;

[0014] The structured LDPC code is specifically as follows:

[0015]

[0016] P i is a circular shift matrix that circularly shifts the N*N identity matrix I to the right i times, where i is an integer. If i is ∞, then P i is an all-zero matrix; from (1), we can see that the check matrix H can be uniquely characterized by a cyclic shift matrix. For convenience, the following exponential matrix can be used to represent the check matrix H;

[0017]

[0018] Consider a ring W of length 2l in the matrix E. Assume that the loop parameters on the ring W are a0, a1, ..., a 2l-1 , then the shift parameter corresponding to ring W can be expressed by the formula.

[0019]

[0020] If p W =0, then a ring of length 2l will be formed in the matrix H;

[0021] The structure of the exponential check matrix E of the constructed QC-LDPC code is as follows:

[0022]

[0023] E i It is a 2*L sub-index matrix, which has the following form:

[0024]

[0025] Where S≥L.

[0026] Sub-index matrix D = [D0 D1 … D S-1 ] has S rows and L*S columns, and the sub-index matrix D has the following properties:

[0027] 1) Submatrix D i The column weight is 1, and the row weight is no greater than 1;

[0028] 2) The row weight of submatrix D is L, and the column weight is 1.

[0029] Furthermore, the design method of LDPC code with a circle length not less than 8 is as follows:

[0030] 1) N>L;

[0031] 2)e i (i=0,…,L-1) are random integers less than N and are not equal to each other;

[0032] 3) The construction method of D is as follows:

[0033] 3-1) Construct a matrix K with both row weight and column weight L. Obviously, the number of rows and columns of this matrix is ​​S;

[0034] 3-2) In generating each submatrix D in D i When , take out the i-th column of matrix K. Obviously, there are L non-zero elements in this column. Record the number of rows where these L non-zero elements are located in the set R idx middle;

[0035] 3-3)D i There are L columns and S rows. First, initialize D i , all its elements are ∞;

[0036] 3-4) From the 0th to the L-1th column, each time a column is constructed, first randomly select from R inx Take a non-repeating row number r from the set, and then randomly generate an integer less than N in the r-th row of the column.

[0037] After the above three steps, the constructed matrix meets the requirements of formulas (4) and (5) and the check matrix index matrix stipulated in the present invention, and the circle length of the corresponding check matrix H is not less than 8.

[0038] Furthermore, the design method of LDPC code with a cycle length not less than 10 is as follows:

[0039] 1)e i (i=0,…,L-1) are not equal to each other, and for any i,j,m and n, e i -e j ≠e m -e n ;

[0040] 2) N (N>0) satisfies:

[0041] 2-1) For any i and j, satisfying (e i -e j )mod N≠0;

[0042] 2-2) For any i, j, m and n, satisfying (e i -e j +e m -e n )mod N≠0;

[0043] 3) The construction method of D is as follows:

[0044] 3-1) Construct a matrix K with row weight and column weight both being L, and its circle length being 6. Obviously, the number of rows and columns of this matrix is ​​equal, let it be t;

[0045] 3-2) Let S = t;

[0046] 3-3) In generating each submatrix D in D i When , take out the i-th column of matrix K. Obviously, there are L non-zero elements in this column. Record the number of rows where these L non-zero elements are located in the set R idx middle;

[0047] 3-4)D i There are L columns and S rows. First, initialize D i , all its elements are ∞;

[0048] 3-5) From the 0th to the L-1th column, each time a column is constructed, first randomly select from R inx Take a row number r from the set without duplication, and then randomly generate an integer less than N in the r-th row of the column;

[0049] After the above three steps, the constructed matrix meets the formula (4) and the requirements of the check matrix index matrix stipulated in the present invention, and the circle length of the corresponding check matrix H is not less than 10.

[0050] The present invention provides a system for generating a large-cycle-length quasi-cyclic semi-random LDPC code, the system comprising:

[0051] Used to generate the cyclic shift matrix P i The module can process the N*N identity matrix I and perform a right shift operation i times to generate a cyclic shift matrix P i ;

[0052] An exponential matrix representation module for representing the check matrix H as an exponential matrix E to facilitate processing and simplify the construction of LDPC codes;

[0053] A QC-LDPC code construction module is used to generate an exponential check matrix E according to a preset condition, and the module can process the sub-exponential matrix E i and D i The generation and arrangement of can meet the requirements of constructing large cycle length LDPC codes.

[0054] Furthermore, the system includes:

[0055] A digital sequence and parameter configuration module generates a set of integer sequences e that meet the circle length requirements i (i=0,…,L-1), in particular, when the circle length is required to be 8, e i They are not equal. When the circle length is required to be 10, e is required i are not equal to each other, and e i The difference between them satisfies certain mathematical conditions, and the corresponding N value is configured according to the sequence;

[0056] A submatrix D generation module is used to construct a submatrix D that meets specific row weight and column weight requirements, and to increase the randomness of the LDPC code through random exchange operations to ensure that the circle length of the check matrix H meets the set requirements.

[0057] Furthermore, the system includes:

[0058] A matrix K A construction module is used to generate a matrix K with both row weight and column weight L, wherein when constructing an LDPC code with a circle length of 10, the circle length of K is required to be 6, and determine its size t;

[0059] A submatrix D i Construction module for extracting information from matrix K and generating D i , and then arrange these sub-matrices in the matrix D to meet the structural requirements of the exponential check matrix E.

[0060] Furthermore, the system includes:

[0061] An optimization module, used for further optimizing the generated check matrix H to improve the performance of the LDPC code, including but not limited to reducing the bit error rate and enhancing the decoding efficiency;

[0062] a user interface module for receiving parameter settings input by a user and displaying the generated LDPC code and its related properties, such as circle length and code rate;

[0063] A storage module for saving the generated LDPC codes and related configuration parameters for future retrieval and use;

[0064] A test module is used to perform performance tests on the generated LDPC code, including but not limited to error performance and decoding delay, to verify the effectiveness and practicality of the code.

[0065] In combination with the above technical solutions and the technical problems solved, the advantages and positive effects of the technical solutions to be protected by the present invention are as follows:

[0066] First, the present invention combines the characteristics of random and structured construction to design a large-cycle quasi-cyclic LDPC code with semi-random characteristics. Through simulation verification, the code designed by the present invention has good error correction performance.

[0067] The present invention enhances the fault tolerance to noise and channel interference by designing LDPC codes with a cycle length of not less than 8 and 10, thereby improving the reliability and performance of the communication system. Through encoding, the original data is converted into a coded word, which contains redundant information, so that the receiving end can detect and correct errors caused by the channel.

[0068] The present invention effectively solves the errors caused by the channel, and enhances the fault tolerance to noise and channel interference by designing LDPC codes with a cycle length of not less than 8 and 10, thereby improving the reliability and performance of the communication system.

[0069] The present invention introduces partial random characteristics on the basis of ensuring that the designed quasi-cyclic LDPC code has a large cycle length, optimizes the distribution of its code weight, specifically reduces the number of low-weight codewords and improves the error correction performance; in addition, unlike the fixed check matrix specified in the current standards, the present invention can randomly generate a check matrix to achieve covert channel transmission.

[0070] Second, the present invention provides a method for designing large-cycle quasi-cyclic semi-random LDPC codes, which solves the technical problems of LDPC code design in the prior art in terms of cycle length, randomness and structure, and achieves significant technical progress.

[0071] First, the design method combines the characteristics of random codes and structured codes, and realizes the design of large-cycle, quasi-cyclic, and semi-random LDPC codes through a specific construction method. This design method not only retains the good performance of random codes, but also has the characteristics of easy implementation and optimization of structured codes.

[0072] Secondly, the method provides detailed construction steps and conditions for the design of LDPC codes with a circle length not less than 8 and 10. These steps and conditions ensure that the constructed LDPC code has a larger circle length, thereby improving the error correction performance and decoding efficiency of the code.

[0073] Finally, through the design method of the present invention, an LDPC code that meets specific requirements can be easily constructed, which has a wide range of application prospects. At the same time, the implementation of the method is relatively simple, which is convenient for application and promotion in actual communication systems.

[0074] In summary, the present invention has achieved significant technical progress in LDPC code design and provided a new solution for improving the performance and ensuring the reliability of communication systems. BRIEF DESCRIPTION OF THE DRAWINGS

[0075] Figure 1 The E provided by the embodiment of the present invention i , E j and D i , D j The smallest ring in the is 8, the structural diagram of 8 rings;

[0076] Figure 2 are performance diagrams of two LDPC codes with a cycle length of 8 provided in an embodiment of the present invention;

[0077] Figure 3 3 is a performance diagram of two LDPC codes with a cycle length of 10 provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0078] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0079] The following are two specific application examples listed according to the large cycle length quasi-cyclic semi-random LDPC code design method:

[0080] **Example 1: Satellite Communication System**

[0081] In satellite communication systems, the quality of data transmission is often affected by various factors, such as signal attenuation, interference, etc. Therefore, adopting an efficient error correction coding technology is the key to improving the performance of satellite communication systems.

[0082] According to the above claims, a large-circle-length quasi-cyclic semi-random LDPC code can be designed and applied to a satellite communication system. First, according to the requirements of the satellite communication system, parameters such as code length N, row weight L and column weight are determined. Then, the check matrix H is constructed according to the design method. During the construction process, special attention is paid to the requirements of the circle length to ensure that the LDPC code has good error correction performance.

[0083] At the transmitting end of the satellite communication system, the data to be transmitted is LDPC encoded to form a codeword with error correction capability. The encoded data is then sent to the receiving end via a satellite link. At the receiving end, the same LDPC code is used for decoding to restore the original data. Since the LDPC code has a strong error correction capability, it can effectively restore the data even when the signal is interfered or attenuated, thereby improving the transmission quality of the satellite communication system.

[0084] **Example 2: Deep Space Exploration Mission**

[0085] In NASA's deep space exploration missions, such as the Mars Science Laboratory, the reliability of data transmission is crucial. The deep space environment is complex and changeable, and communication links are extremely susceptible to various interferences and attenuation. Therefore, the use of an efficient error correction coding technology is the key to ensuring the reliability of data transmission in deep space exploration missions.

[0086] According to the above claims, a large-circle-length quasi-cyclic semi-random LDPC code suitable for deep space exploration missions can be designed. In the design process, the particularity of the deep space environment is fully considered, and appropriate parameters such as code length, row weight and column weight are selected. At the same time, special attention is paid to the requirements of the circle length to ensure that the LDPC code still has excellent error correction performance in the deep space environment.

[0087] At the transmitting end of the deep space exploration mission, important scientific data and other key information are LDPC encoded to form codewords with strong error correction capabilities. The encoded data is then sent to ground receiving stations or other detectors via deep space communication links. At the receiving end, the same LDPC code is used for decoding to restore the original data. By adopting this large-cycle quasi-cyclic semi-random LDPC code, the reliability of data transmission in deep space exploration missions can be effectively improved, providing a strong guarantee for the smooth progress of scientific research.

[0088] These two embodiments demonstrate the specific application of large-cycle quasi-cyclic semi-random LDPC codes in satellite communication systems and deep space exploration missions, and reflect its advantages in improving data transmission quality and reliability. Of course, these are just two examples, and the LDPC code design method can also be widely used in other communication and storage systems to improve the overall performance of the system.

[0089] Application Example 1: Error Correction in Communication Systems

[0090] Channel encoder: It integrates a large cycle length quasi-cyclic semi-random LDPC code generation system to generate and encode data to improve the reliability during transmission.

[0091] Transmitter: Sends the encoded data via wireless or wired media.

[0092] Receiver: Receives the transmitted data and performs decoding and error correction using LDPC codes.

[0093] Decoder: Integrates specialized algorithms to decode received LDPC codes and correct errors.

[0094] #Implementation steps:

[0095] 1. Parameter configuration: The user inputs the parameters of the communication system, such as the code length N and the sparsity of the check matrix, through the user interface module.

[0096] 2. LDPC code generation: The system uses the sub-matrix D generation module and the matrix K construction module to generate LDPC codes suitable for the communication system requirements based on the input parameters.

[0097] 3. Encoded data: The channel encoder uses the generated LDPC code to encode the data to be transmitted.

[0098] 4. Data transmission: The transmitting device sends the encoded data through the selected medium.

[0099] 5. Receiving and decoding: The receiving device captures the signal and passes it to the decoder, which uses the check matrix H of the LDPC code for decoding and error correction.

[0100] 6. Performance test: The test module evaluates the bit error rate and data integrity during transmission to ensure communication quality.

[0101] Application Example 2: Data Integrity Protection in Data Storage System

[0102] Data writing module: Before data storage, the data is encoded using a large-cycle quasi-cyclic semi-random LDPC code generation system.

[0103] Storage device: Stores the encoded data on a hard drive, solid-state drive, or other storage media.

[0104] Data reading module: reads data from the storage device and uses LDPC code for error detection and correction.

[0105] Monitoring module: monitors the health of the storage system and detects potential data corruption using LDPC codes.

[0106] #Implementation steps:

[0107] 1. Configure storage parameters: Users set the data block size and storage device specifications through the user interface module.

[0108] 2. Generate LDPC code: The system generates a suitable LDPC code based on the characteristics of the storage device to protect data integrity.

[0109] 3. Encode data block: The data writing module encodes the data block using the generated LDPC code and then writes it to the storage device.

[0110] 4. Data protection: The monitoring module regularly checks the integrity of stored data and uses LDPC codes for error detection.

[0111] 5. Data recovery: When reading data, the data reading module uses LDPC code for error correction to ensure that the data recovered from the storage device is complete.

[0112] 6. Performance monitoring: The performance monitoring module of the storage system records the error correction capability of the LDPC code and related indicators that affect storage performance.

[0113] The embodiment of the present invention provides a large-cycle quasi-cyclic semi-random LDPC code design method, wherein the LDPC code has two construction methods: a random code and a structured code;

[0114] The structured LDPC code is specifically as follows:

[0115]

[0116] P i is a circular shift matrix that circularly shifts the N*N identity matrix I to the right i times, where i is an integer. If i is ∞, then P i is an all-zero matrix; from (1), we can see that the check matrix H can be uniquely characterized by a cyclic shift exponential matrix. For convenience, the following exponential matrix can be used to represent the check matrix H;

[0117]

[0118] Consider a ring W of length 2l in the matrix E. Assume that the loop parameters on the ring W are a0, a1, ..., a 2l-1 , then the shift parameter corresponding to ring W can be expressed by the formula.

[0119]

[0120] If p W =0, then a ring of length 2l will be formed in the matrix H;

[0121] The structure of the exponential check matrix E of the constructed QC-LDPC code is as follows:

[0122]

[0123] E i It is a 2*L sub-index matrix, which has the following form:

[0124]

[0125] Where S≥L.

[0126] Sub-index matrix D = [D0 D1 … D S-1 ] has S rows and L*S columns, and the sub-index matrix D has the following properties:

[0127] 1) Submatrix D i The column weight is 1, and the row weight is no greater than 1;

[0128] 2) The row weight of submatrix D is L, and the column weight is 1.

[0129] The design method of LDPC code with a circle length not less than 8 is as follows:

[0130] 1) N>L;

[0131] 2)e i (i=0,…,L-1) are random integers less than N and are not equal to each other;

[0132] 3) The construction method of D is as follows:

[0133] 3-1) Construct a matrix K with both row weight and column weight L. Obviously, the number of rows and columns of this matrix is ​​S;

[0134] 3-2) In generating each submatrix D in D i When , take out the i-th column of matrix K. Obviously, there are L non-zero elements in this column. Record the number of rows where these L non-zero elements are located in the set R idx middle;

[0135] 3-3)D i There are L columns and S rows. First, initialize D i , all its elements are ∞;

[0136] 3-4) From the 0th to the L-1th column, each time a column is constructed, first randomly select from R inx Take a non-repeating row number r from the set, and then randomly generate an integer less than N in the r-th row of the column.

[0137] After the above three steps, the constructed matrix meets the formula (4) and the requirements of the check matrix index matrix stipulated in the present invention, and the circle length of the corresponding check matrix H is not less than 8.

[0138] Proof: E i The structure of E i The corresponding check matrix circle length can only be 4, 8 and 12. i The cyclic shift parameters p of all four loops in W The values ​​are:

[0139] p W =e i -e j mod N (6)

[0140] Because e i and e j are all less than N, and e i are not equal, so p W ≠0, indicating E i The corresponding check matrix has no 4-rings, that is, the minimum ring length is 8.

[0141] Since the matrix structure defined in formula (4) requires D i The row and column weights are both less than 1, so a single E i and D i Cannot form a ring, D i and D j Therefore, the ring exists only in E i In E i , E j and D i , D j It is obvious that according to the matrix structure specified by formula (4), there is i , E j and D i , D j The smallest ring in is 8. The structure of 8 rings is as follows Figure 1 shown.

[0142] The design method of LDPC code with a cycle length not less than 10 is as follows:

[0143] 1)e i (i=0,…,L-1) are not equal to each other, and for any i,j,m and n, e i -e j ≠e m -e n ;

[0144] 2) N (N>0) satisfies:

[0145] 2-1) For any i and j, satisfying (e i -e j )mod N≠0;

[0146] 2-2) For any i, j, m and n, satisfying (e i -e j +e m -e n )mod N≠0;

[0147] 3) The construction method of D is as follows:

[0148] 3-1) Construct a matrix K with row weight and column weight both being L, and its circle length being 6. Obviously, the number of rows and columns of this matrix is ​​equal, let it be t;

[0149] 3-2) Let S = t;

[0150] 3-3) In generating each submatrix D in D i When , take out the i-th column of matrix K. Obviously, there are L non-zero elements in this column. Record the number of rows where these L non-zero elements are located in the set R idx middle;

[0151] 3-4)D i There are L columns and S rows. First, initialize D i , all its elements are ∞;

[0152] 3-5) From the 0th to the L-1th column, each time a column is constructed, first randomly select from R inx Take a row number r from the set without duplication, and then randomly generate an integer less than N in the r-th row of the column;

[0153] After the above three steps, the constructed matrix meets the formula (4) and the requirements of the check matrix index matrix stipulated in the present invention, and the circle length of the corresponding check matrix H is not less than 10.

[0154] Proof: E i The structure of E i The corresponding check matrix circle length can only be 4, 8 and 12. i The cyclic shift parameters p of all four loops in W The values ​​are:

[0155] p W =e i -e j mod N (7)

[0156] In the matrix E i The cyclic shift parameters p of all 8 loops in W The values ​​are:

[0157] p W =e i -e j +e m -e n mod N (8)

[0158] According to the definitions of 2-1) and 2-2), it is obvious that p W ≠0, indicating E i The corresponding check matrix does not have 4 rings and 8 rings, that is, the ring length is 12.

[0159] Since the matrix structure defined in formula (4) requires D i The row and column weights of E are both less than 1, so a single i and D i Cannot form a ring, D i and D j Therefore, the ring exists only in E i In E i , E j and D i , D j It is obvious that according to the matrix structure specified by formula (4), there is i , E j and D i , D j The smallest ring in is 8. The structure of 8 rings is as follows Figure 1 shown.

[0160] According to step 3), D i and D j is obtained by expanding the i-th and j-th columns of matrix K. Since the circle length of matrix K is 6, there is at most one row in the i-th and j-th columns that has non-zero elements. So obviously in Figure 1 The three situations of forming 8 rings do not exist.

[0161] It is concluded that the circle length of the LDPC code constructed by this method is 10. Specific embodiment:

[0163] 1. LDPC codes with a circle length of no less than 8

[0164] 1) Take L=3, N=5, S=4;

[0165] 2) Randomly select e0, e1 and e2 from {0, 1, 3};

[0166] 3) The construction method of D is as follows:

[0167] 3-1) Construct a matrix K with row weight and column weight both being L, and the number of rows and columns of K being 4;

[0168]

[0169] 3-2) Generate each submatrix D in D according to the steps i , D0~D3 are as follows:

[0170]

[0171] The final check matrix is ​​as follows:

[0172]

[0173] It has been verified that the number of rows and columns of the H matrix is ​​60, the weight of the rows and columns is 3, and the circle length is 8, which meets the design requirements.

[0174] 2. LDPC codes with a circle length of no less than 10

[0175] 1) L = 3, select e0, e1 and e2 as {0, 1, 3};

[0176] 2) Select N=7;

[0177] 3) The construction method of D is as follows:

[0178] 3-1) Construct a matrix K with row weight and column weight both being L, with a circle length of 6, and the number of rows and columns of K being equal, t=7;

[0179]

[0180] 3-2) Let S = 7;

[0181] 3-3) Generate each submatrix D in D according to the steps i , D0~D6 are as follows:

[0182]

[0183] The final check matrix is ​​as follows:

[0184]

[0185] It has been verified that the number of rows and columns of the H matrix is ​​147, the weight of the rows and columns is 3, and the actual circle length is 12, which meets the design requirements.

[0186] It should be noted that the embodiments of the present invention can be implemented by hardware, software, or a combination of software and hardware. The hardware part can be implemented using dedicated logic; the software part can be stored in a memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated design hardware. It can be understood by a person of ordinary skill in the art that the above-mentioned devices and methods can be implemented using computer executable instructions and / or contained in a processor control code, such as a carrier medium such as a disk, CD or DVD-ROM, a programmable memory such as a read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier. Such code is provided on the carrier medium. The device and its modules of the present invention can be implemented by hardware circuits such as very large-scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, etc., or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc., can also be implemented by software executed by various types of processors, and can also be implemented by a combination of the above-mentioned hardware circuits and software, such as firmware.

[0187] Using the above method, two LDPC codes with a cycle length of 8 are constructed. One has a row weight and a column weight of 3 and 4, and a length of 80, and the other has a row weight and a column weight of 3 and 5, and a length of 175. The two codes are simulated on an additive white Gaussian noise channel and decoded using the standard BP algorithm with a maximum number of iterations of 100. The performance is Figure 2 shown.

[0188] Using the above method, two LDPC codes with a cycle length of 10 are constructed. One has a row weight and a column weight of 3 and 4, and a length of 1200. The other has a row weight and a column weight of 3 and 5, and a length of 2205. The two codes are simulated on an additive white Gaussian noise channel and decoded using the standard BP algorithm with a maximum number of iterations of 100. The performance is Figure 3 As shown in the figure, it can be seen from the simulation results that the constructed code has good error correction performance.

[0189] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any modifications, equivalent substitutions and improvements made by any technician familiar with the technical field within the technical scope disclosed by the present invention and within the spirit and principle of the present invention should be covered by the protection scope of the present invention.

Claims

1. A method for designing LDPC codes based on a quasi-cyclic semi-random structure, for improving the reliability of data transmission in a communication system, characterized in that: The method comprises the following steps: a. Using the cyclic shift matrix P i , constructing a check matrix H of the LDPC code through a cyclic parameter configuration method, wherein H is composed of a plurality of cyclic shift matrices to form an exponential matrix E, thereby ensuring that the LDPC code has a larger minimum cycle length; b. Design sub-index matrix E i , forming a complex and flexible check matrix structure, where the sub-index matrix Ei includes several cyclic parameters, which are used to accurately control the characteristics of the LDPC code, so that the code has excellent error correction capability and stable performance; c. Use parameter selection strategies and construction algorithms to ensure the design and implementation of LDPC codes under large cycle length conditions, thereby meeting the requirements for high reliability in communication systems; There are two construction methods for the LDPC code: random code and structured code; The structured LDPC code is specifically as follows: (1) P i is a circular shift matrix that shifts the N*N identity matrix I to the right i times, where i is an integer. If i is ∞, then P i is an all-zero matrix; from (1), we can see that the check matrix H is uniquely described by the cyclic shift matrix. For convenience, the following exponential matrix is ​​used to represent the check matrix H; (2) Consider the matrix The length of the ring W is 2l. Assume that the loop parameters on the ring W are a0, a1,..., a 2l-1 , then the shift parameter corresponding to ring W is expressed by the formula; (3) If p W = 0, then a ring of length 2l will be formed in the matrix H; The structure of the exponential check matrix E of the constructed QC-LDPC code is as follows: (4) Where S ≥ L, E i It is a 2*L sub-index matrix, which has the following form: (5) e i are random integers less than N and are not equal to each other, where i=0, ∙∙∙, L-1; sub-index matrix D = [D0 D1 ∙∙∙D S-1 ] has S rows and L*S columns, and the sub-index matrix D has the following properties: Submatrix D i The column weight is 1, and the row weight is no greater than 1; The row weight of submatrix D is L, and the column weight is 1; The design method of LDPC code with a circle length not less than 8 is as follows: 1) N > L; 2) e i are random integers less than N and are not equal to each other, where i=0, ∙∙∙, L-1; 3) The construction method of D is as follows: 3-1) Construct a matrix K with both row weight and column weight L. Obviously, the number of rows and columns of this matrix is ​​S; 3-2) In generating each submatrix D in D i When , take out the i-th column of matrix K. Obviously, there are L non-zero elements in this column. Record the number of rows where these L non-zero elements are located in the set R idx middle; 3-3) D i There are L columns and S rows. First, initialize D i , all its elements are ∞; 3-4) From the 0th to the L-1th column, each time a column is constructed, first randomly select from R inx Take a row number r from the set without duplication, and then randomly generate an integer less than N in the r-th row of the column; After the above three steps, the constructed matrix meets the requirements of formula (4) and the agreed check matrix index matrix, and the circle length of the corresponding check matrix H is not less than 8.

2. The LDPC code design method according to claim 1, characterized in that: The method further comprises the following steps: (1) Determine each sub-index matrix E using a random integer-based method i The values ​​of the mid-cycle parameters ensure that there is sufficient randomness and difference between the parameters, avoid the generation of short loops, and enhance the adaptability and robustness of LDPC codes in different environments; (2) According to the given cycle length requirement, the cyclic parameters in the matrix E are adjusted to ensure that there is no cycle less than the predetermined cycle length in the check matrix H, thereby optimizing the performance of the LDPC code and reducing the complexity of the error correction process; (3) In line with the needs of modern communication systems, the designed LDPC code is applied to the data transmission process. Through its excellent error correction capability, the accuracy of data transmission and the overall reliability of the system are improved.

3. The method for designing large cycle length quasi-cyclic semi-random LDPC codes according to claim 1, characterized in that: The design method of LDPC code with a cycle length not less than 10 is as follows: 1) e i are not equal, where i=0, ∙∙∙, L-1, and for any i, j, m and n, e i -e j ≠ e m -e n ; 2) N, N > 0 satisfies: 2-1) For any i and j, satisfying (e i -e j ) mod N ≠ 0; 2-2) For any i, j, m and n, satisfying (e i -e j + e m -e n ) mod N ≠ 0; 3) The construction method of D is as follows: 3-1) Construct a matrix K with row weight and column weight both being L and with a circle length of 6. Obviously, the number of rows and columns of this matrix is ​​equal, let it be t; 3-2) Let S = t; 3-3) In generating each submatrix D in D i When , take out the i-th column of matrix K. Obviously, there are L non-zero elements in this column. Record the number of rows of these L non-zero elements into the set R idx middle; 3-4) D i There are L columns and S rows. First, initialize D i , all its elements are ∞; 3-5) From the 0th to the L-1th column, each time a column is constructed, first randomly select from R inx Take a non-repeating row number r from the set, and then randomly generate an integer less than N in the r-th row of the column.

4. A system for generating large cycle length quasi-cyclic semi-random LDPC codes, characterized in that: The system executes the steps of the LDPC code design method based on a quasi-cyclic semi-random structure as claimed in claim 1.

5. The system according to claim 4, characterized in that The system also includes: A digital sequence and parameter configuration module generates a set of integer sequences e that meet the circle length requirements i , where i=0, ∙∙∙,L-1, in particular, when the circle length is required to be 8, e i is a random integer less than N and not equal to each other; when the circle length is required to be 10, e is required i are not equal to each other, and for any i, j, m and n, e i -e j ≠ e m -e n , and configure the corresponding N value according to the sequence; A submatrix D generation module is used to construct a submatrix D that meets the row weight and column weight requirements, and to increase the randomness of the LDPC code through random exchange operations to ensure that the circle length of the check matrix H meets the set requirements.

6. The system according to claim 4, characterized in that The system also includes: a matrix K construction module, for generating a matrix K with both row weight and column weight L, wherein when constructing an LDPC code with a circle length of 10, the circle length of K is required to be 6, and determining its size t; A submatrix D i Construction module for extracting information from matrix K and generating D i , and then arrange these sub-matrices in the matrix D to meet the structural requirements of the exponential check matrix E.

7. The system according to claim 4, characterized in that The system also includes: An optimization module, used for further optimizing the generated check matrix H to improve the performance of the LDPC code, including but not limited to reducing the bit error rate and enhancing the decoding efficiency; a user interface module for receiving parameter settings input by a user and displaying the generated LDPC code and its related properties; A storage module for saving the generated LDPC codes and related configuration parameters for future retrieval and use; A test module is used to perform performance tests on the generated LDPC code, including but not limited to error performance and decoding delay, to verify the effectiveness and practicality of the code.