## Abstract

A new iterative technique for calculating the eikonal function of a light field providing the focusing into a set of points is introduced. This technique is a modification of the supporting quadric method widely used for design of reflecting and refracting optical surfaces for generating prescribed illuminance distributions at given discrete set of points. As an example, we design a refractive optical element which focuses an incident beam into a set of points with energy pattern forming an image of a keyboard of a calculator. It is shown that the proposed technique is well-suited for the design of diffractive optical elements producing continuous intensity distributions within the scalar theory of diffraction. It is also shown that the calculated eikonal function is a good initial guess when designing diffractive optical elements using the iterative Gerchberg-Saxton algorithm.

© 2015 Optical Society of America

## 1. Introduction

The problem of design of an optical element generating a required illuminance distribution belongs to the class of extremely challenging inverse problems of nonimaging optics [1]. In many cases such problems can be reduced to finding solutions to nonlinear elliptic partial differential equations of second order. In optical design, direct numerical solutions of such equations in special cases have been considered recently in [2, 3]. In general, such inverse problems of optical design are approached using various iterative techniques [4–13]. One of the universal iterative methods widely used for the design of nonimaging optical elements is the so-called supporting quadric method (SQM) [10–13]. Originally, SQM was developed for solving problems in design of mirrors and lenses transforming incoming beam of light so that the outgoing beam illuminates a given set of points with prescribed intensity distribution. Depending on the type of the problem being solved, the required optical surface is defined as an envelope of a family of quadrics, such as paraboloids, ellipsoids, or hyperboloids. In particular, when designing a mirror for illuminating a target set in the far-field, the required mirror is represented as a set of segments each of which is a piece of a paraboloid. In the near-field case the required mirror is a set of segments of ellipsoids [10, 11]. In [12], one of the present authors used SQM to give a mathematical treatment of the problem of design of a freeform segmented refracting lens transforming an incident collimated beam with given intensity into an output light beam illuminating a given target set with a prescribed intensity distribution. In either case, each segment of the appropriate quadric is defined by certain parameters determined by a special iterative procedure whose convergence is established in a mathematically rigorous manner. The same ideas were applied in [13] to design problems in which quadrics should be replaced by Cartesian ovals.

In this work, a modification of SQM is proposed enabling the method to be applied to the problem of calculating the eikonal function of a light field (specified in a certain plane) providing the focusing into a given discrete set of points. This problem is relevant in the design of diffractive optical elements (DOEs), especially of multifocal diffractive lenses, beam splitters, and diffusers [14–18]. Indeed, the height of the DOE microrelief is in direct proportion to the eikonal function [14]. In addition, the eikonal function can be used to reconstruct refractive (or reflective) optical element generating this eikonal distribution at a preset illuminating beam [19]. This makes the proposed approach well-suited for design of refractive (or reflective) optical elements under the assumption that illuminance distribution of the incident beam is changed insignificantly upon transmission through the optical element [19]. In our setting, we determine the eikonal function providing the focusing into a given set of points as an envelope of a two-parameter set of eikonals of convergent spherical beams with different foci. The proposed method is remarkable for its computational simplicity. As an example, we calculate the eikonal function providing the focusing into an array of points corresponding to a calculator keyboard image. The obtained eikonal function is then used to construct a refractive optical element and DOEs. We demonstrate that the proposed method can be used for designing DOEs producing prescribed continuous intensity distributions within the scalar theory of diffraction.

## 2. The eikonal function for focusing into a two-dimensional region and discrete point set

The problem of calculating the eikonal for generating a required discrete illuminance distribution can be formulated as follows. Let $E0(u), u∈G$ be the illuminance distribution in a region (aperture) $G$ in the plane $z=0$, where $u=(u,v)$ are the Cartesian coordinates in that plane. We wish to determine the eikonal distribution $Ψ(u) , u∈G$ of a light field providing the focusing into a given set of points $xi=(xi,yi),​​ i=1,...,N$ in the plane $z=f, f>0$ with prescribed energy distribution $Ii,​​ i=1,...,N$ (Fig. 1). Note that in the framework of geometrical optics the light ray directions are determined by the partial derivatives of the eikonal function: $∇Ψ(u)=(∂Ψ(u)/∂u,∂Ψ(u)/∂v)$. Assuming that the surrounding medium has unity refractive index, we can write the unit vector of a ray originating from a point $u$ as

Fig. 1 Geometry of the problem of focusing into a set of focal points.

$p(u)=(∇Ψ(u),1−[∇Ψ(u)]2).$

On the basis of the function $Ψ(u)$, a refractive or diffractive optical element focusing into a given set of points can be designed. Several such examples are given below in sections 3 and 4.

This discrete problem of focusing into a set of points may be considered as a particular case of focusing into a desired one or two-dimensional (2D) region. Actually, assume that a mesh $xi=(xi,yi),​​ i=1,...,N$ approximates a 2D region $D$. Let us calculate the eikonal function in the plane$z=0$, requiring that the rays originating in G arrive in the region $D$. For that, let us write the eikonal function providing the focusing at point $x$ in the plane $z=f$:

$Ψl(u;x)=−(u−x)2+f2+Ψf(x).$

It can be easily shown that Eq. (2) corresponds to the eikonal of a spherical beam converging to point $x$, written at $z=0$. In this case the ray directions (Eq. (1)) are given by unit vectors $p(u)=(x−u,f)/(u−x)2+f2$ directed at the focus. Since such a beam can be formed by an ideal lens, in what follows we refer to Eq. (2) as the “lens eikonal function”. In Eq. (2), the coordinates $x=(x,y)$ are interpreted as parameters, with $Ψf(x)$ defining a constant equal to the eikonal value at the focal point.

