Professional Documents
Culture Documents
Practica_3_TC
Practica_3_TC
Practica_3_TC
-
School of Engineering
Universitat Autonoma de Barcelona
08193 Bellaterra Cerdanyola del Vallès (Barcelona)
Email: -
I. I NTRODUCTION
Channel coding is a fundamental aspect of communication sys-
tems, especially in the realm of digital television where the reliable
transmission of audiovisual content is paramount. By fortifying data
against noise and interference, channel coding ensures the integrity
of transmitted information.
This report delves into the realm of channel coding in digital televi-
sion, focusing on external interleaving techniques such as Convolu-
tional Interleaving. Through an exploration of MPEG standards and
the organization of data in Transport Stream packets, this report aims
to illuminate the role of channel coding in enhancing communication
systems.
Once the sender is made, we are going to make the receiver with
the next blocks:
To see the BER, we will include the Bit Error Rate and to see the
Es
= Q−1 (2 · 10−4 )2
oputput we will include the block display: (3)
No
Computed with Matlab code and converted to log we end up
having:
%Definim la f u n c i :
funcio = ((qfuncinv(2e-4))ˆ2);
Everything is correct except for the BER, which is too big. Fig. 6. Es No result in dB
The problem lies in the BER calculation module not comparing Applying this value in the Error rate calculation block, we can see
the right bits. This is due to a signal delay caused by the Buffer that the BER is the result that we were searching for:
module, which waits for all samples of the frame before sending it.
Consequently, the BER calculation module compares the transmitted
signal bits with the received ones, but with a delay. Even if the same
bits are received, they won’t match due to this delay. Adjusting the
Receive delay parameter in the BER calculation block can easily
resolve this issue.
So, to compute the system delay in samples of the system Fig. 7. New BER
and solve the issue mentioned above, we have to put in the Error
Rate Calculation block a delay of 1504, because we are comparing
B. Reed-Solomon codification
the samples from the transmitted ones, which are delayed 1504
samples. Now we are going to build a Reed-Solomon transmission
channel by adding an RS Encoder and and RS Decoder to our
previous design, which we will configure with the next values
RS(255,239,T=8).
Now that we have the BER at 0, we can search for the minimum
Es
No
that makes the BER almost zero. With almost zero we are
searching a BER of approximately 2 · 10−4 .
Delay = B · (N − 1) (5)
The relationship between the three parameters used to compute
them is the next one: Substituting with our values we have that:
The measured gain over bit energy ((Eb )) and symbol energy (Es )
are different because they represent two different ways of measuring Fig. 13. Delay for the BER block after the RS Encoder
the efficiency of data.
Fig. 14. Delay for the BER block after the RS Encoder
Fig. 18. Delay at the BER block of the RS Encoder
The complete scheme for the codification is the next one:
Es
Finally, we can see that with a N 0
of value x at the AWGN channel,
we have an almost error free at the start of the system.
B. Puncturing and Soft Decision
In this final section of the lab, we are going to apply the puncturing
Fig. 15. Complete scheme of the codification and decodification system technique directly at the convolutional encoder and decoder block.
Interleaving improves the system’s performance against Gaussian We apply this puncturing technique to reduce the number of
white noise by distributing errors caused by the noise across multiple samples to transmit to solve the issue with the duplication of
frames. samples made by the encoder with Rc = 12 .
This helps enhance the reliability of transmission by spreading The eliminated samples will be recovered by the Viterbi decoder, at
potential errors, reducing the risk of losing or corrupting information the receiver.
in noisy environments.
The results obtained are shown in the next table of contents:
III. I NTERNAL CODIFICATION
In this second part of the lab we will simulate with the Simulink
software the internal codification block of a digital satellite television.
Because of we are working with cable signal transmission, we will
only use the convolutional codification block.
1
A. Convolutional codification 2
To make the scheme with the convolutional encoder and the Viterbi
decoder work properly, we have to add a delay block with the next
delay. This block is used to compensate the delay generated by the
Viterbi decoder: