## Abstract

Most LED illumination applications require generation of complex light patterns for which the secondary optics with two free-form surfaces needs to be used. We present a novel optimization method for computing such type of optical elements. An analytical solution for the generation of the initial surfaces is proposed. To accelerate the optimization process, a specific surface representation is used, that eliminates the need to run a time-expensive raytracing procedure. As an example, an optical element generating uniformly illuminated rectangular area with size of 60° by 40° is computed. Lighting efficacy for the extended Lambertian source 1x1 mm is 88.5% and nonuniformity is less than 8.5%.

© 2014 Optical Society of America

## 1. Introduction

Nowadays, light-emitting diodes (LEDs) are playing an increasingly important role in the world market of lighting devices. To obtain the highest optical performance, LED–based light sources are used with secondary optics – refractive or reflective optical elements redirecting the emitted light flux into the illuminated area. Computation of the optical surfaces (refractive or reflective) producing a required light distribution is a challenging problem. Even in the case of point light source and single optical surface the problem reduces to solving a complex nonlinear differential equation in partial derivatives of Monge–Ampère type [1, 2]. Analytical solutions of this equation are known only for simple cases with rotational or cylindrical symmetry [3–5]. For generation of complex asymmetrical light distributions (e.g. in rectangular, hexagonal, elliptical regions), the optical elements with free-form surfaces are used. Many different optimization methods were developed for the computation of such surfaces [6–9]. Optical elements with a single working free-form surface [6–9] provide good optical performance in case of light distributions having medium or wide angular size (80° and more). But for the generation of narrow light beams such optical elements are inefficient since the deviation of lateral rays by single refractive surface is performed with a high Fresnel loss (e.g. for a ray incident at an angle of 41.4° on the PMMA-air interface the deviation angle is about 40° only and the Fresnel loss is more than 45%). To improve the lighting efficacy of the optical elements, two working free-form refractive surfaces (inner and outer) are usually used [10–16].

Paper [11] presents Cartesian ovals method for computing piecewise-smooth surface for the generation of required illuminance in an arbitrary set of points. The application of the presented method for generation of continuous illuminance distributions is problematic due to a high computational cost. Also, while this method takes into account the presence of several refractive surfaces in the optical system, it is intended for the design of a single surface and cannot be used for simultaneous design of multiple surfaces. In paper [12] Simultaneous Multiple Surface design method is presented. It allows computing two refractive or reflective surfaces performing required transformation of two incident wave fronts into two outgoing wave fronts. Reducing of arbitrary illumination problem with extended light source to the problem of wave fronts transformation is not formalized in [12], so its usage for the generation of a required illuminance pattern is quite challenging in most cases.

In papers [13, 14], the authors consider a general approach to the design of optical elements with two free-form surfaces for shaping the light beam from a point source. The solution consists of two parts: computation of the ray-correspondence function and reconstruction of the optical surfaces implementing the obtained ray-correspondence. Unfortunately, the description of the approach presented in [13, 14] is too brief that makes it impossible to repeat the presented results. In particular, the authors in [13, 14] state that the utilization of two free-form surfaces enables infinite set of solutions and the most efficient one (or the most compact) can be chosen from this set, but the algorithm of choosing the solution is not discussed. Thus, the problem of computing light-efficient optical elements with two working surfaces remains relevant.

In this study, a novel optimization method for designing double-surface free-form optical elements is presented. As an example, a solution for generation of uniformly illuminated rectangular area with the angular size of 60° by 40° is computed. Simulation data shows that the light efficacy of the optical element is about 88.5%, while the nonuniformity of the generated illuminance distribution is 8.4%.

## 2. Formulation of the problem

Let us consider the design of a refractive optical element with two free-form surfaces generating a prescribed illuminance distribution ${E}_{0}\left(u,v\right)$ in the exit plane$z=f$, where $\left(u,v\right)$ are local Cartesian coordinates. The point light source with intensity function $I\left(\phi ,\psi \right)$ is located at the origin of coordinates. The inner surface of the optical element is defined by its radius-vector $R\left(\phi ,\psi \right)$. The outer surface is given by scalar function $l\left(\phi ,\psi \right)$ that defines the distance between the point $R\left(\phi ,\psi \right)$ of the inner surface and the point $M\left(\phi ,\psi \right)$ of the outer surface along the direction of the ray ${a}_{1}\left(\phi ,\psi \right)$ refracted on the first surface (Fig. 1). Thus, the outer surface is represented by the following vector equation:

