The present invention discloses a
code rate compatible polarization code
encoder and encoding method based on polarization spectrum. The present invention comprises: a polarization code mother code parameter setting module for determining the code length,
code rate and number of punctures of the polarization code mother code; a polarization code mother code construction module for constructing the polarization code mother code using the polarization spectrum, including an initial polarization spectrum module, a polarization spectrum generation module, and a polarization
channel reliability estimation module; a generating matrix minimum column weight calculation module for calculating the weight of each column of the generating matrix and determining a partial puncture pattern; a
code rate compatible polarization code encoding module for determining the final puncture pattern, including a polarization code final puncture module and an encoding module. The present invention determines the puncture position by using the column weight of the generating matrix, which can reduce the influence of puncture on the performance of the polarization code, estimates the reliability of the polarization sub-channel based on the polarization spectrum, and selects the sub-channel with low reliability for
puncturing when the column weight of the generating matrix is the same, thereby effectively reducing the performance loss caused by
puncturing.