It is proposed that the eikonal function for focusing into a desired region $D$ should be defined as the envelope of a two-parameter family of functions in Eq. (2) with respect to the parameters $(x,y)∈D$. By definition, this envelope is a function tangent to each eikonal function from Eq. (2) at a certain point. Accordingly, the partial derivatives of the function defining the envelope are equal to the partial derivatives of the eikonal of the corresponding lens at the common point of tangency. In geometrical optics, the ray direction is defined by partial derivatives of the eikonal function, Eq. (1). Hence, the rays defined by the envelope will be directed to the points of region D where the foci of spherical beams defined by Eq. (2) are located.

Thus, the calculation of the eikonal for focusing into a desired region $D$ is reduced to constructing an envelope of a two-parameter family of lens eikonals defined by Eq. (2). In Cartesian coordinates, the envelope is given by [20]

${Ψl(u;x)=−(u−x)2+f2+Ψf(x),∂Ψf(x)∂x−x−u(u−x)2+f2=0,∂Ψf(x)∂y−y−v(u−x)2+f2=0.$
In Eq. (3), the first equation is the lens eikonal, whereas the second and third equations define the eikonal derivatives with respect to the parameters$x,y$. It is interesting that in Eq. (3), the second and third equations give a necessary condition for the extremum of function (2) with respect to the variables $(x,y)$ at fixed values of the variables $(u,v)$. This condition corresponds to the Fermat principle enabling the eikonal function to be represented in the variables $(u,v)$ as
$Ψl(u)=−[u−x(u)]2+f2+Ψf[x(u)],$
where
$x(u)=argminx∈DΨl(u;x)$
or
$x(u)=argmaxx∈DΨl(u;x),$
where the $Ψl(u;x)$ function is given by Eq. (2).

The general representation of the eikonal function in Eqs. (4)–(6) depends on the $Ψf(x)$ function which is to be determined from the requirement that the energy distribution in the region of focusing $D$ is equal to a prescribed distribution.

In the discrete version of the problem, light is focused into a set of focal points $xi,​​ i=1,...,N$ of the region $D$. So, Eqs. (4)–(6) take the form

$Ψl(u)=−(u−xm)2+f2+Ψf,m,$
where
$m=argmin1≤i≤NΨl(u;xi)$
or
$m=argmax1≤i≤NΨl(u;xi)$
and $Ψf,i=Ψf(xi), ​​ i=1,...,N$. Equations (7)–(9) define a continuous function composed of lens eikonals that have foci at points $xi,​​ i=1,...,N$. Note that the set of values of $Ψf,i, ​​ i=1,...,N$ is an discrete analog of the function $Ψf(x)$. The values $Ψf,i, ​​ i=1,...,N$ correspond to the eikonal values at focal points and must be defined by the given energy distribution at those points. Note that the relations (7)–(9) for the eikonal function to focus into a planar set of focal points can, in an obvious way, be extended to the case of focusing into a set of points located on an arbitrary surface. In this case, the constant $f$ in Eq. (7) should be replaced by a prespecified set of values $fm,​​ m=1,...,N$.

## 3. Solution of the discrete problem of focusing into a set of points

Now, we explain how to determine the values $Ψf,i, ​​ i=1,...,N$ using the requirement that the desired energy distribution $Ii,​​ i=1,...,N$ is to be generated at points $xi=(xi,yi),​​ i=1,...,N$. This problem can be addressed using an analog of the supporting quadric method described in Refs [10, 11]. for design of mirrors. In this case, the required mirror is represented as a set of segments of ellipsoids, with the number of segments equal to that of the prescribed focal points. For each ellipsoid, one focus is located at the light source while the other is at one of the focal points $xi,​​ i=1,...,N$. The large axes of the ellipsoids are calculated by an iterative algorithm using the condition that the required energy distribution must be achieved at the focal points [10, 11]. Note that the large axes of the ellipsoids are equal to the eikonal at the focal points (i.e. the path length).

The problem of determination of the eikonal function from the condition of focusing into points with prescribed energy distribution $Ii,​​ i=1,...,N$ is nearly identical to the design problem solved by the supporting quadric method of Refs [10, 11]. The functions describing ellipsoids are replaced by the lens eikonal functions:

$Ψl,i(u)=−(u−xi)2+f2+Ψf,i , i=1,...,N,$
and the eikonal values $Ψf,i$ at the focal points serve as design parameters.

The iterative algorithm for the calculation of the values $Ψf,i$ includes multiple solution of a direct problem that involves the calculation of energy at the focal points based on a ray tracing technique. When designing mirrors composed of segments of ellipsoids, on each iteration, the rays from the source are traced and the distance from the source to each ellipsoid along the current ray is determined. Two kinds of mirrors can be constructed: the first one is built from ellipsoidal segments nearest to the source (along the ray) and the second one is built from segments which are the farthest from the source. The minimum condition is used to design elliptic mirrors (with the rays intersecting the optical axis), whereas the maximum condition is used for hyperbolic mirrors (with the rays not intersecting the optical axis).

For our discrete problem, it follows from Eqs. (7)–(9) that in order to trace a ray from the point $u$ it suffices to determine the minimal or maximal element of the array $Ψl,i(u) , i=1,...,N$.

In the general case, the energy distribution between the focal points for specified values of $Ψf,i , i=1,...,N$ is calculated as follows. Let $uj=(uj,vj),​​ j=1,...,NG$ denote the nodes of a rectangular mesh with cell size $δu×δv$ that approximates the domain $G$ in which the eikonal function is defined. Each ray is assumed to carry the energy $Ej=E0(uj)δuδv,​​ j=1,...,NG$. For every starting point $uj$ of the ray, the destination point is derived by finding the minimal (maximal) element of the array $Ψl,i(uj) , i=1,...,N$. At the destination point (denoted by index $m=argminiΨl,i(uj)$), the energy is incremented by the magnitude $Ej$.

In the case of mirrors, a detailed description of the monotonically converging iterative algorithm for calculating the ellipsoid parameters can be found in Refs [10, 11]. The said algorithm can be extended without any alterations to calculate the values of $Ψf,i , i=1,...,N$ in Eq. (10). At each step of the algorithm, the energy distribution between the focal points is calculated, followed by the correction of the values of $Ψf,i , i=1,...,N$. If the energy at a point $xi$ is lower than the specified value $Ii$ then, based on the minimum condition in Eq. (8), the value of $Ψf,i$ needs to be decreased by a magnitude $Δ$. With ellipsoids, a decrease in the large axis makes the ellipsoid closer to the source, in this way increasing the number of rays directed to the destination point (second focus of the ellipsoid).

Thus, the eikonal function to focus the beam into a set of focal points can be derived using the following iterative algorithm:

• 1) An array of focal points $xi$ with energy distribution $Ii,​​ i=1,...,N$ is specified.
• 2) Initial guesses for the eikonal values $Ψf,i , i=1,...,N$ at the focal points are defined.
• 3) A mesh $uj,​​ j=1,...,NG$ is introduced in the eikonal definition domain $G$ and a matrix of values $Ψl,ij =Ψl,i(uj) , i=1,...,N, j=1,...,NG$ is calculated.
• 4) Energy distribution $Icalc, i,​​ i=1,...,N$ between the focal points is calculated.
• 5) If $|I calc,i−I i|≤ε,​​ i=1,...,N$, where $ε$ is the required accuracy of the target energy distribution, the solution is saved and the iterative process is stopped. Otherwise, continue to the next step.
• 6) The values of $Ψf,i :=Ψf,i ±Δi, i=1,...,N$ are corrected using a method described in Refs [10, 11]. The matrix $Ψl,ij$ is calculated for new values of $Ψf,i$. Return to step 4.

