ORIGINAL RESEARCH article

Front. Nanotechnol., 29 January 2026

Sec. Nanophotonics

Volume 8 - 2026 | https://doi.org/10.3389/fnano.2026.1741495

Regularized topology optimization for light trapping structure in solar cells

  • School of Physics, Huazhong University of Science and Technology, Wuhan, China

Abstract

Efficient light trapping bulk structures can significantly enhance light absorption in solar cells while reducing manufacturing costs. However, locating the optimal set of design parameters within a complex solution space remains challenging. Although numerous optimization algorithms have been employed to optimize bulk structure topologies, most treat the problem as purely mathematical, overlooking established physical principles such as light trapping and anti-reflection theories. By integrating both light-trapping and anti-reflection regularization, we obtain a 2 dimensional silicon inverted pyramid array (IPA) structure with an absorption rate of 0.7076, which yields a relative enhancement of 11.6% over the non-regularized baseline.

1 Introduction

Light trapping structures are widely employed in solar cell research to enhance light absorption and reduce costs (Yablonovitch, 1982; Wang et al., 2014; Yu et al., 2011; Peter Amalathas and Alkaisi, 2019; Li et al., 2020; Massiot et al., 2020; Zhou and Biswas, 2008; Cao et al., 2021). Numerous designs, including inverted pyramid arrays (Yokogawa et al., 2017), triangular gratings (Dewan et al., 2009), nanoholes (Raman et al., 2011), nanowires (Garnett and Yang, 2010), nanocones (Wang et al., 2012), and photonic crystals (Bermel et al., 2007), have been proposed based on physical intuition. However, the complex nature of light-matter interactions makes it challenging to derive optimal structural parameters through intuition alone.

To address this, various optimization algorithms have been applied to optimize light trapping geometries (Campbell et al., 2019; Newton, 2007; Hestenes and Stiefel, 1952; Donald, 1963; Holland, 1992; Poli et al., 2007; Storn and Price, 1997; Rocca et al., 2011; Hansen et al., 2003). Kordrostami et al. used particle swarm optimization (PSO) to tune nanowire dimensions and inclination angles (Zoheir and Sheikholeslami, 2020), Wang et al. developed a genetic algorithm (GA)-based topology optimization framework (Wang et al., 2013), and Guo et al. designed broadband anti-reflection coatings through an ant colony algorithm (ACA) (Guo et al., 2014). While effective, these methods typically treat the optimization as a purely mathematical problem, neglecting established physical principles.

Regularization offers a way to incorporate such physical intuition by introducing a bias term into the objective function (Tian and Zhang, 2022; Benning and Burger, 2018; Kayri, 2016; Wen et al., 2018). In this work, we employ the covariance matrix adaptation evolution strategy (CMA-ES) (Auger et al., 2012) to optimize inverted pyramid arrays, integrating light trapping and anti-reflection theories into a regularization term. Our results demonstrate that each physical model individually enhances CMA-ES performance. Moreover, combining both theories into a single regularization term yields greater improvement than either alone.

2 Methods

Figure 1 presents a schematic of the bulk structures with inverted pyramid arrays (IPAs). Incident light illuminates the structure vertically from above and is absorbed within the absorption layer. The structure comprises two regions: the blue area represents the silicon absorption material, while the yellow area denotes the IPA grating, which is modeled as air for simplicity. Inspired by double-sided grating designs (Wang et al., 2012), we investigate four configurations: (a) a top-only grating optimized with anti-reflection regularization; (b) a bottom-only grating optimized with light trapping regularization; (c) a double-sided grating optimized using both regularization terms. Key geometric parameters include the IPA length , height , absorption layer thickness (consistent with (Cao et al., 2021)), and the off-center distance , which breaks mirror symmetry and may enhance absorption limits (Yu et al., 2011). For the double-sided structure in (d), parameters and distinguish the top and bottom IPAs, with = due to periodicity constraints. The variables , , and are optimized to maximize light absorption.

FIGURE 1

