SlideShare ist ein Scribd-Unternehmen logo
1 von 13
Downloaden Sie, um offline zu lesen
TELE3113 Analogue and Digital
          Communications – Quantization


                                        Wei Zhang
                                    w.zhang@unsw.edu.au



                   School of Electrical Engineering and Telecommunications
                              The University of New South Wales


TELE3113 - PCM   2 Sept. 2009                                                p. -1
Analog-to-Digital Conversion
    Goal: To transmit the analog signals by digital means              better performance

                 convert the analog signal into digital format (Pulse-Code Modulation)

     Analog           sampler           Quantizer          Encoder                              Digital
     signal                                                                                     signal
                                                             1111111
                                                             1111110
                                                             1111101
                                                             1111100    1111101 1111001 1111001 1111011 1111101 1111110 1111101 1111001
                                                             1111011
                                                             1111010      c8      c7      c6      c5      c4     c3      c2      c1
              x(t)                                           1111001
                                                             1111000

                                                                                                               time

                                time                time



       Sampling:         a continuous-time signal is sampled by measuring its
                         amplitude at discrete time instants.
       Quantizing: represents the sampled values of the amplitude by a finite set
                   of levels
       Encoding:         designates each quantized level by a digital code

TELE3113 - PCM   2 Sept. 2009                                                                                    p. -2
Reconstruction of Sampled Signal
                                1111101 11110011111001 1111011 1111101 1111110 11111011111001
     Received
     digital signal                c8       c7      c6   c5      c4      c3     c2      c1


                                                                 time

                                         decoding


     Recovered signal
     with discrete levels


                                        interpolation


      Recovered
      analog signal


TELE3113 - PCM   2 Sept. 2009                                                                   p. -3
Sampling

      Consider an analog signal x(t) which is bandlimited to B (Hz), that is:
                                 X ( f ) = 0 for | f |≥ B
      The sampling theorem states that x(t) can be sampled at intervals as
      large as 1/(2B) such that the it is possible to reconstruct x(t) from its
      samples, or the sampling rate fs=1/Ts can be as low as 2B.


                         x(t)                                                        1
                                                               f s ≥ 2B   or Ts ≤
                                                                                    2B
     Sampling rate fs=1/Ts

                                                            time
                          Sampling period   Ts

      Minimum required sampling rate=2B (Nyquist rate) i.e. 2B samples per second

      Sampling rate should be equal or greater than twice the highest frequency in
      the baseband signal.
TELE3113 - PCM   2 Sept. 2009                                                       p. -4
Analogue Pulse Modulation




            Pulse Amplitude
            Modulation



            Pulse Duration
            (Width) Modulation



            Pulse Position
            Modulation
TELE3113 - PCM   2 Sept. 2009            p. -5
Quantization
        After the sampling process, the sampled points will be transformed into a
        set of predefined levels (quantized level) Quantization
        Assume the signal amplitude of x(t) lies within [-Vmax ,+Vmax], we divide the
        total peak-to-peak range (2Vmax) into L levels in which the quantized
        levels mi (i=0,…,(L-1)) are defined as their respective mid-ways.
         Vmax                             xq(t)        x(t)
                                                                                                    Output
         m7                                                             ∆7
                                                                                                   m7= 7∆/2
         m6                                                             ∆6




                                                                                        uniform
                                                                                                   m6= 5∆/2
         m5                                                             ∆5                         m5= 3∆/2
         m4                                                             ∆4                         m4= ∆/2
         m3                                                             ∆3 time        −4∆ −3∆ −2∆ −∆         ∆ 2∆ 3∆ 4∆ Input
         m2                                                             ∆2
                                                                                                      −3∆/2
                                                                                                               uniform
         m1                                                             ∆1                            −5∆/2
         m0                                                             ∆0                            −7∆/2
         -Vmax
                                Sampling time
                                                                                                  Uniform quantizer
                                                                               2Vmax              (midrise type)
        For uniform quantization,               ∆ i ( i =0 ,L,( L −1)) = ∆ =
                                                                                 L                                       p. -6
