SlideShare une entreprise Scribd logo
1  sur  23
Télécharger pour lire hors ligne
Multirate Digital Signal Processing

    Basic rate-changing components:

     upsampler and downsampler:

time domain and frequency-domain models



                                      1
Upsampler:
increases the sampling rate by an integer factor L
Synonyms: rate expander; expander; oversampler


    x[n]                      L                      xU [n]

          x[n / L] n = 0, ± L, ±2 L,...
xU [n] = 
          0           otherwise

                                                              2
 x[n / L] n = 0, ± L, ±2 L,...
    xU [n] = 
              0           otherwise
       Upsampling keeps the original samples and introduces
       L − 1 zero samples between them:

x[n]
                                                         t

xU [n]
                                                         t
                          L=7
                                                              3
 x[n / L] n = 0, ± L, ±2 L,...
    xU [n] = 
              0           otherwise
       Upsampling keeps the original samples and introduces
       L − 1 zero samples between them:

x[n]               T
                                                         t

xU [n]              T′
                                                         t
                  T′ = T / L   f s′ = Lf s
                                                              4
Downsampler:
decreases the sampling rate by an integer factor M
Synonyms: rate compressor; compressor; undersampler; decimator


      x[n]                     M                     xD [ n ]


                   xD [n] = x[nM ]


                                                                5
xD [n] = x[nM ]

        downsampling keeps the 0th, Mth, 2Mth … original samples
        and skips the rest:

 x[n]
                                                         t

xD [ n ]
                                                         t
                             M =7
                                                             6
xD [n] = x[nM ]

        downsampling keeps the 0th, Mth, 2Mth … original samples
        and skips the rest:
                    T
 x[n]
                                                         t

xD [ n ]            T′
                                                         t
                  T ′ = MT   f s′ = f s / M
                                                             7
Time- and frequency-domain models
                        x[n / L] n = 0, ± L, ±2 L,...
Upsampler     xU [n] = 
                        0           otherwise

                                     %           %
             X U ( z ) = X ( z L ) : X U ( f ) = X ( Lf )

        Action:Shrinking of the frequency axis by a factor L




                                                            8
Time- and frequency-domain models

Downsampler         xD [n] = x[nM ]
                        M −1
                    1
         X D ( z) =
                    M
                        ∑
                        k =0
                                     k
                          X ( z1/ M ωM ) : X D ( f ) = ?
                                           %

        Action: complicated




                                                     9
Upsampler (incorporating LP Postfilter):
increases the sampling rate by an integer factor L
Synonyms: rate expander; expander; oversampler; interpolator

                                xU [n]
x[n]                     L                    LPF                   xI [ n ]
           fs                   f s′ = Lf s                f s′ = Lf s

                          x[n / L] n = 0, ± L, ±2 L,...
                xU [n] = 
                          0           otherwise
                                     n
             xI [n] = h ∗ xU [n] = ∑ h[n − m]x[m / L]
                                    m =0

                                                                         10
                assuming both h and x are causal
Upsampling keeps the original samples and interpolates
        L − 1 zero samples between them, then lowpass filters
      the result to remove spectral images:


x[n]
                                                          t
xU [n]
                                                          t

xI [ n ]
                                                          t
                         L=7
                                                                11
X(f )

L=2

                                                 f
      − fs   − fs / 2   0      fs / 2      fs

                            XU ( f )
                                        Images




                                                 f
      − fs   − fs / 2   0      fs / 2     fs




                                                     12
X(f )

L=2

                                                                            f
                       − fs   − fs / 2   0       fs / 2       fs

                                             XU ( f )
 Anti-imaging Filter
                                                          Images




                                                                            f
                       − fs   − fs / 2   0      fs / 2       fs
                                             XI ( f )
                                                          Filtered Images




                                                                            f
                                                                                13
                       − fs   − fs / 2   0      fs / 2       fs