We use CMA-ES to optimize these IPA structures, and use the Average Absorption as the fitness function (i.e., the objective function of optimization algorithms). Average Absorption is used to quantify the light absorption of a bulk structure over a range of wavelengths. To introduce the quantitative definition of Average Absorption, we first define the light absorption for a single wavelength. Let and be the Poynting flux into and out of a bulk structure at wavelength , thenEquation 1 defines the light absorption rate of the bulk structure for wavelength . Next, we consider a set of wavelengths , then the Average Absorption is defined in Equation 2,where is the range of wavelength of interest. m is the total number of wavelengths in . In our experiment, the wavelengths in are sampled from 600 nm to 1,000 nm with a step size of 20 nm, resulting in discrete points. This spectral range was selected based on the absorption characteristics of the IPA structures. As shown in Figure 2, most structures exhibited high and consistent absorption rates below 600 nm, with minimal variation across different designs. Conversely, between 1,000 nm and 1,100 nm, absorption performance was generally poor across all configurations. Consequently, the 600–1,000 nm window was chosen for optimization experiments, as it captures the region where structural differences lead to significant variations in absorption, thereby providing a meaningful basis for comparing the performance of different optimization algorithms.

FIGURE 2

The goal of light trapping optimization problems is to maximize the Average Absorption of the bulk structures with IPAs. a, h, and c are the design variables to be optimized. The constraints of the solution space are um, um and . Because the constraints of c depends on the value of a, to simplify, we define to be optimized, instead of . The constraints of is accordingly. Due to computational resource constraints, we focus on a two-dimensional scenario while aiming to retain three-dimensional generality. To achieve this, we perform simulations by uniformly extruding the two-dimensional structure into a three-dimensional setting along its longitudinal axis. This simplification, being equally applicable to all methods, ensures a fair comparison and does not invalidate our conclusions. The equivalent thickness of these structures is set to 2 um, which means all these structures share the same amount of silicon as the un-patterned film with um.

Regularization, a technique widely employed across disciplines such as mathematics, statistics, and computer science (Wen et al., 2018; Wang et al., 2020; Yun et al., 2019), can be implemented by introducing an additional term to the objective function of an optimization problem. For example, we can add a term to the Average Absorption, and the Regularized Average Absorption RAA(a, h, c) can be defined in Equation 3.The optimization objective is thus redefined as maximizing the Regularized Average Absorption, which incorporates a physical prior to guide the search. The influence of this prior, which can be derived from different theories, is tuned by a parameter α to balance the guidance and algorithmic flexibility (Equation 4).

Let us now introduce the regularization term from light trapping theory. According to Yu’s light trapping theory (Yu et al., 2011), the absorption coefficient for a grating structure can be approximated by the expression given in Equation 7 of (Yu et al., 2011):where is the intrinsic loss rate of the resonance due to material absorption. is the number of resonances in the frequency range , and denotes the total number of plane-wave channels to which the structure can phase-match the resonance. Yu provides explicit expressions for and [Equations 13, Equation 15 in (Yu et al., 2011)]where is the period of the light trapping structure, is the thickness of the absorption layer, is the refractive index of the material, is the wavelength of the incident light, and denotes the largest integer that is smaller than . Therefore, the simplified expression for the absorption enhancement coefficient AT can be expressed as Equations 5, 6,

where is held constant during our experiments. We notice that depends on and , therefore, the upper limit of absorption coefficient for a range of wavelengths can be expressed as Equation 7.Since the period is determined by the base length of the tightly connected IPAs, we substitute for . By neglecting the constant term (which is absorbed into the rescaled regularization strength ) and normalizing to have a maximum value of 1, we obtain the relationship between the theoretical absorption coefficient and the base length in Figure 3.

FIGURE 3

We use as the regularization term; therefore, the Regularized Average Absorption of light trapping theory (L-RAA) can be written asEquation 8 encourages the optimization algorithms to search for values of a with a high value of AT.

