Transcript
Page 1: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 1/92

University of Messina - DIECII

The gr-bertool

Supervisors

Prof. Salvatore Serrano 

Prof. Giuseppe Campobello 

Candidate

Arturo Rinaldi 

Department of Electronics Engineering, Chemistry and Electrical EngineeringBEST School - Messina, September 2013

Page 2: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 2/92

Goal of the thesis work

• The making of a learning tool for the analysis of the digital modulationsin different communication channels

2 of 66

Arturo Rinaldi - The gr-bertool

Page 3: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 3/92

Goal of the thesis work

• The making of a learning tool for the analysis of the digital modulationsin different communication channels

• The simulated channels were :

2 of 66

Arturo Rinaldi - The gr-bertool

Page 4: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 4/92

Goal of the thesis work

• The making of a learning tool for the analysis of the digital modulationsin different communication channels

• The simulated channels were :

◦ Wired : AWGN

2 of 66

Arturo Rinaldi - The gr-bertool

Page 5: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 5/92

Goal of the thesis work

• The making of a learning tool for the analysis of the digital modulationsin different communication channels

• The simulated channels were :

◦ Wired : AWGN◦

Wireless : Rayleigh and Rician

2 of 66

Arturo Rinaldi - The gr-bertool

Page 6: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 6/92

Goal of the thesis work

• The making of a learning tool for the analysis of the digital modulationsin different communication channels

• The simulated channels were :

◦ Wired : AWGN◦

Wireless : Rayleigh and Rician• Verify the correspondence between the theoretical and experimental

results of the BER (Bit Error Rate)

2 of 66

Arturo Rinaldi - The gr-bertool

Page 7: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 7/92

Goal of the thesis work

• The making of a learning tool for the analysis of the digital modulationsin different communication channels

• The simulated channels were :

◦ Wired : AWGN◦

Wireless : Rayleigh and Rician• Verify the correspondence between the theoretical and experimental

results of the BER (Bit Error Rate)

• Provide complementary tools to show how audio and video files aremodified under the effect of the transmission channels

2 of 66

Arturo Rinaldi - The gr-bertool

Page 8: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 8/92

Goal of the thesis work

• The making of a learning tool for the analysis of the digital modulationsin different communication channels

• The simulated channels were :

◦ Wired : AWGN◦

Wireless : Rayleigh and Rician• Verify the correspondence between the theoretical and experimental

results of the BER (Bit Error Rate)

• Provide complementary tools to show how audio and video files aremodified under the effect of the transmission channels

• The gr-bertool  was built by using the open-source DSP platform GNURadio

2 of 66

Arturo Rinaldi - The gr-bertool

Page 9: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 9/92

GNU Radio

• GNU Radio is an open-source softwaretoolkit providing a huge library of blocks for Digital Signal Processing

(DSP) written in C++ which can becombined together in order to build anddevelop radio applications

Python Flow Graph

(Created using the processing blocks)

USB Interface / Gigabit Ethernet

Generic RF Front End

SWIG (Port C++ blocks to Python)

GNU Radio Signal Processing Blocks

( USRP / USRP 2 )

Gnu Radio Companion (GRC), XML

(C++)

3 of 66

Arturo Rinaldi - The gr-bertool

Page 10: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 10/92

GNU Radio

• GNU Radio is an open-source softwaretoolkit providing a huge library of blocks for Digital Signal Processing

(DSP) written in C++ which can becombined together in order to build anddevelop radio applications

• It is provided with a graphical interfaceto ease its learning curve (GRC : GNU

Radio Companion)

Python Flow Graph

(Created using the processing blocks)

USB Interface / Gigabit Ethernet

Generic RF Front End

SWIG (Port C++ blocks to Python)

GNU Radio Signal Processing Blocks

( USRP / USRP 2 )

Gnu Radio Companion (GRC), XML

(C++)

3 of 66

Arturo Rinaldi - The gr-bertool

Page 11: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 11/92

Software-Defined Radio : an introduction

• GNU Radio was developed to be in use of Software-Defined Radio(SDR), a new “paradigm” of communication systems

4 of 66

Arturo Rinaldi - The gr-bertool

Page 12: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 12/92

Software-Defined Radio : an introduction

• GNU Radio was developed to be in use of Software-Defined Radio(SDR), a new “paradigm” of communication systems