TELE3113 - PCM   2 Sept. 2009
Quantization Noise (1)
  The quantized signal, xq(t) is an approximation of the original message signal, x(t).
                                                                           −∆             ∆
  Quantization error/noise: eq(t) ={x(t) - xq(t)} varies randomly within      ≤ eq (t ) ≤
                                                                            2             2

                                                      x(t)

                                                             xq(t)




                    eq(t) ={x(t) - xq(t)}
TELE3113 - PCM   2 Sept. 2009                                                       p. -7
Quantization Noise (2)
            Assume the quantization error varies uniformly within [-∆/2, ∆/2]
            with a pdf of f(eq)=1/∆, then
                             ∆ 2                             ∆ 2
                     2
                     q               [         ]
                   e (t ) = ∫ f (eq ) eq (t ) deq =
                                               2    1
                                                       ∫
                                                    ∆ −∆ 2
                                                               [ 2
                                                          eq (t ) deq  ]           Q f (eq ) =
                                                                                                 1
                                                                                                 ∆
                           −∆ 2

                                                         3    ∆ 2
                                                      1 eq             ∆2 Vmax
                                                                           2
                                                                                                     2Vmax
                                                    =                =   =              with ∆ =
                                                      ∆ 3     −∆ 2
                                                                       12 3L2                          L

            To minimize eq(t), we can use smaller ∆ or more quantized levels L.
                                                          2
            In general, the average power of a signal is x (t )                           or x 2 (t )

                                    x 2 (t )       3L2 x 2 (t )
                 average SNRx =      2
                                               =       2
                                    eq (t )           Vmax
                                             3L2 x 2 (t )                                       V2        
                 average SNRx (dB) = 10 log                          = 4.77 + 20 log L − 10 log 2max      
                                             Vmax
                                                  2
                                                                                                 x (t )    
                                                                                                          


TELE3113 - PCM    2 Sept. 2009                                                                                   p. -8
Quantization Noise (3)

                                                                                                 2
                                                                                                Vmax
        If x(t) is a full-scale sinusoidal signal, i.e. x(t)=Vmaxcosωt , then x (t ) = x (t ) =      2   2

                                                                                                 2
        Thus,
                 average SNRx (dB) = 4.77 + 20 log L − 10 log(2 ) = (1.76 + 20 log L ) dB




         If x(t) is uniformly distributed in the range [-Vmax,+Vmax], then pdf f(x)=1/(2Vmax),
                           Vmax                         Vmax
                                                  1                                            1
                  x (t ) = ∫ f ( x)[x(t )] dx =              ∫ [x(t )]2 dx
                                        2
                   2
                                                                               Q f (eq ) =
                          −Vmax
                                                2Vmax   −Vmax
                                                                                             2Vmax
                                                             Vmax
                                                1       x3               2
                                                                        Vmax
                                            =                         =
                                              2Vmax 3                    3
         Thus,                                                −Vmax


                  average SNRx (dB) = 4.77 + 20 log L − 10 log(3) = 20 log L dB



TELE3113 - PCM   2 Sept. 2009                                                                                p. -9
Non-uniform Quantization (1)
         In some cases, uniform quantization is not efficient.
         In speech communication, it is found (statistically) that smaller amplitudes
         predominate in speech and that larger amplitudes are relatively rare.
            many quantized levels are rarely used (wasteful !)
            Non-uniform quantization is more efficient.
                            xmax
                                                 x(t)
                      Quantized
                        levels




                                                                    time




                            -xmax


TELE3113 - PCM   2 Sept. 2009                                                   p. -10
Non-uniform Quantization (2)
         The non-uniform quantization can be achieved by first compressing the
         signal samples and then performing uniform quantization.
                                          Output
                                                   1




                                uniform
                                               ∆yi




                                                          ∆ si       1 Input
                                                                               x
                                                                      s =
                                                       Non-uniform          x max




                                              Compressor

        There exists more quantized levels for small x and fewer levels for larger x.


TELE3113 - PCM   2 Sept. 2009                                                       p. -11
Non-uniform Quantization (3)
 Input                                                     Uniform                                      Communication
             Sampler                  Compressor                                    Encoder
 signal                                                   Quantizer                                        Channel


                                                                                                          Received
                                       Decoder            Expander                  Interpolator
                                                                                                           signal


                            Output                                              Output




                                                                      Non-uniform
                  uniform




                               ∆ yi                                                  ∆si




                                           ∆si        Input                                                 Input
                                                                                                 ∆ yi
                                        Non-uniform                                            Uniform




                                  Compressor                                               Expander