Downsampler (incorporating LP Prefilter):
decreases the sampling rate by an integer factor M
Synonyms: rate compressor; compressor; undersampler; decimator
                               xL [ n ]
 x[n]                 LPF                    M              xD [ n ]
             fs                       fs         f s′ = f s / M
                         xL [n] = h ∗ x[n]
                                nM
        xD [n] = xL [nM ] = ∑ h[nM − m]x[m]
                               m =0



                                                                  14
                  assuming both h and x are causal
Downsampling lowpass filters to the OUTPUT half-Nyquist
      bandwidth, then keeps the 0th, Mth, 2Mth … original samples
      and skips the rest:

 x[n]
                                                         t


xL [ n ]
                                                         t

xD [ n ]
                                                         t   15
                             M =7
Without lowpass prefiltering aliasing occurs:
M =2                                      X(f )




                                                               f
                  − fs   − fs / 2     0      fs / 2    fs

                                          XD( f )
            X ( f / 2 + fs )                X ( f / 2 − fs )
                            Overlap          Overlap

                                                               f
                  − fs   − fs / 2     0      fs / 2    fs

                                             Aliasing
                                                                   16
With lowpass prefiltering aliasing is prevented:
M =2                                     XL( f )




                                                               f
                   − fs   − fs / 2   0      fs / 2   fs

                                         XD( f )
            X L ( f / 2 + fs )            X L ( f / 2 − fs )


                                                               f
                   − fs   − fs / 2   0      fs / 2   fs

                                             No Aliasing
                                                                   17
Some related techniques:

•Fractional rate conversion


•Multistage upsampling and downsampling


•Polyphase FIR filter


                                          18
Fractional rate conversion: R = L/M
                fs                  f s′ = Lf s             f s′ = Lf s
x[n]                            L                 LPF
                                    xU [n]         h1 ∗                   xI [ n ]

                         h2 ∗       xIL [n]
xI [ n ]
                           LPF                      M                 xR [ n ]
           f s′ = Lf s               f s′ = Lf s          f s′′ = Lf s / M
                         Now combine the two LPFs                             19
Fractional rate conversion: R = L/M
       fs           f s′ = Lf s           f s′′ = Lf s / M
x[n]        L      LPF                M         xR [ n ]
                      h∗
                h[ n] = h1 ∗ h2 [n]

  NB: L and M must be relatively prime,
  having no common factor (why?)

                                                       20
Polyphase FIR filter

   Example: 11th-order FIR filter, requiring 12 (6 different) coefficients

  H ( z ) = h[0] + h[1]z −1 + h[2]z −2 + h[3]z −3 + h[4]z −4 + h[5]z −5
              + h[5]z −6 + h[4]z −7 + h[3]z −8 + h[2]z −9 + h[1]z −10 + h[0]z −11

H ( z ) = E0 ( z 3 ) + z −1 E1 ( z 3 ) + z −2 E2 ( z 3 )   *
   where
                  E0 ( z ) = h[0] + h[3]z −1 + h[5]z −2 + h[2]z −3
                  E1 ( z ) = h[1] + h[4]z −1 + h[4]z −2 + h[1]z −3
                  E2 ( z ) = h[2] + h[5]z −1 + h[3]z −2 + h[0]z −3         21
x[n]            3         E0 ( z )   +    y[n]
                 z −1
                        3         E1 ( z )   +

                 z −1
                        3         E2 ( z )


Each of the 3 3rd-order FIR filters requires 4 coefficients, but
they all work at the reduced rate, and this is advantageous;
e.g. reduced power consumption
                                                               22
Question:
Apply the symmetry-exploitation
trick to the polyphase filter, and
redraw the block diagram




                                     23

Contenu connexe

Tendances

Fir and iir filter_design
Fir and iir filter_designFir and iir filter_design
Fir and iir filter_designshrinivasgnaik
 
FILTER DESIGN
FILTER DESIGNFILTER DESIGN
FILTER DESIGNnaimish12
 
multirate signal processing for speech
multirate signal processing for speechmultirate signal processing for speech
multirate signal processing for speechRudra Prasad Maiti
 
Finite word length effects
Finite word length effectsFinite word length effects
Finite word length effectsPeriyanayagiS
 
Channel capacity
Channel capacityChannel capacity
Channel capacityPALLAB DAS
 