• A receiver is an SDR device if its communication functions are made asreconfigurable software working on ad hoc  hardware

4 of 66

Arturo Rinaldi - The gr-bertool

Page 13: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 13/92

Software-Defined Radio : an introduction

• GNU Radio was developed to be in use of Software-Defined Radio(SDR), a new “paradigm” of communication systems

• A receiver is an SDR device if its communication functions are made asreconfigurable software working on ad hoc  hardware

So it’s possible to implement different software transmission standardsby using only one device

4 of 66

Arturo Rinaldi - The gr-bertool

Page 14: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 14/92

Software-Defined Radio : an introduction

• GNU Radio was developed to be in use of Software-Defined Radio(SDR), a new “paradigm” of communication systems

• A receiver is an SDR device if its communication functions are made asreconfigurable software working on ad hoc  hardware

So it’s possible to implement different software transmission standardsby using only one device

• An SDR sytem is also able to recognize and avoid possible interferenceswith other transmission channels

4 of 66

Arturo Rinaldi - The gr-bertool

Page 15: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 15/92

A general overview on the mainGNU Radio blocks

5 of 66

Arturo Rinaldi - The gr-bertool

Page 16: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 16/92

Signal Source

The block generates different kind of waveforms tobe used as the main signal to transmit or as areference one.

The block is only not able to generate Sinusoidal or

Costant kind of waveforms but also Square,Triangle and Saw Tooth ones.

Type : complex, float, int, short

6 of 66

Arturo Rinaldi - The gr-bertool

Page 17: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 17/92

Noise Source

The block is able to generate noise according to theUniform, Gaussian, Laplacian and Impulsemodels.

Please also note that the Amplitude  parameter fed

to the Gaussian kind of noise is the standarddeviation σ of the Gaussian Noise, given by :

σ =

 N 0

2

where N 0/2 is the power spectral density of whitenoise (i.e. its variance).

Type : complex, float, int, short7 of 66

Arturo Rinaldi - The gr-bertool

Page 18: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 18/92

Operators

These blocks perform the four basic arithmeticalfunctions over the signal sources they are fed with(sum, subtraction, multiplication and division).

Please also note that they perform the operationelement by element (i.e. first element of the row -first element of the column) so the rule of thumb isto feed the inputs with equal amounts of data.

Type : complex, float, int, short

8 of 66

Arturo Rinaldi - The gr-bertool

Page 19: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 19/92

Random Source 2

The block generates a random array of unsignedinteger data with values spanning from 0 to 255 (weare working with 1-byte elements !).

We use it because is a more reliable source of 

random data compared to the one provided with theGNU Radio platform.

The only parameter fed to the block is the numberof samples (i.e. the length of the generated list of 

elements).

Type : complex, float, byte

9 of 66

Arturo Rinaldi - The gr-bertool

Page 20: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 20/92

Random Source 2

1 from g n u r a d i o i m p o r t g r23 i m p o r t random45 d e f  OnD a ta S ource ra ndom ( sa m pl es ) :6 s r c 1 = [ ]7 f o r i i n r a ng e ( sa mpl e s ) :8 d a t a = random . r a n d i n t ( 0 , 2 5 5 )9 s r c 1 . append ( d a t a )

10 r e t u r n s r c 11112 c l a s s r a n d o m s o u r c e b ( g r . h i e r b l o c k 2 ) :1314 d e f  i n i t ( s e l f , n u m be r s a m pl e s ) :1516 g r . h i e r b l o c k 2 . i n i t ( s e l f , ” r a n d o m s o u r c e b ” ,17 g r . i o s i g n a t u r e ( 0 , 0 , 0 ) ,18 g r . i o s i g n a t u r e ( 1 , 1 , g r . s i z e o f c h a r ) )1920 d a t a s a m p l e s = OnData Source ra ndom ( n u m b e r s a m p l e s )

2122 s e l f . v e c t o r = g r . v e c t o r s o u r c e b ( d a t a s a m p l e s , True , 1 )2324 s e l f . c o n n e c t ( s e l f . v e c t o r , s e l f )

10 of 66

Arturo Rinaldi - The gr-bertool

Page 21: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 21/92

Random Source - The easy way

The block generates a random array of unsignedinteger data.

It is a more direct implementation compared to theone we have just seen.

