Haoran Li, Haisong Tang, Zexin Feng, Yi Luo, Yongtian Wang
{"title":"Spherical-freeform lens design for uniform illumination based on differentiable ray tracing with uv polynomials","authors":"Haoran Li, Haisong Tang, Zexin Feng, Yi Luo, Yongtian Wang","doi":"10.1117/12.2687294","DOIUrl":null,"url":null,"abstract":"We previously optimized the freeform surfaces using extended polynomials in stereographic projection coordinates based on an automated workflow linking the optimization engine, 3D modeling software and ray tracing software [Optics Express 29(9), 13469–13485 (2021)]. However, this method is time consuming as it needs thousands of irradiance evaluations. Here, we speed up the optimization of spherical-freeform lenses for uniform illumination based on differentiable ray tracing. The freeform surface is still parameterized with the ‘uv’ extended polynomials under stereographic projection coordinates, which is suitable for generating simple illumination patterns. We implement differentiable ray tracing based on computation graph in MindSpore framework, which is efficient and effective by calculating derivatives of the surface parameters during a single backpropagation. We provide two design examples for generating uniform irradiance distributions with a point-like source and an extended light source, respectively.","PeriodicalId":149506,"journal":{"name":"SPIE/COS Photonics Asia","volume":"49 1","pages":"127650H - 127650H-7"},"PeriodicalIF":0.0000,"publicationDate":"2023-11-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"SPIE/COS Photonics Asia","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1117/12.2687294","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
We previously optimized the freeform surfaces using extended polynomials in stereographic projection coordinates based on an automated workflow linking the optimization engine, 3D modeling software and ray tracing software [Optics Express 29(9), 13469–13485 (2021)]. However, this method is time consuming as it needs thousands of irradiance evaluations. Here, we speed up the optimization of spherical-freeform lenses for uniform illumination based on differentiable ray tracing. The freeform surface is still parameterized with the ‘uv’ extended polynomials under stereographic projection coordinates, which is suitable for generating simple illumination patterns. We implement differentiable ray tracing based on computation graph in MindSpore framework, which is efficient and effective by calculating derivatives of the surface parameters during a single backpropagation. We provide two design examples for generating uniform irradiance distributions with a point-like source and an extended light source, respectively.