TELE3113 - PCM   2 Sept. 2009                                                                                        p. -12
Non-uniform Quantization (4)
      Two common compression laws                               Α-law : 1 + ln  A x 
                                                                                     
                                                                                    
                                                                          
                                                                                  xmax  sgn( x ) for 1 ≤ x ≤ 1
      µ-law :                                                  y ( x) =      1 + ln A                A xmax
                               x
                  ln1 + µ
                    
                                    
                                                                          A
                             xmax                    x                                x                      x     1
          y ( x) =                  sgn( x) for          ≤1                           sgn( x )   for 0 ≤      ≤
                      ln (1 + µ )                   xmax                  1 + ln A xmax
                                                                                                           xmax   A




             Digital telephone system in North                            Digital telephone system in Europe
             America and Japan (µ=255)                                    (Α=87.6)
TELE3113 - PCM 2 Sept. 2009                                                                                  p. -13

Weitere ähnliche Inhalte

Was ist angesagt?

Chapter7 circuits
Chapter7 circuitsChapter7 circuits
Chapter7 circuits
Vin Voro
 
Tele4653 l2
Tele4653 l2Tele4653 l2
Tele4653 l2
Vin Voro
 
A_law_and_Microlaw_companding
A_law_and_Microlaw_compandingA_law_and_Microlaw_companding
A_law_and_Microlaw_companding
Akshay Sharma
 
D ecimation and interpolation
D ecimation and interpolationD ecimation and interpolation
D ecimation and interpolation
Suchi Verma
 

Was ist angesagt? (18)

DSP_FOEHU - Lec 07 - Digital Filters
DSP_FOEHU - Lec 07 - Digital FiltersDSP_FOEHU - Lec 07 - Digital Filters
DSP_FOEHU - Lec 07 - Digital Filters
 
Sampling theorem
Sampling theoremSampling theorem
Sampling theorem
 
48
4848
48
 
Simulating communication systems with MATLAB: An introduction
Simulating communication systems with MATLAB: An introductionSimulating communication systems with MATLAB: An introduction
Simulating communication systems with MATLAB: An introduction
 
Dsp U Lec10 DFT And FFT
Dsp U   Lec10  DFT And  FFTDsp U   Lec10  DFT And  FFT
Dsp U Lec10 DFT And FFT
 
Sem1 plt xp_02
Sem1 plt xp_02Sem1 plt xp_02
Sem1 plt xp_02
 
Lo2520082015
Lo2520082015Lo2520082015
Lo2520082015
 
DSP_2018_FOEHU - Lec 07 - IIR Filter Design
DSP_2018_FOEHU - Lec 07 - IIR Filter DesignDSP_2018_FOEHU - Lec 07 - IIR Filter Design
DSP_2018_FOEHU - Lec 07 - IIR Filter Design
 
Muri
MuriMuri
Muri
 
Chapter7 circuits
Chapter7 circuitsChapter7 circuits
Chapter7 circuits
 
Tele4653 l2
Tele4653 l2Tele4653 l2
Tele4653 l2
 
Solved problems
Solved problemsSolved problems
Solved problems
 
DSP_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_FOEHU - Lec 08 - The Discrete Fourier TransformDSP_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_FOEHU - Lec 08 - The Discrete Fourier Transform
 
An Optimized Transform for ECG Signal Compression
An Optimized Transform for ECG Signal CompressionAn Optimized Transform for ECG Signal Compression
An Optimized Transform for ECG Signal Compression
 
A_law_and_Microlaw_companding
A_law_and_Microlaw_compandingA_law_and_Microlaw_companding
A_law_and_Microlaw_companding
 
D ecimation and interpolation
D ecimation and interpolationD ecimation and interpolation
D ecimation and interpolation
 
Dft,fft,windowing
Dft,fft,windowingDft,fft,windowing
Dft,fft,windowing
 
Adm
AdmAdm
Adm
 

Andere mochten auch