We feed it with the data list (of unsigned integer of course) and we also set to Yes the repeat optionsince we need a constant stream of data.

Let’s see how to build the data array this time....

11 of 66

Arturo Rinaldi - The gr-bertool

Page 22: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 22/92

Random Source - The easy way

1 f ro m g n u r a d i o i m p o r t g r23 i m p o r t numpy45 d a t a = map ( i n t , numpy . r an do m . r a n d i n t ( 0 , 2 5 6 , 6 e 5 ) )67 v e c t o r = g r . v e c t o r s o u r c e b ( d at a , True , 1 )

12 of 66

Arturo Rinaldi - The gr-bertool

Page 23: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 23/92

Packed to Unpacked

The block returns sequences of packed bytesaccording to the integer number we set to the Bitsper Chunk argument.

It is possible to set the Endianness of the outputsequences according to Big (MSB) or Little (LSB)a.

So let’s assume we have this binary sequence11100001. If we feed it to the block we’ll get fourbinary sequences, specifically :• 00000011

• 00000010

• 00000000

• 00000001

Type : int, short, byte

aJohathan Swift, “Gulliver’s Travels”13 of 66

Arturo Rinaldi - The gr-bertool

Page 24: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 24/92

Map

We usually exploit this block every time we want toperform Gray Coding on the symbols of a digitalmodulation.

For a 2-bit symbols modulation :• Binary to Gray sequence : [0,1,3,2]

• Gray to Binary sequence : [0,1,3,2]

For a 3-bit symbols modulation :• Binary to Gray sequence : [0,1,3,2,7,6,4,5]

• Gray to Binary sequence : [0,1,3,2,6,7,5,4]

Type : byte

14 of 66

Arturo Rinaldi - The gr-bertool

Page 25: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 25/92

Constellation Decoder - 1

It could be seem strange feeding the same codingnumeric sequence when un-gray a constellation.However, this is due to how GNU Radio works and inparticular how the Constellation Decoder blockoperates over the signal points.

So, once you have assigned the correct SymbolValue Out (i.e. for a QPSK constellation is[0,1,2,3]), you have to scramble the SymbolPosition values again to perform a correct decoding.

You can take care of this by using a cascading link tothe Map block again and feeding it with theoriginary coding sequence.

15 of 66

Arturo Rinaldi - The gr-bertool

Page 26: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 26/92

Constellation Decoder - 2

Please also note that all our work is based on the ”old” version of thegr constellation decoder block. In fact, the version we have just dealtwith is the one taken from the GNU Radio 3.4.2 tarball and built again as acustom block with the cmake custom wrapper you can usually find inside atarball1.

This however is nowadays considered an old-school method since the latesttarballs provide the “Swiss-army knife” tool called gr-modtool, which willgenerate the skeleton of your new custom package.

1This is true for tarball version ranging from 3.5.0 to 3.6.5.1

16 of 66

Arturo Rinaldi - The gr-bertool

Page 27: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 27/92

Chunks to Symbols

Once we have set the coding on our binary sequences(the ones from the Packed to Unpacked block) wecan assign the points of the constellation to them.

So for example, if we want to build a BPSKconstellation we will assign the points [-1,1] to theSymbols Table.

Otherwise if we want to build a QPSK constellationwe will assign these other points :

[1+1j,-1+1j,-1-1j,1-1j]Input type : int, short, byteOutput type : complex, float

17 of 66

Arturo Rinaldi - The gr-bertool

Page 28: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 28/92

Throttle

We usually use this block to limit the cpu load whenoperating with non-audio or non-usrp sources/sinks.

This means that our system won’t freeze or beoverloaded by the GNU Radio engine.

If by any chance we forget it to put it in our flowgraph, we will be warned about it runtime.

Type : complex, float, int, short, byte

18 of 66

Arturo Rinaldi - The gr-bertool

Page 29: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 29/92

WX GUI Slider

It’s a simple slider making part of the GNU RadioGUIs. We can use to vary at runtime the value of certain variable we have previously set.

We will mostly use this slider to set the E b /N 0 value

in our simulations.

We are also able to set the Default Value (it isusually a float one), and the number of stepsbetween the Maximum and Minimum value of the

variable itself.

19 of 66

Arturo Rinaldi - The gr-bertool

Page 30: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 30/92

WX GUI Scope Sink

