Donald Gavel, Donald Wiberg, Center for Adaptive Optics, U.C. Santa Cruz Marcos Van Dam, Lawrence...
-
Upload
rosanna-carpenter -
Category
Documents
-
view
218 -
download
2
description
Transcript of Donald Gavel, Donald Wiberg, Center for Adaptive Optics, U.C. Santa Cruz Marcos Van Dam, Lawrence...
Donald Gavel, Donald Wiberg,Center for Adaptive Optics, U.C. Santa Cruz
Marcos Van Dam,Lawrence Livermore National Laboaratory
Towards Strehl-Optimal Adaptive Optics Control
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
2
The goal of adaptive optics is to Maximize Strehl
• Max Strehl minimize residual wavefront variance (Marechal’s aproximation)
x x x W x dxA W x dxA 1
a
a
x a r xi ii
n
1
x x x
x W x dx
a
A
2 2
• Phase correction by DM:
• Piston-removed atmospheric phase:
a ai i svector of actuator commands
vector of wavefront sensor readingsactuator response functions
2
Strehl e
aperture averaged residual
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
3
Strehl-optimizing adaptive optics
sxx |ˆ
dxxWxJ A22
dxxWxxJ AE
2
CE JJJ
Define the cost function, J = mean square wavefront residual:
• JE is the estimation part:
• JC is the control part:
is the conditional mean of the wavefront
dxxWxxJ AaC
2ˆ
Wavefront estimation and control problems are separable (proven on subsequent pages):
and
where
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
4
The Conditional Mean
dsP
sPdsPsxx
S
SS
,||ˆ ,
|
The conditional mean is the expected value over the conditional distribution:
sP
sPsP
S
SS
,| ,
|
The conditional probability distribution is defined via Bayes theorem:
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
5
2. The error in the conditional mean is uncorrelated to the data it is conditioned on:
3. The error in the conditional mean is uncorrelated to the conditional mean:
4. The error in the conditional mean is uncorrelated to the actuator commands:
Properties of the conditional mean
1. The conditional mean is unbiased:
0||
||
|ˆ~~
0||||
|||,
||,|ˆˆˆ~
0,
,ˆ~
0ˆˆ|ˆˆ
|ˆ|,ˆ~
1||
1||
1|
1
|||,
|||,
||,|
,,
|
|,,
a
a
aa
n
iSSii
n
iSSii
n
iSii
n
iiia
SSSSSS
SSSSS
SSSSS
SS
SS
SSSSS
SSSSS
dsdsPdsPsaxr
dsdsPdsPsaxr
dsdsPsaxrsaxrxx
dsdsPdsPsPdsdsPdsPsP
dsdsPdsPsPdsdsPdsP
dsdsPdsPsPdsdsPdsPxx
dssPdsP
sPsdsdssPssx
dssPdssPdsdsPsPdssP
dsdsPsPdsdsPsPdsdsP
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
6
CE
CAaE
Aaa
Aa
JJ
JdxxWxxxxJ
dxxWxxxxxxxx
dxxWxxxxJ
ˆ~~2
ˆˆˆ2ˆ
ˆˆ
22
2
0 0
Proof that J = JE+JC (the estimation and control problems are separable)
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
7
1) The conditional mean wavefront is the optimal estimate (minimizes JE)
22
22
22
22
22
~)|(,~2~
),(,~2~
~2~
~
dsdsPssPs
dsdsPss
s
S
E
sssE ˆ
22ˆEEJ
Let
for any 0
0
Proof:We show that any other wavefront estimate results in larger JE
Therefore, minimizes JE ssE ˆ
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
8
sSpT 1ˆ xx
iS
ii vdxxWxs
wavefront sensor operator: (average-gradient operator in the Hartmann slope sensor case)
Calculating the conditional mean wavefront given wavefront sensor measurements
ji
sj
sijiij
siii
vvxdxdxxxWxWssS
xdxWxxsxxp
Ks
sn
iii sxks
1
Measurement noise
For Gaussian distributed and , it is straightforward to show (see next page) that the conditional mean of must be a linear function of s:
11ˆ
ˆ
TTTT
TT
ssssssK
ssKs
where
since 0~s
The measurement equation
Cross-correlate both sides with s and solve for K
so
(known as the “normal” equation)
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
9
Aside: Proof that the conditional mean is a linear function of measurements
if the wavefront and measurement noise are Gaussian
Ks
sHHH
HsHs
HsHs
1111
11
11
|
21
21maxarg
21
21exp
|
vvT
Tv
T
Tv
T
S
S
d
sP
dPsPs
iS
ii vdxxWxs
Bayesian conditional mean
Gaussian distribution
= maximum log-Likelihood of a-posteriori distribution
= a linear (least squares) solution
Hs
Measurement equation
Measurement is a linear function of wavefront
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
10
2) The best-fit of the DM response functions to the conditional mean
wavefront minimizes JC
dxxWxxJ AaC
2ˆ
dxxWxxr Aj r dxxWxrxr Aji )()()(R
Rar T
iAjiiAj
Aji
iij
C
Ai
iiC
dxxWxrxradxxWxrx
dxxWxrxraxaJ
dxxWxraxJ
ˆ
ˆ0
ˆ2
where and
rRa 1
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
11
Comparing to Wallner’s1 solution
sASRa 11
dxxWxpxr AjiA
Combining the optimal estimator (1) and optimal controller (2) solutions gives Wallner’s “optimal correction” result:
1E. P. Wallner, Optimal wave-front correction using slope measurements, JOSA, 73, 1983.
where
• The two methods give the same result, a set of Strehl-optimizing actuator commands
• The conditional mean approach separates the problem into two independent problems:
1) statistically optimal estimation of the wavefront given noisy data2) deterministic optimal control of the wavefront to its optimal estimate given the
deformable mirror’s actuator influence functions• We exploit the separation principle to derive a Strehl-optimizing closed-loop
controller
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
12
The covariance statistics of (x)(piston-removed phase over an aperture A)
dWxx A
axgxgxxDxx
xdxdxWxWxx
xdxWxx
xdxWxxxxxx
AA
A
A
21
xxxxxxxxD 2222
xdxWxxDxg A21
xdxdxWxgxxDxWa AA 21
where
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
13
The g(x) function and a are “generic” under Kolmogorov statistics
35
088.6
rD
xg
Dx
35
02
88.6r
Dx
Dx
35088.60.149831 rDa
• D(x) = 6.88(|x|/r0)5/3
• Circular aperture, diameter D• Factor out parameters 6.88(D/r0)5/3 and integrals are computable numerically
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
14
Towards a Strehl-optimizing control law for adaptive optics
Remember our goal is to maximize Strehl = minimize wavefront variance in an adaptive optics system
• So the optimum controller uses the conditional mean, conditioned on all the previous data:
, , , x x t t t s s s1 2
• But adaptive optic systems measure and control the wavefront in closed loop at sample times that are short compared to the wavefront correlation time.
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
15
We need to progress the conditional mean through time (the Kalman filter2 concept)
, ,
, ,
, , , ,
t t t t
t t t t
t t t t t t t t
x x
x x
x x x x
1 1 1 2
1 2
1 2
s s
s s
s s s s
1. Take a conditional mean at time t-1 and progress it forward to time t
2. Take data at time t
3. Instantaneously update the conditional mean, incorporating the new data
4. Progress forward to time step t+1
5. etc.
2Kalman, R.E., A New Approach to Linear Filtering and Prediction Problems, J. Basic Eng., Trans. ASME, 82,1, 1960.
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
16
Kalman filtering
t x t x
1UpdateTime
progress
new datast
t x
1 t xTime
progressUpdate
new data
st1
t x
1
. . .. . .
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
17
Problems with calculating and progressing the conditional mean of an
atmospheric wavefront through time
• The wavefront is defined on a Hilbert Space (continuous domain) at an infinite number of points, x A (A = the aperture).
• The progression of wavefronts with time is not a well-defined process (Taylor’s frozen flow hypothesis, etc.)
• In addition to the estimate, the estimate’s error covariance must be updated at each time step. In the Hilbert Space, these are covariance bi-functions: ct (x,x’)=<t(x),t(x’)>, x A, x’ A.
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
18
Justifying the extra effort of the optimal estimator/optimal controller
• If is interesting to compare “best possible” solutions to what we are getting now, with “non-optimal” controllers
• Determine if there is room for much improvement.
• Gain insights into the sensitivity of optimal solutions to modeling assumptions (e.g. knowledge of the wind, Cn2 profile, etc.)
• Preliminary analysis of tomographic (MCAO) reconstructors suggest that Weiner (statistically optimal) filtering may be necessary to keep the noise propagation manageable
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
19
Updating a conditional mean given new data
ttt
tT
tT
t
Tt
TtTT
tttt
tt
tt
ttes
es
eeseesss
essess
~,,ˆ
11
1
1111
1
1
1
tTtt
Ttttt eeeeeKe
1~
1ˆ
ts
Say we are given a conditional mean wavefront given previous wavefront measurements
And a measurement at time t tt v Hs
tttttt vvs ~11 HHsHseThe residual
is uncorrelated to previous measurements,
where
Summarizing:
ˆˆˆ HsK t
01
Tt tse
Applying the normal equation on the two pieces of data et and st-1:
0
0
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
20
…written in Wallner’s notation
t t t t t tx x x p S s sT 1
, , s s s s Wt t t ts
tx x dx 1 2
TTT vvWWeeS
Wep
xdxdxxxx
xdxxxxx
ttss
ttt
stttt
~~
~~
• Estimate-update, given new data st:
• Covariance-update:
~ ~ ~ ~ t t t t t t tx x x x x x p S pT 1
~ t t tx x x where the estimate error is defined:
Hartmann sensor applied to the wavefront estimate
Correlation of wavefront to measurement
Correlation of measurement to itself
ttt sse ˆ
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
21
How it works in closed loop
t
t t t t
x
x
p S s sT 1
t x
1
t xWavefront
sensor
Best fitto DM
at x
Estimator
t x
Predictor
t x
+
-
W s x x dx
+
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
22
Closed-loop measurements need a correction term
W W
W
s s W
s sa
sa
sa
x x dx x x x dx
x x x x x dx
x x x dx
…since what the wavefront sensor sees is not exactly the same as s - s, the wavefront measurement prediction error
DM Fitting errorMeasurement prediction error
Measurement prediction error = Hartmann sensor residual + DM Fitting error
(measured data) (can be computed from the wavefront estimate and knowledge of the DM)
^
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
23
Time-progressing the conditional mean
t x t x
1Given how do we determine ?
Example 1:On a finite aperture, the phase screen is unchanging and frozen in place
t tx x
1
~ ~ ~ ~ t t t tx x x x
1 1
• Estimates corrections accrue (the integrator “has a pole at zero”)• If the noise covariance <vvT> is non-zero, then the updates cause the
estimate error covariance to decrease monotonically with t.
Consequences:
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
24
Time-progressing the conditional mean
Example 2:
The aperture A is infinite, and the phase screen is frozen flow, with wind velocity w
t tx x w
1
~ ~ ~ ~ t t t tx x x w x w
1 1
Consequence:
• An infinite plane of phase estimates must be updated at each measurement
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
25
Time-progressing the conditional mean
Example 3:The aperture A is finite, and the phase screen is frozen flow, with wind velocity w
AxAx
AxAx
tt
tttt
1
1
ˆ
,,ˆ
ss
A A’
w
At xdxxxF 1ˆ,
as we might expect
wxxxxF ,for x in the overlap
region, AA’
The problem is to determine the progression operator, F(x,x’), for x in the newly blown in region, A A A’ )
more on this approximation later
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
26
“Near Markov” approximation
xxxxx ttttttttt 121121
ˆ,,,, ssss
The propertywhere w is random noise uncorrelated to t-1(x), is known as a Markov property.
Phase over the aperture however is not Markov, since some information in the “tail” portion, A’’ - (A’’ A’ ), which correlated to st-1, is dropped off and ignored. The fractal nature of Kolmogorov statistics does not allow us to write a Markov difference equation governing on a finite aperture.
A A’
w
A’’
We will nevertheless proceed assuming the Markov property since the effect of neglecting in A’’ - (A’’ A’ ) to estimates of in A - (A A’ ) is very small
xwxfx tt 1
that is, the conditional mean on a finite sized aperture retains all of the relevant statistical information from the growing history of prior measurements.
We see that if obeyed a Markov property
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
27
Validity of approximating wind-blown Kolmogorov turbulence as near-Markov
contribution of neglected point in A’’
contribution of point in A’
A A’ A’’
To predict this point
using the estimate at this point
what is the effect of neglecting this point?
AAAAAAA e ,
AAAAe
AA var
AA e var
windInformation contained in points neglected by the near-
Markov approximation is negligible
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
28
The progression operator from A’ to A
x x G x x x x dxA
,
x x G x x x dxA
,G(x,x’’) solves
x A x A ,
We can then say that
x G x x x dx q xA
,
q x x 0
q x ts 1 0
where q(x) is the error in the conditional mean (x) - <(x)|(x’)>. q(x) is uncorrelated to the “data” ((x’))
and, consequentlysince the measurement at t-1 depends only on (x’) and random measurement noise.
We write the conditional mean of the wavefront in A, conditioned on knowing it in A’
, t tA
x G x x x dx
1 xxGxxF ,,Theni.e.
Note: q(x) = 0 and G(x,x’) = (x-x’-w) for x in the overlap A A’
Also true in the overlap since q(x) = 0 there
(a normal equation)A A’
w
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
29
In summary: The time-progression of the conditional mean is
AxAx ,
A A’
w
A
tt xdxxxFx 1ˆ,ˆ
where F(x,x’) solves
A
xdxxxxFxx ,
• If we assume the wavefront phase covariance function is constant or slowly varying with time, then the Green’s function F(x,x’) need only be computed infrequently (e.g. in slowly varying seeing conditions)
• To solve this equation, we now need the cross-covariance statistics of the phase, piston-removed on two different apertures.
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
30
Cross-covariance of Kolmogorov phase, piston-removed on two different apertures
ccacxgcxgxxD
AxAx
21
Where c and c’ are the centers of the respective apertures, and
dxxWxxgxa A21
xdxWxxDxg A21 as before
and
A A’ AxAx ,
also a “generic” function
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
31
The error covariance must also progress, since it is used in the update formulas
xqxdxxxFx tA
tt
1
~,~
xxQxdxdxxFxxxxF
xx
A Att
tt
,,~~,
~~
11
A A
xdxdxxFxxxxFxx
xqxqxxQ
,,
,
where
using ~ t t tx x x the error in the conditional mean is
and the error covariance is
Q is defined simply to preserve the Kolmogorov turbulence strength on the subsequent aperture
AxxAxx , and ,
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
32
Simulations
• Nominal parameters– D = 3m, d = 43cm (D/d = 7)– r0(=0.5) = 10cm ( r0(=2) d )– w = 11m/s 1 ms (w = D/300)– Noise = 0.1 arcsec rms
• Simulations– Wallner’s equations strictly applied, even though the wind is blowing– Strehl-optimal controller– Optimal controller with update matrix, K, set at converged value (allows pre-
computing error covariances)– Sensitivity to assumed r0– Sensitivity to assumed wind speed– Sensitivity to assumed wind direction
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
33
Noise performance after convergence
Strehl-optimal
Single-step (Wallner)
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
34
Convergence time history
K matrix fixed at converged value
K matrix optimal at each time step
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
35
Sensitivity to r0
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
36
Sensitivity to wind speed and direction
IPAM Workshop on Estimation and Control Problems in Adaptive Optics, Jan., 2004
37
Conclusions
• Kalman filtering techniques can be applied to better optimize the closed-loop Strehl of adaptive optics wavefront controllers
• A-priori knowledge of r0 and wind velocity is required
• Simulations show
– Considerable improvement in performance over a single step optimized control law (Wallner)
– Insensitivity to the exact knowledge of the seeing parameters over reasonably practical variations in these parameters