## 3. Design of free-form surfaces

The proposed design method consists of two steps: the analytical computation of the initial surfaces and the subsequent optimization of their parameters using obtained analytical expression for the estimation of generated illuminance distribution.

#### 3.1. Computation of initial surfaces

The convergence of any optimization procedure significantly depends on the chosen starting point. To design the initial surface, we propose to use an analytical solution of a similar axisymmetrical problem [4] to compute several ″basic″ profiles of the free-form optical element. Furthermore, the initial inner and outer surfaces are obtained by fitting scalar bicubic spline functions [17] $R\left(\phi ,\psi ;{c}_{R}\right)$ and $l\left(\phi ,\psi ;{c}_{l}\right)$ on the computed 2D profiles, where ${c}_{R}$ and ${c}_{l}$ are the vectors containing the spline parameters. Thus, in this case the specified initial surfaces of the optical element are defined by two scalar functions $R\left(\phi ,\psi ;{c}_{R}\right)$ and $l\left(\phi ,\psi ;{c}_{l}\right)$.

As an example, let us consider the computation of the initial approximation for the optical element generating a uniformly illuminated rectangular area with the size of 1200 mm by 750 mm at the distance of 1000 mm from the light source (such linear sizes correspond to the angular size of 60° by 40°). At first, using the analytical method of [4] we calculate two different profiles of the axisymmetrical surfaces generating uniformly illuminated circles with diameters of 1200 mm and 750 mm (Figs. 2(a) and 2(b)). The initial points of the calculated profiles coincide on the axis $z$ (at $z=0.8$ mm and $z=8$ mm) that allows placing the profiles in two mutually perpendicular planes as shown in Fig. 2(c). Figure 2(d) demonstrates fitted spline surfaces containing the computed profiles. The latitude and longitude lines show borders between the patches of the fitted bicubic spline. Thus, the outer spline surface contains 8 patches in $\phi $ direction and 7 patches in $\psi $ direction. Each patch has 16 parameters including the values of the function ($R\left(\phi ,\psi \right)$ or $l\left(\phi ,\psi \right)$ for inner or outer surface, correspondingly), its first and mixed derivatives in four corner nodes [6]. Due to common borders of neighbor patches and symmetry properties, the overall number of independent parameters is 56 for the considered case.

Illuminance distribution generated by the optical element in Fig. 2(d) with a point source is shown in Fig. 3. The obtained spot has elliptical shape; its sizes are close to the overall dimensions of the required rectangular spot. The generated illuminance distribution is not uniform and requires further optimization.

#### 3.2. Optimization of the optical surface

As a rule, the illuminance distribution produced by the initial surfaces differs from the required one, and the parameters of the surfaces need to be optimized. We propose to use sequential quadratic programming method to minimize the relative-root-mean-square deviation (RRMSD) of the generated light distribution from the required one. This merit function is represented by the following expression:

The solution of the problem (2) requires an effective way to compute the illuminance distribution $E\left(u,v;c\right)$ generated by the optical element. Analytical expression for the illuminance distribution $E\left(u,v;c\right)$ was derived previously in paper [6] and has the following form:

Unit vector of the ray emitted in the direction $\left(\phi ,\psi \right)$ is ${a}_{0}\left(\phi ,\psi \right)=R\left(\phi ,\psi ;{c}_{R}\right)/R\left(\phi ,\psi ;{c}_{R}\right)$. According to the Snell’s law, the vector of the ray refracted on the inner surface can be written as

Expressions (3)-(6) enable analytical computation of the illuminance distribution generated by the optical element with two working free-form surfaces. The computation procedure is reduced to the numerical integration of Eq. (3) and can be performed in a split of a second.

## 4. Example of designing optical element