The WX GUI Scope Sink is a simple graphical sinkto show our generated waveforms or digitalconstellations as well.

At runtime, you will notice that is provided withbuttons to set the X and Y axis divisions and theiroffset as well.

Be sure to set XY Mode to On when working withdigital constellations or any complex stream of datato show both the orthogonal components in the

correct way.

Type : complex, float

20 of 66

Arturo Rinaldi - The gr-bertool

Page 31: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 31/92

Unpacked to Packed

Basically, this block exactly works in the reverse wayof the Packed to Unpacked block we saw a coupleof slides ago.

Remembering the four binary sequences, which were“splitted” from the original one :• 00000011

• 00000010

• 00000000

• 00000001

they will be reverted to the original transmitted

binary sequence 11100001.

Type : int, short, byte

21 of 66

Arturo Rinaldi - The gr-bertool

Page 32: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 32/92

Import

The Import block allows us to import the installedpython libraries or even some custom code residingin your PYTHONPATH(s).

Some common examples of imports into the block

are :• Import: numpy

• Import: scipy

• Import: <my-code>

and so on.

22 of 66

Arturo Rinaldi - The gr-bertool

Page 33: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 33/92

WX GUI Number Sink

The WX GUI Number Sink is a simple graphicalsink to display the result of a numeric calculation of a GNU Radio flow graph.

We also might feed it,for example, with a constant

source (depending on a variable) to have a numericreference to compare with a real-time result.

You can also set the number of the decimal digits soto get more accuracy in the displayed result.

Type : complex, float

23 of 66

Arturo Rinaldi - The gr-bertool

Page 34: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 34/92

BER and SER calculation

These ones are the blocks for the BER and SERcalculation of the digital modulation. We usuallyfeed their inputs with the reference and the decodedstream of data.

Please note that we have only to specify the numberof  Bits per Symbol only in the BER block.

It is also recommended to set number of samples of Window Size to 600k or 1M (and of the input datastreams as well) to get an accurate measure of the

error rates.

Input type : byteOutput Type : float

24 of 66

Arturo Rinaldi - The gr-bertool

Page 35: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 35/92

Now let’s build a QPSKconstellation together ! ! !

25 of 66

Arturo Rinaldi - The gr-bertool

Page 36: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 36/92

Click on the GRC icon in your menu bar

or just type from your local shell :

$ gnuradio-companion &

26 of 66

Arturo Rinaldi - The gr-bertool

Page 37: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 37/92

map(int, numpy.random.randint(0, 256, 6e5))

1+1j, -1+1j, -1-1j, 1-1j27 of 66

Arturo Rinaldi - The gr-bertool

Page 38: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 38/92

The developed tool :gr-bertool

28 of 66

Arturo Rinaldi - The gr-bertool

Page 39: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 39/92

The developed tool : gr-bertool

• The tool main GUI

29 of 66

Arturo Rinaldi - The gr-bertool

Page 40: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 40/92

The developed tool : gr-bertool

• BER experimental verification

30 of 66

Arturo Rinaldi - The gr-bertool

Page 41: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 41/92

The developed tool : gr-bertool

• Real-Time BER experimental verification

31 of 66

Arturo Rinaldi - The gr-bertool

Page 42: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 42/92

The developed tool : gr-bertool

• Complementary tools

32 of 66

Arturo Rinaldi - The gr-bertool

Page 43: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 43/92

The BER Calculation

33 of 66

Arturo Rinaldi - The gr-bertool

Page 44: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 44/92

BER experimental verification

• The Bit Error Rate (BER) of a digital modulation, is the number of biterrors divided by the total number of transferred bits during a studiedtime interval

34 of 66

Arturo Rinaldi - The gr-bertool

Page 45: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 45/92

BER experimental verification

• The Bit Error Rate (BER) of a digital modulation, is the number of biterrors divided by the total number of transferred bits during a studiedtime interval

• Let’s verify the BER theoretical values with the experimental ones byvarying the signal-to-noise ratio E b /N 0

34 of 66

Arturo Rinaldi - The gr-bertool

Page 46: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 46/92

BER experimental verification

• The Bit Error Rate (BER) of a digital modulation, is the number of biterrors divided by the total number of transferred bits during a studiedtime interval

• Let’s verify the BER theoretical values with the experimental ones byvarying the signal-to-noise ratio E b /N 0