Butterworth filter design
Butterworth filter designButterworth filter design
Butterworth filter designSushant Shankar
 
3F3 – Digital Signal Processing (DSP) - Part1
3F3 – Digital Signal Processing (DSP) - Part13F3 – Digital Signal Processing (DSP) - Part1
3F3 – Digital Signal Processing (DSP) - Part1op205
 
DSP_2018_FOEHU - Lec 02 - Sampling of Continuous Time Signals
DSP_2018_FOEHU - Lec 02 - Sampling of Continuous Time SignalsDSP_2018_FOEHU - Lec 02 - Sampling of Continuous Time Signals
DSP_2018_FOEHU - Lec 02 - Sampling of Continuous Time SignalsAmr E. Mohamed
 
Pulse modulation
Pulse modulationPulse modulation
Pulse modulationstk_gpg
 
Multirate signal processing and decimation interpolation
Multirate signal processing and decimation interpolationMultirate signal processing and decimation interpolation
Multirate signal processing and decimation interpolationransherraj
 
Aliasing and Antialiasing filter
Aliasing and Antialiasing filterAliasing and Antialiasing filter
Aliasing and Antialiasing filterSuresh Mohta
 
Image trnsformations
Image trnsformationsImage trnsformations
Image trnsformationsJohn Williams
 
Digital Signal Processing
Digital Signal ProcessingDigital Signal Processing
Digital Signal ProcessingSandip Ladi
 
Sampling Theorem, Quantization Noise and its types, PCM, Channel Capacity, Ny...
Sampling Theorem, Quantization Noise and its types, PCM, Channel Capacity, Ny...Sampling Theorem, Quantization Noise and its types, PCM, Channel Capacity, Ny...
Sampling Theorem, Quantization Noise and its types, PCM, Channel Capacity, Ny...Waqas Afzal
 

Tendances (20)

Fir and iir filter_design
Fir and iir filter_designFir and iir filter_design
Fir and iir filter_design
 
FILTER DESIGN
FILTER DESIGNFILTER DESIGN
FILTER DESIGN
 
multirate signal processing for speech
multirate signal processing for speechmultirate signal processing for speech
multirate signal processing for speech
 
Finite word length effects
Finite word length effectsFinite word length effects
Finite word length effects
 
Channel capacity
Channel capacityChannel capacity
Channel capacity
 
Butterworth filter design
Butterworth filter designButterworth filter design
Butterworth filter design
 
3F3 – Digital Signal Processing (DSP) - Part1
3F3 – Digital Signal Processing (DSP) - Part13F3 – Digital Signal Processing (DSP) - Part1
3F3 – Digital Signal Processing (DSP) - Part1
 
DSP_2018_FOEHU - Lec 02 - Sampling of Continuous Time Signals
DSP_2018_FOEHU - Lec 02 - Sampling of Continuous Time SignalsDSP_2018_FOEHU - Lec 02 - Sampling of Continuous Time Signals
DSP_2018_FOEHU - Lec 02 - Sampling of Continuous Time Signals
 
Pulse modulation
Pulse modulationPulse modulation
Pulse modulation
 
Multirate signal processing and decimation interpolation
Multirate signal processing and decimation interpolationMultirate signal processing and decimation interpolation
Multirate signal processing and decimation interpolation
 
Sampling theorem
Sampling theoremSampling theorem
Sampling theorem
 
Pulse Code Modulation
Pulse Code ModulationPulse Code Modulation
Pulse Code Modulation
 
Aliasing and Antialiasing filter
Aliasing and Antialiasing filterAliasing and Antialiasing filter
Aliasing and Antialiasing filter
 
Image trnsformations
Image trnsformationsImage trnsformations
Image trnsformations
 
Design of Filters PPT
Design of Filters PPTDesign of Filters PPT
Design of Filters PPT
 
DSP lab manual
DSP lab manualDSP lab manual
DSP lab manual
 
digital filters
digital filtersdigital filters
digital filters
 
Subband Coding
Subband CodingSubband Coding
Subband Coding
 
Digital Signal Processing
Digital Signal ProcessingDigital Signal Processing
Digital Signal Processing
 