Let us now introduce the regularization term based on anti-reflection theory. A high aspect ratio, , can provide a smooth refractive index transition from air to silicon, thereby enhancing light absorption. However, we notice that as approaches zero, the term diverges to infinity, which could destabilize the optimization algorithm. To avoid this singularity and to incorporate the physical scale of the structure, we modify the term to , where represents the effective thickness of the optimized IPA structure. The Regularized Average Absorption of anti-reflection (A-RAA) can be written as Equation 9.

The CMA-ES algorithm was implemented with the following parameters. The initial shape parameters of the structure were uniformly and randomly sampled within the defined parameter space: for and , the space ranged from 0 to 2000 nm with an initial step size of 500 nm; for , the space ranged from −1 to 1 with an initial step size of 0.5. Additional algorithmic parameters included a convergence tolerance of , a population size of 8, and a maximum of 60 iterations. To enforce the boundary constraints, any candidate solution with parameters sampled outside the prescribed ranges was discarded and replaced by a newly generated one.

S4 is a rigorous coupled-wave analysis (RCWA) method developed by Victor Liu (Liu and Fan, 2012). We use the Python version of S4 to simulate the light absorption of bulk structures. The simulations are performed under transverse magnetic (TM) polarized plane-wave incidence. The number of Fourier expansion orders (NumBasis) is set to 20, while all other simulation parameters retain their default values.

3 Results and analysis

Figure 4 plots the Average Absorption achieved by CMA-ES versus the regularization strength (Equation 8) for a bottom-only grating structure. The results demonstrate that light trapping regularization provides a maximum relative boost of 16.5% compared to the unregularized case. As anticipated, Average Absorption first increases and then decreases with . At low , the objective function is dominated by the Average Absorption, and the regularization term serves as a mild guide, slightly improving search efficiency. However, when becomes excessively large, the simplified physical prior—which does not fully capture the complex absorption physics—overwhelms the true objective. This misguides the optimization, causing performance to decline.

FIGURE 4

We note that the selection of the regularization strength is crucial. In particular, when is too large, it can significantly degrade the algorithm’s performance. Therefore, we adopt the following strategy: we start from a very small initial value (e.g., 0.00001), at which the maximum contribution of the regularization term remains below the numerical precision threshold of the optimization problem. Then we increase exponentially (e.g., by a factor of 2 each time) until the algorithm’s performance is observed to improve first and then decline with increasing. The corresponding alpha at this transition is then approximately the optimal value. We employed the same strategy in the subsequent experiments.

For the top-only grating optimized using Equation 9, the Average Absorption shows a non-monotonic dependence on the anti-reflection regularization strength (Figure 5). A maximum gain of 2.9% is achieved at an optimal , beyond which the absorption rate falls. This pattern confirms that the relationship between absorption and regularization strength is general.

FIGURE 5

The light trapping regularization leads to a greater performance improvement than the anti-reflection approach. This advantage stems from their distinct theoretical foundations. The light trapping scheme is derived from a rigorous physical theory, which provides a precise analytical expression and a clear absorption upper limit. This strong theoretical foundation offers unambiguous guidance for the optimization process. In contrast, the anti-reflection regularization relies primarily on physical intuition.

Next, we integrated light trapping regularization with anti-reflection regularization Figure 6. The double-sided grating structure was optimized using the objective function defined in Equation 10,where and control the strength of anti-reflection and light trapping regularization, respectively. As shown in Figure 6, the maximum average absorption of 0.7076 is achieved when both and . This configuration yields an 11.6% relative improvement compared to the non-regularized case, and surpasses the highest absorption rates obtained in the two previous single-regularization experiments.

FIGURE 6

To investigate the effect of regularization, we plotted two sets of violin plots to visualize the distribution of converged algorithm parameters, comparing the cases before and after applying light trapping and anti-reflection regularization, respectively. In Figure 7a, it can be observed that without regularization, the base length (a) of IPA structures predominantly converges around 1,600 nm, which corresponds to the broader region with smaller local maxima in Figure 3. In contrast, after applying regularization, the algorithm converges mostly at a = 600 nm, which aligns with the region exhibiting higher peak values in Figure 3. This clearly demonstrates that light trapping regularization effectively guides the algorithm to shift its convergence from a local maximum toward the global optimum. In Figure 7b, after applying regularization, the convergence region with small values disappears. Combined with the experimental result that regularization leads to higher absorption rates, this indicates that the primary role of regularization here is to prevent the algorithm from getting trapped in certain extreme regions, thereby improving its overall performance.