• From digital communications theory is well known that for a Q-PSKmodulation the Bit Error Rate is given by :

P b  = Q 

 

2E b 

N 0

34 of 66

Arturo Rinaldi - The gr-bertool

Page 47: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 47/92

BER experimental verification

• This set of tools calculates the BER ina range of E b /N 0 values given by min

and max  with the opportunity tochoose the increase step size

35 of 66

Arturo Rinaldi - The gr-bertool

Page 48: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 48/92

BER experimental verification

• This set of tools calculates the BER ina range of E b /N 0 values given by min

and max  with the opportunity tochoose the increase step size

• We can enable or disable the GrayCoding

35 of 66

Arturo Rinaldi - The gr-bertool

Page 49: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 49/92

BER experimental verification

• This set of tools calculates the BER ina range of E b /N 0 values given by min

and max  with the opportunity tochoose the increase step size

• We can enable or disable the GrayCoding

• By clicking on the Plot button the BERcurves are showed in a simple BER vsE b /N 0 diagram

35 of 66

Arturo Rinaldi - The gr-bertool

Page 50: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 50/92

BER experimental verification

We can see a perfect agreement between the theoretical results and theexperimental ones :

(a) BER AWGN BPSK (b) BER AWGN Q-PSK (c) BER AWGN 8-PSK

36 of 66

Arturo Rinaldi - The gr-bertool

Page 51: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 51/92

BER experimental verification

Let’s try it together ! ! !

37 of 66

Arturo Rinaldi - The gr-bertool

Page 52: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 52/92

The Real-Time BER Calculation

38 of 66

Arturo Rinaldi - The gr-bertool

Page 53: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 53/92

Real-Time BER and signal constellation evolution

• This tool allow us to show the real-timeBER and signal constellation evolutionin the three different types of examinated transmission channels

39 of 66

Arturo Rinaldi - The gr-bertool

Page 54: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 54/92

Real-Time BER and signal constellation evolution

• This tool allow us to show the real-timeBER and signal constellation evolutionin the three different types of examinated transmission channels

• In the following example we’ll show the

BER evolution in the Rician Channel inthe range of E b /N 0 values going from−15 dB  to 0 dB 

39 of 66

Arturo Rinaldi - The gr-bertool

Page 55: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 55/92

Real-Time BER and signal constellation evolution

• This tool allow us to show the real-timeBER and signal constellation evolutionin the three different types of examinated transmission channels

• In the following example we’ll show the

BER evolution in the Rician Channel inthe range of E b /N 0 values going from−15 dB  to 0 dB 

• Once started the BER value settles tothe BER value corresponding to

E b /N 0 = 0 dB  about equal to ≈ 0.11

39 of 66

Arturo Rinaldi - The gr-bertool

Page 56: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 56/92

Real-Time BER and signal constellation evolution

• This tool allow us to show the real-timeBER and signal constellation evolutionin the three different types of examinated transmission channels

• In the following example we’ll show the

BER evolution in the Rician Channel inthe range of E b /N 0 values going from−15 dB  to 0 dB 

• Once started the BER value settles tothe BER value corresponding to

E b /N 0 = 0 dB  about equal to ≈ 0.11• Ch1 Experimental Value ; Ch2

Theoretical Value

39 of 66

Arturo Rinaldi - The gr-bertool

Page 57: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 57/92

Real-Time BER and signal constellation evolution

• This tool allow us to show the real-timeBER and signal constellation evolutionin the three different types of examinated transmission channels

• In the following example we’ll show the

BER evolution in the Rician Channel inthe range of E b /N 0 values going from−15 dB  to 0 dB 

• Once started the BER value settles tothe BER value corresponding to

E b /N 0 = 0 dB  about equal to ≈ 0.11• Ch1 Experimental Value ; Ch2

Theoretical Value

• Let’s see the evolution.... 39 of 66

Arturo Rinaldi - The gr-bertool

Page 58: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 58/92

Real-Time BER evolution

40 of 66

Arturo Rinaldi - The gr-bertool

Page 59: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 59/92

Real-Time BER evolution

41 of 66

Arturo Rinaldi - The gr-bertool

Page 60: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 60/92

Real-Time BER evolution

42 of 66

Arturo Rinaldi - The gr-bertool

Page 61: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 61/92

