SlideShare une entreprise Scribd logo
1  sur  13
Télécharger pour lire hors ligne
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

Contenu connexe

Tendances

DSP_FOEHU - Lec 07 - Digital Filters
DSP_FOEHU - Lec 07 - Digital FiltersDSP_FOEHU - Lec 07 - Digital Filters
DSP_FOEHU - Lec 07 - Digital FiltersAmr E. Mohamed
 
Dsp U Lec10 DFT And FFT
Dsp U   Lec10  DFT And  FFTDsp U   Lec10  DFT And  FFT
Dsp U Lec10 DFT And FFTtaha25
 
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 introductionAniruddha Chandra
 
Sem1 plt xp_02
Sem1 plt xp_02Sem1 plt xp_02
Sem1 plt xp_02Niit Care
 
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 DesignAmr E. Mohamed
 
Chapter7 circuits
Chapter7 circuitsChapter7 circuits
Chapter7 circuitsVin Voro
 
Tele4653 l2
Tele4653 l2Tele4653 l2
Tele4653 l2Vin Voro
 
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 TransformAmr E. Mohamed
 
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 CompressionIDES Editor
 
A_law_and_Microlaw_companding
A_law_and_Microlaw_compandingA_law_and_Microlaw_companding
A_law_and_Microlaw_compandingAkshay Sharma
 
D ecimation and interpolation
D ecimation and interpolationD ecimation and interpolation
D ecimation and interpolationSuchi Verma
 