The proposed method of optical design was implemented in Matlab®; for optimization we used the standard function fmincon. Below we continue the consideration of the computation example started in the paragraph 2.1 (generation of uniformly illuminated rectangular spot with the size of 1200 mm by 750 mm at the distance of 1000 mm).

The outer surface of the optical element shown in Fig. 2(d) was optimized using expressions (2)-(6). Totally, 56 parameters were changed during 93 iterations, and the merit function was computed 5618 times. As the overall optimization time was 205 seconds (Intel® Core i7-3770K CPU @ 3,50 GHz), the average time of evaluation of the merit function (3) did not exceed 36 milliseconds, that became possible due to the usage of analytical expressions (3)-(6).

The optimized optical element is depicted in Fig. 4. Figure 5 shows the resulted illuminance distribution simulated for Lambert point source. Lighting efficacy (the part of the emitted light flux reached the exit plane) of the obtained solution is 89.1% and RRMSD is 7.5%.

Expressions for the computation of generated illuminance distribution (4)-(6) were derived under the assumption of the point light source. Nevertheless, the designed optical element has good optical performance even in the case of the extended light source. Figure 6 demonstrates the simulated illuminance distribution for the light source with the size of 1x1 mm. In this case the values of lighting efficacy and RRMSD are 88.5% and 8.4%, respectively.

For comparison, let us analyze the optical performance of the element with single working free-form surface for the same illumination problem. The inner surface of such optical element is spherical; the center of the sphere coincides with the center of the light source. Figures 7, 8 show the optical element designed with the usage of method [6] and its illuminance distribution. While RRMSD does not exceed the value of 7.1%, lighting efficacy of this solution is 75.6%. The shaping efficacy (the part of the emitted light flux that reaches the prescribed rectangular area) in this case is equal to 63.3% that is 19.7% less than in the case of double free-form surface. The rest part of the light flux that reaches the exit plane (12.3%) forms a halo around the rectangular region and plays negative role.

Figure 9 demonstrates dependences of the lighting efficacy on the source’s size for both designs. Even in the case when the size of the extended light source is 4 mm by 4 mm (that is just half of the height of the optical element), the lighting efficacy of the element with two working surfaces remains very high (close to 78%). On the contrary, lighting efficacy of the optical element with single free-form surface in this case decreases to 53%. Such ″stability″ of the optical element in Fig. 4 with respect to the size of the light source can be explained by reduced incident angles of rays. Indeed, when the redirection of rays is performed with two surfaces, the deviation angles and incident angles on each interface become smaller that eliminates high Fresnel loss and the undesirable effect of the total internal reflection.

Let us consider one more example: an optical element generating a uniformly illuminated hexagonal region. This problem is of great practical importance in designing direct backlight systems [18]. Indeed, such optical elements placed in the nodes of a rhombic grid can provide uniform illumination of large areas with complex shape [18]. In Fig. 10, the computed optical element generating uniform illuminance distribution in hexagonal region with side of 580 mm at the distance of 1000 mm is presented. Totally, 28 parameters were optimized in 113 seconds, and the merit function (2) was evaluated 1642 times during 48 iterations. Figures 11 and 12 demonstrate the resulting illuminance distributions for point and extended (1 mm by 1 mm) sources, respectively. The lighting efficiency in both cases is more than 90% while RRMSD is less than 5.3%.

Generally, the convergence of any optimization procedure depends on many factors such the choice of the initial point, the used optimization algorithm, the merit function, etc. The proposed design method has several distinctive features providing quick and stable convergence. First, the proposed choice of the initial surfaces essentially reduces the chance of getting to a local minimum. Second, the utilization of the analytical expressions (3)-(6) for the computation of the generated illuminance distribution reduces the computational cost associated with the evaluation of the merit function (2) and allows avoiding a statistical noise that affects the convergence (which is typical e.g. for Monte-Carlo raytracing procedures). Third, the definition of the surfaces by scalar bicubic spline functions reduces the complexity of the optimization problem due to the locality of the spline parameters which affect only a part of a surface in contrary to the polynomial parameters.

## 5. Conclusion