Real-Time BER evolution

43 of 66

Arturo Rinaldi - The gr-bertool

R l T BER l

Page 62: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 62/92

Real-Time BER evolution

44 of 66

Arturo Rinaldi - The gr-bertool

R l Ti BER l i

Page 63: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 63/92

Real-Time BER evolution

45 of 66

Arturo Rinaldi - The gr-bertool

Th i l ll i

Page 64: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 64/92

The signal constellation

• Let’s consider a generic transmission scheme for a TLC system.Tx RxTx Channel

m(t) s(t) r(t) d(t)

S D

Figure : Generic block diagram for a TLC system

46 of 66

Arturo Rinaldi - The gr-bertool

Th i l t ll ti

Page 65: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 65/92

The signal constellation

• Let’s consider a generic transmission scheme for a TLC system.Tx RxTx Channel

m(t) s(t) r(t) d(t)

S D

Figure : Generic block diagram for a TLC system

• In the absence fo any noise in the channel the generci transmittedsymbol s̄ i  will be correctly received. The plot of the received symbols isknows as “Constellation” of the digital modulation.

   

s̄0 (‘11’)   

s̄3 (‘01’)

   

s̄2 (‘00’)   

s̄1 (‘10’)

Figure : Constellation of a QPSK modulation46 of 66

Arturo Rinaldi - The gr-bertool

Th i l t ll ti

Page 66: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 66/92

The signal constellation

• The presence of noise in the channel modifies phase and amplitude of the transmitted symbols and so the received symbol r̄ i  is not onebelonging to the constellation showed before

   

s̄0 (‘11’)   

s̄3 (‘01’)

   

s̄2 (‘00’)   

s̄1 (‘10’)

r̄i

The transmitted  s̄i symbol is not 

correctly received 

47 of 66

Arturo Rinaldi - The gr-bertool

E ol tion of the Signal Constellation

Page 67: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 67/92

Evolution of the Signal Constellation

48 of 66

Arturo Rinaldi - The gr-bertool

Evolution of the Signal Constellation

Page 68: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 68/92

Evolution of the Signal Constellation

49 of 66

Arturo Rinaldi - The gr-bertool

Evolution of the Signal Constellation

Page 69: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 69/92

Evolution of the Signal Constellation

50 of 66

Arturo Rinaldi - The gr-bertool

Evolution of the Signal Constellation

Page 70: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 70/92

Evolution of the Signal Constellation

51 of 66

Arturo Rinaldi - The gr-bertool

Evolution of the Signal Constellation

Page 71: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 71/92

Evolution of the Signal Constellation

52 of 66

Arturo Rinaldi - The gr-bertool

Real-Time BER Evolution

Page 72: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 72/92

Real-Time BER Evolution

Let’s try it together ! ! !

53 of 66

Arturo Rinaldi - The gr-bertool

Page 73: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 73/92

Image Transmission

54 of 66

Arturo Rinaldi - The gr-bertool

Image Transmission

Page 74: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 74/92

Image Transmission

• This tool allow us to observe how themost common image formats areaffected by digital modulations

55 of 66

Arturo Rinaldi - The gr-bertool

Image Transmission

Page 75: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 75/92

Image Transmission

• This tool allow us to observe how themost common image formats areaffected by digital modulations

• We studied the effects over the

simulated channels (AWGN, Rayleigh eRician) for a fixed value of E b /N 0 = 0 dB  and Q-PSK digitalmodulation for a Jpeg image

55 of 66

Arturo Rinaldi - The gr-bertool

Image Transmission

Page 76: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 76/92

Image Transmission

• This tool allow us to observe how themost common image formats areaffected by digital modulations

• We studied the effects over the

simulated channels (AWGN, Rayleigh eRician) for a fixed value of E b /N 0 = 0 dB  and Q-PSK digitalmodulation for a Jpeg image

• Let’s see the results......

55 of 66

Arturo Rinaldi - The gr-bertool

Image Transmission : AWGN Channel

Page 77: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 77/92

g

(a) Original (b) AWGN

56 of 66

Arturo Rinaldi - The gr-bertool

Image Transmission : Rician Channel

Page 78: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 78/92

g

(c) Original (d) Rician

57 of 66

Arturo Rinaldi - The gr-bertool

Image Transmission : Rayleigh Channel

Page 79: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 79/92

