Lecture 13: Basic Concepts of Wavefront …max/289/Lectures 2016/Lecture13...Page 1 Lecture 13:...

24
Page 1 Lecture 13: Basic Concepts of Wavefront Reconstruction Astro 289 Claire Max February 25, 2016 Based on slides by Marcos van Dam and Lisa Poyneer CfAO Summer School

Transcript of Lecture 13: Basic Concepts of Wavefront …max/289/Lectures 2016/Lecture13...Page 1 Lecture 13:...

Page 1: Lecture 13: Basic Concepts of Wavefront …max/289/Lectures 2016/Lecture13...Page 1 Lecture 13: Basic Concepts of Wavefront Reconstruction Astro 289 Claire Max February 25, 2016 Based

Page 1

Lecture 13: Basic Concepts of Wavefront Reconstruction

Astro 289

Claire Max February 25, 2016

Based on slides by Marcos van Dam and Lisa Poyneer

CfAO Summer School

Page 2: Lecture 13: Basic Concepts of Wavefront …max/289/Lectures 2016/Lecture13...Page 1 Lecture 13: Basic Concepts of Wavefront Reconstruction Astro 289 Claire Max February 25, 2016 Based

Page 2

•  System matrix, H: from actuators to centroids

•  Reconstructor, R: from centroids to actuators

•  Hardware

Outline

s = Haa = Rs

Wavefront sensor Wavefront (phase)

Page 3: Lecture 13: Basic Concepts of Wavefront …max/289/Lectures 2016/Lecture13...Page 1 Lecture 13: Basic Concepts of Wavefront Reconstruction Astro 289 Claire Max February 25, 2016 Based

Page 3

Mapping subapertures and actuators

4

Phase in pupil

Slop

e ve

ctor

: bot

h x-

and

y-s

lope

s

Actu

ator

vec

tor

s φ

Page 4: Lecture 13: Basic Concepts of Wavefront …max/289/Lectures 2016/Lecture13...Page 1 Lecture 13: Basic Concepts of Wavefront Reconstruction Astro 289 Claire Max February 25, 2016 Based

Page 4

Mapping subapertures and actuators

4

Phase in pupil

Slop

e ve

ctor

: bot

h x-

and

y-s

lope

s

Actu

ator

vec

tor

s φ

Page 5: Lecture 13: Basic Concepts of Wavefront …max/289/Lectures 2016/Lecture13...Page 1 Lecture 13: Basic Concepts of Wavefront Reconstruction Astro 289 Claire Max February 25, 2016 Based

Page 5

Mapping subapertures and actuators

4

Phase in pupil

Slop

e ve

ctor

: bot

h x-

and

y-s

lope

s

Actu

ator

vec

tor

s φ

Page 6: Lecture 13: Basic Concepts of Wavefront …max/289/Lectures 2016/Lecture13...Page 1 Lecture 13: Basic Concepts of Wavefront Reconstruction Astro 289 Claire Max February 25, 2016 Based

Page 6

Mapping subapertures and actuators

4

Phase in pupil

Slop

e ve

ctor

: bot

h x-

and

y-s

lope

s

Actu

ator

vec

tor

s φ

Page 7: Lecture 13: Basic Concepts of Wavefront …max/289/Lectures 2016/Lecture13...Page 1 Lecture 13: Basic Concepts of Wavefront Reconstruction Astro 289 Claire Max February 25, 2016 Based

Page 7

Mapping subapertures and actuators

4

Phase in pupil

Slop

e ve

ctor

: bot

h x-

and

y-s

lope

s

Actu

ator

vec

tor

s φ

Page 8: Lecture 13: Basic Concepts of Wavefront …max/289/Lectures 2016/Lecture13...Page 1 Lecture 13: Basic Concepts of Wavefront Reconstruction Astro 289 Claire Max February 25, 2016 Based

Page 8

Mapping subapertures and actuators

4

Phase in pupil

Slop

e ve

ctor

: bot

h x-

and

y-s

lope

s

Actu

ator

vec

tor

s φ