Note that the software implementation of the algorithm involves a single computation of the matrix $Ψl,ij$ at step 3. Afterwards, the solution process consists in the iteration of steps 4–6. In that case, the energy distribution between the focal points in step 4 is deduced by calculating the minimal (maximal) elements in the columns of the matrix $Ψl,ij$, whereas the matrix $Ψl,ij$ is recalculated in step 6 via altering the row elements by values $Δi$.

For a detailed description of the method for correcting the values $Ψf,i , i=1,...,N$ in step 5, which enables the error to decrease monotonically during the iteration process, see Refs [10, 11]. At the same time, the method is characterized by a relatively slow convergence rate, especially for a large number of focal points. The analysis conducted by the authors has shown the following simple heuristic approach to the correction of the values of $Ψf,i$ to be efficient:

$Ψf,i :=Ψf,i ±Δ⋅(I calc,i−I i), i=1,...,N,$
where $Δ$ is a positive constant. The $±$ signs in Eq. (11) are related to the eikonal type chosen. The plus sign corresponds to an elliptic-type eikonal (with the rays intersecting the optical axis), whereas the minus sign corresponds to a hyperbolic-type eikonal (with the rays not intersecting the optical axis). In Eq. (11), the eikonal increment in the focal points is chosen to be proportional to the difference $|I calc,i−I i|$ between the calculated and required energy values in the focal points.

## 4. Design example

To demonstrate the capability of the proposed method to generate complex images, we calculated the eikonal function for the generation of a calculator image defined on a 2D equidistant mesh of $56×82$ pixels (Fig. 2). Note that Fig. 2 contains $Nim=1414$ white pixels that form the required image. The eikonal was calculated from the condition of focusing into a discrete set of points corresponding to white pixels in Fig. 2. The points are located in the plane $z=100$mm on a mesh with step $δxy=0.2586mm$, the energy distribution between the points is assumed to be constant $(Ii=I0,​​ i=1,...,N)$. The eikonal function was specified in the plane $z=0$ in a square-shaped domain $G$ with the side $a=8.192mm$ on an equidistant mesh of $256×256$ pixels with step $duv=32 µm$. The illuminance $E0(u)$ in the domain $G$ was assumed to be constant.

Fig. 2 An image of a calculator on an equidistant mesh of $56×82$ pixels.

The calculated eikonal function is depicted in Fig. 3 and provides the generation of an almost uniform illuminance distribution at the desired points, with the root-mean-square deviation from the specified uniform distribution being less than 6% (Fig. 4). Let us note that the resolution of Fig. 3 does not allow to see the details of the constructed eikonal function. In the next section, a central fragment of this function is shown which demonstrates that it consists of multiple segments connected in a continuous manner.

Fig. 3 The eikonal function to focus into a set of points in Fig. 2.

Fig. 4 Illuminance distribution generated in the target plane $z=100mm$ using the eikonal function in Fig. 3.

On the basis of the derived eikonal function, a refractive surface was reconstructed. Exact analytical formulas to calculate a refractive surface that would generate a required eikonal distribution were presented in Ref [19]. At the same time, for the chosen “paraxial” parameters, the height of the refractive surface can be obtained using the thin element approximation [14]:

$h(u)=Ψ(u)/(n−1),$
where $n=1.6$ is the refractive index of the optical element material.

To verify the validity of the design technique given above, the optical element defined by Eq. (12) and the eikonal in Fig. 3 was simulated using the commercial software TracePro implementing a ray tracing technique [21]. For the simulation, the surface defined by Eq. (12) was approximated by a system of non-uniform rational Bezier splines (NURBS) using the computer-aided design software Rhinoceros [22]. The input surface of the optical element was assumed to be the plane $z=0$ perpendicular to the propagation direction of a uniform incident beam. Figure 5 shows the refractive optical element and the simulated illuminance pattern generated by the element. The illuminance distribution was calculated using 1,000,000 rays and confirms that the incident beam is focused into a desired pattern. A certain non-uniformity in the energy distribution between the focal points is due to the spline-aided approximation of the element surface and the inherent random noise of the ray tracing technique.