Spartups Meeting Template
Spartups Meeting TemplateSpartups Meeting Template
Spartups Meeting Template
Saif Akhtar
 
dMT SPC Presentation Cranes & other-engl.
dMT SPC Presentation Cranes & other-engl.dMT SPC Presentation Cranes & other-engl.
dMT SPC Presentation Cranes & other-engl.
dmtgms
 
webAssist Online Advertising Seminar
webAssist Online Advertising SeminarwebAssist Online Advertising Seminar
webAssist Online Advertising Seminar
webAssistca
 
http://accountants.inboxhilllocalarea.com/
http://accountants.inboxhilllocalarea.com/http://accountants.inboxhilllocalarea.com/
http://accountants.inboxhilllocalarea.com/
accountantsbh
 
Kamaroninfo núm. 22 febrer 1998
Kamaroninfo núm. 22 febrer 1998Kamaroninfo núm. 22 febrer 1998
Kamaroninfo núm. 22 febrer 1998
Josep Miquel
 
2007_1
2007_12007_1
2007_1
Diveon
 
Căn hộ vạn hưng phát quận 8
Căn hộ vạn hưng phát quận 8Căn hộ vạn hưng phát quận 8
Căn hộ vạn hưng phát quận 8
tranduyen76
 

Andere mochten auch (20)

Mp3 player working by digital signal processing
Mp3 player working by digital signal processingMp3 player working by digital signal processing
Mp3 player working by digital signal processing
 
Slides2 The Communication System midterm Slides
Slides2  The Communication System midterm SlidesSlides2  The Communication System midterm Slides
Slides2 The Communication System midterm Slides
 
EEP306: Delta modulation
EEP306: Delta modulationEEP306: Delta modulation
EEP306: Delta modulation
 
PULSE CODE MODULATION (PCM)
PULSE CODE MODULATION (PCM)PULSE CODE MODULATION (PCM)
PULSE CODE MODULATION (PCM)
 
General Applications Info.-E
General Applications Info.-EGeneral Applications Info.-E
General Applications Info.-E
 
Digitaal leermateriaal op school
Digitaal leermateriaal op school Digitaal leermateriaal op school
Digitaal leermateriaal op school
 
Spartups Meeting Template
Spartups Meeting TemplateSpartups Meeting Template
Spartups Meeting Template
 
From Performance to Health: Wearables for the Rest of Us.
From Performance to Health: Wearables for the Rest of Us.From Performance to Health: Wearables for the Rest of Us.
From Performance to Health: Wearables for the Rest of Us.
 
dMT SPC Presentation Cranes & other-engl.
dMT SPC Presentation Cranes & other-engl.dMT SPC Presentation Cranes & other-engl.
dMT SPC Presentation Cranes & other-engl.
 
webAssist Online Advertising Seminar
webAssist Online Advertising SeminarwebAssist Online Advertising Seminar
webAssist Online Advertising Seminar
 
Arrangeren
ArrangerenArrangeren
Arrangeren
 
44th AES conference (2011)
44th AES conference (2011)44th AES conference (2011)
44th AES conference (2011)
 
Prof. David Coggon: Environmental health hazards
Prof. David Coggon: Environmental health hazardsProf. David Coggon: Environmental health hazards
Prof. David Coggon: Environmental health hazards
 
http://accountants.inboxhilllocalarea.com/
http://accountants.inboxhilllocalarea.com/http://accountants.inboxhilllocalarea.com/
http://accountants.inboxhilllocalarea.com/
 
আত্ম সচেতনতা অর্জনের সূত্র
আত্ম সচেতনতা অর্জনের সূত্র আত্ম সচেতনতা অর্জনের সূত্র
আত্ম সচেতনতা অর্জনের সূত্র
 
2015 04-22 nije metoade frysk
2015 04-22 nije metoade frysk2015 04-22 nije metoade frysk
2015 04-22 nije metoade frysk
 
Mallorca
Mallorca Mallorca
Mallorca
 
Kamaroninfo núm. 22 febrer 1998
Kamaroninfo núm. 22 febrer 1998Kamaroninfo núm. 22 febrer 1998
Kamaroninfo núm. 22 febrer 1998
 