Sampling Theorem, Quantization Noise and its types, PCM, Channel Capacity, Ny...
Sampling Theorem, Quantization Noise and its types, PCM, Channel Capacity, Ny...Sampling Theorem, Quantization Noise and its types, PCM, Channel Capacity, Ny...
Sampling Theorem, Quantization Noise and its types, PCM, Channel Capacity, Ny...
 

En vedette

Multistage random sampling
Multistage random samplingMultistage random sampling
Multistage random samplingUE
 
Designing a uniform filter bank using multirate concept
Designing a uniform filter bank using multirate conceptDesigning a uniform filter bank using multirate concept
Designing a uniform filter bank using multirate conceptRedwan Islam
 
Cluster & multi satge random sampling
Cluster & multi satge random samplingCluster & multi satge random sampling
Cluster & multi satge random samplingrifansahDua1
 
Gender detection using MATLAB
Gender detection using MATLABGender detection using MATLAB
Gender detection using MATLABTanmay Bakshi
 
Cluster and multistage sampling
Cluster and multistage samplingCluster and multistage sampling
Cluster and multistage samplingsuncil0071
 
DIGITAL SIGNAL PROCESSING
DIGITAL SIGNAL PROCESSINGDIGITAL SIGNAL PROCESSING
DIGITAL SIGNAL PROCESSINGSnehal Hedau
 
Sampling and Sample Types
Sampling  and Sample TypesSampling  and Sample Types
Sampling and Sample TypesDr. Sunil Kumar
 
LinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-PresentedLinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-PresentedSlideShare
 

En vedette (16)

Multirate dtsp
Multirate dtspMultirate dtsp
Multirate dtsp
 
Multrate dsp
Multrate dspMultrate dsp
Multrate dsp
 
FILTER BANKS
FILTER BANKSFILTER BANKS
FILTER BANKS
 
Multirate modulation
Multirate modulationMultirate modulation
Multirate modulation
 
Multistage random sampling
Multistage random samplingMultistage random sampling
Multistage random sampling
 
Designing a uniform filter bank using multirate concept
Designing a uniform filter bank using multirate conceptDesigning a uniform filter bank using multirate concept
Designing a uniform filter bank using multirate concept
 
Matlab dsp examples
Matlab dsp examplesMatlab dsp examples
Matlab dsp examples
 
Cluster & multi satge random sampling
Cluster & multi satge random samplingCluster & multi satge random sampling
Cluster & multi satge random sampling
 
Gender detection using MATLAB
Gender detection using MATLABGender detection using MATLAB
Gender detection using MATLAB
 
Cluster and multistage sampling
Cluster and multistage samplingCluster and multistage sampling
Cluster and multistage sampling
 
DSP MATLAB notes - Akshansh
DSP MATLAB notes - AkshanshDSP MATLAB notes - Akshansh
DSP MATLAB notes - Akshansh
 
DIGITAL SIGNAL PROCESSING
DIGITAL SIGNAL PROCESSINGDIGITAL SIGNAL PROCESSING
DIGITAL SIGNAL PROCESSING
 
Sampling and Sample Types
Sampling  and Sample TypesSampling  and Sample Types
Sampling and Sample Types
 
Sampling methods in medical research
Sampling methods in medical researchSampling methods in medical research
Sampling methods in medical research
 
LinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-PresentedLinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-Presented
 
Slideshare ppt
Slideshare pptSlideshare ppt
Slideshare ppt
 

Similaire à Multirate

English philippe manuel_master1_eftis
English philippe manuel_master1_eftisEnglish philippe manuel_master1_eftis
English philippe manuel_master1_eftisphmanuel
 
Optimal multi-configuration approximation of an N-fermion wave function
 Optimal multi-configuration approximation of an N-fermion wave function Optimal multi-configuration approximation of an N-fermion wave function
Optimal multi-configuration approximation of an N-fermion wave functionjiang-min zhang
 
NIPS2010: optimization algorithms in machine learning
NIPS2010: optimization algorithms in machine learningNIPS2010: optimization algorithms in machine learning
NIPS2010: optimization algorithms in machine learningzukun
 