Tendances (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
 
Dsp U Lec10 DFT And FFT
Dsp U   Lec10  DFT And  FFTDsp U   Lec10  DFT And  FFT
Dsp U Lec10 DFT And FFT
 
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
 
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
 

En vedette

Mailing Day СПБ 2012 // Интеграция Email и Social Media // CPA Network Russia...
Mailing Day СПБ 2012 // Интеграция Email и Social Media // CPA Network Russia...Mailing Day СПБ 2012 // Интеграция Email и Social Media // CPA Network Russia...
Mailing Day СПБ 2012 // Интеграция Email и Social Media // CPA Network Russia...Kira Zhestkova
 
Slide bio3397
Slide bio3397Slide bio3397
Slide bio3397dparkin
 
Cpa network - способы монетизации трафика
Cpa network -  способы монетизации трафикаCpa network -  способы монетизации трафика
Cpa network - способы монетизации трафикаKira Zhestkova
 
Presentació curs mitjà xixona 2014
Presentació curs mitjà xixona 2014Presentació curs mitjà xixona 2014
Presentació curs mitjà xixona 2014Josep Miquel
 
Удержание пользователей (User Retention) // CPA Network Russia
Удержание пользователей (User Retention) // CPA Network RussiaУдержание пользователей (User Retention) // CPA Network Russia
Удержание пользователей (User Retention) // CPA Network RussiaKira Zhestkova
 
РИФ+КИБ 2012 // CPL-Механики // CPA Network Russia (Кира Жесткова)
РИФ+КИБ 2012 // CPL-Механики // CPA Network Russia (Кира Жесткова)РИФ+КИБ 2012 // CPL-Механики // CPA Network Russia (Кира Жесткова)
РИФ+КИБ 2012 // CPL-Механики // CPA Network Russia (Кира Жесткова)Kira Zhestkova
 
Presentation to News:Rewired 2011
Presentation to News:Rewired 2011Presentation to News:Rewired 2011
Presentation to News:Rewired 2011onthewight
 
Tele4653 l5
Tele4653 l5Tele4653 l5
Tele4653 l5Vin Voro
 
General Applications Info.-E
General Applications Info.-EGeneral Applications Info.-E
General Applications Info.-Edmtgms
 
Musicograma instruments himalies
Musicograma instruments himaliesMusicograma instruments himalies
Musicograma instruments himaliesLourdes Molto
 
Prova elemental 2008
Prova elemental 2008Prova elemental 2008
Prova elemental 2008Josep Miquel
 
Plataformes digitals per difondre el patrimoni cultural (Ciro Llueca, Visual ...
Plataformes digitals per difondre el patrimoni cultural (Ciro Llueca, Visual ...Plataformes digitals per difondre el patrimoni cultural (Ciro Llueca, Visual ...
Plataformes digitals per difondre el patrimoni cultural (Ciro Llueca, Visual ...Ciro Llueca
 
Social Media for NFP
Social Media for NFPSocial Media for NFP
Social Media for NFPwebAssistca
 
The UK Government's First World War centenary commemoration programme
The UK Government's First World War centenary commemoration programmeThe UK Government's First World War centenary commemoration programme
The UK Government's First World War centenary commemoration programmeonthewight
 

En vedette (20)

Mailing Day СПБ 2012 // Интеграция Email и Social Media // CPA Network Russia...
Mailing Day СПБ 2012 // Интеграция Email и Social Media // CPA Network Russia...Mailing Day СПБ 2012 // Интеграция Email и Social Media // CPA Network Russia...
Mailing Day СПБ 2012 // Интеграция Email и Social Media // CPA Network Russia...
 
Nagasaki
NagasakiNagasaki
Nagasaki
 
Slide bio3397
Slide bio3397Slide bio3397
Slide bio3397
 
Cpa network - способы монетизации трафика
Cpa network -  способы монетизации трафикаCpa network -  способы монетизации трафика
Cpa network - способы монетизации трафика
 
CCRMA - 2011
CCRMA - 2011CCRMA - 2011
CCRMA - 2011
 
Presentació curs mitjà xixona 2014
Presentació curs mitjà xixona 2014Presentació curs mitjà xixona 2014
Presentació curs mitjà xixona 2014
 
Удержание пользователей (User Retention) // CPA Network Russia
Удержание пользователей (User Retention) // CPA Network RussiaУдержание пользователей (User Retention) // CPA Network Russia
Удержание пользователей (User Retention) // CPA Network Russia
 
Lect14
Lect14Lect14
Lect14
 
РИФ+КИБ 2012 // CPL-Механики // CPA Network Russia (Кира Жесткова)
РИФ+КИБ 2012 // CPL-Механики // CPA Network Russia (Кира Жесткова)РИФ+КИБ 2012 // CPL-Механики // CPA Network Russia (Кира Жесткова)
РИФ+КИБ 2012 // CPL-Механики // CPA Network Russia (Кира Жесткова)
 
CD11 - Slates
CD11 - SlatesCD11 - Slates
CD11 - Slates
 
Presentation to News:Rewired 2011
Presentation to News:Rewired 2011Presentation to News:Rewired 2011
Presentation to News:Rewired 2011
 
Tele4653 l5
Tele4653 l5Tele4653 l5
Tele4653 l5
 
General Applications Info.-E
General Applications Info.-EGeneral Applications Info.-E
General Applications Info.-E
 
Musicograma instruments himalies
Musicograma instruments himaliesMusicograma instruments himalies
Musicograma instruments himalies
 
Dream8
Dream8Dream8
Dream8
 
Prova elemental 2008
Prova elemental 2008Prova elemental 2008
Prova elemental 2008
 
Plataformes digitals per difondre el patrimoni cultural (Ciro Llueca, Visual ...
Plataformes digitals per difondre el patrimoni cultural (Ciro Llueca, Visual ...Plataformes digitals per difondre el patrimoni cultural (Ciro Llueca, Visual ...
Plataformes digitals per difondre el patrimoni cultural (Ciro Llueca, Visual ...
 
Fruits
FruitsFruits
Fruits
 
Social Media for NFP
Social Media for NFPSocial Media for NFP
Social Media for NFP
 
The UK Government's First World War centenary commemoration programme
The UK Government's First World War centenary commemoration programmeThe UK Government's First World War centenary commemoration programme
The UK Government's First World War centenary commemoration programme
 

Similaire à Tele3113 wk7wed

Speech signal time frequency representation
Speech signal time frequency representationSpeech signal time frequency representation
Speech signal time frequency representationNikolay Karpov
 
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Ốlykhnh386525
 
Tele3113 tut2
Tele3113 tut2Tele3113 tut2
Tele3113 tut2Vin Voro
 
UPDATED Sampling Lecture (2).pptx
UPDATED Sampling Lecture (2).pptxUPDATED Sampling Lecture (2).pptx
UPDATED Sampling Lecture (2).pptxHarisMasood20
 
Tele3113 tut4
Tele3113 tut4Tele3113 tut4
Tele3113 tut4Vin Voro
 
Digital communication coding Lectures Slides.ppt
Digital communication coding Lectures Slides.pptDigital communication coding Lectures Slides.ppt
Digital communication coding Lectures Slides.pptMohamadHalimAbdWahid
 
Communication system lec5
Communication system  lec5Communication system  lec5
Communication system lec5ZareenRauf1
 
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 MATLABEmbedded Plus Trichy
 
Digital communication
Digital communicationDigital communication
Digital communicationmeashi
 
Matlab 2
Matlab 2Matlab 2
Matlab 2asguna
 
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éaireRachidz
 
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 Aliasingj naga sai
 
Correlative level coding
Correlative level codingCorrelative level coding
Correlative level codingsrkrishna341
 

Similaire à 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
 

Plus de Vin Voro

Tele3113 tut6
Tele3113 tut6Tele3113 tut6
Tele3113 tut6Vin Voro
 
Tele3113 tut5
Tele3113 tut5Tele3113 tut5
Tele3113 tut5Vin Voro
 
Tele3113 tut1
Tele3113 tut1Tele3113 tut1
Tele3113 tut1Vin Voro
 
Tele3113 tut3
Tele3113 tut3Tele3113 tut3
Tele3113 tut3Vin Voro
 
Tele3113 wk11tue
Tele3113 wk11tueTele3113 wk11tue
Tele3113 wk11tueVin Voro
 
Tele3113 wk10wed
Tele3113 wk10wedTele3113 wk10wed
Tele3113 wk10wedVin Voro
 
Tele3113 wk10tue
Tele3113 wk10tueTele3113 wk10tue
Tele3113 wk10tueVin Voro
 
Tele3113 wk11wed
Tele3113 wk11wedTele3113 wk11wed
Tele3113 wk11wedVin Voro
 
Tele3113 wk7wed
Tele3113 wk7wedTele3113 wk7wed
Tele3113 wk7wedVin Voro
 
Tele3113 wk9tue
Tele3113 wk9tueTele3113 wk9tue
Tele3113 wk9tueVin Voro
 
Tele3113 wk7wed
Tele3113 wk7wedTele3113 wk7wed
Tele3113 wk7wedVin Voro
 
Tele3113 wk7tue
Tele3113 wk7tueTele3113 wk7tue
Tele3113 wk7tueVin Voro
 
Tele3113 wk6wed
Tele3113 wk6wedTele3113 wk6wed
Tele3113 wk6wedVin Voro
 
Tele3113 wk6tue
Tele3113 wk6tueTele3113 wk6tue
Tele3113 wk6tueVin Voro
 
Tele3113 wk5tue
Tele3113 wk5tueTele3113 wk5tue
Tele3113 wk5tueVin Voro
 
Tele3113 wk4wed
Tele3113 wk4wedTele3113 wk4wed
Tele3113 wk4wedVin Voro
 
Tele3113 wk4tue
Tele3113 wk4tueTele3113 wk4tue
Tele3113 wk4tueVin Voro
 
Tele3113 wk5wed
Tele3113 wk5wedTele3113 wk5wed
Tele3113 wk5wedVin Voro
 
Tele3113 wk2tue
Tele3113 wk2tueTele3113 wk2tue
Tele3113 wk2tueVin Voro
 
Tele3113 wk1tue
Tele3113 wk1tueTele3113 wk1tue
Tele3113 wk1tueVin Voro
 

Plus de 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
 

Dernier

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 

Dernier (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 

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