FIGURE 7

Figure 8 presents the optimized geometries and the corresponding electric field profiles obtained under four distinct regularization configurations. In Figure 8a, corresponding to the case without regularization , the algorithm converges to a structure with a base length (a) = 1,492 nm and an aspect ratio (h/a) = 1.02. When only the light trapping regularization is applied (Figure 8b), the optimization yields a structure with (a = 600 nm) and (h/a = 0.94). Notably, this base length aligns with the theoretical maximum predicted at (a = 600, nm) in Figure 3. When only the anti-reflection regularization is applied (Figure 8c), The optimization yields a structure with (a = 634 nm) and a significantly larger aspect ratio (h/a = 3.32). Finally, for the double regularization case (Figure 8d), the algorithm converges to (a = 596 nm) and (h/a = 2.29). These results collectively demonstrate that different regularization schemes effectively guide the optimization algorithm towards distinct regions of the design space, each embodying a specific physical trade-off.

FIGURE 8

4 Discussion and conclusion

In conclusion, for the specific problem of optimizing the absorption rate of 2D silicon IPA structures, our results demonstrate that the performance of CMA-ES is influenced by the strength of the regularization term. Both light trapping and anti-reflection regularization were found to enhance its performance. This enhancement initially increases with regularization strength but diminishes beyond an optimal point, indicating a trade-off between guidance and over-constraint.

In recent years, topology optimization and inverse design based on adjoint/gradient methods have seen significant advancements (Kim et al., 2025; Pan and Pan, 2023; Mansouree et al., 2021). Our work demonstrates that regularization by physical priors offers a complementary path to improving photonic optimization. Instead of refining the search strategy (how to optimize), we reformulate the problem itself (what to optimize). This reformulation—though tested with CMA-ES—is inherently transferable: by adding a regularization term, we superimpose a smooth, theory-driven gradient onto the often noisy fitness function. This provides consistent directional guidance in complex regions, which should facilitate convergence for both heuristic and gradient-based methods. However, this benefit is conditional. The regularization term directly alters the objective’s gradient, meaning that an overly strong regularization term can dominate and mislead the search rather than guide it. To mitigate this risk, we introduced an adaptive scheme that starts with a minimal regularization weight and exponentially increases it to identify the optimal strength, thereby ensuring the prior provides constructive guidance. Consequently, regularization tends to be most effective when applied to complex problems with a well-defined physical prior. This is especially relevant for highly non-convex problems, where significant noise can make it challenging for algorithms to converge based solely on the problem’s own gradient. In such scenarios, introducing an appropriate regularization term may help guide the iterative process toward a more desirable solution.

Statements

Data availability statement

The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.

Author contributions

ZZ: Writing – original draft, Writing – review and editing.

Funding

The author(s) declared that financial support was not received for this work and/or its publication.

Conflict of interest

The author(s) declared that this work was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Generative AI statement

The author(s) declared that generative AI was not used in the creation of this manuscript.

Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

References

Summary

Keywords

anti-reflect film, light trapping, optimization, physics-informed algorithms, regularization

Citation

Zhang Z (2026) Regularized topology optimization for light trapping structure in solar cells. Front. Nanotechnol. 8:1741495. doi: 10.3389/fnano.2026.1741495

Received

07 November 2025

Revised

22 December 2025

Accepted

12 January 2026

Published

29 January 2026

Volume

8 - 2026

Edited by

Yi Wang, Eindhoven University of Technology, Netherlands

Reviewed by

Yuncai Feng, Qingdao University of Technology, China

Chao Dong, Hewlett-Packard, United States

Updates

Copyright

*Correspondence: Zijian Zhang,

Disclaimer

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.

Outline

Figures

Cite article

Copy to clipboard


Export citation file


Share article

Article metrics