SlideShare una empresa de Scribd logo
1 de 13
Descargar para leer sin conexión
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

Más contenido relacionado

La actualidad más candente

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

La actualidad más candente (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
 

Destacado

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 processingDipanjon Halder
 
Slides2 The Communication System midterm Slides
Slides2  The Communication System midterm SlidesSlides2  The Communication System midterm Slides
Slides2 The Communication System midterm SlidesNoctorous Jamal
 
EEP306: Delta modulation
EEP306: Delta modulationEEP306: Delta modulation
EEP306: Delta modulationUmang Gupta
 
PULSE CODE MODULATION (PCM)
PULSE CODE MODULATION (PCM)PULSE CODE MODULATION (PCM)
PULSE CODE MODULATION (PCM)vishnudharan11
 
General Applications Info.-E
General Applications Info.-EGeneral Applications Info.-E
General Applications Info.-Edmtgms
 
Digitaal leermateriaal op school
Digitaal leermateriaal op school Digitaal leermateriaal op school
Digitaal leermateriaal op school wimdboer
 
Spartups Meeting Template
Spartups Meeting TemplateSpartups Meeting Template
Spartups Meeting TemplateSaif Akhtar
 
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.Amy Friel
 
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 SeminarwebAssistca
 
Arrangeren
ArrangerenArrangeren
Arrangerenwimdboer
 
44th AES conference (2011)
44th AES conference (2011)44th AES conference (2011)
44th AES conference (2011)Alvaro Barbosa
 
Prof. David Coggon: Environmental health hazards
Prof. David Coggon: Environmental health hazardsProf. David Coggon: Environmental health hazards
Prof. David Coggon: Environmental health hazardsonthewight
 
http://accountants.inboxhilllocalarea.com/
http://accountants.inboxhilllocalarea.com/http://accountants.inboxhilllocalarea.com/
http://accountants.inboxhilllocalarea.com/accountantsbh
 
আত্ম সচেতনতা অর্জনের সূত্র
আত্ম সচেতনতা অর্জনের সূত্র আত্ম সচেতনতা অর্জনের সূত্র
আত্ম সচেতনতা অর্জনের সূত্র Abul Bashar
 
2015 04-22 nije metoade frysk
2015 04-22 nije metoade frysk2015 04-22 nije metoade frysk
2015 04-22 nije metoade fryskwimdboer
 
Kamaroninfo núm. 22 febrer 1998
Kamaroninfo núm. 22 febrer 1998Kamaroninfo núm. 22 febrer 1998
Kamaroninfo núm. 22 febrer 1998Josep Miquel
 
2007_1
2007_12007_1
2007_1Diveon
 
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 8tranduyen76
 

Destacado (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
 

Similar a 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
 
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
 

Similar a 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
 
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
 
Dsp Lab Record
Dsp Lab RecordDsp Lab Record
Dsp Lab Record
 

Más 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
 

Más 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
 

Último

Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Dust Of Snow By Robert Frost Class-X English CBSE
Dust Of Snow By Robert Frost Class-X English CBSEDust Of Snow By Robert Frost Class-X English CBSE
Dust Of Snow By Robert Frost Class-X English CBSEaurabinda banchhor
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataBabyAnnMotar
 
Millenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxMillenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxJanEmmanBrigoli
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...JojoEDelaCruz
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptshraddhaparab530
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 

Último (20)

Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Dust Of Snow By Robert Frost Class-X English CBSE
Dust Of Snow By Robert Frost Class-X English CBSEDust Of Snow By Robert Frost Class-X English CBSE
Dust Of Snow By Robert Frost Class-X English CBSE
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped data
 
Millenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxMillenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptx
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.ppt
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 

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