2007_1
2007_12007_1
2007_1
 
Căn hộ vạn hưng phát quận 8
Căn hộ vạn hưng phát quận 8Căn hộ vạn hưng phát quận 8
Căn hộ vạn hưng phát quận 8
 

Ähnlich wie Tele3113 wk7wed

Speech signal time frequency representation
Speech signal time frequency representationSpeech signal time frequency representation
Speech signal time frequency representation
Nikolay Karpov
 
Tele3113 tut2
Tele3113 tut2Tele3113 tut2
Tele3113 tut2
Vin Voro
 
Tele3113 tut4
Tele3113 tut4Tele3113 tut4
Tele3113 tut4
Vin Voro
 
Digital communication
Digital communicationDigital communication
Digital communication
meashi
 
Matlab 2
Matlab 2Matlab 2
Matlab 2
asguna
 
Performances des turbo codes parallèles pour un canal satellite non linéaire
Performances des turbo codes parallèles pour un canal satellite non linéairePerformances des turbo codes parallèles pour un canal satellite non linéaire
Performances des turbo codes parallèles pour un canal satellite non linéaire
Rachidz
 
Correlative level coding
Correlative level codingCorrelative level coding
Correlative level coding
srkrishna341
 

Ähnlich wie Tele3113 wk7wed (20)

Analog to-digital conversion
Analog to-digital conversionAnalog to-digital conversion
Analog to-digital conversion
 
Speech signal time frequency representation
Speech signal time frequency representationSpeech signal time frequency representation
Speech signal time frequency representation
 
Basic concepts
Basic conceptsBasic concepts
Basic concepts
 
CHƯƠNG 2 KỸ THUẬT TRUYỀN DẪN SỐ - THONG TIN SỐ
CHƯƠNG 2 KỸ THUẬT TRUYỀN DẪN SỐ - THONG TIN SỐCHƯƠNG 2 KỸ THUẬT TRUYỀN DẪN SỐ - THONG TIN SỐ
CHƯƠNG 2 KỸ THUẬT TRUYỀN DẪN SỐ - THONG TIN SỐ
 
DSP Lab 1-6.pdf
DSP Lab 1-6.pdfDSP Lab 1-6.pdf
DSP Lab 1-6.pdf
 
Tele3113 tut2
Tele3113 tut2Tele3113 tut2
Tele3113 tut2
 
UPDATED Sampling Lecture (2).pptx
UPDATED Sampling Lecture (2).pptxUPDATED Sampling Lecture (2).pptx
UPDATED Sampling Lecture (2).pptx
 
Asp unit 1.pdf
Asp unit 1.pdfAsp unit 1.pdf
Asp unit 1.pdf
 
Tele3113 tut4
Tele3113 tut4Tele3113 tut4
Tele3113 tut4
 
Digital communication coding Lectures Slides.ppt
Digital communication coding Lectures Slides.pptDigital communication coding Lectures Slides.ppt
Digital communication coding Lectures Slides.ppt
 
Communication system lec5
Communication system  lec5Communication system  lec5
Communication system lec5
 
Signal and image processing on satellite communication using MATLAB
Signal and image processing on satellite communication using MATLABSignal and image processing on satellite communication using MATLAB
Signal and image processing on satellite communication using MATLAB
 
Digital communication
Digital communicationDigital communication
Digital communication
 
Matlab 2
Matlab 2Matlab 2
Matlab 2
 
Performances des turbo codes parallèles pour un canal satellite non linéaire
Performances des turbo codes parallèles pour un canal satellite non linéairePerformances des turbo codes parallèles pour un canal satellite non linéaire
Performances des turbo codes parallèles pour un canal satellite non linéaire
 
dsp
dspdsp
dsp
 
Sampling and Reconstruction of Signal using Aliasing
Sampling and Reconstruction of Signal using AliasingSampling and Reconstruction of Signal using Aliasing
Sampling and Reconstruction of Signal using Aliasing
 
Lecture_ch6.pptx
Lecture_ch6.pptxLecture_ch6.pptx
Lecture_ch6.pptx
 
Correlative level coding
Correlative level codingCorrelative level coding
Correlative level coding
 
Fft
FftFft
Fft
 

