sdss7 - dsp and backends intro, 12 jul 2013 digital signal processing basics and ao back-ends luis...

54
SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department Arecibo Observatory

Upload: lewis-hall

Post on 17-Dec-2015

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Digital Signal Processing Basics and AO Back-Ends

Luis A. QuinteroDigital Section Head

Electronics DepartmentArecibo Observatory

Page 2: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Introduction to Digital Signal Processing

Page 3: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

System - World

time

Quantity

Transducer

ELECTRICAL VARIABLEResistance, Capacitance,Voltage, etc

time

Voltage

SignalConditioning

Continuous Signal Acquisition - Transducers

Page 4: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Continuous-time Signal (real signal)

time

Amplitude

time

Discrete-time SignalAmplitude

Sampling

Page 5: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Signal Storage in Computers

time

1V

-1V

+ 0.40

- 0.90

- 0.45

+ 0.70

- 0.47

- 0.82

+ 0.30http://www.iusb.edu/

Page 6: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Analog to Digital Converter – Quantization

time

+ 0.40

- 0.90

- 0.45

+ 0.70

- 0.47

- 0.82

+ 0.30

4

6

1

4

01234567

2

5

2

A/D …

Page 7: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Analog to Digital Converter – Quantization

time

4

6

1

4

2

5

2

Digital-to-AnalogConverter

D/A…

http://www.iusb.edu/

Page 8: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Digital Signal Processing System

Digital-to-AnalogConverter

D/A…A/D

Analog-to-Digital Converter

Computer

Data StorageData Processing - Math Operations - Filters - Fourier Transform - Data Format

Computer (Digital System) - Micro Processor - DSP (MAC) - Logic Circuit - ASIC - PAL/CPLD - FPGA

Page 9: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Sampling Rate – Analog to Digital

time

time

1 Second

Fs = 9 samples/second = 9Hz

Fs = 19 samples/second = 19Hz

Better signal reconstructionMore computer memory / BW and $$

Page 10: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Analog to Digital Converter - Clock Input

A/D …

clk

ANALOG DIGITAL

Clock for digital circuit

Stable – jitter

Page 11: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Resolution

time

time

Resolution: 3bits, 23 = 8 combinations

Resolution: 4bits, 24 = 16 combinations

Values from 0to 7

Values from 0to 15

Better signal quantizationMore computer memory and $$

0

7

0

15

Page 12: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Saturation

• Resolution: 3bits, 23 = 8 combinations • Too much power to the ADC• Saturation caused by interference (RFI)

time0

7

Page 13: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Sampling – FT, Nyquist and Aliasing

Page 14: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Sampling – FT, Nyquist and Aliasing

Fs = 200Hz, Ts = 5ms, Fs/2 = 100Hz

Page 15: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Signal Processing – Adder

=

1bit adder

4bit adder

4

4

5

Page 16: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Signal Processing – Multiplier

4

4

8

• Multiplication by a Constant – Gain• Multiplication by -1, Sign change• Multiplication by a function – e.g. sin/cos - up/down conv.

Things to consider• Bit growing• Precision – Approximation Errors

Page 17: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Signal Processing – Functions, e.g. sin/cos

x[n]

sin[n]

x[n] * sin[n]

n

Phase Increment

ADDR

Mem - LUT

DATA

DDS

Page 18: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Signal Processing – Synchronization

clk

latency

Page 19: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Filtering – e.g. Finite Impulse Response (FIR)

Page 20: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Auto Correlation

Page 21: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Discrete Fourier Transform - DFT

X[k] =FNx[n]

FFT – Fast Fourier Transform, optimized DFT (butterflies)

Page 22: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Examples with Signals

• Fourier Transform• Saturation• Averaging• Clock Jitter

Page 23: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Fourier Transform, one tone

Page 24: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Fourier Transform, two tones

Page 25: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Fourier Transform, noise effect

Page 26: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Fourier Transform, averaging

Page 27: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Fourier Transform, longer transf.

Page 28: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Fourier Transform, Saturation

Page 29: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Fourier Transform, Clock Jitter

0% Jitter

40% Jitter

Page 30: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Applications in Radio Astronomy

Page 31: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Gregorian Dome Receivers

Ganesan, R. “Telescope Electronics”, May 2006

Page 32: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Radio Frequency Signal Path

SIGNAL IN

FRONT END

IF/LO

DIGITIZERCOMPUTER

BACK-END

DETECTOR

Page 33: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Signal Transport – Intermediate Freq.

Page 34: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Final Stage – Data Acquisition

SIGNAL IN

FRONT END

IF/LO

DIGITIZERCOMPUTER

BACK-END

DETECTOR

Data Sampling and Storage

Page 35: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Bandpass Signals in IF

