The present disclosure is related generally to wavefront sensors, and in particular to modulated wavefront sensors.
A wavefront sensor is a device utilized to measure aberrations in an optical wavefront. Wavefront sensors are utilized in a number of applications, including in fields of adaptive optics, ophthalmology, etc. For example, an adaptive optics device measures the aberrations in the optical wavefront and then corrects the aberrations such that the light provided to a measuring device (e.g., telescope) is collimated.
Current wavefront sensors are typically described as a Shack-Hartmann type sensor, which is a first-order method utilized to detect wavefront slopes, and a curvature sensing type, which is a second order method. With respect to the Shack-Hartman wavefront sensor, this type of wavefront sensor utilizes an array of lenses that focus an incoming wavefront onto a sensor—such as a CCD array or CMOS array sensor. If the wavefront is planar (i.e., does not have any aberrations) then the spots or points of light focused by each lenslet show no displacement, i.e. the spots locate at the center. If the wavefront is not planar, then the local slope of the wavefront at each particular lenslet results in a proportional displacement of the spot focused on the sensor, compared to the spots of planar wavefront.
However, the Shack-Hartmann type wavefront sensor suffers from several drawbacks, including poor resolution, and poor pixel utilization. For example, the resolution of the Shack-Hartmann type wavefront sensor is largely dependent on the number of lenslets in the microlens array. The maximum wavefront resolution depends on the number of lenslets in the microlens array, and its sampling period is the inverse of the spacing between two neighboring lenslets, which prevents high resolution wavefront slope detection. Therefore, it would be beneficial to introduce a wavefront sensor that cures these deficiencies.
The present invention provides a wavefront sensor utilized to measure the phase of distorted wavefronts. In one embodiment, the wavefront sensor—described herein as a Coded Shack-Hartmann (CSH) wavefront sensor—utilizes a foreground mask that modulates the incoming wavefront at diffraction scale. The resulting wavefront information is encoded in the diffraction pattern, and is numerically decoded by a wavefront reconstruction algorithm that relies on a simple optimization method. In this way, the CSH wavefront sensor provides higher pixel utilization, full sensor resolution wavefront reconstruction, and efficient parallel computation and real-time performance as compared with traditional wavefront sensors such as the traditional Shack-Hartmann wavefront sensor.
The location of mask 102 modulates the in coming wavefront, whose local slopes are encoded as local movements of the diffraction pattern, which is then captured by sensor 104. In the embodiment shown in
In one embodiment, the accuracy of the CSH wavefront sensor is dependent, at least in part, on the distinctive diffraction pattern generated among neighbors, which in turn is determined in general by the mask 102 utilized, and the setup distance z as well. However, the requirement for distinctiveness over neighbors must be weighed against practical issues of light-efficiency and fabrication easiness. In one embodiment, mask 102 utilizes a uniformly random pattern. However, in other embodiments the mask may be optimized to satisfy the distinctiveness requirements while maintaining the required light-efficiency and fabrication requirements. Also, in other embodiments the mask need not be binary, for example a greyscale mask, or a colored mask that is capable for wavelength-variant amplitude modulation, for the sake of specific applications.
In one embodiment, the distance z is dependent on specific requirement. If the distance z is too small, this results in a small diffraction of the mask, and thus weakens the distinctiveness between neighbors. This is best illustrated via a hypothetical in which the distance z is reduced to zero, in which case the captured image is always equal to the mask pattern itself. In addition, if the distance z is too small, then the warped displacement flow z∀ϕ(r) becomes too small and is non-sensible by the Horn-Schunck intensity preserving assumption, and is more vulnerable to the sensor pixel noise and quantization error. In contrast, a large z value makes the CSH wavefront sensor physically bulky, and more diffractive is the unknown wavefront scalar field. This weakens our basic assumption that the unknown wavefront phase is of low-diffraction. Further, large z value also enhances the diffraction of mask 102, and possibly leads to a low contrast diffraction pattern and thus weakens the distinctiveness between neighbors as well, consequently impair the wavefront sensing ability of the CSH.
The following derivation is provided to illustrate the feasibility of the above-identified CSH wavefront sensor, Consider a general scalar field u0(r) (coordinate r=[x y]T) with wave number k=2π/λ at the mask position:
where p0(r) is the mask amplitude function (with sharp boundaries), f0(r)=exp[jϕ(r)] is the scalar field with the distorted wavefront ϕ(r) representing the value to be measured. To simplify, the following assumptions are relied upon:
Assuming the mask 102 is placed close to sensor 104 (shown in
Equation (2) may be further simplified by ignoring the diffraction of scalar field f0(r−λzφ. This is appropriate for the following reasons: (i) the distance z is small, and the diffraction effect is not obvious, and (ii) distorted scalar field f0 (r−λzφ is smooth and its spectrum decays sufficiently fast, so its Laplacian matrix exponential expansion is very small and negligible as well. Consequently, the following approximation can be relied upon:
Subsequently, scalar field f0(r−λzρ) may be approximated by imposing Taylor expansion and linearizing q(r−λzρ) around r, which yields:
With these approximations, Eq. (2) can be simplified as:
where pz(r−(z/k)∀ϕ(r)) is the propagated diffractive scalar field of a linearly distorted mask p0(r−(z/k)∀ϕ(r)), predicted by the strict Rayleigh-Sommerfeld diffraction formula. It is worth noting that as indicated by Equation (5), in dispersion-negligible materials, ϕ(r)=ko(r) thus the resultant intensity is irrelevant to wave number k, indicating the possibility of using incoherent illumination for optical path measurements. In following contents no distinction is made between optical path and wavefront, and as a result o
CSH wavefront sensor is based on result provided by Eq. (5). The reference image is captured under collimated illumination (i.e., wherein u0(r)=p0(r)), such that equation (5) above is reduced to:
which represents the diffraction pattern of the binary mask p0(r). The measurement image is captured under distorted illumination f0(r), such that equation (5) above is reduced to:
In this way, the local slope ∀ϕ(r) is encoded in the diffraction pattern image pair I0(r) and I(r), which can be solved in a number of different ways. For example, in one embodiment decoding involves utilizing a simple least squares method linearized around r (as described below). In another embodiment, an iterative nonlinear least squares updating using warping theory. After getting the wavefront slope ∀ϕ(r), the unknown wavefront ϕ(r) can then be reconstructed by integrating over the previously obtained slopes.
In some embodiments, however, the distance z is unknown and the displacements in the diffraction images pair depend on the physical scale of r. Therefore, under these conditions the reconstructed wavefront ϕ(r) can only be determined up to a scaled constant. In this embodiment, to correctly retrieve the wavefront ϕ(r), there is an additional constant that needs to be computed. One method of computing this scaling constant is to determine empirically in a least squares sense over all the wavefront samples against the ground truth wavefront (described in more detail below). In this way, the CSH wavefront sensor is regarded as a first-order sensing methods.
To numerically decode the hidden phase information of the CSH wavefront sensor, equation (7) is further linearized around r, as follows:
which represents the final image formation model that contains the wanted phase information ϕ(r). In this embodiment, phase information ϕ(r) is solved for directly. A benefit of this approach is that it takes advantage of the curl-free property of the flow, and allows for solving a joint optimization problem simultaneously.
In one embodiment, the decoding operation formulates the wavefront retrieval problem in discrete form. In this embodiment, let the total sensor pixel number be M, and the unknown wavefront ϕϵN, where N>M includes unobserved boundary values. By defining image gradient fields gxϵM and gyϵM as the average x and y gradients of the reference image and measured image, and gtϵM as the temporal gradient between the two, a concatenated matrix G=[diag(gx)diag(gy)]ϵM×2M is obtained, where diag(·) denotes the diagonal matrix formed by the corresponding vector. The gradient operator is defined as ∀=[∀xT∀yT]T: N→2N where ∀x and ∀y are discrete gradient operators along x and y directions respectively. With a binary diagonal matrix Moϵ{0,1}2M×2N denoting the measurement positions, and define
we have:
where the classical Horn-Schunck intensity consistency term is imposed, with a regularization term on the phase smoothness. The parameter α>0 is a tradeoff parameter between the two terms. Exploiting proper splitting strategy, Eq. (9) can be efficiently solved using Alternating Direction Method of Multipliers (ADMM).
In one embodiment, a slack variable wϵ2N is introduced to allow the original object function shown in Eq. (9) to be split into two parts, represented as:
where the two functions f (·) and g(·) are defined as:
Using the Alternating Direction Method of Multipliers (ADMM) yields Algorithm (1), where ζϵ2N is the dual variable. The updating of ϕ and w may be computed using the ADMM as follows:
Algorithm 1. ADMM for solving Eq. (10)
In one embodiment, the ϕ-update step (wavefront estimation) involves solving a Poisson equation, which usually requires proper boundary conditions in conventional approaches. However, in one embodiment, because of the existence of M, the unknown boundary values (i.e. the non-zero elements of (I−M0TM0)ϕ, where I is identity matrix) are implicitly determined by minimizing the objective. When trivial boundary conditions are assumed, the resultant Poisson equation solution leads to non-trivial boundary values on the observed part of wavefront ϕ, which allows for the estimation M0ϕ. In some embodiments, the Neumann boundary condition suffices to yield a good estimation constrained to smallest possible N. In these embodiments, by just assuming Neumann boundary condition on the linear operators, denoting FDCT and FDCT−1 as forward and inverse Discrete Cosine Transforms (DCT) respectively, ϕ-update is given by:
where the division is element-wise. Note that forward/inverse DCT can be efficiently implemented via forward/inverse Fast Fourier Transforms (FFT), respectively.
(ii) w-Update Step
In one embodiment, the w-update step (slack variable) involves the evaluation of proxλg(u), the proximal operator of g(w) with parameter λ, which is defined and computed as:
wherein I+2λGTG is diagonal in blocks and whose inverse is also diagonal in blocks and in closed-form, so is proxλg(u). In this embodiment, the computation of proxλg(u) is element-wise. In one embodiment, to suppress noise, a median filtering is imposed to the final gradient estimation. In one embodiment, the estimated wavefront ϕestimate is computed by solving Eq. (11), with median filtered (wK+ζK). In this embodiment, M0ϕestimate is used as the final output wavefront.
One of the benefits of the described decoding process is the ability to execute the decoding process in a highly efficient and parallelizable manner. For example, the update step described above exploits Fast Fourier Transform (FFT) operations, element-wise operation, or simple convolutions. In addition, in one embodiment processing system 106 (shown in
Several of the parameters described above may be modified, with each modification affecting the subsequent influence on the convergence speed of the decode algorithm. For example, in one embodiment the proximal parameter λ determines, at least in part, the convergence speed of the ADMM algorithm shown in
At step 406, a thin layer 408 is deposited onto a side of wafer 410. In the embodiment shown in
At step 412, a uniform photoresist layer 414 is deposited on top of the thin layer 408. In one embodiment, a spin-coating method is utilized to deposit the photoresist layer onto thin layer 408.
At step 416, wafer 410 is aligned with photomask 404 on a contact aligner and the photoresist layer 414 is exposed to UV light. Depending on the type of photoresist layer utilized (positive or negative), either the areas exposed to UV light become soluble to the photoresist developer or the areas exposed to the UV light become insoluble to the photoresist developer.
At step 418, a development solution is utilized to either remove areas exposed to UV light at step 416 or remove areas unexposed to UV light at step 416.
At step 420, an etching process is utilized to etch portions of thin layer 408. Having etched the exposed portions of thin layer 408, remaining photoresist is removed, leaving the final binary mask formed on fused silica wafer 410.
Accuracy of a proposed Coded Shack-Hartmann wavefront sensor is provided based on experimental results. The experimental setup relies on generation of a plurality of different target wavefronts. In this embodiment, target wavefronts are generated using a reflective LCoS-based Spatial Light Modulator (SLM) (e.g., PLUTO SLM by HOLOEYE) having a pixel pitch of approximately 8 μm, and the maximum phase retardation of 2n. For collimated illumination, a faraway white point light source is employed, along with a polarizer placed in the optical path to allow for phase-only modulation of the SLM. A beamsplitter is employed, along with a Kepler telescope configuration utilized to ensure the SLM and wavefront sensor are in conjugate, to ensure that the distorted wavefront measured by the CSH wavefront sensor is the one produced by the SLM. In this experiment, the Kepler telescope is composed of two lenses, with focal lengths of 100 mm and 75 mm, respectively. The sensor exposure time is set to be 5 ms in both calibration and measurement steps.
Using the above mentioned optical setup, four types of wavefront samples were generated and acquired, each with a series of different scales: (i) cubic phases, (ii) spherical phases, (iii) single-mode Zernike phases, and (iv) customized Zernike phases. Each of these wavefronts are analyzed to determine how parameters may be tuned to measure and detect the desired wavefront, as well as the tradeoff expected between execution time and accuracy of the detected wavefront.
In addition to the proximal parameter λ, there is also a tradeoff between time and accuracy of the decoding algorithm. For example, to suppress noise, a median filtering on the estimated gradients is imposed at the last step. In practice, a median filtered final gradient estimation could indeed benefit for a smoother reconstructed wavefront. In addition, lower energy, in this case in the form of a large number of iterations and more computation time, does not equivalently yield better results. On the other hand, the original energy function may not converge sufficiently if given inadequate number of iterations. Consequently, it is necessary to investigate the tradeoff between time and accuracy. In one embodiment, a value of K=10 yields a good tradeoff.
As mentioned before, a scaling constant is also computed. In one embodiment, the scaling constant is determined by way of (i) mean normalization on the reconstructed wavefront; (ii) comparing with ground truth and determining a suitable scaling constant for each pixel position, (iii) getting the median as the scaling constant for each individual wavefront reconstruction, (iv) and obtaining the final scaling constant as the mean of the medians in step (iii). In one embodiment, an estimation for the scaling constant is set to 0.25.
In addition to good error performance, the CSH wavefront sensor provides efficient run-time operation. In one embodiment, the run-time of the wavefront reconstruction algorithm is mainly reduced by reducing the required number of iterations. For example, in one embodiment the first iteration or update of the wavefront ϕ may be skipped when slack variable w0 and ζ0 are set to zero vectors.
The present invention provides a wavefront sensor utilized to measure the phase of distorted wavefronts. In one embodiment, the wavefront sensor—described herein as a Coded Shack-Hartmann wavefront sensor—utilizes in a foreground mask that is utilized to modulate the incoming wavefront at diffraction scale. The resulting wavefront information is encoded by the diffraction pattern, and is numerically decoded by a wavefront reconstruction algorithm that relies on a simple optimization method. In this way, the Coded Shack-Hartmann wavefront sensor provides higher pixel utilization, full sensor resolution wavefront reconstruction, and efficient parallel computation and real-time performance as compared with traditional wavefront sensors such as the traditional Shack-Hartmann wavefront sensor.
While the invention has been described with reference to an exemplary embodiment(s), it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the scope of the invention. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the invention without departing from the essential scope thereof. Therefore, it is intended that the invention not be limited to the particular embodiment(s) disclosed, but that the invention will include all embodiments falling within the scope of the appended claims.
Number | Date | Country | |
---|---|---|---|
62415829 | Nov 2016 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 16346773 | May 2019 | US |
Child | 17354257 | US |