Fig. 5 A refractive optical element to focus into a set of points in Fig. 2 and the generated illuminance pattern obtained using the TracePro software.

## 5. Analysis of the diffraction effects

The problem of designing phase diffractive optical elements (DOEs) is often formulated as that of calculating the eikonal function (or a related phase function $φ(u)=kΨ(u)$, where $k=2π/λ$ is the wavenumber and $λ$ is the free-space wavelength) from the condition of generating a desired illuminance pattern [14]. The DOE microrelief height is given by

$h(u)=1n−1modλ[Ψ(u)].$

The eikonal function in Fig. 3 to focus into a set of points in Fig. 2 was calculated in the framework of geometrical optics. In this context, it is worth studying the performance of a DOE defined by Eq. (13) within the scalar theory of diffraction. Below, the illuminance distribution generated by the eikonal function of Fig. 3 is analyzed using the Fresnel-Kirchhoff approximation. The complex amplitude of the light field in the DOE plane $z=0$ is defined as $w0(u)=E0(u)exp[ikΨ(u)], u∈G$. In the Fresnel-Kirchhoff approximation, the illuminance distribution in the plane $z=f$ takes the form [14]

$E(x)=|1λf∬Gw0(u)exp[ik2f(x−u)2]d2u|2.$
For the convenience of the calculations, the eikonal function is represented as
$Ψ(u)=−u22f+Ψadd(u),$
with the first term defining the eikonal of a paraxial lens [14]. In this case, the calculation of $E(x)$ is reduced to the calculation of the following Fourier integral:

$E(x)=|1λf∬GE0(u)exp[ikΨadd(u)]exp(−ikfxu)d2u|2.$

Fig. 6 (a) depicts the central fragment of the function$Ψadd(u)$ modulo $λ=532nm$. For the calculation of the integral in Eq. (16), the said eikonal function was calculated using Eqs. (7) and (9) on an equidistant mesh of $4096×4096$ pixels with the step $duv=2µm$. The resulting illuminance pattern obtained in the Fresnel approximation and corresponding to the calculator image is shown in Fig. 6(d). The illuminance $E(x)$ in Fig. 6(d) was calculated on an equidistant mesh composed of $4096×4096$ pixels, with the step $dxy=λf/a$. Note that in the Fresnel approximation, the magnitude $2Δ=2λf/a$ corresponds to a focal spot size generated by a lens of focus f and square aperture G with the side length $a$ [14]. For the given parameters ($λ=532nm$, $f=100mm$, $a=8.192mm$), $dxy=Δ≈6.5µm$. In contrast with Fig. 5, individual points forming the keyboard image are significantly less evident in Fig. 6(d). The reason is that due to diffraction the points turned into finite-size spots, which have merged to form an almost continuous image of the calculator. Let us derive a qualitative estimate of an average size of the diffraction spots for the aforesaid example. In accordance with the employed calculation method, the eikonal function in Figs. 3 and 6(a) corresponds to a set of lens eikonal segments (subapertures) of equal-area that are connected in a continuous manner. As an estimate of the focal-spot average size, we will use the quantity

$Δsub=2λfa2/Nim=2NimΔ,$
which corresponds to the diffraction spot size of a lens with the aperture size $bsub=a2/Nim$, where $Nim$ is the number of focal points. Note that the distance between the image points is assumed to be larger than $Δsub$, meaning there is no subaperture interplay. For the above given parameters, we have $Δsub≈0.24mm$. It should be reminded that the calculator image was defined on a rectangular mesh with the step $δxy=0.2586mm$. Thus, for the studied example, $Δsub≈δxy$, which accounts for a continuous illuminance pattern in Fig. 6(d).

Fig. 6 (a)–(c) Fragments of the eikonal function $Ψadd(u)$, $0.5Ψadd(u)$, $0.25Ψadd(u)$ in the central regions of size $3×3mm2$; (d)–(f) Illuminance patterns generated in the Fresnel-Kirchhoff approximation by the eikonal functions in Fig. 6 (a)–(c).

These arguments show that the proposed method is suitable for calculating the eikonal function when designing DOEs intended to form given continuous illuminance patterns. Note that the continuity of the distribution is achieved by properly choosing the distance between points while calculating the eikonal function. Let us study the magnitude of diffraction effects with decreasing the mesh step $δxy$ relatively to the value of $Δsub$. It can be easily shown [14] that in the paraxial approximation, the eikonal function

$Ψp(u)=−u22f+pΨadd(u)$
enables focusing into a scaled set of points with coordinates$xp, i=pxi,​​ i=1,...,N$, where $p$ is the scale factor. Figures 6(b), and 6(c) depict the eikonal functions$pΨadd(u)$ at $p=0.5$ and $p=0.25$, respectively. The illuminance patterns calculated in the framework of geometrical optics (not shown here) confirmed that for the functions in Eq. (18) at $p=0.5$ and $p=0.25$, scaled calculator images similar to that in Fig. 4 are generated. The illuminance distributions obtained in the Fresnel approximation for the above-given functions $Ψp(u)$ are depicted in Figs. 6(e) and 6(f). The images suggest that with the decrease in the distance between points, the quality of the calculator image deteriorates. In particular, at $p=0.25$ the digits become unreadable. The deterioration of the image quality is caused by the overlapping of diffraction spots from different (not just adjacent) segments, leading to their interference. Thus, the method for calculating the eikonal function when designing a DOE to form continuous illuminance patterns has its application limits. In the considered example, an image of acceptable quality can only be obtained if the distance between points is in the interval $δxy∈[Δsub/2, Δsub]$.

