27
Jack Hickish, University of Oxford CASPER Workshop 2009, Cape Town SA Beamforming and Calibration with CASPER

Beamforming and Calibration with CASPER

  • Upload
    loren

  • View
    38

  • Download
    0

Embed Size (px)

DESCRIPTION

Beamforming and Calibration with CASPER. Jack Hickish, University of Oxford CASPER Workshop 2009, Cape Town SA. Beamforming & Gateware Calibration. Introduction. CASPER for Students. CASPER for Students. CASPER for Students. Beamforming & Gateware Calibration. Jack Hickish. - PowerPoint PPT Presentation

Citation preview

Page 1: Beamforming and Calibration with CASPER

Jack Hickish, University of OxfordCASPER Workshop 2009, Cape Town SA

Beamforming and Calibration with CASPER

Page 2: Beamforming and Calibration with CASPER

[email protected]

Introduction

Jack Hickish

CASPER for Students

Beamforming & Gateware Calibration

Page 3: Beamforming and Calibration with CASPER

[email protected]

CASPER for Students

Jack Hickish

Beamforming & Gateware Calibration

CASPER for Students

Page 4: Beamforming and Calibration with CASPER

[email protected]

CASPER for Students

Jack Hickish

• CASPER is not just beamformers & correlators!

Communications

Radio / TV

CASPER as an educational tool.

Page 5: Beamforming and Calibration with CASPER

[email protected]

Beamforming & Calibration

Jack Hickish

Beamforming & Gateware Calibration

CASPER for Students

Page 6: Beamforming and Calibration with CASPER

[email protected]

Beamforming & Calibration

Jack Hickish

DIGITAL BEAM

Page 7: Beamforming and Calibration with CASPER

[email protected]

Beamforming & Calibration

Jack Hickish

N-element Beamforming

N-element Diffraction

Page 8: Beamforming and Calibration with CASPER

[email protected]

Beamforming & Calibration

Jack Hickish

sin θ

I(θ)

Page 9: Beamforming and Calibration with CASPER

[email protected]

Time Domain Beamforming

Jack Hickish

• Delay and Sum – simple, right?

• Delay precision << 1/Bandwidth

Delay by integerFPGA clock periods

Delay by integerADC clock periods

Interpolationbetweensamples

> >

Page 10: Beamforming and Calibration with CASPER

[email protected]

Time Domain Beamforming

Jack Hickish

• Integer FPGA periods• FIFO / Programmable Delay

• Integer ADC periods• Reordering of demuxed ADC output

• Interpolation• N tap FIR filter• Implementation on CASPER hardware (Nagpal, 2006)

Page 11: Beamforming and Calibration with CASPER

[email protected]

Time Domain Beamforming

Jack Hickish

Calibration

• Unwanted, uncontrollable “delays” introduced into the signal chains before digitisation

Page 12: Beamforming and Calibration with CASPER

[email protected]

Time Domain Beamforming

Jack Hickish

2PAD: delays between 4 analogue channels (D.

Price & S. Schediwy, 2009)

Page 13: Beamforming and Calibration with CASPER

[email protected]

Time Domain Beamforming

Jack Hickish

Effect of calibration errors on station beam patterns (at 1GHz) (Price, Schediwy, 2009), as simulated in OSKAR (wiki.oerc.ox.ac.uk/OSKAR)

4x4 array (≈ 2PAD) 300x300 array (≈ SKA)

Page 14: Beamforming and Calibration with CASPER

[email protected]

Time Domain Beamforming

Jack Hickish

For a 4x4 array, with <5° pointing error, time delays calibration error <0.03ns (11°) at 1GHz

Relative delays across band for 4 2PAD channels

(Price & Schediwy, 2009)

Page 15: Beamforming and Calibration with CASPER

[email protected]

Frequency Domain Beamforming

Jack Hickish

• Before summing analogue inputs, channelise using FFT/PFB

• Multiply data streams by complex phase and sum

Page 16: Beamforming and Calibration with CASPER

[email protected]

Frequency Domain Beamforming

Jack Hickish

Basic frequency domain beamforming algorithm…

ADC X

Beam Coefficients

∫ 10GbEFFT

ADC XFFTiBOB: 4 x 200MHz BW

Roach: 4 x 400MHz BW

Page 17: Beamforming and Calibration with CASPER

[email protected]

Frequency Domain Beamforming

Jack Hickish

Time delay errors (and other phase distortions) manifest themselves as relative phases between inputs.

ADC FFT

ADC FFT

Conjugate

Multiply ∫ BRAM

Vector Accumulator

Calibration for frequency dependent errors

Page 18: Beamforming and Calibration with CASPER

[email protected]

Frequency Domain Beamforming

Jack Hickish

• Beamforming coefficients are different for each spectral channel- Can calibrate for dispersion/non-uniform delay errors across band

Implemented in SoftwareSoftware CalibrationAlgortihm

Page 19: Beamforming and Calibration with CASPER

[email protected]

Frequency Domain Beamforming

Jack Hickish

A simple calibration algorithm…

1. Designate one signal the “reference”.

2. Compare phases of other channels to the “reference” – FX correlate

3. Use PC software to grab correlation result.

4. Calculate phase of result (which is “CASPER format” complex number) (arctan operation)

5. Generate pure phase “CASPER format” complex coefficients (sin/cos operation)

6. Upload coefficients to FPGA accessible memory.

Page 20: Beamforming and Calibration with CASPER

[email protected]

Frequency Domain Beamforming

Jack Hickish

Page 21: Beamforming and Calibration with CASPER

[email protected]

CORDIC Operations

Jack Hickish

CO-ordinate Rotation DIgital Computer

Efficient calculation of (amongst others)sine/cosine/arctan

Eg. Sin/Cos

Rotate initial vector (1,0) using rotation matrix

Express sin θ, cos θ in terms of tan θ.

Choose rotation angles, ß, such that tan(ß) = ±2-n

Page 22: Beamforming and Calibration with CASPER

[email protected]

Frequency Domain Beamforming

Jack Hickish

Calibration in gateware

Page 23: Beamforming and Calibration with CASPER

[email protected]

Frequency Domain Beamforming

Jack Hickish

Gateware calibration engine: Resource use, approx 5-10% of VirtexIIP

Page 24: Beamforming and Calibration with CASPER

[email protected]

Frequency Domain Beamforming

Jack Hickish

Why calibrate in gateware?

• Faster, and more reliable than uploading coefficients over ethernet

• Elements (eg CORDIC sin/cos) of calibration engine can likely be used for rapid calculation and application of

beamforming coefficients.

• Less shared BRAM – less resource waste

Page 25: Beamforming and Calibration with CASPER

[email protected]

Frequency Domain Beamforming

Jack Hickish

Mean Error:0.5 degrees

Page 26: Beamforming and Calibration with CASPER

[email protected]

Gateware Beamforming

Jack Hickish

How easy is CASPER, really?

4 input internally calibrated F-domain beamformer - Development time << 8 weeks

Page 27: Beamforming and Calibration with CASPER

[email protected]

Gateware Beamforming

Jack Hickish

How easy is CASPER, really?

4 input internally calibrated F-domain beamformer - Development time << 8 weeks

one would assume that an FFT block has a base minimumsync pulse period equal to the FFT length…“