Mehr von Vin Voro

Tele3113 tut6
Tele3113 tut6Tele3113 tut6
Tele3113 tut6
Vin Voro
 
Tele3113 tut5
Tele3113 tut5Tele3113 tut5
Tele3113 tut5
Vin Voro
 
Tele3113 tut1
Tele3113 tut1Tele3113 tut1
Tele3113 tut1
Vin Voro
 
Tele3113 tut3
Tele3113 tut3Tele3113 tut3
Tele3113 tut3
Vin Voro
 
Tele3113 wk11tue
Tele3113 wk11tueTele3113 wk11tue
Tele3113 wk11tue
Vin Voro
 
Tele3113 wk10wed
Tele3113 wk10wedTele3113 wk10wed
Tele3113 wk10wed
Vin Voro
 
Tele3113 wk10tue
Tele3113 wk10tueTele3113 wk10tue
Tele3113 wk10tue
Vin Voro
 
Tele3113 wk11wed
Tele3113 wk11wedTele3113 wk11wed
Tele3113 wk11wed
Vin Voro
 
Tele3113 wk7wed
Tele3113 wk7wedTele3113 wk7wed
Tele3113 wk7wed
Vin Voro
 
Tele3113 wk9tue
Tele3113 wk9tueTele3113 wk9tue
Tele3113 wk9tue
Vin Voro
 
Tele3113 wk7wed
Tele3113 wk7wedTele3113 wk7wed
Tele3113 wk7wed
Vin Voro
 
Tele3113 wk7tue
Tele3113 wk7tueTele3113 wk7tue
Tele3113 wk7tue
Vin Voro
 
Tele3113 wk6wed
Tele3113 wk6wedTele3113 wk6wed
Tele3113 wk6wed
Vin Voro
 
Tele3113 wk6tue
Tele3113 wk6tueTele3113 wk6tue
Tele3113 wk6tue
Vin Voro
 
Tele3113 wk5tue
Tele3113 wk5tueTele3113 wk5tue
Tele3113 wk5tue
Vin Voro
 
Tele3113 wk4wed
Tele3113 wk4wedTele3113 wk4wed
Tele3113 wk4wed
Vin Voro
 
Tele3113 wk4tue
Tele3113 wk4tueTele3113 wk4tue
Tele3113 wk4tue
Vin Voro
 
Tele3113 wk5wed
Tele3113 wk5wedTele3113 wk5wed
Tele3113 wk5wed
Vin Voro
 
Tele3113 wk2tue
Tele3113 wk2tueTele3113 wk2tue
Tele3113 wk2tue
Vin Voro
 
Tele3113 wk1tue
Tele3113 wk1tueTele3113 wk1tue
Tele3113 wk1tue
Vin Voro
 

Mehr von Vin Voro (20)

Tele3113 tut6
Tele3113 tut6Tele3113 tut6
Tele3113 tut6
 
Tele3113 tut5
Tele3113 tut5Tele3113 tut5
Tele3113 tut5
 
Tele3113 tut1
Tele3113 tut1Tele3113 tut1
Tele3113 tut1
 
Tele3113 tut3
Tele3113 tut3Tele3113 tut3
Tele3113 tut3
 
Tele3113 wk11tue
Tele3113 wk11tueTele3113 wk11tue
Tele3113 wk11tue
 
Tele3113 wk10wed
Tele3113 wk10wedTele3113 wk10wed
Tele3113 wk10wed
 
Tele3113 wk10tue
Tele3113 wk10tueTele3113 wk10tue
Tele3113 wk10tue
 
Tele3113 wk11wed
Tele3113 wk11wedTele3113 wk11wed
Tele3113 wk11wed
 
Tele3113 wk7wed
Tele3113 wk7wedTele3113 wk7wed
Tele3113 wk7wed
 
Tele3113 wk9tue
Tele3113 wk9tueTele3113 wk9tue
Tele3113 wk9tue
 
Tele3113 wk7wed
Tele3113 wk7wedTele3113 wk7wed
Tele3113 wk7wed
 
Tele3113 wk7tue
Tele3113 wk7tueTele3113 wk7tue
Tele3113 wk7tue
 
