+ All Categories
Home > Documents > Demystifying the PFB · Demystifying the PFB Lifting the hood to a key technique in the Radio...

Demystifying the PFB · Demystifying the PFB Lifting the hood to a key technique in the Radio...

Date post: 24-Jul-2020
Category:
Upload: others
View: 0 times
Download: 0 times
Share this document with a friend
23
Demystifying the PFB Lifting the hood to a key technique in the Radio Astronomers Toolbox Andrew van der Byl Signal Processing Engineer (CBF) [email protected] CASPER 2017
Transcript
Page 1: Demystifying the PFB · Demystifying the PFB Lifting the hood to a key technique in the Radio Astronomers Toolbox Andrew van der Byl Signal Processing Engineer (CBF) avanderbyl@ska.ac.za

Demystifying the PFBLifting the hood to a key technique in the Radio Astronomers Toolbox

Andrew van der BylSignal Processing Engineer (CBF)

[email protected]

CASPER 2017

Page 2: Demystifying the PFB · Demystifying the PFB Lifting the hood to a key technique in the Radio Astronomers Toolbox Andrew van der Byl Signal Processing Engineer (CBF) avanderbyl@ska.ac.za

Keeping it simple: What you’re not going to get….

Page 3: Demystifying the PFB · Demystifying the PFB Lifting the hood to a key technique in the Radio Astronomers Toolbox Andrew van der Byl Signal Processing Engineer (CBF) avanderbyl@ska.ac.za

Outline: Polyphase Filter Bank

• PFB in the real world

• The why...

• Diving under the hood

• PFB: A CASPER Tool

Page 4: Demystifying the PFB · Demystifying the PFB Lifting the hood to a key technique in the Radio Astronomers Toolbox Andrew van der Byl Signal Processing Engineer (CBF) avanderbyl@ska.ac.za

Polyphase Filter: The CASPER tool

Page 5: Demystifying the PFB · Demystifying the PFB Lifting the hood to a key technique in the Radio Astronomers Toolbox Andrew van der Byl Signal Processing Engineer (CBF) avanderbyl@ska.ac.za

PFB in the real world

Page 6: Demystifying the PFB · Demystifying the PFB Lifting the hood to a key technique in the Radio Astronomers Toolbox Andrew van der Byl Signal Processing Engineer (CBF) avanderbyl@ska.ac.za

Polyphase Filter: The why…

Page 7: Demystifying the PFB · Demystifying the PFB Lifting the hood to a key technique in the Radio Astronomers Toolbox Andrew van der Byl Signal Processing Engineer (CBF) avanderbyl@ska.ac.za

Bonjour!

Part1: Lets do some translating…

Page 8: Demystifying the PFB · Demystifying the PFB Lifting the hood to a key technique in the Radio Astronomers Toolbox Andrew van der Byl Signal Processing Engineer (CBF) avanderbyl@ska.ac.za

PFB: Mixing things up...

H(z)

Digital Low-Pass

x[n]M-to-1

y[n,k]y[nM,k]

e-jθkn

Spectrum: Complex Filtered Outputf

Spectrum: Real Baseband FilterH0

f

fk

Spectrum: Down-sampled Output Signalfk

fs/M f-fs/M

fk fs/Mf

Spectrum: Translated Input Signalfk fs/M

Channel of interest

f

Spectrum: Input Signal

Page 9: Demystifying the PFB · Demystifying the PFB Lifting the hood to a key technique in the Radio Astronomers Toolbox Andrew van der Byl Signal Processing Engineer (CBF) avanderbyl@ska.ac.za

PFB: Making a switch....

H(z)

Digital Low-Passx[n]

e-jθkn

M-to-1

y[n,k]

y[nM,k]

Down convert 1st, LP filter 2nd

fk fs/M

Channel of interest

f

fkfs/M

Channel of interest

f

ffk fk

fs/Mf-fs/M

=H(ze-jθk)

Digital Band-Pass

x[n]

y[n,k]

e-jθkn

M-to-1y[nM,k]

BP filter 1st, down convert 2nd

fk fs/M

Channel of interest

f

fkfs/M

Channel of interest

f

fk

fs/Mf-fs/M

ffk

Page 10: Demystifying the PFB · Demystifying the PFB Lifting the hood to a key technique in the Radio Astronomers Toolbox Andrew van der Byl Signal Processing Engineer (CBF) avanderbyl@ska.ac.za

But wait....why down convert samples that are to be discarded?

H(ze-j2πk/M)

Digital Band-Passx[n]

y[n,k]

M-to-1

y[nM,k]

H(ze-jθk)

Digital Band-Passx[n]

y[n,k]

e-jθkn

M-to-1

y[nM,k]

H(ze-jθk)

Digital Band-Passx[n]

y[n,k]

e-jMθkn

M-to-1

y[nM,k]

But what about the filter?It is still at full rate!

Not for long!

When moving the resampler, the complex sinusoid is also

down-sampled

Limit center frequencies to integer multiples of the output sample rate

Page 11: Demystifying the PFB · Demystifying the PFB Lifting the hood to a key technique in the Radio Astronomers Toolbox Andrew van der Byl Signal Processing Engineer (CBF) avanderbyl@ska.ac.za

Part2: Lets do some transforming…(starting with the low-pass filter)

Page 12: Demystifying the PFB · Demystifying the PFB Lifting the hood to a key technique in the Radio Astronomers Toolbox Andrew van der Byl Signal Processing Engineer (CBF) avanderbyl@ska.ac.za

An interesting twist...

H[ZM]

M-to-1

y[n] y[nM]x[n]

Filter, then down sample

H[Z]

M-to-1

y[nM]x[n]

Down sample, then filter