Page 36: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Sampling - Nyquist Zones & Analog BW

Page 37: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Wideband Arecibo Pulsar Processor (WAPP)

• 4 WAPPs• 1 WAPP = 2 IF Channels 2 Correlators 1 Multiplexer• 50/100 MHz BW• auto / crosscorrelations• Step attenuators• Technical issues: Difficult to troubleshoot Obsolete parts

Page 38: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Wideband Arecibo Pulsar Processor (WAPP)

Page 39: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

WAPP Correlators (~1995)

High Performance CMOS Correlator Chip (ASIC)

• 16 Chips per board • Autocorrelation / Crosscorrelation• 1024 Lags / chip• 100MSPS each• “Low Power”• TTL compatible

http://www.naic.edu/~astro/general_info/correlator/cmos.html

Page 40: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Complex Sampling

Page 41: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Arecibo L-band Feed Array

• 7 Receivers• Dual Polarization• 14 analog signals• 1225 – 1525MHz 300MHz BW• Designed by Germán Cortés Medellín (Cornell)

Ganesan, R. “Telescope Electronics”, May 2006

Page 42: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Complex Sampling Example: ALFA

1225 1525

Page 43: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Mock Spectrometer / PDEV (~2007)

Designed and developed by Jeff Mock• 8 x AD9430, 12bits ADCs• 2 x Xilinx Virtex II Pro FPGA• 2 QDR Mem, 2M x 36• 1x PowerPC Processor• Flash & SRAM mems• 2 x GbE, 2 x RS232• 5 x SMA (clk, PPS, etc)• LCD 128x64 pixels

Digital BoardDigitizers

Page 44: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

PDEV – Architecture

ADCADCADCADC GX2VP70

PPC440GX

GX2VP70

QDR2Mx36

QDR2Mx36

2 x GbE

2 x RS232

4 x SMA

Flash /SRAM

ADCADCADCADC

PCIe x8MGT

PCIe x8MGT

Page 45: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

PDEV – Mock Spectrometer

PF

B/F

FT

16

-8k

ADC0

ADC0

ADC0

ADC0

GA

IN/O

FF

SE

T

SW

ITC

H

TEST SIGNAL

12

12

12

12 DD

C (

DD

S,

LPF

)

ST

OK

ES

AC

CU

MU

LAT

OR

PA

CK

ET

IZE

CONFIGURATION REGISTERS

PR

OC

. IN

T.

CW, Noise,CW + Noise

Page 46: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

EALFA / PALFA Backend

14 PDEVs*

7 for 7 ALFA pixels (primary) 7 for 7 ALFA pixels (commensal)

14 File servers (4TB)We own in total 24 PDEVs

DDC (DDS, Mixer, DLPF)PFB (up to 8192 channels)Stokes parametersAccumulation, Packing* http://www.naic.edu/~phil/talks/vc09/tel_Perf_datatking_09.ppt

Page 47: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

GALFA Spectrometer / GALSPECT (~2004)

• Backend for theArecibo L-band Feed Array (ALFA) multibeam receiver • 7 beams, dual polarization• Outputs*: Narrowband: 8192channels, 7MHz BW Wideband: 512 channels, 100MHz BW

Page 48: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

PR Ultimate Pulsar Processing Instrument ( PUPPI)

• 100/200/400/800MHz BW • Polyphase Filter Bank• Dual Pol. 8 bit ADC• Full Stokes• 200MB per second recording (10GbE)• 0-15.5dB Level Control• PSRFITS data format• 1xBee2 + 2xiBOB

Page 49: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Recording Systems – Mark IV / 5A / 5C / RDBE

• Mark IV + Mark 5A: 1Gbps (125MB every second)• RDBE + Mark5C: 4Gbps (500MB every second)•eVLBI, AO-UPR-Centenial link: 155Mbps all time512Mbps 24h-6h

Page 50: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Roach Radar Backend – RRB• Complex Baseband -

Digital Down Converter (DDC)• 50MHz bandwidth max.• 2 x IF channels (polA/polB)• Bit selection, 8/4bits• 1.6Gbps max. data rate• Doppler correction• Programmable digital filter• Hardware (three systems):

ROACH – Signal Proc.katADC – 2x1.5Gsps@8bitRAID Server, dual 10GbE

• Fixed parameters: Summer 2012

Page 51: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Analog v.s. Digital

Page 52: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Down Conversion

Page 53: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Digital Down Conversion

Page 54: SDSS7 - DSP and Backends Intro, 12 Jul 2013 Digital Signal Processing Basics and AO Back-Ends Luis A. Quintero Digital Section Head Electronics Department

SDSS7 - DSP and Backends Intro, 12 Jul 2013

Questions?