QC-LDPC

Quasi-Cyclic Low Density Parity Check

Physical Layer
Introduced in Rel-14
A class of LDPC error correction codes where the parity-check matrix is constructed from circularly shifted identity matrices or zero matrices. Selected as the channel coding scheme for 5G NR data channels, it offers excellent error correction performance close to the Shannon limit, with low latency and efficient hardware implementation due to its structured design.

Description

Quasi-Cyclic Low Density Parity Check (QC-LDPC) codes are a pivotal channel coding technology adopted for the 5G New Radio (NR) enhanced Mobile Broadband (eMBB) data channels. They belong to the family of LDPC codes, which are linear block codes defined by a sparse parity-check matrix (H matrix), meaning most entries are '0' and only a small fraction are '1'. The 'Quasi-Cyclic' property imposes a specific, highly regular structure on this H matrix: it is composed of smaller square sub-matrices, each of which is either a zero matrix or a cyclically shifted identity matrix (a circulant). This structure is key to its practical advantages.

The architecture of the NR QC-LDPC code is detailed in specification 38.212. The base graph is a fundamental concept. 5G NR defines two primary base graphs (BG1 and BG2). BG1 is larger and designed for larger transport blocks and higher code rates, offering the best peak throughput. BG2 is smaller, optimized for smaller transport blocks and lower code rates, providing better performance for edge-of-cell conditions and small data packets. The encoding process involves expanding these base graphs by a lifting factor 'Z', which determines the size of the circulant sub-matrices. This creates the final parity-check matrix for a specific block size and code rate. The decoder, typically an iterative belief propagation algorithm, exchanges probabilistic messages (soft information) between variable nodes and check nodes represented in the code's Tanner graph, which is directly derived from the H matrix.

QC-LDPC's role in the 5G NR physical layer is to protect user and control data from errors introduced during transmission over the radio channel. It is used for the Physical Downlink Shared Channel (PDSCH) and Physical Uplink Shared Channel (PUSCH). Its structured quasi-cyclic nature enables highly efficient parallel processing in both encoder and decoder hardware implementations. This parallelism is crucial for meeting 5G's extreme throughput requirements (multi-gigabit speeds) and low-latency targets, as it allows multiple bits to be processed simultaneously. The performance of QC-LDPC is characterized by a very steep 'waterfall' region in its bit error rate curve, meaning that once the signal-to-noise ratio passes a certain threshold, the error rate drops dramatically, enabling reliable communication at rates very close to the channel capacity.

Purpose & Motivation

QC-LDPC was introduced to overcome the limitations of the Turbo codes used in 4G LTE for data channels. While Turbo codes were a major advancement for 3G and 4G, they faced challenges in the 5G context. For very high data rates (multi-Gbps), Turbo code decoder implementations suffered from high implementation complexity, longer latency due to their iterative serial nature, and a perceived performance ceiling. Furthermore, Turbo codes exhibited an 'error floor' at very low error rates, which was problematic for ultra-reliable communications.

The primary problems QC-LDPC solves are the need for higher throughput, lower latency, and more flexible channel coding for 5G's diverse use cases. Its structured design allows for massive parallelization in decoder architectures, directly addressing the throughput bottleneck. The parallelizable decoding algorithm also reduces processing latency compared to the more serialized Turbo decoding. The use of two base graphs provides inherent flexibility, allowing the system to efficiently code transport blocks ranging from very small (e.g., for IoT) to extremely large (e.g., for eMBB) without the significant padding overhead required by LTE's Turbo code. The selection of QC-LDPC was the result of extensive evaluation and was motivated by its superior performance at the high code rates prevalent in 5G, its suitability for hardware implementation, and its lack of a high error floor.

Key Features

  • Parity-check matrix built from circulant permutation matrices, enabling efficient parallel processing
  • Two base graphs (BG1 and BG2) to cover a wide range of block sizes and code rates optimally
  • Supports incremental redundancy Hybrid ARQ (HARQ) through flexible rate matching
  • Exhibits a steep waterfall performance curve and very low error floor
  • Enables high-throughput, low-latency decoder implementations essential for 5G peak data rates
  • Adopted as the mandatory channel code for 5G NR eMBB data channels (PDSCH/PUSCH)

Evolution Across Releases

Rel-14 Initial

The study and selection phase. 3GPP Technical Specification Group RAN (TSG RAN) conducted detailed studies (captured in TR 38.802 and TR 38.912) comparing LDPC, Turbo, and Polar codes for the 5G data channels. Based on performance, implementation complexity, and flexibility, the quasi-cyclic LDPC code design was chosen as the winning candidate for eMBB data.

Initial specification of the QC-LDPC code for 5G NR. The detailed encoding procedure, base graph designs (BG1 and BG2), lifting size tables, and rate matching were fully standardized in 38.212. This formed the mandatory channel coding scheme for the first phase of 5G NR deployment, supporting the eMBB use case.

Enhancements and confirmations for new features. The QC-LDPC framework was extended to support the new requirements of NR in unlicensed spectrum (NR-U), integrated access and backhaul (IAB), and two-step random access. Its performance and parameters were validated for these new operational scenarios.

Continued evolution for 5G-Advanced. While the core QC-LDPC design remains stable, ongoing work focuses on optimizations for advanced receiver techniques, support for even higher modulation orders (like 1024QAM), and potential enhancements for reduced capability (RedCap) devices and non-terrestrial networks (NTN), ensuring coding efficiency across all 5G deployment contexts.

Defining Specifications

SpecificationTitle
TS 38.802 3GPP TR 38.802
TS 38.912 3GPP TR 38.912