Under what conditions will a filter operate on every M input samples?

Divy them up into M paths!

H0[ZM]

M-to-1

y[n] y[nM]

x[n]H1[ZM]

H2[ZM]

HM-1[ZM]

Z-1

Z-2

Z-(M-1)

How Noble…

Page 13: Demystifying the PFB · Demystifying the PFB Lifting the hood to a key technique in the Radio Astronomers Toolbox Andrew van der Byl Signal Processing Engineer (CBF) avanderbyl@ska.ac.za

An interesting twist...

H0[Z]M-to-1

y[nM]x[n]

H1[Z]

H2[Z]

HM-1[Z]

Z-1

Z-2

Z-(M-1)

M-to-1

M-to-1

M-to-1Move the down sampling stage

Synchronous switches

Page 14: Demystifying the PFB · Demystifying the PFB Lifting the hood to a key technique in the Radio Astronomers Toolbox Andrew van der Byl Signal Processing Engineer (CBF) avanderbyl@ska.ac.za

An interesting twist...

H0[Z]

y[nM]x[n]

H1[Z]

H2[Z]

HM-1[Z]

Input commutator

Each input sees every 1/M samples

One more step to complete the transformation to an M-path down converter…

This M-to-1 down samplingaliases to baseband the spectral terms residing at multiples of the

output sample rate

Page 15: Demystifying the PFB · Demystifying the PFB Lifting the hood to a key technique in the Radio Astronomers Toolbox Andrew van der Byl Signal Processing Engineer (CBF) avanderbyl@ska.ac.za

Introducing the Polyphase Filter...

y[nM,k]x[n]

HM-1[Z]

H0[Z]

H1[Z]

H2[Z]

ej2π0k/M

ej2π1k/M

ej2π2k/M

ej2π(M-1)k/M

This is the Polyphase Filter

Wait! You’ve broken Nyquist!

Page 16: Demystifying the PFB · Demystifying the PFB Lifting the hood to a key technique in the Radio Astronomers Toolbox Andrew van der Byl Signal Processing Engineer (CBF) avanderbyl@ska.ac.za

Cancelling the aliases...

y[nM,k]x[n]

HM-1[Z]

H0[Z]

H1[Z]

H2[Z]

ej2π0k/M

ej2π1k/M

ej2π2k/M

ej2π(M-1)k/M

This is the Polyphase Filter

Phase correction

Each path has a unique phase profile

We cancel the aliases

Page 17: Demystifying the PFB · Demystifying the PFB Lifting the hood to a key technique in the Radio Astronomers Toolbox Andrew van der Byl Signal Processing Engineer (CBF) avanderbyl@ska.ac.za

Déjà vu...

Wait a minute…This looks like a DFT!

y[nM,k]x[n]

HM-1[Z]

H0[Z]

H1[Z]

H2[Z]

ej2π0k/M

ej2π1k/M

ej2π2k/M

ej2π(M-1)k/M

The DFT performs the task of separating the channels after the polyphase filter

DFT defines the channel spacing(one-Mth of the

input sample rate)

Page 18: Demystifying the PFB · Demystifying the PFB Lifting the hood to a key technique in the Radio Astronomers Toolbox Andrew van der Byl Signal Processing Engineer (CBF) avanderbyl@ska.ac.za

And the taps...?

y[nM,k]x[n]

HM-1[Z]

H0[Z]

H1[Z]

H2[Z]

ej2π0k/M

ej2π1k/M

ej2π2k/M

ej2π(M-1)k/M

Extend the filter width (multiples of M)(multiples of the summation length)

These terms are periodic

I think I have seen this before…

Source: CASPER wiki

Page 19: Demystifying the PFB · Demystifying the PFB Lifting the hood to a key technique in the Radio Astronomers Toolbox Andrew van der Byl Signal Processing Engineer (CBF) avanderbyl@ska.ac.za

And the taps...?

- 3 - 2 - 1 0 1 2 3 4 F r e q u e n c y ( n o r m a l i z e d t o c h a n n e l c e n t e r )

- 1 2 0

- 1 0 0

- 8 0

- 6 0

- 4 0

- 2 0

0

Mag

nitu

de R

espo

nse

(dB)

F i l t e r B a n k F r e q u e n c y R e s p o n s e

F F T4 - t a p P F B8 - t a p P F B

Page 20: Demystifying the PFB · Demystifying the PFB Lifting the hood to a key technique in the Radio Astronomers Toolbox Andrew van der Byl Signal Processing Engineer (CBF) avanderbyl@ska.ac.za

The CASPER PFB: Lets take another look

y[nM,k]x[n]

HM-1[Z]

H0[Z]

H1[Z]

H2[Z]

ej2π0k/M

ej2π1k/M

ej2π2k/M

ej2π(M-1)k/M

Page 21: Demystifying the PFB · Demystifying the PFB Lifting the hood to a key technique in the Radio Astronomers Toolbox Andrew van der Byl Signal Processing Engineer (CBF) avanderbyl@ska.ac.za

Right, so what controls can we tweak?

Page 22: Demystifying the PFB · Demystifying the PFB Lifting the hood to a key technique in the Radio Astronomers Toolbox Andrew van der Byl Signal Processing Engineer (CBF) avanderbyl@ska.ac.za

Looking back…

• PFB in the real world

• The why...

• Diving under the hood

• PFB: A CASPER Tool

y[nM,k]x[n]

Page 23: Demystifying the PFB · Demystifying the PFB Lifting the hood to a key technique in the Radio Astronomers Toolbox Andrew van der Byl Signal Processing Engineer (CBF) avanderbyl@ska.ac.za

Questions & Comments

Andrew van der Byl

[email protected]


Recommended