Within the scalar theory of diffraction, iterative and gradient methods have been widely used to design DOEs [14, 23]. The most popular methods are the Gerchberg-Saxton (GS) algorithm and its modifications [14, 23]. Both the convergence of the GS algorithm and the quality of the obtained solution essentially depend on the initial guess for the DOE phase function. Let us analyze the performance of the GS algorithm using the geometrical optics solution $φ(u)=kΨadd(u)$ as an initial guess. As the required distribution, the continuous image of the calculator in Fig. 2 is used with the points being replaced by square pixels of size $δxy$.

Figs. 7 (а)-(c) depict the eikonal functions derived after 30 iterations of the GS algorithm. The eikonal functions in Figs. 6 (а)-(c) were used as initial guesses. The illuminance distributions generated by the eikonal functions in Figs. 7 (а)-(c) are presented in Figs. 7 (d)–(f), showing the required calculator images at different scales. In all three cases, the root-mean-square deviation values of the numerically calculated illuminance patterns from the desired ones do not exceed 5%. Thus, the use of the geometrical optics solution as the initial guess enables the fast convergence of the iterative algorithm. Note, for comparison, that with a random initial guess of the phase, the root-mean-square deviation of the numerically obtained illuminance pattern from the required one stays in the range of 10–15% after 50–100 iterations. The authors believe that the problem of choosing the initial guess is of special significance when generating required illuminance patterns on non-planar or inclined planar surfaces. In that case, the relation between the field in the aperture region and the target region cannot be expressed by the Fourier integral (16), which can be calculated using known fast algorithms. At the same time, as we indicated at the end of Section 1, the proposed algorithm for calculating the eikonal function can be extended almost without change to the case when the target points are located on an arbitrary surface.

Fig. 7 (a)–(c) Fragments of the eikonal functions after 30 iterations of the GS algorithm; (d)–(f) Illuminance patterns generated using the Fresnel-Kirchhoff approximation for the eikonal functions in Fig. 7 (a)–(c).

## 6. Conclusion

An iterative method for calculating the eikonal function of a light field from the condition of focusing into a set of points was proposed. The developed method is a modification of the supporting quadric method developed for designing mirrors and refractive optical elements generating discrete intensity or illuminance patterns on a given set of points. The method has been developed as a particular solution of the problem of calculating the eikonal to focus light into a desired region, with the eikonal function being expressed as the envelope of a two-parameter family of eikonals of lenses. High efficiency of the proposed approach is demonstrated by calculating the eikonal function to form a complex illuminance pattern corresponding to a calculator keyboard image. The method is suited for the design of DOEs to generate desired continuous illuminance patterns using the scalar theory of diffraction. The continuity of the resulting patterns has been achieved by choosing a proper distance between the focal points while calculating the eikonal function. The eikonal function offers a good initial guess when designing DOEs using the iterative Gerchberg-Saxton algorithm.

## Acknowledgments

The work of L. L. Doskolovich, M.A. Moiseev and E.A. Bezus (sections 2, 4–6) was funded by the Russian Science Foundation, project # 14-19-00969; the work of V. Oliker (sections 1 and 3) was partially supported by grants from the US Air Force Office of Scientific Research (AFOSR) and US-Israel Binational Science Foundation (BSF).

1. R. Winston, J. C. Miñano, P. Benítez, N. Shatz, and J. C. Bortz, Nonimaging Optics (Elsevier Academic Press, 2005).

2. R. Wu, L. Xu, P. Liu, Y. Zhang, Z. Zheng, H. Li, and X. Liu, “Freeform illumination design: a nonlinear boundary problem for the elliptic Monge-Ampére equation,” Opt. Lett. 38(2), 229–231 (2013). [CrossRef]   [PubMed]

3. R. Wu, P. Benítez, Y. Zhang, and J. C. Miñano, “Influence of the characteristics of a light source and target on the Monge-Ampére equation method in freeform optics design,” Opt. Lett. 39(3), 634–637 (2014). [CrossRef]   [PubMed]

4. Z. Feng, Y. Luo, and Y. Han, “Design of LED freeform optical system for road lighting with high luminance/illuminance ratio,” Opt. Express 18(21), 22020–22031 (2010). [CrossRef]   [PubMed]

5. Y. Luo, Z. Feng, Y. Han, and H. Li, “Design of compact and smooth free-form optical system with uniform illuminance for LED source,” Opt. Express 18(9), 9055–9063 (2010). [CrossRef]   [PubMed]

6. M. A. Moiseev and L. L. Doskolovich, “Design of refractive spline surface for generating required irradiance distribution with large angular dimension,” J. Mod. Opt. 57(7), 536–544 (2010). [CrossRef]

7. M. A. Moiseev, S. V. Kravchenko, and L. L. Doskolovich, “Design of efficient LED optics with two free-form surfaces,” Opt. Express 22(S7), A1926–A1935 (2014). [CrossRef]   [PubMed]

8. K. Wang, F. Chen, Z. Liu, X. Luo, and S. Liu, “Design of compact freeform lens for application specific Light-Emitting Diode packaging,” Opt. Express 18(2), 413–425 (2010). [CrossRef]   [PubMed]

9. X. Mao, H. Li, Y. Han, and Y. Luo, “Polar-grids based source-target mapping construction method for designing freeform illumination system for a lighting target with arbitrary shape,” Opt. Express 23(4), 4313–4328 (2015). [CrossRef]   [PubMed]

10. V. I. Oliker, “Mathematical aspects of design of beam shaping surfaces in geometrical optics” in Trends in Nonlinear Analysis, M. Kirkilionis, S. Krömker, R. Rannacher, and F. Tomi, eds. (Springer, 2003).

11. S. A. Kochengin and V. I. Oliker, “Determination of reflector surfaces from near-field scattering data II. Numerical solution,” Numer. Math. 79(4), 553–568 (1998). [CrossRef]