Reconstruction (of micro-objects) based on focus-sets using blind deconvoluti...
Reconstruction (of micro-objects) based on focus-sets using blind deconvoluti...Reconstruction (of micro-objects) based on focus-sets using blind deconvoluti...
Reconstruction (of micro-objects) based on focus-sets using blind deconvoluti...Jan Wedekind
 
Signal Processing Course : Orthogonal Bases
Signal Processing Course : Orthogonal BasesSignal Processing Course : Orthogonal Bases
Signal Processing Course : Orthogonal BasesGabriel Peyré
 
Markov Tutorial CDC Shanghai 2009
Markov Tutorial CDC Shanghai 2009Markov Tutorial CDC Shanghai 2009
Markov Tutorial CDC Shanghai 2009Sean Meyn
 
Estimation of the score vector and observed information matrix in intractable...
Estimation of the score vector and observed information matrix in intractable...Estimation of the score vector and observed information matrix in intractable...
Estimation of the score vector and observed information matrix in intractable...Pierre Jacob
 
Mesh Processing Course : Geodesic Sampling
Mesh Processing Course : Geodesic SamplingMesh Processing Course : Geodesic Sampling
Mesh Processing Course : Geodesic SamplingGabriel Peyré
 
Basics of probability in statistical simulation and stochastic programming
Basics of probability in statistical simulation and stochastic programmingBasics of probability in statistical simulation and stochastic programming
Basics of probability in statistical simulation and stochastic programmingSSA KPI
 
A series of maximum entropy upper bounds of the differential entropy
A series of maximum entropy upper bounds of the differential entropyA series of maximum entropy upper bounds of the differential entropy
A series of maximum entropy upper bounds of the differential entropyFrank Nielsen
 
Chapter 3 – Random Variables and Probability Distributions
Chapter 3 – Random Variables and Probability DistributionsChapter 3 – Random Variables and Probability Distributions
Chapter 3 – Random Variables and Probability DistributionsJasonTagapanGulla
 
Nature-Inspired Metaheuristic Algorithms for Optimization and Computational I...
Nature-Inspired Metaheuristic Algorithms for Optimization and Computational I...Nature-Inspired Metaheuristic Algorithms for Optimization and Computational I...
Nature-Inspired Metaheuristic Algorithms for Optimization and Computational I...Xin-She Yang
 
Integration with kernel methods, Transported meshfree methods
Integration with kernel methods, Transported meshfree methodsIntegration with kernel methods, Transported meshfree methods
Integration with kernel methods, Transported meshfree methodsMercier Jean-Marc
 

Similaire à Multirate (20)

Rousseau
RousseauRousseau
Rousseau
 
1 - Linear Regression
1 - Linear Regression1 - Linear Regression
1 - Linear Regression
 
Estimationtheory2
Estimationtheory2Estimationtheory2
Estimationtheory2
 
Dsp2
Dsp2Dsp2
Dsp2
 
ma112011id535
ma112011id535ma112011id535
ma112011id535
 
English philippe manuel_master1_eftis
English philippe manuel_master1_eftisEnglish philippe manuel_master1_eftis
English philippe manuel_master1_eftis
 
Optimal multi-configuration approximation of an N-fermion wave function
 Optimal multi-configuration approximation of an N-fermion wave function Optimal multi-configuration approximation of an N-fermion wave function
Optimal multi-configuration approximation of an N-fermion wave function
 
NIPS2010: optimization algorithms in machine learning
NIPS2010: optimization algorithms in machine learningNIPS2010: optimization algorithms in machine learning
NIPS2010: optimization algorithms in machine learning
 
Reconstruction (of micro-objects) based on focus-sets using blind deconvoluti...
Reconstruction (of micro-objects) based on focus-sets using blind deconvoluti...Reconstruction (of micro-objects) based on focus-sets using blind deconvoluti...
Reconstruction (of micro-objects) based on focus-sets using blind deconvoluti...
 
Dsp3
Dsp3Dsp3
Dsp3
 