Tele3113 wk6wed
Tele3113 wk6wedTele3113 wk6wed
Tele3113 wk6wed
 
Tele3113 wk6tue
Tele3113 wk6tueTele3113 wk6tue
Tele3113 wk6tue
 
Tele3113 wk5tue
Tele3113 wk5tueTele3113 wk5tue
Tele3113 wk5tue
 
Tele3113 wk4wed
Tele3113 wk4wedTele3113 wk4wed
Tele3113 wk4wed
 
Tele3113 wk4tue
Tele3113 wk4tueTele3113 wk4tue
Tele3113 wk4tue
 
Tele3113 wk5wed
Tele3113 wk5wedTele3113 wk5wed
Tele3113 wk5wed
 
Tele3113 wk2tue
Tele3113 wk2tueTele3113 wk2tue
Tele3113 wk2tue
 
Tele3113 wk1tue
Tele3113 wk1tueTele3113 wk1tue
Tele3113 wk1tue
 

Kürzlich hochgeladen

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 

Kürzlich hochgeladen (20)

ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 

Tele3113 wk7wed

  • 1. TELE3113 Analogue and Digital Communications – Quantization Wei Zhang w.zhang@unsw.edu.au School of Electrical Engineering and Telecommunications The University of New South Wales TELE3113 - PCM 2 Sept. 2009 p. -1
  • 2. Analog-to-Digital Conversion Goal: To transmit the analog signals by digital means better performance convert the analog signal into digital format (Pulse-Code Modulation) Analog sampler Quantizer Encoder Digital signal signal 1111111 1111110 1111101 1111100 1111101 1111001 1111001 1111011 1111101 1111110 1111101 1111001 1111011 1111010 c8 c7 c6 c5 c4 c3 c2 c1 x(t) 1111001 1111000 time time time Sampling: a continuous-time signal is sampled by measuring its amplitude at discrete time instants. Quantizing: represents the sampled values of the amplitude by a finite set of levels Encoding: designates each quantized level by a digital code TELE3113 - PCM 2 Sept. 2009 p. -2
  • 3. Reconstruction of Sampled Signal 1111101 11110011111001 1111011 1111101 1111110 11111011111001 Received digital signal c8 c7 c6 c5 c4 c3 c2 c1 time decoding Recovered signal with discrete levels interpolation Recovered analog signal TELE3113 - PCM 2 Sept. 2009 p. -3
  • 4. Sampling Consider an analog signal x(t) which is bandlimited to B (Hz), that is: X ( f ) = 0 for | f |≥ B The sampling theorem states that x(t) can be sampled at intervals as large as 1/(2B) such that the it is possible to reconstruct x(t) from its samples, or the sampling rate fs=1/Ts can be as low as 2B. x(t) 1 f s ≥ 2B or Ts ≤ 2B Sampling rate fs=1/Ts time Sampling period Ts Minimum required sampling rate=2B (Nyquist rate) i.e. 2B samples per second Sampling rate should be equal or greater than twice the highest frequency in the baseband signal. TELE3113 - PCM 2 Sept. 2009 p. -4
  • 5. Analogue Pulse Modulation Pulse Amplitude Modulation Pulse Duration (Width) Modulation Pulse Position Modulation TELE3113 - PCM 2 Sept. 2009 p. -5
  • 6. Quantization After the sampling process, the sampled points will be transformed into a set of predefined levels (quantized level) Quantization Assume the signal amplitude of x(t) lies within [-Vmax ,+Vmax], we divide the total peak-to-peak range (2Vmax) into L levels in which the quantized levels mi (i=0,…,(L-1)) are defined as their respective mid-ways. Vmax xq(t) x(t) Output m7 ∆7 m7= 7∆/2 m6 ∆6 uniform m6= 5∆/2 m5 ∆5 m5= 3∆/2 m4 ∆4 m4= ∆/2 m3 ∆3 time −4∆ −3∆ −2∆ −∆ ∆ 2∆ 3∆ 4∆ Input m2 ∆2 −3∆/2 uniform m1 ∆1 −5∆/2 m0 ∆0 −7∆/2 -Vmax Sampling time Uniform quantizer 2Vmax (midrise type) For uniform quantization, ∆ i ( i =0 ,L,( L −1)) = ∆ = L p. -6 TELE3113 - PCM 2 Sept. 2009
  • 7. Quantization Noise (1) The quantized signal, xq(t) is an approximation of the original message signal, x(t). −∆ ∆ Quantization error/noise: eq(t) ={x(t) - xq(t)} varies randomly within ≤ eq (t ) ≤ 2 2 x(t) xq(t) eq(t) ={x(t) - xq(t)} TELE3113 - PCM 2 Sept. 2009 p. -7
  • 8. Quantization Noise (2) Assume the quantization error varies uniformly within [-∆/2, ∆/2] with a pdf of f(eq)=1/∆, then ∆ 2 ∆ 2 2 q [ ] e (t ) = ∫ f (eq ) eq (t ) deq = 2 1 ∫ ∆ −∆ 2 [ 2 eq (t ) deq ] Q f (eq ) = 1 ∆ −∆ 2 3 ∆ 2 1 eq ∆2 Vmax 2 2Vmax = = = with ∆ = ∆ 3 −∆ 2 12 3L2 L To minimize eq(t), we can use smaller ∆ or more quantized levels L. 2 In general, the average power of a signal is x (t ) or x 2 (t ) x 2 (t ) 3L2 x 2 (t ) average SNRx = 2 = 2 eq (t ) Vmax  3L2 x 2 (t )   V2  average SNRx (dB) = 10 log   = 4.77 + 20 log L − 10 log 2max   Vmax 2   x (t )      TELE3113 - PCM 2 Sept. 2009 p. -8
  • 9. Quantization Noise (3) 2 Vmax If x(t) is a full-scale sinusoidal signal, i.e. x(t)=Vmaxcosωt , then x (t ) = x (t ) = 2 2 2 Thus, average SNRx (dB) = 4.77 + 20 log L − 10 log(2 ) = (1.76 + 20 log L ) dB If x(t) is uniformly distributed in the range [-Vmax,+Vmax], then pdf f(x)=1/(2Vmax), Vmax Vmax 1 1 x (t ) = ∫ f ( x)[x(t )] dx = ∫ [x(t )]2 dx 2 2 Q f (eq ) = −Vmax 2Vmax −Vmax 2Vmax Vmax 1 x3 2 Vmax = = 2Vmax 3 3 Thus, −Vmax average SNRx (dB) = 4.77 + 20 log L − 10 log(3) = 20 log L dB TELE3113 - PCM 2 Sept. 2009 p. -9
  • 10. Non-uniform Quantization (1) In some cases, uniform quantization is not efficient. In speech communication, it is found (statistically) that smaller amplitudes predominate in speech and that larger amplitudes are relatively rare. many quantized levels are rarely used (wasteful !) Non-uniform quantization is more efficient. xmax x(t) Quantized levels time -xmax TELE3113 - PCM 2 Sept. 2009 p. -10
  • 11. Non-uniform Quantization (2) The non-uniform quantization can be achieved by first compressing the signal samples and then performing uniform quantization. Output 1 uniform ∆yi ∆ si 1 Input x s = Non-uniform x max Compressor There exists more quantized levels for small x and fewer levels for larger x. TELE3113 - PCM 2 Sept. 2009 p. -11
  • 12. Non-uniform Quantization (3) Input Uniform Communication Sampler Compressor Encoder signal Quantizer Channel Received Decoder Expander Interpolator signal Output Output Non-uniform uniform ∆ yi ∆si ∆si Input Input ∆ yi Non-uniform Uniform Compressor Expander TELE3113 - PCM 2 Sept. 2009 p. -12
  • 13. Non-uniform Quantization (4) Two common compression laws Α-law : 1 + ln  A x          xmax  sgn( x ) for 1 ≤ x ≤ 1 µ-law :   y ( x) =  1 + ln A A xmax x ln1 + µ     A xmax x x x 1 y ( x) =   sgn( x) for ≤1  sgn( x ) for 0 ≤ ≤ ln (1 + µ ) xmax 1 + ln A xmax  xmax A Digital telephone system in North Digital telephone system in Europe America and Japan (µ=255) (Α=87.6) TELE3113 - PCM 2 Sept. 2009 p. -13