12. V. Oliker, J. Rubinstein, and G. Wolansky, “Supporting quadric method in optical design of freeform lenses for illumination control of a collimated light,” Adv. Appl. Math. 62, 160–183 (2015). [CrossRef]

13. D. Michaelis, P. Schreiber, and A. Bräuer, “Cartesian oval representation of freeform optics in illumination systems,” Opt. Lett. 36(6), 918–920 (2011). [CrossRef]   [PubMed]

14. V. A. Soifer, V. V. Kotlyar, and L. L. Doskolovich, Iterative Methods for Diffractive Optical Elements Computation (Taylor & Francis Ltd., 1997).

15. M. A. Golub, L. L. Doskolovich, N. L. Kazanskiy, S. I. Kharitonov, and V. A. Soifer, “Computer generated diffractive multi-focal lens,” J. Mod. Opt. 39(6), 1245–1251 (1992). [CrossRef]

16. A. Zlotnik, S. B. Yaish, O. Yehezkel, K. Lahav-Yacouel, M. Belkin, and Z. Zalevsky, “Extended depth of focus contact lenses for presbyopia,” Opt. Lett. 34(14), 2219–2221 (2009). [CrossRef]   [PubMed]

17. N. Kazanskiy and R. Skidanov, “Binary beam splitter,” Appl. Opt. 51(14), 2672–2677 (2012). [CrossRef]   [PubMed]

18. R. Bitterli, T. Scharf, H.-P. Herzig, W. Noell, N. de Rooij, A. Bich, S. Roth, K. J. Weible, R. Voelkel, M. Zimmermann, and M. Schmidt, “Fabrication and characterization of linear diffusers based on concave micro lens arrays,” Opt. Express 18(13), 14251–14261 (2010). [CrossRef]   [PubMed]

19. L. L. Doskolovich, A. Yu. Dmitriev, and S. I. Kharitonov, “Analytic design of optical elements generating a line focus,” Opt. Eng. 52(9), 091707 (2013). [CrossRef]

20. L. P. Eisenhart, A Treatise on the Differential Geometry of Curves and Surfaces (Schwarz Press, 2008).

23. J. R. Fienup, “Phase retrieval algorithms: a comparison,” Appl. Opt. 21(15), 2758–2769 (1982). [CrossRef]   [PubMed]

### References

• View by:

1. R. Winston, J. C. Miñano, P. Benítez, N. Shatz, and J. C. Bortz, Nonimaging Optics (Elsevier Academic Press, 2005).
2. R. Wu, L. Xu, P. Liu, Y. Zhang, Z. Zheng, H. Li, and X. Liu, “Freeform illumination design: a nonlinear boundary problem for the elliptic Monge-Ampére equation,” Opt. Lett. 38(2), 229–231 (2013).
[Crossref] [PubMed]
3. R. Wu, P. Benítez, Y. Zhang, and J. C. Miñano, “Influence of the characteristics of a light source and target on the Monge-Ampére equation method in freeform optics design,” Opt. Lett. 39(3), 634–637 (2014).
[Crossref] [PubMed]
4. Z. Feng, Y. Luo, and Y. Han, “Design of LED freeform optical system for road lighting with high luminance/illuminance ratio,” Opt. Express 18(21), 22020–22031 (2010).
[Crossref] [PubMed]
5. Y. Luo, Z. Feng, Y. Han, and H. Li, “Design of compact and smooth free-form optical system with uniform illuminance for LED source,” Opt. Express 18(9), 9055–9063 (2010).
[Crossref] [PubMed]
6. M. A. Moiseev and L. L. Doskolovich, “Design of refractive spline surface for generating required irradiance distribution with large angular dimension,” J. Mod. Opt. 57(7), 536–544 (2010).
[Crossref]
7. M. A. Moiseev, S. V. Kravchenko, and L. L. Doskolovich, “Design of efficient LED optics with two free-form surfaces,” Opt. Express 22(S7), A1926–A1935 (2014).
[Crossref] [PubMed]
8. K. Wang, F. Chen, Z. Liu, X. Luo, and S. Liu, “Design of compact freeform lens for application specific Light-Emitting Diode packaging,” Opt. Express 18(2), 413–425 (2010).
[Crossref] [PubMed]
9. X. Mao, H. Li, Y. Han, and Y. Luo, “Polar-grids based source-target mapping construction method for designing freeform illumination system for a lighting target with arbitrary shape,” Opt. Express 23(4), 4313–4328 (2015).
[Crossref] [PubMed]
10. V. I. Oliker, “Mathematical aspects of design of beam shaping surfaces in geometrical optics” in Trends in Nonlinear Analysis, M. Kirkilionis, S. Krömker, R. Rannacher, and F. Tomi, eds. (Springer, 2003).
11. S. A. Kochengin and V. I. Oliker, “Determination of reflector surfaces from near-field scattering data II. Numerical solution,” Numer. Math. 79(4), 553–568 (1998).
[Crossref]
12. V. Oliker, J. Rubinstein, and G. Wolansky, “Supporting quadric method in optical design of freeform lenses for illumination control of a collimated light,” Adv. Appl. Math. 62, 160–183 (2015).
[Crossref]
13. D. Michaelis, P. Schreiber, and A. Bräuer, “Cartesian oval representation of freeform optics in illumination systems,” Opt. Lett. 36(6), 918–920 (2011).
[Crossref] [PubMed]
14. V. A. Soifer, V. V. Kotlyar, and L. L. Doskolovich, Iterative Methods for Diffractive Optical Elements Computation (Taylor & Francis Ltd., 1997).
15. M. A. Golub, L. L. Doskolovich, N. L. Kazanskiy, S. I. Kharitonov, and V. A. Soifer, “Computer generated diffractive multi-focal lens,” J. Mod. Opt. 39(6), 1245–1251 (1992).
[Crossref]
16. A. Zlotnik, S. B. Yaish, O. Yehezkel, K. Lahav-Yacouel, M. Belkin, and Z. Zalevsky, “Extended depth of focus contact lenses for presbyopia,” Opt. Lett. 34(14), 2219–2221 (2009).
[Crossref] [PubMed]
17. N. Kazanskiy and R. Skidanov, “Binary beam splitter,” Appl. Opt. 51(14), 2672–2677 (2012).
[Crossref] [PubMed]
18. R. Bitterli, T. Scharf, H.-P. Herzig, W. Noell, N. de Rooij, A. Bich, S. Roth, K. J. Weible, R. Voelkel, M. Zimmermann, and M. Schmidt, “Fabrication and characterization of linear diffusers based on concave micro lens arrays,” Opt. Express 18(13), 14251–14261 (2010).
[Crossref] [PubMed]
19. L. L. Doskolovich, A. Yu. Dmitriev, and S. I. Kharitonov, “Analytic design of optical elements generating a line focus,” Opt. Eng. 52(9), 091707 (2013).
[Crossref]
20. L. P. Eisenhart, A Treatise on the Differential Geometry of Curves and Surfaces (Schwarz Press, 2008).
21. http://www.lambdares.com
22. http://www.rhino3d.com
23. J. R. Fienup, “Phase retrieval algorithms: a comparison,” Appl. Opt. 21(15), 2758–2769 (1982).
[Crossref] [PubMed]