Signal Processing Course : Orthogonal Bases
Signal Processing Course : Orthogonal BasesSignal Processing Course : Orthogonal Bases
Signal Processing Course : Orthogonal Bases
 
Markov Tutorial CDC Shanghai 2009
Markov Tutorial CDC Shanghai 2009Markov Tutorial CDC Shanghai 2009
Markov Tutorial CDC Shanghai 2009
 
Estimation of the score vector and observed information matrix in intractable...
Estimation of the score vector and observed information matrix in intractable...Estimation of the score vector and observed information matrix in intractable...
Estimation of the score vector and observed information matrix in intractable...
 
Mesh Processing Course : Geodesic Sampling
Mesh Processing Course : Geodesic SamplingMesh Processing Course : Geodesic Sampling
Mesh Processing Course : Geodesic Sampling
 
Basics of probability in statistical simulation and stochastic programming
Basics of probability in statistical simulation and stochastic programmingBasics of probability in statistical simulation and stochastic programming
Basics of probability in statistical simulation and stochastic programming
 
A series of maximum entropy upper bounds of the differential entropy
A series of maximum entropy upper bounds of the differential entropyA series of maximum entropy upper bounds of the differential entropy
A series of maximum entropy upper bounds of the differential entropy
 
Chapter 3 – Random Variables and Probability Distributions
Chapter 3 – Random Variables and Probability DistributionsChapter 3 – Random Variables and Probability Distributions
Chapter 3 – Random Variables and Probability Distributions
 
Nature-Inspired Metaheuristic Algorithms for Optimization and Computational I...
Nature-Inspired Metaheuristic Algorithms for Optimization and Computational I...Nature-Inspired Metaheuristic Algorithms for Optimization and Computational I...
Nature-Inspired Metaheuristic Algorithms for Optimization and Computational I...
 
Introduction to chaos
Introduction to chaosIntroduction to chaos
Introduction to chaos
 
Integration with kernel methods, Transported meshfree methods
Integration with kernel methods, Transported meshfree methodsIntegration with kernel methods, Transported meshfree methods
Integration with kernel methods, Transported meshfree methods
 

Plus de aiQUANT

Finding the Best Liquidity in Dark Pools
Finding the Best Liquidity in Dark PoolsFinding the Best Liquidity in Dark Pools
Finding the Best Liquidity in Dark PoolsaiQUANT
 
FIX Protocol Overview.
FIX Protocol Overview.FIX Protocol Overview.
FIX Protocol Overview.aiQUANT
 
FIX Protocol Overview.
FIX Protocol Overview.FIX Protocol Overview.
FIX Protocol Overview.aiQUANT
 
Wavelet Multi-resolution Analysis of High Frequency FX Rates
Wavelet Multi-resolution Analysis of High Frequency FX RatesWavelet Multi-resolution Analysis of High Frequency FX Rates
Wavelet Multi-resolution Analysis of High Frequency FX RatesaiQUANT
 
Spline Interpolation
Spline InterpolationSpline Interpolation
Spline InterpolationaiQUANT
 
Philip Genetic Programming In Statistical Arbitrage
Philip Genetic Programming In Statistical ArbitragePhilip Genetic Programming In Statistical Arbitrage
Philip Genetic Programming In Statistical ArbitrageaiQUANT
 
Stock Market Data Analysis Using Rescaled Range
Stock  Market  Data  Analysis  Using  Rescaled  RangeStock  Market  Data  Analysis  Using  Rescaled  Range
Stock Market Data Analysis Using Rescaled RangeaiQUANT
 
Cgo2007 P3 3 Birkbeck
Cgo2007 P3 3 BirkbeckCgo2007 P3 3 Birkbeck
Cgo2007 P3 3 BirkbeckaiQUANT
 
A Dimension Abstraction Approach to Vectorization in Matlab
A Dimension Abstraction Approach to Vectorization in MatlabA Dimension Abstraction Approach to Vectorization in Matlab
A Dimension Abstraction Approach to Vectorization in MatlabaiQUANT
 

Plus de aiQUANT (10)