g y g

(e) Original (f) Rayleigh

58 of 66

Arturo Rinaldi - The gr-bertool

Image Transmission

Page 80: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 80/92

g

Let’s try it together ! ! !

59 of 66

Arturo Rinaldi - The gr-bertool

Audio Transmission

Page 81: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 81/92

• This tool allow us to observe how themost common audio formats areaffected by digital modulations

60 of 66

Arturo Rinaldi - The gr-bertool

Audio Transmission

Page 82: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 82/92

• This tool allow us to observe how themost common audio formats areaffected by digital modulations

• We studied the effects over thesimulated channels (AWGN, Rayleigh e

Rician) for a fixed value of E b /N 0 = 10 dB  and Q-PSK digitalmodulation

60 of 66

Arturo Rinaldi - The gr-bertool

Audio Transmission

Page 83: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 83/92

• This tool allow us to observe how themost common audio formats areaffected by digital modulations

• We studied the effects over thesimulated channels (AWGN, Rayleigh e

Rician) for a fixed value of E b /N 0 = 10 dB  and Q-PSK digitalmodulation

• We took as sample the wav fileplay it sam.wav with the following

specifications :

60 of 66

Arturo Rinaldi - The gr-bertool

Audio Transmission

Page 84: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 84/92

Specifications of the sample file

play_it_sam.wav :

File Size: 1.76M

Bit Rate: 1.41M

Encoding: Signed PCM

Channels: 2 @ 16-bit

Samplerate: 44100Hz

Replaygain: off

Duration: 00:00:10.00

• Let’s see the results....

61 of 66

Arturo Rinaldi - The gr-bertool

Audio Transmission

Page 85: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 85/92

(g) Original (h) AWGN Channel

62 of 66

Arturo Rinaldi - The gr-bertool

Audio Transmission

Page 86: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 86/92

(i)Rician

(j)Rayleigh

63 of 66

Arturo Rinaldi - The gr-bertool

Page 87: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 87/92

Conclusions

64 of 66

Arturo Rinaldi - The gr-bertool

Conclusions

Page 88: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 88/92

Why using gr-bertool ? Advantages It’s an helpful tool for the teacher to use in TLC courses

65 of 66

Arturo Rinaldi - The gr-bertool

Conclusions

Page 89: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 89/92

Why using gr-bertool ? Advantages It’s an helpful tool for the teacher to use in TLC courses

The student can find a quick verification with the learnt notions duringclasses

65 of 66

Arturo Rinaldi - The gr-bertool

Conclusions

Page 90: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 90/92

Why using gr-bertool ? Advantages It’s an helpful tool for the teacher to use in TLC courses

The student can find a quick verification with the learnt notions duringclasses

It has an ”user-friendly” GUI

65 of 66

Arturo Rinaldi - The gr-bertool

Conclusions

Page 91: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 91/92

Why using gr-bertool ? Advantages It’s an helpful tool for the teacher to use in TLC courses

The student can find a quick verification with the learnt notions duringclasses

It has an ”user-friendly” GUI

It’s open-source !

65 of 66

Arturo Rinaldi - The gr-bertool

Contact Information

Page 92: BEST gr-bertool slides

7/27/2019 BEST gr-bertool slides

http://slidepdf.com/reader/full/best-gr-bertool-slides 92/92

Arturo RinaldiFreelance Collaborator @ DIECIIAddress : Dep. of Electronics Engineering (DIECII) C.da di Dio, 98166 Messina (Italy)E-mail : [email protected] : +39-090-3977376 ; Mobile : +39-340-5795584 (Whatsapp)Skype : arty.net ; Facebook : arty.netTwitter : artynet2 ; LinkedIn : Arturo Rinaldi

Prof. Giuseppe Campobello, Ph.D.Researcher in TelecommmunicationsAddress : Dep. of Electronics Engineering (DIECII) C.da di Dio, 98166 Messina (Italy) - Room: 636(block B, 6th floor)E-mail : [email protected] : +39-090-3977378

Prof. Salvatore Serrano, Ph.D.Researcher in Telecommmunications

Address : Dep. of Electronics Engineering (DIECII) C.da di Dio, 98166 Messina (Italy)E-mail : [email protected] : +39-090-3977522

66 of 66

Arturo Rinaldi - The gr-bertool


Top Related