#### 2015 (2)

V. Oliker, J. Rubinstein, and G. Wolansky, “Supporting quadric method in optical design of freeform lenses for illumination control of a collimated light,” Adv. Appl. Math. 62, 160–183 (2015).
[Crossref]

#### 2013 (2)

L. L. Doskolovich, A. Yu. Dmitriev, and S. I. Kharitonov, “Analytic design of optical elements generating a line focus,” Opt. Eng. 52(9), 091707 (2013).
[Crossref]

#### 1998 (1)

S. A. Kochengin and V. I. Oliker, “Determination of reflector surfaces from near-field scattering data II. Numerical solution,” Numer. Math. 79(4), 553–568 (1998).
[Crossref]

#### 1992 (1)

M. A. Golub, L. L. Doskolovich, N. L. Kazanskiy, S. I. Kharitonov, and V. A. Soifer, “Computer generated diffractive multi-focal lens,” J. Mod. Opt. 39(6), 1245–1251 (1992).
[Crossref]

#### Dmitriev, A. Yu.

L. L. Doskolovich, A. Yu. Dmitriev, and S. I. Kharitonov, “Analytic design of optical elements generating a line focus,” Opt. Eng. 52(9), 091707 (2013).
[Crossref]

#### Doskolovich, L. L.

L. L. Doskolovich, A. Yu. Dmitriev, and S. I. Kharitonov, “Analytic design of optical elements generating a line focus,” Opt. Eng. 52(9), 091707 (2013).
[Crossref]

M. A. Moiseev and L. L. Doskolovich, “Design of refractive spline surface for generating required irradiance distribution with large angular dimension,” J. Mod. Opt. 57(7), 536–544 (2010).
[Crossref]

M. A. Golub, L. L. Doskolovich, N. L. Kazanskiy, S. I. Kharitonov, and V. A. Soifer, “Computer generated diffractive multi-focal lens,” J. Mod. Opt. 39(6), 1245–1251 (1992).
[Crossref]

#### Golub, M. A.

M. A. Golub, L. L. Doskolovich, N. L. Kazanskiy, S. I. Kharitonov, and V. A. Soifer, “Computer generated diffractive multi-focal lens,” J. Mod. Opt. 39(6), 1245–1251 (1992).
[Crossref]

#### Kazanskiy, N. L.

M. A. Golub, L. L. Doskolovich, N. L. Kazanskiy, S. I. Kharitonov, and V. A. Soifer, “Computer generated diffractive multi-focal lens,” J. Mod. Opt. 39(6), 1245–1251 (1992).
[Crossref]

#### Kharitonov, S. I.

L. L. Doskolovich, A. Yu. Dmitriev, and S. I. Kharitonov, “Analytic design of optical elements generating a line focus,” Opt. Eng. 52(9), 091707 (2013).
[Crossref]

M. A. Golub, L. L. Doskolovich, N. L. Kazanskiy, S. I. Kharitonov, and V. A. Soifer, “Computer generated diffractive multi-focal lens,” J. Mod. Opt. 39(6), 1245–1251 (1992).
[Crossref]

#### Kochengin, S. A.

S. A. Kochengin and V. I. Oliker, “Determination of reflector surfaces from near-field scattering data II. Numerical solution,” Numer. Math. 79(4), 553–568 (1998).
[Crossref]

#### Moiseev, M. A.

M. A. Moiseev and L. L. Doskolovich, “Design of refractive spline surface for generating required irradiance distribution with large angular dimension,” J. Mod. Opt. 57(7), 536–544 (2010).
[Crossref]

#### Oliker, V.

V. Oliker, J. Rubinstein, and G. Wolansky, “Supporting quadric method in optical design of freeform lenses for illumination control of a collimated light,” Adv. Appl. Math. 62, 160–183 (2015).
[Crossref]

#### Oliker, V. I.

S. A. Kochengin and V. I. Oliker, “Determination of reflector surfaces from near-field scattering data II. Numerical solution,” Numer. Math. 79(4), 553–568 (1998).
[Crossref]

#### Rubinstein, J.

V. Oliker, J. Rubinstein, and G. Wolansky, “Supporting quadric method in optical design of freeform lenses for illumination control of a collimated light,” Adv. Appl. Math. 62, 160–183 (2015).
[Crossref]