In the present work we developed a novel design method for the computation of the optical elements with double free-form surface and high lighting efficacy. The computation procedure consists of two stages: the analytical design of initial surfaces and the subsequent optimization of their parameters. The chosen representation of the free-form surfaces enables fast computation of the generated illuminance distribution which, in its turn, makes possible performing the whole design procedure in few minutes.

Using the developed method, we compute and simulate the optical element producing uniformly illuminated rectangular spot with angular size of 60° by 40°. Despite the fact that the design procedure does not take into account the size of the light source, it is shown that the optical performance of the obtained solution remains high also for the extended light sources. In particular, in the case of 1x1 mm source relative root-mean square deviation is about 8.4%, while the lighting efficacy is more than 88%.

## Acknowledgments

This work was funded by Russian Science Foundation grant 14-19-00969.

## References and links

**1. **P. Guan and X.-J. Wang, “On a Monge-Ampere equation arising in geometric optics,” J. Diff. Geom. **48**(2), 205–223 (1998).

**2. **R. Wu, L. Xu, P. Liu, Y. Zhang, Zh. 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. **W. B. Elmer, “Optical design of reflectors. Part 2,” Appl. Opt. **17**(7), 977–979 (1978). [PubMed]

**4. **M. A. Moiseev, S. V. Kravchenko, L. L. Doskolovich, and N. L. Kazanskiy, “Design of LED optics with two aspherical surfaces and the highest efficiency,” Proc. SPIE **8550**, 85502N (2012). [CrossRef]

**5. **M. A. Moiseev, L. L. Doskolovich, K. V. Borisova, and E. V. Byzov, “Fast and robust technique for design of axisymmetric TIR optics in case of an extended light source,” J. Mod. Opt. **60**(14), 1100–1106 (2013). [CrossRef]

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

**7. **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]

**8. **H.-C. Chen, J.-Y. Lin, and H.-Y. Chiu, “Rectangular illumination using a secondary optics with cylindrical lens for LED street light,” Opt. Express **21**(3), 3201–3212 (2013). [CrossRef] [PubMed]

**9. **K. Ch. Lin, “Weighted least-square design of freeform lens for multiple point sources,” Opt. Eng. **51**(4), 043002 (2012). [CrossRef]

**10. **M. A. Moiseev, L. L. Doskolovich, and N. L. Kazanskiy, “Design of high-efficient freeform LED lens for illumination of elongated rectangular regions,” Opt. Express **19**(S3Suppl 3), A225–A233 (2011). [CrossRef] [PubMed]

**11. **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]

**12. **P. Benitez, J. C. Minano, J. Blen, R. Mohedano, J. Chaves, O. Dross, M. Hernandez, and W. Falicoff, “Simultaneous multiple surface optical design method in three dimensions,” Opt. Eng. **43**(7), 1489–1502 (2004). [CrossRef]

**13. **A. Bäuerle, A. Bruneton, R. Wester, J. Stollenwerk, and P. Loosen, “Algorithm for irradiance tailoring using multiple freeform optical surfaces,” Opt. Express **20**(13), 14477–14485 (2012). [CrossRef] [PubMed]

**14. **A. Bruneton, A. Bäuerle, R. Wester, J. Stollenwerk, and P. Loosen, “High resolution irradiance tailoring using multiple freeform surfaces,” Opt. Express **21**(9), 10563–10571 (2013). [CrossRef] [PubMed]

**15. **Z. Feng, L. Huang, M. Gong, and G. Jin, “Beam shaping system design using double freeform optical surfaces,” Opt. Express **21**(12), 14728–14735 (2013). [CrossRef] [PubMed]

**16. **F. Duerr, Y. Meuret, and H. Thienpont, “Tailored free-form optics with movement to integrate tracking in concentrating photovoltaics,” Opt. Express **21**(S3Suppl 3), A401–A411 (2013). [CrossRef] [PubMed]

**17. **C. De Boor, *A Practical Guide to Splines* (Springer, 2001).

**18. **L. L. Doskolovich, M. A. Moiseev, and O. I. Petrova, “LED lighting system based on modules that form uniform irradiance of a hexagonal region,” J. Opt. Technol. **78**(2), 105–109 (2011). [CrossRef]