Page 9: Lecture 13: Basic Concepts of Wavefront …max/289/Lectures 2016/Lecture13...Page 1 Lecture 13: Basic Concepts of Wavefront Reconstruction Astro 289 Claire Max February 25, 2016 Based

Page 9

•  System matrix describes how a signal applied to the actuators, a, affects the WFS centroids, s.

•  Can be calculated theoretically or, preferably, measured experimentally

System matrix generation

s = Ha

Page 10: Lecture 13: Basic Concepts of Wavefront …max/289/Lectures 2016/Lecture13...Page 1 Lecture 13: Basic Concepts of Wavefront Reconstruction Astro 289 Claire Max February 25, 2016 Based

Page 10

•  Poke one actuator at a time in the positive and negative directions and record the WFS centroids

•  Set WFS centroid values from subapertures far away from the actuators to 0

Experimental system matrix

System matrix

Noise

Page 11: Lecture 13: Basic Concepts of Wavefront …max/289/Lectures 2016/Lecture13...Page 1 Lecture 13: Basic Concepts of Wavefront Reconstruction Astro 289 Claire Max February 25, 2016 Based

Page 11

•  We have the system matrix

•  We need a reconstructor matrix to convert from centroids to actuator voltages

Inverting the system matrix

s = Ha

a = Rs

Ha = s

H THa = HT s

a = (HTH )−1HT s

RLeast-squares reconstructor

Page 12: Lecture 13: Basic Concepts of Wavefront …max/289/Lectures 2016/Lecture13...Page 1 Lecture 13: Basic Concepts of Wavefront Reconstruction Astro 289 Claire Max February 25, 2016 Based

Page 12

•  Least squares reconstructor is

•  Minimizes

•  But is not invertible because some modes are invisible!

•  Two invisible modes are piston and waffle

Least-squares reconstructor

HTH

(HTH )−1HT

(s − Ha)2

Page 13: Lecture 13: Basic Concepts of Wavefront …max/289/Lectures 2016/Lecture13...Page 1 Lecture 13: Basic Concepts of Wavefront Reconstruction Astro 289 Claire Max February 25, 2016 Based

Page 13

•  The SVD reconstructor is found by rejecting small singular values of H.

•  Write

•  The pseudo inverse is

Singular value decomposition (SVD)

H =UΛVT

Λ =

λ1λ2

λ3!

⎢⎢⎢⎢⎢

⎥⎥⎥⎥⎥

are the eigenvalues of HTHλi

H + =VΛ−1UT

Page 14: Lecture 13: Basic Concepts of Wavefront …max/289/Lectures 2016/Lecture13...Page 1 Lecture 13: Basic Concepts of Wavefront Reconstruction Astro 289 Claire Max February 25, 2016 Based

Page 14

•  The pseudo inverse is

•  Replace all the with 0 for small values of

Singular value decomposition

Λ−1 =

λ1−1

λ2−1

λ3−1

!

⎢⎢⎢⎢⎢

⎥⎥⎥⎥⎥

λi−1

H + =VΛ−1UT

λi

Page 15: Lecture 13: Basic Concepts of Wavefront …max/289/Lectures 2016/Lecture13...Page 1 Lecture 13: Basic Concepts of Wavefront Reconstruction Astro 289 Claire Max February 25, 2016 Based

Page 15

•  Example: Keck Observatory

Singular value decomposition

Set to zero

Page 16: Lecture 13: Basic Concepts of Wavefront …max/289/Lectures 2016/Lecture13...Page 1 Lecture 13: Basic Concepts of Wavefront Reconstruction Astro 289 Claire Max February 25, 2016 Based

Page 16

•  Suppose we only have centroid noise in the system with variance

•  Variance of actuator commands is:

Noise propagation

σ 2

Var(a) = Var(Rs)= E[(Rs)2 ]− (E[(Rs)])2

= E[(Rs)2 ]

= R 2 E[s2 ]

= R 2σ 2

0

Page 17: Lecture 13: Basic Concepts of Wavefront …max/289/Lectures 2016/Lecture13...Page 1 Lecture 13: Basic Concepts of Wavefront Reconstruction Astro 289 Claire Max February 25, 2016 Based