#### Soifer, V. A.

M. A. Golub, L. L. Doskolovich, N. L. Kazanskiy, S. I. Kharitonov, and V. A. Soifer, “Computer generated diffractive multi-focal lens,” J. Mod. Opt. 39(6), 1245–1251 (1992).
[Crossref]

#### Wolansky, G.

V. Oliker, J. Rubinstein, and G. Wolansky, “Supporting quadric method in optical design of freeform lenses for illumination control of a collimated light,” Adv. Appl. Math. 62, 160–183 (2015).
[Crossref]

#### Zlotnik, A.

V. Oliker, J. Rubinstein, and G. Wolansky, “Supporting quadric method in optical design of freeform lenses for illumination control of a collimated light,” Adv. Appl. Math. 62, 160–183 (2015).
[Crossref]

#### J. Mod. Opt. (2)

M. A. Golub, L. L. Doskolovich, N. L. Kazanskiy, S. I. Kharitonov, and V. A. Soifer, “Computer generated diffractive multi-focal lens,” J. Mod. Opt. 39(6), 1245–1251 (1992).
[Crossref]

M. A. Moiseev and L. L. Doskolovich, “Design of refractive spline surface for generating required irradiance distribution with large angular dimension,” J. Mod. Opt. 57(7), 536–544 (2010).
[Crossref]

#### Numer. Math. (1)

S. A. Kochengin and V. I. Oliker, “Determination of reflector surfaces from near-field scattering data II. Numerical solution,” Numer. Math. 79(4), 553–568 (1998).
[Crossref]

#### Opt. Eng. (1)

L. L. Doskolovich, A. Yu. Dmitriev, and S. I. Kharitonov, “Analytic design of optical elements generating a line focus,” Opt. Eng. 52(9), 091707 (2013).
[Crossref]

#### Other (6)

V. A. Soifer, V. V. Kotlyar, and L. L. Doskolovich, Iterative Methods for Diffractive Optical Elements Computation (Taylor & Francis Ltd., 1997).

R. Winston, J. C. Miñano, P. Benítez, N. Shatz, and J. C. Bortz, Nonimaging Optics (Elsevier Academic Press, 2005).

V. I. Oliker, “Mathematical aspects of design of beam shaping surfaces in geometrical optics” in Trends in Nonlinear Analysis, M. Kirkilionis, S. Krömker, R. Rannacher, and F. Tomi, eds. (Springer, 2003).

L. P. Eisenhart, A Treatise on the Differential Geometry of Curves and Surfaces (Schwarz Press, 2008).

http://www.lambdares.com

http://www.rhino3d.com

### Cited By

Optica participates in Crossref's Cited-By Linking service. Citing articles from Optica Publishing Group journals and other participating publishers are listed here.

### Figures (7)

Fig. 1 Geometry of the problem of focusing into a set of focal points.
Fig. 2 An image of a calculator on an equidistant mesh of $56×82$ pixels.
Fig. 3 The eikonal function to focus into a set of points in Fig. 2.
Fig. 4 Illuminance distribution generated in the target plane $z=100 mm$ using the eikonal function in Fig. 3.
Fig. 5 A refractive optical element to focus into a set of points in Fig. 2 and the generated illuminance pattern obtained using the TracePro software.
Fig. 6 (a)–(c) Fragments of the eikonal function $Ψ add ( u )$, $0.5 Ψ add ( u )$, $0.25 Ψ add ( u )$ in the central regions of size $3×3 mm 2$; (d)–(f) Illuminance patterns generated in the Fresnel-Kirchhoff approximation by the eikonal functions in Fig. 6 (a)–(c).
Fig. 7 (a)–(c) Fragments of the eikonal functions after 30 iterations of the GS algorithm; (d)–(f) Illuminance patterns generated using the Fresnel-Kirchhoff approximation for the eikonal functions in Fig. 7 (a)–(c).

### Equations (18)

$p( u )=( ∇Ψ( u ), 1− [ ∇Ψ( u ) ] 2 ).$
$Ψ l ( u;x )=− ( u−x ) 2 + f 2 + Ψ f ( x ).$
${ Ψ l ( u;x )=− ( u−x ) 2 + f 2 + Ψ f ( x ), ∂ Ψ f ( x ) ∂x − x−u ( u−x ) 2 + f 2 =0, ∂ Ψ f ( x ) ∂y − y−v ( u−x ) 2 + f 2 =0.$
$Ψ l ( u )=− [ u−x( u ) ] 2 + f 2 + Ψ f [ x( u ) ],$
$x( u )= argmin x∈D Ψ l ( u;x )$
$x( u )= argmax x∈D Ψ l ( u;x ),$
$Ψ l ( u )=− ( u− x m ) 2 + f 2 + Ψ f,m ,$
$m= argmin 1≤i≤N Ψ l ( u; x i )$
$m= argmax 1≤i≤N Ψ l ( u; x i )$
$Ψ l,i ( u )=− ( u− x i ) 2 + f 2 + Ψ f,i , i=1,...,N,$
$Ψ f,i := Ψ f,i ±Δ⋅( I calc,i − I i ), i=1,...,N,$
$h(u)= Ψ( u ) / ( n−1 ) ,$
$h(u)= 1 n−1 mod λ [ Ψ( u ) ].$
$E( x )= | 1 λf ∬ G w 0 ( u ) exp[ ik 2f ( x−u ) 2 ] d 2 u | 2 .$
$Ψ( u )=− u 2 2f + Ψ add ( u ),$
$E( x )= | 1 λf ∬ G E 0 ( u ) exp[ ik Ψ add ( u ) ] exp( − ik f xu ) d 2 u | 2 .$
$Δ sub = 2λf a 2 / N im =2 N im Δ,$
$Ψ p ( u )=− u 2 2f +p Ψ add ( u )$