Finding the Best Liquidity in Dark Pools
Finding the Best Liquidity in Dark PoolsFinding the Best Liquidity in Dark Pools
Finding the Best Liquidity in Dark Pools
 
FIX Protocol Overview.
FIX Protocol Overview.FIX Protocol Overview.
FIX Protocol Overview.
 
FIX Protocol Overview.
FIX Protocol Overview.FIX Protocol Overview.
FIX Protocol Overview.
 
Wavelet Multi-resolution Analysis of High Frequency FX Rates
Wavelet Multi-resolution Analysis of High Frequency FX RatesWavelet Multi-resolution Analysis of High Frequency FX Rates
Wavelet Multi-resolution Analysis of High Frequency FX Rates
 
Wavelet
WaveletWavelet
Wavelet
 
Spline Interpolation
Spline InterpolationSpline Interpolation
Spline Interpolation
 
Philip Genetic Programming In Statistical Arbitrage
Philip Genetic Programming In Statistical ArbitragePhilip Genetic Programming In Statistical Arbitrage
Philip Genetic Programming In Statistical Arbitrage
 
Stock Market Data Analysis Using Rescaled Range
Stock  Market  Data  Analysis  Using  Rescaled  RangeStock  Market  Data  Analysis  Using  Rescaled  Range
Stock Market Data Analysis Using Rescaled Range
 
Cgo2007 P3 3 Birkbeck
Cgo2007 P3 3 BirkbeckCgo2007 P3 3 Birkbeck
Cgo2007 P3 3 Birkbeck
 
A Dimension Abstraction Approach to Vectorization in Matlab
A Dimension Abstraction Approach to Vectorization in MatlabA Dimension Abstraction Approach to Vectorization in Matlab
A Dimension Abstraction Approach to Vectorization in Matlab
 

Dernier

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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
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
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
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
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
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
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024The Digital Insurer
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
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
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 

Dernier (20)

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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
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
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
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...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 