Page 17

•  For well-conditioned H matrices, we can penalize piston, p, and waffle, w:

•  Minimizes

Least-squares reconstructor

(s − Ha)2 + (pTa)2 + (wTa)2

R = (HTH + ppT +wwT )−1HT

p = [1,1,1,1,1,1,...]T

w = [1,−1,1,−1,1,...]T

Choose the actuator voltages that best cancel the measured centroids

Invertible

Page 18: Lecture 13: Basic Concepts of Wavefront …max/289/Lectures 2016/Lecture13...Page 1 Lecture 13: Basic Concepts of Wavefront Reconstruction Astro 289 Claire Max February 25, 2016 Based

Page 18

•  For well-conditioned H matrices, we can penalize piston, p, and waffle, w:

•  Minimizes

Least-squares reconstructor

(s − Ha)2 + (pTa)2 + (wTa)2

R = (HTH + ppT +wwT )−1HT

p = [1,1,1,1,1,1,...]T

w = [1,−1,1,−1,1,...]T

Choose the actuator voltages such that there is no piston

Page 19: Lecture 13: Basic Concepts of Wavefront …max/289/Lectures 2016/Lecture13...Page 1 Lecture 13: Basic Concepts of Wavefront Reconstruction Astro 289 Claire Max February 25, 2016 Based

Page 19

•  For well-conditioned H matrices, we can penalize piston, p, and waffle, w:

•  Minimizes

Least-squares reconstructor

(s − Ha)2 + (pTa)2 + (wTa)2

R = (HTH + ppT +wwT )−1HT

p = [1,1,1,1,1,1,...]T

w = [1,−1,1,−1,1,...]T

Choose the actuator voltages such that there is no waffle

Page 20: Lecture 13: Basic Concepts of Wavefront …max/289/Lectures 2016/Lecture13...Page 1 Lecture 13: Basic Concepts of Wavefront Reconstruction Astro 289 Claire Max February 25, 2016 Based

Page 20

•  Penalize waffle in the inversion: 1.   Inverse covariance matrix of Kolmogorov turbulence or

2.   Waffle penalization matrix

Least-squares reconstructor

1 2

Page 21: Lecture 13: Basic Concepts of Wavefront …max/289/Lectures 2016/Lecture13...Page 1 Lecture 13: Basic Concepts of Wavefront Reconstruction Astro 289 Claire Max February 25, 2016 Based

Page 21

Slaved actuators

•  Some actuators are located outside the pupil and do not directly affect the wavefront

•  They are often “slaved” to the average value of its neighbors

Slaved to average value of its neighbors

Page 22: Lecture 13: Basic Concepts of Wavefront …max/289/Lectures 2016/Lecture13...Page 1 Lecture 13: Basic Concepts of Wavefront Reconstruction Astro 289 Claire Max February 25, 2016 Based

Page 22

Modal reconstructors

•  Can choose to only reconstruct certain modes

•  Avoids reconstructing unwanted modes (e.g., waffle)

Zernike modes

Page 23: Lecture 13: Basic Concepts of Wavefront …max/289/Lectures 2016/Lecture13...Page 1 Lecture 13: Basic Concepts of Wavefront Reconstruction Astro 289 Claire Max February 25, 2016 Based

Page 23

R = Z[(HZ )T (HZ )]−1(HZ )T

Z = [z1, z2, z3,...]

Modal reconstructors

Zernike modes

HZ Centroids measured by applying Zernike modes to the DM

Zernike reconstructor

Page 24: Lecture 13: Basic Concepts of Wavefront …max/289/Lectures 2016/Lecture13...Page 1 Lecture 13: Basic Concepts of Wavefront Reconstruction Astro 289 Claire Max February 25, 2016 Based

Page 24

Hardware approaches

•  Systems until recently could use fast CPUs

•  For advanced AO systems, need to use more processors and be able to split the problem into parallel blocks

•  GPU – Graphics Processing Unit

•  DSP – Digital Signal Processor

•  FPGA – Field Programmable Gate Array (lots and lots of logic gates)