Professional Documents
Culture Documents
DVB H Simulation PDF
DVB H Simulation PDF
30 June, 2011
The Personal Mobile Television is a commercial reality in many countries, and is becoming a
reality in other places. The Quality of Experience (QoE)actually delivered to end users will be
a key criteria for the adoption of this new service. In order to evaluate it, a QoE analysing
tool called Pseudo Subjective Quality Assessment (PSQA) is used in this project to evaluate the
video quality with the simulation of video over DVB-H.
DVB-H transmitter and receiver in MATLAB are implemented in this project. The imple-
mented DVB-H transmitter and receiver include Forward Error Correction (FEC)in the link
layer and Orthogonal Frequency Division Multiplexing (OFDM) in the physical layer as the im-
portant parameters. A channel model is implemented in the physical layer to represent the real
environment with the parameters like distance,speed of the terminal and type of environment.
The simulation studies is made to optimize the Digital video broadcasting for handheld terminal
(DVB-H) parameter with a novel approach of QoE using PSQA.
Contents
1 Introduction 4
1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2 Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3 Internship Objective . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2 DVB-H system 6
2.1 Link layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.1.1 Forward Error Correction mechanism . . . . . . . . . . . . . . . . . . . . 7
2.1.2 Time slicing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2 Physical layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.2.1 OFDM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.2.2 Channel model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1
5.8 Problem faced and assumptions made . . . . . . . . . . . . . . . . . . . . . . . . 22
5.9 Validation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
7 Conclusion 29
9 Glossary 31
Appendix
. . .A. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Appendix.A.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Appendix.A.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Appendix.A.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
2
List of Figures
3
Chapter 1
Introduction
1.1 Introduction
The development of wideband telecommunications system is a modern trend in the current
telecommunication industry. The multimedia services like video streaming and television ser-
vices require high bandwidth. DVB-H [1] is one of the system which satisfies this requirement.
It achieves various telecommunication challenges such as achieving high data rates in wireless
networks, providing the power saving options to the mobile receivers and the design of bandwidth-
efficient Single frequency networks terrestrial (SFN). DVB-H is an evolution of DVB-T [2]. The
intention of its design is to improve performance in mobile environments, to add flexibility in
network planning and to enable efficient power control in handheld receivers. Since the data is
carried in Internet Protocol (IP) packets, it is easy to adopt various services other than video
streaming. The television services are transmitted over DVB-H using the existing cellular net-
work as a downlink. The challenge faced by the service providers is to find a best combination of
DVB-H parameters to achieve robust transmission over the channel. A lot of research was done
with different approaches to find the best combination of DVB-H parameters. Our approach is to
optimize the parameters with QoE. The QoE is analysed based on human perception of different
services like video,audio etc. Here in this project, Pseudo Subjective Quality Assessment is used
to analyse the video quality and to provide the feedback in real time.
In this report, the focus will be on presenting the link layer and physical layer parameters of
DVB-H. Chapter 2 gives a brief overview of DVB-H system, presenting its link layer, physical
layer parameters and the new features added in these layers.The encapsulation methods and
different channel model for DVB-H are discussed in detail. Chapter 3 describes about the QoE
and PSQA. Chapter 4 gives an overview of Matlab and Simulink. In chapter 5, the simulator
design and its software implementation are elucidated in detail. The importance of simulating
DVB-H and problem faced are also discussed. Simulation results are interpreted and analysed in
the chapter 6. Finally, conclusions and possibilities for further research are presented in chapters
7 and 8.
1.2 Motivation
In order to achieve success for DVB-H, or video broadcasting in general, the system parameters
need to be adapted for the QoE to be optimised. Different coding, interleaving and modulation
makes the amount of parameter combinations huge and these have to be critically evaluated
4
before building the networks. There are around 144000 combinations possible with these param-
eters. At the physical layer one of the most important research objectives is to find appropriate
channel models to be abale to analyse different parameters and help in network planning.To
optimize these parameters different approaches were taken into account and the one,which is
proposed by DIONYSOS1 is to adapt these parameters based on QoE feedback.
The main objective of this internship is to build a DVB-H simulator and after, study the
video quality over it.
1 A team of INRIA,Rennes which works on different problems related to the design and the analysis of com-
munication services.
5
Chapter 2
DVB-H system
The Figure 2.1 shows the functional block diagram of the DVB-H system. The DVB-
H standard addresses the above stated problems by adding a number of features to DVB-T
standard.DVB-H adds functional changes in the link and physical layers while it is backward
compatible with DVB-T. In the link layer, DVB-H has two new features with respect to DVB-T:
Time Slicing and Multiprotocol Encapsulation Forward Error Correction (MPE-FEC). In the
physical layer, DVB-H also adds some features DVB-T: DVB-H Signaling and 4K-Mode OFDM.
A detailed overview of these parameters is presented in the following sections.
6
2.1 Link layer
2.1.1 Forward Error Correction mechanism
Forward Error Correction is used in the link layer for correcting the errors which occur due to the
radio environment and its interference. The link layer packet encoding, encapsulation, decoding
and decapsulation are illustrated in Figure 2.2. The IP datagrams are arranged column-wise into
the Application data table (ADT) of the MPE-FEC frame. To create MPE-FEC, IP packets
are filled into an (NX191) matrix where each cell of the matrix hosts one byte of information.
According to the standard the number of rows in the matrix, i.e. N can be selected from the
following values: 256, 512, 768 or 1024. The ADT is then encoded row-wise with Reed-Solomon
RS(255,191) and concatenated such that the final size of the matrix is of size (NX255). The
ADT need not be completely filled. The unfilled part of the ADT is called padding. The padding
allows rate control and preventing fragmentation of IP packet between two MPE-FEC frames.
All the 64 columns of RSDT need not be transmitted, i.e. the RS data table (RSDT) may be
punctured. This allows control of code rate[1]. The frame is divided into MPE-sections, with one
IP datagram as payload, and MPE-FEC-sections with one RS column as payload. Each section
is protected with a CRC-32. The sections are transmitted in a MPEG-2 transport stream (TS).
The decoding is suggested to be erasure correction based on reliability information provided by
the CRC. If the CRC fails, the bytes of the section are marked as unreliable. The reliability of
each symbol is indicated in the Erasure Info Table (EIT). As erasure correction is twice as strong
as conventional error correction, the RS(255,191) is able to correct 64 erasures on each row of
the MPE-FEC frame.
7
while receiving bursts of a requested service. It significantly reduces the power consumption used
for radio reception parts.
Figures 2.3 compares the services provided in typical DVB-T and DVB-H channels. It also
shows the backward compatibility of DVB-H with DVB-T system. Time-slicing also supports a
smooth seamless handover by accomplishing the changing of the reception from one transport
stream to another during the off-time between bursts.
2.2.1 OFDM
OFDM concept is to segment the bandwidth into several sub-channels such that these narrow
sub-channels can have flat fading. The feature of orthogonal sub-channels makes OFDM have
a high spectral efficiency. Cyclic extension is a copy of the last or the forward part of each
OFDM symbol. It prevents inter symbol interference (ISI) and inter carrier interference (ICI),
and makes the transmitted signal periodic. The new 4k mode [1] is added in the DVB-T standard
for OFDM transmission. DVB-T already has 2k and 8k mode. The 2k,4k and 8k refers to the
8
number of carriers used in the OFDM transmission. The diiference between 2k and 8k is the
transmitter distance and speed of the mobile terminal for a SFN. The 2k mode of OFDM allows
reception for short distance for fast moving terminal, whereas 8k mode allows long distance for
slow moving mobile terminals.The 4k mode provides the tradeoff between these two modes of
OFDM by allowing a considerable distance for fast moving mobile terminals by giving more
flexibility in the transmission of DVB content.[3]
Other features
Randomiser disperses the energy in order to obtain an evenly distributed energy within the chan-
nel and transport multiplex adaptation using the DVB randomisation polynomial 1 + x14 + x15
and disperses except the sync byte (0x47) of the TS packet[1].
Reed-solomon encoder generates reed solomon packets based on the RS(204,188) code with
code generator polynomial galois field and field generator polynomialp(x) = x8 + x4 + x3 + x2 + 1.
It adds 16 parity bytes in the end of each information data and it can correct upto 8 error bytes[1].
Outer and inner interleaver performs the DVB outer interleaving function with depth I=12
and bit interleaver(inner interleaver) concatenated with a symbol interleaver in a two-step pro-
cess. If a hierarchical system is selected then the two streams are merged at this point using a
modified interleaving equation. If required, DVB-H provides in-depth interleaving as specified by
the DVB standard. Both interleaver are used to reduce the impact of burst errors by spreading
them in the channel[1].
QAM mapper which allows to perform QAM constellation mapping using the mapping scheme
specified by DVB for QPSK, QAM16 or QAM64. It outputs I/Q QAM values to the FFT Fast
fourier transform core as given in Figure 2.6.
9
Figure 2.6: QPSK,16QAM and 64 QAM mapping
The users of mobile TV Television may not watch the video for more than ten minutes
continuously. There are many places where these users watch TV on bus or the train (reception
in fast moving terminals), bars or restaurants (reception indoor)[4]. The proposed channel model
for DVB-H are urban, rural and indoor environments as shown in the Figure 2.7. These channels
are modeled using rayleigh and rician distribution as per the type of environment.
10
Chapter 3
11
3.2 PSQA
The assessment made by objective video quality analysing tools are not same as the human
perceived vedio quality. Whereas the subjective quality assessments are expensive in both cost
and time. A novel method proposed to assess the video quality is PSQA. It uses Random Neural
Network (RNN) for learning the examples obtained from the subjective tests. It is cost effective
and simple to use. The methodology for the PSQA design and usage is given in Figure 3.2 and
3.3. The idea behind its design is modelling a relation between the network parameters which
cause the impact on the video quality with the QoE results obtained from the human observers
who evaluate the sample videos. After that, the trained PSQA can be used in many real time
applications to measure the subjective video quality.
12
Chapter 4
4.1 Overview
Simulink is a plaftform for multidomain simulation and model-based design of dynamic sys-
tems. It provides an interactive Graphical User Interface (GUI) and lets you choose between the
built-in libraries to design, simulate, implement, and test various system like signal processing,
communication and mechanical systems. It is integrated with MATLAB.
Matlab1 is a programming language which allows to perform various numerical computations,
data analysis and access. A simple example of Minimum shift keying (MSK) modulator model
is shown in Figure 4.1
1 www.mathworks.com
13
Chapter 5
This describes about the simulator modelling with simulink and Matlab code. In section 5.1, a
global architecture of the simulator is described. In the following sections, the developed unused
simulink model is presented. In section 5.4, the physical layer is explained with respective matlab
code.
The global model for the simulator is divided into mainly two parts namely DVB-H simulator
and integration of PSQA module as shown in Figure 5.1. As for DVB-H simulator, a simple and
14
effiencient model is developed by including all the features of link layer and physical layer includ-
ing the time slicing in link layer, randomiser and pilot insertion in physical layer. Considering
the main objective, the focus is on the link layer for analysing the link layer parameters. The
parameters needed to evaluate the video quality are the frame errors and IP packet loss in the
link layer.
The software implentation is made as shown in Figure 5.2. Except the link layer part of the
trnsmitter and error calculation part, all other parts iterates for each burst in the chain.
15
3. Internal encoder(Punctured convolutional code)
4. Internal interleaver
5. Mapper
16
17
18
Figure 5.5: Scattered pilot tone
rk = sk ck + nk (5.1)
The multipath channel causes frequency selectivity and inter symbol interference. Equalization
can reduce the inter symbol interference and noise effects for the better demodulations. The
purpose of equalization is to remove the effect of multipath effect from the received signals. It is
done by estimating the channel ck and dividing the received signal with the estimated channel
response cke . This simple equalizer is implemented in the model. The estimation is performed
using the boosted pilot signals rkp .
Method 1:
The steps of channel estimation and equalization using method 1 are given by
19
Filling zeros in the place of useful carriers
Taking FFT
Divide received signal in frequency domain with interpolated rkp
Method 2:
This method uses both the continual and scattered pilots for the channel estimation i.e channel
estimation is done in both frequency and time axis. For this method atleast 10 OFDM symbols
are used for interpolation. The steps of channel estimation and equalization using method 2 are
given by
Both methods are implemented but the method 1 is used for simulation studies.
Burst formation
In this simulator model, many assumption were made with respect to the burst formation. Here,
the duration of one burst is in the range of 0.5 seconds. For the given IP packets, 0.5 seconds
corresponds to 30 IP packets. A simple study is made on FEC percentage with respect to
uncorrected IP packets. Since, the objective of this project has less interest in time slicing, we
consider this assumption.
20
Figure 5.6: Section header
Section erasure
In the decoding process, section erasure method is considered for the moment. The process
works as given in Figure 5.8. Section erasure is based on the CRC. A section is consider as lost
or erased when CRC fails. This is marked in EIT as unreliable symbols. Later this EIT is used
during the RS decoding process (in link layer) for the better decoding. The disadvantage of this
method is that it marks many reliable bytes as unreliable considering the CRC. There is other
method proposed by researcher to overcome this problem is TS erasure[6]. It will be discussed
in the following part of the this topic.
21
TS packet erasure
Another method in the decoding process which is implemented with respect to section erasure
is TS packet erasure. But for the moment, it is not used during the course of simulation studies.
The algorithm works as shown in the Figure 5.9. TS earsure is based on the RS decoder in the
physical layer. If RS decoder fails to retrieve the data bytes, then the corresponding TS packet
is erased and replaced with zeros. This is given as input for the proceedings steps. This method
is performed without using the CRC.
22
Multipath channel model
A multipath channel model is constructed corresponding to TU6 profile but it is not used during
the course of simulations due to high frequency selectivity behaviour. A further work will devoted
to find a solution for this problem.
5.9 Validation
The model developed was validated before the simulation studies as per as DVB-H standard
requirements. From the Figure 5.11, it has been shown that the simulator respects the recom-
mandations of DVB-H specifications. The expectation for 16-QAM,CR=3/4 with CNR=12 dB,
DVB-T QEF or MFER 5% is achieved. Here , we can notice that the first condition is achieved.
23
Chapter 6
24
Figure 6.1: Bit Error Rate after viterbi 16 QAM CR=3/4
25
Figure 6.3: Bit Error Rate after viterbi 64 QAM CR=2/3
26
Figure 6.6: Bit Error Rate after RS decoder 16 QAM CR=2/3
27
Figure 6.8: Bit Error Rate after RS decoder QPSK CR=2/3
28
Chapter 7
Conclusion
The main objective of this thesis work is to develop a DVB-H simulator. In order to develop this
simulator, Matlab has been proposed as a software platform, section erasure has been proposed as
decapsulation and decoding method. The goal of this project is achieved by sucessfully designing
the simulator. The problems like getting higher BER values when using urban model couldnt
be resolved due to time constraint to finish the project.
The application presented allows simulation of the DVB-H transmission in OFDM mode
2k,4k and 8k with QPSK,16QAM and 64QAM along with error corrections. Moreover, it will
contribute to the video quality analyses based on the QoE using PSQA tool.
The BER dependencies after viterbi and after RS decoder for the AWGN channel was compared
with referenced measured values. The variation between the referenced measured value and the
actual simualtion results turned out to be good.
29
Chapter 8
The section erasure method adds too much unnecessary erasures, resulting in failure of decoding
more often than necessary. Most of the symbols, marked as erasure by CRC decoder are actually
received correctly [6]. So, TS erasure method can be build in the link layer of the receiver for the
comparison with the section erasure using PSQA. It is interesting to study the different types
equalizer and its impact on the quality of video. A discussion on different decoding methods and
study can be made for the best analysis of QoE.
30
Chapter 9
Glossary
GI Guard Interval
CP Cyclic Prefix
QAM Quadrature Amplitude Modulation
QPSK Quaddrature Phase Shift Keying
31
RNN Random Neural Network
GUI Graphical User Interface
MSK Minimum Shift Keying
BER Bit Error Rate
SNR Signal to Noise Ratio
dB Decibel
QEF Quasi Error-Free
AWGN Additive White Gaussian Noise
SER Symbol error rate
MFER MPE-FEC Frame Error Rate
Appendix A
Appendix A.1
The codes for RS encoder and decoder can be found in the following lines:
f u n c t i o n r s o u t=r s e n d e c ( d a t a i n , t x r x )
i f ( t x r x ==10)
% C r e a t e ReedSolomon e n c o d e r o b j e c t .
enc = f e c . r s e n c ( 2 5 5 , 2 3 9 ) ;
enc . ShortenedLength = 5 1 ;
d a t a i n 1=r e s h a p e ( d a t a i n , 1 8 8 , l e n g t h ( d a t a i n ) / 1 8 8 ) ;
r s o u t 1 = encode ( enc , d a t a i n 1 ) ;
r s o u t=r e s h a p e ( r s o u t 1 , numel ( r s o u t 1 ) , 1 ) ;
%r s o u t=r e s h a p e ( code , 2 0 4 s z ( 2 ) , 1 ) ;
e l s e i f ( t x r x ==01)
d a t a i n 1=r e s h a p e ( d a t a i n , 2 0 4 , l e n g t h ( d a t a i n ) / 2 0 4 ) ;
dec=f e c . r s d e c ( 2 5 5 , 2 3 9 ) ;
dec . ShortenedLength = 5 1 ;
[ code , cnumerr , c c o d e ] = decode ( dec , d a t a i n 1 ) ;
r s o u t=r e s h a p e ( code , numel ( code ) , 1 ) ;
end
end
Appendix A.2
The source code for internal interleaver can be found in the following lines:
f u n c t i o n [ o u t s y m i n t z e r o p a d ] =sym intv new ( y , r a t e i d , mode , s y m t a b l e , t x r x )
i =1;
j =0;
out sym int = [ ];
s w i t c h ( mode )
32
case 2
n c a r =1512;
case 4
n c a r =3024;
case 8
n c a r =6048;
end
switch ( rateid )
case {1 ,2}
m=2;
case {3 ,4 ,7}
m=4;
case {5 ,6}
m=6;
end
n=m n c a r ;
i f ( t x r x ==10)
z e r o p a d=nrem ( l e n g t h ( y ) , n ) ;
r =[y ; z e r o s ( nrem ( l e n g t h ( y ) , n ) , 1 ) ] ;
w h i l e ( i<=l e n g t h ( r ) / n )
x=r ( j +1: i n ) ;
i n t o u t=i n t r l v ( x , s y m t a b l e ) ;
o u t s y m i n t =[ o u t s y m i n t ; i n t o u t ] ;
j=i n ;
i=i +1;
end
e l s e i f ( t x r x ==01)
w h i l e ( i<=l e n g t h ( y ) / n )
x=y ( j +1: i n ) ;
i n t o u t=d e i n t r l v ( x , s y m t a b l e ) ;
o u t s y m i n t =[ o u t s y m i n t ; i n t o u t ] ;
z e r o p a d =0;
j=i n ;
i=i +1;
end
%b i t i n t l v o u t=b i t i n t l v o u t 1 ( 1 : l e n g t h ( b i t i n t l v o u t 1 ) b i t z e r o 1 ) ;
end
Appendix A.3
The codes shown below encapsultes IP packets with MPE header.
f u n c t i o n [ m p e f e c c r c 2 ]= m p e f e c s e c t i o n ( f e c s e c , n , p a d c o l )
m=0;
p=1;
j j =1;
mpe fec crc2 =[];
33
mpe fec crc =[];
s z f e c=l e n g t h ( f e c s e c ) ;
mpe h=m p e f e c h e a d e r 1 ( n , l , 6 4 , p a d c o l ( j j ) ) ;
m p e f e c =[mpe h ; f e c 1 ( : , l ) ] ;
m p e f e c c r c 1=crc32compute ( m p e f e c ) ;
m p e f e c c r c 2 =[ m p e f e c c r c 2 ; m p e f e c c r c 1 ] ;
l=l +1;
end
m=pn ;
p=p+1;
j j = j j +1;
end
end
34
Bibliography
[1] ETSI. Digital Video Broadcasting (DVB); Transmission System for Handheld Terminals
(DVB-H). European Telecommunication Standard, November 2004.
[2] ETSI. Digital Video Broadcasting (DVB); Framing Structure, channel coding, and modulation
for digital terrestrial television. European Telecommunication Standard, January 2004.
[3] M.Kornfield and G.May. Dvb-h and ip datacastbroadcast to handheld devices. In Proceedings
of the 2010 Third International Conference on Software Testing, Verification, and Validation
Workshops.
[4] H. Knoche and J. D. McCarthy. Mobile users needs and expectations of future multimedia
services. In WWRF12.
[5] ITU-T SG12. Definition of Quality of Experience. COM12 -LS 62 - E,TD 109rev2(PLEN/12),
Geneva,Switzerland, 16-25 January 2007.
[6] Heidi Joki and Jussi Poikonen. Analysis and Simulation of DVB-H Link Layer. June 2005.
[7] Fisher.W. Digital video and audio broadcasting technology:A practical guide for engineers,2nd
ed. 2008.
[8] Radim.S and Tomas.K. Influence of the transmission channel type and error correction on
dvb-t error rates. In Proceedings of the 50th International symposium ELMAR-2008.
35