Multirate

  • 1. Multirate Digital Signal Processing Basic rate-changing components: upsampler and downsampler: time domain and frequency-domain models 1
  • 2. Upsampler: increases the sampling rate by an integer factor L Synonyms: rate expander; expander; oversampler x[n] L xU [n]  x[n / L] n = 0, ± L, ±2 L,... xU [n] =   0 otherwise 2
  • 3.  x[n / L] n = 0, ± L, ±2 L,... xU [n] =   0 otherwise Upsampling keeps the original samples and introduces L − 1 zero samples between them: x[n] t xU [n] t L=7 3
  • 4.  x[n / L] n = 0, ± L, ±2 L,... xU [n] =   0 otherwise Upsampling keeps the original samples and introduces L − 1 zero samples between them: x[n] T t xU [n] T′ t T′ = T / L f s′ = Lf s 4
  • 5. Downsampler: decreases the sampling rate by an integer factor M Synonyms: rate compressor; compressor; undersampler; decimator x[n] M xD [ n ] xD [n] = x[nM ] 5
  • 6. xD [n] = x[nM ] downsampling keeps the 0th, Mth, 2Mth … original samples and skips the rest: x[n] t xD [ n ] t M =7 6
  • 7. xD [n] = x[nM ] downsampling keeps the 0th, Mth, 2Mth … original samples and skips the rest: T x[n] t xD [ n ] T′ t T ′ = MT f s′ = f s / M 7
  • 8. Time- and frequency-domain models  x[n / L] n = 0, ± L, ±2 L,... Upsampler xU [n] =   0 otherwise % % X U ( z ) = X ( z L ) : X U ( f ) = X ( Lf ) Action:Shrinking of the frequency axis by a factor L 8
  • 9. Time- and frequency-domain models Downsampler xD [n] = x[nM ] M −1 1 X D ( z) = M ∑ k =0 k X ( z1/ M ωM ) : X D ( f ) = ? % Action: complicated 9
  • 10. Upsampler (incorporating LP Postfilter): increases the sampling rate by an integer factor L Synonyms: rate expander; expander; oversampler; interpolator xU [n] x[n] L LPF xI [ n ] fs f s′ = Lf s f s′ = Lf s  x[n / L] n = 0, ± L, ±2 L,... xU [n] =   0 otherwise n xI [n] = h ∗ xU [n] = ∑ h[n − m]x[m / L] m =0 10 assuming both h and x are causal
  • 11. Upsampling keeps the original samples and interpolates L − 1 zero samples between them, then lowpass filters the result to remove spectral images: x[n] t xU [n] t xI [ n ] t L=7 11
  • 12. X(f ) L=2 f − fs − fs / 2 0 fs / 2 fs XU ( f ) Images f − fs − fs / 2 0 fs / 2 fs 12
  • 13. X(f ) L=2 f − fs − fs / 2 0 fs / 2 fs XU ( f ) Anti-imaging Filter Images f − fs − fs / 2 0 fs / 2 fs XI ( f ) Filtered Images f 13 − fs − fs / 2 0 fs / 2 fs
  • 14. Downsampler (incorporating LP Prefilter): decreases the sampling rate by an integer factor M Synonyms: rate compressor; compressor; undersampler; decimator xL [ n ] x[n] LPF M xD [ n ] fs fs f s′ = f s / M xL [n] = h ∗ x[n] nM xD [n] = xL [nM ] = ∑ h[nM − m]x[m] m =0 14 assuming both h and x are causal
  • 15. Downsampling lowpass filters to the OUTPUT half-Nyquist bandwidth, then keeps the 0th, Mth, 2Mth … original samples and skips the rest: x[n] t xL [ n ] t xD [ n ] t 15 M =7
  • 16. Without lowpass prefiltering aliasing occurs: M =2 X(f ) f − fs − fs / 2 0 fs / 2 fs XD( f ) X ( f / 2 + fs ) X ( f / 2 − fs ) Overlap Overlap f − fs − fs / 2 0 fs / 2 fs Aliasing 16
  • 17. With lowpass prefiltering aliasing is prevented: M =2 XL( f ) f − fs − fs / 2 0 fs / 2 fs XD( f ) X L ( f / 2 + fs ) X L ( f / 2 − fs ) f − fs − fs / 2 0 fs / 2 fs No Aliasing 17
  • 18. Some related techniques: •Fractional rate conversion •Multistage upsampling and downsampling •Polyphase FIR filter 18
  • 19. Fractional rate conversion: R = L/M fs f s′ = Lf s f s′ = Lf s x[n] L LPF xU [n] h1 ∗ xI [ n ] h2 ∗ xIL [n] xI [ n ] LPF M xR [ n ] f s′ = Lf s f s′ = Lf s f s′′ = Lf s / M Now combine the two LPFs 19
  • 20. Fractional rate conversion: R = L/M fs f s′ = Lf s f s′′ = Lf s / M x[n] L LPF M xR [ n ] h∗ h[ n] = h1 ∗ h2 [n] NB: L and M must be relatively prime, having no common factor (why?) 20
  • 21. Polyphase FIR filter Example: 11th-order FIR filter, requiring 12 (6 different) coefficients H ( z ) = h[0] + h[1]z −1 + h[2]z −2 + h[3]z −3 + h[4]z −4 + h[5]z −5 + h[5]z −6 + h[4]z −7 + h[3]z −8 + h[2]z −9 + h[1]z −10 + h[0]z −11 H ( z ) = E0 ( z 3 ) + z −1 E1 ( z 3 ) + z −2 E2 ( z 3 ) * where E0 ( z ) = h[0] + h[3]z −1 + h[5]z −2 + h[2]z −3 E1 ( z ) = h[1] + h[4]z −1 + h[4]z −2 + h[1]z −3 E2 ( z ) = h[2] + h[5]z −1 + h[3]z −2 + h[0]z −3 21
  • 22. x[n] 3 E0 ( z ) + y[n] z −1 3 E1 ( z ) + z −1 3 E2 ( z ) Each of the 3 3rd-order FIR filters requires 4 coefficients, but they all work at the reduced rate, and this is advantageous; e.g. reduced power consumption 22
  • 23. Question: Apply the symmetry-exploitation trick to the polyphase filter, and redraw the block diagram 23