A kind of adaptive coding/decoding method based on low density parity check code
Technical field
The present invention relates to the adaptive channel encoding technical field of the communications field, relate in particular to a kind of adaptive coding/decoding method based on low-density checksum (LDPC) sign indicating number.
Background technology
In wireless communication system,, will inevitably introduce distortion and signal decision mistake to the transmission data because transmission channel exists noise, decline, multipath.The signal error that takes place in the transmission is found, corrected to channel coding technology by add redundancy symbol in information sequence, thereby improve the reliability of system.The LDPC sign indicating number is a kind of channel coding/decoding method that can approach the excellent performance of Shannon (Shannon) limit.
In traditional wireless communication system, adopt fixing channel coding method, promptly coded system remains unchanged in communication process.But in order to guarantee the error performance of system, need select suitable coded system, could guarantee the reliability of Channel Transmission in whole communication process like this according to worst channel situation.Because actual mobile radio channel has time-varying characteristics and fading characteristic two big characteristics, the stochastic variable that becomes when the channel capacity of mobile radio channel is, fixing channel coding method causes channel capacity to be fully used.In order to maximally utilise channel capacity, will make code encoding/decoding mode also follow channel capacity and change, the basic thought of Here it is self-adaptive encoding method.In the self-adaptive encoding method, when channel condition is abominable, adopt the lower coded system of code check, guarantee the reliability of communicating by letter; And when channel condition is relatively good, under the prerequisite of the system of assurance error performance, adopt the higher coded system of code check, improve the efficient of communication.Self-adaptive encoding method has made full use of channel capacity, has guaranteed the reliability and the validity of communication system.
In the present adaptive coding system, the most widely used coding mode selection method is the fixed threshold diagnostic method.If the error rate BER of adaptive coding system requirements is E, suppose that encoder bit rate has the n kind, be expressed as respectively c0, c1 ... cn-1, }, the code check size increases successively.When obtaining identical target error rate E, the desired lowest signal-to-noise SNR value of each encoder bit rate is different, and the n of n code check correspondence SNR value is called the SNR switching point, its set be expressed as s0, s1 ... sn-1, }.These switching points with the span of SNR also be divided into n interval s0, s1 ... sn-1, sn=+ ∞ }, when the SNR of channel value is positioned at interval i[si, si+1 ,] time (0≤i≤n-1), code check ci is just adopted in transmission next time.
Iterative decoding algorithm is adopted in the decoding of LDPC sign indicating number, and many more its error rate of translations of decoding iterations are low more, but the also corresponding increase of amount of calculation.In adaptive coding system, adopt present fixed threshold diagnostic method to select coded system to produce the contradiction that to avoid based on the LDPC sign indicating number.If select bigger decoding iterations, when the signal to noise ratio condition is relatively good, can more early switch to high bit rate coding mode, improve the channel utilization of system, but can bring too high decoding operand.If select less decoding iterations, when the signal to noise ratio condition is better, the decoding operand that can reduce, but also can laterly switch to high bit rate coding mode simultaneously, reduced the channel utilization of system.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of adaptive coding/decoding method based on low density parity check code, when signal to noise ratio is low, can improve channel utilization; And when signal to noise ratio improves, can dynamically reduce the decoding iterations, reduced the decoding operand.
For achieving the above object, the invention provides a kind of adaptive coding/decoding method based on low density parity check code, this method comprises:
According to the data that receive, receiver carries out channel estimating to the transmission characteristic of wireless channel, and according to this data that receive is carried out equilibrium treatment; Obtain the LDPC sign indicating number coded system of data simultaneously.
According to channel estimation results and the coded system obtained, set LDPC code coder coded system, the LDPC sign indicating number decoding maximum iteration time of transfer of data next time.
At transmitting terminal, the LDPC code coder is encoded according to the coded system of setting, and sends data after modulation.At receiving terminal, the data that receive are carried out the decoding of LDPC sign indicating number according to the decoding maximum iteration time of coded system of obtaining and setting after process equilibrium, demodulation.
In the such scheme, described according to channel estimation results and the coded system obtained, set the LDPC code coder coded system of transfer of data next time, the step of LDPC sign indicating number decoding maximum iteration time comprises:
A1, suppose that the code check of LDPC sign indicating number has the n kind, is expressed as { c respectively
0, c
1... c
N-1,, size increases successively, and the decoding maximum iteration time of each code check all has the k kind, is expressed as { I respectively
0, I
1... I
K-1,, size reduces successively.If Adaptable System error rate BER target is E, when encoder bit rate is c
iThe time (0≤i≤n-1), maximum decoding iterations is I
jThe time (0≤j≤k-1), the minimum signal to noise ratio snr value of its correspondence is s
Ij, all SNR values constitute switching point set { s
00, s
01, s
02... s
Ij... s
N (k-1), }.
A2, these switching points are divided into n * k interval with the span of SNR, when the SNR of channel estimating value is positioned at interval [s
Ij, s
I (j+1)] (0≤i≤n-1), then the encoder bit rate of transmission is set at c next time
i, the decoding iterations just is set at I
jWhen the SNR of channel estimating value is positioned at interval [s
I (k-1), s
(i+1) 0] time, then the encoder bit rate of transmission is set at c next time
i, the decoding iterations just is set at I
(k-1)
From technique scheme as can be seen, the present invention has following beneficial effect:
1, the adaptive coding/decoding method based on low density parity check code provided by the invention is not only dynamically adjusted LDPC sign indicating number coded system according to channel condition, and can dynamically adjust the decoding number of times of LDPC sign indicating number.
2, the adaptive coding/decoding method based on low density parity check code provided by the invention when signal to noise ratio is low, can more early switch to high code rate, improves the channel utilization of system; And when signal to noise ratio improves, under the prerequisite that satisfies system's error performance, can dynamically reduce the decoding iterations, reduced the decoding operand.
Description of drawings
Fig. 1 is the flow chart of realizing based on the adaptive coding/decoding method of low density parity check code provided by the invention;
Fig. 2 is an embodiment schematic diagram of the adaptive coding/decoding method based on low density parity check code provided by the invention;
Fig. 3 is the ber curve according to one embodiment of the present of invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with specific embodiment, and with reference to accompanying drawing, the present invention is described in more detail.
The object of the present invention is to provide a kind of adaptive coding/decoding method, when signal to noise ratio is low, can improve channel utilization based on low density parity check code; And when signal to noise ratio improves, can dynamically reduce the decoding iterations, reduced the decoding operand.
As shown in Figure 1, Fig. 1 is the flow chart of realizing based on the adaptive coding/decoding method of low density parity check code provided by the invention.This method comprises:
Step 101: according to the data that receive, receiver carries out channel estimating to the transmission characteristic of wireless channel, and according to this data that receive is carried out equilibrium treatment; Obtain the LDPC sign indicating number coded system of data simultaneously;
Step 102:, set LDPC code coder coded system, the LDPC sign indicating number decoding iterations of transfer of data next time according to channel estimation results and the coded system obtained;
Step 103: at transmitting terminal, the LDPC code coder is encoded according to the coded system of setting, and sends data after modulation.At receiving terminal, the data that receive are through after balanced, the demodulation, carry out the decoding of LDPC sign indicating number according to the decoding iterations of coded system of obtaining and setting;
Above-mentioned steps 102 comprises:
A1, suppose that the code check of LDPC sign indicating number has the n kind, is expressed as { c respectively
0, c
1... c
N-1,, size increases successively, and the decoding maximum iteration time of each code check all has the k kind, is expressed as { I respectively
0, I
1... I
K-1,, size reduces successively.If Adaptable System error rate BER target is E, when encoder bit rate is c
iThe time (0≤i≤n-1), maximum decoding iterations is I
jThe time (0≤j≤k-1), the minimum signal to noise ratio snr value of its correspondence is s
Ij, all SNR values constitute switching point set { s
00, s
01, s
02... s
Ij... s
N (k-1), }.
A2, these switching points are divided into n * k interval with the span of SNR, when the SNR of channel estimating value is positioned at interval [s
Ij, s
I (j+1)] (1≤i≤n-1), then the encoder bit rate of transmission is set at c next time
1, the decoding iterations just is set at I
jWhen the SNR of channel estimating value is positioned at interval [s
Ik, s
(i+1) 0] time, then the encoder bit rate of transmission is set at c next time
i, the decoding iterations just is set at I
(k-1)
Fig. 2 is a hardware embodiment schematic diagram of the adaptive coding/decoding method based on low density parity check code provided by the invention.
At transmitting terminal, initial data waiting for transmission is at first passed through the LDPC encoder.The purpose of LDPC encoder is to strengthen reliability in the data transmission procedure by add redundant information in raw information.Data after the chnnel coding are sent into modulator.The purpose of modulator is the efficient of transfer of data.Then, data send by wireless channel.
At receiving terminal, at first obtain coded system and carry out channel estimating.Simultaneously, come the data of self-channel to revert to the preceding data format of modulation through demodulator.According to the result of channel estimating, to the data balancing after the demodulation, data are sent into ldpc decoder then.
Among Fig. 2, the coded system of LDPC encoder and the maximum iteration time of ldpc decoder are controlled by the coding and decoding controller.At receiving terminal, according to coded system of obtaining and channel estimation results, the coded system of transmission next time that coding controller is set, and the maximum iteration time of decoder.
Fig. 3 is the ber curve according to one embodiment of the present of invention, and wherein the code check of LDPC sign indicating number comprises 1/2,2/3 two kind, decoding iterations comprise 30 times, 15 times two kinds, target error rate is 10
-3
Above-described specific embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is specific embodiments of the invention; be not limited to the present invention; within the spirit and principles in the present invention all, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.